CN112202662A - Method and device for generating instant messaging identification information - Google Patents

Method and device for generating instant messaging identification information Download PDF

Info

Publication number
CN112202662A
CN112202662A CN202011010596.5A CN202011010596A CN112202662A CN 112202662 A CN112202662 A CN 112202662A CN 202011010596 A CN202011010596 A CN 202011010596A CN 112202662 A CN112202662 A CN 112202662A
Authority
CN
China
Prior art keywords
target
instant messaging
mobile equipment
international mobile
code
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.)
Granted
Application number
CN202011010596.5A
Other languages
Chinese (zh)
Other versions
CN112202662B (en
Inventor
耿启富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011010596.5A priority Critical patent/CN112202662B/en
Publication of CN112202662A publication Critical patent/CN112202662A/en
Application granted granted Critical
Publication of CN112202662B publication Critical patent/CN112202662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of computers, and discloses a method and a device for generating instant messaging identification information, which are used for improving the generation efficiency of the identification information of an IM message on the premise of ensuring global uniqueness. The method comprises the following steps: after receiving an IM message carrying an initial IM identifier sent by a user terminal, an IM server obtains a target timestamp, a target IMEI and a target bit supplementing code corresponding to the IM message based on the initial IM identifier, wherein the bit supplementing code comprises a set bit number and is used for distinguishing IM messages generated in the same time unit; and the IM server generates a global unique identifier corresponding to the IM message based on the target timestamp, the target IMEI and the target bit complementing code. Due to the adoption of the timestamp, the time sequence can be ensured, the generation efficiency is fully improved, and the uniqueness is fully ensured by adopting the IMEI and the complementary digit code. The service performance of the IM system is improved.

Description

Method and device for generating instant messaging identification information
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for generating instant messaging identification information.
Background
In the prior art, referring to fig. 1, in an Instant Messaging (IM) system, a database self-increment algorithm is usually adopted to generate a corresponding globally unique identifier for each IM message generated. By the method, the uniqueness and the absolute incrementability of each generated global unique identifier can be fully ensured.
However, since the databases are usually configured in a distributed manner, each time a global unique identifier is generated, all databases in various areas need to be called, and all existing global unique identifiers are traversed to ensure the uniqueness of the newly generated global unique identifier.
In view of the above, there is a need to redesign a new method for generating globally unique identification of IM messages to overcome the above-mentioned drawbacks.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for generating instant messaging identification information, which are used for improving the generation efficiency of the identification information of instant messaging messages on the premise of ensuring global uniqueness.
The specific technical scheme provided by the embodiment of the disclosure is as follows:
in a first aspect, a method for generating instant messaging identification information includes:
receiving an instant messaging message sent by a user terminal, wherein the instant messaging message at least carries an initial instant messaging identifier;
based on the initial instant messaging identifier, obtaining a target timestamp, a target international mobile equipment identification code and a target bit supplementing code corresponding to the instant messaging message, wherein the target bit supplementing code comprises a set bit number and is used for distinguishing instant messaging messages generated in the same time unit;
and generating a global unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identification code and the target bit supplementing code.
Optionally, if the international mobile equipment identity information bit included in the instant messaging message is not zero, obtaining, based on the initial instant messaging identifier, a target timestamp, a target international mobile equipment identity, and a target complement code corresponding to the instant messaging message includes:
and directly reading a first timestamp, a first international mobile equipment identification code and a first bit-filling code carried by the user terminal in the instant messaging message from the instant messaging message as a target timestamp, a target international mobile equipment identification code and a target bit-filling code corresponding to the instant messaging message.
Optionally, generating a global unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identity and the target complement code, includes:
and carrying out global uniqueness verification on the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the target position supplementing code, and taking the initial instant messaging identifier as a global unique identifier corresponding to the instant messaging message when the verification is passed.
Optionally, further comprising:
and when the verification fails, updating the target position supplementing code to obtain an updated initial instant messaging identifier, performing global uniqueness verification on the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the updated target position supplementing code, and taking the updated initial instant messaging identifier as a global unique identifier corresponding to the instant messaging message when the verification passes.
Optionally, if the international mobile equipment identity information bit included in the instant messaging message is zero, obtaining, based on the initial instant messaging identifier, a target timestamp, a target international mobile equipment identity, and a target complement code corresponding to the instant messaging message includes:
selecting a historical international mobile equipment identification code meeting a preset condition from used historical international mobile equipment identification codes, and obtaining a second timestamp corresponding to the historical international mobile equipment identification code;
generating a new bit supplementing code corresponding to the second timestamp and the historical international mobile equipment identification code when the total number of the historical bit supplementing codes which are set corresponding to the second timestamp and the historical international mobile equipment identification code does not reach a preset threshold value;
taking the second timestamp as a target timestamp, the selected historical international mobile equipment identification code as a target international mobile equipment identification code, and the new bit complement code as a target bit complement code.
Optionally, generating a global unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identity and the target complement code, includes:
and generating a corresponding global unique identifier by combining the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the target position supplementing code.
Optionally, selecting one historical international mobile equipment identity meeting the preset condition from the used historical international mobile equipment identities includes:
and selecting the historical international mobile equipment identification code with the shortest duration between the corresponding second timestamp and the current time from the used historical international mobile equipment identification codes as one historical international mobile equipment identification code meeting the preset condition.
Optionally, selecting one historical international mobile equipment identity meeting the preset condition from the used historical international mobile equipment identities includes:
acquiring a preset hash data set, wherein identification information of one hash data is a hash value obtained after a historical international mobile equipment identification code is subjected to hash function processing, and a value representation of the one hash data represents the total number of generated bit supplementing codes corresponding to the historical international mobile equipment identification code and a corresponding second timestamp;
and selecting the historical international mobile equipment identification code corresponding to the minimum value from the values of the hash data as one historical international mobile equipment identification code meeting the preset condition.
In a second aspect, an apparatus for generating instant messaging identification information includes:
the receiving unit is used for receiving an instant communication message sent by a user terminal, wherein the instant communication message at least carries an initial instant communication identifier;
the processing unit is used for acquiring a target timestamp, a target international mobile equipment identification code and a target bit supplementing code corresponding to the instant messaging message based on the initial instant messaging identifier, wherein the target bit supplementing code comprises a set bit number and is used for distinguishing instant messaging messages generated in the same time unit;
and the generating unit is used for generating a global unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identification code and the target position filling code.
Optionally, if the international mobile equipment identity information bit included in the instant messaging message is not zero, based on the initial instant messaging identifier, a target timestamp, a target international mobile equipment identity, and a target complement code corresponding to the instant messaging message are obtained, where the processing unit is configured to:
and directly reading a first timestamp, a first international mobile equipment identification code and a first bit-filling code carried by the user terminal in the instant messaging message from the instant messaging message as a target timestamp, a target international mobile equipment identification code and a target bit-filling code corresponding to the instant messaging message.
Optionally, based on the target timestamp, the target international mobile equipment identity and the target complement code, a global unique identifier corresponding to the instant messaging message is generated, and the generating unit is configured to:
and carrying out global uniqueness verification on the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the target position supplementing code, and taking the initial instant messaging identifier as a global unique identifier corresponding to the instant messaging message when the verification is passed.
Optionally, the generating unit is further configured to:
and when the verification fails, updating the target position supplementing code to obtain an updated initial instant messaging identifier, performing global uniqueness verification on the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the updated target position supplementing code, and taking the updated initial instant messaging identifier as a global unique identifier corresponding to the instant messaging message when the verification passes.
Optionally, if an information bit of the international mobile equipment identity contained in the instant messaging message is zero, based on the initial instant messaging identifier, a target timestamp, a target international mobile equipment identity, and a target complement code corresponding to the instant messaging message are obtained, where the processing unit is configured to:
selecting a historical international mobile equipment identification code meeting a preset condition from used historical international mobile equipment identification codes, and obtaining a second timestamp corresponding to the historical international mobile equipment identification code;
generating a new bit supplementing code corresponding to the second timestamp and the historical international mobile equipment identification code when the total number of the historical bit supplementing codes which are set corresponding to the second timestamp and the historical international mobile equipment identification code does not reach a preset threshold value;
taking the second timestamp as a target timestamp, the selected historical international mobile equipment identification code as a target international mobile equipment identification code, and the new bit complement code as a target bit complement code.
Optionally, based on the target timestamp, the target international mobile equipment identity and the target complement code, a global unique identifier corresponding to the instant messaging message is generated, and the generating unit is configured to:
and generating a corresponding global unique identifier by combining the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the target position supplementing code.
Optionally, one historical international mobile equipment identity meeting a preset condition is selected from used historical international mobile equipment identities, and the processing unit is configured to:
and selecting the historical international mobile equipment identification code with the shortest duration between the corresponding second timestamp and the current time from the used historical international mobile equipment identification codes as one historical international mobile equipment identification code meeting the preset condition.
Optionally, one historical international mobile equipment identity meeting a preset condition is selected from used historical international mobile equipment identities, and the processing unit is configured to:
acquiring a preset hash data set, wherein identification information of one hash data is a hash value obtained after a historical international mobile equipment identification code is subjected to hash function processing, and a value representation of the one hash data represents the total number of generated bit supplementing codes corresponding to the historical international mobile equipment identification code and a corresponding second timestamp;
and selecting the historical international mobile equipment identification code corresponding to the minimum value from the values of the hash data as one historical international mobile equipment identification code meeting the preset condition.
In a third aspect, an instant messaging server comprises:
a memory for storing executable instructions;
a processor for reading and executing executable instructions stored in the memory to perform the method according to any of the above first aspects.
In a fourth aspect, a computer-readable storage medium, instructions of which, when executed by a processor, enable the processor to perform the method of any of the first aspects as described above.
In a fifth aspect, a computer program product comprises executable instructions that, when executed by a processor, are capable of implementing the method of any one of the first aspect.
To sum up, after receiving an instant messaging message carrying an initial instant messaging identifier sent by a user terminal, an instant messaging server obtains a target timestamp, a target international mobile equipment identification code and a target bit complementing code corresponding to the instant messaging message based on the initial instant messaging identifier, wherein the target bit complementing code comprises a set bit number and is used for distinguishing instant messaging messages generated in the same time unit; and the instant messaging server generates a global unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identification code and the target position supplementing code. The time sequence of the generated global unique identifier can be ensured by adopting the timestamp, a local database is not required to be moved in a large quantity, the generation efficiency of the global unique identifier is fully improved, and the uniqueness of the global unique identifier is fully ensured by adopting the international mobile equipment identification code and the bit complement code, so that the global unique identifier can be quickly and accurately generated aiming at massive instant messaging messages generated by a mobile terminal and a non-mobile terminal, and the service performance of an instant messaging system is improved.
Drawings
FIG. 1 is a schematic diagram illustrating an IM server generating a globally unique identifier in the prior art;
fig. 2 is a schematic flow chart of the process of generating the globally unique identifier by the IM server in the embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating a process of generating a global unique identifier corresponding to a mobile terminal by an IM server in an application scenario in the embodiment of the present disclosure;
fig. 4 is a schematic flow chart illustrating a process of generating a global unique identifier corresponding to a non-mobile terminal by an IM server in an application scenario in the embodiment of the present disclosure;
fig. 5 is a schematic flow chart of another process of generating a global unique identifier corresponding to a non-mobile terminal by an IM server in an application scenario in the embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a logical architecture of an IM server in accordance with an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an IM server entity architecture in an embodiment of the disclosure.
Detailed Description
In order to improve the generation efficiency of the identification information of the IM message on the premise of ensuring global uniqueness, in the embodiment of the present disclosure, a corresponding target timestamp, a target IMEI, and a target complement bit code are obtained based on an initial IM identification in the IM message reported by a user terminal, and a global unique identification corresponding to the IM message is generated based on the target timestamp, the target IMEI, and the target complement bit code.
Preferred embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 2, in the embodiment of the present disclosure, a detailed flow of the IM server generating the globally unique identifier for the IM message is as follows:
step 200: the IM server receives an IM message sent by a user terminal, wherein the IM message at least carries an initial IM identifier.
Specifically, the initial IM identifier at least includes: sign bit, first timestamp, first IMEI and first complement bit code.
Further, the sign bit occupies 1bit, and since the globally unique identifier is necessarily a positive number, the sign bit is always 0.
The time stamp is 41 bits, the unit of time is milliseconds, and the time stamp can theoretically identify 69 years of time.
The IMEI occupies 15 bits, and if the user terminal is a mobile terminal, the IMEI value range is any integer from binary numbers 111111111111111 to 000000000000001. If the user terminal is a non-mobile terminal, the IMEI is 000000000000000.
The complement code occupies 7 bits, the complement code is used for distinguishing IM messages generated corresponding to the same IMEI in the same time unit, the value range is any integer of 1111111 to 0000000 binary numbers, and 128 values are provided.
In the embodiment of the present disclosure, the bit complementing codes are set corresponding to the timestamp + the IMEI, so that the same "timestamp + IMEI" may correspond to 128 bit complementing codes at most, and thus, the IM messages generated corresponding to the same IMEI in the same time unit may be distinguished.
For example: assuming that the first timestamp is 000000000000000000000000000000000000000001 (hereinafter, 00 … … 01 is substituted), the corresponding first IMEI is 000000000000001, and the first timestamp and the first IMEI are combined to generate 4 first padding codes and are combined to different initial IM identities, respectively:
1. 0 (sign bit) 00 … … 01 (time stamp) 000000000000001 (IMEI) 0000000 (complement bit code);
2、0 00……01 000 000 000 000 001 000 000 1;
3、0 00……01 000 000 000 000 001 000 001 0;
4、0 00……01 000 000 000 000 001000 001 1。
further, if the IMEI is updated, the total number of the complementary bit codes generated corresponding to the "timestamp + IMEI" is cleared, that is, the generation of 128 new complementary bit codes needs to be restarted.
For example, under the same timestamp, a new mobile terminal sends an IM message, a new first IMEI is generated, and assuming that the generated new first IMEI is 000000000000010, although the first complementary codes under IMEI 00000000001 have been accumulated to 0000011, after the first IMEI is updated, the first complementary codes are recalculated from 0000000, and assuming that 5 new first complementary codes are generated corresponding to the first timestamp and the new first IMEI, and are combined into different initial IM identifiers, respectively:
1、0 00……01 000 000 000 000 010 000 000 0;
2、0 00……01 000 000 000 000 010 000 0001;
3、0 00……01 000 000 000 000 010 000 0010;
4、0 00……01 000 000 000 000 010 000 0011;
5、0 00……01 000 000 000 000 010 000 010 0。
on the other hand, if the timestamp is updated, the total number of the complementary codes generated corresponding to the "timestamp + IMEI" is cleared, that is, it is necessary to restart generation of new 128 complementary codes.
For example, as the time stamp is updated to the next millisecond, a new first time stamp 00 … … 10 is generated, the corresponding first IMEI is still 000000000000001, although the first complementary bit code at the time stamp 00 … … 01 has been accumulated to 0000011, after the first time stamp is updated, the first complementary bit code is calculated from 0000000 again, and it is assumed that 3 new first complementary bit codes are generated corresponding to the new first time stamp and the IMEI combination and are combined into different initial IM identifications respectively, which are:
1、0 00……10 000 000 000 000 001000 000 0;
2、0 00……10 000 000 000 000 001000 001 0;
3、0 00……10 000 000 000 000 001000 001 1;
step 210: and the IM server obtains a target timestamp, a target IMEI and a target carry code corresponding to the IM message based on the initial IM identification.
Specifically, when step 210 is executed, the following two cases are included but not limited to:
case 1: the value of the IMEI information bit contained in the initial IM identification is not zero.
In this case, it is described that the mobile terminal sends the IM message to the IM server, and the IMEI in the initial IM identifier carried in the IM message, that is, the IMEI used by the mobile terminal itself, in this case, the IM server will directly read, from the IM message, the first timestamp, the first IMEI, and the first padding code carried in the IM message by the user terminal, as the target timestamp, the target IMEI, and the target padding code corresponding to the IM message.
For example, assume that there are two mobile terminals generating IM messages carrying initial IM identifiers respectively:
1、0 00……01 000 000 000 000 001 000 010 1;
2、0 00……10 000 000 000 000 010 000 0010。
when the IM server receives the IM identifier and the value of IMEI information bit contained in the initial IM identifier is not zero, directly obtaining a target timestamp 00 … … 01, a target IMEI 00000000001 and a target complement bit code 0000101 based on a first timestamp, a first IMEI and a first complement bit code in the first initial IM identifier; meanwhile, the IM server directly obtains a target timestamp 00 … … 10, a target IMEI 00000000010 and a target complement code 0000010 based on the first timestamp, the first IMEI and the first complement code in the second initial IM identifier.
Therefore, when the IMEI code is not zero, the corresponding global unique identifier can be quickly generated.
Case 2: the IMEI information bit contained in the initial IM identification takes a value of zero.
In this case, it is described that a non-mobile terminal that sends an IM message to an IM server is used, and an initial IM identifier carried in the IM message does not carry an IMEI, and it is necessary for the IM server to reselect one historical IMEI that meets a preset condition from among used historical IMEIs reported by other mobile terminals, and obtain a second timestamp corresponding to the historical IMEI, and when a total number of historical padding codes that have been set corresponding to the second timestamp and the historical IMEI does not reach a preset threshold value, generate a new padding code corresponding to the second timestamp and the history, and use the second timestamp as a target timestamp, use the selected historical IMEI as a target IMEI, and use the new padding code as a target padding code.
In this way, even if the non-mobile terminal does not have an IMEI, the IM message sent by the non-mobile terminal may also have a globally unique identity.
Further, when selecting a historical IMEI meeting the preset condition, the method includes, but is not limited to, any one of the following methods:
the method comprises the following steps: and selecting the historical IMEI with the shortest duration between the corresponding second timestamp and the current time from the used historical IMEIs to serve as the historical IMEI meeting the preset condition.
For example, assume that an initial IM identifier carried in an IM message generated by a non-mobile terminal is:
000……100 000 000 000 000 000 000 000 0。
because the IMEI information bit value in the initial IM identifier is zero, each used historical IMEI needs to be acquired, and assuming that three historical IMEIs are acquired, the IMEI information bits are respectively:
000000000000001, the corresponding second timestamp is: 00 … … 01, the number of generated complement codes corresponding to 000000000000001 +00 … … 01 is 3;
000000000000010, the corresponding second timestamp is: 00 … … 10, the number of generated complement codes corresponding to 000000000000010 +00 … … 10 is 4;
000000000000011, the corresponding second timestamp is: 00 … … 11, the number of generated complement codes corresponding to 000000000000011 +00 … … 11 is 5;
since 000000000000011 is the shortest time from the current time, 000000000000011 is selected as a historical IMEI meeting the predetermined condition.
After selecting 000000000000011, it is further determined whether the number of complementary codes generated corresponding to 000000000000011 +00 … … 11 reaches 128? Since the number of generated complementary bit codes corresponding to "000000000000011 +00 … … 11" is 5, obviously, 128 is not reached, the generation of new complementary bit codes corresponding to "000000000000011 +00 … … 11" can be continued, assuming that the newly generated complementary bit codes are 0000101.
Finally 00000000000011 is taken as the target IMEI, the second timestamp 00 … … 11 is taken as the target timestamp, and the newly generated complement code 0000101 is taken as the target complement code.
The second method comprises the following steps: acquiring a preset hash data set, wherein identification information of one hash data is a hash value obtained after a historical IMEI is subjected to hash function processing, and a value representation of the one hash data represents a total number of generated complement numbers corresponding to the historical IMEI and a corresponding second timestamp; and selecting the historical IMEI corresponding to the minimum value from the values of the hash data as the historical IMEI meeting the preset condition.
For example, assume that an initial IM identifier carried in an IM message generated by a non-mobile terminal is:
0 00……10 000 000 000 000 000 000 000 0。
because the IMEI information bit value in the initial IM identifier is zero, a preset hash data set is obtained, for example: {2,5,9,45,66,23,77}.
In the hash data set, the identification information of one hash data is a hash value obtained by processing a historical IMEI through a hash function, and the value representation of the one hash data represents the total number of the generated bit-complementing codes corresponding to the historical IMEI and the corresponding second timestamp; optionally, in the embodiment of the present disclosure, in the values of each hash data, a historical IMEI corresponding to the minimum value is selected as one historical IMEI meeting the preset condition.
Because the value of each hash data in the hash data set is equal to the total number of the generated bit complementing codes corresponding to each historical IMEI and the corresponding second timestamp. Then, the hash data with the value of 2 represents that the total number of the generated bit-complementing codes corresponding to one historical IMEI and the corresponding second timestamp is 2; and the hash data with the value of 5 represents that the total number of the generated bit complementing codes corresponding to one historical IMEI and the corresponding second timestamp is 5, and so on.
Based on the rule, if the minimum value is 2 in the values of the hash data, the historical IMEI represented by the hash value corresponding to the minimum value 2 is finally selected as the historical IMEI meeting the preset condition; assuming the historical IMEI is: 000000000000111, and assuming that the historical IMEI corresponds to a second timestamp of: 00 … … 01.
Further, it is necessary to determine whether the number of generated complementary bit codes corresponding to "000000000000111 +00 … … 01" reaches 128? Since the number of generated complementary bit codes corresponding to "000000000000111 +00 … … 01" is 2, obviously, 128 is not reached, that is, the history IMEI is not used up, then, new complementary bit codes corresponding to "000000000000111 +00 … … 01" can be continuously generated, and the newly generated complementary bit codes are assumed to be 0000010.
Finally, 000000000000111 is set as the target IMEI, the second timestamp 00 … … 01 is set as the target timestamp, and the newly generated complementary bit code 0000010 is set as the target complementary bit code.
Thus, even if the non-mobile terminal does not have the IMEI, the appropriate IMEI can be selected from the historical IMEIs, and the corresponding global unique identifier can be generated. By the method, the problem that the non-mobile terminal has no corresponding IMEI can be solved, and the IM message sent by the non-mobile terminal also has a global unique identifier.
Step 220: and the IM server generates a global unique identifier corresponding to the IM message based on the target timestamp, the target IMEI and the target bit complementing code.
Specifically, the following two cases are classified:
for the above case 1, when step 220 is executed, the IM server may directly use the first timestamp, the first IMEI, and the first complement code as the target timestamp, the target IMEI, and the target complement code, perform global uniqueness verification on the initial IM identifier based on the target timestamp, the target IMEI, and the target complement code, and use the initial IM identifier as the global unique identifier corresponding to the IM message when the verification is passed.
On the other hand, assuming that the initial IM identifier does not pass the global uniqueness verification, the IM server may update the target bit complementing code to obtain an updated initial IM identifier, and then, the IM server may perform the global uniqueness verification on the initial IM identifier again based on the target timestamp, the target IMEI, and the updated target bit complementing code, and when the verification passes, take the updated initial IM identifier as the global uniqueness identifier corresponding to the IM message.
Therefore, when the global unique identifier which is the same as the initial IM identifier exists, the uniqueness of the global unique identifier can be ensured through the updating transformation of the complementary bit code. Especially, for a plurality of IM messages sent by the same device at the same time, a plurality of globally unique identifications with uniqueness can be generated by more effectively corresponding to each IM message.
For example, assume that the initial IM identifiers carried in the IM messages generated by the two mobile terminals are respectively:
1. 000 … … 010000000000000010000101 corresponds to the first mobile terminal;
2. 000 … … 100000000000000100000010 corresponds to the second mobile terminal.
Assume that 000 … … 010000000000000010000101 is included in the generated historical globally unique identifiers set, while assume that the generated historical globally unique identifiers set does not include 000 … … 100000000000000100000010 and 000 … … 010000000000000010000110.
It is clear that 000 … … 100000000000000100000010 may directly serve as the globally unique identification of the second mobile terminal. And after finding that 000 … … 010000000000000010000101 exists, the IM server updates the complementary bit code in 000 … … 010000000000000010000101 to obtain 000 … … 010000000000000010000110, and after determining that 000 … … 010000000000000010000110 does not exist, the IM server takes 000 … … 010000000000000010000110 as the global unique identifier of the first mobile terminal.
For the above case 2, when executing step 220, the IM server uses the second timestamp as a target timestamp, uses the selected historical IMEI as a target IMEI, uses the new complement code as a target complement code, and generates a globally unique identifier corresponding to the IM message based on the target timestamp, the target IMEI, and the target complement code.
Since the target timestamp, the target IMEI and the target complement code are regenerated by the IM server, the target timestamp, the target IMEI and the target complement code must have global uniqueness, and the global unique identifier corresponding to the IM message can be directly generated without verifying the global uniqueness.
For example, assuming that the target timestamp generated by the system is 00 … … 01, the target IMEI is 000000000000111, and the target complement code is 0000010, the globally unique identifier can be directly generated as:
0 00……01000 000 000 000 111000 0010。
the above embodiments are further described in detail below using three specific application scenarios.
Scene one: and the mobile terminal sends the IM message and generates a global unique identifier corresponding to the IM message.
Referring to fig. 3, it is assumed that the mobile terminal edits two IM messages, which are respectively referred to as a first IM message and a second IM message, and the initial IM identifiers carried by the two IM messages are respectively referred to as an initial IM identifier 1 and an initial IM identifier 2.
After the mobile terminal finishes editing the two IM messages, the mobile terminal sends the two IM messages at the same time, because the two IM messages are sent at the same time, the timestamps in the initial IM identifier 1 and the initial IM identifier 2 are the same, and the two IM messages are both assumed to be 00 … … 11, and because the two IM messages are sent by the same mobile terminal, the values of the IMEI information bits in the initial IM identifier 1 and the initial IM identifier 2 are both not zero and the same, and the assumptions are both: 000000000001000, further, in order to distinguish the two IM messages, the complement code in the initial IM id 1 is 0000001, and the complement code in the initial IM id 2 is 0000010; as can be seen, the initial IM id 1 and the initial IM id 2 can be respectively expressed as:
initial IM identification 1: 000 … … 110000000000010000000001;
initial IM identification 2: 000 … … 110000000000010000000011.
Assuming that the generated historical global unique identifier set is as follows:
{0 00……11 000 000 000 001000 000 000 0;
0 00……11 000 000 000 001000 000 000 1}。
the IM server directly obtains a target timestamp 00 … … 11, a target IMEI 000000000001000 and a target complement bit code 0000001 based on the initial IM identifier 1, and performs global uniqueness verification on the initial IM identifier 1 at the same time to find that the same global unique identifier already exists, so that the target complement bit code is updated to 0000010, forms a new IM identifier with the target timestamp and the target IMEI, performs global uniqueness verification again, and at this time, after verification passes, generates a global unique identifier corresponding to the first IM message:
0 00……11 000 000 000 001000 000 001 0。
at this time, the generated history global unique identifier set is updated as follows:
{0 00……11 000 000 000 001000 000 000 0;
0 00……11 000 000 000 001000 000 000 1;
0 00……11 000 000 000 001000 000 001 0}。
the IM server directly obtains a target timestamp 00 … … 11, a target IMEI 000000000001000, and a target complementary bit code 0000011 based on the initial IM identifier 2, and performs global uniqueness verification on the initial IM identifier 2, and generates a global unique identifier corresponding to the second IM message after the verification is passed:
0 00……11 000 000 000 001000 000 001 1。
at this time, the generated history global unique identifier set is updated as follows:
{0 00……11 000 000 000 001000 000 000 0;
0 00……11 000 000 000 001000 000 000 1;
000……11 000 000 000 001000 000 001 0;
0 00……11 000 000 000 001000 000 001 1}。
scene two: and the non-mobile terminal sends IM messages, selects the history IMEI with the shortest duration between the corresponding second timestamp and the current time from the used history IMEIs to serve as an IMEI method according with the preset condition, generates corresponding target timestamps and target IMEI target position-supplementing codes based on the history IMEIs, and further generates a global unique identifier corresponding to the IM messages.
Referring to fig. 4, it is assumed that a non-mobile terminal sends an IM message, and the initial IM identifier carried in the IM message is:
0 00……100 000 000 000 000000 000 000 0。
assuming that the generated historical global unique identifier set is as follows:
{0 00……01 000 000 000 001001 000 000 0;
0 00……10 000 000 000 001010 000 000 0;
0 00……10000 000 000 001010 000 000 1;
0 00……11 000 000 000 001010 000 001 0;
000 … … 110000000000011001111111 (this globally unique identifier indicates that the complement code corresponding to "00 … … 11+ 000000000001100" has been exhausted, but was not written out of the set due to the excess).
Because the duration between the second timestamp corresponding to 000000000001100 and the current time is the shortest, 000000000001100 is selected as a historical IMEI meeting the preset condition, but the IM server further determines and learns that the complementary bit codes corresponding to the second timestamp and the historical IMEI are used up, and therefore, a new historical IMEI is searched again, where the complementary bit codes corresponding to the second timestamp are not used up; therefore, 000000000001010 is selected as a new history IMEI meeting the preset condition, and the IM server finds, by determining, that the complementary codes corresponding to the second timestamp and the new history IMEI are not used up, and further generates a corresponding second complementary code 0000011. Therefore, 000000000001010 is selected as the target IMEI, 00 … … 10 is selected as the target timestamp, and 0000011 is selected as the target complement code.
Since the target timestamp, the target IMEI, and the target carry code are generated by the IM server, and therefore must have uniqueness, the IM server generates the globally unique identifier corresponding to the IM message based on the target timestamp, the target IMEI, and the target carry code:
000……10 000 000 000 001010 000 001 1。
and updating the generated historical global unique identification set.
Scene three: and the non-mobile terminal sends IM messages, selects the historical IMEI corresponding to the minimum value from the values of the hash data as a historical IMEI method meeting the preset conditions, generates corresponding target time stamps and target IMEI target bit supplementing codes based on the historical IMEI, and further generates a global unique identifier corresponding to the IM messages.
Referring to fig. 5, it is assumed that a non-mobile terminal sends an IM message, and the initial IM identifier carried in the IM message is:
0 00……101 000 000 000 000000 000 000 0。
assuming that the preset hash data set is: {1,3,5,7,11,13,17}.
Assuming the value of each hash data in the hash data set, representing the total number of the generated bit-complementing codes corresponding to each historical IMEI and the corresponding second timestamp; namely, the hash data with the value of 1 represents that the total number of the generated bit complementing codes corresponding to one history IMEI and the corresponding second timestamp is 1; and the hash data with the value of 3 represents that the total number of the generated bit complementing codes corresponding to one historical IMEI and the corresponding second timestamp is 3, and so on.
The IM server selects the values of the hash data, takes the historical IMEI represented by the hash value corresponding to the minimum value 1, and assumes the historical IMEI as one historical IMEI meeting the preset conditions; assuming the historical IMEI is: 000000000001111, and assuming that the historical IMEI corresponds to a second timestamp of: 00 … … 111.
Further, it is necessary to determine whether the number of complementary bit codes generated corresponding to "000000000001111 +00 … … 111" reaches 128? Since the number of generated complementary bit codes corresponding to "000000000001111 +00 … … 111" is 1, obviously, 128 is not reached, that is, the above history IMEI is not used up, then, new complementary bit codes corresponding to "000000000001111 +00 … … 111" can be continuously generated, assuming that the newly generated complementary bit codes are 0000001.
Finally 000000000001111 is taken as the target IMEI, the second timestamp 00 … … 111 is taken as the target timestamp, and the newly generated complementary bit code 0000001 is taken as the target complementary bit code.
Since the target timestamp, the target IMEI, and the target carry code are generated by the IM server, and therefore must have uniqueness, the IM server generates the globally unique identifier corresponding to the IM message based on the target timestamp, the target IMEI, and the target carry code:
0 00……111 000 000 000 001111 000 000 1。
and updating the preset hash data set.
Based on the same inventive concept, referring to fig. 6, an embodiment of the present application further provides an apparatus for generating IM identification information, including:
a receiving unit 610, configured to receive an IM message sent by a user terminal, where the IM message at least carries an initial IM identifier;
a processing unit 620, configured to obtain, based on the initial IM identifier, a target timestamp, a target IMEI, and a target bit-complementing code corresponding to the IM message, where the target bit-complementing code includes a set number of bits and is used to distinguish IM messages generated in the same time unit;
a generating unit 630, configured to generate a globally unique identifier corresponding to the IM message based on the target timestamp, the target IMEI, and the target bit-filling code.
Optionally, if an IMEI information bit included in the IM message is not zero, based on the initial IM identifier, a target timestamp, a target IMEI, and a target complementary bit code corresponding to the IM message are obtained, where the processing unit 620 is configured to:
and directly reading a first timestamp, a first IMEI and a first position complementing code carried by the user terminal in the IM message from the IM message as a target timestamp, a target IMEI and a target position complementing code corresponding to the IM message.
Optionally, based on the target timestamp, the target IMEI and the target complementary bit code, a globally unique identifier corresponding to the IM message is generated, and the generating unit 630 is configured to:
and performing global uniqueness verification on the initial IM identification based on the target timestamp, the target IMEI and the target carry-over code, and taking the initial IM identification as a global unique identification corresponding to the IM message when the verification is passed.
Optionally, the generating unit 630 is further configured to:
and when the verification fails, updating the target position supplementing code to obtain an updated initial IM identifier, performing global uniqueness verification on the initial IM identifier based on the target timestamp, the target IMEI and the updated target position supplementing code, and when the verification passes, taking the updated initial IM identifier as a global unique identifier corresponding to the IM message.
Optionally, if an IMEI information bit included in the IM message is zero, based on the initial IM identifier, a target timestamp, a target IMEI, and a target complementary bit code corresponding to the IM message are obtained, where the processing unit 620 is configured to:
selecting one historical IMEI meeting preset conditions from the used historical IMEIs, and obtaining a second time stamp corresponding to the historical IMEI;
generating a new position supplementing code corresponding to the second timestamp and the historical IMEI when the total number of the historical position supplementing codes set corresponding to the second timestamp and the historical IMEI does not reach a preset threshold value;
taking the second timestamp as a target timestamp, the selected historical IMEI as a target IMEI, and the new complement code as a target complement code.
Optionally, based on the target timestamp, the target IMEI and the target complementary bit code, a globally unique identifier corresponding to the IM message is generated, and the generating unit 630 is configured to:
and generating a corresponding global unique identifier by combining the initial IM identifier based on the target timestamp, the target IMEI and the target bit-filling code.
Optionally, a historical IMEI meeting a preset condition is selected from the used historical IMEIs, and the processing unit 620 is configured to:
and selecting the historical IMEI with the shortest duration between the corresponding second timestamp and the current time from the used historical IMEIs to serve as the historical IMEI meeting the preset condition.
Optionally, a historical IMEI meeting a preset condition is selected from the used historical IMEIs, and the processing unit 620 is configured to:
acquiring a preset hash data set, wherein identification information of one hash data is a hash value obtained after a historical IMEI is subjected to hash function processing, and a value representation of the one hash data represents a total number of generated complement numbers corresponding to the historical IMEI and a corresponding second timestamp;
and selecting the historical IMEI corresponding to the minimum value from the values of the hash data as the historical IMEI meeting the preset condition.
Based on the same inventive concept, referring to fig. 7, an embodiment of the present disclosure provides a network device, including: a memory 701 for storing executable instructions; a processor 702 configured to read and execute executable instructions stored in a memory, and perform any one of the methods of the first aspect.
The processor 702 generally controls overall operation of the network device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The memory 701 is configured to store various types of data to support operations at the electronic device 700. Examples of such data include instructions for any application or method operating on network device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 701 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Based on the same inventive concept, the disclosed embodiments provide a computer-readable storage medium, wherein when instructions of the computer-readable storage medium are executed by a processor, the computer-readable storage medium can perform any one of the methods performed by the IM server in the above embodiments.
Based on the same inventive concept, the disclosed embodiments provide a computer program product comprising executable instructions, which when executed by a processor, can implement any one of the methods performed by the IM server in the embodiments described above.
Based on the same inventive concept, the disclosed embodiments provide a computer program product comprising executable instructions, which when executed by a processor, can implement any one of the methods performed by the IM server as in the above embodiments.
In summary, after receiving an IM message carrying an initial IM identifier sent by a user terminal, an IM server obtains, based on the initial IM identifier, a target timestamp, a target IMEI, and a target bit-complementing code corresponding to the IM message, where the bit-complementing code includes a set number of bits for distinguishing IM messages generated in the same time unit; and the IM server generates a global unique identifier corresponding to the IM message based on the target timestamp, the target IMEI and the target bit complementing code. The time sequence of the generated global unique identifier can be ensured by adopting the timestamp, a local database is not required to be moved in a large quantity, the generation efficiency of the global unique identifier is fully improved, and the uniqueness of the global unique identifier is fully ensured by adopting the IMEI and the complementary bit code, so that the global unique identifier can be quickly and accurately generated aiming at massive IM messages generated by a mobile terminal and a non-mobile terminal, and the service performance of an IM system is improved.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure 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 so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. 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.
While preferred embodiments of the present disclosure have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the disclosure.
It will be apparent to those skilled in the art that various changes and modifications may be made to the disclosed embodiments without departing from the spirit and scope of the disclosed embodiments. Thus, if such modifications and variations of the embodiments of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to encompass such modifications and variations.

Claims (10)

1. A method for generating instant messaging identification information, comprising:
receiving an instant messaging message sent by a user terminal, wherein the instant messaging message at least carries an initial instant messaging identifier;
based on the initial instant messaging identifier, obtaining a target timestamp, a target international mobile equipment identification code and a target bit supplementing code corresponding to the instant messaging message, wherein the target bit supplementing code comprises a set bit number and is used for distinguishing instant messaging messages generated in the same time unit;
and generating a global unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identification code and the target bit supplementing code.
2. The method of claim 1, wherein if an international mobile equipment identity information bit included in the instant messaging message is not zero, obtaining a target timestamp, a target international mobile equipment identity and a target complement bit code corresponding to the instant messaging message based on the initial instant messaging identifier comprises:
and directly reading a first timestamp, a first international mobile equipment identification code and a first bit-filling code carried by the user terminal in the instant messaging message from the instant messaging message as a target timestamp, a target international mobile equipment identification code and a target bit-filling code corresponding to the instant messaging message.
3. The method of claim 2, wherein generating the globally unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identity, and the target complement code comprises:
and carrying out global uniqueness verification on the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the target position supplementing code, and taking the initial instant messaging identifier as a global unique identifier corresponding to the instant messaging message when the verification is passed.
4. The method of claim 3, further comprising:
and when the verification fails, updating the target position supplementing code to obtain an updated initial instant messaging identifier, performing global uniqueness verification on the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the updated target position supplementing code, and taking the updated initial instant messaging identifier as a global unique identifier corresponding to the instant messaging message when the verification passes.
5. The method according to any one of claims 1 to 4, wherein if the international mobile equipment identity information bit contained in the instant messaging message is zero, obtaining the target timestamp, the target international mobile equipment identity and the target complement bit code corresponding to the instant messaging message based on the initial instant messaging identifier comprises:
selecting a historical international mobile equipment identification code meeting a preset condition from used historical international mobile equipment identification codes, and obtaining a second timestamp corresponding to the historical international mobile equipment identification code;
generating a new bit supplementing code corresponding to the second timestamp and the historical international mobile equipment identification code when the total number of the historical bit supplementing codes which are set corresponding to the second timestamp and the historical international mobile equipment identification code does not reach a preset threshold value;
taking the second timestamp as a target timestamp, the selected historical international mobile equipment identification code as a target international mobile equipment identification code, and the new bit complement code as a target bit complement code.
6. The method of claim 5, wherein generating the globally unique identifier corresponding to the instant messaging message based on the target timestamp, the target international mobile equipment identity, and the target complement code comprises:
and generating a corresponding global unique identifier by combining the initial instant messaging identifier based on the target timestamp, the target international mobile equipment identification code and the target position supplementing code.
7. The method of claim 5, wherein selecting one historical international mobile equipment identity meeting a predetermined condition from among the historical international mobile equipment identities that have been used comprises:
and selecting the historical international mobile equipment identification code with the shortest duration between the corresponding second timestamp and the current time from the used historical international mobile equipment identification codes as one historical international mobile equipment identification code meeting the preset condition.
8. The method of claim 5, wherein selecting one historical international mobile equipment identity meeting a predetermined condition from among the historical international mobile equipment identities that have been used comprises:
acquiring a preset hash data set, wherein identification information of one hash data is a hash value obtained after a historical international mobile equipment identification code is subjected to hash function processing, and a value representation of the one hash data represents the total number of generated bit supplementing codes corresponding to the historical international mobile equipment identification code and a corresponding second timestamp;
and selecting the historical international mobile equipment identification code corresponding to the minimum value from the values of the hash data as one historical international mobile equipment identification code meeting the preset condition.
9. An instant messaging server, comprising:
a memory for storing executable instructions;
a processor for reading and executing executable instructions stored in the memory to perform the method of any one of claims 1-8.
10. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor, enable the processor to perform the method of any of claims 1-8.
CN202011010596.5A 2020-09-23 2020-09-23 Method and device for generating instant messaging identification information Active CN112202662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011010596.5A CN112202662B (en) 2020-09-23 2020-09-23 Method and device for generating instant messaging identification information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011010596.5A CN112202662B (en) 2020-09-23 2020-09-23 Method and device for generating instant messaging identification information

Publications (2)

Publication Number Publication Date
CN112202662A true CN112202662A (en) 2021-01-08
CN112202662B CN112202662B (en) 2022-11-08

Family

ID=74014482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011010596.5A Active CN112202662B (en) 2020-09-23 2020-09-23 Method and device for generating instant messaging identification information

Country Status (1)

Country Link
CN (1) CN112202662B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769667A (en) * 2012-06-29 2012-11-07 北京奇虎科技有限公司 Method, equipment and system for generating ID
CN103222288A (en) * 2012-11-15 2013-07-24 华为技术有限公司 Processing method and network equipment of international mobile equipment identification information IMEI
CN103905438A (en) * 2014-03-21 2014-07-02 珠海市君天电子科技有限公司 Identification code processing method, identification code transmission method, client side, server and system
CN104811931A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 System and method for distributing unique identifiers of mobile terminals
CN107800819A (en) * 2017-11-17 2018-03-13 深圳市泉眼网络科技有限公司 A kind of generation method of file identification, device and server
CN109525949A (en) * 2017-09-19 2019-03-26 海通证券股份有限公司 Register method and device, storage medium, server, user terminal
CN109697133A (en) * 2018-12-28 2019-04-30 广州华多网络科技有限公司 ID generation method, apparatus and system
CN110196860A (en) * 2018-04-12 2019-09-03 腾讯科技(深圳)有限公司 Unique identification distribution method and device, electronic equipment, storage medium
CN111291424A (en) * 2020-02-19 2020-06-16 望海康信(北京)科技股份公司 Identification number generation method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769667A (en) * 2012-06-29 2012-11-07 北京奇虎科技有限公司 Method, equipment and system for generating ID
CN103222288A (en) * 2012-11-15 2013-07-24 华为技术有限公司 Processing method and network equipment of international mobile equipment identification information IMEI
CN104811931A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 System and method for distributing unique identifiers of mobile terminals
CN103905438A (en) * 2014-03-21 2014-07-02 珠海市君天电子科技有限公司 Identification code processing method, identification code transmission method, client side, server and system
CN109525949A (en) * 2017-09-19 2019-03-26 海通证券股份有限公司 Register method and device, storage medium, server, user terminal
CN107800819A (en) * 2017-11-17 2018-03-13 深圳市泉眼网络科技有限公司 A kind of generation method of file identification, device and server
CN110196860A (en) * 2018-04-12 2019-09-03 腾讯科技(深圳)有限公司 Unique identification distribution method and device, electronic equipment, storage medium
CN109697133A (en) * 2018-12-28 2019-04-30 广州华多网络科技有限公司 ID generation method, apparatus and system
CN111291424A (en) * 2020-02-19 2020-06-16 望海康信(北京)科技股份公司 Identification number generation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112202662B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
CN109726202B (en) Block chain data storage method and computer storage medium
CN107516038B (en) Method and device for determining device fingerprint
US11269902B2 (en) Time series data management method, device, and apparatus
CN110287688B (en) Associated account analysis method and device and computer-readable storage medium
CN105337941A (en) Method and device for providing device identifier
CN102932336B (en) Terminal iidentification method and apparatus
CN109697109B (en) Method, system, device and storage medium for distinguishing and identifying conflict virtual machines
CN109756382B (en) Fault positioning method and device
CN111400267B (en) Method and device for recording logs
CN111083179A (en) Internet of things cloud platform, and equipment interaction method and device based on same
CN104639550A (en) User identification method and equipment
CN108616361A (en) A kind of method and device of identification equipment uniqueness
CN105224541A (en) The uniqueness control method of data, information storage means and device
CN112202662B (en) Method and device for generating instant messaging identification information
CN112181830B (en) Memory leak detection method, device, terminal and medium
CN107547378B (en) VPN route learning method and device
CN110780944A (en) Application permission starting method and device and machine-readable storage medium
CN115242872B (en) Data processing method, device, computer equipment and readable storage medium
CN108632125B (en) Multicast table item management method, device, equipment and machine readable storage medium
CN113608856A (en) Node scheduling method, system and device
CN111371818B (en) Data request verification method, device and equipment
CN113986315A (en) Software upgrading method and device, electronic equipment and computer readable storage medium
CN114844658A (en) Method, device and storage medium for determining home source address
CN111667190A (en) Electric power construction grounding monitoring method and device and server
CN113055922B (en) Data identification method, data management and control method and network management system thereof

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
GR01 Patent grant
GR01 Patent grant