Method for generating unique ID in distributed system
A distributed system, the only technology, applied in the field of distributed systems, can solve the problems of IDs are not sorted, cannot meet the needs of multi-agent deployment, and has a single point of risk, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0043] Example 1:
[0044] Assuming that the APPID number on a host is 14678502, the IP address of the host is 192.132.2.65, the timestamp is 150034382, and the auto-incrementing serial number is 6, the ID generation process is:
[0045] Perform high 64bit calculation: shift the APPID number 14678502 on the host by 32bit to the left, divide the ip address into: 192, 132, 2, 65, and perform displacement filling respectively.
[0046]
[0047]
[0048] OR the APPID and ip address:
[0049]
[0050] Assign the low 64bit: the first position is 0, the time stamp is shifted to the left by 22bit,
[0051]
[0052]
[0053]
[0054] OR the timestamp with the self-incrementing serial number
[0055]
[0056] The high 64bit and low 64bit are spliced together to generate a unique ID: 6304368927414739221705276340000006.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap