A method and device for identifying uniqueness of a device

By generating and comparing the token corresponding to the device fingerprint, the problem of whether the device fingerprint has been tampered with is solved, the unique identification of the device is ensured, and the device fingerprint is prevented from being stolen.

CN114745133BActive Publication Date: 2024-09-17HANGZHOU ANT JUHUI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210362495.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-03-27
Publication Date
2024-09-17
Estimated Expiration
2038-03-27

AI Technical Summary

Technical Problem

The existing technology is difficult to identify whether the device fingerprint has been tampered with, resulting in the inability to determine the uniqueness of the device.

Method used

By pre-randomly generating a token corresponding to the terminal's device fingerprint and sending it to the terminal for storage, after receiving the device fingerprint and token sent by the terminal, the corresponding relationship is found from the generated tokens and compared to determine Uniqueness of device fingerprint.

Benefits of technology

It effectively solves the problem of whether the device fingerprint has been tampered with, ensures the unique identification of the device, and prevents non-unique identification when the device fingerprint is stolen or tampered with.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114745133B
    Figure CN114745133B
Patent Text Reader

Abstract

The present application discloses a method and apparatus for identifying the uniqueness of a device. A token corresponding to a device fingerprint of a terminal is generated in advance in a random manner and sent to the terminal. Afterwards, when the device fingerprint and token sent by the terminal are received, the token corresponding to the device fingerprint can be searched from the generated tokens. Finally, by comparing the found token with the token sent by the terminal to see if they are consistent, it is determined whether the device fingerprint is unique.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to a method and apparatus for identifying the uniqueness of a device. Background Art

[0002] Device Fingerprinting refers to the device characteristics or unique device identification that can be used to uniquely identify a device.

[0003] Traditional device fingerprints mainly refer to inherent, difficult to tamper with, and unique hardware identification. For example, the International Mobile Equipment Identity (IMEI) is a globally unique code assigned by the manufacturer to a mobile phone during the production process, or the MAC address assigned to a computer network card during the production process, etc.

[0004] In the prior art, device fingerprints are of great significance in the execution of business (especially business in the field of risk control) due to the characteristics of being difficult to tamper with, fixed and unique. For example, when multiple accounts have a history of logging in on a device with the same device fingerprint, it is considered that the multiple accounts are likely to be junk accounts (i.e., multiple "small accounts" held by the same user), or risk control can be performed based on device fingerprints in the field of risk control, etc. These are all common business scenarios that use device fingerprints.

[0005] However, with the continuous advancement of technology, some methods that can tamper with device fingerprints have gradually emerged. This makes it urgent to solve the problem of how to determine whether the device fingerprint of a device has been tampered with (that is, whether the uniqueness of the device fingerprint exists). Therefore, the present application provides a new device identification method for identifying the uniqueness of a device fingerprint. Summary of the invention

[0006] The embodiments of this specification provide a method and apparatus for identifying the uniqueness of a device, which are used to solve the problem that it is difficult to identify a tampered device fingerprint in the prior art and it is difficult to uniquely determine a device based on the device fingerprint.

[0007] The embodiments of this specification adopt the following technical solutions:

[0008] A method for identifying the uniqueness of a device, pre-randomly generating a token corresponding to a device fingerprint of a terminal, and sending the token to the terminal for storage, comprising:

[0009] Receiving the device fingerprint and token sent by the terminal;

[0010] Searching for a token corresponding to the device fingerprint from among the tokens that have been generated;

[0011] The token found is compared with the token sent by the terminal to see if they are consistent, and whether the device fingerprint is unique is determined based on the comparison result.

[0012] A device for identifying uniqueness of a device, comprising:

[0013] A generation module randomly generates a token corresponding to the device fingerprint of the terminal in advance, and sends the token to the terminal for storage;

[0014] A receiving module, receiving the device fingerprint and token sent by the terminal;

[0015] A search module searches for a token corresponding to the device fingerprint from among the tokens that have been generated;

[0016] The identification module compares the token found out with the token sent by the terminal to see if they are consistent, and determines whether the device fingerprint is unique based on the comparison result.

[0017] A server, wherein the server comprises: one or more processors and a memory, wherein the memory stores a program and is configured to execute the following steps by the one or more processors:

[0018] Pre-randomly generate a token corresponding to the device fingerprint of the terminal, and send the token to the terminal for storage;

[0019] Receiving the device fingerprint and token sent by the terminal;

[0020] Searching for a token corresponding to the device fingerprint from among the tokens that have been generated;

[0021] The token found is compared with the token sent by the terminal to see if they are consistent, and whether the device fingerprint is unique is determined based on the comparison result.

[0022] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0023] Through the method and device provided in this specification, a token corresponding to the device fingerprint of the terminal is generated in advance in a random manner and sent to the terminal for storage. After that, when the device fingerprint and token sent by the terminal are received, the token corresponding to the device fingerprint can be found from the tokens that have been generated. Finally, by comparing whether the token found is consistent with the token sent by the terminal, it is determined whether the device fingerprint is unique. Since a token corresponding to the device fingerprint of the terminal can be randomly generated and sent to the terminal for storage, when the device fingerprint of the terminal is tampered with or stolen, the thief does not have the token, and can determine whether the device fingerprint is unique based on the correspondence between the stored device fingerprint and the token. This allows the uniqueness of the device fingerprint to be determined by the comparison results between tokens, solving the problem of being unable to determine whether the device fingerprint has been tampered with. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0025] Figure 1 A process for identifying the uniqueness of a device provided in the embodiments of this specification;

[0026] Figure 2 The process of updating the token corresponding to the device fingerprint provided in this manual;

[0027] Figure 3 A schematic diagram for identifying the uniqueness of a device fingerprint is provided for the embodiments of this specification;

[0028] Figure 4 A schematic diagram of the structure of a device for identifying the uniqueness of a device provided in an embodiment of this specification;

[0029] Figure 5 A schematic diagram of the structure of a server provided in an embodiment of this specification. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this application will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in the specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0031] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0032] Figure 1A process for identifying the uniqueness of a device provided in the embodiment of the specification may specifically include the following steps:

[0033] S100: Receive a device fingerprint and a token sent by the terminal.

[0034] Since the server usually needs to determine the device fingerprint of the terminal, in order to identify the uniqueness of the device fingerprint, the server can pre-generate a token corresponding to the device fingerprint of the terminal and send the token to the terminal. In this way, the server can subsequently determine the uniqueness of the device fingerprint based on the device fingerprint and the token sent by the terminal.

[0035] Specifically, when determining that a token corresponding to the device fingerprint of the terminal has not been generated, the server may randomly generate a token as the token corresponding to the device fingerprint, and send the token to the terminal. The server may store the device fingerprint, the token, and the corresponding relationship between the device fingerprint and the token.

[0036] This specification does not limit when the server determines whether a token corresponding to the device fingerprint of the terminal has been generated. For example, the device fingerprint of the terminal is obtained and judged when the user logs in to the account, or the device fingerprint of the terminal is obtained and judged when the user registers the account, or the device fingerprint of the terminal is obtained and judged when the user performs the business, etc.

[0037] Furthermore, in this specification, after the server sends the generated token to the terminal, it can determine to execute the subsequent steps provided in this specification upon receiving the device fingerprint and token sent by the terminal.

[0038] Furthermore, in this specification, the server can be a single device, or a system composed of multiple servers (such as a distributed server), and the terminal can be a mobile phone, a personal computer, a tablet computer and other devices, which is not limited in this specification.

[0039] In addition, the device fingerprint and token can be actively sent by the terminal to the server, or can be returned by the terminal based on the inquiry information sent by the server. This manual does not limit this and can be set up as needed, as long as the server can receive the device fingerprint and token sent by the terminal and continue to execute subsequent steps.

[0040] For example, in order to reduce the slow business response caused by determining the device fingerprint before executing the business, it can be configured to send the device fingerprint and token to the server when the terminal detects an account login.

[0041] In this specification, the device fingerprint and token may be sent to the server by a program (such as a client) installed in the terminal, and the program may be provided by the server.

[0042] S102: Searching for a token corresponding to the device fingerprint from among the tokens that have been generated.

[0043] In this specification, since the terminal in step S100 sends a token to the server, the server can search for a token corresponding to the device fingerprint from the tokens that have been generated, so that in subsequent steps, by comparing the token sent by the terminal and the token found, whether they are consistent, it can be determined whether the device fingerprint is unique.

[0044] Specifically, as described in step S100, after generating the token, the server may store the device fingerprint, the token, and the corresponding relationship between the device fingerprint and the token. Therefore, the server may first determine the device fingerprint that matches the device fingerprint of the terminal among the stored device fingerprints.

[0045] Afterwards, based on the stored correspondence between each device fingerprint and each token, the token corresponding to the matched device fingerprint is determined as the token corresponding to the device fingerprint of the terminal that has been found.

[0046] S104: Compare the token found and the token sent by the terminal to see if they are consistent, and determine whether the device fingerprint is unique based on the comparison result.

[0047] In this specification, after finding the token, the server can compare the found token with the token sent by the terminal to see if they are consistent. If the comparison result is consistent, the device fingerprint is determined to be unique. If the comparison result is inconsistent, the device fingerprint is determined to be not unique.

[0048] based on Figure 1 In the process of identifying the uniqueness of a device shown, since the server will randomly generate a token corresponding to the device fingerprint of each terminal in advance and send it to the terminal, only one terminal can obtain the token corresponding to the device fingerprint. It can be seen that when a terminal tampers with its own device fingerprint to impersonate another terminal, since the terminal cannot obtain the token corresponding to the device fingerprint of the other terminal sent by the server, it can be identified by the server that the impersonated device fingerprint is not unique, which solves the problem that the prior art cannot identify whether the device fingerprint has been tampered with.

[0049] In addition, device fingerprints can be divided into multiple types according to the way they are generated or the information they contain. For example, the traditional method is to directly use device information (such as IMEI, MAC address, etc.) as the device fingerprint, or to generate device fingerprints based on preset fingerprint generation rules and device information of multiple dimensions, or to determine the device fingerprint using the information of each layer of the network seven-layer protocol (Open System Interconnection, OSI) stack sent by the terminal, and so on.

[0050] In step S100 of the present specification, there is no limitation on how to determine the device fingerprint, and the device fingerprint can be set according to specific needs.

[0051] Furthermore, since the server can also generate a device fingerprint based on the device information and the fingerprint generation rule, in step S100 of this specification, the server can also receive the device information sent by the terminal, and determine the device fingerprint of the terminal based on the preset fingerprint generation rule and the device information as the device fingerprint sent by the terminal. Of course, this specification does not limit the specific device information, as long as the server can determine the device fingerprint based on the device information, it can be set as needed.

[0052] For example, when the server determines the device fingerprint based on the IMEI and MAC address, the program that sends the device fingerprint and the token to the server can obtain the IMEI and network card MAC address of the terminal and send them to the server.

[0053] Of course, it should be noted that this application does not make any specific restrictions on the fingerprint generation rule, and it can be set as needed. For example, assuming that the preset fingerprint generation rule is to hash and encrypt the combination of each device information, the reported information carries: IMEI information (such as 355637052277589) and MAC address (such as 00-01-6C-06-A6-29). The server can determine that the combination of device information is "35563705227758900-01-6C-06-A6-29", and perform hash256 encryption to obtain the device fingerprint as "c3337dff7cf0a445f54efa064343e0191441c57ea75897dc5c12e0a9f2bbea03".

[0054] In addition, in this specification, when the server determines that a token corresponding to the device fingerprint of the terminal has not been generated, it means that the token has not been issued to the terminal. Therefore, if the terminal does not send a token when sending a device instruction to the server at this time, the server can temporarily determine that the device fingerprint is unique.

[0055] Furthermore, after the server issues a token to the terminal, there is still a possibility that the token obtained by the terminal and the device fingerprint of the terminal are stolen. Therefore, in order to prevent the token and the device fingerprint from being stolen together, resulting in a decrease in recognition accuracy. In this specification, after the server executes step S104, it can also update the token corresponding to the device fingerprint and reissue it to the terminal, such as Figure 2 shown.

[0056] Figure 2 The process of updating the token corresponding to the device fingerprint provided in this manual.

[0057] S200: Re-randomly generate a token.

[0058] S202: replacing the found correspondence between the token and the device fingerprint with the regenerated correspondence between the token and the device fingerprint;

[0059] S204: re-issuing the regenerated token to the terminal so that the terminal replaces the stored token with the regenerated token.

[0060] Specifically, as described in step S100, the server may pre-randomly generate a token corresponding to the device fingerprint. When the server updates the token, it may first regenerate a new token in the same random generation manner. Then, the token corresponding to the device fingerprint of the terminal in the stored correspondence between the device fingerprint and the token is replaced with the regenerated token. In addition, the server may also send the regenerated new token to the terminal for storage, so that the terminal replaces the stored token with the regenerated token.

[0061] In this specification, the process of updating the token and the process of determining whether the device fingerprint is unique in step S104 can be performed asynchronously, so that no matter whether the server determines that the device fingerprint is unique, only one terminal can obtain the correct token. Therefore, even when the device fingerprint of the terminal is stolen together with the token, the stolen terminal is unaware of the theft, so that the token it sends is not updated, so that the server determines that the device fingerprint is not unique.

[0062] For ease of understanding, this manual also provides a schematic diagram for identifying the uniqueness of a device fingerprint, such as Figure 3 shown.

[0063] exist Figure 3 In the figure, the left side shows the communication between the device and the server, and the right side shows the correspondence between the device fingerprint and the token stored by the server at different times. Device A and device B use the same device fingerprint x.

[0064] Assuming that the server first receives the device fingerprint x sent by device A, it can be determined that no token corresponding to the device fingerprint x has been generated, so the server can temporarily determine that the device fingerprint x is unique. Then, the server can randomly generate token 1, create a corresponding relationship between device fingerprint x and token 1, and return the randomly generated token 1, so that device A can store token 1.

[0065] Since device B has not received token 1 sent by the server, device B can only send device fingerprint x to the server. The server can determine that the token corresponding to device fingerprint x is token 1, and device B has not sent the token, so it can be determined that device fingerprint x is not unique. After that, the server can randomly generate token 2 again and return it to device B, so that device B stores token 2 and updates the corresponding relationship between device fingerprint x and token 1 to the corresponding relationship between device fingerprint x and token 2.

[0066] Afterwards, assume that device A sends device fingerprint x and token 1 again. The server can determine that the token sent by device A (i.e., token 1) is inconsistent with the token found (i.e., token 2), and determines that device fingerprint x is not unique. Afterwards, randomly generate token 3 again and return it to device A for storage, and update the correspondence between device fingerprint x and token 2 to the correspondence between device fingerprint x and token 3.

[0067] This is repeated, and it can be seen that when the device fingerprint is applied to multiple terminals, even if a terminal obtains the correct device fingerprint and token, the token will become invalid after other devices send the device fingerprint to the server. Therefore, when the terminal sends its stored token and device fingerprint to the server, the server can determine that the device fingerprint is not unique.

[0068] Furthermore, in this specification, since the fingerprint generation rules are the private data of the server, in order to reduce the possibility of the device fingerprint generation rules being cracked, the server may not send the device fingerprint to the terminal after generating it. Then, the terminal may carry the device information required for the server to generate the device fingerprint (without carrying the device fingerprint generated by the server) in the reporting information sent for the first time or subsequently.

[0069] It should be noted that the execution subject of each step of the method provided in the embodiment of this specification can be the same device, or the method can be executed by different devices. For example, the execution subject of step S100 and step S102 can be device 1, and the execution subject of step S102 can be device 2; or, the execution subject of step S100 can be device 1, and the execution subject of step S102 and step S104 can be device 2; and so on. The above describes a specific embodiment of this specification. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiment and still achieve the desired results. In addition, the process depicted in the drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0070] based on Figure 1 The method for identifying the uniqueness of a device shown in the embodiment of the present specification also provides a device for identifying the uniqueness of a device, such as Figure 4 shown.

[0071] Figure 4 A schematic diagram of a structure of a device for identifying the uniqueness of a device provided in an embodiment of this specification, the device comprising:

[0072] The generation module 200 randomly generates a token corresponding to the device fingerprint of the terminal in advance, and sends the token to the terminal for storage.

[0073] Receiving module 202, receiving the device fingerprint and token sent by the terminal;

[0074] A search module 204 searches for a token corresponding to the device fingerprint from among the tokens that have been generated;

[0075] The identification module 206 compares the token found out with the token sent by the terminal to see if they are consistent, and determines whether the device fingerprint is unique based on the comparison result.

[0076] The receiving module 202 receives the device information sent by the terminal, and determines the device fingerprint of the terminal according to a preset fingerprint generation rule and the device information as the device fingerprint sent by the terminal.

[0077] When receiving the device fingerprint sent by the terminal but not receiving the token sent by the terminal, the generating module 200 randomly generates a token as a token corresponding to the device fingerprint, and sends the token to the terminal for storage.

[0078] The identification module 206 determines that the device fingerprint is unique when the comparison result is consistent, and determines that the device fingerprint is not unique when the comparison result is inconsistent.

[0079] The device also includes:

[0080] The update module 208 regenerates the token randomly, replaces the correspondence between the found token and the device fingerprint with the correspondence between the regenerated token and the device fingerprint, and re-sends the regenerated token to the terminal so that the terminal replaces the stored token with the regenerated token.

[0081] based on Figure 1 The method for identifying the uniqueness of a device, this specification provides a server, such as Figure 5 As shown, the server includes: one or more processors and a memory, the memory stores a program, and is configured to execute the following steps by one or more processors:

[0082] The server randomly generates a token corresponding to the device fingerprint of the terminal in advance, and sends the token to the terminal for storage;

[0083] Receiving a device fingerprint and a token sent by the terminal;

[0084] Searching for a token corresponding to the device fingerprint from among the tokens that have been generated;

[0085] The token found is compared with the token sent by the terminal to see if they are consistent, and whether the device fingerprint is unique is determined based on the comparison result.

[0086] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0087] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0088] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0089] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0090] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0091] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0092] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0093] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0094] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0095] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0096] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0097] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0099] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0100] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0101] The above is only the embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for identifying the uniqueness of a device, include: After determining that the device fingerprint sent by the terminal is not unique or determining that the device fingerprint sent by the terminal is unique, generating a new token for the device fingerprint; The device fingerprint is not unique or the device fingerprint is unique and is a result of comparing the token found by the server with the token sent by the terminal; the token found by the server is a token determined according to the corresponding relationship between the device fingerprint and the token; Replacing the token corresponding to the device fingerprint with the new token; sending the new token to the terminal; The terminal is used to verify the uniqueness of the device fingerprint using the new token and the device fingerprint.

2. The method according to claim 1, before generating a new token for the device fingerprint, further comprising: include: Receiving the device fingerprint and token sent by the terminal; Searching for a token corresponding to the device fingerprint from among the tokens that have been generated; Compare the token found and the token sent by the terminal to see if they are consistent, and obtain a comparison result; If the comparison result indicates that the found token is inconsistent with the token sent by the terminal, it is determined that the device fingerprint is not unique.

3. The method according to claim 2, wherein the token found by comparison is consistent with the token sent by the terminal, and after obtaining the comparison result, further include: If the comparison result indicates that the found token is consistent with the token sent by the terminal, it is determined that the device fingerprint is unique.

4. The method according to claim 1, before generating a new token for the device fingerprint, further comprising: include: Receiving the device fingerprint sent by the terminal; Searching for a token corresponding to the device fingerprint from among the tokens that have been generated; If a token having a corresponding relationship with the device fingerprint is found and the token sent by the terminal is not received, it is determined that the device fingerprint is not unique.

5. The method according to claim 4, after searching for a token corresponding to the device fingerprint, further comprising: include: If it is determined that no token having a corresponding relationship with the device fingerprint has been generated, then the device fingerprint is determined to be unique; Generating a token corresponding to the device fingerprint; The token corresponding to the device fingerprint is sent to the terminal.

6. The method according to any one of claims 2 to 5, wherein the receiving the device fingerprint sent by the terminal comprises: include: Receiving device information sent by the terminal to obtain a device fingerprint of the terminal; or, Receiving device information sent by the terminal; Determine the device fingerprint of the terminal according to a preset fingerprint generation rule and the device information; or, The device fingerprint of the terminal is determined according to the information of each layer of the seven-layer network protocol stack sent by the terminal.

