CN108304289B - Terminal fingerprint test method and device, computer equipment and storage medium - Google Patents

Terminal fingerprint test method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108304289B
CN108304289B CN201810125068.0A CN201810125068A CN108304289B CN 108304289 B CN108304289 B CN 108304289B CN 201810125068 A CN201810125068 A CN 201810125068A CN 108304289 B CN108304289 B CN 108304289B
Authority
CN
China
Prior art keywords
terminal
fingerprint
basic information
terminal fingerprint
type
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.)
Active
Application number
CN201810125068.0A
Other languages
Chinese (zh)
Other versions
CN108304289A (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810125068.0A priority Critical patent/CN108304289B/en
Publication of CN108304289A publication Critical patent/CN108304289A/en
Priority to PCT/CN2019/070012 priority patent/WO2019153978A1/en
Application granted granted Critical
Publication of CN108304289B publication Critical patent/CN108304289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The application relates to a terminal fingerprint testing method and device, computer equipment and a storage medium. The method comprises the step of obtaining a first terminal fingerprint generated by a terminal. And sending a basic information change instruction to the terminal. And the receiving terminal changes the second terminal fingerprint regenerated by the instruction according to the basic information. And comparing the first terminal fingerprint with the second terminal fingerprint, and counting a first number of terminals which are matched with the second terminal fingerprint and corresponding to the second terminal fingerprint. And counting the second number of the acquired terminals corresponding to the first terminal fingerprint. A first accuracy of the terminal fingerprint is calculated based on the first number and the second number. By adopting the method, the success rate of the terminal fingerprint acquired by the same equipment can be visually evaluated according to the accuracy, so that more accurate evaluation is realized.

Description

Terminal fingerprint test method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for testing terminal fingerprints, a computer device, and a storage medium.
Background
With the wider and wider use range of the internet, more and more activities can occur on the internet, for example, websites of some enterprises can promote corresponding reward activities, users who adopt the same device only allow to receive a reward once, and sometimes the users change the parameters of the same device to pretend to be other devices to receive the reward for multiple times, so that the identification after the device parameters are changed is very important, generally, the same device has the same and unique terminal fingerprint, the terminal fingerprint obtained by changing the corresponding parameter cannot change, and the terminal fingerprint obtained by changing the corresponding parameter needs to be tested in a large number to verify the accuracy of the obtained terminal fingerprint.
Conventionally, verification of accuracy of terminal fingerprints only records passing and failing of a test, and when the passing and failing of the test are passed, the terminal fingerprints of the same obtained equipment are directly recorded and incorrect, so that the terminal fingerprints are returned to development for modification, a recording result cannot be evaluated more accurately, and the success rate of obtaining the same terminal fingerprints by the same equipment cannot be evaluated easily.
Disclosure of Invention
In view of the foregoing, there is a need to provide a terminal fingerprint testing method, device, computer device and storage medium, which can more accurately evaluate the accuracy of a terminal fingerprint and can more easily evaluate the success rate of acquiring the terminal fingerprint.
A terminal fingerprint testing method, the method comprising:
acquiring a first terminal fingerprint generated by a terminal;
sending a basic information change instruction to the terminal;
receiving a second terminal fingerprint regenerated by the terminal according to the basic information change instruction;
comparing the first terminal fingerprint with the second terminal fingerprint, and counting a first number of terminals which are successfully matched with the first terminal fingerprint and correspond to the second terminal fingerprint;
counting a second number of the terminals corresponding to the acquired first terminal fingerprint;
and calculating a first accuracy rate of the terminal fingerprint according to the first quantity and the second quantity.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal, the method further includes:
acquiring the type of the first terminal fingerprint;
the step of sending a basic information change instruction to the terminal includes:
acquiring basic information corresponding to the type of the first terminal fingerprint;
acquiring a terminal identifier for generating the first terminal fingerprint;
extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the type of the first terminal fingerprint;
and sending a change instruction carrying the basic information to be changed to a terminal corresponding to the terminal identification.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal, the method further includes:
acquiring a first type of the first terminal fingerprint;
the step of sending a basic information change instruction to the terminal includes:
acquiring basic information corresponding to a second type of the first terminal fingerprint, wherein the second type is different from the first type;
acquiring a terminal identifier for generating the first terminal fingerprint;
extracting basic information to be changed corresponding to the terminal identification from basic information corresponding to the second type of the first terminal fingerprint;
sending a basic information change instruction carrying basic information to be changed to a terminal corresponding to the terminal identifier;
and receiving a second terminal fingerprint regenerated by the terminal according to the basic information change instruction.
In one embodiment, when the first type is a local type and the second type is a browser type, after the step of comparing the first terminal fingerprint with the second terminal fingerprint, the method further includes:
when the second terminal fingerprint is different from the first terminal fingerprint, acquiring an unmodified terminal fingerprint corresponding to the browser type when the basic information is not modified;
when the unchanged terminal fingerprint is successfully matched with the first terminal fingerprint, receiving an association instruction for associating the second terminal fingerprint with the first terminal fingerprint;
and adding an association identifier to the second terminal fingerprint according to the association instruction, wherein the association identifier is the identifier of the second terminal fingerprint which is the same as the first terminal fingerprint.
In one embodiment, the second terminal fingerprint is generated according to the changed network basic information after the terminal changes the network basic information when receiving the basic information change instruction; and the difference value between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint.
In one embodiment, the second terminal fingerprint is generated by the terminal according to associated information data corresponding to a hidden identifier stored in the terminal when receiving the basic information modification instruction, and the associated information data is different from the basic information modified according to the basic information modification instruction.
In one embodiment, after the step of calculating the accuracy of the terminal fingerprint according to the first number and the second number, the method further includes:
acquiring the type weight of the first accuracy rate according to the type of the first terminal fingerprint and the type of the second terminal fingerprint;
and obtaining a second accuracy rate by adopting the type weight and the first accuracy rate.
A terminal fingerprint device, the device comprising:
the acquisition module is used for acquiring a first terminal fingerprint generated by a terminal;
a sending module, configured to send a basic information change instruction to the terminal;
the receiving module is used for receiving a second terminal fingerprint regenerated by the terminal according to the basic information change instruction;
the comparison module is used for comparing the first terminal fingerprint with the second terminal fingerprint and counting a first number of terminals which are successfully matched with the first terminal fingerprint and correspond to the second terminal fingerprint;
a counting module for counting a second number of the acquired terminals corresponding to the first terminal fingerprint;
and the calculating module is used for calculating the first accuracy of the terminal fingerprint according to the first quantity and the second quantity.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
The equipment identification verification method, the device, the computer equipment and the storage medium. The method comprises the steps of obtaining a first terminal fingerprint generated by a terminal, sending a basic information change instruction to the terminal, receiving a second terminal fingerprint generated by the terminal according to the basic information change instruction, further comparing the second terminal fingerprint with the first terminal fingerprint, calculating the accuracy of the terminal fingerprint according to the first number of the terminals corresponding to the second terminal fingerprint and the second number of the terminals corresponding to the first terminal fingerprint, wherein the first terminal fingerprint and the second terminal fingerprint are successfully matched, and the success rate of the terminal fingerprint obtained by the same equipment can be visually evaluated according to the accuracy, so that more accurate evaluation is realized.
Drawings
FIG. 1 is a diagram illustrating an exemplary scenario for a terminal fingerprint test method;
FIG. 2 is a flowchart illustrating a method for testing terminal fingerprints according to an embodiment;
FIG. 3 is a block diagram of an exemplary embodiment of a terminal fingerprint testing device;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The terminal fingerprint testing method provided by the application can be applied to the application environment shown in fig. 1. The test platform is communicated with the terminal through a network, and the terminal is a device to be tested. The method comprises the steps that a test platform obtains a first terminal fingerprint generated by a terminal, the test platform sends a basic information change instruction to the terminal, the terminal receives the basic information change instruction to generate a second terminal fingerprint, the test platform sends a regenerated second terminal fingerprint to the test platform, the test platform receives the regenerated second terminal fingerprint of the terminal, the first terminal fingerprint and the second terminal fingerprint are compared, the first number of the first terminal and the second terminal fingerprint in matching is counted, the test platform counts the second number of the obtained first terminal fingerprint, and the first accuracy of the terminal fingerprint is calculated according to the first number and the second number. The testing platform can be but is not limited to various personal computers, notebook computers, smart phones and tablet computers, and the terminal can be but is not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices.
In one embodiment, as shown in fig. 2, a terminal fingerprint testing method is provided, which is described by taking the method as an example applied to the testing platform in fig. 1, and includes the following steps:
s202: and acquiring a first terminal fingerprint generated by the terminal.
Specifically, the first terminal fingerprint refers to a current device feature or a unique terminal identifier for uniquely identifying the terminal, and may be a device identifier generated according to a device parameter of the terminal, and the first terminal fingerprint may be a device identifier generated according to a parameter of a browser adopted when the terminal accesses a certain web page. Further, the test platform acquires a first terminal fingerprint generated by the terminal, wherein the first terminal fingerprint generated by the terminal can be used for acquiring hardware equipment parameters by the terminal, extracting the hardware equipment parameters, and encrypting and combining the hardware equipment parameters to generate a corresponding character string; the first terminal fingerprint generated by the terminal may also be an encrypted character string obtained by acquiring a browser parameter of a browser operated by the terminal, extracting a corresponding browser parameter, and encrypting the browser parameter. For example, the test platform obtains a first terminal fingerprint generated by the terminal, that is, the test platform obtains a first terminal fingerprint generated by the terminal according to current hardware device parameters or browser parameters of a currently running browser, where the first terminal fingerprint generated by the terminal may be a terminal obtained hardware parameter, such as a device brand, a device model, an operating system type, an operating system version, an IMEI number (International Mobile equipment identity), an MAC address (Media Access Control, physical address), a bluetooth address, a connected WIFI name, and the like of the terminal, and further, the terminal encrypts and combines various device parameters according to the current hardware parameters to generate corresponding character strings; the first terminal fingerprint generated by the terminal may also be a character string generated by the terminal acquiring a browser parameter of the currently running browser, for example, cookie information stored by the browser, a browser running version, a protocol stack of the browser, and the like, and encrypting the browser parameter according to the browser parameter of the currently running browser.
S204: and sending a basic information change instruction to the terminal.
Specifically, the basic information change instruction refers to a command for changing a device parameter or a browser parameter of a device, and the basic information change instruction may be a command sent to the terminal for changing a current device parameter of the terminal, or a command sent to the terminal for changing a browser parameter of a browser running on the terminal. Further, the test platform sends a basic information change instruction to the terminal, and when the terminal receives the basic information change instruction, any device parameter or any browser parameter can be changed according to the basic information change instruction, for example, the test platform sends the basic information change instruction to the terminal to change an MAC address in the device parameter, and when the terminal receives the basic information change instruction, the current MAC address is changed. It should be noted that the test platform may also send an instruction for changing other device parameters or browser parameters to the terminal, which is not limited to the MAC address, and then the terminal changes the device parameters or browser parameters correspondingly, which is not described herein again.
S206: and the receiving terminal changes the second terminal fingerprint regenerated by the instruction according to the basic information.
Specifically, the second terminal fingerprint is used to indicate the device characteristics of the terminal or a unique terminal identifier after the corresponding parameter is changed, the second terminal fingerprint may be a device identifier generated according to the changed device parameter of the terminal, and the second terminal fingerprint may be a device identifier generated according to a browser parameter adopted when the terminal is changed to access a certain web page. Further, when the test platform sends a basic information change instruction to the terminal, the terminal changes the corresponding parameters according to the basic information change instruction, when the change is completed, a second terminal fingerprint is generated according to the changed parameters, and then the test platform receives the second terminal fingerprint, wherein the second terminal fingerprint can inquire other parameters which cannot be changed according to the changed basic information data, and therefore the terminal fingerprint corresponding to the parameters which cannot be changed is extracted as the second terminal fingerprint according to the other parameters which cannot be changed. For example, when the test platform sends an instruction for changing the MAC address to the terminal, the terminal changes the current MAC address according to the instruction for changing the MAC address, and then generates a second terminal fingerprint according to the changed MAC address, and the test platform receives the second terminal fingerprint generated after the MAC address is changed. It should be noted that, other device parameters or browser parameters may also be changed according to changing, without being limited to the MAC address, and then the terminal changes the device parameters or browser parameters correspondingly, so as to obtain a second terminal fingerprint, which is not described herein again.
S208: and comparing the first terminal fingerprint with the second terminal fingerprint, and counting the first number of the terminals which are successfully matched with the first terminal fingerprint and correspond to the second terminal fingerprint.
Specifically, when a first terminal fingerprint and a second terminal fingerprint generated by the terminal according to a parameter corresponding to a basic information changing instruction are received, the first terminal fingerprint is compared with the second terminal fingerprint, and then a first number of the terminals corresponding to the second terminal fingerprint and successfully matched with the first terminal fingerprint and the second terminal fingerprint is recorded. When the test platform receives the first terminal fingerprint and the second terminal fingerprint of the first terminal, if the first terminal fingerprint and the second terminal fingerprint are character strings, the character strings of the first terminal fingerprint and the character strings of the second terminal fingerprint are matched one by one, when each character is successfully matched, the first terminal fingerprint and the second terminal fingerprint of the first equipment are successfully matched, and then the current first terminal fingerprint and the current second terminal fingerprint are successfully matched, and the number of the terminals corresponding to the second terminal fingerprint is 1, and then the first terminal fingerprint and the second terminal fingerprint of the second equipment are compared by adopting the same method, when the first terminal fingerprint and the second terminal fingerprint of the second equipment are successfully matched, the current first terminal fingerprint and the current second terminal fingerprint are successfully matched, and the number of the terminals corresponding to the second terminal fingerprint is 2, and then continuously matching the first terminal fingerprints and the second terminal fingerprints of other devices, when the first terminal fingerprints and the second terminal fingerprints of other devices are successfully matched, recording that the current first terminal fingerprints and the second terminal fingerprints are successfully matched, and adding 1 to the number of the terminals corresponding to the second terminal fingerprints until all the terminals are matched, for example, the total number of all the terminals is 1000, and finishing matching all the 1000 devices.
S210: and counting the second number of the obtained terminals corresponding to the fingerprint of the first terminal.
Specifically, the number of terminals corresponding to all first terminal fingerprints is counted, the number of terminals corresponding to the first terminal fingerprints is the number of terminals with the first accuracy of all current terminal fingerprints to be calculated, and the number of terminals corresponding to the first terminal fingerprints can also be regarded as the number of all terminals, for example, the second number of terminals corresponding to the first terminal fingerprint, which is counted by the testing platform, is 1000, the total number of all terminals is 1000, and then the testing platform can test the first accuracy of the first terminal fingerprint and the first accuracy of the second terminal fingerprint generated by 1000 terminals.
S212: a first accuracy of the terminal fingerprint is calculated based on the first number and the second number.
Specifically, the first accuracy refers to determining whether the same terminal can still generate the same score of the terminal fingerprint under different conditions, and the higher the first accuracy is, the higher the score of the same terminal generating the same terminal fingerprint under different conditions is, that is, the higher the first accuracy is, the more the terminal can still generate the same number of terminal fingerprints under the condition corresponding to the first accuracy is. Further, the test platform calculates a ratio of the first quantity to the second quantity according to the first quantity and the second quantity to obtain a first accuracy of the terminal fingerprint. For example, under a first test condition, if a corresponding device parameter is extracted to generate a first terminal fingerprint, and then an MAC address in the device parameter is changed to generate a second terminal fingerprint, where a first number counted by the test platform is 9, that is, the number of terminals where the first terminal fingerprint of the obtained terminal matches the second terminal fingerprint is 9, a second number counted by the test platform is 10, that is, the number of generated first terminal fingerprints is 10, that is, the total number of the terminals is 10, and a ratio of the first number to the second terminal number is calculated, where a first accuracy rate is 0.9; under a second test condition, if a corresponding device parameter is extracted to generate a first terminal fingerprint, and then an operating system type in the device parameter is changed to generate a second terminal fingerprint, a first number counted by the test platform is 8, that is, the number of terminals of the obtained first terminal fingerprint of the terminal matched with the second terminal fingerprint is 8, a second number counted by the test platform is 10, that is, the number of generated first terminal fingerprints is 10, that is, the total number of the terminals is 10, and a ratio of the first number to the second terminal number is calculated, so that the first accuracy is 0.8, and then the first accuracy is 0.9, compared with the test condition in which the first accuracy is 0.8, the terminal can generate more identical terminal fingerprints, and then under the second test condition, the number of terminals capable of generating identical terminal fingerprints is more.
In this embodiment, the first number and the second number are obtained according to the first terminal fingerprint and the second terminal fingerprint, so that the accuracy of the terminal fingerprints can be calculated, and only the success rate of generating the same terminal fingerprint by the same device under different conditions is evaluated, instead of only indicating passing or failing of the test, the evaluation is more accurate. And the whole evaluation can be carried out through the test terminal without excessively counting the number and observing whether the evaluation passes, so that the test efficiency is improved, and the test accuracy is improved.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal, the method may further include: acquiring the type of a first terminal fingerprint; the step of sending the basic information change instruction to the terminal may include: acquiring basic information corresponding to the type of the first terminal fingerprint; acquiring a terminal identifier for generating a first terminal fingerprint; extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the type of the first terminal fingerprint; and sending a change instruction carrying the basic information to be changed to a terminal corresponding to the terminal identification.
Specifically, the type of the first terminal fingerprint refers to a manner of the first terminal fingerprint generated by the terminal, and may be that the type of the first terminal fingerprint includes a local type and a browser type, for example, the type of the first terminal fingerprint is generated locally, that is, the first terminal fingerprint generated by the terminal according to the terminal hardware parameter, and the type of the first terminal fingerprint is generated by the browser, that is, the first terminal fingerprint generated according to the browser parameter of the browser when the terminal device runs a certain web page. The basic information refers to a device parameter corresponding to the terminal, and the basic information may be a hardware parameter, such as the above hardware parameter, or a browser parameter of a currently running browser, such as the above browser parameter, which is not described herein again. The terminal identifier refers to an identity mark unique to the current terminal, and may be a text identifier, and the terminal identifier may be a terminal identifier number, for example, the terminal identifier may be a terminal number.
Specifically, if all terminals are tested under different test conditions, different basic information needs to be changed for different terminals during the test process, thereby ensuring that the second terminal fingerprint is generated under different environments. After a first terminal fingerprint generated by a terminal is acquired, the type of the first terminal fingerprint is acquired, then basic information corresponding to the type of the first terminal fingerprint is acquired according to the type of the first terminal fingerprint, so that a terminal identifier for generating the first terminal fingerprint is acquired according to the basic information, basic information needing to be changed of the terminal corresponding to the terminal identifier is extracted according to the terminal identifier, a change basic information instruction carrying the corresponding basic information needing to be changed is sent to different terminals, then the corresponding basic information is changed when the different terminals receive the change basic information instruction, so that the terminal generates a corresponding second terminal fingerprint, and when the second terminal fingerprint generated by the terminal is received, subsequent steps are continuously executed so as to calculate the first accuracy.
For example, when the first terminal fingerprint type is a local type, the first terminal fingerprint is generated as a first terminal fingerprint generated according to hardware parameters of the terminal, the test platform acquires hardware parameters corresponding to the local type of the first terminal fingerprint, such as an equipment model, an operating system version number, an IMEI number and an MAC address, the test platform acquires a terminal number generating the first terminal fingerprint, basic information that the terminal corresponding to the terminal number needs to be changed is extracted according to the acquired terminal number, for example, the terminal number is 1 to 100, the terminal number is 1 to 25, the terminal number is 26 to 50, the terminal number is 51 to 75, the IMEI number is changed, the terminal number is 76 to 100, the test platform sends a basic information change instruction carrying corresponding basic information to be changed to different terminals, for example, a basic information change instruction for changing the model of the device is sent to the terminals with the terminal numbers of 1 to 25, a basic information change instruction for changing the version number of the operating system is sent to the terminals with the terminal numbers of 26 to 50, an IMEI number change basic information change instruction is sent to the terminals with the terminal numbers of 51 to 75, a basic information change instruction for changing the MAC address is sent to the terminals with the terminal numbers of 76 to 100, when the terminals with different numbers receive the corresponding basic information change instruction, the corresponding basic information is changed, so that the terminal generates a second terminal fingerprint, and when the testing platform receives the second terminal fingerprint generated by the terminal, the subsequent steps are continuously executed so as to calculate the first accuracy.
It should be noted that, when the first terminal fingerprint type is the browser type, the first terminal fingerprint is generated according to the browser parameter, and then the corresponding browser parameter, such as cookie information stored in the browser, a browser running version, a browser protocol stack, and the like, is obtained, and then the corresponding browser parameter to be changed is sent to the terminal corresponding to the terminal identifier by using the same method, which is not described herein again. It should be further noted that, when the first terminal fingerprint type is the local type, the obtained basic information may also be other hardware parameters, and when the first terminal fingerprint type is the browser type, the obtained basic information may also be other browser parameters.
In the embodiment, the type of the first terminal fingerprint is acquired, and then different basic information change instructions are sent according to different types of the first terminal fingerprint, so that the application is flexible, and the corresponding information change instructions can be sent to terminals with different terminal identifications at the same time, so that multiple terminals can be tested at the same time, the testing efficiency is improved, and the applicability is enhanced.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal, the method may further include: acquiring a first type of a first terminal fingerprint; the step of sending the basic information change instruction to the terminal may include: acquiring basic information corresponding to a second type of the first terminal fingerprint, wherein the second type is different from the first type; acquiring a terminal identifier for generating a first terminal fingerprint; extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the second type of the first terminal fingerprint; sending a change instruction carrying basic information to be changed to a terminal corresponding to the terminal identifier; and the receiving terminal changes the second terminal fingerprint regenerated by the instruction according to the basic information.
Specifically, the first type is a first manner of generating a first terminal fingerprint by the terminal, and may be that the type of the first terminal fingerprint includes a local type and a browser type; the second type is a second manner of a second terminal fingerprint generated by the terminal, and the second manner is different from the first manner, for example, when the first type is a local type, the second manner is a browser type, and when the first type is a browser type, the second manner is a local type.
Specifically, in the tests under different conditions, it is also necessary to test whether the terminal can generate the same terminal fingerprint according to different terminal fingerprint generation modes. After a first terminal fingerprint generated by a terminal is acquired, acquiring a first type of the first terminal fingerprint, further comparing whether the first type is the same as a second terminal fingerprint generated by changing basic information under a different second type, acquiring basic information corresponding to the second type, further acquiring a terminal identifier for generating the first terminal fingerprint according to the basic information, extracting the basic information corresponding to the second type of the terminal corresponding to the terminal identifier, further sending a basic information change instruction carrying the corresponding basic information corresponding to the second type to be changed to the different terminals, further changing the corresponding basic information corresponding to the second type when the different terminals receive the basic information change instruction, further generating the corresponding second terminal fingerprint by the terminal, and when the second terminal fingerprint generated by the terminal is received, the subsequent steps are continued to calculate the first accuracy.
For example, when the first type is a local type and the second type is a browser type, a first terminal fingerprint is generated according to hardware parameters of the terminal, the test platform needs to compare whether a second terminal fingerprint generated by changing basic information under a browser type different from the local type is the same as the first terminal fingerprint, then basic information corresponding to the browser type, such as an operation version number of the browser and protocol stack information of the browser, is acquired, the test platform further acquires a terminal number generating the first terminal fingerprint, according to the acquired terminal number, basic information corresponding to the browser type needing to be changed of the terminal corresponding to the terminal number is extracted, for example, the terminal number is 1 to 40, the terminal with the terminal number of 1 to 20 changes the operation version number of the browser, and the terminal with the terminal number of 21 to 40 changes the protocol stack information of the browser, the test platform sends a basic information change instruction carrying basic information corresponding to the browser type to be changed to different terminals, for example, a basic information change instruction for changing the version number of the browser of the device is sent to the terminals with the terminal numbers of 1 to 20, a basic information change instruction for changing the protocol stack information of the browser is sent to the terminals with the terminal numbers of 21 to 40, when the terminals with different numbers receive the corresponding basic information change instruction, the basic information corresponding to the browser type is changed, so that the terminal generates a second terminal fingerprint, and when the test platform receives the second terminal fingerprint generated by the terminal, the test platform continues to execute subsequent steps to calculate the first accuracy. It should be noted that the acquired browser parameters are not limited to these.
It should be noted that, when the first type is a browser type and the second type is a local type, the first terminal fingerprint is generated according to the browser parameter, and then the test platform needs to compare whether the second terminal fingerprint generated by changing the basic information under the local type different from the browser type is the same as the first terminal fingerprint, and then obtains the basic information corresponding to the local type, such as the device type, the operating system version number, and the like, and further adopts the same method to send the hardware parameter corresponding to the local type to be changed to the terminal corresponding to the terminal identifier, which is not described herein again. And the acquired parameters corresponding to the local type are not limited thereto.
In the embodiment, the first type of the terminal fingerprint is obtained, so that a second terminal fingerprint generated under a second type different from the first type is tested, the first accuracy is calculated, various test scenes are adopted, the test accuracy is improved, and the applicability is enhanced.
In one embodiment, when the first type is a local type and the second type is a browser type, after the step of comparing the first terminal fingerprint with the second terminal fingerprint, the method further includes: when the second terminal fingerprint is different from the first terminal fingerprint, acquiring an unmodified terminal fingerprint corresponding to unmodified basic information corresponding to the browser type; when the fingerprint which is not changed is successfully matched with the first terminal fingerprint, receiving an association instruction for associating the second terminal fingerprint with the first terminal fingerprint; and adding an association identifier to the second terminal fingerprint according to the association instruction, wherein the association identifier is the identifier of the second terminal fingerprint identical to the first terminal fingerprint.
Specifically, the unmodified terminal fingerprint refers to a terminal fingerprint generated according to unmodified basic information when corresponding basic information is not modified. Since the terminal fingerprint generated by the terminal may be unstable under the browser type, further testing is required. When the first type is a local type and the second type is a browser type, the test platform extracts basic information to be changed corresponding to the terminal identifier from the basic information corresponding to the browser type, the basic information to be changed is a browser parameter, further sends a basic information change instruction carrying the basic information to be changed to a terminal corresponding to the terminal identifier, and receives a second terminal fingerprint generated after the terminal changes the basic information corresponding to the browser type, namely the corresponding browser parameter according to the basic information change instruction, the test platform compares the first terminal fingerprint with the second terminal fingerprint, when the first terminal fingerprint is different from the second terminal fingerprint, further test is needed, so that the first accuracy of subsequent calculation is prevented from being inaccurate due to the instability of the second terminal fingerprint, the test platform acquires the unmodified terminal fingerprint corresponding to the unmodified browser parameter under the browser type, comparing the fingerprint of the unmodified terminal with the fingerprint of the first terminal, namely the terminal fingerprint generated by the terminal under the local type, when the fingerprint of the unmodified terminal is successfully matched with the fingerprint of the first terminal, under the browser type, the second terminal fingerprint generated by the corresponding terminal is changed due to instability, wherein the instability can be caused by the fact that the time between the parameter of the modified browser and the parameter of the unmodified browser exceeds a preset value, or the time between the parameter of the modified browser and the parameter of the unmodified browser is changed to change the kernel data, further, corresponding prompt information is displayed on a display interface of a test platform, further, a user selects according to the corresponding prompt information, when the operation of associating the fingerprint of the first terminal with the fingerprint of the second terminal is selected, a corresponding association instruction is generated, and when the test platform receives the association instruction of associating the fingerprint of the first terminal with the fingerprint of the second terminal, then the corresponding association identifier is added to the second terminal fingerprint, indicating that the second terminal fingerprint is actually the same as the first terminal fingerprint. In this embodiment, a further testing method is adopted, so that the situation that the terminal fingerprint generated in the browser type is unstable is avoided, and only the first terminal fingerprint generated in the local type is simply compared with the second terminal fingerprint, so that the first accuracy rate of the subsequent calculation is deviated, and the accuracy rate is improved.
In one embodiment, the second terminal fingerprint is generated according to the changed basic information after the basic information is changed when the terminal receives the basic information change instruction; and the difference value between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint.
Specifically, when the second terminal fingerprint is a second terminal fingerprint generated by the terminal in the browser type, if the difference between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint exceeds the preset value, and the browser kernel for generating the first terminal fingerprint is different from the browser kernel for generating the second terminal fingerprint, the generated second terminal fingerprint may fluctuate, so that the generated second terminal fingerprint is inaccurate, and the subsequent calculation of the first accuracy is inaccurate. Further, when the terminal fingerprint is a second terminal fingerprint generated by the terminal under the browser type, the terminal receives the basic information change instruction when the test platform sends the basic information change instruction, and then the terminal changes the basic information and generates the second terminal fingerprint according to the changed basic information, wherein the difference between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint. For example, when the second terminal fingerprint is a second terminal fingerprint generated by the terminal in the browser type, the terminal receives the basic information change instruction when the test platform sends the basic information change instruction, and then the terminal changes the basic information and generates the second terminal fingerprint according to the changed basic information, wherein the difference between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, for example, 12 hours, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint. It should be noted that the preset value of the time difference between the event of generating the first terminal fingerprint and the time of generating the second terminal fingerprint may be 1 hour, 3 hours, 8 hours, and so on.
In this embodiment, when the mode of generating the terminal fingerprint is the browser type, a corresponding information change instruction is sent to the terminal, so that the test platform receives an accurate second terminal fingerprint generated by the terminal according to the change of the basic information in the browser mode, the received second terminal fingerprint is accurate, and it is ensured that the first accuracy is accurate in calculation.
In one embodiment, the second terminal fingerprint is generated by the terminal according to associated information data corresponding to the hidden identifier stored in the terminal when the basic information modification instruction is received, and the associated information data is different from the basic information modified according to the basic information modification instruction.
Specifically, the hidden identifier is information that cannot be viewed and changed by a user in a device parameter corresponding to the terminal. The associated information data refers to basic information data corresponding to the hidden identifier, and the basic information data may be hardware parameters corresponding to the hidden identifier, for example, the associated information data may be an equipment model, an equipment brand, an equipment model, an operating system type, an operating system version, an IMEI number, an MAC address, a bluetooth address, a connected WIFI name, and the like corresponding to the hidden identifier. Specifically, when the test platform sends a corresponding basic information change instruction to the terminal device, when the terminal receives the basic information change instruction, the terminal changes the basic information according to the basic information change instruction, and then the terminal extracts the stored hidden identifier, so as to obtain the hardware parameter corresponding to the hidden identifier, the terminal compares the hardware parameter corresponding to the hidden identifier with the changed basic information, when the comparison is unsuccessful, a corresponding terminal fingerprint is generated according to the hardware parameter corresponding to the hidden identifier, and then the corresponding terminal fingerprint generated according to the hardware parameter corresponding to the singing identifier is used as a second terminal fingerprint, and then the test platform receives the second terminal fingerprint.
In this embodiment, when the type of the generated terminal fingerprint is the local type, and the test platform sends a basic information change instruction to the terminal, the receiving terminal receives a second terminal fingerprint generated according to the stored associated information data corresponding to the hidden identifier, and receives second terminal fingerprints with different generation modes according to different types, so as to ensure that the received second terminal fingerprint is accurate, and the second terminal fingerprint generated in the local type is generated according to the associated information data corresponding to the hidden identifier, so that the applicability is strong, and the second terminal fingerprint generated in the local type is generated according to the associated information data corresponding to the hidden identifier, so that the stability of the received second terminal fingerprint is ensured, and the accuracy of the first calculation is ensured.
In one embodiment, after the step of calculating the accuracy of the terminal fingerprint according to the first number and the second number, the method may further include: acquiring the type weight of the first accuracy rate according to the type of the first terminal fingerprint and the type of the second terminal fingerprint; and obtaining a second accuracy rate by adopting the type weight and the first accuracy rate.
Specifically, the type weight refers to the importance of different types of generated terminal fingerprints, and the higher the weight is, the more important such types of generated terminal fingerprints are. The second accuracy rate is the score of the first accuracy rate under different types calculated according to the type weight, and the higher the second accuracy rate is, the higher the score of the first accuracy rate is, that is, more terminals can still generate the same terminal fingerprint under different test conditions in the type corresponding to the first accuracy rate. Further, when the first accuracy is calculated, the type weight of the first accuracy is obtained according to the type of the first terminal fingerprint and the type of the second terminal fingerprint, and then the product of the first accuracy and the type weight is calculated to obtain a second quasi-accuracy. For example, when the test platform calculates the first accuracy, the first accuracy may be the first accuracy calculated only in the local type, that is, the first terminal fingerprint is generated by using the local type, and the second terminal fingerprint is generated by using the local type; the first accuracy may be a first accuracy calculated only in the browser type, that is, the first terminal fingerprint is generated by using the browser type, and the second terminal fingerprint is generated by using the browser type; the first accuracy may be a first accuracy calculated under the combination of the local type and the browser type, that is, generating the first terminal fingerprint is generated under the first type, the second terminal fingerprint is generated under the second type, and the first type and the second type are different types, that is, generating the first terminal fingerprint as the local type, then the second terminal fingerprint as the browser type, when the first terminal fingerprint is generated as the browser type, then the second terminal fingerprint as the local type, and further, the testing platform respectively obtains a type weight of the first accuracy calculated only in the local type, if the type weight is 30%, the testing platform obtains a type weight of the second accuracy calculated only in the browser type, if the type weight is 30%, and then the testing platform obtains a type weight of the first accuracy calculated under the combination of the local type and the browser type, if the type weight is 40%, then calculating the product of the different type weights and the corresponding first accuracy rate, thereby obtaining a second accuracy rate. It should be noted that the type weight can be set according to the importance of different types, and it is ensured that the weight of each type is integrated to be 100%.
In this embodiment, the type weight of the first accuracy is obtained according to the type of the first terminal fingerprint and the type of the second terminal fingerprint, so that the second accuracy is calculated, the success rate of obtaining the same device fingerprint by the same device among different test conditions can be evaluated, further optimization can be performed on the test conditions with low success rate, the evaluation is accurate, different test conditions are provided with different weights, the test is ensured to be more practical, and the applicability is enhanced.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 3, there is provided a fingerprint sensing device 300 comprising: an obtaining module 310, a sending module 320, a receiving module 330, a comparing module 340, a counting module 350 and a calculating module 360, wherein:
an obtaining module 310 is configured to obtain a first terminal fingerprint generated by a terminal.
A sending module 320, configured to send a basic information change instruction to the terminal.
And the receiving module 330 is configured to receive the second terminal fingerprint regenerated by the terminal according to the basic information change instruction.
And the comparison module 340 is configured to compare the first terminal fingerprint with the second terminal fingerprint, and count a first number of terminals corresponding to the second terminal fingerprint, where the first terminal fingerprint and the second terminal fingerprint are successfully matched.
A counting module 350, configured to count the second number of the acquired terminals corresponding to the first terminal fingerprint.
And the calculating module 360 is used for calculating the first accuracy of the terminal fingerprint according to the first quantity and the second quantity.
In one embodiment, the testing apparatus 300 may further include:
and the first type acquisition module is used for acquiring the type of the first terminal fingerprint.
The sending module 320 may further include:
a first basic information acquiring unit for acquiring basic information corresponding to a type of the first terminal fingerprint.
And the first terminal identifier acquisition unit is used for acquiring the terminal identifier for generating the first terminal fingerprint.
And the first extraction unit is used for extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the type of the first terminal fingerprint.
And the first sending unit is used for sending a change instruction carrying the basic information to be changed to the terminal corresponding to the terminal identifier.
In one embodiment, the terminal fingerprint testing module 300 may further include:
and the second type acquisition module is used for acquiring the first type of the first terminal fingerprint.
The sending module 320 may further include:
and a second basic information acquiring unit for acquiring basic information corresponding to a second type of the first terminal fingerprint, the second type being different from the first type.
And the second terminal identification acquisition unit is used for acquiring the terminal identification for generating the first terminal fingerprint.
And the second extraction unit is used for extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the second type of the first terminal fingerprint.
And the second sending unit is used for sending a basic information change instruction carrying basic information to be changed to the terminal corresponding to the terminal identifier.
And the receiving unit is used for receiving the second terminal fingerprint regenerated by the terminal according to the basic information change instruction.
In one embodiment, the terminal fingerprint test apparatus 300 may further include:
and the unchanged terminal fingerprint acquisition module is used for acquiring an unchanged terminal fingerprint corresponding to the unchanged basic information corresponding to the browser type when the second terminal fingerprint is different from the first terminal fingerprint.
And the association instruction receiving module is used for receiving an association instruction for associating the second terminal fingerprint with the first terminal fingerprint when the fingerprint of the unchanged terminal is successfully matched with the first terminal fingerprint.
And the association identifier adding module is used for adding an association identifier to the second terminal fingerprint according to the association instruction, wherein the association identifier is the identifier of the second terminal fingerprint which is the same as the first terminal fingerprint.
In one embodiment, the receiving module 330 is configured to receive a second terminal fingerprint that is generated by the terminal according to the basic information modification instruction, where the second terminal fingerprint is generated by the terminal according to the modified network basic information after the terminal modifies the network basic information when receiving the basic information modification instruction; and the difference value between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint.
In one embodiment, the receiving module 330 is configured to receive a second terminal fingerprint that is generated by the terminal according to the basic information modification instruction, where the second terminal fingerprint is generated by the terminal according to associated information data corresponding to a hidden identifier stored in the terminal when the basic information modification instruction is received, and the associated information data is different from the basic information modified according to the basic information modification instruction.
In one embodiment, the terminal fingerprint testing apparatus may further include:
and the type weight acquisition module is used for acquiring the type weight of the first accuracy rate according to the type of the first terminal fingerprint and the type of the second terminal fingerprint.
And the second accuracy calculation module is used for obtaining a second accuracy by adopting the type weight and the first accuracy.
For the specific definition of the terminal fingerprint testing device, reference may be made to the above definition of the terminal fingerprint testing method, which is not described herein again. All or part of the modules in the terminal fingerprint testing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a terminal fingerprint testing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: and acquiring a first terminal fingerprint generated by the terminal. And sending a basic information change instruction to the terminal. And the receiving terminal changes the second terminal fingerprint regenerated by the instruction according to the basic information. And comparing the first terminal fingerprint with the second terminal fingerprint, and counting the first number of the terminals corresponding to the second terminal fingerprint, wherein the first terminal fingerprint is successfully matched with the second terminal fingerprint. And counting the second number of the acquired terminals corresponding to the first terminal fingerprint. A first accuracy of the terminal fingerprint is calculated based on the first number and the second number.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal is implemented by the processor when the computer program is executed, the method may further include: acquiring the type of a first terminal fingerprint; the step of sending basic information change instruction to the terminal is realized when executing the computer program, which comprises the following steps: basic information corresponding to the type of the first terminal fingerprint is acquired. And acquiring a terminal identifier for generating the first terminal fingerprint. And extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the type of the first terminal fingerprint. And sending a change instruction carrying the basic information to be changed to a terminal corresponding to the terminal identification.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal is implemented by the processor when the computer program is executed, the method may further include: a first type of fingerprint of the first terminal is obtained. The step of sending the basic information change instruction to the terminal when the processor executes the computer program may include: basic information corresponding to a second type of the first terminal fingerprint is obtained, the second type being different from the first type. And acquiring a terminal identifier for generating the first terminal fingerprint. And extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the second type of the first terminal fingerprint. And sending a basic information change instruction carrying basic information to be changed to a terminal corresponding to the terminal identifier. And the receiving terminal changes the second terminal fingerprint regenerated by the instruction according to the basic information.
In one embodiment, when the first type is a local type and the second type is a browser type, after the step of comparing the first terminal fingerprint with the second terminal fingerprint is implemented when the processor executes the computer program, the method may further include: and when the second terminal fingerprint is different from the first terminal fingerprint, acquiring an unmodified terminal fingerprint corresponding to unmodified basic information corresponding to the browser type. And when the matching of the unchanged terminal fingerprint and the first terminal fingerprint is successful, receiving an association instruction for associating the second terminal fingerprint with the first terminal fingerprint. And adding an association identifier to the second terminal fingerprint according to the association instruction, wherein the association identifier is the identifier of the second terminal fingerprint identical to the first terminal fingerprint.
In one embodiment, the processor, when executing the computer program, implements receiving a second terminal fingerprint regenerated by the terminal according to the basic information modification instruction, where the second terminal fingerprint is generated according to the modified network basic information after the terminal modifies the network basic information when receiving the basic information modification instruction; and the difference value between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint.
In one embodiment, the processor, when executing the computer program, implements receiving a second terminal fingerprint regenerated by the terminal according to the basic information modification instruction, where the second terminal fingerprint is generated by the terminal according to associated information data corresponding to a hidden identifier stored in the terminal when receiving the basic information modification instruction, and the associated information data is different from the basic information modified according to the basic information modification instruction.
In one embodiment, after the step of calculating the accuracy of the terminal fingerprint according to the first number and the second number is implemented when the processor executes the computer program, the method further includes: and acquiring the type weight of the first accuracy rate according to the type of the first terminal fingerprint and the type of the second terminal fingerprint. And obtaining a second accuracy rate by adopting the type weight and the first accuracy rate.
In one embodiment, a storage medium is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of: and acquiring a first terminal fingerprint generated by the terminal. And sending a basic information change instruction to the terminal. And the receiving terminal changes the second terminal fingerprint regenerated by the instruction according to the basic information. And comparing the first terminal fingerprint with the second terminal fingerprint, and counting the first number of the terminals which are successfully matched with the first terminal fingerprint and correspond to the second terminal fingerprint. And counting the second number of the acquired terminals corresponding to the first terminal fingerprint. A first accuracy of the terminal fingerprint is calculated based on the first number and the second number.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal is performed by the processor, the method may further include: acquiring the type of a first terminal fingerprint; the step of sending basic information change instruction to the terminal is realized when executing the computer program, which comprises the following steps: basic information corresponding to the type of the first terminal fingerprint is acquired. And acquiring a terminal identifier for generating the first terminal fingerprint. And extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the type of the first terminal fingerprint. And sending a change instruction carrying the basic information to be changed to a terminal corresponding to the terminal identification.
In one embodiment, after the step of acquiring the first terminal fingerprint generated by the terminal is performed by the processor, the method may further include: a first type of fingerprint of the first terminal is obtained. The step of sending the basic information change instruction to the terminal when the processor executes the computer program may include: basic information corresponding to a second type of the first terminal fingerprint is obtained, the second type being different from the first type. And acquiring a terminal identifier for generating the first terminal fingerprint. And extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the second type of the first terminal fingerprint. And sending a basic information change instruction carrying basic information to be changed to a terminal corresponding to the terminal identifier. And the receiving terminal changes the second terminal fingerprint regenerated by the instruction according to the basic information.
In one embodiment, when the first type is a local type and the second type is a browser type, after the step of comparing the first terminal fingerprint with the second terminal fingerprint is implemented by the processor, the method may further include: and when the second terminal fingerprint is different from the first terminal fingerprint, acquiring an unmodified terminal fingerprint corresponding to unmodified basic information corresponding to the browser type. And when the matching of the unchanged terminal fingerprint and the first terminal fingerprint is successful, receiving an association instruction for associating the second terminal fingerprint with the first terminal fingerprint. And adding an association identifier to the second terminal fingerprint according to the association instruction, wherein the association identifier is the identifier of the second terminal fingerprint identical to the first terminal fingerprint.
In one embodiment, the computer program is executed by the processor to implement receiving a second terminal fingerprint regenerated by the terminal according to the basic information modification instruction, wherein the second terminal fingerprint is generated according to the modified network basic information after the terminal modifies the network basic information when receiving the basic information modification instruction; and the difference value between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint.
In one embodiment, the computer program, when executed by the processor, implements receiving a second terminal fingerprint regenerated by the terminal according to the basic information modification instruction, where the second terminal fingerprint is generated by the terminal according to associated information data corresponding to a hidden identifier stored in the terminal when receiving the basic information modification instruction, and the associated information data is different from the basic information modified according to the basic information modification instruction.
In one embodiment, after the step of calculating the accuracy of the terminal fingerprint according to the first number and the second number is performed by the processor, the computer program further comprises: and acquiring the type weight of the first accuracy rate according to the type of the first terminal fingerprint and the type of the second terminal fingerprint. A type weight and a first accuracy are employed.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A terminal fingerprint testing method is applied to a testing platform and comprises the following steps:
acquiring a first terminal fingerprint generated by a terminal;
sending a basic information change instruction to the terminal;
receiving a second terminal fingerprint regenerated by the terminal according to the basic information change instruction;
comparing the first terminal fingerprint with the second terminal fingerprint, and counting a first number of terminals which are successfully matched with the first terminal fingerprint and correspond to the second terminal fingerprint;
counting a second number of the acquired terminals corresponding to the first terminal fingerprint;
calculating a first accuracy rate of the terminal fingerprint according to the first quantity and the second quantity;
the second terminal fingerprint is generated according to the changed network basic information after the terminal changes the network basic information when receiving the basic information change instruction; the difference value between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint; alternatively, the first and second electrodes may be,
and the second terminal fingerprint is generated according to associated information data corresponding to a hidden identifier stored in the terminal when the terminal receives the basic information change instruction, wherein the associated information data is different from the basic information changed according to the basic information change instruction.
2. The method of claim 1, wherein the step of obtaining the first terminal fingerprint generated by the terminal is followed by the step of:
acquiring the type of the first terminal fingerprint;
the step of sending a basic information change instruction to the terminal includes:
acquiring basic information corresponding to the type of the first terminal fingerprint;
acquiring a terminal identifier for generating the first terminal fingerprint;
extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the type of the first terminal fingerprint;
and sending a change instruction carrying the basic information to be changed to a terminal corresponding to the terminal identification.
3. The method of claim 1, wherein the step of obtaining the first terminal fingerprint generated by the terminal is followed by the step of:
acquiring a first type of the first terminal fingerprint;
the step of sending a basic information change instruction to the terminal includes:
acquiring basic information corresponding to a second type of the first terminal fingerprint, wherein the second type is different from the first type;
acquiring a terminal identifier for generating the first terminal fingerprint;
extracting basic information to be changed corresponding to the terminal identification from basic information corresponding to the second type of the first terminal fingerprint;
sending a basic information change instruction carrying basic information to be changed to a terminal corresponding to the terminal identifier;
and receiving a second terminal fingerprint regenerated by the terminal according to the basic information change instruction.
4. The method according to claim 3, wherein when the first type is a local type and the second type is a browser type, the step of comparing the first terminal fingerprint with the second terminal fingerprint further comprises:
when the second terminal fingerprint is different from the first terminal fingerprint, acquiring an unmodified terminal fingerprint corresponding to the browser type when the basic information is not modified;
when the unchanged terminal fingerprint is successfully matched with the first terminal fingerprint, receiving an association instruction for associating the second terminal fingerprint with the first terminal fingerprint;
and adding an association identifier to the second terminal fingerprint according to the association instruction, wherein the association identifier is the identifier of the second terminal fingerprint which is the same as the first terminal fingerprint.
5. The method according to any of claims 1 to 4, wherein the step of calculating the accuracy of the terminal fingerprint from the first number and the second number is followed by:
acquiring the type weight of the first accuracy rate according to the type of the first terminal fingerprint and the type of the second terminal fingerprint;
and obtaining a second accuracy rate by adopting the type weight and the first accuracy rate.
6. A terminal fingerprint testing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring a first terminal fingerprint generated by a terminal;
a sending module, configured to send a basic information change instruction to the terminal;
the receiving module is used for receiving a second terminal fingerprint regenerated by the terminal according to the basic information change instruction; the second terminal fingerprint is generated according to the changed network basic information after the terminal changes the network basic information when receiving a basic information change instruction, and the difference value between the time for generating the first terminal fingerprint and the time for generating the second terminal fingerprint does not exceed a preset value, and the browser kernel for generating the first terminal fingerprint is the same as the browser kernel for generating the second terminal fingerprint; or the second terminal fingerprint is generated according to associated information data corresponding to a hidden identifier stored in the terminal when the terminal receives the basic information change instruction, wherein the associated information data is different from the basic information changed according to the basic information change instruction;
the comparison module is used for comparing the first terminal fingerprint with the second terminal fingerprint and counting a first number of terminals which are successfully matched with the first terminal fingerprint and correspond to the second terminal fingerprint;
the statistical module is used for counting the second number of the acquired terminals corresponding to the first terminal fingerprint;
and the calculating module is used for calculating the first accuracy of the terminal fingerprint according to the first quantity and the second quantity.
7. The terminal fingerprint testing device according to claim 6, wherein the device further comprises: the first type acquisition module is used for acquiring the type of the first terminal fingerprint;
the sending module comprises:
a first basic information acquisition unit for acquiring basic information corresponding to the type of the first terminal fingerprint;
a first terminal identifier acquiring unit, configured to acquire a terminal identifier for generating the first terminal fingerprint;
the first extraction unit is used for extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the type of the first terminal fingerprint;
and the first sending unit is used for sending a change instruction carrying basic information to be changed to the terminal corresponding to the terminal identifier.
8. The terminal fingerprint testing device according to claim 6, wherein the device further comprises: the second type acquisition module is used for acquiring the first type of the first terminal fingerprint;
the sending module comprises:
a second basic information acquiring unit configured to acquire basic information corresponding to a second type of the first terminal fingerprint, the second type being different from the first type;
the second terminal identification acquisition unit is used for acquiring the terminal identification for generating the first terminal fingerprint;
the second extraction unit is used for extracting basic information to be changed corresponding to the terminal identification from the basic information corresponding to the second type of the first terminal fingerprint;
a second sending unit, configured to send a basic information change instruction carrying basic information to be changed to a terminal corresponding to the terminal identifier;
and the receiving unit is used for receiving the second terminal fingerprint regenerated by the terminal according to the basic information change instruction.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 5 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201810125068.0A 2018-02-07 2018-02-07 Terminal fingerprint test method and device, computer equipment and storage medium Active CN108304289B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810125068.0A CN108304289B (en) 2018-02-07 2018-02-07 Terminal fingerprint test method and device, computer equipment and storage medium
PCT/CN2019/070012 WO2019153978A1 (en) 2018-02-07 2019-01-02 Terminal fingerprint test method, apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810125068.0A CN108304289B (en) 2018-02-07 2018-02-07 Terminal fingerprint test method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108304289A CN108304289A (en) 2018-07-20
CN108304289B true CN108304289B (en) 2020-09-01

Family

ID=62864900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810125068.0A Active CN108304289B (en) 2018-02-07 2018-02-07 Terminal fingerprint test method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108304289B (en)
WO (1) WO2019153978A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304289B (en) * 2018-02-07 2020-09-01 深圳壹账通智能科技有限公司 Terminal fingerprint test method and device, computer equipment and storage medium
CN109787746A (en) * 2018-12-28 2019-05-21 深圳竹云科技有限公司 A kind of device-fingerprint generation method based on hardware characteristics
CN110674518A (en) * 2019-09-26 2020-01-10 海南新软软件有限公司 Equipment identification information generation method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7885647B2 (en) * 2005-10-11 2011-02-08 Samsung Electronics Co., Ltd. Secure booting method and mobile terminal for the same
CN105303097A (en) * 2014-12-17 2016-02-03 维沃移动通信有限公司 Verification method of mobile terminal, mobile terminal and verification system
CN107094297A (en) * 2016-11-09 2017-08-25 北京小度信息科技有限公司 device identification method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751550B (en) * 2008-12-19 2012-02-01 杭州中正生物认证技术有限公司 Fast fingerprint searching method and fast fingerprint searching system thereof
CN104008381B (en) * 2014-06-16 2019-02-12 浙江维尔科技股份有限公司 A kind of personal identification method and device
CN106022063B (en) * 2016-05-27 2019-02-01 Oppo广东移动通信有限公司 A kind of unlocking method and mobile terminal
CN107070654B (en) * 2017-05-12 2020-11-27 北京小米移动软件有限公司 Information acquisition method and device
CN108304289B (en) * 2018-02-07 2020-09-01 深圳壹账通智能科技有限公司 Terminal fingerprint test method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7885647B2 (en) * 2005-10-11 2011-02-08 Samsung Electronics Co., Ltd. Secure booting method and mobile terminal for the same
CN105303097A (en) * 2014-12-17 2016-02-03 维沃移动通信有限公司 Verification method of mobile terminal, mobile terminal and verification system
CN107094297A (en) * 2016-11-09 2017-08-25 北京小度信息科技有限公司 device identification method and device

Also Published As

Publication number Publication date
WO2019153978A1 (en) 2019-08-15
CN108304289A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN108156237B (en) Product information pushing method and device, storage medium and computer equipment
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN108304289B (en) Terminal fingerprint test method and device, computer equipment and storage medium
CN109542712B (en) Server pressure testing method and device, computer equipment and storage medium
CN108848000B (en) Network request testing method and device, computer equipment and storage medium
CN106951765A (en) A kind of zero authority mobile device recognition methods based on browser fingerprint similarity
CN108287823B (en) Message data processing method and device, computer equipment and storage medium
CN110941555A (en) Test case recommendation method and device, computer equipment and storage medium
CN108256322B (en) Security testing method and device, computer equipment and storage medium
CN110321284B (en) Test data entry method, device, computer equipment and storage medium
CN108763888B (en) User profile processing method and device, computer equipment and storage medium
CN109325666B (en) Service processing method, device, computer equipment and storage medium
CN112637008A (en) Link simulation test method, device, system, computer equipment and storage medium
CN108776642B (en) Test report generation method and device, computer equipment and storage medium
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN110991538A (en) Sample classification method and device, storage medium and computer equipment
WO2021036681A1 (en) Data verification method and apparatus, computer device and storage medium
CN110503296B (en) Test method, test device, computer equipment and storage medium
CN111328068B (en) Card writing method and device, computer equipment and storage medium
CN110516172B (en) Resource calling method and device, computer equipment and storage medium
CN111339317A (en) User registration identification method and device, computer equipment and storage medium
CN111147441A (en) Method and device for automatically detecting fraud behaviors of online ticket purchasing and readable storage medium
CN110930193A (en) Advertisement conversion rate evaluation method and device, computer equipment and storage medium
CN105162799A (en) Method for checking whether client is legal mobile terminal or not and server
CN112632504B (en) Webpage access method, device, system, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1256645

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant