Continuous sequence number generation system and continuous sequence number generation method

A technology for generating systems and serial numbers, applied in the network field, can solve the problems of server downtime, poor availability, unusable services, etc., and achieve the effect of efficient and reliable generation and high availability

Inactive Publication Date: 2014-03-19
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current problem is that if the server fails, the entire service cannot be used, for example, the server is down, the disk is permanently damaged, etc., which seriously affects the normal operation of the service and poor availability

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
  • Continuous sequence number generation system and continuous sequence number generation method
  • Continuous sequence number generation system and continuous sequence number generation method
  • Continuous sequence number generation system and continuous sequence number generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0017] In the description of the present invention, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance. In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "connected" and "connect...

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 continuous sequence number generation system and a continuous sequence number generation method. The system comprises N servers, wherein the N servers are mutually connected, each server comprises a sequence number maintenance file and a reception buffer memory file, the N is a positive integer, the sequence number maintenance file is used for storing present largest sequence numbers, the reception buffer memory file is used for receiving synchronization signals sent by other servers, the synchronization signals comprise present largest sequence numbers of other servers, after a sequence number distribution request is received by the Mth server, the M is greater than zero and is smaller than or equal to the N, the Mth server is used for acquiring the present largest sequence number of the Mth server; a new sequence number is generated according to the present largest sequence numbers, response feedback is further distributed according to the sequence number, the synchronization signals are sent to other servers by the Mth server, and the synchronization signals have the new sequence number. The continuous sequence number generation system realizes high-efficiency and reliable generation of continuous sequence numbers in a distributed environment and improves availability.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a system and method for generating continuous sequence numbers. Background technique [0002] With the rapid development of the Internet, serial number generators are used in more and more application scenarios to generate serial numbers, for example, the order number of payment products, the waybill number of logistics, the account id (Identity, identity identification number) of registered users, etc. . At present, the main method for generating serial numbers is to use a single server to generate serial numbers. For example, when a client sends a request for a new serial number to the server, first, the server opens the last generated serial number saved in the local file, and then converts its value After self-increment, store the new serial number back into the file and respond to the client to realize the generation of continuous serial numbers. [0003] The current prob...

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): H04L29/08
Inventor 陈不骄
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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