7. According to the method described in any one of claims 1-5, the token corresponding to the device fingerprint is a token randomly generated using a preset random generation method; and the new token is a token randomly generated using the preset random generation method.

8. The method according to claim 1, further comprising: include: Receiving the device fingerprint and the new token sent by the terminal; Searching for a token corresponding to the device fingerprint from among the tokens that have been generated; Compare the token found and the new token sent by the terminal to see if they are consistent; If the token found is inconsistent with the new token sent by the terminal, it is determined that the device fingerprint is not unique; If the token found is consistent with the new token sent by the terminal, it is determined that the device fingerprint is unique.

9. A device for identifying the uniqueness of a device, include: An updating module, configured to generate a new token for the device fingerprint after determining that the device fingerprint sent by the terminal is not unique or determining that the device fingerprint sent by the terminal is unique; The device fingerprint is not unique or the device fingerprint is unique and is a result of comparing the token found by the server with the token sent by the terminal; the token found by the server is a token determined according to the corresponding relationship between the device fingerprint and the token; Replacing the token corresponding to the device fingerprint with the new token; sending the new token to the terminal; The terminal is used to verify the uniqueness of the device fingerprint using the new token and the device fingerprint.

10. The device according to claim 9, further comprising: include: A receiving module, used for receiving the device fingerprint and token sent by the terminal; A search module, used to search for a token having a corresponding relationship with the device fingerprint from among the tokens that have been generated; An identification module is used to compare whether the token found is consistent with the token sent by the terminal to obtain a comparison result; If the comparison result indicates that the found token is inconsistent with the token sent by the terminal, it is determined that the device fingerprint is not unique.

11. The device according to claim 10, wherein the identification module is further used for: If the comparison result indicates that the found token is consistent with the token sent by the terminal, it is determined that the device fingerprint is unique.

12. The device according to claim 9, further comprising: include: A receiving module, used for receiving the device fingerprint sent by the terminal; A search module, used to search for a token having a corresponding relationship with the device fingerprint from among the tokens that have been generated; The identification module is used to determine that the device fingerprint is not unique if a token having a corresponding relationship with the device fingerprint is found and the token sent by the terminal is not received.

13. The device according to claim 12, further comprising: include: A generating module, configured to determine that the device fingerprint is unique if it is determined that a token having a corresponding relationship with the device fingerprint has not been generated; Generating a token corresponding to the device fingerprint; The token corresponding to the device fingerprint is sent to the terminal.

14. The device according to any one of claims 10 to 13, wherein the receiving module is specifically configured to: receiving device information sent by the terminal to obtain a device fingerprint of the terminal; or, Receiving device information sent by the terminal; Determine the device fingerprint of the terminal according to a preset fingerprint generation rule and the device information; or, The device fingerprint of the terminal is determined according to the information of each layer of the seven-layer network protocol stack sent by the terminal.

15. The apparatus as described in any one of claims 9-13, wherein the token having a corresponding relationship with the device fingerprint is a token randomly generated using a preset random generation method; and the new token is a token randomly generated using the preset random generation method.

16. The device according to claim 9, further comprising: include: A receiving module, used for receiving the device fingerprint and the new token sent by the terminal; A search module, used to search for a token having a corresponding relationship with the device fingerprint from among the tokens that have been generated; An identification module, used for comparing the token found out with the new token sent by the terminal to see if they are consistent; If the token found is inconsistent with the new token sent by the terminal, it is determined that the device fingerprint is not unique; If the token found is consistent with the new token sent by the terminal, it is determined that the device fingerprint is unique.

17. A server, in, The server includes: one or more processors and a memory, wherein the memory stores a program and is configured to execute the following steps by the one or more processors: After determining that the device fingerprint sent by the terminal is not unique or that the device fingerprint sent by the terminal is unique, generating a new token for the device fingerprint; the device fingerprint is not unique or the device fingerprint is unique is a result obtained by comparing the token found by the server with the token sent by the terminal; the token found by the server is a token determined according to the corresponding relationship between the device fingerprint and the token; Replacing the token corresponding to the device fingerprint with the new token; The new token is sent to the terminal; the terminal is used to use the new token and the device fingerprint to verify the uniqueness of the device fingerprint.