CN115034919A - Incidence relation establishing method and device, electronic equipment and storage medium - Google Patents
Incidence relation establishing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115034919A CN115034919A CN202210629200.8A CN202210629200A CN115034919A CN 115034919 A CN115034919 A CN 115034919A CN 202210629200 A CN202210629200 A CN 202210629200A CN 115034919 A CN115034919 A CN 115034919A
- Authority
- CN
- China
- Prior art keywords
- account information
- target
- user
- identification code
- application program
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000006870 function Effects 0.000 abstract description 25
- 230000014759 maintenance of location Effects 0.000 abstract description 18
- 238000012423 maintenance Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses an incidence relation establishing method, an incidence relation establishing device, electronic equipment and a storage medium; the method can comprise the following steps: acquiring first account information; generating a first identification code according to the first account information and the target address; sending a first identification code to first terminal equipment corresponding to a first user; acquiring second account information and target account information; and if the target account information is consistent with the first account information, establishing an association relation between the first account information and the second account information. The first identification code has the functions of marking users and downloading applications, after the target application program is downloaded based on the first identification code and successfully registered, the association relationship between the first user and the second user can be directly established, active maintenance of the relationship between the first user and the second user is achieved, user operation is simplified, and accordingly the retention rate of the users can be improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for establishing an association relationship, an electronic device, and a storage medium.
Background
Along with the development of science and technology, more and more application programs are used on the terminal by people, and different application programs can provide different services for people so as to improve the convenience of life of people. At present, people can recommend application programs to other people through a sharing function in the application programs.
For example, an old user of the application program can generate a sharing code through the sharing function, and a new user can download the application program through the sharing code, so that the application program is popularized. However, in this way, after the new user downloads the application program, the old user and the new user are not maintained, and the user is easily lost.
Disclosure of Invention
The embodiment of the application provides an association relationship establishing method and device, an electronic device and a storage medium, and the relationship between a new user and an old user can be actively maintained after the new user downloads an application program, so that the retention rate of the user is improved.
The embodiment of the application provides an association relationship establishing method, which comprises the following steps:
acquiring first account information, wherein the first account information comprises an account identifier of a first user in a target application program;
generating a first identification code according to the first account information and a target address, wherein the target address is a downloading address of the target application program;
sending the first identification code to first terminal equipment corresponding to the first user so that the first terminal equipment can display the first identification code;
acquiring second account information and target account information, wherein the second account information is obtained by registering a second user after the second user identifies the first identification code through second terminal equipment, the second account information comprises an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code through the second terminal equipment;
and if the target account information is consistent with the first account information, establishing an association relationship between the first account information and the second account information.
An embodiment of the present application further provides an association relationship establishing apparatus, including:
the first acquisition module is used for acquiring first account information, wherein the first account information comprises an account identifier of a first user in a target application program;
the generating module is used for generating a first identification code according to the first account information and a target address, wherein the target address is a downloading address of the target application program;
the first sending module is used for sending the first identification code to first terminal equipment corresponding to the first user so that the first terminal equipment can display the first identification code;
the second obtaining module is used for obtaining second account information and target account information, wherein the second account information is obtained by registering a second user after the second user identifies the first identification code through second terminal equipment, the second account information comprises an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code through the second terminal equipment;
and the establishing module is used for establishing the association relationship between the first account information and the second account information if the target account information is consistent with the first account information.
In some embodiments, the establishing module is further configured to:
if the target account information is consistent with the first account information, acquiring the creation time of the first account information;
calculating the registration duration of the first account information according to the creation time and the current time;
and if the registration time length is longer than the preset time length, establishing an association relationship between the first account information and the second account information.
In some embodiments, the second obtaining module is further configured to:
acquiring target registration information and target account information sent by second terminal equipment;
determining a creating position corresponding to the target account information according to the target account information;
creating the second account information at the creation location using the target registration information.
The embodiment of the present application further provides an association relationship establishing method, including:
acquiring a first identification code and analyzing the first identification code to obtain a target address and target account information, wherein the first identification code is generated based on the first account information and the target address, the first account information comprises an account identifier of a first user in a target application program, and the target address is a download address of the target application program;
downloading the target application program based on the target address, and caching the target account information;
acquiring second account information and sending the target account information to a server so that the server establishes an association relationship between the first account information and the second account information based on the first account information and the target account information, wherein the second account information comprises an account identifier of a second user in the target application program;
and displaying the association relationship between the first account information and the second account information.
An embodiment of the present application further provides an association relationship establishing apparatus, including:
the system comprises an identification code acquisition module, a target application program acquisition module and a target application program acquisition module, wherein the identification code acquisition module is used for acquiring a first identification code and analyzing the first identification code to obtain a target address and target account information, the first identification code is generated based on first account information and the target address, the first account information comprises an account identification of a first user in the target application program, and the target address is a download address of the target application program;
the downloading module is used for downloading the target application program based on the target address and caching the target account information;
the second sending module is used for acquiring second account information and sending the target account information to a server so that the server can establish an association relationship between the first account information and the second account information based on the first account information and the target account information, wherein the second account information comprises an account identifier of a second user in the target application program;
and the display module is used for displaying the association relationship between the first account information and the second account information.
In some embodiments, the second sending module is further configured to:
sending target registration information to a server;
and receiving second account information sent by the server based on the target registration information.
In some embodiments, the display module is further to:
displaying a first interface provided by the target application program, wherein the first interface comprises a target control;
and responding to the first operation of the target control, and displaying a second interface comprising the account corresponding to the first account information.
The embodiment of the application also provides electronic equipment, which comprises a memory, a storage and a control unit, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of any association relationship establishing method provided by the embodiment of the application.
The embodiment of the present application further provides a computer-readable storage medium, where multiple instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to execute the steps in any association relationship establishment method provided in the embodiment of the present application.
According to the method and the device, the first identification code can be generated according to the first account information and the target address, so that the first identification code has functions of marking a user and downloading an application at the same time, and after the second user downloads the target application program based on the first identification code and successfully registers the target application program, the association relationship between the first user and the second user is directly established, so that the first user and the second user can be directly contacted in the target application program, active maintenance of the relationship between the first user and the second user is realized, user operation is simplified, and the retention rate of the user can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a scene schematic diagram of an association relationship establishing method provided in an embodiment of the present application;
fig. 1b is a schematic flowchart of an association relationship establishing method provided in the embodiment of the present application;
fig. 2a is a schematic flowchart of an association relationship establishing method according to another embodiment of the present application;
FIG. 2b is a schematic illustration of a first interface provided by an embodiment of the present application;
FIG. 2c is a schematic view of a second interface provided by an embodiment of the present application;
fig. 3a is a schematic flowchart of an association relationship establishing method according to still another embodiment of the present application;
fig. 3b is a schematic diagram of data interaction between a first terminal device, a second terminal device, and a server according to an embodiment of the present application;
fig. 4a is a schematic structural diagram of an association relationship establishing apparatus provided in the embodiment of the present application;
fig. 4b is a schematic structural diagram of an association relationship establishing apparatus according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. 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 application.
The embodiment of the application provides an association relationship establishing method, an association relationship establishing device, electronic equipment and a storage medium.
The association relationship establishing apparatus may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or other devices. The terminal can be a mobile phone, a tablet Computer, an intelligent bluetooth device, a notebook Computer, or a Personal Computer (PC); the server may be a single server or a server cluster composed of a plurality of servers.
In some embodiments, the association relationship establishing apparatus may also be integrated in a plurality of electronic devices, for example, the association relationship establishing apparatus may be integrated in a plurality of servers, and the association relationship establishing method of the present application is implemented by the plurality of servers.
In some embodiments, the server may also be implemented in the form of a terminal.
For example, referring to fig. 1a, an application scenario diagram of the association relationship establishing method provided in the embodiment of the present application is shown.
As shown in fig. 1a, the first terminal device 101, the second terminal device 102, and the server 103 are located in a wireless network or a wired network, and both the first terminal device 101 and the second terminal device 102 may perform data interaction with the server 103, but the first terminal device 101 may also perform data interaction with the second terminal device 102 directly. The server 103 may be a single server, or a server cluster, or a local server, or a cloud server.
The first terminal apparatus 101 may be a terminal used by a first user, and the first user may refer to a user who has registered a target application. The second terminal device 102 may be a terminal used by a second user, which may be a user who has not registered the target application.
The first user may send first account information to the server based on the first terminal device 101, and the server 103 may generate a first identification code based on the first account information and the destination address, and send the first identification code to the first terminal device 101, so that the first identification code may be displayed on the first terminal device 101, so that the second terminal device 102 may identify the first identification code.
The second terminal device 102 recognizes and analyzes the first identification code, so as to obtain the target address and the target account information, and based on the target address, the target application program can be downloaded on the second terminal device 102.
After the target application program is downloaded, the second user can perform account registration in the target application program, and after the account registration is completed, second account information is obtained. The server 103 can establish the association relationship between the first account information and the second account information, so that the second user can directly contact with the first user in the target application program when using the target application program, convenience and rapidness are achieved, and user operation is simplified.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
In this embodiment, an association relationship establishing method is provided, and as shown in fig. 1b, a specific process of the association relationship establishing method may be as follows:
s110, first account information is obtained, and the first account information comprises account identification of a first user in a target application program.
The account id of the first user in the target application refers to a Unique id of the first user in the target application, and may be used to refer to the first user uniquely in the target application, for example, the account id may refer to a Universal Unique Identifier (UUID). The first account information may include an account identification of the first user, and may also include an account name, a creation time of the account, and the like.
In some embodiments, a sharing function may be provided in the target application, and the first user may send the first account information to the server by using the sharing function.
For example, a sharing control may be provided in the target application, displayed on the first terminal device, and send the first account information to the server in response to a target operation for the sharing control.
The target operation can comprise operations of touching, sliding, pressing, long pressing, short pressing, double clicking, sliding ending and the like. For example, in some embodiments, the target operation may be a short press operation; in some embodiments, the target operation may be a long press operation.
In some embodiments, the target operation may also be a combined operation, for example, a combined operation of a long press operation and a slide operation, a combined operation of a click operation and a click operation, and the like.
As an implementation manner, a target control may be displayed on a graphical user interface, and when a target operation for the target control is detected, the first terminal device may acquire account information currently logged in a target application as first account information, and send the first account information to the server.
As another embodiment, a shortcut key may be preset, and the first user may click the shortcut key to implement the sharing function. The shortcut key may refer to a single key or a combination of two or more keys. For example, a shortcut key corresponding to the sharing function is preset as an "F" key, and when a player clicks the "F" key, the first terminal device may acquire the first account information and send the first account information to the server. For another example, a shortcut key corresponding to the sharing function is preset as a "Tab" key plus a "F" key, so that the first user can click the "Tab" key and the "F" key at the same time, and the first terminal device can acquire the first account information and send the first account information to the server.
Thus, the server may receive the first account information.
And S120, generating a first identification code according to the first account information and a target address, wherein the target address is a downloading address of the target application program.
After the server acquires the first account information, the server may generate the first identification code by using the first account information. The first identification code is a carrier used by the first user to share the target application program with other users, and the expression form of the first identification code may be a character string, a barcode, a two-dimensional code, or the like, and may be specifically set according to actual needs, which is not specifically limited herein.
When the first identification code is generated, the server can obtain a target address, wherein the target address refers to a downloading address of the target application program.
In some embodiments, the target address may be pre-stored at a specified location by the server, and the server may retrieve the target address from the specified location.
In some embodiments, the target address may be sent by the first terminal device, that is, when the first terminal device sends the first account information to the server, the first terminal device may send the download address of the target application installed in the first terminal device to the server together, so that the server may obtain the target address from the first terminal device.
The server may generate a first identification code based on the first account information and the destination address. In order to improve the security of the first identification code, the first account information and the target address may be encrypted to obtain encrypted data; and then coding the encrypted data to obtain a first identification code.
In encrypting the first account information and the destination address, symmetric encryption, asymmetric encryption, or hash processing may be used. The symmetric encryption means that the same key is used for encryption and decryption, and the asymmetric encryption means that the same key is not used for encryption and decryption. Specifically, the encryption algorithm used for encrypting the first account information and the target address may be selected according to actual needs, and is not specifically limited herein.
After the first account information and the target address are encrypted, encrypted data may be obtained, and in order to obtain the first identification code, the encrypted data may be encoded according to a preset encoding rule to obtain the first identification code. The preset encoding rule may be set according to actual needs, and is not specifically limited herein.
S130, the first identification code is sent to a first terminal device corresponding to the first user, so that the first terminal device can display the first identification code.
After the server generates the first identification code, the server may send the first identification code to the first terminal device, so as to display the first identification code on the first terminal device.
In some embodiments, the first terminal device may directly present the first identifier. For example, the first terminal device directly displays the first identification code after receiving the first identification code.
In some embodiments, the first terminal device may present prompt information of the first identification code, and present the first identification code based on a user operation. For example, after receiving the first identifier, the first terminal device may display a prompt message "the first identifier is created and the display is clicked", and if the first user wants to display the first identifier on the first terminal device, the first terminal device may click the prompt message to display the first identifier.
S140, second account information and target account information are obtained, wherein the second account information is obtained by registering a second user after the second user identifies the first identification code through second terminal equipment, the second account information comprises an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code through the second terminal equipment.
The account identification of the second user in the target application program refers to the unique identification of the second user in the target application program, and can be used for uniquely referring to the second user. The second account information may include an account identification of the second user, and may further include an account name, a creation time of the account, and the like.
The second account information is obtained by registering a second user after the second user identifies the first identification code through a second terminal device, and the second user refers to a user who does not use the target application program, namely the user who does not register an account in the target application program.
After the first identification code is displayed on the first terminal device, the first identification code can be acquired by the second terminal device. In some embodiments, the first identification code may be displayed on the first terminal device, and the second terminal device may directly scan the first identification code displayed on the first terminal device, so as to obtain the first identification code.
In some embodiments, the first terminal device may send the first identifier to the second terminal device, so that the second terminal device may obtain the first identifier. For example, the first terminal device may send the first identification code to the second terminal device through the communication software, and for example, the first terminal device may send the first identification code to the second terminal device through bluetooth.
The second terminal device may perform identification and analysis on the first identification code to obtain a target address and first account information therein, download the target application program based on the target address, and perform account registration in the target application program, thereby obtaining second account information. When account registration is performed in the target application program, the registration information may be sent to the server, and the server assigns the unique account identifier to the server, so that the server may also obtain the second account information.
In some embodiments, when a second user performs account registration in a target application program, a server may obtain target registration information sent by a second terminal device; and creating second account information directly based on the target registration information.
The target registration information refers to some basic information, for example, when a game account is registered, a second user can input information such as an account name and a virtual character corresponding to the account, and the information is sent to the server together, and the server generates a unique account identifier to obtain second account information.
In some embodiments, the creation location may need to be selected when performing account registration in the target application. The creation location refers to a server where the created account information is located. For example, in a game application program, different servers usually exist, and account data in the different servers do not intercommunicate, so that the creation position can be determined when account registration is performed.
For example, when the second user registers in the target application program, the server may obtain target registration information of the second user; determining a creation position corresponding to the first account information according to the first account information; second account information is created at the creation location using the target registration information.
In some embodiments, the creation location may be determined based on a user operation of the second user. When the account registration is performed, a location selection interface may be provided, and a location selected by the second user may be used as the creation location. For example, three different creation positions of an area a, an area B and an area C are provided, and if the second user selects the area B, second account information is created in the area B.
In some embodiments, the creation location may be determined based on the target account information. When the account registration is performed, the server may obtain a creation position of the target account information, and create the target account information at the creation position. For example, the creation position of the target account information is an area a, that is, second account information is created in the area a.
It should be noted that different creation locations may be controlled by one sub-server, and these sub-servers are built in a distributed manner to constitute the server of the whole target application. In some embodiments, after the creation position is determined, a sub-server corresponding to the creation position may be determined, the target registration information is forwarded to the sub-server, and the sub-server creates the second account information. In other embodiments, after the creation position is determined, second account information is created in the sub-server, and the created second account information is forwarded to the sub-server.
After the server acquires the second account information, the second user can be considered to be successfully registered in the target application program.
S150, if the target account information is consistent with the first account information, establishing an association relationship between the first account information and the second account information.
After the server successfully creates the second account information, the server may acquire the target account information sent by the second terminal device, and based on the target account information, an association relationship between the first account information and the second account information may be established, where the association relationship may be a friend relationship, a sharing relationship, and the like.
In some embodiments, when the association relationship between the first account information and the second account information is established, the first account information and the second account information may be stored in association with a data table. For example, a second association table corresponding to the second account information may be obtained, where the second association table is used to store the account information having an association relationship with the second account information; and similarly, second account information can also be stored in the first association table corresponding to the first account information so as to establish the association relationship between the first account information and the second account information.
When the second terminal device identifies the first identification code, an identification error condition may occur, and the first account information cannot be correctly identified, so that in order to ensure that the association relationship between the second account information and the first account information can be correctly established, the server may obtain target account information obtained by the second terminal device analyzing the first identification code; comparing the target account information with the first account information; and if the target account information is consistent with the first account information, establishing an association relation between the first account information and the second account information.
When the server generates the first identification code based on the first account information, the server may store the first account information in a preset table, and when target account information sent by the second terminal device is received and compared with the first account information, it may be determined whether the target account information exists in the preset table, and if the target account information exists in the preset table, the target account information may be considered to be consistent with the first account information, and an association relationship between the first account information and the second account information may be established; if the target account information does not exist in the preset table, the target account information and the first account information are not consistent, and the association relationship between the first account information and the second account information is not established.
For example, when the server generates the first identification code, only the first account information Y is stored in the preset table, and if the target account information is Z, comparing that the first account information is inconsistent with the target account information, it indicates that the user with the target account information Z does not use the over-sharing function, and does not establish the association relationship between the first account information and the second account information. If the target account information is Y, comparing that the first account information is consistent with the target account information, indicating that the user with the target account information of Y uses the sharing function, and establishing the association relationship between the first account information and the second account information.
In some embodiments, when the target account information is consistent with the first account information and the association relationship between the first account information and the second account information is established, the creation time of the first account information can be acquired; calculating the registration time length of the first account information according to the creation time and the current time; and if the registration time length is longer than the preset time length, establishing an association relationship between the first account information and the second account information. Therefore, the first user can be ensured to have enough time for using the target application program, the second user can be helped to be familiar with the basic use of the target application program quickly, and the retention rate of the user is improved.
The preset time period may be a preset time period, and may be set according to actual needs, for example, the preset time period may be set to 2 days, 5 days, 2 hours, and the like. If the registration time length of the first account information is longer than the preset time length, the first user can be considered as an old user, and therefore the association relationship between the first account information and the second account information can be directly established.
In some embodiments, when the target account information is consistent with the first account information and the association relationship between the first account information and the second account information is established, permission setting corresponding to the first account information can be acquired; and when the authority is set as the preset content, establishing an association relationship between the first account information and the second account information. Generally, different users set different permissions for adding contacts, so that permission setting corresponding to the first account information can be acquired; if the permission is set to be that any contact person is added, the association relationship between the first account information and the second account information can be directly established.
If the authority is set to be not agreeable to add any contact, the server can send a notification message to the first terminal device, and when a determination feedback based on the notification message is received, the association relationship between the first account information and the second account information is established.
After the association relationship between the first account information and the second account information is established, the second user can directly contact with the first user through the target application program.
The incidence relation establishing scheme provided by the embodiment of the application can be applied to various application program popularization scenes. For example, taking game application popularization as an example, after a first user recommends a game application to a second user, the second user downloads a target application program, and if the first user and the second user want to directly contact in the target application program, the account information of the other user needs to be acquired from other channels, and then a friend is added, which is complicated and complicated in the whole process, so that the first user and the second user are difficult to find the other user in the target application program.
According to the scheme provided by the embodiment of the application, the first identification code can be generated by using the first account information and the target address, so that the first identification code has functions of marking users and downloading applications at the same time, the second user can identify the first identification code through the second terminal device to download the target application program and register, and after the registration is successful, the association relationship is directly established with the first user, so that the first user or the second user can quickly find the other side in the target application program, the operation of adding friends by the second user or the first user is not required to be executed again, the user operation is simplified, and the user retention rate can be improved.
In this embodiment, an association relationship establishing method is provided, and as shown in fig. 2a, a specific process of the association relationship establishing method may be as follows:
s210, acquiring a first identification code and analyzing the first identification code to obtain a target address and target account information.
The first identification code is generated by the server based on the first account information and the target address and is sent to the first terminal device.
In some embodiments, when the second terminal device acquires the first identification code, the second terminal device may directly scan the first identification code displayed on the first terminal device, so that the second terminal device may acquire the first identification code.
In some embodiments, the first terminal device may send the first identifier to the second terminal device, so that the second terminal device may obtain the second identifier.
After the second terminal device obtains the first identification code, the first identification code may be analyzed to obtain a target address and target account information. The target account information refers to account information obtained by the second terminal device analyzing the first identification code, and the target address refers to a download address of the target application program.
S220, downloading the target application program based on the target address, and caching the target account information.
The second terminal device analyzes the target address to obtain a target address, can download the target application program based on the target address, and caches target account information obtained by analyzing the first identification code. For example, the target account information may be copied to a clipboard, so that the content in the clipboard can be read when needed to obtain the target account information.
And S230, acquiring second account information and sending the target account information to a server.
After downloading the target application program, the second terminal device can start the target application program based on user operation, and realize account registration according to the user operation, so that second account information can be acquired.
In some embodiments, the second terminal device may obtain the second account information, and may consider that the registration is successful in the target application program, the second terminal device may read the cached target account information and send the target account information to the server, so that the server establishes an association relationship between the first account information and the second account information according to the target account information and the first account information, and the specific server establishes an association relationship between the first account information and the second account information according to the target account information and the first account information, which may refer to a corresponding part of the foregoing embodiment and is not described herein again.
In some embodiments, the second terminal device may send the target account information to the server after analyzing the first identification code to obtain the target account information.
When the second account information is acquired, the second terminal device may send target registration information to the server, so that the server generates the second account information according to the registration information, and after the server generates the second account information, the server may send the second account information to the second terminal device, so that the second terminal device may receive the second account information sent by the server to indicate that the registration is successful.
S240, displaying the association relationship between the first account information and the second account information.
After the second user successfully registers in the target application program, the second user can obtain second account information, and can log in the target application program by using the second account information so as to use the function provided by the target application program.
After entering the target application program, displaying a first interface provided by the target application program, wherein the target interface can comprise a target control; and responding to the first operation aiming at the target control, and displaying a second interface comprising an account corresponding to the second account information.
For example, reference may be made to fig. 2b and 2c, fig. 2b showing a schematic diagram showing a first interface and fig. 2c showing a schematic diagram showing a second interface. The first interface in fig. 2b may display a target control 201, and the second user may click on the target control 201 to display the second interface. In fig. 2c, the account of the first user may be displayed in the second interface, and the second user may directly click the account of the first user to contact with the first user.
According to the incidence relation establishing method provided by the embodiment of the application, the second terminal equipment can identify and analyze the first identification code to obtain the target address and the target account information; and downloading the target application program by using the target address, performing account registration in the target application program, and when the second terminal device acquires the second account information, considering that the account registration is successful, the second terminal device can send the analyzed target account information to the server so that the server establishes the association relationship between the first account information and the second account information, thereby realizing that the association relationship between the second user and the first account information can be displayed after the second user logs in the target application program by using the second account information.
The first account information is added into the first identification code, so that the first identification code has the functions of downloading and identity identification, and after the second user downloads and registers the target application program based on the first identification code, the second user can directly establish an association relationship with the first account information, so that the first user or the second user can directly contact with the other side in the target application program, the second user or the first user does not need to execute the operation of adding friends again, the user operation is simplified, and the user retention rate can be improved.
In this embodiment, an association relationship establishing method is provided, and as shown in fig. 3a, a specific process of the association relationship establishing method may be as follows:
s310, the first terminal device sends first account information to the server.
S320, the server generates a first identification code based on the first account information and the target address, and sends the first identification code to the first terminal device.
S330, the first terminal device displays the first identification code to the second terminal device.
And S340, the second terminal equipment analyzes the first identification code to obtain a target address and target account information.
And S350, the second terminal device downloads the target application program based on the target address and caches the target account information.
And S360, when the second terminal equipment acquires the second account information, sending the target account information to the server.
And S370, if the target account information is consistent with the first account information, establishing an association relationship between the first account information and the second account information.
The above processes of S310 to S370 can refer to the description in the foregoing embodiments, and are not repeated herein to avoid repetition. Referring to fig. 3b, a schematic diagram of data interaction between a first terminal device, a second terminal device, and a server is shown, and details of a solution of the embodiment of the present application will be described in detail with reference to fig. 3 b.
For example, the first user is an old user who is already using the target application, and the second user is a new user who has not downloaded the target application.
The old user can use the sharing function of the target application program, so that the first terminal device is controlled to send the first account information to the server, the server can generate a first identification code according to the first account information and the target address, and the generated first identification code is fed back to the first terminal device.
After obtaining the first identification code, the old user may use the first terminal device to send the first identification code to the second terminal device, where the user holding the second terminal device is the new user.
After receiving the first identification code, the new user can analyze the first identification code through the second terminal device to obtain a target address and target account information. Based on the destination address, the second terminal device may download and install the destination application. When a new user uses a target application program, account registration is needed firstly, when the account registration is carried out, the new user can input target registration information and forwards the target registration information to the server through the second terminal device, and the server can distribute identification for the new user based on the target registration information to obtain second account information and return the second account information to the second terminal device so as to complete account registration of the new user.
When receiving the second account information, the second terminal device may consider the account registration to be successful, and may send the analyzed target account information to the server.
The server can compare the target account information with the first account information, and when the target account information is consistent with the first account information, an association relationship between the first account information and the second account information is established. Therefore, after the new user logs in the target application program by using the second account information, the new user can see that the new user becomes a friend with the old user, and can directly contact the old user in the target application program.
As can be seen from the above, the association relationship establishment method provided in the embodiment of the present application may add the first account information to the first identification code, so that the first identification code has functions of downloading and identifying, and after downloading and registering the target application program based on the first identification code, the second user may directly establish an association relationship with the first account information, so that the first user or the second user may directly contact with the other party in the target application program, and the second user or the first user does not need to perform an operation of adding a friend again, which simplifies user operations, and thus can improve a user retention rate.
In order to better implement the method, an embodiment of the present application further provides an association relationship establishing apparatus, where the association relationship establishing apparatus may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or other devices. The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and other devices; the server may be a single server or a server cluster composed of a plurality of servers.
For example, in this embodiment, the method in the embodiment of the present application will be described in detail by taking an example in which the association relationship establishing apparatus is specifically integrated in a server.
For example, as shown in fig. 4a, the association relationship establishing apparatus 400 may include a first obtaining module 410, a generating module 420, a first sending module 430, a second obtaining module 440, and an establishing module 450.
A first obtaining module 410, configured to obtain first account information, where the first account information includes an account id of a first user in a target application;
a generating module 420, configured to generate a first identification code according to the first account information and a target address, where the target address is a download address of the target application program;
a first sending module 430, configured to send the first identification code to a first terminal device corresponding to the first user, so that the first terminal device displays the first identification code;
a second obtaining module 440, configured to obtain second account information and target account information, where the second account information is obtained by registering a second user after the second user identifies the first identification code through a second terminal device, the second account information includes an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code by the second terminal device;
the establishing module 450 is configured to establish an association relationship between the first account information and the second account information if the target account information is consistent with the first account information.
In some embodiments, the establishing module 450 is further configured to:
if the target account information is consistent with the first account information, acquiring the creation time of the first account information;
calculating the registration duration of the first account information according to the creation time and the current time;
and if the registration time length is longer than the preset time length, establishing an association relationship between the first account information and the second account information.
In some embodiments, the second obtaining module 440 is further configured to:
acquiring target registration information and target account information sent by second terminal equipment;
determining a creating position corresponding to the target account information according to the target account information;
creating the second account information at the creation location using the target registration information.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, the association relationship establishing apparatus of this embodiment may generate the first identification code by using the first account information and the target address, so that the first identification code has functions of marking a user and downloading an application at the same time, the second user may identify the first identification code through the second terminal device, download and register the target application program, and directly establish an association relationship with the first user after successful registration, so that the first user or the second user may both quickly find the other party in the target application program, and the second user or the first user does not need to perform an operation of adding a friend again, thereby simplifying user operations, and thus improving a user retention rate.
In order to implement the above method better, an association relationship establishing apparatus is further provided in an embodiment of the present application, where the association relationship establishing apparatus may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or other devices. The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and other devices; the server may be a single server or a server cluster composed of a plurality of servers.
For example, in this embodiment, the method in this embodiment will be described in detail by taking an example that the association relationship establishing apparatus is specifically integrated in the terminal device.
For example, as shown in fig. 4b, the association relationship establishing apparatus 500 may include an identification code obtaining module 510, a downloading module 520, a second sending module 530, and a display module 540.
An identification code obtaining module 510, configured to obtain a first identification code and analyze the first identification code to obtain a target address and target account information, where the first identification code is generated based on first account information and the target address, the first account information includes an account identifier of a first user in a target application program, and the target address is a download address of the target application program;
a downloading module 520, configured to download the target application based on the target address and cache the target account information;
a second sending module 530, configured to obtain second account information, and send the target account information to a server, so that the server establishes an association relationship between the first account information and the second account information based on the first account information and the target account information, where the second account information includes an account identifier of a second user in the target application program;
a display module 540, configured to display an association relationship between the first account information and the second account information.
In some embodiments, the second sending module 530 is further configured to:
sending target registration information to a server;
and receiving second account information sent by the server based on the target registration information.
In some embodiments, the display module 540 is further configured to:
displaying a first interface provided by the target application program, wherein the first interface comprises a target control;
and responding to the first operation of the target control, and displaying a second interface comprising the account corresponding to the first account information.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, the association relationship establishing apparatus of this embodiment may download the target application program based on the first identification code, and may directly establish a contact with the first user in the first identification code after the account registration is completed, so that the first user or the second user may directly contact with the other party in the target application program, and the second user or the first user does not need to perform the operation of adding a friend again, thereby simplifying the user operation, and thus improving the user retention rate.
Correspondingly, the embodiment of the present application further provides an electronic device, where the electronic device may be a terminal or a server, and the terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game machine, a Personal computer, and a Personal Digital Assistant (PDA).
As shown in fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer-readable storage media, and a computer program stored in the memory 602 and running on the processor. The processor 601 is electrically connected to the memory 602. Those skilled in the art will appreciate that the electronic device configurations shown in the figures do not constitute limitations of the electronic device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The processor 601 is a control center of the electronic device 600, connects various parts of the entire electronic device 600 using various interfaces and lines, and performs various functions of the electronic device 600 and processes data by running or loading software programs and/or modules stored in the memory 602 and calling data stored in the memory 602.
In this embodiment of the application, the processor 601 in the electronic device 600 loads instructions corresponding to processes of one or more applications into the memory 602, and the processor 601 executes the applications stored in the memory 602 according to the following steps, so as to implement various functions:
acquiring first account information, wherein the first account information comprises an account identifier of a first user in a target application program; generating a first identification code according to the first account information and a target address, wherein the target address is a download address of the target application program; sending the first identification code to first terminal equipment corresponding to the first user so that the first terminal equipment can display the first identification code; acquiring second account information and target account information, wherein the second account information is obtained by registering a second user after the second user identifies the first identification code through second terminal equipment, the second account information comprises an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code through the second terminal equipment; and if the target account information is consistent with the first account information, establishing an association relationship between the first account information and the second account information.
The first account information is added into the first identification code, so that the first identification code has functions of downloading and marking users at the same time, after the second user downloads and registers the target application program based on the first identification code, if the target account information obtained by analyzing the first identification code is consistent with the first account information, the association relation can be directly established by the first account information, the operation of adding friends by the second user or the first user is not required to be executed again, the user operation is simplified, and the user retention rate can be improved.
If the target account information is consistent with the first account information, acquiring the creation time of the first account information; calculating the registration duration of the first account information according to the creation time and the current time; and if the registration duration is longer than a preset duration, establishing an association relationship between the first account information and the second account information.
When the association relationship between the first account information and the second account information is established, whether the first user is an old user or not can be determined according to the registration duration of the first account information, so that the second user can be helped to be familiar with the target application program quickly, and the retention rate of the user is improved.
Acquiring target registration information and target account information sent by second terminal equipment; determining a creating position corresponding to the target account information according to the target account information; creating the second account information at the creation location using the target registration information.
And the second account information is created based on the target account information, so that the association relationship between the two accounts can be ensured.
Acquiring a first identification code and analyzing the first identification code to obtain a target address and target account information, wherein the first identification code is generated based on the first account information and the target address, the first account information comprises an account identifier of a first user in a target application program, and the target address is a download address of the target application program; downloading the target application program based on the target address, and caching the target account information; acquiring second account information and sending the target account information to a server so that the server establishes an association relationship between the first account information and the second account information based on the first account information and the target account information, wherein the second account information comprises an account identifier of a second user in the target application program; and displaying the association relationship between the first account information and the second account information.
The first identification code is directly scanned to download the target application program, and the first identification code can be directly contacted with the first user after the account is registered, so that the operation of downloading the target application program by the user and the operation of adding friends by the user are simplified, and the retention rate of the user is improved.
Sending target registration information to a server; and receiving second account information sent by the server based on the target registration information. The account registration is carried out through the server, so that the uniqueness of the second account information can be ensured, and data confusion is avoided.
Displaying a first interface provided by the target application program, wherein the first interface comprises a target control; and responding to a first operation aiming at the target control, and displaying a second interface comprising an account corresponding to the first account information.
The friend relationship between the first user and the second user can be displayed based on user operation, so that the second user can communicate with the first user directly in the target application program conveniently, and the user retention rate is improved.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 5, the electronic device 600 further includes: a touch display screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The touch display screen 603 can be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 603 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user (for example, operations of the user on or near the touch panel by using a finger, a stylus pen, or any other suitable object or accessory) and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 601, and can receive and execute commands sent by the processor 601. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 601 to determine the type of the touch event, and then the processor 601 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display screen 603 can also be used as a part of the input unit 606 to implement an input function.
The rf circuit 604 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 605 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 605 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 605 and converted into audio data, and then the audio data is processed by the audio data output processor 601, and then the processed audio data is sent to another electronic device through the radio frequency circuit 604, or the audio data is output to the memory 602 for further processing. The audio circuit 605 may also include an earbud jack to provide communication of peripheral headphones with the electronic device.
The input unit 606 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 607 is used to power the various components of the electronic device 600. Optionally, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 5, the electronic device 600 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
As can be seen from the above, the electronic device provided in this embodiment may generate an exclusive sharing code, that is, a first identification code, for the first user, and the second user may identify the first identification code through the second terminal device to download the target application program and register, and after the registration is successful, the second user may directly become a friend with the first user, so that the second user may quickly establish contact with the first user, and the second user does not need to perform an operation of adding a friend again, which simplifies the user operation, and thus, the user retention rate may be increased.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any association relationship establishment method provided by the embodiment of the present application. For example, the computer program may perform the steps of:
acquiring first account information, wherein the first account information comprises an account identifier of a first user in a target application program; generating a first identification code according to the first account information and a target address, wherein the target address is a download address of the target application program; sending the first identification code to first terminal equipment corresponding to the first user so that the first terminal equipment can display the first identification code; acquiring second account information and target account information, wherein the second account information is obtained by registering a second user after the second user identifies the first identification code through second terminal equipment, the second account information comprises an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code through the second terminal equipment; and if the target account information is consistent with the first account information, establishing an association relationship between the first account information and the second account information.
The first account information is added into the first identification code, so that the first identification code has functions of downloading and marking users at the same time, after the second user downloads and registers the target application program based on the first identification code, if the target account information obtained by analyzing the first identification code is consistent with the first account information, the association relation can be directly established by the first account information, the operation of adding friends by the second user or the first user is not required to be executed again, the user operation is simplified, and the user retention rate can be improved.
If the target account information is consistent with the first account information, acquiring the creation time of the first account information; calculating the registration duration of the first account information according to the creation time and the current time; and if the registration time length is longer than the preset time length, establishing an association relationship between the first account information and the second account information.
When the association relationship between the first account information and the second account information is established, whether the first user is an old user or not can be determined according to the registration duration of the first account information, so that the second user can be helped to be familiar with the target application program quickly, and the retention rate of the user is improved.
Acquiring target registration information and target account information sent by second terminal equipment; determining a creating position corresponding to the target account information according to the target account information; creating the second account information at the creation location using the target registration information.
And the second account information is created based on the target account information, so that the association relationship between the two accounts can be ensured.
Acquiring a first identification code and analyzing the first identification code to obtain a target address and target account information, wherein the first identification code is generated based on the first account information and the target address, the first account information comprises an account identifier of a first user in a target application program, and the target address is a download address of the target application program; downloading the target application program based on the target address, and caching the target account information; acquiring second account information and sending the target account information to a server so that the server establishes an association relationship between the first account information and the second account information based on the first account information and the target account information, wherein the second account information comprises an account identifier of a second user in the target application program; and displaying the association relationship between the first account information and the second account information.
The first identification code is directly scanned to download the target application program, and the first identification code can be directly contacted with the first user after the account is registered, so that the operation of downloading the target application program by the user and the operation of adding friends by the user are simplified, and the retention rate of the user is improved.
Sending target registration information to a server; and receiving second account information sent by the server based on the target registration information. The account registration is carried out through the server, so that the uniqueness of the second account information can be ensured, and data confusion is avoided.
Displaying a first interface provided by the target application program, wherein the first interface comprises a target control; and responding to the first operation of the target control, and displaying a second interface comprising the account corresponding to the first account information.
The friend relationship between the first user and the second user can be displayed based on user operation, so that the second user can communicate with the first user directly in the target application program conveniently, and the user retention rate is improved.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any association relationship establishment method provided in the embodiments of the present application, beneficial effects that can be achieved by any association relationship establishment method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
The method, the apparatus, the storage medium, and the electronic device for establishing an association provided in the embodiments of the present application are described in detail above, and specific examples are applied in the present application to explain the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those 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 (10)
1. An association relationship establishing method, characterized in that the method comprises:
acquiring first account information, wherein the first account information comprises an account identifier of a first user in a target application program;
generating a first identification code according to the first account information and a target address, wherein the target address is a download address of the target application program;
sending the first identification code to first terminal equipment corresponding to the first user so that the first terminal equipment can display the first identification code;
acquiring second account information and target account information, wherein the second account information is obtained by registering a second user after the second user identifies the first identification code through second terminal equipment, the second account information comprises an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code through the second terminal equipment;
and if the target account information is consistent with the first account information, establishing an association relation between the first account information and the second account information.
2. The method according to claim 1, wherein if the target account information is consistent with the first account information, establishing an association relationship between the first account information and the second account information includes:
if the target account information is consistent with the first account information, acquiring the creation time of the first account information;
calculating the registration duration of the first account information according to the creation time and the current time;
and if the registration time length is longer than the preset time length, establishing an association relationship between the first account information and the second account information.
3. The method according to claim 1, wherein the obtaining the second account information and the target account information includes:
acquiring target registration information and target account information sent by second terminal equipment;
determining a creating position corresponding to the target account information according to the target account information;
creating the second account information at the creation location using the target registration information.
4. An association relationship establishing method, characterized in that the method comprises:
acquiring a first identification code and analyzing the first identification code to obtain a target address and target account information, wherein the first identification code is generated based on the first account information and the target address, the first account information comprises an account identifier of a first user in a target application program, and the target address is a download address of the target application program;
downloading the target application program based on the target address, and caching the target account information;
acquiring second account information and sending the target account information to a server so that the server establishes an association relationship between the first account information and the second account information based on the first account information and the target account information, wherein the second account information comprises an account identifier of a second user in the target application program;
and displaying the association relationship between the first account information and the second account information.
5. The method according to claim 4, wherein the obtaining second account information includes:
sending target registration information to a server;
and receiving second account information sent by the server based on the target registration information.
6. The method according to claim 4, wherein the displaying the association relationship between the first account information and the second account information comprises:
displaying a first interface provided by the target application program, wherein the first interface comprises a target control;
and responding to the first operation of the target control, and displaying a second interface comprising the account corresponding to the first account information.
7. An association relationship establishing apparatus, the apparatus comprising:
the first acquisition module is used for acquiring first account information, wherein the first account information comprises an account identifier of a first user in a target application program;
the generating module is used for generating a first identification code according to the first account information and a target address, wherein the target address is a downloading address of the target application program;
the first sending module is used for sending the first identification code to first terminal equipment corresponding to the first user so that the first terminal equipment can display the first identification code;
the second obtaining module is used for obtaining second account information and target account information, wherein the second account information is obtained by registering a second user after the second user identifies the first identification code through second terminal equipment, the second account information comprises an account identifier of the second user in a target application program, and the target account information is obtained by analyzing the first identification code through the second terminal equipment;
and the establishing module is used for establishing the association relationship between the first account information and the second account information if the target account information is consistent with the first account information.
8. An association relationship establishing apparatus, the apparatus comprising:
the system comprises an identification code acquisition module, a target application program acquisition module and a target application program acquisition module, wherein the identification code acquisition module is used for acquiring a first identification code and analyzing the first identification code to obtain a target address and target account information, the first identification code is generated based on first account information and the target address, the first account information comprises an account identification of a first user in the target application program, and the target address is a download address of the target application program;
the downloading module is used for downloading the target application program based on the target address and caching the target account information;
the second sending module is used for acquiring second account information and sending the target account information to a server so that the server can establish an association relation between the first account information and the second account information based on the first account information and the target account information, wherein the second account information comprises an account identifier of a second user in the target application program;
and the display module is used for displaying the association relationship between the first account information and the second account information.
9. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to execute the steps of the association relationship establishing method according to any one of claims 1 to 6.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps of the association relationship establishing method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210629200.8A CN115034919A (en) | 2022-05-30 | 2022-05-30 | Incidence relation establishing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210629200.8A CN115034919A (en) | 2022-05-30 | 2022-05-30 | Incidence relation establishing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115034919A true CN115034919A (en) | 2022-09-09 |
Family
ID=83123476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210629200.8A Pending CN115034919A (en) | 2022-05-30 | 2022-05-30 | Incidence relation establishing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115034919A (en) |
-
2022
- 2022-05-30 CN CN202210629200.8A patent/CN115034919A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11057376B2 (en) | Method, apparatus, and system for controlling intelligent device, and storage medium | |
CN111324259B (en) | Group creation method, device and storage medium | |
CN111078655A (en) | Document content sharing method and device, terminal and storage medium | |
CN111601115B (en) | Video detection method, related device, equipment and storage medium | |
CN111478849B (en) | Service access method, device and storage medium | |
US11271977B2 (en) | Information processing apparatus, information processing system, information processing method, and non-transitory recording medium | |
WO2018095216A1 (en) | Relationship chain processing method, terminal and storage medium | |
CN113034189A (en) | Attribution method, attribution device, computer equipment and storage medium | |
CN107710136B (en) | Management system, communication system, display method | |
CN112380552A (en) | Data processing method and device, storage medium and computer equipment | |
CN113489637A (en) | Method and device for adding reminding object, storage medium and computer equipment | |
CN107995151B (en) | Login verification method, device and system | |
CN114553612B (en) | Data encryption and decryption method and device, storage medium and electronic equipment | |
CN107577933B (en) | Application login method and device, computer equipment and computer readable storage medium | |
CN108769389B (en) | Picture acquisition method and device, terminal equipment and storage medium | |
CN115034919A (en) | Incidence relation establishing method and device, electronic equipment and storage medium | |
CN114816600B (en) | Session message display method, device, terminal and storage medium | |
JP2016071509A (en) | Information processing system, terminal device and program | |
CN115801717A (en) | Welcome language selection method, device, medium and equipment for chat tool | |
CN115018574A (en) | Information display method and device, electronic equipment and storage medium | |
CN114157630B (en) | Social relation chain migration method, device, equipment and storage medium | |
CN111163217A (en) | Mobile phone game user matching method and device and server | |
CN111447236A (en) | Block chain-based communication authentication method and device, terminal equipment and storage medium | |
CN115174161B (en) | Account login method and device, electronic equipment and storage medium | |
CN117041372A (en) | Protocol switching method, device and equipment of passive equipment and readable 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 |