WO2021175254A1 - Call method, system and device - Google Patents

Call method, system and device Download PDF

Info

Publication number
WO2021175254A1
WO2021175254A1 PCT/CN2021/078891 CN2021078891W WO2021175254A1 WO 2021175254 A1 WO2021175254 A1 WO 2021175254A1 CN 2021078891 W CN2021078891 W CN 2021078891W WO 2021175254 A1 WO2021175254 A1 WO 2021175254A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
electronic device
operator
voice
voip
Prior art date
Application number
PCT/CN2021/078891
Other languages
French (fr)
Chinese (zh)
Inventor
梁勇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021175254A1 publication Critical patent/WO2021175254A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to a method, system, and device for calling.
  • the current terminal solution does not take into account the communication scenarios of multiple terminals, in the communication application scenario of multiple terminals, if the user forgets to bring one of the mobile phones, or because the user has too many mobile phones, the user cannot carry too many mobile phones. In the case of a mobile phone, it may cause problems such as missing important calls.
  • the present application provides a call method, system and equipment, which can realize the multi-terminal telephone transfer service without increasing additional charges.
  • an embodiment of the present application provides a call method, the method includes: a first terminal receives an operator voice call initiated by a second terminal, and the call object of the operator voice call is the operator number of the first terminal; In response to the operator voice call received from the second terminal, a terminal can initiate a VOIP voice call to the third terminal based on the network address of the third terminal; then, the first terminal receives the response message sent by the third terminal.
  • the response message indicates that the third terminal is connected to the VOIP voice call; the first terminal, in response to the received response message, connects to the operator voice call initiated by the second terminal; the first terminal converts the operator voice data from the second terminal into VOIP voice data and send the converted VOIP voice data to the third terminal, and the first terminal converts the VOIP voice data from the third terminal into operator voice data, and sends the converted operator voice data to The second terminal.
  • the conversion between the operator's voice call and VOIP voice call of the terminal is realized, so that the user can answer the operator's voice call that has been converted into a VOIP voice call on other terminals, so that the user can answer in real time
  • the call charges are reduced.
  • the first terminal initiates an IP-based voice transmission VOIP voice call to the third terminal based on the network address of the third terminal, which specifically includes: the first terminal responds to the received operator voice call, The first terminal queries the pre-configured network address of the forwarding object, and based on the network address, sends a VOIP voice call to the forwarding object, and the forwarding object is the third terminal.
  • the user can set the transfer target on the first terminal in advance, and the first terminal can transfer the operator's voice call to the transfer target according to the user's setting.
  • the operator's voice data is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • the terminal in this application that is, the first terminal, can internally convert the received voice data of the operator into data conforming to the VOIP transmission network, and/or convert the received VOIP voice data into conforming
  • the operator transmits the data of the network.
  • the method further includes: the first terminal receives a hang-up request message sent by the third terminal; in response to the received hang-up request message sent by the third terminal, the first terminal hangs up the operator voice call.
  • the terminal can hang up the operator's voice call according to the hangup request of the VOIP voice caller to end the two-party call.
  • the method further includes: the first terminal receives a hang-up request message sent by the second terminal; in response to the received hang-up request message sent by the second terminal, the first terminal hangs up the VOIP voice call .
  • the terminal can hang up the VOIP voice call according to the hangup request of the operator's voice caller to end the two-party call.
  • the method further includes: the first terminal disables the voice collection module and the voice output module of the first terminal, and the voice collection module is used to collect voices and voices.
  • the output module is used to output sound.
  • the first terminal will not be affected by the sound collected by the audio module of the first terminal during the conversion process.
  • the first terminal includes a Hi-Fi module and an audio processing module.
  • the first terminal converts operator voice data from the first terminal into VOIP voice data, including: the first terminal uses Hi-Fi
  • the module converts the operator's voice data into pulse code modulated PCM coded data, and transmits the PCM coded data to the audio processing module; the first terminal converts the PCM coded data into VOIP voice data through the audio processing module.
  • an embodiment of the present application provides a call method.
  • the method includes: a first terminal receives operator information, and in response to the operator information, the first terminal initiates a call to the second terminal based on the network address of the second terminal VOIP voice call.
  • the first terminal receives the response message sent by the second terminal; in response to the received response message, the first terminal reads the text information in the operator information, converts the text information into VOIP voice data, and sends the VOIP voice data to The second terminal.
  • the operator information comes from a third terminal, or the operator information comes from a website server.
  • the first terminal initiates a VOIP voice call to the second terminal based on the network address of the second terminal, including: the first terminal queries the network address of the forwarding object configured in advance, and based on the network address, Send a VOIP voice call to the transfer target, and the transfer target is the second terminal.
  • the operator's voice information is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • an embodiment of the present application provides a system for implementing a call between electronic devices.
  • the system includes a first electronic device, a second electronic device, and a third electronic device; wherein, the second electronic device includes a second memory, A second processor and a second computer program, wherein the second computer program is stored in the second memory, the second computer program includes a second instruction, and when the second instruction is executed by the second electronic device, the second electronic device executes The following steps: according to the operator number of the first electronic device, initiate a voice call to the operator of the first electronic device; the first electronic device includes a first memory, a first processor, and a first computer program, wherein the first computer program is Stored in the first memory, the first computer program includes a first instruction, and when the first instruction is executed by the first electronic device, the first electronic device causes the first electronic device to perform the following steps: receiving a voice call from an operator; responding to the received operator Voice call, based on the network address of the third electronic device, initiate an IP-based voice transmission VOIP
  • the third electronic device When the third instruction is executed by the third electronic device, the third electronic device causes the third electronic device to perform the following steps: receiving a VOIP voice call; For the operation of the call, a response message is sent to the first electronic device; when the first instruction is executed by the first electronic device, the first electronic device further executes the following steps: receiving a response message; in response to the received response message, connecting to the operation Business voice call; convert the operator’s voice data from the second electronic device into VOIP voice data, and send the converted VOIP voice data to the third electronic device; and, convert the VOIP voice data from the third electronic device into The operator’s voice data is sent, and the converted operator’s voice data is sent to the second electronic device.
  • the first electronic device when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps: in response to the received operator voice call, query the pre-configured network address of the forwarding object , And based on the network address, send a VOIP voice call to the forwarding object, and the forwarding object is the third terminal.
  • the operator's voice data is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • the third electronic device when the third instruction is executed by the third electronic device, the third electronic device is caused to perform the following steps: send a hang-up request message to the first terminal; when the first instruction is executed by the first electronic device At this time, the first electronic device is caused to perform the following steps: receiving a hang-up request message sent by the third terminal; and in response to the received hang-up request message sent by the third terminal, hang up the operator's voice call.
  • the second electronic device when the second instruction is executed by the second electronic device, the second electronic device is caused to perform the following steps: send a hang-up request message to the first terminal; when the first instruction is executed by the first electronic device At this time, the first electronic device is caused to perform the following steps: receiving a hang-up request message sent by the second terminal; and in response to the received hang-up request message sent by the second terminal, hang up the VOIP voice call.
  • the first electronic device when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps: disable the voice collection module and the voice output module of the first terminal, and the voice collection module is used to collect sound , The voice output module is used to output sound.
  • the first terminal includes a high-fidelity Hi-Fi module and an audio processing module;
  • the Hi-Fi module is used to convert the operator’s voice data into pulse code modulated PCM coded data, and the PCM coded data Transmitted to the audio processing module;
  • the audio processing module is used to convert PCM encoded data into VOIP voice data.
  • an embodiment of the present application provides a call system.
  • the system includes a first electronic device and a second electronic device.
  • the first electronic device includes a first memory, a first processor, and a first computer program.
  • the first computer program is stored in the first memory, and the first computer program includes a first instruction.
  • the first electronic device causes the first electronic device to perform the following steps: receiving operator information, and responding to the The operator information initiates a VOIP voice call to the second electronic device based on the network address of the second electronic device.
  • the second electronic device includes a second memory, a second processor, and a second computer program.
  • the second computer program is stored in the second memory, and the second computer program includes a second instruction.
  • the second electronic device is caused to perform the following steps: receiving the VOIP voice call; in response to the operation of connecting to the VOIP voice call, sending a response message to the first electronic device.
  • the first electronic device is caused to further perform the following steps: receiving a response message sent by the second electronic device; in response to the received response message, reading the text information in the operator information, The text information is converted into VOIP voice data, and the VOIP voice data is sent to the second electronic device.
  • the operator information comes from a third electronic device, or the operator information comes from a website server.
  • the first electronic device when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps: query the pre-configured network address of the forwarding object, and send the forwarding object to the forwarding object based on the network address. Send a VOIP voice call, and the transfer object is the second electronic device.
  • the operator's voice information is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • an embodiment of the present application provides a first electronic device, including a memory and a processor, the memory and the processor are coupled, and the memory stores a program instruction.
  • the electronic device executes the following steps : Receive the operator's voice call of the second electronic device, and the call object of the operator's voice call is the operator number of the first electronic device; in response to the received operator's voice call, based on the network address of the third electronic device, Third, the electronic device initiates an IP-based voice transmission VOIP voice call; receives the response message sent by the third electronic device; responds to the received response message, connects the operator's voice call; converts the operator's voice data from the second electronic device Is VOIP voice data, and sends the converted VOIP voice data to a third electronic device, and converts the VOIP voice data from the third electronic device into operator voice data, and sends the converted operator voice data to The second electronic device.
  • the first electronic device executes the following steps: in response to the received operator voice call, query the pre-configured network address of the forwarding object, and based The network address is used to send a VOIP voice call to the forwarding object, and the forwarding object is the third electronic device.
  • the operator's voice data is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • the first electronic device executes the following steps: receiving a hang-up request message sent by the third electronic device; responding to the received message sent by the third electronic device Hang up the request message, hang up the operator's voice call.
  • the first electronic device executes the following steps: receiving a hang-up request message sent by the second electronic device; responding to the received message sent by the second electronic device Hang up the request message, hang up the VOIP voice call.
  • the first electronic device when the program instruction is executed by the processor, the first electronic device is caused to perform the following steps: disable the voice collection module and voice output module of the first electronic device, and the voice collection module is used to collect sounds, The output module is used to output sound.
  • the first electronic device executes the following steps: convert the operator’s voice data into pulse code modulation PCM encoded data through the Hi-Fi module, and encode the PCM The data is transmitted to the audio processing module; the PCM encoded data is converted into VOIP voice data through the audio processing module.
  • an embodiment of the present application provides a first electronic device, including a memory and a processor, the memory and the processor are coupled, and the memory stores a program instruction.
  • the program instruction is executed by the processor, the first electronic device executes The steps are as follows: receiving operator information, and in response to the operator information, initiate a VOIP voice call to the second electronic device based on the network address of the second electronic device.
  • the operator information comes from a third electronic device, or the operator information comes from a website server.
  • the first electronic device executes the following steps: query the pre-configured network address of the forwarding object, and based on the network address, send VOIP voice to the forwarding object Call, the transfer object is the second electronic device.
  • the operator's voice information is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • an embodiment of the present application provides a terminal, including: a receiving module, a sending module, and a processing module; wherein the receiving module is used to receive an operator's voice call from a second terminal, and the call object of the operator's voice call is The operator number of the terminal; the sending module is used to respond to the received operator voice call, based on the network address of the third terminal, initiate an IP-based voice transmission VOIP voice call to the third terminal; the receiving module is also used to receive The response message sent by the third terminal; the processing module, which is used to connect the operator's voice call in response to the received response message; the processing module, which is also used to convert the operator's voice data from the second terminal into VOIP voice data, The sending module is also used to send the converted VOIP voice data to the third terminal, and the processing module is also used to convert the VOIP voice data from the third terminal into operator voice data, and the sending module is also used to transfer The converted voice data of the operator is sent to the second terminal.
  • the sending module is used to query the pre-configured network address of the forwarding object in response to the received voice call of the operator, and based on the network address, send the VOIP voice call to the forwarding object.
  • the connection object is the third terminal.
  • the operator's voice data is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • the receiving module is also used to receive the hang-up request message sent by the third terminal; the processing module is also used to hang up the operation in response to the received hang-up request message sent by the third terminal.
  • Business voice call is also used to receive the hang-up request message sent by the third terminal; the processing module is also used to hang up the operation in response to the received hang-up request message sent by the third terminal.
  • the receiving module is also used to receive the hang-up request message sent by the second terminal; the processing module is also used to hang up the VOIP in response to the received hang-up request message sent by the second terminal Voice call.
  • the processing module is also used to disable the voice collection module and the voice output module, the voice collection module is used to collect sounds, and the voice output module is used to output sounds.
  • the processing module includes a Hi-Fi unit and an audio processing unit.
  • the Hi-Fi unit is used to convert the operator’s voice data into pulse code modulation PCM coded data, and transmit the PCM coded data to the audio Processing unit; audio processing unit, used to convert PCM encoded data into VOIP voice data.
  • an embodiment of the present application provides a terminal, including a receiving module, a sending module, and a processing module.
  • the receiving module is used to receive operator information; and the sending module is used to respond to the operator information based on the second terminal. To initiate a VOIP voice call to the second electronic device.
  • the receiving module is also used to receive the response message sent by the second electronic device; the processing module is used to read the text information in the operator information in response to the received response message, convert the text information into VOIP voice data, and send the module , Used to send the VOIP voice data to the second electronic device.
  • the operator information comes from a third terminal, or the operator information comes from a website server.
  • the processing module is specifically configured to query the network address of the forwarding object configured in advance, and based on the network address, send a VOIP voice call to the forwarding object, and the forwarding object is the second terminal.
  • the operator's voice information is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • an embodiment of the present application provides a computer-readable medium for storing a computer program, and the computer program includes instructions for executing the first aspect or any possible implementation of the first aspect.
  • an embodiment of the present application provides a computer-readable medium for storing a computer program, and the computer program includes instructions for executing the second aspect or any possible implementation of the second aspect.
  • an embodiment of the present application provides a computer program, and the computer program includes instructions for executing the first aspect or any possible implementation of the first aspect.
  • an embodiment of the present application provides a computer program, the computer program including instructions for executing the second aspect or any possible implementation of the second aspect.
  • an embodiment of the present application provides a chip, which includes a processing circuit and transceiver pins.
  • the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect or any one of the possible implementations of the first aspect to control the receiving pin to receive the signal, and Control the sending pin to send signals.
  • an embodiment of the present application provides a chip, which includes a processing circuit and transceiver pins.
  • the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the second aspect or any one of the possible implementations of the second aspect to control the receiving pin to receive the signal, and Control the sending pin to send signals.
  • Fig. 1 is a schematic diagram showing an exemplary application scenario
  • FIG. 2 is a schematic diagram of a communication system provided by an embodiment of this application.
  • FIG. 3 is a schematic block diagram of a terminal provided by an embodiment of the application.
  • FIG. 4 is one of the schematic flowcharts of the call method provided by the embodiment of the application.
  • FIG. 5 is a schematic diagram of a call shown by way of example
  • FIG. 6 is one of the schematic flowcharts of the call method provided by the embodiment of this application.
  • FIG. 7 is an internal flowchart of a terminal provided by an embodiment of the application.
  • Fig. 8 is an exemplary operation diagram
  • FIG. 9 is a schematic diagram of an exemplary flow of establishing a VOIP voice channel by a terminal
  • FIG. 10 is an exemplary operation diagram
  • FIG. 11 is one of the schematic flowcharts of the call method provided by the embodiment of this application.
  • FIG. 12 is one of the schematic flowcharts of the call method provided by the embodiment of this application.
  • FIG. 13 is one of the schematic structural diagrams of a terminal provided by an embodiment of this application.
  • Fig. 14 is a schematic diagram of voice conversion exemplarily shown
  • FIG. 15 is one of the schematic structural diagrams of a terminal provided by an embodiment of this application.
  • FIG. 16 is one of the schematic structural diagrams of a terminal provided by an embodiment of this application.
  • first and second in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects.
  • first target object and the second target object are used to distinguish different target objects, rather than to describe the specific order of the target objects.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • IP-based voice transmission (Voice over Internet Protocol, VoIP) involved in the embodiments of this application is a voice call technology.
  • Voice calls and multimedia conferences are achieved through Internet Protocol (IP), that is, through the Internet. Communication.
  • IP Internet Protocol
  • Other informal names are IP telephony, Internet telephony, broadband telephony, and broadband telephony services.
  • VoIP technology is a technology that converts voice into IP data packets, partly or completely based on IP network for transmission.
  • words such as “operator voice data” or “operator voice signal” all refer to data (or signals) that support the network format of the operator's transmission network.
  • VOIP voice data or “VOIP voice signal” refers to data (or signal) in a network format that supports a VOIP transmission network.
  • multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
  • FIG. 1 is a schematic diagram of an exemplary application scenario.
  • User A has terminal B and terminal C (for example, both are single-card mobile phones), terminal B is used for communication with customers, and terminal C is used for life communication.
  • terminal B is used for communication with customers
  • terminal C is used for life communication.
  • user A forgets terminal B at home.
  • SIM subscriber identification module
  • a call forwarding service is proposed.
  • User A can set multiple terminals to call forwarding mode, for example, transfer all calls of terminal C to terminal B without carrying multiple terminals.
  • the current call forwarding function will incur communication costs, and as the number of terminals owned by users increases, the higher the cost required for call forwarding, this method is not suitable for multi-device communication scenarios.
  • the SIM card number can also be referred to as an operator number, terminal number, or mobile phone number, etc., and other terminals can initiate operator voice calls to the terminal based on this number.
  • the prior art also proposes a call reminder service.
  • User A can set up a call reminder service on terminal B. All incoming calls on terminal B can be sent to terminal C by means of instant messaging such as SMS reminders. The user can follow the reminder content. Call the user back.
  • instant messaging such as SMS reminders.
  • the reminder method of instant messaging may cause users to fail to receive or see notifications in time, which is also possible Missing important calls.
  • this application provides a communication method that can convert the operator’s voice call and VOIP voice call of the terminal, so that the user can receive the operator’s voice call that has been converted into a VOIP voice call on other terminals. This enables the user to answer the operator's voice call on any terminal owned by the user in real time, and at the same time reduce the call charge.
  • FIG. 2 is a schematic diagram of a communication system provided by an embodiment of this application.
  • the communication system includes terminal A, terminal B, and terminal C, and a cloud network, where the cloud network may be the Internet and is used for data forwarding based on the IP address of the terminal.
  • the number of terminals may be one or more.
  • the number of terminals in the communication system shown in FIG. 2 is only an example of adaptability, which is not limited in this application.
  • the cloud network includes but is not limited to one or more cloud servers and other devices, which is not limited in this application.
  • the terminal in FIG. 2 may be a device that provides voice or data connectivity to users. For example, it may also be called a mobile station, subscriber unit, station, and terminal equipment. TE) etc.
  • the terminal can be a cellular phone, a personal digital assistant (PDA), a smart phone, a notebook computer, a tablet computer (personal computer, PC), a pager, a portable computer, a portable game console, a wearable electronic device, or Other mobile communication devices with components for transmitting voice or data through a wireless communication network.
  • PDA personal digital assistant
  • the terminal can be statically fixed or mobile.
  • Fig. 3 shows a schematic block diagram of a terminal according to an embodiment of the present application.
  • Fig. 3 shows a schematic structural diagram when the terminals (for example, terminal A, terminal B, and terminal C) are mobile phones.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, and an antenna 1. , Antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and SIM card interface 195, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, and an antenna 1.
  • Antenna 2 mobile communication module 150, wireless communication module 160, audio module 170, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and SIM card interface 195, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100.
  • the mobile phone 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor (Modem), a graphics processing unit (GPU), and an image processing unit.
  • AP application processor
  • Modem modem
  • GPU graphics processing unit
  • image processing unit image signal processor, ISP
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • NPU neural-network processing unit
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter/receiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces for connecting the processor 110 with other modules.
  • the charging management module 140 is used to receive charging input from the charger.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communication including 2G, 3G, 4G, 5G, etc., which are applied to the mobile phone 100.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • the wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the mobile phone 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the camera 193 is used to capture still images or videos.
  • the external memory interface 120 may be used to connect an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the module used to encode and decode the voice signal of the operator, and the module used to encode and decode the VOIP voice signal may be provided in the processor 110, and specifically may be provided in the AP In the processor.
  • the sensor module 180 may also include a pressure sensor, a touch sensor, and/or a bone conduction sensor.
  • the touch sensor can be arranged on the display screen 194, and the touch screen is composed of the touch sensor and the display screen 194, which is also called a “touch screen”.
  • the touch sensor can be used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the motor 191 can generate vibration prompts.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195.
  • the mobile phone 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the mobile phone 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the mobile phone 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
  • terminal A is the calling terminal
  • terminal B is the called terminal (also referred to as an intermediate device or a transfer terminal)
  • terminal C is the one used by the user to answer the call.
  • the terminal can be referred to as the answering terminal for short.
  • terminal A is a mobile phone used by other users
  • terminal B is a mobile phone that the user missed at home
  • terminal C is a mobile phone currently carried by the user.
  • terminal B can be understood as the first terminal (or first electronic device) involved in this application
  • terminal A can be understood as the second terminal (or second electronic device) involved in this application
  • terminal C can be It is understood as the third terminal (or third electronic device) involved in this application.
  • FIG. 4 is a schematic flowchart of a call method in an embodiment of the application, and in FIG. 4:
  • Step 101 Terminal B receives the operator's voice call of terminal A, and the calling object of the operator's voice call is the operator number of terminal B.
  • terminal A initiates a voice call to terminal B based on the SIM card number in terminal B.
  • This voice call can be specifically referred to as an operator voice call, which can be understood as an operator’s voice call based on a SIM card number. And the voice call initiated through the operator's network.
  • voice calls can be specifically divided into two categories, one of which is an operator voice call initiated based on the SIM card number, and the other is a VOIP voice call initiated based on VOIP technology.
  • Step 102 In response to the received operator voice call, the terminal B initiates a VOIP voice call to the terminal C based on the network address of the terminal C.
  • terminal B After terminal B receives the operator's voice call from terminal A, it detects whether terminal B has enabled the VOIP call forwarding function. If it is detected that the VOIP call forwarding function has been turned on, the terminal B can initiate a VOIP call to the forwarding object set in the VOIP call forwarding function, that is, the terminal C in this application. Specifically, terminal B may send a VOIP call request message to terminal C after inquiring that the transfer object is terminal C, for establishing a VOIP connection with terminal C.
  • the VOIP call request message may carry the SIM card number of terminal A, which is used to indicate that the current VOIP voice call is based on the operator’s voice call transfer of terminal A (specifically the SIM card number of terminal A). VOIP voice call.
  • Step 103 Terminal B receives the response message sent by terminal C.
  • terminal C may display the VOIP voice call on the display screen of terminal C, and wait for the user's operation instruction.
  • terminal C may return a VOIP voice call response message (also referred to as an answer instruction message) to terminal B to indicate the connection The VOIP voice call.
  • the terminal B receives the response message, the VOIP voice channel between the terminal B and the terminal C has been successfully established, and the terminal B and the terminal C exchange VOIP messages through the VOIP voice channel, that is, a message with a network format that supports the VOIP transmission network.
  • Step 104 In response to the received response message, terminal B connects to the operator's voice call.
  • terminal B can connect to the operator's voice call from terminal A based on the VOIP voice call response message, or it can be understood that terminal A and terminal B have established an operator voice channel, and terminal B can interact with terminal A's operator voice Data (or signal).
  • terminal B serves as a transfer terminal, which can convert the operator voice of terminal A into VOIP voice and send it to terminal C, or convert the VOIP voice of terminal C into operator voice and send it to terminal A, thereby realizing terminal A
  • the call with terminal C is shown in Figure 5. It should be noted that during the transfer process of terminal B, its own audio module is turned off, that is, the microphone of terminal B will not input voice, and the earpiece of terminal B will not output voice.
  • Step 105 Terminal B converts the operator voice data from terminal A into VOIP voice data, and sends the converted VOIP voice data to terminal C, and terminal B converts the VOIP voice data from terminal C into operator voice Data, and send the converted operator’s voice data to terminal A.
  • the terminal B may internally convert the received voice data of the operator to generate VOIP voice data and send it to the terminal C.
  • terminal B can also convert the received VOIP voice data internally to generate operator voice data and send it to terminal A.
  • the specific implementation process of terminal B's voice conversion will be described in detail in the following embodiments.
  • terminal B needs to perform a voice conversion (or transfer) operation. Therefore, terminal B is a terminal with a SIM card function, that is, terminal B includes the SIM shown in FIG. 3
  • the card interface is used to process operator voice calls initiated by other terminals to at least one SIM card number in terminal B.
  • terminal C is only used to connect to VOIP voice calls transferred from terminal B. Therefore, terminal C can have SIM card function (that is, it can handle voice calls from operators) and VOIP (that is, it can handle VOIP voice calls). )
  • Terminals such as mobile phones, can also be terminals with only VOIP functions, such as tablets, smart watches, headsets, large screens, or notebooks.
  • terminal C can also make a call to terminal A through terminal B and talk.
  • terminal C can establish a VOIP voice channel with terminal B, and send a VOIP call request message to terminal B.
  • the VOIP call request message can carry the SIM card number of terminal A to instruct terminal B to initiate operator voice to terminal A
  • terminal B can send an operator voice call request message to terminal A based on the request message of terminal C, and after terminal A is connected, the operator’s voice of terminal A and the VOIP voice of terminal C are also converted to Realize the call between terminal A and terminal C.
  • the user can initiate a VOIP call to another terminal of the user through the tablet, and use the terminal to make an operator voice call to the terminal the user wants to call call.
  • terminal B may also be used to perform VOIP voice signal conversion on the received operator information, such as short messages, so that the user can obtain the operator information received by terminal B through terminal C.
  • terminal B can initiate a VOIP voice call to terminal C.
  • terminal B can read the text information in the operator information, and The text information is converted into voice information, and the voice information is sent to the terminal C through the VOIP voice channel established with the terminal C.
  • the terminal C can play the voice message through the speaker or earphone receiver, so that the user can obtain the text content of the operator information received by the terminal B.
  • This method can be applied to scenarios where a user logs in to a website or APP through a verification code.
  • a user needs to log in to a website, and the user has previously registered on the website using the operator number of terminal B, and the user can open the website on terminal C. Address, fill in the operator number of terminal B, and choose to log in through the verification code.
  • the website After receiving the request message, the website sends a verification code to terminal B.
  • the verification code is sent in the form of operator short messages.
  • terminal B can send the verification code to terminal C by way of VOIP voice, so that even when the user does not carry terminal B with him, he can easily and quickly obtain the operator information sent to terminal B.
  • the first part is the specific process of the call method in the embodiment of the application
  • the second part is the internal process of the terminal B for implementing voice transfer in the embodiment of the application.
  • the call method of this application is specifically divided into two types: the first is that terminal A calls terminal B, and terminal B converts the operator voice of terminal A into VOIP voice to realize terminal A and terminal B For the call between C, see scene one for details.
  • the second type is that the terminal C dials to the terminal B through the VOIP technology to initiate an operator voice call to the terminal A through the terminal B, and realize the call between the terminal C and the terminal A, see scenario 2 for details.
  • FIG. 6 is a schematic flowchart of a call method in an embodiment of the application, and in FIG. 6:
  • Step 201 Terminal A initiates an operator voice call to terminal B.
  • terminal A can make an operator voice call to terminal B based on the SIM card number of terminal B.
  • terminal A may send an operator voice call request message to terminal B.
  • the operator voice call request message sent by terminal A to terminal B actually needs to be processed by equipment such as an operator server .
  • the processing procedure of the intermediate node is not shown in the embodiment of this application, and the processing procedure of the intermediate node can be referred to the existing technology, which will not be repeated in this application.
  • the operator's voice call request message carries the number of terminal A.
  • the number of terminal A may be the SIM card number in terminal A.
  • step 202 the terminal B and the terminal C establish a VOIP voice channel.
  • terminal B receives the operator's voice call request message from terminal A, and obtains the number of terminal A (for example, the SIM card number) carried in the request message.
  • Terminal B can establish a VOIP voice connection with terminal C, or called a VOIP voice channel.
  • terminal B may initiate a VOIP voice call to terminal C through the cloud network to establish a VOIP voice channel between terminal B and terminal C.
  • Figure 7 shows the internal flow chart of terminal B initiating a VOIP voice call.
  • the AP processor of the terminal B may include a call management module.
  • the call management module may be a telephone communication (Telephonycommunication, Telecom) module B and a connection service (Service) module in the Android system. B, and VOIP Service module B, where Telecom module B is used to process all voice calls in the terminal, including answering and hanging up.
  • VOIP Service module B is used to process VOIP voice calls.
  • the connection Service module B which can also be called a transfer service module, a dispatch service module, etc., is used to realize the conversion between the operator's voice call and the VOIP voice call.
  • terminal A initiates an operator voice call to terminal B.
  • terminal A sends an operator voice call request message to terminal B through the server, and Telecom module B obtains the operator voice call from terminal A
  • a notification message can be sent to the connection service module B to indicate that there is currently an operator voice call from the terminal A, or it can be understood as indicating that the terminal A has an incoming call.
  • Connecting Server module B retrieves the local configuration to query whether terminal B has enabled the voice transfer function (refers to the function of the operator's voice call and VOIP voice call transfer in this application). If it is found that the terminal B has enabled the function, then the service module B will be connected to further query the configuration to determine the transfer strategy.
  • the transfer strategy may include a connection strategy and a resonance strategy.
  • the connection strategy is used to indicate whether to reject other incoming calls during the voice conversion process.
  • the resonance strategy is used to indicate the transfer object, and can also be understood as a terminal that resonates with terminal B.
  • the connection service can be based on the resonance strategy to determine the object that needs to be transferred.
  • the transfer object is the terminal C.
  • the connection service module B determines that it needs to reject other calls based on the connection policy, it can send a connection instruction to the Telecom module B. After receiving the instruction, the Telecom module B can set the terminal B to reject other calls based on the instruction.
  • the state of the incoming call (or call) that is, before terminal B cuts off the call between terminal A and terminal C, or can be understood as terminal B in the process of performing voice conversion between terminal A and terminal C, terminal B refuses Take other calls.
  • FIG. 8 is a schematic diagram of the operation of the user setting the voice transfer function of the terminal B.
  • the user can select the object to which the terminal B will transfer the operator's voice call in the prompt box provided by the terminal B.
  • Terminal B stores the identification information of the transfer object (such as terminal C).
  • the identification information may be the IP address information of terminal C, or the hardware address information of terminal C, etc.
  • terminal B may Based on the stored identification information of the terminal C, a VOIP voice call is initiated to the terminal C.
  • the user can select multiple terminals as transfer objects at the same time.
  • the connection servicingse module B determines the object to be transferred, it sends a call request message to the VOIP Service module B.
  • the call request message includes but is not limited to: the SIM card number of terminal A.
  • the VOIP Service module B sends a VOIP voice call request message to the cloud network.
  • the request message includes but is not limited to: the SIM card number of the terminal A and the identification information of the terminal C.
  • the VOIP Service module B may encapsulate the message into a network format that supports the VOIP transmission network, so that the cloud network can parse the message.
  • the cloud network after the cloud network receives a VOIP voice call request message from terminal B (specifically, VOIP Service module B), it can establish a VOIP voice channel between terminal B and terminal C through the VOIP cloud call technology.
  • the cloud network can establish a VOIP voice channel between terminal B and terminal C through network address translation (NAT) technology, which can also be referred to as NAT traversal technology.
  • NAT network address translation
  • the cloud network uses NAT traversal technology to establish a VOIP voice channel between terminal B and terminal C as an example.
  • the cloud network After the cloud network receives the VOIP voice call request message, it queries based on the identification information of terminal C carried in the request message The address information corresponding to the terminal C, and based on the address information, a VOIP voice call request message is sent to the terminal C.
  • the voice call request message includes but is not limited to: the SIM card number of the terminal A.
  • the request message may also carry indication information for indicating that the VOIP voice call is transferred through terminal B.
  • FIG. 9 is a schematic diagram of the process of establishing a VOIP voice channel between the terminal C and the terminal B.
  • the terminal C also includes a VOIP Service module C and a Telecom module C.
  • the terminal C may also include a connection service module C, but since the terminal C does not involve voice transfer operations in this embodiment of the application, the connection service module C of the terminal C is not shown in FIG. 9.
  • the VOIP Service module C in the terminal C receives the VOIP voice call request message from the cloud network, and sends the VOIP voice call request message to the Telecom module C.
  • the Telecom module C can obtain the SIM card number of the terminal A carried in the request message, and display the current VOIP incoming call on the screen of the terminal C, and the calling party is the terminal A.
  • the Telecom module C can also display the current VOIP call on the screen of the terminal C as the operation of the terminal B transferred from the terminal A (135****321) Business voice call, as shown in Figure 10.
  • the user can trigger an answering operation on the screen of terminal C to answer the call from terminal A.
  • the Telecom module C can send an answer instruction message to the VOIP Service module C.
  • the answer instruction message may include but is not limited to: terminal C's identification information (optional), terminal A's SIM card number and terminal B's identification information (such as IP address information), this message is used to instruct terminal C to answer the VOIP call, and it can also be understood as instructing terminal B to connect to terminal A
  • the VOIP Service module C forwards the answer instruction message to the cloud network. After receiving the answer instruction message, the cloud network sends an answer instruction message to terminal B. So far, the VOIP voice channel between terminal B and terminal C has been successfully established, and terminal B and terminal C can exchange VOIP messages based on the channel.
  • Step 203 Terminal B converts the operator's voice call and VOIP voice call.
  • terminal B After terminal B receives the answer instruction message from terminal C, it determines to answer the operator's voice call of terminal A.
  • Terminal B can connect to the operator's voice call of terminal A.
  • terminal B can convert the operator's voice call of terminal A into VOIP voice call and send it to terminal C, and it can also transfer the VOIP voice call of terminal C It is converted into an operator's voice call and sent to terminal A.
  • the conversion of the voice call by the terminal B actually converts the audio signal (or data) during the voice call, and the specific conversion process will be described in detail in the following embodiments.
  • terminal B (specifically VOIP Service module B in terminal B) receives the answer instruction message sent by the cloud network, it may send the answer instruction message to Telecom module B.
  • Telecom module B After the Telecom module B receives the answer instruction message, it can perform a linked answer operation to control the terminal B to connect to the operator's voice call of the terminal A, and the Telecom module B sends an answer instruction message to the terminal A to achieve communication with the terminal A. Voice calls between operators.
  • the Telecom module B sends a linkage answering request message to the connection service module B, which is used to trigger the connection service module B to perform audio processing operations, that is, the process of voice conversion (or call conversion, voice call conversion, etc.), the specific process This will be explained in detail in the second part.
  • the audio module is disabled, that is, the microphone and the receiver of the terminal B are disabled.
  • terminal B hangs up the operator's voice call (or incoming call) of the other terminal.
  • Terminal C (specifically, VOIP Service module C) can send a hang-up request message to the cloud network, and the cloud network sends the hang-up request message to the VOIP Service module B in the terminal B, and the VOIP Service module B forwards it to the Telecom module B.
  • Telecom module B can perform internal hang-up operations, that is, hang up the operator's voice call of terminal A.
  • the Telecom module B can send a Unicom hang-up request message to the connection service module B to instruct the connection service module B to stop the audio processing operation, that is, to stop the voice conversion.
  • the audio module can be enabled, that is, the microphone and earpiece of the terminal B are turned on.
  • terminal B may also hang up the call between terminal C and terminal A.
  • terminal B can hang up the operator's voice call of terminal A, and VOIP Service module B sends a hangup request message to Telecom module B.
  • Telecom module B can perform internal hang-up operations, that is, hang up the operator's voice call of terminal A.
  • the Telecom module B can send a Unicom hang-up request message to the connection service module B to instruct the connection service module B to stop the audio processing operation, that is, to stop the voice conversion.
  • the audio module can be enabled, that is, the microphone and earpiece of the terminal B are turned on.
  • terminal A may also hang up the call between terminal A and terminal C.
  • the terminal B detects (the specific detection process can refer to the existing technology, and will not be described here)
  • the Telecom module B in the terminal B can perform an internal hang-up operation, that is, hang up the operator's voice call of the terminal A.
  • the Telecom module B can send a Unicom hang-up request message to the connection service module B to instruct the connection service module B to stop the audio processing operation, that is, to stop the voice conversion.
  • the Telecom module B sends a hang-up instruction to the VOIP Service module B, and sends it to the VOIP Service module C in the terminal C via the VOIP Service module B and the cloud network, and the VOIP Service module C disconnects the VOIP connection with the terminal B.
  • the VOIP Service module C sends a hang-up instruction to the Telecom module C, and the Telecom module C can display on the terminal C that the call has been hanged up based on the instruction.
  • the audio module can be enabled, that is, the microphone and earpiece of the terminal B are turned on.
  • the scene applied in this application may also be a scene where there are multiple transfer objects.
  • the user can also set terminal D and terminal E as transfer objects.
  • the interaction between terminal B and terminal D and terminal E is the same as that between terminal B and terminal C.
  • the interactions are the same, and will not be repeated in this application.
  • terminal B can only establish a VOIP voice channel with any one of the transfer objects, that is, which terminal first answers the VOIP voice call, then terminal B performs the call transfer between the terminal and terminal A , And disconnect the VOIP channel with other transfer objects.
  • terminal B can also establish a VOIP voice channel with multiple transfer objects at the same time, that is, terminal B can realize the communication between terminal A and multiple transfer objects, such as terminal C, terminal D, and terminal E. call.
  • terminal B1 there may also be multiple intermediate devices.
  • the user owns the terminal B1, the terminal B2, the terminal B3, and the terminal C.
  • the user can set both terminal B1 and terminal B2 as terminal C.
  • terminal B1 and terminal B2 can establish a VOIP channel with terminal C at the same time, and terminal B1 is connected to terminal A1.
  • the operator’s voice call is converted to the VOIP voice call of terminal C, and the terminal B2 converts the operator’s voice call of terminal A2 and the VOIP voice call of terminal C to implement multi-terminal calls, that is, terminal C can make VOIP calls Talk to terminal A1 and terminal A2 at the same time. In another example, the terminal C can choose to talk with only one party (terminal A1 or terminal A2).
  • FIG. 12 is a schematic flowchart of the call method in an embodiment of the application, and in FIG. 12:
  • terminal C initiates a VOIP voice call request message to terminal B.
  • the Telecom module C in the terminal C receives the user instruction triggered by the user and sends a VOIP call request message to the VOIP Service module C.
  • the VOIP Service module C After the VOIP Service module C receives the request message, it sends the VOIP voice call request message to the terminal B.
  • the request message includes but is not limited to: terminal A's SIM card number, terminal B's identification information (such as address information), and terminal C's identification information (such as address information), which are used to instruct terminal B to initiate an operator voice call to terminal A , And convert the voice call between terminal A and terminal C.
  • the VOIP Service module C sends the VOIP voice call request message to the cloud network, so as to forward the VOIP voice call request message to the terminal B through the cloud network.
  • the VOIP Service module B in the terminal B sends a notification message to the connection service module B to indicate that there is currently a VOIP voice call from the terminal C, and the object of the voice call is the terminal A .
  • Connect to Service module B to query the configuration and determine that terminal B has enabled the voice transfer function.
  • the connection Service module B sends an operator's voice call request message to the Telecom module B to instruct the terminal A to initiate an operator's voice call.
  • the Telecom module sends an operator's voice call request message to terminal A to request the message to conduct an operator's voice call with terminal A.
  • the incoming call number displayed on terminal A is the SIM card number of terminal B.
  • terminal A After terminal A confirms to answer the operator's voice call initiated by terminal B, it sends an answer instruction message to terminal B.
  • terminal B (specifically the Telecom module B in terminal B) receives the answer instruction message
  • Telecom module B Perform a linkage answering operation, and send a linkage answering request message to the connection service module B.
  • the connection service module B receives the linkage answering request message and executes audio processing operations.
  • the Telecom module B sends the answer instruction message to the terminal C through the VOIP Service module B and the cloud network to indicate that the call between the terminal C and the terminal A has been connected.
  • the VOIP Service module C in the terminal C sends the answer instruction message to the Telecom module C.
  • the Telecom module C may display the answer instruction message on the terminal screen after receiving the answer instruction message
  • the VOIP voice call is connected to notify the user that the call is connected.
  • the call between the terminal A and the terminal C may be hung up by the terminal C, the terminal B and/or the terminal A.
  • the terminal C the terminal C
  • the terminal B the terminal B
  • the terminal A the call between the terminal A and the terminal C
  • FIG 13 is a schematic diagram of a structure of terminal B.
  • the AP processor includes but is not limited to a High-Fidelity (Hi-Fi) module and an audio processing module.
  • Hi-Fi High-Fidelity
  • the Hi-Fi module is used for processing
  • the operator's voice signal is specifically to encode and decode the operator's voice signal.
  • the audio processing module is used to process VOIP voice signals, specifically to encode and decode VOIP voice signals.
  • the audio processing module may be Huawei Media Engine (HME), which is not limited in this application.
  • HME Huawei Media Engine
  • the Hi-Fi module obtains the audio module, such as the analog audio signal collected by the microphone in the audio module, and transfers it to After encoding, the operator's voice signal is generated and sent through the Modem.
  • the Hi-Fi module can also encode the operator's voice signal obtained through the Modem, and then output it to the audio module, so as to output an analog audio signal through a module such as a speaker in the audio module.
  • the audio processing module is similar in function to the Hi-Fi module. It is mainly used to convert the analog audio signal collected by the microphone into a VOIP voice signal for output, and/or, after converting the received VOIP voice signal into an analog audio signal, pass the audio module The output of the speaker and other modules.
  • Fig. 14 is an exemplary schematic diagram of voice conversion.
  • the Hi-Fi module receives the operator’s voice signal, it can re-encode the operator’s voice signal.
  • the re-encoded format can be a PCM bitstream format or other formats.
  • the negotiation format that can be read by the audio processing module is not limited in this application.
  • the Hi-Fi module sends the re-encoded data to the audio processing module.
  • the audio processing module After receiving the data, the audio processing module re-encodes the data into VOIP voice data, and outputs the VOIP voice data, for example, to terminal C The VOIP voice data.
  • the audio processing module can re-encode the VOIP voice signal.
  • the re-encoded format can also be a PCM code stream format, which is not limited in this application.
  • the audio processing module sends the re-encoded data to the Hi-Fi module. After receiving the data, the Hi-Fi module re-encodes the data into operator voice data, and outputs the operator voice data through the Modem, for example , Output to terminal A.
  • the connecting Service module B can also be used to schedule the encoded data of the Hi-Fi module and the audio processing module.
  • the Hi-Fi module re-encodes the operator’s voice data
  • it connects to the Service module B to obtain the re-encoded data, and writes the re-encoded data into the configuration file of the audio processing module (such as buffer) In the file)
  • the audio processing module reads the configuration file, obtains the re-encoded data of the Hi-Fi module, and performs secondary encoding on the data to generate VOIP voice data.
  • the audio processing module after the audio processing module re-encodes the VOIP voice data, it connects to Service module B to obtain the re-encoded data, and writes the re-encoded data into the configuration file of the Hi-Fi module, Hi-Fi module Read the configuration file, obtain the re-encoded data, and perform secondary encoding on the data to generate the operator's voice data.
  • the processor may control the audio module to disable the enabling, for example, Disable the voice collection module in the audio module, such as the microphone, and the software interface of the voice output module, such as the speaker, so as to disable the voice collection module and the voice output module.
  • the terminal includes hardware structures and/or software modules corresponding to each function.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiment of the present application may divide the terminal into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 15 is a schematic structural diagram of the terminal 200.
  • the terminal 200 includes a receiving module 201, a sending module 202, and a processing module 203; wherein, the receiving module 201 is used to receive the operator's voice call from the second terminal , The calling object of the operator’s voice call is the operator number of the terminal; the sending module 202 is used to respond to the received operator’s voice call and initiate an IP-based voice transmission VOIP to the third terminal based on the network address of the third terminal Voice call; the receiving module 201, which is also used to receive a response message sent by the third terminal; the processing module 203, which is used to respond to the received response message and connect the voice call of the operator; the processing module 203, which is also used to send the voice call from the third terminal The operator’s voice data of the second terminal is converted into VOIP voice data, the sending module 202 is also used to send the converted VOIP voice data to the third terminal, and the processing module 203 is also used to transfer the VOIP
  • the sending module 202 is used to query the pre-configured network address of the forwarding object in response to the received voice call of the operator, and send the VOIP voice call to the forwarding object based on the network address,
  • the transfer object is the third terminal.
  • the operator's voice data is data in the format of the operator's transmission network;
  • the VOIP voice data is data in the format of the VOIP transmission network.
  • the receiving module 201 is also used to receive a hang-up request message sent by the third terminal; the processing module 203 is also used to respond to the received hang-up request message sent by the third terminal to hang up. Disconnect the operator’s voice call.
  • the receiving module 201 is also used to receive a hang-up request message sent by the second terminal; the processing module 203 is also used to respond to the received hang-up request message sent by the second terminal to hang up. Disconnect the VOIP voice call.
  • the processing module 203 is also used to disable the voice collection module and the voice output module, the voice collection module is used to collect sounds, and the voice output module is used to output sounds.
  • the processing module 203 includes a Hi-Fi unit 2031 and an audio processing unit 2032.
  • the Hi-Fi unit 2031 is used to convert the operator’s voice data into pulse code modulated PCM coded data and encode the PCM The data is transmitted to the audio processing unit; the audio processing unit 2032 is used to convert PCM encoded data into VOIP voice data.
  • FIG. 16 shows a schematic block diagram of an electronic device 300 according to an embodiment of the present application.
  • the electronic device may include a processor 301 and a transceiver/transceiving pin 302, and optionally, a memory 303.
  • the processor 301 can be used to execute the steps performed by the electronic device in each method of the foregoing embodiments, and control the receiving pin to receive signals, and the sending pin to send signals.
  • bus 304 includes a power bus, a control bus, and a status signal bus in addition to a data bus.
  • various buses are marked as the bus system 304 in the figure.
  • the memory 303 may be used to store instructions in the foregoing method embodiments.
  • the electronic device 300 may correspond to the terminal in each method of the foregoing embodiment, and the above-mentioned and other management operations and/or functions of each element in the electronic device 300 are respectively intended to implement the foregoing various methods. For the sake of brevity, the corresponding steps will not be repeated here.
  • the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program includes at least a piece of code that can be executed by an electronic device to control The electronic device is used to implement the above method embodiments.
  • the embodiments of the present application also provide a computer program, which is used to implement the foregoing method embodiments when the computer program is executed by an electronic device.
  • the program may be stored in whole or in part on a storage medium packaged with the processor, and may also be stored in part or in a memory not packaged with the processor.
  • an embodiment of the present application further provides a processor, which is configured to implement the foregoing method embodiment.
  • the above-mentioned processor may be a chip.
  • an embodiment of the present application also provides a call system.
  • the system includes a first electronic device, a second electronic device, and a third electronic device, which can implement the foregoing method embodiments.
  • the steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read Only Memory, ROM), and erasable programmable read-only memory ( Erasable Programmable ROM (EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM, or any other form of storage medium known in the art.
  • RAM Random Access Memory
  • ROM read-only memory
  • EPROM Erasable Programmable ROM
  • EPROM Electrically Erasable Programmable Read-Only Memory
  • registers hard disk, mobile hard disk, CD-ROM, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in a network device.
  • the processor and the storage medium may also exist as discrete components in the network device.
  • the functions described in the embodiments of the present application may be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium.
  • the computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A call method, system and device. The method comprises: a first terminal receiving an operator voice call of a second terminal, wherein a call object of the operator voice call is an operator number of the first terminal; in response to the received operator voice call, the first terminal initiating a voice over IP (VOIP) voice call to a third terminal on the basis of a network address of the third terminal; the first terminal receiving a response message sent by the third terminal; in response to the received response message, the first terminal connecting the operator voice call; the first terminal converting operator voice data from the second terminal into VOIP voice data, and sending the converted VOIP voice data to the third terminal; and the first terminal converting the VOIP voice data from the third terminal into the operator voice data, and sending the converted operator voice data to the second terminal.

Description

通话方法、***及设备Talking method, system and equipment
本申请要求于2020年3月5日提交中国专利局、申请号为202010148987.7、申请名称为“通话方法、***及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office, the application number is 202010148987.7, and the application name is "Call method, system and equipment" on March 5, 2020, the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及通信领域,尤其涉及一种通话方法、***及设备。The embodiments of the present application relate to the field of communications, and in particular, to a method, system, and device for calling.
背景技术Background technique
在当前的实时通讯网络中,用户普遍拥有多个终端,以应对不同的需求或使用场景。In the current real-time communication network, users generally have multiple terminals to respond to different needs or usage scenarios.
但是,由于目前的终端方案未考虑到多个终端的通讯场景,因此,在多个终端的通讯应用场景中,若用户忘带其中一部手机,或者是由于用户的手机数量过多无法携带多部手机的情况下,将可能会造成漏掉重要电话等问题发生。However, since the current terminal solution does not take into account the communication scenarios of multiple terminals, in the communication application scenario of multiple terminals, if the user forgets to bring one of the mobile phones, or because the user has too many mobile phones, the user cannot carry too many mobile phones. In the case of a mobile phone, it may cause problems such as missing important calls.
发明内容Summary of the invention
本申请提供一种通话方法、***及设备,能够在不增加额外资费的情况下,实现多终端电话转接业务。The present application provides a call method, system and equipment, which can realize the multi-terminal telephone transfer service without increasing additional charges.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above objectives, this application adopts the following technical solutions:
第一方面,本申请实施例提供一种通话方法,该方法包括:第一终端接收第二终端发起的运营商语音呼叫,该运行商语音呼叫的呼叫对象为第一终端的运营商号码;第一终端响应于接收到的来自第二终端的运营商语音呼叫,可基于第三终端的网络地址,向第三终端发起VOIP语音呼叫;接着,第一终端接收第三终端发送的响应消息,该响应消息表示第三终端接通VOIP语音呼叫;第一终端响应于接收到的响应消息,接通第二终端发起的运营商语音呼叫;第一终端将来自第二终端的运营商语音数据转换为VOIP语音数据,并将转换后的VOIP语音数据发送给第三终端,以及,第一终端将来自第三终端的VOIP语音数据转换为运营商语音数据,并将转换后的运营商语音数据发送给第二终端。In a first aspect, an embodiment of the present application provides a call method, the method includes: a first terminal receives an operator voice call initiated by a second terminal, and the call object of the operator voice call is the operator number of the first terminal; In response to the operator voice call received from the second terminal, a terminal can initiate a VOIP voice call to the third terminal based on the network address of the third terminal; then, the first terminal receives the response message sent by the third terminal. The response message indicates that the third terminal is connected to the VOIP voice call; the first terminal, in response to the received response message, connects to the operator voice call initiated by the second terminal; the first terminal converts the operator voice data from the second terminal into VOIP voice data and send the converted VOIP voice data to the third terminal, and the first terminal converts the VOIP voice data from the third terminal into operator voice data, and sends the converted operator voice data to The second terminal.
基于上述方式,实现了对终端的运营商语音通话与VOIP语音通话之间的转换,以使用户可以在其他终端上接听已被转换为VOIP语音通话的运营商语音通话,从而使用户能够实时接听用户所拥有的任一终端上的运营商语音来电的同时,降低通话资费。Based on the above method, the conversion between the operator's voice call and VOIP voice call of the terminal is realized, so that the user can answer the operator's voice call that has been converted into a VOIP voice call on other terminals, so that the user can answer in real time When the operator's voice calls on any terminal owned by the user, the call charges are reduced.
在一种可能的实现方式中,第一终端基于第三终端的网络地址,向第三终端发起基于IP的语音传输VOIP语音呼叫,具体包括:第一终端响应于接收到的运营商语音呼叫,第一终端查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第三终端。In a possible implementation manner, the first terminal initiates an IP-based voice transmission VOIP voice call to the third terminal based on the network address of the third terminal, which specifically includes: the first terminal responds to the received operator voice call, The first terminal queries the pre-configured network address of the forwarding object, and based on the network address, sends a VOIP voice call to the forwarding object, and the forwarding object is the third terminal.
基于上述方式,实现了用户可预先在第一终端上设置转接的对象,第一终端可根据 用户的设置,将运营商语音呼叫转换到转接对象上。Based on the above method, it is realized that the user can set the transfer target on the first terminal in advance, and the first terminal can transfer the operator's voice call to the transfer target according to the user's setting.
在一种可能的实现方式中,其中,运营商语音数据为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice data is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
基于上述方式,实现了本申请中的终端,即第一终端,可在内部将接收到的运营商语音数据转换为符合VOIP传输网络的数据,和/或将接收到的VOIP语音数据转换为符合运营商传输网络的数据。Based on the above method, it is realized that the terminal in this application, that is, the first terminal, can internally convert the received voice data of the operator into data conforming to the VOIP transmission network, and/or convert the received VOIP voice data into conforming The operator transmits the data of the network.
在一种可能的实现方式中,方法还包括:第一终端接收第三终端发送的挂断请求消息;响应于接收到的第三终端发送的挂断请求消息,第一终端挂断运营商语音呼叫。In a possible implementation, the method further includes: the first terminal receives a hang-up request message sent by the third terminal; in response to the received hang-up request message sent by the third terminal, the first terminal hangs up the operator voice call.
基于上述方式,实现了终端可根据VOIP语音通话方的挂断请求,挂断运营商语音呼叫,以结束两方通话。Based on the above method, it is realized that the terminal can hang up the operator's voice call according to the hangup request of the VOIP voice caller to end the two-party call.
在一种可能的实现方式中,方法还包括:第一终端接收第二终端发送的挂断请求消息;响应于接收到的第二终端发送的挂断请求消息,第一终端挂断VOIP语音呼叫。In a possible implementation, the method further includes: the first terminal receives a hang-up request message sent by the second terminal; in response to the received hang-up request message sent by the second terminal, the first terminal hangs up the VOIP voice call .
基于上述方式,实现了终端可根据运营商语音通话方的挂断请求,挂断VOIP语音呼叫,以结束两方通话。Based on the above method, it is realized that the terminal can hang up the VOIP voice call according to the hangup request of the operator's voice caller to end the two-party call.
在一种可能的实现方式中,第一终端向第三终端发起VOIP语音呼叫后,还包括:第一终端禁用第一终端的语音采集模块和语音输出模块,语音采集模块用于采集声音,语音输出模块用于输出声音。In a possible implementation manner, after the first terminal initiates a VOIP voice call to the third terminal, the method further includes: the first terminal disables the voice collection module and the voice output module of the first terminal, and the voice collection module is used to collect voices and voices. The output module is used to output sound.
基于上述方式,实现了第一终端在转换过程中,不会被第一终端的音频模块采集到的声音影响。Based on the above method, it is realized that the first terminal will not be affected by the sound collected by the audio module of the first terminal during the conversion process.
在一种可能的实现方式中,第一终端包括Hi-Fi模块和音频处理模块,第一终端将来自第一终端的运营商语音数据转换为VOIP语音数据,包括:第一终端通过Hi-Fi模块将运营商语音数据转换为脉冲编码调制PCM编码数据,并将PCM编码数据传输至音频处理模块;第一终端通过音频处理模块将PCM编码数据转换为VOIP语音数据。In a possible implementation manner, the first terminal includes a Hi-Fi module and an audio processing module. The first terminal converts operator voice data from the first terminal into VOIP voice data, including: the first terminal uses Hi-Fi The module converts the operator's voice data into pulse code modulated PCM coded data, and transmits the PCM coded data to the audio processing module; the first terminal converts the PCM coded data into VOIP voice data through the audio processing module.
基于上述方式,实现了终端内部数据转换的功能。Based on the above method, the function of data conversion inside the terminal is realized.
第二方面,本申请实施例提供了一种通话方法,该方法包括:第一终端接收运营商信息,响应于该运营商信息,第一终端基于第二终端的网络地址,向第二终端发起VOIP语音呼叫。第一终端接收第二终端发送的响应消息;第一终端响应于接收到的响应消息,读取运营商信息中的文本信息,将文本信息转换为VOIP语音数据,并将该VOIP语音数据发送给第二终端。In a second aspect, an embodiment of the present application provides a call method. The method includes: a first terminal receives operator information, and in response to the operator information, the first terminal initiates a call to the second terminal based on the network address of the second terminal VOIP voice call. The first terminal receives the response message sent by the second terminal; in response to the received response message, the first terminal reads the text information in the operator information, converts the text information into VOIP voice data, and sends the VOIP voice data to The second terminal.
在一种可能的实现方式中,运营商信息来自第三终端,或者,运营商信息来自网站服务器。In a possible implementation manner, the operator information comes from a third terminal, or the operator information comes from a website server.
在一种可能的实现方式中,第一终端基于第二终端的网络地址,向第二终端发起VOIP语音呼叫,包括:第一终端查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第二终端。In a possible implementation manner, the first terminal initiates a VOIP voice call to the second terminal based on the network address of the second terminal, including: the first terminal queries the network address of the forwarding object configured in advance, and based on the network address, Send a VOIP voice call to the transfer target, and the transfer target is the second terminal.
在一种可能的实现方式中,其中,运营商语音信息为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice information is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
第三方面,本申请实施例提供了一种用于实现电子设备间通话的***,***包括第一电子设备、第二电子设备和第三电子设备;其中,第二电子设备包括第二存储器,第二处理器以及第二计算机程序,其中第二计算机程序被存储在第二存储器中,第二计算机程序包括第二指令,当第二指令被第二电子设备执行时,使得第二电子设备执行以下步骤:根据第一电子设备的运营商号码,发起对第一电子设备的运营商语音呼叫;第一电子设备包括第一存储器,第一处理器以及第一计算机程序,其中第一计算机程序被存储在第一存储器中,第一计算机程序包括第一指令,当第一指令被第一电子设备执行时,使得第一电子设备执行以下步骤:接收运营商语音呼叫;响应于接收到的运营商语音呼叫,基于第三电子设备的网络地址,向第三电子设备发起基于IP的语音传输VOIP语音呼叫;第三电子设备包括第三存储器,第三处理器以及第三计算机程序,其中第三计算机程序被存储在第三存储器中,第三计算机程序包括第三指令,当第三指令被第三电子设备执行时,使得第三电子设备执行以下步骤:接收VOIP语音呼叫;响应于接通VOIP语音呼叫的操作,向第一电子设备发送响应消息;当第一指令被第一电子设备执行时,使得第一电子设备还执行以下步骤:接收响应消息;响应于接收到的响应消息,接通运营商语音呼叫;将来自第二电子设备的运营商语音数据转换为VOIP语音数据,并将转换后的VOIP语音数据发送给第三电子设备;以及,将来自第三电子设备的VOIP语音数据转换为运营商语音数据,并将转换后的运营商语音数据发送给第二电子设备。In a third aspect, an embodiment of the present application provides a system for implementing a call between electronic devices. The system includes a first electronic device, a second electronic device, and a third electronic device; wherein, the second electronic device includes a second memory, A second processor and a second computer program, wherein the second computer program is stored in the second memory, the second computer program includes a second instruction, and when the second instruction is executed by the second electronic device, the second electronic device executes The following steps: according to the operator number of the first electronic device, initiate a voice call to the operator of the first electronic device; the first electronic device includes a first memory, a first processor, and a first computer program, wherein the first computer program is Stored in the first memory, the first computer program includes a first instruction, and when the first instruction is executed by the first electronic device, the first electronic device causes the first electronic device to perform the following steps: receiving a voice call from an operator; responding to the received operator Voice call, based on the network address of the third electronic device, initiate an IP-based voice transmission VOIP voice call to the third electronic device; the third electronic device includes a third memory, a third processor, and a third computer program, where the third computer The program is stored in the third memory, and the third computer program includes a third instruction. When the third instruction is executed by the third electronic device, the third electronic device causes the third electronic device to perform the following steps: receiving a VOIP voice call; For the operation of the call, a response message is sent to the first electronic device; when the first instruction is executed by the first electronic device, the first electronic device further executes the following steps: receiving a response message; in response to the received response message, connecting to the operation Business voice call; convert the operator’s voice data from the second electronic device into VOIP voice data, and send the converted VOIP voice data to the third electronic device; and, convert the VOIP voice data from the third electronic device into The operator’s voice data is sent, and the converted operator’s voice data is sent to the second electronic device.
在一种可能的实现方式中,当第一指令被第一电子设备执行时,使得第一电子设备执行以下步骤:响应于接收到的运营商语音呼叫,查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第三终端。In a possible implementation manner, when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps: in response to the received operator voice call, query the pre-configured network address of the forwarding object , And based on the network address, send a VOIP voice call to the forwarding object, and the forwarding object is the third terminal.
在一种可能的实现方式中,其中,运营商语音数据为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice data is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
在一种可能的实现方式中,当第三指令被第三电子设备执行时,使得第三电子设备执行以下步骤:向第一终端发送挂断请求消息;当第一指令被第一电子设备执行时,使得第一电子设备执行以下步骤:接收第三终端发送的挂断请求消息;响应于接收到的第三终端发送的挂断请求消息,挂断运营商语音呼叫。In a possible implementation manner, when the third instruction is executed by the third electronic device, the third electronic device is caused to perform the following steps: send a hang-up request message to the first terminal; when the first instruction is executed by the first electronic device At this time, the first electronic device is caused to perform the following steps: receiving a hang-up request message sent by the third terminal; and in response to the received hang-up request message sent by the third terminal, hang up the operator's voice call.
在一种可能的实现方式中,当第二指令被第二电子设备执行时,使得第二电子设备执行以下步骤:向第一终端发送挂断请求消息;当第一指令被第一电子设备执行时,使得第一电子设备执行以下步骤:接收第二终端发送的挂断请求消息;响应于接收到的第二终端发送的挂断请求消息,挂断VOIP语音呼叫。In a possible implementation manner, when the second instruction is executed by the second electronic device, the second electronic device is caused to perform the following steps: send a hang-up request message to the first terminal; when the first instruction is executed by the first electronic device At this time, the first electronic device is caused to perform the following steps: receiving a hang-up request message sent by the second terminal; and in response to the received hang-up request message sent by the second terminal, hang up the VOIP voice call.
在一种可能的实现方式中,当第一指令被第一电子设备执行时,使得第一电子设备执行以下步骤:禁用第一终端的语音采集模块和语音输出模块,语音采集模块用于采集声音,语音输出模块用于输出声音。In a possible implementation manner, when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps: disable the voice collection module and the voice output module of the first terminal, and the voice collection module is used to collect sound , The voice output module is used to output sound.
在一种可能的实现方式中,第一终端包括高保真Hi-Fi模块和音频处理模块;Hi-Fi模块,用于将运营商语音数据转换为脉冲编码调制PCM编码数据,并将PCM编码数据传输至音频处理模块;音频处理模块,用于将PCM编码数据转换为VOIP语音数据。In a possible implementation, the first terminal includes a high-fidelity Hi-Fi module and an audio processing module; the Hi-Fi module is used to convert the operator’s voice data into pulse code modulated PCM coded data, and the PCM coded data Transmitted to the audio processing module; the audio processing module is used to convert PCM encoded data into VOIP voice data.
第四方面,本申请实施例提供了一种通话***,该***包括第一电子设备和第二电子设备,其中,第一电子设备包括第一存储器,第一处理器以及第一计算机程序,其中第一计算机程序被存储在第一存储器中,第一计算机程序包括第一指令,当第一指令被第一电子设备执行时,使得第一电子设备执行以下步骤:接收运营商信息,响应于该运营商信息,基于第二电子设备的网络地址,向第二电子设备发起VOIP语音呼叫。第二电子设备包括第二存储器,第二处理器以及第二计算机程序,其中第二计算机程序被存储在第二存储器中,第二计算机程序包括第二指令,当第二指令被第二电子设备执行时,使得第二电子设备执行以下步骤:接收VOIP语音呼叫;响应于接通VOIP语音呼叫的操作,向第一电子设备发送响应消息。当第一指令被第一电子设备执行时,使得第一电子设备还执行以下步骤:接收第二电子设备发送的响应消息;响应于接收到的响应消息,读取运营商信息中的文本信息,将文本信息转换为VOIP语音数据,并将该VOIP语音数据发送给第二电子设备。In a fourth aspect, an embodiment of the present application provides a call system. The system includes a first electronic device and a second electronic device. The first electronic device includes a first memory, a first processor, and a first computer program. The first computer program is stored in the first memory, and the first computer program includes a first instruction. When the first instruction is executed by the first electronic device, the first electronic device causes the first electronic device to perform the following steps: receiving operator information, and responding to the The operator information initiates a VOIP voice call to the second electronic device based on the network address of the second electronic device. The second electronic device includes a second memory, a second processor, and a second computer program. The second computer program is stored in the second memory, and the second computer program includes a second instruction. During execution, the second electronic device is caused to perform the following steps: receiving the VOIP voice call; in response to the operation of connecting to the VOIP voice call, sending a response message to the first electronic device. When the first instruction is executed by the first electronic device, the first electronic device is caused to further perform the following steps: receiving a response message sent by the second electronic device; in response to the received response message, reading the text information in the operator information, The text information is converted into VOIP voice data, and the VOIP voice data is sent to the second electronic device.
在一种可能的实现方式中,运营商信息来自第三电子设备,或者,运营商信息来自网站服务器。In a possible implementation manner, the operator information comes from a third electronic device, or the operator information comes from a website server.
在一种可能的实现方式中,当第一指令被第一电子设备执行时,使得第一电子设备执行以下步骤:查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第二电子设备。In a possible implementation manner, when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps: query the pre-configured network address of the forwarding object, and send the forwarding object to the forwarding object based on the network address. Send a VOIP voice call, and the transfer object is the second electronic device.
在一种可能的实现方式中,其中,运营商语音信息为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice information is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
第五方面,本申请实施例提供了一种第一电子设备,包括存储器和处理器,存储器和处理器耦合,存储器存储有程序指令,该程序指令由处理器执行时,使得电子设备执 行如下步骤:接收第二电子设备的运营商语音呼叫,运行商语音呼叫的呼叫对象为第一电子设备的运营商号码;响应于接收到的运营商语音呼叫,基于第三电子设备的网络地址,向第三电子设备发起基于IP的语音传输VOIP语音呼叫;接收第三电子设备发送的响应消息;响应于接收到的响应消息,接通运营商语音呼叫;将来自第二电子设备的运营商语音数据转换为VOIP语音数据,并将转换后的VOIP语音数据发送给第三电子设备,以及,将来自第三电子设备的VOIP语音数据转换为运营商语音数据,并将转换后的运营商语音数据发送给第二电子设备。In a fifth aspect, an embodiment of the present application provides a first electronic device, including a memory and a processor, the memory and the processor are coupled, and the memory stores a program instruction. When the program instruction is executed by the processor, the electronic device executes the following steps : Receive the operator's voice call of the second electronic device, and the call object of the operator's voice call is the operator number of the first electronic device; in response to the received operator's voice call, based on the network address of the third electronic device, Third, the electronic device initiates an IP-based voice transmission VOIP voice call; receives the response message sent by the third electronic device; responds to the received response message, connects the operator's voice call; converts the operator's voice data from the second electronic device Is VOIP voice data, and sends the converted VOIP voice data to a third electronic device, and converts the VOIP voice data from the third electronic device into operator voice data, and sends the converted operator voice data to The second electronic device.
在一种可能的实现方式中,该程序指令由处理器执行时,使得第一电子设备执行如下步骤:响应于接收到的运营商语音呼叫,查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第三电子设备。In a possible implementation manner, when the program instruction is executed by the processor, the first electronic device executes the following steps: in response to the received operator voice call, query the pre-configured network address of the forwarding object, and based The network address is used to send a VOIP voice call to the forwarding object, and the forwarding object is the third electronic device.
在一种可能的实现方式中,其中,运营商语音数据为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice data is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
在一种可能的实现方式中,该程序指令由处理器执行时,使得第一电子设备执行如下步骤:接收第三电子设备发送的挂断请求消息;响应于接收到的第三电子设备发送的挂断请求消息,挂断运营商语音呼叫。In a possible implementation manner, when the program instruction is executed by the processor, the first electronic device executes the following steps: receiving a hang-up request message sent by the third electronic device; responding to the received message sent by the third electronic device Hang up the request message, hang up the operator's voice call.
在一种可能的实现方式中,该程序指令由处理器执行时,使得第一电子设备执行如下步骤:接收第二电子设备发送的挂断请求消息;响应于接收到的第二电子设备发送的挂断请求消息,挂断VOIP语音呼叫。In a possible implementation manner, when the program instruction is executed by the processor, the first electronic device executes the following steps: receiving a hang-up request message sent by the second electronic device; responding to the received message sent by the second electronic device Hang up the request message, hang up the VOIP voice call.
在一种可能的实现方式中,该程序指令由处理器执行时,使得第一电子设备执行如下步骤:禁用第一电子设备的语音采集模块和语音输出模块,语音采集模块用于采集声音,语音输出模块用于输出声音。In a possible implementation manner, when the program instruction is executed by the processor, the first electronic device is caused to perform the following steps: disable the voice collection module and voice output module of the first electronic device, and the voice collection module is used to collect sounds, The output module is used to output sound.
在一种可能的实现方式中,该程序指令由处理器执行时,使得第一电子设备执行如下步骤:通过Hi-Fi模块将运营商语音数据转换为脉冲编码调制PCM编码数据,并将PCM编码数据传输至音频处理模块;通过音频处理模块将PCM编码数据转换为VOIP语音数据。In a possible implementation manner, when the program instructions are executed by the processor, the first electronic device executes the following steps: convert the operator’s voice data into pulse code modulation PCM encoded data through the Hi-Fi module, and encode the PCM The data is transmitted to the audio processing module; the PCM encoded data is converted into VOIP voice data through the audio processing module.
第六方面,本申请实施例提供了一种第一电子设备,包括存储器和处理器,存储器和处理器耦合,存储器存储有程序指令,该程序指令由处理器执行时,使得第一电子设备执行如下步骤:接收运营商信息,响应于该运营商信息,基于第二电子设备的网络地址,向第二电子设备发起VOIP语音呼叫。接收第二电子设备发送的响应消息;响应于接收到的响应消息,读取运营商信息中的文本信息,将文本信息转换为VOIP语音数据,并将该VOIP语音数据发送给第二电子设备。In a sixth aspect, an embodiment of the present application provides a first electronic device, including a memory and a processor, the memory and the processor are coupled, and the memory stores a program instruction. When the program instruction is executed by the processor, the first electronic device executes The steps are as follows: receiving operator information, and in response to the operator information, initiate a VOIP voice call to the second electronic device based on the network address of the second electronic device. Receive a response message sent by the second electronic device; in response to the received response message, read the text information in the operator information, convert the text information into VOIP voice data, and send the VOIP voice data to the second electronic device.
在一种可能的实现方式中,运营商信息来自第三电子设备,或者,运营商信息来自网站服务器。In a possible implementation manner, the operator information comes from a third electronic device, or the operator information comes from a website server.
在一种可能的实现方式中,该程序指令由处理器执行时,使得第一电子设备执行如下步骤:查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第二电子设备。In a possible implementation manner, when the program instructions are executed by the processor, the first electronic device executes the following steps: query the pre-configured network address of the forwarding object, and based on the network address, send VOIP voice to the forwarding object Call, the transfer object is the second electronic device.
在一种可能的实现方式中,其中,运营商语音信息为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice information is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
第七方面,本申请实施例提供了一种终端,包括:接收模块、发送模块、处理模块;其中,接收模块,用于接收第二终端的运营商语音呼叫,运行商语音呼叫的呼叫对象为终端的运营商号码;发送模块,用于响应于接收到的运营商语音呼叫,基于第三终端的网络地址,向第三终端发起基于IP的语音传输VOIP语音呼叫;接收模块,还用于接收第三终端发送的响应消息;处理模块,用于响应于接收到的响应消息,接通运营商语音呼叫;处理模块,还用于将来自第二终端的运营商语音数据转换为VOIP语音数据,发送模块,还用于将转换后的VOIP语音数据发送给第三终端,以及,处理模块,还用于将来自第三终端的VOIP语音数据转换为运营商语音数据,发送模块,还用于将转换后的运营商语音数据发送给第二终端。In a seventh aspect, an embodiment of the present application provides a terminal, including: a receiving module, a sending module, and a processing module; wherein the receiving module is used to receive an operator's voice call from a second terminal, and the call object of the operator's voice call is The operator number of the terminal; the sending module is used to respond to the received operator voice call, based on the network address of the third terminal, initiate an IP-based voice transmission VOIP voice call to the third terminal; the receiving module is also used to receive The response message sent by the third terminal; the processing module, which is used to connect the operator's voice call in response to the received response message; the processing module, which is also used to convert the operator's voice data from the second terminal into VOIP voice data, The sending module is also used to send the converted VOIP voice data to the third terminal, and the processing module is also used to convert the VOIP voice data from the third terminal into operator voice data, and the sending module is also used to transfer The converted voice data of the operator is sent to the second terminal.
在一种可能的实现方式中,发送模块,用于响应于接收到的运营商语音呼叫,查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第三终端。In a possible implementation, the sending module is used to query the pre-configured network address of the forwarding object in response to the received voice call of the operator, and based on the network address, send the VOIP voice call to the forwarding object. The connection object is the third terminal.
在一种可能的实现方式中,其中,运营商语音数据为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice data is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
在一种可能的实现方式中,接收模块,还用于接收第三终端发送的挂断请求消息;处理模块,还用于响应于接收到的第三终端发送的挂断请求消息,挂断运营商语音呼叫。In a possible implementation, the receiving module is also used to receive the hang-up request message sent by the third terminal; the processing module is also used to hang up the operation in response to the received hang-up request message sent by the third terminal. Business voice call.
在一种可能的实现方式中,接收模块,还用于接收第二终端发送的挂断请求消息;处理模块,还用于响应于接收到的第二终端发送的挂断请求消息,挂断VOIP语音呼叫。In a possible implementation, the receiving module is also used to receive the hang-up request message sent by the second terminal; the processing module is also used to hang up the VOIP in response to the received hang-up request message sent by the second terminal Voice call.
在一种可能的实现方式中,处理模块,还用于禁用语音采集模块和语音输出模块,语音采集模块用于采集声音,语音输出模块用于输出声音。In a possible implementation manner, the processing module is also used to disable the voice collection module and the voice output module, the voice collection module is used to collect sounds, and the voice output module is used to output sounds.
在一种可能的实现方式中,处理模块包括Hi-Fi单元和音频处理单元,Hi-Fi单元, 用于将运营商语音数据转换为脉冲编码调制PCM编码数据,并将PCM编码数据传输至音频处理单元;音频处理单元,用于将PCM编码数据转换为VOIP语音数据。In a possible implementation, the processing module includes a Hi-Fi unit and an audio processing unit. The Hi-Fi unit is used to convert the operator’s voice data into pulse code modulation PCM coded data, and transmit the PCM coded data to the audio Processing unit; audio processing unit, used to convert PCM encoded data into VOIP voice data.
第八方面,本申请实施例提供了一种终端,包括接收模块,发送模块和处理模块,接收模块,用于接收运营商信息;发送模块,用于响应于该运营商信息,基于第二终端的网络地址,向第二电子设备发起VOIP语音呼叫。接收模块,还用于接收第二电子设备发送的响应消息;处理模块,用于响应于接收到的响应消息,读取运营商信息中的文本信息,将文本信息转换为VOIP语音数据,发送模块,用于将该VOIP语音数据发送给第二电子设备。In an eighth aspect, an embodiment of the present application provides a terminal, including a receiving module, a sending module, and a processing module. The receiving module is used to receive operator information; and the sending module is used to respond to the operator information based on the second terminal. To initiate a VOIP voice call to the second electronic device. The receiving module is also used to receive the response message sent by the second electronic device; the processing module is used to read the text information in the operator information in response to the received response message, convert the text information into VOIP voice data, and send the module , Used to send the VOIP voice data to the second electronic device.
在一种可能的实现方式中,运营商信息来自第三终端,或者,运营商信息来自网站服务器。In a possible implementation manner, the operator information comes from a third terminal, or the operator information comes from a website server.
在一种可能的实现方式中,处理模块,具体用于查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第二终端。In a possible implementation manner, the processing module is specifically configured to query the network address of the forwarding object configured in advance, and based on the network address, send a VOIP voice call to the forwarding object, and the forwarding object is the second terminal.
在一种可能的实现方式中,其中,运营商语音信息为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice information is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
第九方面,本申请实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a ninth aspect, an embodiment of the present application provides a computer-readable medium for storing a computer program, and the computer program includes instructions for executing the first aspect or any possible implementation of the first aspect.
第十方面,本申请实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的指令。In a tenth aspect, an embodiment of the present application provides a computer-readable medium for storing a computer program, and the computer program includes instructions for executing the second aspect or any possible implementation of the second aspect.
第十一方面,本申请实施例提供了一种计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In an eleventh aspect, an embodiment of the present application provides a computer program, and the computer program includes instructions for executing the first aspect or any possible implementation of the first aspect.
第十二方面,本申请实施例提供了一种计算机程序,该计算机程序包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的指令。In a twelfth aspect, an embodiment of the present application provides a computer program, the computer program including instructions for executing the second aspect or any possible implementation of the second aspect.
第十三方面,本申请实施例提供了一种芯片,该芯片包括处理电路、收发管脚。其中,该收发管脚、和该处理电路通过内部连接通路互相通信,该处理电路执行第一方面或第一方面的任一种可能的实现方式中的方法,以控制接收管脚接收信号,以控制发送管脚发送信号。In a thirteenth aspect, an embodiment of the present application provides a chip, which includes a processing circuit and transceiver pins. Wherein, the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect or any one of the possible implementations of the first aspect to control the receiving pin to receive the signal, and Control the sending pin to send signals.
第十四方面,本申请实施例提供了一种芯片,该芯片包括处理电路、收发管脚。其中,该收发管脚、和该处理电路通过内部连接通路互相通信,该处理电路执行第二方面或第二方面的任一种可能的实现方式中的方法,以控制接收管脚接收信号,以控制发送管脚发送信号。In a fourteenth aspect, an embodiment of the present application provides a chip, which includes a processing circuit and transceiver pins. Wherein, the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the second aspect or any one of the possible implementations of the second aspect to control the receiving pin to receive the signal, and Control the sending pin to send signals.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为示例性示出的一种应用场景示意图;Fig. 1 is a schematic diagram showing an exemplary application scenario;
图2为本申请实施例提供的一种通信***示意图;FIG. 2 is a schematic diagram of a communication system provided by an embodiment of this application;
图3为本申请实施例提供的一种终端的示意性框图;FIG. 3 is a schematic block diagram of a terminal provided by an embodiment of the application;
图4为本申请实施例提供的通话方法的流程示意图之一;FIG. 4 is one of the schematic flowcharts of the call method provided by the embodiment of the application;
图5为示例性示出的一种通话示意图;FIG. 5 is a schematic diagram of a call shown by way of example;
图6为本申请实施例提供的通话方法的流程示意图之一;FIG. 6 is one of the schematic flowcharts of the call method provided by the embodiment of this application;
图7为本申请实施例提供的终端内部流程图;FIG. 7 is an internal flowchart of a terminal provided by an embodiment of the application;
图8为示例性示出的操作示意图;Fig. 8 is an exemplary operation diagram;
图9为示例性示出的终端建立VOIP语音通道的流程示意图;FIG. 9 is a schematic diagram of an exemplary flow of establishing a VOIP voice channel by a terminal;
图10为示例性示出的操作示意图;FIG. 10 is an exemplary operation diagram;
图11为本申请实施例提供的通话方法的流程示意图之一;FIG. 11 is one of the schematic flowcharts of the call method provided by the embodiment of this application;
图12为本申请实施例提供的通话方法的流程示意图之一;FIG. 12 is one of the schematic flowcharts of the call method provided by the embodiment of this application;
图13为本申请实施例提供的一种终端的结构示意图之一;FIG. 13 is one of the schematic structural diagrams of a terminal provided by an embodiment of this application;
图14为示例性示出的语音转换示意图;Fig. 14 is a schematic diagram of voice conversion exemplarily shown;
图15为本申请实施例提供的一种终端的结构示意图之一;FIG. 15 is one of the schematic structural diagrams of a terminal provided by an embodiment of this application;
图16为本申请实施例提供的一种终端的结构示意图之一。FIG. 16 is one of the schematic structural diagrams of a terminal provided by an embodiment of this application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, exist alone B these three situations.
本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first target object and the second target object are used to distinguish different target objects, rather than to describe the specific order of the target objects.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本申请实施例中涉及的基于IP的语音传输(Voice over Internet Protocol,VoIP)是一 种语音通话技术,经由网际协议(Internet Protocol,IP)来达成语音通话与多媒体会议,也就是经由互联网来进行通信。其他非正式的名称有IP电话、互联网电话、宽带电话以及宽带电话服务。VoIP技术是将语音转化为IP数据包,部分或全部基于IP网络进行传输的技术。The IP-based voice transmission (Voice over Internet Protocol, VoIP) involved in the embodiments of this application is a voice call technology. Voice calls and multimedia conferences are achieved through Internet Protocol (IP), that is, through the Internet. Communication. Other informal names are IP telephony, Internet telephony, broadband telephony, and broadband telephony services. VoIP technology is a technology that converts voice into IP data packets, partly or completely based on IP network for transmission.
在本申请实施例中,“运营商语音数据”或者“运营商语音信号”等词均是指支持运营商传输网络的网络格式的数据(或信号)。以及,“VOIP语音数据”或者“VOIP语音信号”均是指支持VOIP传输网络的网络格式的数据(或信号)。In the embodiments of the present application, words such as "operator voice data" or "operator voice signal" all refer to data (or signals) that support the network format of the operator's transmission network. And, "VOIP voice data" or "VOIP voice signal" refers to data (or signal) in a network format that supports a VOIP transmission network.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个***是指两个或两个以上的***。In the description of the embodiments of the present application, unless otherwise specified, the meaning of "plurality" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
示例性的,如图1所示为一种示例性的应用场景示意图,用户A拥有终端B和终端C(例如,均为单卡手机),终端B用于与客户通讯,终端C用于生活通讯。在该场景下,用户A将终端B遗忘家中,当用户A的客户呼叫用户B(指终端B的用户标识模块(subscriber identification module,SIM)***码)时,则用户A将无法接到该客户的电话。Exemplarily, as shown in Figure 1 is a schematic diagram of an exemplary application scenario. User A has terminal B and terminal C (for example, both are single-card mobile phones), terminal B is used for communication with customers, and terminal C is used for life communication. In this scenario, user A forgets terminal B at home. When a customer of user A calls user B (referring to the subscriber identification module (SIM) card number of terminal B), user A will not be able to receive the customer Phone.
已有技术中提出一种呼叫转接业务,用户A可将多部终端设置为呼叫转接模式,例如将终端C的电话均转接到终端B上,而无需携带多部终端。但是,当前的呼叫转接功能会产生通信费用,并且随着用户拥有的终端数量的增加,呼叫转接所需的费用越高,该方法并不适用于多设备通讯场景中。需要说明的是,在本申请中,SIM***码也可以称为运营商号码、终端号码或者手机号码等,其他终端可基于该号码,向终端发起运营商语音呼叫。In the prior art, a call forwarding service is proposed. User A can set multiple terminals to call forwarding mode, for example, transfer all calls of terminal C to terminal B without carrying multiple terminals. However, the current call forwarding function will incur communication costs, and as the number of terminals owned by users increases, the higher the cost required for call forwarding, this method is not suitable for multi-device communication scenarios. It should be noted that, in this application, the SIM card number can also be referred to as an operator number, terminal number, or mobile phone number, etc., and other terminals can initiate operator voice calls to the terminal based on this number.
已有技术中还提出一种呼叫提醒业务,用户A可在终端B上设置呼叫提醒业务,则终端B上的来电均可以短信提醒等即时通讯的方式发送到终端C上,用户可根据提醒内容向来电用户回电。但是,该业务由于用户均会从被叫用户变为主叫用户,仍会产生不必要的通讯费用,其次,即时通讯的提醒方式可能会导致用户无法及时收到或者是看到通知,同样可能漏掉重要电话。The prior art also proposes a call reminder service. User A can set up a call reminder service on terminal B. All incoming calls on terminal B can be sent to terminal C by means of instant messaging such as SMS reminders. The user can follow the reminder content. Call the user back. However, because users of this service will change from called users to calling users, unnecessary communication fees will still be incurred. Secondly, the reminder method of instant messaging may cause users to fail to receive or see notifications in time, which is also possible Missing important calls.
针对上述问题,本申请提供了一种通信方式,可对终端的运营商语音通话与VOIP语音通话进行转换,以使用户可以在其他终端上接听已被转换为VOIP语音通话的运营商语音通话,从而使用户能够实时接听用户所拥有的任一终端上的运营商语音来电的同时,降低通话资费。In response to the above problems, this application provides a communication method that can convert the operator’s voice call and VOIP voice call of the terminal, so that the user can receive the operator’s voice call that has been converted into a VOIP voice call on other terminals. This enables the user to answer the operator's voice call on any terminal owned by the user in real time, and at the same time reduce the call charge.
在如图1所示的应用场景中,当采用本申请提供的通话方法时,当客户呼叫终端A的电话号码时,可以将对于终端A的运营商语音通话转换为终端A和终端B之间的VOIP语音通话,用户可以通过终端B来接听该通话,确保用户可以与客户正常通话。In the application scenario shown in Figure 1, when the call method provided by this application is used, when a customer calls the phone number of terminal A, the operator’s voice call for terminal A can be converted into a call between terminal A and terminal B. For the VOIP voice call, the user can answer the call through terminal B to ensure that the user can talk to the customer normally.
在对本申请实施例的具体技术方案进行说明之前,首先结合附图对本申请实施例的通信***进行说明。参见图2,为本申请实施例提供的一种通信***示意图。该通信***中包括终端A、终端B和终端C以及云网络,其中,云网络可以是因特网,用于基于终端的IP地址进行数据转发。需要说明的是,在实际应用中,终端的数量均可以为一个或多个,图2所示通信***的终端的数量仅为适应性举例,本申请对此不做限定。进一步需要说明的是,云网络中包括但不限于一个或多个云服务器等设备,本申请不做限定。Before describing the specific technical solutions of the embodiments of the present application, first, the communication system of the embodiments of the present application will be described with reference to the accompanying drawings. Refer to FIG. 2, which is a schematic diagram of a communication system provided by an embodiment of this application. The communication system includes terminal A, terminal B, and terminal C, and a cloud network, where the cloud network may be the Internet and is used for data forwarding based on the IP address of the terminal. It should be noted that in actual applications, the number of terminals may be one or more. The number of terminals in the communication system shown in FIG. 2 is only an example of adaptability, which is not limited in this application. It should be further noted that the cloud network includes but is not limited to one or more cloud servers and other devices, which is not limited in this application.
图2中的终端可以是一种向用户提供语音或者数据连通性的设备,例如也可以称为移动台(mobile station),用户单元(subscriber unit),站台(station),终端设备(terminal equipment,TE)等。终端可以为蜂窝电话(cellular phone),个人数字助理(personal digital assistant,PDA),智能手机、笔记本电脑、平板电脑(personal computer,PC)、寻呼机、便携式计算机、便携式游戏机、可穿戴电子设备或其它具有用于通过无线通信网络传送语音或数据的组件的移动通信设备。终端可以是静态固定的,也可以是移动的。The terminal in FIG. 2 may be a device that provides voice or data connectivity to users. For example, it may also be called a mobile station, subscriber unit, station, and terminal equipment. TE) etc. The terminal can be a cellular phone, a personal digital assistant (PDA), a smart phone, a notebook computer, a tablet computer (personal computer, PC), a pager, a portable computer, a portable game console, a wearable electronic device, or Other mobile communication devices with components for transmitting voice or data through a wireless communication network. The terminal can be statically fixed or mobile.
图3示出了本申请实施例的一种终端的示意性框图,其中,图3示出了终端(例如:终端A、终端B和终端C)为手机时的结构示意图。Fig. 3 shows a schematic block diagram of a terminal according to an embodiment of the present application. Fig. 3 shows a schematic structural diagram when the terminals (for example, terminal A, terminal B, and terminal C) are mobile phones.
如图3,手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。3, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, and an antenna 1. , Antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and SIM card interface 195, etc.
可以理解的是,本发明实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器(Modem),图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor (Modem), a graphics processing unit (GPU), and an image processing unit. Signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) )Wait.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器 110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了***的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口,用于连接处理器110与其它模块。In some embodiments, the processor 110 may include one or more interfaces for connecting the processor 110 with other modules.
可以理解的是,图3中示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。It can be understood that the interface connection relationship between the modules illustrated in FIG. 3 is only a schematic description, and does not constitute a structural limitation of the mobile phone 100.
充电管理模块140用于从充电器接收充电输入。电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
手机100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在手机100上的包括2G、3G、4G、5G等无线通信的解决方案。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。The mobile communication module 150 can provide solutions for wireless communication including 2G, 3G, 4G, 5G, etc., which are applied to the mobile phone 100. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
无线通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星***(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,手机100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位***(global positioning system,GPS),全球导航卫星***(global navigation satellite system,GLONASS),北斗卫星导航***(beidou navigation satellite system,BDS),准天顶卫星***(quasi-zenith satellite system,QZSS)和/或星基增强*** (satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The mobile phone 100 implements a display function through a GPU, a display screen 194, and an application processor. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。摄像头193用于捕获静态图像或视频。外部存储器接口120可以用于连接外部存储卡。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The camera 193 is used to capture still images or videos. The external memory interface 120 may be used to connect an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行手机100的各种功能应用以及数据处理。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100. The processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。示例性的,在本申请中,用于对运营商语音信号进行编码和解码的模块,以及,用于对VOIP语音信号进行编码和解码的模块可设置于处理器110中,具体可设置于AP处理器中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110. Exemplarily, in the present application, the module used to encode and decode the voice signal of the operator, and the module used to encode and decode the VOIP voice signal may be provided in the processor 110, and specifically may be provided in the AP In the processor.
传感器模块180还可以包括压力传感器、触摸传感器和/或骨传导传感器。其中,触摸传感器可设置于显示屏194,由触摸传感器与显示屏194组成触摸屏,也称“触控屏”。触摸传感器可用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。The sensor module 180 may also include a pressure sensor, a touch sensor, and/or a bone conduction sensor. Among them, the touch sensor can be arranged on the display screen 194, and the touch screen is composed of the touch sensor and the display screen 194, which is also called a “touch screen”. The touch sensor can be used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194.
按键190包括开机键,音量键等。马达191可以产生振动提示。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The button 190 includes a power-on button, a volume button, and so on. The motor 191 can generate vibration prompts. The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过***SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。手机100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。手机100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机100中,不能和手机100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195. The mobile phone 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The mobile phone 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the mobile phone 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
结合图2所示的通信***,在本申请中,以终端A为呼叫端、终端B为被叫端(也可以称为中间设备或者是转接端)、终端C为用户用于接听呼叫的终端,可简称为接听端。示例性的,在本申请的应用场景中,终端A为其它用户所使用的手机,终端B为用户遗漏在家中的手机,终端C则为用户当前携带的手机。需要说明的是,终端B可以理解为本申请所涉及的第一终端(或第一电子设备),终端A可以理解为本申请所涉及的第二终 端(或第二电子设备),终端C可以理解为本申请所涉及的第三终端(或第三电子设备)。With reference to the communication system shown in Figure 2, in this application, terminal A is the calling terminal, terminal B is the called terminal (also referred to as an intermediate device or a transfer terminal), and terminal C is the one used by the user to answer the call. The terminal can be referred to as the answering terminal for short. Exemplarily, in the application scenario of this application, terminal A is a mobile phone used by other users, terminal B is a mobile phone that the user missed at home, and terminal C is a mobile phone currently carried by the user. It should be noted that terminal B can be understood as the first terminal (or first electronic device) involved in this application, terminal A can be understood as the second terminal (or second electronic device) involved in this application, and terminal C can be It is understood as the third terminal (or third electronic device) involved in this application.
结合图2,如图4所示为本申请实施例中的通话方法的流程示意图,在图4中:In conjunction with FIG. 2, FIG. 4 is a schematic flowchart of a call method in an embodiment of the application, and in FIG. 4:
步骤101,终端B接收终端A的运营商语音呼叫,运行商语音呼叫的呼叫对象为终端B的运营商号码。Step 101: Terminal B receives the operator's voice call of terminal A, and the calling object of the operator's voice call is the operator number of terminal B.
在本申请中,终端A基于终端B中的SIM***码,向终端B发起语音呼叫,该语音呼叫具体可称为运营商语音呼叫,可以理解为运营商语音呼叫均是基于SIM卡的号码,并通过运营商网络发起的语音呼叫。在本申请中,语音呼叫可具体分为两类,其中一种是基于SIM***码发起的运营商语音呼叫,另一种为基于VOIP技术发起的VOIP语音呼叫。In this application, terminal A initiates a voice call to terminal B based on the SIM card number in terminal B. This voice call can be specifically referred to as an operator voice call, which can be understood as an operator’s voice call based on a SIM card number. And the voice call initiated through the operator's network. In this application, voice calls can be specifically divided into two categories, one of which is an operator voice call initiated based on the SIM card number, and the other is a VOIP voice call initiated based on VOIP technology.
步骤102,终端B响应于接收到的运营商语音呼叫,基于终端C的网络地址,向终端C发起VOIP语音呼叫。Step 102: In response to the received operator voice call, the terminal B initiates a VOIP voice call to the terminal C based on the network address of the terminal C.
具体的,终端B接收到来自终端A的运营商语音呼叫后,检测终端B是否已开启VOIP呼叫转接功能。若检测到已开启VOIP呼叫转接功能,则终端B可向VOIP呼叫转接功能中设置的转接对象,即本申请中的终端C发起VOIP呼叫。具体的,终端B可在查询到转接对象为终端C后,向终端C发送VOIP呼叫请求消息,用于与终端C建立VOIP连接。可选地,VOIP呼叫请求消息中可携带有终端A的SIM***码,用于指示当前的VOIP语音呼叫为基于终端A(具体是终端A的SIM***码)的运营商语音呼叫转接后的VOIP语音呼叫。Specifically, after terminal B receives the operator's voice call from terminal A, it detects whether terminal B has enabled the VOIP call forwarding function. If it is detected that the VOIP call forwarding function has been turned on, the terminal B can initiate a VOIP call to the forwarding object set in the VOIP call forwarding function, that is, the terminal C in this application. Specifically, terminal B may send a VOIP call request message to terminal C after inquiring that the transfer object is terminal C, for establishing a VOIP connection with terminal C. Optionally, the VOIP call request message may carry the SIM card number of terminal A, which is used to indicate that the current VOIP voice call is based on the operator’s voice call transfer of terminal A (specifically the SIM card number of terminal A). VOIP voice call.
步骤103,终端B接收终端C发送的响应消息。Step 103: Terminal B receives the response message sent by terminal C.
具体的,终端C在接收到来自终端B的VOIP语音呼叫请求消息后,可在终端C的显示屏上显示该VOIP语音呼叫,并等待用户的操作指令。可选地,终端C在接收到用户触发的指示接通该VOIP语音呼叫的操作指令后,终端C可向终端B返回VOIP语音呼叫响应消息(也可以称为接听指示消息),以指示接通该VOIP语音呼叫。终端B接收到该响应消息之后,则终端B与终端C的VOIP语音通道已成功建立,终端B与终端C通过VOIP语音通道交互VOIP消息,即具有支持VOIP传输网络的网络格式的消息。Specifically, after terminal C receives the VOIP voice call request message from terminal B, it may display the VOIP voice call on the display screen of terminal C, and wait for the user's operation instruction. Optionally, after terminal C receives a user-triggered operation instruction instructing to connect to the VOIP voice call, terminal C may return a VOIP voice call response message (also referred to as an answer instruction message) to terminal B to indicate the connection The VOIP voice call. After the terminal B receives the response message, the VOIP voice channel between the terminal B and the terminal C has been successfully established, and the terminal B and the terminal C exchange VOIP messages through the VOIP voice channel, that is, a message with a network format that supports the VOIP transmission network.
步骤104,终端B响应于接收到的响应消息,接通运营商语音呼叫。Step 104: In response to the received response message, terminal B connects to the operator's voice call.
具体的,终端B可基于VOIP语音呼叫响应消息,接通来自终端A的运营商语音呼叫,也可以理解为终端A与终端B建立了运营商语音通道,终端B可与终端A交互运营商语音数据(或信号)。可选地,终端B作为转接端,可以将终端A的运营商语音转换为VOIP语音发给终端C,也可以将终端C的VOIP语音转换为运营商语音发送给终端A,从而实现终端A与终端C之间的通话,如图5所示。需要说明的是,终端B在转接过程中,其自身的音频模块关闭,也就是说,终端B的麦克风不会输入语音,终端B的听筒也不会输出语音。Specifically, terminal B can connect to the operator's voice call from terminal A based on the VOIP voice call response message, or it can be understood that terminal A and terminal B have established an operator voice channel, and terminal B can interact with terminal A's operator voice Data (or signal). Optionally, terminal B serves as a transfer terminal, which can convert the operator voice of terminal A into VOIP voice and send it to terminal C, or convert the VOIP voice of terminal C into operator voice and send it to terminal A, thereby realizing terminal A The call with terminal C is shown in Figure 5. It should be noted that during the transfer process of terminal B, its own audio module is turned off, that is, the microphone of terminal B will not input voice, and the earpiece of terminal B will not output voice.
步骤105,终端B将来自终端A的运营商语音数据转换为VOIP语音数据,并将转换后的VOIP语音数据发送给终端C,以及,终端B将来自终端C的VOIP语音数据转换为运营商语音数据,并将转换后的运营商语音数据发送给终端A。Step 105: Terminal B converts the operator voice data from terminal A into VOIP voice data, and sends the converted VOIP voice data to terminal C, and terminal B converts the VOIP voice data from terminal C into operator voice Data, and send the converted operator’s voice data to terminal A.
具体的,在本申请的实施例中,终端B可将接收到的运营商语音数据通过内部转换,生成VOIP语音数据并发送给终端C。可选地,终端B还可将接收到的VOIP语音数据通 过内部转换,生成运营商语音数据并发送给终端A。终端B转换语音的具体实现过程将在下面的实施例中进行详细说明。Specifically, in the embodiment of the present application, the terminal B may internally convert the received voice data of the operator to generate VOIP voice data and send it to the terminal C. Optionally, terminal B can also convert the received VOIP voice data internally to generate operator voice data and send it to terminal A. The specific implementation process of terminal B's voice conversion will be described in detail in the following embodiments.
需要说明的是,在本申请中,终端B需要执行语音转换(或转接)操作,因此,终端B为具有SIM卡功能的终端,也就是说,终端B中包括图3中所示的SIM卡接口,以处理其它终端对终端B中的至少一个SIM***码发起的运营商语音呼叫。终端C在本申请中仅用于接通终端B转接来的VOIP语音呼叫,因此,终端C可以为具有SIM卡功能(即能处理运营商语音呼叫)与VOIP功能(即能处理VOIP语音呼叫)的终端,例如手机,也可以为仅具有VOIP功能的终端,例如平板、智能手表、耳机、大屏或笔记本等设备。It should be noted that in this application, terminal B needs to perform a voice conversion (or transfer) operation. Therefore, terminal B is a terminal with a SIM card function, that is, terminal B includes the SIM shown in FIG. 3 The card interface is used to process operator voice calls initiated by other terminals to at least one SIM card number in terminal B. In this application, terminal C is only used to connect to VOIP voice calls transferred from terminal B. Therefore, terminal C can have SIM card function (that is, it can handle voice calls from operators) and VOIP (that is, it can handle VOIP voice calls). ) Terminals, such as mobile phones, can also be terminals with only VOIP functions, such as tablets, smart watches, headsets, large screens, or notebooks.
在一种可能的实现方式中,终端C还可以通过终端B向终端A进行呼叫并通话。具体的,终端C可与终端B建立VOIP语音通道,并向终端B发送VOIP呼叫请求消息,该VOIP呼叫请求消息中可携带终端A的SIM***码,以指示终端B向终端A发起运营商语音呼叫,终端B则可基于终端C的请求消息,向终端A发送运营商语音呼叫请求消息,并在终端A接通后,同样对终端A的运营商语音与终端C的VOIP语音进行转换,以实现终端A与终端C之间的通话。在该场景下,假设用户仅携带平板出门,则在存在无线网络的情况下,用户可通过平板向用户的另一个终端发起VOIP通话,并通过该终端向用户想要呼叫的终端进行运营商语音呼叫。In a possible implementation manner, terminal C can also make a call to terminal A through terminal B and talk. Specifically, terminal C can establish a VOIP voice channel with terminal B, and send a VOIP call request message to terminal B. The VOIP call request message can carry the SIM card number of terminal A to instruct terminal B to initiate operator voice to terminal A To make a call, terminal B can send an operator voice call request message to terminal A based on the request message of terminal C, and after terminal A is connected, the operator’s voice of terminal A and the VOIP voice of terminal C are also converted to Realize the call between terminal A and terminal C. In this scenario, assuming that the user only carries the tablet to go out, if there is a wireless network, the user can initiate a VOIP call to another terminal of the user through the tablet, and use the terminal to make an operator voice call to the terminal the user wants to call call.
在一种可能的实现方式中,终端B还可以用于对接收到的运营商信息,例如短信息执行VOIP语音信号转换,以使用户通过终端C,获取到终端B接收到的运营商信息。具体的,终端B接收到运营商信息后,终端B可向终端C发起VOIP语音呼叫,终端B检测到终端C接通VOIP语音呼叫后,终端B可读取运营商信息中的文本信息,并将文本信息转换为语音信息,并通过与终端C建立的VOIP语音通道,将语音信息发送给终端C。相应的,终端C接收到语音信息后,可通过扬声器或耳机听筒播放语音消息,以使用户获取到终端B接收到的运营商信息的文本内容。该方式可应用到用户通过验证码登录网站或APP的场景,例如,用户需要登录某网站,用户之前在该网站使用终端B的运营商号码进行过注册,用户可以在终端C上打开该网站的地址,填入终端B的运营商号码,选择通过验证码进行登录,网站在接收到请求消息后向终端B发送验证码,可选的,该验证码通过运营商短消息的形式进行发送,终端B在接收该验证码短信后,终端B可将验证码通过VOIP语音的方式发送给终端C,使得即使用户未随身携带终端B时,也可以方便快捷的获取发送到终端B的运营商信息。In a possible implementation manner, terminal B may also be used to perform VOIP voice signal conversion on the received operator information, such as short messages, so that the user can obtain the operator information received by terminal B through terminal C. Specifically, after terminal B receives the operator information, terminal B can initiate a VOIP voice call to terminal C. After terminal B detects that terminal C is connected to the VOIP voice call, terminal B can read the text information in the operator information, and The text information is converted into voice information, and the voice information is sent to the terminal C through the VOIP voice channel established with the terminal C. Correspondingly, after the terminal C receives the voice information, it can play the voice message through the speaker or earphone receiver, so that the user can obtain the text content of the operator information received by the terminal B. This method can be applied to scenarios where a user logs in to a website or APP through a verification code. For example, a user needs to log in to a website, and the user has previously registered on the website using the operator number of terminal B, and the user can open the website on terminal C. Address, fill in the operator number of terminal B, and choose to log in through the verification code. After receiving the request message, the website sends a verification code to terminal B. Optionally, the verification code is sent in the form of operator short messages. After B receives the verification code short message, terminal B can send the verification code to terminal C by way of VOIP voice, so that even when the user does not carry terminal B with him, he can easily and quickly obtain the operator information sent to terminal B.
下面采用几个具体的实施例,对上述方法实施例的技术方案进行详细说明。具体的,在下面实施例中,第一部分为本申请实施例中的通话方法的具体流程,第二部分为本申请实施例中终端B为实现语音转接的内部流程。具体的,在第一部分中,本申请的通话方法中具体分为两种:第一种为终端A呼叫终端B,终端B将终端A的运营商语音转换为VOIP语音,以实现终端A和终端C之间的通话,具体见场景一。第二种为终端C通过VOIP技术拨打到终端B,以通过终端B向终端A发起运营商语音呼叫,并实现终端C与终端A之间的通话,具体见场景二。Several specific embodiments are used below to describe in detail the technical solutions of the foregoing method embodiments. Specifically, in the following embodiments, the first part is the specific process of the call method in the embodiment of the application, and the second part is the internal process of the terminal B for implementing voice transfer in the embodiment of the application. Specifically, in the first part, the call method of this application is specifically divided into two types: the first is that terminal A calls terminal B, and terminal B converts the operator voice of terminal A into VOIP voice to realize terminal A and terminal B For the call between C, see scene one for details. The second type is that the terminal C dials to the terminal B through the VOIP technology to initiate an operator voice call to the terminal A through the terminal B, and realize the call between the terminal C and the terminal A, see scenario 2 for details.
第一部分first part
场景一scene one
结合图2,如图6所示为本申请实施例中的通话方法的流程示意图,在图6中:In conjunction with FIG. 2, FIG. 6 is a schematic flowchart of a call method in an embodiment of the application, and in FIG. 6:
步骤201,终端A向终端B发起运营商语音呼叫。Step 201: Terminal A initiates an operator voice call to terminal B.
具体的,终端A可基于终端B的SIM***对终端B进行运营商语音呼叫。示例性的,终端A可向终端B发送运营商语音呼叫请求消息,需要说明的是,终端A向终端B发送的运营商语音呼叫请求消息,实际上是需要经过运营商服务器等设备进行处理后,才会到达终端B侧,本申请实施例中未示出中间节点的处理过程,中间节点的处理过程可参照已有技术,本申请不再赘述。可选地,运营商语音呼叫请求消息中携带有终端A的号码,示例性的,终端A的号码可以为终端A中的SIM***码。Specifically, terminal A can make an operator voice call to terminal B based on the SIM card number of terminal B. Exemplarily, terminal A may send an operator voice call request message to terminal B. It should be noted that the operator voice call request message sent by terminal A to terminal B actually needs to be processed by equipment such as an operator server , The processing procedure of the intermediate node is not shown in the embodiment of this application, and the processing procedure of the intermediate node can be referred to the existing technology, which will not be repeated in this application. Optionally, the operator's voice call request message carries the number of terminal A. Exemplarily, the number of terminal A may be the SIM card number in terminal A.
步骤202,终端B与终端C建立VOIP语音通道。In step 202, the terminal B and the terminal C establish a VOIP voice channel.
具体的,终端B接收到来自终端A的运营商语音呼叫请求消息,获取该请求消息中携带的终端A的号码(例如SIM***码)。终端B可与终端C建立VOIP语音连接,或者称为VOIP语音通道。Specifically, terminal B receives the operator's voice call request message from terminal A, and obtains the number of terminal A (for example, the SIM card number) carried in the request message. Terminal B can establish a VOIP voice connection with terminal C, or called a VOIP voice channel.
可选地,在本申请中,终端B可通过云网络向终端C发起VOIP语音呼叫,以建立终端B与终端C的VOIP语音通道。Optionally, in this application, terminal B may initiate a VOIP voice call to terminal C through the cloud network to establish a VOIP voice channel between terminal B and terminal C.
如图7所示为终端B发起VOIP语音呼叫的内部流程图。具体的,在本申请中,终端B的AP处理器中可包括通话管理模块,示例性的,通话管理模块可以为安卓***中的电话通信(Telephonycommunication,Telecom)模块B、接续服务(Service)模块B、以及VOIP Service模块B,其中,Telecom模块B用于处理终端中的所有语音呼叫,包括接听、挂断等。VOIP Service模块B用于处理VOIP语音呼叫。接续Service模块B,也可以称为转接服务模块、调度服务模块等,用于实现运营商语音呼叫与VOIP语音呼叫之间的转换。参照图7,具体的,终端A向终端B发起运营商语音呼叫,示例性的,终端A通过服务器向终端B发送运营商语音呼叫请求消息,Telecom模块B获取到来自终端A的运营商语音呼叫请求消息后,可向接续Service模块B发送通知消息,以指示当前存在来自终端A的运营商语音呼叫,或者可理解为指示终端A来电。接续Server模块B通过调取本地配置,查询终端B是否已开启语音转接功能(是指本申请中的运营商语音呼叫与VOIP语音呼叫转接的功能)。若查询到终端B已开启该功能,则接续Service模块B进一步查询该配置,以确定转接策略。示例性的,转接策略可以包括接续策略以及共振策略。其中,接续策略用于指示是否在语音转换过程中拒接其它来电。共振策略则用于指示转接对象,也可以理解为,和终端B一起共振的终端。在本申请的实施例中,接续Service可基于共振策略,确定需要转接的对象,示例性的,转接对象即为终端C。可选地,若接续Service模块B基于接续策略确定需要拒绝其它来电后,可向Telecom模块B发送接续指示,Telecom模块B接收到该指示后,可基于该指示,将终端B设置为拒接其它来电(或通话)的状态,也就是说,终端B在切断终端A与终端C的通话之前,或可理解为终端B在对终端A与终端C之间执行语音转换的过程中,终端B拒接其它来电。Figure 7 shows the internal flow chart of terminal B initiating a VOIP voice call. Specifically, in this application, the AP processor of the terminal B may include a call management module. For example, the call management module may be a telephone communication (Telephonycommunication, Telecom) module B and a connection service (Service) module in the Android system. B, and VOIP Service module B, where Telecom module B is used to process all voice calls in the terminal, including answering and hanging up. VOIP Service module B is used to process VOIP voice calls. The connection Service module B, which can also be called a transfer service module, a dispatch service module, etc., is used to realize the conversion between the operator's voice call and the VOIP voice call. Referring to Figure 7, specifically, terminal A initiates an operator voice call to terminal B. Illustratively, terminal A sends an operator voice call request message to terminal B through the server, and Telecom module B obtains the operator voice call from terminal A After the request message, a notification message can be sent to the connection service module B to indicate that there is currently an operator voice call from the terminal A, or it can be understood as indicating that the terminal A has an incoming call. Connecting Server module B retrieves the local configuration to query whether terminal B has enabled the voice transfer function (refers to the function of the operator's voice call and VOIP voice call transfer in this application). If it is found that the terminal B has enabled the function, then the service module B will be connected to further query the configuration to determine the transfer strategy. Exemplarily, the transfer strategy may include a connection strategy and a resonance strategy. Among them, the connection strategy is used to indicate whether to reject other incoming calls during the voice conversion process. The resonance strategy is used to indicate the transfer object, and can also be understood as a terminal that resonates with terminal B. In the embodiment of the present application, the connection service can be based on the resonance strategy to determine the object that needs to be transferred. Exemplarily, the transfer object is the terminal C. Optionally, if the connection service module B determines that it needs to reject other calls based on the connection policy, it can send a connection instruction to the Telecom module B. After receiving the instruction, the Telecom module B can set the terminal B to reject other calls based on the instruction. The state of the incoming call (or call), that is, before terminal B cuts off the call between terminal A and terminal C, or can be understood as terminal B in the process of performing voice conversion between terminal A and terminal C, terminal B refuses Take other calls.
示例性的,如图8所示为用户设置终端B的语音转接功能的操作示意图,用户可在 终端B提供的提示框中,选择终端B将运营商语音呼叫转接的对象。终端B中存储有转接对象(例如终端C)的标识信息,可选地,标识信息可以为终端C的IP地址信息,或者终端C的硬件地址信息等,本申请不做限定,终端B可基于存储的终端C的标识信息,向终端C发起VOIP语音呼叫。可选地,如图8所示,用户可同时选择多个终端为转接对象。Exemplarily, as shown in FIG. 8 is a schematic diagram of the operation of the user setting the voice transfer function of the terminal B. The user can select the object to which the terminal B will transfer the operator's voice call in the prompt box provided by the terminal B. Terminal B stores the identification information of the transfer object (such as terminal C). Optionally, the identification information may be the IP address information of terminal C, or the hardware address information of terminal C, etc. This application is not limited, and terminal B may Based on the stored identification information of the terminal C, a VOIP voice call is initiated to the terminal C. Optionally, as shown in FIG. 8, the user can select multiple terminals as transfer objects at the same time.
仍参照图7,具体的,接续Servise模块B确定需要转接的对象后,向VOIP Service模块B发送呼叫请求消息。示例性的,该呼叫请求消息中包括但不限于:终端A的SIM***码。VOIP Service模块B接收该呼叫请求消息后,向云网络发送VOIP语音呼叫请求消息,该请求消息中包括但不限于:终端A的SIM***码和终端C的标识信息。可选地,VOIP Service模块B向云网络发送消息之前,可将消息封装为支持VOIP传输网络的网络格式,以使云网络能解析该消息。Still referring to FIG. 7, specifically, after the connection Servise module B determines the object to be transferred, it sends a call request message to the VOIP Service module B. Exemplarily, the call request message includes but is not limited to: the SIM card number of terminal A. After receiving the call request message, the VOIP Service module B sends a VOIP voice call request message to the cloud network. The request message includes but is not limited to: the SIM card number of the terminal A and the identification information of the terminal C. Optionally, before sending the message to the cloud network, the VOIP Service module B may encapsulate the message into a network format that supports the VOIP transmission network, so that the cloud network can parse the message.
一个示例中,云网络接收到来自终端B(具体是VOIP Service模块B)的VOIP语音呼叫请求消息后,可通过VOIP云呼叫技术,建立终端B与终端C之间的VOIP语音通道。另一个示例中,云网络可以通过网络地址转换(Network Address Translation,NAT)技术,也可称为NAT穿越技术,建立终端B与终端C之间的VOIP语音通道。In an example, after the cloud network receives a VOIP voice call request message from terminal B (specifically, VOIP Service module B), it can establish a VOIP voice channel between terminal B and terminal C through the VOIP cloud call technology. In another example, the cloud network can establish a VOIP voice channel between terminal B and terminal C through network address translation (NAT) technology, which can also be referred to as NAT traversal technology.
示例性的,以云网络通过NAT穿越技术建立终端B与终端C之间的VOIP语音通道为例,云网络接收到VOIP语音呼叫请求消息之后,基于请求消息中携带的终端C的标识信息,查询与终端C对应的地址信息,并基于该地址信息,向终端C发送VOIP语音呼叫请求消息,该语音呼叫请求消息中包括但不限于:终端A的SIM***码。可选地,该请求消息中还可以携带指示信息,用于指示该VOIP语音呼叫是通过终端B转接的。Exemplarily, the cloud network uses NAT traversal technology to establish a VOIP voice channel between terminal B and terminal C as an example. After the cloud network receives the VOIP voice call request message, it queries based on the identification information of terminal C carried in the request message The address information corresponding to the terminal C, and based on the address information, a VOIP voice call request message is sent to the terminal C. The voice call request message includes but is not limited to: the SIM card number of the terminal A. Optionally, the request message may also carry indication information for indicating that the VOIP voice call is transferred through terminal B.
如图9所示为终端C侧与终端B建立VOIP语音通道的流程示意图,参照图9,终端C中同样包括VOIP Service模块C与Telecom模块C。可选地,终端C中也可以包括接续Service模块C,但由于终端C在本申请实施例中不涉及到语音转接操作,因此,图9中未示出终端C的接续Service模块C。FIG. 9 is a schematic diagram of the process of establishing a VOIP voice channel between the terminal C and the terminal B. Referring to FIG. 9, the terminal C also includes a VOIP Service module C and a Telecom module C. Optionally, the terminal C may also include a connection service module C, but since the terminal C does not involve voice transfer operations in this embodiment of the application, the connection service module C of the terminal C is not shown in FIG. 9.
具体的,终端C中的VOIP Service模块C接收到来自云网络的VOIP语音呼叫请求消息,并将该VOIP语音呼叫请求消息发送给Telecom模块C。Telecom模块C接收到该请求消息后,可获取请求消息中携带的终端A的SIM***码,并在终端C的屏幕上显示当前存在VOIP来电,并且呼叫方为终端A。可选地,若请求消息中携带上文所述指示信息,则Telecom模块C还可以在终端C的屏幕上显示当前VOIP来电为终端B转接自终端A(135****321)的运营商语音通话,如图10所示。用户可在终端C的屏幕上触发接听操作,以接听来自终端A的通话。Specifically, the VOIP Service module C in the terminal C receives the VOIP voice call request message from the cloud network, and sends the VOIP voice call request message to the Telecom module C. After receiving the request message, the Telecom module C can obtain the SIM card number of the terminal A carried in the request message, and display the current VOIP incoming call on the screen of the terminal C, and the calling party is the terminal A. Optionally, if the request message carries the above-mentioned indication information, the Telecom module C can also display the current VOIP call on the screen of the terminal C as the operation of the terminal B transferred from the terminal A (135****321) Business voice call, as shown in Figure 10. The user can trigger an answering operation on the screen of terminal C to answer the call from terminal A.
仍参照图9,具体的,Telecom模块C检测到用户触发的指示接听来电的用户指令后,可向VOIP Service模块C发送接听指示消息,可选地,接听指示消息中可包括但不限于:终端C的标识信息(可选)、终端A的SIM***码和终端B的标识信息(例如IP地址信息),该消息用于指示终端C接听VOIP通话,也可以理解为指示终端B接通终端A的运营商语音呼叫(或称为通话或来电)。VOIP Service模块C向云网络转发该接听指示消息。云网络接收到该接听指示消息后,向终端B发送接听指示消息,至此,终端B与终端C之间的VOIP语音通道已成功建立,终端B与终端C可基于该通道互传VOIP消息。Still referring to Figure 9, specifically, after the Telecom module C detects the user instruction triggered by the user to answer the call, it can send an answer instruction message to the VOIP Service module C. Optionally, the answer instruction message may include but is not limited to: terminal C's identification information (optional), terminal A's SIM card number and terminal B's identification information (such as IP address information), this message is used to instruct terminal C to answer the VOIP call, and it can also be understood as instructing terminal B to connect to terminal A The operator’s voice call (or call or incoming call). The VOIP Service module C forwards the answer instruction message to the cloud network. After receiving the answer instruction message, the cloud network sends an answer instruction message to terminal B. So far, the VOIP voice channel between terminal B and terminal C has been successfully established, and terminal B and terminal C can exchange VOIP messages based on the channel.
步骤203,终端B对运营商语音通话与VOIP语音通话进行转换。Step 203: Terminal B converts the operator's voice call and VOIP voice call.
具体的,终端B接收到来自终端C的接听指示消息后,确定接听终端A的运营商语音呼叫。终端B可接通终端A的运营商语音呼叫,在后续的通话过程中,终端B可将终端A的运营商语音通话转换为VOIP语音通话发送给终端C,还可以将终端C的VOIP语音通话转换为运营商语音通话发送给终端A。需要说明的是,终端B对语音通话的转换实际上是对语音通话过程中的音频信号(或数据)进行转换,具体转换过程将在下面的实施例中进行具体说明。Specifically, after terminal B receives the answer instruction message from terminal C, it determines to answer the operator's voice call of terminal A. Terminal B can connect to the operator's voice call of terminal A. In the subsequent call process, terminal B can convert the operator's voice call of terminal A into VOIP voice call and send it to terminal C, and it can also transfer the VOIP voice call of terminal C It is converted into an operator's voice call and sent to terminal A. It should be noted that the conversion of the voice call by the terminal B actually converts the audio signal (or data) during the voice call, and the specific conversion process will be described in detail in the following embodiments.
示例性的,参照图11,终端B(具体为终端B中的VOIP Service模块B)接收到云网络发送的接听指示消息后,可向Telecom模块B发送该接听指示消息。Telecom模块B接收到该接听指示消息后,可执行联动接听操作,即可控制终端B接通终端A的运营商语音呼叫,以及,Telecom模块B向终端A发送接听指示消息,以实现与终端A之间的运营商语音通话。仍参照图11,Telecom模块B向接续Service模块B发送联动接听请求消息,用于触发接续Service模块B执行音频处理操作,即语音转换(或称为通话转换、语音通话转换等)过程,具体过程将在第二部分进行详细说明。可选地,终端B在进行语音转换过程时,禁止音频模块使能,即禁止终端B的麦克风和听筒。可选地,若终端B在执行语音转换过程中接收到其它终端发起的运营商语音呼叫,则终端B挂断其它终端的运营商语音呼叫(或来电)。Exemplarily, referring to FIG. 11, after terminal B (specifically VOIP Service module B in terminal B) receives the answer instruction message sent by the cloud network, it may send the answer instruction message to Telecom module B. After the Telecom module B receives the answer instruction message, it can perform a linked answer operation to control the terminal B to connect to the operator's voice call of the terminal A, and the Telecom module B sends an answer instruction message to the terminal A to achieve communication with the terminal A. Voice calls between operators. Still referring to Figure 11, the Telecom module B sends a linkage answering request message to the connection service module B, which is used to trigger the connection service module B to perform audio processing operations, that is, the process of voice conversion (or call conversion, voice call conversion, etc.), the specific process This will be explained in detail in the second part. Optionally, when the terminal B is performing the voice conversion process, the audio module is disabled, that is, the microphone and the receiver of the terminal B are disabled. Optionally, if terminal B receives an operator's voice call initiated by another terminal during the voice conversion process, terminal B hangs up the operator's voice call (or incoming call) of the other terminal.
在一种可能的实现方式中,用户可在终端C上选择挂断与终端A之间的通话。终端C(具体为VOIP Service模块C)可向云网络发送挂断请求消息,云网络将挂断请求消息发送给终端B中的VOIP Service模块B,并由VOIP Service模块B转发给Telecom模块B。Telecom模块B可执行内部的挂断操作,即挂断终端A的运营商语音通话。随后,Telecom模块B可向接续Service模块B发送联通挂断请求消息,以指示接续Service模块B停止音频处理操作,即停止语音转换。可选地,接续Service模块B停止音频处理操作后,可使能音频模块,即开启终端B的麦克风和听筒。In a possible implementation manner, the user can choose to hang up the call with the terminal A on the terminal C. Terminal C (specifically, VOIP Service module C) can send a hang-up request message to the cloud network, and the cloud network sends the hang-up request message to the VOIP Service module B in the terminal B, and the VOIP Service module B forwards it to the Telecom module B. Telecom module B can perform internal hang-up operations, that is, hang up the operator's voice call of terminal A. Subsequently, the Telecom module B can send a Unicom hang-up request message to the connection service module B to instruct the connection service module B to stop the audio processing operation, that is, to stop the voice conversion. Optionally, after the service module B is connected to stop the audio processing operation, the audio module can be enabled, that is, the microphone and earpiece of the terminal B are turned on.
在一种可能的实现方式中,还可以是终端B挂断终端C与终端A之间的通话。例如,终端C掉线,导致终端B与终端C之间的VOIP连接断开后,终端B可挂断终端A的运营商语音通话,VOIP Service模块B向Telecom模块B发送挂断请求消息。Telecom模块B可执行内部的挂断操作,即挂断终端A的运营商语音通话。随后,Telecom模块B可向接续Service模块B发送联通挂断请求消息,以指示接续Service模块B停止音频处理操作,即停止语音转换。可选地,接续Service模块B停止音频处理操作后,可使能音频模块,即开启终端B的麦克风和听筒。In a possible implementation manner, terminal B may also hang up the call between terminal C and terminal A. For example, if terminal C is disconnected and the VOIP connection between terminal B and terminal C is disconnected, terminal B can hang up the operator's voice call of terminal A, and VOIP Service module B sends a hangup request message to Telecom module B. Telecom module B can perform internal hang-up operations, that is, hang up the operator's voice call of terminal A. Subsequently, the Telecom module B can send a Unicom hang-up request message to the connection service module B to instruct the connection service module B to stop the audio processing operation, that is, to stop the voice conversion. Optionally, after the service module B is connected to stop the audio processing operation, the audio module can be enabled, that is, the microphone and earpiece of the terminal B are turned on.
在一种可能的实现方式中,也可以是终端A挂断终端A与终端C之间的通话。终端B检测(具体检测过程可参照已有技术,此处不赘述)到终端A挂断与其之间的运营商语音通话之后,可断开与终端C之间的VOIP语音通道。示例性的,终端B中的Telecom模块B可执行内部的挂断操作,即挂断终端A的运营商语音通话。随后,Telecom模块B可向接续Service模块B发送联通挂断请求消息,以指示接续Service模块B停止音频处理操作,即停止语音转换。以及,Telecom模块B向VOIP Service模块B发送挂断指示,并经由VOIP Service模块B、云网络发送给终端C中的VOIP Service模块C,VOIP  Service模块C断开与终端B之间的VOIP连接。以及,VOIP Service模块C向Telecom模块C发送挂断指示,Telecom模块C可基于该指示,在终端C上显示通话已挂断。可选地,接续Service模块B停止音频处理操作后,可使能音频模块,即开启终端B的麦克风和听筒。In a possible implementation manner, terminal A may also hang up the call between terminal A and terminal C. After the terminal B detects (the specific detection process can refer to the existing technology, and will not be described here), after the terminal A hangs up the voice call with the operator, the VOIP voice channel with the terminal C can be disconnected. Exemplarily, the Telecom module B in the terminal B can perform an internal hang-up operation, that is, hang up the operator's voice call of the terminal A. Subsequently, the Telecom module B can send a Unicom hang-up request message to the connection service module B to instruct the connection service module B to stop the audio processing operation, that is, to stop the voice conversion. And, the Telecom module B sends a hang-up instruction to the VOIP Service module B, and sends it to the VOIP Service module C in the terminal C via the VOIP Service module B and the cloud network, and the VOIP Service module C disconnects the VOIP connection with the terminal B. And, the VOIP Service module C sends a hang-up instruction to the Telecom module C, and the Telecom module C can display on the terminal C that the call has been hanged up based on the instruction. Optionally, after the service module B is connected to stop the audio processing operation, the audio module can be enabled, that is, the microphone and earpiece of the terminal B are turned on.
在一种可能的实现方式中,本申请所应用的场景还可以为存在多个转接对象的场景。例如,如图8所示的,用户还可以将终端D和终端E也设置为转接对象,在该场景下,终端B与终端D和终端E之间的交互同终端B与终端C之间的交互相同,本申请不再赘述。一个示例中,终端B可只与转接对象中的其中任一个对象建立VOIP语音通道,也就是说,哪个终端先接听VOIP语音通话,则终端B执行该终端与终端A之间的通话转接,并断开与其它转接对象之间的VOIP通道。另一个示例中,终端B也可以与多个转接对象同时建立VOIP语音通道,也就是说,终端B可实现终端A与多个转接对象,例如终端C、终端D和终端E之间的通话。In a possible implementation manner, the scene applied in this application may also be a scene where there are multiple transfer objects. For example, as shown in Figure 8, the user can also set terminal D and terminal E as transfer objects. In this scenario, the interaction between terminal B and terminal D and terminal E is the same as that between terminal B and terminal C. The interactions are the same, and will not be repeated in this application. In an example, terminal B can only establish a VOIP voice channel with any one of the transfer objects, that is, which terminal first answers the VOIP voice call, then terminal B performs the call transfer between the terminal and terminal A , And disconnect the VOIP channel with other transfer objects. In another example, terminal B can also establish a VOIP voice channel with multiple transfer objects at the same time, that is, terminal B can realize the communication between terminal A and multiple transfer objects, such as terminal C, terminal D, and terminal E. call.
在又一种可能的实现方式中,中间设备也可以为多个,示例性的,用户拥有终端B1、终端B2和终端B3以及终端C。用户可将终端B1和终端B2的转接对象均设置为终端C。一个示例中,若终端B1接收到终端A1的运营商语音呼叫、终端B2接收到终端A2的运营商语音呼叫,则终端B1与终端B2可同时与终端C建立VOIP通道,终端B1对终端A1的运营商语音通话与终端C的VOIP语音通话进行转换,终端B2对终端A2的运营商语音通话与终端C的VOIP语音通话进行转换,以实现多终端通话,也就是说,终端C可通话VOIP通话同时与终端A1和终端A2进行通话。另一个示例中,终端C可选择仅与一方(终端A1或终端A2)进行通话。In another possible implementation manner, there may also be multiple intermediate devices. For example, the user owns the terminal B1, the terminal B2, the terminal B3, and the terminal C. The user can set both terminal B1 and terminal B2 as terminal C. In an example, if terminal B1 receives the operator voice call of terminal A1 and terminal B2 receives the operator voice call of terminal A2, then terminal B1 and terminal B2 can establish a VOIP channel with terminal C at the same time, and terminal B1 is connected to terminal A1. The operator’s voice call is converted to the VOIP voice call of terminal C, and the terminal B2 converts the operator’s voice call of terminal A2 and the VOIP voice call of terminal C to implement multi-terminal calls, that is, terminal C can make VOIP calls Talk to terminal A1 and terminal A2 at the same time. In another example, the terminal C can choose to talk with only one party (terminal A1 or terminal A2).
在又一种可能的实现方式中,中间设备与转接设备均可为多个,本申请不做限定。In another possible implementation manner, there may be multiple intermediate devices and switching devices, which are not limited in this application.
场景二Scene two
结合图2,如图12所示为本申请实施例中的通话方法的流程示意图,在图12中:With reference to FIG. 2, FIG. 12 is a schematic flowchart of the call method in an embodiment of the application, and in FIG. 12:
具体的,终端C向终端B发起VOIP语音呼叫请求消息。参照图12,终端C中的Telecom模块C接收用户触发的用户指令,向VOIP Service模块C发送VOIP呼叫请求消息,VOIP Service模块C接收请求消息后,向终端B发送该VOIP语音呼叫请求消息,该请求消息中包括但不限于:终端A的SIM***码、终端B的标识信息(例如地址信息)以及终端C的标识信息(例如地址信息),用于指示终端B向终端A发起运营商语音呼叫,并对终端A与终端C之间的语音通话进行转换。具体的,在图12中,VOIP Service模块C将VOIP语音呼叫请求消息发送给云网络,以通过云网络将该VOIP语音呼叫请求消息转发给终端B。Specifically, terminal C initiates a VOIP voice call request message to terminal B. 12, the Telecom module C in the terminal C receives the user instruction triggered by the user and sends a VOIP call request message to the VOIP Service module C. After the VOIP Service module C receives the request message, it sends the VOIP voice call request message to the terminal B. The request message includes but is not limited to: terminal A's SIM card number, terminal B's identification information (such as address information), and terminal C's identification information (such as address information), which are used to instruct terminal B to initiate an operator voice call to terminal A , And convert the voice call between terminal A and terminal C. Specifically, in FIG. 12, the VOIP Service module C sends the VOIP voice call request message to the cloud network, so as to forward the VOIP voice call request message to the terminal B through the cloud network.
具体的,终端B中的VOIP Service模块B接收到VOIP语音呼叫请求消息后,向接续Service模块B发送通知消息,以指示当前存在来自终端C的VOIP语音呼叫,且该语音呼叫的对象为终端A。接续Service模块B查询配置,确定终端B开启语音转接功能,具体细节可参照场景一,此处不赘述。接着,接续Service模块B向Telecom模块B发送运营商语音呼叫请求消息,以指示向终端A发起运营商语音通话。Telecom模块向终端A发送运营商语音呼叫请求消息,以请求消息与终端A进行运营商语音通话。具体交互细 节可参照已有技术,此处不赘述。示例性的,终端A上显示的来电号码为终端B的SIM***码。Specifically, after receiving the VOIP voice call request message, the VOIP Service module B in the terminal B sends a notification message to the connection service module B to indicate that there is currently a VOIP voice call from the terminal C, and the object of the voice call is the terminal A . Connect to Service module B to query the configuration and determine that terminal B has enabled the voice transfer function. For details, please refer to Scenario One, which will not be repeated here. Then, the connection Service module B sends an operator's voice call request message to the Telecom module B to instruct the terminal A to initiate an operator's voice call. The Telecom module sends an operator's voice call request message to terminal A to request the message to conduct an operator's voice call with terminal A. For the specific interaction details, please refer to the prior art, which will not be repeated here. Exemplarily, the incoming call number displayed on terminal A is the SIM card number of terminal B.
仍参照图12,终端A确认接听终端B发起的运营商语音呼叫后,向终端B发送接听指示消息,终端B(具体是终端B中的Telecom模块B)接收到接听指示消息后,Telecom模块B执行联动接听操作,并向接续Service模块B发送联动接听请求消息。接续Service模块B接收该联动接听请求消息,执行音频处理操作。具体细节可参照场景一,此处不赘述。以及,Telecom模块B通过VOIP Service模块B、云网络向终端C发送该接听指示消息,以指示终端C与终端A之间的通话已接通。具体的,终端C中的VOIP Service模块C接收到该接听指示消息后,将接听指示消息发送给Telecom模块C,可选地,Telecom模块C接收到该接听指示消息后,可在终端屏幕上显示VOIP语音通话已连接,以通知用户通话已接通。Still referring to Figure 12, after terminal A confirms to answer the operator's voice call initiated by terminal B, it sends an answer instruction message to terminal B. After terminal B (specifically the Telecom module B in terminal B) receives the answer instruction message, Telecom module B Perform a linkage answering operation, and send a linkage answering request message to the connection service module B. The connection service module B receives the linkage answering request message and executes audio processing operations. For specific details, please refer to Scenario One, which will not be repeated here. And, the Telecom module B sends the answer instruction message to the terminal C through the VOIP Service module B and the cloud network to indicate that the call between the terminal C and the terminal A has been connected. Specifically, after receiving the answer instruction message, the VOIP Service module C in the terminal C sends the answer instruction message to the Telecom module C. Optionally, the Telecom module C may display the answer instruction message on the terminal screen after receiving the answer instruction message The VOIP voice call is connected to notify the user that the call is connected.
在一种可能的实现方式中,终端A与终端C之间的通话可以由终端C挂断、终端B挂断和/或终端A挂断,具体细节可参照场景一,此处不赘述。In a possible implementation manner, the call between the terminal A and the terminal C may be hung up by the terminal C, the terminal B and/or the terminal A. For the specific details, please refer to scenario 1, which will not be repeated here.
第二部分the second part
如图13所示为终端B的一种结构示意图,在终端B中,AP处理器包括但不限于高保真(High-Fidelity,Hi-Fi)模块以及音频处理模块,Hi-Fi模块用于处理运营商语音信号,具体为对运营商语音信号进行编码和解码。音频处理模块用于处理VOIP语音信号,具体为对VOIP语音信号进行编码和解码。示例性的,音频处理模块可以为华为媒体引擎(Huawei Media Engine,HME),本申请不做限定。Figure 13 is a schematic diagram of a structure of terminal B. In terminal B, the AP processor includes but is not limited to a High-Fidelity (Hi-Fi) module and an audio processing module. The Hi-Fi module is used for processing The operator's voice signal is specifically to encode and decode the operator's voice signal. The audio processing module is used to process VOIP voice signals, specifically to encode and decode VOIP voice signals. Exemplarily, the audio processing module may be Huawei Media Engine (HME), which is not limited in this application.
示例性的,在已有技术中,若终端B通过Modem接听运营商语音通话,则在通话过程中,Hi-Fi模块获取音频模块,例如音频模块中的麦克风采集到的模拟音频信号,将其进行编码后,生成运营商语音信号,并通过Modem进行发送。以及,Hi-Fi模块还可将通过Modem获取到的运营商语音信号进行编码后,输出至音频模块,以通过音频模块中的扬声器等模块输出模拟音频信号。音频处理模块与Hi-Fi模块功能类似,其主要用于麦克风采集到的模拟音频信号转换为VOIP语音信号输出,和/或,将接收到的VOIP语音信号转换为模拟音频信号后,通过音频模块的扬声器等模块输出。Exemplarily, in the prior art, if terminal B receives a voice call from an operator through a Modem, during the call, the Hi-Fi module obtains the audio module, such as the analog audio signal collected by the microphone in the audio module, and transfers it to After encoding, the operator's voice signal is generated and sent through the Modem. In addition, the Hi-Fi module can also encode the operator's voice signal obtained through the Modem, and then output it to the audio module, so as to output an analog audio signal through a module such as a speaker in the audio module. The audio processing module is similar in function to the Hi-Fi module. It is mainly used to convert the analog audio signal collected by the microphone into a VOIP voice signal for output, and/or, after converting the received VOIP voice signal into an analog audio signal, pass the audio module The output of the speaker and other modules.
在图13的基础上,如图14所示为示例性的一种语音转换示意图。参照图14,一个示例中,Hi-Fi模块接收到运营商语音信号后,可将运营商语音信号进行重新编码,示例性的,重新编码后的格式可以为PCM码流格式,也可以是其它可供音频处理模块读取的协商格式,本申请不做限定。具体的,Hi-Fi模块将重新编码后的数据发送给音频处理模块,音频处理模块接收到该数据后,将数据重新编码为VOIP语音数据,并输出该VOIP语音数据,例如,向终端C输出该VOIP语音数据。另一个示例中,音频处理模块接收到VOIP语音信号后,可将VOIP语音信号进行重新编码,示例性的,重新编码后的格式同样可以为PCM码流格式,本申请不做限定。具体的,音频处理模块将重新编码后的数据发送给Hi-Fi模块,Hi-Fi模块接收到该数据后,将数据重新编码为运营商语音数据,并通过Modem将运营商语音数据输出,例如,输出至终端A。On the basis of Fig. 13, Fig. 14 is an exemplary schematic diagram of voice conversion. Referring to Figure 14, in an example, after the Hi-Fi module receives the operator’s voice signal, it can re-encode the operator’s voice signal. Illustratively, the re-encoded format can be a PCM bitstream format or other formats. The negotiation format that can be read by the audio processing module is not limited in this application. Specifically, the Hi-Fi module sends the re-encoded data to the audio processing module. After receiving the data, the audio processing module re-encodes the data into VOIP voice data, and outputs the VOIP voice data, for example, to terminal C The VOIP voice data. In another example, after the audio processing module receives the VOIP voice signal, it can re-encode the VOIP voice signal. Illustratively, the re-encoded format can also be a PCM code stream format, which is not limited in this application. Specifically, the audio processing module sends the re-encoded data to the Hi-Fi module. After receiving the data, the Hi-Fi module re-encodes the data into operator voice data, and outputs the operator voice data through the Modem, for example , Output to terminal A.
示例性的,在本申请的实施例中,接续Service模块B还可以用于对Hi-Fi模块以及 音频处理模块的编码数据进行调度。一个示例中,Hi-Fi模块对运营商语音数据进行重新编码后,接续Service模块B获取重新编码后的数据,并将重新编码后的数据写入音频处理模块的配置文件(例如缓存(Buffer)文件)中,音频处理模块读取配置文件,获取Hi-Fi模块重新编码后的数据,并对数据进行二次编码,以生成VOIP语音数据。另一个示例中,音频处理模块对VOIP语音数据进行重新编码后,接续Service模块B获取重新编码后的数据,并将重新编码后的数据写入Hi-Fi模块的配置文件中,Hi-Fi模块读取配置文件,获取重新编码后的数据,并对数据进行二次编码,以生成运营商语音数据。Exemplarily, in the embodiment of the present application, the connecting Service module B can also be used to schedule the encoded data of the Hi-Fi module and the audio processing module. In an example, after the Hi-Fi module re-encodes the operator’s voice data, it connects to the Service module B to obtain the re-encoded data, and writes the re-encoded data into the configuration file of the audio processing module (such as buffer) In the file), the audio processing module reads the configuration file, obtains the re-encoded data of the Hi-Fi module, and performs secondary encoding on the data to generate VOIP voice data. In another example, after the audio processing module re-encodes the VOIP voice data, it connects to Service module B to obtain the re-encoded data, and writes the re-encoded data into the configuration file of the Hi-Fi module, Hi-Fi module Read the configuration file, obtain the re-encoded data, and perform secondary encoding on the data to generate the operator's voice data.
示例性的,如图14所示,Hi-Fi模块和音频模块使能过程中,即进行运营商语音数据与VOIP语音数据相互转换的过程中,处理器可控制音频模块禁止使能,例如,将音频模块中的语音采集模块,例如麦克风,以及语音输出模块,例如扬声器的软件接口禁用,以实现对语音采集模块和语音输出模块的禁用。Exemplarily, as shown in FIG. 14, during the enabling process of the Hi-Fi module and the audio module, that is, during the process of mutual conversion between the operator's voice data and the VOIP voice data, the processor may control the audio module to disable the enabling, for example, Disable the voice collection module in the audio module, such as the microphone, and the software interface of the voice output module, such as the speaker, so as to disable the voice collection module and the voice output module.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various network elements. It can be understood that, in order to implement the above-mentioned functions, the terminal includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the terminal into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
如图15所示为终端200的一种结构示意图,参照图15,终端200包括接收模块201、发送模块202、处理模块203;其中,接收模块201,用于接收第二终端的运营商语音呼叫,运行商语音呼叫的呼叫对象为终端的运营商号码;发送模块202,用于响应于接收到的运营商语音呼叫,基于第三终端的网络地址,向第三终端发起基于IP的语音传输VOIP语音呼叫;接收模块201,还用于接收第三终端发送的响应消息;处理模块203,用于响应于接收到的响应消息,接通运营商语音呼叫;处理模块203,还用于将来自第二终端的运营商语音数据转换为VOIP语音数据,发送模块202,还用于将转换后的VOIP语音数据发送给第三终端,以及,处理模块203,还用于将来自第三终端的VOIP语音数据转换为运营商语音数据,发送模块202,还用于将转换后的运营商语音数据发送给第二终端。FIG. 15 is a schematic structural diagram of the terminal 200. Referring to FIG. 15, the terminal 200 includes a receiving module 201, a sending module 202, and a processing module 203; wherein, the receiving module 201 is used to receive the operator's voice call from the second terminal , The calling object of the operator’s voice call is the operator number of the terminal; the sending module 202 is used to respond to the received operator’s voice call and initiate an IP-based voice transmission VOIP to the third terminal based on the network address of the third terminal Voice call; the receiving module 201, which is also used to receive a response message sent by the third terminal; the processing module 203, which is used to respond to the received response message and connect the voice call of the operator; the processing module 203, which is also used to send the voice call from the third terminal The operator’s voice data of the second terminal is converted into VOIP voice data, the sending module 202 is also used to send the converted VOIP voice data to the third terminal, and the processing module 203 is also used to transfer the VOIP voice from the third terminal The data is converted into operator voice data, and the sending module 202 is also used to send the converted operator voice data to the second terminal.
在一种可能的实现方式中,发送模块202,用于响应于接收到的运营商语音呼叫,查询预先配置的转接对象的网络地址,并基于网络地址,向转接对象发送VOIP语音呼叫,转接对象为第三终端。In a possible implementation, the sending module 202 is used to query the pre-configured network address of the forwarding object in response to the received voice call of the operator, and send the VOIP voice call to the forwarding object based on the network address, The transfer object is the third terminal.
在一种可能的实现方式中,其中,运营商语音数据为具有运营商传输网络格式的数据;VOIP语音数据为具有VOIP传输网络格式的数据。In a possible implementation manner, the operator's voice data is data in the format of the operator's transmission network; the VOIP voice data is data in the format of the VOIP transmission network.
在一种可能的实现方式中,接收模块201,还用于接收第三终端发送的挂断请求消息;处理模块203,还用于响应于接收到的第三终端发送的挂断请求消息,挂断运营商语音呼叫。In a possible implementation, the receiving module 201 is also used to receive a hang-up request message sent by the third terminal; the processing module 203 is also used to respond to the received hang-up request message sent by the third terminal to hang up. Disconnect the operator’s voice call.
在一种可能的实现方式中,接收模块201,还用于接收第二终端发送的挂断请求消息;处理模块203,还用于响应于接收到的第二终端发送的挂断请求消息,挂断VOIP语音呼叫。In a possible implementation, the receiving module 201 is also used to receive a hang-up request message sent by the second terminal; the processing module 203 is also used to respond to the received hang-up request message sent by the second terminal to hang up. Disconnect the VOIP voice call.
在一种可能的实现方式中,处理模块203,还用于禁用语音采集模块和语音输出模块,语音采集模块用于采集声音,语音输出模块用于输出声音。In a possible implementation manner, the processing module 203 is also used to disable the voice collection module and the voice output module, the voice collection module is used to collect sounds, and the voice output module is used to output sounds.
在一种可能的实现方式中,处理模块203包括Hi-Fi单元2031和音频处理单元2032,Hi-Fi单元2031,用于将运营商语音数据转换为脉冲编码调制PCM编码数据,并将PCM编码数据传输至音频处理单元;音频处理单元2032,用于将PCM编码数据转换为VOIP语音数据。In a possible implementation, the processing module 203 includes a Hi-Fi unit 2031 and an audio processing unit 2032. The Hi-Fi unit 2031 is used to convert the operator’s voice data into pulse code modulated PCM coded data and encode the PCM The data is transmitted to the audio processing unit; the audio processing unit 2032 is used to convert PCM encoded data into VOIP voice data.
在另一个示例中,图16示出了本申请实施例的一种电子设备300的示意性框图电子设备可以包括:处理器301和收发器/收发管脚302,可选地,还包括存储器303。该处理器301可用于执行前述的实施例的各方法中的电子设备所执行的步骤,并控制接收管脚接收信号,以及控制发送管脚发送信号。In another example, FIG. 16 shows a schematic block diagram of an electronic device 300 according to an embodiment of the present application. The electronic device may include a processor 301 and a transceiver/transceiving pin 302, and optionally, a memory 303. . The processor 301 can be used to execute the steps performed by the electronic device in each method of the foregoing embodiments, and control the receiving pin to receive signals, and the sending pin to send signals.
电子设备300的各个组件通过总线304耦合在一起,其中总线***304除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图中将各种总线都标为总线***304。The various components of the electronic device 300 are coupled together via a bus 304, where the bus system 304 includes a power bus, a control bus, and a status signal bus in addition to a data bus. However, for clear description, various buses are marked as the bus system 304 in the figure.
可选地,存储器303可以用于前述方法实施例中的存储指令。Optionally, the memory 303 may be used to store instructions in the foregoing method embodiments.
应理解,根据本申请实施例的电子设备300可对应于前述的实施例的各方法中的终端,并且电子设备300中的各个元件的上述和其它管理操作和/或功能分别为了实现前述各个方法的相应步骤,为了简洁,在此不再赘述。It should be understood that the electronic device 300 according to the embodiment of the present application may correspond to the terminal in each method of the foregoing embodiment, and the above-mentioned and other management operations and/or functions of each element in the electronic device 300 are respectively intended to implement the foregoing various methods. For the sake of brevity, the corresponding steps will not be repeated here.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
基于相同的技术构思,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序包含至少一段代码,该至少一段代码可由电子设备执行,以控制电子设备用以实现上述方法实施例。Based on the same technical concept, the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program includes at least a piece of code that can be executed by an electronic device to control The electronic device is used to implement the above method embodiments.
基于相同的技术构思,本申请实施例还提供一种计算机程序,当该计算机程序被电子设备执行时,用以实现上述方法实施例。Based on the same technical concept, the embodiments of the present application also provide a computer program, which is used to implement the foregoing method embodiments when the computer program is executed by an electronic device.
所述程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。The program may be stored in whole or in part on a storage medium packaged with the processor, and may also be stored in part or in a memory not packaged with the processor.
基于相同的技术构思,本申请实施例还提供一种处理器,该处理器用以实现上述方法实施例。上述处理器可以为芯片。Based on the same technical concept, an embodiment of the present application further provides a processor, which is configured to implement the foregoing method embodiment. The above-mentioned processor may be a chip.
基于相同的技术构思,本申请实施例还提供一种通话***,***包括第一电子设备、第二电子设备以及第三电子设备,可实现上述方法实施例。Based on the same technical concept, an embodiment of the present application also provides a call system. The system includes a first electronic device, a second electronic device, and a third electronic device, which can implement the foregoing method embodiments.
结合本申请实施例公开内容所描述的方法或者算法的步骤可以硬件的方式来实现, 也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于网络设备中。当然,处理器和存储介质也可以作为分立组件存在于网络设备中。The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, which can be stored in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read Only Memory, ROM), and erasable programmable read-only memory ( Erasable Programmable ROM (EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in a network device. Of course, the processor and the storage medium may also exist as discrete components in the network device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in one or more of the foregoing examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium. The computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (16)

  1. 一种用于实现电子设备间通话的***,其特征在于,所述***包括第一电子设备、第二电子设备和第三电子设备;A system for realizing a call between electronic devices, wherein the system includes a first electronic device, a second electronic device, and a third electronic device;
    所述第二电子设备包括第二存储器,第二处理器以及第二计算机程序,其中所述第二计算机程序被存储在所述第二存储器中,所述第二计算机程序包括第二指令,当所述第二指令被所述第二电子设备执行时,使得所述第二电子设备执行以下步骤:The second electronic device includes a second memory, a second processor, and a second computer program, wherein the second computer program is stored in the second memory, and the second computer program includes a second instruction. When the second instruction is executed by the second electronic device, the second electronic device is caused to execute the following steps:
    根据所述第一电子设备的运营商号码,发起对所述第一电子设备的运营商语音呼叫;Initiating an operator voice call to the first electronic device according to the operator number of the first electronic device;
    所述第一电子设备包括第一存储器,第一处理器以及第一计算机程序,其中所述第一计算机程序被存储在所述第一存储器中,所述第一计算机程序包括第一指令,当所述第一指令被所述第一电子设备执行时,使得所述第一电子设备执行以下步骤:The first electronic device includes a first memory, a first processor, and a first computer program, wherein the first computer program is stored in the first memory, and the first computer program includes a first instruction. When the first instruction is executed by the first electronic device, the first electronic device is caused to execute the following steps:
    接收所述运营商语音呼叫;Receiving the voice call of the operator;
    响应于接收到的所述运营商语音呼叫,基于所述第三电子设备的网络地址,向所述第三电子设备发起基于IP的语音传输VOIP语音呼叫;In response to the received voice call of the operator, initiating an IP-based voice transmission VOIP voice call to the third electronic device based on the network address of the third electronic device;
    所述第三电子设备包括第三存储器,第三处理器以及第三计算机程序,其中所述第三计算机程序被存储在所述第三存储器中,所述第三计算机程序包括第三指令,当所述第三指令被所述第三电子设备执行时,使得所述第三电子设备执行以下步骤:The third electronic device includes a third memory, a third processor, and a third computer program, wherein the third computer program is stored in the third memory, and the third computer program includes a third instruction. When the third instruction is executed by the third electronic device, the third electronic device is caused to execute the following steps:
    接收所述VOIP语音呼叫;Receiving the VOIP voice call;
    响应于接通所述VOIP语音呼叫的操作,向所述第一电子设备发送响应消息;In response to the operation of connecting to the VOIP voice call, sending a response message to the first electronic device;
    当所述第一指令被所述第一电子设备执行时,使得所述第一电子设备还执行以下步骤:When the first instruction is executed by the first electronic device, the first electronic device is caused to further execute the following steps:
    接收所述响应消息;Receiving the response message;
    响应于接收到的所述响应消息,接通所述运营商语音呼叫;In response to the received response message, connect to the operator's voice call;
    将来自所述第二电子设备的运营商语音数据转换为VOIP语音数据,并将转换后的VOIP语音数据发送给所述第三电子设备;以及,Convert the operator voice data from the second electronic device into VOIP voice data, and send the converted VOIP voice data to the third electronic device; and,
    将来自所述第三电子设备的VOIP语音数据转换为运营商语音数据,并将转换后的运营商语音数据发送给所述第二电子设备。The VOIP voice data from the third electronic device is converted into operator voice data, and the converted operator voice data is sent to the second electronic device.
  2. 根据权利要求1所述的***,其特征在于,当所述第一指令被所述第一电子设备执行时,使得所述第一电子设备执行以下步骤:The system according to claim 1, wherein when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps:
    响应于接收到的所述运营商语音呼叫,查询预先配置的转接对象的网络地址,并基于所述网络地址,向所述转接对象发送VOIP语音呼叫,所述转接对象为所述第三电子设备。In response to the received voice call of the operator, query the pre-configured network address of the forwarding object, and based on the network address, send a VOIP voice call to the forwarding object, where the forwarding object is the first Three electronic equipment.
  3. 根据权利要求1所述的***,其特征在于,其中,The system according to claim 1, wherein:
    所述运营商语音数据为具有运营商传输网络格式的数据;The operator's voice data is data in an operator's transmission network format;
    所述VOIP语音数据为具有VOIP传输网络格式的数据。The VOIP voice data is data with a VOIP transmission network format.
  4. 根据权利要求1所述的***,其特征在于,当所述第三指令被所述第三电子设备执行时,使得所述第三电子设备执行以下步骤:The system according to claim 1, wherein when the third instruction is executed by the third electronic device, the third electronic device is caused to perform the following steps:
    向所述第一电子设备发送挂断请求消息;Sending a hang-up request message to the first electronic device;
    当所述第一指令被所述第一电子设备执行时,使得所述第一电子设备执行以下步骤:When the first instruction is executed by the first electronic device, the first electronic device is caused to execute the following steps:
    接收所述第三电子设备发送的挂断请求消息;Receiving a hang-up request message sent by the third electronic device;
    响应于接收到的所述第三电子设备发送的挂断请求消息,挂断所述运营商语音呼叫。In response to the received hang-up request message sent by the third electronic device, hang up the operator's voice call.
  5. 根据权利要求1所述的***,其特征在于,当所述第二指令被所述第二电子设备执行时,使得所述第二电子设备执行以下步骤:The system according to claim 1, wherein when the second instruction is executed by the second electronic device, the second electronic device is caused to perform the following steps:
    向所述第一电子设备发送挂断请求消息;Sending a hang-up request message to the first electronic device;
    当所述第一指令被所述第一电子设备执行时,使得所述第一电子设备执行以下步骤:When the first instruction is executed by the first electronic device, the first electronic device is caused to execute the following steps:
    接收所述第二电子设备发送的挂断请求消息;Receiving a hang-up request message sent by the second electronic device;
    响应于接收到的所述第二电子设备发送的挂断请求消息,挂断所述VOIP语音呼叫。In response to the received hang-up request message sent by the second electronic device, hang up the VOIP voice call.
  6. 根据权利要求1至5任一项所述的***,其特征在于,当所述第一指令被所述第一电子设备执行时,使得所述第一电子设备执行以下步骤:The system according to any one of claims 1 to 5, wherein when the first instruction is executed by the first electronic device, the first electronic device is caused to perform the following steps:
    禁用所述第一电子设备的语音采集模块和语音输出模块,所述语音采集模块用于采集声音,所述语音输出模块用于输出声音。Disable the voice collection module and the voice output module of the first electronic device, the voice collection module is used to collect sounds, and the voice output module is used to output sounds.
  7. 根据权利要求1所述的***,其特征在于,所述第一电子设备包括高保真Hi-Fi模块和音频处理模块;The system according to claim 1, wherein the first electronic device comprises a high-fidelity Hi-Fi module and an audio processing module;
    所述Hi-Fi模块,用于将所述运营商语音数据转换为脉冲编码调制PCM编码数据,并将所述PCM编码数据传输至所述音频处理模块;The Hi-Fi module is configured to convert the operator's voice data into pulse code modulation PCM coded data, and transmit the PCM coded data to the audio processing module;
    所述音频处理模块,用于将所述PCM编码数据转换为所述VOIP语音数据。The audio processing module is used to convert the PCM encoded data into the VOIP voice data.
  8. 一种通话方法,其特征在于,包括:A call method, characterized in that it includes:
    第一终端接收第二终端的运营商语音呼叫,所述运行商语音呼叫的呼叫对象为所述第一终端的运营商号码;The first terminal receives the operator's voice call of the second terminal, and the call object of the operator's voice call is the operator number of the first terminal;
    所述第一终端响应于接收到的所述运营商语音呼叫,基于第三终端的网络地址,向所述第三终端发起基于IP的语音传输VOIP语音呼叫;In response to the received voice call of the operator, the first terminal initiates an IP-based voice transmission VOIP voice call to the third terminal based on the network address of the third terminal;
    所述第一终端接收所述第三终端发送的响应消息;Receiving, by the first terminal, a response message sent by the third terminal;
    响应于接收到的所述响应消息,所述第一终端接通所述运营商语音呼叫;In response to the received response message, the first terminal connects to the operator's voice call;
    所述第一终端将来自所述第二终端的运营商语音数据转换为VOIP语音数据,并将转换后的VOIP语音数据发送给所述第三终端,以及,所述第一终端将来自所述第三终端的VOIP语音数据转换为运营商语音数据,并将转换后的运营商语音数据发送给所述第二终端。The first terminal converts the operator’s voice data from the second terminal into VOIP voice data, and sends the converted VOIP voice data to the third terminal, and the first terminal will be from the The VOIP voice data of the third terminal is converted into voice data of the operator, and the converted voice data of the operator is sent to the second terminal.
  9. 根据权利要求8所述的方法,其特征在于,所述第一终端基于第三终端的网络地 址,向所述第三终端发起基于IP的语音传输VOIP语音呼叫,包括:The method according to claim 8, wherein the first terminal initiating an IP-based voice transmission VOIP voice call to the third terminal based on the network address of the third terminal comprises:
    所述第一终端响应于接收到的所述运营商语音呼叫,所述第一终端查询预先配置的转接对象的网络地址,并基于所述网络地址,向所述转接对象发送VOIP语音呼叫,所述转接对象为所述第三终端。The first terminal responds to the received voice call of the operator, the first terminal queries the network address of the forwarding object configured in advance, and based on the network address, sends a VOIP voice call to the forwarding object , The transfer object is the third terminal.
  10. 根据权利要求8所述的方法,其特征在于,其中,The method according to claim 8, wherein:
    所述运营商语音数据为具有运营商传输网络格式的数据;The operator's voice data is data in an operator's transmission network format;
    所述VOIP语音数据为具有VOIP传输网络格式的数据。The VOIP voice data is data with a VOIP transmission network format.
  11. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    所述第一终端接收所述第三终端发送的挂断请求消息;Receiving, by the first terminal, a hang-up request message sent by the third terminal;
    响应于接收到的所述第三终端发送的挂断请求消息,所述第一终端挂断所述运营商语音呼叫。In response to receiving the hang-up request message sent by the third terminal, the first terminal hangs up the operator's voice call.
  12. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    所述第一终端接收所述第二终端发送的挂断请求消息;Receiving, by the first terminal, a hang-up request message sent by the second terminal;
    响应于接收到的所述第二终端发送的挂断请求消息,所述第一终端挂断所述VOIP语音呼叫。In response to receiving the hang-up request message sent by the second terminal, the first terminal hangs up the VOIP voice call.
  13. 根据权利要求8至12任一项所述的方法,其特征在于,所述第一终端向所述第三终端发起VOIP语音呼叫后,还包括:The method according to any one of claims 8 to 12, wherein after the first terminal initiates a VOIP voice call to the third terminal, the method further comprises:
    所述第一终端禁用所述第一终端的语音采集模块和语音输出模块,所述语音采集模块用于采集声音,所述语音输出模块用于输出声音。The first terminal disables the voice collection module and the voice output module of the first terminal, the voice collection module is used to collect sounds, and the voice output module is used to output sounds.
  14. 根据权利要求8所述的方法,其特征在于,所述第一终端包括高保真Hi-Fi模块和音频处理模块,所述第一终端将来自所述第一终端的运营商语音数据转换为VOIP语音数据,包括:The method according to claim 8, wherein the first terminal comprises a high-fidelity Hi-Fi module and an audio processing module, and the first terminal converts the operator’s voice data from the first terminal into VOIP Voice data, including:
    所述第一终端通过所述Hi-Fi模块将所述运营商语音数据转换为脉冲编码调制PCM编码数据,并将所述PCM编码数据传输至所述音频处理模块;The first terminal converts the operator's voice data into pulse code modulation PCM coded data through the Hi-Fi module, and transmits the PCM coded data to the audio processing module;
    所述第一终端通过所述音频处理模块将所述PCM编码数据转换为所述VOIP语音数据。The first terminal converts the PCM encoded data into the VOIP voice data through the audio processing module.
  15. 一种第一电子设备,包括存储器,处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时使得所述第一电子设备实现如权利要求8至14中任一项所述的方法。A first electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor causes the first computer program to execute when the computer program is executed. An electronic device implements the method according to any one of claims 8 to 14.
  16. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求8至14中任一项所述的方法。A computer-readable storage medium, comprising instructions, characterized in that, when the instructions run on an electronic device, the electronic device is caused to execute the method according to any one of claims 8 to 14.
PCT/CN2021/078891 2020-03-05 2021-03-03 Call method, system and device WO2021175254A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010148987.7 2020-03-05
CN202010148987.7A CN113364921A (en) 2020-03-05 2020-03-05 Call method, system and equipment

Publications (1)

Publication Number Publication Date
WO2021175254A1 true WO2021175254A1 (en) 2021-09-10

Family

ID=74232694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078891 WO2021175254A1 (en) 2020-03-05 2021-03-03 Call method, system and device

Country Status (2)

Country Link
CN (2) CN112261237A (en)
WO (1) WO2021175254A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002821A (en) * 2021-12-28 2022-09-02 荣耀终端有限公司 Call state monitoring method, device, equipment, storage medium and program product

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261237A (en) * 2020-03-05 2021-01-22 华为技术有限公司 Call method, system and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051815A (en) * 2012-11-29 2013-04-17 东莞宇龙通信科技有限公司 Call forwarding method and system
CN103634766A (en) * 2012-08-28 2014-03-12 ***通信集团公司 Incoming call forwarding method, device, system and relative equipment
CN103974216A (en) * 2014-04-01 2014-08-06 联想(北京)有限公司 Information processing method and electronic equipment
CN105101131A (en) * 2015-06-18 2015-11-25 小米科技有限责任公司 Method and device for answering incoming call
CN107682828A (en) * 2017-09-01 2018-02-09 深圳天珑无线科技有限公司 A kind of call method, terminal and the device with store function
CN107920160A (en) * 2017-10-20 2018-04-17 捷开通讯(深圳)有限公司 Call transferring method, intelligent terminal and the device with store function
CN110191241A (en) * 2019-06-14 2019-08-30 华为技术有限公司 A kind of voice communication method and relevant apparatus
CN112261237A (en) * 2020-03-05 2021-01-22 华为技术有限公司 Call method, system and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100565332B1 (en) * 2004-06-22 2006-03-30 엘지전자 주식회사 Audio output method for short message
CN103067625A (en) * 2013-01-29 2013-04-24 周万荣 Calling and data transferring method, terminals and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634766A (en) * 2012-08-28 2014-03-12 ***通信集团公司 Incoming call forwarding method, device, system and relative equipment
CN103051815A (en) * 2012-11-29 2013-04-17 东莞宇龙通信科技有限公司 Call forwarding method and system
CN103974216A (en) * 2014-04-01 2014-08-06 联想(北京)有限公司 Information processing method and electronic equipment
CN105101131A (en) * 2015-06-18 2015-11-25 小米科技有限责任公司 Method and device for answering incoming call
CN107682828A (en) * 2017-09-01 2018-02-09 深圳天珑无线科技有限公司 A kind of call method, terminal and the device with store function
CN107920160A (en) * 2017-10-20 2018-04-17 捷开通讯(深圳)有限公司 Call transferring method, intelligent terminal and the device with store function
CN110191241A (en) * 2019-06-14 2019-08-30 华为技术有限公司 A kind of voice communication method and relevant apparatus
CN112261237A (en) * 2020-03-05 2021-01-22 华为技术有限公司 Call method, system and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002821A (en) * 2021-12-28 2022-09-02 荣耀终端有限公司 Call state monitoring method, device, equipment, storage medium and program product
CN115002821B (en) * 2021-12-28 2023-04-07 荣耀终端有限公司 Call state monitoring method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113364921A (en) 2021-09-07
CN112261237A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
WO2020107466A1 (en) Point to multi-point data transmission method and device
CN112637798B (en) Communication method and terminal
US8571545B2 (en) Short-range wireless relay method and system
US8504015B2 (en) Short-range wireless relay method and system
US20230299806A1 (en) Bluetooth Communication Method, Wearable Device, and System
CN109327613B (en) Negotiation method based on voice call translation capability and electronic equipment
US8774706B2 (en) Short-range wireless mobile terminal method and system
WO2021175254A1 (en) Call method, system and device
CN113923612A (en) Call method, device and system
WO2023160265A1 (en) Incoming call response method and corresponding terminal and communication system
EP2536117A1 (en) Method and apparatus for establishing circuit switched link of wifi handheld equipment
EP4228374A1 (en) Service processing method and apparatus in terminal device supporting double cards
CN114422984A (en) Vehicle-mounted communication method and vehicle-mounted equipment
CN114466324B (en) Calling method and related device
CN114095885A (en) Call method, system and related device
CN105519148B (en) System and method for controlling conversion and output of called ring by calling party
CN114844735B (en) Display equipment and voice forwarding method
CN114844736B (en) Equipment and call control method
CN113965552A (en) Communication method of telephone audio signal, telephone system and Voice module
TW201618528A (en) Telephone conference system and method
WO2023207130A1 (en) Mobile call method and electronic device
CN114697438B (en) Method, device, equipment and storage medium for carrying out call by utilizing intelligent equipment
CN117098081B (en) Cross-equipment call service transfer method, electronic equipment and system
WO2023165513A1 (en) Communication method, electronic device, and apparatus
WO2022228046A1 (en) Call method, and electronic device

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: 21765521

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: 21765521

Country of ref document: EP

Kind code of ref document: A1