WO2018072656A1 - 一种多终端通信方法、服务器和终端、存储介质 - Google Patents

一种多终端通信方法、服务器和终端、存储介质 Download PDF

Info

Publication number
WO2018072656A1
WO2018072656A1 PCT/CN2017/106131 CN2017106131W WO2018072656A1 WO 2018072656 A1 WO2018072656 A1 WO 2018072656A1 CN 2017106131 W CN2017106131 W CN 2017106131W WO 2018072656 A1 WO2018072656 A1 WO 2018072656A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
communication
information
server
communication application
Prior art date
Application number
PCT/CN2017/106131
Other languages
English (en)
French (fr)
Inventor
肖行俊
王鹏
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018072656A1 publication Critical patent/WO2018072656A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1093In-session procedures by adding participants; by removing participants

Definitions

  • the present invention relates to a multi-terminal communication technology in the field of communications, and in particular, to a multi-terminal communication method, a server and a terminal, and a storage medium.
  • the existing communication strategy can allow multiple terminal devices of the same account to be online at the same time in the background, when the audio and video call is initiated, if the called party has multiple terminals online, the audio and video background can send the audio and video call request to the called party. On all online terminals, but the called party can only receive calls at one terminal, and other terminals that are not involved in the call cannot sense the presence of calls of other terminals of the same account. Moreover, once the audio and video call is established, the types of terminals participating in the call are fixed, the audio and video calls cannot be transferred to other terminals, the call scene is limited, and the user experience is poor.
  • the embodiment of the present invention is to provide a multi-terminal communication method, a server, a terminal, and a storage medium, which solves the problem that the communication terminal cannot be replaced once the communication is established in the audio and video call in the prior art, and the user can According to the specific requirements, the communication terminal in the communication process is switched, and the communication scenario is more flexible and changeable; at the same time, the user experience is improved.
  • the embodiment provides a multi-terminal communication method, and the method includes:
  • the third terminal and the first terminal are different terminals;
  • the embodiment provides a multi-terminal communication method.
  • the method includes:
  • the handover request includes account information of the communication application of the first terminal;
  • the first terminal and the second terminal and the third terminal are Different terminals;
  • the embodiment provides a server, where the server includes: a first receiving part, a first obtaining part, an establishing part, a first sending part, and a processing part, wherein:
  • the first receiving part is configured to receive a handover request for the handover terminal sent by the first terminal, where the handover request includes account information of the communication application of the first terminal;
  • the first obtaining part is configured to determine identification information of the second terminal based on the account information, in response to the switching request, where the account information of the communication application of the second terminal communicates with the first terminal
  • the account information of the application is the same;
  • the first obtaining part is further configured to determine, according to the identifier information of the second terminal, identifier information of a third terminal that communicates with the second terminal by using a communication application;
  • the establishing part is configured to establish a correspondence between the identifier information of the third terminal and the identifier information of the first terminal; the third terminal and the first terminal are different terminals;
  • the first sending part is configured to send a communication switching instruction to the first terminal, where the communication switching instruction is used to instruct the first terminal to communicate with the third terminal by using the communication application;
  • the processing part is configured to process communication information between the first terminal and the third terminal based on the correspondence relationship.
  • the embodiment provides a first terminal, where the first terminal includes: a second detecting part, a third sending part, a second receiving part, and a second switching part, where:
  • the second detecting part is configured to detect whether the second terminal and the third terminal are in communication
  • the program has a communication connection
  • the third sending part is configured to: if it is detected that the second terminal and the third terminal have a communication connection through the communication application, send a handover request for switching the terminal to the server; wherein the handover request includes the first terminal Account information of the communication application; the first terminal is different from the second terminal and the third terminal;
  • the second receiving part is configured to receive a communication switching instruction sent by the server, where the communication switching instruction includes identification information of the third terminal;
  • the second switching part is configured to, according to the communication switching instruction, switch, according to the identification information of the third terminal, that the first terminal communicates with the third terminal by using the communication application.
  • the embodiment provides a server, where the server includes: a first processor and a first communication interface, where:
  • the first processor is configured to receive, by using the first communications interface, a handover request for the handover terminal sent by the first terminal, where the handover request includes account information of the communication application of the first terminal Responding to the switching request, determining identification information of the second terminal based on the account information; wherein, the account information of the communication application of the second terminal is the same as the account information of the communication application of the first terminal; Determining, by the identifier information of the second terminal, identifier information of the third terminal that communicates with the second terminal by using the communication application; establishing between the identifier information of the third terminal and the identifier information of the first terminal Corresponding relationship; the third terminal is different from the first terminal; sending a communication switching instruction to the first terminal by using the first communication interface; wherein the communication switching instruction is used to indicate the Communicating, by the first terminal, the third terminal by the communication application; processing the first terminal and the first Communication information between terminals.
  • the embodiment provides a first terminal, where the first terminal includes: a second processor and a second communication interface, where:
  • the second processor is configured to detect whether the second terminal and the third terminal have a communication connection through the communication application; if it is detected that the second terminal and the third terminal have a communication connection through the communication application, pass the second communication
  • the interface sends a handover request for switching the terminal to the server, where the handover request includes account information of the communication application of the first terminal; the first terminal is different from the second terminal and the third terminal.
  • the identification information switches the first terminal to communicate with the third terminal through the communication application.
  • the embodiment provides a computer storage medium.
  • the computer storage medium stores computer executable instructions for executing the multi-terminal communication method provided by the embodiment of the present invention.
  • the first terminal having the same account as the account of the second terminal may send a handover request to the server, and the server may establish the first terminal in response to the handover request.
  • the third terminal Corresponding relationship with the third terminal, so that the third terminal can continue to communicate with the first terminal, which solves the problem that the communication terminal cannot be replaced once the communication is established in the audio and video call in the prior art, and the user can In the communication terminal in the process of demand switching communication, the communication scenario is more flexible and changeable; at the same time, the user experience is improved.
  • FIG. 1 is a schematic flowchart of a multi-terminal communication method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another multi-terminal communication method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of still another multi-terminal communication method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another multi-terminal communication method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another multi-terminal communication method according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart diagram of another multi-terminal communication method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an interface after a terminal receives prompt information sent by a server according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an interface of a terminal in communication according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another interface of a terminal in communication and a terminal having a terminal with the same account not communicating with the terminal in communication according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another server according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another server according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of another server according to an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of a first terminal according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of another first terminal according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of another server according to an embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of still another first terminal according to an embodiment of the present invention.
  • FIG. 20 is a schematic structural diagram of a multi-terminal communication system according to an embodiment of the present invention.
  • An embodiment of the present invention provides a multi-terminal communication method, which is applied to a server.
  • the method shown in FIG. 1 includes the following steps:
  • Step 101 Receive a handover request sent by the first terminal for switching the terminal.
  • the handover request includes account information of the communication application of the first terminal.
  • the handover request sent by the first terminal for switching the terminal may be using the communication application in the first terminal After the login user himself is in the communication application account, the touch is generated after the touch is performed on the display interface of the communication application corresponding to the user's own account, and the generated switching request may be sent to the server; the communication application may be already installed.
  • An application for communication on the first terminal the communication application may include: a chat application capable of voice and video communication, such as WeChat, MSN, Skype.
  • the handover request sent by the user using the first terminal needs to carry the account information of the communication application of the first terminal, so that the server can search for the account with the same account as the account of the first terminal according to the account information of the communication application.
  • Information about the terminal that the terminal communicates with is not limited to
  • Step 102 Determine, according to the account information, identification information of the second terminal in response to the handover request.
  • the account information of the communication application of the second terminal is the same as the account information of the communication application of the first terminal.
  • the server may search for a second terminal having the same account information as the account information of the communication application of the first terminal among all terminals having a communication connection with the server. That is, the identification information of the second terminal is determined.
  • a communication application identical to the communication application in the first terminal is installed in the second terminal. The user simultaneously logs in to the same account using the same communication application on the first terminal and the second terminal.
  • Step 103 Determine, according to the identifier information of the second terminal, identifier information of the third terminal that communicates with the second terminal by using the communication application.
  • the third terminal is installed with the same communication application as the communication application on the first terminal and the second terminal, and the user using the third terminal can use the communication application to log in to the account and pass the The account of the communication application performs audio or video communication with an account corresponding to the same communication application in the second terminal.
  • Step 104 Establish a correspondence between the identifier information of the third terminal and the identifier information of the first terminal.
  • the third terminal is a different terminal from the first terminal.
  • the server can be based on the third terminal.
  • the identifier information and the identifier information of the first terminal are used to establish a correspondence between the third terminal and the first terminal, that is, the correspondence between the identifier information of the third terminal and the identifier information of the second terminal is modified to be the third terminal. Correspondence between the identification information and the identification information of the first terminal.
  • Step 105 Send a communication switching instruction to the first terminal.
  • the communication switching instruction is used to instruct the first terminal to communicate with the third terminal through the communication application.
  • the server may send the communication switching instruction to the first terminal through a communication link between the server and the first terminal, and may actually be the terminal corresponding to the identification information sent to the first terminal when transmitting.
  • Step 106 Process communication information between the first terminal and the third terminal based on a correspondence between the identifier information of the third terminal and the identifier information of the first terminal.
  • the server may send/receive the first terminal by using the correspondence between the identification information of the third terminal that has been established and the identification information of the first terminal, while transmitting the communication switching instruction to the first terminal. And communication information generated on the third terminal.
  • the first terminal having the same account as the account of the second terminal may send a handover request to the server, and the server may establish the first terminal in response to the handover request.
  • the third terminal Corresponding relationship between the third terminals, so that the third terminal can continue to communicate with the first terminal, which solves the problem that the communication terminal cannot be replaced once the communication is established in the audio and video call in the prior art, and the user can according to specific requirements.
  • the communication terminal in the communication process is switched, the communication scenario is more flexible and changeable; at the same time, the user experience is improved.
  • an embodiment of the present invention provides a method for communicating with a terminal. Referring to FIG. 2, the method includes the following steps:
  • Step 201 The first terminal detects whether the second terminal and the third terminal have a communication connection through the communication application.
  • the first terminal detects whether the second terminal and the third terminal have a communication connection through the communication application, and may be configured to determine whether the first terminal receives the prompt sent by the server. If the user of the first terminal and the account of the communication application on the terminal have the same account information and the other terminal is in communication with the other terminal, if the first terminal receives the prompt information, the second terminal is Communicating with the third terminal through the communication application; if the prompt information is not received on the first terminal, the second terminal and the third terminal are not communicating through the communication application.
  • Step 202 If it is detected that the second terminal and the third terminal have a communication connection through the communication application, the first terminal sends a handover request for switching the terminal to the server.
  • the switching request includes account information of the communication application of the first terminal; the first terminal is different from the second terminal and the third terminal; and the account information of the communication application of the second terminal is communicated with the first terminal
  • the application's account information is the same.
  • the account information of the communication application of the third terminal may be the same as the account information of the communication application of the first terminal, and the second terminal and the third terminal may pass the communication application on the second terminal and the third terminal.
  • the program communicates. At this time, the account information of the communication application of the second terminal is different from the account information of the communication application of the first terminal; then, after receiving the communication switching instruction sent by the server, the first terminal may respond to the communication.
  • the server may establish a correspondence between the identification information of the second terminal and the identification information of the first terminal, that is, modify the second terminal
  • the correspondence between the identifier information and the identifier information of the third terminal is a correspondence between the identifier information of the second terminal and the identifier information of the first terminal.
  • Step 203 The server receives a handover request sent by the first terminal for switching the terminal.
  • the server may receive the handover request sent by the first terminal by using a communication link with the first terminal.
  • Step 204 The server responds to the handover request, and determines identifier information of the second terminal based on account information of the communication application of the first terminal.
  • Step 205 The server determines to communicate with the second terminal according to the identifier information of the second terminal. Identification information of the third terminal that the application communicates with.
  • Step 206 The server establishes a correspondence between the identifier information of the third terminal and the identifier information of the first terminal.
  • the third terminal is a different terminal from the first terminal.
  • Step 207 The server sends a communication switching instruction to the first terminal.
  • the communication switching instruction is used to instruct the first terminal to communicate with the third terminal through the communication application.
  • Step 208 The first terminal receives a communication switching instruction sent by the server.
  • the switching instruction includes the identifier information of the third terminal.
  • Step 209 The first terminal responds to the communication switching instruction, and switches, according to the identification information of the third terminal, the first terminal and the third terminal to communicate through the communication application.
  • the first terminal may, in response to the communication switching instruction, search for the third terminal according to the identification information of the third terminal carried in the communication switching instruction, and then switch the first terminal. Communicate with the found third terminal through the same communication application.
  • the communication application in the first terminal, the second terminal, and the third terminal is the instant messaging software Q.
  • the first terminal and the third terminal are mobile phones, and the second terminal is a computer as an example. I have a mobile phone and a computer, and I use my mobile phone and computer to log in to my instant messaging software Q account. The current user is using the instant messaging software Q on my computer to make a video call with the instant messaging software Q on another user's mobile phone.
  • the user can switch the instant messaging software Q on his mobile phone to the video communication call with the instant messaging software Q on the mobile phone of another user.
  • the user will use the instant messaging software Q on his own computer to make a video call with the instant messaging software Q on another user's mobile phone, and switch to the user using the instant messaging software Q on his mobile phone and the other user's mobile phone.
  • the instant messaging software Q makes a video call, and the video call is connected to the previous video call without interruption.
  • Step 210 The server processes the communication information between the first terminal and the third terminal according to the correspondence between the identifier information of the third terminal and the identifier information of the first terminal.
  • an embodiment of the present invention provides a multi-terminal communication method. Referring to FIG. 3, the method includes the following steps:
  • Step 301 The first terminal detects whether the second terminal and the third terminal have a communication connection through the communication application.
  • Step 302 If it is detected that the second terminal and the third terminal have a communication connection through the communication application, the first terminal receives the touch instruction.
  • the first terminal since the account information of the communication application of the first terminal may be the same as the account information of the communication application of the second terminal, the first terminal may have a button or a key combination or a fixed function with a specific function.
  • the user using the first terminal can generate a touch command by touching a button or a combination of keys having a specific function on the display screen of the first terminal or performing a fixed combination operation.
  • the touch command may be generated after the user using the first terminal touches a certain fixed position on the display interface of the instant messaging software Q on the first terminal.
  • Step 303 The first terminal responds to the touch command, generates a handover request for switching the terminal, and sends a handover request to the server.
  • the switching request includes account information of the communication application of the first terminal; the first terminal is a different terminal from the second terminal and the third terminal.
  • the first terminal may respond to the touch command and generate a handover request for switching the terminal, and the first terminal may switch the communication through a communication link with the server.
  • the request is sent to the server.
  • Step 304 The server receives a handover request sent by the first terminal for switching the terminal.
  • Step 305 The server determines, according to the handover request, the identifier information of the second terminal based on the account information of the communication application of the first terminal.
  • the account information of the communication application of the second terminal is the same as the account information of the communication application of the first terminal.
  • Step 306 The server determines, according to the identifier information of the second terminal, identifier information of the third terminal that communicates with the second terminal by using the communication application.
  • Step 307 The server establishes a correspondence between the identifier information of the third terminal and the identifier information of the first terminal.
  • the third terminal is a different terminal from the first terminal.
  • Step 308 The server sends a communication switching instruction to the first terminal.
  • the communication switching instruction is used to instruct the first terminal to communicate with the third terminal through the communication application.
  • Step 309 The first terminal receives a communication switching instruction sent by the server.
  • the switching instruction includes the identifier information of the third terminal.
  • Step 310 The first terminal responds to the communication switching instruction, and switches, according to the identification information of the third terminal, the first terminal and the third terminal to communicate through the communication application.
  • Step 311 The server receives the communication information sent by the third terminal.
  • the server sends a communication switching instruction to the first terminal, and the first terminal switches the first terminal and the third terminal to communicate through the communication application, and can receive through the communication link of the third terminal and the server. All communication information sent by the third terminal.
  • the communication information includes a communication status before the third terminal and the second terminal, and the communication status may include information such as a video call, a voice call, a text communication, and the like performed by the second terminal and the third terminal.
  • Step 312 The server sends the communication information to the first terminal by using a correspondence between the identifier information of the third terminal and the identifier information of the first terminal.
  • the server may search for the first communication that needs to be communicated with the third terminal by using the correspondence between the identifier information of the third terminal and the identifier information of the first terminal. And transmitting, by the terminal, all communication information sent by the third terminal to the first terminal.
  • the multi-terminal communication method of the present invention can implement seamless handover of the terminal handover on the basis of implementing the handover of the terminal, and other users who communicate with the user cannot perceive the change of the terminal of the opposite end, and the entire communication process can still be performed. Very smooth.
  • the multi-terminal communication method further includes the following steps:
  • Step 313 The server determines whether the communication network in which the third terminal communicates with the first terminal and the communication network in which the second terminal communicates with the third terminal are the same.
  • the server may obtain the communication network that the third terminal communicates with the first terminal as the first network, and obtain the communication network that the second terminal communicates with the third terminal as the second network, and then determine the first network and the second network.
  • the first network and the second network may include: a Global System for Mobile Communication (GSM) network operated by a Chinese mobile communication company, and a Wideband Code Division Multiple Access (China) operated by China Unicom (Wideband Code) Division Multiple Access (WCDMA) network or Code Division Multiple Access (CDMA) network operated by a Chinese telecommunications company.
  • GSM Global System for Mobile Communication
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • the first communication network may also include a Long Term Evolution (LTE) communication network.
  • the data network may also include a Wireless-Fidelity (Wi-Fi) network corresponding to the above network.
  • Step 314 If the communication network that the third terminal communicates with the first terminal and the communication network that the second terminal communicates with the third terminal, the server switching transit server route is corresponding to the communication network that communicates with the third terminal and the first terminal. Target transit server routing.
  • the first terminal communicates with the third terminal when the first terminal communicates with the third terminal.
  • the network and the second terminal are changed compared with the communication network of the third terminal.
  • the server may switch to the first terminal and the third terminal to provide communication services.
  • the transit server routes the target transit server route corresponding to the communication network that communicates with the third terminal and the first terminal.
  • the multi-terminal communication method further includes the following steps:
  • Step 501 When the second terminal has a communication connection with the third terminal, the server acquires a fourth terminal that has an association relationship with an account of the communication application of the second terminal and the third terminal.
  • the fourth terminal is a different terminal from the second terminal and the third terminal.
  • the fourth terminal is also installed with the same communication application as the communication application in the second terminal and the third terminal; the account information of the communication application of the fourth terminal can be communicated with the second terminal.
  • the account information of the application is the same or the same as the account information of the communication application of the third terminal.
  • the fourth terminal includes at least one terminal, and the first terminal may be one of the fourth terminals; that is, the first terminal and the fourth terminal may be considered to be the same.
  • Step 502 The server sends the prompt information to the fourth terminal.
  • the prompt information is used to prompt the user of the communication application of the fourth terminal to communicate on the other terminal, and can switch to the fourth terminal for communication.
  • the fourth terminal may display the prompt information on the communication application of the fourth terminal; if the fourth terminal is a mobile phone, the communication application is instant messaging software Q, Then, the prompt information can be displayed on the instant messaging software Q interface of the mobile phone, and the user can see the prompt information by simply opening the instant messaging software Q.
  • the multi-terminal communication method further includes the following steps:
  • Step 503 The server detects whether there is a new terminal using the account of the communication application of the second terminal and/or the third terminal.
  • detecting whether there is a new terminal using the second terminal and/or the account of the third terminal's communication application may be by checking whether a new terminal uses the second terminal and/or the third terminal's communication application's account login If there is a new terminal using the account registration of the communication application of the second terminal and/or the third terminal, it is detected that the new terminal uses the account of the communication application of the second terminal and/or the third terminal.
  • the new terminal is different from the first terminal, the second terminal, the third terminal, and the fourth terminal.
  • Step 504 If it is detected that a new terminal uses the account of the communication application of the second terminal and/or the third terminal, the server sends a prompt message to the new terminal.
  • the terminal needs to send the prompt information to the new terminal in order to ensure that all terminals having the same account as the account of the communication application of the second terminal and/or the third terminal can perceive the communication state of the terminal having the associated relationship.
  • the embodiment of the present invention can realize that when one terminal of the multi-terminal having the same account information communicates with other terminals, other terminals in the multi-terminal can perceive that their own account is communicating, and can sense other terminals of the same account. Communication status.
  • the communication application is the instant messaging software Q, the user " ⁇ ” owns the mobile phone a1 and the computer a2, and the user “haha” owns the mobile phone b1 and the computer b2, and the user “ ⁇ ” "Use the same account to log in to the instant messaging software Q on your mobile phone a1 and computer a2 at the same time.
  • the user "haha” and the user “ ⁇ ” use the instant messaging software Q for voice chat as an example:
  • the current user " ⁇ ” uses his own computer a2 and the user “haha” mobile phone b1 to use the instant messaging software Q on the respective device for voice chat, when the user " ⁇ ” and the user “haha” conduct voice chat,
  • the server that provides the communication service to the mobile phone a1, the computer a2, the mobile phone b1, and the computer b2 can send a prompt message to the mobile phone a1 of the user " ⁇ ” and the computer b2 of the user "haha", as shown in FIG.
  • the user " ⁇ ” is using the computer to make a voice call with the user "haha” 180;
  • the display interface of the instant messaging software Q of the mobile phone b1 of the user who is on the call is as shown in FIG. 8b, indicating that the user “haha” is making a voice call with the user “ ⁇ ” at the user's mobile phone.
  • the user “ ⁇ ” wants to move because of some factors. At this time, “ ⁇ ” wants to switch the voice chat between himself and the user “haha” to his mobile phone a1; at this time, “ ⁇ ” can touch
  • the identifier on the mobile phone a1 has the area of "click here to go to the local machine", that is, the switching request can be generated and the switching request is sent to the server, and the server can find the same account as the account on the mobile phone a1 after receiving the switching request.
  • the identification information of the computer a2 of the account information and searching for the identification information of the mobile phone b1 for making a voice call with the computer a2 based on the identification information of the computer a2, and then establishing the correspondence between the mobile phone b1 and the mobile phone a1.
  • the server can send a communication switching command to the handset a1 of " ⁇ ".
  • the mobile phone a1 of the user “ ⁇ ” can switch the mobile phone a1 of the mobile phone a1 and the mobile phone b1 of the user “haha” in response to the communication switching instruction. Use their respective communication software Q for voice calls.
  • the display interface of the instant messaging software Q on the mobile phone a1 of the user " ⁇ ” and the computer a2 will change, and the display interface of the instant messaging software Q on the mobile phone a1 of the " ⁇ ” is as shown in FIG.
  • the server can receive the communication information sent by the user “haha” mobile phone b1, and then send the communication information to the mobile phone a1 of the user “ ⁇ ” through the correspondence between the mobile phone b1 and the mobile phone a1.
  • the multi-terminal communication method in the present invention can be applied to a communication system as shown in FIG. 10, the communication system includes: a call information cluster, a terminal switching cluster, a data relay cluster, The user's " ⁇ " mobile phone a1, computer a2, user "haha” mobile phone b1, computer b2; wherein, the call information cluster is responsible for managing the call information and member information in the audio and video call, and is also responsible for the multi-terminal status during the call. Synchronization, when there is an audio and video call, when there is a multi-terminal online on either side of the call, the non-initiated call terminal can timely sense that other terminals in the same account are participating in the call and exiting the call.
  • the data relay cluster is used for the data transfer cluster to be responsible for the relay transmission of media data during the audio and video call.
  • the data relay cluster can make relevant decisions according to the change of the network signal without the user's perception, and whether it is necessary to update the data transfer suitable for the signal type.
  • Server routing to provide data for calls The transit service realizes the adaptation of the data relay link to the change of the network signal.
  • An embodiment of the present invention provides a server 5, as shown in FIG. 11, the server includes: a first receiving portion 51, a first obtaining portion 52, an establishing portion 53, a first transmitting portion 54, and a processing portion 55, wherein:
  • the first receiving part 51 is configured to receive a handover request for the handover terminal sent by the first terminal, where the handover request includes account information of the communication application of the first terminal.
  • the first obtaining part 52 is configured to determine the identification information of the second terminal based on the account information in response to the handover request; wherein the account information of the communication application of the second terminal is the same as the account information of the communication application of the first terminal.
  • the first obtaining part 52 is further configured to determine, according to the identification information of the second terminal, identification information of the third terminal that communicates with the second terminal through the communication application.
  • the establishing part 53 is configured to establish a correspondence between the identification information of the third terminal and the identification information of the first terminal, where the third terminal is different from the first terminal.
  • the first transmitting portion 54 is configured to send a communication switching instruction to the first terminal; wherein the communication switching instruction is configured to instruct the first terminal to communicate with the third terminal through the communication application.
  • the processing section 55 is configured to process the communication information between the first terminal and the third terminal based on the correspondence relationship.
  • the processing portion 55 includes: a first receiving sub-portion 551 and a transmitting sub-portion 552, wherein: the first receiving sub-portion 551 is configured to receive communication information sent by the third terminal; The sub-portion 552 is configured to send the communication information to the first terminal by using a correspondence between the identifier information of the third terminal and the identifier information of the first terminal.
  • the server further includes: a second obtaining portion 56 and a second transmitting portion 57, wherein:
  • the second obtaining part 56 is configured to acquire a fourth terminal having an association relationship with an account of the communication application of the second terminal and the third terminal; wherein the fourth terminal and the second terminal and the third terminal Is a different terminal;
  • the second sending part 57 is configured to send the prompt information to the fourth terminal; wherein the prompt information is used to prompt the user of the communication application of the fourth terminal to communicate on the other terminal, and can switch to the fourth terminal for communication .
  • the server further includes: a judging portion 58 and a first switching portion 59, wherein:
  • the determining portion 58 is configured to determine whether the communication network in which the third terminal communicates with the first terminal and the communication network in which the second terminal communicates with the third terminal are the same;
  • the first switching part 59 is configured to: if the communication network in which the third terminal communicates with the first terminal and the communication network in which the second terminal communicates with the third terminal, the switching relay server routes to communicate with the third terminal and the first terminal The target transit server route corresponding to the communication network.
  • the server further includes: a first detecting portion 510, wherein: the first detecting portion 510 is configured to detect whether a new terminal uses the communication of the second terminal and/or the third terminal The account of the application; the second transmitting portion 57 is further configured to send the prompt information to the new terminal if it detects that the new terminal uses the account of the communication application of the second terminal and/or the third terminal.
  • the first terminal includes: a second detecting portion 61, a third transmitting portion 62, a second receiving portion 63, and a second switching portion 64, wherein:
  • the second detecting portion 61 is configured to detect whether the second terminal and the third terminal have a communication connection through the communication application;
  • the third sending part 62 is configured to: if it is detected that the second terminal and the third terminal have a communication connection through the communication application, send a handover request for switching the terminal to the server; wherein the handover request includes the communication application of the first terminal Account information; the first terminal is different from the second terminal and the third terminal;
  • the second receiving part 63 is configured to receive a communication switching instruction sent by the server, where the communication switching instruction includes the identification information of the third terminal;
  • the second switching part 64 is configured to, in response to the communication switching instruction, switch the first terminal to communicate with the third terminal through the communication application based on the identification information of the third terminal.
  • the third transmitting portion 62 includes a second receiving sub-portion 621 and a processing sub-portion 622, wherein:
  • the second receiving sub-portion 621 is configured to receive a touch command if it is detected that the second terminal and the third terminal have a communication connection through the communication application;
  • the processing sub-portion 622 is configured to generate a handover request for switching the terminal and send a handover request to the server in response to the touch command.
  • An embodiment of the present invention provides a server 7.
  • the server includes: a first processor 71 and a first communication interface 72, wherein:
  • the first processor 71 is configured to receive, by using the first communication interface 72, a handover request for the handover terminal sent by the first terminal; the handover request includes account information of the communication application of the first terminal; and responding to the handover request, based on the account information Determining identification information of the second terminal; the account information of the communication application of the second terminal is the same as the account information of the communication application of the first terminal; determining, according to the identification information of the second terminal, communicating with the second terminal by using the communication application
  • the identification information of the third terminal is established; the correspondence between the identification information of the third terminal and the identification information of the first terminal is established; the third terminal is different from the first terminal; and the communication switching instruction is sent through the first communication interface 72.
  • the communication switching instruction is used to instruct the first terminal to communicate with the third terminal through the communication application; and process the communication information between the first terminal and the third terminal based on the correspondence relationship.
  • An embodiment of the present invention provides a first terminal 8.
  • the first terminal includes: a second processor 81 and a second communication interface 82, where:
  • the second processor 81 is configured to detect whether the second terminal and the third terminal have a communication connection through the communication application; if it is detected that the second terminal and the third terminal have a communication connection through the communication application, send through the second communication interface 82 a switching request for switching the terminal to the server; wherein the switching request includes account information of the communication application of the first terminal; the first terminal is different from the second terminal and the third terminal; and is received by the second communication interface 82 a communication switching instruction sent by the server; wherein the communication switching instruction includes the identification information of the third terminal; and in response to the communication switching instruction, the first terminal and the third terminal are switched according to the identification information of the third terminal to communicate through the communication application.
  • another embodiment of the present invention provides a multi-terminal communication system 9.
  • the system may include: a first terminal 91 and a server 92, wherein:
  • the first terminal 91 may be a first terminal provided by the embodiment corresponding to FIGS. 16-17 and 19 in the drawings of the specification.
  • Server 92 may be a server provided by the embodiment corresponding to Figures 11-15, 18 in the drawings of the specification.
  • the first switching portion, the first detecting portion, the second detecting portion, the third transmitting portion, the second receiving portion, the second switching portion, the second receiving sub-portion, and the processing sub-portion may each be centrally located in the wireless data transmitting device Processor (Central Processing Unit, CPU, Micro Processor Unit (MPU), Digital Signal Processor (DSP) or Field Programmable Gate Array (FPGA).
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the multi-terminal communication method described above is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the multi-terminal communication method provided by the embodiment of the present invention.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the first terminal having the same account as the account of the second terminal may send a handover request to the server, and the server may establish the first terminal in response to the handover request.
  • the third terminal Corresponding relationship with the third terminal, so that the third terminal can continue to communicate with the first terminal, which solves the problem that the communication terminal cannot be replaced once the communication is established in the audio and video call in the prior art, and the user can In the communication terminal in the process of demand switching communication, the communication scenario is more flexible and changeable; at the same time, the user experience is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例公开了一种多终端通信方法,所述方法包括:接收第一终端发送的用于切换终端的切换请求;切换请求中包括第一终端的通信应用程序的账户信息;响应切换请求,基于账户信息确定第二终端的标识信息;第二终端的通信应用程序的账户信息与第一终端的通信应用程序的账户信息相同;基于第二终端的标识信息,确定与第二终端通过通信应用程序进行通信的第三终端的标识信息;建立第三终端的标识信息与第一终端的标识信息之间的对应关系;发送通信切换指令至第一终端;通信切换指令用于指示第一终端与第三终端通过通信应用程序进行通信;基于对应关系处理第一终端与第三终端之间的通信信息。本发明的实施例同时还公开了一种服务器和终端。

Description

一种多终端通信方法、服务器和终端、存储介质
相关申请的交叉引用
本申请基于申请号为201610911926.5、申请日为2016年10月19日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及通信领域中的多终端通信技术,尤其涉及一种多终端通信方法、服务器和终端、存储介质。
背景技术
随着网络通信技术的飞速发展和各种智能设备(智能手机、各种pad及可穿戴智能设备等),特别是智能手机的快速普及,音视频通话已经从以PC为主要的参入终端的时代进入到以移动智能设备终端为主要参入终端的移动互联网时代。在移动互联网时代,用户对音视频通话的质量,通话过程的灵活移动能力及环境适应能力都有了更高要求。
现有的通信策略虽然在后台可以允许同一账号多个终端设备同时在线,音视频通话发起时,如果被叫方有多个终端在线,音视频后台可以把音视频呼叫请求发送到被叫方的所有在线终端上,但被叫方只能在一个终端接听通话,未参入通话的其它终端无法感知相同账号的其它终端的通话存在。而且,一旦建立音视频通话后,参入通话双方的终端类型就固定了,音视频通话无法转移到其它终端,通话场景受限,用户体验较差。
发明内容
为解决上述技术问题,本发明实施例期望提供一种多终端通信方法、服务器和终端、存储介质,解决了现有技术中的音视频通话中一旦通信建立后无法更换通信终端的问题,用户可以根据具体的需求切换通信过程中的通信终端,通信场景更灵活多变;同时,提高了用户的体验效果。
本发明实施例的技术方案是这样实现的:
本实施例提供一种多终端通信方法,所述方法包括:
接收第一终端发送的用于切换终端的切换请求;其中,所述切换请求中包括所述第一终端的通信应用程序的账户信息;
响应所述切换请求,基于所述账户信息确定第二终端的标识信息;其中,所述第二终端的通信应用程序的账户信息与所述第一终端的通信应用程序的账户信息相同;
基于所述第二终端的标识信息,确定与所述第二终端通过通信应用程序进行通信的第三终端的标识信息;
建立所述第三终端的标识信息与所述第一终端的标识信息之间的对应关系;所述第三终端与所述第一终端是不同的终端;
发送通信切换指令至所述第一终端;其中,所述通信切换指令用于指示所述第一终端与所述第三终端通过所述通信应用程序进行通信;
基于所述对应关系处理所述第一终端与所述第三终端之间的通信信息。
本实施例提供一种多终端通信方法所述方法包括:
检测第二终端与第三终端是否通过通信应用程序具有通信连接;
若检测到第二终端与第三终端通过通信应用程序具有通信连接,发送用于切换终端的切换请求至服务器;其中,所述切换请求中包括第一终端的通信应用程序的账户信息;所述第一终端与所述第二终端、第三终端是 不同的终端;
接收所述服务器发送的通信切换指令;其中,所述通信切换指令中包括所述第三终端的标识信息;
响应所述通信切换指令,基于所述第三终端的标识信息切换所述第一终端与所述第三终端通过所述通信应用程序进行通信。
本实施例提供一种服务器,所述服务器包括:第一接收部分、第一获取部分、建立部分、第一发送部分和处理部分,其中:
所述第一接收部分,配置为接收第一终端发送的用于切换终端的切换请求;其中,所述切换请求中包括所述第一终端的通信应用程序的账户信息;
所述第一获取部分,配置为响应所述切换请求,基于所述账户信息确定第二终端的标识信息;其中,所述第二终端的通信应用程序的账户信息与所述第一终端的通信应用程序的账户信息相同;
所述第一获取部分,还配置为基于所述第二终端的标识信息,确定与所述第二终端通过通信应用程序进行通信的第三终端的标识信息;
所述建立部分,配置为建立所述第三终端的标识信息与所述第一终端的标识信息之间的对应关系;所述第三终端与所述第一终端是不同的终端;
所述第一发送部分,配置为发送通信切换指令至所述第一终端;其中,所述通信切换指令用于指示所述第一终端与所述第三终端通过所述通信应用程序进行通信;
所述处理部分,配置为基于所述对应关系处理所述第一终端与所述第三终端之间的通信信息。
本实施例提供一种第一终端,所述第一终端包括:第二检测部分、第三发送部分、第二接收部分和第二切换部分,其中:
所述第二检测部分,配置为检测第二终端与第三终端是否通过通信应 用程序具有通信连接;
所述第三发送部分,配置为若检测到第二终端与第三终端通过通信应用程序具有通信连接,发送用于切换终端的切换请求至服务器;其中,所述切换请求中包括第一终端的通信应用程序的账户信息;所述第一终端与所述第二终端、第三终端是不同的终端;
所述第二接收部分,配置为接收所述服务器发送的通信切换指令;其中,所述通信切换指令中包括所述第三终端的标识信息;
所述第二切换部分,配置为响应所述通信切换指令,基于所述第三终端的标识信息切换所述第一终端与所述第三终端通过所述通信应用程序进行通信。
本实施例提供一种服务器,所述服务器包括:第一处理器和第一通信接口,其中:
所述第一处理器,配置为通过所述第一通信接口接收第一终端发送的用于切换终端的切换请求;其中,所述切换请求中包括所述第一终端的通信应用程序的账户信息;响应所述切换请求,基于所述账户信息确定第二终端的标识信息;其中,所述第二终端的通信应用程序的账户信息与所述第一终端的通信应用程序的账户信息相同;基于所述第二终端的标识信息,确定与所述第二终端通过通信应用程序进行通信的第三终端的标识信息;建立所述第三终端的标识信息与所述第一终端的标识信息之间的对应关系;所述第三终端与所述第一终端是不同的终端;通过所述第一通信接口发送通信切换指令至所述第一终端;其中,所述通信切换指令用于指示所述第一终端与所述第三终端通过所述通信应用程序进行通信;基于所述对应关系处理所述第一终端与所述第三终端之间的通信信息。
本实施例提供一种第一终端,所述第一终端包括:第二处理器和第二通信接口,其中:
所述第二处理器,配置为检测第二终端与第三终端是否通过通信应用程序具有通信连接;若检测到第二终端与第三终端通过通信应用程序具有通信连接,通过所述第二通信接口发送用于切换终端的切换请求至服务器;其中,所述切换请求中包括第一终端的通信应用程序的账户信息;所述第一终端与所述第二终端、第三终端是不同的终端;通过所述第二通信接口接收所述服务器发送的通信切换指令;其中,所述通信切换指令中包括所述第三终端的标识信息;响应所述通信切换指令,基于所述第三终端的标识信息切换所述第一终端与所述第三终端通过所述通信应用程序进行通信。
本实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例提供的多终端通信方法。
本发明实施例中,在第二终端与第三终端具有通信连接的时候,与第二终端的账户具有相同账户的第一终端可以发送切换请求给服务器,服务器可以响应该切换请求建立第一终端与第三终端之间的对应关系,从而第三终端可以继续与第一终端进行通信,解决了现有技术中的音视频通话中一旦通信建立后无法更换通信终端的问题,用户可以根据具体的需求切换通信过程中的通信终端,通信场景更灵活多变;同时,提高了用户的体验效果。
附图说明
图1为本发明实施例一种多终端通信方法的流程示意图;
图2为本发明实施例另一种多终端通信方法的流程示意图;
图3为本发明实施例又一种多终端通信方法的流程示意图;
图4为本发明实施例另一种多终端通信方法的流程示意图;
图5为本发明实施例另一种多终端通信方法的流程示意图;
图6为本发明实施例另一种多终端通信方法的流程示意图;
图7为本发明实施例一种终端接收到服务器发送的提示信息后的界面示意图;
图8为本发明实施例一种正在进行通信中的终端的界面示意图;
图9为本发明实施例另一种正在进行通信中的终端的界面示意图和与通信中的终端具有相同账号未通信的终端的界面示意图;
图10为本发明实施例一种通信系统的架构示意图;
图11为本发明实施例一种服务器的结构示意图;
图12为本发明实施例另一种服务器的结构示意图;
图13为本发明实施例又一种服务器的结构示意图;
图14为本发明实施例一种服务器的结构示意图;
图15为本发明实施例另一种服务器的结构示意图;
图16为本发明实施例一种第一终端的结构示意图;
图17为本发明实施例另一种第一终端的结构示意图;
图18为本发明实施例另一种服务器的结构示意图;
图19为本发明实施例的又一种第一终端的结构示意图;
图20为本发明实施例一种多终端通信系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
本发明的实施例提供一种多终端通信方法,应用于服务器,参照图1所示该方法包括以下步骤:
步骤101、接收第一终端发送的用于切换终端的切换请求。
其中,切换请求中包括第一终端的通信应用程序的账户信息。第一终端发送的用于切换终端的切换请求可以是使用第一终端中的通信应用程序 登录用户自己在该通信应用程序的账号后,在用户自己账号对应的通信应用程序的显示界面上进行触控后产生的,并且可以将产生的切换请求发送至服务器;通信应用程序可以是已经安装在第一终端上的用于通信的应用程序,该通信应用程序可以包括:微信、MSN、Skype等能够进行语音、视频通信的聊天应用程序。同时,使用第一终端的用户发送的切换请求中需要携带第一终端的通信应用程序的账户信息,这样服务器可以根据该通信应用程序的账户信息查找与第一终端的账户具有相同的账户的其它终端通信的终端的信息。
步骤102、响应切换请求,基于该账户信息确定第二终端的标识信息。
其中,第二终端的通信应用程序的账户信息与第一终端的通信应用程序的账户信息相同。
在其他实施例中,服务器在接收到第一终端发送的切换请求之后,可以在与服务器具有通信连接的所有终端中查找与第一终端的通信应用程序的账户信息具有相同账户信息的第二终端,即确定该第二终端的标识信息。第二终端中安装有与第一终端中的通信应用程序相同的通信应用程序。用户同时使用第一终端和第二终端上的同一通信应用程序登录同一账户。
步骤103、基于第二终端的标识信息,确定与第二终端通过通信应用程序进行通信的第三终端的标识信息。
在其他实施例中,第三终端上安装有与第一终端、第二终端上的通信应用程序相同的通信应用程序,使用第三终端的用户可以使用该通信应用程序登录自己的账户,并通过该通信应用程序的账户与第二终端中相同的通信应用程序对应的账户进行音频或者视频通信。
步骤104、建立第三终端的标识信息与第一终端的标识信息之间的对应关系。
其中,第三终端与第一终端是不同的终端。服务器可以基于第三终端 的标识信息和第一终端的标识信息,建立第三终端与第一终端之间的对应关系,即将之前第三终端的标识信息与第二终端的标识信息之间的对应关系修改为第三终端的标识信息与第一终端的标识信息之间的对应关系。
步骤105、发送通信切换指令至第一终端。
其中,通信切换指令用于指示第一终端与第三终端通过通信应用程序进行通信。服务器可以是通过服务器与第一终端之间的通信链路将通信切换指令发送至第一终端的,实际在发送的时候可以是发送至第一终端的标识信息对应的终端。
步骤106、基于第三终端的标识信息与第一终端的标识信息之间的对应关系处理第一终端与第三终端之间的通信信息。
在其他的实施例中,服务器在将通信切换指令发送至第一终端的同时还可以通过已经建立的第三终端的标识信息与第一终端的标识信息之间的对应关系发送/接收第一终端和第三终端上产生的通信信息。
本实施例中,在第二终端与第三终端具有通信连接的时候,与第二终端的账户具有相同账户的第一终端可以发送切换请求给服务器,服务器可以响应该切换请求建立第一终端与第三终端之间的对应关系,从而第三终端可以继续与第一终端进行通信,解决了现有技术中的音视频通话中一旦通信建立后无法更换通信终端的问题,用户可以根据具体的需求切换通信过程中的通信终端,通信场景更灵活多变;同时,提高了用户的体验效果。
基于前述的实施例,本发明的实施例提供一种对终端通信方法,参照图2所示,该方法包括以下步骤:
步骤201、第一终端检测第二终端与第三终端是否通过通信应用程序具有通信连接。
其中,第一终端检测第二终端与第三终端是否通过通信应用程序具有通信连接,可以是通过判断第一终端上是否接收到服务器发送的用于提示 使用第一终端的用户与该终端上的通信应用程序的账户具有相同账户信息的终端与其它终端在进行通信的提示信息来实现的,如果第一终端上接收到该提示信息,说明第二终端与第三终端通过通信应用程序进行通信;如果第一终端上没有接收到该提示信息,说明第二终端与第三终端没有通过通信应用程序进行通信。
步骤202、若检测到第二终端与第三终端通过通信应用程序具有通信连接,第一终端发送用于切换终端的切换请求至服务器。
其中,该切换请求中包括第一终端的通信应用程序的账户信息;第一终端与第二终端、第三终端是不同的终端;第二终端的通信应用程序的账户信息与第一终端的通信应用程序的账户信息相同。
在其它实施例中,第三终端的通信应用程序的账户信息可以与第一终端的通信应用程序的账户信息相同,第二终端和第三终端可以通过第二终端和第三终端上的通信应用程序进行通信,此时,第二终端的通信应用程序的账户信息与第一终端的通信应用程序的账户信息不相同;那么,第一终端接收到服务器发送的通信切换指令后,可以响应该通信切换指令,将第一终端切换为与第二终端通过通信应用程序进行通信,并且,服务器可以建立第二终端的标识信息与第一终端的标识信息之间的对应关系,即修改第二终端的标识信息与第三终端的标识信息之间的对应关系为第二终端的标识信息与第一终端的标识信息之间的对应关系。
步骤203、服务器接收第一终端发送的用于切换终端的切换请求。
其中,服务器可以是通过与第一终端的通信链路来接收第一终端发送的切换请求的。
步骤204、服务器响应该切换请求,基于第一终端的通信应用程序的账户信息确定第二终端的标识信息。
步骤205、服务器基于第二终端的标识信息,确定与第二终端通过通信 应用程序进行通信的第三终端的标识信息。
步骤206、服务器建立第三终端的标识信息与第一终端的标识信息之间的对应关系。
其中,第三终端与第一终端是不同的终端。
步骤207、服务器发送通信切换指令至第一终端。
其中,通信切换指令用于指示第一终端与第三终端通过通信应用程序进行通信。
步骤208、第一终端接收服务器发送的通信切换指令。
其中,切换指令中包括第三终端的标识信息。
步骤209、第一终端响应该通信切换指令,基于第三终端的标识信息切换第一终端与第三终端通过通信应用程序进行通信。
在其他实施例中,第一终端接收到服务器发送的通信切换指令之后,可以响应该通信切换指令,根据该通信切换指令中携带的第三终端的标识信息查找第三终端,之后切换第一终端与查找到的第三终端通过同一通信应用程序进行通信。例如,以第一终端、第二终端和第三终端中的通信应用程序均为即时通讯软件Q,第一终端和第三终端为手机、第二终端为电脑为例进行说明:某一用户同时拥有手机和电脑,并同时使用手机和电脑登录了自己的即时通讯软件Q账号,当前用户正在使用自己的电脑上的即时通讯软件Q与另一用户的手机上的即时通讯软件Q进行视频通话,一旦该某一用户的手机上接收到服务器发送的通信切换指令,用户可以切换自己的手机上的即时通讯软件Q与另一用户的手机上的即时通讯软件Q进行视频通话。即将用户之前使用自己的电脑上的即时通讯软件Q与另一用户的手机上的即时通讯软件Q进行视频通话,切换为用户使用自己的手机上的即时通讯软件Q与另一用户的手机上的即时通讯软件Q进行视频通话,而且该视频通话与之前的视频通话是接续进行、没有间断的。
步骤210、服务器基于第三终端的标识信息与第一终端的标识信息之间的对应关系处理第一终端与第三终端之间的通信信息。
需要说明的是,本实施例中与其它实施例中相同步骤或概念的解释可以参照其它实施例中的描述。
基于前述的实施例,本发明的实施例提供一种多终端通信方法,参照图3所示,该方法包括以下步骤:
步骤301、第一终端检测第二终端与第三终端是否通过通信应用程序具有通信连接。
步骤302、若检测到第二终端与第三终端通过通信应用程序具有通信连接,第一终端接收触控指令。
在其他的实施例中,因为第一终端的通信应用程序的账户信息可以与第二终端的通信应用程序的账户信息相同,因此第一终端上可以有一个具有特定功能的按键或者按键组合或者固定组合操作,使用第一终端的用户可以通过触控该第一终端的显示屏幕上的具有特定功能的按键或按键组合或者进行固定组合操作来产生触控指令。例如,该触控指令可以是使用第一终端的用户触控第一终端上的即时通讯软件Q的显示界面上的某一固定位置后产生的。
步骤303、第一终端响应该触控指令,产生用于切换终端的切换请求并发送切换请求至服务器。
其中,该切换请求中包括第一终端的通信应用程序的账户信息;第一终端与第二终端、第三终端是不同的终端。
在其他的实施例中,第一终端接收到用户的触控指令之后,可以响应该触控指令并产生用于切换终端的切换请求,同时第一终端可以通过与服务器的通信链路将该切换请求发送至服务器。
步骤304、服务器接收第一终端发送的用于切换终端的切换请求。
步骤305、服务器响应该切换请求,基于第一终端的通信应用程序的账户信息确定第二终端的标识信息。
其中,第二终端的通信应用程序的账户信息与第一终端的通信应用程序的账户信息相同。
步骤306、服务器基于第二终端的标识信息,确定与第二终端通过通信应用程序进行通信的第三终端的标识信息。
步骤307、服务器建立第三终端的标识信息与第一终端的标识信息之间的对应关系。
第三终端与第一终端是不同的终端。
步骤308、服务器发送通信切换指令至第一终端。
其中,通信切换指令用于指示第一终端与第三终端通过通信应用程序进行通信。
步骤309、第一终端接收服务器发送的通信切换指令。
其中,切换指令中包括第三终端的标识信息。
步骤310、第一终端响应通信切换指令,基于第三终端的标识信息切换第一终端与第三终端通过通信应用程序进行通信。
步骤311、服务器接收第三终端发送的通信信息。
在其他的实施例中,服务器在发送通信切换指令给第一终端,第一终端切换第一终端与第三终端通过通信应用程序进行通信的同时,可以通过第三终端与服务器的通信链路接收第三终端发送过来的所有的通信信息。当然,该通信信息中包括第三终端与第二终端之前的通信状况,该通信状况可以包括第二终端与第三终端之前进行的是视频通话、语音通话、文字通信等信息。
步骤312、服务器通过第三终端的标识信息与第一终端的标识信息之间的对应关系,发送通信信息至第一终端。
在其他的实施例中,服务器接收到第三终端发送的通信信息之后,可以通过第三终端的标识信息与第一终端的标识信息之间的对应关系查找需要与第三终端进行通信的第一终端,并发送接收到第三终端发送的所有通信信息给第一终端。这样,本发明中的多终端通信方法在实现终端切换的基础上,可以实现终端切换的无缝对接,与该用户进行通信的其它用户感知不到对端的终端发了变化,整个通信过程仍然可以很流畅的进行。
基于前述实施例,在本发明的其它实施例中,参照图4所示,多终端通信方法还包括以下步骤:
步骤313、服务器判断第三终端与第一终端通信的通信网络和第二终端与第三终端通信的通信网络是否相同。
具体的,服务器可以获取第三终端与第一终端通信的通信网络为第一网络,同时获取第二终端与第三终端通信的通信网络为第二网络,之后可以判断第一网络与第二网络是否相同。需要说明的是,第一网络和第二网络可以包括:中国的移动通信公司运营的全球移动通信(Global System for Mobile Communication,GSM)网络、中国的联通公司运营的宽带码分多址(Wideband Code Division Multiple Access,WCDMA)网络或者中国的电信公司运营的码分多址(Code Division Multiple Access,CDMA)网络,当然该第一通信网络也可以包括长期演进(LTE,Long Term Evolution)通信网络等对应的数据网络,还可以包括上述网络对应的无线保真(Wireless-Fidelity,Wi-Fi)网络等。
步骤314、若第三终端与第一终端通信的通信网络和第二终端与第三终端通信的通信网络不同,则服务器切换中转服务器路由为与第三终端和第一终端通信的通信网络对应的目标中转服务器路由。
在其他的实施例中,若第一网络与第二网络不相同,说明第一终端在切换到第一终端与第三终端进行通信的时候,第一终端与第三终端的通信 网络和第二终端与第三终端的通信网络相比发生了变化,为了保证第三终端与第一终端通信过程中的通信更加流畅,服务器可以切换给第一终端和第三终端提供通信服务的中转服务器路由为与第三终端和第一终端通信的通信网络对应的目标中转服务器路由。更进一步的,本发明中的多终端切换方法在进行终端切换的时候两个终端之间的通信一直都是顺畅的,可以达到最佳网络信号自适应效果。
需要说明的是,本实施例中与其它实施例中相同步骤或概念的解释可以参照其它实施例中的描述。
基于前述实施例,参照图5所示,在本发明的其它实施例中,该多终端通信方法还包括以下步骤:
步骤501、当第二终端与第三终端具有通信连接时,服务器获取与第二终端和第三终端的通信应用程序的账户具有关联关系的第四终端。
其中,第四终端与第二终端、第三终端是不同的终端。
在其他的实施例中,第四终端中同样安装有与第二终端和第三终端中的通信应用程序相同的通信应用程序;第四终端的通信应用程序的账户信息可以与第二终端的通信应用程序的账户信息相同,或者与第三终端的通信应用程序的账户信息相同。第四终端中包括有至少一个终端,第一终端可以是第四终端中的一个终端;即可以认为第一终端与第四终端相同。
步骤502、服务器发送提示信息至第四终端。
其中,提示信息用于提示用户第四终端的通信应用程序的账户在其它终端上进行通信,且能够切换至第四终端上进行通信。
在其他的实施例中,第四终端接收到服务器发送的提示信息之后,可以在第四终端的通信应用程序上显示该提示信息;若第四终端为手机,通信应用程序为即时通讯软件Q,那么可以在手机的即时通讯软件Q界面上显示该提示信息,用户只要打开即时通讯软件Q就可以看到该提示信息。
在其他的实施例中,如图6中所示,该多终端通信方法还包括以下步骤:
步骤503、服务器检测是否有新的终端使用第二终端和/或第三终端的通信应用程序的账户。
其中,检测是否有新的终端使用第二终端和/或第三终端的通信应用程序的账户可以是通过检测是否有新的终端使用第二终端和/或第三终端的通信应用程序的账户登录,如果有新的终端使用第二终端和/或第三终端的通信应用程序的账户登录,说明检测到有新的终端使用第二终端和/或第三终端的通信应用程序的账户。该新的终端与第一终端、第二终端、第三终端、第四终端均不相同。
步骤504、若检测到有新的终端使用第二终端和/或第三终端的通信应用程序的账户,服务器发送提示信息至该新的终端。
其中,如果有新的终端使用第二终端和/或第三终端的通信应用程序的账户,说明当前的通信系统中还存在与第二终端和/或第三终端的通信应用程序的账户信息相同的终端,为了保证与第二终端和/或第三终端的通信应用程序的账户具有相同账户的所有终端都可以感知到具有关联关系的终端的通信状态,需要发送提示信息至该新的终端。
本发明实施例可以实现具有相同账户信息的多终端中的一个终端在于其它终端进行通信的时候,多终端中的其它终端可以感知到自己的账户正在进行通信,即可感知同账号的其它终端的通信状态。
基于上述实施例,在本发明的其它实施例中以通信应用程序为即时通讯软件Q,用户“嘻嘻”拥有手机a1和电脑a2,用户“哈哈”拥有手机b1和电脑b2,用户“嘻嘻”使用同一账户同时在自己的手机a1和电脑a2上登录即时通讯软件Q,用户“哈哈”和用户“嘻嘻”使用即时通讯软件Q进行语音聊天为例进行说明:
A:当前用户“嘻嘻”使用自己的电脑a2与用户“哈哈”的手机b1使用各自设备上即时通讯软件Q进行语音聊天,在用户“嘻嘻”与用户“哈哈”进行语音聊天的时候,给手机a1、电脑a2、手机b1和电脑b2提供通信服务的服务器可以给用户“嘻嘻”的手机a1和用户“哈哈”的电脑b2上发送提示信息,如图7a中所示,“嘻嘻”的手机a1上的提示信息可以为“你正在其他设备通话,点击专转至本机”171,且该提示信息显示在用户“嘻嘻”使用即时通讯软件Q打开自己的好友“哈哈”170的显示界面上;相应的,如图7b中所示,“哈哈”的电脑b2上的提示信息可以为“你正在其他设备通话中,点击转至本机”173,且该提示信息显示在用户“哈哈”使用即时通讯软件Q打开自己的好友“嘻嘻”172的显示界面上。同时,正在通话中的用户“嘻嘻”的电脑a2的即时通讯软件Q的显示界面如图8a中所示,此时表示用户“嘻嘻”正在使用电脑与用户“哈哈”进行语音通话180;正在通话中的用户“哈哈”的手机b1的即时通讯软件Q的显示界面如图8b中所示,表示此时用户“哈哈”正在用户手机与用户“嘻嘻”进行语音通话。
B、用户“嘻嘻”因为一些因素想要走动,此时“嘻嘻”想要将自己与用户“哈哈”的语音聊天切换到自己的手机a1上;这时,“嘻嘻”可以触控自己的手机a1上的标识有“点击此处转至本机”的区域,即可以产生切换请求并发送该切换请求至服务器,服务器接收到该切换请求之后可以查找与手机a1上的账户具有相同账户信息的电脑a2的标识信息,并基于电脑a2的标识信息查找与电脑a2进行语音通话的手机b1的标识信息,之后可以建立手机b1与手机a1之间的对应关系。而且,服务器可以发送通信切换指令给“嘻嘻”的手机a1。
C、用户“嘻嘻”的手机a1接收到服务器发送的通信切换指令之后,可以响应该通信切换指令切换自己的手机a1与用户“哈哈”的手机b1使 用各自的即使通讯软件Q进行语音通话。此时用户“嘻嘻”的手机a1和电脑a2上的即时通讯软件Q的显示界面会发生变化,“嘻嘻”的手机a1上的即时通讯软件Q的显示界面如图9a中所示,表示此时用户“嘻嘻”切换到手机a1上与用户“哈哈”的手机b1进行语音通话;用户“嘻嘻”电脑a2的即时通讯软件Q的显示界面如图9b中所示,表明此时用户“嘻嘻”的电脑a2的即时通讯软件Q对应的账户在其它设备上进行语音通话。同时,服务器可以接收用户“哈哈”的手机b1上发送过来的通信信息,然后通过手机b1与手机a1之间的对应关系,将该通信信息发送给用户“嘻嘻”的手机a1。
当然,在本发明的其它实施例中,本发明中的多终端通信方法可以应用于如图10中所示的通信系统中,该通信系统包括:通话信息集群、终端切换集群、数据中转集群、用户“嘻嘻”的手机a1、电脑a2、用户“哈哈”的手机b1、电脑b2;其中,通话信息集群,负责管理音视频通话中通话信息及各成员信息,也负责通话中的多终端状态同步,保证有音视频通话时,通话任一一方有多终端在线时,未参入通话终端能够及时感知同账号有其它终端在参入通话和退出通话。终端切换集群,用于在通话过程中未参入通话的终端通过多终端状态同步可以感知到有相同账号的其它终端在参入通话,该未参入通话的终端选择将通话切换到本终端时,会发送终端切换请求到音视频后台的通话终端切换系统,终端切系统收到切换请求后,检查相关切换请求参数合法后,会在极短信时内将同账号通话原终端从通话中移出,并讯将发起切换的新终端加入进来继续和对端进行通话。数据中转集群,用于数据中转集群主要负责音视频通话过程中的媒体数据的中转传输。当通话过程中网络信号类型或网络的运营商发生变更时,数据中转集群可以在用户无感知的情况下,根据网络信号的变更做出相关的决策,是否需要更新与信号类型相适应的数据中转服务器路由来为通话提供数据 中转服务,实现了数据中转链路对网络信号变化的自适应。
本发明的实施例提供一种服务器5,参照图11所示,该服务器包括:第一接收部分51、第一获取部分52、建立部分53、第一发送部分54和处理部分55,其中:
第一接收部分51,配置为接收第一终端发送的用于切换终端的切换请求;其中,切换请求中包括第一终端的通信应用程序的账户信息。
第一获取部分52,配置为响应切换请求,基于账户信息确定第二终端的标识信息;其中,第二终端的通信应用程序的账户信息与第一终端的通信应用程序的账户信息相同。
第一获取部分52,还配置为基于第二终端的标识信息,确定与第二终端通过通信应用程序进行通信的第三终端的标识信息。
建立部分53,配置为建立第三终端的标识信息与第一终端的标识信息之间的对应关系;其中,第三终端与第一终端是不同的终端。
第一发送部分54,配置为发送通信切换指令至第一终端;其中,通信切换指令配置为指示第一终端与第三终端通过通信应用程序进行通信。
处理部分55,配置为基于对应关系处理第一终端与第三终端之间的通信信息。
在其他实施例中,参照图12所示,处理部分55包括:第一接收子部分551和发送子部分552,其中:第一接收子部分551,配置为接收第三终端发送的通信信息;发送子部分552,配置为通过第三终端的标识信息与第一终端的标识信息之间的对应关系,发送通信信息至第一终端。
在本发明的其他实施例中,参照图13所示,该服务器还包括:第二获取部分56和第二发送部分57,其中:
第二获取部分56,配置为获取与第二终端和第三终端的通信应用程序的账户具有关联关系的第四终端;其中,第四终端与第二终端、第三终端 是不同的终端;
第二发送部分57,配置为发送提示信息至第四终端;其中,提示信息用于提示用户第四终端的通信应用程序的账户在其它终端上进行通信,且能够切换至第四终端上进行通信。
在其他实施例中,参照图14所示,该服务器还包括:判断部分58和第一切换部分59,其中:
判断部分58,配置为判断第三终端与第一终端通信的通信网络和第二终端与第三终端通信的通信网络是否相同;
第一切换部分59,配置为若第三终端与第一终端通信的通信网络和第二终端与第三终端通信的通信网络不同,则切换中转服务器路由为与第三终端和第一终端通信的通信网络对应的目标中转服务器路由。
在其他实施例中,参照图15所示,服务器还包括:第一检测部分510,其中:第一检测部分510,配置为检测是否有新的终端使用第二终端和/或第三终端的通信应用程序的账户;第二发送部分57,还配置为若检测到有新的终端使用第二终端和/或第三终端的通信应用程序的账户,发送提示信息至新的终端。
本发明的实施例提供一种第一终端6,参照图16所示,第一终端包括:第二检测部分61、第三发送部分62、第二接收部分63和第二切换部分64,其中:
第二检测部分61,配置为检测第二终端与第三终端是否通过通信应用程序具有通信连接;
第三发送部分62,配置为若检测到第二终端与第三终端通过通信应用程序具有通信连接,发送用于切换终端的切换请求至服务器;其中,切换请求中包括第一终端的通信应用程序的账户信息;第一终端与第二终端、第三终端是不同的终端;
第二接收部分63,配置为接收服务器发送的通信切换指令;其中,通信切换指令中包括第三终端的标识信息;
第二切换部分64,配置为响应通信切换指令,基于第三终端的标识信息切换第一终端与第三终端通过通信应用程序进行通信。
在其它实施例中,参照图17所示,第三发送部分62包括:第二接收子部分621和处理子部分622,其中:
第二接收子部分621,配置为若检测到第二终端与第三终端通过通信应用程序具有通信连接,接收触控指令;
处理子部分622,配置为响应触控指令,产生用于切换终端的切换请求并发送切换请求至服务器。
本发明的实施例提供一种服务器7,参照图18所示,该服务器包括:第一处理器71和第一通信接口72,其中:
第一处理器71,配置为通过第一通信接口72接收第一终端发送的用于切换终端的切换请求;切换请求中包括第一终端的通信应用程序的账户信息;响应切换请求,基于账户信息确定第二终端的标识信息;第二终端的通信应用程序的账户信息与第一终端的通信应用程序的账户信息相同;基于第二终端的标识信息,确定与第二终端通过通信应用程序进行通信的第三终端的标识信息;建立第三终端的标识信息与第一终端的标识信息之间的对应关系;第三终端与第一终端是不同的终端;通过第一通信接口72发送通信切换指令至第一终端;通信切换指令用于指示第一终端与第三终端通过通信应用程序进行通信;基于对应关系处理第一终端与第三终端之间的通信信息。
需要说明的是,本实施例中第一处理器和第一通信接口之间的交互过程,可以参照图1~6对应的实施例提供的一种多终端通信方法中的交互过程,此处不再赘述。
本发明的实施例提供一种第一终端8,参照图19所示,该第一终端包括:第二处理器81和第二通信接口82,其中:
第二处理器81,配置为检测第二终端与第三终端是否通过通信应用程序具有通信连接;若检测到第二终端与第三终端通过通信应用程序具有通信连接,通过第二通信接口82发送用于切换终端的切换请求至服务器;其中,切换请求中包括第一终端的通信应用程序的账户信息;第一终端与第二终端、第三终端是不同的终端;通过第二通信接口82接收服务器发送的通信切换指令;其中,通信切换指令中包括第三终端的标识信息;响应通信切换指令,基于第三终端的标识信息切换第一终端与第三终端通过通信应用程序进行通信。
需要说明的是,本实施例中第二处理器和第二通信接口之间的交互过程,可以参照图2~6对应的实施例提供的一种多终端通信方法中的交互过程,此处不再赘述。
基于前述实施例,本发明的另一实施例提供一种多终端通信系统9,参照图20所示,该系统可以包括:第一终端91和服务器92,其中:
第一终端91可以是说明书附图中的图16~17、19对应的实施例提供的一种第一终端。
服务器92可以是说明书附图中的图11~15、18对应的实施例提供的一种服务器。
在实际应用中,所述第一接收部分、第一获取部分、建立部分、第一发送部分、处理部分、第一接收子部分、发送子部分、第二获取部分、第二发送部分、判断部分、第一切换部分、第一检测部分、第二检测部分、第三发送部分、第二接收部分、第二切换部分、第二接收子部分和处理子部分均可由位于无线数据发送设备中的中央处理器(Central Processing  Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
本发明实施例中,如果以软件功能模块的形式实现上述的多终端通信方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例提供的多终端通信方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得 通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
工业实用性
本发明实施例中,在第二终端与第三终端具有通信连接的时候,与第二终端的账户具有相同账户的第一终端可以发送切换请求给服务器,服务器可以响应该切换请求建立第一终端与第三终端之间的对应关系,从而第三终端可以继续与第一终端进行通信,解决了现有技术中的音视频通话中一旦通信建立后无法更换通信终端的问题,用户可以根据具体的需求切换通信过程中的通信终端,通信场景更灵活多变;同时,提高了用户的体验效果。

Claims (15)

  1. 一种多终端通信方法,所述方法包括:
    接收第一终端发送的用于切换终端的切换请求;其中,所述切换请求中包括所述第一终端的通信应用程序的账户信息;
    响应所述切换请求,基于所述账户信息确定第二终端的标识信息;其中,所述第二终端的通信应用程序的账户信息与所述第一终端的通信应用程序的账户信息相同;
    基于所述第二终端的标识信息,确定与所述第二终端通过通信应用程序进行通信的第三终端的标识信息;
    建立所述第三终端的标识信息与所述第一终端的标识信息之间的对应关系;所述第三终端与所述第一终端是不同的终端;
    发送通信切换指令至所述第一终端;其中,所述通信切换指令用于指示所述第一终端与所述第三终端通过所述通信应用程序进行通信;
    基于所述对应关系处理所述第一终端与所述第三终端之间的通信信息。
  2. 根据权利要求1所述的方法,所述基于所述对应关系处理所述第一终端与所述第二终端之间的通信信息,包括:
    接收所述第三终端发送的所述通信信息;
    通过所述第三终端的标识信息与所述第一终端的标识信息之间的对应关系,发送所述通信信息至所述第一终端。
  3. 根据权利要求1所述的方法,所述方法还包括:
    获取与所述第二终端和所述第三终端的通信应用程序的账户具有关联关系的第四终端;其中,所述第四终端与所述第二终端、第三终端是不同的终端;
    发送提示信息至所述第四终端;其中,所述提示信息用于提示用户 所述第四终端的通信应用程序的账户在其它终端上进行通信,且能够切换至所述第四终端上进行通信。
  4. 根据权利要求1所述的方法,所述发送通信切换指令至所述第一终端之后,还包括:
    判断所述第三终端与所述第一终端通信的通信网络和所述第二终端与所述第三终端通信的通信网络是否相同;
    若所述第三终端与所述第一终端通信的通信网络和所述第二终端与所述第三终端通信的通信网络不同,则切换中转服务器路由为与所述第三终端和所述第一终端通信的通信网络对应的目标中转服务器路由。
  5. 根据权利要求1所述的方法,所述方法还包括:
    检测是否有新的终端使用所述第二终端和/或所述第三终端的通信应用程序的账户;
    若检测到有新的终端使用所述第二终端和/或所述第三终端的通信应用程序的账户,发送所述提示信息至所述新的终端。
  6. 一种多终端通信方法,所述方法包括:
    检测第二终端与第三终端是否通过通信应用程序具有通信连接;
    若检测到第二终端与第三终端通过通信应用程序具有通信连接,发送用于切换终端的切换请求至服务器;其中,所述切换请求中包括第一终端的通信应用程序的账户信息;所述第一终端与所述第二终端、第三终端是不同的终端;
    接收所述服务器发送的通信切换指令;其中,所述通信切换指令中包括所述第三终端的标识信息;
    响应所述通信切换指令,基于所述第三终端的标识信息切换所述第一终端与所述第三终端通过所述通信应用程序进行通信。
  7. 根据权利要求6所述的方法,所述若检测到第一终端与第二终端 通过通信应用程序具有通信连接,发送用于切换终端的切换请求至服务器,包括:
    若检测到所述第二终端与所述第三终端通过通信应用程序具有通信连接,接收触控指令;
    响应所述触控指令,产生用于切换终端的切换请求并发送所述切换请求至所述服务器。
  8. 一种服务器,所述服务器包括:第一接收部分、第一获取部分、建立部分、第一发送部分和处理部分,其中:
    所述第一接收部分,配置为接收第一终端发送的用于切换终端的切换请求;其中,所述切换请求中包括所述第一终端的通信应用程序的账户信息;
    所述第一获取部分,配置为响应所述切换请求,基于所述账户信息确定第二终端的标识信息;其中,所述第二终端的通信应用程序的账户信息与所述第一终端的通信应用程序的账户信息相同;
    所述第一获取部分,还配置为基于部分所述第二终端的标识信息,确定与所述第二终端通过通信应用程序进行通信的第三终端的标识信息;
    所述建立部分,配置为建立所述第三终端的标识信息与所述第一终端的标识信息之间的对应关系;所述第三终端与所述第一终端是不同的终端;
    所述第一发送部分,配置为发送通信切换指令至所述第一终端;其中,所述通信切换指令用于指示所述第一终端与所述第三终端通过所述通信应用程序进行通信;
    所述处理部分,配置为基于所述对应关系处理所述第一终端与所述第三终端之间的通信信息。
  9. 根据权利要求8所述的服务器,所述服务器还包括:第二获取部分和第二发送部分,其中:
    所述第二获取部分,配置为获取与所述第二终端和所述第三终端的通信应用程序的账户具有关联关系的第四终端;其中,所述第四终端与所述第二终端、第三终端是不同的终端;
    所述第二发送部分,配置为发送提示信息至所述第四终端;其中,所述提示信息用于提示用户所述第四终端的通信应用程序的账户在其它终端上进行通信,且能够切换至所述第四终端上进行通信。
  10. 根据权利要求8所述的服务器,所述服务器还包括:判断部分和第一切换部分,其中:
    所述判断部分,配置为判断所述第三终端与所述第一终端通信的通信网络和所述第二终端与所述第三终端通信的通信网络是否相同;
    所述第一切换部分,配置为若所述第三终端与所述第一终端通信的通信网络和所述第二终端与所述第三终端通信的通信网络不同,则切换中转服务器路由为与所述第三终端和所述第一终端通信的通信网络对应的目标中转服务器路由。
  11. 根据权利要求8所述的服务器,所述服务器还包括:第一检测部分,其中:
    所述第一检测部分,配置为检测是否有新的终端使用所述第二终端和/或所述第三终端的通信应用程序的账户;
    所述第二发送部分,还配置为若检测到有新的终端使用所述第二终端和/或所述第三终端的通信应用程序的账户,发送所述提示信息至所述新的终端。
  12. 一种第一终端,所述第一终端包括:第二检测部分、第三发送部分、第二接收部分和第二切换部分,其中:
    所述第二检测部分,配置为检测第二终端与第三终端是否通过通信应用程序具有通信连接;
    所述第三发送部分,配置为若检测到第二终端与第三终端通过通信应用程序具有通信连接,发送用于切换终端的切换请求至服务器;其中,所述切换请求中包括第一终端的通信应用程序的账户信息;所述第一终端与所述第二终端、第三终端是不同的终端;
    所述第二接收部分,配置为接收所述服务器发送的通信切换指令;其中,所述通信切换指令中包括所述第三终端的标识信息;
    所述第二切换部分,配置为响应所述通信切换指令,基于所述第三终端的标识信息切换所述第一终端与所述第三终端通过所述通信应用程序进行通信。
  13. 一种服务器,所述服务器包括:第一处理器和第一通信接口,其中:
    所述第一处理器,配置为通过所述第一通信接口接收第一终端发送的用于切换终端的切换请求;其中,所述切换请求中包括所述第一终端的通信应用程序的账户信息;响应所述切换请求,基于所述账户信息确定第二终端的标识信息;其中,所述第二终端的通信应用程序的账户信息与所述第一终端的通信应用程序的账户信息相同;基于所述第二终端的标识信息,确定与所述第二终端通过通信应用程序进行通信的第三终端的标识信息;建立所述第三终端的标识信息与所述第一终端的标识信息之间的对应关系;所述第三终端与所述第一终端是不同的终端;通过所述第一通信接口发送通信切换指令至所述第一终端;其中,所述通信切换指令用于指示所述第一终端与所述第三终端通过所述通信应用程序进行通信;基于所述对应关系处理所述第一终端与所述第三终端之间的通信信息。
  14. 一种第一终端,所述第一终端包括:第二处理器和第二通信接口,其中:
    所述第二处理器,配置为检测第二终端与第三终端是否通过通信应用程序具有通信连接;若检测到第二终端与第三终端通过通信应用程序具有通信连接,通过所述第二通信接口发送用于切换终端的切换请求至服务器;其中,所述切换请求中包括第一终端的通信应用程序的账户信息;所述第一终端与所述第二终端、第三终端是不同的终端;通过所述第二通信接口接收所述服务器发送的通信切换指令;其中,所述通信切换指令中包括所述第三终端的标识信息;响应所述通信切换指令,基于所述第三终端的标识信息切换所述第一终端与所述第三终端通过所述通信应用程序进行通信。
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述权利要求1或6所述的多终端通信方法。
PCT/CN2017/106131 2016-10-19 2017-10-13 一种多终端通信方法、服务器和终端、存储介质 WO2018072656A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610911926.5 2016-10-19
CN201610911926.5A CN107968767A (zh) 2016-10-19 2016-10-19 一种多终端通信方法、服务器和第一终端

Publications (1)

Publication Number Publication Date
WO2018072656A1 true WO2018072656A1 (zh) 2018-04-26

Family

ID=61997070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106131 WO2018072656A1 (zh) 2016-10-19 2017-10-13 一种多终端通信方法、服务器和终端、存储介质

Country Status (2)

Country Link
CN (1) CN107968767A (zh)
WO (1) WO2018072656A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111786963A (zh) * 2020-06-12 2020-10-16 青岛海尔科技有限公司 通信过程的实现方法和装置、存储介质及电子装置
WO2021109793A1 (zh) * 2019-12-02 2021-06-10 荣耀终端有限公司 智能通信策略生效场景的显示方法及移动终端

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798647B (zh) * 2019-11-18 2021-06-22 北京小米移动软件有限公司 音视频通话过程中的设备切换方法、设备及存储介质
CN111726561B (zh) * 2020-06-17 2022-07-08 千脉文化传媒(上海)有限公司 异终端同账号的会议方法、系统、设备及存储介质
CN114245370B (zh) * 2021-12-24 2024-04-16 深圳市潮流网络技术有限公司 通信管理方法、装置、服务器及计算机存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1356834A (zh) * 2000-11-10 2002-07-03 株式会社Ntt都科摩 移动通信方法及移动通信系统
CN102394992A (zh) * 2011-11-07 2012-03-28 华为技术有限公司 一种终端通话切换方法和装置
CN102752327A (zh) * 2011-04-19 2012-10-24 南京中兴新软件有限责任公司 一种终端与云端服务器进行交互的方法、系统及装置
CN105515937A (zh) * 2014-09-24 2016-04-20 腾讯科技(深圳)有限公司 一种即时通讯方法、终端、服务器以及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969443B (zh) * 2010-10-28 2014-04-09 宇龙计算机通信科技(深圳)有限公司 一种网络应用程序在网络终端上的切换运行方法及系统
CN103634767A (zh) * 2013-10-22 2014-03-12 石建一 一种移动终端业务转移方法和设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1356834A (zh) * 2000-11-10 2002-07-03 株式会社Ntt都科摩 移动通信方法及移动通信系统
CN102752327A (zh) * 2011-04-19 2012-10-24 南京中兴新软件有限责任公司 一种终端与云端服务器进行交互的方法、系统及装置
CN102394992A (zh) * 2011-11-07 2012-03-28 华为技术有限公司 一种终端通话切换方法和装置
CN105515937A (zh) * 2014-09-24 2016-04-20 腾讯科技(深圳)有限公司 一种即时通讯方法、终端、服务器以及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021109793A1 (zh) * 2019-12-02 2021-06-10 荣耀终端有限公司 智能通信策略生效场景的显示方法及移动终端
CN111786963A (zh) * 2020-06-12 2020-10-16 青岛海尔科技有限公司 通信过程的实现方法和装置、存储介质及电子装置
CN111786963B (zh) * 2020-06-12 2022-10-28 青岛海尔科技有限公司 通信过程的实现方法和装置、存储介质及电子装置

Also Published As

Publication number Publication date
CN107968767A (zh) 2018-04-27

Similar Documents

Publication Publication Date Title
WO2018072656A1 (zh) 一种多终端通信方法、服务器和终端、存储介质
KR102327571B1 (ko) 영상 통화 데이터의 디스플레이
KR102334467B1 (ko) Voip 통화의 확립 및 관리
US10064031B2 (en) Method and apparatus for migrating active communication session between terminals
US9854615B2 (en) Devices and methods for telephone call sharing using a direct wireless connection
CN111316624A (zh) 用于电话呼叫的个性化音频/视频邀请
JP6610259B2 (ja) 中継装置、音声通信システム、プログラムおよび中継方法
US20150119011A1 (en) Information processing method and device
JP2017511616A (ja) セルラーネットワークにおけるトンネリングvoip呼制御
JP2015534677A (ja) インスタントメッセージングの方法、端末、サーバ及びシステム
US10511569B2 (en) Techniques for providing multi-modal multi-party calling
WO2017113581A1 (zh) 一种通话控制方法以及装置、系统
JP6477489B2 (ja) 中継装置、音声通信システム、プログラムおよび中継方法
JPWO2016084459A1 (ja) 中継装置、音声通信システム、音声通信方法およびプログラム
KR20160142854A (ko) 서버를 통한 p2p-가능 클라이언트 디바이스들 간의 데이터의 선택적 교환
CN104301308A (zh) 通话控制方法及装置
US20150365133A1 (en) Touch and Talk Auto-Configuring of Video Conferences Using Near Field Communication (NFC)
CN111164956B (zh) 事件通知
WO2018058875A1 (zh) 一种终端的通话切换方法、系统及终端、计算机存储介质
US11272048B1 (en) Systems and methods for managing connections between a headset and multiple devices
JP2008506207A (ja) 動的操作環境における、インスタントメッセージセッション状態の保持
CN112235472A (zh) 一种通话的处理方法和装置
US10602412B2 (en) Management of voice conversations with switching among different communication techniques
JP2019075651A (ja) 内線電話システム、主装置、無線電話端末、コンピュータで読み取り可能なプログラム、および内線電話システムの通信方法
JP2015032863A (ja) 着信方法選択方法、着信方法選択装置及び着信方法選択プログラム

Legal Events

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

Ref document number: 17861880

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17861880

Country of ref document: EP

Kind code of ref document: A1