WO2016004768A1 - Social relation management method, device and system - Google Patents

Social relation management method, device and system Download PDF

Info

Publication number
WO2016004768A1
WO2016004768A1 PCT/CN2015/073673 CN2015073673W WO2016004768A1 WO 2016004768 A1 WO2016004768 A1 WO 2016004768A1 CN 2015073673 W CN2015073673 W CN 2015073673W WO 2016004768 A1 WO2016004768 A1 WO 2016004768A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
terminal
address book
social relationship
server
Prior art date
Application number
PCT/CN2015/073673
Other languages
French (fr)
Chinese (zh)
Inventor
胡常青
王晓晖
李彬
林五四
Original Assignee
深圳创维数字技术有限公司
深圳市创维软件有限公司
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 深圳创维数字技术有限公司, 深圳市创维软件有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2016004768A1 publication Critical patent/WO2016004768A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models

Definitions

  • the present invention relates to the field of communications, and in particular, to a method for automatically managing social relationships based on social television.
  • social TV and social TV networks have begun to spread socially. Users are increasingly interacting through social applications on social TV to build their own social network on social TV networks.
  • the establishment and management of the friendship relationship in the social mode provided by the existing social television is realized by the search, recommendation, request, response and the like of the friend, so that the user can establish a circle of friends belonging to himself, enriching the user when using the social television.
  • Entertainment experience is realized by the search, recommendation, request, response and the like of the friend, so that the user can establish a circle of friends belonging to himself, enriching the user when using the social television.
  • the existing social television technology has the problem that the remote control is inconvenient to input and inefficient.
  • the user needs to input the friend name through the remote controller to search for a friend, and needs to operate the remote controller to issue a friend request, perform friend recommendation, etc.; when there are multiple friends in the social relationship network to be managed by the user, the user needs to pass
  • the remote control repeatedly performs the foregoing operations repeatedly, and the operation is cumbersome and inefficient.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method, device and system for social relationship management, which can automatically generate and update social relationships according to the address book, can reduce user operations on the social television side, and can realize cross-platform management of social relationships. .
  • the embodiment of the invention provides a method for social relationship management, which comprises three aspects of content.
  • One aspect is the server-side approach to social relationship management, including:
  • Each registered user stored in the social relationship database has a one-to-one correspondence with each unique communication identifier
  • Another aspect is a method for social relationship management on the first terminal side, including:
  • the first user is stored by the server in a social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with respective unique communication identifiers;
  • the third aspect is a method for social relationship management on the second terminal side, including:
  • the social relationship of the first user is a social relationship sent by the server by the method of social relationship management as set forth in all the foregoing content, and details are not described herein again;
  • the embodiment of the invention provides a device for social relationship management, and the device includes three aspects of content.
  • One of the aspects is the server, including:
  • a registration module configured to receive a first user registered by the first terminal, and store the first user in a social relationship database, where the registered individual users stored in the social relationship database have a one-to-one correspondence with respective unique communication identifiers;
  • the address book receiving module is configured to receive an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier;
  • a related person obtaining module configured to acquire a registered contact in the address book according to a registered user in the social relationship database, and use the registered contact in the address book as the first user Relationship person
  • relationship person adding a module adding the relationship person to the social relationship of the first user
  • a social relationship sending module configured to send the social relationship of the first user to the second terminal.
  • Another aspect is the first terminal, including:
  • a registration module configured to receive a first input to register a first user on a server; the first user is stored by the server in a social relationship database, and the registered respective users stored in the social relationship database and respective unique communication identifiers One-to-one correspondence;
  • the address book reading module is configured to read the address book of the first user by responding to an update event of the first user's address book; each contact in the address book has a one-to-one correspondence with each unique communication identifier ;
  • the address book uploading module is configured to upload the address book of the first user to the server.
  • the third aspect is the second terminal, including:
  • a social relationship obtaining module configured to acquire a social relationship of the first user from the server;
  • the social relationship of the first user is a social relationship sent by the server by using the social relationship management method described in all the foregoing content, and details are not described herein;
  • the social relationship processing module is configured to provide the social relationship of the first user to the social application.
  • the embodiment of the present invention provides a system for social relationship management, which includes the server, the first terminal, and the second terminal, which are all described above, and details are not described herein again.
  • the server receives the first user registered by the first terminal, receives the address book of the first user uploaded by the first terminal, and automatically generates the social of the first user according to the address book of the first user and the registered user.
  • the relationship is that after the first user's address book is updated, the server automatically updates the social relationship of the first user according to the updated first user's address book uploaded by the first terminal, and provides the first user's social relationship to the second terminal. It can automatically generate and update social relationships, reduce user operations on the social TV side, and realize cross-platform management of social relationships.
  • FIG. 1 is a flowchart of a method for managing social relationship on a server side according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for managing social relationship on a first terminal side according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for social relationship management on a second terminal side according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for social relationship management provided by another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a relationship adding module of a server according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a relationship acquiring module of a server according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a sending pre-processing module of a server according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a first terminal according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a second terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a server according to another embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a first terminal according to another embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a second terminal according to another embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a social relationship management system according to an embodiment of the present invention.
  • the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms.
  • the method can include:
  • Step S101 Receive a first user registered by the first terminal, and store the first user in a social relationship database.
  • the server may receive the registration information of the first user input by the user on the first terminal, and may register the first user; the first user has a one-to-one correspondence with the unique communication identifier, and the communication identifier corresponding to the first user may be used as the first
  • the unique identity of a user logged into the server; the server can be a social TV network server.
  • the first terminal may register the first user according to the communication identifier corresponding to the first user, and the communication identifier may be used as the first user's account to register the first user on the server.
  • the first terminal registers the account of the first user on the server according to the mobile phone number of the first user, and uses the mobile phone number as the unique communication identifier corresponding to the first user.
  • the first terminal registers the account of the first user on the server according to the email address of the first user, and uses the email address as the unique communication identifier corresponding to the first user.
  • the server may store the first user in a social relationship database, and the registered individual users stored in the social relationship database have a one-to-one correspondence with the respective unique communication identifiers.
  • the social relationship database may include the registered first user and other registered users; the registered users in the social relationship database all correspond to unique communication identifiers, and different communication identifiers correspond to different registered users.
  • the account number of the registered user A in the social relationship database is the phone number "13511112222”
  • the account number of the registered user B in the social relationship database is the phone number "13611112222”.
  • the account of the registered user C in the social relationship database is Google mailbox [email protected]
  • the account of the registered user D in the social relationship database is Yahoo mailbox [email protected].
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal;
  • the identity certificate is in one-to-one correspondence with the first user; the identity certificate is used by the first terminal to upload the address book of the first user.
  • the server may extract the account in the first user registration information, and may process the first user's registered account according to an algorithm, so that the first user's registered account is converted into an unreadable code, and the unreadable code may be
  • the code is used as the identity credential of the first user, and the unreadable code has a one-to-one correspondence with the account of the first user; the server can reversely parse the account of the first user by using the identity credential of the first user.
  • the server extracts the telephone number "13511112222" of the user A from the registration information of the registered user A, and converts the telephone number of A into a 32-bit code "78F09384FAB3ED3E9416F5CDD0A2EF59" according to the MD5 algorithm, and the 32-bit code is the user.
  • A's identity certificate The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the server may send the identity certificate of the first user to the first terminal when the first terminal logs in to the server according to the account of the first user; the first terminal receives the first user sent by the server.
  • the identity credential can upload the first user's address book to the server according to the first user's identity credential.
  • Step S103 Receive an address book of the first user uploaded by the first terminal.
  • the server may receive an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier. .
  • the first user's new address book can be used to overwrite the existing first user's address book, and the server can only The latest address book of the first user is saved; in addition, the latest address book of other registered users can be stored on the server.
  • the contact in the first user's address book can be used as the basis of the social relationship of the first user's social activity on the social network, and each contact in the first user's address book has a unique communication identifier, that is, the first Different communication identifiers in a user's address book may correspond to different contacts of the first user; when the communication identifier of a contact in the first user address book exists in the social relationship database of the server at the same time, The contact is also a related person of the first user in the social network and belongs to the social relationship of the first user.
  • the corresponding communication identifier of the first user on the server may be in a consistent form with the communication identifier corresponding to the contact in the address book.
  • the address book of the first user on the first terminal is a phone book, and the phone book has a contact A of the first user, and the contact A is identified by the phone number "13511112222" of A, and the phone book also has The first user's contact B, the contact B is identified by B's phone number "13611112222", then the first terminal
  • the communication identifier corresponding to the first user registered on the server is the phone number of the first user.
  • the address book of the first user on the first terminal is an address book formed by an email box, and the address book has a contact A of the first user, and the contact A is identified by A's Google mailbox [email protected].
  • the phone book also has a contact B of the first user, and the contact B is identified by B's Yahoo mailbox [email protected], and the first user corresponding to the first terminal registered on the server is the first communication identifier. User's email address.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the server before receiving the address record of the first user uploaded by the first terminal, the server receives the identity credential sent by the first terminal, and authenticates the identity credential, if the identity corresponding to the identity credential is found in the social relationship database A user determines that the authentication is successful. As described in step S101, after the server receives the first user registered by the first terminal, the server generates the identity credential of the first user according to the registration information of the first user.
  • the server may obtain the communication identifier corresponding to the identity credential of the first user by reverse parsing, and may traverse the social relationship database to identify the communication identifier, if the communication identifier and the first user If the corresponding communication identifier is consistent, the first user on the server corresponding to the identity certificate sent by the first terminal may be determined to receive the address book uploaded by the first terminal, and the address book may be regarded as the address book of the first user.
  • the server can automatically create a social relationship of the first user by using the address book of the first user and the address book of other registered users; the server can also automatically update the social network of the first user according to the address book of the first user. relationship.
  • Step S105 Acquire, according to the registered user in the social relationship database, the registered contact in the address book of the first user, and add the registered contact in the address book of the first user as the relationship person of the first user, and add Go to the first user's social relationship.
  • the server may traverse the contact in the address book of the first user, and when the communication identifier corresponding to the registered user is found in the social relationship database, the communication identifier corresponding to the contact is consistent, and the contact is classified as the first A registered contact in a user's address book.
  • the server may start from the first contact in the address book of the first user, and search for the communication identifier corresponding to the first contact in the social relationship database, and if the communication identifier corresponding to the registered user is found in the social relationship database, If a contact has the same communication identifier, it can be determined that the first contact is registered on the server, the first contact is classified as the registered contact in the first user's address book, and then the current first is ended.
  • the judgment process of the contact person if the communication identifier corresponding to the registered user is not found in the social relationship database Consistent with the communication identifier of the first contact, it may be determined that the first contact is not registered on the server, and then the current first contact determination process is ended; and so on, until the first user's address book
  • the last contact can end the process of obtaining the registered contacts in the first user's address book, and can obtain all the registered contacts in the first user's address book.
  • the server may determine that the registered contact in the address book of the first user is a related person of the first user in the social network, and the related person may be added to the social relationship of the first user.
  • the social relationship of the first user may include at least one of the first social relationship and the second social relationship.
  • the server may divide the social relationship into a first social relationship and a second social relationship according to the relationship between the first user and the relationship person of the first user, where the first social relationship may be the first user's friend circle and the second social relationship
  • the contact circle of the first user for the relationship person of the first user, if the address book of the relationship person includes the communication identifier of the first user, the server may determine that the relationship person is a friend of the first user, and the relationship person
  • the friend circle belongs to the first user; if the contact person of the relationship does not include the communication identifier of the first user, the relationship person may be determined to be the object of interest of the first user, and the relationship person is attributed to the circle of interest of the first user.
  • the users on the server are all registered with the phone number
  • the phone book of the user A has the phone number of the user B
  • the phone book of the user B also has the phone number of the user A, where the user A and the user B Both have been registered on the server
  • User A and User B are friends with each other in the social network.
  • the phone book of the user C has the phone number of the user D
  • the phone book of the user D does not have the phone number of the user C, wherein both the user C and the user D are registered on the server
  • the user D is the user.
  • C is the object of interest on the social network
  • user C is the admirer of user D.
  • the server obtains an address book of the registered contact, and each contact in the address book of the registered contact has a unique communication identifier Corresponding; when the communication identifier corresponding to the first user exists in the address book of the registered contact, adding the registered contact to the first social relationship of the first user; when the social relationship of the first user includes In the second social relationship, the server obtains the address book of the registered contact, and each contact in the address book of the registered contact has a one-to-one correspondence with the unique communication identifier; when the communication identifier corresponding to the first user does not exist In the address book of the above registered contact, the above registered contact is added to the second social relationship of the first user.
  • the server may treat all registered contacts in the first user's address book as related persons in the social network of the first user, and when the first user's social relationship includes the first social relationship, the server is from the first
  • the user's first registered contact starts, obtains the address book of the first registered contact, and if the first user's corresponding communication identifier is found in the address book of the first registered contact, Determining that the first registered contact belongs to the first user's circle of friends in the social network, and adding the first registered contact to the first social relationship of the first user, and adding the first user Into the first social relationship of the first registered contact; the next registered contact of the first user may be added according to the foregoing process until the last registered contact in the first user's address book;
  • the communication identifier in the address book of the registered contact may be used to establish a social relationship of the registered contact in the social network, and each communication in the address book of the registered contact Knowledge is the only, one to one with a registered address book contacts in each contact.
  • the server may add the first social relationship of the first user according to the foregoing process, either when the first user's social relationship is automatically generated for the first time or when the first user's social relationship is automatically updated.
  • the users on the server are all accounts registered by the phone number, and the user uploads the updated first user's phone book through the mobile phone, and the registered contacts are newly added in the first user's phone book: user A, user B and user C, and the address records of the user A, the user B, and the user C all include the phone number of the first user, and the server determines that the user A, the user B, and the user C belong to the circle of friends of the first user, and the server connects the user A, User B and user C are added to the first social relationship of the first user, and the first user is added to the circle of friends of user A, user B, and user C, respectively.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the server may regard all registered contacts in the first user's address book as related persons in the social network of the first user, and when the social relationship of the first user includes the second social relationship, the server is from the first The user's first registered contact starts, and obtains the address book of the first registered contact.
  • the server may add the second social relationship of the first user according to the foregoing process, whether the first time the first user's social relationship is automatically generated or when the first user's social relationship is automatically updated.
  • the users on the server are all accounts registered by the phone number, and the user uploads the first user's phone book for the first time through the mobile phone, and the first user's phone book has a registered contact user A, but the user A If there is no phone number of the first user in the address book, the server determines that the user A belongs to the attention object of the first user, and at the same time, the first user is the admirer of the user A, and the server adds the user A to the attention list of the first user. , adding the first user to User A's list of worshippers.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the server may traverse the relationship person of the first user, and when the communication identifier corresponding to the relationship person does not exist in the address book of the first user, The related person is deleted from the social relationship of the first user; wherein the related persons of the first user have a one-to-one correspondence with the respective unique communication identifiers.
  • the social relationship of the first user may be stored in a social relationship database of the server, and the first user's social relationship may include all the related persons of the first user.
  • the first terminal uploads the first user's address book to the server; the server may use the first user's updated address book to set the first user's outdated social relationship in the social relationship database.
  • the update may delete the relationship person in the social relationship of the first user who has no social connection with the first user.
  • the social relationship of the first user includes a first social relationship and a second social relationship
  • the server may delete the related person in the first social relationship or the second social relationship according to the address book of the first user.
  • Relationship person The server may traverse the relationship person in the first social relationship of the first user, and if the communication identifier corresponding to the relationship person does not exist in the updated address book of the first user, the relationship person and the first user may be determined.
  • the related person may be deleted from the first social relationship of the first user, and the first user may be deleted from the first social relationship of the related person; the server may also traverse the first user by The relationship person in the second social relationship may determine that the relationship person does not have social contact with the first user if the corresponding communication identifier does not exist in the updated address book of the first user, The relationship person is deleted from the second social relationship of the first user.
  • the users on the server are all accounts registered by the phone number, and the first user includes the user A in the friend list in the social network, but the updated phone book of the first user does not have the phone number of the user A.
  • the server determines that the first user and the user A are no longer friends with each other, and the user A is from the first user.
  • the buddy list is deleted, and the first user is deleted from user A's buddy list.
  • the user on the server is an account registered with an email address, and the first user includes the user A in the attention list in the social network, but the user's email address is not in the updated address book of the first user.
  • the server determines that the first user no longer pays attention to the user A, deletes the user A from the first user's attention list, and deletes the first user from the user A's worshipper list.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • Step S107 Send the social relationship of the first user to the second terminal.
  • the server may: receive, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes the identity certificate corresponding to the first user.
  • the server parses the identity credential to obtain the first user corresponding to the identity credential; the server searches the social relationship database to obtain the social relationship of the first user.
  • the server may generate the identity certificate corresponding to the first user according to the registration information of the first user, and send the identity certificate to the first terminal.
  • the second terminal may obtain the identity credential corresponding to the first user from the first terminal, and then the second terminal may directly send a request to the server according to the identity credential to obtain the social relationship of the first user; the server may reversely parse the identity credential corresponding to the identity credential.
  • the user corresponding to the identity certificate is matched as the first user in the social relationship management, and the social relationship corresponding to the first user is obtained in the social relationship database, and the social relationship is sent to the first Two terminals.
  • the server receives the 32-bit identity credential "78F09384FAB3ED3E9416F5CDD0A2EF59" sent by the social television.
  • the 32-bit code is generated according to the MD5 algorithm of the social account corresponding to the user, and the server parses the social account as "13511112222" and is in social relationship.
  • the buddy list, the attention list, and the fan list corresponding to the social account "13511112222” are obtained in the database, and are sent to the social TV.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms.
  • the method can include:
  • Step S201 Receive the first input and register the first user on the server.
  • the first terminal may be a mobile terminal such as a mobile phone or a tablet computer, or may be a personal meter.
  • the first input can be used to enter the first user registered on the server.
  • the first terminal receives the registration information of the first user input by the user, and the registration information is sent to the server to complete the registration of the first user on the social network.
  • the first terminal may collect the first user through the client of the social application. Registration information for a user.
  • the first terminal may receive the identity credential sent by the server, and send the identity credential to the second terminal; the identity credential is determined by the server according to a predetermined encryption algorithm.
  • the identity certificate generated by the registration information of the first user; the identity certificate is in one-to-one correspondence with the first user.
  • the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal; the first terminal may correspond to the first user sent by the receiving server. After the identity certificate, the identity certificate is sent to the second terminal.
  • the first terminal may send a pairing request to the second terminal, and according to the pairing verification code prompted by the second terminal, receive a third input that is consistent with the pairing verification code to complete the pairing.
  • the third input may be used to input a pairing verification code prompted by the second terminal; the pairing verification code may be prompted by the second terminal by the display device, or may be prompted by the second terminal by using a short message, or may be other prompts. The way the user is, there is no limit here.
  • the first terminal may return the received third input of the user to the second terminal; if the second terminal determines that the third input received by the first terminal is consistent with the pairing verification code, accepting the pairing request of the first terminal to complete the pairing.
  • the first terminal may scan the currently scheduled short-range communication network, and receive the fourth input to establish a short-range communication connection with the second terminal; the second terminal is in the short-range communication network.
  • the short-range communication network may be in the form of a network supported by the Digital Living Network Alliance DLNA, and the fourth input may be used to trigger the first terminal to send a connection establishment request to the second terminal; the first terminal may monitor devices in the same short-range communication network, Once the second terminal is also found to be present in the short-range communication network, user input can be received to establish a short-range communication connection with the second terminal.
  • the first terminal may present all the devices in the current short-range communication network to the user through the user interaction interface, and accept the operation of the user on the user interaction interface, and initiate a request for establishing a connection to the second terminal, if the second terminal agrees with The first terminal establishes a connection, and the first terminal may trigger the step of performing the foregoing sending a pairing request to the second terminal.
  • Step S203 reading the first user's communication by responding to the update event of the first user's address book. Record.
  • the first terminal may further perform: monitoring an update event of the first user's address book; the update event includes: Add, delete, or edit contacts in the first user's address book.
  • the first terminal may monitor the update event of the first user's address book by registering the listener with the first user's address book. When the first user's address book is modified, the listener may capture the first user's address book. Update event.
  • the first terminal may prompt the user to upload the updated first user's address book through the user interaction interface, and then the first terminal may read the updated first user's address book. Address book.
  • the first terminal can receive the user's authorization to read the address book through the application, and the application needs to inform the user of the purpose of reading the address book and the commitment to keep the user's address book confidential. After obtaining the user authorization, the first terminal can read the address book of the first user.
  • Step S205 Upload the address book of the first user to the server.
  • the first terminal may upload the address book of the first user to the server by using the identity certificate corresponding to the first user.
  • the format of the address book upload can be in the XML data format, and other data formats can be used, and there is no limitation here.
  • the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms.
  • the method can include:
  • Step S301 Acquire a social relationship of the first user from the server.
  • the second terminal may receive the identity credential sent by the first terminal; the identity credential is obtained by the first terminal from the server by registering the first user; the identity credential is The first user corresponds one by one.
  • the second terminal may receive the pairing request of the first terminal, and prompt the pairing verification code, where the pairing verification code is used to prompt the user to input the pairing verification code on the first terminal. Complete the pairing.
  • the second terminal may prompt the pairing verification code through the display device, and may also prompt the pairing verification code by means of the short message, which is not limited herein; if the input of the user on the first terminal is consistent with the pairing verification code, the second The terminal can determine that the pairing with the first terminal is successful. After the pairing is successful, the second terminal may receive the identity certificate corresponding to the first user sent by the first terminal, where the identity certificate is used to request the server to acquire the social relationship of the first user.
  • the second terminal may send a request for acquiring the social relationship of the first user to the server, where the request includes the first The identity certificate corresponding to the user.
  • the server may extract the identity credential from the request, and may reversely parse the registered account of the user corresponding to the identity credential, and may match the user corresponding to the identity credential as the first user in the social relationship management according to the registered account, and socialize The social relationship corresponding to the first user is obtained in the relational database.
  • the second terminal may directly acquire the social relationship of the first user from the server according to the identity credential, and may directly perform social activities on the social network by using the social relationship of the first user.
  • Step S303 Provide the social relationship of the first user to the social application.
  • the social relationship of the first user acquired through step S301 can be provided to the social application. It should be noted here that the social relationship of the first user can also be used as other functions, which is not limited herein.
  • the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms.
  • the method can include:
  • Step S401 The first terminal registers the first user on the server.
  • the first terminal may be a mobile terminal such as a mobile phone or a tablet computer, or may be a personal computer.
  • the first terminal receives the registration information of the first user input by the user, and may send the registration information to the server to complete the registration of the first user on the social network; the first terminal may register according to the communication identifier corresponding to the first user.
  • a user may register the communication identifier as the first user's account on the server to register the first user.
  • the first terminal registers the account of the first user on the server according to the mobile phone number of the first user, and uses the mobile phone number as the unique communication identifier corresponding to the first user.
  • the first terminal registers the first user's account on the server according to the first user's email address, and the electronic device
  • the mailbox is the unique communication identifier corresponding to the first user.
  • Step S403 The server generates an identity certificate corresponding to the first user according to the registration information of the first user, and returns the identity certificate to the first terminal.
  • the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal; the identity credential and the first One user corresponds one by one; the identity credential is used by the first terminal to upload the first user's address book.
  • the server may extract the account in the first user registration information, and may process the first user's registered account according to an algorithm, so that the first user's registered account is converted into an unreadable code, and the unreadable code may be
  • the code is used as the identity credential of the first user, and the unreadable code has a one-to-one correspondence with the account of the first user; the server can reversely parse the account of the first user by using the identity credential of the first user.
  • the server extracts the telephone number "13511112222" of the user A from the registration information of the registered user A, and converts the telephone number of A into a 32-bit code "78F09384FAB3ED3E9416F5CDD0A2EF59" according to the MD5 algorithm, and the 32-bit code is the user.
  • A's identity certificate The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the server may send the identity certificate of the first user to the first terminal when the first terminal logs in to the server according to the account of the first user; the first terminal receives the first user sent by the server.
  • the identity credential can upload the first user's address book to the server according to the first user's identity credential.
  • Step S405 The first terminal determines whether the address book of the first user is updated.
  • the first terminal may monitor an update event of the first user's address book; the update event includes: adding, deleting, or editing a contact in the first user's address book.
  • the first terminal may monitor the update event of the first user's address book by registering the listener with the first user's address book. When the first user's address book is modified, the listener may capture the first user's address book. Update event and report the update event to the first terminal. The first terminal may capture the update of the address book by updating the listener of the event. If the update event reported by the listener is received, the first user's address book may be updated; the first terminal may also actively query the first user periodically.
  • the address book compares the address book of the current query time with the address book of the previous query time to determine whether the first user's address book is updated. If the address book of the current query time is different from the address book of the previous query time, Then, it can be determined that the first user's address book is updated; otherwise, step S405 is re-executed, and in the specific implementation, End the current process, there is no limit here.
  • Step S407 The first terminal uploads an address book of the first user.
  • the first terminal may upload the address book of the first user to the server by using the identity certificate corresponding to the first user.
  • the format of the address book upload can be in the XML data format, and other data formats can be used, and there is no limitation here.
  • Step S409 The server automatically adds the social relationship of the first user according to the address book of the first user and the address book of the registered user.
  • the server may traverse the contact in the address book of the first user, and when the communication identifier corresponding to the registered user is found in the social relationship database, the communication identifier corresponding to the contact is consistent, and the contact is classified as the first A registered contact in a user's address book.
  • the server may determine that the registered contact in the address book of the first user is a related person of the first user in the social network, and the related person may be added to the social relationship of the first user.
  • the social relationship of the first user may include at least one of the first social relationship and the second social relationship.
  • the server may divide the social relationship into a first social relationship and a second social relationship according to the relationship between the first user and the relationship person of the first user, where the first social relationship may be the first user's friend circle and the second social relationship Can be the focus circle of the first user.
  • the server acquires an address book of the registered contact; when the communication identifier corresponding to the first user exists in the address book of the registered contact, Adding the above registered contact to the first social relationship of the first user; when the social relationship of the first user includes the second social relationship, the server acquires the address book of the registered contact; when the first user corresponds The communication identifier does not exist in the address book of the above registered contact, and the above registered contact is added to the second social relationship of the first user.
  • the users on the server are all accounts registered by the phone number, and the user uploads the updated first user's phone book through the mobile phone, and the registered contacts are newly added in the first user's phone book: user A, user B and user C, and the address records of the user A, the user B, and the user C all include the phone number of the first user, and the server determines that the user A, the user B, and the user C belong to the circle of friends of the first user, and the server connects the user A, User B and user C are added to the first social relationship of the first user, and the first user is added to the circle of friends of user A, user B, and user C, respectively.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • the user on the server is an account registered with a phone number, and the user uploads the first user's phone book for the first time through the mobile phone, and the first user's phone book has a registered contact user A, but the user If there is no phone number of the first user in the address book of A, the server determines that user A belongs to the object of interest of the first user, and at the same time, the first user is the admirer of user A, and the server adds user A to the attention list of the first user. In the middle, the first user is added to the user A's list of worshippers.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • Step S411 The server automatically deletes the social relationship of the first user according to the address book of the first user and the social relationship existing by the first user.
  • the server may traverse the relationship person of the first user, and when the communication identifier corresponding to the relationship person does not exist in the address book of the first user, The related person is deleted from the social relationship of the first user; wherein the related persons of the first user have a one-to-one correspondence with the respective unique communication identifiers.
  • the first terminal uploads the first user's address book to the server; the server may use the first user's updated address book to set the first user's outdated social relationship in the social relationship database.
  • the update may delete the relationship person in the social relationship of the first user who has no social connection with the first user.
  • the social relationship of the first user includes a first social relationship and a second social relationship
  • the server may delete the related person in the first social relationship or the second social relationship according to the address book of the first user.
  • Relationship person The server may traverse the relationship person in the first social relationship of the first user, and if the communication identifier corresponding to the relationship person does not exist in the updated address book of the first user, the relationship person and the first user may be determined.
  • the related person may be deleted from the first social relationship of the first user, and the first user may be deleted from the first social relationship of the related person; the server may also traverse the first user by The relationship person in the second social relationship may determine that the relationship person does not have social contact with the first user if the corresponding communication identifier does not exist in the updated address book of the first user, The relationship person is deleted from the second social relationship of the first user.
  • Step S413 Whether the first terminal and the second terminal are successfully paired.
  • the first terminal may send a pairing request to the second terminal, and according to the pairing verification code prompted by the second terminal, receive an input consistent with the pairing verification code to complete the pairing.
  • the pairing verification code may be prompted by the second terminal through the display device, or may be prompted by the second terminal by means of a short message, or may be other ways of prompting the user, which is not limited herein.
  • the first terminal can return the input of the received user Returning to the second terminal; if the second terminal determines that the input received by the first terminal is consistent with the pairing verification code, accepting the pairing request of the first terminal, the first terminal and the second terminal are successfully paired; otherwise, executing step S421, the specific implementation is performed. In the middle, you can also end the current process, there is no limit here.
  • Step S415 The first terminal sends the identity certificate to the second terminal.
  • the first terminal may receive the identity credential sent by the server, and send the identity credential to the second terminal; the identity credential is determined by the server according to a predetermined encryption algorithm.
  • the identity certificate generated by the registration information of the first user; the identity certificate is in one-to-one correspondence with the first user.
  • the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal; the first terminal may correspond to the first user sent by the receiving server. After the identity certificate, the identity certificate is sent to the second terminal.
  • Step S417 The second terminal requests the server to acquire the social relationship of the first user.
  • the second terminal may send a request for acquiring the social relationship of the first user to the server, where the request includes the identity certificate corresponding to the first user.
  • the server may extract the identity credential from the request, and may reversely parse the registered account of the user corresponding to the identity credential, and may match the user corresponding to the identity credential as the first user in the social relationship management according to the registered account, and socialize
  • the social relationship corresponding to the first user is obtained in the relational database.
  • the social relationship corresponding to the first user can be used for the second terminal to perform social activities.
  • Step S419 The server sends the social relationship of the first user to the second terminal.
  • the server may reversely parse the registered account of the user corresponding to the identity credential described in step S417, and may match the user corresponding to the identity credential as the first user in the social relationship management according to the registered account, in the social relationship database. Obtain a social relationship corresponding to the first user, and send the social relationship to the second terminal.
  • the server receives the 32-bit identity credential "78F09384FAB3ED3E9416F5CDD0A2EF59" sent by the social television.
  • the 32-bit code is generated according to the MD5 algorithm of the social account corresponding to the user, and the server parses the social account as "13511112222" and is in social relationship.
  • the buddy list, the attention list, and the fan list corresponding to the social account "13511112222" are obtained in the database, and are sent to the social TV.
  • the examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
  • Step S421 The first terminal actively requests to establish a connection with the second terminal.
  • the first terminal may scan the currently scheduled short-range communication network to establish a short-range communication connection with the second terminal; the second terminal is in the short-range communication network.
  • the short-range communication network may be a network form supported by the Digital Living Network Alliance DLNA; the first terminal may monitor devices in the same short-range communication network, and if the second terminal is also found in the short-range communication network, the request may be actively requested. Establishing a short-range communication connection with the second terminal.
  • a server 500 may include at least a registration module 501, an address book receiving module 507, a relationship person obtaining module 509, a relationship person adding module 511, and a social relationship sending module 517, where:
  • the registration module 501 is configured to receive the first user registered by the first terminal, store the first user in the social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with the respective unique communication identifiers.
  • the address book receiving module 507 is configured to receive an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier.
  • the related person obtaining module 509 is configured to obtain the registered contact in the address book of the first user according to the registered user in the social relationship database, and use the registered contact in the address book as the relationship person of the first user. .
  • the relationship person adding module 511 is configured to add the relationship person of the first user to the social relationship of the first user.
  • the social relationship sending module 517 is configured to send the social relationship of the first user to the second terminal.
  • the server shown in FIG. 5 may further include: a credential module 503, an authentication module 505, a relationship deletion module 513, and a transmission pre-processing module 515, where:
  • the credential module 503 is configured to generate, according to a predetermined encryption algorithm, the identity credential according to the registration information of the first user after the step of the registration module 501 performing the step of receiving the first user registered by the first terminal; the identity credential corresponds to the first user
  • the identity credential is used by the first terminal to upload an address book of the first user; the identity credential is used by the second terminal to obtain the social relationship of the first user.
  • the authentication module 505 is configured to: before the step of receiving the first user's address book uploaded by the first terminal by the address book receiving module 507, receiving the identity certificate sent by the first terminal; and authenticating the identity certificate, if If the first user corresponding to the identity certificate is found in the relational database, determining that the authentication is successful, triggering the address book receiving module 507 to perform the step of receiving the address record of the first user uploaded by the first terminal. Step.
  • the relationship deletion module 513 is configured to: after the step of receiving the first user's address book uploaded by the first terminal by the address book receiving module 507, traverse the relationship person of the first user based on the social relationship of the first user, when the relationship If the communication identifier corresponding to the person does not exist in the address book of the first user, the relationship person is deleted from the social relationship of the first user.
  • the sending pre-processing module 515 is configured to: before the step of sending the social relationship of the first user to the second terminal by the social relationship sending module 517, perform: receiving, by the second terminal, a request for acquiring a social relationship of the first user, where The request includes the identity certificate corresponding to the first user; the identity voucher is parsed to obtain the first user corresponding to the identity voucher; the social relationship database is searched to obtain the social relationship of the first user; and the social relationship sending module 517 is triggered to perform the social process of the first user. The step of sending the relationship to the second terminal.
  • the relationship adding module 511 may further include: a first adding module 5111 and a second adding module 5113, as shown in FIG. 6, wherein:
  • the first adding module 5111 is configured to: when the social relationship of the first user includes the first social relationship, obtain an address book of the relationship person of the first user, and each contact in the address book of the relationship of the first user is unique to each
  • the communication identifier is in one-to-one correspondence; when the communication identifier corresponding to the first user exists in the address book of the relationship user of the first user, the relationship person of the first user is added to the first social relationship of the first user.
  • the second adding module 5113 is configured to: when the social relationship of the first user includes the second social relationship, obtain an address book of the relationship person of the first user, where each contact in the address book of the first user is unique and unique The communication identifiers are in one-to-one correspondence; when the communication identifier corresponding to the first user does not exist in the address book of the relationship user of the first user, the relationship person of the first user is added to the second social relationship of the first user.
  • the relationship acquiring module 509 may further include: a traversing module 5091 and a processing module 5093, as shown in FIG. 7, wherein:
  • the traversing module 5091 is configured to traverse contacts in the first user's address book
  • the processing module 5093 when finding the communication identifier corresponding to the registered user in the social relationship database and the communication identifier corresponding to the contact in the address book of the first user, is used to classify the contact as being in the address book.
  • the registered contact, the registered contact in the address book is the relationship of the first user.
  • the foregoing sending pre-processing module 515 may further include: Receiving a request module 5151, a parsing module 5153, and a search module 5155, wherein:
  • the receiving request module 5151 is configured to receive, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes an identity certificate corresponding to the first user;
  • the parsing module 5153 is configured to parse the identity credential to obtain the first user corresponding to the identity credential;
  • the searching module 5155 is configured to search a social relationship database to obtain a social relationship of the first user.
  • a first terminal 600 may include at least a registration module 601, an address book reading module 603, and an address book uploading module 605, where:
  • the registration module 601 is configured to receive the first input to register the first user on the server; the first user is stored by the server in the social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with the respective unique communication identifiers;
  • the address book reading module 603 is configured to read the address book of the first user by responding to the update event of the first user's address book; each contact in the first user's address book has a one-to-one correspondence with each unique communication identifier;
  • the address book uploading module 605 is configured to upload the first user's address book to the server.
  • the first terminal 600 shown in FIG. 9 may further include: a credential module 615, a listening module 609, an authorization module 607, a pairing module 611, and a connection establishing module 613, where:
  • the credential module 615 is configured to: after the step of receiving the first input to register the first user on the server, the address book uploading module 605, receiving the identity credential sent by the server, and sending the credential to the second terminal; the credential by the server
  • the identity certificate generated according to the registration information of the first user according to a predetermined encryption algorithm; the identity certificate is in one-to-one correspondence with the first user.
  • the monitoring module 609 is configured to monitor an update event of the first user's address book before the step of reading the first user's address book by the address book reading module 603 in response to the update event of the first user's address book; Events include: adding, deleting, or editing contacts in the first user's address book.
  • the authorization module 607 is configured to: before the step of reading the first user's address book by the address book reading module 603 in response to the update event of the first user's address book, receive the second input to obtain the read first user Authorization of the address book, after that, the trigger address book reading module 603 performs the step of reading the address book of the first user by responding to the update event of the first user's address book.
  • the pairing module 611 is configured to send a pairing request to the second terminal before the step of sending the identity credential to the second terminal by the credential module 615, and receive and match according to the pairing verification code prompted by the second terminal.
  • the pairing is completed by the third input that is consistent with the verification code.
  • the triggering credential module 615 performs the step of transmitting the identity credential to the second terminal.
  • Establishing a connection module 613 configured to scan a current predetermined short-range communication network before the pairing module 611 performs a step of sending a pairing request to the second terminal, and receive a fourth input to establish a short-range communication connection with the second terminal; the second terminal is in short-range communication In the network; afterwards, the trigger pairing module 611 performs the step of transmitting a pairing request to the second terminal.
  • a second terminal 700 may include at least a social relationship obtaining module 701 and a social relationship processing module 709, where:
  • the social relationship obtaining module 701 is configured to acquire a social relationship of the first user from the server; the social relationship of the first user is a social relationship sent by the server by the method of social relationship management elaborated by all the foregoing content.
  • the social relationship processing module 709 is configured to provide the social relationship of the first user to the social application.
  • social relationship processing module 709 can also use the social relationship of the first user as other functions, which is not limited herein.
  • the second terminal 700 shown in FIG. 10 may further include: a credential receiving module 705, a pairing module 703, and a requesting module 707, where:
  • the voucher receiving module 705 is configured to receive the identity credential sent by the first terminal before the step of acquiring the social relationship of the first user from the server by the social relationship obtaining module 701; the identity credential is the first terminal by registering the first user from the server Obtained; the identity certificate corresponds to the first user one by one.
  • the pairing module 703 is configured to: before the step of the credential receiving module 705 performing the receiving the identity credential sent by the first terminal, receive a pairing request of the first terminal, and prompt the pairing verification code, where the pairing verification code is used to prompt the user to be on the first terminal.
  • the pairing verification code is input to complete the pairing; after pairing, the triggering certificate receiving module 705 performs the step of receiving the identity certificate sent by the first terminal.
  • the requesting module 707 is configured to send, after the step of the credential receiving module 705, the receiving the identity credential sent by the first terminal, to the server, before the step of acquiring the social relationship of the first user from the server, before the step of acquiring the social relationship of the first user from the server A request for a social relationship of the user, the request including the identity certificate corresponding to the first user.
  • FIG. 11 is a schematic structural diagram of a server according to another embodiment of the present invention.
  • the server 110 may include: at least one processor 1101, such as a CPU, At least two network interfaces: a first network interface 1104 and a second network interface 1103, a memory 1105, and at least one communication bus 1102.
  • the communication bus 1102 is used to implement connection communication between these components.
  • the memory 1105 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1105 can also optionally be at least one storage device located remotely from the aforementioned processor 1101.
  • an operating system, a network communication module, and a social relationship management program may be included in the memory 1105 as a computer storage medium.
  • the first network interface 1104 is mainly used to connect to the first terminal, and performs data communication with the first terminal.
  • the second network interface 1103 is mainly used to connect to the second terminal and perform data with the second terminal.
  • the processor 1101 can be used to call the social relationship management program stored in the memory 1105 and perform the following operations:
  • step of adding the foregoing relationship to the first user's social relationship performed by the processor 1101 may include:
  • the address book of the registered contact is obtained, and each contact in the address book of the registered contact has a one-to-one correspondence with each unique communication identifier;
  • a communication identifier corresponding to a user exists in an address book of the registered contact, and adds the registered contact to the first social relationship of the first user;
  • the address book of the registered contact is obtained, and each contact in the address book of the registered contact has a one-to-one correspondence with each unique communication identifier;
  • the communication identifier corresponding to a user does not exist in the address book of the above registered contact, Add the above registered contact to the second social relationship of the first user.
  • the processor 1101 may further perform: traversing the relationship person of the first user based on the social relationship of the first user, when the relationship person corresponds to The communication identifier does not exist in the first user's address book, and the relationship person is deleted from the first user's social relationship.
  • the step of acquiring, by the processor 1101, the registered contact in the address book of the first user according to the registered user in the social relationship database may specifically include:
  • the processor 1101 may further perform: generating a identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and sending the identity credential to the first a terminal; the identity certificate is in one-to-one correspondence with the first user; the identity certificate is used by the first terminal to upload the address book of the first user.
  • the processor 1101 may further perform the steps of: receiving the identity credential sent by the first terminal; and authenticating the identity credential. If the first user corresponding to the identity certificate is found in the social relationship database, determining that the authentication is successful, triggering the step of receiving the address book of the first user uploaded by the first terminal.
  • the steps that are further executable are:
  • FIG. 12 is a schematic structural diagram of a first terminal according to another embodiment of the present invention.
  • the first terminal 120 may include: at least one processor 1201, such as a CPU, at least two network interfaces: a first network interface 1204 and a second network interface 1207, a user interface 1203, a memory 1205, at least A communication bus 1202 and a display screen 1206.
  • the communication bus 1202 is used to implement connection communication between these components.
  • the user interface 1203 can be packaged Including a touch screen (Touch Screen), the optional user interface 1203 may also include a standard wired interface, a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • the memory 1205 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1205 can optionally also be at least one storage device located remotely from the aforementioned processor 1201.
  • an operating system, a network communication module, a user interface module, and a social relationship management program may be included in the memory 1205 as a computer storage medium.
  • the first network interface 1204 is mainly used to connect to a server, and performs data communication with the server;
  • the second network interface 1203 is mainly used to connect to the second terminal and perform data communication with the second terminal;
  • the processor 1201 can be used to call the social relationship management program stored in the memory 1205 and perform the following operations:
  • the first user is stored by the server in a social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with respective unique communication identifiers;
  • the processor 1201 may further: receive the identity credential sent by the server, and send the credential to the second terminal; the credential is pressed by the server
  • the predetermined encryption algorithm generates an identity certificate according to the registration information of the first user; the identity certificate is in one-to-one correspondence with the first user.
  • the processor 1201 may further monitor an update event of the first user's address book before performing the step of reading the first user's address book by responding to the update event of the first user's address book; the update event includes: Add, delete, or edit contacts in the first user's address book.
  • the processor 1201 may further perform: receiving the second input to obtain the communication of reading the first user.
  • the recorded authorization reads the first user's address book according to the authorization.
  • the processor 1201 may further perform: sending a pairing request to the second terminal, and receiving and pairing according to the pairing verification code prompted by the second terminal.
  • the third input with the verification code is consistent to complete the pairing; after the pairing, the step of transmitting the identity certificate to the second terminal is triggered.
  • the processor 1201 may further perform: scanning a currently scheduled short-range communication network, receiving the fourth input to establish a short-range communication connection with the second terminal; and then triggering the execution The step of sending a pairing request to the second terminal.
  • FIG. 13 is a schematic structural diagram of a second terminal according to another embodiment of the present invention.
  • the second terminal 130 may include: at least one processor 1301, such as a CPU, at least two network interfaces: a first network interface 1304 and a second network interface 1307, a user interface 1303, a memory 1305, at least A communication bus 1302 and a display 1306.
  • the communication bus 1302 is used to implement connection communication between these components.
  • the user interface 1303 may include a touch screen, and the optional user interface 1303 may further include a standard wired interface and a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • the memory 1305 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1305 can also optionally be at least one storage device located remotely from the aforementioned processor 1301.
  • an operating system, a network communication module, a user interface module, and a social relationship management program may be included in the memory 1305 as a computer storage medium.
  • the first network interface 1304 is mainly used to connect to the server, and performs data communication with the server;
  • the second network interface 1303 is mainly used to connect to the first terminal and perform data communication with the first terminal;
  • the processor 1301 can be used to call the social relationship management program stored in the memory 1305 and perform the following operations:
  • the processor 1301 receives the identity credential sent by the first terminal before performing the step of acquiring the social relationship of the first user from the server; the identity credential is obtained by the first terminal from the server by registering the first user; the identity credential One-to-one correspondence with the first user.
  • the processor 1301 may further perform: sending, to the server, the social relationship of acquiring the first user, before performing the step of acquiring the social relationship of the first user from the server.
  • the request includes the identity certificate corresponding to the first user.
  • the processor 1301 may further perform: receiving a pairing request of the first terminal, prompting a pairing verification code, and the pairing verification code is used to prompt the user to be on the first terminal.
  • the pairing verification code is input to complete the pairing; after pairing, the step of receiving the identity certificate sent by the first terminal is triggered.
  • a social relationship management system includes: a server 1401, a first terminal 1403, and a second terminal 1405, where:
  • the server 1401 may be the server 500 in any one of the foregoing embodiments of FIG. 5 to FIG. 8.
  • the server 1401 may also be the server 110 in the embodiment shown in FIG. 11; the functional modules in the server 1401 may refer to the foregoing.
  • the description of the server 500 or the server 110 in the embodiment is not described herein again.
  • the first terminal 1403 may be the first terminal 600 in the embodiment shown in FIG. 9 , and the first terminal 1403 may also be the first terminal 120 in the foregoing embodiment shown in FIG. 12; the first terminal 1403 Reference may be made to the description of the first terminal 600 or the first terminal 120 in the foregoing embodiment, and details are not described herein again.
  • the second terminal 1405 may be the second terminal 700 in the embodiment shown in FIG. 10, and the second terminal 1405 may also be the second terminal 130 in the foregoing embodiment shown in FIG. 13; the second terminal 1405 Reference may be made to the description of the second terminal 700 or the second terminal 130 in the foregoing embodiment, and details are not described herein again.
  • the server receives the first user registered by the first terminal, receives the address record of the first user uploaded by the first terminal, and automatically generates the address according to the first user's address book and the registered user.
  • the first user's social relationship after the first user's address book is updated, the server automatically updates the social relationship of the first user according to the updated first user's address book uploaded by the first terminal, and provides the first user's social relationship.
  • the second terminal can automatically generate and update social relationships, reduce user operations on the social TV side, and realize cross-platform management of social relationships.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed in embodiments of the present invention is a social relation management method. The method includes: receiving a first user registered at a first terminal, storing the first user into a social relation database, wherein registered users stored in the social relation database are one to one corresponding to respective unique communication identifiers; receiving an address list of the first user uploaded by the first terminal, wherein contacts in the address list are one to one corresponding to respective unique communication identifiers; acquiring registered contacts in the address list according to the registered users in the social relation database, regarding the registered contacts in the address list as related persons of the first user, and adding the related persons into the social relation of the first user; and sending the social relation of the first user to a second terminal. With the present invention, the social relation can be automatically generated and updated according to the address list, user operations of the social television side can be reduced, and cross-platform management of the social relation can be realized.

Description

一种社交关系管理的方法、设备及***Method, device and system for social relationship management
本申请要求于2014年07月09日提交中国专利局、申请号为201410325432.X,发明名称为“一种社交关系管理的方法、设备及***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Method, Equipment and System for Social Relationship Management" submitted to the China Patent Office on July 09, 2014, application number 201410325432.X, the entire contents of which are The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及通信领域,尤其涉及一种基于社交电视的自动管理社交关系的方法。The present invention relates to the field of communications, and in particular, to a method for automatically managing social relationships based on social television.
背景技术Background technique
在三网融合时代,社交电视和社交电视网络已初具社交传播的能力,用户越来越多的通过社交电视上的社交应用来进行互动,在社交电视网络上建立自己的社交关系网络。现有的社交电视提供的社交模式中好友关系的建立和管理是通过好友的搜索,推荐,请求,应答等操作来实现的,使得用户可以建立属于自己的朋友圈,丰富了用户使用社交电视时的娱乐体验。In the era of triple play, social TV and social TV networks have begun to spread socially. Users are increasingly interacting through social applications on social TV to build their own social network on social TV networks. The establishment and management of the friendship relationship in the social mode provided by the existing social television is realized by the search, recommendation, request, response and the like of the friend, so that the user can establish a circle of friends belonging to himself, enriching the user when using the social television. Entertainment experience.
但是,现有的社交电视技术,存在着遥控器输入不便,效率低下的问题。用户在建立社交关系网络时,需要通过遥控器输入好友名称来搜索好友,需要操作遥控器来发出好友请求、进行好友推荐等;当用户要管理的社交关系网络中存在多个好友时,需要通过遥控器多次反复的进行前述操作,操作繁琐,效率低下。However, the existing social television technology has the problem that the remote control is inconvenient to input and inefficient. When a user establishes a social network, the user needs to input the friend name through the remote controller to search for a friend, and needs to operate the remote controller to issue a friend request, perform friend recommendation, etc.; when there are multiple friends in the social relationship network to be managed by the user, the user needs to pass The remote control repeatedly performs the foregoing operations repeatedly, and the operation is cumbersome and inefficient.
发明内容Summary of the invention
本发明实施例所要解决的技术问题是提供一种社交关系管理的方法、设备及***,可根据通讯录自动生成、更新社交关系,可减少社交电视侧的用户操作,可实现社交关系跨平台管理。The technical problem to be solved by the embodiments of the present invention is to provide a method, device and system for social relationship management, which can automatically generate and update social relationships according to the address book, can reduce user operations on the social television side, and can realize cross-platform management of social relationships. .
为解决上述问题,本发明的技术方案为:In order to solve the above problems, the technical solution of the present invention is:
本发明实施例提供了一种社交关系管理的方法,该方法包括三个方面的内容。其中一个方面为服务器侧的社交关系管理的方法,包括:The embodiment of the invention provides a method for social relationship management, which comprises three aspects of content. One aspect is the server-side approach to social relationship management, including:
接收第一终端注册的第一用户,将所述第一用户存储到社交关系数据库, 所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;Receiving a first user registered by the first terminal, and storing the first user in a social relationship database, Each registered user stored in the social relationship database has a one-to-one correspondence with each unique communication identifier;
接收所述第一终端上传的所述第一用户的通讯录,所述通讯录中各个联系人与各自唯一的通讯标识一一对应;Receiving, by the first terminal, an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier;
根据社交关系数据库中已注册的用户来获取所述通讯录中的已注册联系人,将所述通讯录中的已注册的联系人作为所述第一用户的关系人,添加所述关系人到所述第一用户的社交关系中;Acquiring the registered contact in the address book according to the registered user in the social relationship database, using the registered contact in the address book as the relationship person of the first user, adding the related person to In the social relationship of the first user;
将所述第一用户的社交关系发送到第二终端。Sending the social relationship of the first user to the second terminal.
其中另一个方面为第一终端侧的社交关系管理的方法,包括:Another aspect is a method for social relationship management on the first terminal side, including:
接收第一输入在服务器上注册第一用户;所述第一用户由所述服务器存储于社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;Receiving the first input, registering the first user on the server; the first user is stored by the server in a social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with respective unique communication identifiers;
通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录;所述通讯录中各个联系人与各自唯一的通讯标识一一对应;Reading the first user's address book by responding to the update event of the first user's address book; each contact in the address book has a one-to-one correspondence with each unique communication identifier;
上传所述第一用户的通讯录至所述服务器。Uploading the first user's address book to the server.
其中第三个方面为第二终端侧的社交关系管理的方法,包括:The third aspect is a method for social relationship management on the second terminal side, including:
从服务器获取第一用户的社交关系;所述第一用户的社交关系为服务器通过上述所有内容中阐述的社交关系管理的方法而发送的社交关系,这里不再赘述;Obtaining a social relationship of the first user from the server; the social relationship of the first user is a social relationship sent by the server by the method of social relationship management as set forth in all the foregoing content, and details are not described herein again;
将所述第一用户的社交关系提供给社交应用。Providing the first user's social relationship to the social application.
本发明实施例提供了一种社交关系管理的设备,该设备包括三个方面的内容。其中一个方面为服务器,包括:The embodiment of the invention provides a device for social relationship management, and the device includes three aspects of content. One of the aspects is the server, including:
注册模块,用于接收第一终端注册的第一用户,将所述第一用户存储到社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;a registration module, configured to receive a first user registered by the first terminal, and store the first user in a social relationship database, where the registered individual users stored in the social relationship database have a one-to-one correspondence with respective unique communication identifiers;
通讯录接收模块,用于接收所述第一终端上传的所述第一用户的通讯录,所述通讯录中各个联系人与各自唯一的通讯标识一一对应;The address book receiving module is configured to receive an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier;
关系人获取模块,用于根据社交关系数据库中已注册的用户来获取所述通讯录中的已注册联系人,将所述通讯录中的已注册的联系人作为所述第一用户 的关系人;a related person obtaining module, configured to acquire a registered contact in the address book according to a registered user in the social relationship database, and use the registered contact in the address book as the first user Relationship person
关系人添加模块,添加所述关系人到所述第一用户的社交关系中;a relationship person adding a module, adding the relationship person to the social relationship of the first user;
社交关系发送模块,用于将所述第一用户的社交关系发送到第二终端。a social relationship sending module, configured to send the social relationship of the first user to the second terminal.
其中另一个方面为第一终端,包括:Another aspect is the first terminal, including:
注册模块,用于接收第一输入在服务器上注册第一用户;所述第一用户由所述服务器存储于社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;a registration module, configured to receive a first input to register a first user on a server; the first user is stored by the server in a social relationship database, and the registered respective users stored in the social relationship database and respective unique communication identifiers One-to-one correspondence;
通讯录读取模块,用于通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录;所述通讯录中各个联系人与各自唯一的通讯标识一一对应;The address book reading module is configured to read the address book of the first user by responding to an update event of the first user's address book; each contact in the address book has a one-to-one correspondence with each unique communication identifier ;
通讯录上传模块,用于上传所述第一用户的通讯录至所述服务器。The address book uploading module is configured to upload the address book of the first user to the server.
其中第三个方面为第二终端,包括:The third aspect is the second terminal, including:
社交关系获取模块,用于从服务器获取第一用户的社交关系;所述第一用户的社交关系为服务器通过上述所有内容阐述的社交关系管理的方法而发送的社交关系,这里不再赘述;a social relationship obtaining module, configured to acquire a social relationship of the first user from the server; the social relationship of the first user is a social relationship sent by the server by using the social relationship management method described in all the foregoing content, and details are not described herein;
社交关系处理模块,用于将所述第一用户的社交关系提供给社交应用。The social relationship processing module is configured to provide the social relationship of the first user to the social application.
本发明实施例提供了一种社交关系管理的***,该***包括如上所有内容所述的服务器、第一终端和第二终端,这里不再赘述。The embodiment of the present invention provides a system for social relationship management, which includes the server, the first terminal, and the second terminal, which are all described above, and details are not described herein again.
通过实施本发明实施例,服务器接收第一终端注册的第一用户,接收第一终端上传的第一用户的通讯录,根据第一用户的通讯录和已注册的用户自动生成第一用户的社交关系,在第一用户的通讯录更新后,服务器根据第一终端上传的更新后的第一用户的通讯录来自动更新第一用户的社交关系,提供第一用户的社交关系给第二终端,可实现自动生成、更新社交关系,可减少社交电视侧的用户操作,可实现社交关系跨平台管理。By implementing the embodiment of the present invention, the server receives the first user registered by the first terminal, receives the address book of the first user uploaded by the first terminal, and automatically generates the social of the first user according to the address book of the first user and the registered user. The relationship is that after the first user's address book is updated, the server automatically updates the social relationship of the first user according to the updated first user's address book uploaded by the first terminal, and provides the first user's social relationship to the second terminal. It can automatically generate and update social relationships, reduce user operations on the social TV side, and realize cross-platform management of social relationships.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, without creative labor, Other drawings can also be obtained from these figures.
图1是本发明的一种实施例提供的服务器侧的社交关系管理的方法的流程图;1 is a flowchart of a method for managing social relationship on a server side according to an embodiment of the present invention;
图2是本发明的一种实施例提供的第一终端侧的社交关系管理的方法的流程图;2 is a flowchart of a method for managing social relationship on a first terminal side according to an embodiment of the present invention;
图3是本发明的一种实施例提供的第二终端侧的社交关系管理的方法的流程图;3 is a flowchart of a method for social relationship management on a second terminal side according to an embodiment of the present invention;
图4是本发明的另一种实施例提供的社交关系管理的方法的流程图;4 is a flowchart of a method for social relationship management provided by another embodiment of the present invention;
图5是本发明的一种实施例提供的服务器的结构示意图;FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present invention;
图6是本发明的一种实施例提供的服务器的关系人添加模块的结构示意图;FIG. 6 is a schematic structural diagram of a relationship adding module of a server according to an embodiment of the present invention; FIG.
图7是本发明的一种实施例提供的服务器的关系人获取模块的结构示意图;FIG. 7 is a schematic structural diagram of a relationship acquiring module of a server according to an embodiment of the present invention; FIG.
图8是本发明的一种实施例提供的服务器的发送预处理模块的结构示意图;FIG. 8 is a schematic structural diagram of a sending pre-processing module of a server according to an embodiment of the present invention; FIG.
图9是本发明的一种实施例提供的第一终端的结构示意图;FIG. 9 is a schematic structural diagram of a first terminal according to an embodiment of the present invention;
图10是本发明的一种实施例提供的第二终端的结构示意图;FIG. 10 is a schematic structural diagram of a second terminal according to an embodiment of the present invention;
图11是本发明的另一种实施例提供的服务器的结构示意图;11 is a schematic structural diagram of a server according to another embodiment of the present invention;
图12是本发明的另一种实施例提供的第一终端的结构示意图;FIG. 12 is a schematic structural diagram of a first terminal according to another embodiment of the present invention; FIG.
图13是本发明的另一种实施例提供的第二终端的结构示意图;FIG. 13 is a schematic structural diagram of a second terminal according to another embodiment of the present invention; FIG.
图14是本发明的一种实施例提供的社交关系管理***的结构示意图。FIG. 14 is a schematic structural diagram of a social relationship management system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的 单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。It is to be understood that the terminology used in the embodiments of the present invention is for the purpose of describing the particular embodiments, and is not intended to limit the invention. Used in the embodiments of the invention and the appended claims The singular forms "a", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
参见图1,是本发明的一种实施例提供的服务器侧的社交关系管理的方法。需要说明的是本发明实施例中的第一用户的通讯录既可以是手机终端上的电话簿,也可以是个人电脑中电子邮箱里的地址簿,还可以是其他通讯形式的通讯录。该方法可以包括:Referring to FIG. 1, a method for managing social relationship on a server side according to an embodiment of the present invention is shown. It should be noted that the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms. The method can include:
步骤S101:接收第一终端注册的第一用户,将第一用户存储到社交关系数据库。Step S101: Receive a first user registered by the first terminal, and store the first user in a social relationship database.
具体地,服务器可接收用户在第一终端上输入的第一用户的注册信息,并可注册第一用户;第一用户与唯一的通讯标识一一对应,第一用户对应的通讯标识可以作为第一用户登录服务器的唯一身份标识;服务器可以为社交电视网络服务器。第一终端可根据第一用户对应的通讯标识来注册第一用户,可将该通讯标识作为第一用户的账号在服务器上的注册第一用户。例如,第一终端根据第一用户的手机号码在服务器上注册第一用户的账号,将该手机号码作为第一用户对应的唯一的通讯标识。又例如,第一终端根据第一用户的电子邮箱在服务器上注册第一用户的账号,将该电子邮箱作为第一用户对应的唯一的通讯标识。Specifically, the server may receive the registration information of the first user input by the user on the first terminal, and may register the first user; the first user has a one-to-one correspondence with the unique communication identifier, and the communication identifier corresponding to the first user may be used as the first The unique identity of a user logged into the server; the server can be a social TV network server. The first terminal may register the first user according to the communication identifier corresponding to the first user, and the communication identifier may be used as the first user's account to register the first user on the server. For example, the first terminal registers the account of the first user on the server according to the mobile phone number of the first user, and uses the mobile phone number as the unique communication identifier corresponding to the first user. For another example, the first terminal registers the account of the first user on the server according to the email address of the first user, and uses the email address as the unique communication identifier corresponding to the first user.
具体地,服务器可将第一用户存储到社交关系数据库,该社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应。社交关系数据库可以包括已注册的第一用户和已注册的其他用户;社交关系数据库中的已注册的用户都对应唯一的通讯标识,不同的通讯标识对应不同的已注册用户。例如,社交关系数据库中已注册用户A的账号为电话号码“13511112222”,社交关系数据库中已注册用户B的账号为电话号码“13611112222”。又例如,社交关系数据库中已注册用户C的账号为Google邮箱[email protected],社交关系数据库中已注册用户D的账号为Yahoo邮箱[email protected]。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the server may store the first user in a social relationship database, and the registered individual users stored in the social relationship database have a one-to-one correspondence with the respective unique communication identifiers. The social relationship database may include the registered first user and other registered users; the registered users in the social relationship database all correspond to unique communication identifiers, and different communication identifiers correspond to different registered users. For example, the account number of the registered user A in the social relationship database is the phone number "13511112222", and the account number of the registered user B in the social relationship database is the phone number "13611112222". For another example, the account of the registered user C in the social relationship database is Google mailbox [email protected], and the account of the registered user D in the social relationship database is Yahoo mailbox [email protected]. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
具体的,服务器在接收第一终端注册的第一用户之后,可按预定的加密算法根据第一用户的注册信息产生身份凭证,并可将该身份凭证发送给第一终端; 该身份凭证与第一用户一一对应;该身份凭证由第一终端用来上传第一用户的通讯录。其中,服务器可以提取第一用户注册信息中的账号,可对第一用户的注册账号按某种算法进行处理,使第一用户的注册账号转换成为一段不可读的代码,并可将该不可读的代码作为第一用户的身份凭证,该不可读的代码与第一用户的账号是一一对应的;服务器可通过第一用户的身份凭证逆向解析出第一用户的账号。例如,服务器从已注册用户A的注册信息中提取出用户的A的电话号码“13511112222”,并将A的电话号码按照MD5算法转换成32位的代码“78F09384FAB3ED3E9416F5CDD0A2EF59”,该32位代码就为用户A的身份凭证。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。服务器在产生第一用户的身份凭整之后,可在第一终端根据第一用户的账号登录服务器时将第一用户的身份凭证发给第一终端;第一终端接收服务器发送的第一用户的身份凭证,可根据第一用户的身份凭证将第一用户的通讯录上传到服务器。Specifically, after receiving the first user registered by the first terminal, the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal; The identity certificate is in one-to-one correspondence with the first user; the identity certificate is used by the first terminal to upload the address book of the first user. The server may extract the account in the first user registration information, and may process the first user's registered account according to an algorithm, so that the first user's registered account is converted into an unreadable code, and the unreadable code may be The code is used as the identity credential of the first user, and the unreadable code has a one-to-one correspondence with the account of the first user; the server can reversely parse the account of the first user by using the identity credential of the first user. For example, the server extracts the telephone number "13511112222" of the user A from the registration information of the registered user A, and converts the telephone number of A into a 32-bit code "78F09384FAB3ED3E9416F5CDD0A2EF59" according to the MD5 algorithm, and the 32-bit code is the user. A's identity certificate. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting. After generating the identity of the first user, the server may send the identity certificate of the first user to the first terminal when the first terminal logs in to the server according to the account of the first user; the first terminal receives the first user sent by the server. The identity credential can upload the first user's address book to the server according to the first user's identity credential.
步骤S103:接收第一终端上传的第一用户的通讯录。Step S103: Receive an address book of the first user uploaded by the first terminal.
具体地,在第一终端根据第一用户的账号登录服务器之后,服务器可接收所述第一终端上传的第一用户的通讯录,该通讯录中各个联系人与各自唯一的通讯标识一一对应。在接收第一用户的通讯录之前,如果服务器上已存储有第一用户的通讯录,则可以用第一用户的新的通讯录来覆盖已有的第一用户的通讯录,服务器上可只保存第一用户的最新的通讯录;另外,服务器上还可以存储其他已注册用户的最新的通讯录。第一用户的通讯录中的联系人可作为第一用户在社交网络上进行社交活动的社交关系的基础,第一用户的通讯录中的各个联系人都各自对应有唯一的通讯标识,即第一用户的通讯录中不同的通讯标识都可对应着第一用户的不同的联系人;当第一用户通讯录中某个联系人的通讯标识同时存在于在服务器的上述社交关系数据库中,则该联系人也为第一用户在社交网络中的关系人,属于第一用户的社交关系。第一用户在服务器上对应的通讯标识可与通讯录中联系人对应的通讯标识采用一致的形式。例如,第一用户在第一终端上的通讯录为电话簿,该电话簿中有第一用户的联系人A,联系人A以A的电话号码“13511112222”来标识,该电话簿中还有第一用户的联系人B,联系人B以B的电话号码“13611112222”来标识,则第一终端 在服务器上注册的第一用户对应的通讯标识为第一用户的电话号码。又例如,第一用户在第一终端上的通讯录为电子邮箱构成的地址簿,该地址簿中有第一用户的联系人A,联系人A以A的Google邮箱[email protected]来标识,该电话簿中还有第一用户的联系人B,联系人B以B的Yahoo邮箱[email protected]来标识,则第一终端在服务器上注册的第一用户对应的通讯标识为第一用户的电子邮箱。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, after the first terminal logs in to the server according to the account of the first user, the server may receive an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier. . Before receiving the first user's address book, if the first user's address book is already stored on the server, the first user's new address book can be used to overwrite the existing first user's address book, and the server can only The latest address book of the first user is saved; in addition, the latest address book of other registered users can be stored on the server. The contact in the first user's address book can be used as the basis of the social relationship of the first user's social activity on the social network, and each contact in the first user's address book has a unique communication identifier, that is, the first Different communication identifiers in a user's address book may correspond to different contacts of the first user; when the communication identifier of a contact in the first user address book exists in the social relationship database of the server at the same time, The contact is also a related person of the first user in the social network and belongs to the social relationship of the first user. The corresponding communication identifier of the first user on the server may be in a consistent form with the communication identifier corresponding to the contact in the address book. For example, the address book of the first user on the first terminal is a phone book, and the phone book has a contact A of the first user, and the contact A is identified by the phone number "13511112222" of A, and the phone book also has The first user's contact B, the contact B is identified by B's phone number "13611112222", then the first terminal The communication identifier corresponding to the first user registered on the server is the phone number of the first user. For another example, the address book of the first user on the first terminal is an address book formed by an email box, and the address book has a contact A of the first user, and the contact A is identified by A's Google mailbox [email protected]. The phone book also has a contact B of the first user, and the contact B is identified by B's Yahoo mailbox [email protected], and the first user corresponding to the first terminal registered on the server is the first communication identifier. User's email address. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
具体的,在接收第一终端上传的第一用户的通讯录之前,服务器接收第一终端发送的身份凭证;并对该身份凭证进行鉴权,如果在社交关系数据库中找到该身份凭证对应的第一用户,则判定鉴权成功。如步骤S101中所述,在服务器接收第一终端注册的第一用户之后,服务器根据第一用户的注册信息来产生第一用户的身份凭证。当服务器接收到第一终端上传的身份凭证之后,服务器可通过逆向解析得出第一用户的身份凭证对应的通讯标识,可遍历社交关系数据库来识别该通讯标识,如果该通讯标识与第一用户对应的通讯标识一致,则可判定第一终端发送的身份凭证对应服务器上的第一用户,接收第一终端上传的通讯录,可视该通讯录为第一用户的通讯录。Specifically, before receiving the address record of the first user uploaded by the first terminal, the server receives the identity credential sent by the first terminal, and authenticates the identity credential, if the identity corresponding to the identity credential is found in the social relationship database A user determines that the authentication is successful. As described in step S101, after the server receives the first user registered by the first terminal, the server generates the identity credential of the first user according to the registration information of the first user. After the server receives the identity credential uploaded by the first terminal, the server may obtain the communication identifier corresponding to the identity credential of the first user by reverse parsing, and may traverse the social relationship database to identify the communication identifier, if the communication identifier and the first user If the corresponding communication identifier is consistent, the first user on the server corresponding to the identity certificate sent by the first terminal may be determined to receive the address book uploaded by the first terminal, and the address book may be regarded as the address book of the first user.
具体的,服务器可通过第一用户的通讯录和其他已注册用户的通讯录来自动新建第一用户的社交关系;服务器还可以根据第一用户的通讯录来自动更新第一用户已有的社交关系。Specifically, the server can automatically create a social relationship of the first user by using the address book of the first user and the address book of other registered users; the server can also automatically update the social network of the first user according to the address book of the first user. relationship.
步骤S105:根据社交关系数据库中已注册的用户来获取第一用户的通讯录中的已注册联系人,将第一用户的通讯录中的已注册的联系人作为第一用户的关系人,添加到第一用户的社交关系中。Step S105: Acquire, according to the registered user in the social relationship database, the registered contact in the address book of the first user, and add the registered contact in the address book of the first user as the relationship person of the first user, and add Go to the first user's social relationship.
具体的,服务器可遍历第一用户的通讯录中的联系人,当在社交关系数据库中找到已注册的用户对应的通讯标识与该联系人对应的通讯标识一致时,将该联系人归为第一用户的通讯录中的已注册的联系人。服务器可从第一用户的通讯录中的第一位联系人开始,在社交关系数据库中寻找第一位联系人对应的通讯标识,如果在社交关系数据库中找到已注册用户对应的通讯标识与第一位联系人的通讯标识一致,则可判定第一位联系人在服务器上已注册,将第一位联系人归为第一用户的通讯录中的已注册的联系人,然后结束当前第一位联系人的判断过程;如果在社交关系数据库中没有找到已注册用户对应的通讯标识 与第一位联系人的通讯标识一致,则可判定第一位联系人在服务器上没有注册,然后结束当前第一位联系人的判断过程;依此类推,直至第一用户的通讯录中的最后一个联系人,则可结束整个获取第一用户的通讯录中的已注册联系人的过程,可获取第一用户的通讯录中的全部已注册联系人。Specifically, the server may traverse the contact in the address book of the first user, and when the communication identifier corresponding to the registered user is found in the social relationship database, the communication identifier corresponding to the contact is consistent, and the contact is classified as the first A registered contact in a user's address book. The server may start from the first contact in the address book of the first user, and search for the communication identifier corresponding to the first contact in the social relationship database, and if the communication identifier corresponding to the registered user is found in the social relationship database, If a contact has the same communication identifier, it can be determined that the first contact is registered on the server, the first contact is classified as the registered contact in the first user's address book, and then the current first is ended. The judgment process of the contact person; if the communication identifier corresponding to the registered user is not found in the social relationship database Consistent with the communication identifier of the first contact, it may be determined that the first contact is not registered on the server, and then the current first contact determination process is ended; and so on, until the first user's address book The last contact can end the process of obtaining the registered contacts in the first user's address book, and can obtain all the registered contacts in the first user's address book.
具体的,服务器可判定第一用户的通讯录中的已注册联系人为第一用户在社交网络中的关系人,可将该关系人添加到第一用户的社交关系中。Specifically, the server may determine that the registered contact in the address book of the first user is a related person of the first user in the social network, and the related person may be added to the social relationship of the first user.
具体的,第一用户的社交关系可包括第一社交关系和第二社交关系中的至少一种。服务器可根据第一用户与第一用户的关系人的联系不同将社交关系分为第一社交关系和第二社交关系,其中,第一社交关系可为第一用户的好友圈,第二社交关系可为第一用户的关注圈;对于第一用户的关系人,如果该关系人的通讯录中包括第一用户的通讯标识,服务器则可判定该关系人为第一用户的好友,将该关系人归于第一用户的好友圈;如果该关系人的通讯录中不包括第一用户的通讯标识,则可判断该关系人为第一用户的关注对象,将该关系人归于第一用户的关注圈。例如,服务器上的用户都是用电话号码注册的账号,用户A的电话簿中有用户B的电话号码,同时,用户B的电话簿中也有用户A的电话号码,其中,用户A与用户B都已在服务器上注册,则用户A与用户B在社交网络中互为好友。又例如,用户C的电话簿中有用户D的电话号码,但是,用户D的电话簿中没有用户C的电话号码,其中,用户C与用户D都已在服务器上注册,则用户D是用户C在社交网络上的关注对象,用户C是用户D的崇拜者。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the social relationship of the first user may include at least one of the first social relationship and the second social relationship. The server may divide the social relationship into a first social relationship and a second social relationship according to the relationship between the first user and the relationship person of the first user, where the first social relationship may be the first user's friend circle and the second social relationship The contact circle of the first user; for the relationship person of the first user, if the address book of the relationship person includes the communication identifier of the first user, the server may determine that the relationship person is a friend of the first user, and the relationship person The friend circle belongs to the first user; if the contact person of the relationship does not include the communication identifier of the first user, the relationship person may be determined to be the object of interest of the first user, and the relationship person is attributed to the circle of interest of the first user. For example, the users on the server are all registered with the phone number, the phone book of the user A has the phone number of the user B, and the phone book of the user B also has the phone number of the user A, where the user A and the user B Both have been registered on the server, and User A and User B are friends with each other in the social network. For another example, the phone book of the user C has the phone number of the user D, but the phone book of the user D does not have the phone number of the user C, wherein both the user C and the user D are registered on the server, and the user D is the user. C is the object of interest on the social network, user C is the admirer of user D. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
具体的,当第一用户的社交关系包括第一社交关系时,服务器获取上述已注册的联系人的通讯录,上述已注册的联系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当第一用户对应的通讯标识存在于上述已注册的联系人的通讯录中,添加上述已注册的联系人到第一用户的第一社交关系中;当第一用户的社交关系包括第二社交关系时,服务器获取上述已注册的联系人的通讯录,上述已注册的联系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当第一用户对应的通讯标识不存在于上述已注册的联系人的通讯录中,添加上述已注册的联系人到第一用户的第二社交关系中。 Specifically, when the social relationship of the first user includes the first social relationship, the server obtains an address book of the registered contact, and each contact in the address book of the registered contact has a unique communication identifier Corresponding; when the communication identifier corresponding to the first user exists in the address book of the registered contact, adding the registered contact to the first social relationship of the first user; when the social relationship of the first user includes In the second social relationship, the server obtains the address book of the registered contact, and each contact in the address book of the registered contact has a one-to-one correspondence with the unique communication identifier; when the communication identifier corresponding to the first user does not exist In the address book of the above registered contact, the above registered contact is added to the second social relationship of the first user.
具体的,服务器可将第一用户的通讯录中所有已注册的联系人视为第一用户的社交网络中的关系人,当第一用户的社交关系包括第一社交关系时,服务器从第一用户的第一个已注册的联系人开始,获取第一个已注册的联系人的通讯录,如果在第一个已注册的联系人的通讯录中找到第一用户对应的通讯标识,则可判定第一个已注册的联系人属于第一用户在社交网络中的好友圈,可将第一个已注册的联系人添加到第一用户的第一社交关系中,并可将第一用户添加到第一个已注册的联系人的第一社交关系中;可依照前述过程添加第一用户的下一个已注册的联系人,直至第一用户的通讯录中的最后一个已注册的联系人;其中,已注册的联系人的通讯录中通讯标识可用以建立该已注册的联系人在社交网络中的社交关系,已注册的联系人的通讯录中的各个通讯标识是唯一的,与已注册的联系人的通讯录中的各个联系人一一对应。无论是在第一次自动生成第一用户的社交关系时,还是在自动更新第一用户的社交关系时,服务器都可依照前述过程添加第一用户的第一社交关系。例如,服务器上的用户都是用电话号码注册的账号,用户通过手机上传了更新后的第一用户的电话簿,第一用户的电话簿中新增了已注册的联系人:用户A、用户B和用户C,并且用户A、用户B和用户C的通讯录中都包括第一用户的电话号码,服务器判定用户A、用户B和用户C属于第一用户的好友圈,服务器将用户A、用户B和用户C添加到第一用户的第一社交关系中,并分别在用户A、用户B和用户C的好友圈中添加第一用户。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the server may treat all registered contacts in the first user's address book as related persons in the social network of the first user, and when the first user's social relationship includes the first social relationship, the server is from the first The user's first registered contact starts, obtains the address book of the first registered contact, and if the first user's corresponding communication identifier is found in the address book of the first registered contact, Determining that the first registered contact belongs to the first user's circle of friends in the social network, and adding the first registered contact to the first social relationship of the first user, and adding the first user Into the first social relationship of the first registered contact; the next registered contact of the first user may be added according to the foregoing process until the last registered contact in the first user's address book; The communication identifier in the address book of the registered contact may be used to establish a social relationship of the registered contact in the social network, and each communication in the address book of the registered contact Knowledge is the only, one to one with a registered address book contacts in each contact. The server may add the first social relationship of the first user according to the foregoing process, either when the first user's social relationship is automatically generated for the first time or when the first user's social relationship is automatically updated. For example, the users on the server are all accounts registered by the phone number, and the user uploads the updated first user's phone book through the mobile phone, and the registered contacts are newly added in the first user's phone book: user A, user B and user C, and the address records of the user A, the user B, and the user C all include the phone number of the first user, and the server determines that the user A, the user B, and the user C belong to the circle of friends of the first user, and the server connects the user A, User B and user C are added to the first social relationship of the first user, and the first user is added to the circle of friends of user A, user B, and user C, respectively. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
具体的,服务器可将第一用户的通讯录中所有已注册的联系人视为第一用户的社交网络中的关系人,当第一用户的社交关系包括第二社交关系时,服务器从第一用户的第一个已注册的联系人开始,获取第一个已注册的联系人的通讯录,如果在第一个已注册的联系人的通讯录中没有第一用户对应的通讯标识,则可判定第一个已注册的联系人属于第一用户在社交网络中的关注对象,可将第一个已注册的联系人添加到第一用户的第二社交关系中;可依照前述过程添加第一用户的下一个已注册的联系人,直至第一用户的通讯录中的最后一个已注册的联系人;其中,已注册的联系人的通讯录中通讯标识可用以建立该已注册的联系人在社交网络中的社交关系,已注册的联系人的通讯录中的各个通讯 标识是唯一的,与已注册的联系人的通讯录中的各个联系人一一对应。无论是在第一次自动生成第一用户的社交关系时,还是在自动更新第一用户的社交关系时,服务器都可依照前述过程添加第一用户的第二社交关系。例如,服务器上的用户都是用电话号码注册的账号,用户通过手机第一次上传第一用户的电话簿,第一用户的电话簿中有一个已注册的联系人用户A,但是,用户A的通讯录中没有第一用户的电话号码,则服务器判定用户A属于第一用户的关注对象,同时,第一用户为用户A的崇拜者,服务器将用户A添加到第一用户的关注列表中,将第一用户添加到用户A的崇拜者列表中。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the server may regard all registered contacts in the first user's address book as related persons in the social network of the first user, and when the social relationship of the first user includes the second social relationship, the server is from the first The user's first registered contact starts, and obtains the address book of the first registered contact. If there is no communication identifier corresponding to the first user in the address book of the first registered contact, Determining that the first registered contact belongs to the first user's attention in the social network, and adding the first registered contact to the second social relationship of the first user; adding the first according to the foregoing process The user's next registered contact, up to the last registered contact in the first user's address book; wherein the registered contact's address book has a communication identifier available to establish the registered contact at Social relationships in social networks, individual communications in the contacts of registered contacts The logo is unique and corresponds to each contact in the address book of the registered contact. The server may add the second social relationship of the first user according to the foregoing process, whether the first time the first user's social relationship is automatically generated or when the first user's social relationship is automatically updated. For example, the users on the server are all accounts registered by the phone number, and the user uploads the first user's phone book for the first time through the mobile phone, and the first user's phone book has a registered contact user A, but the user A If there is no phone number of the first user in the address book, the server determines that the user A belongs to the attention object of the first user, and at the same time, the first user is the admirer of the user A, and the server adds the user A to the attention list of the first user. , adding the first user to User A's list of worshippers. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
另外的,基于所述第一用户的社交关系,服务器可遍历所述第一用户的关系人,当该关系人对应的通讯标识已不存在于所述第一用户的通讯录中,则可将该关系人从第一用户的社交关系中删除;其中,第一用户的关系人与各自唯一的通讯标识一一对应。第一用户的社交关系可以存储于服务器的社交关系数据库中,第一用户的社交关系中可包括第一用户所有关系人。当第一用户的通讯录发生更新后,第一终端向服务器上传第一用户的通讯录;服务器根据第一用户的更新后的通讯录,可将第一用户在社交关系数据库中过时的社交关系进行更新,可删除第一用户的社交关系中与第一用户没有社交联系的关系人。具体的,基于上述内容,第一用户的社交关系包括第一社交关系和第二社交关系,服务器可根据第一用户的通讯录来删除第一社交关系中的关系人或者第二社交关系中的关系人。服务器可通过遍历第一用户的第一社交关系中的关系人,如果该关系人对应的通讯标识已不存在于第一用户的更新后的通讯录中,则可判定该关系人与第一用户的社交联系发生变化,可将该关系人从第一用户的第一社交关系中删除,并可从该关系人的第一社交关系中删除第一用户;服务器还可通过遍历第一用户的第二社交关系中的关系人,如果该关系人对应的通讯标识已不存在于第一用户的更新后的通讯录中,则可判定该关系人与第一用户不再有社交联系,可将该关系人从第一用户的第二社交关系中删除。例如,服务器上的用户都是用电话号码注册的账号,第一用户在社交网络中的好友列表中包括用户A,但是,第一用户的更新后的电话簿中已经没有用户A的电话号码,则服务器判定第一用户与用户A不再互为好友,将用户A从第一用户 的好友列表中删除,将第一用户从用户A的好友列表中删除。又例如,服务器上的用户都是用电子邮箱注册的账号,第一用户在社交网络中的关注列表中包括用户A,但是,第一用户的更新后的地址簿中已经没有用户A的电子邮箱,则服务器判定第一用户不再关注用户A,将用户A从第一用户的关注列表中删除,将第一用户从用户A的崇拜者列表中删除。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。In addition, based on the social relationship of the first user, the server may traverse the relationship person of the first user, and when the communication identifier corresponding to the relationship person does not exist in the address book of the first user, The related person is deleted from the social relationship of the first user; wherein the related persons of the first user have a one-to-one correspondence with the respective unique communication identifiers. The social relationship of the first user may be stored in a social relationship database of the server, and the first user's social relationship may include all the related persons of the first user. After the first user's address book is updated, the first terminal uploads the first user's address book to the server; the server may use the first user's updated address book to set the first user's outdated social relationship in the social relationship database. The update may delete the relationship person in the social relationship of the first user who has no social connection with the first user. Specifically, based on the foregoing content, the social relationship of the first user includes a first social relationship and a second social relationship, and the server may delete the related person in the first social relationship or the second social relationship according to the address book of the first user. Relationship person. The server may traverse the relationship person in the first social relationship of the first user, and if the communication identifier corresponding to the relationship person does not exist in the updated address book of the first user, the relationship person and the first user may be determined. The social connection changes, the related person may be deleted from the first social relationship of the first user, and the first user may be deleted from the first social relationship of the related person; the server may also traverse the first user by The relationship person in the second social relationship may determine that the relationship person does not have social contact with the first user if the corresponding communication identifier does not exist in the updated address book of the first user, The relationship person is deleted from the second social relationship of the first user. For example, the users on the server are all accounts registered by the phone number, and the first user includes the user A in the friend list in the social network, but the updated phone book of the first user does not have the phone number of the user A. Then the server determines that the first user and the user A are no longer friends with each other, and the user A is from the first user. The buddy list is deleted, and the first user is deleted from user A's buddy list. For another example, the user on the server is an account registered with an email address, and the first user includes the user A in the attention list in the social network, but the user's email address is not in the updated address book of the first user. Then, the server determines that the first user no longer pays attention to the user A, deletes the user A from the first user's attention list, and deletes the first user from the user A's worshipper list. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
步骤S107:将第一用户的社交关系发送到第二终端。Step S107: Send the social relationship of the first user to the second terminal.
具体的,在服务器将第一用户的社交关系发送到第二终端之前,包括:服务器可接收第二终端发送的获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证;服务器解析身份凭证来获取身份凭证对应的第一用户;服务器搜索社交关系数据库来获取第一用户的社交关系。Specifically, before the server sends the social relationship of the first user to the second terminal, the server may: receive, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes the identity certificate corresponding to the first user. The server parses the identity credential to obtain the first user corresponding to the identity credential; the server searches the social relationship database to obtain the social relationship of the first user.
具体的,如步骤S101中所描述的内容,服务器可根据第一用户的注册信息来生成第一用户对应的身份凭证,并将该身份凭证发送给第一终端。第二终端可从第一终端获取第一用户对应的身份凭证,之后,第二终端可直接根据该身份凭证向服务器发送请求来获取第一用户的社交关系;服务器可逆向解析出该身份凭证对应的用户的注册账号,可根据该注册账号在社交关系管理中匹配出该身份凭证对应的用户为第一用户,在社交关系数据库中获取第一用户对应的社交关系,将该社交关系发送给第二终端。例如,服务器接收到社交电视发送的32位的身份凭证“78F09384FAB3ED3E9416F5CDD0A2EF59”,该32位代码是将用户对应的社交账号按照MD5算法产生的,服务器解析出该社交账号为“13511112222”,并在社交关系数据库中获取社交账号“13511112222”对应的好友列表、关注列表和粉丝列表,将其发给社交电视。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the server may generate the identity certificate corresponding to the first user according to the registration information of the first user, and send the identity certificate to the first terminal. The second terminal may obtain the identity credential corresponding to the first user from the first terminal, and then the second terminal may directly send a request to the server according to the identity credential to obtain the social relationship of the first user; the server may reversely parse the identity credential corresponding to the identity credential. According to the registered account, the user corresponding to the identity certificate is matched as the first user in the social relationship management, and the social relationship corresponding to the first user is obtained in the social relationship database, and the social relationship is sent to the first Two terminals. For example, the server receives the 32-bit identity credential "78F09384FAB3ED3E9416F5CDD0A2EF59" sent by the social television. The 32-bit code is generated according to the MD5 algorithm of the social account corresponding to the user, and the server parses the social account as "13511112222" and is in social relationship. The buddy list, the attention list, and the fan list corresponding to the social account "13511112222" are obtained in the database, and are sent to the social TV. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
参见图2,是本发明的一种实施例提供的第一终端侧的社交关系管理的方法。需要说明的是本发明实施例中的第一用户的通讯录既可以是手机终端上的电话簿,也可以是个人电脑中电子邮箱里的地址簿,还可以是其他通讯形式的通讯录。该方法可以包括:Referring to FIG. 2, it is a method for managing social relationship on a first terminal side according to an embodiment of the present invention. It should be noted that the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms. The method can include:
步骤S201:接收第一输入在服务器上注册第一用户。Step S201: Receive the first input and register the first user on the server.
具体地,第一终端既可以是手机、平板电脑等移动终端,还可以是个人计 算机;第一输入可用于输入在服务器上注册第一用户。第一终端接收用户输入的第一用户的注册信息,可将该注册信息发送至服务器端来完成第一用户在社交网络上的注册;其中,第一终端可通过社交应用的客户端来收集第一用户的注册信息。Specifically, the first terminal may be a mobile terminal such as a mobile phone or a tablet computer, or may be a personal meter. The first input can be used to enter the first user registered on the server. The first terminal receives the registration information of the first user input by the user, and the registration information is sent to the server to complete the registration of the first user on the social network. The first terminal may collect the first user through the client of the social application. Registration information for a user.
具体的,在上述接收第一输入在服务器上注册第一用户之后,第一终端可接收服务器发送的身份凭证,并发送该身份凭证至第二终端;该身份凭证由服务器按预定的加密算法根据第一用户的注册信息产生的身份凭证;该身份凭证与第一用户一一对应。如步骤S101中所述,服务器可按预定的加密算法根据第一用户的注册信息产生身份凭证,并可将该身份凭证发送给第一终端;第一终端可在接收服务器发送的第一用户对应的身份凭证之后,将该身份凭证发送给第二终端。Specifically, after receiving the first input to register the first user on the server, the first terminal may receive the identity credential sent by the server, and send the identity credential to the second terminal; the identity credential is determined by the server according to a predetermined encryption algorithm. The identity certificate generated by the registration information of the first user; the identity certificate is in one-to-one correspondence with the first user. As described in step S101, the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal; the first terminal may correspond to the first user sent by the receiving server. After the identity certificate, the identity certificate is sent to the second terminal.
具体的,在上述发送身份凭证至第二终端之前,第一终端可向第二终端发送配对请求,根据第二终端提示的配对验证码,接收与配对验证码一致的第三输入来完成配对。其中,第三输入可用于输入第二终端提示的配对验证码;该配对验证码可以由第二终端通过显示设备提示用户,也可以由第二终端以短信的方式提示用户,还可以是其他提示用户的方式,这里不作限制。第一终端可将接收的用户的第三输入返回给第二终端;如果第二终端判定第一终端接收的第三输入与配对验证码一致,则接受第一终端的配对请求,完成配对。Specifically, before sending the identity credential to the second terminal, the first terminal may send a pairing request to the second terminal, and according to the pairing verification code prompted by the second terminal, receive a third input that is consistent with the pairing verification code to complete the pairing. The third input may be used to input a pairing verification code prompted by the second terminal; the pairing verification code may be prompted by the second terminal by the display device, or may be prompted by the second terminal by using a short message, or may be other prompts. The way the user is, there is no limit here. The first terminal may return the received third input of the user to the second terminal; if the second terminal determines that the third input received by the first terminal is consistent with the pairing verification code, accepting the pairing request of the first terminal to complete the pairing.
具体的,在上述向第二终端发送配对请求之前,第一终端可扫描当前预定的短程通信网络,接收第四输入与第二终端建立短程通信连接;第二终端在该短程通信网络之中。其中,该短程通信网络可为数字生活网络联盟DLNA中支持的网络形式,第四输入可用于触发第一终端向第二终端发送建立连接请求;第一终端可以监测同一短程通信网络中的设备,一旦发现第二终端也存在于该短程通信网络中,可接收用户输入来与第二终端建立短程通信连接。第一终端可以通过用户交互界面向用户呈现出当前短程通信网络中的所有设备,并可接受用户在该用户交互界面上的操作,向第二终端发起建立连接的请求,如果第二终端同意与第一终端建立连接,则第一终端可触发执行上述向第二终端发送配对请求的步骤。Specifically, before sending the pairing request to the second terminal, the first terminal may scan the currently scheduled short-range communication network, and receive the fourth input to establish a short-range communication connection with the second terminal; the second terminal is in the short-range communication network. The short-range communication network may be in the form of a network supported by the Digital Living Network Alliance DLNA, and the fourth input may be used to trigger the first terminal to send a connection establishment request to the second terminal; the first terminal may monitor devices in the same short-range communication network, Once the second terminal is also found to be present in the short-range communication network, user input can be received to establish a short-range communication connection with the second terminal. The first terminal may present all the devices in the current short-range communication network to the user through the user interaction interface, and accept the operation of the user on the user interaction interface, and initiate a request for establishing a connection to the second terminal, if the second terminal agrees with The first terminal establishes a connection, and the first terminal may trigger the step of performing the foregoing sending a pairing request to the second terminal.
步骤S203:通过响应第一用户的通讯录的更新事件来读取第一用户的通 讯录。Step S203: reading the first user's communication by responding to the update event of the first user's address book. Record.
具体的,在上述通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录之前,第一终端还可以执行:监测第一用户的通讯录的更新事件;该更新事件包括:添加、删除或编辑第一用户的通讯录中的联系人。第一终端可以通过给第一用户的通讯录注册***来监测第一用户的通讯录的更新事件,当第一用户的通讯录被修改时,该***可以捕捉到第一用户的通讯录的更新事件。为了响应前述第一用户的通讯录的更新事件,第一终端可以通过用户交互界面提示用户去上传更新后的第一用户的通讯录,然后,第一终端可以读取更新后的第一用户的通讯录。Specifically, before the foregoing address book of the first user is read in response to the update event of the first user's address book, the first terminal may further perform: monitoring an update event of the first user's address book; the update event includes: Add, delete, or edit contacts in the first user's address book. The first terminal may monitor the update event of the first user's address book by registering the listener with the first user's address book. When the first user's address book is modified, the listener may capture the first user's address book. Update event. In response to the update event of the first user's address book, the first terminal may prompt the user to upload the updated first user's address book through the user interaction interface, and then the first terminal may read the updated first user's address book. Address book.
另外,在上述通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录之前,接收第二输入来获得读取第一用户的通讯录的授权,根据该授权来读取第一用户的通讯录。第二输入可用于授权给第一终端读取第一用户的通讯录。第一终端可以通过应用程序来接收用户的读取通讯录的授权,应用程序需告知用户读取通讯录的目的,以及为用户保密其通讯录的承诺。在获取用户授权后,第一终端可读取第一用户的通讯录。In addition, before reading the first user's address book by responding to the update event of the first user's address book, receiving the second input to obtain the authorization to read the first user's address book, and reading the first according to the authorization A user's address book. The second input can be used to authorize the first terminal to read the first user's address book. The first terminal can receive the user's authorization to read the address book through the application, and the application needs to inform the user of the purpose of reading the address book and the commitment to keep the user's address book confidential. After obtaining the user authorization, the first terminal can read the address book of the first user.
步骤S205:上传第一用户的通讯录至服务器。Step S205: Upload the address book of the first user to the server.
具体的,第一终端可使用第一用户对应的身份凭证向服务器上传第一用户的通讯录。通讯录上传的格式可以采用XML数据格式,还可以采用其他数据格式,这里不作限制。Specifically, the first terminal may upload the address book of the first user to the server by using the identity certificate corresponding to the first user. The format of the address book upload can be in the XML data format, and other data formats can be used, and there is no limitation here.
参见图3,是本发明的一种实施例提供的第二终端侧的社交关系管理的方法。需要说明的是本发明实施例中的第一用户的通讯录既可以是手机终端上的电话簿,也可以是个人电脑中电子邮箱里的地址簿,还可以是其他通讯形式的通讯录。该方法可以包括:Referring to FIG. 3, it is a method for managing social relationship on a second terminal side according to an embodiment of the present invention. It should be noted that the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms. The method can include:
步骤S301:从服务器获取第一用户的社交关系。Step S301: Acquire a social relationship of the first user from the server.
具体的,在上述从服务器获取第一用户的社交关系之前,第二终端可接收第一终端发送的身份凭证;该身份凭证为第一终端通过注册第一用户从服务器获取的;该身份凭证与第一用户一一对应。另外,在前述接收第一终端发送的身份凭证之前,第二终端可接收第一终端的配对请求,提示配对验证码,该配对验证码用于提示用户在第一终端上输入该配对验证码来完成配对。对于第一 终端的配对请求,第二终端可以通过显示设备提示配对验证码,还可以通过短信的方式提示配对验证码,这里不作限制;如果用户在第一终端上的输入与配对验证码一致,则第二终端可判定与第一终端配对成功。在配对成功之后,第二终端可接收第一终端发送的第一用户对应的身份凭证,该身份凭证用来向服务器请求获取第一用户的社交关系。Specifically, before acquiring the social relationship of the first user from the server, the second terminal may receive the identity credential sent by the first terminal; the identity credential is obtained by the first terminal from the server by registering the first user; the identity credential is The first user corresponds one by one. In addition, before receiving the identity credential sent by the first terminal, the second terminal may receive the pairing request of the first terminal, and prompt the pairing verification code, where the pairing verification code is used to prompt the user to input the pairing verification code on the first terminal. Complete the pairing. For the first The pairing request of the terminal, the second terminal may prompt the pairing verification code through the display device, and may also prompt the pairing verification code by means of the short message, which is not limited herein; if the input of the user on the first terminal is consistent with the pairing verification code, the second The terminal can determine that the pairing with the first terminal is successful. After the pairing is successful, the second terminal may receive the identity certificate corresponding to the first user sent by the first terminal, where the identity certificate is used to request the server to acquire the social relationship of the first user.
具体的,在上述接收第一终端发送的身份凭证之后,在从服务器获取第一用户的社交关系之前,第二终端可向服务器发送获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证。服务器可从该请求中提取身份凭证,并可逆向解析出该身份凭证对应的用户的注册账号,可根据该注册账号在社交关系管理中匹配出该身份凭证对应的用户为第一用户,在社交关系数据库中获取第一用户对应的社交关系。Specifically, after receiving the identity credential sent by the first terminal, before acquiring the social relationship of the first user from the server, the second terminal may send a request for acquiring the social relationship of the first user to the server, where the request includes the first The identity certificate corresponding to the user. The server may extract the identity credential from the request, and may reversely parse the registered account of the user corresponding to the identity credential, and may match the user corresponding to the identity credential as the first user in the social relationship management according to the registered account, and socialize The social relationship corresponding to the first user is obtained in the relational database.
第二终端可直接根据身份凭证从服务器获取第一用户的社交关系,可直接利用第一用户的社交关系在社交网络上进行社交活动。The second terminal may directly acquire the social relationship of the first user from the server according to the identity credential, and may directly perform social activities on the social network by using the social relationship of the first user.
步骤S303:将所述第一用户的社交关系提供给社交应用。Step S303: Provide the social relationship of the first user to the social application.
具体的,可将通过步骤S301获取的第一用户的社交关系提供给社交应用。这里需要说明的是,还可以将第一用户的社交关系用作其他的功能,这里不作限制。Specifically, the social relationship of the first user acquired through step S301 can be provided to the social application. It should be noted here that the social relationship of the first user can also be used as other functions, which is not limited herein.
参见图4,是发明的另一种实施例提供的社交关系管理的方法。需要说明的是本发明实施例中的第一用户的通讯录既可以是手机终端上的电话簿,也可以是个人电脑中电子邮箱里的地址簿,还可以是其他通讯形式的通讯录。该方法可以包括:Referring to FIG. 4, it is a method of social relationship management provided by another embodiment of the invention. It should be noted that the address book of the first user in the embodiment of the present invention may be a phone book on the mobile phone terminal, an address book in an electronic mailbox in the personal computer, or an address book in other communication forms. The method can include:
步骤S401:第一终端在服务器上注册第一用户。Step S401: The first terminal registers the first user on the server.
具体的,第一终端既可以是手机、平板电脑等移动终端,还可以是个人计算机。第一终端接收用户输入的第一用户的注册信息,可将该注册信息发送至服务器端来完成第一用户在社交网络上的注册;第一终端可根据第一用户对应的通讯标识来注册第一用户,可将该通讯标识作为第一用户的账号在服务器上的注册第一用户。例如,第一终端根据第一用户的手机号码在服务器上注册第一用户的账号,将该手机号码作为第一用户对应的唯一的通讯标识。又例如,第一终端根据第一用户的电子邮箱在服务器上注册第一用户的账号,将该电子 邮箱作为第一用户对应的唯一的通讯标识。Specifically, the first terminal may be a mobile terminal such as a mobile phone or a tablet computer, or may be a personal computer. The first terminal receives the registration information of the first user input by the user, and may send the registration information to the server to complete the registration of the first user on the social network; the first terminal may register according to the communication identifier corresponding to the first user. A user may register the communication identifier as the first user's account on the server to register the first user. For example, the first terminal registers the account of the first user on the server according to the mobile phone number of the first user, and uses the mobile phone number as the unique communication identifier corresponding to the first user. For another example, the first terminal registers the first user's account on the server according to the first user's email address, and the electronic device The mailbox is the unique communication identifier corresponding to the first user.
步骤S403:服务器根据第一用户的注册信息产生第一用户对应的身份凭证;返回身份凭证至第一终端。Step S403: The server generates an identity certificate corresponding to the first user according to the registration information of the first user, and returns the identity certificate to the first terminal.
具体的,服务器在接收第一终端注册的第一用户之后,可按预定的加密算法根据第一用户的注册信息产生身份凭证,并可将该身份凭证发送给第一终端;该身份凭证与第一用户一一对应;该身份凭证由第一终端用来上传第一用户的通讯录。其中,服务器可以提取第一用户注册信息中的账号,可对第一用户的注册账号按某种算法进行处理,使第一用户的注册账号转换成为一段不可读的代码,并可将该不可读的代码作为第一用户的身份凭证,该不可读的代码与第一用户的账号是一一对应的;服务器可通过第一用户的身份凭证逆向解析出第一用户的账号。例如,服务器从已注册用户A的注册信息中提取出用户的A的电话号码“13511112222”,并将A的电话号码按照MD5算法转换成32位的代码“78F09384FAB3ED3E9416F5CDD0A2EF59”,该32位代码就为用户A的身份凭证。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。服务器在产生第一用户的身份凭整之后,可在第一终端根据第一用户的账号登录服务器时将第一用户的身份凭证发给第一终端;第一终端接收服务器发送的第一用户的身份凭证,可根据第一用户的身份凭证将第一用户的通讯录上传到服务器。Specifically, after receiving the first user registered by the first terminal, the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal; the identity credential and the first One user corresponds one by one; the identity credential is used by the first terminal to upload the first user's address book. The server may extract the account in the first user registration information, and may process the first user's registered account according to an algorithm, so that the first user's registered account is converted into an unreadable code, and the unreadable code may be The code is used as the identity credential of the first user, and the unreadable code has a one-to-one correspondence with the account of the first user; the server can reversely parse the account of the first user by using the identity credential of the first user. For example, the server extracts the telephone number "13511112222" of the user A from the registration information of the registered user A, and converts the telephone number of A into a 32-bit code "78F09384FAB3ED3E9416F5CDD0A2EF59" according to the MD5 algorithm, and the 32-bit code is the user. A's identity certificate. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting. After generating the identity of the first user, the server may send the identity certificate of the first user to the first terminal when the first terminal logs in to the server according to the account of the first user; the first terminal receives the first user sent by the server. The identity credential can upload the first user's address book to the server according to the first user's identity credential.
步骤S405:第一终端判断第一用户的通讯录是否更新。Step S405: The first terminal determines whether the address book of the first user is updated.
具体的,第一终端可以监测第一用户的通讯录的更新事件;该更新事件包括:添加、删除或编辑第一用户的通讯录中的联系人。第一终端可以通过给第一用户的通讯录注册***来监测第一用户的通讯录的更新事件,当第一用户的通讯录被修改时,该***可以捕捉到第一用户的通讯录的更新事件,并将更新事件报告给第一终端。第一终端可以通过更新事件的***来捕捉通讯录的更新,如果接收到***上报的更新事件,则可判断第一用户的通讯录发生更新;第一终端还可以定时主动查询第一用户的通讯录,并将当前查询时刻的通讯录和前一个查询时刻的通讯录比较来判断第一用户的通讯录是否发生更新,如果当前查询时刻的通讯录和前一个查询时刻的通讯录不同,则可判断第一用户的通讯录发生更新;否则,重新执行步骤S405,具体实现中,还可以 结束当前进程,这里不作限制。Specifically, the first terminal may monitor an update event of the first user's address book; the update event includes: adding, deleting, or editing a contact in the first user's address book. The first terminal may monitor the update event of the first user's address book by registering the listener with the first user's address book. When the first user's address book is modified, the listener may capture the first user's address book. Update event and report the update event to the first terminal. The first terminal may capture the update of the address book by updating the listener of the event. If the update event reported by the listener is received, the first user's address book may be updated; the first terminal may also actively query the first user periodically. The address book compares the address book of the current query time with the address book of the previous query time to determine whether the first user's address book is updated. If the address book of the current query time is different from the address book of the previous query time, Then, it can be determined that the first user's address book is updated; otherwise, step S405 is re-executed, and in the specific implementation, End the current process, there is no limit here.
步骤S407:第一终端上传第一用户的通讯录。Step S407: The first terminal uploads an address book of the first user.
具体的,第一终端可使用第一用户对应的身份凭证向服务器上传第一用户的通讯录。通讯录上传的格式可以采用XML数据格式,还可以采用其他数据格式,这里不作限制。Specifically, the first terminal may upload the address book of the first user to the server by using the identity certificate corresponding to the first user. The format of the address book upload can be in the XML data format, and other data formats can be used, and there is no limitation here.
步骤S409:服务器根据第一用户的通讯录和已注册的用户的通讯录自动添加第一用户的社交关系。Step S409: The server automatically adds the social relationship of the first user according to the address book of the first user and the address book of the registered user.
具体的,服务器可遍历第一用户的通讯录中的联系人,当在社交关系数据库中找到已注册的用户对应的通讯标识与该联系人对应的通讯标识一致时,将该联系人归为第一用户的通讯录中的已注册的联系人。服务器可判定第一用户的通讯录中的已注册联系人为第一用户在社交网络中的关系人,可将该关系人添加到第一用户的社交关系中。Specifically, the server may traverse the contact in the address book of the first user, and when the communication identifier corresponding to the registered user is found in the social relationship database, the communication identifier corresponding to the contact is consistent, and the contact is classified as the first A registered contact in a user's address book. The server may determine that the registered contact in the address book of the first user is a related person of the first user in the social network, and the related person may be added to the social relationship of the first user.
具体的,第一用户的社交关系可包括第一社交关系和第二社交关系中的至少一种。服务器可根据第一用户与第一用户的关系人的联系不同将社交关系分为第一社交关系和第二社交关系,其中,第一社交关系可为第一用户的好友圈,第二社交关系可为第一用户的关注圈。Specifically, the social relationship of the first user may include at least one of the first social relationship and the second social relationship. The server may divide the social relationship into a first social relationship and a second social relationship according to the relationship between the first user and the relationship person of the first user, where the first social relationship may be the first user's friend circle and the second social relationship Can be the focus circle of the first user.
具体的,当第一用户的社交关系包括第一社交关系时,服务器获取上述已注册的联系人的通讯录;当第一用户对应的通讯标识存在于上述已注册的联系人的通讯录中,添加上述已注册的联系人到第一用户的第一社交关系中;当第一用户的社交关系包括第二社交关系时,服务器获取上述已注册的联系人的通讯录;当第一用户对应的通讯标识不存在于上述已注册的联系人的通讯录中,添加上述已注册的联系人到第一用户的第二社交关系中。Specifically, when the social relationship of the first user includes the first social relationship, the server acquires an address book of the registered contact; when the communication identifier corresponding to the first user exists in the address book of the registered contact, Adding the above registered contact to the first social relationship of the first user; when the social relationship of the first user includes the second social relationship, the server acquires the address book of the registered contact; when the first user corresponds The communication identifier does not exist in the address book of the above registered contact, and the above registered contact is added to the second social relationship of the first user.
例如,服务器上的用户都是用电话号码注册的账号,用户通过手机上传了更新后的第一用户的电话簿,第一用户的电话簿中新增了已注册的联系人:用户A、用户B和用户C,并且用户A、用户B和用户C的通讯录中都包括第一用户的电话号码,服务器判定用户A、用户B和用户C属于第一用户的好友圈,服务器将用户A、用户B和用户C添加到第一用户的第一社交关系中,并分别在用户A、用户B和用户C的好友圈中添加第一用户。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。 For example, the users on the server are all accounts registered by the phone number, and the user uploads the updated first user's phone book through the mobile phone, and the registered contacts are newly added in the first user's phone book: user A, user B and user C, and the address records of the user A, the user B, and the user C all include the phone number of the first user, and the server determines that the user A, the user B, and the user C belong to the circle of friends of the first user, and the server connects the user A, User B and user C are added to the first social relationship of the first user, and the first user is added to the circle of friends of user A, user B, and user C, respectively. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
又例如,服务器上的用户都是用电话号码注册的账号,用户通过手机第一次上传第一用户的电话簿,第一用户的电话簿中有一个已注册的联系人用户A,但是,用户A的通讯录中没有第一用户的电话号码,则服务器判定用户A属于第一用户的关注对象,同时,第一用户为用户A的崇拜者,服务器将用户A添加到第一用户的关注列表中,将第一用户添加到用户A的崇拜者列表中。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。For another example, the user on the server is an account registered with a phone number, and the user uploads the first user's phone book for the first time through the mobile phone, and the first user's phone book has a registered contact user A, but the user If there is no phone number of the first user in the address book of A, the server determines that user A belongs to the object of interest of the first user, and at the same time, the first user is the admirer of user A, and the server adds user A to the attention list of the first user. In the middle, the first user is added to the user A's list of worshippers. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
步骤S411:服务器根据第一用户的通讯录和第一用户已有的社交关系自动删除第一用户的社交关系。Step S411: The server automatically deletes the social relationship of the first user according to the address book of the first user and the social relationship existing by the first user.
具体的,基于所述第一用户的社交关系,服务器可遍历所述第一用户的关系人,当该关系人对应的通讯标识已不存在于所述第一用户的通讯录中,则可将该关系人从第一用户的社交关系中删除;其中,第一用户的关系人与各自唯一的通讯标识一一对应。当第一用户的通讯录发生更新后,第一终端向服务器上传第一用户的通讯录;服务器根据第一用户的更新后的通讯录,可将第一用户在社交关系数据库中过时的社交关系进行更新,可删除第一用户的社交关系中与第一用户没有社交联系的关系人。Specifically, based on the social relationship of the first user, the server may traverse the relationship person of the first user, and when the communication identifier corresponding to the relationship person does not exist in the address book of the first user, The related person is deleted from the social relationship of the first user; wherein the related persons of the first user have a one-to-one correspondence with the respective unique communication identifiers. After the first user's address book is updated, the first terminal uploads the first user's address book to the server; the server may use the first user's updated address book to set the first user's outdated social relationship in the social relationship database. The update may delete the relationship person in the social relationship of the first user who has no social connection with the first user.
具体的,基于上述内容,第一用户的社交关系包括第一社交关系和第二社交关系,服务器可根据第一用户的通讯录来删除第一社交关系中的关系人或者第二社交关系中的关系人。服务器可通过遍历第一用户的第一社交关系中的关系人,如果该关系人对应的通讯标识已不存在于第一用户的更新后的通讯录中,则可判定该关系人与第一用户的社交联系发生变化,可将该关系人从第一用户的第一社交关系中删除,并可从该关系人的第一社交关系中删除第一用户;服务器还可通过遍历第一用户的第二社交关系中的关系人,如果该关系人对应的通讯标识已不存在于第一用户的更新后的通讯录中,则可判定该关系人与第一用户不再有社交联系,可将该关系人从第一用户的第二社交关系中删除。Specifically, based on the foregoing content, the social relationship of the first user includes a first social relationship and a second social relationship, and the server may delete the related person in the first social relationship or the second social relationship according to the address book of the first user. Relationship person. The server may traverse the relationship person in the first social relationship of the first user, and if the communication identifier corresponding to the relationship person does not exist in the updated address book of the first user, the relationship person and the first user may be determined. The social connection changes, the related person may be deleted from the first social relationship of the first user, and the first user may be deleted from the first social relationship of the related person; the server may also traverse the first user by The relationship person in the second social relationship may determine that the relationship person does not have social contact with the first user if the corresponding communication identifier does not exist in the updated address book of the first user, The relationship person is deleted from the second social relationship of the first user.
步骤S413:第一终端与第二终端是否配对成功。Step S413: Whether the first terminal and the second terminal are successfully paired.
具体的,第一终端可向第二终端发送配对请求,根据第二终端提示的配对验证码,接收与配对验证码一致的输入来完成配对。该配对验证码可以由第二终端通过显示设备提示用户,也可以由第二终端以短信的方式提示用户,还可以是其他提示用户的方式,这里不作限制。第一终端可将接收的用户的输入返 回给第二终端;如果第二终端判定第一终端接收的输入与配对验证码一致,则接受第一终端的配对请求,第一终端与第二终端配对成功;否则,执行步骤S421,具体实现中,还可以结束当前进程,这里不作限制。Specifically, the first terminal may send a pairing request to the second terminal, and according to the pairing verification code prompted by the second terminal, receive an input consistent with the pairing verification code to complete the pairing. The pairing verification code may be prompted by the second terminal through the display device, or may be prompted by the second terminal by means of a short message, or may be other ways of prompting the user, which is not limited herein. The first terminal can return the input of the received user Returning to the second terminal; if the second terminal determines that the input received by the first terminal is consistent with the pairing verification code, accepting the pairing request of the first terminal, the first terminal and the second terminal are successfully paired; otherwise, executing step S421, the specific implementation is performed. In the middle, you can also end the current process, there is no limit here.
步骤S415:第一终端发送身份凭证至第二终端。Step S415: The first terminal sends the identity certificate to the second terminal.
具体的,在上述接收第一输入在服务器上注册第一用户之后,第一终端可接收服务器发送的身份凭证,并发送该身份凭证至第二终端;该身份凭证由服务器按预定的加密算法根据第一用户的注册信息产生的身份凭证;该身份凭证与第一用户一一对应。如步骤S101中所述,服务器可按预定的加密算法根据第一用户的注册信息产生身份凭证,并可将该身份凭证发送给第一终端;第一终端可在接收服务器发送的第一用户对应的身份凭证之后,将该身份凭证发送给第二终端。Specifically, after receiving the first input to register the first user on the server, the first terminal may receive the identity credential sent by the server, and send the identity credential to the second terminal; the identity credential is determined by the server according to a predetermined encryption algorithm. The identity certificate generated by the registration information of the first user; the identity certificate is in one-to-one correspondence with the first user. As described in step S101, the server may generate an identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and may send the identity credential to the first terminal; the first terminal may correspond to the first user sent by the receiving server. After the identity certificate, the identity certificate is sent to the second terminal.
步骤S417:第二终端向服务器请求获取第一用户的社交关系。Step S417: The second terminal requests the server to acquire the social relationship of the first user.
具体的,第二终端可向服务器发送获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证。服务器可从该请求中提取身份凭证,并可逆向解析出该身份凭证对应的用户的注册账号,可根据该注册账号在社交关系管理中匹配出该身份凭证对应的用户为第一用户,在社交关系数据库中获取第一用户对应的社交关系。第一用户对应的社交关系可用于第二终端进行社交活动。Specifically, the second terminal may send a request for acquiring the social relationship of the first user to the server, where the request includes the identity certificate corresponding to the first user. The server may extract the identity credential from the request, and may reversely parse the registered account of the user corresponding to the identity credential, and may match the user corresponding to the identity credential as the first user in the social relationship management according to the registered account, and socialize The social relationship corresponding to the first user is obtained in the relational database. The social relationship corresponding to the first user can be used for the second terminal to perform social activities.
步骤S419:服务器发送第一用户的社交关系至第二终端。Step S419: The server sends the social relationship of the first user to the second terminal.
具体的,服务器可逆向解析步骤S417中所述的身份凭证对应的用户的注册账号,可根据该注册账号在社交关系管理中匹配出该身份凭证对应的用户为第一用户,在社交关系数据库中获取第一用户对应的社交关系,将该社交关系发送给第二终端。例如,服务器接收到社交电视发送的32位的身份凭证“78F09384FAB3ED3E9416F5CDD0A2EF59”,该32位代码是将用户对应的社交账号按照MD5算法产生的,服务器解析出该社交账号为“13511112222”,并在社交关系数据库中获取社交账号“13511112222”对应的好友列表、关注列表和粉丝列表,将其发给社交电视。示例仅仅是实施例的一部分,实际应用中还可不同,不应构成限定。Specifically, the server may reversely parse the registered account of the user corresponding to the identity credential described in step S417, and may match the user corresponding to the identity credential as the first user in the social relationship management according to the registered account, in the social relationship database. Obtain a social relationship corresponding to the first user, and send the social relationship to the second terminal. For example, the server receives the 32-bit identity credential "78F09384FAB3ED3E9416F5CDD0A2EF59" sent by the social television. The 32-bit code is generated according to the MD5 algorithm of the social account corresponding to the user, and the server parses the social account as "13511112222" and is in social relationship. The buddy list, the attention list, and the fan list corresponding to the social account "13511112222" are obtained in the database, and are sent to the social TV. The examples are only a part of the embodiments, and may be different in practical applications and should not be construed as limiting.
步骤S421:第一终端主动请求与第二终端建立连接。 Step S421: The first terminal actively requests to establish a connection with the second terminal.
具体的,第一终端可扫描当前预定的短程通信网络,与第二终端建立短程通信连接;第二终端在该短程通信网络之中。其中,该短程通信网络可为数字生活网络联盟DLNA中支持的网络形式;第一终端可以监测同一短程通信网络中的设备,一旦发现第二终端也存在于该短程通信网络中,可主动请求来与第二终端建立短程通信连接。Specifically, the first terminal may scan the currently scheduled short-range communication network to establish a short-range communication connection with the second terminal; the second terminal is in the short-range communication network. The short-range communication network may be a network form supported by the Digital Living Network Alliance DLNA; the first terminal may monitor devices in the same short-range communication network, and if the second terminal is also found in the short-range communication network, the request may be actively requested. Establishing a short-range communication connection with the second terminal.
参见图5,是本发明的一种实施例提供的服务器500,至少可以包括注册模块501、通讯录接收模块507、关系人获取模块509、关系人添加模块511以及社交关系发送模块517,其中:Referring to FIG. 5, a server 500 according to an embodiment of the present invention may include at least a registration module 501, an address book receiving module 507, a relationship person obtaining module 509, a relationship person adding module 511, and a social relationship sending module 517, where:
注册模块501,用于接收第一终端注册的第一用户,将第一用户存储到社交关系数据库,社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应。The registration module 501 is configured to receive the first user registered by the first terminal, store the first user in the social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with the respective unique communication identifiers.
通讯录接收模块507,用于接收第一终端上传的第一用户的通讯录,该通讯录中各个联系人与各自唯一的通讯标识一一对应。The address book receiving module 507 is configured to receive an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier.
关系人获取模块509,用于根据社交关系数据库中已注册的用户来获取第一用户的通讯录中的已注册联系人,将该通讯录中的已注册的联系人作为第一用户的关系人。The related person obtaining module 509 is configured to obtain the registered contact in the address book of the first user according to the registered user in the social relationship database, and use the registered contact in the address book as the relationship person of the first user. .
关系人添加模块511,用于添加第一用户的关系人到第一用户的社交关系中。The relationship person adding module 511 is configured to add the relationship person of the first user to the social relationship of the first user.
社交关系发送模块517,用于将第一用户的社交关系发送到第二终端。The social relationship sending module 517 is configured to send the social relationship of the first user to the second terminal.
如图5所示的服务器,还可以包括:凭证模块503、鉴权模块505、关系人删除模块513以及发送预处理模块515,其中:The server shown in FIG. 5 may further include: a credential module 503, an authentication module 505, a relationship deletion module 513, and a transmission pre-processing module 515, where:
凭证模块503,用于在注册模块501执行接收第一终端注册的第一用户的步骤之后,按预定的加密算法根据第一用户的注册信息产生身份凭证;该身份凭证与第一用户一一对应;该身份凭证由第一终端用来上传第一用户的通讯录;该身份凭证由第二终端用来获取第一用户的社交关系。The credential module 503 is configured to generate, according to a predetermined encryption algorithm, the identity credential according to the registration information of the first user after the step of the registration module 501 performing the step of receiving the first user registered by the first terminal; the identity credential corresponds to the first user The identity credential is used by the first terminal to upload an address book of the first user; the identity credential is used by the second terminal to obtain the social relationship of the first user.
鉴权模块505,用于在通讯录接收模块507执行接收第一终端上传的第一用户的通讯录的步骤之前,接收第一终端发送的身份凭证;并对身份凭证进行鉴权,如果在社交关系数据库中找到身份凭证对应的第一用户,则判定鉴权成功,触发通讯录接收模块507执行接收第一终端上传的第一用户的通讯录的步 骤。The authentication module 505 is configured to: before the step of receiving the first user's address book uploaded by the first terminal by the address book receiving module 507, receiving the identity certificate sent by the first terminal; and authenticating the identity certificate, if If the first user corresponding to the identity certificate is found in the relational database, determining that the authentication is successful, triggering the address book receiving module 507 to perform the step of receiving the address record of the first user uploaded by the first terminal. Step.
关系人删除模块513,用于在通讯录接收模块507执行接收第一终端上传的第一用户的通讯录的步骤之后,基于第一用户的社交关系,遍历第一用户的关系人,当该关系人对应的通讯标识已不存在于第一用户的通讯录中,则将该关系人从第一用户的社交关系中删除。The relationship deletion module 513 is configured to: after the step of receiving the first user's address book uploaded by the first terminal by the address book receiving module 507, traverse the relationship person of the first user based on the social relationship of the first user, when the relationship If the communication identifier corresponding to the person does not exist in the address book of the first user, the relationship person is deleted from the social relationship of the first user.
发送预处理模块515,用于在社交关系发送模块517执行将第一用户的社交关系发送到第二终端的步骤之前,执行:接收第二终端发送的获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证;解析身份凭证来获取身份凭证对应的第一用户;搜索社交关系数据库来获取第一用户的社交关系;触发社交关系发送模块517执行将第一用户的社交关系发送到第二终端的步骤。The sending pre-processing module 515 is configured to: before the step of sending the social relationship of the first user to the second terminal by the social relationship sending module 517, perform: receiving, by the second terminal, a request for acquiring a social relationship of the first user, where The request includes the identity certificate corresponding to the first user; the identity voucher is parsed to obtain the first user corresponding to the identity voucher; the social relationship database is searched to obtain the social relationship of the first user; and the social relationship sending module 517 is triggered to perform the social process of the first user. The step of sending the relationship to the second terminal.
具体实现中,上述关系人添加模块511可以如图6所示进一步的包括:第一添加模块5111和第二添加模块5113,其中:In a specific implementation, the relationship adding module 511 may further include: a first adding module 5111 and a second adding module 5113, as shown in FIG. 6, wherein:
第一添加模块5111,用于当第一用户的社交关系包括第一社交关系时,获取第一用户的关系人的通讯录,第一用户的关系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当第一用户对应的通讯标识存在于第一用户的关系人的通讯录中,添加第一用户的关系人到第一用户的第一社交关系中。The first adding module 5111 is configured to: when the social relationship of the first user includes the first social relationship, obtain an address book of the relationship person of the first user, and each contact in the address book of the relationship of the first user is unique to each The communication identifier is in one-to-one correspondence; when the communication identifier corresponding to the first user exists in the address book of the relationship user of the first user, the relationship person of the first user is added to the first social relationship of the first user.
第二添加模块5113,用于当第一用户的社交关系包括第二社交关系时,获取第一用户的关系人的通讯录,第一用户的关系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当第一用户对应的通讯标识不存在于第一用户的关系人的通讯录中,添加第一用户的关系人到第一用户的第二社交关系中。The second adding module 5113 is configured to: when the social relationship of the first user includes the second social relationship, obtain an address book of the relationship person of the first user, where each contact in the address book of the first user is unique and unique The communication identifiers are in one-to-one correspondence; when the communication identifier corresponding to the first user does not exist in the address book of the relationship user of the first user, the relationship person of the first user is added to the second social relationship of the first user.
具体实现中,上述关系人获取模块509可以如图7所示进一步的包括:遍历模块5091和处理模块5093,其中:In a specific implementation, the relationship acquiring module 509 may further include: a traversing module 5091 and a processing module 5093, as shown in FIG. 7, wherein:
遍历模块5091,用于遍历第一用户的通讯录中的联系人;The traversing module 5091 is configured to traverse contacts in the first user's address book;
处理模块5093,当在社交关系数据库中找到已注册的用户对应的通讯标识与第一用户的通讯录中的联系人对应的通讯标识一致时,用于将该联系人归为该通讯录中已注册的联系人,将该通讯录中的已注册的联系人作为第一用户的关系人。The processing module 5093, when finding the communication identifier corresponding to the registered user in the social relationship database and the communication identifier corresponding to the contact in the address book of the first user, is used to classify the contact as being in the address book. The registered contact, the registered contact in the address book is the relationship of the first user.
具体实现中,上述发送预处理模块515可以如图8所示进一步的包括:接 收请求模块5151、解析模块5153和搜索模块5155,其中:In a specific implementation, the foregoing sending pre-processing module 515 may further include: Receiving a request module 5151, a parsing module 5153, and a search module 5155, wherein:
接收请求模块5151,用于接收第二终端发送的获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证;The receiving request module 5151 is configured to receive, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes an identity certificate corresponding to the first user;
解析模块5153,用于解析身份凭证来获取该身份凭证对应的第一用户;The parsing module 5153 is configured to parse the identity credential to obtain the first user corresponding to the identity credential;
搜索模块5155,用于搜索社交关系数据库来获取第一用户的社交关系。The searching module 5155 is configured to search a social relationship database to obtain a social relationship of the first user.
参见图9,是本发明的一种实施例提供的第一终端600,至少可以包括注册模块601、通讯录读取模块603以及通讯录上传模块605,其中:Referring to FIG. 9, a first terminal 600 according to an embodiment of the present invention may include at least a registration module 601, an address book reading module 603, and an address book uploading module 605, where:
注册模块601,用于接收第一输入在服务器上注册第一用户;第一用户由服务器存储于社交关系数据库,社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;The registration module 601 is configured to receive the first input to register the first user on the server; the first user is stored by the server in the social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with the respective unique communication identifiers;
通讯录读取模块603,用于通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录;第一用户的通讯录中各个联系人与各自唯一的通讯标识一一对应;The address book reading module 603 is configured to read the address book of the first user by responding to the update event of the first user's address book; each contact in the first user's address book has a one-to-one correspondence with each unique communication identifier;
通讯录上传模块605,用于上传第一用户的通讯录至服务器。The address book uploading module 605 is configured to upload the first user's address book to the server.
如图9所示的第一终端600还可以包括:凭证模块615、监听模块609、授权模块607、配对模块611和建立连接模块613,其中:The first terminal 600 shown in FIG. 9 may further include: a credential module 615, a listening module 609, an authorization module 607, a pairing module 611, and a connection establishing module 613, where:
凭证模块615,用于在通讯录上传模块605执行接收第一输入在服务器上注册第一用户的步骤之后,接收服务器发送的身份凭证,并发送该身份凭证至第二终端;该身份凭证由服务器按预定的加密算法根据第一用户的注册信息产生的身份凭证;该身份凭证与第一用户一一对应。The credential module 615 is configured to: after the step of receiving the first input to register the first user on the server, the address book uploading module 605, receiving the identity credential sent by the server, and sending the credential to the second terminal; the credential by the server The identity certificate generated according to the registration information of the first user according to a predetermined encryption algorithm; the identity certificate is in one-to-one correspondence with the first user.
监听模块609,用于在通讯录读取模块603执行通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录的步骤之前,监测第一用户的通讯录的更新事件;更新事件包括:添加、删除或编辑第一用户的通讯录中的联系人。The monitoring module 609 is configured to monitor an update event of the first user's address book before the step of reading the first user's address book by the address book reading module 603 in response to the update event of the first user's address book; Events include: adding, deleting, or editing contacts in the first user's address book.
授权模块607,用于在通讯录读取模块603执行通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录的步骤之前,接收第二输入来获得读取第一用户的通讯录的授权,之后,触发通讯录读取模块603执行通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录的步骤。The authorization module 607 is configured to: before the step of reading the first user's address book by the address book reading module 603 in response to the update event of the first user's address book, receive the second input to obtain the read first user Authorization of the address book, after that, the trigger address book reading module 603 performs the step of reading the address book of the first user by responding to the update event of the first user's address book.
配对模块611,用于在凭证模块615执行发送身份凭证至第二终端的步骤之前,向第二终端发送配对请求,根据第二终端提示的配对验证码,接收与配 对验证码一致的第三输入来完成配对,配对之后,触发凭证模块615执行发送身份凭证至第二终端的步骤。The pairing module 611 is configured to send a pairing request to the second terminal before the step of sending the identity credential to the second terminal by the credential module 615, and receive and match according to the pairing verification code prompted by the second terminal. The pairing is completed by the third input that is consistent with the verification code. After pairing, the triggering credential module 615 performs the step of transmitting the identity credential to the second terminal.
建立连接模块613,用于在配对模块611执行向第二终端发送配对请求的步骤之前,扫描当前预定的短程通信网络,接收第四输入与第二终端建立短程通信连接;第二终端在短程通信网络之中;之后,触发配对模块611执行向第二终端发送配对请求的步骤。Establishing a connection module 613, configured to scan a current predetermined short-range communication network before the pairing module 611 performs a step of sending a pairing request to the second terminal, and receive a fourth input to establish a short-range communication connection with the second terminal; the second terminal is in short-range communication In the network; afterwards, the trigger pairing module 611 performs the step of transmitting a pairing request to the second terminal.
参见图10,是本发明的一种实施例提供的第二终端700,至少可以包括社交关系获取模块701和社交关系处理模块709,其中:Referring to FIG. 10, a second terminal 700 according to an embodiment of the present invention may include at least a social relationship obtaining module 701 and a social relationship processing module 709, where:
社交关系获取模块701,用于从服务器获取第一用户的社交关系;第一用户的社交关系为服务器通过前述所有内容阐述的社交关系管理的方法而发送的社交关系。The social relationship obtaining module 701 is configured to acquire a social relationship of the first user from the server; the social relationship of the first user is a social relationship sent by the server by the method of social relationship management elaborated by all the foregoing content.
社交关系处理模块709,用于将第一用户的社交关系提供给社交应用。The social relationship processing module 709 is configured to provide the social relationship of the first user to the social application.
这里需要说明的是,社交关系处理模块709还可以将第一用户的社交关系用作其他的功能,这里不作限制。It should be noted that the social relationship processing module 709 can also use the social relationship of the first user as other functions, which is not limited herein.
如图10所示的第二终端700还可以包括:凭证接收模块705、配对模块703和请求模块707,其中:The second terminal 700 shown in FIG. 10 may further include: a credential receiving module 705, a pairing module 703, and a requesting module 707, where:
凭证接收模块705,用于在社交关系获取模块701执行从服务器获取第一用户的社交关系的步骤之前,接收第一终端发送的身份凭证;该身份凭证为第一终端通过注册第一用户从服务器获取的;该身份凭证与第一用户一一对应。The voucher receiving module 705 is configured to receive the identity credential sent by the first terminal before the step of acquiring the social relationship of the first user from the server by the social relationship obtaining module 701; the identity credential is the first terminal by registering the first user from the server Obtained; the identity certificate corresponds to the first user one by one.
配对模块703,用于在凭证接收模块705执行接收第一终端发送的身份凭证的步骤之前,接收第一终端的配对请求,提示配对验证码,该配对验证码用于提示用户在第一终端上输入配对验证码来完成配对;配对之后,触发凭证接收模块705执行接收第一终端发送的身份凭证的步骤。The pairing module 703 is configured to: before the step of the credential receiving module 705 performing the receiving the identity credential sent by the first terminal, receive a pairing request of the first terminal, and prompt the pairing verification code, where the pairing verification code is used to prompt the user to be on the first terminal. The pairing verification code is input to complete the pairing; after pairing, the triggering certificate receiving module 705 performs the step of receiving the identity certificate sent by the first terminal.
请求模块707,用于在凭证接收模块705执行接收第一终端发送的身份凭证的步骤之后,在社交关系获取模块701执行从服务器获取第一用户的社交关系的步骤之前,向服务器发送获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证。The requesting module 707 is configured to send, after the step of the credential receiving module 705, the receiving the identity credential sent by the first terminal, to the server, before the step of acquiring the social relationship of the first user from the server, before the step of acquiring the social relationship of the first user from the server A request for a social relationship of the user, the request including the identity certificate corresponding to the first user.
参见图11,图11是本发明的另一种实施例提供的服务器的结构示意图。其中,如图11所示,服务器110可以包括:至少一个处理器1101,例如CPU, 至少两个网络接口:第一网络接口1104和第二网络接口1103,存储器1105以及至少一个通信总线1102。其中,通信总线1102用于实现这些组件之间的连接通信。其中,存储器1105可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1105可选的还可以是至少一个位于远离前述处理器1101的存储装置。如图11所示,作为一种计算机存储介质的存储器1105中可以包括操作***、网络通信模块以及社交关系管理程序。Referring to FIG. 11, FIG. 11 is a schematic structural diagram of a server according to another embodiment of the present invention. Wherein, as shown in FIG. 11, the server 110 may include: at least one processor 1101, such as a CPU, At least two network interfaces: a first network interface 1104 and a second network interface 1103, a memory 1105, and at least one communication bus 1102. Among them, the communication bus 1102 is used to implement connection communication between these components. The memory 1105 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 1105 can also optionally be at least one storage device located remotely from the aforementioned processor 1101. As shown in FIG. 11, an operating system, a network communication module, and a social relationship management program may be included in the memory 1105 as a computer storage medium.
在图11所示的服务器110中,第一网络接口1104主要用于连接第一终端,与第一终端进行数据通信;第二网络接口1103主要用于连接第二终端,与第二终端进行数据通信;而处理器1101可以用于调用存储器1105中存储的社交关系管理程序,并执行以下操作:In the server 110 shown in FIG. 11, the first network interface 1104 is mainly used to connect to the first terminal, and performs data communication with the first terminal. The second network interface 1103 is mainly used to connect to the second terminal and perform data with the second terminal. The processor 1101 can be used to call the social relationship management program stored in the memory 1105 and perform the following operations:
接收第一终端注册的第一用户,将所述第一用户存储到社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;Receiving, by the first user registered by the first terminal, storing the first user in a social relationship database, where the registered individual users stored in the social relationship database are in one-to-one correspondence with respective unique communication identifiers;
接收所述第一终端上传的所述第一用户的通讯录,所述通讯录中各个联系人与各自唯一的通讯标识一一对应;Receiving, by the first terminal, an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier;
根据社交关系数据库中已注册的用户来获取所述通讯录中的已注册联系人,将所述通讯录中的已注册的联系人作为所述第一用户的关系人,添加所述关系人到所述第一用户的社交关系中;Acquiring the registered contact in the address book according to the registered user in the social relationship database, using the registered contact in the address book as the relationship person of the first user, adding the related person to In the social relationship of the first user;
将所述第一用户的社交关系发送到第二终端。Sending the social relationship of the first user to the second terminal.
进一步地,处理器1101执行的添加上述关系人到第一用户的社交关系中的步骤可以上包括:Further, the step of adding the foregoing relationship to the first user's social relationship performed by the processor 1101 may include:
当第一用户的社交关系包括第一社交关系时,获取上述已注册的联系人的通讯录,上述已注册的联系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当第一用户对应的通讯标识存在于上述已注册的联系人的通讯录中,添加上述已注册的联系人到第一用户的第一社交关系中;或者When the social relationship of the first user includes the first social relationship, the address book of the registered contact is obtained, and each contact in the address book of the registered contact has a one-to-one correspondence with each unique communication identifier; A communication identifier corresponding to a user exists in an address book of the registered contact, and adds the registered contact to the first social relationship of the first user; or
当第一用户的社交关系包括第二社交关系时,获取上述已注册的联系人的通讯录,上述已注册的联系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当第一用户对应的通讯标识不存在于上述已注册的联系人的通讯录中, 添加上述已注册的联系人到第一用户的第二社交关系中。When the social relationship of the first user includes the second social relationship, the address book of the registered contact is obtained, and each contact in the address book of the registered contact has a one-to-one correspondence with each unique communication identifier; The communication identifier corresponding to a user does not exist in the address book of the above registered contact, Add the above registered contact to the second social relationship of the first user.
再进一步地,处理器1101在执行接收第一终端上传的第一用户的通讯录的步骤之后,还可执行:基于第一用户的社交关系,遍历第一用户的关系人,当该关系人对应的通讯标识已不存在于第一用户的通讯录中,则将该关系人从第一用户的社交关系中删除。Further, after performing the step of receiving the address record of the first user uploaded by the first terminal, the processor 1101 may further perform: traversing the relationship person of the first user based on the social relationship of the first user, when the relationship person corresponds to The communication identifier does not exist in the first user's address book, and the relationship person is deleted from the first user's social relationship.
再进一步地,处理器1101执行的根据社交关系数据库中已注册的用户来获取第一用户的通讯录中的已注册联系人的步骤具体可包括:Further, the step of acquiring, by the processor 1101, the registered contact in the address book of the first user according to the registered user in the social relationship database may specifically include:
遍历第一用户的通讯录中的联系人,当在社交关系数据库中找到已注册的用户对应的通讯标识与该联系人对应的通讯标识一致时,将该联系人归为第一用户的通讯录中已注册的联系人。Traversing the contact in the first user's address book, when the communication identifier corresponding to the registered user is found in the social relationship database and the communication identifier corresponding to the contact is consistent, the contact is classified as the first user's address book. Registered contacts in .
再进一步地,处理器1101在执行接收第一终端注册的第一用户的步骤之后,还可以执行:按预定的加密算法根据第一用户的注册信息产生身份凭证,并将该身份凭证发送给第一终端;该身份凭证与第一用户一一对应;该身份凭证由第一终端用来上传第一用户的通讯录。Further, after performing the step of receiving the first user registered by the first terminal, the processor 1101 may further perform: generating a identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and sending the identity credential to the first a terminal; the identity certificate is in one-to-one correspondence with the first user; the identity certificate is used by the first terminal to upload the address book of the first user.
再进一步地,处理器1101在执行接收第一终端上传的第一用户的通讯录的步骤之前,还可执行的步骤包括:接收第一终端发送的身份凭证;并对该身份凭证进行鉴权,如果在社交关系数据库中找到该身份凭证对应的第一用户,则判定鉴权成功,触发执行所述接收第一终端上传的第一用户的通讯录的步骤。Further, before the step of receiving the address record of the first user uploaded by the first terminal, the processor 1101 may further perform the steps of: receiving the identity credential sent by the first terminal; and authenticating the identity credential. If the first user corresponding to the identity certificate is found in the social relationship database, determining that the authentication is successful, triggering the step of receiving the address book of the first user uploaded by the first terminal.
再进一步地,处理器1101在执行将第一用户的社交关系发送到第二终端之前,还可执行的步骤包括:Further, before the processor 1101 performs the sending of the social relationship of the first user to the second terminal, the steps that are further executable are:
接收第二终端发送的获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证;Receiving, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes an identity certificate corresponding to the first user;
解析身份凭证来获取身份凭证对应的第一用户;Resolving the identity credential to obtain the first user corresponding to the identity credential;
搜索社交关系数据库来获取第一用户的社交关系。Search the social relationship database to get the social relationship of the first user.
参见图12,图12是本发明的另一种实施例提供的第一终端的结构示意图。其中,如图12所示,第一终端120可以包括:至少一个处理器1201,例如CPU,至少两个网络接口:第一网络接口1204和第二网络接口1207,用户接口1203,存储器1205,至少一个通信总线1202以及显示屏1206。其中,通信总线1202用于实现这些组件之间的连接通信。其中,用户接口1203可以包 括触摸屏(Touch Screen),可选用户接口1203还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1205可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1205可选的还可以是至少一个位于远离前述处理器1201的存储装置。如图12所示,作为一种计算机存储介质的存储器1205中可以包括操作***、网络通信模块、用户接口模块以及社交关系管理程序。Referring to FIG. 12, FIG. 12 is a schematic structural diagram of a first terminal according to another embodiment of the present invention. As shown in FIG. 12, the first terminal 120 may include: at least one processor 1201, such as a CPU, at least two network interfaces: a first network interface 1204 and a second network interface 1207, a user interface 1203, a memory 1205, at least A communication bus 1202 and a display screen 1206. Among them, the communication bus 1202 is used to implement connection communication between these components. Wherein, the user interface 1203 can be packaged Including a touch screen (Touch Screen), the optional user interface 1203 may also include a standard wired interface, a wireless interface. The network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface). The memory 1205 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 1205 can optionally also be at least one storage device located remotely from the aforementioned processor 1201. As shown in FIG. 12, an operating system, a network communication module, a user interface module, and a social relationship management program may be included in the memory 1205 as a computer storage medium.
在图12所示的第一终端120中,第一网络接口1204主要用于连接服务器,与服务器进行数据通信;第二网络接口1203主要用于连接第二终端,与第二终端进行数据通信;而处理器1201可以用于调用存储器1205中存储的社交关系管理程序,并执行以下操作:In the first terminal 120 shown in FIG. 12, the first network interface 1204 is mainly used to connect to a server, and performs data communication with the server; the second network interface 1203 is mainly used to connect to the second terminal and perform data communication with the second terminal; The processor 1201 can be used to call the social relationship management program stored in the memory 1205 and perform the following operations:
接收第一输入在服务器上注册第一用户;所述第一用户由所述服务器存储于社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;Receiving the first input, registering the first user on the server; the first user is stored by the server in a social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with respective unique communication identifiers;
通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录;所述通讯录中各个联系人与各自唯一的通讯标识一一对应;Reading the first user's address book by responding to the update event of the first user's address book; each contact in the address book has a one-to-one correspondence with each unique communication identifier;
上传所述第一用户的通讯录至所述服务器。Uploading the first user's address book to the server.
进一步地,处理器1201在执行接收第一输入在服务器上注册第一用户的步骤之后,还可执行:接收服务器发送的身份凭证,并发送该身份凭证至第二终端;该身份凭证由服务器按预定的加密算法根据第一用户的注册信息产生的身份凭证;该身份凭证与第一用户一一对应。Further, after performing the step of receiving the first input to register the first user on the server, the processor 1201 may further: receive the identity credential sent by the server, and send the credential to the second terminal; the credential is pressed by the server The predetermined encryption algorithm generates an identity certificate according to the registration information of the first user; the identity certificate is in one-to-one correspondence with the first user.
再进一步地,处理器1201在执行通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录的步骤之前,还可以监测第一用户的通讯录的更新事件;更新事件包括:添加、删除或编辑第一用户的通讯录中的联系人。Further, the processor 1201 may further monitor an update event of the first user's address book before performing the step of reading the first user's address book by responding to the update event of the first user's address book; the update event includes: Add, delete, or edit contacts in the first user's address book.
再进一步地,处理器1201在执行通过响应第一用户的通讯录的更新事件来读取第一用户的通讯录的步骤之前,还可执行:接收第二输入来获得读取第一用户的通讯录的授权,根据该授权来读取第一用户的通讯录。Further, before the step of reading the first user's address book by performing an update event in response to the first user's address book, the processor 1201 may further perform: receiving the second input to obtain the communication of reading the first user. The recorded authorization reads the first user's address book according to the authorization.
再进一步地,处理器1201在执行发送身份凭证至第二终端之前,还可执行:向第二终端发送配对请求,根据第二终端提示的配对验证码,接收与配对 验证码一致的第三输入来完成配对;配对之后,触发执行所述发送所述身份凭证至所述第二终端的步骤。Further, before performing the sending of the identity credential to the second terminal, the processor 1201 may further perform: sending a pairing request to the second terminal, and receiving and pairing according to the pairing verification code prompted by the second terminal. The third input with the verification code is consistent to complete the pairing; after the pairing, the step of transmitting the identity certificate to the second terminal is triggered.
再进一步地,处理器1201在执行向第二终端发送配对请求的步骤之前,还可执行:扫描当前预定的短程通信网络,接收第四输入与第二终端建立短程通信连接;之后,触发执行所述向所述第二终端发送配对请求的步骤。Further, before performing the step of sending a pairing request to the second terminal, the processor 1201 may further perform: scanning a currently scheduled short-range communication network, receiving the fourth input to establish a short-range communication connection with the second terminal; and then triggering the execution The step of sending a pairing request to the second terminal.
参见图13,图13是本发明的另一种实施例提供的第二终端的结构示意图。其中,如图13所示,第二终端130可以包括:至少一个处理器1301,例如CPU,至少两个网络接口:第一网络接口1304和第二网络接口1307,用户接口1303,存储器1305,至少一个通信总线1302以及显示屏1306。其中,通信总线1302用于实现这些组件之间的连接通信。其中,用户接口1303可以包括触摸屏(Touch Screen),可选用户接口1303还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1305可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1305可选的还可以是至少一个位于远离前述处理器1301的存储装置。如图13所示,作为一种计算机存储介质的存储器1305中可以包括操作***、网络通信模块、用户接口模块以及社交关系管理程序。Referring to FIG. 13, FIG. 13 is a schematic structural diagram of a second terminal according to another embodiment of the present invention. As shown in FIG. 13, the second terminal 130 may include: at least one processor 1301, such as a CPU, at least two network interfaces: a first network interface 1304 and a second network interface 1307, a user interface 1303, a memory 1305, at least A communication bus 1302 and a display 1306. Among them, the communication bus 1302 is used to implement connection communication between these components. The user interface 1303 may include a touch screen, and the optional user interface 1303 may further include a standard wired interface and a wireless interface. The network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface). The memory 1305 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 1305 can also optionally be at least one storage device located remotely from the aforementioned processor 1301. As shown in FIG. 13, an operating system, a network communication module, a user interface module, and a social relationship management program may be included in the memory 1305 as a computer storage medium.
在图13所示的第一终端130中,第一网络接口1304主要用于连接服务器,与服务器进行数据通信;第二网络接口1303主要用于连接第一终端,与第一终端进行数据通信;而处理器1301可以用于调用存储器1305中存储的社交关系管理程序,并执行以下操作:In the first terminal 130 shown in FIG. 13 , the first network interface 1304 is mainly used to connect to the server, and performs data communication with the server; the second network interface 1303 is mainly used to connect to the first terminal and perform data communication with the first terminal; The processor 1301 can be used to call the social relationship management program stored in the memory 1305 and perform the following operations:
从服务器获取第一用户的社交关系。Get the social relationship of the first user from the server.
进一步地,处理器1301在执行从服务器获取第一用户的社交关系的步骤之前,接收第一终端发送的身份凭证;该身份凭证为第一终端通过注册第一用户从服务器获取的;该身份凭证与第一用户一一对应。Further, the processor 1301 receives the identity credential sent by the first terminal before performing the step of acquiring the social relationship of the first user from the server; the identity credential is obtained by the first terminal from the server by registering the first user; the identity credential One-to-one correspondence with the first user.
再进一步地,处理器1301在执行接收第一终端发送的身份凭证的步骤之后,在执行从服务器获取第一用户的社交关系的步骤之前,还可执行:向服务器发送获取第一用户的社交关系的请求,该请求中包括第一用户对应的身份凭证。 Further, after performing the step of receiving the identity credential sent by the first terminal, the processor 1301 may further perform: sending, to the server, the social relationship of acquiring the first user, before performing the step of acquiring the social relationship of the first user from the server. The request includes the identity certificate corresponding to the first user.
再进一步地,处理器1301在执行接收第一终端发送的身份凭证的步骤之前,还可执行:接收第一终端的配对请求,提示配对验证码,配对验证码用于提示用户在第一终端上输入配对验证码来完成配对;配对之后,触发执行接收第一终端发送的身份凭证的步骤。Further, before performing the step of receiving the identity credential sent by the first terminal, the processor 1301 may further perform: receiving a pairing request of the first terminal, prompting a pairing verification code, and the pairing verification code is used to prompt the user to be on the first terminal. The pairing verification code is input to complete the pairing; after pairing, the step of receiving the identity certificate sent by the first terminal is triggered.
上述详细阐述了本发明实施例提供的社交关系管理的设备,下面为了便于更好地实施本发明实施例的上述方案,相应地,下面还提供实施上述方案的***。参见图14,是本发明的另一种实施例提供的社交关系管理***,包括:服务器1401、第一终端1403和第二终端1405,其中:The foregoing describes the device for implementing the social relationship management provided by the embodiment of the present invention. In order to facilitate the implementation of the foregoing solution of the embodiment of the present invention, a system for implementing the foregoing solution is provided below. Referring to FIG. 14, a social relationship management system according to another embodiment of the present invention includes: a server 1401, a first terminal 1403, and a second terminal 1405, where:
服务器1401可以为上述图5至图8任意一个实施例中的服务器500,可选的该服务器1401还可以为上述图11所示实施例中的服务器110;服务器1401中的各个功能模块可以参考上述实施例中服务器500或服务器110的描述,这里不再赘述。The server 1401 may be the server 500 in any one of the foregoing embodiments of FIG. 5 to FIG. 8. The server 1401 may also be the server 110 in the embodiment shown in FIG. 11; the functional modules in the server 1401 may refer to the foregoing. The description of the server 500 or the server 110 in the embodiment is not described herein again.
第一终端1403可以为上述图9所示的实施例中的第一终端600,可选的该第一终端1403还可以为上述图12所示实施例中的第一终端120;第一终端1403中的各个功能模块可以参考上述实施例中第一终端600或第一终端120的描述,这里不再赘述。The first terminal 1403 may be the first terminal 600 in the embodiment shown in FIG. 9 , and the first terminal 1403 may also be the first terminal 120 in the foregoing embodiment shown in FIG. 12; the first terminal 1403 Reference may be made to the description of the first terminal 600 or the first terminal 120 in the foregoing embodiment, and details are not described herein again.
第二终端1405可以为上述图10所示的实施例中的第二终端700,可选的该第二终端1405还可以为上述图13所示实施例中的第二终端130;第二终端1405中的各个功能模块可以参考上述实施例中第二终端700或第二终端130的描述,这里不再赘述。The second terminal 1405 may be the second terminal 700 in the embodiment shown in FIG. 10, and the second terminal 1405 may also be the second terminal 130 in the foregoing embodiment shown in FIG. 13; the second terminal 1405 Reference may be made to the description of the second terminal 700 or the second terminal 130 in the foregoing embodiment, and details are not described herein again.
综上所述,通过实施本发明实施例,服务器接收第一终端注册的第一用户,接收第一终端上传的第一用户的通讯录,根据第一用户的通讯录和已注册的用户自动生成第一用户的社交关系,在第一用户的通讯录更新后,服务器根据第一终端上传的更新后的第一用户的通讯录来自动更新第一用户的社交关系,提供第一用户的社交关系给第二终端,可实现自动生成、更新社交关系,可减少社交电视侧的用户操作,可实现社交关系跨平台管理。In summary, by implementing the embodiment of the present invention, the server receives the first user registered by the first terminal, receives the address record of the first user uploaded by the first terminal, and automatically generates the address according to the first user's address book and the registered user. The first user's social relationship, after the first user's address book is updated, the server automatically updates the social relationship of the first user according to the updated first user's address book uploaded by the first terminal, and provides the first user's social relationship. The second terminal can automatically generate and update social relationships, reduce user operations on the social TV side, and realize cross-platform management of social relationships.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。 The above disclosure is only a preferred embodiment of the present invention, and of course, the scope of the present invention is not limited thereto, and those skilled in the art can understand all or part of the process of implementing the above embodiments, and according to the present invention. The equivalent changes required are still within the scope of the invention.

