Serial number generation method and device, electronic equipment and storage medium

A serial number generation and serial number technology, applied in the computer field, can solve problems such as non-unique serial numbers

Pending Publication Date: 2020-12-04
WEBANK (CHINA)
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the existing snowflake algorithm encounters time rollb

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
  • Serial number generation method and device, electronic equipment and storage medium
  • Serial number generation method and device, electronic equipment and storage medium
  • Serial number generation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0053] With the development of computer technology, distributed computer systems have penetrated into all walks of life, for example: computer systems used to support various financial services in the financial industry.

[0054] In a distributed computer system, a globally unique serial number needs to be generated to uniquely identify a large amount...

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 embodiment of the invention provides a serial number generation method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a serial number generation request initiated by a target business, wherein the serial number generation request comprises a node identification corresponding to the target business; generating a current counting serial number according to a historical counting serial number which is a counting serial number generated in response to the last serial number generation request; and generating a target serial number accordingto the current timestamp, the current counting serial number and the node identifier, wherein the target serial number is used for uniquely identifying the target service. In the scheme, the countingserial number is irrelevant to the timestamp, namely, when the time rolls back, the counting serial number is continuously increased and is not reset to the minimum value, so that the serial number generated by the method can tolerate certain time roll-back.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a serial number generation method, device, electronic equipment, and storage medium. Background technique [0002] With the rapid development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually transforming into financial technology (Fintech). However, due to the security and real-time requirements of the financial industry, more and more technical requirements high demands. [0003] For the distributed computer system used to support various financial services, it is necessary to generate a globally unique serial number to uniquely identify a large amount of transaction information in the distributed computer system. Among them, the common serial number generation method includes the Snowflake (Snowflake) algorithm. [0004] However, when the existing snowfl...

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/2458G06F16/27G06Q40/04
CPCG06Q40/04G06F16/2471G06F16/2474G06F16/27
Inventor 徐琛知李晶彭荣杰
Owner WEBANK (CHINA)
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