CN111949324A - Distributed serial number generation method and device - Google Patents

Distributed serial number generation method and device Download PDF

Info

Publication number
CN111949324A
CN111949324A CN202010705878.0A CN202010705878A CN111949324A CN 111949324 A CN111949324 A CN 111949324A CN 202010705878 A CN202010705878 A CN 202010705878A CN 111949324 A CN111949324 A CN 111949324A
Authority
CN
China
Prior art keywords
sequence number
sequence
preset
configuration parameters
serial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010705878.0A
Other languages
Chinese (zh)
Inventor
杨永涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN202010705878.0A priority Critical patent/CN111949324A/en
Publication of CN111949324A publication Critical patent/CN111949324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding

Abstract

The invention provides a distributed serial number generation method and a distributed serial number generation device, wherein the method comprises the steps of obtaining configuration parameters in a preset configuration file, wherein the configuration parameters comprise a first maximum serial number and a queue length; generating a preset number of sequence numbers according to the first maximum sequence number and the queue length, determining a second maximum sequence number, wherein the preset number is the same as the queue length, and updating the first maximum sequence number in the configuration file according to the second maximum sequence number; and sequentially acquiring the target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times, sequentially selecting the corresponding serial number from the generated serial numbers according to the program call times by generating the preset number of serial numbers once, and not needing to update the configuration file every time, thereby reducing the calculation pressure of the computer, saving the time and improving the efficiency.

Description

Distributed serial number generation method and device
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for generating a distributed serial number, a computing device, and a storage medium.
Background
With the rapid development of computer technology, software applications are increasingly applied to distributed systems.
In the existing distributed sequence generation methods, some serial number generators of a database are adopted for automatic generation, but the method requires that the database needs a single database list table, the pressure on the database is large, some databases do not have the serial number generators, and a 16-system format character string is generated through UUID, but the method cannot solve the sequencing problem.
There are obvious disadvantages to the above methods, and therefore a more convenient method for generating the serial number is needed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for generating a distributed serial number, a computing device, and a storage medium, so as to solve technical defects in the prior art.
The embodiment of the invention discloses a distributed serial number generation method, which comprises the following steps:
s1, obtaining configuration parameters in a preset configuration file, wherein the configuration parameters comprise a first maximum sequence number and a queue length;
s2, generating a preset number of sequence numbers according to the first maximum sequence number and the queue length, and determining a second maximum sequence number, wherein the preset number is the same as the queue length;
s3, updating the first maximum sequence number in the configuration file according to the second maximum sequence number;
and S4, sequentially acquiring the target sequence number corresponding to the current program call from the preset number of sequence numbers according to the program call times.
Optionally, after step S4, the method further includes:
s5, counting the program calling times, and executing the steps S1 to S4 when the program calling times are larger than the queue length.
Optionally, the configuration parameters further include a sequence initial value;
generating a preset number of sequence numbers according to the configuration parameters, including:
and under the condition that a preset number of sequence numbers are generated according to the configuration parameters for the first time, taking the sequence initial value as a first maximum sequence number.
Optionally, the configuration parameters further include a machine identifier;
sequentially acquiring a target sequence number corresponding to the current program call from the preset number of sequence numbers according to the program call times, wherein the method comprises the following steps:
reading an initial serial number corresponding to the current program call from the preset number of serial numbers according to the program call times;
and generating a target serial number corresponding to the current program call according to the initial serial number and the machine identifier.
The embodiment of the invention also discloses a distributed serial number generation device, which comprises:
the device comprises a generating module, a queue generating module and a queue managing module, wherein the generating module is configured to acquire configuration parameters in a preset configuration file, and the configuration parameters comprise a first maximum sequence number and a queue length;
a determining module configured to generate a preset number of sequence numbers according to the first maximum sequence number and the queue length and determine a second maximum sequence number, wherein the preset number is the same as the queue length;
an update module configured to update the first maximum sequence number in the configuration file according to the second maximum sequence number;
and the acquisition module is configured to sequentially acquire the target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times.
Optionally, the apparatus further comprises:
and the counting module is configured to count the program calling times, and the generating module is executed under the condition that the program calling times are greater than the queue length.
Optionally, the configuration parameters further include a sequence initial value;
the generating module is further configured to take the sequence initial value as a first maximum sequence number when a preset number of sequence numbers are generated for the first time according to the configuration parameters.
Optionally, the configuration parameters further include a machine identifier;
the acquisition module is further configured to:
reading an initial serial number corresponding to the current program call from the preset number of serial numbers according to the program call times;
and generating a target serial number corresponding to the current program call according to the initial serial number and the machine identifier.
The embodiment of the invention discloses a computing device, which comprises a memory, a processor and computer instructions stored on the memory and capable of running on the processor, wherein the processor executes the instructions to realize the steps of the distributed serial number generation method.
The embodiment of the invention discloses a storage medium, which stores computer instructions, and the instructions are executed by a processor to realize the steps of the distributed serial number generation method.
The invention provides a distributed serial number generation method and device, computing equipment and a storage medium, wherein the method comprises the steps of obtaining configuration parameters in a preset configuration file, wherein the configuration parameters comprise a first maximum serial number and queue length; generating a preset number of sequence numbers according to the first maximum sequence number and the queue length, determining a second maximum sequence number, wherein the preset number is the same as the queue length, and updating the first maximum sequence number in the configuration file according to the second maximum sequence number; and sequentially acquiring the target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times, sequentially selecting the corresponding serial number from the generated serial numbers according to the program call times by generating the preset number of serial numbers once, and not needing to update the configuration file every time, thereby reducing the calculation pressure of the computer, saving the time and improving the efficiency.
Drawings
FIG. 1 is a flow chart of a distributed sequence number generation method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a distributed serial number generation apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computing device according to an embodiment of the invention.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The invention provides a distributed serial number generation method and device, a computing device and a storage medium, and the invention is described in detail below with reference to fig. 1.
Fig. 1 shows a schematic flow chart of a distributed sequence number generation method according to an embodiment of the invention, comprising steps 102 to 108.
102, obtaining configuration parameters in a preset configuration file, wherein the configuration parameters comprise a first maximum sequence number and a queue length.
According to the invention, the preset number of serial numbers are generated, and the unique serial numbers under distributed deployment can be generated through the configuration parameters in the preset configuration file without depending on other software and applications.
The configuration parameters in the file include a first maximum sequence number and a queue length, the number of sequence numbers generated at one time can be determined according to the queue length, if the queue length is 100, 100 sequence numbers are generated, the first maximum sequence number is the maximum sequence number in the system in the current state, the maximum sequence number is identified by cur _ max, and when cur _ max is 100000000, it indicates that the maximum sequence number in the distributed system is 100000000 at this time.
Optionally, the configuration parameters further include a sequence initial value; generating a preset number of sequence numbers according to the configuration parameters, including:
and under the condition that a preset number of sequence numbers are generated according to the configuration parameters for the first time, taking the sequence initial value as a first maximum sequence number.
In practical applications, the configuration parameters further include a sequence initial value, and if the sequence initial value is set to 100000000, it indicates that the sequence numbers are counted from 100000000, and when a preset number of sequence numbers are generated for the first time, the sequence initial value is the first maximum sequence number, that is, when the preset number of sequence numbers are generated for the first time, the sequence numbers are generated based on the sequence initial value.
And 104, generating a preset number of sequence numbers according to the first maximum sequence number and the queue length, and determining a second maximum sequence number, wherein the preset number is the same as the queue length.
Specifically, a preset number of sequence numbers can be generated according to the first maximum sequence number and the queue length, the queue length is a preset number value, if the queue length is 100, 100 sequence numbers are generated, if the queue length is 200, 200 sequence numbers are generated, and at this time, the second maximum sequence number can be determined according to the first maximum sequence number and the queue length.
After the second maximum sequence number is generated with the preset number of sequence numbers, the maximum sequence number existing in the system still takes the first maximum sequence number as 100000000, and the queue length as 100, and then 100 sequence numbers are generated, and at this time, the second maximum sequence number is 100000100.
And 106, updating the first maximum sequence number in the configuration file according to the second maximum sequence number.
Specifically, the second maximum sequence number is updated to the first maximum sequence number in the configuration file, which indicates that the maximum sequence number in the system is the second maximum sequence number.
Following the above example, the first maximum serial number is 100000000, and when the preset number of serial numbers are generated, the second maximum serial number is 100000100, at this time, 100000100 is updated to the configuration file, and 100000000 is updated to 100000100.
And step 108, sequentially acquiring a target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times.
And sequentially acquiring the sequence number corresponding to the current program call from the generated sequence numbers according to the times of the program calls, wherein if the sequence number is 100000000 to 100000100 when the sequence number is a preset number, the sequence number corresponding to the first program call is 100000001, the sequence number corresponding to the second program call is 100000002, and so on.
Optionally, the configuration parameters further include a machine identifier;
sequentially acquiring a target sequence number corresponding to the current program call from the preset number of sequence numbers according to the program call times, wherein the method comprises the following steps:
reading an initial serial number corresponding to the current program call from the preset number of serial numbers according to the program call times;
and generating a target serial number corresponding to the current program call according to the initial serial number and the machine identifier.
In practical application, the configuration parameters of the configuration file further include a machine identifier, for example, the machine identifier is 01, the serial number corresponding to the current program call is the initial serial number, and then the initial serial number and the machine identifier are combined to generate a target serial number, the target serial number of the first program call is 01100000001, the target serial number of the second program call is 01100000002, and so on.
Optionally, after step 108, the method further includes:
counting the program calling times, and executing the steps 102 to 108 when the program calling times are larger than the queue length.
Counting the number of calls after each program call, indicating that the pre-generated sequence number is not used up when the number of calls is less than or equal to the queue length, and continuing to use the program, and executing the operation of step 102 again when the number of calls is greater than the queue length, generating a new preset sequence number, updating the new maximum value of the queue to the current maximum value of the queue, and executing the operations of steps 102 to 108 in a circulating manner.
The invention provides a distributed serial number generation method, which is characterized in that configuration parameters in a preset configuration file are obtained, wherein the configuration parameters comprise a first maximum serial number and a queue length; generating a preset number of sequence numbers according to the first maximum sequence number and the queue length, determining a second maximum sequence number, wherein the preset number is the same as the queue length, and updating the first maximum sequence number in the configuration file according to the second maximum sequence number; and sequentially acquiring the target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times, sequentially selecting the corresponding serial number from the generated serial numbers according to the program call times by generating the preset number of serial numbers once, and not needing to update the configuration file every time, thereby reducing the calculation pressure of the computer, saving the time and improving the efficiency.
Fig. 2 is a block diagram illustrating a distributed serial number generation apparatus according to an embodiment of the present specification, including:
a generating module 202, configured to obtain configuration parameters in a preset configuration file, where the configuration parameters include a first maximum sequence number and a queue length;
a determining module 204 configured to generate a preset number of sequence numbers according to the first maximum sequence number and the queue length and determine a second maximum sequence number, wherein the preset number is the same as the queue length,
an update module 206 configured to update the first maximum sequence number in the configuration file according to the second maximum sequence number;
the obtaining module 208 is configured to sequentially obtain a target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times.
Optionally, the apparatus further comprises:
and the counting module is configured to count the program calling times, and the generating module is executed under the condition that the program calling times are greater than the queue length.
Optionally, the configuration parameters further include a sequence initial value;
the generating module 202 is further configured to, in a case where a preset number of sequence numbers are generated according to the configuration parameters for the first time, take the sequence initial value as a first maximum sequence number.
Optionally, the configuration parameters further include a machine identifier;
the obtaining module 208 is further configured to:
reading an initial serial number corresponding to the current program call from the preset number of serial numbers according to the program call times;
and generating a target serial number corresponding to the current program call according to the initial serial number and the machine identifier.
The distributed serial number generation device provided by the invention obtains configuration parameters in a preset configuration file, wherein the configuration parameters comprise a first maximum serial number and a queue length; generating a preset number of sequence numbers according to the first maximum sequence number and the queue length, determining a second maximum sequence number, wherein the preset number is the same as the queue length, and updating the first maximum sequence number in the configuration file according to the second maximum sequence number; and sequentially acquiring the target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times, sequentially selecting the corresponding serial number from the generated serial numbers according to the program call times by generating the preset number of serial numbers once, and not needing to update the configuration file every time, thereby reducing the calculation pressure of the computer, saving the time and improving the efficiency.
Fig. 3 is a block diagram illustrating a configuration of a computing device 300 according to an embodiment of the present description. The components of the computing device 300 include, but are not limited to, memory 310 and processor 320. The processor 320 is coupled to the memory 310 via a bus 330 and the database 350 is used to store data.
Computing device 300 also includes access device 340, access device 340 enabling computing device 300 to communicate via one or more networks 360. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 340 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 300 and other components not shown in FIG. 3 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 3 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 300 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 300 may also be a mobile or stationary server.
An embodiment of the present invention further provides a computing device, which includes a memory, a processor, and computer instructions stored in the memory and executable on the processor, where the processor executes the instructions to implement the steps of the distributed serial number generation method as described above.
An embodiment of the present invention further provides a storage medium storing computer instructions, which when executed by a processor implement the steps of the distributed serial number generation method as described above.
The above is an illustrative scheme of a storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the distributed serial number generation method belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the distributed serial number generation method.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (10)

1. A distributed serial number generation method is characterized by comprising the following steps:
s1, obtaining configuration parameters in a preset configuration file, wherein the configuration parameters comprise a first maximum sequence number and a queue length;
s2, generating a preset number of sequence numbers according to the first maximum sequence number and the queue length, and determining a second maximum sequence number, wherein the preset number is the same as the queue length;
s3, updating the first maximum sequence number in the configuration file according to the second maximum sequence number;
and S4, sequentially acquiring the target sequence number corresponding to the current program call from the preset number of sequence numbers according to the program call times.
2. The distributed sequence number generation method of claim 1, after step S4, further comprising:
s5, counting the program calling times, and executing the steps S1 to S4 when the program calling times are larger than the queue length.
3. The distributed sequence number generation method of claim 1, wherein the configuration parameters further include a sequence initial value;
generating a preset number of sequence numbers according to the configuration parameters, including:
and under the condition that a preset number of sequence numbers are generated according to the configuration parameters for the first time, taking the sequence initial value as a first maximum sequence number.
4. The distributed serial number generation method of claim 1, wherein the configuration parameters further include a machine identification;
sequentially acquiring a target sequence number corresponding to the current program call from the preset number of sequence numbers according to the program call times, wherein the method comprises the following steps:
reading an initial serial number corresponding to the current program call from the preset number of serial numbers according to the program call times;
and generating a target serial number corresponding to the current program call according to the initial serial number and the machine identifier.
5. A distributed sequence number generation apparatus, comprising:
the device comprises a generating module, a queue generating module and a queue managing module, wherein the generating module is configured to acquire configuration parameters in a preset configuration file, and the configuration parameters comprise a first maximum sequence number and a queue length;
a determining module configured to generate a preset number of sequence numbers according to the first maximum sequence number and the queue length and determine a second maximum sequence number, wherein the preset number is the same as the queue length;
an update module configured to update the first maximum sequence number in the configuration file according to the second maximum sequence number;
and the acquisition module is configured to sequentially acquire the target serial number corresponding to the current program call from the preset number of serial numbers according to the program call times.
6. The distributed serial number generation apparatus of claim 5, further comprising:
and the counting module is configured to count the program calling times, and the generating module is executed under the condition that the program calling times are greater than the queue length.
7. The distributed sequence number generation apparatus of claim 5, wherein the configuration parameters further include a sequence initial value;
the generating module is further configured to take the sequence initial value as a first maximum sequence number when a preset number of sequence numbers are generated for the first time according to the configuration parameters.
8. The distributed serial number generation apparatus of claim 5, wherein the configuration parameters further comprise a machine identification;
the acquisition module is further configured to:
reading an initial serial number corresponding to the current program call from the preset number of serial numbers according to the program call times;
and generating a target serial number corresponding to the current program call according to the initial serial number and the machine identifier.
9. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-4 when executing the instructions.
10. A storage medium storing computer instructions, characterized in that the instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 4.
CN202010705878.0A 2020-07-21 2020-07-21 Distributed serial number generation method and device Pending CN111949324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010705878.0A CN111949324A (en) 2020-07-21 2020-07-21 Distributed serial number generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010705878.0A CN111949324A (en) 2020-07-21 2020-07-21 Distributed serial number generation method and device

Publications (1)

Publication Number Publication Date
CN111949324A true CN111949324A (en) 2020-11-17

Family

ID=73340761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010705878.0A Pending CN111949324A (en) 2020-07-21 2020-07-21 Distributed serial number generation method and device

Country Status (1)

Country Link
CN (1) CN111949324A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783706A (en) * 2021-01-22 2021-05-11 山东云海国创云计算装备产业创新中心有限公司 Sequence generation method, system, equipment and computer readable storage medium
CN113157249A (en) * 2021-04-22 2021-07-23 北京奇艺世纪科技有限公司 Identification number generation method and device, electronic equipment and storage medium
CN113742062A (en) * 2021-08-03 2021-12-03 深圳兆日科技股份有限公司 Method and device for distributing machine serial number and computer readable storage medium
CN114281872A (en) * 2022-03-07 2022-04-05 广联达科技股份有限公司 Method, device and equipment for generating distributed serial number and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951519A (en) * 2015-06-04 2015-09-30 无锡天脉聚源传媒科技有限公司 Method and device for generating serial numbers
CN107045445A (en) * 2017-04-18 2017-08-15 北京思特奇信息技术股份有限公司 A kind of light weight method and system that distributed sequence number is generated based on JAVA chained lists

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951519A (en) * 2015-06-04 2015-09-30 无锡天脉聚源传媒科技有限公司 Method and device for generating serial numbers
CN107045445A (en) * 2017-04-18 2017-08-15 北京思特奇信息技术股份有限公司 A kind of light weight method and system that distributed sequence number is generated based on JAVA chained lists

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783706A (en) * 2021-01-22 2021-05-11 山东云海国创云计算装备产业创新中心有限公司 Sequence generation method, system, equipment and computer readable storage medium
CN113157249A (en) * 2021-04-22 2021-07-23 北京奇艺世纪科技有限公司 Identification number generation method and device, electronic equipment and storage medium
CN113157249B (en) * 2021-04-22 2023-09-08 北京奇艺世纪科技有限公司 Identification number generation method and device, electronic equipment and storage medium
CN113742062A (en) * 2021-08-03 2021-12-03 深圳兆日科技股份有限公司 Method and device for distributing machine serial number and computer readable storage medium
CN113742062B (en) * 2021-08-03 2024-02-09 深圳兆日科技股份有限公司 Method and device for assigning machine serial numbers and computer readable storage medium
CN114281872A (en) * 2022-03-07 2022-04-05 广联达科技股份有限公司 Method, device and equipment for generating distributed serial number and readable storage medium
CN114281872B (en) * 2022-03-07 2022-05-24 广联达科技股份有限公司 Method, device and equipment for generating distributed serial number and readable storage medium

Similar Documents

Publication Publication Date Title
CN111949324A (en) Distributed serial number generation method and device
CN111767047A (en) Micro-service component management method and device
CN110245191B (en) Data processing method and device
CN110532081B (en) Timed task processing method and device
CN113297269A (en) Data query method and device
CN114416485A (en) Data processing method and device
CN113987300A (en) Label generation method and device
CN111291123A (en) Task node management method and device
CN115422270A (en) Information processing method and device
CN115525260A (en) Code generation method and device based on protobuf
CN111625341A (en) Task scheduling management method and device
CN112905457A (en) Software testing method and device
CN112286947B (en) Method and device for keeping data consistency of different storage systems
CN111104144A (en) Anchor point updating method and device
CN112604300B (en) Update package generation method and device
CN113535887B (en) Formula similarity detection method and device
CN111475492B (en) Data processing method and device
CN110059111B (en) Data calling method and device, computing equipment and storage medium
CN115576954B (en) Hash table determining method and device
CN111062638B (en) Project resource processing method and device
CN114510463A (en) Data processing method and device
CN113296870B (en) Method and device for predicting Kubernetes cluster configuration
CN115884166A (en) Equipment identification method and device, equipment and storage medium
CN109474574B (en) Data encryption method and device and data decryption method and device
CN110018891B (en) Task management system, task management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination