WO2020143086A1 - 通话控制方法、装置及计算机设备 - Google Patents

通话控制方法、装置及计算机设备 Download PDF

Info

Publication number
WO2020143086A1
WO2020143086A1 PCT/CN2019/073531 CN2019073531W WO2020143086A1 WO 2020143086 A1 WO2020143086 A1 WO 2020143086A1 CN 2019073531 W CN2019073531 W CN 2019073531W WO 2020143086 A1 WO2020143086 A1 WO 2020143086A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
voice data
coding format
communication channel
communication
Prior art date
Application number
PCT/CN2019/073531
Other languages
English (en)
French (fr)
Inventor
郑勇
郑培艺
王辉
Original Assignee
深圳市沃特沃德股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市沃特沃德股份有限公司 filed Critical 深圳市沃特沃德股份有限公司
Publication of WO2020143086A1 publication Critical patent/WO2020143086A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the invention relates to the field of communication technology, in particular to a call control method, device and computer equipment.
  • a wifi smart speaker can make calls externally through the Internet, but cannot be called by any type of terminal as a called terminal, and the user needs to be beside the smart speaker during the call, and cannot be far away from the smart speaker, such as when the user is using the smart speaker during a call There is something that needs to go to another place suddenly. At this time, you can only hang up the phone and use another terminal to dial. This operation is cumbersome and the user experience is poor.
  • the main purpose of the present invention is to provide a call control method, device and computer equipment, which can automatically connect the communication between the first terminal and the second terminal to the third terminal without requiring the user to redial, reducing unnecessary operations of the user, making easy to use.
  • the invention provides a call control method, including:
  • the voice data during the voice interaction between the second terminal and the third terminal is processed according to the corresponding preprocessing rules.
  • the invention also proposes a call control device, including:
  • the connection module is used to connect the communication between the first terminal and the second terminal to the third terminal to establish a communication channel between the second terminal and the third terminal; wherein, the communication channel between the second terminal and the first terminal is the first communication channel , The communication channel between the third terminal and the first terminal is the second communication channel;
  • the processing module is configured to process the voice data during the voice interaction between the second terminal and the third terminal according to the corresponding preprocessing rules based on different communication modes of the communication channel.
  • the present invention also provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor.
  • a computer device which includes a processor, a memory, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program, the steps of the call control method described above are implemented.
  • the invention connects the communication connection between the first terminal and the second terminal to the third terminal, so that when the user cannot use the first terminal to make a call, the third terminal can be used for the call without the need to hang up the call and call again.
  • the operation is simple and the user experience is improved; according to the different communication methods of the communication channel, the voice data of the second terminal and the third terminal are exchanged according to the corresponding preprocessing rules, to avoid data errors during voice data exchange, and to better implement the second terminal and Voice interaction of the third terminal.
  • FIG. 1 is a schematic diagram of steps of a call control method in an embodiment of the invention.
  • FIG. 2 is a schematic structural diagram of a call control device according to an embodiment of the invention.
  • FIG. 3 is a schematic structural diagram of a computer device in an embodiment of the invention.
  • a call control method in an embodiment of the present invention includes:
  • S1 connect the communication between the first terminal and the second terminal to the third terminal, and establish a communication channel between the second terminal and the third terminal; wherein, the communication channel between the second terminal and the first terminal Is a first communication channel, and the communication channel between the third terminal and the first terminal is a second communication channel;
  • the present invention can be applied to smart terminals (but not limited to smart terminals).
  • the above smart terminals include mobile phones, tablet computers, smart speakers, multi-function telephones, desktop computers, PDAs (Personal Digital Assistants), in-vehicle computers, etc.
  • Terminal device in this embodiment, the above-mentioned smart terminal is the first terminal, that is, the first terminal is the executive body.
  • the above connection can be understood as that the first terminal connects to the third terminal, that is, the communication between the first terminal and the second terminal is continued to the third terminal; the first terminal is the second terminal and the third terminal
  • the relay is a transmission path between two switching centers (that is, the second terminal and the third terminal);
  • the above communication channel is a data transmission path during a call, including the first terminal and the second terminal
  • the communication method of the first communication channel includes a circuit switched domain (Circuit Switched, CS domain) Network communication and packet switched domain (Packet Service, PS domain) network communication
  • the communication methods of the second communication channel include IP (Internet Protocol, Internet Protocol) network communication and short-range wireless network communication, wherein the short-range wireless network communication includes Bluetooth connection, infrared connection, and ultra Broadband (UWB) connections, etc.
  • the call connection may be a call connection established by the first terminal as the calling terminal and the second terminal as the called terminal (that is, the first terminal calls the second terminal), or may be the first terminal as the called terminal and the second terminal as The call connection established by the calling terminal (that is, the second terminal calls the first terminal).
  • the first terminal takes 4G smart speakers as an example (4G smart speakers are based on the addition of 4G communication units on the basis of WIFI smart speakers), and the second terminal sends a call request to the 4G smart speakers, because the user is not in 4G smart speakers Beside the speaker, the 4G smart speaker sends the call request to the user's third terminal, and the user accepts the call request through the third terminal.
  • 4G smart speakers are based on the addition of 4G communication units on the basis of WIFI smart speakers
  • the 4G smart terminal establishes a call between the second terminal and the 4G smart speaker according to the acceptance instruction selected by the user
  • the 4G smart speaker connects the call connection to the third terminal to enable the user of the second terminal to make a call with the user of the third terminal, so as to prevent the user from answering an incoming call when the user is not next to the 4G smart speaker, and avoid missing important calls.
  • the above-mentioned communication methods include communication methods corresponding to the first communication channel and the second communication channel respectively; the above-mentioned first communication channel and the second communication channel constitute a complete communication channel, but the two have different communication methods, so When the first communication channel and the second communication channel are combined into a complete communication channel, there are multiple combinations of relationships, where the combination relationship includes the first communication channel is CS domain network communication and the second communication channel is IP network communication, the first communication channel For the CS domain network communication and the second communication channel are short-distance wireless network communication, the first communication channel is the PS domain network communication and the second communication channel is the IP network communication, and the first communication channel is the PS domain network communication and the second communication channel It is short-range wireless network communication; the above different combination relationship corresponds to different preprocessing rules; the above preprocessing rules can be used to determine whether the data encoding format of the first communication channel conforms to the data encoding format of the second communication channel. If the voice data is exchanged, if it does not match, it is
  • the second terminal sends voice data to the first terminal through the first communication channel
  • the first terminal receives the voice data
  • the third terminal sends voice data to the first terminal, converts the coding format of the voice data into a data coding format that conforms to the first communication channel, and then sends it to the second terminal.
  • the invention connects the communication connection between the first terminal and the second terminal to the third terminal, so that when the user cannot use the first terminal to make a call, the third terminal can be used for the call without the need to hang up the call and call again.
  • the operation is simple and the user experience is improved; according to the different communication methods of the communication channel, the voice data of the second terminal and the third terminal are processed according to the corresponding pre-processing rules, to avoid data errors during voice data exchange, and to better realize the second terminal and Voice interaction of the third terminal.
  • step S1 of connecting the call connection between the first terminal and the second terminal to the third terminal includes:
  • the first terminal serves as a called terminal
  • the second terminal serves as a calling terminal
  • the first terminal and the third terminal perform an APP (application) message Binding, when the first terminal receives the call request information of the second terminal, the call request information is sent to the third terminal, and the APP on the third terminal receives the call request information, thereby realizing the transfer of the call request information .
  • APP application
  • the instruction to answer the call request information is received by the first terminal, and the first terminal feeds the instruction back to the second terminal, thereby establishing a call connection between the first terminal and the second terminal;
  • the third terminal sends an instruction to answer the call request information to the first terminal.
  • the sending method may be that the first terminal and the third terminal communicate through an IP network, or the first terminal and the third terminal communicate through a short-range wireless network Communication; the call connection between the first terminal and the second terminal may be PS domain network communication or CS domain network communication; for the case where the user is not next to the first terminal, the incoming call request information is sent to the user through the IP network.
  • Three terminals to prevent users from missing important calls when they are not next to the first terminal.
  • the method before the step S02 of sending the call request information to the third terminal, the method further includes:
  • S021 Determine whether the caller number corresponding to the caller request information is a preset number
  • the call request information is sent to the third terminal.
  • the preset number includes a blacklist number and a harassment number
  • the blacklist number is a number set by the user
  • the harassment number is a number that is determined to be a harassing call by information such as the source of the terminal's intelligent identification number ;
  • the method further includes:
  • S023 Determine whether both the first terminal and the third terminal are within the coverage of the short-distance wireless network
  • the short-range wireless network includes Bluetooth, infrared, ultra-wideband (UWB), etc., preferably Bluetooth; in one embodiment, the first terminal receives the call request information and determines the caller number corresponding to the call request information Whether it is a preset number, if it is not a preset number, it is determined whether the first terminal and the third terminal are within the coverage of a short-range wireless network; in another embodiment, the first terminal receives the call request information and determines the first Whether the first terminal and the third terminal are within the coverage of the short-range wireless network.
  • UWB ultra-wideband
  • the first terminal sends the incoming call request information to the third terminal;
  • the first terminal takes the smart home control center (with a 4G communication unit) as an example.
  • the smart home control center When the smart home control center receives an incoming call from the second terminal and the user is not at home (that is, the current first terminal and If none of the three terminals are within the coverage of the short-distance wireless network), an instruction to send call request information to the third terminal is sent through the IP network; in another embodiment, the first terminal is a landline (multi-function phone in the user’s office) )
  • the landline receives the incoming call, and determines that the user’s third terminal is not within the coverage of the short-range wireless network, then sends an instruction to the third terminal through the IP network to request incoming call information, and
  • the user can also answer incoming calls after work to avoid missing important calls; when the user cannot use the first terminal to answer incoming calls, the user can still answer the incoming calls, avoiding missed important calls and improving the user experience.
  • step S023 of determining whether the first terminal and the third terminal are both within the coverage of the short-range wireless network further includes:
  • the communication method of the second communication channel is a short-range wireless network communication method.
  • step S025 after the first terminal receives the incoming call request, when both the first terminal and the third terminal are within the coverage of the short-range wireless network, the first terminal and the second terminal are automatically established through the short-range wireless network Communication connection, and the communication connection is connected to a third terminal, wherein the communication method of the second communication channel between the first terminal and the third terminal is short-range wireless network communication; in an embodiment, the first terminal Take a desktop computer (with a 4G communication unit) as an example. Generally, the user puts the desktop computer in the study room. When the desktop computer receives the incoming call request, the user is not in the study room but in the living room.
  • a desktop computer with a 4G communication unit
  • the step S2 of processing the voice data during the voice interaction between the second terminal and the third terminal according to the corresponding preprocessing rules in the different communication methods based on the communication channel includes:
  • S21a Receive voice data sent by the second terminal
  • the first coding format is a data coding format corresponding to the IP network communication
  • S23a Send the first voice data to the third terminal.
  • the communication method of the first communication channel is circuit domain network communication
  • the communication method of the second communication channel is IP network communication
  • the circuit domain network is a circuit switched domain (CS domain);
  • the IP network is a network that follows the Internet Protocol;
  • the second terminal is a landline or a mobile phone in a 2G/3G network state
  • the first terminal and the second terminal communicate through the CS domain
  • the second terminal is unactivated VOLTE ( Voice over Long-Term Evolution (long-term evolution voice bearer) business 4G network mobile phone, the first terminal and the second terminal through CSFB (Circuit Switched in CS domain) Fallback (circuit domain fallback) technology to talk.
  • VOLTE Voice over Long-Term Evolution (long-term evolution voice bearer) business 4G network mobile phone
  • CSFB Circuit Switched in CS domain
  • Fallback circuit domain fallback
  • the first terminal receives the voice data of the second terminal as the data transmitted in the circuit domain, then the coding format of the voice data is the coding format of the corresponding data transmission in the circuit domain, and the first The terminal transmits the voice data to the IP network communication used by the third terminal.
  • the coding format of the data transmission corresponding to the IP network is different from the circuit domain, so the coding format of the voice data needs to be converted to the coding format corresponding to the IP network;
  • the first terminal receives the voice of the first terminal user, and after performing voice coding, channel coding, interleaving, burst generation, encryption, and modulation into voice data, the first terminal receives the voice sent by the second terminal through the circuit domain network Voice data (such as AMR (Adaptive Multi-Rate) coded voice data), convert the AMR coded voice data to PCM (Pulse Code Modulation) coded voice data (this process includes demodulation, decryption, burst conversion, deinterleaving, channel decoding, and voice decoding of AMR coded voice data to voice, and then voice coding, channel coding, Interleaving, burst generation, encryption, and modulation into PCM coded voice data), and then send the PCM coded voice data to the third terminal, the third terminal demodulates, decrypts,
  • the step S2 of processing the voice data during the voice interaction between the second terminal and the third terminal according to the corresponding preprocessing rules in the different communication methods based on the communication channel includes:
  • S21b Receive voice data sent by the third terminal
  • the second coding format is a data coding format corresponding to the circuit domain network communication
  • S23b Send the second voice data to the second terminal.
  • the communication method of the first communication channel is circuit domain network communication
  • the communication method of the second communication channel is IP network communication
  • the circuit domain network is the circuit switched domain (CS domain).
  • the first terminal receives the voice data of the third terminal transmitted by the IP network, then the coding format of the voice data is the coding format of the corresponding data transmission of the IP network, and the first terminal The voice data is transmitted to the circuit domain network communication adopted by the second terminal.
  • the coding format of the data transmission corresponding to the circuit domain network is different from that of the IP network, so the coding format of the voice data needs to be converted to the coding format corresponding to the circuit domain network;
  • the specific process of this embodiment is opposite to the above step S21a, step S22a, and step S23a, and will not be repeated here; by converting the encoding format of the voice data, the voice data is exchanged during the call, and then the second terminal user and The third terminal user performs voice interaction.
  • the step S22a of converting the coding format of the voice data corresponding to the second terminal into the first coding format to obtain the first voice data includes:
  • S222a Convert the coding format of the voice data to the first coding format to obtain first voice data.
  • a buffer area for storing voice data is provided;
  • the first received voice buffer is a storage area for voice data of the second terminal;
  • the first terminal is provided with a FIFO (First Input First Output) memory, and the FIFO is provided with a first received voice buffer, a first voice code conversion area, and a first terminal of the second terminal.
  • the second terminal performs voice coding, channel coding, interleaving, burst generation, encryption, and modulation on the voice of the second terminal user into voice data, and then sends the voice data to the first terminal
  • the first terminal stores the voice data in the first received voice buffer, and determines the coding format of the voice data of the second terminal according to the interactive signaling between the second terminal and the first terminal, when the second terminal is talking in the CS domain , Convert the voice data in the first received voice buffer to the first encoding format (ie, the data encoding format corresponding to the IP network (such as converting the AMR format to the PCM format)) to obtain the first voice data, and convert the first voice
  • the data is stored in the first voice code conversion area, and then the first voice data in the first voice code conversion area is transmitted to the second transmission voice buffer, and the first voice data in the second transmission voice buffer is transmitted through the IP network
  • the third terminal performs demodulation, decryption, burst conversion, de
  • the step S22b of converting the coding format of the voice data corresponding to the third terminal into the second coding format to obtain second voice data includes:
  • S222b Convert the coding format of the voice data to the second coding format to obtain second voice data.
  • the second received voice buffer is a storage area of the voice data of the third terminal; in an embodiment, the third terminal performs voice coding, channel coding, After interleaving, burst generation, encryption, and modulation into voice data, the voice data is sent to the first terminal, and the first terminal stores the voice data in the second received voice buffer, according to the second terminal and the first The terminal's interactive signaling determines the encoding format of the second terminal's voice data.
  • the voice data in the second received voice buffer is converted to the second encoding format (that is, the circuit domain network corresponds to Data encoding format (for example, convert PCM format to AMR format), obtain the second voice data, store the second voice data in the second voice code conversion area, and then convert the second voice in the second voice code conversion area
  • the data is transferred to the first send voice buffer, and the second voice data in the first send voice buffer is sent to the second terminal through the circuit domain network, and the second terminal demodulates, decrypts, and bursts the second voice data Conversion, deinterleaving, channel decoding, and speech decoding to speech.
  • the communication method of the first communication channel is packet domain network communication
  • the communication method of the second communication channel is IP network communication
  • the step S2 of processing the voice data during the voice interaction between the second terminal and the third terminal by the preprocessing rule includes:
  • S21c Receive voice data sent by the second terminal
  • S22c Send the language data of the second terminal to the third terminal
  • S22d Send the language data of the third terminal to the second terminal.
  • the above packet domain network is a packet switched domain (PS domain), and the above IP network is a network that follows the Internet protocol; in one embodiment, the second terminal is a 4G network (PS domain network) terminal that enables VOLTE service, and the second terminal All services are carried under the 4G network, and data and voice services can be operated on the same network.
  • the above 4G network with VOLTE service is an IP data transmission technology.
  • the first terminal, the second terminal, and the third terminal are all The IP network is used to transmit data, so the voice data has the same encoding format, and thus no code conversion is required.
  • the first terminal is provided with a first-in first-out data FIFO (First Input First Output) memory, and the first receiving voice buffer, the first voice code conversion area, the first transmitting voice buffer of the second terminal, and the second receiving voice buffer and the second voice of the third terminal are provided in the FIFO Code conversion area, second send voice buffer.
  • FIFO First Input First Output
  • the voice data is transmitted through the IP network Sent to the first terminal, the first terminal stores the voice data in the first received voice buffer, and then transmits the voice data in the first received voice buffer to the second sent voice buffer, and the second The voice data in the voice buffer is sent to the third terminal.
  • the third terminal demodulates, decrypts, converts the burst, deinterleaves, decodes the channel, and decodes the voice into voice.
  • the buffer is set through the FIFO to ensure that the voice data will not be lost, and the use of the first-in first-out feature of the FIFO makes it impossible to encode and convert the voice data multiple times, and also makes the voice data obtained by the third terminal consistent.
  • the first terminal is provided with a first-in first-out data FIFO (First Input First Output) memory, and the first receiving voice buffer, the first voice code conversion area, the first transmitting voice buffer of the second terminal, and the second receiving voice buffer and the second voice of the third terminal are provided in the FIFO Code conversion area, second send voice buffer.
  • FIFO First Input First Output
  • the voice data is transmitted through the IP network Sent to the first terminal, the first terminal stores the voice data in the second received voice buffer, and then transmits the voice data in the second received voice buffer to the first sent voice buffer, and the first The voice data in the voice buffer is sent to the second terminal, and the second terminal demodulates, decrypts, converts the burst, deinterleaves, decodes the channel, and decodes the voice into voice.
  • the buffer is set by the FIFO to ensure that the voice data will not be lost, and the first-in first-out feature of the FIFO makes it impossible to encode and convert the voice data multiple times, and makes the voice data obtained by the second terminal consistent.
  • a call control device in an embodiment of the present invention includes:
  • the connection module 1 is used to connect the communication between the first terminal and the second terminal to the third terminal, and establish a communication channel between the second terminal and the third terminal; wherein, the second terminal and the first terminal The communication channel of the terminal is a first communication channel, and the communication channel of the third terminal and the first terminal is a second communication channel;
  • the processing module 2 is configured to process voice data during voice interaction between the second terminal and the third terminal according to corresponding preprocessing rules based on different communication modes of the communication channel.
  • the connection module 1 of the present invention connects the communication connection between the first terminal and the second terminal to the third terminal, so that when the user cannot use the first terminal to make a call, the third terminal can be used for the call without having to hang up the call and then restart
  • the call makes the operation simple and improves the user experience;
  • the processing module 2 processes the voice data of the second terminal and the third terminal according to the corresponding preset processing method according to the different communication methods of the communication channel, to avoid data errors during voice data exchange, and more It is good to realize the voice interaction between the second terminal and the third terminal.
  • the processing module 2 processes the voice data of the second terminal and the third terminal according to the corresponding preset processing method according to the different communication methods of the communication channel, to avoid data errors during voice data exchange, and more It is good to realize the voice interaction between the second terminal and the third terminal.
  • the above device further includes:
  • a receiving module configured to receive call request information sent by the second terminal
  • a sending module configured to send the call request information to the third terminal
  • the first establishing module is configured to receive an instruction to answer the call request returned by the third terminal, so as to establish a communication connection between the first terminal and the second terminal.
  • the receiving module receives the call request information sent by the second terminal, and then the send module sends the call request information to the third terminal.
  • the first establishment module Receive the instruction to answer the call request information sent by the third terminal, and establish a communication connection between the first terminal and the second terminal, and the processing module 2 processes the voice data according to the pre-processing rules corresponding to the communication method to realize the second terminal and the third Terminal voice interaction.
  • the processing module 2 processes the voice data according to the pre-processing rules corresponding to the communication method to realize the second terminal and the third Terminal voice interaction.
  • the above device further includes:
  • the first judgment module is used to judge whether the caller number corresponding to the call request information is a preset number
  • the first entry module is used to send the call request information to the third terminal if it is not a preset number.
  • the first determination module determines whether the call number corresponding to the call request information is a preset number. If it is not the preset number, the first entry module enters The step of sending the call request information to the third terminal.
  • the first entry module enters The step of sending the call request information to the third terminal.
  • the above device further includes:
  • the second judgment module is used to judge whether the first terminal and the third terminal are both within the coverage of the short-distance wireless network
  • the generating module is configured to generate the instruction to send the call request information to the third terminal if it is not within the connection range of the short-range wireless network.
  • the second determining module determines whether both the first terminal and the third terminal are within the coverage of the short-range wireless network. Is not within the coverage of the short-range wireless network, the generation module generates an instruction to send the call request information to the third terminal; in another embodiment, after the receiving module receives the call request information sent by the second terminal, the first A judgment module judges whether the caller number corresponding to the call request information is a preset number, and if not, the second judgement module judges whether the first terminal and the third terminal are both within the coverage of the short-range wireless network If it is not within the coverage of the short-range wireless network, the generation module generates an instruction to send the incoming call request information to the third terminal.
  • the first A judgment module judges whether the caller number corresponding to the call request information is a preset number, and if not, the second judgement module judges whether the first terminal and the third terminal are both within the coverage of the short-range wireless network If it is not within the coverage of the short-range wireless network, the generation module generates an instruction to send the incoming
  • the above device further includes:
  • a second establishing module configured to establish a call connection between the first terminal and the second terminal if it is within the coverage of the short-range wireless network, and connect the communication between the first terminal and the second terminal to A third terminal, wherein the communication method of the second communication channel is a communication method of a short-range wireless network.
  • the second determination module determines whether the first terminal and the third terminal are both within the coverage of the short-distance wireless network. If the coverage is within the coverage of the short-distance wireless network, the second establishment module establishes The communication connection between the first terminal and the second terminal is entered, and the step of connecting the communication connection between the first terminal and the second terminal to the third terminal is entered.
  • the second establishment module establishes The communication connection between the first terminal and the second terminal is entered, and the step of connecting the communication connection between the first terminal and the second terminal to the third terminal is entered.
  • the processing module 2 includes:
  • a first receiving unit configured to receive voice data sent by the second terminal
  • a first conversion unit configured to convert the coding format of the voice data corresponding to the second terminal into a first coding format to obtain first voice data;
  • the first coding format is the data coding corresponding to the second communication channel format;
  • the first sending unit is configured to send the first voice data to the third terminal.
  • the connection module 1 connects the communication connection between the first terminal and the second terminal to the third terminal
  • the first receiving unit receives the voice data sent by the second terminal
  • the first conversion unit converts the voice data
  • the encoding format of is converted into the first encoding format, and then the first voice data after the encoding conversion is sent by the first sending unit to the third terminal.
  • the processing module 2 includes:
  • a second receiving unit configured to receive voice data sent by the third terminal
  • a second conversion unit configured to convert the coding format of the voice data corresponding to the third terminal into a second coding format to obtain second voice data;
  • the second coding format is the data coding corresponding to the first communication channel format;
  • the second sending unit is configured to send the second voice data to the second terminal.
  • the connection module 1 connects the call connection between the first terminal and the second terminal to the third terminal
  • the second receiving unit receives the voice data sent by the third terminal
  • the second conversion unit converts the voice data Is converted into the second encoding format, and the second voice data after the encoding conversion is sent to the second terminal by the second sending unit.
  • the first conversion unit includes:
  • a first storage subunit configured to store the voice data in a preset first received voice buffer
  • the first conversion subunit is configured to convert the coding format of the voice data into the first coding format to obtain first voice data.
  • the first storage sub-unit stores the voice data into a preset first received voice buffer, and the first conversion sub-unit The encoding format of the voice data is converted into the first encoding format, and then the first converted data is sent to the third terminal by the first sending unit.
  • the second conversion unit includes:
  • a second storage subunit configured to store the voice data in a preset second received voice buffer
  • the second conversion subunit is configured to convert the coding format of the voice data into the second coding format to obtain second voice data.
  • the second storage sub-unit stores the voice data into a preset second received voice buffer, and the second conversion sub-unit The encoding format of the voice data is converted into the second encoding format, and then the second voice data after the encoding conversion is sent to the second terminal by the second sending unit.
  • the explanation in the above device please refer to the explanation in the corresponding mode embodiment, which will not be repeated here.
  • the communication method of the first communication channel is packet domain network communication
  • the communication method of the second communication channel is IP network communication
  • the processing module 2 includes:
  • a third receiving unit configured to receive voice data sent by the second terminal
  • a third sending unit configured to send the language data of the second terminal to the third terminal
  • a fourth receiving unit configured to receive voice data sent by the third terminal
  • the fourth sending unit is configured to send the language data of the third terminal to the second terminal.
  • the third receiving unit receives the voice data sent by the second terminal, and then the third sending unit sends the voice data
  • the fourth receiving unit receives the voice data sent by the third terminal, and then The voice data is sent to the second terminal by the fourth sending unit.
  • a computer device 1001 includes a memory 1003 and a processor 1002.
  • the memory 1003 stores a computer program.
  • the processor 1002 executes the computer program 1004 to implement the steps of the call control method. .
  • the computer device described in the present invention and the device involved in the above are used to perform one or more of the methods described in this application.
  • These devices may be specially designed and manufactured for the required purpose, or may also include known devices in general-purpose computers.
  • These devices have computer programs or application programs stored therein, which are selectively activated or reconstructed.
  • Such a computer program may be stored in a device (eg, computer) readable medium or any type of medium suitable for storing electronic instructions and respectively coupled to a bus.
  • the computer readable medium includes but is not limited to any Types of disks (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card. That is, a readable medium includes any medium that stores or transmits information in a readable form by a device (eg, a computer).
  • a device eg, a computer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

本发明揭示了一种通话控制方法、装置及计算机设备,包括:将第一终端与第二终端的通信接续至第三终端,建立所述第二终端与所述第三终端的通信通道;基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据。实现减少用户不必要的操作,提升用户体验。

Description

通话控制方法、装置及计算机设备 技术领域
本发明涉及到通信技术领域,特别是涉及到通话控制方法、装置及计算机设备。
背景技术
随着科学技术的快速发展,人们日常的通信方式也越来越多样化;以前只能通过手机、电话机等终端进行通话,而现在还能通过电脑、智能音箱等终端设备进行通话。
例如,wifi智能音箱可以通过互联网对外进行拨打电话,但是不能作为被叫终端被任意类型终端呼叫,并且通话时用户需要在智能音箱旁边,而不能远离智能音箱,如当用户在使用智能音箱通话过程中,突然有事需要到其他地方,此时只能挂断电话,并重新使用其他终端拨号,这样操作繁琐,用户体验不佳。
技术问题
本发明的主要目的为提供一种通话控制方法、装置及计算机设备,实现自动将第一终端与第二终端的通信接续至第三终端,不需要用户重新拨号,减少用户不必要的操作,使得操作简单。
技术解决方案
本发明提出一种通话控制方法,包括:
将第一终端与第二终端的通信接续至第三终端,建立第二终端与第三终端的通信通道;其中,第二终端与第一终端的通信通道为第一通信通道,第三终端与第一终端的通信通道为第二通信通道;
基于通信通道的不同通信方式,按照对应的预处理规则处理第二终端与第三终端语音交互时的语音数据。
本发明还提出一种通话控制装置,包括:
接续模块,用于将第一终端与第二终端的通信接续至第三终端,建立第二终端与第三终端的通信通道;其中,第二终端与第一终端的通信通道为第一通信通道,第三终端与第一终端的通信通道为第二通信通道;
处理模块,用于基于通信通道的不同通信方式,按照对应的预处理规则处理第二终端与第三终端语音交互时的语音数据。
本发明还提出一种计算机设备,其包括处理器、存储器及存储于存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述通话控制方法的步骤。
有益效果
本发明通过将第一终端与第二终端的通信连接接续至第三终端,实现在用户不能使用第一终端通话时,可以通过第三终端进行通话,而不需要挂断通话再重新呼叫,使得操作简单,提升用户体验;根据通信通道的通信方式不同,按照对应的预处理规则交换第二终端与第三终端的语音数据,避免语音数据交换时数据出错,进而更好的实现第二终端与第三终端的语音交互。
附图说明
图1为本发明一实施例中通话控制方法的步骤示意图;
图2为本发明一实施例中通话控制装置的结构示意图;
图3为本发明一实施例中计算机设备的结构示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的最佳实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
参照图1,本发明一实施例中通话控制方法,包括:
S1,将第一终端与第二终端的通信接续至第三终端,建立所述第二终端与所述第三终端的通信通道;其中,所述第二终端与所述第一终端的通信通道为第一通信通道,所述第三终端与第一终端的通信通道为第二通信通道;
S2,基于所述通信通道的不同通信方式,按照对应的预处理规则处理第二终端与第三终端语音交互时的语音数据。
本发明可应用于智能终端(但不限于智能终端),上述智能终端包括手机、平板电脑、智能音箱、多功能电话机、台式电脑、PDA(Personal Digital Assistant,个人数字助理)、车载电脑等任意终端设备;在本实施例中,上述智能终端为第一终端,即第一终端为执行主体。
在上述步骤S1中,上述接续可理解为上述第一终端接通第三终端,即将第一终端与第二终端的通信延续至第三终端;第一终端为第二终端与所述第三终端的中继,上述中继(Relay)是两个交换中心(即第二终端与第三终端)之间的传输通路;上述通信通道为通话时数据的传输路径,包括第一终端与第二终端之间的数据传输路径(第一通信通道),以及第一终端与第三终端之间的数据传输路径(第二通信通道);上述第一通信通道的通信方式包括电路交换域(Circuit Switched,CS域)网络通信和分组交换域(Packet Service,PS域)网络通信;上述第二通信通道的通信方式包括IP(Internet Protocol,网际协议)网络通信和短距离无线网络通信,其中,上述短距离无线网络通信包括蓝牙连接、红外线连接、超宽带(UWB)连接等。上述通话连接可以为第一终端作为主叫终端与第二终端作为被叫终端建立的通话连接(即第一终端呼叫第二终端),也可以为第一终端作为被叫终端与第二终端作为主叫终端建立的通话连接(即第二终端呼叫第一终端)。
在一实施例中,第一终端以4G智能音箱为例(4G智能音箱为在WIFI智能音箱的基础上增加了4G通信单元),第二终端向4G智能音箱发送呼叫请求,由于用户不在4G智能音箱的身边,所以4G智能音箱将该呼叫请求发送至用户的第三终端,用户通过第三终端接受该呼叫请求,4G智能终端根据用户选择的接受指令,建立第二终端与4G智能音箱的通话连接,同时4G智能音箱将该通话连接接续至第三终端,实现第二终端的用户与第三终端的用户进行通话,从而避免用户不在4G智能音箱旁边时,接听来电,避免重要来电漏接。
在上述步骤S2中,上述通信方式包括第一通信通道和第二通信通道分别对应的通信方式;上述第一通信通道与第二通信通道组成完整的通信通道,但两者的通信方式不同,所以有第一通信通道与第二通信通道组合成完整的通信通道时有多种组合关系,其中组合关系包括第一通信通道为CS域网络通信与第二通信通道为IP网络通信、第一通信通道为CS域网络通信与第二通信通道为短距离无线网络通信、第一通信通道为PS域网络通信与第二通信通道为IP网络通信、第一通信通道为PS域网络通信与第二通信通道为短距离无线网络通信;上述不同的组合关系对应不同的预处理规则;上述预处理规则可为判断第一通信通道的数据编码格式是否符合第二通信通道的数据编码格式,若符合,则直接交换上述语音数据,若不符合,则需要对上述语音数据的编码格式进行转换和/或将上述语音数据存放至预设位置,再进行传输。
在一实施例中,通话时,第二终端通过第一通信通道向第一终端发送语音数据,第一终端接收该语音数据,并判断该语音数据的编码格式是否符合第二通信通道的数据编码格式,若不符合,则将该语音数据的编码格式转换为符合第二通信通道的数据编码格式,第一终端再将格式转换后的语音数据通过第二通信通道发送至第三终端;同理,第三终端向第一终端发送语音数据,将该语音数据的编码格式转换为符合第一通信通道的数据编码格式,再发送至第二终端。
本发明通过将第一终端与第二终端的通信连接接续至第三终端,实现在用户不能使用第一终端通话时,可以通过第三终端进行通话,而不需要挂断通话再重新呼叫,使得操作简单,提升用户体验;根据通信通道的通信方式不同,按照对应的预处理规则处理第二终端与第三终端的语音数据,避免语音数据交换时数据出错,进而更好的实现第二终端与第三终端的语音交互。
在本发明一实施例中,上述将第一终端与第二终端的通话连接接续至第三终端的步骤S1之前,包括:
S01,接收所述第二终端发送的来电请求信息;
S02,将所述来电请求信息发送至所述第三终端;
S03,接收所述第三终端返回的接听所述来电请求的指令,以建立所述第一终端与所述第二终端的通信连接。
在上述步骤S01和步骤S02中,上述第一终端作为被叫终端,上述第二终端作为主叫终端;在一实施例中,上述第一终端与第三终端上的APP(应用程序)进行信息绑定,当上述第一终端接收到第二终端的来电请求信息时,将该来电请求信息发送至第三终端,由第三终端上的APP接收该来电请求信息,从而实现来电请求信息的转移。
在上述步骤S03中,上述接听上述来电请求信息的指令由第一终端接收,并由第一终端将该指令反馈至第二终端,进而建立第一终端与第二终端的通话连接;在一实施例中,第三终端发送接听来电请求信息的指令至第一终端,发送的方式可以是第一终端与第三终端通过IP网络通信,也可以是第一终端与第三终端通过短距离无线网络通信;上述第一终端与第二终端的通话连接可以是PS域网络通信,也可以是CS域网络通信;对于用户不在第一终端旁边的情况,通过IP网络将来电请求信息发送至用户的第三终端,避免用户不在第一终端旁边而漏接重要来电,对于第一终端为台式电脑等不方便移动的终端设备,在用户需要上厕所等情况时,通过短距离无线网络将来电请求信息发送至用户的第三终端,使得用户依旧能及时接听来电。
在本发明一实施例中,上述将所述来电请求信息发送至所述第三终端的步骤S02之前,还包括:
S021,判断所述来电请求信息对应的来电号码是否为预设号码;
S022,若不是预设号码,则所述将所述来电请求信息发送至所述第三终端。
在上述步骤S021和步骤S022中,上述预设号码包括黑名单号码和骚扰号码,上述黑名单号码为用户自行设定的号码,上述骚扰号码为终端智能识别号码来源等信息判定为骚扰来电的号码;当来电请求信息对应的来电号码是预设号码,则自动拒接该来电请求信息,当来电请求信息对应的来电号码不是预设号码,则进入将该来电请求信息发送至第三终端的步骤,由用户决定是否接听该来电请求并通过第三终端发出相应的接听或拒接的指令;在用户决定是否接听来电请求前,先判断来电号码是否为预设号码,从而减少被恶意来电骚扰的情况,提升用户体验。
在本发明一实施例中,上述接收所述第二终端发送的来电请求信息的步骤S01之后,还包括:
S023,判断所述第一终端与第三终端是否均位于短距离无线网络的覆盖范围内;
S024,若不在短距离无线网络的覆盖范围内,则生成所述将所述来电请求信息发送至所述第三终端的指令。
在上述步骤S023中,上述短距离无线网络包括蓝牙、红外线、超宽带(UWB)等,优选为蓝牙;在一实施例中,第一终端接收来电请求信息,并判断来电请求信息对应的来电号码是否为预设号码,若不是预设号码,则判断第一终端与第三终端是否均在短距离无线网络的覆盖范围;在另一实施例中,第一终端接收来电请求信息,并判断第一终端与第三终端是否均在短距离无线网络的覆盖范围内。
在上述步骤S024中,第一终端接收到来电请求信息后,当第一终端与第三终端均不在短距离无线网络的覆盖范围内,则第一终端向第三终端发送该来电请求信息;在一实施例中,上述第一终端以智能家居控制中心(设有4G通信单元)为例,当智能家居控制中心接收到第二终端的来电,而用户又不在家(即当前第一终端与第三终端均不在短距离无线网络的覆盖范围),则通过IP网络向第三终端发送来电请求信息的指令;在另一实施例中,上述第一终端以用户办公室内的座机(多功能电话机)为例,当用户下班离开办公室后,座机接收到来电,判断到用户的第三终端不在短距离无线网络的覆盖范围内时,则通过IP网络向第三终端发送来电请求信息的指令,进而用户在下班后也能接听来电,避免漏接重要来电;将在用户无法使用第一终端接听来电的情况下,依旧可以接听该来电,避免漏接重要来电,提升用户体验。
在本发明一实施例中,上述判断所述第一终端与第三终端是否均位于短距离无线网络的覆盖范围内的步骤S023之后,还包括:
S025,若在短距离无线网络的覆盖范围内,则建立所述第一终端与第二终端的通话连接,并所述将第一终端与第二终端的通信接续至第三终端,其中,所述第二通信通道的通信方式为短距离无线网络的通信方式。
在上述步骤S025中,上述第一终端接收到来电请求后,当第一终端与第三终端均在短距离无线网络的覆盖范围内,则自动通过短距离无线网络建立第一终端与第二终端的通信连接,并将该通信连接接续至第三终端,其中,第一终端与第三终端的第二通信通道的通信方式为短距离无线网络通信;在一实施例中,上述第一终端以台式电脑(设有4G通信单元)为例,一般情况下,用户将台式电脑放在书房,当台式电脑接收到来电请求时,此时用户不在书房而在客厅,那么用户无法通过台式电脑接听该来电,但此时用户在家中(一般在家中的任一位置都在短距离无线网络的覆盖范围内),所以通过短距离无线网络(如蓝牙)建立台式电脑与在用户身边的第三终端(如用户的手机)的通信连接。
在本发明一实施例中,上述基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据的步骤S2,包括:
S21a,接收所述第二终端发送的语音数据;
S22a,将所述第二终端对应的语音数据的编码格式转换为第一编码格式,得到第一语音数据;所述第一编码格式为所述IP网络通信对应的数据编码格式;
S23a,将所述第一语音数据发送至所述第三终端。
上述第一通信通道的通信方式为电路域网络通信,上述第二通信通道的通信方式为IP网络通信上述电路域网络为电路交换域(CS域);上述IP网络为遵循网际协议的网络;在一实施例中,第二终端为座机或处于2G/3G网络状态下的手机时,第一终端与第二终端通过CS域进行通话;在另一实施例中,第二终端为未开通VOLTE(Voice over Long-Term Evolution,长期演进语音承载)业务的4G网络的手机,则第一终端与第二终端通过CS域中的CSFB(Circuit Switched Fallback,电路域回落)技术进行通话。
在上述步骤S21a、步骤S22a和步骤S23a中,第一终端接收到第二终端的语音数据为电路域传输的数据,则该语音数据的编码格式为电路域对应数据传输的编码格式,而第一终端将该语音数据传输至第三终端采用的IP网络通信,IP网络对应数据传输的编码格式与电路域不同,所以需要将该语音数据的编码格式转换为符合IP网络对应的编码格式;在一实施例中,第一终端接收第一终端用户的语音,将该语音进行语音编码、信道编码、交织、突发脉冲的产生、加密、调制为语音数据后,通过电路域网络接收第二终端发送的语音数据(如AMR(Adaptive Multi-Rate)编码的语音数据),将该AMR编码的语音数据转换为PCM(Pulse Code Modulation)编码的语音数据(该过程包括对AMR编码的语音数据进行解调、解密、突发脉冲的转换、解交织、信道解码、语音解码为语音,再对该语音进行语音编码、信道编码、交织、突发脉冲的产生、加密、调制为PCM编码的语音数据),再将该PCM编码的语音数据发送至第三终端,第三终端通过对该PCM编码的语音数据进行解调、解密、突发脉冲的转换、解交织、信道解码、语音解码为语音。
在本发明一实施例中,上述基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据的步骤S2,包括:
S21b,接收所述第三终端发送的语音数据;
S22b,将所述第三终端对应的语音数据的编码格式转换为第二编码格式,得到第二语音数据;所述第二编码格式为所述电路域网络通信对应的数据编码格式;
S23b,将所述第二语音数据发送至所述第二终端。
上述第一通信通道的通信方式为电路域网络通信,上述第二通信通道的通信方式为IP网络通信上述电路域网络为电路交换域(CS域)。
在上述步骤S21b、步骤S22b和步骤S23b中,第一终端接收到第三终端的语音数据为IP网络传输的,则该语音数据的编码格式为IP网络对应数据传输的编码格式,而第一终端将该语音数据传输至第二终端采用的电路域网络通信,电路域网络对应数据传输的编码格式与IP网络不同,所以需要将该语音数据的编码格式转换为符合电路域网络对应的编码格式;该实施例的具体过程与上述步骤S21a、步骤S22a和步骤S23a相反,在此不再赘述;通过对语音数据的编码格式进行转换,实现通话过程中语音数据的交换,进而实现第二终端用户与第三终端用户进行语音交互。
在本发明一实施例中,上所述将所述第二终端对应的语音数据的编码格式转换为第一编码格式,得到第一语音数据步骤S22a,包括:
S221a,将所述语音数据存入预设的第一接收语音缓冲区;
S222a,将所述语音数据的编码格式转换为所述第一编码格式,得到第一语音数据。
在上述步骤S221a中,上述语音数据的编码格式需要转换,为了避免语音数据的丢失,设置用于存放语音数据的缓存区;上述第一接收语音缓冲区为第二终端的语音数据的存放区;在一实施例中,第一终端设有数据先进先出的FIFO(First Input First Output)存储器,并在FIFO设有第二终端的第一接收语音缓冲区、第一语音编码转换区、第一发送语音缓冲区,以及第三终端的第二接收语音缓冲区、第二语音编码转换区、第二发送语音缓冲区。
在上述步骤S222a中,上述第二终端将第二终端用户的语音进行语音编码、信道编码、交织、突发脉冲的产生、加密、调制为语音数据后,将该语音数据发送至第一终端,第一终端将该语音数据存放于上述第一接收语音缓冲区,根据第二终端与第一终端的交互信令,判断第二终端的语音数据的编码格式,当第二终端为CS域通话时,将第一接收语音缓冲区中的语音数据转换为第一编码格式(即IP网络对应的数据编码格式(如将AMR格式转换为PCM格式)),得到第一语音数据,将该第一语音数据存放于第一语音编码转换区,再将第一语音编码转换区中的第一语音数据传输至第二发送语音缓冲区,通过IP网络将第二发送语音缓冲区中的第一语音数据发送至第三终端,第三终端对第一语音数据进行解调、解密、突发脉冲的转换、解交织、信道解码、语音解码为语音。通过FIFO设置缓冲区保证语音数据不会丢失,对语音数据进行编码转换,实现不同网络间的语音数据的交换,以及利用FIFO先进先出的特性使得不会出现语音数据多次编码转换的情况,也使得第三终端得到的语音数据是连贯的。
在本发明一实施例中,上述将所述第三终端对应的语音数据的编码格式转换为第二编码格式,得到第二语音数据的步骤S22b,包括:
S221b,将所述语音数据存入预设的第二接收语音缓冲区;
S222b,将所述语音数据的编码格式转换为所述第二编码格式,得到第二语音数据。
在上述步骤S221b和S222b中,上述第二接收语音缓冲区为第三终端的语音数据的存放区;在一实施例中,上述第三终端将第三终端用户的语音进行语音编码、信道编码、交织、突发脉冲的产生、加密、调制为语音数据后,将该语音数据发送至第一终端,第一终端将该语音数据存放于上述第二接收语音缓冲区,根据第二终端与第一终端的交互信令,判断第二终端的语音数据的编码格式,当第二终端为CS域通话时,将第二接收语音缓冲区中的语音数据转换为第二编码格式(即电路域网络对应的数据编码格式(如将PCM格式转换为AMR格式)),得到第二语音数据,将该第二语音数据存放于第二语音编码转换区,再将第二语音编码转换区中的第二语音数据传输至第一发送语音缓冲区,通过电路域网络将第一发送语音缓冲区中的第二语音数据发送至第二终端,第二终端对第二语音数据进行解调、解密、突发脉冲的转换、解交织、信道解码、语音解码为语音。通过FIFO设置缓冲区保证语音数据不会丢失,对语音数据进行编码转换,实现不同网络间的语音数据的交换,以及利用FIFO先进先出的特性使得不会出现语音数据多次编码转换的情况,也使得第二终端得到的语音数据是连贯的。
在本发明一实施例中,上述第一通信通道的通信方式为分组域网络通信,所述第二通信通道的通信方式为IP网络通信;上述基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据的步骤S2,包括:
S21c,接收所述第二终端发送的语音数据;
S22c,将所述第二终端的语言数据发送至所述第三终端;
和/或,
S21d,接收所述第三终端发送的语音数据;
S22d,将所述第三终端的语言数据发送至所述第二终端。
上述分组域网络为分组交换域(PS域),上述IP网络为遵循网际协议的网络;在一实施例中,第二终端为开通VOLTE业务的4G网络(PS域网络)的终端,第二终端的全部业务都承载于4G网络下,可实现数据与语音业务在同一网络下运行,上述开通VOLTE业务的4G网络为一种IP数据传输技术,则第一终端、第二终端、第三终端均采用IP网络传输数据,因此语音数据具有相同的编码格式,进而不需要进行编码转换。
在上述步骤S21c和步骤S22c中,第一终端设有数据先进先出的FIFO(First Input First Output)存储器,并在FIFO设有第二终端的第一接收语音缓冲区、第一语音编码转换区、第一发送语音缓冲区,以及第三终端的第二接收语音缓冲区、第二语音编码转换区、第二发送语音缓冲区。在一实施例中,上述第二终端将第二终端用户的语音进行语音编码、信道编码、交织、突发脉冲的产生、加密、调制为PCM编码的语音数据后,通过IP网络将该语音数据发送至第一终端,第一终端将该语音数据存放于上述第一接收语音缓冲区,再将第一接收语音缓冲区中的语音数据传输至第二发送语音缓冲区,通过IP网络将第二发送语音缓冲区的语音数据发送至第三终端,第三终端将该语音数据进行解调、解密、突发脉冲的转换、解交织、信道解码、语音解码为语音。通过FIFO设置缓冲区保证语音数据不会丢失,以及利用FIFO先进先出的特性使得不会出现语音数据多次编码转换的情况,也使得第三终端得到的语音数据是连贯的。
在上述上述步骤S21d和步骤S22d中,第一终端设有数据先进先出的FIFO(First Input First Output)存储器,并在FIFO设有第二终端的第一接收语音缓冲区、第一语音编码转换区、第一发送语音缓冲区,以及第三终端的第二接收语音缓冲区、第二语音编码转换区、第二发送语音缓冲区。在一实施例中,上述第三终端将第三终端用户的语音进行语音编码、信道编码、交织、突发脉冲的产生、加密、调制为PCM编码的语音数据后,通过IP网络将该语音数据发送至第一终端,第一终端将该语音数据存放于上述第二接收语音缓冲区,再将第二接收语音缓冲区中的语音数据传输至第一发送语音缓冲区,通过IP网络将第一发送语音缓冲区的语音数据发送至第二终端,第二终端将该语音数据进行解调、解密、突发脉冲的转换、解交织、信道解码、语音解码为语音。通过FIFO设置缓冲区保证语音数据不会丢失,以及利用FIFO先进先出的特性使得不会出现语音数据多次编码转换的情况,也使得第二终端得到的语音数据是连贯的。
参照图2,本发明一实施例中通话控制装置,包括:
接续模块1,用于将第一终端与第二终端的通信接续至第三终端,建立所述第二终端与所述第三终端的通信通道;其中,所述第二终端与所述第一终端的通信通道为第一通信通道,所述第三终端与第一终端的通信通道为第二通信通道;
处理模块2,用于基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据。
本发明接续模块1通过将第一终端与第二终端的通信连接接续至第三终端,实现在用户不能使用第一终端通话时,可以通过第三终端进行通话,而不需要挂断通话再重新呼叫,使得操作简单,提升用户体验;处理模块2根据通信通道的通信方式不同,按照对应的预设处理方式处理第二终端与第三终端的语音数据,避免语音数据交换时数据出错,进而更好的实现第二终端与第三终端的语音交互。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述装置,还包括:
接收模块,用于接收所述第二终端发送的来电请求信息;
发送模块,用于将所述来电请求信息发送至所述第三终端;
第一建立模块,用于接收所述第三终端返回的接听所述来电请求的指令,以建立所述第一终端与所述第二终端的通信连接。
在上述装置中,上述接收模块接收第二终端发送的来电请求信息,再由发送模块将该来电请求信息发送至第三终端,当第三终端用户选择接听该来电请求信息时,第一建立模块接收第三终端发送的接听该来电请求信息的指令,并建立第一终端与第二终端的通信连接,由处理模块2按照通信方式对应的预处理规则处理语音数据,实现第二终端与第三终端的语音交互。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述装置,还包括:
第一判断模块,用于判断所述来电请求信息对应的来电号码是否为预设号码;
第一进入模块,用于若不是预设号码,则将所述来电请求信息发送至所述第三终端。
在上述装置中,上述接收模块接收第二终端发送的来电请求后,第一判断模块判断该来电请求信息对应的来电号码是否为预设号码,若不是预设号码,则第一进入模块进入将所述来电请求信息发送至所述第三终端的步骤。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述装置,还包括:
第二判断模块,用于判断所述第一终端与第三终端是否均位于短距离无线网络的覆盖范围内;
生成模块,用于若不在短距离无线网络的连接范围内,则生成所述将所述来电请求信息发送至所述第三终端的指令。
在上述装置中,在一实施例中,上述接收模块接收第二终端发送的来电请求信息后,第二判断模块判断第一终端与第三终端是否均位于短距离无线网络的覆盖范围内,若不在短距离无线网络的覆盖范围内,则生成模块生成将来电请求信息发送至所述第三终端的指令;在另一实施例中,上述接收模块接收第二终端发送的来电请求信息后,第一判断模块判断该来电请求信息对应的来电号码是否为预设号码,若不是预设号码,第二判断模块判断判断所述第一终端与第三终端是否均位于短距离无线网络的覆盖范围内,若不在短距离无线网络的覆盖范围内,则生成模块生成将来电请求信息发送至所述第三终端的指令。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述装置,还包括:
第二建立模块,用于若在所述短距离无线网络的覆盖范围内,则建立所述第一终端与所述第二终端的通话连接,并将第一终端与第二终端的通信接续至第三终端,其中,所述第二通信通道的通信方式为短距离无线网络的通信方式。
在上述装置中,上述第二判断模块判断所述第一终端与第三终端是否均位于短距离无线网络的覆盖范围内,若在短距离无线网络的覆盖范围内,则第二建立模块建立所述第一终端与第二终端的通信连接,并进入所述将第一终端与第二终端的通信连接接续至第三终端的步骤。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述处理模块2,包括:
第一接收单元,用于接收所述第二终端发送的语音数据;
第一转换单元,用于将所述第二终端对应的语音数据的编码格式转换为第一编码格式,得到第一语音数据;所述第一编码格式为所述第二通信通道对应的数据编码格式;
第一发送单元,用于将所述第一语音数据发送至所述第三终端。
在上述装置中,上述接续模块1将第一终端与第二终端的通信连接接续至第三终端后,第一接收单元接收第二终端发送的语音数据,并由第一转换单元将该语音数据的编码格式转换为第一编码格式,再由第一发送单元将编码转换后的第一语音数据发送至第三终端。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述处理模块2,包括:
第二接收单元,用于接收所述第三终端发送的语音数据;
第二转换单元,用于将所述第三终端对应的语音数据的编码格式转换为第二编码格式,得到第二语音数据;所述第二编码格式为所述第一通信通道对应的数据编码格式;
第二发送单元,用于将所述第二语音数据发送至所述第二终端。
在上述装置中,上述接续模块1将第一终端与第二终端的通话连接接续至第三终端后,第二接收单元接收第三终端发送的语音数据,并由第二转换单元将该语音数据的编码格式转换为第二编码格式,再由第二发送单元将编码转换后的第二语音数据发送至第二终端。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述第一转换单元,包括:
第一存入子单元,用于将所述语音数据存入预设的第一接收语音缓冲区;
第一转换子单元,用于将所述语音数据的编码格式转换为所述第一编码格式,得到第一语音数据。
在上述装置中,上述第一接收单元接收第二终端发送的语音数据后,第一存入子单元将该语音数据存入预设的第一接收语音缓冲区,由第一转换子单元将该语音数据的编码格式转换为第一编码格式,再由第一发送单元将编码转换后的第一语音数据发送至第三终端。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述第二转换单元,包括:
第二存入子单元,用于将所述语音数据存入预设的第二接收语音缓冲区;
第二转换子单元,用于将所述语音数据的编码格式转换为所述第二编码格式,得到第二语音数据。
在上述装置中,上述第一接收单元接收第二终端发送的语音数据后,第二存入子单元将该语音数据存入预设的第二接收语音缓冲区,由第二转换子单元将该语音数据的编码格式转换为第二编码格式,再由第二发送单元将编码转换后的第二语音数据发送至第二终端。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
在本发明一实施例中,上述第一通信通道的通信方式为分组域网络通信,所述第二通信通道的通信方式为IP网络通信;上述处理模块2,包括:
第三接收单元,用于接收所述第二终端发送的语音数据;
第三发送单元,用于将所述第二终端的语言数据发送至所述第三终端;
和/或,
第四接收单元,用于接收所述第三终端发送的语音数据;
第四发送单元,用于将所述第三终端的语言数据发送至所述第二终端。
在上述装置中,上述接续模块1将第一终端与第二终端的通话连接接续至第三终端后,第三接收单元接收第二终端发送的语音数据,再由第三发送单元将该语音数据发送至第三终端;同时,在一实施例中,上述接续模块1将第一终端与第二终端的通话连接接续至第三终端后,第四接收单元接收第三终端发送的语音数据,再由第四发送单元将该语音数据发送至第二终端。上述装置中的解释可参照对应方式实施例中的解释,在此不再赘述。
参照图3,本发明一实施例中,计算机设备1001包括存储器1003和处理器1002,所述存储器1003存储有计算机程序,所述处理器1002执行所述计算机程序1004时实现上述通话控制方法的步骤。
本领域技术人员可以理解,本发明所述的计算机设备和上述所涉及用于执行本申请中所述方法中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序或应用程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (19)

  1. 一种通话控制方法,其特征在于,包括:
    将第一终端与第二终端的通信接续至第三终端,建立所述第二终端与所述第三终端的通信通道;其中,所述第二终端与所述第一终端的通信通道为第一通信通道,所述第三终端与所述第一终端的通信通道为第二通信通道;
    基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据。
  2. 根据权利要求1所述的通话控制方法,其特征在于,所述将第一终端与第二终端的通信接续至第三终端的步骤之前,包括:
    接收所述第二终端发送的来电请求信息;
    将所述来电请求信息发送至所述第三终端;
    接收所述第三终端返回的接听所述来电请求的指令,以建立所述第一终端与所述第二终端的通信连接。
  3. 根据权利要求2所述的通话控制方法,其特征在于,所述将所述来电请求信息发送至所述第三终端的步骤之前,还包括:
    判断所述来电请求信息对应的来电号码是否为预设号码;
    若不是所述预设号码,则将所述来电请求信息发送至所述第三终端。
  4. 根据权利要求2所述的通话控制方法,其特征在于,所述接收所述第二终端发送的来电请求信息的步骤之后,还包括:
    判断所述第一终端与所述第三终端是否均位于短距离无线网络的覆盖范围内;
    若不在所述短距离无线网络的覆盖范围内,则生成所述将所述来电请求信息发送至所述第三终端的指令。
  5. 根据权利要求4所述的通话控制方法,其特征在于,所述判断所述第一终端与第三终端是否均位于短距离无线网络的覆盖范围内的步骤之后,还包括:
    若在所述短距离无线网络的覆盖范围内,则建立所述第一终端与所述第二终端的通话连接;并将所述第一终端与所述第二终端的通话连接接续至所述第三终端,其中,所述第二通信通道的通信方式为所述短距离无线网络的通信方式。
  6. 根据权利要求1-4任一项所述的通话控制方法,其特征在于,所述基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据的步骤,包括:
    接收所述第二终端发送的语音数据;
    将所述第二终端对应的语音数据的编码格式转换为第一编码格式,得到第一语音数据;所述第一编码格式为所述第二通信通道对应的数据编码格式;
    将所述第一语音数据发送至所述第三终端。
  7. 根据权利要求1-4任一项所述的通话控制方法,其特征在于,所述基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据的步骤,包括:
    接收所述第三终端发送的语音数据;
    将所述第三终端对应的语音数据的编码格式转换为第二编码格式,得到第二语音数据;所述第二编码格式为所述第一通信通道对应的数据编码格式;
    将所述第二语音数据发送至所述第二终端。
  8. 根据权利要求6所述的通话控制方法,其特征在于,所述将所述第二终端对应的语音数据的编码格式转换为第一编码格式,得到第一语音数据步骤,包括:
    将所述语音数据存入预设的第一接收语音缓冲区;
    将所述语音数据的编码格式转换为所述第一编码格式,得到第一语音数据。
  9. 根据权利要求7所述的通话控制方法,其特征在于,所述将所述第三终端对应的语音数据的编码格式转换为第二编码格式,得到第二语音数据的步骤,包括:
    将所述语音数据存入预设的第二接收语音缓冲区;
    将所述语音数据的编码格式转换为所述第二编码格式,得到第二语音数据。
  10. 一种通话控制装置,其特征在于,包括:
    接续模块,用于将第一终端与第二终端的通信接续至第三终端,建立所述第二终端与所述第三终端的通信通道;其中,所述第二终端与所述第一终端的通信通道为第一通信通道,所述第三终端与所述第一终端的通信通道为第二通信通道;
    处理模块,用于基于所述通信通道的不同通信方式,按照对应的预处理规则处理所述第二终端与所述第三终端语音交互时的语音数据。
  11. 根据权利要求10所述的通话控制装置,其特征在于,所述装置,还包括:
    接收模块,用于接收所述第二终端发送的来电请求信息;
    发送模块,用于将所述来电请求信息发送至所述第三终端;
    第一建立模块,用于接收所述第三终端返回的接听所述来电请求的指令,以建立所述第一终端与所述第二终端的通信连接。
  12. 根据权利要求11所述的通话控制装置,其特征在于,上述装置,还包括:
    第一判断模块,用于判断所述来电请求信息对应的来电号码是否为预设号码;
    第一进入模块,用于若不是预设号码,则将所述来电请求信息发送至所述第三终端。
  13. 根据权利要求11所述的通话控制装置,其特征在于,所述装置,还包括:
    第二判断模块,用于判断所述第一终端与第三终端是否均位于短距离无线网络的覆盖范围内;
    生成模块,用于若不在短距离无线网络的连接范围内,则生成所述将所述来电请求信息发送至所述第三终端的指令。
  14. 根据权利要求13所述的通话控制装置,其特征在于,所述装置,还包括:
    第二建立模块,用于若在所述短距离无线网络的覆盖范围内,则建立所述第一终端与所述第二终端的通话连接,并将第一终端与第二终端的通信接续至第三终端,其中,所述第二通信通道的通信方式为短距离无线网络的通信方式。
  15. 根据权利要求10-13任一项所述的通话控制装置,其特征在于,所述处理模块,包括:
    第一接收单元,用于接收所述第二终端发送的语音数据;
    第一转换单元,用于将所述第二终端对应的语音数据的编码格式转换为第一编码格式,得到第一语音数据;所述第一编码格式为所述第二通信通道对应的数据编码格式;
    第一发送单元,用于将所述第一语音数据发送至所述第三终端。
  16. 根据权利要求10-13任一项所述的通话控制装置,其特征在于,所述处理模块,包括:
    第二接收单元,用于接收所述第三终端发送的语音数据;
    第二转换单元,用于将所述第三终端对应的语音数据的编码格式转换为第二编码格式,得到第二语音数据;所述第二编码格式为所述第一通信通道对应的数据编码格式;
    第二发送单元,用于将所述第二语音数据发送至所述第二终端。
  17. 根据权利要求15所述的通话控制装置,其特征在于,所述第一转换单元,包括:
    第一存入子单元,用于将所述语音数据存入预设的第一接收语音缓冲区;
    第一转换子单元,用于将所述语音数据的编码格式转换为所述第一编码格式,得到第一语音数据。
  18. 根据权利要求16所述的通话控制装置,其特征在于,所述第二转换单元,包括:
    第二存入子单元,用于将所述语音数据存入预设的第二接收语音缓冲区;
    第二转换子单元,用于将所述语音数据的编码格式转换为所述第二编码格式,得到第二语音数据。
  19. 一种计算机设备,其特征在于,其包括处理器、存储器及存储于所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1~9任一项所述的通话控制方法的步骤。
PCT/CN2019/073531 2019-01-10 2019-01-28 通话控制方法、装置及计算机设备 WO2020143086A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910024198.X 2019-01-10
CN201910024198.XA CN109640280B (zh) 2019-01-10 2019-01-10 通话控制方法、装置、计算机设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020143086A1 true WO2020143086A1 (zh) 2020-07-16

Family

ID=66060523

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073531 WO2020143086A1 (zh) 2019-01-10 2019-01-28 通话控制方法、装置及计算机设备

Country Status (2)

Country Link
CN (1) CN109640280B (zh)
WO (1) WO2020143086A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118573A (zh) * 2019-06-21 2020-12-22 普天信息技术有限公司 宽窄带集群异系统间语音加密通讯方法和装置
CN114095607B (zh) * 2020-08-24 2023-05-05 华为技术有限公司 一种通话方法与终端设备、计算机存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131305A (zh) * 2011-02-21 2011-07-20 中兴通讯股份有限公司 一种语音业务的实现方法和系统
CN102833432A (zh) * 2012-08-20 2012-12-19 华为终端有限公司 一种来电转发方法、装置及系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1111949A3 (de) * 1999-12-21 2002-02-13 Siemens Aktiengesellschaft Positionsabhängige Anrufumleitung
CN101022414B (zh) * 2007-03-08 2010-11-03 华为技术有限公司 一种报文转发的方法和装置
US8977269B2 (en) * 2012-11-08 2015-03-10 Apple Inc. Extending use of a cellular communication capabilities in a wireless device to another device
CN103152715A (zh) * 2013-03-16 2013-06-12 唐启鹏 一种在移动终端间对语音通话转发的方法
CN103888614A (zh) * 2014-03-26 2014-06-25 小米科技有限责任公司 呼叫转移的方法及装置
CN105321522A (zh) * 2014-08-06 2016-02-10 航天恒星科技有限公司 一种语音数据处理和传输的方法和装置
CN104776919B (zh) * 2015-04-17 2018-01-26 华中科技大学 基于fpga的红外焦平面阵列条带状非均匀性校正系统和方法
CN106550314B (zh) * 2015-09-19 2021-03-02 深圳市潮流网络技术有限公司 一种基于蓝牙定位技术的呼叫转移方法
CN109151746B (zh) * 2018-10-09 2021-07-13 天地融科技股份有限公司 一种远程接听方法及系统

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131305A (zh) * 2011-02-21 2011-07-20 中兴通讯股份有限公司 一种语音业务的实现方法和系统
CN102833432A (zh) * 2012-08-20 2012-12-19 华为终端有限公司 一种来电转发方法、装置及系统

Also Published As

Publication number Publication date
CN109640280A (zh) 2019-04-16
CN109640280B (zh) 2020-12-22

Similar Documents

Publication Publication Date Title
KR100895010B1 (ko) 통신 세션 참여 및/또는 이전의 단거리 개시를 위한 시스템및 관련 단말과 방법
JP4500803B2 (ja) 無線ワイドエリアネットワークと無線ローカルエリアネットワークとの間をシームレスにローミングするシステム及び方法
KR100390508B1 (ko) 블루투스 단말을 이용한 직접 통화 방법
US20060079261A1 (en) Push-to-talk communication system, mobile communication terminal, and voice transmitting method
CN101480034B (zh) 用于支持语音通信的方法和装置
JPH10224853A (ja) インターネットを利用した通信ネットワーク及びその基地局
WO2014187061A1 (zh) 一种远程会议的实现方法及装置
CN102833432B (zh) 一种来电转发方法、装置及系统
KR20010084869A (ko) 인터넷 전화기
TW200522634A (en) Session initiation protocol (SIP) based user initiated handoff
EP2536117A1 (en) Method and apparatus for establishing circuit switched link of wifi handheld equipment
CN101262529A (zh) 移动终端和电脑之间的语音通信方法和系统
BRPI0707861A2 (pt) dispositivos relacionados a computador e tÉcnicas para facilitaÇço de uma chamada de emergÊncia
WO2020143086A1 (zh) 通话控制方法、装置及计算机设备
KR101567136B1 (ko) 다자간 통화 단말 및 상기 단말에서의 다자간 통화 전환 방법
US8416434B2 (en) Communication terminal apparatus and facsimile communication method
CN108401230A (zh) 互联网和全球移动通信的语音短信交换转发系统及方法
CN100574239C (zh) 基于网络电话技术的固定移动融合系统及方法
JP2007116420A (ja) Ip電話端末
CN112583973B (zh) 一种防止蓝牙耳机和蓝牙终端通话进入窄带的方法
CN112259073B (zh) 语音与文字直联通讯方法、装置、电子设备以及存储介质
WO2012113303A1 (zh) 视频交互方法及系统
TW201618528A (zh) 電話會議系統及方法
TW200910989A (en) Apparatus, system, and method for mobile communication
CN101801028B (zh) 告知业务选项信息、语音传输的方法、装置和系统

Legal Events

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

Ref document number: 19909515

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19909515

Country of ref document: EP

Kind code of ref document: A1