CN112383510A - Method and device for uniquely identifying user association - Google Patents

Method and device for uniquely identifying user association Download PDF

Info

Publication number
CN112383510A
CN112383510A CN202011147620.XA CN202011147620A CN112383510A CN 112383510 A CN112383510 A CN 112383510A CN 202011147620 A CN202011147620 A CN 202011147620A CN 112383510 A CN112383510 A CN 112383510A
Authority
CN
China
Prior art keywords
user
anonymous
unique identifier
registration
registered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011147620.XA
Other languages
Chinese (zh)
Other versions
CN112383510B (en
Inventor
于扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Analysys Digital Intelligence Technology Co ltd
Original Assignee
Beijing Analysys Think Tank Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Analysys Think Tank Network Technology Co ltd filed Critical Beijing Analysys Think Tank Network Technology Co ltd
Priority to CN202011147620.XA priority Critical patent/CN112383510B/en
Publication of CN112383510A publication Critical patent/CN112383510A/en
Application granted granted Critical
Publication of CN112383510B publication Critical patent/CN112383510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Abstract

The embodiment of the application provides a method and a device for uniquely identifying user association, which comprises the following steps: acquiring an ID used by a current event, and judging whether the ID is registered or not; if the ID is judged not to be registered, generating a first anonymous ID and generating a first unique identifier for the ID; and when the first anonymous ID is detected to be registered, generating a first registration ID and logging in, associating the first anonymous ID with the first registration ID, and storing all behaviors of the user in a storage space corresponding to the first unique identifier. According to the method, the anonymous ID and the registration ID are bound in an associated mode, each client is allowed to have two IDs, the anonymous ID can record user behavior data under the condition that the user does not log in, the registration ID records user behavior data after the user logs in, after the anonymous ID and the registration ID are bound in an associated mode, the user behavior data recorded by the two IDs are considered to occur in the same user entity, only one user is counted during user correlation analysis, and more accurate user tracking can be achieved.

Description

Method and device for uniquely identifying user association
Technical Field
The embodiment of the invention relates to the technical field of user equipment and account association, in particular to a method and a device for uniquely identifying user association.
Background
The existing user equipment binding scheme associates user login information with current equipment, ensures that events operated by the user and the user can be associated and inquired, confirms all actions of the user on the equipment, and provides inquiry basis for user-related data such as funnels, retention and sessions involved in operation.
The prior art has the following defects: (1) when the same user logs in a plurality of devices, the operation data of the new device when the new device is not logged in cannot be associated; (2) the specific time for switching the equipment by the user cannot be confirmed, so that certain influence is caused on analysis; (3) when a plurality of platforms upload data, the data cannot be completely classified into the same user event; (4) once a user associates with a device, it cannot be released, and it is theoretically more reasonable to have a dynamic association with device changes.
Disclosure of Invention
In order to solve the problems, according to the generated unique identification ID, all equipment behaviors can be associated as long as an account is logged in, the user information and events operated by the user can be associated for inquiry, all the behaviors of the user on the equipment are confirmed, and inquiry bases are provided for user-related data analysis such as funnels, retention and sessions involved in operation. The specific technical scheme is as follows:
the method for uniquely identifying the user association provided by the embodiment of the invention comprises the following steps:
acquiring an ID used by a current event, and judging whether the ID is registered or not;
if the ID is judged not to be registered, generating a first anonymous ID, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier;
and when the first anonymous ID is detected to be registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier.
Further, if the first registration ID logs out, the user behavior after logging out is still stored in the storage space corresponding to the first unique identifier.
Further, if it is detected that a new second registered ID that has already been registered is associated with the first anonymous ID, a new second unique identifier is generated, and the user behavior is stored in a storage space corresponding to the new second unique identifier.
Further, if it is detected that a second anonymous ID registered by the new device is associated with the first registration ID, a new third unique identifier is generated, and the user behavior is stored in a storage space corresponding to the new third unique identifier.
Another aspect of the present application further provides a device for uniquely identifying a user association, which includes an obtaining module, configured to obtain an ID used by a current event, and determine whether the ID is registered;
the first generation module is used for generating a first anonymous ID if the ID is judged not to be registered, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier;
and the association module is used for detecting that the first anonymous ID is registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier.
Further, the system further comprises a log-out module, which is used for logging out by the first registration ID, and the user behavior after logging out is still stored in the storage space corresponding to the first unique identifier.
Further, the system further comprises a new association detection module, configured to detect that a new second registered ID that has already been registered is associated with the first anonymous ID, generate a new second unique identifier, and store the user behavior in a storage space corresponding to the new second unique identifier.
Further, the new device detecting module is configured to generate a new third unique identifier if it is detected that a second anonymous ID in which the new device logs in is associated with the first registration ID, and store the user behavior in a storage space corresponding to the new third unique identifier.
The embodiment of the application provides a method and a device for uniquely identifying user association, wherein the method comprises the following steps: acquiring an ID used by a current event, and judging whether the ID is registered or not; if the ID is judged not to be registered, generating a first anonymous ID, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier; and when the first anonymous ID is detected to be registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier. According to the method, each client is allowed to have two IDs, the anonymous ID can record user behavior data under the condition that the user does not log in, the registered ID records the user behavior data after the user logs in, and after the anonymous ID and the registered ID are bound in an associated mode, the user behavior data recorded by the two IDs are considered to occur in the same user entity and only count as one user when the user-related analysis such as events, funnels, retention and the like is carried out. Thus, if this approach is used accurately, more accurate user tracking can be achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so that those skilled in the art can understand and read the present invention, and do not limit the conditions for implementing the present invention, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the functions and purposes of the present invention, should still fall within the scope of the present invention.
Fig. 1 is a flowchart of a method for uniquely identifying a user association according to an embodiment of the present application;
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for uniquely identifying a user association according to an embodiment of the present application; the application provides a method for uniquely identifying user association, which comprises the following steps: acquiring an ID used by a current event, and judging whether the ID is registered or not;
if the ID is judged not to be registered, generating a first anonymous ID, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier;
and when the first anonymous ID is detected to be registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier.
Further, if the first registration ID logs out, the user behavior after logging out is still stored in the storage space corresponding to the first unique identifier.
The embodiment of the application mainly utilizes PIKA (a source opened by 360-odd tiger company) Redis-like storage system for storage, and because the bottom layer utilizes Redis-like real-time storage data service, a master-slave mechanism not only ensures real-time association of user equipment, but also has better disaster tolerance capability.
The method for uniquely identifying the user association can be used for associating and binding the anonymous ID and the registration ID, the anonymous ID can record user behavior data under the condition that the user does not log in, and the registration ID records the user behavior data after the user logs in. The user may associate the anonymous ID with the registration ID by invoking the alias interface.
One anonymous ID can be bound to only one registration ID, and the same one registration ID can be bound to only one anonymous ID. Specifically, if it is detected that a new second registration ID that has already been registered is associated with the first anonymous ID, a new second unique identifier is generated, and the user behavior is stored in the storage space corresponding to the new second unique identifier. And if the fact that the second anonymous ID logged in by the new device is associated with the first registration ID is detected, generating a new third unique identifier, and storing the user behavior in a storage space corresponding to the new third unique identifier. That is, when a user logs in by using a registered new account, the new account cannot be bound with the registered account already bound; if the user operates with a completely new device, the association is also unsuccessful if the account anonymous ID of the completely new device is associated with the registered ID that has been associated.
The following describes a mechanism of user identification in an actual scenario, see table 1, where table 1 is an association process table of a method for uniquely identifying user association provided in the embodiment of the present application, where:
TABLE 1
Figure BDA0002740217910000051
Figure BDA0002740217910000061
Transmitted xwho: the user ID used to indicate the current event may be an anonymous ID or a registration ID. If it is the ID association operation alias, both IDs will be sent simultaneously.
Whether or not to register the ID: whether the user ID of the current behavior is a registration ID.
The ark distict _ id: the unique identifier distributed to the user in the ark is a final basis for calculating the number of triggering users, funnels, retention and the like, and corresponds to a user _ id in an events table and an id field in a users table in the user-defined query.
The detailed procedure is described below:
a user newly installs an App on a millet mobile phone and carries out a series of operations, the anonymous ID generated by the SDK is X, and the corresponding assigned ark distint _ ID is 1.
The user registers and logs in with a registration ID of a, where an alias interface of the SDK needs to be called, and at this time the ark will successfully associate the anonymous ID X with the registration ID a.
The user continues through a series of actions after logging in.
The user logs off and proceeds through a series of operations, the SDK does not invoke any method, and the ark still uses the registration ID a to identify the current user at this time.
The user logs in using an account B that is registered but not accessing the ark system, at which time the ark will attempt to associate X with B, and since X is already associated with a, the association will fail, and a new ark distint _ id will be assigned 2.
The user takes a series of actions using account B, where the arks all use the registration ID B to identify the user.
The user changes a brand-new apple mobile phone and carries out a series of operations, and since the user does not log in yet, the user is identified by the ark through the brand-new anonymous ID Y, and the corresponding assigned ark distint _ ID is 3.
The user logs in on the apple mobile phone by using an account A, at the moment, the ark tries to associate the anonymous ID Y with the registration ID A, and since A is already associated with X, association fails, but the user still switches to the user with A as the registration ID, and the corresponding ark distint _ ID is still 1.
Subsequent actions by the user on the iphone are identified by the registration ID a.
The embodiment of the application provides a method and a device for uniquely identifying user association, wherein the method comprises the following steps: acquiring an ID used by a current event, and judging whether the ID is registered or not; if the ID is judged not to be registered, generating a first anonymous ID, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier; and when the first anonymous ID is detected to be registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier. According to the method, each client is allowed to have two IDs, the anonymous ID can record user behavior data under the condition that the user does not log in, the registered ID records the user behavior data after the user logs in, and after the anonymous ID and the registered ID are bound in an associated mode, the user behavior data recorded by the two IDs are considered to occur in the same user entity and only count as one user when the user-related analysis such as events, funnels, retention and the like is carried out. Thus, if this approach is used accurately, more accurate user tracking can be achieved.
Another aspect of the present application further provides a device for uniquely identifying a user association, which includes an obtaining module, configured to obtain an ID used by a current event, and determine whether the ID is registered;
the first generation module is used for generating a first anonymous ID if the ID is judged not to be registered, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier;
and the association module is used for detecting that the first anonymous ID is registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier.
Further, the system further comprises a log-out module, which is used for logging out by the first registration ID, and the user behavior after logging out is still stored in the storage space corresponding to the first unique identifier.
Further, the system further comprises a new association detection module, configured to detect that a new second registered ID that has already been registered is associated with the first anonymous ID, generate a new second unique identifier, and store the user behavior in a storage space corresponding to the new second unique identifier.
Further, the new device detecting module is configured to generate a new third unique identifier if it is detected that a second anonymous ID in which the new device logs in is associated with the first registration ID, and store the user behavior in a storage space corresponding to the new third unique identifier.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.

Claims (8)

1. A method of uniquely identifying a user association, comprising the steps of:
acquiring an ID used by a current event, and judging whether the ID is registered or not;
if the ID is judged not to be registered, generating a first anonymous ID, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier;
and when the first anonymous ID is detected to be registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier.
2. The method of claim 1, wherein if the first registration ID is logged off, the logged-off user behavior is still stored in the storage space corresponding to the first unique identifier.
3. The method according to claim 1, wherein if it is detected that a new second registered ID that has already been registered is associated with the first anonymous ID, a new second unique identifier is generated, and the user behavior is stored in a storage space corresponding to the new second unique identifier.
4. The method according to claim 1, wherein if it is detected that the second anonymous ID of the new device login is associated with the first registration ID, a new third unique identifier is generated, and the user behavior is stored in the storage space corresponding to the new third unique identifier.
5. The device for uniquely identifying the user association is characterized by comprising an acquisition module, a registration module and a processing module, wherein the acquisition module is used for acquiring an ID (identity) used by a current event and judging whether the ID is registered or not;
the first generation module is used for generating a first anonymous ID if the ID is judged not to be registered, generating a first unique identifier for the ID, and storing the user behavior corresponding to the current event in a storage space corresponding to the first unique identifier;
and the association module is used for detecting that the first anonymous ID is registered, generating a first registration ID and logging in, calling an alias interface of the SDK, associating the first anonymous ID with the first registration ID, and storing all user behaviors after logging in a storage space corresponding to the first unique identifier.
6. The apparatus for uniquely identifying a user association as recited in claim 5, further comprising a log-out module configured to log out the first registration ID, and the logged-out user behavior is still stored in the storage space corresponding to the first unique identifier.
7. The apparatus for uniquely identifying a user association as recited in claim 5, further comprising a module for detecting a new association, wherein the module for detecting a new second registration ID that has been registered is associated with the first anonymous ID, and generating a new second unique identifier, wherein the user behavior is stored in a storage space corresponding to the new second unique identifier.
8. The apparatus as claimed in claim 5, wherein the means for detecting a new device is configured to detect that the second anonymous ID registered by the new device is associated with the first registered ID, and generate a new third unique identifier, and the user behavior is stored in the storage space corresponding to the new third unique identifier.
CN202011147620.XA 2020-10-23 2020-10-23 Method and device for uniquely identifying user association Active CN112383510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011147620.XA CN112383510B (en) 2020-10-23 2020-10-23 Method and device for uniquely identifying user association

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011147620.XA CN112383510B (en) 2020-10-23 2020-10-23 Method and device for uniquely identifying user association

Publications (2)

Publication Number Publication Date
CN112383510A true CN112383510A (en) 2021-02-19
CN112383510B CN112383510B (en) 2022-10-11

Family

ID=74580823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011147620.XA Active CN112383510B (en) 2020-10-23 2020-10-23 Method and device for uniquely identifying user association

Country Status (1)

Country Link
CN (1) CN112383510B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005051463A (en) * 2003-07-28 2005-02-24 Mitsubishi Electric Corp Anonymity database system
CN101873301A (en) * 2009-04-22 2010-10-27 索尼株式会社 Anonymous registration system and method
US20120311036A1 (en) * 2011-06-03 2012-12-06 Huhn Derrick S Friend recommendation system and method
CN103118358A (en) * 2012-11-16 2013-05-22 佳都新太科技股份有限公司 Unique identification mobile phone user registration method
CN104364779A (en) * 2012-06-13 2015-02-18 歌乐株式会社 Service provision system, service computer, and terminal
CN104852926A (en) * 2015-05-28 2015-08-19 北京奇艺世纪科技有限公司 Method and device for registering account
CN107609469A (en) * 2017-07-28 2018-01-19 北京建筑大学 Community network association user method for digging and system
CN108156273A (en) * 2017-12-14 2018-06-12 北京奇艺世纪科技有限公司 A kind of anonymous ID generation methods, device and electronic equipment
CN110557363A (en) * 2019-06-03 2019-12-10 北京城市网邻信息技术有限公司 identity verification method, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005051463A (en) * 2003-07-28 2005-02-24 Mitsubishi Electric Corp Anonymity database system
CN101873301A (en) * 2009-04-22 2010-10-27 索尼株式会社 Anonymous registration system and method
US20120311036A1 (en) * 2011-06-03 2012-12-06 Huhn Derrick S Friend recommendation system and method
CN104364779A (en) * 2012-06-13 2015-02-18 歌乐株式会社 Service provision system, service computer, and terminal
CN103118358A (en) * 2012-11-16 2013-05-22 佳都新太科技股份有限公司 Unique identification mobile phone user registration method
CN104852926A (en) * 2015-05-28 2015-08-19 北京奇艺世纪科技有限公司 Method and device for registering account
CN107609469A (en) * 2017-07-28 2018-01-19 北京建筑大学 Community network association user method for digging and system
CN108156273A (en) * 2017-12-14 2018-06-12 北京奇艺世纪科技有限公司 A kind of anonymous ID generation methods, device and electronic equipment
CN110557363A (en) * 2019-06-03 2019-12-10 北京城市网邻信息技术有限公司 identity verification method, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HAN-YU LIN: ""Traceable Anonymous Authentication and Key Exchange Protocol for Privacy-Aware Cloud Environments"", 《IEEE SYSTEMS JOURNAL》 *
姚汝贤: ""面向VANET的多层次匿名认证方案"", 《中国科技论文》 *

Also Published As

Publication number Publication date
CN112383510B (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US9781134B2 (en) Method and apparatus of identifying user risk
CN108337296A (en) Message push processing method, device, computer equipment and storage medium
CN111783052A (en) Account detection method and device
CN107168845B (en) Fault positioning method and device
CN111314285B (en) Method and device for detecting route prefix attack
CN108038039B (en) Method for recording log and micro-service system
CN106550031A (en) The method and device of data backup
CN108282446B (en) Method and apparatus for identifying scanner
CN111147527A (en) Internet of things system and equipment authentication method, device, equipment and medium thereof
CN107040546B (en) Domain name hijacking detection and linkage handling method and system
CN111506496A (en) Test data acquisition method and device, electronic equipment and storage medium
CN112383510B (en) Method and device for uniquely identifying user association
WO2020198192A1 (en) Policy enhancement for mixed capability devices
CN105743725A (en) Method and device for testing application programs
CN110134583B (en) Software testing and data processing method and device
CN111049948B (en) Domain name detection method and device
CN115276844A (en) Communication module testing method and device and electronic equipment
CN109348053B (en) Telephone number mark processing method, server, terminal device and computer readable storage medium
CN112492598A (en) WIFI network setting method and system, mobile terminal and storage medium
CN110647474A (en) Anti-interference method and device for automatic regression test, computer equipment and storage medium
CN111225075A (en) Configuration method and device for Internet of things directional access service
CN111917902B (en) Method, apparatus and computer readable storage medium for detecting failure of pound room equipment
CN115168489B (en) Data certification method and device based on blockchain
CN110516439B (en) Detection method, device, server and computer readable medium
CN112073258B (en) Method for identifying user, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100015 Room 305, 3rd floor, building 25, 10 Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Beijing Analysys Digital Intelligence Technology Co.,Ltd.

Address before: 100020 Room 305, 3rd floor, building 25, 10 Jiuxianqiao Road, Chaoyang District, Beijing

Patentee before: BEIJING ANALYSYS THINK TANK NETWORK TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address