CN114157630A - Social relation chain migration method, device, equipment and storage medium - Google Patents

Social relation chain migration method, device, equipment and storage medium Download PDF

Info

Publication number
CN114157630A
CN114157630A CN202010928138.3A CN202010928138A CN114157630A CN 114157630 A CN114157630 A CN 114157630A CN 202010928138 A CN202010928138 A CN 202010928138A CN 114157630 A CN114157630 A CN 114157630A
Authority
CN
China
Prior art keywords
account
terminal
application program
application
transferable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010928138.3A
Other languages
Chinese (zh)
Other versions
CN114157630B (en
Inventor
黄铁鸣
李斌
林莉
朱标亦
沈丽莉
郑锦良
陈晓波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010928138.3A priority Critical patent/CN114157630B/en
Publication of CN114157630A publication Critical patent/CN114157630A/en
Application granted granted Critical
Publication of CN114157630B publication Critical patent/CN114157630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Computer Hardware Design (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a social relation chain migration method, device, equipment and storage medium, and relates to the technical field of the Internet. The method comprises the following steps: displaying a transferable contact list, wherein a social relation chain is established between a transferable account in the transferable contact list and a second account, and the social relation chain is not established between the transferable account and a first account; responding to the selection operation of a third account in the transferable contact list, and sending an inquiry message to a second application program in a second terminal corresponding to the third account, wherein the inquiry message is used for inquiring whether the third account allows the first account to be added across the application programs; and displaying an adding success message, wherein the adding success message is a message sent to the first terminal after the server adds a social relation chain for the first account and the third account.

Description

Social relation chain migration method, device, equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for migrating a social relationship chain.
Background
With the development of internet technology, in two intercommunicated application programs, a user can establish a social relationship chain between an account corresponding to a first application program and a contact in a second application program, so that the communication requirement of the user across the application programs is met. Such as: the user adds friends on the personal version instant messaging program by using the enterprise version instant messaging program, and communicates with friends on the personal version instant messaging program by using the account corresponding to the enterprise version instant messaging program.
In the related art, in order to implement cross-application communication, a user needs to transfer a social relationship link in a second application to a first application. The user needs to compare the contacts in the two application programs by himself to determine the contact needing to migrate the social relationship chain. Then, the user can send the personal business card corresponding to the second application program to the contact person in the first application program, and waits for the other party to add the personal business card, so that the migration of the social relationship chain is realized.
The scheme provided in the related art requires a user to manually maintain the migration integrity of the social relationship chain of the two applications, which is cumbersome.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for migrating a social relation chain, a server provides a transferable contact list, and a user does not need to manually compare the social relation chains of two application programs so as to manually determine the transferable contact list, so that the steps of man-machine interaction are simplified. The technical scheme is as follows:
according to an aspect of the present application, there is provided a migration method of a social relationship chain, which is applied to a first application program in a first terminal, where the first application program and a second application program run on the first terminal, the first application program in the first terminal logs in using a first account, the second application program in the first terminal logs in using a second account, the first account and the second account are bound accounts, and the first application program supports adding a contact on the second application program, the method includes:
displaying a transferable contact list, wherein a social relation chain is established between a transferable account in the transferable contact list and the second account, and the social relation chain is not established between the transferable account and the first account;
responding to a selection operation of a third account in the transferable contact list, and sending an inquiry message to the second application program in the second terminal corresponding to the third account, wherein the inquiry message is used for inquiring whether the third account allows the first account to be added across application programs;
and displaying an adding success message, wherein the adding success message is sent to the first terminal after the server adds a social relation chain for the first account and the third account.
According to an aspect of the present application, there is provided a migration method of a social relationship chain, which is applied to a server, where the server establishes a communication connection with a first terminal and a second terminal, the first terminal runs a first application and a second application, the first application in the first terminal logs in using a first account, the second application in the first terminal logs in using a second account, the first account and the second account are bound accounts, and the first application supports adding a contact on the second application, the method includes:
acquiring a transferable contact list, wherein a social relation chain is established between a transferable account in the transferable contact list and the second account, and the social relation chain is not established between the transferable account and the first account;
sending the transferable contact list to a first application in the first terminal;
receiving a first adding request from the second application program in the second terminal, and adding a social relation chain for the first account and a third account, wherein the second application program in the second terminal uses the third account for login, and the third account is a selected account in the transferable contact list;
sending an add success message to the first application in the first terminal and the second application in the second terminal.
According to an aspect of the present application, there is provided a migration apparatus of a social relationship chain, which is applied to a first application in a first terminal, where the first application and a second application are run on the first terminal, the first application in the first terminal logs in using a first account, the second application in the first terminal logs in using a second account, the first account and the second account are bound accounts, and the first application supports adding a contact on the second application, the apparatus includes: the device comprises a display module and a sending module;
the display module is used for displaying a transferable contact list, a social relation chain is established between a transferable account in the transferable contact list and the second account, and no social relation chain is established between the transferable account and the first account;
the sending module is configured to send, in response to a selection operation on a third account in the transferable contact list, an inquiry message to the second application program in the second terminal corresponding to the third account, where the inquiry message is used to inquire whether the third account allows the first account to be added across application programs;
the display module is configured to display an addition success message, where the addition success message is a message sent to the first terminal by the server after the server adds the social relationship chain to the first account and the third account.
According to an aspect of the present application, there is provided a migration apparatus of a social relationship chain, which is applied to a server, where the server establishes a communication connection with a first terminal and a second terminal, the first terminal runs a first application and a second application, the first application in the first terminal logs in using a first account, the second application in the first terminal logs in using a second account, the first account and the second account are bound accounts, and the first application supports adding a contact on the second application, the apparatus includes: the device comprises an acquisition module, a sending module and a processing module;
the acquisition module is used for acquiring a transferable contact list, a social relation chain is established between a transferable account in the transferable contact list and the second account, and the social relation chain is not established between the transferable account and the first account;
the sending module is used for sending the transferable contact list to the first application program in the first terminal;
the processing module is configured to receive a first addition request from the second application in the second terminal, and add a social relationship chain to the first account and a third account, where the second application in the second terminal logs in using the third account, and the third account is a selected account in the transferable contact list;
the sending module is configured to send an addition success message to the first application program in the first terminal and the second application program in the second terminal.
According to an aspect of the present application, there is provided a computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement a method of migrating a social relationship chain as provided in embodiments of the present application.
According to another aspect of the present application, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by a processor to implement a method of migrating a social relationship chain as described above.
According to another aspect of the application, a computer program product or computer program is provided, comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the migration method of the social relationship chain provided in the above-mentioned alternative implementation.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
when a user needs to migrate the social relationship chain, the server provides a transferable contact list which comprises transferable accounts capable of migrating the social relationship chain, and the user does not need to manually compare the social relationship chains of the two application programs so as to manually determine the transferable contact list, so that the steps of man-machine interaction are simplified, and the efficiency of man-machine interaction is 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. 1 is a schematic diagram of a social networking system provided by an exemplary embodiment of the present application;
FIG. 2 is a flowchart of a method for migrating a buddy relationship in a second application to a first application according to an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a method for migrating social relationship chains as provided by an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a method for a server to obtain a transferable contact list, as provided by an exemplary embodiment of the present application;
FIG. 5 is a schematic illustration of a user interface provided by an exemplary embodiment of the present application;
FIG. 6 is a flowchart of a method for determining a transferable contact list, as provided by an exemplary embodiment of the present application;
FIG. 7 is a schematic illustration of a user interface provided by an exemplary embodiment of the present application;
FIG. 8 is a flowchart of a method of sending a personal business card message provided by an exemplary embodiment of the present application;
FIG. 9 is a schematic illustration of a user interface provided by an exemplary embodiment of the present application;
FIG. 10 is a flowchart of a method for a server to add a social relationship chain, provided in an exemplary embodiment of the present application;
FIG. 11 is a schematic illustration of a user interface provided by an exemplary embodiment of the present application;
FIG. 12 is a flowchart of a method for adding a social relationship chain as provided by an exemplary embodiment of the present application;
FIG. 13 is a block diagram illustrating a migration apparatus of social relationship chains according to an exemplary embodiment of the present application;
FIG. 14 is a block diagram illustrating a migration apparatus of a social relationship chain according to an exemplary embodiment of the present application;
fig. 15 is a block diagram of a terminal according to an exemplary embodiment of the present application;
fig. 16 is a block diagram of a server according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are briefly described:
a social relationship chain: is a chain of relationships that exists inside an application. The social relationship chain comprises: and the relationship chain between the accounts is established through social relationships such as contacts, friends, groups, mutual attention and the like in the application program. Exemplary, social relationship chains include: friend relationship chains, group relationship chains, concern relationship chains.
Enterprise edition instant messaging program: the method is an instant messaging program applied to an office scene. The enterprise instant communication program supports connection with the personal instant communication program, and the account of the personal instant communication program can be added to the account of the enterprise instant communication program. The personal version instant messaging program is a personal-oriented instant messaging program.
Fig. 1 is a schematic diagram illustrating a social networking system according to an embodiment of the present application. The implementation environment may include: a first terminal 10, a server 20 and a second terminal 30.
The first terminal 10 may be an electronic device such as a mobile phone, a desktop computer, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable MP3 player (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), a laptop computer, and the like. The first terminal 10 may have installed therein a first application program and a second application program, such as a social program, a financial program, a shopping program, a game program, a video program, an audio program, etc., each of which independently maintains a social relationship chain. The user corresponding to the first terminal 10 is the first user.
The second terminal 30 may be an electronic device such as a mobile phone, a desktop computer, a tablet computer, a game console, an e-book reader, a multimedia playing device, a wearable device, an MP3 player, an MP4 player, a laptop portable computer, and the like. The second terminal 30 may also have installed therein a first application program and a second application program, such as a social program, a financial program, a shopping program, a game program, a video program, an audio program, etc., each of which independently maintains a social relationship chain. The user corresponding to the second terminal 30 is the second user.
The server 20 is used for providing background services for the applications (the first application or the second application) in the first terminal 10 or the second terminal 30. For example, the server 20 may be a backend server for the application described above. The server 20 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The server 20 may include: at least one of the first application server 21 and the second application server 22, wherein the first application server 21 and the second application server 22 are respectively used for providing background services for the first application and the second application.
The server 20 establishes communication connection with the first terminal 10 and the second terminal 30, the first terminal 10 runs a first application program and a second application program, the first application program in the first terminal 10 logs in by using a first account, the second application program in the first terminal 10 logs in by using a second account, the first account and the second account are binding accounts, and the first application program supports adding contacts on the second application program. The second terminal 20 runs a second application program, and the second application program in the second terminal 20 uses a third account to log in.
The first application and the second application on the first terminal 10 are different types of applications. Different types of applications may refer to: the social relation chains of the first application program and the second application program are respectively and independently maintained, and the social relation chains of the two application programs are different in ecology. A social relationship chain is a chain of relationships that exists inside an application. The social relationship chain comprises: and the relationship chain between the accounts is established through social relationships such as contacts, friends, groups, mutual attention and the like in the application program. Exemplary, social relationship chains include: friend relationship chains, group relationship chains, concern relationship chains.
The second application on the first terminal 10 and the second terminal 30 is the same type of application. The versions of the second application on the first terminal 10 and the second terminal 30 are the same or different.
The first account and the second account are binding accounts, which may mean that the first account and the second account correspond to the same identity authentication information. Such as: the first account and the second account are accounts logged in through the same mobile phone number; the first account and the second account are accounts logged in through the same mailbox number; the first account is an account obtained in the first application program after logging in through the second account; the first account is logged in through a mobile phone number, the second account is logged in through a mailbox number, the authentication mobile phone number of the mailbox number is the same as the mobile phone number used for logging in the first account, and the like.
Illustratively, the first application program is an enterprise-version instant messaging program, the second application program is a personal-version instant messaging program, and the first account logged in by the enterprise-version instant messaging program is logged in through the second account of the personal-version instant messaging program.
The first application program supports adding the contact on the second application program, and the adding of the contact on the second application program can refer to: the user can use the first account corresponding to the first application program to add the target contact person on the second application program used by the user, so that the social relation chain between the first account and the third account corresponding to the target contact person is also established on the first application program, and cross-application communication is realized.
Optionally, the social networking system further includes a third terminal 40. The third terminal 40 may be an electronic device such as a cell phone, a desktop computer, a tablet computer, a game console, an e-book reader, a multimedia playing device, a wearable MP3 player, an MP4 player, a laptop portable computer, etc. The third terminal 40 may have a first application program installed therein, for example, a social program, a financial program, a shopping program, a game program, a video program, an audio program, and the like. The third terminal 50 logs in on the first application using a management account having a right to manage a general account including the first account. The third terminal 40 may obtain relevant data of the first terminal 10 when the social relationship chain is migrated.
The first terminal 10, the second terminal 30, the third terminal 40 and the server 20 may communicate with each other through a network. The network may be a wired network or a wireless network.
As shown in fig. 2, the present embodiment provides a method for migrating a friend relationship in a second application to a first application.
In this embodiment, the mobile terminal includes a first terminal and a second terminal, where a user corresponding to the first terminal is a first user, a user corresponding to the second terminal is a second user, and both the first terminal and the second terminal are installed with a first application program and a second application program. In the second application program, the accounts corresponding to the first user and the second user are in friend relationship respectively, and the first application program supports the friend adding relationship with the friends on the second application program. The method comprises the following steps.
Step 201, start.
In step 202, the server checks whether the first application has authorization for the second application.
The authorization is to support the server obtaining a buddy list for the second application.
When the server does not obtain the authorization, jumping to step 203; in case the server obtains authorization, it jumps to step 204.
In step 203, the first application shows that it cannot be transferred.
Because the server does not acquire the authorization, the first terminal can display in the forms of characters, voice, pictures, videos and the like, and the transfer of the friend relationship cannot be performed, so that the authorization of acquiring the second application program is prompted.
In step 204, the server pulls the buddy list authorized by the second application.
Step 205, the user selects transferable friends.
After the server pulls the friend list authorized by the second application program, the pulled friend list is compared with the friend list of the first application program, and transferable friends needing to be transferred are determined.
The first application program can display the transferable friends in the form of the transferable friend list, and the user selects from the transferable friend list and migrates the friend relationship with the selected friends.
At step 206, the first application presents the transferable buddy list.
When the selection operation of the user is not received, the first application program displays the transferable friend list.
Step 207, a personal business card message is sent to the second user.
The first terminal sends a personal business card message to a second application program of a second user through the first application program.
In step 208, the second user scans the code.
The second user scans the received personal business card message. Illustratively, account information corresponding to the first user in the first application appears after the code is scanned.
Step 209, add as a two-way buddy.
And under the condition that the second user agrees to add the account corresponding to the first application program of the first user, the account of the first user in the first application program and the account of the second user in the second application program are added to be in a friend relationship.
And step 210, ending.
Fig. 3 is a flowchart illustrating a method for migrating a social relationship chain according to an exemplary embodiment of the present application, which may be applied to the social networking system shown in fig. 1. The method may comprise the steps of:
step 301, the server obtains a transferable contact list.
The transferable account in the transferable contact list and the second account establish a social relation chain, and the transferable account and the first account do not establish the social relation chain.
The second application program in the first terminal logs in by using the second account, and the contact is an account on which a social relation chain exists between the second application program and the second account. The first user can contact other users (users corresponding to contacts) who also use the second application through the second application. The second account is corresponding to a plurality of contacts. Illustratively, the contact is in a friend relationship with the second account; the contact and the second account are in the same group; the contact and the second account are focused on each other.
The transferable account number is all or part of the contacts of the second account number, and the transferable contact list is a list formed by the transferable account numbers. Because some of the contacts in the second application may have established a social relationship chain with the first account, those contacts do not belong to the transferable account.
Illustratively, the contacts corresponding to the second account include: account A, account B, and account C. Where account a has established a social relationship chain with the first account, the first user may use the first application to communicate with other users (corresponding to account a) using the second application, and the transferable contact list includes: account B and account C.
Step 302, the server sends a transferable contact list to a first application in the first terminal.
Optionally, when the server obtains that the transferable contact list is updated, the server sends the transferable contact list to a first application program in the first terminal; or, the server sends the latest transferable contact list to the first application program in the first terminal fixedly in a pre-interval period; or when the first application program in the first terminal requests to acquire the transferable contact list, the server sends the transferable contact list to the first application program in the first terminal.
Step 303, the first application in the first terminal displays the list of transferable contacts.
And after receiving the transferable contact list, the first application program in the first terminal displays the transferable contact list.
The transferable account in the transferable contact list and the second account establish a social relation chain, and the transferable account and the first account do not establish the social relation chain.
Exemplary, display elements in the displayed transferable contact list include, but are not limited to: at least one of account name of transferable account, head portrait of transferable account, tag attribute of transferable account, total number of transferable accounts.
Step 304, in response to the selection operation of the third account in the transferable contact list, the first application program in the first terminal sends an inquiry message to the second application program in the second terminal corresponding to the third account.
Wherein the query message is used to query whether the third account allows the addition of the first account across applications.
The third account is a selected account in the transferable contact list, and a second application program in the second terminal logs in by using the third account.
Illustratively, the query message carries: at least one of account information of the first account, description information of the first application program, and account information of a second account corresponding to the same user as the first account. The account information of the first account is used for the third account to determine the identity of the first account, the description information of the first application program is used for the third account to know the first application program, and the account information of the second account is used for the third account to further confirm the relationship between the first user corresponding to the first account and the third account.
Optionally, the first user selects from the transferable contact list, and the selecting operation includes at least one of clicking, double-clicking, dragging, sliding, pressing, scanning, copying, pasting, and searching. And after the first terminal receives the selection operation of the first user on a certain contact in the transferable contacts, sending an inquiry message to a second application program in the second terminal corresponding to the selected third account.
A second application in the second terminal receives the inquiry message, step 305.
The inquiry message may be at least one of a text message, an audio message, a video message, and a picture message. Illustratively, the query message is a text message, the query message including: the King wants to add you as a friend through the first application program, and asks for confirmation.
In step 306, the second application in the second terminal sends a first add request to the server.
After the second user receives the inquiry message, the second user selects to add the first account, and then the second application program in the second terminal sends a first adding request to the server, wherein the first adding request is used for the third account to request to establish a social relation chain between the first account and the third account. Illustratively, the first addition request carries account information of the third account and account information of the target account (i.e. the first account) requested to be added.
Step 307, the server receives the first adding request, and adds a social relation chain for the first account and the third account.
In step 308, the server sends an add success message to the first application program in the first terminal and the second application program in the second terminal.
After the social relation chain is successfully added to the first account and the third account, the server sends an adding success message to both the first application program in the first terminal and the second application program in the second terminal, so as to inform that the social relation chain is successfully added to the first account and the third account.
Illustratively, the successful adding message sent by the server to the first application program in the first terminal is a first successful adding message, and the first successful adding message carries account information of the third account; and the successful adding message sent by the server to the second application program in the second terminal is a second successful adding message, and the first successful adding message carries the account information of the first account.
Step 309, the first application in the first terminal displays an add success message.
The message of successful addition is a message sent to the first application program in the first terminal after the server adds the social relation chain for the first account and the second account.
The addition success message may be at least one of a text message, an audio message, a video message, and a picture message. Illustratively, the first terminal displays an addition success message in the notification bar. Illustratively, the first terminal displays a chat session between the first account and the third account in the first application program, and displays an addition success message in the chat session.
In summary, according to the method provided in this embodiment, when the user needs to perform the migration of the social relationship chain, the server provides the transferable contact list, where the transferable contact list includes the transferable account number that can perform the social relationship chain migration, and the user does not need to manually compare the social relationship chains of the two application programs, so as to manually determine the transferable contact list, thereby simplifying the steps of human-computer interaction and improving the efficiency of human-computer interaction.
In an alternative embodiment based on fig. 3, the transferable contact list is provided by the server. In the following, an exemplary description is given of a method for the server to obtain the transferable contact list. As shown in fig. 4:
in step 401, the server checks whether authorization of the second application program in the first terminal is obtained.
The authorization of the second application in the first terminal is to allow the first application on the first terminal to obtain credential information for data related to the second application on the first terminal. In order to determine the transferable contact list, the server needs to acquire authorization of the second application program.
Illustratively, in response to not obtaining the authorization of the second application, the server sends the information that the transfer cannot be performed to the first terminal, the first application of the first terminal receives the information that the transfer cannot be performed, and the first application of the first terminal displays the information that the transfer cannot be performed. Wherein the non-transferable information is used to prompt a need for authorization to obtain the second application.
In response to obtaining authorization of the second application in the first terminal, the server obtains a second contact list, step 402.
In case the server checks for authorization to obtain the second application in the first terminal, the server obtains the second contact list. Wherein the second contact list comprises all or part of the contacts in the second application program in the first terminal.
In one possible implementation, the tag attribute corresponds to a contact in the second application on the first terminal. The server obtains a second contact list, comprising: determining the attribute of a target label; and acquiring target contacts in a second application program in the first terminal corresponding to the target label attribute, wherein the target contacts form a second contact list.
The tag attribute is an attribute that distinguishes the nature of the relationship of the contact. Such as: the tag attributes include: family, colleagues, friends, clients, etc. The target tag attribute is one or more tag attributes selected by the first user or one or more tag attributes that are default to the server.
For example, if the target tag attribute is the client by default, the server obtains the target contact of which the tag attribute is the client in the second application program, and the target contact forms the second contact list.
In step 403, the server compares the second contact list with the first contact list to determine a transferable contact list.
The first contact list comprises contacts in a first application program on the first terminal. A transferable account in a transferable contact list is a contact that belongs to the second contact list but not the first contact list.
Illustratively, the first contact list includes: account A, account B, account C. The second account list includes: account A, account B, account D and account E. The server compares the second contact list with the first contact list, and the step of determining the transferable contact list comprises the following steps: account D and account E.
At step 404, the server sends a transferable contact list to a first application in the first terminal.
In step 405, a first application in a first terminal displays a list of transferable contacts.
The first terminal obtains the transferable contact list from the server, and a first application program on the first terminal displays the transferable contact list.
Illustratively, as shown in fig. 5, a transferable contact list 501 is displayed on the first application, including: account D and account E. An adding control 502 is also displayed on the first application program, and the first user can select an account to be added through the adding control 502.
In summary, in the method provided in this embodiment, when the server obtains the authorization, the server may obtain the contact in the second application program in the first terminal, and compare the contact with the contact in the first application program in the first terminal, so as to determine the transferable contact list, and ensure the security of the data corresponding to the second application program.
Based on the above scheme in the embodiment shown in fig. 4, fig. 6 shows a flowchart of a method for determining a transferable contact list according to the embodiment shown in fig. 4. As shown in fig. 6, the method may include the steps of:
step 601, the user authorizes login.
The user may authorize consent to the first application server to obtain contacts on the second application (i.e., the second contact list) while the user is logged into the first application.
The first application server checks the authorization, step 602.
The first application server obtains a second contact list using the authorization ticket, step 603.
Illustratively, the authorization ticket is authorization information generated by the first application server upon confirmation of authorization to obtain the second application.
In step 604, the first application server returns a login success.
In the event that authorization is checked, the first application server returns a login success to the user.
Step 605, the open platform returns the second contact list, and the first application program memory stores the second contact list.
The open platform is a platform that can provide second application related data. Illustratively, after the user re-authorizes login each time, the first application program server starts an asynchronous task, periodically obtains the second contact list from the open platform again, and the first application program storage updates and stores the second contact list.
At step 606, the first application chooses to pull the second contact list.
For example, when the first application server detects that a new contact can be transferred, a push message (push notification) is issued to the first application, and the first application server re-requests the first application server to synchronize the latest second contact list. Illustratively, the second contact list is updated in a data increment updating mode. After each synchronization, the first application program keeps the maximum updating number, and next time the updating number is used to the first application program server to request new transferable contact data.
In step 607, the first application server looks up the second contact list from the first application memory.
Illustratively, the second contact list stored in the first application memory carries the application identification of the second application. And the first application program server sends the application identifier of the second application program to the first application program storage, and the first application program storage searches the second contact list according to the application identifier.
At step 608, the first application memory returns a second contact list.
Step 609, the first application server compares the first contact list.
The first contact list includes contacts on the first application. And the first application program server compares the second contact list with the first contact list to determine a transferable contact list.
At step 610, the first application server returns a list of transferable contacts to the user.
And the returned transferable contact list is used for the user to select the target contact for the social relationship chain migration.
In an alternative embodiment based on fig. 3, the inquiry message sent by the first application in the first terminal to the second application in the second terminal may be represented as: personal business card messages. The personal business card message is displayed in a target session in a second application program in the second terminal, and the target session is a session between a third account and the second account.
Exemplary, reference is made to fig. 7 in conjunction therewith. As shown in (1) in fig. 7, a personal business card 701 is displayed on a first application program in a first terminal. The personal business card 701 includes: the head portrait of the first account, and the two-dimensional code 702 corresponding to the first account. The first user may send a personal business card to the second application through send control 703.
And the first user selects the contact persons corresponding to the second application program and selects a sending object (namely, a third account) of the personal business card. As shown in (2) of fig. 7, the target session between the third account and the second account is displayed on the second application of the second terminal. The target session includes a personal business card message 704.
As shown in (3) in fig. 7, after the second user opens the personal business card message 704, the two-dimensional code 702 corresponding to the first account is displayed on the application interface of the second application program in the second terminal.
Based on the scheme in the above embodiment, fig. 8 shows a flowchart of a method for sending a personal business card message according to the above embodiment. As shown in fig. 8, the method may include the steps of:
step 801, a user selects a contact to be migrated.
The user selects from the provided list of transferable contacts and selects the contact to be migrated.
Step 802, a first application server sends a personal business card to a second application server.
The personal business card corresponds to the first account number. After the user selects a contact to be migrated, the first application server sends a personal business card to the second application server.
In step 803, the second application server returns a success message to the first application memory.
Illustratively, the second application server also sends the personal business card to a second terminal used by a second user. The second user can select to scan the two-dimensional code in the personal business card to add the first account.
At step 804, the first application memory updates the contact status.
The first application memory updates the contact status of the contact that the user selected to migrate. Such as: the contact state is changed from the non-existing social relationship chain state to the migration state.
In step 805, the first application memory additionally stores invitation information.
Illustratively, the invitation information includes: invitation relationship and invitation time, etc. The first application store stores the invitation information.
At step 806, the first application memory returns a success message to the first application server.
Illustratively, the success message carries account information of the third account.
The first application server returns the results to the user, step 807.
And the first application program server returns a result to the user, and the result is used for informing the user that the personal business card is successfully sent to the third account corresponding to the second application program.
Illustratively, the result carries account information of the third account.
In an alternative embodiment based on fig. 3, the inquiry message sent by the first application in the first terminal to the second application in the second terminal may be represented as: a service notification message. The service notification message is displayed in a third party service number in a second application on the second terminal.
Exemplary, reference is made to fig. 9 in conjunction therewith. A service notification message is displayed in the third-party service number in the second application program on the second terminal, where the service notification message includes addition prompt information 901, for example: you're that is the account number of my enterprise version instant messaging program, where you can also contact me later. The service notification message may also include an add control 902, and the second user may allow the third account to add the first account across applications via add control 902.
In summary, according to the method provided in this embodiment, the first application program in the first terminal may send the query message to the second application program in the second terminal in different forms, such as a personal business card message or a service notification message, so that the flexibility of the migration method of the social relationship chain is improved.
Meanwhile, according to the method provided by the embodiment, the second user can conveniently acquire the inquiry message from the first user in the session of the second application program or the third-party service number of the second application program, so that the validity of inquiry message transmission is guaranteed.
In an alternative embodiment based on fig. 3, a social relationship chain is added by the server. In the following, an exemplary description is given of a method for adding a social relationship chain to a server. As shown in fig. 10:
step 1001, a second application in a second terminal sends a first add request.
The first adding request is used for the third account to request to establish a social relation chain between the first account and the third account.
For example, as shown in (1) in fig. 11, after the second user scans the two-dimensional code corresponding to the first account, a selection list is displayed on the user interface of the second terminal, so that the second user can select to perform the next operation. The second user may select an open control 1101 in the selection list to open the personal business card of the first account. After the personal business card of the first account is opened, as shown in (2) in fig. 11, the user interface of the second terminal includes an adding control 1102, and the second user can control the second terminal to send a first adding request through the adding control 1102, and request to allow the third account to add the first account across the applications.
In step 1002, the server receives a first add request from a second application in the second terminal, and checks whether the third account belongs to the transferable contact list.
Illustratively, the first addition request carries account information of the third account. And after receiving the first adding request from the second terminal, the server checks whether the third account belongs to the transferable contact list.
Step 1003, in response to that the third account belongs to the transferable contact list, the server adds a social relation chain to the first account and the third account.
Illustratively, the server includes: a first application server and a second application server; adding a social relationship chain for the first account and the third account, comprising: adding a one-way social relation chain between the third account and the first account by the second application program server; the first application server sends a second adding request to the second application server; in response to the first application server receiving successful feedback information for the second add request, the first application server and the second application server add a bidirectional social relationship chain between the third account and the first account.
The first application server is a server that provides services for the first application and the second application server is a server that provides services for the second application. The second add request is an add request sent by the first application server to the second application server to request establishment of a bi-directional social relationship chain between the first account and the third account.
The one-way social relationship chain is a social relationship chain between the third account and the first account maintained by the third account. The bidirectional social relationship chain is a social relationship chain between the third account and the first account that is commonly maintained by the third account and the first account.
Illustratively, the second application server receives a first add request initiated by the second user, the second application server forwarding the first add request to the first application server. And after the first application program server receives the first adding request, under the condition that the third account belongs to the transferable contact list, the second application program server establishes a one-way social relation chain between the third account and the first account for the third account. And then, the first application server sends a second adding request to the second application server, and the second application server automatically feeds back the success. And after the first application program server receives the successful feedback information of the second adding request, the first application program server and the second application program server establish a bidirectional social relation chain between the third account and the first account.
Illustratively, as shown in (3) of fig. 11, after the bidirectional social relationship chain is added, an addition success message 1103 is displayed on the user interface of the second terminal. An add success message 1103 is used to inform the second user that the social relationship chain between the first account and the third account has been successfully established. It will be appreciated that a corresponding add success message will also be displayed on the first terminal.
In summary, according to the method provided in this embodiment, after the second user agrees to add and the second application in the second terminal sends the first addition request, the server automatically establishes the bidirectional social relationship chain between the third account and the first account without the first user continuing to operate, which simplifies the steps of human-computer interaction and improves the migration efficiency of the social relationship chain.
Based on the above scheme in the embodiment shown in fig. 10, fig. 12 is a flowchart illustrating a method for adding a social relationship chain according to the embodiment shown in fig. 10. As shown in fig. 12, the method may include the steps of:
step 1201, the second user scans the code.
And after the second user opens the two-dimensional code corresponding to the first account, the second user can select whether the first account needs to be added or not.
In step 1202, the second application server requests the first application server for portrait information using the two-dimensional code.
The image information (profile) is information describing the first account.
At step 1203, the first application server returns portrait information and a ticket to the second application.
The ticket is used to indicate security of the step of confirming that the second application server requests the portrait information using the two-dimensional code.
At step 1204, the second application server returns data to the second user.
The returned data may include: portrait information and tickets.
Step 1205, the second user initiates a first add request.
The first adding request may also carry the above-mentioned ticket, and the first adding request may also carry account information of the third account and account information of the target account (i.e., the first account) requested to be added.
At step 1206, the second application server forwards the first add request to the first application server.
The first application server uses the ticket to query in memory, step 1207.
The storage passes through the ticket to confirm the safety of the query operation.
In step 1208, the first application server confirms that the third account belongs to a transferable contact.
Illustratively, the first application server retrieves the stored list of transferable contacts from the memory and confirms whether the third account belongs to a transferable contact based on the list of transferable contacts.
In step 1209, the second application server and the first application server return an add success message to the second user and the memory, respectively.
At step 1210, the second application server notifies the second user that the one-way social relationship chain addition was successful.
Step 1211, the memory writes the relationship between the first account and the third account as a one-way social relationship chain.
The one-way social relationship chain is a social relationship chain between the first account and a third account maintained by the third account.
At step 1212, the second application server initiates a second add request to the first application server. And the second application program server replaces the first user and initiates a reverse friend adding application to the first application program side. Illustratively, the second addition request carries account information of the first account.
At step 1213, the second application server and the first application server return an add success message to the second user and the memory, respectively.
Step 1214, the memory writes the relationship between the first account and the third account as a bi-directional social relationship chain.
The bidirectional social relationship chain is a social relationship chain between the third account and the first account that is commonly maintained by the third account and the first account.
At step 1215, the second application server notifies the second user that the bidirectional social relationship chain addition was successful.
In an optional embodiment based on fig. 3, the social networking system further includes a third terminal, where the first application program in the third terminal logs in using a management account, and the management account has a right to manage a common account. The user who manages the account is the administrator, and the management account can monitor the migration process of the social relation chain of the common account, so that the administrator can know and control the migration progress of the whole social relation chain.
Illustratively, the server sends the transfer information to a first application program in the third terminal, and the first application program in the third terminal logs in by using a management account, wherein the management account is an account with management capability for the first account.
The server may send the diversion information to the first application in the third terminal in the course of performing the migration of the social relationship chain. Wherein the transfer information includes but is not limited to: at least one of a transferable contact list corresponding to the first account, a third account and a contact transfer result corresponding to the first account.
It is understood that the management account may also obtain the transfer information of other common accounts including the first account. Illustratively, a user interface corresponding to the management account displays a data version viewing area, which can display transfer information of other common accounts including the first account. And under the condition that the transfer information of any one common account is updated, correspondingly updating the display content of the data version viewing area.
For example, the management account may determine, according to the migration information, a migration condition of the social relationship chain of the first account, and send a migration reminder to the first terminal. Illustratively, the transfer reminder carries account information for the contacts that the user can transfer.
Correspondingly, the first application program in the first terminal receives the transfer prompt from the first application program in the third terminal; a first application in the first terminal displays a transfer reminder; and the first application program in the third terminal logs in by using a management account, wherein the management account is an account with management capacity for the first account, and the transfer prompt is used for reminding the first account of migrating the social relationship chain.
Illustratively, when the management account finds that the first account has transferable contacts which are not transferred partially, or transferable contacts which fail to be transferred, the management account sends a transfer reminder to the first application program of the first terminal.
In summary, the method provided in this embodiment provides a management account having a management capability on a first account, so that the migration process of the overall social relationship chain can be tracked and controlled.
Fig. 13 is a block diagram of a migration apparatus of a social relationship chain according to another exemplary embodiment of the present application. The device is applied to a first application program in a first terminal, the first terminal runs the first application program and a second application program, the first application program in the first terminal uses a first account to log in, the second application program in the first terminal uses a second account to log in, the first account and the second account are binding accounts, the first application program supports adding contacts on the second application program, and the device comprises: a display module 1301 and a sending module 1302;
the display module 1301 is used for displaying a transferable contact list, a social relation chain is established between a transferable account and a second account in the transferable contact list, and the social relation chain is not established between the transferable account and a first account;
a sending module 1302, configured to send, in response to a selection operation on a third account in the transferable contact list, an inquiry message to a second application program in the second terminal corresponding to the third account, where the inquiry message is used to inquire whether the third account allows a first account to be added across the application programs;
the display module 1301 is configured to display an addition success message, where the addition success message is a message that is sent to the first terminal after the server adds the social relationship chain to the first account and the third account.
In an optional embodiment, the apparatus further includes a receiving module 1303, where the receiving module 1303 is configured to obtain a transferable contact list from the server, where the transferable contact list is determined by the server after obtaining the authorization of the second application in the first terminal; a display module 1301, configured to display a transferable contact list.
In an optional embodiment, the receiving module 1303 is configured to obtain information that cannot be transferred from the server, where the information that cannot be transferred is sent by the server when the server does not obtain authorization; the display module 1301 is configured to display information that cannot be transferred, where the information that cannot be transferred is used to prompt that authorization needs to be obtained.
In an alternative embodiment, the inquiry message comprises a personal business card message, the personal business card message is displayed in a target session in a second application program in the second terminal, and the target session is a session between a third account and the second account; or, the inquiry message includes a service notification message displayed in a third party service number in a second application in the second terminal.
In an optional embodiment, the apparatus further includes a receiving module 1303, where the receiving module 1303 is configured to receive a transfer reminder from the first application in the third terminal; a display module 1301 for displaying a transfer reminder; and the first application program in the third terminal logs in by using a management account, wherein the management account is an account with management capacity for the first account, and the transfer prompt is used for reminding the first account of migrating the social relationship chain.
Fig. 14 is a block diagram of a migration apparatus of a social relationship chain according to another exemplary embodiment of the present application. The device is applied to the server, and the server establishes communication connection with first terminal and second terminal, and first terminal operation has first application and second application, and first application in the first terminal uses first account to log on, and second application in the first terminal uses the second account to log on, and first account and second account are binding accounts, and first application supports the contact who adds on the second application, and the device includes: an acquisition module 1401, a sending module 1402 and a processing module 1403;
an obtaining module 1401, configured to obtain a transferable contact list, where a social relation chain is established between a transferable account in the transferable contact list and a second account, and the social relation chain is not established between the transferable account and a first account;
a sending module 1402, configured to send a transferable contact list to a first application in a first terminal;
a processing module 1403, configured to receive a first addition request from a second application in the second terminal, and add a social relationship chain to the first account and a third account, where the second application in the second terminal logs in using the third account, and the third account is a selected account in the transferable contact list;
a sending module 1402, configured to send an add success message to a first application program in the first terminal and a second application program in the second terminal.
In an optional embodiment, the apparatus further comprises: a determination module 1404; an obtaining module 1401, configured to, in response to obtaining authorization of a second application program in the first terminal, obtain a second contact list, where the second contact list includes contacts in the second application program in the first terminal; a determining module 1404, configured to compare the second contact list with the first contact list, and determine a transferable contact list, where the first contact list includes contacts in the first application program in the first terminal.
In an alternative embodiment, the determining module 1404 is configured to determine a target tag attribute; an obtaining module 1401, configured to obtain a target contact in a second application in the first terminal corresponding to the target tag attribute, where the target contact constitutes a second contact list.
In an alternative embodiment, the processing module 1403 is configured to receive a first add request from a second application in the second terminal, and check whether the third account belongs to the transferable contact list; a processing module 1403, configured to add a social relationship chain for the first account and the third account in response to the third account belonging to the transferable contact list.
In an alternative embodiment, the server comprises: a first application server and a second application server; a processing module 1403, configured to add, by the second application server, a one-way social relationship chain between the third account and the first account; a processing module 1403, configured to send a second addition request to the second application server by the first application server; a processing module 1403, configured to, in response to the first application server receiving successful feedback information of the second addition request, add, by the first application server and the second application server, the bidirectional social relationship chain between the third account and the first account.
In an optional embodiment, the sending module 1402 is configured to send the transfer information to a first application program in the third terminal, where the first application program in the third terminal logs in using a management account, and the management account is an account having management capability for the first account;
wherein the transfer information includes: at least one of a transferable contact list corresponding to the first account, a third account and a contact transfer result corresponding to the first account.
It should be noted that: the social relationship chain migration apparatus provided in the above embodiment is only illustrated by the division of the above functional modules, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 15 shows a block diagram of a terminal 1500 according to an exemplary embodiment of the present application. The terminal 1500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1500 may also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
In general, terminal 1500 includes: a processor 1501 and memory 1502.
Processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1501 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). Processor 1501 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, the processor 1501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 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 memory 1502 is used to store at least one instruction for execution by processor 1501 to implement the method of migrating social relationship chains provided by method embodiments herein.
In some embodiments, the terminal 1500 may further include: a peripheral interface 1503 and at least one peripheral. The processor 1501, memory 1502, and peripheral interface 1503 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1503 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504, a display 1505, a camera assembly 1506, an audio circuit 1507, a positioning assembly 1508, and a power supply 1509.
The peripheral interface 1503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, memory 1502, and peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral interface 1503 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 1504 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1504 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. The radio frequency circuit 1504 can communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1504 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to capture touch signals on or over the surface of the display screen 1505. The touch signal may be input to the processor 1501 as a control signal for processing. In this case, the display screen 1505 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 1505 may be one, providing the front panel of terminal 1500; in other embodiments, display 1505 may be at least two, each disposed on a different surface of terminal 1500 or in a folded design; in still other embodiments, display 1505 may be a flexible display disposed on a curved surface or a folded surface of terminal 1500. Even further, the display 1505 may be configured in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1505 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 1506 is used to capture images or video. Optionally, the camera assembly 1506 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 1506 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.
The audio circuitry 1507 may include a microphone and 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 the processor 1501 for processing or inputting the electric signals to the radio frequency circuit 1504 to realize voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of the terminal 1500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1501 or the radio frequency circuit 1504 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, the audio circuitry 1507 may also include a headphone jack.
The positioning component 1508 is used to locate the current geographic position of the terminal 1500 for navigation or LBS (Location Based Service). The Positioning component 1508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, or the russian galileo System.
Power supply 1509 is used to power the various components in terminal 1500. The power supply 1509 may be alternating current, direct current, disposable or rechargeable. When the power supply 1509 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 1500 also includes one or more sensors 1510. The one or more sensors 1510 include, but are not limited to: acceleration sensor 1511, gyro sensor 1512, pressure sensor 1513, fingerprint sensor 1514, optical sensor 1515, and proximity sensor 1516.
The acceleration sensor 1511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 1500. For example, the acceleration sensor 1511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1501 may control the touch screen display 1505 to perform the migration of the social relationship chain in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1511. The acceleration sensor 1511 may also be used for acquisition of motion data of a game or a user.
The gyroscope sensor 1512 can detect the body direction and the rotation angle of the terminal 1500, and the gyroscope sensor 1512 and the acceleration sensor 1511 cooperate to collect the 3D motion of the user on the terminal 1500. The processor 1501 may implement the following functions according to the data collected by the gyro sensor 1512: 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 1513 may be disposed on a side bezel of terminal 1500 and/or underneath touch display 1505. When the pressure sensor 1513 is disposed on the side frame of the terminal 1500, the holding signal of the user to the terminal 1500 may be detected, and the processor 1501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1513. When the pressure sensor 1513 is disposed at a lower layer of the touch display 1505, the processor 1501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 1505. 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 1514 is configured to capture a fingerprint of the user, and the processor 1501 identifies the user based on the fingerprint captured by the fingerprint sensor 1514, or the fingerprint sensor 1514 identifies the user based on the captured fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1514 may be disposed on the front, back, or side of the terminal 1500. When a physical key or vendor Logo is provided on the terminal 1500, the fingerprint sensor 1514 may be integrated with the physical key or vendor Logo.
The optical sensor 1515 is used to collect ambient light intensity. In one embodiment, processor 1501 may control the brightness of the display on touch screen 1505 based on the intensity of ambient light collected by optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1505 is turned down. In another embodiment, the processor 1501 may also dynamically adjust the shooting parameters of the camera assembly 1506 based on the ambient light intensity collected by the optical sensor 1515.
A proximity sensor 1516, also known as a distance sensor, is typically provided on the front panel of the terminal 1500. The proximity sensor 1516 is used to collect the distance between the user and the front surface of the terminal 1500. In one embodiment, when the proximity sensor 1516 detects that the distance between the user and the front surface of the terminal 1500 gradually decreases, the processor 1501 controls the touch display 1505 to switch from the bright screen state to the dark screen state; when the proximity sensor 1516 detects that the distance between the user and the front surface of the terminal 1500 gradually becomes larger, the processor 1501 controls the touch display 1505 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 15 does not constitute a limitation of terminal 1500, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be employed.
Fig. 16 is a schematic structural diagram of a server provided in an embodiment of the present application, where the server may be used to implement the processing method of the virtual good package performed by the server provided in the above embodiment. The server 1600 includes a Central Processing Unit (CPU) 1601, a system Memory 1604 including a Random Access Memory (RAM) 1602 and a Read-Only Memory (ROM) 1603, and a system bus 1605 connecting the system Memory 1604 and the Central Processing unit 1601. The server 1600 also includes a basic Input/Output system (I/O) 1606, which facilitates information transfer between various devices within the computer, and a mass storage device 1607 for storing an operating system 1613, application programs 1614, and other program modules 1615.
The basic input/output system 1606 includes a display 1608 for displaying information and an input device 1609 such as a mouse, keyboard, etc. for user input of information. Wherein the display 1608 and input device 1609 are connected to the central processing unit 1601 by way of an input/output controller 1610 which is connected to the system bus 1605. The basic input/output system 1606 may also include an input/output controller 1610 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input/output controller 1610 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 1607 is connected to the central processing unit 1601 by a mass storage controller (not shown) connected to the system bus 1605. The mass storage device 1607 and its associated computer-readable media provide non-volatile storage for the server 1600. That is, the mass storage device 1607 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM (Compact disk Read-Only Memory) drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc) or other optical, magnetic, or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1604 and mass storage device 1607 described above may be collectively referred to as memory.
The server 1600 may also operate with remote computers connected to a network via a network, such as the internet, according to various embodiments of the present application. That is, the server 1600 may be connected to the network 1612 through the network interface unit 1611 coupled to the system bus 1605, or the network interface unit 1611 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by the one or more central processing units 1601. The one or more programs include instructions for:
acquiring a transferable contact list, wherein a social relation chain is established between a transferable account in the transferable contact list and a second account, and the social relation chain is not established between the transferable account and a first account;
sending a transferable contact list to a first application in a first terminal;
receiving a first adding request from a second application program in a second terminal, and adding a social relation chain for a first account and a third account, wherein the second application program in the second terminal uses the third account for login, and the third account is a selected account in a transferable contact list;
and sending an adding success message to the first application program in the first terminal and the second application program in the second terminal.
In response to obtaining authorization of a second application program in the first terminal, obtaining a second contact list, wherein the second contact list comprises contacts in the second application program in the first terminal;
and comparing the second contact list with the first contact list to determine a transferable contact list, wherein the first contact list comprises contacts in the first application program in the first terminal.
Determining the attribute of a target label;
and acquiring target contacts in a second application program in the first terminal corresponding to the target label attribute, wherein the target contacts form a second contact list.
Receiving a first adding request from a second application program in the second terminal, and checking whether the third account belongs to a transferable contact list;
and in response to the third account belonging to the transferable contact list, adding a social relationship chain for the first account and the third account.
Adding a one-way social relation chain between the third account and the first account by the second application program server;
the first application server sends a second adding request to the second application server;
in response to the first application server receiving successful feedback information for the second add request, the first application server and the second application server add a bidirectional social relationship chain between the third account and the first account.
Sending the transfer information to a first application program in the third terminal, wherein the first application program in the third terminal logs in by using a management account which has management capacity on the first account;
wherein the transfer information includes: at least one of a transferable contact list corresponding to the first account, a third account and a contact transfer result corresponding to the first account.
The present application further provides a computer device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the method for migrating a social relationship chain provided by any of the above exemplary embodiments.
The present application further provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the method for migrating social relationship chains provided by any of the above-mentioned exemplary embodiments.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the migration method of the social relationship chain provided in the above-mentioned alternative implementation.
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 exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A migration method of a social relation chain is applied to a first application program in a first terminal, the first terminal runs the first application program and a second application program, the first application program in the first terminal logs in by using a first account, the second application program in the first terminal logs in by using a second account, the first account and the second account are bound accounts, and the first application program supports adding of contacts on the second application program, and the method comprises the following steps:
displaying a transferable contact list, wherein a social relation chain is established between a transferable account in the transferable contact list and the second account, and the social relation chain is not established between the transferable account and the first account;
responding to a selection operation of a third account in the transferable contact list, and sending an inquiry message to the second application program in the second terminal corresponding to the third account, wherein the inquiry message is used for inquiring whether the third account allows the first account to be added across application programs;
and displaying an adding success message, wherein the adding success message is sent to the first terminal after the server adds a social relation chain for the first account and the third account.
2. The method of claim 1, wherein displaying the transferable contact list comprises:
obtaining the transferable contact list from the server, wherein the transferable contact list is determined by the server after obtaining the authorization of the second application program in the first terminal;
displaying the transferable contact list.
3. The method of claim 2, further comprising:
acquiring information which cannot be transferred from the server, wherein the information which cannot be transferred is sent by the server when the server does not acquire the authorization;
and displaying the information which cannot be transferred, wherein the information which cannot be transferred is used for prompting that the authorization needs to be acquired.
4. The method of claim 1,
the inquiry message comprises a personal business card message, and the personal business card message is displayed in a target session in the second application program in the second terminal, wherein the target session is a session between the third account and the second account;
or the like, or, alternatively,
the inquiry message includes a service notification message displayed in a third party service number in the second application in the second terminal.
5. The method of any of claims 1 to 4, further comprising:
receiving a transfer reminder from the first application in a third terminal;
displaying the diversion prompt;
the first application program in the third terminal logs in by using a management account, the management account is an account having management capacity for the first account, and the transfer reminder is used for reminding the first account of migrating the social relationship chain.
6. A migration method of a social relation chain is applied to a server, the server establishes communication connection with a first terminal and a second terminal, the first terminal runs a first application program and a second application program, the first application program in the first terminal logs in by using a first account, the second application program in the first terminal logs in by using a second account, the first account and the second account are bound accounts, and the first application program supports adding of contacts on the second application program, the method comprises the following steps:
acquiring a transferable contact list, wherein a social relation chain is established between a transferable account in the transferable contact list and the second account, and the social relation chain is not established between the transferable account and the first account;
sending the transferable contact list to the first application in the first terminal;
receiving a first adding request from the second application program in the second terminal, and adding a social relation chain for the first account and a third account, wherein the second application program in the second terminal uses the third account for login, and the third account is a selected account in the transferable contact list;
sending an add success message to the first application in the first terminal and the second application in the second terminal.
7. The method of claim 6, wherein obtaining the transferable contact list comprises:
in response to obtaining authorization of the second application program in the first terminal, obtaining a second contact list, wherein the second contact list comprises contacts in the second application program in the first terminal;
and comparing the second contact list with a first contact list to determine the transferable contact list, wherein the first contact list comprises contacts in the first application program in the first terminal.
8. The method of claim 7, wherein the contacts in the second application in the first terminal correspond to a tag attribute;
the obtaining a second contact list includes:
determining the attribute of a target label;
and acquiring a target contact person in the second application program in the first terminal corresponding to the target label attribute, wherein the target contact person forms the second contact person list.
9. The method according to any one of claims 6 to 8, wherein the receiving a first add request from the second application in the second terminal to add a social relationship chain for the first account and the third account comprises:
receiving a first adding request from the second application program in the second terminal, and checking whether the third account belongs to the transferable contact list;
and in response to the third account belonging to the transferable contact list, adding a social relation chain for the first account and the third account.
10. The method of claim 9, wherein the server comprises: a first application server and a second application server;
the adding a social relationship chain for the first account and the third account includes:
the second application server adds a one-way social relationship chain between the third account and the first account;
the first application server sending a second add request to the second application server;
in response to the first application server receiving successful feedback information for the second add request, the first application server and the second application server add a bidirectional social relationship chain between the third account and the first account.
11. The method according to any one of claims 6 to 10, further comprising:
sending transfer information to the first application program in a third terminal, wherein the first application program in the third terminal logs in by using a management account, and the management account is an account with management capacity for the first account;
wherein the transfer information comprises: at least one of a transferable contact list corresponding to the first account, the third account and a contact transfer result corresponding to the first account.
12. A migration device of a social relationship chain is applied to a first application program in a first terminal, the first terminal runs the first application program and a second application program, the first application program in the first terminal logs in by using a first account, the second application program in the first terminal logs in by using a second account, the first account and the second account are bound accounts, and the first application program supports adding of contacts on the second application program, and the device comprises: the device comprises a display module and a sending module;
the display module is used for displaying a transferable contact list, a social relation chain is established between a transferable account in the transferable contact list and the second account, and no social relation chain is established between the transferable account and the first account;
the sending module is configured to send, in response to a selection operation on a third account in the transferable contact list, an inquiry message to the second application program in the second terminal corresponding to the third account, where the inquiry message is used to inquire whether the third account allows the first account to be added across application programs;
the display module is configured to display an addition success message, where the addition success message is a message sent to the first terminal by the server after the server adds the social relationship chain to the first account and the third account.
13. A migration device of a social relation chain is applied to a server, the server establishes communication connection with a first terminal and a second terminal, the first terminal runs a first application program and a second application program, the first application program in the first terminal logs in by using a first account, the second application program in the first terminal logs in by using a second account, the first account and the second account are bound accounts, and the first application program supports adding of contacts on the second application program, the device comprises: the device comprises an acquisition module, a sending module and a processing module;
the acquisition module is used for acquiring a transferable contact list, a social relation chain is established between a transferable account in the transferable contact list and the second account, and the social relation chain is not established between the transferable account and the first account;
the sending module is used for sending the transferable contact list to the first application program in the first terminal;
the processing module is configured to receive a first addition request from the second application in the second terminal, and add a social relationship chain to the first account and a third account, where the second application in the second terminal logs in using the third account, and the third account is a selected account in the transferable contact list;
the sending module is configured to send an addition success message to the first application program in the first terminal and the second application program in the second terminal.
14. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement a method of migrating a social relationship chain according to any of claims 1 to 11.
15. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a method of migrating a social relationship chain according to any of claims 1 to 11.
CN202010928138.3A 2020-09-07 2020-09-07 Social relation chain migration method, device, equipment and storage medium Active CN114157630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010928138.3A CN114157630B (en) 2020-09-07 2020-09-07 Social relation chain migration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010928138.3A CN114157630B (en) 2020-09-07 2020-09-07 Social relation chain migration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114157630A true CN114157630A (en) 2022-03-08
CN114157630B CN114157630B (en) 2023-08-04