Claims (35)

  1. 一种社交关系管理的方法,其特征在于,包括:A method of social relationship management, comprising:
    接收第一终端注册的第一用户,将所述第一用户存储到社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;Receiving, by the first user registered by the first terminal, storing the first user in a social relationship database, where the registered individual users stored in the social relationship database are in one-to-one correspondence with respective unique communication identifiers;
    接收所述第一终端上传的所述第一用户的通讯录,所述通讯录中各个联系人与各自唯一的通讯标识一一对应;Receiving, by the first terminal, an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier;
    根据社交关系数据库中已注册的用户来获取所述通讯录中的已注册联系人,将所述通讯录中的已注册的联系人作为所述第一用户的关系人,添加所述关系人到所述第一用户的社交关系中;Acquiring the registered contact in the address book according to the registered user in the social relationship database, using the registered contact in the address book as the relationship person of the first user, adding the related person to In the social relationship of the first user;
    将所述第一用户的社交关系发送到第二终端。Sending the social relationship of the first user to the second terminal.
  2. 如权利要求1所述的方法,其特征在于,所述第一用户的社交关系包括第一社交关系;所述添加所述关系人到所述第一用户的社交关系中包括:The method of claim 1, wherein the social relationship of the first user comprises a first social relationship; and the adding the relationship to the social relationship of the first user comprises:
    获取所述已注册的联系人的通讯录,所述已注册的联系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当所述第一用户对应的通讯标识存在于所述已注册的联系人的通讯录中,添加所述已注册的联系人到所述第一用户的第一社交关系中;或者Acquiring an address book of the registered contact, each contact in the address book of the registered contact has a one-to-one correspondence with each unique communication identifier; when the communication identifier corresponding to the first user exists in the In the address book of the registered contact, adding the registered contact to the first social relationship of the first user; or
    所述第一用户的社交关系包括第二社交关系;所述添加所述关系人到所述第一用户的社交关系中包括:The social relationship of the first user includes a second social relationship; the adding the relationship to the social relationship of the first user includes:
    获取所述已注册的联系人的通讯录,所述已注册的联系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当所述第一用户对应的通讯标识不存在于所述已注册的联系人的通讯录中,添加所述已注册的联系人到所述第一用户的第二社交关系中。Acquiring an address book of the registered contact, each contact in the address book of the registered contact has a one-to-one correspondence with each unique communication identifier; when the communication identifier corresponding to the first user does not exist in the In the address book of the registered contact, the registered contact is added to the second social relationship of the first user.
  3. 如权利要求1所述的方法,其特征在于,所述第一用户的关系人与各自唯一的通讯标识一一对应;The method according to claim 1, wherein the relationship persons of the first user are in one-to-one correspondence with respective unique communication identifiers;
    在所述接收所述第一终端上传的所述第一用户的通讯录之后,还包括: After the receiving the first user's address book uploaded by the first terminal, the method further includes:
    基于所述第一用户的社交关系,遍历所述第一用户的关系人,当所述关系人对应的通讯标识已不存在于所述第一用户的通讯录中,则将所述关系人从所述第一用户的社交关系中删除。Traversing the relationship person of the first user based on the social relationship of the first user, and when the communication identifier corresponding to the relationship person does not exist in the address book of the first user, the relationship person is The first user's social relationship is deleted.
  4. 如权利要求1所述的方法,其特征在于,所述根据社交关系数据库中已注册的用户来获取所述通讯录中的已注册联系人包括:The method of claim 1, wherein the obtaining the registered contacts in the address book according to the registered users in the social relationship database comprises:
    遍历所述第一用户的通讯录中的联系人,当在所述社交关系数据库中找到已注册的用户对应的通讯标识与所述联系人对应的通讯标识一致时,将所述联系人归为所述通讯录中的已注册的联系人。Traversing the contacts in the address book of the first user, when the communication identifier corresponding to the registered user is found in the social relationship database, and the communication identifier corresponding to the contact is consistent, the contact is classified as The registered contact in the address book.
  5. 如权利要求1所述的方法,其特征在于,在所述接收第一终端注册的第一用户之后,按预定的加密算法根据所述第一用户的注册信息产生身份凭证,并将所述身份凭证发送给所述第一终端;所述身份凭证与所述第一用户一一对应;所述身份凭证由所述第一终端用来上传所述第一用户的通讯录。The method according to claim 1, wherein after receiving the first user registered by the first terminal, generating a identity credential according to the registration information of the first user according to a predetermined encryption algorithm, and The credential is sent to the first terminal; the identity credential is in one-to-one correspondence with the first user; and the identity credential is used by the first terminal to upload an address book of the first user.
  6. 如权利要求5所述的方法,其特征在于,在所述接收所述第一终端上传的所述第一用户的通讯录之前,包括:The method of claim 5, before the receiving the first user's address book uploaded by the first terminal, comprising:
    接收第一终端发送的身份凭证;并对所述身份凭证进行鉴权,如果在所述社交关系数据库中找到所述身份凭证对应的第一用户,则判定鉴权成功,执行所述接收所述第一终端上传的所述第一用户的通讯录的步骤。Receiving the identity credential sent by the first terminal; and authenticating the identity credential, if the first user corresponding to the identity credential is found in the social relationship database, determining that the authentication succeeds, performing the receiving The step of uploading the first user's address book by the first terminal.
  7. 如权利要求5所述的方法,其特征在于,在所述将所述第一用户的社交关系发送到第二终端之前,包括:The method of claim 5, wherein before the sending the social relationship of the first user to the second terminal, the method comprises:
    接收所述第二终端发送的获取所述第一用户的社交关系的请求,所述请求中包括所述第一用户对应的身份凭证;Receiving, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes an identity certificate corresponding to the first user;
    解析所述身份凭证来获取所述身份凭证对应的第一用户;Parsing the identity credential to obtain a first user corresponding to the identity credential;
    搜索所述社交关系数据库来获取所述第一用户的社交关系;执行所述将所述第一用户的社交关系发送到第二终端的步骤。 Searching the social relationship database to acquire the social relationship of the first user; performing the step of transmitting the social relationship of the first user to the second terminal.
  8. 一种社交关系管理的方法,其特征在于,包括:A method of social relationship management, comprising:
    接收第一输入在服务器上注册第一用户;所述第一用户由所述服务器存储于社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;Receiving the first input, registering the first user on the server; the first user is stored by the server in a social relationship database, and the registered individual users stored in the social relationship database are in one-to-one correspondence with respective unique communication identifiers;
    通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录;所述通讯录中各个联系人与各自唯一的通讯标识一一对应;Reading the first user's address book by responding to the update event of the first user's address book; each contact in the address book has a one-to-one correspondence with each unique communication identifier;
    上传所述第一用户的通讯录至所述服务器。Uploading the first user's address book to the server.
  9. 如权利要求8所述的方法,其特征在于,在所述接收第一输入在服务器上注册第一用户之后,接收所述服务器发送的身份凭证,并发送所述身份凭证至所述第二终端;所述身份凭证由所述服务器按预定的加密算法根据所述第一用户的注册信息产生的身份凭证;所述身份凭证与所述第一用户一一对应。The method according to claim 8, wherein after receiving the first input to register the first user on the server, receiving the identity credential sent by the server, and transmitting the identity credential to the second terminal And the identity credential is generated by the server according to a predetermined encryption algorithm according to the registration information of the first user; the identity credential is in one-to-one correspondence with the first user.
  10. 如权利要求8所述的方法,其特征在于,在所述通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录之前,包括:The method according to claim 8, wherein before the reading of the first user's address book by the update event in response to the first user's address book, the method comprises:
    监测所述第一用户的通讯录的更新事件;所述更新事件包括:添加、删除或编辑所述第一用户的通讯录中的联系人;Monitoring an update event of the first user's address book; the update event includes: adding, deleting, or editing a contact in the first user's address book;
    当所述更新事件发生时,执行所述通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录的步骤。When the update event occurs, the step of reading the first user's address book by responding to the update event of the first user's address book is performed.
  11. 如权利要求8所述的方法,其特征在于,在所述通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录之前,接收第二输入来获得读取所述第一用户的通讯录的授权,根据所述授权来读取所述第一用户的通讯录。The method of claim 8 wherein said second input is received to obtain a read before said first user's address book is read by an update event in response to said first user's address book Authorizing the first user's address book to read the first user's address book according to the authorization.
  12. 如权利要求9所述的方法,其特征在于,在所述发送所述身份凭证至所述第二终端之前,向所述第二终端发送配对请求,根据所述第二终端提示的配对验证码,接收与所述配对验证码一致的第三输入来完成配对,所述配对之后,执行所述发送所述身份凭证至所述第二终端的步骤。 The method according to claim 9, wherein before the sending the identity credential to the second terminal, sending a pairing request to the second terminal, according to the pairing verification code prompted by the second terminal And receiving a third input that is consistent with the pairing verification code to complete pairing, and after the pairing, performing the step of sending the identity certificate to the second terminal.
  13. 如权利要求12所述的方法,其特征在于,在所述向所述第二终端发送配对请求之前,扫描当前预定的短程通信网络,接收第四输入与所述第二终端建立短程通信连接;所述第二终端在所述短程通信网络之中;之后,执行所述向所述第二终端发送配对请求的步骤。The method according to claim 12, wherein before the sending of the pairing request to the second terminal, scanning a currently scheduled short-range communication network, receiving a fourth input to establish a short-range communication connection with the second terminal; The second terminal is in the short-range communication network; and thereafter, the step of transmitting a pairing request to the second terminal is performed.
  14. 一种社交关系管理的方法,其特征在于,包括:A method of social relationship management, comprising:
    从服务器获取第一用户的社交关系;所述第一用户的社交关系为服务器通过权利要求1-13任一项所述的社交关系管理的方法而发送的社交关系;Obtaining a social relationship of the first user from the server; the social relationship of the first user is a social relationship sent by the server by the method of social relationship management according to any one of claims 1-13;
    将所述第一用户的社交关系提供给社交应用。Providing the first user's social relationship to the social application.
  15. 如权利要求14所述的方法,其特征在于,在所述从服务器获取第一用户的社交关系之前,接收第一终端发送的身份凭证;所述身份凭证为所述第一终端通过注册所述第一用户从服务器获取的;所述身份凭证与所述第一用户一一对应。The method according to claim 14, wherein the identity credential sent by the first terminal is received before the slave server acquires the social relationship of the first user; the identity credential is The first user is obtained from the server; the identity certificate is in one-to-one correspondence with the first user.
  16. 如权利要求15所述的方法,其特征在于,在所述接收第一终端发送的身份凭证之后,在从服务器获取第一用户的社交关系之前,向所述服务器发送获取所述第一用户的社交关系的请求,所述请求中包括所述第一用户对应的身份凭证。The method according to claim 15, wherein after receiving the identity credential sent by the first terminal, sending the acquiring the first user to the server before acquiring the social relationship of the first user from the server A request for a social relationship, the request including the identity certificate corresponding to the first user.
  17. 如权利要求15所述的方法,其特征在于,在所述接收第一终端发送的身份凭证之前,接收所述第一终端的配对请求,提示配对验证码,所述配对验证码用于提示用户在所述第一终端上输入所述配对验证码来完成所述配对;所述配对之后,执行所述接收第一终端发送的身份凭证的步骤。The method according to claim 15, wherein before receiving the identity credential sent by the first terminal, receiving a pairing request of the first terminal, prompting a pairing verification code, the pairing verification code is used to prompt the user The pairing verification code is input on the first terminal to complete the pairing; after the pairing, the step of receiving the identity certificate sent by the first terminal is performed.
  18. 一种社交关系管理的服务器,其特征在于,包括:A server for social relationship management, comprising:
    注册模块,用于接收第一终端注册的第一用户,将所述第一用户存储到社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通 讯标识一一对应;a registration module, configured to receive a first user registered by the first terminal, and store the first user in a social relationship database, where the registered individual users stored in the social relationship database are uniquely connected to each other One-to-one correspondence
    通讯录接收模块,用于接收所述第一终端上传的所述第一用户的通讯录,所述通讯录中各个联系人与各自唯一的通讯标识一一对应;The address book receiving module is configured to receive an address book of the first user uploaded by the first terminal, where each contact in the address book has a one-to-one correspondence with each unique communication identifier;
    关系人获取模块,用于根据社交关系数据库中已注册的用户来获取所述通讯录中的已注册联系人,将所述通讯录中的已注册的联系人作为所述第一用户的关系人;a related person obtaining module, configured to acquire a registered contact in the address book according to a registered user in the social relationship database, and use the registered contact in the address book as a relationship person of the first user ;
    关系人添加模块,用于添加所述关系人到所述第一用户的社交关系中;a relationship person adding module, configured to add the relationship person to a social relationship of the first user;
    社交关系发送模块,用于将所述第一用户的社交关系发送到第二终端。a social relationship sending module, configured to send the social relationship of the first user to the second terminal.
  19. 如权利要求18所述的服务器,其特征在于,所述关系人添加模块包括:The server according to claim 18, wherein said relationship adding module comprises:
    第一添加模块,用于当所述第一用户的社交关系包括第一社交关系时,获取所述关系人的通讯录,所述关系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当所述第一用户对应的通讯标识存在于所述关系人的通讯录中,添加所述关系人到所述第一用户的第一社交关系中;或者a first adding module, configured to: when the social relationship of the first user includes the first social relationship, obtain an address book of the related person, where each contact in the contact person's address book has a unique communication identifier Corresponding to; when the communication identifier corresponding to the first user exists in the address book of the relationship person, adding the relationship person to the first social relationship of the first user; or
    第二添加模块,用于当所述第一用户的社交关系包括第二社交关系时,获取所述关系人的通讯录,所述关系人的通讯录中各个联系人与各自唯一的通讯标识一一对应;当所述第一用户对应的通讯标识不存在于所述关系人的通讯录中,添加所述关系人到所述第一用户的第二社交关系中。a second adding module, configured to: when the social relationship of the first user includes a second social relationship, obtain an address book of the related person, where each contact in the contact person's address book has a unique communication identifier a correspondence; when the communication identifier corresponding to the first user does not exist in the address book of the relationship person, adding the relationship person to the second social relationship of the first user.
  20. 如权利要求18所述的服务器,其特征在于,还包括关系人删除模块,用于在所述通讯录接收模块执行所述接收所述第一终端上传的所述第一用户的通讯录的步骤之后,基于所述第一用户的社交关系,遍历所述第一用户的关系人,当所述关系人对应的通讯标识已不存在于所述第一用户的通讯录中,则将所述关系人从所述第一用户的社交关系中删除。The server according to claim 18, further comprising a relationship deletion module, configured to perform the step of receiving, by the address book receiving module, the address book of the first user uploaded by the first terminal Afterwards, based on the social relationship of the first user, traversing the relationship person of the first user, when the communication identifier corresponding to the relationship person does not exist in the address book of the first user, the relationship is The person is deleted from the social relationship of the first user.
  21. 如权利要求18所述的服务器,其特征在于,所述关系人获取模块The server according to claim 18, wherein said relationship person acquisition module
    包括:遍历模块,用于遍历所述第一用户的通讯录中的联系人;The method includes: a traversal module, configured to traverse contacts in the first user's address book;
    处理模块,用于当在所述社交关系数据库中找到已注册的用户对应的通讯 标识与所述联系人对应的通讯标识一致时,将所述联系人归为所述通讯录中已注册的联系人,将所述通讯录中的已注册的联系人作为所述第一用户的关系人。a processing module, configured to find a communication corresponding to the registered user in the social relationship database When the identifier corresponding to the contact is consistent, the contact is classified as a registered contact in the address book, and the registered contact in the address book is used as the first user. Relationship person.
  22. 如权利要求18所述的服务器,其特征在于,还包括凭证模块,用于在所述注册模块执行所述接收第一终端注册的第一用户的步骤之后,按预定的加密算法根据所述第一用户的注册信息产生身份凭证,发送所述身份凭证至第一终端;所述身份凭证与所述第一用户一一对应;所述身份凭证由所述第一终端用来上传所述第一用户的通讯录;所述身份凭证由所述第二终端用来获取所述第一用户的社交关系。The server according to claim 18, further comprising a credential module, configured to perform, according to the step of performing, the step of receiving the first user registered by the first terminal, according to the predetermined encryption algorithm The registration information of a user generates an identity certificate, and the identity certificate is sent to the first terminal; the identity certificate is in one-to-one correspondence with the first user; the identity certificate is used by the first terminal to upload the first The user's address book; the identity certificate is used by the second terminal to acquire the social relationship of the first user.
  23. 如权利要求22所述的服务器,其特征在于,还包括:The server of claim 22, further comprising:
    鉴权模块,用于在所述通讯录接收模块执行所述接收所述第一终端上传的所述第一用户的通讯录的步骤之前,接收第一终端发送的身份凭证;并对所述身份凭证进行鉴权,如果在所述社交关系数据库中找到所述身份凭证对应的所述第一用户,则判定鉴权成功,触发所述通讯录接收模块执行所述接收所述第一终端上传的所述第一用户的通讯录的步骤。An authentication module, configured to receive, before the step of receiving the first user's address book uploaded by the first terminal by the address book receiving module, receiving the identity certificate sent by the first terminal; The credential is authenticated, if the first user corresponding to the identity credential is found in the social relationship database, determining that the authentication is successful, triggering the address book receiving module to perform the receiving the first terminal uploading The step of the first user's address book.
  24. 如权利要求22所述的服务器,其特征在于,还包括:The server of claim 22, further comprising:
    发送预处理模块,用于在所述将所述第一用户的社交关系发送到第二终端的步骤之前,执行包括:And a sending pre-processing module, configured to: before the step of sending the social relationship of the first user to the second terminal, performing:
    接收所述第二终端发送的获取所述第一用户的社交关系的请求,所述请求中包括所述第一用户对应的身份凭证;Receiving, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes an identity certificate corresponding to the first user;
    解析所述身份凭证来获取所述身份凭证对应的第一用户;Parsing the identity credential to obtain a first user corresponding to the identity credential;
    搜索所述社交关系数据库来获取所述第一用户的社交关系;Searching the social relationship database to obtain the social relationship of the first user;
    之后,触发所述发送模块执行所述将所述第一用户的社交关系发送到第二终端的步骤。Thereafter, the sending module is triggered to perform the step of transmitting the social relationship of the first user to the second terminal.
  25. 如权利要求24所述的服务器,其特征在于,所述发送预处理模块包括: The server according to claim 24, wherein the sending pre-processing module comprises:
    接收请求模块,用于接收所述第二终端发送的获取所述第一用户的社交关系的请求,所述请求中包括所述第一用户对应的身份凭证;Receiving, by the second terminal, a request for acquiring a social relationship of the first user, where the request includes an identity certificate corresponding to the first user;
    解析模块,用于解析所述身份凭证来获取所述身份凭证对应的第一用户;a parsing module, configured to parse the identity credential to obtain a first user corresponding to the identity credential;
    搜索模块,用于搜索所述社交关系数据库来获取所述第一用户的社交关系。And a search module, configured to search the social relationship database to obtain the social relationship of the first user.
  26. 一种社交关系管理的第一终端,其特征在于,包括:A first terminal for social relationship management, comprising:
    注册模块,用于接收第一输入在服务器上注册第一用户;所述第一用户由所述服务器存储于社交关系数据库,所述社交关系数据库存储的已注册的各个用户与各自唯一的通讯标识一一对应;a registration module, configured to receive a first input to register a first user on a server; the first user is stored by the server in a social relationship database, and the registered respective users stored in the social relationship database and respective unique communication identifiers One-to-one correspondence;
    通讯录读取模块,用于通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录;所述通讯录中各个联系人与各自唯一的通讯标识一一对应;The address book reading module is configured to read the address book of the first user by responding to an update event of the first user's address book; each contact in the address book has a one-to-one correspondence with each unique communication identifier ;
    通讯录上传模块,用于上传所述第一用户的通讯录至所述服务器。The address book uploading module is configured to upload the address book of the first user to the server.
  27. 如权利要求26所述的第一终端,其特征在于,还包括凭证模块,用于在所述注册模块执行所述接收第一输入在服务器上注册第一用户的步骤之后,接收所述服务器发送的身份凭证,并发送所述身份凭证至所述第二终端;所述身份凭证由所述服务器按预定的加密算法根据所述第一用户的注册信息产生的身份凭证;所述身份凭证与所述第一用户一一对应。The first terminal according to claim 26, further comprising a credential module, configured to receive, after the step of the registration module performing the receiving the first input, registering the first user on the server And the identity voucher is sent to the second terminal; the identity voucher is generated by the server according to a predetermined encryption algorithm according to the registration information of the first user; the identity voucher and the The first user corresponds one-to-one.
  28. 如权利要求26所述的第一终端,其特征在于,还包括:The first terminal of claim 26, further comprising:
    监听模块,用于在所述通讯录读取模块执行所述通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录的步骤之前,监测所述第一用户的通讯录的更新事件;所述更新事件包括:添加、删除或编辑所述第一用户的通讯录中的联系人;a monitoring module, configured to monitor the first user before the step of reading, by the address book reading module, the address book of the first user by responding to an update event of the first user's address book An update event of the address book; the update event includes: adding, deleting, or editing a contact in the first user's address book;
    当所述更新事件发生时,触发所述通讯录读取模块执行所述通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录的步骤。When the update event occurs, triggering the address book reading module to perform the step of reading the first user's address book by responding to an update event of the first user's address book.
  29. 如权利要求26所述的第一终端,其特征在于,还包括授权模块,用 于在所述通讯录读取模块执行所述通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录的步骤之前,接收第二输入来获得读取所述第一用户的通讯录的授权,之后,触发所述通讯录读取模块执行所述通过响应所述第一用户的通讯录的更新事件来读取所述第一用户的通讯录的步骤。The first terminal according to claim 26, further comprising an authorization module, Receiving the second input to obtain the reading, before the step of reading the first user's address book by the address book reading module by performing an update event in response to the first user's address book Authorizing the first user's address book, and then triggering the address book reading module to perform the step of reading the first user's address book by responding to the first user's address book update event.
  30. 如权利要求27所述的第一终端,其特征在于,还包括配对模块,用于在所述凭证模块执行所述发送所述身份凭证至所述第二终端的步骤之前,向所述第二终端发送配对请求,根据所述第二终端提示的配对验证码,接收与所述配对验证码一致的第三输入来完成配对,所述配对之后,触发所述凭证模块执行所述发送所述身份凭证至所述第二终端的步骤。The first terminal according to claim 27, further comprising a pairing module, configured to: before said step of said credential module performing said transmitting said identity credential to said second terminal Sending, by the terminal, a pairing request, according to the pairing verification code prompted by the second terminal, receiving a third input that is consistent with the pairing verification code to complete pairing, after the pairing, triggering the credential module to perform the sending the identity The step of credential to the second terminal.
  31. 如权利要求30所述的第一终端,其特征在于,还包括建立连接模块,用于在所述配对模块执行所述向所述第二终端发送配对请求的步骤之前,扫描当前预定的短程通信网络,接收第四输入与所述第二终端建立短程通信连接;所述第二终端在所述短程通信网络之中;之后,触发所述配对模块执行所述向所述第二终端发送配对请求的步骤。The first terminal according to claim 30, further comprising a connection establishing module, configured to scan the currently scheduled short-range communication before the pairing module performs the step of transmitting the pairing request to the second terminal a network, receiving a fourth input to establish a short-range communication connection with the second terminal; the second terminal is in the short-range communication network; and then triggering the pairing module to perform the sending a pairing request to the second terminal A step of.
  32. 一种社交关系管理的第二终端,其特征在于,包括:A second terminal for social relationship management, comprising:
    社交关系获取模块,用于从服务器获取第一用户的社交关系;所述第一用户的社交关系为服务器通过权利要求1-13任一项所述的社交关系管理的方法而发送的社交关系;a social relationship obtaining module, configured to acquire a social relationship of the first user from the server; the social relationship of the first user is a social relationship sent by the server by the method of social relationship management according to any one of claims 1-13;
    社交关系处理模块,用于将所述第一用户的社交关系提供给社交应用。The social relationship processing module is configured to provide the social relationship of the first user to the social application.
  33. 如权利要求32所述的第二终端,其特征在于,还包括凭证接收模块,用于在所述社交关系获取模块执行所述从服务器获取第一用户的社交关系的步骤之前,接收第一终端发送的身份凭证;所述身份凭证为所述第一终端通过注册所述第一用户从服务器获取的;所述身份凭证与所述第一用户一一对应。The second terminal according to claim 32, further comprising a voucher receiving module, configured to receive the first terminal before the step of the social relationship obtaining module performing the obtaining the social relationship of the first user from the server And the identity credential is obtained by the first terminal by registering the first user from the server; the identity credential is in one-to-one correspondence with the first user.
  34. 如权利要求33所述的第二终端,其特征在于,还包括配对模块,用 于在所述凭证接收模块执行所述接收第一终端发送的身份凭证的步骤之前,接收所述第一终端的配对请求,提示配对验证码,所述配对验证码用于提示用户在所述第一终端上输入所述配对验证码来完成所述配对;所述配对之后,触发所述凭证接收模块执行所述接收第一终端发送的身份凭证的步骤。The second terminal according to claim 33, further comprising a pairing module, Before the step of the receiving, by the voucher receiving module, the receiving the identity voucher sent by the first terminal, receiving a pairing request of the first terminal, prompting a pairing verification code, where the pairing verification code is used to prompt the user to be in the The pairing verification code is input on a terminal to complete the pairing; after the pairing, the certificate receiving module is triggered to perform the step of receiving the identity certificate sent by the first terminal.
  35. 如权利要求33所述的第二终端,其特征在于,还包括请求模块,用于在所述凭证接收模块执行所述接收第一终端发送的身份凭证的步骤之后,在所述社交关系获取模块执行所述从服务器获取第一用户的社交关系的步骤之前,向所述服务器发送获取所述第一用户的社交关系的请求,所述请求中包括所述第一用户对应的身份凭证。 The second terminal according to claim 33, further comprising a requesting module, configured to: after the step of the credential receiving module performing the receiving the identity credential sent by the first terminal, in the social relationship acquiring module Before the step of acquiring the social relationship of the first user from the server, the server sends a request for acquiring the social relationship of the first user, where the request includes the identity certificate corresponding to the first user.
