Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
Before describing embodiments of the present invention in detail, the concepts involved are explained as follows:
1. the first instant messaging client and the second instant messaging client:
the first instant messaging client and the second instant messaging client are two different types of instant messaging clients, have incompletely same functions, and can execute incompletely same operations, so that a user is helped to process different transactions.
For example, the first instant messaging client is a personal instant messaging client and the second instant messaging client is a group instant messaging client, or the first instant messaging client is a group instant messaging client and the second instant messaging client is a personal instant messaging client.
In the personal instant messaging client, based on the logged-in personal user identifier, various operations such as interaction with the associated user identifier, dynamic information release, payment and red packet sending can be executed.
In the group instant messaging client, various operations such as interaction, attendance checking, card punching, enterprise personnel management and the like can be executed with the associated user identification based on the logged-in group user identification.
For example, the personal instant messaging client may be various types of chat application clients, such as chat, fly-to-air, etc., and the group instant messaging client may be an enterprise instant messaging client, an instant messaging client dedicated to manage a certain group, or other office type instant messaging clients, such as nailing, etc.
2. The instant messaging server:
the first instant messaging client and the second instant messaging client are both associated with the instant messaging server, the first instant messaging client and the second instant messaging client are managed by the instant messaging server and are used as intermediate equipment between the instant messaging clients on different terminals, and interaction between the different instant messaging clients is achieved.
In particular, the instant messaging server can be used as an intermediate device between a first instant messaging client and a second instant messaging client to realize interaction between two different types of instant messaging clients.
The instant communication server can establish an incidence relation and a binding relation, can realize the interaction between different user identifications according to the incidence relation, and can realize the intercommunication between different types of user identifications belonging to the same user according to the binding relation.
3. And (3) user identification: user identifications can be registered in both the personal instant messaging client and the group instant messaging client, are used for determining a unique corresponding user, can represent the identity of the user, and can be user accounts, user nicknames and the like.
The user identification registered in the personal instant messaging client can be called as a personal user identification, and the user identification registered in the group instant messaging client can be called as a group user identification.
Then for any user, the user can register the individual user id in the individual instant messaging client or the group user id in the group instant messaging client.
The personal user identifier may be a user account or a user nickname of the personal user, and the group user identifier may include a group identifier to which the personal user belongs, a user account or a user nickname or an employee number of the personal user, and the like.
4. Group (2): the group is a group consisting of a plurality of individuals, such as an enterprise including a plurality of employees, an organization including a plurality of members, a family group including a plurality of family members, a hobby group consisting of a plurality of members having common hobbies, and the like.
5. Identification code: the identification code used for representing the user identity, each user has a globally unique identification code, and can be a mobile phone number or an identification card number and the like. The identification code can be bound with the individual user identification and/or the group user identification, and the individual user identification can be bound with the group user identification through the identification code.
6. Binding relationship: the method is a binding relationship between a user identifier registered in a first instant messaging client and a user identifier registered in a second instant messaging client, and is used for binding two different types of user identifiers to indicate that the two different types of user identifiers belong to the same user.
The binding relationship may include the two user identifications, and may further include an identification code.
Usually, when a certain user identifier is registered, the identity code of the user to which the user identifier belongs is obtained, the user identifier and the identity code are bound, and the established binding relationship is stored in the instant messaging server. After binding, the bound identity identification code can be inquired according to the user identification, so that user management is facilitated. And the user identification can be inquired according to the identification code, and various operations such as association, inquiry of information and the like can be carried out on the inquired user identification.
In addition, after both the individual user identifier and the group user identifier are bound with the identity identifier, the individual user identifier and the group user identifier bound with the same identity identifier can be bound by default, so that the two user identifiers belong to the same user, and subsequently, when a certain user identifier requests to be associated with the individual user identifier, the group user identifier bound with the individual user identifier can be switched to, or when a certain user identifier requests to be associated with the group user identifier, the group user identifier bound with the group user identifier can be switched to.
7. The association relationship is as follows: the method is an incidence relation between any two user identifications, and indicates that the users to which the two user identifications belong become friends, and interaction can be performed, wherein the interaction comprises the operations of mutually transmitting instant communication messages, sending red packages, transferring accounts and the like.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention, and referring to fig. 1, the implementation environment includes a first terminal 101, aninstant messaging server 102, and asecond terminal 103, where the first terminal 101 and thesecond terminal 103 are respectively connected to theinstant messaging server 102 through a network.
The first terminal 101 may be installed with a personal instant messaging client, log in the personal instant messaging client based on the personal user identifier, and interact with theinstant messaging server 102 through the personal instant messaging client, and may also be installed with a group instant messaging client, log in the group instant messaging client based on the group user identifier, and interact with theinstant messaging server 102 through the group instant messaging client.
Thesecond terminal 103 may be installed with a personal instant messaging client, log in the personal instant messaging client based on the personal user identifier, and interact with theinstant messaging server 102 through the personal instant messaging client, and may also be installed with a group instant messaging client, and interact with theinstant messaging server 102 through the group instant messaging client.
In one possible implementation, theinstant messaging server 102 may include a firstinstant messaging server 1021 and a secondinstant messaging server 1022. Moreover, an interface is provided between the firstinstant messaging server 1021 and the secondinstant messaging server 1022, and by calling the interface, data transmission between the two instant messaging servers can be realized, so as to realize intercommunication between the personal instant messaging client and the group instant messaging client.
Fig. 2 is a flowchart of an association relationship establishing method provided in the embodiment of the present invention. The interactive main body of the embodiment of the invention is a first terminal, a second terminal and an instant messaging server, and explains the process of establishing the association relation between the user identification registered in the personal instant messaging client and the user identification registered in the group instant messaging client. The first terminal and the second terminal are devices such as a mobile phone, a computer and a tablet computer. Referring to fig. 2, the method includes:
201. and the second terminal sends an association request to the instant messaging server based on the second identifier logged in the first instant messaging client.
The first terminal is provided with a first instant messaging client, the first instant messaging client logs in based on a first identifier and interacts with the instant messaging server, and the second terminal is provided with a first instant messaging client and logs in based on a second identifier and interacts with the instant messaging server. Wherein the first identifier and the second identifier are different user identifiers.
The first instant messaging client may be a personal instant messaging client, and each user may register a personal user identifier in the personal instant messaging client and log in the personal instant messaging client based on the registered personal user identifier. Or, the first instant messaging client may also be a group instant messaging client, and each user may register a group user identifier in the group instant messaging client and log in the group messaging client based on the registered group user identifier.
The individual user identifier is used for representing the identity of the user, and the group user identifier is not only used for representing the identity of the user, but also used for representing the group to which the user belongs. The group may be any type of group including a plurality of users, such as a business, an organization, a group, a hobby group, a family group, etc. Through the group instant messaging client, a group can be created, and the operation of managing the group, such as attendance management, personnel management and the like, can be executed. The group user identifications belonging to the same group can establish an association relationship, and the group user identifications not belonging to the same group can also establish an association relationship.
And when the user of the second terminal wants to add the user to which the first identifier belongs as a friend, the second terminal sends an association request to the instant messaging server based on the second identifier. The association request carries a second identifier and a first identifier, and is used for requesting the instant messaging server to establish an association relationship between the second identifier and the first identifier.
In one possible implementation, the second terminal obtains the first identity before sending the association request. For example, the second terminal may display a search interface, obtain the first identifier input in the search interface, or search for a corresponding first identifier according to an identification code input in the search interface, or search for the first identifier from an added group, or receive an electronic business card containing the first identifier sent by another device, or scan a graphic code containing the first identifier, and perform analysis processing to obtain the first identifier, or may also obtain the first identifier in another manner.
Referring to fig. 3, the second terminal displays an interactive interface with a friend, receives an electronic business card sent by the friend, and the user can display the first identifier included in the electronic business card by clicking the electronic business card. Referring to fig. 4, the second terminal displays a search interface, and after the user inputs the mobile phone number, the first identifier may be searched according to the mobile phone number.
After the first identifier is obtained, the first identifier is displayed, and in addition, the information of the first identifier, such as the information of head portrait, identification code, attribution, individual signature and the like, can also be displayed. At this time, if the user of the second terminal wishes to associate the first identifier, when the user to which the first identifier belongs is added as a friend, a request association instruction for the first identifier is triggered, and when the second terminal receives the request association instruction for the first identifier, an association request is sent to the instant messaging server based on the second identifier. Wherein, the request association instruction can be triggered by various operations such as clicking operation on the first identifier, long head portrait pressing operation, sliding operation of the first identifier and the like,
in another possible implementation manner, before the second terminal logs in the first instant messaging client based on the second identifier, the second identifier needs to be registered in the first instant messaging client, and the registration process includes:
the second terminal displays a registration page through the first instant messaging client, acquires an input identity identification code based on the registration page, and sends a registration request to the instant messaging server, wherein the registration request carries the identity identification code, and the registration request is used for requesting to register a user identifier in the first instant messaging client according to the identity identification code. And when the instant messaging server receives the registration request, distributing a second identifier for the identity identification code, and establishing a binding relationship between the identity identification code and the second identifier.
Or the second terminal displays a registration page through the first instant messaging client, and sends a registration request to the instant messaging server when receiving a confirmation instruction based on the registration page, wherein the confirmation instruction can be triggered by clicking operation on a registration option in the registration page, inputting registration information in the registration page and other operations, and the registration request is used for requesting registration of the user identifier in the first instant messaging client. And when the instant messaging server receives the registration request, allocating a second identifier. And then, the second terminal displays the binding page through the first instant messaging client, acquires the input identification code based on the binding page, and sends a binding request to the instant messaging server, wherein the binding request carries the identification code and the second identifier, and when the instant messaging server receives the binding request, the binding relationship between the identification code and the second identifier is established.
202. And the instant messaging server receives the association request sent by the second terminal.
203. And the instant messaging server sends an association request to the first terminal where the first identifier is based on the first identifier.
And after receiving the association request sent by the second terminal, the instant messaging server forwards the association request to the first terminal where the first identifier is located.
In a possible implementation manner, the instant messaging server stores the profile information of each user identifier, and when the instant messaging server receives the association request, the instant messaging server obtains the profile information of the second identifier and sends the profile information of the second identifier to the first terminal, so that the user of the first terminal can check the profile information of the second identifier and decide whether to add the second identifier as a friend or not.
204. The first terminal receives an association request sent by the instant messaging server based on a first identifier logged in the first instant messaging client, and displays a verification page comprising a first verification passing option.
The verification page is used for prompting to verify the second identifier, and the verification page comprises the second identifier and can also comprise the material information of the second identifier. The user can check the second identification in the verification page, and when the user agrees to add the second identification as a friend, a confirmation instruction of the verification passing option is triggered on the verification page.
In the embodiment of the present invention, the second instant messaging client and the first instant messaging client are different types of instant messaging clients, and in order to implement the interworking between the first instant messaging client and the second instant messaging client, a first verification-passing option is displayed in a verification page in the first instant messaging client, where the first verification-passing option is used to indicate that a user identifier, which is bound to the first identifier and is logged in the second instant messaging client, is associated with the second identifier.
In one possible implementation, the verification page may include, in addition to the first verification pass option, a second verification pass option indicating that the first identifier is associated with the second identifier.
For example, as shown in fig. 5, the verification page includes the profile information of the second identifier, the user's nickname, the home location, the source, etc., and further includes a first verification pass option "verified with my enterprise XX client", and a second verification pass option "verified".
In a possible implementation manner, when the first terminal receives the association request, the second identifier is added to the to-be-associated identifier page, and the to-be-associated identifier page is used for displaying the user identifier requesting to establish the association relationship with the first identifier. When a user opens a page of the identifier to be associated in the first instant messaging client and triggers a selection instruction of the second identifier, the selection instruction can be triggered by operations such as clicking operation, sliding operation and the like on the first identifier, and the first terminal displays the verification page. The to-be-associated identification page may be as shown in fig. 6. In addition, when the first terminal adds the second identifier in the identifier page to be associated, a prompt mark can be added in the main page of the first instant messaging client to remind the user to open the identifier page to be associated.
In the specific implementation, the first identifier may be already bound to the user identifier registered in the second instant messaging client, or may not be bound yet, so that the display mode of the verification page is different according to different binding conditions. Therefore, the first terminal receives the association request, inquires whether the established binding relationship includes the user identifier bound by the first identifier, if the binding relationship includes the user identifier bound by the first identifier, a verification page including the first verification passing option is displayed, and if the binding relationship does not include the user identifier bound by the first identifier, the verification page including the downloading option is displayed, the downloading option is linked to the downloading page of the second instant messaging client, when a confirmation instruction of the downloading option is received, the second terminal switches to display the downloading page, downloads the second instant messaging client based on the downloading page, and installs the second instant messaging client. After the third identifier is registered in the second instant messaging client after installation, the verification page of the first instant messaging client can be returned again, and at the moment, the verification page displays the first verification passing option.
In a possible implementation manner, the binding relationship may be established by the instant messaging server and then sent to the first terminal, and the first terminal is stored in the local database. And when the first terminal receives the association request, searching whether the user identifier bound by the first identifier exists in a local database.
In another possible implementation manner, the binding relationship is stored in an instant messaging server, and when receiving an association request of a second terminal, the instant messaging server queries whether a user identifier bound with a first identifier exists, and if the binding relationship includes the user identifier bound with the first identifier, sends a first notification message to the first terminal, where the first notification message is used to instruct the first terminal to display a verification page including a first verification pass option; and if the binding relation does not include the user identifier bound by the first identifier, sending a second notification message to the first terminal, wherein the second notification message is used for indicating the first terminal to display a verification page including the download option.
And when the second terminal receives the first notification message, determining that the binding relationship comprises the user identifier bound by the first identifier, and displaying a verification page comprising the first verification passing option. And when the second terminal receives the second notification message, determining that the user identifier bound by the first identifier is not included in the binding relationship, and displaying a verification page including the download option.
The binding relationship has different forms, and the process of inquiring the binding relationship is also different. The embodiment of the invention takes the user identifier bound by the first identifier and registered in the second instant messaging client as a third identifier as an example:
in the first case, the binding relationship includes the first identifier, the identification code bound to the first identifier, and the third identifier, that is, the first identifier in the first instant messaging client and the third identifier in the second instant messaging client are bound by the identification codes. In this case, the binding relationship is queried according to the first identifier, and the identification code and the third identifier corresponding to the first identifier can be directly obtained.
In the second case, the binding relationship includes a first binding relationship and a second binding relationship, where the first binding relationship is a binding relationship between the user identifier and the id in the first instant messaging client, and the second binding relationship is a binding relationship between the user identifier and the id in the second instant messaging client. The first binding relationship comprises a binding relationship between the first identifier and the identification code, and the second binding relationship comprises a binding relationship between the third identifier and the identification code.
In this case, the first binding relationship is queried according to the first identifier to obtain the id bound by the first identifier, and then the second binding relationship is queried to determine whether the id is bound by another user identifier.
Before establishing the binding relationship, the first identifier and the third identifier need to be registered. The process of registering the first identifier is similar to the process of registering the second identifier in step 201, and is not described herein again. And the process of registering the third identity may include:
the first terminal displays a registration page through the second instant messaging client, acquires an input identification code based on the registration page, and sends a registration request to the instant messaging server, wherein the registration request is used for requesting to register a user identifier in the second instant messaging client according to the identification code, the instant messaging server receives the registration request, allocates a third identifier, and establishes a binding relationship between the identification code and the third identifier, and if the third identifier is added to the established binding relationship between the first identifier and the identification code, or the binding relationship between the identification code and the third identifier is established outside the established binding relationship between the first identifier and the identification code.
For example, the binding relationship may be as shown in table 1 below.
TABLE 1
| Personal user identification | Identity recognition code | Enterprise user identification |
| 1234565 | 132XXXX4445 | XX corporation No. 200 |
205. And when the first terminal receives a confirmation instruction of the first verification passing option, sending a first association instruction to the instant messaging server.
When the user does not want to associate the first identifier and the second identifier which are logged in the first instant messaging client, but wants to associate the user identifier and the second identifier which are logged in the second instant messaging client, a confirmation instruction of the first authentication passing option is triggered.
Wherein, the confirmation instruction can be triggered by clicking operation, long-time pressing operation or other operations of the first verification passing option.
And when receiving the confirmation instruction, the first terminal sends a first association instruction to the instant messaging server, wherein the first association instruction is used for indicating the establishment of the association relationship between the third identifier and the second identifier bound by the first identifier.
206. When the instant communication server receives a first association instruction sent by the first terminal, the instant communication server acquires a third identifier bound by the first identifier according to the established binding relationship, and establishes the association relationship between the third identifier and the second identifier.
And after receiving the first association instruction, the instant messaging server establishes an association relationship between the third identifier and the first identifier so as to facilitate interaction between the subsequent third identifier and the first identifier based on the association relationship.
207. The instant messaging server sends the user identification list associated with the third identification to the first terminal, sends the user identification list associated with the second identification to the second terminal, and executes step 208 or step 210.
The instant messaging server respectively maintains a user identification list associated with the logged-in user identification for each terminal based on the logged-in user identification on each terminal, wherein the user identification list comprises one or more user identifications associated with the user identification, and the user identifications included in the user identification list and the logged-in user identifications can belong to the same type or different types.
In the embodiment of the present invention, for the second identifier and the third identifier, the instant messaging server sends the user identifier list associated with the second identifier to the second terminal, so that the second terminal interacts with the user identifiers in the user identifier list, and the instant messaging server also sends the user identifier list associated with the third identifier to the first terminal, so that the first terminal interacts with the user identifiers in the user identifier list. Referring to fig. 7, the second terminal displays an interactive interface of the third identifier and the second identifier.
After the association relationship between the third identifier and the second identifier is established, the association relationship changes, which results in that the user identifier list associated with the second identifier and the third identifier changes, therefore, after the association relationship is updated, the instant messaging server determines the user identifier list associated with the second identifier according to the updated association relationship, and sends the user identifier list to the second terminal, so that the second terminal can interact with the user identifiers in the updated user identifier list, and the instant messaging server determines the user identifier list associated with the third identifier, and sends the user identifier list to the first terminal, so that the first terminal can interact with the user identifiers in the updated user identifier list.
208. And the first terminal receives a user identifier list associated with the third identifier based on the third identifier logged in the second instant messaging client and displays the user identifier list associated with the third identifier.
In a possible implementation manner, when the first terminal displays the user identifier list, the user identifier list may include a user identifier registered in the second instant messaging client, and may also include a user identifier registered in the first instant messaging client. In order to facilitate user differentiation, a designation mark is displayed in a display area of a user identifier registered in the first instant messaging client, and the designation mark is used for indicating that the corresponding user identifier and the third identifier belong to user identifiers in different instant messaging clients, so that a user can see the designation mark and know that the corresponding user identifier is another type of user identifier.
Since the instant messaging server has established the association relationship between the second identifier and the third identifier, the user identifier list includes the second identifier, and the specified mark is displayed in the display area of the second identifier.
The designated mark may be an "@" character or other mark, and when the designated mark is displayed, the name of the instant messaging client to which the user identifier belongs or the group identifier to which the user identifier belongs may also be displayed.
209. And when the first terminal receives a selection instruction of the second identifier, displaying an interactive interface between the third identifier and the second identifier, and interacting with the second terminal where the second identifier is located based on the interactive interface.
In a possible implementation manner, the first terminal sends the instant messaging message to the second terminal where the second identifier is located based on the third identifier, and the interaction process includes: the method comprises the steps that a first terminal obtains instant communication messages input in an interactive interface, such as pictures, texts, voice, videos, red packets and the like, an interactive request is sent to an instant communication server based on a third identifier, the interactive request carries the third identifier, a second identifier and the instant communication messages, the instant communication server forwards the interactive request to a second terminal based on the second identifier when receiving the interactive request, and the instant communication messages are displayed in the interactive interface between the second identifier and the third identifier when the second terminal receives the interactive request.
The second terminal may also send the instant messaging message to the first terminal where the third identifier is located based on the second identifier, and the specific process is similar to the above interaction process and is not described herein again.
In another possible implementation manner, the instant messaging server includes a first instant messaging server and a second instant messaging server, and an interface is provided between the first instant messaging server and the second instant messaging server, where the first instant messaging server is associated with the first instant messaging client and the second instant messaging server is associated with the second instant messaging client. When the first instant messaging server receives the interaction request of the second terminal, the interaction request is sent to the second instant messaging server, and the second instant messaging server sends the interaction request to the first terminal. Or when the second instant messaging server receives the interactive request of the first terminal, the interactive request is firstly sent to the first instant messaging server, and the interactive request is sent to the second terminal by the first instant messaging server.
That is, through the mutual cooperation of the first instant messaging server and the second instant messaging server, the information transmission between different instant messaging clients is realized.
210. And the second terminal receives the user identifier list associated with the second identifier based on the first identifier logged in the first instant messaging client and displays the user identifier list associated with the second identifier.
Since the instant messaging server has established the association relationship between the second identifier and the third identifier, the user identifier list includes the third identifier, and the second terminal may display the designated mark in a display area of the third identifier.
211. And when the second terminal receives a selection instruction of the third identifier, displaying an interactive interface between the first identifier and the third identifier, and interacting with the first terminal where the third identifier is located based on the interactive interface.
The steps 210 and 211 are similar to the steps 208 and 209, and are not described herein again.
The method provided by the embodiment of the invention receives the association request sent by the instant messaging server based on the first identification logged in the first instant messaging client, displays the verification page comprising the first verification passing option, and sends the first association instruction to the instant messaging server when receiving the confirmation instruction of the first verification passing option so as to establish the association relationship between the third identifications and the second identifications of different types bound with the first identification.
In the related art, if the enterprise user identifier needs to be associated, an accurate enterprise user identifier needs to be obtained in advance, the operation is very inconvenient, the association process depends on accurate search of the enterprise user identifier, and the limitation is strong. In the embodiment of the invention, the individual user identifier requested to be associated can be associated with the group user identifier bound with the individual user identifier without acquiring an accurate group user identifier, so that the operation of the user is simplified, the way of inquiring the group user identifier is increased, and the convenience is enhanced.
On the basis of the method embodiment, another incidence relation establishing method is also provided. Fig. 8 is a flowchart of another association relationship establishing method provided in the embodiment of the present invention, referring to fig. 8, after the above steps 201 and 203, the method includes:
801. and the first terminal displays a verification page comprising a first verification passing option and a second verification passing option, and the verification page is used for prompting the verification of the second identifier.
The verification page comprises a first verification pass option used for establishing the association relationship between the second identifier and the third identifier and a second verification pass option used for establishing the association relationship between the second identifier and the first identifier. When the user views the verification page, a confirmation instruction for the first verification operation option or a confirmation instruction for the second verification pass option can be triggered according to requirements, and the user identifier which establishes the association relationship with the second identifier is selected, wherein the confirmation instruction can be triggered by clicking operation, long-time pressing operation or other operations for the second verification pass option.
802. And when the first terminal receives a confirmation instruction of the second verification passing option, sending a second association instruction to the instant messaging server, wherein the second association instruction is used for indicating the establishment of the association relationship between the first identifier and the second identifier.
803. And when the instant communication server receives a second association instruction sent by the first terminal, establishing an association relation between the first identifier and the second identifier, and interacting by the first terminal and the second terminal based on the association relation.
The steps 802-803 are similar to the steps 205-211, except that: and the instant messaging server establishes the association relation between the first identifier and the second identifier according to the second association instruction.
Thereafter, the process of the first terminal interacting with the second terminal is similar to the above step 208-211, except that: the first terminal carries out interaction based on the first identification in the first instant messaging client, but not through the third identification in the second instant messaging client.
The method provided by the embodiment of the invention is characterized in that based on a first identifier logged in a first instant messaging client, an association request sent by an instant messaging server is received, a verification page comprising a first verification passing option and a second verification passing option is displayed, when a confirmation instruction of the first verification passing option is received, the first association instruction is sent to the instant messaging server so as to establish an association relationship between a third identifier and a second identifier, which are bound with the first identifier and are of different types, or when a confirmation instruction of the second verification passing option is received, the second association instruction is sent to the instant messaging server so as to establish an association relationship between the first identifier and the second identifier. When the second identifier requests association, two verification passing options which are respectively used for establishing association relations between identifiers of the same type and different types are displayed, so that two association modes are provided for a user, more choices are provided for the user, and the flexibility is improved. And the intercommunication between the first instant application client and the second instant application client is realized by establishing the incidence relation between the third identifier and the second identifier.
Fig. 9 is a schematic diagram of an operation flow provided by an embodiment of the present invention, and referring to fig. 9, the operation flow includes:
1. and the user A requests to add the personal account of the user B as a friend through the personal instant messaging client.
2. And the user B receives a friend adding request of the user A through the personal instant messaging client.
3. And the user B checks the verification page of the user A through the personal instant messaging client.
4. And judging whether the user B registers the enterprise instant messaging client or not, if so, executing the step 5-7, and if not, executing the step 8-10.
The step 4 can be executed by the instant messaging server, and when receiving the friend adding request of the user a, the instant messaging server can inquire whether the user B registers an office account at the enterprise instant messaging client, and send the inquiry result to the user B.
5. And displaying an authentication passing option added to the user A through the office account of the user B in the authentication page of the user A.
6. And the user B triggers the verification passing option, and if the verification is passed, the personal account of the user A is added to the friend list of the office account of the user B in the enterprise instant messaging client.
7. And the user B interacts with the user A through the enterprise instant messaging client, and the user A interacts with the user B through the personal instant messaging client, and the operation is finished.
8. And displaying the downloading options of the enterprise instant messaging client in the verification page of the user A.
9. And the user B triggers the downloading option and switches to the downloading page, and the user B downloads the enterprise instant messaging client on the downloading page.
10. And after the downloading is successful, the user B opens the enterprise instant messaging client, registers the office account, binds the office account with the mobile phone number, opens the personal instant messaging client and executes the step 5.
Fig. 10 is a schematic structural diagram of an association relationship establishing apparatus according to an embodiment of the present invention. Referring to fig. 10, the apparatus includes:
areceiving module 1001, configured to receive an association request sent by an instant messaging server based on a first identifier logged in a first instant messaging client, where the association request carries a second identifier requesting to establish an association relationship with the first identifier;
averification display module 1002, configured to display a verification page including a first verification pass option, where the verification page is used to prompt verification of the second identifier;
a firstinstruction sending module 1003, configured to send a first association instruction to the instant messaging server when receiving a confirmation instruction for the first verification passing option, where the first association instruction is used to indicate that an association relationship between a third identifier and a second identifier is established, where the third identifier is bound to the first identifier;
the first identification and the second identification are user identifications registered in the first instant messaging client, the third identification is a user identification registered in the second instant messaging client, and the second instant messaging client is different from the first instant messaging client.
The device provided by the embodiment of the invention receives the association request sent by the instant messaging server based on the first identifier logged in the first instant messaging client, displays the verification page comprising the first verification passing option, and sends the first association instruction to the instant messaging server when receiving the confirmation instruction of the first verification passing option so as to establish the association relationship between the third identifiers and the second identifiers of different types bound with the first identifier.
Optionally, the verification page further includes a second verification pass option, and the apparatus further includes:
and the second instruction sending module is used for sending a second association instruction to the instant messaging server when receiving a confirmation instruction of the second verification passing option, wherein the second association instruction is used for indicating the establishment of the association relationship between the first identifier and the second identifier.
Optionally, theverification displaying module 1002 is further configured to display a verification page including a first verification-passing option if the established binding relationship includes the user identifier bound by the first identifier.
Optionally, the apparatus further comprises:
and the download display module is used for displaying a verification page comprising a download option if the established binding relationship does not comprise the user identifier bound by the first identifier, and the download option is linked to the download page of the second instant messaging client.
Optionally, the apparatus further comprises:
and the switching module is used for switching to display the download page when receiving a confirmation instruction of the download option.
Optionally, the apparatus further comprises:
the list display module is used for displaying a user identification list related to a third identification based on the third identification logged in the second instant messaging client, wherein the user identification list comprises a second identification;
the interactive interface display module is used for displaying an interactive interface between the third identifier and the second identifier when a selection instruction of the second identifier is received;
and the interaction module is used for interacting with the terminal where the second identifier is located based on the interaction interface.
Optionally, the apparatus further comprises:
the registration page display module is used for displaying a registration page through the second instant messaging client and acquiring the input identification code based on the registration page;
and the registration sending module is used for sending a registration request to the instant messaging server, wherein the registration request is used for requesting to register a third identifier in the second instant messaging client according to the identity identification code and establishing the identity identification code and the binding relationship between the first identifier and the third identifier which are bound by the identity identification code.
Fig. 11 is a schematic structural diagram of another association relationship establishing apparatus according to an embodiment of the present invention. Referring to fig. 11, the apparatus includes:
anassociation receiving module 1101, configured to receive an association request sent by a second terminal, where the association request is sent by the second terminal based on a second identifier logged in a first instant messaging client, and the association request carries the second identifier and a first identifier requesting association;
anassociation sending module 1102, configured to send an association request to a first terminal where the first identifier is located based on the first identifier;
anidentifier obtaining module 1103, configured to, when receiving a first association instruction sent by a first terminal, obtain, according to an established binding relationship, a third identifier bound to a first identifier;
a firstassociation establishing module 1104, configured to establish an association relationship between the third identifier and the second identifier;
the first identification and the second identification are user identifications registered in the first instant messaging client, the third identification is a user identification registered in the second instant messaging client, and the second instant messaging client is different from the first instant messaging client.
The device provided by the embodiment of the invention receives the association request sent by the second terminal, and sends the association request to the first terminal where the first identifier is located based on the first identifier; when a first association instruction sent by a first terminal is received, acquiring a third identifier bound by the first identifier according to the established binding relationship; the association relation between the third identifier and the second identifier is established, a method for interacting based on different types of user identifiers is provided, the first instant application client and the second instant application client are communicated, and flexibility is improved.
Optionally, the apparatus further comprises:
and the second association establishing module is used for establishing the association relationship between the first identifier and the second identifier when receiving a second association instruction sent by the first terminal.
Optionally, the apparatus further comprises:
and the first notification sending module is used for sending a first notification message to the first terminal if the binding relationship comprises the user identifier bound by the first identifier, wherein the first notification message is used for indicating the first terminal to display a verification page comprising a first verification passing option.
Optionally, the apparatus further comprises:
and the second notification sending module is used for sending a second notification message to the first terminal if the binding relation does not include the user identifier bound by the first identifier, and the second notification message is used for indicating the first terminal to display a verification page including the download option.
Optionally, the apparatus further comprises:
the list acquisition module is used for acquiring a user identification list associated with the third identification according to the established association relation;
and the list sending module is used for sending a user identification list to the first terminal, wherein the user identification list is used for the first terminal to interact with the terminal where the associated user identification is located based on the third identification logged in the second instant messaging client.
Optionally, the apparatus further comprises:
the registration receiving module is used for receiving a registration request sent by the first terminal, wherein the registration request carries the identity identification code of the first terminal;
the distribution module is used for distributing a third identifier for the identification code;
and the binding establishing module is used for establishing the binding relationship among the identity identification code, the first identifier and the third identifier according to the binding relationship between the identity identification code and the first identifier.
Fig. 12 is a schematic structural diagram of another association relationship establishing apparatus according to an embodiment of the present invention. Referring to fig. 12, the apparatus includes:
asending module 1201, configured to send an association request to an instant messaging server based on a second identifier logged in a first instant messaging client, where the association request carries the second identifier and a first identifier requested to be associated;
alist receiving module 1202, configured to receive a user identifier list associated with the second identifier, where the user identifier list is obtained by the instant messaging server according to the established association relationship, and the user identifier list includes a third identifier bound to the first identifier;
alist display module 1203, configured to display a user identifier list;
the first identification and the second identification are user identifications registered in the first instant messaging client, the third identification is a user identification registered in the second instant messaging client, and the second instant messaging client is different from the first instant messaging client.
The device provided by the embodiment of the invention sends an association request to an instant messaging server based on a second identifier logged in a first instant messaging client, wherein the association request carries the second identifier and a first identifier requesting association; receiving a user identification list associated with the second identification, wherein the user identification list is obtained by the instant messaging server according to the established association relation and comprises a third identification bound with the first identification; the user identification list is displayed so as to interact with the third identification according to the user identification list, a method for interacting based on different types of user identifications is provided, the intercommunication between the first instant application client and the second instant application client is realized, and the flexibility is improved.
Optionally, the apparatus further comprises:
and the mark display module is used for displaying a specified mark in the display area of the third mark, wherein the specified mark is used for indicating that the third mark and the second mark belong to user marks of different instant messaging clients.
Optionally, the apparatus further comprises:
the instruction receiving module is used for displaying an interactive interface between the second identifier and the third identifier when a selection instruction of the third identifier is received;
and the interaction module is used for interacting with the terminal where the third identifier is located based on the interaction interface.
It should be noted that: the association relationship establishing apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules when establishing the association relationship, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structures of the first terminal, the second terminal and the instant messaging server are divided into different functional modules, so as to complete all or part of the functions described above. In addition, the association relationship establishing apparatus and the association relationship establishing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 13 is a block diagram illustrating a terminal 1300 according to an exemplary embodiment of the present invention. The terminal 1300 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4), a notebook computer, a desktop computer, a head-mounted device, or any other intelligent terminal. Terminal 1300 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, terminal 1300 includes: aprocessor 1301 and amemory 1302.
Processor 1301 may include one or more processing cores, such as a 4-core processor, a 5-core processor, and the like. Theprocessor 1301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Theprocessor 1301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, theprocessor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments,processor 1301 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 1302 may include one or more computer-readable storage media, which may be non-transitory. Thememory 1302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in thememory 1302 is used to store at least one instruction for theprocessor 1301 to have to implement the association relationship establishing method provided by the method embodiments of the present application.
In some embodiments, terminal 1300 may further optionally include: aperipheral interface 1303 and at least one peripheral.Processor 1301,memory 1302, andperipheral interface 1303 may be connected by a bus or signal line. Each peripheral device may be connected to theperipheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one ofradio frequency circuitry 1304,touch display 1305,camera 1306,audio circuitry 1307,positioning component 1308, andpower supply 1309.
Peripheral interface 1303 may be used to connect at least one peripheral associated with I/O (Input/Output) toprocessor 1301 andmemory 1302. In some embodiments,processor 1301,memory 1302, andperipheral interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of theprocessor 1301, thememory 1302, and theperipheral device interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
TheRadio Frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. Theradio frequency circuitry 1304 communicates with communication networks and other communication devices via electromagnetic signals. Theradio frequency circuit 1304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, theradio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. Theradio frequency circuitry 1304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 13G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, theradio frequency circuit 1304 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
Thedisplay screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When thedisplay screen 1305 is a touch display screen, thedisplay screen 1305 also has the ability to capture touch signals on or over the surface of thedisplay screen 1305. The touch signal may be input to theprocessor 1301 as a control signal for processing. At this point, thedisplay 1305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments,display 1305 may be one, providing the front panel of terminal 1300; in other embodiments,display 1305 may be at least two, either on different surfaces of terminal 1300 or in a folded design; in still other embodiments,display 1305 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1300. Even further, thedisplay 1305 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. TheDisplay 1305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
Thecamera assembly 1306 is used to capture images or video. Optionally,camera assembly 1306 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments,camera assembly 1306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Theaudio circuit 1307 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to theprocessor 1301 for processing, or inputting the electric signals to theradio frequency circuit 1304 for realizing voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1300. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from theprocessor 1301 or theradio frequency circuitry 1304 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments,audio circuitry 1307 may also include a headphone jack.
Thepositioning component 1308 is used for positioning the current geographic position of the terminal 1300 for implementing navigation or LBS (Location Based Service). ThePositioning component 1308 can be a Positioning component based on the GPS (Global Positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
Power supply 1309 is used to provide power to various components in terminal 1300. Thepower source 1309 may be alternating current, direct current, disposable or rechargeable. When thepower source 1309 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1300 also includes one or more sensors 1310. The one or more sensors 1310 include, but are not limited to: acceleration sensor 1311, gyro sensor 1312, pressure sensor 1313, fingerprint sensor 1314, optical sensor 1315, and proximity sensor 1316.
The acceleration sensor 1311 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with theterminal 1300. For example, the acceleration sensor 1311 may be used to detect components of gravitational acceleration in three coordinate axes. Theprocessor 1301 may control thetouch display screen 1305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1311. The acceleration sensor 1311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1312 may detect the body direction and the rotation angle of the terminal 1300, and the gyro sensor 1312 may cooperate with the acceleration sensor 1311 to acquire a 3D motion of the user with respect to theterminal 1300.Processor 1301, based on the data collected by gyroscope sensor 1312, may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1313 may be disposed on a side bezel of terminal 1300 and/orunderlying touch display 1305. When the pressure sensor 1313 is disposed on the side frame of the terminal 1300, a user's holding signal to the terminal 1300 may be detected, and theprocessor 1301 performs left-right hand recognition or shortcut operation according to the holding signal acquired by the pressure sensor 1313. When the pressure sensor 1313 is disposed at a lower layer of thetouch display screen 1305, theprocessor 1301 controls an operability control on the UI interface according to a pressure operation of the user on thetouch display screen 1305. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1314 is used for collecting the fingerprint of the user, and theprocessor 1301 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 1314, or the fingerprint sensor 1314 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity,processor 1301 authorizes the user to have relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1314 may be disposed on the front, back, or side of theterminal 1300. When a physical key or vendor Logo is provided on the terminal 1300, the fingerprint sensor 1314 may be integrated with the physical key or vendor Logo.
The optical sensor 1315 is used to collect the ambient light intensity. In one embodiment, theprocessor 1301 can control the display brightness of thetouch display screen 1305 according to the intensity of the ambient light collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of thetouch display screen 1305 is increased; when the ambient light intensity is low, the display brightness of thetouch display 1305 is turned down. In another embodiment, theprocessor 1301 can also dynamically adjust the shooting parameters of thecamera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.
Proximity sensor 1316, also known as a distance sensor, is typically disposed on a front panel of terminal 1300. Proximity sensor 1316 is used to gather the distance between the user and the front face of terminal 1300. In one embodiment, theprocessor 1301 controls thetouch display 1305 to switch from the bright screen state to the dark screen state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 gradually decreases; thetouch display 1305 is controlled by theprocessor 1301 to switch from the rest state to the bright state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 gradually becomes larger.
Those skilled in the art will appreciate that the configuration shown in fig. 13 is not intended to be limiting with respect to terminal 1300 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
Fig. 14 is a schematic structural diagram of an instant messaging server according to an embodiment of the present invention, where theinstant messaging server 1400 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1401 and one ormore memories 1402, where thememory 1402 stores at least one instruction, and the at least one instruction is loaded and executed by theprocessors 1401 to implement the methods provided by the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
Theserver 1400 may be configured to perform the steps performed by the instant messaging server in the association relationship establishing method.
The embodiment of the present invention further provides an association relationship establishing apparatus, where the association relationship establishing apparatus includes a processor and a memory, where the memory stores at least one instruction, at least one section of program, code set, or instruction set, and the instruction, the program, the code set, or the instruction set is loaded by the processor and has an operation for implementing the association relationship establishing method in the foregoing embodiment.
An embodiment of the present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the computer-readable storage medium, and the instruction, the program, the code set, or the instruction set is loaded by a processor and has an operation in the association relationship establishing method for implementing the above embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only a preferred embodiment of the present invention, and should not be taken as limiting the invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.