US 12,135,726 B2
Method for generating identification ID, and apparatus implementing the same method
Jae Hong Kim, Seoul (KR); Kwang Jae Lee, Seoul (KR); and Gyu Haing Kang, Seoul (KR)
Assigned to SAMSUNG SDS CO., LTD., Seoul (KR)
Filed by SAMSUNG SDS CO., LTD., Seoul (KR)
Filed on Oct. 26, 2021, as Appl. No. 17/510,664.
Claims priority of application No. 10-2020-0139326 (KR), filed on Oct. 26, 2020.
Prior Publication US 2022/0129458 A1, Apr. 28, 2022
Int. Cl. G06F 7/00 (2006.01); G06F 16/22 (2019.01); G06F 16/23 (2019.01); G06F 16/2458 (2019.01)
CPC G06F 16/2474 (2019.01) [G06F 16/22 (2019.01); G06F 16/2322 (2019.01)] 15 Claims
OG exemplary drawing
 
1. A method performed by a computing device for generating an identification identifier (ID), included in a system comprising a plurality of identification ID generation devices, in which service instances are installed and executed, and a database server, the computing device being one of the plurality of identification ID generation devices, the method comprising:
generating an instance ID for identifying each of a plurality of service instances at a time when each of the plurality of service instances is initially started in the computing device;
storing, in the database server, the generated instance ID and a generation time information indicating when the instance ID is generated;
storing a respective instance ID in an internal memory of a respective service instance, wherein the respective instance ID no longer exists in the internal memory when the respective service instance is restarted;
generating an identification ID for identifying a data item sequentially generated by the respective service instance, wherein in generating the identification ID, the computing device, instead of the database server, generates a unique identification ID capable of identifying a data item generated by the respective service instance by:
obtaining, when the respective service instance is initially started in the computing device, the respective instance ID stored in the internal memory of the respective service instance and obtaining, when the respective service instance is restarted, the respective instance ID stored in the database server, and
generating the identification ID that includes the obtained instance ID, a sequence number, and the generation time information; and
storing the identification ID in the database server,
wherein the sequence number has a second number of digits, and
wherein the generating of the identification ID comprises:
increasing the generation time information by a predetermined unit time based on determination that all values expressible by the second number of digits are exhausted.