CN110634052A - Method and device for generating order number by distributed architecture - Google Patents

Method and device for generating order number by distributed architecture Download PDF

Info

Publication number
CN110634052A
CN110634052A CN201910890708.1A CN201910890708A CN110634052A CN 110634052 A CN110634052 A CN 110634052A CN 201910890708 A CN201910890708 A CN 201910890708A CN 110634052 A CN110634052 A CN 110634052A
Authority
CN
China
Prior art keywords
security code
bit number
generating
code
timestamp
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
CN201910890708.1A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201910890708.1A priority Critical patent/CN110634052A/en
Publication of CN110634052A publication Critical patent/CN110634052A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Abstract

The invention provides a method and a device for generating order numbers by a distributed architecture, wherein the method comprises the following steps: acquiring date data; determining the bit number of the self-increment ID; the bit number of the self-increment ID comprises a machine code bit number, a timestamp bit number, a serial number bit number and a security code bit number; generating a machine code, a timestamp, a serial number and a security code according to the bit number of the self-increment ID; one time stamp corresponds to a plurality of serial numbers, and the sizes of the serial numbers are increased progressively; the security code is not continuous; the date data, machine code, timestamp, serial number, and security code are combined to generate an order number. The invention can ensure the increment of the order number, and the obtained order number is also discontinuous due to the discontinuous security code, thereby ensuring the security, and the efficiency of generating the order number is ensured due to the fact that the invention does not relate to database connection and network transmission.

Description

Method and device for generating order number by distributed architecture
Technical Field
The invention relates to the technical field of order number coding, in particular to a method and a device for generating an order number by a distributed architecture.
Background
Currently, two unique identifiers are popular: 1. UUID (universal Unique Identifier): the computer generates a unique character which comprises 32 16-system numbers and 4 connectors and has a total of 36 characters according to an algorithm. 2. And (2) generating Sequence by adopting a database (the Sequence is a table which is specially used for storing an arithmetic progression in data and is controlled by a database system, and the database system can acquire the next record of the table by adding step length according to the size of the current record at any time), and reading the database Sequence each time and increasing by 1. Wherein the UUID does not satisfy the incremental feature. Sequence is generated by a database, has the characteristic of increment, but needs database connection, needs network overhead and has lower performance; and generally, the ID is continuous, and the safety is poor.
Disclosure of Invention
The invention provides a method and a device for generating order numbers by a distributed architecture, which can efficiently and conveniently generate order numbers with higher quality.
In a first aspect, an embodiment of the present invention provides a method for generating an order number in a distributed architecture, where the method includes: acquiring date data; determining the bit number of the self-increment ID; the bit number of the self-increment ID comprises a machine code bit number, a timestamp bit number, a serial number bit number and a security code bit number; generating a machine code, a timestamp, a serial number and a security code according to the bit number of the self-increment ID; one time stamp corresponds to a plurality of sequence numbers, and the size of the sequence numbers is increased progressively; the security code is not continuous; combining the date data, the machine code, the timestamp, the serial number, and the security code to generate an order number.
In a second aspect, an embodiment of the present invention further provides an apparatus for generating an order number in a distributed architecture, where the apparatus includes: the acquisition module is used for acquiring date data; the determining module is used for determining the bit number of the self-increment ID; the bit number of the self-increment ID comprises a machine code bit number, a timestamp bit number, a serial number bit number and a security code bit number; the encoding module is used for generating a machine code, a timestamp, a serial number and a security code according to the bit number of the self-increment ID; one time stamp corresponds to a plurality of sequence numbers, and the size of the sequence numbers is increased progressively; the security code is not continuous; a combination module to combine the date data, the machine code, the timestamp, the serial number, and the security code to generate an order number.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the method for generating an order number in the distributed architecture when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable medium having a non-volatile program code executable by a processor, where the program code causes the processor to execute the method for generating an order number in the distributed architecture.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention provides a method and a device for generating an order number by a distributed architecture, the method comprises the steps of firstly obtaining date data, then obtaining the bit number of a self-increment ID by determining the bit number of a machine code, the bit number of a timestamp, the bit number of a serial number and the bit number of a safety code, obtaining the bit number of the self-increment ID, namely obtaining the selectable range of the machine code, the timestamp, the serial number and the safety code, and combining the machine code, the timestamp, the serial number, the safety code and the date data to obtain the order number with uniqueness. The embodiment of the invention can ensure the increment of the order number after being combined with the time stamp because the serial number has the increment, and ensures the safety because the safety code is discontinuous and the obtained order number is discontinuous, and ensures the generation efficiency of the order number because the database connection and the network transmission are not involved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for generating an order number in a distributed architecture according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a bit number structure of a self-increment ID according to an embodiment of the present invention;
fig. 3 is a block diagram of an apparatus for generating an order number in a distributed architecture according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating an apparatus for generating an order number in another distributed architecture according to an embodiment of the present invention;
fig. 5 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The generation of order numbers under a distributed system needs to satisfy the following six characteristics: 1. uniqueness: non-repeatable, unique identification; 2. increment: order numbers need to be added in order, and the next order number must be larger than the previous order number; 3. safety: the order numbers can not be continuous, thus preventing malicious stealing; 4. high efficiency: the generation of the order number needs low consumption and meets the high concurrency requirement; 5. the storage is convenient: easier to store and identify; 6. distributed: and high concurrency requirements of a distributed system are met.
The characters of the existing UUID are long, 36 characters are totally formed, and the UUID is not easy to store and index in a database.
Based on this, the method and the device for generating the order number by the distributed architecture provided by the embodiment of the invention can satisfy the six characteristics.
To facilitate understanding of the embodiment, a detailed description is first given of a method for generating an order number in a distributed architecture disclosed in the embodiment of the present invention.
The embodiment of the invention provides a method for generating an order number by a distributed architecture, which is shown in a flow chart of the method for generating the order number by the distributed architecture in figure 1, and comprises the following steps:
in step S102, date data is acquired.
In the embodiment of the present invention, the date data may be a system date, and may be represented in a "YYYYMMDD" format, where "YYYY" represents a year, "MM" represents month data, and "DD" represents date data.
Step S104, determining the bit number of the self-increment ID.
In an embodiment of the present invention, the self-increment ID includes machine code information, time stamp information, serial number information, and security code information. The bit number of the self-increment ID can be obtained by respectively determining the bit number required for expressing the machine code information, the timestamp information, the serial number information and the security code information.
For example, in the embodiment of the present invention, referring to the bit number structure diagram of the self-increment ID shown in fig. 2, the time stamp bit number may be determined to be 27 bits, the machine code bit number may be set to be 8 bits, the serial number bit number may be set to be 5 bits, and the security code bit number may be set to be 10 bits, so that the bit number of the self-increment ID is the sum of the above-mentioned several bits, and is 50 bits.
And step S106, generating a machine code, a time stamp, a serial number and a safety code according to the bit number of the self-increment ID.
In the embodiment of the invention, the machine code is used for representing the machine position information or the machine address information in the distributed system and is used for ensuring the safety in the distributed system. The time stamp is used to describe the duration of the current time from a specified time, and thus, the time stamp has an incremental nature. The sequence numbers are sequentially increased within a certain range, for example, if the sequence numbers include 5 bit numbers, that is, 32 sequence numbers are supported, the 32 sequence numbers are sequentially increased. The range of the sequence number depends on the number of bits it comprises. The security code is used to guarantee the discontinuity of order numbers and prevent malicious stealing.
Step S108, combine date data, machine code, time stamp, serial number and security code to generate order number.
In the embodiment of the invention, the order number can be obtained by splicing the machine code, the timestamp, the serial number and the security code and then combining the spliced machine code, the timestamp, the serial number and the security code with date data. It should be noted that the machine code, the timestamp, the serial number, and the security code may be concatenated in any order.
The embodiment of the invention provides a method for generating an order number by a distributed architecture, which comprises the steps of firstly acquiring date data, then obtaining the bit number of a self-increment ID by determining the bit number of a machine code, the bit number of a timestamp, the bit number of a serial number and the bit number of a safety code, obtaining the bit number of the self-increment ID, namely obtaining the selectable range of the machine code, the timestamp, the serial number and the safety code, and combining the machine code, the timestamp, the serial number, the safety code and the date data to obtain the order number with uniqueness. The embodiment of the invention can ensure the increment of the order number after being combined with the time stamp because the serial number has the increment, and ensures the safety because the safety code is discontinuous and the obtained order number is discontinuous, and ensures the generation efficiency of the order number because the database connection and the network transmission are not involved.
In order to obtain a better-performance order number, a machine code, a time stamp, a serial number and a security code are generated according to the bit number of the self-increment ID, and the method can be implemented according to the following steps:
(1) the destination IP address or machine ID is taken as the machine code.
In the embodiment of the present invention, for example, if the bit number of the machine code is set to 8 bits, 0 to 255 different machine codes can be represented. The fourth segment of the IP address may be used as a machine code. If the cluster nodes IP are not in the same network segment, the machine ID can be used as the machine code.
(2) And determining the number of milliseconds between the current time and the target time, and generating a timestamp according to the obtained number of milliseconds.
In the embodiment of the present invention, the target time may be set to be 0 th day, and the timestamp is the number of milliseconds from the 0 th day of the current time, that is, the maximum 86400000 milliseconds, and a plurality of timestamps less than or equal to 86400000 millimeters may be represented by 27 bits.
(3) And generating a plurality of serial numbers corresponding to the time stamps according to the serial number bit number.
In the embodiment of the present invention, if it is determined that the sequence number bit number is 5 bits, the 5-bit sequence number supports a maximum of 32 order numbers for the same millisecond, and if it exceeds 32, the time stamp is regenerated. Specifically, the number of bits of the serial number is determined according to actual requirements, and the embodiment of the present invention is not limited specifically.
(4) A security code is generated for each serial number based on the number of bits of the security code.
In the embodiment of the invention, a security code is generated for each order number, and the security codes of different orders are discontinuous, so that the discontinuity of the order numbers is ensured. The number of bits of the security code is specifically used, and the embodiment of the present invention is not particularly limited.
In order to improve the security of the order number, a security code is generated for each serial number according to the bit number of the security code, and the method can be implemented according to the following steps:
determining the encryption bit number in the bit number of the security code; and generating the security code according to the bit number of the security code and the encryption bit number.
In the embodiment of the invention, the operation of signing can be realized through the security code, the time stamp, the machine code and the serial number are signed, the falsification, the manual generation and the like are prevented, and the security is improved. One or more bits in the bit number of the security code can be determined as the encryption bit number, the position of the encryption bit number is determined, and a specific code is generated for the position of the secret bit number, so that the security of the security code is higher.
In order to ensure the discontinuity of order numbers and prevent malicious stealing, a security code is generated for each serial number according to the bit number of the security code, and the method can also be executed according to the following steps:
and randomly generating the security code of each serial number according to the bit number of the security code.
In the embodiment of the invention, the safety code of each order number can be randomly generated according to the bit number of the safety code so as to ensure the discontinuity of the order number.
Considering that date data, a machine code, a time stamp, a serial number, and a security code are combined to generate an order number for easy storage and identification, it may be performed as follows:
combining the machine code, the timestamp, the serial number and the safety code according to a preset sequence, and converting a combined result into a target form; and splicing the combination result of the target form and the date data to be used as an order number.
In the embodiment of the present invention, the preset sequence may be set according to actual requirements, and may be sequencing the machine code, the timestamp, the serial number, and the security code according to a required sequence, which is not specifically limited in this embodiment of the present invention. The target form can be 32 systems, machine codes, time stamps, serial numbers and safety codes are converted into 32 systems after being sequenced, and then the 32 systems are spliced with date data to obtain a unique order number.
In the embodiment of the invention, the order number can be composed of an 8-bit date and + 10-bit current-day unique self-increment ID, namely 201903181234567890, wherein 27-bit meets the storage requirement of 8640000 milliseconds in one day, 8-bit supports machine codes in 0-255, the safety in a distributed system is ensured, meanwhile, the high-performance requirement is ensured, the high-concurrency requirement is ensured, 5-bit serial number supports 32 order numbers at most in the same millisecond, 10-bit safety code ensures the non-continuity of the order number, the order number is 18 bits, and the current-day unique ID segment is 10 bits, so that the storage and the division in a database are convenient.
Considering that there may also be a case of machine time dial-back or leap seconds, the method further comprises the following steps:
judging whether the time of the timestamp is later than the time of the last timestamp; if not, the time stamp is regenerated.
In the embodiment of the invention, after a new time stamp is generated, the new time stamp is compared with the last time stamp, and if the new time is later than the last time (namely, the machine time is dialed back or leap second occurs), the time stamp is regenerated until the time stamp is correct.
The embodiment of the invention provides a method and a device for generating an order number by a distributed architecture, the method can obtain the distributed order number which has uniqueness, safety, increment, high efficiency of a generating process and convenient storage, and the method also comprises fault-tolerant processing of machine clock callback.
The embodiment of the present invention further provides a device for generating an order number in a distributed architecture, referring to a structural block diagram of the device for generating an order number in a distributed architecture shown in fig. 3, where the device includes:
an acquisition module 41 for acquiring date data; a determining module 42, configured to determine the number of bits of the self-increment ID; the bit number of the self-increment ID comprises a machine code bit number, a timestamp bit number, a serial number bit number and a security code bit number; the encoding module 43 is used for generating a machine code, a timestamp, a serial number and a security code according to the bit number of the self-increment ID; one time stamp corresponds to a plurality of serial numbers, and the sizes of the serial numbers are increased progressively; the security code is not continuous; a combination module 44 for combining the date data, the machine code, the timestamp, the serial number and the security code to generate an order number.
The encoding module is specifically configured to: using the target IP address or the machine ID as a machine code; determining the number of milliseconds between the current time and the target time, and generating a timestamp according to the obtained number of milliseconds; generating a plurality of serial numbers corresponding to the time stamps according to the serial number bit number; a security code is generated for each serial number based on the number of bits of the security code.
The encoding module is specifically configured to: determining the encryption bit number in the bit number of the security code; and generating the security code according to the bit number of the security code and the encryption bit number.
The encoding module is specifically configured to: and randomly generating the security code of each serial number according to the bit number of the security code.
The combination module is specifically used for: combining the machine code, the timestamp, the serial number and the safety code according to a preset sequence, and converting a combined result into a target form; and splicing the combination result of the target form and the date data to be used as an order number.
Referring to fig. 4, a block diagram of an apparatus for generating an order number in another distributed architecture is shown, the apparatus further includes a fault tolerance module 45 for: judging whether the time of the timestamp is greater than the time of the last timestamp; if not, the time stamp is regenerated.
The embodiment of the present invention further provides a computer device, referring to the schematic block diagram of the structure of the computer device shown in fig. 5, the computer device includes a memory 51 and a processor 52, the memory stores a computer program that can be executed on the processor, and the processor implements the steps of any one of the methods when executing the computer program.
It is clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the computer device described above may refer to the corresponding process in the foregoing method embodiments, and no further description is provided herein
Embodiments of the present invention also provide a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the steps of the above-described method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for generating an order number for a distributed architecture, comprising:
acquiring date data;
determining the bit number of the self-increment ID; the bit number of the self-increment ID comprises a machine code bit number, a timestamp bit number, a serial number bit number and a security code bit number;
generating a machine code, a timestamp, a serial number and a security code according to the bit number of the self-increment ID; one time stamp corresponds to a plurality of sequence numbers, and the size of the sequence numbers is increased progressively; the security code is not continuous;
combining the date data, the machine code, the timestamp, the serial number, and the security code to generate an order number.
2. The method of claim 1, wherein generating a machine code, a timestamp, a sequence number, and a security code from the number of bits of the self-incrementing ID comprises:
using the target IP address or the machine ID as a machine code;
determining the number of milliseconds between the current moment and the target moment, and generating a timestamp according to the obtained number of milliseconds;
generating a plurality of serial numbers corresponding to the time stamps according to the serial number bit number;
and generating a security code for each serial number according to the bit number of the security code.
3. The method of claim 2, wherein generating a security code for each of the sequence numbers based on the number of security code bits comprises:
determining an encryption bit number in the security code bit number;
and generating a security code according to the security code bit number and the encryption bit number.
4. The method of claim 2, wherein generating a security code for each of the sequence numbers based on the number of security code bits comprises:
and randomly generating the security code of each serial number according to the bit number of the security code.
5. The method of claim 1, wherein combining the date data, the machine code, the timestamp, the serial number, and the security code to generate an order number comprises:
combining the machine code, the timestamp, the serial number and the security code according to a preset sequence, and converting a combination result into a target form;
and splicing the combination result of the target form and the date data to be used as an order number.
6. The method of any one of claims 1-5, further comprising:
judging whether the time of the timestamp is later than the time of the last timestamp;
if not, the time stamp is regenerated.
7. An apparatus for generating an order number for a distributed architecture, comprising:
the acquisition module is used for acquiring date data;
the determining module is used for determining the bit number of the self-increment ID; the bit number of the self-increment ID comprises a machine code bit number, a timestamp bit number, a serial number bit number and a security code bit number;
the encoding module is used for generating a machine code, a timestamp, a serial number and a security code according to the bit number of the self-increment ID; one time stamp corresponds to a plurality of sequence numbers, and the size of the sequence numbers is increased progressively; the security code is not continuous;
a combination module to combine the date data, the machine code, the timestamp, the serial number, and the security code to generate an order number.
8. The apparatus of claim 7, further comprising a fault tolerance module to:
judging whether the time of the timestamp is greater than the time of the last timestamp;
if not, the time stamp is regenerated.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for generating an order number according to the distributed architecture of any one of claims 1 to 6 when executing the computer program.
10. A computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform a method of generating an order number for a distributed architecture as claimed in any one of claims 1 to 6.
CN201910890708.1A 2019-09-20 2019-09-20 Method and device for generating order number by distributed architecture Pending CN110634052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910890708.1A CN110634052A (en) 2019-09-20 2019-09-20 Method and device for generating order number by distributed architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910890708.1A CN110634052A (en) 2019-09-20 2019-09-20 Method and device for generating order number by distributed architecture

Publications (1)

Publication Number Publication Date
CN110634052A true CN110634052A (en) 2019-12-31

Family

ID=68971835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910890708.1A Pending CN110634052A (en) 2019-09-20 2019-09-20 Method and device for generating order number by distributed architecture

Country Status (1)

Country Link
CN (1) CN110634052A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371918A (en) * 2020-02-28 2020-07-03 上海钧正网络科技有限公司 ID generation method, device, medium and equipment in distributed cluster environment
CN111538594A (en) * 2020-04-21 2020-08-14 招商局金融科技有限公司 Order ID generation method, device, equipment and medium based on distributed system
CN112235431A (en) * 2020-09-30 2021-01-15 银盛支付服务股份有限公司 Method and system for automatically configuring machine ID based on snowflake algorithm
CN112862574A (en) * 2021-04-08 2021-05-28 上海哔哩哔哩科技有限公司 Distributed order number generation method and system
CN113255293A (en) * 2021-05-25 2021-08-13 首约科技(北京)有限公司 Control method and device for distributed architecture scalable order number generator
CN114615232A (en) * 2022-05-12 2022-06-10 南京赛宁信息技术有限公司 Method and system for generating visitor identification of active defense gateway
CN115510815A (en) * 2022-11-17 2022-12-23 山东未来网络研究院(紫金山实验室工业互联网创新应用基地) Rule-based identification generation method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016079358A1 (en) * 2014-11-21 2016-05-26 Omnivisión Seguridad, S.L. System and method for the automatic detection and management of traffic offences
CN106230593A (en) * 2016-07-19 2016-12-14 乐视控股(北京)有限公司 ID generates method and device
CN107800819A (en) * 2017-11-17 2018-03-13 深圳市泉眼网络科技有限公司 A kind of generation method of file identification, device and server
CN107864233A (en) * 2017-11-08 2018-03-30 千寻位置网络有限公司 Globally unique ID structures and generation method
CN108959386A (en) * 2018-05-31 2018-12-07 深圳壹账通智能科技有限公司 Distributed globally unique ID generation method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016079358A1 (en) * 2014-11-21 2016-05-26 Omnivisión Seguridad, S.L. System and method for the automatic detection and management of traffic offences
CN106230593A (en) * 2016-07-19 2016-12-14 乐视控股(北京)有限公司 ID generates method and device
CN107864233A (en) * 2017-11-08 2018-03-30 千寻位置网络有限公司 Globally unique ID structures and generation method
CN107800819A (en) * 2017-11-17 2018-03-13 深圳市泉眼网络科技有限公司 A kind of generation method of file identification, device and server
CN108959386A (en) * 2018-05-31 2018-12-07 深圳壹账通智能科技有限公司 Distributed globally unique ID generation method, device, equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371918A (en) * 2020-02-28 2020-07-03 上海钧正网络科技有限公司 ID generation method, device, medium and equipment in distributed cluster environment
CN111538594A (en) * 2020-04-21 2020-08-14 招商局金融科技有限公司 Order ID generation method, device, equipment and medium based on distributed system
CN111538594B (en) * 2020-04-21 2023-04-18 招商局金融科技有限公司 Order ID generation method, device, equipment and medium based on distributed system
CN112235431A (en) * 2020-09-30 2021-01-15 银盛支付服务股份有限公司 Method and system for automatically configuring machine ID based on snowflake algorithm
CN112862574A (en) * 2021-04-08 2021-05-28 上海哔哩哔哩科技有限公司 Distributed order number generation method and system
CN113255293A (en) * 2021-05-25 2021-08-13 首约科技(北京)有限公司 Control method and device for distributed architecture scalable order number generator
CN114615232A (en) * 2022-05-12 2022-06-10 南京赛宁信息技术有限公司 Method and system for generating visitor identification of active defense gateway
CN114615232B (en) * 2022-05-12 2022-08-12 南京赛宁信息技术有限公司 Method and system for generating visitor identification of active defense gateway
CN115510815A (en) * 2022-11-17 2022-12-23 山东未来网络研究院(紫金山实验室工业互联网创新应用基地) Rule-based identification generation method and apparatus

