CN106850703B - Communication method based on social identity and server - Google Patents

Communication method based on social identity and server Download PDF

Info

Publication number
CN106850703B
CN106850703B CN201510868009.9A CN201510868009A CN106850703B CN 106850703 B CN106850703 B CN 106850703B CN 201510868009 A CN201510868009 A CN 201510868009A CN 106850703 B CN106850703 B CN 106850703B
Authority
CN
China
Prior art keywords
terminal
communication
information
party server
association
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510868009.9A
Other languages
Chinese (zh)
Other versions
CN106850703A (en
Inventor
赵振刚
李俭
韩建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510868009.9A priority Critical patent/CN106850703B/en
Priority to PCT/CN2016/097941 priority patent/WO2017088548A1/en
Publication of CN106850703A publication Critical patent/CN106850703A/en
Application granted granted Critical
Publication of CN106850703B publication Critical patent/CN106850703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

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

Abstract

The embodiment of the invention discloses a communication method based on social identity, which is applied to a third-party server; the method comprises the following steps: acquiring a first social identity and a first communication identifier corresponding to a receiver terminal; selecting an information association strategy corresponding to the receiver terminal; establishing association between the first social identity and a first communication identifier according to an information association policy corresponding to the receiver terminal to obtain first association information; and controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information, wherein the communication link is used for representing the communication link established between the sender terminal and the receiver terminal through the third-party server. The embodiment of the invention also provides a server.

Description

Communication method based on social identity and server
Technical Field
The invention relates to a communication technology, in particular to a communication method and a server based on social identity.
Background
The existing common communication modes are two, namely traditional mobile communication based on telephone numbers and OTT communication based on social identity; however, both of the above communication methods have the following problems:
(1) a communication identity (such as a telephone number or a social identity) on which the user heavily depends is not protected from privacy, for example, if the user wants to communicate with the user, the user's telephone number must be acquired;
(2) for users with various social identities, the various social identities cannot be associated, so that a platform which can uniformly manage the various social identities, has flexible communication capacity and meets the privacy requirements of the users is lacked;
thus, when the user faces a scene, the user experience is reduced, for example, the user a urgently finds the user B, but the user a only has an account number of the user B in a certain social network, does not have a phone number of the user B, and the user B does not log on the social network, and at this time, the user a cannot communicate with the user B in time; however, with respect to the above problems, there is no effective solution in the related art; therefore, a new communication method is needed to solve the above problems, so as to satisfy different requirements of users and improve user experience.
Disclosure of Invention
In order to solve the existing technical problem, the embodiment of the invention provides a communication method and a server based on social identity, which can realize the unification of the social identity and a communication identifier and lay a foundation for meeting the requirement of a user on privacy.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a communication method based on social identity, which is applied to a third-party server; the method comprises the following steps:
acquiring a first social identity and a first communication identifier corresponding to a receiver terminal; selecting an information association strategy corresponding to the receiver terminal; establishing association between the first social identity and a first communication identifier according to an information association policy corresponding to the receiver terminal to obtain first association information; and controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information, wherein the communication link is used for representing the communication link established between the sender terminal and the receiver terminal through the third-party server.
In the foregoing solution, the establishing, according to an information association policy corresponding to the receiver terminal, an association between the first social identity and the first communication identifier to obtain first association information includes: generating a first verification identifier according to the first social identity and the first communication identifier, and sending the first verification identifier to the receiving party terminal; receiving a second verification identifier sent by the receiving party terminal; judging whether the first verification identification is matched with the second verification identification; and when the first verification identification is matched with the second verification identification, establishing association between the first social identity and the first communication identification to obtain first association information.
In the above scheme, the method further comprises: receiving a first communication request sent by a sender terminal, wherein the first communication request represents a request for communication of a receiver terminal corresponding to a first social identity, which is initiated by the sender terminal;
correspondingly, the obtaining a first social identity and a first communication identifier corresponding to a receiver terminal and selecting an information association policy corresponding to the receiver terminal includes: selecting an information association strategy corresponding to the receiver terminal; sending authorization request information to the receiving terminal according to the information association strategy; receiving authorization response information based on the authorization request information sent by the receiving terminal; acquiring a first social identity and a first communication identifier corresponding to the receiver terminal according to the authorization response information;
correspondingly, the establishing of the association between the first social identity and the first communication identifier according to the information association policy corresponding to the receiver terminal to obtain first association information includes: and establishing association between the first social identity and the first communication identifier according to the authorization response information to obtain first association information.
In the above scheme, the method further comprises: detecting whether a communication module corresponding to the receiver terminal stores a first social identity or not; when the detection result indicates that the communication module corresponding to the receiver terminal stores the first social identity, correspondingly, the obtaining of the first social identity and the first communication identifier corresponding to the receiver terminal and the selecting of the information association policy corresponding to the receiver terminal include: selecting an information association strategy corresponding to the receiver terminal; sending authorization request information to the receiving terminal according to the information association strategy; receiving authorization response information based on the authorization request information sent by the receiving terminal; acquiring a first social identity and a first communication identifier corresponding to the receiver terminal according to the authorization response information;
correspondingly, the establishing of the association between the first social identity and the first communication identifier according to the information association policy corresponding to the receiver terminal to obtain first association information includes: and establishing association between the first social identity and the first communication identifier according to the authorization response information to obtain first association information.
In the above scheme, the method further comprises: acquiring the current second user state information of the receiver terminal; judging whether the second user state information meets a preset access right, wherein the preset access right is an access right which is sent by the receiving party terminal and is set according to the first user state information of the receiving party terminal; the preset access right represents that the current second user state information of the receiver terminal is matched with the first user state information;
correspondingly, the controlling the third-party server to establish the communication link between the sender terminal and the receiver terminal by using the first association information includes: and when the second user state information meets the preset access right, controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information.
In the above scheme, the first user state information includes a preset region corresponding to the first user state information and/or a preset time range, which are set by the receiver terminal;
correspondingly, the preset access right is used for representing that the second user state information is in the preset area and/or in the preset time range
In the above scheme, the method further comprises: receiving a first management strategy sent by the receiving party terminal; and after the third-party server establishes a communication link between the sender terminal and the receiver terminal, determining whether to send the first communication identifier corresponding to the first associated information to the sender terminal according to the first management strategy.
In the above scheme, the method further comprises: acquiring a second social identity and a second communication identifier of the sender terminal; selecting an information association strategy corresponding to the sender terminal; establishing association between the second social identity and a second communication identity according to an information association strategy corresponding to the sender terminal to obtain second association information; receiving a second management strategy sent by the sender terminal; and after the third-party server establishes a communication link between the sender terminal and the receiver terminal, determining whether to send a second communication identifier corresponding to the second association information to the receiver terminal according to the second management strategy.
An embodiment of the present invention further provides a third-party server, including: the system comprises an acquisition unit, a communication unit and a communication unit, wherein the acquisition unit is used for acquiring a first social identity and a first communication identifier corresponding to a receiving party terminal; a strategy selecting unit, configured to select an information association strategy corresponding to the receiver terminal; the association information generating unit is used for establishing association between the first social identity and the first communication identifier according to an information association strategy corresponding to the receiving party terminal to obtain first association information; and the control unit is used for controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information, wherein the communication link is used for representing the communication link established between the sender terminal and the receiver terminal through the third-party server.
In the above scheme, the association information generating unit is further configured to generate a first verification identifier according to the first social identity and the first communication identifier, and send the first verification identifier to the receiver terminal; the second verification identifier is also used for receiving a second verification identifier sent by the receiving party terminal; the first verification identifier is used for identifying the first verification identifier and the second verification identifier; and when the first verification identification is matched with the second verification identification, establishing association between the first social identity and the first communication identification to obtain first association information.
In the above solution, the third-party server further includes a first receiving unit; the first receiving unit is configured to receive a first communication request sent by a sender terminal, where the first communication request represents a request for communication of a receiver terminal, which is initiated by the sender terminal and corresponds to a first social identity; the obtaining unit is further configured to send authorization request information to the receiver terminal according to the information association policy; the terminal is also used for receiving authorization response information which is sent by the receiving party terminal and is based on the authorization request information; the first communication module is further used for acquiring a first social identity and a first communication identifier corresponding to the receiving party terminal according to the authorization response information; the association information generating unit is further configured to establish an association between the first social identity and the first communication identifier according to the authorization response information, so as to obtain first association information.
In the above solution, the third-party server further includes a detection unit; the detection unit is used for detecting whether a communication module corresponding to the receiver terminal stores a first social identity or not; the policy selecting unit is further configured to select an information association policy corresponding to the receiver terminal when the detection result indicates that the communication module corresponding to the receiver terminal stores the first social identity; the obtaining unit is further configured to send authorization request information to the receiver terminal according to the information association policy; the terminal is also used for receiving authorization response information which is sent by the receiving party terminal and is based on the authorization request information; the first communication module is further used for acquiring a first social identity and a first communication identifier corresponding to the receiving party terminal according to the authorization response information; the association information generating unit is further configured to establish an association between the first social identity and the first communication identifier according to the authorization response information, so as to obtain first association information.
In the above solution, the third-party server further includes a determining unit; the acquiring unit is further configured to acquire current second user state information of the receiving terminal; the judging unit is used for judging whether the second user state information meets a preset access right, wherein the preset access right is an access right which is sent by the receiving party terminal and is set according to the first user state information of the receiving party terminal; the preset access right represents that the current second user state information of the receiver terminal is matched with the first user state information; the control unit is further configured to control the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information when the second user state information satisfies the preset access right.
In the above scheme, the first user state information includes a preset region corresponding to the first user state information and/or a preset time range, which are set by the receiver terminal;
correspondingly, the preset access right is used for representing that the second user state information is in the preset area and/or in the preset time range.
In the foregoing solution, the third-party server further includes: a second receiving unit; the second receiving unit is further configured to receive a first management policy sent by the receiving terminal; the control unit is further configured to determine whether to send the first communication identifier corresponding to the first association information to the sender terminal according to the first management policy after the third-party server establishes the communication link between the sender terminal and the receiver terminal.
In the above scheme, the obtaining unit is further configured to obtain a second social identity and a second communication identifier of the sender terminal; the strategy selection unit is also used for selecting an information association strategy corresponding to the sender terminal; the association information generating unit is further configured to establish association between the second social identity and the second communication identity according to an information association policy corresponding to the sender terminal, so as to obtain second association information; the second receiving unit is further configured to receive a second management policy sent by the sender terminal; the control unit is further configured to determine whether to send a second communication identifier corresponding to the second association information to the receiver terminal according to the second management policy after the third-party server establishes a communication link between the sender terminal and the receiver terminal.
According to the communication method and the server based on the social identity, on one hand, the purpose that the social identity corresponding to the user and the communication identification are unified is achieved by the third-party server, so that when the user has multiple social identities, the third-party server can unify the multiple social identities, and further a communication foundation is laid for flexible communication, the requirement of the user on privacy and the like; on the other hand, because the third-party server associates the social identity corresponding to the user with the communication identifier, specifically, the third-party server associates the first social identity of the receiver terminal with the first communication identifier, when the sender terminal communicates with the receiver terminal in advance, even if the sender terminal does not acquire the first communication identifier of the receiver terminal, the communication process based on the first communication identifier can be realized, that is, the sender terminal and the receiver terminal realize the communication process based on the first communication identifier through the third-party server, the existing communication mode is changed, the user experience is enriched, and further, a communication basis is laid for meeting the privacy requirement of the user.
Drawings
FIG. 1 is a schematic diagram of an implementation flow of a communication method based on social identities according to an embodiment of the present invention;
fig. 2 is a first schematic structural diagram of a third-party server according to an embodiment of the present invention;
FIG. 3 is a first flowchart illustrating a specific implementation of a social identity based communication method according to an embodiment of the present invention;
fig. 4 is a second specific structural diagram of a third-party server according to an embodiment of the present invention;
FIG. 5 is a second flowchart illustrating a specific implementation of a social identity based communication method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a receiver terminal according to an embodiment of the present invention;
FIG. 7 is a third flowchart illustrating a specific implementation of a social identity based communication method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a sender terminal according to an embodiment of the present invention;
fig. 9 is a fourth flowchart illustrating a specific implementation of the social identity-based communication method according to the embodiment of the present invention.
Detailed Description
The basic idea of the embodiment of the invention is as follows: the third-party server acquires a first social identity and a first communication identifier corresponding to the receiver terminal; selecting an information association strategy corresponding to the receiver terminal; establishing association between the first social identity and a first communication identifier according to an information association policy corresponding to the receiver terminal to obtain first association information; and controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information, wherein the communication link is used for representing the communication link established between the sender terminal and the receiver terminal through the third-party server. Therefore, the user experience is enriched, and a communication foundation is laid for meeting the requirement of the user on privacy.
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
FIG. 1 is a schematic diagram of an implementation flow of a communication method based on social identities according to an embodiment of the present invention; the method is applied to a third-party server; the third-party server can be communicated with the receiving terminal and the sending terminal respectively; as shown in fig. 1, the method includes:
step 101: acquiring a first social identity and a first communication identifier corresponding to a receiver terminal;
in this embodiment, the social identity may specifically include a name of the social identity platform and a user name in the social identity platform; wherein the social identity platform is any identity platform capable of providing user authentication; for example, an instant messaging application platform, an email application platform, a game application platform, and the like, specifically, taking the email application platform as an example, the social identity is a name of the email application platform and a user name represented in the email address form in the email application platform; taking a game application platform as an example, the social identity is the name of the game application platform and the user name in the game application platform; taking the instant messaging application platform as an example, the social identity is the name of the instant messaging application platform and the user name in the instant messaging application platform; the terminal of the receiving party can log in the instant messaging application platform by inputting a user name and a password, and at the moment, the first social identity is the name of the instant messaging application platform and the user name corresponding to the terminal of the receiving party.
In this embodiment, the communication identifier may specifically represent a basic communication identity identifier in the basic communication capability; the basic communication capability refers to the capability provided by an operator (including a virtual operator), which has unique identification (such as a telephone number and an email) in the world and can provide communication services (such as short messages and telephones) with high reliability; the basic communication identity can be a telephone number in mobile communication; that is, the communication identifier in this embodiment may be a telephone number.
Step 102: selecting an information association strategy corresponding to the receiver terminal;
in this embodiment, the execution order of the step 101 and the step 102 may be exchanged.
Step 103: establishing association between the first social identity and a first communication identifier according to an information association policy corresponding to the receiver terminal to obtain first association information;
in this embodiment, the first association information may be stored in the third-party server in the form of a correspondence table; specifically, the first association information at least includes the following information: the name of the social identity platform, the user name in the social identity platform and the communication identification; here, it should be understood by those skilled in the art that the specific content of the first associated information may be arbitrarily set according to the actual situation, for example, the first associated information may further specifically include a management policy corresponding to the communication identifier, a preset access right, and the like.
Step 104: and controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information, wherein the communication link is used for representing the communication link established between the sender terminal and the receiver terminal through the third-party server.
In this embodiment, there are three ways for establishing the association between the first social identity and the first communication identifier to obtain the first association information, where the three ways are:
the first mode is an explicit mode; the terminal of the receiving party authenticates the first communication identifier through the third-party server; specifically, the receiving party terminal acquires a first communication identifier input by a user through a social identity platform, sends the first communication identifier and a first social identity to the third-party server, and authenticates whether the first communication identifier is a valid identifier through the third-party server; for example, after receiving a first communication identifier and a first social identity sent by a receiver user, the third-party server generates a first verification code, sends the first verification code to the receiver terminal, and determines that a second verification code sent by the receiver terminal is received within a preset time range, and if the second verification code is the same as the first verification code, the authentication is successful; and the third-party server associates the first communication identifier passing the authentication with the first social identity. The method comprises the following specific steps:
the third-party server generates a first verification identifier according to the first social identity and the first communication identifier, and sends the first verification identifier to the receiving party terminal; receiving a second verification identifier sent by the receiving party terminal; judging whether the first verification identification is matched with the second verification identification; and when the first verification identification is matched with the second verification identification, establishing association between the first social identity and the first communication identification to obtain first association information.
In a specific embodiment, the first social identity may also be associated with the first communication identifier through an open authorization (OAuth), for example, an OAuth2.0 platform; specifically, a receiver terminal obtains a first communication identifier input by a user through a social identity platform, the social identity platform authenticates the first communication identifier by itself, or authenticates the first communication identifier through an authentication platform corresponding to the social identity platform, and after the first communication identifier is authenticated to be valid, the receiver terminal sends the first social identity and the first communication identifier to a third-party server, so that the third-party server associates the received first social identity with the first communication identifier.
Mode two, semi-automatic trigger formula: the third-party server receives a first communication request sent by a sender terminal, wherein the first communication request represents a request for communication of a receiver terminal corresponding to a first social identity and initiated by the sender terminal, then the third-party server selects an information association strategy corresponding to the receiver terminal, sends authorization request information to the receiver terminal according to the information association strategy, receives authorization response information based on the authorization request information and sent by the receiver terminal, and further obtains a first social identity and a first communication identifier corresponding to the receiver terminal according to the authorization response information so as to establish association between the first social identity and the first communication identifier according to the authorization response information and obtain first association information;
for example, a third-party server receives a communication request based on the social identity of a receiver terminal initiated by a sender terminal for the first time, and the receiver terminal does not have related information in the third-party server, at this time, the third-party server can coordinate with the receiver terminal through a public account provided by a social identity platform to acquire a communication identifier of the receiver terminal; that is to say, when the third-party server receives a communication request initiated by a sender terminal in a social identity (such as a first social identity) manner of a receiver terminal for the first time, and a communication identifier of the receiver terminal is not stored in the third-party server, at this time, the third-party server negotiates with the receiver terminal through a "public account provided by a social identity platform" so as to obtain a basic communication identity of the receiver terminal; for example, a user a sends a short message to an instant messaging application platform user B through a third-party server, and at this time, the third-party server does not store the associated information of the user B, for example, the phone number of the user B; the third-party server communicates with the user B through a public account in an instant messaging application platform to inquire whether the user B can acquire the telephone number of the user B, and after the user B authorizes the third-party server to acquire the telephone number of the user B, the third-party server provides basic communication proxy service for the user B; furthermore, the user A can realize a communication process based on the telephone number of the user B with the user B through the third-party server, at the moment, the user A can directly send a short message or call the user B, but the telephone number of the user B cannot be known by the user A, and the requirement of the user B on number privacy is met.
Here, in practical applications, the third-party server may cooperate with a social identity platform; for example, the third-party server establishes a public account in the social identity platform, if the public account of the third-party server is permitted by the user B in the social identity platform, the third-party server may access the phone number registered by the user B in the social identity platform, and when the user a initiates a phone call request through the social identity of the user B, the third-party server may directly contact the user B by phone in an automatic/manual manner to obtain user authorization.
In a third mode, the integrated mode is applied; the third-party server detects whether a communication module corresponding to the receiver terminal stores a first social identity; when the detection result indicates that the communication module corresponding to the receiver terminal stores the first social identity, the third-party server selects an information association strategy corresponding to the receiver terminal and sends authorization request information to the receiver terminal according to the information association strategy; and then, the third-party server receives authorization response information based on the authorization request information, which is sent by the receiver terminal, acquires a first social identity and a first communication identifier corresponding to the receiver terminal according to the authorization response information, and establishes association between the first social identity and the first communication identifier according to the authorization response information to obtain first association information.
For example, an open platform, such as an Application Programming Interface (API), is provided by a Subscriber Identity Module (SIM) of a mobile communication carrier, or other terminal-based secure storage module, or a secure communication module, and a multimodal authentication and multi-stage authentication platform is provided by using terminal, network, and cloud data; furthermore, after the user passes the platform authentication successfully, the social identity of the user can be written into the SIM or the secure storage module or the secure communication module, and further, after the user logs in the social identity platform by the social identity, the third-party server can inquire whether the user wants to associate the social identity with the communication identifier in the third-party server, so that a foundation is laid for the user to open the basic communication capability by the social identity. For example, after the user B successfully authenticates in the authentication platform, the social identity of the user B is written into the SIM of the terminal corresponding to the user B, when the third-party server detects that the user B logs in the social identity platform with the social identity, the third-party server inquires whether the user B would like to associate the social identity with the communication identifier in the third-party server, and when the user B would like to log in the social identity platform with the social identity, the third-party server provides basic communication agent service for the user B.
In this embodiment, the first communication request may specifically be a social access request, where the social access request refers to a communication request based on basic communication capability, which is initiated by a sender terminal to a receiver terminal using a first social identity; that is, the first communication request specifically characterizes a communication request initiated by the sender terminal to the receiver terminal using the first social identity and based on the first communication identifier, for example, a phone number.
Here, it should be noted that, when the sender terminal sends the first communication request to the third-party server, the first communication request may be initiated by the second social identity corresponding to the sender terminal, or may be initiated by the second communication identity corresponding to the sender terminal, for example, the first communication request for accessing the receiver terminal is initiated to the third-party server by the phone number of the sender terminal.
In this embodiment, the receiver terminal may send the first social identity and the first communication identifier to the third-party server, so as to associate the first social identity with the first communication identifier in the third-party server, and may also set an individualized access right to the social access request based on the first communication identifier, for example, the receiver terminal may notify the third-party server to cancel association between the first social identity and the first communication identifier, and may also notify the third-party server of the set access right, and specifically, the method further includes:
the third-party server acquires the current second user state information of the receiver terminal;
judging whether the second user state information meets a preset access right, wherein the preset access right is an access right which is sent by the receiving party terminal and is set according to the first user state information of the receiving party terminal; the preset access right represents that the current second user state information of the receiver terminal is matched with the first user state information;
correspondingly, the controlling the third-party server to establish the communication link between the sender terminal and the receiver terminal by using the first association information in step 104 includes:
and when the second user state information meets the preset access right, controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information.
Further, when the second user state information does not satisfy the preset access right, the third-party server sends a request failure message to the sender terminal, and the communication process is ended.
In a specific embodiment, the first user status information includes a preset area corresponding to the first user status information and/or a preset time range, which are set by the receiving party terminal; correspondingly, the preset access right may be specifically used to represent that the second user state information is located in the preset area, and/or is located in the preset time range. For example, a user corresponding to the receiving terminal may select to authorize the third-party server to act on its own basic communication service in a specified scenario (e.g., time, place, etc.); similarly, the sender terminal may also authorize the third-party server to proxy its own basic communication service in a specific scenario (such as time, place, etc.) according to the above manner.
In this embodiment, the receiving terminal may further set personalized management on the first communication identifier of the receiving terminal, for example, whether the sending terminal is allowed to obtain the first communication identifier; specifically, the method further comprises:
receiving a first management strategy sent by the receiving party terminal; and after the third-party server establishes a communication link between the sender terminal and the receiver terminal, determining whether to send the first communication identifier corresponding to the first associated information to the sender terminal according to the first management strategy.
Therefore, the receiver terminal can select whether to inform the first communication identification, such as the telephone number, to the sender terminal through the third-party server according to the self requirement, namely, even under the condition that the receiver terminal and the sender terminal can realize communication based on the telephone number through the third server, the receiver terminal can also actively select whether to inform the self telephone number to the sender terminal through the third-party server, the personalized requirement of the receiver terminal on privacy is met, and the user experience is further improved.
In this embodiment, the third-party server may associate not only the first social identity and the first communication identifier of the receiver terminal, but also the second social identity and the second communication identifier of the sender terminal, and specifically, the method further includes:
acquiring a second social identity and a second communication identifier of the sender terminal; selecting an information association strategy corresponding to the sender terminal; establishing association between the second social identity and a second communication identity according to an information association strategy corresponding to the sender terminal to obtain second association information;
further, after the third-party server associates the second social identity of the sender terminal with the second social identity, the method further includes:
receiving a second management strategy sent by the sender terminal; and after the third-party server establishes a communication link between the sender terminal and the receiver terminal, determining whether to send a second communication identifier corresponding to the second association information to the receiver terminal according to the second management strategy.
In practical application, the first management policy may specifically be to determine whether a sender terminal exists in a first preset list corresponding to the receiver terminal, and then determine whether to send a first communication identifier corresponding to the first association information to the sender terminal according to a determination result, for example, when the sender terminal exists in the first preset list, the third-party server sends the first communication identifier corresponding to the first association information to the sender terminal, otherwise, the third-party server does not send the first communication identifier. Here, the first preset list may be arbitrarily set by the receiver terminal according to a user requirement.
Correspondingly, the second management policy may specifically be to determine whether a receiver terminal exists in a second preset list corresponding to the sender terminal, and then determine whether to send a second communication identifier corresponding to the second association information to the receiver terminal according to a determination result, for example, when the receiver terminal exists in the second preset list, the third-party server sends the second communication identifier corresponding to the second association information to the receiver terminal, otherwise, the third-party server does not send the second communication identifier. Here, the second preset list may be arbitrarily set by the sender terminal according to a user requirement.
Therefore, the sender terminal can also select whether to inform the second communication identification, such as the telephone number, to the receiver terminal through the third-party server according to the self requirement, namely, even under the condition that the receiver terminal and the sender terminal can realize communication based on the telephone number through the third server, the sender terminal can also actively select whether to inform the self telephone number to the receiver terminal through the third-party server, the personalized requirement of the sender terminal on privacy is met, and the user experience is further improved.
To implement the method described in the first embodiment, an embodiment of the present invention further provides a third-party server, as shown in fig. 2, including:
an obtaining unit 21, configured to obtain a first social identity and a first communication identifier corresponding to a receiver terminal; a policy selecting unit 22, configured to select an information association policy corresponding to the receiver terminal; the association information generating unit 23 is configured to establish an association between the first social identity and the first communication identifier according to an information association policy corresponding to the receiver terminal, so as to obtain first association information; a control unit 24, configured to control the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first association information, where the communication link is used to characterize the communication link established between the sender terminal and the receiver terminal through the third-party server.
In this embodiment, the associated information generating unit is further configured to generate a first verification identifier according to the first social identity and the first communication identifier, and send the first verification identifier to the receiving-side terminal; the second verification identifier is also used for receiving a second verification identifier sent by the receiving party terminal; the first verification identifier is used for identifying the first verification identifier and the second verification identifier; and when the first verification identification is matched with the second verification identification, establishing association between the first social identity and the first communication identification to obtain first association information.
In this embodiment, the third-party server further includes a first receiving unit; the first receiving unit is configured to receive a first communication request sent by a sender terminal, where the first communication request represents a request for communication of a receiver terminal, which is initiated by the sender terminal and corresponds to a first social identity; the obtaining unit is further configured to send authorization request information to the receiver terminal according to the information association policy; the terminal is also used for receiving authorization response information which is sent by the receiving party terminal and is based on the authorization request information; the first communication module is further used for acquiring a first social identity and a first communication identifier corresponding to the receiving party terminal according to the authorization response information; the association information generating unit is further configured to establish an association between the first social identity and the first communication identifier according to the authorization response information, so as to obtain first association information.
In this embodiment, the third-party server further includes a detection unit; the detection unit is used for detecting whether a communication module corresponding to the receiver terminal stores a first social identity or not; the policy selecting unit is further configured to select an information association policy corresponding to the receiver terminal when the detection result indicates that the communication module corresponding to the receiver terminal stores the first social identity; the obtaining unit is further configured to send authorization request information to the receiver terminal according to the information association policy; the terminal is also used for receiving authorization response information which is sent by the receiving party terminal and is based on the authorization request information; the first communication module is further used for acquiring a first social identity and a first communication identifier corresponding to the receiving party terminal according to the authorization response information; the association information generating unit is further configured to establish an association between the first social identity and the first communication identifier according to the authorization response information, so as to obtain first association information.
In this embodiment, the third-party server further includes a determining unit; the acquiring unit is further configured to acquire current second user state information of the receiving terminal; the judging unit is used for judging whether the second user state information meets a preset access right, wherein the preset access right is an access right which is sent by the receiving party terminal and is set according to the first user state information of the receiving party terminal; the preset access right represents that the current second user state information of the receiver terminal is matched with the first user state information; the control unit is further configured to control the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information when the second user state information satisfies the preset access right.
In this embodiment, the first user status information includes a preset area corresponding to the first user status information and/or a preset time range, which are set by the receiver terminal;
correspondingly, the preset access right is used for representing that the second user state information is in the preset area and/or in the preset time range.
In this embodiment, the third-party server further includes: a second receiving unit; the second receiving unit is further configured to receive a first management policy sent by the receiving terminal; the control unit is further configured to determine whether to send the first communication identifier corresponding to the first association information to the sender terminal according to the first management policy after the third-party server establishes the communication link between the sender terminal and the receiver terminal.
In this embodiment, the obtaining unit is further configured to obtain a second social identity and a second communication identifier of the sender terminal; the strategy selection unit is also used for selecting an information association strategy corresponding to the sender terminal; the association information generating unit is further configured to establish association between the second social identity and the second communication identity according to an information association policy corresponding to the sender terminal, so as to obtain second association information; the second receiving unit is further configured to receive a second management policy sent by the sender terminal; the control unit is further configured to determine whether to send a second communication identifier corresponding to the second association information to the receiver terminal according to the second management policy after the third-party server establishes a communication link between the sender terminal and the receiver terminal.
It should be understood by those skilled in the art that the functions of each processing unit in the third-party server according to the embodiment of the present invention may be understood by referring to the description related to the social identity based communication method applied to the third-party server, and each processing unit in the third-party server according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
According to the communication method based on the social identity and the third-party server provided by the embodiment of the invention, on one hand, the third-party server realizes the purpose of unifying the social identity corresponding to the user and the communication identifier, so that when the user has multiple social identities, the third-party server can unify the multiple social identities, and further lays a communication foundation for flexible communication, meeting the privacy requirements of the user and the like; on the other hand, because the third-party server associates the social identity corresponding to the user with the communication identifier, specifically, the third-party server associates the first social identity of the receiver terminal with the first communication identifier, when the sender terminal communicates with the receiver terminal in advance, even if the sender terminal does not acquire the first communication identifier of the receiver terminal, the communication process based on the first communication identifier can be realized, that is, the sender terminal and the receiver terminal realize the communication process based on the first communication identifier through the third-party server, the existing communication mode is changed, the user experience is enriched, and further, a communication basis is laid for meeting the privacy requirement of the user.
Example two
FIG. 3 is a first flowchart illustrating a specific implementation of a social identity based communication method according to an embodiment of the present invention; the method is applied to a third-party server; the third-party server can be communicated with the receiving terminal and the sending terminal respectively; as shown in fig. 3, the method includes:
step 301: acquiring a first social identity and a first communication identifier of a receiver terminal;
in this embodiment, the social identity may specifically include a name of the social identity platform and a user name in the social identity platform; wherein the social identity platform is any identity platform capable of providing user authentication; for example, an instant messaging application platform, an email application platform, a game application platform, and the like, specifically, taking the email application platform as an example, the social identity is a name of the email application platform and a user name represented in the email address form in the email application platform; taking a game application platform as an example, the social identity is the name of the game application platform and the user name in the game application platform; taking the instant messaging application platform as an example, the social identity is the name of the instant messaging application platform and the user name in the instant messaging application platform; the terminal of the receiving party can log in the instant messaging application platform by inputting a user name and a password, and at the moment, the first social identity is the name of the instant messaging application platform and the user name corresponding to the terminal of the receiving party.
In this embodiment, the communication identifier may specifically represent a basic communication identity identifier in the basic communication capability; the basic communication capability refers to the capability provided by an operator (including a virtual operator), which has unique identification (such as a telephone number and an email) in the world and can provide communication services (such as short messages and telephones) with high reliability; the basic communication identity can be a telephone number in mobile communication; that is, the communication identifier in this embodiment may be a telephone number.
Step 302: the third-party server associates the first social identity with a first communication identifier to obtain first associated information;
in this embodiment, the first association information may be stored in the third-party server in the form of a correspondence table; specifically, the first association information at least includes the following information: the name of the social identity platform, the user name in the social identity platform and the communication identification; here, it should be understood by those skilled in the art that the specific content of the first associated information may be arbitrarily set according to the actual situation, for example, the first associated information may further specifically include a management policy corresponding to the communication identifier, a preset access right, and the like.
Step 303: receiving a first communication request sent by a sender terminal, wherein the first communication request represents a request for communication of the receiver terminal corresponding to the first social identity, which is initiated by the sender terminal;
in this embodiment, the first communication request may specifically be a social access request, where the social access request refers to a communication request based on basic communication capability, which is initiated by a sender terminal to a receiver terminal using a first social identity; that is, the first communication request specifically characterizes a communication request initiated by the sender terminal to the receiver terminal using the first social identity and based on the first communication identifier, for example, a phone number.
Here, it should be noted that, when the sender terminal sends the first communication request to the third-party server, the first communication request may be initiated by the second social identity corresponding to the sender terminal, or may be initiated by the second communication identity corresponding to the sender terminal, for example, the first communication request for accessing the receiver terminal is initiated to the third-party server by the phone number of the sender terminal.
Step 304: and the third-party server acquires a first communication identifier in the first associated information according to the first communication request, and sends a second communication request to the receiving terminal based on the first communication identifier so that the sending terminal establishes a communication link with the receiving terminal through the third-party server.
In this embodiment, after the sender terminal initiates a social access request to the receiver terminal through the third-party server, the sender terminal first sends the social access request, i.e. the first communication request, to the third party server, the third-party server acquires the first communication identifier in the first associated information according to the first communication request, for example, the telephone number of the receiver's terminal, and transmits a second communication request to the receiver's terminal through the telephone number of the receiver's terminal, and thus, even if the sender terminal does not acquire the first communication identification, such as a telephone number, and a communication process based on the first communication identifier can be carried out between the third-party server and the receiving-party terminal, so that the existing communication modes are enriched, and the user experience is enriched.
In this embodiment, the way for the third-party server to associate the first social identity with the first communication identifier in step 302 may specifically be:
firstly, an explicit mode; associating the first social identity with a first communication identity by open authorization (OAuth), e.g. OAuth2.0 platform; specifically, a receiver terminal acquires a first communication identifier input by a user through a social identity platform, the social identity platform authenticates the first communication identifier by itself, or authenticates the first communication identifier through an authentication platform corresponding to the social identity platform, and after the first communication identifier is authenticated to be valid, the receiver terminal sends the first social identity and the first communication identifier to the third-party server so that the third-party server associates the received first social identity with the first communication identifier; or,
the receiving party terminal authenticates the first communication identifier through the third party server in the embodiment; specifically, the receiving party terminal acquires a first communication identifier input by a user through a social identity platform, sends the first communication identifier and a first social identity to the third-party server, and authenticates whether the first communication identifier is a valid identifier through the third-party server; for example, after receiving a first communication identifier and a first social identity sent by a receiver user, the third-party server generates a first verification code, sends the first verification code to the receiver terminal, and determines that a second verification code sent by the receiver terminal is received within a preset time range, and if the second verification code is the same as the first verification code, the authentication is successful; and the third-party server associates the first communication identifier passing the authentication with the first social identity.
Secondly, semi-automatic triggering; specifically, a third-party server receives a communication request based on the social identity of a receiver terminal initiated by a sender terminal for the first time, and the receiver terminal does not have related information in the third-party server, at this time, the third-party server can coordinate with the receiver terminal through a public account provided by a social identity platform to acquire a communication identifier of the receiver terminal; that is to say, when the third-party server receives a communication request initiated by a sender terminal in a social identity (such as a first social identity) manner of a receiver terminal for the first time, and a communication identifier of the receiver terminal is not stored in the third-party server, at this time, the third-party server negotiates with the receiver terminal through a "public account provided by a social identity platform" so as to obtain a basic communication identity of the receiver terminal; for example, a user a sends a short message to an instant messaging application platform user B through a third-party server, and at this time, the third-party server does not store the associated information of the user B, for example, the phone number of the user B; the third-party server communicates with the user B through a public account in an instant messaging application platform to inquire whether the user B can acquire the telephone number of the user B, and after the user B authorizes the third-party server to acquire the telephone number of the user B, the third-party server provides basic communication proxy service for the user B; furthermore, the user A can realize a communication process based on the telephone number of the user B with the user B through the third-party server, at the moment, the user A can directly send a short message or call the user B, but the telephone number of the user B cannot be known by the user A, and the requirement of the user B on number privacy is met.
Here, in practical applications, the third-party server may cooperate with a social identity platform; for example, the third-party server establishes a public account in the social identity platform, if the public account of the third-party server is permitted by the user B in the social identity platform, the third-party server may access the phone number registered by the user B in the social identity platform, and when the user a initiates a phone call request through the social identity of the user B, the third-party server may directly contact the user B by phone in an automatic/manual manner to obtain user authorization.
Third, application integration; specifically, an open platform such as an Application Programming Interface (API) is provided through a Subscriber Identity Module (SIM) of a mobile communication operator, or other terminal-based secure storage module, or a secure communication module, and a multi-state authentication and multi-phase authentication platform is provided by using a terminal, a network, and cloud data; furthermore, after the user passes the platform authentication successfully, the social identity of the user can be written into the SIM or the secure storage module or the secure communication module, and further, after the user logs in the social identity platform by the social identity, the third-party server can inquire whether the user wants to associate the social identity with the communication identifier in the third-party server, so that a foundation is laid for the user to open the basic communication capability by the social identity. For example, after the user B successfully authenticates in the authentication platform, the social identity of the user B is written into the SIM of the terminal corresponding to the user B, when the third-party server detects that the user B logs in the social identity platform with the social identity, the third-party server inquires whether the user B would like to associate the social identity with the communication identifier in the third-party server, and when the user B would like to log in the social identity platform with the social identity, the third-party server provides basic communication agent service for the user B.
In this embodiment, the receiver terminal may not only send the first social identity and the first communication identifier to the third-party server, so as to associate the first social identity with the first communication identifier in the third-party server, but also set an individualized access right for the social access request based on the first communication identifier, for example, the receiver terminal may notify the third-party server to cancel association between the first social identity and the first communication identifier, and may also notify the third server of the set access right, and specifically, the method further includes: the third-party server receives first user state information sent by the receiving party terminal; and the third-party server receives a preset access right which is sent by the receiving party terminal and is set according to the first user state information.
Further, after the third-party server receives a preset access right, whether the sender terminal is allowed to communicate with the receiver terminal is determined according to the preset access right; specifically, the method further comprises: acquiring the current second user state information of the receiver terminal; judging whether the second user state information meets the preset access authority or not; correspondingly, step 304 may also specifically be:
and when the second user state information meets the preset access right, the third-party server acquires a first communication identifier in the first associated information according to the first communication request, and sends a second communication request to the receiving terminal based on the first communication identifier, so that the sending terminal establishes a communication link with the receiving terminal through the third-party server.
Further, when the second user state information does not satisfy the preset access right, the third-party server sends a request failure message to the sender terminal, and the communication process is ended.
In this embodiment, the receiving terminal may further set personalized management on the first communication identifier of the receiving terminal, for example, whether the sending terminal is allowed to obtain the first communication identifier; specifically, the method further comprises: the third-party server receives a first management strategy sent by the receiving party terminal; and the third-party server determines whether to send the first communication identifier to the sender terminal according to the first management strategy.
Therefore, the receiver terminal can select whether to inform the first communication identification, such as the telephone number, to the sender terminal through the third-party server according to the self requirement, namely, even under the condition that the receiver terminal and the sender terminal can realize communication based on the telephone number through the third server, the receiver terminal can also actively select whether to inform the self telephone number to the sender terminal through the third-party server, the personalized requirement of the receiver terminal on privacy is met, and the user experience is further improved.
In this embodiment, the third-party server may associate not only the first social identity and the first communication identifier of the receiver terminal, but also the second social identity and the second communication identifier of the sender terminal, and specifically, the method further includes: the third-party server acquires a second social identity and a second communication identifier of the sender terminal; the third-party server associates the second social identity with a second communication identity to obtain second association information; the third-party server receives a second management strategy sent by the sender terminal; and the third-party server determines whether to send the second communication identifier to the receiving-party terminal according to the second management strategy.
Therefore, the sender terminal can also select whether to inform the second communication identification, such as the telephone number, to the receiver terminal through the third-party server according to the self requirement, namely, even under the condition that the receiver terminal and the sender terminal can realize communication based on the telephone number through the third server, the sender terminal can also actively select whether to inform the self telephone number to the receiver terminal through the third-party server, the personalized requirement of the sender terminal on privacy is met, and the user experience is further improved.
In this embodiment, the method further includes: the third-party server receives a first access right sent by the receiving party terminal; the first access right is used for representing the access right corresponding to the sender terminal; the third-party server determines whether the sender terminal has the access right for accessing the receiver terminal according to the first access right; correspondingly, the step 304 may further specifically be:
and when the sender terminal is determined to have the access right for accessing the receiver terminal, the third-party server acquires the first communication identifier in the first associated information according to the first communication request, and sends a second communication request to the receiver terminal based on the first communication identifier, so that the sender terminal establishes a communication link with the receiver terminal through the third-party server.
Further, when it is determined that the sender terminal does not have the access right to access the receiver terminal, the third-party server sends a request failure message to the sender terminal, and ends the communication process.
Here, the first access right is different from the preset access right, wherein the first access right is an access right for a sender terminal, and the preset access right is an access right for a user status of a receiver terminal.
In order to implement the method described in the second embodiment, an embodiment of the present invention further provides a third-party server, where as shown in fig. 4, the third-party server includes:
a first obtaining unit 41, configured to obtain a first social identity and a first communication identifier of a recipient terminal; an information associating unit 42, configured to associate the first social identity with a first communication identifier to obtain first associated information; a first receiving unit 43, configured to receive a first communication request sent by a sender terminal, where the first communication request represents a request for communication of the receiver terminal that is initiated by the sender terminal and corresponds to the first social identity; a first processing unit 44, configured to obtain a first communication identifier in the first association information according to the first communication request, and send a second communication request to the receiving terminal based on the first communication identifier, so that the sending terminal establishes a communication link with the receiving terminal through the third-party server.
In this embodiment, the first receiving unit 43 is further configured to receive first user status information sent by the receiving terminal; and the access control module is also used for receiving a preset access right which is sent by the receiver terminal and is set according to the first user state information.
In this embodiment, the third-party server further includes a first determining unit 45; the first obtaining unit 41 is further configured to obtain current second user status information of the receiving terminal; the first judging unit 45 is configured to judge whether the second user status information satisfies the preset access right; the first processing unit 44 is further configured to, when the second user status information satisfies the preset access right, the third-party server obtains a first communication identifier in the first association information according to the first communication request, and sends a second communication request to the receiver terminal based on the first communication identifier, so that the sender terminal establishes a communication link with the receiver terminal through the third-party server.
In this embodiment, the third party server further includes a first determining unit 46; the first receiving unit 43 is further configured to receive a first management policy sent by the receiving terminal; the first determining unit 46 is configured to determine whether to send the first communication identifier to the sender terminal according to the first management policy.
In this embodiment, the third party server further includes a second determining unit 47; the first obtaining unit 41 is further configured to obtain a second social identity and a second communication identifier of the sender terminal; the information associating unit 42 is further configured to associate the second social identity with a second communication identity to obtain second association information; the first receiving unit 43 is further configured to receive a second management policy sent by the sender terminal; the second determining unit 47 is configured to determine whether to send the second communication identifier to the receiving terminal according to the second management policy.
It should be understood by those skilled in the art that the functions of each processing unit in the third-party server according to the embodiment of the present invention may be understood by referring to the related description of the social identity based communication method applied to the third-party server described in the second embodiment, and each processing unit in the third-party server according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
According to the communication method based on the social identity and the third-party server provided by the embodiment of the invention, on one hand, the third-party server realizes the purpose of unifying the social identity corresponding to the user and the communication identifier, so that when the user has multiple social identities, the third-party server can unify the multiple social identities, and further lays a communication foundation for flexible communication, meeting the privacy requirements of the user and the like; on the other hand, because the third-party server associates the social identity corresponding to the user with the communication identifier, specifically, the third-party server associates the first social identity of the receiver terminal with the first communication identifier, when the sender terminal communicates with the receiver terminal in advance, even if the sender terminal does not acquire the first communication identifier of the receiver terminal, the communication process based on the first communication identifier can be realized, that is, the sender terminal and the receiver terminal realize the communication process based on the first communication identifier through the third-party server, the existing communication mode is changed, the user experience is enriched, and further, a communication basis is laid for meeting the privacy requirement of the user.
EXAMPLE III
FIG. 5 is a second flowchart illustrating a specific implementation of a social identity based communication method according to an embodiment of the present invention; applied to the receiver terminal; as shown in fig. 5, the method includes:
step 501: sending a first social identity and a first communication identifier to a third-party server, so that the third-party server can determine first associated information according to the received first social identity and the received first communication identifier;
step 502: receiving a second communication request generated by the third-party server according to the first communication request, so that the receiving-side terminal communicates with a sending-side terminal with a second social identity through the first communication identifier;
the first communication request represents a request for communication of the receiver terminal corresponding to the first social identity, which is initiated by the sender terminal.
In this embodiment, after the sender terminal initiates a social access request to a receiver terminal through a third-party server, the sender terminal first sends the social access request, that is, a first communication request, to the third-party server, the third-party server obtains a first communication identifier in the first associated information according to the first communication request, for example, a phone number of the receiver terminal, and sends a second communication request to the receiver terminal through the phone number of the receiver terminal, and after the receiver terminal receives the second communication request, the sender terminal communicates with the sender terminal having a second social identity through the first communication identifier, so that even if the sender terminal does not obtain the first communication identifier of the receiver terminal, for example, the phone number, a communication process based on the first communication identifier can be performed with the receiver terminal through the third-party server, the existing communication modes are enriched, and the user experience is also enriched.
Here, it is to be noted that the receiving terminal may associate the first social identity with the first communication identifier in the third-party server through three ways described in the first embodiment; and will not be described in detail herein.
Here, it should be noted that, when the sender terminal sends the first communication request to the third-party server, the first communication request may be initiated by the second social identity corresponding to the sender terminal, or may be initiated by the second communication identity corresponding to the sender terminal, for example, the first communication request for accessing the receiver terminal is initiated to the third-party server by the phone number of the sender terminal.
In this embodiment, the receiver terminal may not only send the first social identity and the first communication identifier to the third-party server, so as to associate the first social identity with the first communication identifier in the third-party server, but also set an individualized access right to a social access request based on the first communication identifier, and specifically, the method further includes:
a receiving party terminal acquires first user state information; the terminal of the receiving party sets a preset access right according to the state information of the first user; and sending the preset access authority to the third-party server.
Therefore, the third-party server realizes the personalized access authority set by the receiver terminal, and the user experience is further improved.
In the embodiment, even under the condition that the receiver terminal and the sender terminal can realize communication based on the telephone number through the third server, the sender terminal can also actively select whether to inform the receiver terminal of the own telephone number through the third server, so that the personalized requirement of the sender terminal on privacy is met, and the user experience is further improved; specifically, the method further comprises:
the terminal of the receiving party judges whether the second communication identification sent by the third-party server is received or not; when the judgment result represents that the second communication identification sent by the third-party server is received, displaying the second communication identification; and when the judgment result represents that the second communication identification sent by the third-party server is not received, displaying a first preset identification.
In order to implement the foregoing method, an embodiment of the present invention further provides a receiver terminal, where as shown in fig. 6, the receiver terminal includes:
the first sending unit 61 is configured to send a first social identity to a third-party server and send a first communication identifier, so that the third-party server can determine first associated information according to the received first social identity and the received first communication identifier; a second receiving unit 62, configured to receive a second communication request generated by the third-party server according to the first communication request, so that the receiving-side terminal communicates with the sending-side terminal with the second social identity through the first communication identifier; the first communication request represents a request for communication of the receiver terminal corresponding to the first social identity, which is initiated by the sender terminal.
In this embodiment, the receiving terminal further includes: a second acquisition unit 63 and a first setting unit 64; the second obtaining unit 63 is configured to obtain first user status information; the first setting unit 64 is configured to set a preset access right according to the first user status information; the first sending unit 61 is further configured to send the preset access right to the third-party server.
In this embodiment, the receiving terminal further includes: a second judging unit 65, configured to judge whether the second communication identifier sent by the third party server is received; the first display unit 66 is configured to display the second communication identifier when the judgment result represents that the second communication identifier sent by the third-party server is received; and the second communication identifier is also used for displaying a first preset identifier when the judgment result represents that the second communication identifier sent by the third-party server is not received.
It should be understood by those skilled in the art that, the functions of each processing unit in the receiving-side terminal according to the embodiment of the present invention may be understood by referring to the foregoing description of the social identity-based communication method applied to the receiving-side terminal, and each processing unit in the receiving-side terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
Example four
FIG. 7 is a third flowchart illustrating a specific implementation of a social identity based communication method according to an embodiment of the present invention; the method is applied to a sender terminal; as shown in fig. 7, the method includes:
step 701: a sender terminal sends a first communication request to a third-party server, wherein the first communication request represents a request for communication of a receiver terminal corresponding to a first social identity, which is initiated by the sender terminal;
here, it should be noted that, when the sender terminal sends the first communication request to the third-party server, the first communication request may be initiated by the second social identity corresponding to the sender terminal, or may be initiated by the second communication identity corresponding to the sender terminal, for example, the first communication request for accessing the receiver terminal is initiated to the third-party server by the phone number of the sender terminal.
Step 702: after the third-party server sends a second communication request generated according to the first communication request to the receiver terminal based on the first communication identification, the sender terminal establishes a communication link with the receiver terminal corresponding to the first social identity through the third-party server;
the first communication identification is used for representing a communication identification corresponding to the receiving terminal.
In this embodiment, after the sender terminal initiates a social access request to a receiver terminal through a third-party server, the sender terminal first sends the social access request, that is, a first communication request, to the third-party server, the third-party server obtains a first communication identifier in the first associated information according to the first communication request, for example, a phone number of the receiver terminal, and sends a second communication request to the receiver terminal through the phone number of the receiver terminal, and after the receiver terminal receives the second communication request, the sender terminal communicates with the sender terminal having a second social identity through the first communication identifier, so that even if the sender terminal does not obtain the first communication identifier of the receiver terminal, for example, the phone number, a communication process based on the first communication identifier can be performed with the receiver terminal through the third-party server, the existing communication modes are enriched, and the user experience is also enriched.
Here, it is to be noted that the sender terminal may associate the second social identity with the second social identity in the third-party server through the three ways described in the first embodiment; and will not be described in detail herein.
In the embodiment, even under the condition that the receiver terminal and the sender terminal can realize communication based on the telephone number through the third server, the receiver terminal can also actively select whether to inform the sender terminal of the own telephone number through the third server, so that the personalized requirement of the receiver terminal on privacy is met, and the user experience is further improved; specifically, the method further comprises:
judging whether the first communication identifier sent by the third-party server is received or not; when the judgment result represents that the first communication identifier sent by the third-party server is received, displaying the first communication identifier; and when the judgment result represents that the first communication identification sent by the third-party server is not received, displaying a second preset identification.
Here, it should be noted that, in an actual application, whether the second social identity and the second communication identity corresponding to the sender terminal are associated in the third-party server does not affect an access process in which the sender terminal initiates a social access request to a receiver terminal.
In order to implement the foregoing method, an embodiment of the present invention further provides a sender terminal, where as shown in fig. 8, the sender terminal includes:
a second sending unit 81, configured to send a first communication request to a third-party server by a sender terminal, where the first communication request represents a request for communication, initiated by the sender terminal, of a receiver terminal corresponding to a first social identity; a second processing unit 82, configured to, after the third-party server sends a second communication request generated according to the first communication request to the receiver terminal based on the first communication identifier, establish, by the sender terminal, a communication link with the receiver terminal corresponding to the first social identity through the third-party server; the first communication identification is used for representing a communication identification corresponding to the receiving terminal.
In this embodiment, the sender terminal further includes: a third determining unit 83, configured to determine whether the first communication identifier sent by the third-party server is received; the second display unit 84 is configured to display the first communication identifier after the judgment result represents that the first communication identifier sent by the third-party server is received; and the second preset identification is displayed when the judgment result represents that the first communication identification sent by the third-party server is not received.
It should be understood by those skilled in the art that the functions of each processing unit in the sender terminal according to the embodiment of the present invention may be understood by referring to the foregoing description of the social identity based communication method applied to the sender terminal, and each processing unit in the sender terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
Here, it should be noted that the functions of the receiving terminal and the sending terminal may be located in the same terminal having both sending and receiving functions, or may be located in different terminals, that is: the method is realized by a terminal with a transmitting function and a terminal with a receiving function respectively.
EXAMPLE five
Fig. 9 is a fourth flowchart illustrating a specific implementation of the social identity-based communication method according to the embodiment of the present invention; as shown in fig. 9, the method includes:
step 901: after receiving a social access request sent by a sender terminal, a third-party server analyzes the social access request so as to try to acquire a first communication identifier bound by a receiver terminal in a first social identity in the third-party server;
here, the social access request refers to a request initiated by the sender terminal to communicate with the receiver terminal corresponding to the first social identity.
Step 902: after the third-party server analyzes and acquires the first communication identifier of the receiver terminal, judging the plot and the access setting of the receiver terminal so as to determine whether to receive the request of the sender terminal; if yes, go to step 903; otherwise, go to step 904;
step 903: and the third-party server establishes a communication link with the receiver terminal so as to enable the sender terminal and the receiver terminal to realize a communication process based on the first communication identifier.
Step 904: the third-party server feeds back a communication waiting message to the sender terminal; subsequently, step 905 is performed;
step 905: the third-party server judges whether the receiving-party terminal supports a semi-automatic triggering type flow of associating the social identity with the communication identifier; if yes, go to step 906; otherwise, go to step 907;
here, the third-party server has the ability to access or integrate social platform public account resources.
Step 906: starting a semi-automatic triggering type flow for associating the first social identity and the first communication identifier of the receiver terminal, and after the third-party server determines that the first social identity and the first communication identifier are successfully associated within the specified time, establishing a communication link between the third-party server and the receiver terminal so as to enable the sender terminal and the receiver terminal to realize a communication process based on the first communication identifier; and when the third-party server determines that the first social identity and the first communication identifier are failed to be associated within the specified time, the third-party server feeds back a communication failure message to the sender terminal, and the communication process is ended.
Step 907: and the third-party server feeds back a communication failure message to the sender terminal and ends the communication process.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely an example of the embodiments of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the embodiments of the present invention, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present invention.

Claims (16)

1. A communication method based on social identity is applied to a third-party server; the method comprises the following steps:
selecting an information association strategy corresponding to a receiver terminal;
sending authorization request information to the receiving terminal according to the information association strategy;
receiving authorization response information based on the authorization request information sent by the receiving party terminal;
acquiring a first social identity and a first communication identifier corresponding to the receiver terminal according to the authorization response information;
establishing association between the first social identity and a first communication identifier according to the authorization response information to obtain first association information;
and controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information, wherein the communication link is used for representing the communication link established between the sender terminal and the receiver terminal through the third-party server.
2. The method according to claim 1, wherein the establishing the association between the first social identity and the first communication identifier according to an information association policy corresponding to the receiving-side terminal to obtain first association information includes:
generating a first verification identifier according to the first social identity and the first communication identifier, and sending the first verification identifier to the receiving party terminal;
receiving a second verification identifier sent by the receiving party terminal;
judging whether the first verification identification is matched with the second verification identification;
and when the first verification identification is matched with the second verification identification, establishing association between the first social identity and the first communication identification to obtain first association information.
3. The method of claim 1, further comprising:
receiving a first communication request sent by a sender terminal, wherein the first communication request represents a request for communication of a receiver terminal corresponding to a first social identity and initiated by the sender terminal.
4. The method according to claim 1, wherein the selecting the information association policy corresponding to the receiving terminal comprises:
detecting whether a communication module corresponding to the receiver terminal stores a first social identity or not;
and when the detection result indicates that the communication module corresponding to the receiver terminal stores the first social identity, selecting an information association strategy corresponding to the receiver terminal.
5. The method of claim 1, further comprising:
acquiring the current second user state information of the receiver terminal;
judging whether the second user state information meets a preset access right, wherein the preset access right is an access right which is sent by the receiving party terminal and is set according to the first user state information of the receiving party terminal; the preset access right represents that the current second user state information of the receiver terminal is matched with the first user state information;
correspondingly, the controlling the third-party server to establish the communication link between the sender terminal and the receiver terminal by using the first association information includes:
and when the second user state information meets the preset access right, controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information.
6. The method according to claim 5, wherein the first user status information includes a preset region corresponding to the first user status information and/or a preset time range, which is set by the terminal of the receiving party;
correspondingly, the preset access right is used for representing that the second user state information is in the preset area and/or in the preset time range.
7. The method of claim 1, further comprising:
receiving a first management strategy sent by the receiving party terminal;
and after the third-party server establishes a communication link between the sender terminal and the receiver terminal, determining whether to send the first communication identifier corresponding to the first associated information to the sender terminal according to the first management strategy.
8. The method of claim 1, further comprising:
acquiring a second social identity and a second communication identifier of the sender terminal;
selecting an information association strategy corresponding to the sender terminal;
establishing association between the second social identity and a second communication identity according to an information association strategy corresponding to the sender terminal to obtain second association information;
receiving a second management strategy sent by the sender terminal;
and after the third-party server establishes a communication link between the sender terminal and the receiver terminal, determining whether to send a second communication identifier corresponding to the second association information to the receiver terminal according to the second management strategy.
9. A third party server, comprising:
the system comprises an acquisition unit, a communication unit and a communication unit, wherein the acquisition unit is used for acquiring a first social identity and a first communication identifier corresponding to a receiving party terminal;
a strategy selecting unit, configured to select an information association strategy corresponding to the receiver terminal;
the associated information generating unit is used for sending authorization request information to the receiving party terminal according to the information associated strategy; receiving authorization response information based on the authorization request information sent by the receiving party terminal; acquiring a first social identity and a first communication identifier corresponding to the receiver terminal according to the authorization response information; establishing association between the first social identity and a first communication identifier according to the authorization response information to obtain first association information;
and the control unit is used for controlling the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information, wherein the communication link is used for representing the communication link established between the sender terminal and the receiver terminal through the third-party server.
10. The server according to claim 9,
the associated information generating unit is further configured to generate a first verification identifier according to the first social identity and the first communication identifier, and send the first verification identifier to the receiving party terminal; the second verification identifier is also used for receiving a second verification identifier sent by the receiving party terminal; the first verification identifier is used for identifying the first verification identifier and the second verification identifier; and when the first verification identification is matched with the second verification identification, establishing association between the first social identity and the first communication identification to obtain first association information.
11. The server according to claim 9, wherein the third party server further comprises a first receiving unit; wherein,
the first receiving unit is configured to receive a first communication request sent by a sender terminal, where the first communication request represents a request for communication of a receiver terminal that is initiated by the sender terminal and corresponds to a first social identity.
12. The server according to claim 9, wherein the third party server further comprises a detection unit; wherein,
the detection unit is used for detecting whether a communication module corresponding to the receiver terminal stores a first social identity;
the policy selecting unit is further configured to select an information association policy corresponding to the receiver terminal when the detection result indicates that the communication module corresponding to the receiver terminal stores the first social identity.
13. The server according to claim 9, wherein the third party server further comprises a judging unit; wherein,
the acquiring unit is further configured to acquire current second user state information of the receiver terminal;
the judging unit is used for judging whether the second user state information meets a preset access right, wherein the preset access right is an access right which is sent by the receiving party terminal and is set according to the first user state information of the receiving party terminal; the preset access right represents that the current second user state information of the receiver terminal is matched with the first user state information;
the control unit is further configured to control the third-party server to establish a communication link between the sender terminal and the receiver terminal by using the first associated information when the second user state information satisfies the preset access right.
14. The server according to claim 13, wherein the first user status information includes a preset area corresponding to the first user status information and/or a preset time range, which is set by the receiving terminal;
correspondingly, the preset access right is used for representing that the second user state information is in the preset area and/or in the preset time range.
15. The server of claim 9, wherein the third party server further comprises: a second receiving unit; wherein,
the second receiving unit is further configured to receive a first management policy sent by the receiving terminal;
the control unit is further configured to determine whether to send the first communication identifier corresponding to the first association information to the sender terminal according to the first management policy after the third-party server establishes the communication link between the sender terminal and the receiver terminal.
16. The server according to claim 15,
the obtaining unit is further configured to obtain a second social identity and a second communication identifier of the sender terminal;
the strategy selection unit is also used for selecting an information association strategy corresponding to the sender terminal;
the association information generating unit is further configured to establish association between the second social identity and the second communication identity according to an information association policy corresponding to the sender terminal, so as to obtain second association information;
the second receiving unit is further configured to receive a second management policy sent by the sender terminal;
the control unit is further configured to determine whether to send a second communication identifier corresponding to the second association information to the receiver terminal according to the second management policy after the third-party server establishes a communication link between the sender terminal and the receiver terminal.
CN201510868009.9A 2015-11-27 2015-11-27 Communication method based on social identity and server Active CN106850703B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510868009.9A CN106850703B (en) 2015-11-27 2015-11-27 Communication method based on social identity and server
PCT/CN2016/097941 WO2017088548A1 (en) 2015-11-27 2016-09-02 Communication method based on social identity, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510868009.9A CN106850703B (en) 2015-11-27 2015-11-27 Communication method based on social identity and server

Publications (2)

Publication Number Publication Date
CN106850703A CN106850703A (en) 2017-06-13
CN106850703B true CN106850703B (en) 2020-02-21

Family

ID=58762958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510868009.9A Active CN106850703B (en) 2015-11-27 2015-11-27 Communication method based on social identity and server

Country Status (2)

Country Link
CN (1) CN106850703B (en)
WO (1) WO2017088548A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737253A (en) * 2018-05-23 2018-11-02 中国银行股份有限公司 A kind of instant communicating method and terminal, server
CN109040034B (en) * 2018-07-19 2021-06-04 国政通科技有限公司 User identity information processing method and device based on virtual information
CN111274499A (en) * 2020-02-26 2020-06-12 上海云鱼智能科技有限公司 Multi-scene communication method, device, server, client, terminal and storage medium
CN112073297B (en) * 2020-08-25 2022-05-13 刘高峰 Method for providing social application service for third-party application and server side
CN112260940A (en) * 2020-11-11 2021-01-22 深圳市百水来智能科技有限公司 Method for introducing alpha character into social app instant messaging
CN112950355B (en) * 2021-03-10 2024-03-01 北京国腾联信科技有限公司 Transaction data processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624636A (en) * 2011-01-26 2012-08-01 中国移动通信集团公司 Authorization control method, system and apparatus in instant communication system
CN102958008A (en) * 2011-08-26 2013-03-06 阿里巴巴集团控股有限公司 Method, system and mobile terminals for realizing instant messaging
CN103124267A (en) * 2013-02-07 2013-05-29 百度在线网络技术(北京)有限公司 Method, system and cloud server for login/registration through mobile terminal
CN103856391A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Information communication method and system, and server
CN104967989A (en) * 2015-03-26 2015-10-07 深圳市腾讯计算机系统有限公司 Method and apparatus for transmitting communication information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519108B (en) * 2013-09-30 2017-11-03 腾讯科技(深圳)有限公司 Push accounts information, the method for importing relation chain, apparatus and system
CN104092839B (en) * 2014-07-21 2017-01-18 中国电信股份有限公司 Communication method, system, IM server and operator service platform and terminal
CN104540115A (en) * 2014-12-18 2015-04-22 小米科技有限责任公司 Communication method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624636A (en) * 2011-01-26 2012-08-01 中国移动通信集团公司 Authorization control method, system and apparatus in instant communication system
CN102958008A (en) * 2011-08-26 2013-03-06 阿里巴巴集团控股有限公司 Method, system and mobile terminals for realizing instant messaging
CN103856391A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Information communication method and system, and server
CN103124267A (en) * 2013-02-07 2013-05-29 百度在线网络技术(北京)有限公司 Method, system and cloud server for login/registration through mobile terminal
CN104967989A (en) * 2015-03-26 2015-10-07 深圳市腾讯计算机系统有限公司 Method and apparatus for transmitting communication information

Also Published As

Publication number Publication date
WO2017088548A1 (en) 2017-06-01
CN106850703A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106850703B (en) Communication method based on social identity and server
US10063547B2 (en) Authorization authentication method and apparatus
JP2020065311A (en) Establishing communication between mobile terminals
US9426132B1 (en) Methods and apparatus for rules-based multi-factor verification
CN105307169B (en) The cut-in method of guest network, device and system
CN104092839B (en) Communication method, system, IM server and operator service platform and terminal
CN107086979B (en) User terminal verification login method and device
WO2014071725A1 (en) Soft sim card activating method and network-joining method and terminal, and network access device
CN104852990A (en) Information processing method and intelligent household control system
WO2013178150A1 (en) Information processing method, and priority information sending method and device
KR101827724B1 (en) Method and device for marking unknown number
CN107277799B (en) Method, device, terminal and storage medium for binding mobile phone number
WO2019040522A1 (en) Secure device access token
CN110730446A (en) Login method, terminal and computer storage medium
KR100842868B1 (en) Spam short message blocking system using call back short message and spam short message blocking method using the same
US11070978B2 (en) Technique for authenticating a user device
CN106231538B (en) Method and device for binding OneM2M architecture equipment
CN102572762A (en) Method for scheduling service capacity by application, charging method and device
CN108632355B (en) Routing method for household appliance network, control terminal, readable storage medium and equipment
US10028141B2 (en) Method and system for determining that a SIM and a SIP client are co-located in the same mobile equipment
CN103067260A (en) Method and device for achieving instant communication
CN108513272A (en) Method for processing short messages and device
CN105611032B (en) Processing method and processing device for communication information of terminal and terminal
CN109962962B (en) Socket connection method and device
CN110933670A (en) Security USIM card for realizing main authentication enhancement and main authentication method of terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant