CN109657107B - Terminal matching method and device based on third-party application - Google Patents
Terminal matching method and device based on third-party application Download PDFInfo
- Publication number
- CN109657107B CN109657107B CN201811303096.3A CN201811303096A CN109657107B CN 109657107 B CN109657107 B CN 109657107B CN 201811303096 A CN201811303096 A CN 201811303096A CN 109657107 B CN109657107 B CN 109657107B
- Authority
- CN
- China
- Prior art keywords
- terminal
- information
- matched
- party application
- matching
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
Landscapes
- Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the application provides a terminal matching method and a device based on third-party application, and the terminal matching method based on the third-party application is applied to a server and comprises the following steps: acquiring characteristic string data and terminal characteristic information of a terminal to be matched, which are sent by the terminal to be matched, according to a matching instruction sent by a third-party application; querying a predetermined device database to determine whether a first terminal matching the feature string data exists in the device database; when the first terminal does not exist, determining whether a second terminal matched with the terminal to be matched exists in the equipment database or not by using a preset similarity algorithm according to the system information, the network connection information and the hardware information; and when the first terminal or the second terminal exists, determining that the terminal to be matched is successfully matched.
Description
Technical Field
The present application relates to the field of electronic commerce technologies, and in particular, to a terminal matching method and apparatus based on third-party applications.
Background
As the increasing variety of services of the WeChat third-party application (applet) is becoming more and more abundant, some speculators may use the WeChat applet to perform malicious operations, such as fraud, wool pulling, etc., and therefore the third-party application needs to identify the terminal to determine whether it matches a black device in the existing database. In the prior art, when a terminal is identified, the device can be marked by writing a unique characteristic character string into a small program cache in the WeChat based on a WeChat matching mobile terminal method, and if the next information contains the characteristic string, the matching success can be indicated, namely the terminal is a historical terminal and exists in a device database. However, the effect of this method is very unstable because the cache limit in the applet is very short and other operations by the user are very likely to cause the cache to be cleared.
In addition, openId (identification information of an application) of the wechat is directly used as an equipment identifier, a group control tool is generally used in black products, a large number of real equipment is automatically controlled to continuously log in new micro signals, and then malicious operation is performed, so that the method can be easily bypassed by adopting a plurality of wechat account numbers, and effective matching of the equipment cannot be realized.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a terminal matching method based on a third-party application, which can solve the problem in the prior art that effective matching cannot be performed.
Correspondingly, the embodiment of the application also provides a terminal matching device based on third-party application, so as to ensure the realization and application of the method.
In order to solve the above problem, an embodiment of the present application discloses a terminal matching method based on third-party application, which is applied to a server, and the method includes:
acquiring the characteristic string data and the terminal characteristic information of the terminal to be matched, which are sent by the terminal to be matched, according to the matching instruction sent by the third-party application;
querying a predetermined device database to determine whether a first terminal matching the feature string data exists in the device database;
when the first terminal does not exist, determining whether a second terminal matched with the terminal to be matched exists in the equipment database or not by using a preset similarity algorithm according to the terminal characteristic information;
when the first terminal or the second terminal exists, determining that the terminal to be matched is successfully matched;
the feature string data is a unique identification field used by the third-party application for identifying the terminal to be matched, the terminal feature information includes at least two of identification information, system information, network connection information and hardware information of an application program, the third-party application is an application developed based on the application program, the identification information of the application program is an identification used by the application program for user identification, and the matching instruction is used for indicating the server to perform matching operation.
Correspondingly, the embodiment of the application also discloses a terminal matching method based on third-party application, which is applied to a terminal with the third-party application, and the method comprises the following steps:
when the third-party application is operated for the first time, the third-party application is stored and used for identifying the unique identification field of the terminal as the characteristic string data of the terminal;
sending a matching instruction according to the third-party application to acquire the feature string data and terminal feature information, wherein the terminal feature information comprises at least two of identification information of an application program of the terminal, current system information of the terminal, network connection information and hardware information, the matching instruction is used for indicating the terminal to perform matching operation, and the third-party application is an application developed based on the application program;
encrypting the characteristic string data and the terminal characteristic information;
and sending the encrypted feature string data and the terminal feature information to the server.
Correspondingly, the embodiment of the application also discloses a terminal matching device based on third party application, which is applied to a server, and the device comprises:
the acquisition module is used for acquiring the characteristic string data and the terminal characteristic information of the terminal to be matched, which are sent by the terminal to be matched, according to the matching instruction sent by the third-party application;
the query module is used for querying a predetermined device database to determine whether a first terminal matched with the feature string data exists in the device database;
the matching module is used for determining whether a second terminal matched with the terminal to be matched exists in the equipment database or not by utilizing a preset similarity algorithm according to the terminal characteristic information when the first terminal does not exist;
a determining module, configured to determine that the terminal to be matched is successfully matched when the first terminal or the second terminal exists;
the feature string data is a unique identification field used by the third-party application for identifying the terminal to be matched, the terminal feature information includes at least two of identification information, system information, network connection information and hardware information of an application program, the third-party application is an application developed based on the application program, the identification information of the application program is an identification used by the application program for user identification, and the matching instruction is used for indicating the server to perform matching operation.
Correspondingly, the embodiment of the application also discloses a terminal matching device based on third party application, which is applied to a terminal with the third party application, and the device comprises:
the data storage module is used for storing a unique identification field used for identifying the terminal by the third-party application when the third-party application is operated for the first time, and the unique identification field is used as the characteristic string data of the terminal;
an obtaining module, configured to obtain the feature string data and terminal feature information according to a matching instruction sent by the third-party application, where the terminal feature information includes at least two of identification information of an application program of the terminal, current system information, network connection information, and hardware information, the matching instruction is used to instruct the terminal to perform matching operation, and the third-party application is an application developed based on the application program;
the encryption module is used for encrypting the characteristic string data and the terminal characteristic information;
and the sending module is used for sending the encrypted feature string data and the terminal feature information to the server.
An apparatus is also provided in an embodiment of the present application, comprising a processor and a memory, wherein,
the processor executes the computer program codes stored in the memory to realize the terminal matching method based on the third-party application.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the terminal matching method based on third-party application described in the present application are implemented.
The embodiment of the application has the following advantages:
according to the embodiment of the application, the characteristic string data and the terminal characteristic information of the terminal to be matched, which are sent by the terminal to be matched, are obtained according to the matching instruction sent by the third-party application; querying a predetermined device database to determine whether a first terminal matching the feature string data exists in the device database; when the first terminal does not exist, determining whether a second terminal matched with the terminal to be matched exists in the equipment database or not by using a preset similarity algorithm according to the terminal characteristic information; when the first terminal or the second terminal exists, determining that the terminal to be matched is successfully matched; the feature string data is a unique identification field used by a third-party application in the application program to identify the terminal to be matched, the terminal feature information includes at least two of identification information, system information, network connection information and hardware information of the application program, the third-party application is an application developed based on the application program, the identification information of the application program is an identification used by the application program for user identification, and the matching instruction is used for indicating the server to perform matching operation. Therefore, the terminal can be matched by using various matching data, and the accuracy and the effectiveness of terminal matching are improved.
Drawings
Fig. 1 is a flowchart illustrating steps of an embodiment of a terminal matching method based on a third-party application according to the present application;
FIG. 2 is a flowchart illustrating steps of an alternative embodiment of a third party application based terminal matching method according to the present application;
FIG. 3 is a flowchart illustrating steps of an alternative embodiment of a third party application based terminal matching method according to the present application;
FIG. 4 is a flowchart illustrating steps of another embodiment of a third-party application-based terminal matching method according to the present application;
fig. 5 is a block diagram of an embodiment of a terminal matching device based on a third-party application according to the present application;
fig. 6 is a block diagram of another embodiment of a terminal matching device based on a third-party application according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a terminal matching method based on third-party application according to the present application is shown, which may specifically include the following steps:
The terminal feature information comprises at least two of identification information, system information, network connection information and hardware information of an application program, the feature string data is a unique identification field of the terminal to be matched in the application program, the third-party application is an application developed based on the application program, the identification information of the application program is an identification used by the application program for user identification, such as openId, and the matching instruction is used for indicating a server to perform matching operation.
In addition, the network connection information includes information of wireless network connection and/or bluetooth connection; the hardware information comprises at least one of the brand, the model, the biological authentication capability, the screen resolution and biological information stored on the terminal to be matched; the biometric information comprises fingerprint information and/or iris information and/or voice information.
The fingerprint information may be, for example, a user fingerprint stored on the tape matching terminal, or a canvas fingerprint.
In a specific implementation, an application developed based on an application program, for example, an applet on a WeChat, is used as a third-party application, and when device matching is performed, a matching instruction is first sent to each terminal and server using the applet, so that the terminal and the server respectively perform corresponding operations: the terminal sends all the information which can be acquired and can be used for performing device matching operation to the server, for example, the information may include screen brightness, volume, operating system, system memory configuration and the like, and is used as more accurate information for device matching, so that the server can further perform matching by means of the information after the terminal is failed to be matched through the feature string data.
For example, since the feature string data is unique, when the feature string data is used for matching in the device database, the first terminal with consistent feature string data is the terminal to be matched; otherwise, it indicates that the terminal to be matched may be a new terminal or that new feature string data has been allocated to the terminal to be matched because the cache of the application program is valid, and then it is necessary to further use other feature information to perform matching of the terminal.
And 103, when the first terminal does not exist, determining whether a second terminal matched with the terminal to be matched exists in the equipment database by using a preset similarity algorithm according to the terminal characteristic information.
For example, when the terminal to be matched cannot be matched by using the feature string data, the server may perform further matching according to the terminal feature information sent by the terminal, for example, first perform matching by using a combination of the openId and the hardware information, where the openId is an identifier allocated to the user as a WeChat, and can quickly identify whether the current terminal to be matched is a historical device in the device database, if no matching still exists, may continue to perform similarity matching by using other information, for example, the hardware information and the WiFi information in the network connection information as a search condition, and combine with a preset similarity calculation method, search again in the device database for a terminal whose similarity with the terminal to be matched is greater than a preset similarity threshold, and perform similarity calculation by using different algorithms corresponding to different data types in the terminal feature information, for example, using a hash value to calculate a cosine distance for the character string type data, the cosine distance etc. is directly calculated for data value type data. However, because the information, such as the system information, the network connection information, and the hardware information, may not be matched to the terminal that is completely consistent with the terminal to be matched when the information is searched in the device database using the search condition, the similarity between the terminal to be matched and the terminal in the device database may be correspondingly calculated using a similarity calculation method, and when the similarity is higher than the set threshold, it is indicated that the matching of the terminal to be matched is successful, otherwise, it is indicated that the terminal is not the same terminal, and the unmatching is not successful.
And step 104, when the first terminal or the second terminal exists, determining that the terminal to be matched is successfully matched.
That is, no matter the matching is performed by using the feature string or by using the combination of the system information, the network connection information, and the hardware information, when the terminal successfully matched with the terminal to be matched can be determined, it is indicated that the terminal to be matched is the terminal stored in the device database, that is, the matching is successful this time, and the server may send the matching success information to the third-party application (applet) for further processing operation according to the information.
To sum up, according to the terminal matching method based on the third-party application provided by the embodiment of the present application, the feature string data and the terminal feature information of the terminal to be matched, which are sent by the terminal to be matched, are received according to the received matching instruction; querying a predetermined device database to determine whether a first terminal matching the feature string data exists in the device database; when the first terminal does not exist, determining whether a second terminal matched with the terminal to be matched exists in the equipment database or not by using a preset similarity algorithm according to the terminal characteristic information; and when the first terminal or the second terminal exists, determining that the terminal to be matched is successfully matched. Therefore, the terminal can be matched by using various matching data, and the accuracy and the effectiveness of terminal matching are improved.
Referring to fig. 2, which is a flowchart illustrating steps of an alternative embodiment of the terminal matching method based on the third-party application according to the present application, when there is no first terminal, determining whether there is a second terminal matching the terminal to be matched in the device database by using a preset similarity algorithm according to the terminal feature information in step 103 may include the following steps:
and step 1031, determining whether a terminal with the similarity to the terminal to be matched being greater than a preset similarity threshold exists in the device database according to the identification information and the hardware information of the application program.
For example, any combination of the two terminal feature information may be used as the search condition, and the application is not limited thereto.
Preferably, first, through the combination of the identification information openID of the application program and the hardware information, matching is searched in the device database to determine whether there is a terminal whose similarity of the current device to be matched is greater than the similarity threshold, if so, the matching is successful, otherwise, the combination among the hardware information, the system information and the network connection information is continuously adopted to continuously perform matching.
And 1032, when the terminal with the similarity larger than the similarity threshold with the terminal to be matched does not exist, determining whether the terminal with the similarity larger than the similarity threshold with the terminal to be matched exists in the equipment database according to the combination of the application information, the system information and the network connection information.
It should be noted that, during research, the inventors found that, based on the consideration of the calculation accuracy and the rate, it is preferable to first perform matching with the hardware information by using openID, and then use the combination of the hardware information and the WiFi information, the hardware information and the bluetooth connection information, and the hardware information and the system information as the matching condition, so that the matching effectiveness can be ensured and the calculation resources are not wasted. For the reason of precise matching, a combination of multiple pieces of information may also be used, for example, hardware information, WiFi and bluetooth connection information are used together as matching conditions for matching, which is not limited by the present disclosure.
And 1033, when there is no terminal with the similarity larger than the similarity threshold with the terminal to be matched, determining that there is no second terminal.
For example, when the above information is sequentially combined and the similarity with the terminal to be matched is not found to be greater than the similarity threshold after matching as the search condition, it is indicated that the terminal to be matched belongs to a new device, that is, there is no second terminal.
And 1034, when a terminal with the similarity greater than the similarity threshold exists, taking the terminal with the similarity greater than the similarity threshold as the second terminal.
It should be noted that, for different search conditions, the set similarity threshold is different, for example, the similarity threshold corresponding to the WiFi information in the hardware information and the network connection information may be higher than the similarity threshold between the hardware information and the screen brightness, and the similarity threshold is reasonably set according to the actual application and the historical data.
Referring to fig. 3, a flowchart illustrating steps of an alternative embodiment of the terminal matching method based on third party application according to the present application is shown, where the method may further include the following steps:
and 105, outputting the device ID corresponding to the first terminal or the second terminal when the first terminal or the second terminal exists.
The device ID is a device identifier stored in the device number library and determined based on the terminal feature information and the feature string data of the first terminal or the second terminal.
If the first terminal or the second terminal can be matched through the steps, correspondingly outputting the device ID corresponding to the first terminal or the second terminal to a service provider of the third-party application so as to show that the matching operation of the device is realized.
And 106, when the second terminal does not exist, generating the equipment ID corresponding to the terminal to be matched by using the characteristic string data of the terminal to be matched and the terminal characteristic information.
And step 107, storing the device ID corresponding to the terminal to be matched in a device database.
In an example, when a terminal matched with a terminal to be matched cannot be found through feature string data, system information, network connection information and hardware information sent by the terminal, it is described that the terminal to be matched does not exist in the device database, and a device ID may be generated by using the above information of the terminal.
The specific generation method of the device ID is as follows: firstly, constructing an information set of the terminal by acquiring information, wherein the information set is marked as W1, W2, … and Wn, and then acquiring an entropy value of each field in the information set, and the entropy value is marked as H1, H2, … and Hn; then, according to the characteristic of entropy value, the mutually independent parameter combinations are combined to obtain the comprehensive entropy value of all parameter entropy values, namelyAnd the entropy value is noted as the device ID. And then storing the new equipment ID in an equipment database, so that when matching is performed later, if matching is successful, the equipment ID is correspondingly output. The terminal may also be marked, for example, with information such as "new network entry".
Referring to fig. 4, a flowchart illustrating steps of another embodiment of a terminal matching method based on a third-party application according to the present application is shown, and the method is applied to a terminal having the third-party application and includes the following steps:
For example, when a third-party application is run for the first time, such as an applet of a WeChat, a server of the applet sets a unique field for identification for a terminal, and the terminal stores the feature string data into a cache and a file so as to bring the feature string terminal when communicating with the server next time.
And 402, acquiring the feature string data and the terminal feature information according to the matching instruction sent by the third-party application.
The terminal characteristic information comprises at least two of identification information of an application program of the terminal, current system information of the terminal, network connection information and hardware information, the matching instruction is used for indicating the terminal to perform matching operation, and the third-party application is an application developed based on the application program.
That is to say, the scheme provided by the application enables the applet to collect other information of the terminal, such as openId, Wifi connection information, system configuration and the like, through the data interface opened to the applet by the WeChat.
And step 403, encrypting the terminal characteristic information.
And step 404, sending the encrypted feature string data and the terminal feature information to a server.
For example, for a terminal, after receiving a matching instruction which needs to be matched with the terminal and is sent by a third-party application, that is, a wechat applet server, current feature string data of the terminal, identification information of an application program, system information, network connection information and hardware information are obtained, the information which can be obtained by the application program can be directly used as a retrieval condition for matching with the terminal, and meanwhile, encryption operation is carried out for ensuring information safety and then sent to the server, so that the matching operation of the terminal is conveniently carried out by the server.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 5, a block diagram of a terminal matching device based on third party application according to an embodiment of the present application is shown, and the terminal matching device is applied to a server, and may specifically include the following modules:
the obtaining module 510 is configured to obtain, according to a matching instruction sent by a third-party application, feature string data and terminal feature information of a terminal to be matched, which are sent by the terminal to be matched.
A query module 520, configured to perform a query in a predetermined device database to determine whether there is a first terminal matching the feature string data in the device database.
A matching module 530, configured to, when there is no first terminal, determine whether a second terminal matching the terminal to be matched exists in the device database according to the terminal characteristic information by using a preset similarity algorithm.
A determining module 540, configured to determine that a terminal to be matched is successfully matched when there is a first terminal or a second terminal;
the characteristic string data is a unique identification field used for identifying the terminal to be matched by a third-party application in the application program, the terminal characteristic information comprises at least two of identification information, system information, network connection information and hardware information of the application program, the third-party application is an application developed based on the application program, the identification information of the application program is an identification used for user identification by the application program, and the matching instruction is used for indicating the server to perform matching operation.
Optionally, the network connection information includes information of wireless network connection and/or bluetooth connection; the hardware information comprises at least one of the brand, the model, the biological authentication capability, the screen resolution and biological information stored on the terminal to be matched; the biometric information comprises fingerprint information and/or iris information and/or voice information.
In an alternative embodiment of the present application, the matching module 530 includes the following sub-modules:
the similarity determining submodule is used for determining whether a terminal with the similarity larger than a preset similarity threshold exists in the equipment database according to the identification information and the hardware information of the application program;
the similarity determining submodule is further configured to determine whether a terminal with similarity greater than a similarity threshold exists in the device database according to a combination of the application information, the system information, and the network connection information when a terminal with similarity greater than the similarity threshold does not exist.
The determining submodule is used for determining that a second terminal does not exist when the terminal with the similarity larger than the similarity threshold does not exist;
and the determining submodule is used for taking the terminal with the similarity greater than the similarity threshold as the second terminal when the terminal with the similarity greater than the similarity threshold with the terminal to be matched exists.
Optionally, the apparatus 500 shown in the embodiment of the present application further includes:
and the output module is used for outputting the device ID corresponding to the first terminal or the second terminal when the first terminal or the second terminal exists.
And the updating module is used for generating the equipment ID corresponding to the terminal to be matched by using the characteristic string data of the terminal to be matched and the terminal characteristic information when the second terminal does not exist.
And the storage module is used for storing the equipment ID corresponding to the terminal to be matched in the equipment database.
Referring to fig. 6, a block diagram of a terminal matching device based on a third party application according to an embodiment of the present application is shown, and the terminal matching device is applied to a terminal with the third party application, and specifically includes the following modules:
and the data saving module 610 is configured to, when the third-party application is run for the first time, save the unique identification field, which is used by the third-party application to identify the terminal, as the feature string data.
And an obtaining module 620, configured to obtain the feature string data and the terminal feature information according to the matching instruction sent by the third-party application.
The terminal characteristic information comprises at least two of identification information of an application program of the terminal, current system information, network connection information and hardware information, the matching instruction is used for indicating the terminal to perform matching operation, and the third-party application is an application developed based on the application program.
And an encryption module 630, configured to encrypt the feature string data and the terminal feature information.
And a sending module 640, configured to send the encrypted feature string data and the terminal feature information to a server.
The present application further provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a terminal device, the one or more modules may cause the terminal device to execute instructions (instructions) of method steps in the present application.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (8)
1. A terminal matching method based on third-party application is applied to a server, and the method comprises the following steps:
acquiring the characteristic string data and the terminal characteristic information of the terminal to be matched, which are sent by the terminal to be matched, according to the matching instruction sent by the third-party application;
querying a predetermined device database to determine whether a first terminal matching the feature string data exists in the device database;
when the first terminal does not exist, determining whether a second terminal matched with the terminal to be matched exists in the equipment database or not by using a preset similarity algorithm according to the terminal characteristic information;
when the first terminal or the second terminal exists, determining that the terminal to be matched is successfully matched;
the feature string data is a unique identification field used by the third-party application for identifying the terminal to be matched, the terminal feature information includes at least two of identification information, system information, network connection information and hardware information of an application program, the third-party application is an application developed based on the application program, the identification information of the application program is an identification used by the application program for user identification, and the matching instruction is used for indicating the server to perform matching operation;
when the first terminal does not exist, determining whether a second terminal matched with the terminal to be matched exists in the equipment database by using a preset similarity algorithm according to the terminal characteristic information, wherein the step of determining whether the second terminal matched with the terminal to be matched exists comprises the following steps:
determining whether a terminal with the similarity to the terminal to be matched being larger than a preset similarity threshold exists in the equipment database according to the identification information of the application program and the hardware information;
when the terminal with the similarity larger than the similarity threshold value with the terminal to be matched does not exist, determining whether the terminal with the similarity larger than the similarity threshold value with the terminal to be matched exists in the equipment database according to the combination of the application information, the system information and the network connection information;
when the terminal with the similarity to the terminal to be matched being larger than the similarity threshold value does not exist, determining that the second terminal does not exist;
and when the terminal with the similarity greater than the similarity threshold exists, taking the terminal with the similarity greater than the similarity threshold as the second terminal.
2. The method of claim 1, wherein the network connection information comprises information of a wireless network connection and/or a bluetooth connection; the hardware information comprises at least one of the brand, the model, the biological authentication capability, the screen resolution and biological information stored on the terminal to be matched; the biological information includes fingerprint information and/or iris information and/or voice information.
3. The method of claim 1, further comprising:
when the first terminal or the second terminal exists, outputting a device ID corresponding to the first terminal or the second terminal;
when the second terminal does not exist, generating a device ID corresponding to the terminal to be matched by using the feature string data of the terminal to be matched and the terminal feature information;
and storing the equipment ID corresponding to the terminal to be matched in the equipment database.
4. A terminal matching method based on a third party application is applied to a terminal with the third party application, and the method comprises the following steps:
when the third-party application is operated for the first time, storing a unique identification field used for identifying the terminal by the third-party application as the characteristic string data of the terminal;
acquiring the feature string data and terminal feature information according to a matching instruction sent by the third-party application, wherein the terminal feature information comprises at least two of identification information of the application program, current system information of the terminal, network connection information and hardware information, the matching instruction is used for indicating the terminal to perform matching operation, and the third-party application is an application developed based on the application program;
encrypting the characteristic string data and the terminal characteristic information;
and sending the encrypted feature string data and the encrypted terminal feature information to a third-party application server.
5. A terminal matching device based on third-party application is applied to a server, and the device comprises:
the acquisition module is used for acquiring the characteristic string data and the terminal characteristic information of the terminal to be matched, which are sent by the terminal to be matched, according to the matching instruction sent by the third-party application;
the query module is used for querying a predetermined device database to determine whether a first terminal matched with the feature string data exists in the device database;
the matching module is used for determining whether a second terminal matched with the terminal to be matched exists in the equipment database or not by utilizing a preset similarity algorithm according to the terminal characteristic information when the first terminal does not exist;
a determining module, configured to determine that the terminal to be matched is successfully matched when the first terminal or the second terminal exists;
the feature string data is a unique identification field used by the third-party application for identifying the terminal to be matched, the terminal feature information includes at least two of identification information, system information, network connection information and hardware information of an application program, the third-party application is an application developed based on the application program, the identification information of the application program is an identification used by the application program for user identification, and the matching instruction is used for indicating the server to perform matching operation;
wherein the matching module comprises:
the similarity determining submodule is used for determining whether a terminal with the similarity to the terminal to be matched being larger than a preset similarity threshold exists in the equipment database according to the identification information of the application program and the hardware information;
the similarity determining submodule is further configured to determine, when there is no terminal whose similarity with the terminal to be matched is greater than the similarity threshold, whether there is a terminal whose similarity with the terminal to be matched is greater than the similarity threshold in the device database according to a combination of the application information, the system information, and the network connection information;
the determining submodule is used for determining that the second terminal does not exist when the terminal with the similarity to the terminal to be matched is larger than the similarity threshold value does not exist;
the determining submodule is further configured to, when there is a terminal whose similarity to the terminal to be matched is greater than the similarity threshold, take the terminal whose similarity to the terminal to be matched is greater than the similarity threshold as the second terminal.
6. The apparatus of claim 5, wherein the network connection information comprises information of a wireless network connection and/or a Bluetooth connection; the hardware information comprises at least one of the brand, the model, the biological authentication capability, the screen resolution and biological information stored on the terminal to be matched; the biological information includes fingerprint information and/or iris information and/or voice information.
7. The apparatus of claim 5, further comprising:
an output module, configured to output a device ID corresponding to the first terminal or the second terminal when the first terminal or the second terminal exists;
the updating module is used for generating the equipment ID corresponding to the terminal to be matched by using the characteristic string data of the terminal to be matched and the terminal characteristic information when the second terminal does not exist;
and the storage module is used for storing the equipment ID corresponding to the terminal to be matched in the equipment database.
8. A terminal matching device based on a third party application is applied to a terminal with the third party application, and the device comprises:
the data storage module is used for storing a unique identification field used for identifying the terminal by the third-party application when the third-party application is operated for the first time, and the unique identification field is used as the characteristic string data of the terminal;
an obtaining module, configured to obtain the feature string data and terminal feature information according to a matching instruction sent by the third-party application, where the terminal feature information includes at least two of identification information of an application program of the terminal, current system information of the terminal, network connection information, and hardware information, the matching instruction is used to instruct the terminal to perform matching operation, and the third-party application is an application developed based on the application program;
the encryption module is used for encrypting the characteristic string data and the terminal characteristic information;
and the sending module is used for sending the encrypted characteristic string data and the terminal characteristic information to a third-party application server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811303096.3A CN109657107B (en) | 2018-11-02 | 2018-11-02 | Terminal matching method and device based on third-party application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811303096.3A CN109657107B (en) | 2018-11-02 | 2018-11-02 | Terminal matching method and device based on third-party application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109657107A CN109657107A (en) | 2019-04-19 |
CN109657107B true CN109657107B (en) | 2021-01-01 |
Family
ID=66110613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811303096.3A Active CN109657107B (en) | 2018-11-02 | 2018-11-02 | Terminal matching method and device based on third-party application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109657107B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177093A (en) * | 2019-05-22 | 2019-08-27 | 上海上湖信息技术有限公司 | A kind of equipment, equipment and recognition methods for identification carrying out identification |
CN110321696B (en) * | 2019-07-01 | 2020-08-25 | 阿里巴巴集团控股有限公司 | Account security protection method and system based on small program |
CN110598472B (en) * | 2019-09-18 | 2022-03-22 | 广州虎牙科技有限公司 | Equipment identification method, device, server and storage medium |
CN113190185A (en) * | 2020-01-14 | 2021-07-30 | 深圳怡化电脑股份有限公司 | Application program and physical equipment matching method and device and terminal equipment |
CN111260220B (en) * | 2020-01-16 | 2021-05-14 | 北京房江湖科技有限公司 | Group control equipment identification method and device, electronic equipment and storage medium |
CN111787131B (en) * | 2020-06-24 | 2023-02-21 | 百度在线网络技术(北京)有限公司 | ID generation method and electronic device |
CN113220689B (en) * | 2021-05-26 | 2022-03-18 | 每日互动股份有限公司 | Equipment identification system based on wifi fingerprint information |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544409A (en) * | 2012-07-11 | 2014-01-29 | 腾讯科技(深圳)有限公司 | Method for controlling application program, use equipment and server |
CN105591743B (en) * | 2014-10-23 | 2020-07-24 | 腾讯科技(深圳)有限公司 | Method and device for identity authentication through equipment operation characteristics of user terminal |
CN107392121B (en) * | 2017-07-06 | 2023-05-09 | 同济大学 | Self-adaptive equipment identification method and system based on fingerprint identification |
CN107908666A (en) * | 2017-10-23 | 2018-04-13 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of identification equipment mark |
CN108197190A (en) * | 2017-12-26 | 2018-06-22 | 北京秒针信息咨询有限公司 | A kind of method and apparatus of user's identification |
-
2018
- 2018-11-02 CN CN201811303096.3A patent/CN109657107B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109657107A (en) | 2019-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109657107B (en) | Terminal matching method and device based on third-party application | |
CN106412907B (en) | Network access method, related equipment and system | |
CN109189367B (en) | Data processing method, device, server and storage medium | |
US11003754B2 (en) | Method and apparatus for user authentication based on feature information | |
CN106790156B (en) | Intelligent device binding method and device | |
CN104866985B (en) | The recognition methods of express delivery odd numbers, apparatus and system | |
CN106251114B (en) | Method and device for realizing approval in application | |
CN112613051A (en) | Data encryption storage method and device, computer equipment and storage medium | |
CN110717647A (en) | Decision flow construction method and device, computer equipment and storage medium | |
CN111460394A (en) | Copyright file verification method and device and computer readable storage medium | |
CN112468409A (en) | Access control method, device, computer equipment and storage medium | |
CN110647641A (en) | Identity authentication method, identity authentication device, computer equipment and storage medium | |
CN111177481A (en) | User identifier mapping method and device | |
Liu et al. | Smart hardware hybrid secure searchable encryption in cloud with IoT privacy management for smart home system | |
CN109388558A (en) | A kind of method, apparatus, equipment and storage medium managing electronic equipment | |
CN110930193B (en) | Advertisement conversion rate evaluation method, advertisement conversion rate evaluation device, computer equipment and storage medium | |
CN105184559A (en) | System and method for payment | |
CN111339317A (en) | User registration identification method and device, computer equipment and storage medium | |
WO2023142349A1 (en) | Behavior sequence generation method and apparatus, storage medium and electronic device | |
CN108829534B (en) | Data problem repairing method, device, computer equipment and storage medium | |
CN108540471B (en) | Mobile application network traffic clustering method, computer readable storage medium and terminal | |
CN113297583B (en) | Vulnerability risk analysis method, device, equipment and storage medium | |
CN115664728A (en) | Method, device, equipment and storage medium for enhancing password management application security | |
CN106161365B (en) | Data processing method and device and terminal | |
CN114745173A (en) | Login verification method, login verification device, computer equipment, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210913 Address after: 311100 18 Yuhang 207, Wen Yi Xi Road, Yuhang District, Hangzhou, Zhejiang. Patentee after: TONGDUN TECHNOLOGY Co.,Ltd. Address before: Room 704, building 18, No. 998, Wenyi West Road, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province Patentee before: TONGDUN HOLDINGS Co.,Ltd. |