Distributed global unique ID application method

An application method and distributed technology, applied in the direction of electrical components, transmission systems, etc., can solve the problem of not having a comprehensive solution.
CN106572165AInactive Publication Date: 2017-04-19优赛恒创科技发展(北京)有限公司

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
优赛恒创科技发展(北京)有限公司
Publication Date
2017-04-19
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a distributed global unique ID application method. For a global unique ID of a string type, the time-friendly global unique ID is locally efficiently generated without a network. For a numerical global unique ID, the numerical, time-friendly global unique ID is acquired from a remote server under network communication. When the numerical global unique ID is generated, the entire service is divided into a server-generated ID machine cluster and a client. The server generates a unique ID machine. Registration is carried out in a MySQL database cluster according to the machine mac address. The unique number of the service machine is acquired. Each server machine generates a unique ID. The client increases cache, and a user request is not perceived. The client and the server carry out data interaction through an HTTP request. According to the invention, the global unique ID is efficiently generated under different ID type demand scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to a globally unique ID service in a distributed system, in particular to a distributed system capable of efficiently generating globally unique IDs Background technique

[0002] In a distributed system, it is often necessary to define corresponding data using a globally unique ID (GUID). The basic requirements of GUID include the following points: 1. Globally unique; 2. Relatively small occupation, convenient for DB storage and indexing; 3. Time-friendly, convenient for business queries; 4. High performance and high availability. The current existing solutions all have their own problems, and there is no comprehensive solution.

[0003] Regarding SnowFlake, since the implementation of the present invention is based on Twitter’s Snowflake solution, let’s first introduce snowflake. In order to meet Twitter’s request for tens of thousands of messages per second, each message must be assigned a unique ID. These IDs also need...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More