Computer-implemented method and executable program for updating reference data
Abstract
A computer-implemented method is provided for updating reference data. The method includes a step of providing update data structured according to a given data structure. The data structure has at least two streams of data, wherein one of the streams includes patterns of instructions to a processor, and at least one other stream includes patterns of operands of the instructions. The operands and the instructions are designed for updating the reference data upon processing the update data at a processor. Also, a computer executable program code is provided, which is stored in a computer readable medium or in a signal, suitable for implementation of the method. Further, a terminal (e.g. a payment terminal or electronic funds transfer at point of sale) is provided, which includes a memory with the program code stored thereon.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A method implemented by a terminal for updating reference data stored in memory of the terminal, the method comprising a step of:
providing update data structured according to a partitioned data structure, wherein:
the data structure comprises first, second and third partitioned streams of data, wherein:
the first stream, named an opcode stream, comprises patterns of instructions to a processor, wherein the instructions are opcodes and wherein the opcode stream further comprises addresses of where changes have to be performed in said reference data, each address being a relative address coded as the difference from a last address of change in the update data;
the second stream comprises patterns of operands of the instructions, comprising a first payload byte of changes of the reference data to be performed, wherein the operands comprise byte values of changes of the reference data to be performed according to the opcodes; and
the third stream comprises patterns of subsequent payload bytes of changes to be performed, and
the operands and the instructions are designed for updating the reference data upon processing the update data at a processor;
compressing the provided update data;
transmitting the compressed update data to the processor;
decompressing at the processor the compressed update data; and
interpreting at the processor the decompressed update data and updating the reference data by the processor, according to the interpreted update data.
2. The method according to claim 1 , wherein said opcodes comprise:
at least one opcode designed for single-byte changes; and
opcodes designed for multi-byte change.
3. The method according to claim 2 , wherein:
opcodes are encoded in 4-bits.
4. The method according to claim 2 , wherein:
said at least one opcode designed for single-byte changes is an implicit opcode.
5. The method according to claim 1 , wherein:
one of the opcodes is a forced base-page change opcode, designed for incrementing a current base-page.
6. The method according to claim 1 , wherein:
at least one of the opcodes is an inheritance opcode.
7. The method according to claim 1 , wherein:
the opcodes comprise seventeen different opcodes, including an implicit opcode.
8. The method according to claim 1 , wherein said update data are provided in one file.
9. A computer executable program code stored on a non-transitory computer readable medium, suitable for implementation of a method for updating reference data stored in a memory of a terminal, the method comprising:
providing update data structured according to a partitioned data structure, wherein:
the first stream, named an opcode stream, comprises patterns of instructions to a processor, wherein the instructions are opcodes and wherein the opcode stream further comprises addresses of where changes have to be performed in said reference data, each address being a relative address coded as the difference from a last address of change in the update data;
the second stream comprises patterns of operands of the instructions, comprising a first payload byte of changes of the reference data to be performed, wherein the operands comprise byte values of changes of the reference data to be performed according to the opcodes; and
the third stream comprises patterns of subsequent payload bytes of changes to be performed, and
the operands and the instructions are designed for updating the reference data upon processing the update data at a processor;
compressing the provided update data;
transmitting the compressed update data to the processor;
decompressing at the processor the compressed update data; and
interpreting at the processor the decompressed update data and updating the reference data by the processor, according to the interpreted update data.
10. A terminal comprising:
a processor; and
a memory with computer executable program code stored therein for implementing a method of updating reference data stored in the memory when executed by the processor, the method comprising:
providing update data structured according to a partitioned data structure, wherein:
the data structure comprises first, second and third partitioned streams of data, wherein:
the first stream, named an opcode stream, comprises patterns of instructions to the processor and addresses of where changes have to be performed in said reference data, each address being a relative address coded as the difference from a last address of change in the update data, wherein the instructions are opcodes;
the second stream comprises patterns of operands of the instructions, comprising a first payload of changes of the reference data to be performed, wherein the operands comprise byte values of changes of the reference data to be performed according to the opcodes; and
the third stream comprises patterns of subsequent payloads of changes to be performed; and
the operands and the instructions are designed for updating the reference data upon processing the update data at the processor;
compressing the provided update data;
transmitting the compressed update data to the processor;
decompressing at the processor the compressed update data; and
interpreting at the processor the decompressed update data and updating the reference data by the processor, according to the interpreted update data.
11. The terminal according to claim 10 , the terminal being a payment terminal or electronic funds transfer at point of sale.
12. The terminal according to claim 10 , wherein said opcodes comprise:
at least one opcode designed for single-byte changes; and
opcodes designed for multi-byte change.
13. The terminal according to claim 12 , wherein:
said opcodes are encoded in 4-bits.
14. The terminal according to claim 12 , wherein:
said at least one opcode designed for single-byte changes is an implicit opcode.
15. The terminal according to claim 10 , wherein:
one of the opcodes is a forced base-page change opcode, designed for incrementing a current base-page.
16. The terminal according to claim 10 , wherein:
at least one of the opcodes is an inheritance opcode.
17. The terminal according to claim 10 , wherein:
the opcodes comprise seventeen different opcodes, including an implicit opcode.
18. The terminal according to claim 10 , wherein said update data are provided in one file.Join the waitlist — get patent alerts
Track US8615754B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.