Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device, system and medium for generating identifier

A technology of identifiers and identification information, applied in the Internet field, can solve problems such as poor database index fields, inability to guarantee the increasing trend of identifiers, long fields, etc.

Pending Publication Date: 2019-12-17
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the concept of the present disclosure, the inventor found at least the following problems in the prior art: UUID is a hexadecimal string, not an integer, and the field is relatively long, which is not easy to be used as an index field of the database, and the string cannot be sorted , and the incremental trend of generated identifiers cannot be guaranteed; the performance of identifier generation in the MySQL self-growth identification mechanism depends on the read and write performance of the MySQL database

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
  • Method, device, system and medium for generating identifier
  • Method, device, system and medium for generating identifier
  • Method, device, system and medium for generating identifier

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] 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.

[0050] 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 stated features, ...

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 method, a device, a system and a medium for generating an identifier. The method for generating the identifier comprises the following steps of obtaining first time information representing generation time of a first identifier, obtaining identification information used for generating an instance of the first identifier, obtaining a serial number of the first identifier, and generating the first identifier based on the first time information, the identification information of the instance and the serial number of the first identifier. The invention further provides a method, a device, a system and a medium for generating the identifier. The method for generating an identifier includes that a request is received to generate an identifier for a specific service, in response to the request, one or more instances for providing an identifier generation service for the particular service are determined, and an identifier is generated by one of the one or more instances according to the identifier generation method provided by the present disclosure.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, and more specifically, to a method, device, system and medium for generating an identifier, and a method, device, system and medium for generating an identifier. Background technique [0002] Almost all systems need to uniquely identify a large amount of data and messages. UUID (Universally Unique Identifier, Universally Unique Identifier) ​​or the self-growth identification mechanism of the MySQL database are commonly used in existing identifier generation schemes. [0003] In the process of realizing the concept of the present disclosure, the inventor found at least the following problems in the prior art: UUID is a hexadecimal string, not an integer, the field is relatively long, it is not easy to be an index field of the database, and the string cannot be sorted , and the incremental trend of generated identifiers cannot be guaranteed; the performance of generating identifiers ...

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
IPC IPC(8): G06F16/901G06F16/903G06F16/907
Inventor 卞祥沈志明金晓明周龙亭
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products