# US 8,578,327 B2 · Targeted to targetless application converter

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,578,327 B2
- Document ID: US8578327B2
- Status: Granted
- Kind: B2
- Application number: 12/625,256
- Filed: 2009-11-24
- Published: 2011-05-26
- Granted: 2013-11-05
- Earliest claimed: 2009-11-24
- Assignees: Verizon Patent and Licensing Inc.
- Applicants: Devin C. Moore
- Inventors: Devin C. Moore
- Web page: https://patentgrep.com/patent/US8578327B2

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 8/51: Source to source
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system includes a source database storing a targeted source code having references to hard-coded configuration information. A converter is in communication with the source database and is configured to replace the hard-coded configuration information in the targeted source code with soft-coded configuration information. A method includes searching the targeted source code for references related to hard-coded configuration information, receiving new reference names for the references, each of the new reference names corresponding to at least one of the references and being related to soft-coded configuration information, and replacing the references related to hard-coded configuration information with the corresponding new reference name to generate a targetless source code with the soft-coded configuration information.

## Claims

### Claim 1

A system having a processor, the system comprising:
a source database storing a targeted source code having references to hard-coded configuration information;
a converter in communication with said source database and configured to replace the hard-coded configuration information in said targeted source code with soft-coded configuration information to generate targetless source code, and wherein the converter is configured to output a log file identifying differences between said targeted source code and said targetless source code,
wherein the converter is configured to search said targeted source code, generate a temporary file listing all occurrences of references to hard-coded configuration information in the targeted source code based upon the search of said targeted source code, and compare the temporary file to the log file to determine whether the targetless source code was correctly generated.

### Claim 2 (depends on 1)

A system as set forth in claim 1, wherein said converter is configured to identify a location in said targeted source code of each reference uncovered in the search of said targeted source code and list said location in said temporary file.

### Claim 3 (depends on 1)

A system as set forth in claim 1, wherein said converter is configured to receive new reference names for one or more of said references, wherein each of said new reference names corresponds to at least one of said references and includes soft-coded configuration information.

### Claim 4 (depends on 3)

A system as set forth in claim 3, wherein said converter is configured to generate the targetless source code based on said temporary file and said new reference names.

### Claim 5 (depends on 3)

A system as set forth in claim 3, wherein said converter is configured to find each occurrence of each of said references based on the location listed in said temporary file.

### Claim 6 (depends on 5)

A system as set forth in claim 5, wherein said converter is configured to replace each occurrence of at least one of said references with one of said new reference names.

### Claim 7 (depends on 4)

A system as set forth in claim 4, wherein said converter is configured to receive version information and generate at least two versions of said targetless source code corresponding to said version information.

### Claim 8 (depends on 7)

A system as set forth in claim 7, wherein said version information includes at least one of past release information, future release information, and present release information.

### Claim 9 (depends on 8)

A system as set forth in claim 8, wherein said converter is configured to output a version log file identifying differences between said at least two versions of said targetless source code.

### Claim 10 (depends on 1)

A system as set forth in claim 1, wherein the converter is configured to compare the temporary file to the log file by matching locations of all occurrences of the references to hard-coded configuration information in the temporary file to locations of all occurrences in the log file.

### Claim 11 (depends on 1)

A system as set forth in claim 1, wherein the converter is configured to generate the temporary file by applying an expression parser to the targeted source code.

### Claim 12

A method comprising:
searching a targeted source code for references related to hard-coded configuration information;
receiving new reference names for the references, each of the new reference names corresponding to at least one of the references and being related to soft-coded configuration information;
replacing the references related to hard-coded configuration information with the corresponding new reference name to generate a targetless source code with the soft-coded configuration information;
generating a log file identifying differences between the targeted source code and the targetless source code;
generating a temporary file listing all occurrences of the references in the targeted source code; and
comparing the temporary file to the log file to determine whether the targetless source code was correctly generated.

### Claim 13 (depends on 12)

A method as set forth in claim 12, further comprising:
identifying a location in the targeted source code of each reference uncovered in the search of the targeted source code; and
listing the location in the temporary file.

### Claim 14 (depends on 13)

A method as set forth in claim 13, further comprising finding each occurrence of each of the references based on the location listed in the temporary file.

### Claim 15 (depends on 12)

A method as set forth in claim 12, further comprising:
receiving version information; and
generating at least two versions of the targetless source code corresponding to the version information.

### Claim 16 (depends on 15)

A method as set forth in claim 15, further comprising outputting a version log file identifying differences between the at least two versions of the targetless source code.

### Claim 17 (depends on 12)

A method as set forth in claim 12, wherein the comparing of the temporary file to the log file includes matching locations of all occurrences of the references to hard-coded configuration information in the temporary file to locations of all occurrences in the log file.

### Claim 18 (depends on 12)

A method as set forth in claim 12, wherein generating the temporary file includes applying an expression parser to the targeted source code.

### Claim 19

A system having a processor, the system comprising:
a source database storing a targeted source code having references related to hard-coded configuration information;
a converter in communication with said source database and configured to replace the references related to hard-coded configuration information in said source code with corresponding new reference names related to soft-coded configuration information to generate a targetless source code with the soft-coded configuration information and output a log file identifying differences between said targeted source code and said targetless source code,
wherein the converter is configured to search said targeted source code, generate a temporary file listing all occurrences of references to hard-coded configuration information in the targeted source code based upon the search of said targeted source code, and compare the temporary file to the log file to determine whether the targetless source code was correctly generated to include all of the occurrences of the references to hard-coded configuration information.

### Claim 20 (depends on 19)

A system as set forth in claim 19, wherein said converter is configured to identify a location in said targeted source code of each reference uncovered in the search of said targeted source code and list said location in said temporary file and find each occurrence of each of said references based on the location listed in said temporary file.

### Claim 21 (depends on 20)

A system as set forth in claim 20, wherein said converter is configured to replace each occurrence of at least one of said references with one of said new reference names.

### Claim 22 (depends on 19)

A system as set forth in claim 19, wherein said converter is configured to receive version information and generate at least two versions of said targetless source code corresponding to said version information.

### Claim 23 (depends on 22)

A system as set forth in claim 22, wherein said version information includes at least one of past release information, future release information, and present release information.

### Claim 24 (depends on 23)

A system as set forth in claim 23, wherein said converter is configured to output a version log file identifying differences between said at least two versions of said targetless source code.

### Claim 25 (depends on 19)

A system as set forth in claim 19, wherein the converter is configured to generate the temporary file by applying an expression parser to the targeted source code and compare the log file to the temporary file by matching locations of all occurrences of the references to hard-coded configuration information in the temporary file to locations of all occurrences in the log file.
