1. A method performed by a computer system comprising a processor and a non-transitory computer-readable storage medium storing instructions that when executed by the processor, cause the computer system to perform the method, the method comprising:
inserting a plurality of primers in a computer program;
compiling the computer program to generate an executable computer program;
customizing the executable computer program to generate a customized executable computer program, wherein the customizing is configured to preserve the plurality of primers;
removing the plurality of primers from the customized executable computer program;
transmitting the customized executable computer program with the plurality of primers removed to a client computer system; and
transmitting a patch file to the client computer system, the patch file comprising the plurality of primers,
wherein the patch file is configured to be merged with the customized executable computer program with the plurality of primers removed by the client computer system.
2. The method of claim 1, wherein the method further comprises:
prior to transmitting the customized executable computer program with the plurality of primers removed, encrypting the customized executable computer program.
3. The method of claim 1, wherein customizing the executable program code comprises obfuscating the executable program code.
4. The method of claim 1, wherein the customizing the executable program code comprises identifying the plurality of primers based on one or more flags associated with the plurality of primers, the one or more flags indicating portions of the executable computer program that should not be modified.
5. The method of claim 1, wherein the plurality of primers each comprise assembly language patterns.
6. The method of claim 1, wherein the plurality of primers comprise primers selected from a predetermined set of primer types.
7. The method of claim 1, wherein the computer program comprises a source code computer program.
8. The method of claim 1, wherein the computer program comprises a binary code computer program.
9. The method of claim 1, wherein the customizing is performed by a customization tool, the method further comprising:
providing an indication to the customization tool of one or more locations of the plurality of primers.
10. A non-transitory computer-readable storage medium storing instructions that when executed by a system comprising a processor, cause the system to perform a method comprising:
inserting a plurality of primers in a computer program;
compiling the computer program to generate an executable computer program;
customizing the executable computer program to generate a customized executable computer program, wherein the customizing is configured to preserve the plurality of primers;
removing the plurality of primers from the customized executable computer program;
transmitting the customized executable computer program with the plurality of primers removed to a client computer system; and
transmitting a patch file to the client computer system, the patch file comprising the plurality of primers,
wherein the patch file is configured to be merged with the customized executable computer program with the plurality of primers removed by the client computer system.
11. The non-transitory computer-readable storage medium of claim 10, wherein the method further comprises:
prior to transmitting the customized executable computer program with the plurality of primers removed, encrypting the customized executable computer program.
12. The non-transitory computer-readable storage medium of claim 10, wherein customizing the executable program code comprises obfuscating the executable program code.
13. The non-transitory computer-readable storage medium of claim 10, wherein the customizing the executable program code comprises identifying the plurality of primers based on one or more flags associated with the plurality of primers, the one or more flags indicating portions of the executable computer program that should not be modified.
14. The non-transitory computer-readable storage medium of claim 10, wherein the plurality of primers each comprise assembly language patterns.
15. The non-transitory computer-readable storage medium of claim 10, wherein the plurality of primers comprises primers selected from a predetermined set of primer types.
16. The non-transitory computer-readable storage medium of claim 10, wherein the computer program comprises a source code computer program.
17. The non-transitory computer-readable storage medium of claim 10, wherein the computer program comprises a binary code computer program.
18. The non-transitory computer-readable storage medium of claim 10, wherein the customizing is performed by a customization tool, the method further comprising:
providing an indication to the customization tool of one or more locations of the plurality of primers.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A self-luminous display apparatus, comprising:
a display panel having self-luminous elements and pixel circuits therefor arranged in a matrix, each of the pixel circuits being configured to retain an image signal that is written thereto in accordance with a line-sequential scanning system until a next writing time;
a line current calculation section configured to calculate, based on the image signals supplied to said display panel, a value of a line current consumed by each of horizontal lines; and
a power consumption calculation section configured to calculate, on a horizontal line cycle, power consumed by said entire display panel based on the most recent values of the line currents, the values corresponding in number to a vertical resolution.
2. An electronic device, comprising:
a display panel having self-luminous elements and pixel circuits therefor arranged in a matrix, each of the pixel circuits being configured to retain an image signal that is written thereto in accordance with a line-sequential scanning system until a next writing time;
a line current calculation section configured to calculate, based on the image signals supplied to said display panel, a value of a line current consumed by each of horizontal lines; and
a power consumption calculation section configured to calculate, on a horizontal line cycle, power consumed by said entire display panel based on the most recent values of the line currents, the values corresponding in number to a vertical resolution.
3. A method for detecting power consumption, the method comprising the steps of:
calculating, based on an image signal, a value of a line current consumed by each of horizontal lines; and
calculating, on a horizontal line cycle, power consumed by an entire display panel based on the most recent values of the line currents, the values corresponding in number to a vertical resolution.
4. A non-transitory computer readable medium storing a computer program that causes a computer to execute the steps of:
calculating, based on an image signal, a value of a line current consumed by each of horizontal lines; and
calculating, on a horizontal line cycle, power consumed by an entire display panel based on the most recent values of the line currents, the values corresponding in number to a vertical resolution.
5. A self-luminous display apparatus, comprising:
a line current calculation section configured to calculate a value of a line current consumed by each of horizontal lines based on image signals outputted to a self-luminous display apparatus that contains a display panel that has self-luminous elements and pixel circuits therefor arranged in a matrix, wherein the image signals are written in accordance with a line-sequential scanning system and are each retained in a corresponding one of the pixel circuits until a next writing time;
a power consumption calculation section configured to calculate, on a horizontal line cycle, power consumed by the entire display panel based on the most recent values of the line currents, the values corresponding in number to a vertical resolution; and
a power consumption control section configured to control, on the horizontal line cycle, peak brightness of a display screen so that the consumed power calculated on the horizontal line cycle satisfies allowable power consumption.
6. An electronic device, comprising:
a display panel having self-luminous elements and pixel circuits therefor arranged in a matrix, each of the pixel circuits being configured to retain an image signal that is written thereto in accordance with a line-sequential scanning system until a next writing time;
a line current calculation section configured to calculate, based on the image signals supplied to said display panel, a value of a line current consumed by each of horizontal lines;
a power consumption calculation section configured to calculate, on a horizontal line cycle, power consumed by said entire display panel based on the most recent values of the line currents, the values corresponding in number to a vertical resolution; and
a power consumption control section configured to control, on the horizontal line cycle, peak brightness of a display screen so that the consumed power calculated on the horizontal line cycle satisfies allowable power consumption.
7. A method for controlling power consumption, the method comprising the steps of:
calculating, based on an image signal, a value of a line current consumed by each of horizontal lines;
calculating, on a horizontal line cycle, power consumed by an entire display panel based on the most recent values of the line currents, the values corresponding in number to a vertical resolution; and
controlling, on the horizontal line cycle, peak brightness of a display screen so that the consumed power calculated on the horizontal line cycle satisfies allowable power consumption.