CN107872566A - A kind of call handover method of terminal, system and terminal - Google Patents
A kind of call handover method of terminal, system and terminal Download PDFInfo
- Publication number
- CN107872566A CN107872566A CN201610864811.5A CN201610864811A CN107872566A CN 107872566 A CN107872566 A CN 107872566A CN 201610864811 A CN201610864811 A CN 201610864811A CN 107872566 A CN107872566 A CN 107872566A
- Authority
- CN
- China
- Prior art keywords
- terminal
- voice signal
- voice
- call
- processing unit
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
- H04M1/72502—Cordless telephones with one base station connected to a single line
- H04M1/72505—Radio link set-up procedures
- H04M1/72513—On hold, intercom or transfer communication modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1096—Supplementary features, e.g. call forwarding or call holding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
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)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of call handover method of terminal, including:First terminal receives the first voice signal, and first voice signal is identified;When being identified as conversing handover request by first voice signal and confirming that having established the second terminal that data be connecteds with first terminal is currently at talking state, first terminal is conversed handover request to second terminal transmission;First terminal receives the second terminal the second voice signal transmitted after the call handover request is responded, and parses the first speech data corresponding to second voice signal, and export first speech data;First terminal receives the 3rd voice signal, and sends the 3rd voice signal to the second terminal.The present invention further simultaneously discloses the call switching system and terminal of a kind of terminal.
Description
Technical Field
The present invention relates to communications technologies, and in particular, to a method, a system, and a terminal for switching a call of a terminal.
Background
With the rapid development of communication technology, more and more terminal devices with a communication function are provided, so that communication modes available for people are more and more diversified. Furthermore, to meet personal needs, more and more people like to carry with them a plurality of terminal devices, such as a smart phone in the hand with a smart watch on the wrist. Therefore, the user can utilize the call function of the terminal equipment to switch the call among the terminal equipment so as to realize the call completion on different terminal equipment. For example, when a user a uses a smart phone to communicate with a user b, the user a cannot use the smart phone to communicate with the user b due to an unexpected situation, but wants to continue the communication with the user b, the communication can be switched to the smart watch, so that the communication can be completed by using the smart watch.
However, existing call handover basically needs to be implemented by means of bluetooth, and the specific procedures are as follows: firstly, a Bluetooth connection is required to be established between a smart phone and a terminal device with a communication function; secondly, when the terminal equipment needs to be used for calling, the calling is switched to the terminal equipment in a manual mode such as a touch key; finally, the smart phone transmits the voice stream sent by the communication counterpart to the terminal device, and transmits the voice stream sent by the terminal device to the communication counterpart, so that the call between the smart phone and the communication counterpart is switched to the call between the terminal device and the communication counterpart.
However, the conventional call handover has the following problems: after the bluetooth connection between the smart phone and the terminal device is interrupted, the call between the terminal device and the communication opposite terminal is interrupted, the bluetooth connection between the terminal device and the communication opposite terminal needs to be established again, and the establishment of the bluetooth connection needs a certain time, so that the seamless switching of the call between the terminal devices cannot be realized. In addition, after a call is established between the terminal device and the communication opposite terminal, the call cannot be realized between the smart phone and the terminal device, that is, the three-party call among the smart phone, the terminal device and the communication opposite terminal cannot be realized.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention desirably provide a method, a system and a terminal for switching a call of a terminal.
The technical scheme of the invention is realized as follows:
the invention provides a call switching method of a terminal, which comprises the following steps:
a first terminal receives a first voice signal and identifies the first voice signal;
when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, the first terminal sends the call switching request to the second terminal;
the first terminal receives a second voice signal sent by the second terminal after responding to the call switching request, analyzes first voice data corresponding to the second voice signal and outputs the first voice data;
and the first terminal receives a third voice signal and sends the third voice signal to the second terminal.
In the foregoing solution, the recognizing the first speech signal includes:
the first terminal detects whether the size of the first voice signal is larger than a preset first threshold value or not and whether the duration time is larger than a preset second threshold value or not; and/or the first terminal detects whether the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value;
if the first terminal detects that the size of the first voice signal is larger than a preset first threshold value, the duration is larger than a preset second threshold value, and/or the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value, the first terminal identifies the first voice signal as a call switching request.
In the foregoing solution, after the first voice signal is identified as a call handover request, the method further includes:
the first terminal searches the identification of the second terminal and sends a data connection request to the second terminal according to the identification of the second terminal so as to establish data connection with the second terminal.
The invention provides a call switching method of a terminal, which comprises the following steps:
the method comprises the steps that a second terminal receives a call switching request sent by a first terminal and sends a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
and the second terminal receives a third voice signal sent by the first terminal and sends the third voice signal to the third terminal.
In the foregoing solution, before the second terminal receives the call handover request sent by the first terminal, the method further includes:
and the second terminal receives the data connection request sent by the first terminal and establishes data connection with the first terminal according to the data connection request.
In the foregoing solution, after the second terminal receives the third voice signal sent by the first terminal, the method further includes:
the second terminal analyzes second voice data corresponding to the third voice signal and outputs the second voice data;
and the second terminal receives a fourth voice signal and sends the fourth voice signal to the first terminal and the third terminal.
The invention provides a call switching method of a terminal, which comprises the following steps:
a first terminal receives a first voice signal and identifies the first voice signal;
when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, the first terminal sends the call switching request to the second terminal;
the second terminal receives a call switching request sent by the first terminal and sends a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
the first terminal receives the second voice signal sent by the second terminal, analyzes first voice data corresponding to the second voice signal and outputs the first voice data;
the first terminal receives a third voice signal and sends the third voice signal to the second terminal;
and the second terminal receives the third voice signal sent by the first terminal and sends the third voice signal to the third terminal.
In the foregoing solution, the recognizing the first speech signal includes:
the first terminal detects whether the size of the first voice signal is larger than a preset first threshold value or not and whether the duration time is larger than a preset second threshold value or not; and/or the first terminal detects whether the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value;
if the first terminal detects that the size of the first voice signal is larger than a preset first threshold value, the duration is larger than a preset second threshold value, and/or the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value, the first terminal identifies the first voice signal as a call switching request.
In the foregoing solution, after the first voice signal is identified as a call handover request, the method further includes:
the first terminal searches the identification of the second terminal and sends a data connection request to the second terminal according to the identification of the second terminal;
and the second terminal receives the data connection request sent by the first terminal and establishes data connection with the first terminal according to the data connection request.
In the foregoing solution, after the second terminal receives the third voice signal sent by the first terminal, the method further includes:
the second terminal analyzes second voice data corresponding to the third voice signal and outputs the second voice data;
and the second terminal receives a fourth voice signal and sends the fourth voice signal to the first terminal and the third terminal.
The present invention provides a terminal, comprising: a first processing unit and a second processing unit; wherein,
the first processing unit is used for receiving a first voice signal and identifying the first voice signal;
the second processing unit is used for sending a call switching request to the second terminal when the first processing unit identifies the first voice signal as the call switching request and confirms that the second terminal which establishes data connection with the first processing unit is in a call state currently;
the first processing unit is further configured to receive a second voice signal sent by the second terminal after responding to the call handover request, and analyze first voice data corresponding to the second language voice signal; and, receiving a third speech signal;
the second processing unit is further configured to output the first voice data; and transmitting the third voice signal to the second terminal.
In the foregoing solution, the first processing unit identifies the first speech signal as:
detecting whether the size of the first voice signal is larger than a preset first threshold value and the duration time is larger than a preset second threshold value; and/or detecting whether the distance from the sound source of the first voice signal is smaller than a preset third threshold value;
and if the fact that the size of the first voice signal is larger than a preset first threshold value, the duration time of the first voice signal is larger than a preset second threshold value, and/or the distance between the first voice signal and the sound source of the first voice signal is smaller than a preset third threshold value is detected, the first voice signal is identified as a call switching request.
In the above-mentioned scheme, the first step of the method,
the first processing unit is further configured to search for an identifier of a second terminal after the first voice signal is identified as the call handover request;
the second processing unit is further configured to send a data connection request to the second terminal according to the identifier of the second terminal, so as to establish a data connection with the second terminal.
The present invention provides a terminal, comprising: a third processing unit and a fourth processing unit; wherein,
the third processing unit is used for receiving a call switching request sent by the first terminal; receiving a third voice signal sent by the first terminal;
the fourth processing unit is configured to send a second voice signal sent by a third terminal in a call with the third processing unit to the first terminal; and transmitting the third voice signal to the third terminal.
In the foregoing solution, the third processing unit is further configured to receive a data connection request sent by the first terminal before the receiving of the call handover request sent by the first terminal, and establish a data connection with the first terminal according to the data connection request.
In the above-mentioned scheme, the first step of the method,
the third processing unit is further configured to, after receiving a third voice signal sent by the first terminal, analyze second voice data corresponding to the third voice signal; and, receiving a fourth speech signal;
the fourth processing unit is further configured to output the second voice data; and transmitting the fourth voice signal to the first terminal and the third terminal.
The invention provides a call switching system of a terminal, which comprises: the system comprises a first terminal, a second terminal and a third terminal; wherein,
the first terminal is used for receiving a first voice signal and identifying the first voice signal; when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, sending the call switching request to the second terminal;
the second terminal is used for receiving a call switching request sent by the first terminal and sending a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
the first terminal is further configured to receive the second voice signal sent by the second terminal, analyze first voice data corresponding to the second voice signal, and output the first voice data; receiving a third voice signal and sending the third voice signal to the second terminal;
the second terminal is further configured to receive a third voice signal sent by the first terminal, and send the third voice signal to the third terminal.
In the foregoing solution, the first terminal identifies the first voice signal as:
detecting whether the size of the first voice signal is larger than a preset first threshold value and the duration time is larger than a preset second threshold value; and/or detecting whether the distance from the sound source of the first voice signal is smaller than a preset third threshold value;
and if the fact that the size of the first voice signal is larger than a preset first threshold value, the duration time of the first voice signal is larger than a preset second threshold value, and/or the distance between the first voice signal and the sound source of the first voice signal is smaller than a preset third threshold value is detected, the first voice signal is identified as a call switching request.
In the above-mentioned scheme, the first step of the method,
the first terminal is further configured to search an identifier of a second terminal after the first voice signal is identified as the call handover request, and send a data connection request to the second terminal according to the identifier of the second terminal;
the second terminal is further configured to receive a data connection request sent by the first terminal, and establish a data connection with the first terminal according to the data connection request.
In the foregoing scheme, the second terminal is further configured to analyze second voice data corresponding to the third voice signal and output the second voice data; and receiving a fourth voice signal and transmitting the fourth voice signal to the first terminal and the third terminal.
According to the call switching method, the call switching system and the call switching terminal, provided by the embodiment of the invention, a first terminal receives a first voice signal and identifies the first voice signal; when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, the first terminal sends the call switching request to the second terminal; the second terminal receives a call switching request sent by the first terminal and sends a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal; the first terminal receives the second voice signal sent by the second terminal, analyzes first voice data corresponding to the second voice signal and outputs the first voice data; the first terminal receives a third voice signal and sends the third voice signal to the second terminal; the second terminal receives a third voice signal sent by the first terminal and sends the third voice signal to the third terminal; therefore, in the embodiment of the present invention, when the first terminal receives the call switching request and confirms that the second terminal which has established data connection with the first terminal is currently in a call state, the call switching request is sent to the second terminal, so that the second terminal switches the current call to the first terminal for execution, that is, the call between the second terminal and the third terminal is switched to the call between the first terminal and the third terminal, thereby implementing seamless switching of the call between terminal devices.
In addition, the second terminal can be communicated with the first terminal and can be communicated with a communication opposite terminal of the first terminal, namely a third terminal, so that three-party communication among the first terminal, the second terminal and the third terminal is realized, and the problem that three-party communication cannot be realized in the prior art is solved.
Drawings
Fig. 1 is a schematic view illustrating an implementation flow of a call handover method of a terminal according to an embodiment of the present invention;
fig. 2 is a schematic view illustrating a specific implementation flow of a call switching method of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic view illustrating an implementation flow of a call switching method of a second terminal according to an embodiment of the present invention;
fig. 4 is a schematic view of an implementation flow of a call switching method of a third terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a call switching system of a fourth terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a five-terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a six-terminal according to an embodiment of the present invention.
Detailed Description
Example one
Fig. 1 is a schematic view of an implementation flow of a call switching method of a terminal according to an embodiment of the present invention, where the method includes:
step 101: a first terminal receives a first voice signal and identifies the first voice signal;
specifically, a user directly inputs a first voice signal or indirectly inputs the first voice signal through a first sound input device arranged in a first terminal, and the first terminal recognizes the first voice signal after receiving the first voice signal, including: detecting whether the size of the first voice signal is larger than a preset first threshold and the duration is larger than a preset second threshold, and/or detecting whether the distance between the first voice signal and a sound source of the first voice signal is smaller than a preset third threshold; if the first terminal detects that the size of the first voice signal is larger than a preset first threshold value, the duration is larger than a preset second threshold value, and/or the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value, the first terminal identifies the first voice signal as a call switching request.
Here, the first terminal may be a terminal device having a call function, such as a smart watch or the like; the user directly inputting the first voice signal through the first voice input device arranged in the first terminal may be that the user inputs voice to the first voice input device, such as a microphone, arranged in the first terminal, and if the first voice receiving device, such as a voice sensor, arranged in the first terminal senses the voice, the first terminal is considered to receive the first voice signal; the indirect input of the first voice signal by the user through the first voice input device arranged in the first terminal may be that one or more than one voice is stored in the first terminal in advance, the user realizes that the first terminal plays any stored voice by triggering a play key arranged on the first terminal, and if a first voice receiving device arranged in the first terminal, such as a voice sensor, senses any stored voice, the first terminal can be considered to receive the first voice signal; alternatively, the user may indirectly input the first voice signal through a first voice input device disposed in the first terminal, where one or more voices are stored in a terminal other than the first terminal in advance, and if a first voice receiving device, such as a voice sensor, disposed in the first terminal senses that the terminal plays any stored voice, the first terminal may be considered to receive the first voice signal.
Here, the first threshold, the second threshold, and the third threshold may be set according to actual application requirements, for example, the first threshold may be set to 20dB, the second threshold may be set to 1s, and the third threshold may be set to 10 cm; it should be noted that the magnitudes of the three thresholds, i.e. the first threshold, the second threshold, the third threshold, etc., are related to the result of recognizing the first speech signal; for example, when the first threshold is too small or the third threshold is too large, it is easy for the first terminal to recognize any of the outside voice signals as the call switching request.
Here, the first terminal detecting a distance from the sound source of the first voice signal may be implemented by a distance sensor such as a progressive sensor provided in the first terminal; whether the holding time of the distance is greater than or equal to a preset fourth threshold or not may also be used as a condition that needs to be satisfied when the first terminal identifies the first voice signal as the call switching request, that is, when the first terminal detects that the distance from the sound source of the first voice signal is less than the preset third threshold and the holding time of the distance is greater than or equal to the preset fourth threshold, the first voice signal is identified as the call switching request.
Step 102: when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, the first terminal sends the call switching request to the second terminal;
specifically, when the first terminal recognizes the received first voice signal as a call handover request and confirms that a second terminal having established a data connection with the first terminal is currently in a call state in step 101, the first terminal sends the call handover request to the second terminal, so that the second terminal switches its current call to the first terminal for execution.
Here, the first terminal may send an instruction for detecting whether the second terminal is currently in a call state to the second terminal that has established a data connection with the first terminal, and then determine whether the second terminal is currently in the call state according to a feedback result of the second terminal to the instruction; or, the first terminal may determine whether the second terminal is currently in a call state according to the call state identifier by detecting the call state identifier of the second terminal that has established a data connection with the first terminal.
Further, after recognizing the first voice signal as a call handover request, the method may further include:
the first terminal searches the identification of the second terminal and sends a data connection request to the second terminal according to the identification of the second terminal;
and the second terminal receives the data connection request sent by the first terminal and establishes data connection with the first terminal according to the data connection request.
Specifically, a first terminal searches for an identifier of a terminal device near the first terminal through a function of searching for and discovering the terminal device near the first terminal; after the identification of the second terminal is searched, the first terminal sends a data connection request to the second terminal according to the identification of the second terminal so as to request to establish data connection with the second terminal; and after receiving the data connection request sent by the first terminal, the second terminal receives the data connection request so as to establish data connection with the first terminal.
Here, the first terminal may further obtain the identifier of the second terminal through a terminal identifier list that is already in the first terminal and includes the identifier of the second terminal, and then send a data connection request to the second terminal according to the identifier of the second terminal.
Here, the data connection may be a wireless network connection, that is, the first terminal and the second terminal both have the capability of accessing a wireless network and may also perform data transmission therebetween by means of the wireless network.
Here, if the first terminal and the second terminal have established the data connection before or after step 101, that is, the data transmission between the first terminal and the second terminal is already enabled, the first terminal may not need to send a data connection request to the second terminal according to the identifier of the second terminal, so as to establish the data connection with the second terminal again or again.
Step 103: the second terminal receives the call switching request sent by the first terminal and sends a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
specifically, after receiving the call switching request sent by the first terminal that has established a data connection with the second terminal in step 102, the second terminal sends a second voice signal sent by a third terminal that is in a call with the second terminal to the first terminal, so as to switch the call between the second terminal and the third terminal to the call between the first terminal and the third terminal.
Here, the second terminal and the third terminal may be terminal devices having a communication function, such as smart phones and the like.
Step 104: the first terminal receives the second voice signal sent by the second terminal, analyzes first voice data corresponding to the second voice signal and outputs the first voice data;
specifically, the first terminal receives the second voice signal sent by the second terminal in step 103, parses first voice data corresponding to the second voice signal, and then outputs the first voice data through a first sound output device, such as a receiver or a speaker, provided in the first terminal, so as to enable a user to listen to the call voice sent by the third terminal through the first terminal.
Step 105: the first terminal receives a third voice signal and sends the third voice signal to the second terminal;
specifically, after the first terminal outputs the first voice data in step 104, a third voice signal responding to the first voice data is received, and the third voice signal is sent to the second terminal, so that the second terminal sends the third voice signal to the third terminal.
Here, the third voice signal may be regarded as a feedback signal of the first voice data output by the first terminal by the user to complete the call interaction between the first terminal and the third terminal.
Step 106: and the second terminal receives the third voice signal sent by the first terminal and sends the third voice signal to the third terminal.
Specifically, after receiving the third voice signal sent by the first terminal in step 105, the second terminal sends the third voice signal to the third terminal, so as to implement the call interaction between the first terminal and the third terminal.
Further, the method may further comprise:
the second terminal analyzes second voice data corresponding to the third voice signal and outputs the second voice data;
and the second terminal receives a fourth voice signal and sends the fourth voice signal to the first terminal and the third terminal.
Specifically, after receiving the third voice signal sent by the first terminal, the second terminal analyzes second voice data corresponding to the third voice signal, and outputs the second voice data through a second voice output device such as a receiver or a speaker and the like arranged in the second terminal, so that a user can answer the call voice sent by the first terminal through the second terminal; then, the second terminal receives a fourth voice signal in response to the second voice data, and transmits the fourth voice signal to the first terminal and the third terminal.
Here, the fourth voice signal may be regarded as a feedback signal of the user to the second voice data output by the second terminal, so as to implement call interaction between the second terminal and the first terminal; the fourth voice signal may be a voice directly input by a user through a second voice input device, such as a microphone, provided in the second terminal, and if the second voice input device, such as a sound sensor, in the second terminal senses the voice, it may be considered that the second terminal receives the fourth voice signal.
Further, after a third terminal receives the third voice signal sent by the second terminal, second voice data corresponding to the third voice signal is analyzed, and the second voice data is output through a third sound output device such as a receiver or a loudspeaker and the like arranged in the third terminal, so that a user can answer the call voice sent by the first terminal through the third terminal; then, the third terminal receives a fifth voice signal responding to the second voice data, and sends the fifth voice signal to the second terminal, so that the second terminal sends the fifth voice signal to the first terminal.
Here, the fifth voice signal may be regarded as a feedback signal of the user to the second voice data output by the third terminal, so as to implement call interaction between the third terminal and the first terminal; the fifth voice signal may be a voice directly input by a user through a third sound input device, such as a microphone, provided in the third terminal, and if a third sound receiving device, such as a sound sensor, in the third terminal senses the voice, it may be considered that the fifth voice signal is received by the third terminal.
Further, after the second terminal receives the fifth voice signal sent by the third terminal, the fifth voice signal is sent to the first terminal, so that the first terminal analyzes and outputs voice data corresponding to the fifth voice signal; and the second terminal also analyzes and outputs the voice data corresponding to the fifth voice signal so as to realize the conversation interaction between the second terminal and the first terminal.
Thus, the embodiment can realize seamless switching of the call between the second terminal and the third terminal to the call between the first terminal and the third terminal, and can also realize coexistence of the call between the first terminal and the second terminal, the call between the second terminal and the third terminal, and the call between the first terminal and the third terminal, that is, realize three-party call among the first terminal, the second terminal, and the third terminal.
The present embodiment will be further described below by using a specific example, and fig. 2 is a schematic flowchart of a specific implementation process of a call switching method of a terminal according to an embodiment of the present invention, where the method includes:
step 201: establishing a voice call between a first user and a second user;
here, the first user and the second user may have multiple terminal devices simultaneously, such as a smartphone and a smartwatch; the current terminal equipment is provided with data connection, for example, a smart phone and a smart watch have already established data connection; the smart phone and the smart watch are provided with the call module at the same time, and the core module of the smart phone can acquire voice information through the sound sensor and judge whether the switching is needed or whether the three-party call is established or whether the seamless switching is carried out between the smart terminal devices.
Here, the process of establishing the voice call between the first and second users may be completed by the first user dialing a contact number of a smart phone of the second user by using the smart phone; the second user can select to use the smart watch or the smart phone to answer the voice information, when the second user selects the smart watch to answer, the core module of the smart phone is triggered to be connected with the smart watch, and the voice call module is switched to the smart watch to carry out input and output; and when the second user selects the smart phone to answer, the core module of the smart phone is triggered to establish connection with the smart phone, and the voice call module is switched to the smart phone for input and output.
Step 202: the second user establishes a seamless connection between the smart phone and the smart watch;
here, both smartwatches and smartphones have a sound sensor, a progressive sensor; assuming that a second user wants to switch voice to the smart watch for switching, when the smart watch collects voice information through the sound sensor and transmits the voice information to the smart phone, the progressive sensor senses that an object approaches, and if the voice information and the object approach reach a preset condition, the voice is seamlessly switched to the smart watch for conversation; supposing that the second user wants to switch the voice to the smart phone, if the smart phone collects voice information through the sound sensor and transmits the voice information to the smart phone, the smart phone progressive sensor senses that an object approaches, and when the voice information and the object reach a preset condition, the voice is seamlessly switched to the smart phone to carry out conversation.
Here, the value of the progressive sensor can be set to be 10cm and reach a certain time, the core module performs seamless switching, and voice output and input are seamlessly switched into the smart watch or the smart phone; the core module can be set to seamlessly switch the voice output and input into the smart watch or the smart phone when the voice sensor senses that the voice flow reaches a certain decibel and the duration; alternatively, the core module enables a user to manually switch or turn on the core module through the processing unit.
In addition, smart watch and smart mobile phone can carry out the pronunciation stream simultaneously and gather, need smart watch and smart mobile phone to converse simultaneously when core module received information, establish the three-party conversation promptly, core module controls smart watch and smart mobile phone this moment: the second user utilizes the smart watch to communicate, voice information is collected and transmitted to the smart phone, and at the moment, the first user can simultaneously hear the voice in the smart phone and the smart watch of the second user; a special voice data stream is established between the smart watch and the smart phone, so that voice information can be mutually acquired, and the voice of the other party can be heard at the same time; the voice information of the first user can be transmitted to the smart phone, the smart phone distributes the voice stream at the moment, the voice stream is synchronously transmitted to the smart watch and the smart phone, and the second user can simultaneously hear the voice information of the first user seamlessly by utilizing the smart watch and the smart phone.
Step 203: the seamless handover is ended.
Here, the seamless handover is automatically ended if the first user or the second user hangs up the call.
Example two
Fig. 3 is a schematic diagram of an implementation flow of a call switching method of a second terminal according to an embodiment of the present invention, where the method includes:
step 301: a first terminal receives a first voice signal and identifies the first voice signal;
specifically, a user directly inputs a first voice signal or indirectly inputs the first voice signal through a first sound input device arranged in a first terminal, and the first terminal recognizes the first voice signal after receiving the first voice signal, including: detecting whether the size of the first voice signal is larger than a preset first threshold and the duration is larger than a preset second threshold, and/or detecting whether the distance between the first voice signal and a sound source of the first voice signal is smaller than a preset third threshold; if the first terminal detects that the size of the first voice signal is larger than a preset first threshold value, the duration is larger than a preset second threshold value, and/or the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value, the first terminal identifies the first voice signal as a call switching request.
Here, the first terminal may be a terminal device having a call function, such as a smart watch, a mobile phone, or the like; the user directly inputting the first voice signal through the first voice input device arranged in the first terminal may be that the user inputs voice to the first voice input device, such as a microphone, arranged in the first terminal, and if the first voice receiving device, such as a voice sensor, arranged in the first terminal senses the voice, the first terminal is considered to receive the first voice signal; the indirect input of the first voice signal by the user through the first voice input device arranged in the first terminal may be that one or more than one voice is stored in the first terminal in advance, the user realizes that the first terminal plays any stored voice by triggering a play key arranged on the first terminal, and if a first voice receiving device arranged in the first terminal, such as a voice sensor, senses any stored voice, the first terminal can be considered to receive the first voice signal; alternatively, the user may indirectly input the first voice signal through a first voice input device disposed in the first terminal, where one or more voices are stored in a terminal other than the first terminal in advance, and if a first voice receiving device, such as a voice sensor, disposed in the first terminal senses that the terminal plays any stored voice, the first terminal may be considered to receive the first voice signal.
Here, the first threshold, the second threshold, and the third threshold may be set according to actual application requirements, for example, the first threshold may be set to 20dB, the second threshold may be set to 1s, and the third threshold may be set to 10 cm; it should be noted that the magnitudes of the three thresholds, i.e. the first threshold, the second threshold, the third threshold, etc., are related to the result of recognizing the first speech signal; for example, when the first threshold is too small or the third threshold is too large, it is easy for the first terminal to recognize any of the outside voice signals as the call switching request.
Here, the first terminal detecting a distance from the sound source of the first voice signal may be implemented by a distance sensor such as a progressive sensor provided in the first terminal; whether the holding time of the distance is greater than or equal to a preset fourth threshold or not may also be used as a condition that needs to be satisfied when the first terminal identifies the first voice signal as the call switching request, that is, when the first terminal detects that the distance from the sound source of the first voice signal is less than the preset third threshold and the holding time of the distance is greater than or equal to the preset fourth threshold, the first voice signal is identified as the call switching request.
Step 302: when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, the first terminal sends the call switching request to the second terminal;
specifically, when the first terminal recognizes the received first voice signal as a call handover request and confirms that the second terminal having established a data connection with the first terminal is currently in a call state in step 301, the first terminal sends the call handover request to the second terminal, so that the second terminal switches its current call to the first terminal for execution.
Here, the first terminal may send an instruction for detecting whether the second terminal is currently in a call state to the second terminal that has established a data connection with the first terminal, and then determine whether the second terminal is currently in the call state according to a feedback result of the second terminal to the instruction; or, the first terminal may determine whether the second terminal is currently in a call state according to the call state identifier by detecting the call state identifier of the second terminal that has established a data connection with the first terminal.
Further, after recognizing the first voice signal as a call handover request, the method may further include:
the first terminal searches the identification of the second terminal and sends a data connection request to the second terminal according to the identification of the second terminal.
Specifically, a first terminal searches for an identifier of a terminal device near the first terminal through a function of searching for and discovering the terminal device near the first terminal; and after the identifier of the second terminal is searched, the first terminal sends a data connection request to the second terminal according to the identifier of the second terminal so as to request to establish data connection with the second terminal.
Here, the first terminal may further obtain the identifier of the second terminal through a terminal identifier list that is already in the first terminal and includes the identifier of the second terminal, and then send a data connection request to the second terminal according to the identifier of the second terminal.
Here, the data connection may be a wireless network connection, that is, the first terminal and the second terminal both have the capability of accessing a wireless network and may also perform data transmission therebetween by means of the wireless network.
Here, if the first terminal and the second terminal have established the data connection before or after step 301, that is, the data transmission between the first terminal and the second terminal is already enabled, the first terminal may not need to send a data connection request to the second terminal according to the identifier of the second terminal, so as to establish the data connection with the second terminal again or again.
Step 303: the first terminal receives a second voice signal sent by the second terminal after responding to the call switching request, analyzes first voice data corresponding to the second voice signal and outputs the first voice data;
specifically, the first terminal receives a second voice signal sent by the second terminal after responding to the call switching request, analyzes first voice data corresponding to the second voice signal, and then outputs the first voice data through a first voice output device such as a receiver or a loudspeaker and the like arranged in the first terminal, so that a user can answer the call voice sent by the third terminal through the first terminal.
Here, the second voice signal is transmitted to the second terminal from a third terminal that is talking with the second terminal.
Step 304: and the first terminal receives a third voice signal and sends the third voice signal to the second terminal.
Specifically, after the first terminal outputs the first voice data in step 303, the first terminal receives a third voice signal responding to the first voice data, and sends the third voice signal to the second terminal, so that the second terminal sends the third voice signal to the third terminal, and the third terminal outputs second voice data corresponding to the third voice signal.
Here, the third voice signal may be regarded as a feedback signal of the first voice data output by the first terminal by the user to complete the call interaction between the first terminal and the third terminal.
EXAMPLE III
Fig. 4 is a schematic diagram of an implementation flow of a call switching method of a third terminal in the embodiment of the present invention, where the method includes:
step 401: the method comprises the steps that a second terminal receives a call switching request sent by a first terminal and sends a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
specifically, after receiving a call switching request sent by a first terminal that has established a data connection with the second terminal, the second terminal sends a received second voice signal sent by a third terminal that is in a call with the second terminal to the first terminal, so as to switch the call between the second terminal and the third terminal to the call between the first terminal and the third terminal.
Here, the second terminal and the third terminal may be terminal devices having a communication function, such as smart phones and the like.
Further, before the second terminal receives the call handover request sent by the first terminal, the method may further include:
and the second terminal receives the data connection request sent by the first terminal and establishes data connection with the first terminal according to the data connection request.
Specifically, a first terminal searches for an identifier of a terminal device near the first terminal through a function of searching for and discovering the terminal device near the first terminal; after the identification of the second terminal is searched, the first terminal sends a data connection request to the second terminal according to the identification of the second terminal so as to request to establish data connection with the second terminal; and after receiving the data connection request sent by the first terminal, the second terminal receives the data connection request so as to establish data connection with the first terminal.
Here, the first terminal may further obtain the identifier of the second terminal through a terminal identifier list that is already in the first terminal and includes the identifier of the second terminal, and then send a data connection request to the second terminal according to the identifier of the second terminal.
Here, the data connection may be a wireless network connection, that is, the first terminal and the second terminal both have the capability of accessing a wireless network and may also perform data transmission therebetween by means of the wireless network.
Here, if the first terminal and the second terminal have established a data connection before or after step 401, that is, data transmission between the first terminal and the second terminal is enabled, the first terminal may not need to send a data connection request to the second terminal according to the identifier of the second terminal, so as to establish a data connection with the second terminal again.
Step 402: and the second terminal receives a third voice signal sent by the first terminal and sends the third voice signal to the third terminal.
Specifically, after receiving the second voice signal sent by the second terminal in step 401, the first terminal outputs first voice data corresponding to the second voice signal, and receives a third voice signal responding to the first voice data; and then, the first terminal sends the third voice signal to the second terminal, and the second terminal receives the third voice signal sent by the first terminal and sends the third voice signal to the third terminal, so as to realize the conversation interaction between the first terminal and the third terminal.
Further, the method may further comprise:
the second terminal analyzes second voice data corresponding to the third voice signal and outputs the second voice data;
and the second terminal receives a fourth voice signal and sends the fourth voice signal to the first terminal and the third terminal.
Specifically, after receiving the third voice signal sent by the first terminal, the second terminal analyzes second voice data corresponding to the third voice signal, and outputs the second voice data through a second voice output device such as a receiver or a speaker and the like arranged in the second terminal, so that a user can answer the call voice sent by the first terminal through the second terminal; then, the second terminal receives a fourth voice signal in response to the second voice data, and transmits the fourth voice signal to the first terminal and the third terminal.
Here, the fourth voice signal may be regarded as a feedback signal of the user to the second voice data output by the second terminal, so as to implement call interaction between the second terminal and the first terminal; the fourth voice signal may be a voice directly input by a user through a second voice input device, such as a microphone, provided in the second terminal, and if the second voice input device, such as a sound sensor, in the second terminal senses the voice, it may be considered that the second terminal receives the fourth voice signal.
Example four
Fig. 5 is a schematic diagram of a configuration of a call switching system with four terminals according to an embodiment of the present invention, where the system includes: a first terminal 11, a second terminal 12, a third terminal 13; wherein,
the first terminal 11 is configured to receive a first voice signal and recognize the first voice signal; when the first voice signal is recognized as a call switching request and it is confirmed that the second terminal 12 having established a data connection with the first terminal 11 is currently in a call state, sending a call switching request to the second terminal 12;
the second terminal 12 is configured to receive a call handover request sent by the first terminal 11, and send a second voice signal sent by a third terminal 13 that is in a call with the second terminal 12 to the first terminal 11;
the first terminal 11 is further configured to receive the second voice signal sent by the second terminal 12, analyze first voice data corresponding to the second voice signal, and output the first voice data; receiving a third voice signal and transmitting the third voice signal to the second terminal 12;
the second terminal 12 is further configured to receive a third voice signal sent by the first terminal 11, and send the third voice signal to the third terminal 13.
The first terminal 11 is specifically configured to: the user directly inputs a first voice signal or indirectly inputs the first voice signal through a first sound input device arranged in the first terminal 11, and after the first terminal 11 receives the first voice signal, the first voice signal is recognized, including: detecting whether the size of the first voice signal is larger than a preset first threshold and the duration is larger than a preset second threshold, and/or detecting whether the distance between the first voice signal and a sound source of the first voice signal is smaller than a preset third threshold; if the first terminal 11 detects that the size of the first voice signal is greater than a preset first threshold, the duration is greater than a preset second threshold, and/or the distance from the sound source of the first voice signal is less than a preset third threshold, the first terminal 11 identifies the first voice signal as a call switching request.
Here, the first terminal 11 may be a terminal device having a call function, such as a smart watch, a mobile phone, or the like; the user directly inputting the first voice signal through the first sound input device disposed in the first terminal 11 may be that the user inputs a voice to the first sound input device, such as a microphone, disposed in the first terminal 11, and if the first sound receiving device, such as a sound sensor, disposed in the first terminal 11 senses the voice, it may be considered that the first terminal 11 receives the first voice signal; the indirect input of the first voice signal by the user through the first sound input device arranged in the first terminal 11 may be that one or more than one voice is stored in the first terminal 11 in advance, the user realizes that the first terminal 11 plays any stored voice by triggering a play key arranged on the first terminal 11, and if a first sound receiving device arranged in the first terminal 11, such as a sound sensor, senses any stored voice, it may be considered that the first terminal 11 receives the first voice signal; alternatively, the user may indirectly input the first voice signal through a first voice input device disposed in the first terminal 11, where one or more voices are stored in a terminal other than the first terminal 11 in advance, and if a first voice receiving device, such as a voice sensor, disposed in the first terminal 11 senses that the terminal plays any stored voice, it may be considered that the first terminal 11 receives the first voice signal.
Here, the first threshold, the second threshold, and the third threshold may be set according to actual application requirements, for example, the first threshold may be set to 20dB, the second threshold may be set to 1s, and the third threshold may be set to 10 cm; it should be noted that the magnitudes of the three thresholds, i.e. the first threshold, the second threshold, the third threshold, etc., are related to the result of recognizing the first speech signal; for example, when the first threshold is too small or the third threshold is too large, it is easy for the first terminal 11 to recognize any of the outside voice signals as the call switching request.
Here, the first terminal 11 may detect a distance from the sound source of the first voice signal by a distance sensor such as a progressive sensor provided in the first terminal 11; whether the holding time of the distance is greater than or equal to a preset fourth threshold or not may also be used as a condition that needs to be satisfied when the first terminal identifies the first voice signal as the call switching request, that is, when the first terminal detects that the distance from the sound source of the first voice signal is less than the preset third threshold and the holding time of the distance is greater than or equal to the preset fourth threshold, the first voice signal may be identified as the call switching request.
The first terminal 11 is specifically configured to: when the first terminal 11 recognizes the received first voice signal as a call handover request and confirms that the second terminal 12 having established a data connection with the first terminal 11 is currently in a call state, the first terminal 11 sends the call handover request to the second terminal 12, so that the second terminal 12 switches its current call to the first terminal 11 for execution.
Here, the first terminal 11 may send an instruction for detecting whether the second terminal 12 is currently in a call state to the second terminal 12 that has established a data connection with the first terminal 11, and then determine whether the second terminal 12 is currently in the call state according to a feedback result of the second terminal 12 to the instruction; alternatively, the first terminal 11 may determine whether the second terminal 12 is currently in a call state according to the call state identifier by detecting the call state identifier of the second terminal 12 that has established a data connection with the first terminal 11.
Further, the first terminal 11 is further configured to search an identifier of the second terminal 12 after the first voice signal is identified as the call handover request, and send a data connection request to the second terminal 12 according to the identifier of the second terminal 12;
the second terminal 12 is further configured to receive the data connection request sent by the first terminal 11, and establish a data connection with the first terminal 11 according to the data connection request.
Specifically, the first terminal 11 searches for an identifier of a terminal device in the vicinity of the first terminal 11 through a function of searching for and discovering the terminal device in the vicinity of the first terminal 11; after searching the identifier of the second terminal 12, the first terminal 11 sends a data connection request to the second terminal 12 according to the identifier of the second terminal 12, so as to request to establish data connection with the second terminal 12; after receiving the data connection request sent by the first terminal 11, the second terminal 12 receives the data connection request to establish data connection with the first terminal 11.
Here, the first terminal 11 may further obtain the identifier of the second terminal 12 through a terminal identifier list that is already in the first terminal 11 and includes the identifier of the second terminal 12, and then send the data connection request to the second terminal 12 according to the identifier of the second terminal 12.
Here, the data connection may be a wireless network connection, that is, the first terminal 11 and the second terminal 12 both have the capability of accessing a wireless network and can also transmit data to each other by means of the wireless network.
Here, if the first terminal 11 and the second terminal 12 have already established a data connection, that is, the data transmission between the first terminal 11 and the second terminal 12 is already enabled, the first terminal 11 may not need to send a data connection request to the second terminal 12 according to the identifier of the second terminal 12 to establish a data connection with the second terminal 12 again.
The second terminal 12 is specifically configured to: after receiving a call switching request sent by the first terminal 11 that has established a data connection with the second terminal 12, sending a second voice signal sent by the third terminal 13 that is in a call with the second terminal 12 to the first terminal 11, so as to switch the call between the second terminal 12 and the third terminal 13 to the call between the first terminal 11 and the third terminal 13.
Here, the second terminal 12 and the third terminal 13 may be terminal devices having a communication function, such as smart phones and the like; in addition, the first terminal 11 and the second terminal 12 may be respectively provided with a call switching unit, and when the call switching unit on the first terminal 11 is triggered, the second terminal 12 may switch the call to be executed by the first terminal 11; when the call switching unit on the second terminal 12 is triggered, the first terminal 11 may switch the call to the second terminal 12.
The first terminal 11 is specifically configured to: receiving the second voice signal sent by the second terminal 12, analyzing first voice data corresponding to the second voice signal, and then outputting the first voice data through a first sound output device, such as a receiver or a speaker, provided in the first terminal 11, so as to enable a user to listen to the call voice sent by the third terminal 13 through the first terminal 11.
The first terminal 11 is specifically configured to: after the first terminal 11 outputs the first voice data, a third voice signal responding to the first voice data is received, and the third voice signal is sent to the second terminal 12, so that the second terminal 12 sends the third voice signal to the third terminal 13.
Here, the third voice signal may be regarded as a feedback signal of the first voice data output by the first terminal 11 from the user to complete the call interaction between the first terminal 11 and the third terminal 13.
The second terminal 12 is specifically configured to: after receiving the third voice signal sent by the first terminal 11, sending the third voice signal to the third terminal 13, so as to implement call interaction between the first terminal 11 and the third terminal 13.
Further, the second terminal 12 is further configured to analyze second voice data corresponding to the third voice signal, and output the second voice data; receiving a fourth voice signal and transmitting the fourth voice signal to the first terminal 11 and the third terminal 13.
Specifically, after receiving the third voice signal sent by the first terminal 11, the second terminal 12 analyzes second voice data corresponding to the third voice signal, and outputs the second voice data through a second voice output device, such as a receiver or a speaker, provided in the second terminal 12, so as to enable a user to answer the call voice sent by the first terminal 11 through the second terminal 12; then, the second terminal 12 receives a fourth voice signal in response to the second voice data and transmits the fourth voice signal to the first terminal 11 and the third terminal 13.
Here, the fourth voice signal may be regarded as a feedback signal of the user to the second voice data output by the second terminal 12, so as to implement the call interaction between the second terminal 12 and the first terminal 11; the fourth voice signal may be a voice directly input by a user through a second voice input device, such as a microphone, provided in the second terminal 12, and if the second voice input device, such as a sound sensor, in the second terminal 12 senses the voice, the second terminal 12 may be considered to receive the fourth voice signal.
Further, after the third terminal 13 receives the third voice signal sent by the second terminal 12, second voice data corresponding to the third voice signal is analyzed, and the second voice data is output through a third sound output device, such as a receiver or a speaker, arranged in the third terminal 13, so that the user can listen to the call voice sent by the first terminal 11 through the third terminal 13; then, the third terminal 13 receives a fifth voice signal in response to the second voice data, and transmits the fifth voice signal to the second terminal 12, so that the second terminal 12 transmits the fifth voice signal to the first terminal 11.
Here, the fifth voice signal may be regarded as a feedback signal of the user to the second voice data output by the third terminal 13, so as to implement the call interaction between the third terminal 13 and the first terminal 11; the fifth voice signal may be a voice directly input by a user through a third sound input device, such as a microphone, provided in the third terminal 13, and if a third sound receiving device, such as a sound sensor, in the third terminal 13 senses the voice, it may be considered that the third terminal 13 receives the fifth voice signal.
Further, after the second terminal 12 receives the fifth voice signal sent by the third terminal 13, the fifth voice signal is sent to the first terminal 11, so that the first terminal 11 analyzes and outputs voice data corresponding to the fifth voice signal; and, the second terminal 12 further analyzes and outputs the voice data corresponding to the fifth voice signal, so as to implement the call interaction between the second terminal 12 and the third terminal 13.
In this way, the present embodiment can implement not only seamless switching of the call between the second terminal 12 and the third terminal 13 to the call between the first terminal 11 and the third terminal 13, but also coexistence of the call between the first terminal 11 and the second terminal 12, the call between the second terminal 12 and the third terminal 13, and the call between the first terminal 11 and the third terminal 13, that is, "three-way call" among the first terminal 11, the second terminal 12, and the third terminal 13.
EXAMPLE five
Fig. 6 is a schematic diagram of a composition structure of a five-terminal according to an embodiment of the present invention, where the terminal includes: a first processing unit 21, a second processing unit 22;
the first processing unit 21 is configured to receive a first voice signal and recognize the first voice signal;
the second processing unit 22 is configured to send a call handover request to the second terminal when the first processing unit recognizes the first voice signal as the call handover request and confirms that the second terminal that has established a data connection with the first processing unit 21 is currently in a call state;
the first processing unit 21 is further configured to receive a second voice signal sent by the second terminal after responding to the call handover request, and analyze first voice data corresponding to the second voice signal; and, receiving a third speech signal;
the second processing unit 22 is further configured to output the first voice data; and transmitting the third voice signal to the second terminal.
The first processing unit 21 is specifically configured to: receiving a first voice signal directly input or indirectly input by a user, and recognizing the first voice signal, wherein the method comprises the following steps: detecting whether the size of the first voice signal is larger than a preset first threshold and the duration is larger than a preset second threshold, and/or detecting whether the distance between the first voice signal and a sound source of the first voice signal is smaller than a preset third threshold; if it is detected that the size of the first voice signal is greater than a preset first threshold, the duration is greater than a preset second threshold, and/or the distance from the sound source of the first voice signal is less than a preset third threshold, the first processing unit 21 identifies the first voice signal as a call switching request.
Here, the first processing unit 21 may be considered to be integrated with at least one of the following devices: microphones, sound sensors, distance sensors, etc.; the receiving of the first voice signal directly input by the user by the first processing unit 21 may be that the user inputs a voice to the first processing unit 21, and if the first processing unit 21 senses the voice, it may be considered that the first processing unit 21 receives the first voice signal; the first processing unit 21 may receive the first voice signal indirectly input by the user by storing one or more voices in a certain terminal in advance, and the user may play any one of the stored voices by triggering a play key arranged on the terminal, and if the first processing unit 21 senses the played any one of the voices, it may be considered that the first processing unit 21 receives the first voice signal.
Here, the first threshold, the second threshold, and the third threshold may be set according to actual application requirements, for example, the first threshold may be set to 20dB, the second threshold may be set to 1s, and the third threshold may be set to 10 cm; it should be noted that the magnitudes of the three thresholds, i.e. the first threshold, the second threshold, the third threshold, etc., are related to the result of recognizing the first speech signal; for example, when the first threshold is too small or the third threshold is too large, it is easy for the first processing unit 21 to recognize any one of the external voice signals as a call switching request; in addition, whether the holding time of the distance is greater than or equal to a preset fourth threshold may also be used as a condition that needs to be satisfied when the first processing unit 21 recognizes the first voice signal as the call switching request, that is, when the first processing unit 21 detects that the distance from the sound source of the first voice signal is less than the preset third threshold and the holding time of the distance is greater than or equal to the preset fourth threshold, the first voice signal is recognized as the call switching request.
The second processing unit 22 is specifically configured to: when the first processing unit 21 recognizes the received first voice signal as a call handover request and confirms that the second terminal having established a data connection with the first processing unit 21 is currently in a call state, a call handover request is sent to the second terminal, so that the second terminal switches its current call to the second processing unit 22 for execution.
Here, the second processing unit 22 may determine whether the second terminal is currently in a call state according to a feedback result of the second terminal to the instruction by sending an instruction for detecting whether the second terminal is currently in a call state to the second terminal that has established a data connection with the first processing unit 21; alternatively, the second processing unit 22 may determine whether the second terminal is currently in a call state according to the call state identifier by detecting a call state identifier of the second terminal that has established a data connection with the first processing unit 21.
Further, the first processing unit 21 is further configured to search an identifier of the second terminal after the first voice signal is identified as the call handover request;
the second processing unit 22 is further configured to send a data connection request to the second terminal according to the identifier of the second terminal, so as to establish a data connection with the second terminal.
Specifically, the first processing unit 21 searches for the identifier of the terminal device in the vicinity of the first processing unit 21 through the function of searching for and discovering the terminal device in the vicinity of the first processing unit 21; after the first processing unit 21 searches for the identifier of the second terminal, the second processing unit 22 sends a data connection request to the second terminal according to the identifier of the second terminal, so as to request to establish data connection with the second terminal.
Here, the first processing unit 21 may further obtain the identifier of the second terminal through a terminal identifier list that is already in the first processing unit 21 and includes the identifier of the second terminal, and then the second processing unit 22 sends a data connection request to the second terminal according to the identifier of the second terminal.
Here, the data connection may be a wireless network connection, that is, the first processing unit 21 and the second terminal both have the capability of accessing a wireless network and can perform data transmission therebetween by means of the wireless network.
Here, if the first processing unit 21 and the second terminal have established a data connection before or after the first voice signal is recognized as the call handover request, that is, the data transmission between the first processing unit 21 and the second terminal has been enabled, the second processing unit 22 may not have to send a data connection request to the second terminal according to the identifier of the second terminal, so as to establish a data connection with the second terminal again or again.
The first processing unit 21 is specifically configured to: receiving a second voice signal sent by the second terminal after responding to the call switching request, and analyzing first voice data corresponding to the second voice signal;
the second processing unit 22 is specifically configured to: and outputting the first voice data analyzed by the first processing unit 21 to enable the user to listen to the call voice sent by the third terminal through the second processing unit 22.
Here, the second voice signal is transmitted to the second terminal from a third terminal that is talking with the second terminal.
The first processing unit 21 is specifically configured to: after the second processing unit 22 outputs the first voice data, a third voice signal responding to the first voice data is received.
Here, the third voice signal may be regarded as a feedback signal of the first voice data output by the second processing unit 22 for the user to complete the call interaction between the first processing unit 21 and the third terminal.
The second processing unit 22 is specifically configured to: the third voice signal received by the first processing unit 21 is sent to the second terminal, so that the second terminal sends the third voice signal to the third terminal, and the third terminal outputs second voice data corresponding to the third voice signal.
In practical applications, the first processing unit 21 and the second processing unit 22 may be implemented by a data interface, an antenna interface, a Central Processing Unit (CPU), a microprocessor unit (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA), etc. located on the terminal.
EXAMPLE six
Fig. 7 is a schematic diagram of a composition structure of a six-terminal according to an embodiment of the present invention, where the terminal includes: a third processing unit 31, a fourth processing unit 32; wherein,
the third processing unit 31 is configured to receive a call handover request sent by the first terminal; receiving a third voice signal sent by the first terminal;
the fourth processing unit 32 is configured to send a second voice signal sent by a third terminal in a call with the third processing unit 31 to the first terminal; and transmitting the third voice signal to the third terminal.
The fourth processing unit 32 is specifically configured to: after the third processing unit 31 receives a call switching request sent by a first terminal that has established a data connection with the third processing unit 31, a second voice signal sent by a third terminal that is in a call with the third processing unit 31 and received by the third processing unit 31 is sent to the first terminal, so that the call between the third processing unit 31 and the third terminal is switched to the call between the first terminal and the third terminal.
Further, the third processing unit 31 is further configured to receive a data connection request sent by the first terminal before the receiving of the call handover request sent by the first terminal, and establish a data connection with the first terminal according to the data connection request.
Specifically, a first terminal searches for an identifier of a terminal device near the first terminal through a function of searching for and discovering the terminal device near the first terminal; after searching the identifier of the third processing unit 31, the first terminal sends a data connection request to the third processing unit 31 according to the identifier of the third processing unit 31 to request to establish data connection with the third processing unit 31; after receiving the data connection request sent by the first terminal, the third processing unit 31 receives the data connection request, so as to establish data connection with the first terminal.
Here, the first terminal may further obtain the identifier of the third processing unit 31 through a terminal identifier list that is already in the first terminal and includes the identifier of the third processing unit 31, and then send a data connection request to the third processing unit 31 according to the identifier of the third processing unit 31.
Here, the data connection may be a wireless network connection, that is, the first terminal and the third processing unit 31 both have the capability of accessing a wireless network and can perform data transmission therebetween by means of the wireless network.
Here, if the third processing unit 31 has established a data connection with the first terminal before or after the call handover request sent by the first terminal is received, that is, data transmission between the first terminal and the third processing unit 31 is already enabled, the first terminal may not need to send a data connection request to the third processing unit 31 according to the identifier of the third processing unit 31 to establish a data connection with the third processing unit 31 again or again.
The third processing unit 31 is specifically configured to: after receiving the second voice signal sent by the fourth processing unit 32, the first terminal analyzes the first voice data corresponding to the second voice signal, receives a third voice signal responding to the first voice data, and then the first terminal sends the third voice signal to the third processing unit 31, so that the third processing unit 31 receives the third voice signal.
The fourth processing unit 32 is specifically configured to: and sending the third voice signal received by the third processing unit 31 to the first terminal, so as to implement call interaction between the first terminal and the third terminal.
Further, the third processing unit 31 is further configured to, after receiving a third voice signal sent by the first terminal, analyze second voice data corresponding to the third voice signal; and, receiving a fourth speech signal;
the fourth processing unit 32 is further configured to output the second voice data; and transmitting the fourth voice signal to the first terminal and the third terminal.
Specifically, after receiving the third voice signal sent by the first terminal, the third processing unit 31 analyzes second voice data corresponding to the third voice signal, and the fourth processing unit 32 outputs the second voice data, so that the user can answer the call voice sent by the first terminal through the third processing unit 31; then, the third processing unit 31 receives a fourth voice signal responding to the second voice data, and the fourth processing unit 32 sends the fourth voice signal to the first terminal and the third terminal.
Here, the fourth voice signal may be regarded as a feedback signal of the user to the second voice data output by the fourth processing unit 32, so as to implement the call interaction between the third processing unit 31 and the first terminal; the first processing unit 21 may be considered to be integrated with at least one of the following devices: microphones, sound sensors, distance sensors, etc.
In practical applications, the third processing unit 31 and the fourth processing unit 32 can be implemented by a data interface, an antenna interface, a Central Processing Unit (CPU), a microprocessor unit (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA), etc. located on the terminal.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.
Claims (20)
1. A method for switching call of a terminal is characterized in that the method comprises the following steps:
a first terminal receives a first voice signal and identifies the first voice signal;
when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, the first terminal sends the call switching request to the second terminal;
the first terminal receives a second voice signal sent by the second terminal after responding to the call switching request, analyzes first voice data corresponding to the second voice signal and outputs the first voice data;
and the first terminal receives a third voice signal and sends the third voice signal to the second terminal.
2. The method of claim 1, wherein the recognizing the first speech signal comprises:
the first terminal detects whether the size of the first voice signal is larger than a preset first threshold value or not and whether the duration time is larger than a preset second threshold value or not; and/or the first terminal detects whether the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value;
if the first terminal detects that the size of the first voice signal is larger than a preset first threshold value, the duration is larger than a preset second threshold value, and/or the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value, the first terminal identifies the first voice signal as a call switching request.
3. The method of claim 1, wherein after identifying the first voice signal as a call handover request, the method further comprises:
the first terminal searches the identification of the second terminal and sends a data connection request to the second terminal according to the identification of the second terminal so as to establish data connection with the second terminal.
4. A method for switching call of a terminal is characterized in that the method comprises the following steps:
the method comprises the steps that a second terminal receives a call switching request sent by a first terminal and sends a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
and the second terminal receives a third voice signal sent by the first terminal and sends the third voice signal to the third terminal.
5. The method of claim 4, wherein before the second terminal receives the call handover request sent by the first terminal, the method further comprises:
and the second terminal receives the data connection request sent by the first terminal and establishes data connection with the first terminal according to the data connection request.
6. The method of claim 4, wherein after the second terminal receives the third voice signal transmitted by the first terminal, the method further comprises:
the second terminal analyzes second voice data corresponding to the third voice signal and outputs the second voice data;
and the second terminal receives a fourth voice signal and sends the fourth voice signal to the first terminal and the third terminal.
7. A method for switching call of a terminal is characterized in that the method comprises the following steps:
a first terminal receives a first voice signal and identifies the first voice signal;
when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, the first terminal sends the call switching request to the second terminal;
the second terminal receives a call switching request sent by the first terminal and sends a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
the first terminal receives the second voice signal sent by the second terminal, analyzes first voice data corresponding to the second voice signal and outputs the first voice data;
the first terminal receives a third voice signal and sends the third voice signal to the second terminal;
and the second terminal receives the third voice signal sent by the first terminal and sends the third voice signal to the third terminal.
8. The method of claim 7, wherein the recognizing the first speech signal comprises:
the first terminal detects whether the size of the first voice signal is larger than a preset first threshold value or not and whether the duration time is larger than a preset second threshold value or not; and/or the first terminal detects whether the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value;
if the first terminal detects that the size of the first voice signal is larger than a preset first threshold value, the duration is larger than a preset second threshold value, and/or the distance between the first terminal and the sound source of the first voice signal is smaller than a preset third threshold value, the first terminal identifies the first voice signal as a call switching request.
9. The method of claim 7, wherein after identifying the first voice signal as a call handover request, the method further comprises:
the first terminal searches the identification of the second terminal and sends a data connection request to the second terminal according to the identification of the second terminal;
and the second terminal receives the data connection request sent by the first terminal and establishes data connection with the first terminal according to the data connection request.
10. The method of claim 7, wherein after the second terminal receives the third voice signal sent by the first terminal, the method further comprises:
the second terminal analyzes second voice data corresponding to the third voice signal and outputs the second voice data;
and the second terminal receives a fourth voice signal and sends the fourth voice signal to the first terminal and the third terminal.
11. A terminal, characterized in that the terminal comprises: a first processing unit and a second processing unit; wherein,
the first processing unit is used for receiving a first voice signal and identifying the first voice signal;
the second processing unit is used for sending a call switching request to the second terminal when the first processing unit identifies the first voice signal as the call switching request and confirms that the second terminal which establishes data connection with the first processing unit is in a call state currently;
the first processing unit is further configured to receive a second voice signal sent by the second terminal after responding to the call handover request, and analyze first voice data corresponding to the second language voice signal; and, receiving a third speech signal;
the second processing unit is further configured to output the first voice data; and transmitting the third voice signal to the second terminal.
12. The terminal of claim 11, wherein the first processing unit recognizes the first speech signal as:
detecting whether the size of the first voice signal is larger than a preset first threshold value and the duration time is larger than a preset second threshold value; and/or detecting whether the distance from the sound source of the first voice signal is smaller than a preset third threshold value;
and if the fact that the size of the first voice signal is larger than a preset first threshold value, the duration time of the first voice signal is larger than a preset second threshold value, and/or the distance between the first voice signal and the sound source of the first voice signal is smaller than a preset third threshold value is detected, the first voice signal is identified as a call switching request.
13. The terminal of claim 11,
the first processing unit is further configured to search for an identifier of a second terminal after the first voice signal is identified as the call handover request;
the second processing unit is further configured to send a data connection request to the second terminal according to the identifier of the second terminal, so as to establish a data connection with the second terminal.
14. A terminal, characterized in that the terminal comprises: a third processing unit and a fourth processing unit; wherein,
the third processing unit is used for receiving a call switching request sent by the first terminal; receiving a third voice signal sent by the first terminal;
the fourth processing unit is configured to send a second voice signal sent by a third terminal in a call with the third processing unit to the first terminal; and transmitting the third voice signal to the third terminal.
15. The terminal according to claim 14, wherein the third processing unit is further configured to receive a data connection request sent by the first terminal before the receiving of the call handover request sent by the first terminal, and establish a data connection with the first terminal according to the data connection request.
16. The terminal of claim 14,
the third processing unit is further configured to, after receiving a third voice signal sent by the first terminal, analyze second voice data corresponding to the third voice signal; and, receiving a fourth speech signal;
the fourth processing unit is further configured to output the second voice data; and transmitting the fourth voice signal to the first terminal and the third terminal.
17. A call switching system of a terminal, the system comprising: the system comprises a first terminal, a second terminal and a third terminal; wherein,
the first terminal is used for receiving a first voice signal and identifying the first voice signal; when the first voice signal is identified as a call switching request and a second terminal which establishes data connection with the first terminal is confirmed to be in a call state currently, sending the call switching request to the second terminal;
the second terminal is used for receiving a call switching request sent by the first terminal and sending a second voice signal sent by a third terminal which is in call with the second terminal to the first terminal;
the first terminal is further configured to receive the second voice signal sent by the second terminal, analyze first voice data corresponding to the second voice signal, and output the first voice data; receiving a third voice signal and sending the third voice signal to the second terminal;
the second terminal is further configured to receive a third voice signal sent by the first terminal, and send the third voice signal to the third terminal.
18. The system of claim 17, wherein the first terminal recognizes the first speech signal as:
detecting whether the size of the first voice signal is larger than a preset first threshold value and the duration time is larger than a preset second threshold value; and/or detecting whether the distance from the sound source of the first voice signal is smaller than a preset third threshold value;
and if the fact that the size of the first voice signal is larger than a preset first threshold value, the duration time of the first voice signal is larger than a preset second threshold value, and/or the distance between the first voice signal and the sound source of the first voice signal is smaller than a preset third threshold value is detected, the first voice signal is identified as a call switching request.
19. The system of claim 17,
the first terminal is further configured to search an identifier of a second terminal after the first voice signal is identified as the call handover request, and send a data connection request to the second terminal according to the identifier of the second terminal;
the second terminal is further configured to receive a data connection request sent by the first terminal, and establish a data connection with the first terminal according to the data connection request.
20. The system of claim 17, wherein the second terminal is further configured to parse second voice data corresponding to the third voice signal and output the second voice data; and receiving a fourth voice signal and transmitting the fourth voice signal to the first terminal and the third terminal.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610864811.5A CN107872566A (en) | 2016-09-28 | 2016-09-28 | A kind of call handover method of terminal, system and terminal |
| PCT/CN2017/073007 WO2018058875A1 (en) | 2016-09-28 | 2017-02-06 | Call switching method and system for terminal, terminal, and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610864811.5A CN107872566A (en) | 2016-09-28 | 2016-09-28 | A kind of call handover method of terminal, system and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107872566A true CN107872566A (en) | 2018-04-03 |
Family
ID=61761156
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610864811.5A Pending CN107872566A (en) | 2016-09-28 | 2016-09-28 | A kind of call handover method of terminal, system and terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107872566A (en) |
| WO (1) | WO2018058875A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111629409A (en) * | 2020-05-27 | 2020-09-04 | 维沃移动通信有限公司 | Call control method and device and electronic equipment |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112312368B (en) * | 2019-08-01 | 2025-01-24 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and storage medium |
| CN113329356B (en) * | 2021-06-02 | 2022-06-03 | 中国工商银行股份有限公司 | Method, device, electronic equipment and medium for switching answering mode |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060159251A1 (en) * | 2004-12-06 | 2006-07-20 | Michel Guillard | Centralized call transfer method and system |
| CN101123651A (en) * | 2007-09-11 | 2008-02-13 | 华为技术有限公司 | Session switching method, switch and device between terminals |
| US20100291928A1 (en) * | 2009-05-12 | 2010-11-18 | Verizon Patent And Licensing Inc. | Wireless call handoff |
| CN103298143A (en) * | 2012-02-27 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for achieving multi-party call and mobile terminal |
| CN105245741A (en) * | 2015-09-28 | 2016-01-13 | 努比亚技术有限公司 | Method and device for call transfer |
| CN105682056A (en) * | 2015-12-30 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Call control method, device and system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010206295A (en) * | 2009-02-27 | 2010-09-16 | Sony Ericsson Mobile Communications Ab | Wireless communication terminal and wireless communication method |
| CN102075892B (en) * | 2009-11-24 | 2014-12-10 | 中兴通讯股份有限公司 | Method and system for switching personal network voice |
-
2016
- 2016-09-28 CN CN201610864811.5A patent/CN107872566A/en active Pending
-
2017
- 2017-02-06 WO PCT/CN2017/073007 patent/WO2018058875A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060159251A1 (en) * | 2004-12-06 | 2006-07-20 | Michel Guillard | Centralized call transfer method and system |
| CN101123651A (en) * | 2007-09-11 | 2008-02-13 | 华为技术有限公司 | Session switching method, switch and device between terminals |
| US20100291928A1 (en) * | 2009-05-12 | 2010-11-18 | Verizon Patent And Licensing Inc. | Wireless call handoff |
| CN103298143A (en) * | 2012-02-27 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for achieving multi-party call and mobile terminal |
| CN105245741A (en) * | 2015-09-28 | 2016-01-13 | 努比亚技术有限公司 | Method and device for call transfer |
| CN105682056A (en) * | 2015-12-30 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Call control method, device and system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111629409A (en) * | 2020-05-27 | 2020-09-04 | 维沃移动通信有限公司 | Call control method and device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2018058875A1 (en) | 2018-04-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10630826B2 (en) | Information processing device | |
| KR100652645B1 (en) | Speaking rights management device and method using voice detection and recognition in push-to-talk type mobile communication terminal | |
| CN204069102U (en) | Interactive bluetooth earphone and mobile terminal | |
| CN104135559A (en) | Interactive Bluetooth headset and mobile terminal | |
| CN102857807A (en) | Communication terminal voice control method and digital television terminal | |
| CN108566221B (en) | Call control method and related equipment | |
| CN104935361A (en) | Method and device for communication between bluetooth headset and mobile terminal | |
| CN104967730A (en) | Communication method and terminal | |
| CN102695289B (en) | The method of the bilateral of mobile terminal and mobile terminal | |
| US8406684B1 (en) | Two-way radio device with combined mobile communication function | |
| CN107872566A (en) | A kind of call handover method of terminal, system and terminal | |
| CN104023117B (en) | A kind of method of information processing and electronic equipment | |
| CN105551491A (en) | Voice recognition method and device | |
| KR101222132B1 (en) | method and system of one-to-one and group communication simultaneously in wireless IP network | |
| JP2016139952A (en) | Hybrid terminal | |
| US9635165B2 (en) | Method and terminal for connection switchover for headphone jack adaptor device | |
| CN109936670A (en) | Communication equipment control system, communication equipment and control method | |
| KR101679627B1 (en) | Hands-free for PTT telecommunication, method using the System for PTT telecommunication, the same | |
| CN112822591A (en) | Call data transmission method and device, electronic equipment and storage medium | |
| CN107222634B (en) | Incoming call control method and device, storage medium and electronic equipment | |
| CN204741493U (en) | A mobile terminal, wired terminal and system | |
| KR101341893B1 (en) | Telephone call service apparatus and method for magnetic telephone of roip gateway | |
| JP4722762B2 (en) | Wireless communication system | |
| KR101366313B1 (en) | Mobile Terminal and Method for Control Input/Output Voice thereof | |
| CN106817488A (en) | The response method and device of answering earphone key-press event |
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 | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180403 |