Identification generation method and device, electronic equipment and storage medium
The invention provides an identifier generation method and device, electronic equipment and a storage medium, relates to the technical field of computers, and is used for solving the problem that generated identifiers are repeated in the prior art. The method comprises the following steps: receiving...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
12.09.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides an identifier generation method and device, electronic equipment and a storage medium, relates to the technical field of computers, and is used for solving the problem that generated identifiers are repeated in the prior art. The method comprises the following steps: receiving an identifier generation request of a client, and obtaining a current timestamp; the identifier generation request is used for requesting an identifier generator to generate an identifier, and the identifier generation request comprises a database table number corresponding to the client; generating a temporary identifier according to the current timestamp, the database table number and the number of the identifier generator; and performing de-duplication verification on the temporary identifier, determining the temporary identifier as a unique identifier under the condition that the temporary identifier is different from the identifier in the buffer, and outputting the unique identifier.
本申请提供一种标识生成方法、装置、电子设备及存储介 |
---|---|
Bibliography: | Application Number: CN202310539584 |