PCT/CN2015/073673 2014-07-09 2015-03-05 Social relation management method, device and system WO2016004768A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410325432.X 2014-07-09
CN201410325432.XA CN104123350B (en) 2014-07-09 2014-07-09 A kind of method, equipment and the system of social networks management

Publications (1)

Publication Number Publication Date
WO2016004768A1 true WO2016004768A1 (en) 2016-01-14

Family

ID=51768761

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073673 WO2016004768A1 (en) 2014-07-09 2015-03-05 Social relation management method, device and system

Country Status (2)

Country Link
CN (1) CN104123350B (en)
WO (1) WO2016004768A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123350B (en) * 2014-07-09 2018-05-15 深圳创维数字技术有限公司 A kind of method, equipment and the system of social networks management
CN104519391A (en) * 2014-12-09 2015-04-15 常璨 Social system based on Internet television programs and working method of social system
CN105391816B (en) * 2015-11-25 2019-03-01 小米科技有限责任公司 The recommended method and device of special list
CN106294813A (en) 2016-08-15 2017-01-04 歌尔股份有限公司 A kind of method and apparatus of smart machine person recognition
CN107948291B (en) * 2017-11-28 2021-06-01 西安万像电子科技有限公司 Terminal control method, device and system
CN111460049A (en) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 Content sharing method and device, electronic equipment and computer readable storage medium
CN111523862B (en) * 2020-04-27 2024-02-23 广东电网有限责任公司培训与评价中心 Method and related equipment for acquiring talent data
CN115002269B (en) * 2021-03-01 2023-03-24 华为技术有限公司 Method, device and system for reading address book and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891860A (en) * 2012-10-24 2013-01-23 北京深思洛克软件技术股份有限公司 Method for securely establishing relationships among contacts
CN103401758A (en) * 2013-07-11 2013-11-20 惠州Tcl移动通信有限公司 Communication method and system based on data network
US20140089412A1 (en) * 2010-10-01 2014-03-27 Wallrust, Inc. Method and System for Connecting People in a Social Network
CN104123350A (en) * 2014-07-09 2014-10-29 深圳创维数字技术股份有限公司 Social relation management method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090404A (en) * 2007-05-31 2007-12-19 ***通信集团广东有限公司 User matching method based on mobile phone address term
CN102843308A (en) * 2011-06-23 2012-12-26 腾讯科技(深圳)有限公司 Instant messaging method and system based on mobile terminal local address book

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089412A1 (en) * 2010-10-01 2014-03-27 Wallrust, Inc. Method and System for Connecting People in a Social Network
CN102891860A (en) * 2012-10-24 2013-01-23 北京深思洛克软件技术股份有限公司 Method for securely establishing relationships among contacts
CN103401758A (en) * 2013-07-11 2013-11-20 惠州Tcl移动通信有限公司 Communication method and system based on data network
CN104123350A (en) * 2014-07-09 2014-10-29 深圳创维数字技术股份有限公司 Social relation management method, device and system

