Data identifier generation method and device, electronic equipment and medium

A data identification and data generation technology, applied in the database field, can solve problems such as unproposed solutions, low efficiency, and non-unique integer primary keys, and achieve the effect of improving generation efficiency

Pending Publication Date: 2020-05-08
BEIJING TONGBANGZHUOYI TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of implementing the concept of the present disclosure, the inventors found that there are at least the following problems in related technologies: the generated integer primary key is not unique, and the efficiency is low
[0005] For the above-mentioned problems in related technologies, no effective solution has been proposed at present

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
  • Data identifier generation method and device, electronic equipment and medium
  • Data identifier generation method and device, electronic equipment and medium
  • Data identifier generation method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present disclosure.

[0038] The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the present disclosure. The terms "comprising", "comprising", etc. used herein indicate the presence of features, steps, ...

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 data identifier generation method. The method is applied to a database capable of providing service for an application server in a distributed environment. The method comprises the steps: receiving a first data acquisition request from a first application server, wherein the first data acquisition request is sent by the first application server in response to a first datageneration request from a first requester, and the first data generation request is used for indicating generation of a first data identifier; and in response to the first data acquisition request, acquiring a first number segment corresponding to the first data acquisition request, the first number segment being determined based on a maximum number value maintained in the database; returning thefirst number segment to the first application server, so as to enable the first application server to return a first target number to the first requester based on the first number segment, and enablethe first requester to generate a first data identifier based on the first target number. The invention further provides a data identifier generation device, electronic equipment and a medium.

Description

technical field [0001] The present disclosure relates to the field of databases, and more specifically, to a method and device for generating a data identifier, electronic equipment and a medium. Background technique [0002] The role of the business primary key in the IT system is very critical. As the identification of business data, it needs to meet the requirements of global uniqueness and efficient generation. [0003] Related technologies also provide some ways to generate business primary keys, such as Universally Unique Identifier (UUID), Snowflake algorithm and related variants, various combination algorithms of system timestamps, and distributed middleware (Redis). [0004] However, in the process of realizing the disclosed concept, the inventors found that there are at least the following problems in related technologies: the generated integer primary key is not unique, and the efficiency is low. [0005] Aiming at the above-mentioned problems in the related art,...

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): G06F16/955G06F16/27
CPCG06F16/955G06F16/27
Inventor 梁袁冰
Owner BEIJING TONGBANGZHUOYI TECH CO LTD
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