Similar Documents

Publication Publication Date Title
CN110634052A (en) Method and device for generating order number by distributed architecture
CN110061843B (en) Block height creating method, device and equipment in chain type account book
CN109815226B (en) Block chain-based data storage method, device, equipment and storage medium
CN109493054B (en) Multi-chain information management method, device, storage medium and block chain identity analyzer
CN113065169B (en) File storage method, device and equipment
CN110865905A (en) Data restoration method and device, computer equipment and storage medium
CN110929291A (en) Method and device for accessing text file and computer readable storage medium
CN112486915B (en) Data storage method and device
CN111258756A (en) Load balancing method and device, computer equipment and readable storage medium
CN115964728A (en) File encryption method and device based on consensus algorithm
CN108829534B (en) Data problem repairing method, device, computer equipment and storage medium
CN108365962B (en) Certificate revocation list query method and device
CN110489231B (en) Transaction information recording method, apparatus and computer readable storage medium
CN114025024A (en) Data transmission method and device
CN110636042B (en) Method, device and equipment for updating verified block height of server
CN110471922B (en) Content extension method and device for accounting node and computer readable storage medium
CN106815238B (en) Serialization and deserialization method and device for structured data
CN111241005A (en) Key value pair-based safe partition storage method and system
CN116880778B (en) User privacy protection method based on regenerative coding and distributed storage
CN111209597A (en) Data verification method and application system
CN113965314B (en) Homomorphic encryption processing method and related equipment
CN109347639B (en) Method and device for generating serial number
CN109960922B (en) Method and device for identifying newly activated equipment
CN115048401B (en) Multi-block chain data processing method, system and equipment of analog machine management system
CN115439118B (en) Digital certificate storage management method based on blockchain

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191231

RJ01 Rejection of invention patent application after publication