Also Published As

Publication number Publication date
CN104123350A (en) 2014-10-29
CN104123350B (en) 2018-05-15

Similar Documents

Publication Publication Date Title
WO2016004768A1 (en) Social relation management method, device and system
JP6354407B2 (en) Authentication system, authentication method, program, and communication system
RU2635889C2 (en) Method and device for creating group, method and device to exit group
EP2706719B1 (en) File synchronization method and device
CN106130881B (en) A kind of account number login method and device
JP2019075161A (en) Service processing method, device, and server
US9118736B2 (en) Communication control system, server device, and communication control method
KR102087526B1 (en) Method and apparatus, device and storage medium for data processing between terminals
US20160142383A1 (en) Information processing apparatus, control method, and program
WO2016045484A1 (en) Remote control method and terminal
JP6107196B2 (en) Management system, management method and program
TW201411402A (en) Synchronizing handles for user accounts across multiple electronic devices
US10327121B2 (en) Instrument and system
WO2014086222A1 (en) Method and apparatus for setting video call parameters and sending capability parameters
KR20110136585A (en) Apparatus and method of registring personal network
US10470041B2 (en) Control device, wireless communication control method, and wireless communication control program
US11163827B2 (en) Video processing method, device, terminal and storage medium
US10798047B2 (en) Systems, devices and methods for text message communication
WO2015117362A1 (en) Method and device for sharing personal information on terminal
JP6385100B2 (en) Information processing apparatus, information processing system, information processing apparatus control method, and computer program
JP2013065297A (en) Data shared system
WO2017136979A1 (en) Implementation method, apparatus and system for remote access
TW201741895A (en) Method, apparatus and system for checking change of telephone number
WO2018099376A1 (en) Access method and server
JP6234099B2 (en) Information communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15819396

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 17/03/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15819396

Country of ref document: EP

Kind code of ref document: A1