Distributed unique ID generation method
A distributed and unique technology, applied in the field of data processing, can solve problems such as cumbersome steps and waste of computer resources, and achieve the effect of increasing randomness and preventing duplicate IDs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The present invention is further described in conjunction with the following examples.
[0027] Depend on figure 1 It can be seen that a distributed unique ID generation method described in this embodiment includes the following steps: S1: Set the total number of digits of the distributed unique ID, divide the distributed unique ID into several intervals; set each The number of digits in each interval; the distributed unique ID is formed by splicing all intervals; by dividing a multi-digit ID into multiple intervals, different methods are used to obtain the number strings of each interval, which can increase the number of acquisitions The randomness of the number string, and compared with the traditional ID generation method, which requires each byte to be generated one by one, the present invention can simplify the generation steps, and further prevent duplicate IDs due to the adoption of different generation methods.
[0028] S2: Obtain the node name of the server, u...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

