Method, device and storage medium for identifying application sharing user

By generating and matching identifiers with terminal device information, the system automatically identifies users who share applications, solving the problem of cumbersome manual input of referral codes in existing technologies, improving recognition efficiency and accuracy, and optimizing user experience.

CN111400636BActive Publication Date: 2025-12-16SHENZHEN SAIANTE TECH SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010142841.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-03
Publication Date
2025-12-16
Estimated Expiration
2040-03-03

AI Technical Summary

Technical Problem

In existing technologies, new users need to manually enter a referral code when identifying users who share an application. This process is cumbersome, error-prone, and negatively impacts the user experience.

Method used

By obtaining the terminal device information of the user to be shared, a shared user identifier is generated using a preset identifier algorithm, and an association mapping is established with the source user identifier to automatically match the target source user identifier, eliminating the need for new users to manually input the identifier.

Benefits of technology

It improves recognition efficiency and accuracy, optimizes user experience, and simplifies operation procedures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111400636B_ABST
    Figure CN111400636B_ABST
Patent Text Reader

Abstract

The application discloses a kind of application sharing user's identification method, device and equipment and storage medium, comprising: when being shared user clicks application sharing page, based on the device information of terminal, generate shared user identification using preset identification algorithm;When being shared user registers, obtain the current device information of its current terminal and generate to be matched user identification;Match to be matched user identification in association mapping, if match is successful, then the corresponding target source user identification is obtained to determine application sharing user.Due to the source user identification is embedded into application sharing page, when being shared user clicks application sharing page, generate shared user identification, when being shared user registers, automatically generate to be matched user identification and find target source user identification in the association mapping of shared user identification and source user identification, eliminate the operation of new user manually input application sharing user identification information, improve user identification efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer software, and particularly relates to a method and device for identifying application sharing users, equipment and a storage medium. BACKGROUND

[0002] With the rapid development of computer technology, more and more application programs (Apps) are popularized in the market, but with the gradual saturation of the mobile market, the popularization of Apps becomes more and more difficult, and the cost of acquiring customers becomes higher and higher. Therefore, reducing the popularization and cost of acquiring customers of Apps as much as possible has become an important problem for each App provider to consider.

[0003] At present, it is a good and effective method to reduce the popularization and cost of acquiring customers to let old users recommend new users and give some rights and rewards to old users. In the current environment of nationwide socialization, each user has a large number of friends and social groups, and a large number of users can be quickly acquired through social recommendation in a fission way. However, how to determine that a new user is recommended by which old user or salesman, the existing method is to let the new user fill in the identification information (such as a recommendation code or other characters capable of identifying a unique identity) of the old user or salesman, but the biggest disadvantage of this method is that the new user needs to manually input the recommendation code, which cannot be automatically recognized and input, and even more cannot automatically recognize and associate the recommended old user of the new user, which is complicated and prone to input errors, and affects the user experience.

[0004] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY

[0005] The main purpose of the present application is to provide a method and device for identifying application sharing users, equipment and a storage medium, which aims to solve the technical problem that the prior art can only manually input the identification information of the application sharing user when identifying the application sharing user, which is complicated and prone to errors.

[0006] To achieve the above purpose, the present application provides a method for identifying application sharing users, which comprises the following steps:

[0007] When it is detected that a shared user clicks an application sharing page, the device information of a terminal where the shared user is located is acquired;

[0008] A preset identification algorithm is used to generate a shared user identification corresponding to the shared user based on the device information;

[0009] The source user identification carried in the application sharing page is extracted, and an association mapping between the shared user identification and the source user identification is established.

[0010] Upon receiving the application registration request sent by the shared user, current device information of a terminal currently used by the shared user is acquired;

[0011] A corresponding to-be-matched user identifier is generated based on the current device information by using the preset identification algorithm;

[0012] The to-be-matched user identifier is matched in the association mapping, and if the matching is successful, a corresponding target source user identifier is acquired, and an application sharing user is determined according to the target source user identifier.

[0013] Preferably, before the step of acquiring device information of a terminal used by the shared user when it is detected that the shared user clicks an application sharing page, the method further comprises:

[0014] Upon receiving an application sharing request sent by an application sharing user, terminal device information of a terminal used by the application sharing user is acquired;

[0015] A source user identifier corresponding to the application sharing user is generated based on the terminal device information by using a preset identification algorithm;

[0016] An application sharing page is generated based on the source user identifier, and the application sharing page is pushed to the shared user according to the application sharing request.

[0017] Preferably, the step of generating a shared user identifier corresponding to the shared user based on the device information by using a preset identification algorithm comprises:

[0018] Device address information and device parameter information contained in the device information are read;

[0019] The device address information and the device parameter information are combined to obtain combined information, and a hash value corresponding to the combined information is calculated by using a hash algorithm;

[0020] The hash value is taken as the shared user identifier corresponding to the shared user.

[0021] Preferably, the device address information comprises Internet Protocol address information.

[0022] The step of combining the device address information and the device parameter information to obtain combined information, and calculating a hash value corresponding to the combined information by using a hash algorithm comprises:

[0023] Internet Protocol address information is read from the device address information;

[0024] Combining the internet protocol address information and the device parameter information to obtain combination information, and calculating a hash value corresponding to the combination information by using a hash algorithm.

[0025] Preferably, the device address information comprises internet protocol address information and geographical position information.

[0026] The step of combining the device address information and the device parameter information to obtain combination information, and calculating a hash value corresponding to the combination information by using a hash algorithm, comprises:

[0027] Reading the internet protocol address information and the geographical position information contained in the device address information.

[0028] Combining the internet protocol address information, the geographical position information and the device parameter information to obtain combination information, and calculating a hash value corresponding to the combination information by using a hash algorithm.

[0029] Preferably, the step of combining the internet protocol address information, the geographical position information and the device parameter information to obtain combination information, and calculating a hash value corresponding to the combination information by using a hash algorithm, comprises:

[0030] Determining a current longitude and latitude of a terminal where the shared user is located according to the geographical position information.

[0031] Extracting a hardware identification number contained in the device parameter information and an internet protocol address contained in the internet protocol address information.

[0032] Combining the internet protocol address, the current longitude and latitude and the hardware identification number to obtain a combination string.

[0033] Calculating a hash value corresponding to the combination string by using a hash algorithm.

[0034] Preferably, before the step of combining the internet protocol address, the current longitude and latitude and the internet protocol address to obtain a combination string, the method further comprises:

[0035] Obtaining a longitude value and a latitude value corresponding to the current longitude and latitude, and performing optimization calculation on the longitude value and the latitude value by using a preset formula to obtain target longitude and latitude values.

[0036] The step of combining the internet protocol address, the current longitude and latitude and the internet protocol address to obtain a combination string, comprises:

[0037] Combining the Internet protocol address, the target latitude and longitude value and the Internet protocol address obtains a combination string;

[0038] The preset formula is:

[0039] C = lat / 100 + long / 100,

[0040] In the formula, C is the target latitude and longitude value, long is the longitude value, and lat is the latitude value.

[0041] In addition, to achieve the above object, the application further provides an identification device of application sharing users, which comprises:

[0042] An information extraction module is configured to acquire device information of a terminal of a shared user when it is detected that the shared user clicks an application sharing page;

[0043] An identification generation module is configured to generate a shared user identification corresponding to the shared user based on the device information by using a preset identification algorithm;

[0044] A mapping construction module is configured to extract a source user identification carried in the application sharing page and establish an association mapping between the shared user identification and the source user identification;

[0045] The information extraction module is further configured to acquire current device information of a terminal currently used by the shared user when an application registration request sent by the shared user is received;

[0046] The identification generation module is further configured to generate a to-be-matched user identification by using the preset identification algorithm based on the current device information;

[0047] An identification matching module is configured to match the to-be-matched user identification in the association mapping, acquire a target source user identification if the matching is successful, and determine an application sharing user according to the target source user identification.

[0048] In addition, to achieve the above object, the application further provides an identification device of application sharing users, which comprises a memory, a processor and an identification program of application sharing users stored in the memory and executable on the processor, and the identification program of application sharing users is configured to implement the steps of the identification method of application sharing users.

[0049] In addition, to achieve the above object, the application further provides a storage medium, and the storage medium stores an identification program of application sharing users, and the identification program of application sharing users implements the steps of the identification method of application sharing users when executed by a processor.

[0050] The application obtains device information of a terminal where a shared user is located when detecting that the shared user clicks an application sharing page; generates a shared user identifier corresponding to the shared user based on the device information by using a preset identification algorithm; extracts a source user identifier carried in the application sharing page, and establishes an association mapping between the shared user identifier and the source user identifier; obtains current device information of a terminal where the shared user is currently located when receiving an application registration request sent by the shared user; generates a to-be-matched user identifier corresponding to the shared user based on the current device information by using the preset identification algorithm; and matches the to-be-matched user identifier in the association mapping, and obtains a target source user identifier corresponding to the to-be-matched user identifier if the matching is successful, and determines an application sharing user according to the target source user identifier. Since the application sharing user identifier is embedded into the application sharing page, the shared user identifier is generated according to the device information when the shared user clicks the application sharing page, and then the shared user identifier and the source user identifier are associated and mapped, so that the to-be-matched user identifier can be generated automatically according to the current device information obtained when the shared user registers, and then the target source user identifier is searched in the association mapping, the operation of manually inputting the application sharing user identifier information by a new user is avoided, the recognition efficiency and accuracy are improved, and the user experience is optimized. BRIEF DESCRIPTION OF DRAWINGS

[0051] Figure 1 is a structural schematic diagram of an application sharing user recognition device related to a hardware running environment of an embodiment scheme of the application.

[0052] Figure 2 is a flowchart of an application sharing user recognition method first embodiment of the application.

[0053] Figure 3 is a flowchart of an application sharing user recognition method second embodiment of the application.

[0054] Figure 4 is a structural block diagram of an application sharing user recognition device first embodiment of the application.

[0055] The implementation, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are intended to explain the application, but not to limit the application.

[0057] Reference Figure 1 , Figure 1 is a structural schematic diagram of an application sharing user recognition device related to a hardware running environment of an embodiment scheme of the application.

[0058] As Figure 1As shown, the application sharing user's identification device can include a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection communication between the components. The user interface 1003 can include a display, an input unit such as a keyboard, and can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 can be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.

[0059] Those skilled in the art can understand that Figure 1 The structure shown in the figure does not constitute a limitation on the application sharing user's identification device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0060] As Figure 1 As shown, the memory 1005 as a storage medium can include an operating system, a data storage module, a network communication module, a user interface module, and an application sharing user's identification program.

[0061] In Figure 1 As shown in the application sharing user's identification device, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the application sharing user's identification device of the application can be arranged in the application sharing user's identification device, and the application sharing user's identification device calls the application sharing user's identification program stored in the memory 1005 through the processor 1001, and executes the application sharing user's identification method provided by the embodiment of the application.

[0062] The embodiment of the application provides an application sharing user's identification method, which refers to Figure 2 , Figure 2 The flowchart of the first embodiment of the application sharing user's identification method is shown.

[0063] In this embodiment, the application sharing user's identification method includes the following steps:

[0064] Step S10: When detecting that the shared user clicks the application sharing page, obtaining device information of a terminal where the shared user is located;

[0065] It should be noted that the execution subject of the method of the embodiment can be a service device with data processing, network communication and program running functions, hereinafter referred to as a server. The server can be a server corresponding to the shared application.

[0066] It should be understood that the application sharing page usually contains download information corresponding to the shared application, such as an application download link or an application download two-dimensional code, to guide the shared user to download and register the application according to the download information. The device information can include device address information and device parameter information corresponding to the terminal where the shared user is located.

[0067] The device address information includes network environment information and / or geographic environment information. The network environment information can be Internet Protocol address (IP address) information, Media Access Control address (Mac address) information, etc. The geographic environment information can be address location information, latitude and longitude information, etc. The device parameter information includes hardware / software information of the terminal device, such as factory serial number information, hardware identification number information, screen resolution information of the human-computer interaction interface, or browser information and browser version information of the browser displaying the application sharing page.

[0068] It should be noted that, in order to realize automatic identification of the application sharing user, the server needs to embed user identification information (i.e. source user identification) of the application sharing user into the application sharing page clicked by the shared user before executing the above step S10, so as to determine the application sharer according to the source user identification subsequently.

[0069] Specifically, before step S10, when receiving an application sharing request sent by the application sharing user, the server also obtains terminal device information of a terminal where the application sharing user is located; then generates a source user identification corresponding to the application sharing user based on the terminal device information by using a preset identification algorithm; and finally generates an application sharing page based on the source user identification, and pushes the application sharing page to the shared user according to the application sharing request.

[0070] The preset identification algorithm can be an algorithm for generating a specific or unique identification corresponding to information by processing the information, such as a message digest algorithm. In addition, the source user identification can be embedded in a uniform resource locator (URL) corresponding to the application sharing page, or integrated in a two-dimensional code contained in the application sharing page, which is not limited in the embodiment.

[0071] In a specific implementation, when receiving the application sharing request sent by the application sharing user, the server first acquires terminal device information of the terminal where the application sharing user is located; then generates a source user identifier corresponding to the application sharing user based on the terminal device information by using a preset identifier algorithm; generates an application sharing page based on the source user identifier, and pushes the application sharing page to the shared user according to the application sharing request; and when detecting that the shared user clicks the application sharing page, acquires device information of the terminal where the shared user is located.

[0072] Step S20: generating a shared user identifier corresponding to the shared user based on the device information by using a preset identifier algorithm;

[0073] It should be noted that in the embodiment, the user identifier of the shared user can be generated by using a preset identifier algorithm, and the shared user identifier can be generated by the preset identifier algorithm according to one or more parameters in the device information of the terminal where the shared user is located.

[0074] It should be understood that existing message digest algorithms are roughly divided into three categories: message digest (MD), secure hash algorithm (SHA), and message authentication code (MAC), and the secure hash algorithm is only taken as an example for description in the embodiment.

[0075] In a specific implementation, after acquiring the device information of the terminal where the shared user is located, the server can generate a shared user identifier corresponding to the shared user by using a message digest algorithm. For example, the server can acquire the hardware identification number of the terminal as the device information, then calculate a hash value corresponding to the hardware identification number by using the SHA algorithm, and then take the calculated hash value as the shared user identifier.

[0076] Step S30: extracting the source user identifier carried in the application sharing page, and establishing an association mapping between the shared user identifier and the source user identifier;

[0077] It should be noted that, in order to realize the automatic association of the shared user and the sharing user, the server in the embodiment automatically associates the shared user identifier with the source user identifier pre-carried in the application sharing page after calculating the shared user identifier according to the device information of the terminal where the shared user is located. In addition, the association operation is automatically triggered and executed when the application sharing user sends the application sharing page to the shared user and the shared user clicks the application sharing page, that is, once the shared user clicks the application sharing page, the server can quickly establish the association mapping between the shared user identifier and the source user identifier in a user-unaware manner through the above-mentioned manner, so as to realize the quick search of the source user identifier subsequently.

[0078] In a specific implementation, the server can extract the source user identifier from the URL corresponding to the application sharing page, and then establish the association mapping between the shared user identifier and the source user identifier.

[0079] Step S40: When receiving the application registration request sent by the shared user, obtaining the current device information of the terminal where the shared user is currently located;

[0080] It should be noted that, before performing the present step, the application developer can implant data burying points in the program code corresponding to some function points (for example, account registration, account login / logout) of the shared application, so that the data burying points automatically obtain the current device information of the terminal where the shared user is currently located when the user triggers these function points, and then send these device information to the server through the application registration request.

[0081] In a specific implementation, when receiving the application registration request sent by the shared user, the server can parse the request, and then obtain the current device information of the terminal where the shared user is currently located according to the parsing result.

[0082] Step S50: generating a corresponding to-be-matched user identifier based on the current device information by using the preset identification algorithm;

[0083] It can be understood that, after obtaining the current device information, the server also generates a corresponding to-be-matched user identifier by using the preset identification algorithm according to the current device information, and then performs accurate matching on the to-be-matched user identifier in the pre-constructed association mapping, so as to determine whether the current registered shared user has a recommender. For example, if the current device information collected by the server is geographic location information: shenzhen, the to-be-matched identifier calculated by the hash algorithm (SHA1) is Hash (shenzhen) = bafa26ada44dd1481a07415d57a28c02cc219802.

[0084] Step S60: matching the to-be-matched user identifier in the association mapping, obtaining the corresponding target source user identifier if the matching is successful, and determining the application sharing user according to the target source user identifier.

[0085] It should be understood that, after the server produces the to-be-matched user identifier according to the current device information, the server can accurately match the to-be-matched user identifier in the pre-constructed association mapping. If the matching is successful, it indicates that the shared user has a recommender. At this time, the target source user identifier can be determined according to the user identifier matched successfully in the association mapping, and the recommender, i.e., the application sharing user, can be determined.

[0086] Further, considering that in actual situations, there can be a case where the application installation terminal and the application registration terminal are inconsistent. For example, user A downloads and installs application B through a mobile phone, but registers an application account on the official website of application B through a computer. If the server uses any one of the device unique information, such as the Mac address information, the factory serial number information, or the hardware identification number information, in the process of generating the user identifier according to the device information before and after, it will lead to the inconsistency between the shared user identifier and the to-be-matched user identifier of the same user A obtained by the server, which will lead to the failure of the server to find the target source user identifier, so that the server cannot normally identify the recommender of user A.

[0087] To avoid the above situation, when the server matches the to-be-matched user identifier in the association mapping and the matching fails, the device information obtained when the shared user clicks the application sharing page can be matched with the current device information obtained when the application is registered in terms of similarity. If the similarity is higher than a preset threshold, it is determined that the matching is successful. At this time, the server can directly use the device information obtained when the user clicks the application sharing page as new current device information to calculate again, and then determine the to-be-matched user identifier.

[0088] It should be noted that in the present embodiment, the similarity matching can be to vectorize the device information first, and then calculate the cosine value of the included angle between the two vectors through the cosine similarity algorithm. The cosine value is the similarity. Of course, the similarity calculation between the device information can also be realized through other similarity calculation algorithms, and the present embodiment is not limited in detail.

[0089] The embodiment detects that a shared user clicks an application sharing page, acquires device information of a terminal where the shared user is located, generates a shared user identifier corresponding to the shared user based on the device information by using a preset identification algorithm, extracts a source user identifier carried in the application sharing page, and establishes an association mapping between the shared user identifier and the source user identifier. When an application registration request sent by the shared user is received, current device information of a terminal where the shared user is currently located is acquired, a to-be-matched user identifier is generated based on the current device information by using the preset identification algorithm, and the to-be-matched user identifier is matched in the association mapping. If the matching is successful, a target source user identifier is acquired, and an application sharing user is determined according to the target source user identifier. Since the source user identifier is embedded into the application sharing page in the embodiment, when the shared user clicks the application sharing page, the shared user identifier is generated according to the device information, and then the shared user identifier and the source user identifier are associated and mapped. Therefore, when the shared user registers, the to-be-matched user identifier can be automatically generated according to the acquired current device information, and then the target source user identifier is searched in the association mapping. The operation of manually inputting the application sharing user identifier information by a new user is avoided, the identification efficiency and accuracy are improved, and the user experience is optimized.

[0090] Reference Figure 3 , Figure 3 The flowchart of the second embodiment of the application sharing user identification method is shown.

[0091] Based on the first embodiment, in the embodiment, the step S20 includes:

[0092] Step S201: reading device address information and device parameter information included in the device information;

[0093] It should be understood that in the embodiment, the device address information can include IP address information, Mac address information, address location information, and / or latitude and longitude information, and the device parameter information can include factory serial number information, hardware identification number information, screen resolution information of a man-machine interface, or browser information and browser version information for displaying the application sharing page.

[0094] In a specific implementation, the server can read the device address information and the device parameter information from the device information.

[0095] Step S202: combining the device address information and the device parameter information to obtain combined information, and calculating a hash value corresponding to the combined information by using a hash algorithm;

[0096] It can be understood that, in actual application, calculating the hash value corresponding to the device address information and the device parameter information respectively will increase the operation amount of the server, and the combination of the hash values will result in a large number of characters of the combined hash value, which is not conducive to the storage of the hash value by the server. Therefore, in the embodiment, the server can combine the device address information and the device parameter information to obtain combined information, and then calculate the hash value corresponding to the combined information by using the hash algorithm, so as to accelerate the calculation efficiency, reduce the operation amount of the server, and save the storage space of the server.

[0097] Further, considering that the IP address of the terminal device is relatively easy to obtain, the server in the embodiment can preferentially combine the IP address and the parameters in the device parameter information, and then calculate the hash value, so as to further simplify the hash value calculation process and improve the calculation efficiency. Specifically, the server can read the internet protocol address information from the device address information; then combine the internet protocol address information and the device parameter information to obtain combined information, and calculate the hash value corresponding to the combined information by using the hash algorithm; and take the hash value as the shared user identifier corresponding to the shared user.

[0098] Further, in order to ensure that the generated hash value can represent the uniqueness of the user as much as possible, in the embodiment, the server can extract the geographic location information of the terminal from the device address information before calculating the hash value by using the hash algorithm, and then combine the internet protocol address information, the geographic location information and the device parameter information to calculate the hash value. Specifically, the server can read the internet protocol address information and the geographic location information contained in the device address information; then combine the internet protocol address information, the geographic location information and the device parameter information to obtain combined information, and calculate the hash value corresponding to the combined information by using the hash algorithm; and take the hash value as the shared user identifier corresponding to the shared user.

[0099] It can be understood that the general form of representation of the geographic location information includes two categories, one is similar to the rough address information such as province / city / county / district / street, and the other is similar to the specific address information such as longitude and latitude coordinates. In the embodiment, in order to facilitate the calculation of the preferred longitude and latitude information to represent the geographic location information of the terminal, the hardware identification number is preferably used to represent the device parameter information. Correspondingly, when calculating the hash value, the server can determine the current longitude and latitude of the terminal of the shared user according to the geographic location information; then extract the hardware identification number contained in the device parameter information and the internet protocol address contained in the internet protocol address information; combine the internet protocol address, the current longitude and latitude, and the hardware identification number to obtain a combination string; and calculate the hash value corresponding to the combination string by using the hash algorithm.

[0100] For example, the server obtains the IP address of the terminal as 219.134.158.195, the current longitude and latitude information as east longitude 114.13 and north latitude 22.53, and the hardware identification number as F71SNMHG77. The server can first combine these information to obtain a combination string "219.134.158.195 114.13 22.53 F71SNMHG77", and then calculate the hash value corresponding to the combination string by using the hash algorithm, Hash(219.134.158.195 114.13 22.53 F71SNMHG77) = 393ca8feb2e8108d0e76d92b0de0031402299157.

[0101] Further, considering that in actual situations, the specific longitude and latitude of the terminal device will change when the shared user moves, thereby causing the difference in the finally calculated user identifier. In order to avoid this situation, in the embodiment, after obtaining the longitude and latitude information of the terminal, the server will also optimize the longitude and latitude information. Specifically, the server can obtain the longitude value and the latitude value corresponding to the current longitude and latitude, and then calculate the target longitude and latitude value by optimizing the longitude value and the latitude value through a preset formula; and then combine the internet protocol address, the target longitude and latitude value, and the internet protocol address to obtain a combination string; wherein the preset formula is:

[0102] C = lat / 100 + long / 100,

[0103] In the formula, C is the target longitude and latitude value, long is the longitude value, and lat is the latitude value.

[0104] For example, the longitude and latitude value of 114.13 E and 22.53 N is optimized by a preset formula, and the obtained longitude and latitude value is C=22.53 / 100+114.13 / 100=1.3666. The embodiment optimizes the longitude and latitude value by the formula, can avoid the difference of the device position information caused by the close movement of the user, and reduces the influence of the movement error on the calculation result of the hash value.

[0105] Step S203: taking the hash value as the shared user identifier corresponding to the shared user.

[0106] It can be understood that, in order to realize the unique representation of the shared user or the shared user, the server can take the hash value as the shared user identifier corresponding to the shared user after calculating the corresponding hash value by the above-mentioned method.

[0107] The embodiment reads the device address information and the device parameter information in the device information, combines the device address information and the device parameter information to obtain combined information, calculates the hash value corresponding to the combined information by using a hash algorithm, and takes the hash value as the shared user identifier corresponding to the shared user. The embodiment combines the device address information and the device parameter information, and then calculates the hash value corresponding to the combined information by using a hash algorithm, so that the uniqueness of the produced user identifier can be ensured to the greatest extent, and the situation that the user identifiers of different users are the same in the case that some device information is the same can be avoided.

[0108] In addition, the embodiment of the application further provides a storage medium, and the storage medium stores an application shared user identification program. The application shared user identification program is executed by a processor to realize the steps of the application shared user identification method.

[0109] Reference Figure 4 , Figure 4 is a structural block diagram of the application shared user identification device according to the first embodiment of the application.

[0110] As Figure 4 shown, the application shared user identification device according to the embodiment of the application comprises:

[0111] An information extraction module 401 is configured to acquire device information of a terminal where a shared user is located when it is detected that the shared user clicks an application sharing page.

[0112] An identifier generation module 402 is configured to generate a shared user identifier corresponding to the shared user based on the device information by using a preset identifier algorithm.

[0113] The mapping construction module 403 is configured to extract a source user identifier carried in the application sharing page, and to establish an association mapping between the shared user identifier and the source user identifier.

[0114] The information extraction module 401 is further configured to, when receiving an application registration request sent by the shared user, acquire current device information of a terminal currently used by the shared user.

[0115] The identifier generation module 402 is further configured to generate a corresponding to-be-matched user identifier based on the current device information by using the preset identifier algorithm.

[0116] The identifier matching module 404 is configured to match the to-be-matched user identifier in the association mapping, acquire a target source user identifier corresponding to the to-be-matched user identifier if the matching is successful, and determine an application sharing user according to the target source user identifier.

[0117] In the embodiment, when it is detected that the shared user clicks the application sharing page, device information of a terminal used by the shared user is acquired; a shared user identifier corresponding to the shared user is generated based on the device information by using a preset identifier algorithm; a source user identifier carried in the application sharing page is extracted, and an association mapping between the shared user identifier and the source user identifier is established; when an application registration request sent by the shared user is received, current device information of a terminal currently used by the shared user is acquired; a to-be-matched user identifier is generated based on the current device information by using the preset identifier algorithm; the to-be-matched user identifier is matched in the association mapping, a target source user identifier corresponding to the to-be-matched user identifier is acquired if the matching is successful, and an application sharing user is determined according to the target source user identifier. Since the source user identifier is embedded into the application sharing page in the embodiment, when the shared user clicks the application sharing page, the shared user identifier is generated based on the device information, and then the shared user identifier and the source user identifier are associated and mapped, so that when the shared user registers, the to-be-matched user identifier can be automatically generated based on the acquired current device information, and then the target source user identifier is searched in the association mapping, the operation of manually inputting the application sharing user identifier information by a new user is avoided, the recognition efficiency and the accuracy are improved, and the user experience is optimized.

[0118] Based on the first embodiment of the application sharing user recognition device, a second embodiment of the application sharing user recognition device is provided.

[0119] In the embodiment, the application sharing user's identification device further comprises a page generation module, configured to, when receiving an application sharing request sent by an application sharing user, acquire terminal device information of a terminal where the application sharing user is located; generate a source user identifier corresponding to the application sharing user based on the terminal device information by using a preset identification algorithm; generate an application sharing page based on the source user identifier, and push the application sharing page to a shared user according to the application sharing request.

[0120] Further, the identification generation module 402 is further configured to read device address information and device parameter information contained in the device information; combine the device address information and the device parameter information to obtain combined information, and calculate a hash value corresponding to the combined information by using a hash algorithm; and take the hash value as the shared user identifier corresponding to the shared user.

[0121] Further, the identification generation module 402 is further configured to read internet protocol address information from the device address information; combine the internet protocol address information and the device parameter information to obtain combined information, and calculate a hash value corresponding to the combined information by using a hash algorithm; and take the hash value as the shared user identifier corresponding to the shared user.

[0122] Further, the identification generation module 402 is further configured to read internet protocol address information contained in the device address information, and geographic location information; combine the internet protocol address information, the geographic location information and the device parameter information to obtain combined information, and calculate a hash value corresponding to the combined information by using a hash algorithm; and take the hash value as the shared user identifier corresponding to the shared user.

[0123] Further, the identification generation module 402 is further configured to determine a current longitude and latitude of a terminal where the shared user is located according to the geographic location information; extract a hardware identification number contained in the device parameter information, and an internet protocol address contained in the internet protocol address information; combine the internet protocol address, the current longitude and latitude and the hardware identification number to obtain a combined string; and calculate a hash value corresponding to the combined string by using a hash algorithm.

[0124] Further, the identification generation module 402 is further configured to acquire a longitude value and a latitude value corresponding to the current longitude and latitude, and perform optimization calculation on the longitude value and the latitude value by using a preset formula to obtain target longitude and latitude values; combine the internet protocol address, the target longitude and latitude values and the internet protocol address to obtain a combined string; and the preset formula is:

[0125] C = lat / 100 + long / 100,

[0126] In the formula, C is a target latitude and longitude value, long is a longitude value, and lat is a latitude value.

[0127] The other embodiments or specific implementations of the application application sharing the identification device of the user can refer to the above-mentioned method embodiments, which will not be described here.

[0128] It should be noted that in this paper, the term "includes", "contains" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or system. Without more limitations, the element defined by the sentence "includes a" does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0129] The above-mentioned application embodiment serial number is only for description, not representing the pros and cons of the embodiment.

[0130] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application or the part of the prior art can be embodied in the form of software product, which is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk), including a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method described in each embodiment of the present application.

[0131] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent flow transformation made by using the content of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method of identifying an application sharing user, characterized by, The method comprises: When detecting that a shared user clicks an application sharing page, obtaining device information of a terminal where the shared user is located; Based on the device information, a preset identification algorithm is used to generate a shared user identifier corresponding to the shared user; Extracting a source user identifier carried in the application sharing page, and establishing an association mapping between the shared user identifier and the source user identifier; When receiving an application registration request sent by the shared user, obtaining current device information of a terminal where the shared user is currently located; Based on the current device information, the preset identification algorithm is used to generate a corresponding to-be-matched user identifier; In the association mapping, the to-be-matched user identifier is matched, if the matching is successful, a corresponding target source user identifier is obtained, and an application sharing user is determined according to the target source user identifier; The step of generating the shared user identifier corresponding to the shared user based on the device information by using the preset identification algorithm comprises: Reading device address information and device parameter information contained in the device information, the device address information comprising internet protocol address information and geographic location information; Reading the internet protocol address information and the geographic location information from the device address information; Determining the current longitude and latitude of the terminal where the shared user is located according to the geographic location information; Extracting a hardware identification number contained in the device parameter information and an internet protocol address contained in the internet protocol address information; Combining the internet protocol address, the current longitude and latitude, and the hardware identification number to obtain a combined string; Using a hash algorithm to calculate a hash value corresponding to the combined string; Taking the hash value as the shared user identifier corresponding to the shared user.

2. The method of claim 1, wherein, Before the step of obtaining the device information of the terminal where the shared user is located when detecting that the shared user clicks the application sharing page, the method further comprises: When receiving an application sharing request sent by an application sharing user, obtaining terminal device information of a terminal where the application sharing user is located; Based on the terminal device information, a preset identification algorithm is used to generate a source user identifier corresponding to the application sharing user; Based on the source user identifier, an application sharing page is generated, and the application sharing page is pushed to the shared user according to the application sharing request.

3. The method of claim 1, wherein, Before the step of combining the internet protocol address, the current longitude and latitude, and the internet protocol address to obtain a combined string, the method further comprises: Obtaining a longitude value and a latitude value corresponding to the current longitude and latitude, and performing optimization calculation on the longitude value and the latitude value through a preset formula to obtain a target longitude and latitude value; The step of combining the internet protocol address, the current longitude and latitude, and the internet protocol address to obtain a combined string comprises: Combining the internet protocol address, the target longitude and latitude value, and the internet protocol address to obtain a combined string; The preset formula is: C = lat / 100 + long / 100, In the formula, C is a target latitude and longitude value, long is a longitude value, and lat is a latitude value.

4. An identification device for application sharing users, characterized by The device comprises: An information extraction module configured to acquire device information of a terminal of a shared user when it is detected that the shared user clicks an application sharing page; An identifier generation module configured to generate a shared user identifier corresponding to the shared user based on the device information using a preset identifier algorithm; A mapping construction module configured to extract a source user identifier carried in the application sharing page and establish an association mapping between the shared user identifier and the source user identifier; The information extraction module is further configured to acquire current device information of a terminal currently used by the shared user when receiving an application registration request sent by the shared user; The identifier generation module is further configured to generate a to-be-matched user identifier based on the current device information using the preset identifier algorithm; An identifier matching module configured to match the to-be-matched user identifier in the association mapping, acquire a target source user identifier if the matching is successful, and determine an application sharing user according to the target source user identifier; The identifier generation module is further configured to read device address information and device parameter information included in the device information, wherein the device address information includes Internet protocol address information and geographic location information; and read the Internet protocol address information and the geographic location information from the device address information; The identifier generation module is further configured to determine a current latitude and longitude of the terminal used by the shared user according to the geographic location information; extract a hardware identification number included in the device parameter information and an Internet protocol address included in the Internet protocol address information; The identifier generation module is further configured to combine the Internet protocol address, the current latitude and longitude, and the hardware identification number to obtain a combined string; calculate a hash value corresponding to the combined string using a hash algorithm; and use the hash value as the shared user identifier corresponding to the shared user.

5. An application sharing user's identification device, characterized by, The device comprises a memory, a processor, and an application sharing user identifier program stored on the memory and executable on the processor, wherein the application sharing user identifier program is configured to implement the steps of the application sharing user identifier method according to any one of claims 1 to 3.

6. A storage medium, characterized by The storage medium stores an application sharing user identifier program, and the application sharing user identifier program implements the steps of the application sharing user identifier method according to any one of claims 1 to 3 when executed by a processor.

Citation Information

Patent Citations

  • Method and device for binding application and sharing account

    CN107015824A

  • Page promotion method, page promotion system and server

    CN110232591A