Database identifier generation in transaction processing systems
First Claim
Patent Images
1. A method for processing a transaction, comprising:
- obtaining, by one or more computer processors, a unique sequence value from a unique sequence range of known maximum number of values;
determining, by the one or more computer processors, a first product by multiplying a value included in a primary range and a maximum number of values in a secondary range;
generating, by the one or more computer processors, a first total by adding the first product to a value included in the secondary range;
determining, by the one or more computer processors, an offset value by multiplying the first total by the maximum number of values in the unique sequence range;
generating, by the one or more computer processors, an identifier value for a database by adding the offset value to a unique sequence value; and
processing, by the one or more computer processors, a transaction of a plurality of transactions by using the identifier value as a database primary key in a database of a transaction processing system.
1 Assignment
0 Petitions
Accused Products
Abstract
One or more processors initiate generation of an identifier based on the definitions of both a primary range and a secondary range. One or more processors obtain a unique sequence value from a unique sequence range of known maximum number of values. One or more processors determine an offset value based on, at least in part, the primary range and the secondary range. One or more processors add the offset value to the unique sequence value to generate an identifier value. Processing a transaction using the identifier value as a database primary key in a database of a transaction processing system.
-
Citations
20 Claims
-
1. A method for processing a transaction, comprising:
-
obtaining, by one or more computer processors, a unique sequence value from a unique sequence range of known maximum number of values; determining, by the one or more computer processors, a first product by multiplying a value included in a primary range and a maximum number of values in a secondary range; generating, by the one or more computer processors, a first total by adding the first product to a value included in the secondary range; determining, by the one or more computer processors, an offset value by multiplying the first total by the maximum number of values in the unique sequence range; generating, by the one or more computer processors, an identifier value for a database by adding the offset value to a unique sequence value; and processing, by the one or more computer processors, a transaction of a plurality of transactions by using the identifier value as a database primary key in a database of a transaction processing system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product for identifier generation in transaction processing systems, the computer program product comprising:
one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising; program instructions to obtain a unique sequence value from a unique sequence range of known maximum number of values; program instructions to determine a first product by multiplying a value included in a primary range and a maximum number of values in a secondary range; program instructions to generate a first total by adding the first product to a value included in the secondary range; program instructions to determine an offset value by multiplying the first total by the maximum number of values in the unique sequence range; program instructions to generate an identifier value for a database by adding the offset value to a unique sequence value; and program instructions to process a transaction of a plurality of transactions by using the identifier value as a database primary key in a database of a transaction processing system. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
19. A computer system for processing a transaction, comprising:
-
one or more computer processors; one or more computer readable storage medium; and program instructions stored on the computer readable storage medium for execution by at least one of the one or more processors, the program instructions comprising; program instructions to obtain a unique sequence value from a unique sequence range of known maximum number of values; program instructions to determine a first product by multiplying a value included in a primary range and a maximum number of values in a secondary range; program instructions to generate a first total by adding the first product to a value included in the secondary range; program instructions to determine an offset value by multiplying the first total by the maximum number of values in the unique sequence range; program instructions to generate an identifier value for a database by adding the offset value to a unique sequence value; and program instructions to process a transaction of a plurality of transactions by using the identifier value as a database primary key in a database of a transaction processing system. - View Dependent Claims (20)
-
Specification