Family

ID=80460333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010928138.3A Active CN114157630B (en) 2020-09-07 2020-09-07 Social relation chain migration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114157630B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072103A (en) * 2007-03-09 2007-11-14 腾讯科技(深圳)有限公司 Method and system for multi-account log-in instant communication software
DE202013007090U1 (en) * 2013-08-08 2013-10-29 Cashcloud Ag Server based payment system
WO2014201838A1 (en) * 2013-06-19 2014-12-24 腾讯科技(深圳)有限公司 Social information push method and system, push server and storage medium
US20150188915A1 (en) * 2013-12-30 2015-07-02 Tencent Technology (Shenzhen) Company Limited System And Method For Verifying Identity Information Using A Social Networking Application
CN106846032A (en) * 2016-11-24 2017-06-13 北京小米移动软件有限公司 Interactive approach, apparatus and system in electric business application program
WO2018095216A1 (en) * 2016-11-24 2018-05-31 腾讯科技(深圳)有限公司 Relationship chain processing method, terminal and storage medium
CN109544396A (en) * 2019-01-10 2019-03-29 腾讯科技(深圳)有限公司 Account recommended method, device, server, terminal and storage medium
CN110209952A (en) * 2018-12-18 2019-09-06 腾讯科技(深圳)有限公司 Information recommendation method, device, equipment and storage medium
CN110708343A (en) * 2019-11-19 2020-01-17 腾讯科技(深圳)有限公司 Account login method, device, equipment and storage medium
CN111597455A (en) * 2020-04-29 2020-08-28 腾讯科技(深圳)有限公司 Social relationship establishing method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072103A (en) * 2007-03-09 2007-11-14 腾讯科技(深圳)有限公司 Method and system for multi-account log-in instant communication software
WO2014201838A1 (en) * 2013-06-19 2014-12-24 腾讯科技(深圳)有限公司 Social information push method and system, push server and storage medium
DE202013007090U1 (en) * 2013-08-08 2013-10-29 Cashcloud Ag Server based payment system
US20150188915A1 (en) * 2013-12-30 2015-07-02 Tencent Technology (Shenzhen) Company Limited System And Method For Verifying Identity Information Using A Social Networking Application
CN106846032A (en) * 2016-11-24 2017-06-13 北京小米移动软件有限公司 Interactive approach, apparatus and system in electric business application program
WO2018095216A1 (en) * 2016-11-24 2018-05-31 腾讯科技(深圳)有限公司 Relationship chain processing method, terminal and storage medium
CN110209952A (en) * 2018-12-18 2019-09-06 腾讯科技(深圳)有限公司 Information recommendation method, device, equipment and storage medium
CN109544396A (en) * 2019-01-10 2019-03-29 腾讯科技(深圳)有限公司 Account recommended method, device, server, terminal and storage medium
CN110708343A (en) * 2019-11-19 2020-01-17 腾讯科技(深圳)有限公司 Account login method, device, equipment and storage medium
CN111597455A (en) * 2020-04-29 2020-08-28 腾讯科技(深圳)有限公司 Social relationship establishing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114157630B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN109905318B (en) Equipment control method, device and storage medium
CN111324259B (en) Group creation method, device and storage medium
CN108874496B (en) Application management method, device, terminal, server and storage medium
CN111614549B (en) Interaction processing method and device, computer equipment and storage medium
CN111190748B (en) Data sharing method, device, equipment and storage medium
CN111866140B (en) Fusion management device, management system, service calling method and medium
CN110102063B (en) Identification binding method, device, terminal, server and storage medium
CN111106997B (en) Message reminding method, device, equipment and storage medium
CN112751679A (en) Instant messaging message processing method, terminal and server
CN113206781B (en) Client control method, device, equipment and storage medium
CN112163406A (en) Interactive message display method and device, computer equipment and storage medium
CN112967043A (en) Resource transfer method, device, equipment and storage medium
CN111130985B (en) Incidence relation establishing method, device, terminal, server and storage medium
CN111694892B (en) Resource transfer method, device, terminal, server and storage medium
CN111970298A (en) Application access method and device, storage medium and computer equipment
CN116418771A (en) Message display method, message processing method, device and electronic equipment
CN112995587B (en) Electronic equipment monitoring method, system, computer equipment and storage medium
CN112291133B (en) Method, device, equipment and medium for sending files in cross-terminal mode
CN111131619B (en) Account switching processing method, device and system
CN112087366B (en) Account management method and device and instant messaging system
CN114157630B (en) Social relation chain migration method, device, equipment and storage medium
CN113689206A (en) Resource transfer method, device, system, electronic equipment and storage medium
CN111444289A (en) Incidence relation establishing method
CN111490979B (en) Information interaction method and device and storage medium
CN114513479B (en) Message transmitting and receiving method, device, terminal, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40065973

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant