Method and device for generating identity identification number

The embodiment of the invention provides a method and device for generating an identity identification number. The method comprises the steps of obtaining a timestamp of a to-be-generated ID and a critical resource value of the ID before the to-be-generated ID, wherein the critical resource value co...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: PAN XIN, PENG RONGJIE, WANG SHUNYUN, LU LU, LI JING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a method and device for generating an identity identification number. The method comprises the steps of obtaining a timestamp of a to-be-generated ID and a critical resource value of the ID before the to-be-generated ID, wherein the critical resource value comprises a timestamp and a serial number; when it is determined that the timestamp of the to-be-generated ID is consistent with the timestamp of the ID before the ID to be generated, according to the serial number of the ID before the to-be-generated ID and the timestamp of the to-be-generated ID, generating a timestamp of the to-be-generated ID; determining the current ID and the critical resource value corresponding to the current ID, determining whether the critical resource value corresponding to the current ID is updated to the critical resource library or not, if yes, confirming that the current ID is successfully generated. The problem that in the prior art, a thread hangs up can be solved. 本发明实施例提供了一种生成身份标识号