Unique digital ID generation method and system capable of saving peripheral resources, medium and equipment

The invention relates to the technical field of piezoelectric driver communication, and discloses a unique digital ID generation method and system capable of saving peripheral resources, a medium and equipment, and the method comprises the steps: obtaining a driver program, and compiling the program...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG CHUNPEI, SUN HAO, ZHANG LEIYING, CHEN KELUN
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 invention relates to the technical field of piezoelectric driver communication, and discloses a unique digital ID generation method and system capable of saving peripheral resources, a medium and equipment, and the method comprises the steps: obtaining a driver program, and compiling the program to update the compiling time of the program; extracting moment information in the compiling time, and calculating coded data with uniqueness according to the moment information; and taking the coded data as a random number seed to generate a random number, exchanging digits at each position in the coded data according to the random number to enable the digits at each position in the coded data to have the same occurrence probability, and obtaining the coded data with randomness and uniqueness and taking the coded data as the equipment ID. According to the method and the device, the uniqueness of the generated digital ID can be ensured, and peripheral resources of the MCU are not occupied. 本发明涉及压电驱动器通信技术领域,公开一种节省外设