Serial number generating method and device, and a server

A technology for generating devices and serial numbers, which is applied in the fields of instruments, structured data retrieval, transmission systems, etc., can solve problems such as not having a good solution, and achieve the effects of high concurrent processing capacity, convenient storage and retrieval, and high efficiency

Inactive Publication Date: 2015-11-18
UNION MOBILE PAY
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there is no good solution

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 generating method and device, and a server
  • Serial number generating method and device, and a server
  • Serial number generating method and device, and a server

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0045] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. . Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0046] In order to realize that the back-end application in a distributed environment does not rely on an external database to obtain the serial number required for the business processing process, and the serial number generation service in the distributed cluster has higher concurrent processing capabilities, the embodiment of the present invention provides A serial number generation method, device, and server are provided. T...

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 discloses a serial number generating method and device, and a server. The serial number generating method comprises: receiving a serial number allocating request; acquiring the node number of an application node receiving the serial number allocating request and the current system time of a server where the application node is located; generating a time sequence value associated with the serial number allocating request; and performing bit OR operation on the binary numbers of the node number, the current system time, and the time sequence value, and generating a single serial number in a long integer (LONG) data structure type. The method may enable any two application nodes in a distributed cluster to generate two different serial numbers in parallel and provide the serial number generating service in the distributed cluster with a better concurrent processing capability. Further, the data format of the generated serial number is the LONG type, thereby facilitating storage and retrieval.

Description

technical field [0001] The invention relates to the field of computer data structures, in particular to a serial number generation method, device and server. Background technique [0002] At present, in the scheme of generating the serial number based on the database system, it needs to rely on a centralized database. When multiple applications access the same database to obtain the serial number, the pressure on the database is too great. Moreover, relying on a single database, there is a centralized single point. When a single point fails, it will affect the entire system or network, resulting in the paralysis of the entire system or network. Therefore, there is a centralized single point in the scheme of relying on the database to generate serial numbers, and there is a bottleneck in system performance. [0003] In the existing solutions, the above-mentioned centralized problems are often solved by adding external databases for distributed transformation. For example, th...

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): H04L29/08G06F17/30
CPCH04L67/10G06F16/21G06F16/24569G06F16/27H04L67/1097
Inventor 丁志伟殷舒刘胜
Owner UNION MOBILE PAY
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