CN108243264A - A kind of sequence number generation method and system - Google Patents
A kind of sequence number generation method and system Download PDFInfo
- Publication number
- CN108243264A CN108243264A CN201611223760.4A CN201611223760A CN108243264A CN 108243264 A CN108243264 A CN 108243264A CN 201611223760 A CN201611223760 A CN 201611223760A CN 108243264 A CN108243264 A CN 108243264A
- Authority
- CN
- China
- Prior art keywords
- sequence number
- business
- server
- number generation
- generation server
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
- H04L61/3015—Name registration, generation or assignment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of sequence number generation method, including:Electronic equipment formation sequence request message, the mapping relations of sequence number generation server and business are obtained from first server, the sequence number for being determined as the business service based on the mapping relations generates server, and the serial number request message is sent to the sequence number and generates server;The electronic equipment receives the sequence number that the sequence number generation server is sent;Wherein, the minmal sequence number in the corresponding sequence number sets of the business to prestore that sequence number generation server described in the Serial No. is determined according to the attribute information of the business.Invention additionally discloses a kind of sequence numbers to generate system.
Description
Technical field
The present invention relates to data processing technique more particularly to a kind of sequence number generation methods and system.
Background technology
Sequence number generation method is widely used in various Database Systems, application system and network system, is above-mentioned each
Stabilization, the normal operation of kind system provide safeguard.
In the prior art sequence number generation method include based on database generate from increasing row number and based on globally unique
Two kinds of the sequence number of identifier (Globally Unique Identifier, GUID) generation;But above two scheme is all deposited
In certain drawbacks;Specifically, the degree of concurrence from increasing row number based on database generation is low;Sequence based on GUID generations
It is number unordered, cause the index efficiency based on sequence number low;Also, the scheme of some improved formation sequences number can not also meet greatly
The sequence number storage requirements such as orderly, efficient, high concurrent and scalability of type distributed environment requirement.
Invention content
In view of this, the embodiment of the present invention provides a kind of sequence number generation side to solve problems of the prior art
Method and system.
The embodiment of the present invention provides a kind of serial number gencration method, the method includes:Electronic equipment formation sequence number is asked
Message, the serial number request message carry the attribute information of the business of acquisition request sequence number;
The electronic equipment obtains the mapping relations of sequence number generation server and business from first server, based on described
Mapping relations are determined as the sequence number generation server of the business service, and the serial number request message are sent to described
Sequence number generates server, with the corresponding sequence number of business described in acquisition request;
The electronic equipment receives the sequence number that the sequence number generation server is sent;Wherein,
The institute to prestore that sequence number generation server described in the Serial No. is determined according to the attribute information of the business
State the minmal sequence number in the corresponding sequence number sets of business.
In said program, the Serial No. has the signless long data of 64 bits, wherein, 32 bits are for when identifying
Between stab, 8 bits are used for mark business-type, and 8 bits are for identifying grouping information of the business in the type of service, 16
Bit is used to identify the business when the serial number in previous time second.
In said program, the mapping that the electronic equipment obtains sequence number generation server and business from first server is closed
System, including:
The electronic equipment sends acquisition sequence number generation server to the first server and is serviced with sequence number generation
The request message of the mapping relations for the business that device is serviced;
The distributed coordination server sends the mapping relations according to the request message to the electronic equipment.
In said program, the method further includes:Sequence in sequence number sets described in sequence number generation server update
Number.
In said program, the method further includes:The sequence number generation server obtains each industry from memory in advance
The corresponding multiple sequence numbers of business group, formation sequence number set.
In said program, each type of business includes multiple service groups, correspondingly, the sequence number generates server root
According to the corresponding sequence number sets of the business that the attribute information of the business determines to prestore, including:
Service groups of the sequence number generation server according to belonging to the attribute information of the business determines the business, base
In the sequence number sets that the service groups determine to prestore.
In said program, when the sequence number generation server obtains sequence number, the method further includes:
The sequence number generation server judges whether the timestamp of sequence number in one second time changes, and is judging to tie
Fruit is when being, counts sequence number since 0, so that the Serial No. incremented sequence number in the time per second.
In said program, the method further includes:The state of second server real time monitoring sequence number generation server,
The second server determines that triggering starts new sequence number generation server during the sequence number generation server discontinuing operation,
And the corresponding business information of sequence number generation server being stopped is transferred in running order sequence number and is given birth to
Into server.
In said program, the method further includes:In the corresponding sequence number not read of memory storage service group most
Small value.
The embodiment of the present invention also provides a kind of sequence number generation system, the system comprises:Distributed coordination server, electricity
Sub- equipment and sequence number generation server;Wherein,
The distributed coordination server, for storing the mapping relations of sequence number generation server and business;
For formation sequence request message, sequence number is obtained from the distributed coordination server for the electronic equipment
The mapping relations of server and business are generated, the sequence number for being determined as the business service based on the mapping relations generates service
Device, and the serial number request message is sent to the sequence number and generates server, it is corresponding with business described in acquisition request
Sequence number;The serial number request message carries the attribute information of the business of acquisition request sequence number;
The sequence number generates server, for determining that the business to prestore corresponds to according to the attribute information of the business
Sequence number sets, the minmal sequence number in the sequence number sets is sent to the electronic equipment.
In said program, the Serial No. has the signless long data of 64 bits, wherein,
32 bits stab for identified time, and 8 bits are used for mark business-type, and 8 bits are used to identify the business in institute
The grouping information in type of service is stated, 16 bits are used to identify the business when the serial number in previous time second.
In said program, the electronic equipment, which is specifically used for sending to distributed coordination server, obtains sequence number generation clothes
The request message of the mapping relations of business that business device is serviced with sequence number generation server;
The distributed coordination server sends the mapping relations according to the request message to the electronic equipment.
In said program, the sequence number generation server is additionally operable to update the sequence number in the sequence number sets.
In said program, the system also includes memory, the memory is used for the corresponding multiple sequences of storage service group
Row number;
Correspondingly, sequence number generation server, it is additionally operable to obtain each service groups from memory in advance corresponding
Multiple sequence numbers, formation sequence number set.
In said program, each type of business includes multiple service groups, correspondingly, the sequence number generates server,
Specifically for the service groups belonging to determining the business according to the attribute information of the business, determine to prestore based on the service groups
The corresponding sequence number sets of the business.
In said program, when the sequence number generation server obtains sequence number, it is additionally operable to judge sequence in one second time
Number timestamp whether change, when the determination result is yes, sequence number is counted since 0, so that the time per second
Interior Serial No. incremented sequence number.
In said program, the method further includes monitoring server, for monitoring the shape of sequence number generation server in real time
State, when determining the sequence number generation server discontinuing operation, the new sequence number of triggering startup generates server, and by described in
The corresponding business information of sequence number generation server being stopped is transferred in running order sequence number generation server.
In said program, the memory, the minimum value being additionally operable in the corresponding sequence number not read of storage service group.
The method and system of formation sequence number provided in the embodiment of the present invention, the request of electronic equipment formation sequence number disappear
Breath, the serial number request message carry the attribute information of the business of acquisition request sequence number;The electronic equipment takes from first
The mapping relations for device acquisition sequence number generation server and the business of being engaged in, are determined as the business service based on the mapping relations
Sequence number generates server, and the serial number request message is sent to the sequence number and generates server, with acquisition request
The corresponding sequence number of the business;Sequence number generation server is according to the attribute information of the business determines to prestore
Minmal sequence number in the sequence number sets is sent to the electronic equipment by the corresponding sequence number sets of business;Wherein, institute
Sequence number is stated to include at least:Grouping letter of the multiple bits, the mark business of mark business-type in the type of service
The multiple bits and the mark business of breath are when multiple bits of the serial number in previous time second.In this way, the electronic equipment
By acquisition business and sequence number generate server mapping relations directly serial number request message can be sent to it is corresponding
On sequence number generation server, the load of sequence number generation system can not only be disperseed, avoid that high concurrent is concentrated to access some sequence
Row number generates server, and improves the response speed of sequence number generation system, reduces sequence number generation server cluster
Load;Herein described sequence number identifies the service groups that type of service and each type of service divide so that sequence number
Function is more complete, flexible;Simultaneously as monitoring server services the server of supervisory sequence number generation simultaneously with distributed coordination,
Improve the reliability of system and intelligent.
Description of the drawings
Fig. 1 is a kind of basic handling flow diagram of one sequence number generation method of the embodiment of the present invention;
Fig. 2 is the composition schematic diagram of sequence number of the embodiment of the present invention;
Fig. 3 is that sequence number of the embodiment of the present invention generates server and the correspondence schematic diagram of business;
Fig. 4 is a kind of detailed process schematic diagram of two sequence number generation method of the embodiment of the present invention;
Fig. 5 is the composition structure diagram that a kind of one sequence number of the embodiment of the present invention generates system;
Fig. 6 is the composition structure diagram that a kind of two sequence number of the embodiment of the present invention generates system;
Fig. 7 is that the hardware entities of electronic equipment of the embodiment of the present invention form structure diagram.
Specific embodiment
The present invention is described in further detail in the following with reference to the drawings and specific embodiments.
Embodiment of the method one
A kind of basic handling flow diagram of sequence number generation method of the embodiment of the present invention, as shown in Figure 1, including following
Step:
Step 101, electronic equipment formation sequence request message;
Specifically, the electronic equipment receives the first operation, based on the described first operation formation sequence request message;
Here, first operation can be the input operation based on the client on electronic equipment or trigger action, institute
State the attribute information that serial number request message includes the business of acquisition request sequence number;
Wherein, the attribute information of the business has characterized the features such as type and/or the title of business.
Step 102, the electronic equipment obtains the mapping relations of sequence number generation server and business from first server,
The sequence number for being determined as the business service based on the mapping relations generates server, and the serial number request message is sent out
It send to the sequence number and generates server;
Here, the first server can be distributed coordination server, such as zookeeper, the distributed coordination
The mapping relations of sequence number generation server and business are stored in server, are also stored with each sequence number generation server
Surviving node identifies;Server is generated by distributed coordination server and sequence number to cooperate, and improves sequence number generation
The degree of automation of system;
In the embodiment of the present invention, each type of business is divided into according to the application mark Identification (ID) of business
For multiple service groups, each service groups correspond to one group of sequence number;That is, each type of business is divided into multiple service groups,
Each service groups include multiple sequence numbers;In order to facilitate supervisory sequence number, multiple sequence numbers that each service groups include can be
Multiple continuous sequence numbers;
Specifically, the electronic equipment is sent to distributed coordination server obtains sequence number generation server and sequence number
The request message of the mapping relations of business that generation server is serviced, the distributed coordination server disappear according to the request
It ceases to the electronic equipment and sends the mapping relations;Business of the electronic equipment in the serial number request message
Attribute information look for the sequence number generation server of the business service in the mapping relations, and please by the sequence number
Message is asked to be sent to the sequence number generation server searched and obtained, to the corresponding sequence number of business described in acquisition request;
In the present embodiment, the composition schematic diagram of the sequence number, as shown in Fig. 2, the Serial No. has 64 bits
Signless long data, wherein, 32 bits stab for identified time, and the timestamp in seconds, identifies and generated by sequence number
The number of seconds of experience from a certain historical juncture that server clock determines, the maximum value of the timestamp is 136 years;Usually described
When historical juncture is 1 day 0 January in 1970;8 bits are used for mark business-type, can at most represent 256 kinds of different types of industry
Business, such as:Order generation business, adds in shopping cart business etc. at order payment transaction;8 bits are used to identify the business described
Grouping information in type of service, each type of business can at most be divided into 256 service groups;16 bits are used to identify the industry
When the serial number in previous time second, the serial number is incremented by since 0, can at most represent 65536 serial numbers for business, that is to say, that every
Second can concurrent 65536 business;
Wherein, the mapping relations of sequence number generation server and business have characterized sequence number generation server and have been given birth to sequence number
Into the correspondence of the business of server service;In the present embodiment, the correspondence of the sequence number generation server and business,
As shown in figure 3, a sequence number generation server can serve a type of business, can also serve a plurality of types of
Business, each type of business are divided into multiple service groups again;In this way, can by deployment to platform sequence number generate server come
Disperse the pressure of sequence number generation request, improve the formation speed of sequence number.
Step 103, the electronic equipment receives the sequence number that the sequence number generation server is sent;
Here, the sequence number generation server determines that the business to prestore corresponds to according to the attribute information of the business
Sequence number sets, the minmal sequence number in the sequence number sets is sent to the electronic equipment;
Specifically, the sequence number generation server obtains the corresponding one group of sequence of each service groups from memory in advance
Number, formation sequence number is gathered, and one group of sequence number in the sequence number sets is usually continuous;And pre-set sequence number
The threshold value of sequence number number in set, when the number of sequence number is less than preset threshold value in sequence number sets, the sequence number
New sequence number is read in generation server continuation from memory, so that the sequence number number in sequence number sets is greater than or equal to
Preset threshold value;In a manner that sequence number generation server reads sequence number in advance, reduce the sequence number point in service groups
With after the completion, the time for reacquiring sequence number is waited for, improves the efficiency of formation sequence number;
Service groups of the sequence number generation server according to belonging to the attribute information of the business determines the business, base
The pre-stored sequence number sets in the memory of sequence number generation server are determined in the service groups, by the sequence
Number set in minmal sequence number be sent to the electronic equipment;
Here, the supported service of sequence number generation server includes at least hypertext transfer protocol (Hyper
Text Transport Protocol, http) service, transmission control protocol (Transmission Control Protocol,
Tcp) service and User Datagram Protocol (User Datagram Protocol, udp) service, and single request is supported to obtain
Multiple sequence numbers;The memory can be mysql, be stored with service identification, service identification title, multiple industry of delineation of activities
The information such as business group, sequence number value and remarks;
In one embodiment, the sequence number generates server when starting work, is write to distributed coordination server
Enter the node datas such as business and the service groups of own services;Meanwhile the sequence number generation server moment monitors the industry of itself processing
Business and service groups when the business information of sequence number generation server itself processing changes, dynamically add or delete itself
The business and service groups of service.
Embodiment of the method two
A kind of detailed process schematic diagram of sequence number generation method of the embodiment of the present invention, as shown in figure 4, including following
Step:
Step 201, the corresponding sequence number of memory storage service group;
Specifically, the corresponding multiple sequence numbers of the service groups that each delineation of activities is stored in memory;
Here, in order to facilitate supervisory sequence number, multiple sequence numbers that each service groups include can be multiple continuous sequences
Row number.
Step 202, sequence number generation server obtains the corresponding one group of sequence number of each service groups from memory in advance,
Formation sequence number is gathered;
Here, the supported service of sequence number generation server includes at least http services, tcp services and udp clothes
Business, and single request is supported to obtain multiple sequence numbers;
In one embodiment, the sequence number generates server when starting work, is write to distributed coordination server
Enter the node datas such as business and the service groups of own services;Meanwhile the sequence number generation server moment supervises the business of itself processing
And service groups, when the business information of sequence number generation server itself processing changes, dynamically add or delete itself clothes
The business and service groups of business.
Wherein, one group of sequence number in the sequence number sets is usually continuous, and pre-sets sequence number sets
The threshold value of middle sequence number number, when the number of sequence number is less than preset threshold value in sequence number sets, the sequence number generation
New sequence number is read in server continuation from memory, is preset so that the sequence number number in sequence number sets is greater than or equal to
Threshold value;In a manner that sequence number generation server reads sequence number in advance, the sequence number reduced in service groups distributes
Into the rear time for waiting for reacquisition sequence number, the efficiency of formation sequence number is improved.
Step 203, the minimum value in the corresponding sequence number not read of memory storage service group;
Specifically, for the sequence number generation server after sequence number is obtained out of memory, memory stores itself
Sequence number update generate the sum of sequence number number that server obtains for sequence number initial value and sequence number, which is service groups pair
Minimum value in the sequence number not read answered;It so, it is possible to avoid causing because sequence number generation server 30 starts or stops
Sequence number repeat the problem of, it is ensured that sequence number is orderly.
Step 204, sequence number generation server judges whether the timestamp of the sequence number in one second time changes;
Specifically, sequence number generation server judges whether the timestamp in one second time changes, in judging result
During to be, step 205 is performed ', when the judgment result is No, directly perform step 205.
Step 205 ', sequence number generation server counts sequence number since 0;
Here, when the timestamp for sentencing sequence number in one second time changes, sequence number is counted since 0;
It so, it is possible to ensure the Serial No. incremented sequence number in the time per second.
Step 205, electronic equipment receives client-based input operation or trigger action formation sequence request message;
Here, the serial number request message includes the attribute information of the business of acquisition request sequence number, the business
Attribute information has characterized the features such as type and/or the title of business.
Step 206, the electronic equipment obtains sequence number generation server from distributed coordination server and business is reflected
Relationship is penetrated, the sequence number for being determined as the business service based on the mapping relations generates server;
Specifically, the electronic equipment is sent to distributed coordination server obtains sequence number generation server and sequence number
The request message of the mapping relations of business that generation server is serviced, the distributed coordination server disappear according to the request
It ceases to the electronic equipment and sends the mapping relations;Business of the electronic equipment in the serial number request message
Attribute information look for the sequence number generation server of the business service in the mapping relations, and please by the sequence number
Message is asked to be sent to the sequence number generation server searched and obtained, to the corresponding sequence number of business described in acquisition request;Pass through
Distributed coordination server cooperates with sequence number generation server, improves the degree of automation of sequence number generation system;
In the present embodiment, the Serial No. has the signless long data of 64 bits, wherein, 32 bits are for when identifying
Between stab, the timestamp in seconds, is identified by experience from sequence number generation a certain historical juncture for determining of server clock
Number of seconds, the maximum value of the timestamp is 136 years;When usually the historical juncture is 1 day 0 January in 1970;8 bits are used
In mark business-type, 256 kinds of different types of business can be at most represented, such as:Order generation business, adds order payment transaction
Enter shopping cart business etc.;8 bits are used to identify grouping information of the business in the type of service, each type of business
256 service groups can be at most divided into;16 bits for identifying the business when the serial number in previous time second, the serial number from
0 start be incremented by, can at most represent 65536 serial numbers, that is to say, that it is per second can concurrent 65536 business;
Wherein, the mapping relations of sequence number generation server and business have characterized sequence number generation server and have been given birth to sequence number
Into the correspondence of the business of server service;In the present embodiment, the correspondence of the sequence number generation server and business,
As shown in figure 3, a sequence number generation server can serve a type of business, can also serve a plurality of types of
Business, each type of business are divided into multiple service groups again;In this way, can by deployment to platform sequence number generate server come
Disperse the pressure of sequence number generation request, improve the formation speed of sequence number.
Step 207, the serial number request message is sent to sequence number generation server by electronic equipment.
Step 208, sequence number generation server determines the corresponding sequence of the business according to the attribute information of the business
Number set, the minmal sequence number in the sequence number sets is sent to the electronic equipment;
Specifically, industry of the sequence number generation server according to belonging to the attribute information of the business determines the business
Business group determines the pre-stored sequence number sets in the memory of sequence number generation server based on the service groups, will
Minmal sequence number in the sequence number sets is sent to the electronic equipment.
Step 209, the sequence number in sequence number sets described in sequence number generation server update;
Specifically, the sequence number generates server after the electronic equipment transmits Sequence Number, sequence number generation clothes
Business device continuation new sequence number is obtained from memory so that sequence number generation server memory storage sequence number number be more than or
Equal to preset threshold value.
Step 210, the state of second server supervisory sequence number generation server;
Here, the function that the second server performs can be realized by monitoring server;
Specifically, when the monitoring server determines the sequence number generation server discontinuing operation, triggering starts newly
Sequence number generates server, and the corresponding business information of sequence number generation server being stopped is transferred in work
Make the sequence number generation server of state;It so, it is possible to find that sequence number generates the exception of server, and in sequence number in time
When generating server appearance exception, need to only adjust limited sequence number generation server info can make sequence number generate server
Cluster works normally, and utmostly ensures the normal operation of sequence number generation system.
In one embodiment, primary monitoring server and spare monitoring server can be set, in primary monitoring service
When device breaks down, spare monitoring server can continue the state of supervisory sequence number generation server, to ensure that sequence number is given birth to
Into the high availability of system;Meanwhile the monitoring server can receive the control of operation maintenance personnel or spontaneous adjustment sequence number
The business that generation server is serviced, and trigger the increase of distributed coordination server or delete business and the corresponding business of business
Group;The business that flexible allocation sequence number generation server is serviced is so, it is possible, and then disperses sequence number generation service system
Load avoids that high concurrent is concentrated to access some sequence number generation server.
Here, the in running order sequence number generation server can be that new sequence number generates server,
Can be that original sequence number generates server.
In the embodiment of the present invention, the operation that memory performs in step 203, the behaviour that monitoring server performs in step 210
Making the operation performed with step 204 to step 209, there is no the precedence relationships performed.
System embodiment one
Above method embodiment to realize the present invention, the present invention also provides a kind of sequence numbers to generate system, the system
Structure diagram is formed, as shown in figure 5, including:Distributed coordination server 10, electronic equipment 20 and sequence number generation server
30;Wherein,
The distributed coordination server 10, for storing the mapping relations of sequence number generation server and business;
For formation sequence request message, sequence is obtained from the distributed coordination server 10 for the electronic equipment 20
Row number generates the mapping relations of server and business, is determined as the sequence number generation of the business service based on the mapping relations
Server, and the serial number request message is sent to the sequence number and generates server 30, with business described in acquisition request
Corresponding sequence number;
The sequence number generates server 30, for the business pair for determining to prestore according to the attribute information of the business
Minmal sequence number in the sequence number sets is sent to the electronic equipment 10 by the sequence number sets answered;Wherein, the sequence
Row number includes at least:Grouping information of the multiple bits, the mark business of mark business-type in the type of service
Multiple bits and the mark business are when multiple bits of the serial number in previous time second.
In the embodiment of the present invention, the Serial No. has the signless long data of 64 bits, wherein, 32 bits are used to mark
Know timestamp, the timestamp in seconds, is identified by from sequence number generation a certain historical juncture for determining of server clock
The number of seconds of experience, the maximum value of the timestamp is 136 years;When usually the historical juncture is 1 day 0 January in 1970;8 ratios
Spy can at most represent 256 kinds of different types of business, such as mark business-type:Order generation business, order payment industry
Business adds in shopping cart business etc.;8 bits are used to identify grouping information of the business in the type of service, each type
Business can at most be divided into 256 service groups;16 bits are described for identifying the business when the serial number in previous time second
Serial number since 0 be incremented by, can at most represent 65536 serial numbers, that is to say, that it is per second can concurrent 65536 business.
In the embodiment of the present invention, the distributed coordination server 30 can be zookeeper, the distributed coordination clothes
The mapping relations of sequence number generation server and business are stored in business device 30, are also stored with each sequence number generation server
Surviving node identifies;Server is generated by distributed coordination server and sequence number to cooperate, and improves sequence number generation
The degree of automation of system;Sequence number generates server 30 and the mapping relations of business have characterized sequence number generation server and sequence
The correspondence of the business of row number generation server service;In the present embodiment, pair of the sequence number generation server and business
It should be related to, as shown in figure 3, a sequence number generation server can serve a type of business, can also serve more
The business of type, each type of business are divided into multiple service groups again;In this way, platform sequence number can be generated by deployment
Server generates the pressure asked to disperse sequence number, improves the formation speed of sequence number.
In the embodiment of the present invention, each type of business is divided into according to the ID of business as multiple service groups, each service groups
Corresponding one group of sequence number;That is, each type of business is divided into multiple service groups, each service groups include multiple sequences
Number;In order to facilitate supervisory sequence number, multiple sequence numbers that each service groups include can be multiple continuous sequence numbers.
In one embodiment, electronic equipment 20, which is specifically used for sending to distributed coordination server, obtains sequence number generation
The request message of the mapping relations of business that server is serviced with sequence number generation server;The distributed coordination server
30 send the mapping relations according to the request message to the electronic equipment.
In one embodiment, the sequence number generation server 30 is transmitting Sequence Number it to the electronic equipment 20
Afterwards, the sequence number being additionally operable in the sequence number sets for updating itself storage.
In one embodiment, each type of business includes multiple service groups, correspondingly, sequence number generation service
Device 30, it is true based on the service groups specifically for the service groups belonging to determining the business according to the attribute information of the business
Surely the corresponding sequence number sets of the business to prestore.
In one embodiment, it when the sequence number generation server 30 obtains sequence number, is additionally operable to judge one second time
Whether the timestamp of interior sequence number changes, and when the determination result is yes, sequence number is counted since 0, so that often
Serial No. incremented sequence number in time second.
In one embodiment, the supported service of sequence number generation server 30 including at least http, tcp and
Udp is serviced, and single request is supported to obtain multiple sequence numbers;The memory can be mysql, be stored with service identification,
Service identification title, the information such as multiple service groups, sequence number value and remarks of delineation of activities.
In one embodiment, the sequence number generates server when starting work, is write to distributed coordination server
Enter the node datas such as business and the service groups of own services;Meanwhile the sequence number generation server moment supervises the business of itself processing
And service groups, when the business information of sequence number generation server itself processing changes, dynamically add or delete itself clothes
The business and service groups of business.
System embodiment two
Above method embodiment to realize the present invention, the present invention also provides a kind of sequence numbers to generate system, the system
Structure diagram is formed, as shown in fig. 6, including:Distributed coordination server 10, electronic equipment 20, sequence number generation server
30th, memory 40 and monitoring server 50;Wherein,
The distributed coordination server 10, for storing the mapping relations of sequence number generation server and business;
For formation sequence request message, sequence is obtained from the distributed coordination server 10 for the electronic equipment 20
Row number generates the mapping relations of server and business, is determined as the sequence number generation of the business service based on the mapping relations
Server, and the serial number request message is sent to the sequence number and generates server 30, with business described in acquisition request
Corresponding sequence number;
The sequence number generates server 30, for the business pair for determining to prestore according to the attribute information of the business
Minmal sequence number in the sequence number sets is sent to the electronic equipment 10 by the sequence number sets answered;Wherein, the sequence
Row number includes at least:Grouping information of the multiple bits, the mark business of mark business-type in the type of service
Multiple bits and the mark business are when multiple bits of the serial number in previous time second;
The memory 40, for the corresponding multiple sequence numbers of storage service group;
Correspondingly, the sequence number generation server 30, is additionally operable to obtain each service groups correspondence from memory in advance
Multiple sequence numbers, formation sequence number set;
The monitoring server 50 for monitoring the state of sequence number generation server in real time, is determining the sequence number
Triggering starts new sequence number generation server when generating server discontinuing operation, and the sequence number being stopped is generated
The corresponding business information of server is transferred in running order sequence number generation server;It so, it is possible to find sequence in time
Row number generates the exception of server, and when sequence number generation server occurs abnormal, need to only adjust limited sequence number life
It can make sequence number generation server cluster normal work into server info, utmostly ensure sequence number generation system just
Often operation.
In the embodiment of the present invention, the Serial No. has the signless long data of 64 bits, wherein, 32 bits are used to mark
Know timestamp, the timestamp in seconds, is identified by from sequence number generation a certain historical juncture for determining of server clock
The number of seconds of experience, the maximum value of the timestamp is 136 years;When usually the historical juncture is 1 day 0 January in 1970;8 ratios
Spy can at most represent 256 kinds of different types of business, such as mark business-type:Order generation business, order payment industry
Business adds in shopping cart business etc.;8 bits are used to identify grouping information of the business in the type of service, each type
Business can at most be divided into 256 service groups;16 bits are described for identifying the business when the serial number in previous time second
Serial number since 0 be incremented by, can at most represent 65536 serial numbers, that is to say, that it is per second can concurrent 65536 business.
In the embodiment of the present invention, the distributed coordination server 30 can be zookeeper, the distributed coordination clothes
The mapping relations of sequence number generation server and business are stored in business device 30, are also stored with each sequence number generation server
Surviving node identifies;Server is generated by distributed coordination server and sequence number to cooperate, and improves sequence number generation
The degree of automation of system;Sequence number generates server 30 and the mapping relations of business have characterized sequence number generation server and sequence
The correspondence of the business of row number generation server service;In the present embodiment, pair of the sequence number generation server and business
It should be related to, as shown in figure 3, a sequence number generation server can serve a type of business, can also serve more
The business of type, each type of business are divided into multiple service groups again;In this way, platform sequence number can be generated by deployment
Server generates the pressure asked to disperse sequence number, improves the formation speed of sequence number.
In the embodiment of the present invention, each type of business is divided into according to the ID of business as multiple service groups, each service groups
Corresponding one group of sequence number;That is, each type of business is divided into multiple service groups, each service groups include multiple sequences
Number;In order to facilitate supervisory sequence number, multiple sequence numbers that each service groups include can be multiple continuous sequence numbers.
In one embodiment, electronic equipment 20, which is specifically used for sending to distributed coordination server 10, obtains sequence number life
The request message of the mapping relations of business serviced into server and sequence number generation server;The distributed coordination service
Device 30 sends the mapping relations according to the request message to the electronic equipment.
In one embodiment, the sequence number generation server 30 is transmitting Sequence Number it to the electronic equipment 20
Afterwards, it is additionally operable to continue to obtain new sequence number from memory, so that the sequence number number of sequence number generation server memory storage
More than or equal to preset threshold value.
In one embodiment, each type of business includes multiple service groups, correspondingly, sequence number generation service
Device 30, it is true based on the service groups specifically for the service groups belonging to determining the business according to the attribute information of the business
Surely the corresponding sequence number sets of the business to prestore.
In one embodiment, it when the sequence number generation server 30 obtains sequence number, is additionally operable to judge one second time
Whether the timestamp of interior sequence number changes, and when the determination result is yes, sequence number is counted since 0, so that often
Serial No. incremented sequence number in time second.
In one embodiment, one group of sequence number in the sequence number sets is usually continuous, and pre-sets
The threshold value of sequence number number in sequence number sets, it is described when the number of sequence number is less than preset threshold value in sequence number sets
Sequence number generation server 30 continues to read new sequence number from memory 40, so that the sequence number number in sequence number sets
More than or equal to preset threshold value;In a manner that sequence number generates the advance reading sequence number of server 30, reduce in business
The sequence number of group waits for the time for reacquiring sequence number after being assigned, and improves the efficiency of formation sequence number.
In one embodiment, sequence number generates server 30 after the electronic equipment 20 transmits Sequence Number, and also uses
Sequence number in the incremental update sequence number sets.
In one embodiment, the corresponding multiple sequences of service groups of each delineation of activities are stored in the memory 40
Number;Here, in order to facilitate supervisory sequence number, multiple sequence numbers that each service groups include can be multiple continuous sequence numbers.
In one embodiment, the memory 40 is additionally operable in the corresponding sequence number not read of storage service group most
Small value;I.e. in sequence number generation server 30 after sequence number is obtained out of memory 40, memory stores itself
The sum of sequence number number that sequence number update is obtained for sequence number initial value with sequence number generation server, the value are that service groups correspond to
The sequence number not read in minimum value;It so, it is possible to avoid caused by sequence number generation server 30 starts or stops
The problem of sequence number repeats, it is ensured that sequence number is orderly.
In one embodiment, the supported service of sequence number generation server 30 including at least http, tcp and
Udp is serviced, and single request is supported to obtain multiple sequence numbers;The memory can be mysql, be stored with service identification,
Service identification title, the information such as multiple service groups, sequence number value and remarks of delineation of activities.
In one embodiment, the sequence number generates server when starting work, is write to distributed coordination server
Enter the node datas such as business and the service groups of own services;Meanwhile the sequence number generation server moment supervises the business of itself processing
And service groups, when the business information of sequence number generation server itself processing changes, dynamically add or delete itself clothes
The business and service groups of business.
In one embodiment, the monitoring server 50 includes primary monitoring server and spare monitoring server,
When primary monitoring server breaks down, spare monitoring server can continue the state of supervisory sequence number generation server, to
Ensure the high availability of sequence number generation system;Meanwhile the monitoring server 50 can receive operation maintenance personnel control or from
The business that the adjustment sequence number generation server of hair is serviced, and trigger the increase of distributed coordination server or delete business and industry
It is engaged in corresponding service groups;The business that flexible allocation sequence number generation server is serviced is so, it is possible, and then disperses sequence number life
Into the load of service system, avoid that high concurrent is concentrated to access some sequence number generation server.
In the embodiment of the present invention, the electronic equipment can be this electronic equipment of PC, can also be such as tablet
Computer, this mancarried electronic aid of laptop computer can also be the intelligent mobile terminal such as mobile phone.
In the embodiment of the present invention, an example of the electronic equipment as hardware entities, as shown in fig. 7, comprises processing
Device 81, storage medium 82 and at least one external communication interface 83;The processor 81, storage medium 82 and PERCOM peripheral communication
Interface 83 is connected by bus 84.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, only
A kind of division of logic function can have other dividing mode, such as in actual implementation:Multiple units or component can combine or
It is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed each composition portion
Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit
Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, be shown as unit
The component shown can be or may not be physical unit, you can be located at a place, can also be distributed to multiple network lists
In member;Part or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
To be each unit individually as a unit, can also two or more units integrate in a unit;It is above-mentioned
The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and aforementioned program can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is performed;And aforementioned memory and storage medium includes:Mobile storage is set
Standby, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory),
The various media that can store program code such as magnetic disc or CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and is independent product
Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented
The technical solution of example substantially in other words can be embodied the part that the prior art contributes in the form of software product,
The computer software product is stored in a storage medium, and being used including some instructions (can be with so that computer equipment
It is personal computer, server or network equipment etc.) perform all or part of each embodiment the method for the present invention.
And aforementioned storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (18)
1. a kind of sequence number generation method, which is characterized in that the method includes:
Electronic equipment formation sequence request message, the serial number request message carry the category of the business of acquisition request sequence number
Property information;
The electronic equipment obtains the mapping relations of sequence number generation server and business from first server, based on the mapping
Relationship is determined as the sequence number generation server of the business service, and the serial number request message is sent to the sequence
Number generation server, with the corresponding sequence number of business described in acquisition request;
The electronic equipment receives the sequence number that the sequence number generation server is sent;Wherein,
The industry to prestore that sequence number generation server described in the Serial No. is determined according to the attribute information of the business
The minmal sequence number being engaged in corresponding sequence number sets.
2. according to the method described in claim 1, it is characterized in that, the Serial No. has the long number of 64 bits
According to, wherein,
32 bits stab for identified time, and 8 bits are used for mark business-type, and 8 bits are used to identify the business in the industry
Grouping information in service type, 16 bits are used to identify the business when the serial number in previous time second.
3. method according to claim 1 or 2, which is characterized in that the electronic equipment obtains sequence from first server
Number generation server and business mapping relations, including:
The electronic equipment is sent to the first server obtains sequence number generation server and sequence number generation server institute
The request message of the mapping relations of the business of service;
The distributed coordination server sends the mapping relations according to the request message to the electronic equipment.
4. method according to claim 1 or 2, which is characterized in that the method further includes:
Sequence number in sequence number sets described in sequence number generation server update.
5. method according to claim 1 or 2, which is characterized in that the method further includes:The sequence number generation service
Device obtains the corresponding multiple sequence numbers of each service groups, formation sequence number set from memory in advance.
6. according to the method described in claim 5, it is characterized in that, each type of business includes multiple service groups, the sequence
The corresponding sequence number sets of the business that row number generation server determines to prestore according to the attribute information of the business, including:
Service groups of the sequence number generation server according to belonging to the attribute information of the business determines the business, based on institute
State the sequence number sets that service groups determine to prestore.
7. according to the method described in claim 5, it is characterized in that, the sequence number generation server obtain sequence number when, institute
The method of stating further includes:
The sequence number generation server judges whether the timestamp of sequence number in one second time changes, and is in judging result
When being, sequence number is counted since 0, so that the Serial No. incremented sequence number in the time per second.
8. method according to claim 1 or 2, which is characterized in that the method further includes:Second server monitors in real time
Sequence number generates the state of server, is triggered when the second server determines the sequence number generation server discontinuing operation
Start new sequence number generation server, and the corresponding business information of sequence number generation server being stopped is shifted
To in running order sequence number generation server.
9. method according to claim 1 or 2, which is characterized in that the method further includes:Memory storage service group pair
Minimum value in the sequence number not read answered.
10. a kind of sequence number generates system, which is characterized in that the system comprises:Distributed coordination server, electronic equipment and
Sequence number generates server;Wherein,
The distributed coordination server, for storing the mapping relations of sequence number generation server and business;
For formation sequence request message, sequence number generation is obtained from the distributed coordination server for the electronic equipment
The mapping relations of server and business, the sequence number for being determined as the business service based on the mapping relations generate server,
And the serial number request message is sent to the sequence number and generates server, with the corresponding sequence of business described in acquisition request
Number;The serial number request message carries the attribute information of the business of acquisition request sequence number;
The sequence number generates server, for the corresponding sequence of the business for determining to prestore according to the attribute information of the business
Minmal sequence number in the sequence number sets is sent to the electronic equipment by row number set.
11. system according to claim 10, which is characterized in that the Serial No. has the long number of 64 bits
According to, wherein,
32 bits stab for identified time, and 8 bits are used for mark business-type, and 8 bits are used to identify the business in the industry
Grouping information in service type, 16 bits are used to identify the business when the serial number in previous time second.
12. the system according to claim 10 or 11, which is characterized in that the electronic equipment is specifically used for assisting to distribution
Server transmission is adjusted to obtain asking for the mapping relations of business that sequence number generation server is serviced with sequence number generation server
Seek message;
The distributed coordination server sends the mapping relations according to the request message to the electronic equipment.
13. the system according to claim 10 or 11, which is characterized in that the sequence number generation server is additionally operable to update
Sequence number in the sequence number sets.
14. the system according to claim 10 or 11, which is characterized in that the system also includes memory, the storage
Device is used for the corresponding multiple sequence numbers of storage service group;
The sequence number generates server, is additionally operable to obtain the corresponding multiple sequence numbers of each service groups from memory in advance,
Formation sequence number is gathered.
15. system according to claim 14, which is characterized in that each type of business includes multiple service groups, described
Sequence number generates server, specifically for the service groups belonging to determining the business according to the attribute information of the business, is based on
The service groups determine the corresponding sequence number sets of the business to prestore.
16. system according to claim 14, which is characterized in that when the sequence number generation server obtains sequence number,
It is additionally operable to judge whether the timestamp of sequence number in one second time changes, when the determination result is yes, to sequence since 0
It number is counted, so that the Serial No. incremented sequence number in the time per second.
17. the system according to claim 10 or 11, which is characterized in that the system also includes monitoring servers, are used for
Monitor the state of sequence number generation server in real time, triggering startup is new when determining the sequence number generation server discontinuing operation
Sequence number generation server, and the corresponding business information of sequence number generation server being stopped described is transferred to and is in
The sequence number generation server of working condition.
18. the system according to claim 10 or 11, which is characterized in that the memory is additionally operable to storage service group pair
Minimum value in the sequence number not read answered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611223760.4A CN108243264A (en) | 2016-12-27 | 2016-12-27 | A kind of sequence number generation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611223760.4A CN108243264A (en) | 2016-12-27 | 2016-12-27 | A kind of sequence number generation method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108243264A true CN108243264A (en) | 2018-07-03 |
Family
ID=62701456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611223760.4A Pending CN108243264A (en) | 2016-12-27 | 2016-12-27 | A kind of sequence number generation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108243264A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109063088A (en) * | 2018-07-26 | 2018-12-21 | 阿里巴巴集团控股有限公司 | The generation method and device of sequence number |
CN109450987A (en) * | 2018-10-18 | 2019-03-08 | 杭州云永网络科技有限公司 | Number generation method, apparatus and system and storage medium |
CN109597834A (en) * | 2018-10-22 | 2019-04-09 | 平安科技(深圳)有限公司 | Mass data storage means, device, medium and equipment based on redis |
CN109597853A (en) * | 2018-10-22 | 2019-04-09 | 平安科技(深圳)有限公司 | Business scenario element sequence generation method, device, medium and computer equipment |
CN109639775A (en) * | 2018-11-27 | 2019-04-16 | 湖南蚁为软件有限公司 | Global monotonic increase ID generation method, device, system and equipment |
CN109948012A (en) * | 2019-03-14 | 2019-06-28 | 北京达佳互联信息技术有限公司 | Generation method, device and the storage medium of sequence number |
CN110602158A (en) * | 2019-07-24 | 2019-12-20 | 中国联合网络通信集团有限公司 | Global unique ID generation system and method, ID generator and storage medium |
CN110619114A (en) * | 2019-09-26 | 2019-12-27 | 北京明略软件***有限公司 | Serial number generation method and system |
CN111291424A (en) * | 2020-02-19 | 2020-06-16 | 望海康信(北京)科技股份公司 | Identification number generation method and device, computer equipment and storage medium |
CN111385370A (en) * | 2018-12-28 | 2020-07-07 | 广州市百果园信息技术有限公司 | ID allocation method, device, storage medium and ID allocation system |
CN111522589A (en) * | 2020-04-17 | 2020-08-11 | 深圳比特微电子科技有限公司 | Equipment label generation method, device and system |
CN112667685A (en) * | 2020-12-29 | 2021-04-16 | 北京先进数通信息技术股份公司 | Serial number configuration method, device, equipment and storage medium |
WO2021217863A1 (en) * | 2020-04-29 | 2021-11-04 | 平安科技(深圳)有限公司 | Order identifier generation method and apparatus, server, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070097982A1 (en) * | 2005-11-03 | 2007-05-03 | Chang-Chung Wen | Network Flow/Stream Simulation Method |
CN103164418A (en) * | 2011-12-12 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Method and device for processing serial numbers |
CN103200147A (en) * | 2012-01-04 | 2013-07-10 | 中兴通讯股份有限公司 | Method and device of requesting third-party service |
CN105245367A (en) * | 2015-10-08 | 2016-01-13 | 北京搜狗科技发展有限公司 | Serial number generation method and electronic device |
CN105871855A (en) * | 2016-04-11 | 2016-08-17 | 杨鹏 | Method and system for generating, storing and identifying identification code of electronic equipment |
-
2016
- 2016-12-27 CN CN201611223760.4A patent/CN108243264A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070097982A1 (en) * | 2005-11-03 | 2007-05-03 | Chang-Chung Wen | Network Flow/Stream Simulation Method |
CN103164418A (en) * | 2011-12-12 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Method and device for processing serial numbers |
CN103200147A (en) * | 2012-01-04 | 2013-07-10 | 中兴通讯股份有限公司 | Method and device of requesting third-party service |
CN105245367A (en) * | 2015-10-08 | 2016-01-13 | 北京搜狗科技发展有限公司 | Serial number generation method and electronic device |
CN105871855A (en) * | 2016-04-11 | 2016-08-17 | 杨鹏 | Method and system for generating, storing and identifying identification code of electronic equipment |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI728357B (en) * | 2018-07-26 | 2021-05-21 | 開曼群島商創新先進技術有限公司 | Method and device for generating serial number |
CN109063088A (en) * | 2018-07-26 | 2018-12-21 | 阿里巴巴集团控股有限公司 | The generation method and device of sequence number |
CN109450987A (en) * | 2018-10-18 | 2019-03-08 | 杭州云永网络科技有限公司 | Number generation method, apparatus and system and storage medium |
CN109450987B (en) * | 2018-10-18 | 2021-08-03 | 杭州云永网络科技有限公司 | Number generation method, device and system and storage medium |
CN109597834A (en) * | 2018-10-22 | 2019-04-09 | 平安科技(深圳)有限公司 | Mass data storage means, device, medium and equipment based on redis |
CN109597853A (en) * | 2018-10-22 | 2019-04-09 | 平安科技(深圳)有限公司 | Business scenario element sequence generation method, device, medium and computer equipment |
CN109597834B (en) * | 2018-10-22 | 2024-05-07 | 平安科技(深圳)有限公司 | Massive data storage method, device, medium and equipment based on redis |
CN109597853B (en) * | 2018-10-22 | 2024-01-23 | 平安科技(深圳)有限公司 | Business scene element serial number generation method, device, medium and computer equipment |
CN109639775A (en) * | 2018-11-27 | 2019-04-16 | 湖南蚁为软件有限公司 | Global monotonic increase ID generation method, device, system and equipment |
CN111385370B (en) * | 2018-12-28 | 2022-07-08 | 广州市百果园信息技术有限公司 | ID allocation method, device, storage medium and ID allocation system |
CN111385370A (en) * | 2018-12-28 | 2020-07-07 | 广州市百果园信息技术有限公司 | ID allocation method, device, storage medium and ID allocation system |
CN109948012A (en) * | 2019-03-14 | 2019-06-28 | 北京达佳互联信息技术有限公司 | Generation method, device and the storage medium of sequence number |
CN110602158A (en) * | 2019-07-24 | 2019-12-20 | 中国联合网络通信集团有限公司 | Global unique ID generation system and method, ID generator and storage medium |
CN110619114B (en) * | 2019-09-26 | 2022-10-25 | 北京明略软件***有限公司 | Serial number generation method and system |
CN110619114A (en) * | 2019-09-26 | 2019-12-27 | 北京明略软件***有限公司 | Serial number generation method and system |
CN111291424A (en) * | 2020-02-19 | 2020-06-16 | 望海康信(北京)科技股份公司 | Identification number generation method and device, computer equipment and storage medium |
CN111522589A (en) * | 2020-04-17 | 2020-08-11 | 深圳比特微电子科技有限公司 | Equipment label generation method, device and system |
WO2021217863A1 (en) * | 2020-04-29 | 2021-11-04 | 平安科技(深圳)有限公司 | Order identifier generation method and apparatus, server, and storage medium |
CN112667685A (en) * | 2020-12-29 | 2021-04-16 | 北京先进数通信息技术股份公司 | Serial number configuration method, device, equipment and storage medium |
CN112667685B (en) * | 2020-12-29 | 2024-04-16 | 北京先进数通信息技术股份公司 | Method, device, equipment and storage medium for configuring serial numbers |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108243264A (en) | A kind of sequence number generation method and system | |
CN104866366B (en) | Application program method for cleaning and device | |
CN100452711C (en) | Method and system for adding label for contacts | |
CN105721318B (en) | The method and apparatus of network topology are found in a kind of software defined network SDN | |
WO2017131774A1 (en) | Log event summarization for distributed server system | |
CN105915650B (en) | Load-balancing method and device | |
CN101257406B (en) | Method and system for discovering net elements | |
CN105653969B (en) | Data processing method, device and electronic equipment | |
US20030158883A1 (en) | Message processing | |
CN110505618A (en) | A kind of method for processing business and server | |
CN104536926B (en) | The control method and device of serial equipment | |
CN106681760A (en) | Transaction processing method and device based on client engineering project management system | |
CN108650306A (en) | A kind of game video caching method, device and computer storage media | |
US8295199B2 (en) | Methods and systems for maintaining diversity for telecommunication services | |
CN107147522A (en) | A kind of method and device for determining networking topological structure | |
CN104468767B (en) | A kind of cloud storage data collision detection method and system | |
CN102638403B (en) | Method and device for processing messages | |
CN103678332A (en) | System, browser and method for displaying page | |
CN108459943A (en) | A kind of real-time processing method and device based on spelling wall system alarm | |
CN112202614B (en) | Method and device for communication between systems | |
CN111127706B (en) | Intelligent lock control method, intelligent lock, cloud server and computing equipment | |
CN109002480A (en) | A kind of data processing method and server | |
EP3105892B1 (en) | Data message queue management to identify message sets for delivery metric modification | |
CN112055098B (en) | Method for establishing long IP data connection, 5G gateway equipment and computer equipment | |
CN107809743A (en) | A kind of information synchronization method, terminal device and computer-readable recording medium |
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: 20180703 |
|
RJ01 | Rejection of invention patent application after publication |