Distributed ID generation system

A generation system and distributed technology, applied in the computer field, can solve the problems of low performance, inability to guarantee numbers, and low performance of database auto-increment mode, so as to achieve the effect of simple invocation, simplified remote invocation, and improved generation performance

Inactive Publication Date: 2022-03-25
山东宁泓信息技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the distributed ID generation system on the market adopts the database self-increment mode and the number segment mode to generate self-increment IDs. High performance, but there is no guarantee that the obtained numbers are strictly self-increasing
The performance of the existing distributed ID generation system for snowflake ID generation is not high, so it is urgent to improve the distributed ID generation system so that it has higher performance

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed ID generation system
  • Distributed ID generation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0026] The professional terms in the present invention are explained:

[0027] Auto-increment ID: Auto-increment ID is continuous and the latter ID is strictly greater than the previous ID. It can be used for document numbers and sorting numbers in some internal systems, such as pure numbers such as 1, 2, and 3, or bands such as SV00000...

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

PUM

No PUM Login to view more

Abstract

The invention provides a distributed ID generation system, and relates to the technical field of computers, the system comprises a distributed ID service platform and a local client, the distributed ID service platform and the local client are connected through a network, and the local client is provided with a local client plug-in; the distributed ID service platform comprises a self-increasing ID generation module and a snowflake ID generation module; the local client plug-in calls the self-increasing ID generation module through the self-increasing ID calling module; the local client calls the snowflake ID generation module through the remote calling module; the local client plug-in is provided with a local generation module, and the local generation module obtains a machine number in the distributed ID service platform and generates a snowflake ID. According to the method, the defects existing in self-increasing ID generation and snowflake ID generation are overcome, and the generation performance of the distributed ID is improved.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a distributed ID generation system. Background technique [0002] In a distributed system, we need to uniquely identify some data, such as commodity ids and user ids. In large-scale systems, these data volumes are generally large, and it is likely to require sub-databases and sub-tables. The self-incrementing ID of the database will not be able to meet the demand ;Even if the amount of data is not large, we often need to generate various odd numbers as unique identifiers to represent some data. Therefore, it is very important to design a system dedicated to generating unique identifiers for large-scale systems. This globally unique identifier is called a distributed ID. Based on different business scenarios, distributed IDs are further divided into self-incrementing IDs and snowflake IDs. The self-incrementing ID is continuous and the latter ID is strictly greater...

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L61/45H04L67/02H04L67/10H04L67/133
CPCH04L67/02H04L67/10
Inventor 冯庶原
Owner 山东宁泓信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products