WO2021238845A1 - Call control method and apparatus, and electronic device - Google Patents

Call control method and apparatus, and electronic device Download PDF

Info

Publication number
WO2021238845A1
WO2021238845A1 PCT/CN2021/095472 CN2021095472W WO2021238845A1 WO 2021238845 A1 WO2021238845 A1 WO 2021238845A1 CN 2021095472 W CN2021095472 W CN 2021095472W WO 2021238845 A1 WO2021238845 A1 WO 2021238845A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
terminal
network
user
channel
Prior art date
Application number
PCT/CN2021/095472
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 WO2021238845A1 publication Critical patent/WO2021238845A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0027Control or signalling for completing the hand-off for data sessions of end-to-end connection for a plurality of data sessions of end-to-end connections, e.g. multi-call or multi-bearer end-to-end data connections
    • 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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Definitions

  • This application relates to the field of communication technology, and in particular to a call control method, device and electronic equipment.
  • the purpose of the embodiments of the present application is to provide a call control method, device, and electronic equipment, which can solve the problems of complicated switching operations between existing traditional phones and Internet phones and poor user experience.
  • an embodiment of the present application provides a call control method, including:
  • the first preset condition includes one of the following conditions:
  • the signal quality of the first call network is lower than a first preset threshold.
  • an embodiment of the present application provides a call control device, including:
  • the first sending module is configured to initiate a first call to the second terminal to conduct a call through the second call network when the first terminal and the second terminal call through the first call network and the first preset condition is met.
  • the switching module is configured to switch to the second communication network to talk to the second terminal when a first response message is received, and the first response message is used to indicate that the second terminal agrees to the first switching ask;
  • the first preset condition includes one of the following conditions:
  • the signal quality of the first call network is lower than a first preset threshold.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is processed by the processor.
  • the steps of the call control method as described in the first aspect are implemented when the device is executed.
  • an embodiment of the present application provides a readable storage medium that stores a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the call control method as described in the first aspect is implemented A step of.
  • the first terminal and the second terminal when the first terminal and the second terminal are in a conversation through the first communication network and the first preset condition is met, the first terminal that initiates the conversation through the second communication network is initiated to the second terminal.
  • Handover request when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request;
  • the first preset The conditions include one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than a first preset threshold, so that when switching between different call networks, the operation is simple, and It can realize smooth handover without affecting the call between the two parties on the call, and improve the user's call experience.
  • FIG. 1 is a schematic flowchart of a call control method according to an embodiment of the application
  • FIG. 2 is a schematic diagram of the interface display of the call interface according to the embodiment of the application.
  • FIG. 3 is a schematic structural diagram of a call control device according to an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the application.
  • FIG. 5 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the application.
  • first and second in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in a sequence other than those illustrated or described herein.
  • the objects distinguished by “first”, “second”, etc. are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects.
  • “and/or” in the description and claims means at least one of the connected objects, and the character “/” generally means that the associated objects before and after are in an "or” relationship.
  • an embodiment of the present application provides a schematic flowchart of a call control method.
  • the method may include:
  • Step 101 In a case where a first terminal and a second terminal are in a call through a first call network and a first preset condition is met, initiate a first handover request to the second terminal to conduct a call through the second call network;
  • the first preset condition includes one of the following conditions:
  • the signal quality of the first call network is lower than a first preset threshold.
  • receiving the user's network switching operation specifically refers to receiving the user's network switching operation on the call interface.
  • the call interface displays a handover identifier for the first terminal to switch to the second call network and call the second terminal.
  • the operation is the network switching operation.
  • the first terminal detects that the signal quality of the first call network is lower than the first preset threshold, indicating that the signal of the first call network currently in use is not good.
  • the first terminal In order to ensure the quality of the call between the first terminal and the second terminal, it is necessary to Initiate a first handover request for a call through the second call network to the second terminal.
  • Step 102 When a first response message is received, switch to the second communication network to talk to the second terminal, where the first response message is used to indicate that the second terminal agrees to the first switching request.
  • the first terminal and the second terminal are kept in conversation through the first communication network.
  • the first terminal and the second terminal when the first terminal and the second terminal are in a call through the first call network and the first preset condition is met, initiate a call to the second terminal through the second call network A first handover request; when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request; the first The preset conditions include one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than the first preset threshold, so that the operation is simple when switching between different call networks , And can achieve smooth switching without affecting the call between the two parties, and improve the user's call experience.
  • the communication between the first terminal and the second terminal through the first communication network includes one of the following:
  • the first terminal and the second terminal establish a call connection through the first call network
  • the first terminal and the second terminal are in a call state through the first call network.
  • the establishment of a call connection includes the initiating call of the first terminal as the calling terminal, and the waiting call of the first terminal as the called terminal.
  • the first call network is a circuit-switched network
  • the second call network is a data-bearing network
  • the first call network is a data-bearing network
  • the second call network is a circuit-switched network
  • the two parties in the call communicate through the circuit-switched network, that is, a traditional telephone; the two parties communicate through the data-bearing network, that is, the Internet phone that needs to use traffic.
  • the first terminal and the second terminal are in a call state through the telephone switching network.
  • the screen of a terminal displays an in-call interface, as shown in Figure 2. If the user of the first terminal perceives that the quality of the call is not good at this time, or the user of the first terminal thinks that the communication with the second terminal user C is short If the end cannot be ended, a request to switch the call through the data bearer network is initiated to the second terminal.
  • a handover request can be initiated to an instant messaging application supporting a data bearer network on the second terminal. More specifically, the switching request can be triggered by the user's preset operation (such as a click operation) on the switching indicator on the interface during the call.
  • the handover identifier A is an application icon of an instant messaging application supporting a data bearer network.
  • the first terminal and the second terminal communicate through the telephone-switched network, for example, the first terminal acts as the calling terminal through
  • the telephone switching network initiates a call (ie dialing) to the second terminal, and the dialing interface is displayed on the screen of the first terminal.
  • the dialing interface is displayed for switching the first terminal to the data bearer network to talk to the second terminal.
  • the handover identifier can be used to prompt the user of the first terminal, and can also initiate a call with the second terminal through the data bearer network.
  • the first terminal that talks with the second terminal through the telephone switching network is in the waiting state as the called terminal, that is, the waiting interface is displayed on the screen of the first terminal.
  • the waiting interface is displayed on the waiting interface.
  • the switching identifier for the first terminal to switch to the data bearer network to talk with the second terminal can be used to prompt the user of the first terminal, and the call initiated by the second terminal can also be answered through the data bearer network.
  • the above example is mainly for the case where the first call network is a circuit-switched network and the second call network is a data bearer network, and vice versa, and will not be repeated here.
  • initiating a first handover request to the second terminal to conduct a call through the second call network in step 101 of the embodiment of the present application may include:
  • the second user ID is obtained according to the first user ID
  • a handover ID is displayed on the call interface of the first terminal
  • the first user ID is the first terminal and the second terminal passing through the
  • the second user identifier is the user identifier used when the first terminal and the second terminal call through the second call network
  • the second user The identifier has a preset association relationship with the first user identifier, and both correspond to the user of the second terminal;
  • the first terminal searches for the second user ID in the instant messaging application that supports the second call network at the local end, and if found, Then, the handover indicator is displayed on the call interface of the first terminal.
  • the user of the second terminal has a communication account of the instant messaging application supporting the second call network, and the user of the second terminal can be contacted through the communication account.
  • the first terminal cannot find the second user ID in the instant messaging application that supports the second call network at the local end, then keep the first terminal and The second terminal makes a call through the first call network, that is, no handover identifier is displayed on the call interface of the first terminal.
  • it if it cannot be found, it means that the user of the second terminal does not have a communication account of an instant messaging application supporting the second call network.
  • the first user identification may be the phone number of the user of the second terminal; the second user identification may be the communication account of the instant messaging application of the second terminal supporting the data bearer network.
  • first user ID and the second user ID may be the same ID or different IDs.
  • first user ID and the second user ID have a preset association relationship, such as pre-defined Assuming the binding relationship, that is, the second user identification can be obtained through the first user identification and the preset association relationship.
  • the call interface may include an interface during a call, a dialing interface, or a waiting interface. Refer to Figure 2 for details.
  • the handover identifier of the call interface is used to prompt the user of the first terminal to communicate with the second terminal through the second call network.
  • the switching mark of the call interface is a graphic mark. In this way, it is more intuitive and convenient for users to operate.
  • the switching identifier is an application icon of an instant messaging application supporting the second call network. Receiving the first input of the handover identifier;
  • the first input is a preset input.
  • the first input may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input, and swipe input, that is, the first input
  • An input can be one of the above-mentioned inputs, or can also be a combined operation of two or more of the inputs.
  • the first input is the user's network switching operation.
  • the first call network is a circuit-switched network
  • the second call network is a data bearer network
  • the second terminal initiates a call through the second call network to the second terminal.
  • the method of the embodiment of the present application may further include:
  • a heartbeat packet can be sent to the instant messaging application of the second terminal that supports the second call network (the instant messaging application corresponding to the second user identification) to detect whether the second terminal is enabled.
  • the call network that is, whether the data bearer network is turned on, that is, whether it supports the use of network traffic; if the heartbeat fails, it is not turned on; if the heartbeat packet returns successfully, it is determined that the second terminal opens the second call network. That is, perform the following steps.
  • first prompt information is generated, and the first prompt information is used to prompt the user of the first terminal that the second terminal has not started the second call network. That is to remind the user of the first terminal that the second terminal does not support the use of the second call network when the second terminal talks with the first terminal through the first call network. In this implementation manner, that is, the first terminal is reminded that the other party does not support network communication during the traditional phone call.
  • the method step 102 of the embodiment of the present application may include:
  • the call connection with the second terminal on the first call network needs to be maintained.
  • the purpose is to avoid hanging up during the handover process. On the phone, there will be no voice interruption, and the user can continue the normal call, thereby achieving smooth switching and improving the user's call experience.
  • the first call channel is the call channel between the first terminal and the second terminal based on the first call network;
  • the second terminal side after the call connection with the first terminal on the second call network is established, also controls the audio output module of the second terminal to play the call data transmitted through the first call channel.
  • the central control program of the first terminal and the second terminal continues to allow the first call channel to collect and transmit voice data and occupy Audio output module and other hardware permissions.
  • the audio output module can be a receiver or a speaker.
  • the audio output module of the first terminal is controlled to play the call data transmitted through the first call channel, that is, the first call data.
  • the first terminal and the The second call channel between the second terminals may not collect and transmit any data, and only maintain the connection state.
  • the first terminal can also be controlled to collect and transmit call data through the second call channel, but the audio output module of the first terminal does not play the call data transmitted by the second call channel.
  • the audio output module is controlled to play the second call data, the first call channel is closed, and the communication with the first call channel is disconnected.
  • the call connection of the two terminals on the first call network, the second call channel is based on the second call network, the call channel between the first terminal and the second terminal, the second call
  • the data is call data transmitted through the second call channel.
  • the heartbeat test can be used to detect whether the second call channel is in a data transmission state, that is, whether the second call channel can normally transmit data.
  • the second call channel is closed, and a second prompt message is generated.
  • the second prompt message is used to prompt the first terminal user that the handover fails.
  • the second prompt message may be displayed on the call interface where the first terminal and the second terminal are talking, and may be a text prompt, such as "switching failed, please try again later.”
  • the second preset condition includes one of the following conditions:
  • the call data transmitted through the first call channel is not detected within the first preset time period
  • the first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
  • the second preset condition is that the call data transmitted through the first call channel is not detected within the first preset time period, it means that there is a pause in the current communication process, and if there is a pause in time , Control the audio output module to play the call data transmitted through the second call channel, that is, the second call data, so that there will be no voice interruption, and the user can continue the normal call, thereby achieving smooth switching and improving the user's call experience .
  • the second preset condition is that the first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and is input to the audio output module synchronously
  • the audio output module receives the same call data from the two call channels at the same time. At this time, the audio output module is controlled to play the call data transmitted through the second call channel, that is, the second call data. If the voice is interrupted, the user can continue the normal call, so as to achieve smooth switching and improve the user's call experience.
  • whether the call data is the same can be determined by analyzing the content of the call, the capacity occupied by the call data, etc., and whether the two call data are synchronized can be judged through the time stamp information.
  • the first call channel is closed, and the second terminal is disconnected from the first terminal.
  • the method of the embodiment of the present application may further include:
  • the data volume of the call data transmitted through the second call channel exceeds a second preset threshold.
  • the purpose of this step is to determine that the second call channel can communicate normally.
  • the data volume of the call data transmitted through the second call channel exceeds the second preset threshold, indicating that the current second call channel
  • the network speed of the call network can meet the requirements of normal operation.
  • the first call channel is closed and the call connection with the second terminal on the first call network is disconnected, which can ensure that the call is switched over. It has better call quality, avoids frequent switching and waste of resources.
  • the second call channel is closed, and a third prompt message is generated.
  • the third prompt message is used to prompt the first terminal user that the handover fails.
  • the third prompt message may be displayed on the call interface where the first terminal and the second terminal are talking, and may be a text prompt, such as "switching failed, please try again later.”
  • the method in the embodiment of the present application may further include:
  • the communication with the third terminal through the third communication network includes one of the following:
  • the first terminal and the third terminal establish a call connection through the third call network
  • the first terminal and the second terminal are in a call state through the third call network.
  • a second response message is sent, and the third user identification is that the third terminal and the first terminal pass through the The user identifier used during the call on the third call network, the fourth user identifier is the user identifier used when the third terminal and the first terminal call through the fourth call network, and the second response The message is used to indicate that the third terminal agrees to the second handover request.
  • the third call network is a circuit-switched network
  • the fourth call network is a data-bearing network
  • the third call network is a data-bearing network
  • the fourth call network is a circuit-switched network
  • the first terminal and the second terminal when the first terminal and the second terminal are in a call through the first call network and the first preset condition is met, initiate a call to the second terminal through the second call network A first handover request; when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request; the The first preset condition includes one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than a first preset threshold, so that when switching between different call networks is performed, The operation is simple, and it can realize smooth handover without affecting the call of both parties, and improve the user's call experience.
  • the execution subject may be a call control device, or a control module for executing the call control method in the call control device.
  • the call control method executed by the call control device is taken as an example to illustrate the call control device provided in the embodiment of the present application.
  • the call control device may include:
  • the first sending module 301 is configured to initiate a call to the second terminal through the second call network when the first terminal and the second terminal call through the first call network and meet the first preset condition.
  • the switching module 302 is configured to switch to the second communication network to talk to the second terminal when a first response message is received, and the first response message is used to indicate that the second terminal agrees to the first Handover request
  • the first preset condition includes one of the following conditions:
  • the signal quality of the first call network is lower than a first preset threshold.
  • the first sending module 301 includes:
  • the display unit is configured to display a handover identifier on the call interface of the first terminal when the second user identifier is obtained according to the first user identifier, where the first user identifier is the first terminal and the second user identifier.
  • the second user ID and the first user ID have a preset association relationship, and both correspond to the user of the second terminal;
  • a receiving unit configured to receive the first input of the handover identifier
  • the sending unit is configured to, in response to the first input, initiate a first handover request to the second terminal to conduct a call through the second call network based on the second user identifier.
  • the first call network is a circuit-switched network
  • the second call network is a data bearer network
  • the call control device further includes:
  • the detection module is configured to detect whether the second terminal has started the second call network; if so, initiate a first handover request for the second terminal to conduct a call through the second communication network.
  • the switching module 302 includes:
  • a call connection establishment unit configured to establish a call connection with the second terminal through the second call network
  • the first control unit is configured to control the audio output module of the first terminal to play the first call data after the call connection with the second terminal in the second call network is established. Is call data transmitted through a first call channel, where the first call channel is a call channel between the first terminal and the second terminal based on the first call network;
  • the second control unit is configured to control the audio output module to play the second call data and close the first call channel when it is detected that the second call channel is in a data transmission state and the second preset condition is met, And disconnect the call connection with the second terminal on the first call network, the second call channel is based on the second call network, the call between the first terminal and the second terminal Channel, the second call data is call data transmitted through the second call channel.
  • the second preset condition includes one of the following conditions:
  • the call data transmitted through the first call channel is not detected within the first preset time period
  • the first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
  • the call control device further includes:
  • the determining unit is configured to determine that before the first call channel is closed and the call connection to the second terminal on the first call network is disconnected, it is determined to pass the second call within a second preset time period.
  • the data volume of the call data transmitted by the channel exceeds the second preset threshold.
  • the call control device further includes:
  • a receiving module configured to receive a second handover request initiated by the third terminal to conduct a call through the fourth call network in the case of a call with a third terminal through the third call network;
  • the second sending module is configured to send a second response message when the third user ID and the fourth user ID both correspond to the user of the third terminal, and the third user ID is the third terminal and the user.
  • the third call network is a circuit-switched network
  • the fourth call network is a data-bearing network
  • the third call network is a data-bearing network
  • the fourth call network is a circuit-switched network
  • the first sending module initiates a second call to the second terminal when the first terminal and the second terminal are in a call through the first call network and the first preset condition is met.
  • a first handover request for a call on the network when the handover module receives a first response message, it switches to the second call network to talk to the second terminal, and the first response message is used to indicate the second terminal
  • the first handover request is agreed;
  • the first preset condition includes one of the following conditions: a user's network handover operation is received; the signal quality of the first call network is lower than a first preset threshold, and so, When switching between different call networks, the operation is simple, and it can achieve smooth switching without affecting the call between the two parties, and improve the user's call experience.
  • the call control device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal.
  • the device can be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital device.
  • Assistant (personal digital assistant, PDA), etc., non-mobile electronic devices can be Network Attached Storage (NAS), personal computer (PC), television (television, TV), teller machine or self-service machine, etc.,
  • NAS Network Attached Storage
  • PC personal computer
  • TV television
  • teller machine or self-service machine etc.
  • the call control device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the call control device provided in the embodiment of the present application can implement each process implemented by the call control device in the method embodiments of FIG. 1 to FIG.
  • an embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and a program or instruction that is stored on the memory 402 and can run on the processor 401,
  • a program or instruction that is stored on the memory 402 and can run on the processor 401
  • the program or instruction is executed by the processor 401, each process of the above-mentioned call control method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 5 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, etc. part.
  • the electronic device 500 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the processor 510 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions.
  • the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
  • the processor 510 is configured to initiate a call to the second terminal through the second call network when the first terminal and the second terminal call through the first call network and the first preset condition is met.
  • a handover request when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request
  • the first preset condition includes one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than a first preset threshold.
  • the electronic device of the embodiment of the present application has simple operation when switching between different call networks, and can realize smooth switching without affecting the call of both parties in the call, and improve the user's call experience.
  • the display unit 506 is configured to display a handover identifier on the call interface of the first terminal in the case that a second user identifier is obtained according to the first user identifier, and the first user identifier is the first user identifier.
  • the user identifier used when the terminal and the second terminal communicate through the first communication network
  • the second user identifier is the user identifier used when the first terminal and the second terminal communicate through the second communication network.
  • the user ID used, the second user ID has a preset association relationship with the first user ID, and both correspond to the user of the second terminal;
  • the user input unit 507 is configured to receive the second user ID of the handover ID An input;
  • the processor 510 is further configured to, in response to the first input, initiate a first handover request to the second terminal to conduct a call through the second call network based on the second user identifier.
  • the first call network is a circuit-switched network
  • the second call network is a data bearer network
  • the processor 510 is further configured to detect whether the second terminal turns on the second call network
  • the processor 510 is further configured to establish a call connection with the second terminal through the second call network;
  • the first call channel is the call channel between the first terminal and the second terminal based on the first call network;
  • the audio output module is controlled to play the second call data, the first call channel is closed, and the communication with the first call channel is disconnected.
  • the call connection of the two terminals on the first call network, the second call channel is based on the second call network, the call channel between the first terminal and the second terminal, the second call
  • the data is call data transmitted through the second call channel.
  • the second preset condition includes one of the following conditions:
  • the call data transmitted through the first call channel is not detected within the first preset time period
  • the first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
  • the processor 501 is further configured to determine that the data volume of the call data transmitted through the second call channel exceeds a second preset threshold within the second preset time period.
  • the processor 501 is further configured to receive a second handover request initiated by the third terminal to conduct a call through a fourth call network when the third terminal is in a call through a third call network;
  • a second response message is sent, and the third user identification is that the third terminal and the first terminal pass through the The user identifier used during the call on the third call network, the fourth user identifier is the user identifier used when the third terminal and the first terminal call through the fourth call network, and the second response The message is used to indicate that the third terminal agrees to the second handover request.
  • the third call network is a circuit-switched network
  • the fourth call network is a data-bearing network
  • the third call network is a data-bearing network
  • the fourth call network is a circuit-switched network
  • the electronic device of the embodiment of the present application has simple operation when switching between different call networks, and can realize smooth switching without affecting the call of both parties in the call, and improve the user's call experience.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
  • the graphics processor 5041 is paired by the image capture device ( For example, the image data of the still picture or video obtained by the camera) is processed.
  • the display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072.
  • the touch panel 5071 is also called a touch screen.
  • the touch panel 5071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the memory 509 may be used to store software programs and various data, including but not limited to application programs and operating systems.
  • the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
  • the embodiment of the present application also provides a readable storage medium with a program or instruction stored on the readable storage medium.
  • the program or instruction is executed by a processor, each process of the above-mentioned call control method embodiment is realized, and the same can be achieved. In order to avoid repetition, I won’t repeat them here.
  • the processor is the processor in the electronic device described in the foregoing embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above-mentioned call control method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run a program or an instruction to implement the above-mentioned call control method embodiment
  • chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in the present application are a call control method and apparatus, and an electronic device. The method comprises: when a first terminal and a second terminal make a call with one another by means of a first call network and satisfy a first preset condition, initiating a first handover request to the second terminal for making a call by means of a second call network; and when a first response message is received, handing over to the second call network to make a call with the second terminal, the first response message being used to indicate that the second terminal agrees to the first handover request, and the first preset condition comprising one among the following conditions: receiving a network handover operation of a user, and the signal quality of the first call network being lower than a first preset threshold.

Description

通话控制方法、装置及电子设备Call control method, device and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年5月27日在中国提交的中国专利申请号No.202010462460.1的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010462460.1 filed in China on May 27, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域,特别是涉及一种通话控制方法、装置及电子设备。This application relates to the field of communication technology, and in particular to a call control method, device and electronic equipment.
背景技术Background technique
随着网络电话技术的发展,其低资费、高通话质量等优点,受到大众的青睐,用户使用网络电话的频率也越来越高。所以,用户想要通过电话和他人沟通除了选择基于电路交换的传统电话外,还可以选择网络电话。With the development of Internet telephony technology, its advantages such as low tariff and high call quality are favored by the public, and the frequency of users using Internet telephony is also increasing. Therefore, users who want to communicate with others over the phone can choose not only traditional telephones based on circuit switching, but also Internet telephones.
例如,正在使用网络电话的用户进入网络信号不好的区域时,用户需要切换到传统电话来提升通话质量,此时通常的操作是:用户需先挂断网络电话,然后找到对方的手机号码,再拨打过去。For example, when a user who is using an Internet phone enters an area with poor Internet signal, the user needs to switch to a traditional phone to improve the quality of the call. At this time, the usual operation is: the user needs to hang up the Internet phone first, and then find the other party’s mobile phone number. Call it again.
而正在使用传统电话的用户,发现某个话题短时间内无法结束,此时为了节省资费,可以使用网络电话来继续沟通。但是用户也是需要先告知对方,然后在挂断电话,再拨打对方的网络电话。However, users who are using traditional phones find that a topic cannot be ended in a short time. At this time, in order to save money, they can use the Internet phone to continue communication. However, the user also needs to inform the other party first, then hang up the phone, and then dial the other party's Internet phone.
上述无论是由使用传统电话切换到使用网络电话,还是由使用网络电话切换到使用传统电话,其操作上都较为繁琐,且属于基于硬件上的硬切换,用户体验不佳。Regardless of whether it is switching from using a traditional phone to using an Internet phone, or switching from using an Internet phone to using a traditional phone, the operation is relatively cumbersome, and it is a hardware-based hard switch, and the user experience is not good.
发明内容Summary of the invention
本申请实施例的目的是提供一种通话控制方法、装置及电子设备,能够解决现有传统电话与网络电话之间的切换操作繁琐,用户体验不佳的问题。The purpose of the embodiments of the present application is to provide a call control method, device, and electronic equipment, which can solve the problems of complicated switching operations between existing traditional phones and Internet phones and poor user experience.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种通话控制方法,包括:In the first aspect, an embodiment of the present application provides a call control method, including:
在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;In the case where the first terminal and the second terminal are talking through the first call network and the first preset condition is met, initiate a first handover request for the second terminal to conduct the call through the second call network;
当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求;When receiving a first response message, switch to the second communication network to talk to the second terminal, where the first response message is used to indicate that the second terminal agrees to the first switching request;
所述第一预设条件包括以下条件中的一者:The first preset condition includes one of the following conditions:
接收到用户的网络切换操作;Receive the user's network switching operation;
所述第一通话网络的信号质量低于第一预设阈值。The signal quality of the first call network is lower than a first preset threshold.
第二方面,本申请实施例提供了一种通话控制装置,包括:In the second aspect, an embodiment of the present application provides a call control device, including:
第一发送模块,用于在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;The first sending module is configured to initiate a first call to the second terminal to conduct a call through the second call network when the first terminal and the second terminal call through the first call network and the first preset condition is met. Handover request
切换模块,用于在接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求;The switching module is configured to switch to the second communication network to talk to the second terminal when a first response message is received, and the first response message is used to indicate that the second terminal agrees to the first switching ask;
所述第一预设条件包括以下条件中的一者:The first preset condition includes one of the following conditions:
接收到用户的网络切换操作;Receive the user's network switching operation;
所述第一通话网络的信号质量低于第一预设阈值。The signal quality of the first call network is lower than a first preset threshold.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的通话控制方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is processed by the processor. The steps of the call control method as described in the first aspect are implemented when the device is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的通话控制方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium that stores a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the call control method as described in the first aspect is implemented A step of.
在本申请实施例中,在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,第一响应消息用于表示第二终端同意第一切换请求;所述第一预设条件包括以下条件中的一者:接收到用户的网络切换操作;所述第一通话网络的信号质量低于第一预设阈值,如此,在不同通话网络之间执 行切换时,操作简单,且能够在不影响通话双方通话的前提下,实现平滑切换,提升用户通话体验。In the embodiment of the present application, when the first terminal and the second terminal are in a conversation through the first communication network and the first preset condition is met, the first terminal that initiates the conversation through the second communication network is initiated to the second terminal. Handover request; when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request; the first preset The conditions include one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than a first preset threshold, so that when switching between different call networks, the operation is simple, and It can realize smooth handover without affecting the call between the two parties on the call, and improve the user's call experience.
附图说明Description of the drawings
图1为本申请实施例的通话控制方法的流程示意图;FIG. 1 is a schematic flowchart of a call control method according to an embodiment of the application;
图2为本申请实施例的通话界面的界面显示示意图;2 is a schematic diagram of the interface display of the call interface according to the embodiment of the application;
图3为本申请实施例的通话控制装置的结构示意图;FIG. 3 is a schematic structural diagram of a call control device according to an embodiment of the application;
图4为本申请实施例的电子设备的结构示意图;FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the application;
图5为本申请实施例的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the 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.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first" and "second" in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in a sequence other than those illustrated or described herein. In addition, the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the description and claims means at least one of the connected objects, and the character "/" generally means that the associated objects before and after are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的通话控制方法进行详细地说明。In the following, the call control method provided by the embodiments of the present application will be described in detail through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,本申请实施例提供一种通话控制方法的流程示意图。该方法可包括:As shown in FIG. 1, an embodiment of the present application provides a schematic flowchart of a call control method. The method may include:
步骤101,在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;Step 101: In a case where a first terminal and a second terminal are in a call through a first call network and a first preset condition is met, initiate a first handover request to the second terminal to conduct a call through the second call network;
本步骤中,所述第一预设条件包括以下条件中的一者:In this step, the first preset condition includes one of the following conditions:
接收到用户的网络切换操作;Receive the user's network switching operation;
所述第一通话网络的信号质量低于第一预设阈值。The signal quality of the first call network is lower than a first preset threshold.
需要说明的是,接收到用户的网络切换操作具体是指,接收到用户在通话界面上的网络切换操作。It should be noted that receiving the user's network switching operation specifically refers to receiving the user's network switching operation on the call interface.
比如,在第一终端与第二终端通过第一通话网络通话的情况下,通话界面显示用于使第一终端切换至第二通话网络与第二终端通话的切换标识,用户对该切换标识的操作即为网络切换操作。For example, in the case where the first terminal and the second terminal are in a call through the first call network, the call interface displays a handover identifier for the first terminal to switch to the second call network and call the second terminal. The operation is the network switching operation.
这里,第一终端检测到第一通话网络的信号质量低于第一预设阈值,说明当前使用的第一通话网络信号不好,为了保证第一终端与第二终端之间的通话质量,需向第二终端发起通过第二通话网络进行通话的第一切换请求。Here, the first terminal detects that the signal quality of the first call network is lower than the first preset threshold, indicating that the signal of the first call network currently in use is not good. In order to ensure the quality of the call between the first terminal and the second terminal, it is necessary to Initiate a first handover request for a call through the second call network to the second terminal.
步骤102,当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求。Step 102: When a first response message is received, switch to the second communication network to talk to the second terminal, where the first response message is used to indicate that the second terminal agrees to the first switching request.
需要说明的是,当接收到第二终端拒绝该第一切换请求的响应消息时,则保持第一终端与第二终端通过第一通话网络通话。It should be noted that when a response message that the second terminal rejects the first handover request is received, the first terminal and the second terminal are kept in conversation through the first communication network.
本申请实施例的通话控制方法,在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,第一响应消息用于表示第二终端同意第一切换请求;所述第一预设条件包括以下条件中的一者:接收到用户的网络切换操作;所述第一通话网络的信号质量低于第一预设阈值,如此,在不同通话网络之间执行切换时,操作简单,且能够在不影响通话双方通话的前提下,实现平滑切换,提升用户通话体验。In the call control method of the embodiment of the present application, when the first terminal and the second terminal are in a call through the first call network and the first preset condition is met, initiate a call to the second terminal through the second call network A first handover request; when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request; the first The preset conditions include one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than the first preset threshold, so that the operation is simple when switching between different call networks , And can achieve smooth switching without affecting the call between the two parties, and improve the user's call experience.
可选地,第一终端通过第一通话网络与第二终端通话包括以下中的一者:Optionally, the communication between the first terminal and the second terminal through the first communication network includes one of the following:
第一终端与第二终端通过第一通话网络建立通话连接;The first terminal and the second terminal establish a call connection through the first call network;
第一终端与第二终端通过第一通话网络处于通话状态。The first terminal and the second terminal are in a call state through the first call network.
需要说明的是,建立通话连接包括第一终端作为主叫终端的发起通话中、第一终端作为被叫终端的待接听中。It should be noted that the establishment of a call connection includes the initiating call of the first terminal as the calling terminal, and the waiting call of the first terminal as the called terminal.
可选地,所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络;或者,所述第一通话网络为数据承载网络,所述第二通话网络为电路交换网络。Optionally, the first call network is a circuit-switched network, and the second call network is a data-bearing network; or, the first call network is a data-bearing network, and the second call network is a circuit-switched network.
这里,通话双方通过电路交换网络通话,也就是传统电话;通话双方通过数据承载网络通话,也就是需要使用流量的网络电话。Here, the two parties in the call communicate through the circuit-switched network, that is, a traditional telephone; the two parties communicate through the data-bearing network, that is, the Internet phone that needs to use traffic.
需要说明的是,在所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络的情况下,第一终端与第二终端通过电话交换网络处于通话状态的过程中,第一终端的屏幕上显示通话中界面,如图2所示,若此时第一终端的用户察觉到通话质量不佳时,或者,第一终端的用户认为与第二终端用户C的沟通短时间无法结束,则向第二终端发起通过数据承载网络进行通话的切换请求。It should be noted that when the first call network is a circuit-switched network, and the second call network is a data bearer network, the first terminal and the second terminal are in a call state through the telephone switching network. The screen of a terminal displays an in-call interface, as shown in Figure 2. If the user of the first terminal perceives that the quality of the call is not good at this time, or the user of the first terminal thinks that the communication with the second terminal user C is short If the end cannot be ended, a request to switch the call through the data bearer network is initiated to the second terminal.
具体的,可向第二终端上支持数据承载网络的即时通讯应用发起切换请求。更具体的,可通过用户对通话中界面上的切换标识的预设操作(如点击操作),触发切换请求。一般地,如图2所示,切换标识A为支持数据承载网络的即时通讯应用的应用图标,Specifically, a handover request can be initiated to an instant messaging application supporting a data bearer network on the second terminal. More specifically, the switching request can be triggered by the user's preset operation (such as a click operation) on the switching indicator on the interface during the call. Generally, as shown in Figure 2, the handover identifier A is an application icon of an instant messaging application supporting a data bearer network.
之后,在接收到第二终端同意该切换请求的响应消息时,切换至数据承载网络与第二终端通话。如此,能够提升第一终端与第二终端之间的通话质量,或者,第一终端与第二终端之间的通话通过数据网络进行,消耗流量,相比于传统电话,节省资费。Afterwards, when receiving a response message that the second terminal agrees to the handover request, switch to the data bearer network to talk with the second terminal. In this way, the quality of the call between the first terminal and the second terminal can be improved, or the call between the first terminal and the second terminal is conducted through a data network, which consumes data and saves charges compared to traditional phones.
另外,在所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络的情况下,第一终端与第二终端通过电话交换网络通话,如第一终端作为主叫终端通过电话交换网络向第二终端发起通话(即拨号),第一终端的屏幕上显示拨号界面,可参考图2,在拨号界面上显示用于使第一终端切换至数据承载网络与第二终端通话的切换标识,可用于提示第一终端的用户,还可以通过数据承载网络与第二终端发起通话。In addition, when the first call network is a circuit-switched network and the second call network is a data-bearing network, the first terminal and the second terminal communicate through the telephone-switched network, for example, the first terminal acts as the calling terminal through The telephone switching network initiates a call (ie dialing) to the second terminal, and the dialing interface is displayed on the screen of the first terminal. Refer to Figure 2. The dialing interface is displayed for switching the first terminal to the data bearer network to talk to the second terminal. The handover identifier can be used to prompt the user of the first terminal, and can also initiate a call with the second terminal through the data bearer network.
又如,通过电话交换网络与第二终端通话的第一终端作为被叫终端处于待接听状态,即第一终端的屏幕上显示待接听界面,可参考图2,在待接听界面上显示用于使第一终端切换至数据承载网络与第二终端通话的切换标识,可用于提示第一终端的用户,还可以通过数据承载网络接听第二终端发起的 通话。For another example, the first terminal that talks with the second terminal through the telephone switching network is in the waiting state as the called terminal, that is, the waiting interface is displayed on the screen of the first terminal. Refer to Figure 2, the waiting interface is displayed on the waiting interface. The switching identifier for the first terminal to switch to the data bearer network to talk with the second terminal can be used to prompt the user of the first terminal, and the call initiated by the second terminal can also be answered through the data bearer network.
上述示例主要针对第一通话网络为电路交换网络,第二通话网络为数据承载网络的情况,反之亦然,这里不再赘述。The above example is mainly for the case where the first call network is a circuit-switched network and the second call network is a data bearer network, and vice versa, and will not be repeated here.
作为一可选地实现方式,本申请实施例的步骤101中向所述第二终端发起通过第二通话网络进行通话的第一切换请求可包括:As an optional implementation manner, initiating a first handover request to the second terminal to conduct a call through the second call network in step 101 of the embodiment of the present application may include:
在根据第一用户标识获取到第二用户标识的情况下,在所述第一终端的通话界面显示切换标识,所述第一用户标识为所述第一终端与所述第二终端通过所述第一通话网络通话时所使用的用户标识,所述第二用户标识为所述第一终端与所述第二终端通过所述第二通话网络通话时所使用的用户标识,所述第二用户标识与所述第一用户标识具有预设关联关系,且均对应所述第二终端的用户;In the case that the second user ID is obtained according to the first user ID, a handover ID is displayed on the call interface of the first terminal, and the first user ID is the first terminal and the second terminal passing through the The user identifier used during the first call network call, the second user identifier is the user identifier used when the first terminal and the second terminal call through the second call network, the second user The identifier has a preset association relationship with the first user identifier, and both correspond to the user of the second terminal;
需要说明的是,根据第二用户标识与第一用户标识之间的预设关联关系,第一终端在本端支持第二通话网络的即时通讯应用中查找该第二用户标识,若查找到,则在所述第一终端的通话界面显示切换标识。这里,若能查找到,说明第二终端的用户具有支持第二通话网络的即时通讯应用的通讯账号,通过该通讯账号便可联系到第二终端的用户。It should be noted that, according to the preset association relationship between the second user ID and the first user ID, the first terminal searches for the second user ID in the instant messaging application that supports the second call network at the local end, and if found, Then, the handover indicator is displayed on the call interface of the first terminal. Here, if it can be found, it means that the user of the second terminal has a communication account of the instant messaging application supporting the second call network, and the user of the second terminal can be contacted through the communication account.
若根据第二用户标识与第一用户标识之间的预设关联关系,第一终端在本端支持第二通话网络的即时通讯应用中查找不到该第二用户标识,则保持第一终端与第二终端通过第一通话网络通话,也就是在所述第一终端的通话界面不显示切换标识。这里,若不能查到,说明第二终端的用户不具有支持第二通话网络的即时通讯应用的通讯账号。If according to the preset association relationship between the second user ID and the first user ID, the first terminal cannot find the second user ID in the instant messaging application that supports the second call network at the local end, then keep the first terminal and The second terminal makes a call through the first call network, that is, no handover identifier is displayed on the call interface of the first terminal. Here, if it cannot be found, it means that the user of the second terminal does not have a communication account of an instant messaging application supporting the second call network.
这里,在第一通话网络为电路交换网络时,第一用户标识可为第二终端的用户的电话号码;第二用户标识可为第二终端支持数据承载网络的即时通讯应用的通讯账号。Here, when the first call network is a circuit-switched network, the first user identification may be the phone number of the user of the second terminal; the second user identification may be the communication account of the instant messaging application of the second terminal supporting the data bearer network.
需要说明的是,第一用户标识与第二用户标识可以为相同标识,也可为不同标识,在为不同标识的情况下,第一用户标识与第二用户标识具有预设关联关系,比如预设绑定关系,也就是通过第一用户标识以及预设关联关系,能够获取到第二用户标识。It should be noted that the first user ID and the second user ID may be the same ID or different IDs. In the case of different IDs, the first user ID and the second user ID have a preset association relationship, such as pre-defined Assuming the binding relationship, that is, the second user identification can be obtained through the first user identification and the preset association relationship.
这里,通话界面可包括通话中界面、拨打界面或者待接听界面。具体可 参见图2。Here, the call interface may include an interface during a call, a dialing interface, or a waiting interface. Refer to Figure 2 for details.
需要说明的是,通话界面的切换标识用于提示第一终端的用户,还可通过第二通话网络与第二终端通话。较佳地,通话界面的切换标识为图形标识。这样,更加直观,且便于用户操作。比如,切换标识为支持第二通话网络的即时通讯应用的应用图标。接收对所述切换标识的第一输入;It should be noted that the handover identifier of the call interface is used to prompt the user of the first terminal to communicate with the second terminal through the second call network. Preferably, the switching mark of the call interface is a graphic mark. In this way, it is more intuitive and convenient for users to operate. For example, the switching identifier is an application icon of an instant messaging application supporting the second call network. Receiving the first input of the handover identifier;
这里,第一输入为预先设置的输入。可选地,该第一输入为可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第一输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合操作。Here, the first input is a preset input. Optionally, the first input may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input, and swipe input, that is, the first input An input can be one of the above-mentioned inputs, or can also be a combined operation of two or more of the inputs.
需要说明的是,第一输入即为用户的网络切换操作。It should be noted that the first input is the user's network switching operation.
响应于所述第一输入,基于所述第二用户标识,向所述第二终端发起通过所述第二通话网络进行通话的第一切换请求。In response to the first input, based on the second user identifier, initiate a first handover request for a call through the second call network to the second terminal.
作为一可选地实现方式,所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络;在步骤101中向所述第二终端发起通过第二通话网络进行通话的第一切换请求之前,本申请实施例的方法还可包括:As an optional implementation manner, the first call network is a circuit-switched network, and the second call network is a data bearer network; in step 101, the second terminal initiates a call through the second call network to the second terminal. Before a handover request, the method of the embodiment of the present application may further include:
检测所述第二终端是否开启所述第二通话网络;Detecting whether the second terminal turns on the second call network;
本步骤中,具体的,通过第二用户标识,可向第二终端支持第二通话网络的即时通讯应用(第二用户标识对应的即时通讯应用)发送心跳包,检测第二终端是否开启第二通话网络,即是否开启数据承载网络,也就是说,是否支持网络流量使用;若心跳失败,则未开启;若心跳包成功返回,则确定第二终端开启所述第二通话网络。即执行下述步骤。In this step, specifically, through the second user identification, a heartbeat packet can be sent to the instant messaging application of the second terminal that supports the second call network (the instant messaging application corresponding to the second user identification) to detect whether the second terminal is enabled. The call network, that is, whether the data bearer network is turned on, that is, whether it supports the use of network traffic; if the heartbeat fails, it is not turned on; if the heartbeat packet returns successfully, it is determined that the second terminal opens the second call network. That is, perform the following steps.
若是,则执行向所述第二终端发起通过第二通信网络进行通话的第一切换请求的步骤。If yes, execute the step of initiating a first handover request to the second terminal to conduct a call through the second communication network.
需要说明的是,若检测到第二终端未开启所述第二通话网络,生成第一提示信息,该第一提示信息用于提示第一终端的用户,第二终端未开启第二通话网络。也就是提醒第一终端的用户,第二终端在通过第一通话网络与第一终端通话时,不支持使用第二通话网络。本实现方式中,也就是,提醒第一终端,对方传统电话时不支持网络通信。It should be noted that if it is detected that the second terminal has not started the second call network, first prompt information is generated, and the first prompt information is used to prompt the user of the first terminal that the second terminal has not started the second call network. That is to remind the user of the first terminal that the second terminal does not support the use of the second call network when the second terminal talks with the first terminal through the first call network. In this implementation manner, that is, the first terminal is reminded that the other party does not support network communication during the traditional phone call.
作为一可选地实现方式,本申请实施例的方法步骤102可包括:As an optional implementation manner, the method step 102 of the embodiment of the present application may include:
与所述第二终端通过所述第二通话网络建立通话连接;Establishing a call connection with the second terminal through the second call network;
本步骤中,在与所述第二终端通过所述第二通话网络建立通话连接时,需要保持与第二终端在第一通话网络的通话连接,其目的是为了在切换过程中,不用挂断电话,也不会有语音中断,用户可以继续正常通话,从而实现平滑切换,提升用户的通话体验。In this step, when establishing a call connection with the second terminal through the second call network, the call connection with the second terminal on the first call network needs to be maintained. The purpose is to avoid hanging up during the handover process. On the phone, there will be no voice interruption, and the user can continue the normal call, thereby achieving smooth switching and improving the user's call experience.
在与所述第二终端在所述第二通话网络的通话连接建立完成后,控制所述第一终端的音频输出模块播放第一通话数据,所述第一通话数据为通过第一通话通道传输的通话数据,所述第一通话通道为基于所述第一通话网络,所述第一终端与所述第二终端之间的通话通道;After the call connection with the second terminal on the second call network is established, the audio output module of the first terminal is controlled to play the first call data, and the first call data is transmitted through the first call channel The first call channel is the call channel between the first terminal and the second terminal based on the first call network;
本步骤中,第二终端侧,在与第一终端在第二通话网络的通话连接建立完成后,同样是控制第二终端的音频输出模块播放通过第一通话通道传输的通话数据。In this step, the second terminal side, after the call connection with the first terminal on the second call network is established, also controls the audio output module of the second terminal to play the call data transmitted through the first call channel.
也就是说,在与所述第二终端在所述第二通话网络的通话连接建立完成后,第一终端与第二终端的中控程序继续让第一通话通道来采集和传输语音数据以及占用音频输出模块等硬件权限。That is to say, after the call connection with the second terminal on the second call network is established, the central control program of the first terminal and the second terminal continues to allow the first call channel to collect and transmit voice data and occupy Audio output module and other hardware permissions.
这里,音频输出模块可以是听筒,还可以是扬声器。Here, the audio output module can be a receiver or a speaker.
需要说明的是,控制第一终端的音频输出模块播放通过第一通话通道传输的通话数据,即第一通话数据,为了节省资源,基于所述第二通话网络,所述第一终端与所述第二终端之间的第二通话通道可以不做任何数据的采集和传输,仅保持连接状态。It should be noted that the audio output module of the first terminal is controlled to play the call data transmitted through the first call channel, that is, the first call data. In order to save resources, based on the second call network, the first terminal and the The second call channel between the second terminals may not collect and transmit any data, and only maintain the connection state.
当然,也可控制第一终端通过第二通话通道采集和传输通话数据,但第一终端的音频输出模块不播放第二通话通道传输的通话数据。Of course, the first terminal can also be controlled to collect and transmit call data through the second call channel, but the audio output module of the first terminal does not play the call data transmitted by the second call channel.
在检测到第二通话通道处于数据传输状态,且满足第二预设条件的情况下,控制所述音频输出模块播放第二通话数据,关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接,所述第二通话通道为基于所述第二通话网络,所述第一终端与所述第二终端之间的通话通道,所述第二通话数据为通过所述第二通话通道传输的通话数据。When it is detected that the second call channel is in the data transmission state and the second preset condition is met, the audio output module is controlled to play the second call data, the first call channel is closed, and the communication with the first call channel is disconnected. The call connection of the two terminals on the first call network, the second call channel is based on the second call network, the call channel between the first terminal and the second terminal, the second call The data is call data transmitted through the second call channel.
本步骤中,可通过心跳测试检测第二通话通道是否处于数据传输状态,也就是检测第二通话通道是否能够正常传输数据。In this step, the heartbeat test can be used to detect whether the second call channel is in a data transmission state, that is, whether the second call channel can normally transmit data.
这里,若心跳测试结果为未处于数据传输状态,则关闭该第二通话通道,并生成第二提示信息,该第二提示信息用于提示第一终端用户,此次切换失败。具体的,第二提示信息可显示于第一终端与第二终端正在通话的通话界面上,可以是文字提示,如“切换失败,请稍后再试”。Here, if the result of the heartbeat test is that it is not in the data transmission state, the second call channel is closed, and a second prompt message is generated. The second prompt message is used to prompt the first terminal user that the handover fails. Specifically, the second prompt message may be displayed on the call interface where the first terminal and the second terminal are talking, and may be a text prompt, such as "switching failed, please try again later."
这里,所述第二预设条件包括以下条件中的一者:Here, the second preset condition includes one of the following conditions:
在第一预设时长内未检测到通过所述第一通话通道传输的通话数据;The call data transmitted through the first call channel is not detected within the first preset time period;
通过所述第一通话通道传输的第一通话数据与通过所述第二通话通道传输的第二通话数据相同,且同步输入至所述音频输出模块。The first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
需要说明的是,在第二预设条件为在第一预设时长内未检测到通过所述第一通话通道传输的通话数据的情况下,说明当前沟通过程中有停顿,在具有停顿的时间,控制所述音频输出模块播放通过所述第二通话通道传输的通话数据,即第二通话数据,这样,不会有语音中断,用户可以继续正常通话,从而实现平滑切换,提升用户的通话体验。It should be noted that when the second preset condition is that the call data transmitted through the first call channel is not detected within the first preset time period, it means that there is a pause in the current communication process, and if there is a pause in time , Control the audio output module to play the call data transmitted through the second call channel, that is, the second call data, so that there will be no voice interruption, and the user can continue the normal call, thereby achieving smooth switching and improving the user's call experience .
在第二预设条件为通过所述第一通话通道传输的第一通话数据与通过所述第二通话通道传输的第二通话数据相同,且同步输入至所述音频输出模块的情况下,说明音频输出模块同时收到来自两个通话通道的相同的通话数据,此时,控制所述音频输出模块播放通过所述第二通话通道传输的通话数据,即第二通话数据,这样,也不会有语音中断,用户可以继续正常通话,从而实现平滑切换,提升用户的通话体验。In the case where the second preset condition is that the first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and is input to the audio output module synchronously, it is explained The audio output module receives the same call data from the two call channels at the same time. At this time, the audio output module is controlled to play the call data transmitted through the second call channel, that is, the second call data. If the voice is interrupted, the user can continue the normal call, so as to achieve smooth switching and improve the user's call experience.
这里,具体可通过分析通话内容,通话数据所占的容量等来判断通话数据是否相同,并且可通过时间戳信息来判断两个通话数据是否同步。Here, specifically, whether the call data is the same can be determined by analyzing the content of the call, the capacity occupied by the call data, etc., and whether the two call data are synchronized can be judged through the time stamp information.
基于此,为了避免频繁切换,浪费资源,同时不影响用户的通话体验,作为一可选地实现方式,在关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接之前,本申请实施例的方法还可包括:Based on this, in order to avoid frequent handovers, waste resources, and at the same time not affect the user's call experience, as an optional implementation, the first call channel is closed, and the second terminal is disconnected from the first terminal. Before the call connection of the call network, the method of the embodiment of the present application may further include:
确定在第二预设时长内,通过所述第二通话通道传输的通话数据的数据量超过第二预设阈值。It is determined that within the second preset time period, the data volume of the call data transmitted through the second call channel exceeds a second preset threshold.
本步骤执行的目的是为了确定第二通话通道能够正常通话,在第二预设时长内,通过所述第二通话通道传输的通话数据的数据量超过第二预设阈值,说明当前的第二通话网络的网速能够达到正常工作的要求,在此前提下,再 关闭第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接,能够保证通话切过来后具有较佳地通话质量,避免频繁切换,浪费资源。The purpose of this step is to determine that the second call channel can communicate normally. Within the second preset time period, the data volume of the call data transmitted through the second call channel exceeds the second preset threshold, indicating that the current second call channel The network speed of the call network can meet the requirements of normal operation. Under this premise, the first call channel is closed and the call connection with the second terminal on the first call network is disconnected, which can ensure that the call is switched over. It has better call quality, avoids frequent switching and waste of resources.
需要说明的是,若在第二预设时长内,通过所述第二通话通道传输的通话数据的数据量未超过第二预设阈值,说明当前的第二通话网络的网速不能够达到正常工作的要求,则关闭该第二通话通道,并生成第三提示信息,该第三提示信息用于提示第一终端用户,此次切换失败。具体的,第三提示信息可显示于第一终端与第二终端正在通话的通话界面上,可以是文字提示,如“切换失败,请稍后再试”。It should be noted that if the data volume of the call data transmitted through the second call channel does not exceed the second preset threshold within the second preset time period, it indicates that the current network speed of the second call network cannot reach normal As required by the work, the second call channel is closed, and a third prompt message is generated. The third prompt message is used to prompt the first terminal user that the handover fails. Specifically, the third prompt message may be displayed on the call interface where the first terminal and the second terminal are talking, and may be a text prompt, such as "switching failed, please try again later."
作为一可选地实现方式,本申请实施例的方法还可包括:As an optional implementation manner, the method in the embodiment of the present application may further include:
在与第三终端通过第三通话网络通话的情况下,接收到所述第三终端发起的通过第四通话网络进行通话的第二切换请求;In the case of a call with a third terminal through a third call network, receiving a second handover request initiated by the third terminal to conduct a call through a fourth call network;
这里,与第三终端通过第三通话网络通话包括以下中的一者:Here, the communication with the third terminal through the third communication network includes one of the following:
第一终端与第三终端通过第三通话网络建立通话连接;The first terminal and the third terminal establish a call connection through the third call network;
第一终端与第二终端通过第三通话网络处于通话状态。The first terminal and the second terminal are in a call state through the third call network.
在第三用户标识与第四用户标识均对应所述第三终端的用户的情况下,发送第二响应消息,所述第三用户标识为所述第三终端与所述第一终端通过所述第三通话网络通话时所使用的用户标识,所述第四用户标识为所述第三终端与所述第一终端通过所述第四通话网络通话时所使用的用户标识,所述第二响应消息用于表示所述第三终端同意所述第二切换请求。In the case that the third user identification and the fourth user identification both correspond to the user of the third terminal, a second response message is sent, and the third user identification is that the third terminal and the first terminal pass through the The user identifier used during the call on the third call network, the fourth user identifier is the user identifier used when the third terminal and the first terminal call through the fourth call network, and the second response The message is used to indicate that the third terminal agrees to the second handover request.
可选地,所述第三通话网络为电路交换网络,所述第四通话网络为数据承载网络;或者,所述第三通话网络为数据承载网络,所述第四通话网络为电路交换网络。Optionally, the third call network is a circuit-switched network, and the fourth call network is a data-bearing network; or, the third call network is a data-bearing network, and the fourth call network is a circuit-switched network.
本申请实施例的通话控制方法,在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,第一响应消息用于表示第二终端同意所述第一切换请求;所述第一预设条件包括以下条件中的一者:接收到用户的网络切换操作;所述第一通话网络的信号质量低于第一预设阈值,如此,在不同通话网络之间执行切换时,操作简单,且能够在不影响通话双方通话的前提 下,实现平滑切换,提升用户通话体验。In the call control method of the embodiment of the present application, when the first terminal and the second terminal are in a call through the first call network and the first preset condition is met, initiate a call to the second terminal through the second call network A first handover request; when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request; the The first preset condition includes one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than a first preset threshold, so that when switching between different call networks is performed, The operation is simple, and it can realize smooth handover without affecting the call of both parties, and improve the user's call experience.
需要说明的是,本申请实施例提供的通话控制方法,执行主体可以为通话控制装置,或者该通话控制装置中的用于执行通话控制方法的控制模块。本申请实施例中以通话控制装置执行通话控制方法为例,说明本申请实施例提供的通话控制装置。It should be noted that, in the call control method provided by the embodiments of the present application, the execution subject may be a call control device, or a control module for executing the call control method in the call control device. In the embodiment of the present application, the call control method executed by the call control device is taken as an example to illustrate the call control device provided in the embodiment of the present application.
如图3所示,为本申请实施例提供的通话控制装置的结构示意图。该通话控制装置可包括:As shown in FIG. 3, it is a schematic structural diagram of a call control device provided by an embodiment of this application. The call control device may include:
第一发送模块301,用于在第一终端与第二终端通话通过第一通话网络,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;The first sending module 301 is configured to initiate a call to the second terminal through the second call network when the first terminal and the second terminal call through the first call network and meet the first preset condition. A handover request;
切换模块302,用于在接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求;The switching module 302 is configured to switch to the second communication network to talk to the second terminal when a first response message is received, and the first response message is used to indicate that the second terminal agrees to the first Handover request
所述第一预设条件包括以下条件中的一者:The first preset condition includes one of the following conditions:
接收到用户的网络切换操作;Receive the user's network switching operation;
所述第一通话网络的信号质量低于第一预设阈值。The signal quality of the first call network is lower than a first preset threshold.
可选地,所述第一发送模块301包括:Optionally, the first sending module 301 includes:
显示单元,用于在根据第一用户标识获取到第二用户标识的情况下,在所述第一终端的通话界面显示切换标识,所述第一用户标识为所述第一终端与所述第二终端通过所述第一通话网络通话时所使用的用户标识,所述第二用户标识为所述第一终端与所述第二终端通过所述第二通话网络通话时所使用的用户标识,所述第二用户标识与所述第一用户标识具有预设关联关系,且均对应所述第二终端的用户;The display unit is configured to display a handover identifier on the call interface of the first terminal when the second user identifier is obtained according to the first user identifier, where the first user identifier is the first terminal and the second user identifier. A user identifier used by the second terminal to make a call through the first call network, and the second user identifier is a user identifier used when the first terminal and the second terminal call through the second call network, The second user ID and the first user ID have a preset association relationship, and both correspond to the user of the second terminal;
接收单元,用于接收对所述切换标识的第一输入;A receiving unit, configured to receive the first input of the handover identifier;
发送单元,用于响应于所述第一输入,基于所述第二用户标识,向所述第二终端发起通过所述第二通话网络进行通话的第一切换请求。The sending unit is configured to, in response to the first input, initiate a first handover request to the second terminal to conduct a call through the second call network based on the second user identifier.
可选地,所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络;所述通话控制装置还包括:Optionally, the first call network is a circuit-switched network, and the second call network is a data bearer network; the call control device further includes:
检测模块,用于检测所述第二终端是否开启所述第二通话网络;若是, 则向所述第二终端发起通过第二通信网络进行通话的第一切换请求。The detection module is configured to detect whether the second terminal has started the second call network; if so, initiate a first handover request for the second terminal to conduct a call through the second communication network.
可选地,所述切换模块302包括:Optionally, the switching module 302 includes:
通话连接建立单元,用于与所述第二终端通过所述第二通话网络建立通话连接;A call connection establishment unit, configured to establish a call connection with the second terminal through the second call network;
第一控制单元,用于在与所述第二终端在所述第二通话网络的通话连接建立完成后,控制所述第一终端的音频输出模块播放第一通话数据,所述第一通话数据为通过第一通话通道传输的通话数据,所述第一通话通道为基于所述第一通话网络,所述第一终端与所述第二终端之间的通话通道;The first control unit is configured to control the audio output module of the first terminal to play the first call data after the call connection with the second terminal in the second call network is established. Is call data transmitted through a first call channel, where the first call channel is a call channel between the first terminal and the second terminal based on the first call network;
第二控制单元,用于在检测到第二通话通道处于数据传输状态,且满足第二预设条件的情况下,控制所述音频输出模块播放第二通话数据,关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接,所述第二通话通道为基于所述第二通话网络,所述第一终端与所述第二终端之间的通话通道,所述第二通话数据为通过所述第二通话通道传输的通话数据。The second control unit is configured to control the audio output module to play the second call data and close the first call channel when it is detected that the second call channel is in a data transmission state and the second preset condition is met, And disconnect the call connection with the second terminal on the first call network, the second call channel is based on the second call network, the call between the first terminal and the second terminal Channel, the second call data is call data transmitted through the second call channel.
可选地,所述第二预设条件包括以下条件中的一者:Optionally, the second preset condition includes one of the following conditions:
在第一预设时长内未检测到通过所述第一通话通道传输的通话数据;The call data transmitted through the first call channel is not detected within the first preset time period;
通过所述第一通话通道传输的第一通话数据与通过所述第二通话通道传输的第二通话数据相同,且同步输入至所述音频输出模块。The first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
可选地,所述通话控制装置还包括:Optionally, the call control device further includes:
确定单元,用于在关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接之前,确定在第二预设时长内,通过所述第二通话通道传输的通话数据的数据量超过第二预设阈值。The determining unit is configured to determine that before the first call channel is closed and the call connection to the second terminal on the first call network is disconnected, it is determined to pass the second call within a second preset time period. The data volume of the call data transmitted by the channel exceeds the second preset threshold.
可选地,所述通话控制装置还包括:Optionally, the call control device further includes:
接收模块,用于在与第三终端通过第三通话网络通话的情况下,接收到所述第三终端发起的通过第四通话网络进行通话的第二切换请求;A receiving module, configured to receive a second handover request initiated by the third terminal to conduct a call through the fourth call network in the case of a call with a third terminal through the third call network;
第二发送模块,用于在第三用户标识与第四用户标识均对应所述第三终端的用户的情况下,发送第二响应消息,所述第三用户标识为所述第三终端与所述第一终端通过所述第三通话网络通话时所使用的用户标识,所述第四用户标识为所述第三终端与所述第一终端通过所述第四通话网络通话时所使 用的用户标识,所述第二响应消息用于表示所述第三终端同意所述第二切换请求。The second sending module is configured to send a second response message when the third user ID and the fourth user ID both correspond to the user of the third terminal, and the third user ID is the third terminal and the user. The user identifier used by the first terminal to communicate through the third communication network, and the fourth user identifier is the user used by the third terminal to communicate with the first terminal through the fourth communication network Identifier, the second response message is used to indicate that the third terminal agrees to the second handover request.
可选地,所述第三通话网络为电路交换网络,所述第四通话网络为数据承载网络;或者,所述第三通话网络为数据承载网络,所述第四通话网络为电路交换网络。Optionally, the third call network is a circuit-switched network, and the fourth call network is a data-bearing network; or, the third call network is a data-bearing network, and the fourth call network is a circuit-switched network.
本申请实施例的通话控制装置,第一发送模块在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;切换模块当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求;所述第一预设条件包括以下条件中的一者:接收到用户的网络切换操作;所述第一通话网络的信号质量低于第一预设阈值,如此,在不同通话网络之间执行切换时,操作简单,且能够在不影响通话双方通话的前提下,实现平滑切换,提升用户通话体验。In the call control device of the embodiment of the present application, the first sending module initiates a second call to the second terminal when the first terminal and the second terminal are in a call through the first call network and the first preset condition is met. A first handover request for a call on the network; when the handover module receives a first response message, it switches to the second call network to talk to the second terminal, and the first response message is used to indicate the second terminal The first handover request is agreed; the first preset condition includes one of the following conditions: a user's network handover operation is received; the signal quality of the first call network is lower than a first preset threshold, and so, When switching between different call networks, the operation is simple, and it can achieve smooth switching without affecting the call between the two parties, and improve the user's call experience.
本申请实施例中的通话控制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The call control device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital device. Assistant (personal digital assistant, PDA), etc., non-mobile electronic devices can be Network Attached Storage (NAS), personal computer (PC), television (television, TV), teller machine or self-service machine, etc., The embodiments of this application do not make specific limitations.
本申请实施例中的通话控制装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。The call control device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的通话控制装置能够实现图1至图2的方法实施例中通话控制装置实现的各个过程,为避免重复,这里不再赘述。The call control device provided in the embodiment of the present application can implement each process implemented by the call control device in the method embodiments of FIG. 1 to FIG.
可选地,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401,存储器402,存储在存储器402上并可在所述处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现上述通话控制方法实施例 的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 4, an embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and a program or instruction that is stored on the memory 402 and can run on the processor 401, When the program or instruction is executed by the processor 401, each process of the above-mentioned call control method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图5为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, etc. part.
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器510逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components. The power source may be logically connected to the processor 510 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions. The structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
其中,处理器510,用于在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求;所述第一预设条件包括以下条件中的一者:接收到用户的网络切换操作;所述第一通话网络的信号质量低于第一预设阈值。Wherein, the processor 510 is configured to initiate a call to the second terminal through the second call network when the first terminal and the second terminal call through the first call network and the first preset condition is met. A handover request; when a first response message is received, switch to the second communication network to talk to the second terminal, the first response message is used to indicate that the second terminal agrees to the first handover request The first preset condition includes one of the following conditions: a user's network switching operation is received; the signal quality of the first call network is lower than a first preset threshold.
本申请实施例的电子设备,在不同通话网络之间执行切换时,操作简单,且能够在不影响通话双方通话的前提下,实现平滑切换,提升用户通话体验。The electronic device of the embodiment of the present application has simple operation when switching between different call networks, and can realize smooth switching without affecting the call of both parties in the call, and improve the user's call experience.
可选地,显示单元506,用于在根据第一用户标识获取到第二用户标识的情况下,在所述第一终端的通话界面显示切换标识,所述第一用户标识为所述第一终端与所述第二终端通过所述第一通话网络通话时所使用的用户标识,所述第二用户标识为所述第一终端与所述第二终端通过所述第二通话网络通话时所使用的用户标识,所述第二用户标识与所述第一用户标识具有预设关联关系,且均对应所述第二终端的用户;用户输入单元507,用于接收对所述切换标识的第一输入;处理器510,还用于响应于所述第一输入,基于所述第二用户标识,向所述第二终端发起通过所述第二通话网络进行通话的第一切换请求。Optionally, the display unit 506 is configured to display a handover identifier on the call interface of the first terminal in the case that a second user identifier is obtained according to the first user identifier, and the first user identifier is the first user identifier. The user identifier used when the terminal and the second terminal communicate through the first communication network, and the second user identifier is the user identifier used when the first terminal and the second terminal communicate through the second communication network. The user ID used, the second user ID has a preset association relationship with the first user ID, and both correspond to the user of the second terminal; the user input unit 507 is configured to receive the second user ID of the handover ID An input; the processor 510 is further configured to, in response to the first input, initiate a first handover request to the second terminal to conduct a call through the second call network based on the second user identifier.
可选地,所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络;处理器510,还用于检测所述第二终端是否开启所述第二通话网络;Optionally, the first call network is a circuit-switched network, and the second call network is a data bearer network; the processor 510 is further configured to detect whether the second terminal turns on the second call network;
若是,则向所述第二终端发起通过第二通信网络进行通话的第一切换请求。If yes, initiate a first handover request to the second terminal to conduct a call through the second communication network.
可选地,处理器510,还用于与所述第二终端通过所述第二通话网络建立通话连接;Optionally, the processor 510 is further configured to establish a call connection with the second terminal through the second call network;
在与所述第二终端在所述第二通话网络的通话连接建立完成后,控制所述第一终端的音频输出模块播放第一通话数据,所述第一通话数据为通过第一通话通道传输的通话数据,所述第一通话通道为基于所述第一通话网络,所述第一终端与所述第二终端之间的通话通道;After the call connection with the second terminal on the second call network is established, the audio output module of the first terminal is controlled to play the first call data, and the first call data is transmitted through the first call channel The first call channel is the call channel between the first terminal and the second terminal based on the first call network;
在检测到第二通话通道处于数据传输状态,且满足第二预设条件的情况下,控制所述音频输出模块播放第二通话数据,关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接,所述第二通话通道为基于所述第二通话网络,所述第一终端与所述第二终端之间的通话通道,所述第二通话数据为通过所述第二通话通道传输的通话数据。When it is detected that the second call channel is in the data transmission state and the second preset condition is met, the audio output module is controlled to play the second call data, the first call channel is closed, and the communication with the first call channel is disconnected. The call connection of the two terminals on the first call network, the second call channel is based on the second call network, the call channel between the first terminal and the second terminal, the second call The data is call data transmitted through the second call channel.
可选地,所述第二预设条件包括以下条件中的一者:Optionally, the second preset condition includes one of the following conditions:
在第一预设时长内未检测到通过所述第一通话通道传输的通话数据;The call data transmitted through the first call channel is not detected within the first preset time period;
通过所述第一通话通道传输的第一通话数据与通过所述第二通话通道传输的第二通话数据相同,且同步输入至所述音频输出模块。The first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
可选地,处理器501还用于确定在第二预设时长内,通过所述第二通话通道传输的通话数据的数据量超过第二预设阈值。Optionally, the processor 501 is further configured to determine that the data volume of the call data transmitted through the second call channel exceeds a second preset threshold within the second preset time period.
可选地,处理器501还用于在与第三终端通过第三通话网络通话的情况下,接收到所述第三终端发起的通过第四通话网络进行通话的第二切换请求;Optionally, the processor 501 is further configured to receive a second handover request initiated by the third terminal to conduct a call through a fourth call network when the third terminal is in a call through a third call network;
在第三用户标识与第四用户标识均对应所述第三终端的用户的情况下,发送第二响应消息,所述第三用户标识为所述第三终端与所述第一终端通过所述第三通话网络通话时所使用的用户标识,所述第四用户标识为所述第三终端与所述第一终端通过所述第四通话网络通话时所使用的用户标识,所述第二响应消息用于表示所述第三终端同意所述第二切换请求。In the case that the third user identification and the fourth user identification both correspond to the user of the third terminal, a second response message is sent, and the third user identification is that the third terminal and the first terminal pass through the The user identifier used during the call on the third call network, the fourth user identifier is the user identifier used when the third terminal and the first terminal call through the fourth call network, and the second response The message is used to indicate that the third terminal agrees to the second handover request.
可选地,所述第三通话网络为电路交换网络,所述第四通话网络为数据承载网络;或者,所述第三通话网络为数据承载网络,所述第四通话网络为电路交换网络。Optionally, the third call network is a circuit-switched network, and the fourth call network is a data-bearing network; or, the third call network is a data-bearing network, and the fourth call network is a circuit-switched network.
本申请实施例的电子设备,在不同通话网络之间执行切换时,操作简单,且能够在不影响通话双方通话的前提下,实现平滑切换,提升用户通话体验。The electronic device of the embodiment of the present application has simple operation when switching between different call networks, and can realize smooth switching without affecting the call of both parties in the call, and improve the user's call experience.
应理解的是,本申请实施例中,输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器509可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。It should be understood that, in this embodiment of the application, the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The graphics processor 5041 is paired by the image capture device ( For example, the image data of the still picture or video obtained by the camera) is processed. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here. The memory 509 may be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述通话控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium with a program or instruction stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above-mentioned call control method embodiment is realized, and the same can be achieved. In order to avoid repetition, I won’t repeat them here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述通话控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above-mentioned call control method embodiment Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. The function is performed, for example, the described method may be performed in an order different from the described order, and various steps may also be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above with reference to the accompanying drawings, but the present 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, without departing from the purpose of this application and the scope of protection of the claims, many forms can be made, all of which fall within the protection of this application.

Claims (19)

  1. 一种通话控制方法,包括:A call control method, including:
    在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;In the case where the first terminal and the second terminal are talking through the first call network and the first preset condition is met, initiate a first handover request for the second terminal to conduct the call through the second call network;
    当接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求;When receiving a first response message, switch to the second communication network to talk to the second terminal, where the first response message is used to indicate that the second terminal agrees to the first switching request;
    所述第一预设条件包括以下条件中的一者:The first preset condition includes one of the following conditions:
    接收到用户的网络切换操作;Receive the user's network switching operation;
    所述第一通话网络的信号质量低于第一预设阈值。The signal quality of the first call network is lower than a first preset threshold.
  2. 根据权利要求1所述的方法,其中,所述向所述第二终端发起通过第二通话网络进行通话的第一切换请求,包括:The method according to claim 1, wherein the initiating a first handover request to the second terminal to conduct a call through a second call network comprises:
    在根据第一用户标识获取到第二用户标识的情况下,在所述第一终端的通话界面显示切换标识,所述第一用户标识为所述第一终端与所述第二终端通过所述第一通话网络通话时所使用的用户标识,所述第二用户标识为所述第一终端与所述第二终端通过所述第二通话网络通话时所使用的用户标识,所述第二用户标识与所述第一用户标识具有预设关联关系,且均对应所述第二终端的用户;In the case that the second user ID is obtained according to the first user ID, a handover ID is displayed on the call interface of the first terminal, and the first user ID is the first terminal and the second terminal passing through the The user identifier used during the first call network call, the second user identifier is the user identifier used when the first terminal and the second terminal call through the second call network, the second user The identifier has a preset association relationship with the first user identifier, and both correspond to the user of the second terminal;
    接收对所述切换标识的第一输入;Receiving the first input of the handover identifier;
    响应于所述第一输入,基于所述第二用户标识,向所述第二终端发起通过所述第二通话网络进行通话的第一切换请求。In response to the first input, based on the second user identifier, initiate a first handover request for a call through the second call network to the second terminal.
  3. 根据权利要求1所述的方法,其中,所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络;The method according to claim 1, wherein the first call network is a circuit-switched network, and the second call network is a data bearer network;
    所述向所述第二终端发起通过第二通话网络进行通话的第一切换请求之前,所述方法还包括:Before the initiating the first handover request to the second terminal to conduct a call through the second call network, the method further includes:
    检测所述第二终端是否开启所述第二通话网络;Detecting whether the second terminal turns on the second call network;
    若是,则执行向所述第二终端发起通过第二通信网络进行通话的第一切换请求的步骤。If yes, execute the step of initiating a first handover request to the second terminal to conduct a call through the second communication network.
  4. 根据权利要求1所述的方法,其中,所述切换至所述第二通话网络与 所述第二终端通话,包括:The method according to claim 1, wherein the switching to the second communication network to talk to the second terminal comprises:
    与所述第二终端通过所述第二通话网络建立通话连接;Establishing a call connection with the second terminal through the second call network;
    在与所述第二终端在所述第二通话网络的通话连接建立完成后,控制所述第一终端的音频输出模块播放第一通话数据,所述第一通话数据为通过第一通话通道传输的通话数据,所述第一通话通道为基于所述第一通话网络,所述第一终端与所述第二终端之间的通话通道;After the call connection with the second terminal on the second call network is established, the audio output module of the first terminal is controlled to play the first call data, and the first call data is transmitted through the first call channel The first call channel is the call channel between the first terminal and the second terminal based on the first call network;
    在检测到第二通话通道处于数据传输状态,且满足第二预设条件的情况下,控制所述音频输出模块播放第二通话数据,关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接,所述第二通话通道为基于所述第二通话网络,所述第一终端与所述第二终端之间的通话通道,所述第二通话数据为通过所述第二通话通道传输的通话数据。When it is detected that the second call channel is in the data transmission state and the second preset condition is met, the audio output module is controlled to play the second call data, the first call channel is closed, and the communication with the first call channel is disconnected. The call connection of the two terminals on the first call network, the second call channel is based on the second call network, the call channel between the first terminal and the second terminal, the second call The data is call data transmitted through the second call channel.
  5. 根据权利要求4所述的方法,其中,所述第二预设条件包括以下条件中的一者:The method according to claim 4, wherein the second predetermined condition includes one of the following conditions:
    在第一预设时长内未检测到通过所述第一通话通道传输的通话数据;The call data transmitted through the first call channel is not detected within the first preset time period;
    通过所述第一通话通道传输的第一通话数据与通过所述第二通话通道传输的第二通话数据相同,且同步输入至所述音频输出模块。The first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
  6. 根据权利要求4所述的方法,其中,所述关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接之前,所述方法还包括:The method according to claim 4, wherein before the closing the first call channel and disconnecting the call connection with the second terminal on the first call network, the method further comprises:
    确定在第二预设时长内,通过所述第二通话通道传输的通话数据的数据量超过第二预设阈值。It is determined that within the second preset time period, the data volume of the call data transmitted through the second call channel exceeds a second preset threshold.
  7. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    在与第三终端通过第三通话网络通话的情况下,接收到所述第三终端发起的通过第四通话网络进行通话的第二切换请求;In the case of a call with a third terminal through a third call network, receiving a second handover request initiated by the third terminal to conduct a call through a fourth call network;
    在第三用户标识与第四用户标识均对应所述第三终端的用户的情况下,发送第二响应消息,所述第三用户标识为所述第三终端与所述第一终端通过所述第三通话网络通话时所使用的用户标识,所述第四用户标识为所述第三终端与所述第一终端通过所述第四通话网络通话时所使用的用户标识,所述第二响应消息用于表示所述第三终端同意所述第二切换请求。In the case that the third user identification and the fourth user identification both correspond to the user of the third terminal, a second response message is sent, and the third user identification is that the third terminal and the first terminal pass through the The user identifier used during the call on the third call network, the fourth user identifier is the user identifier used when the third terminal and the first terminal call through the fourth call network, and the second response The message is used to indicate that the third terminal agrees to the second handover request.
  8. 一种通话控制装置,包括:A call control device includes:
    第一发送模块,用于在第一终端与第二终端通过第一通话网络通话,且满足第一预设条件的情况下,向所述第二终端发起通过第二通话网络进行通话的第一切换请求;The first sending module is configured to initiate a first call to the second terminal to conduct a call through the second call network when the first terminal and the second terminal call through the first call network and the first preset condition is met. Handover request
    切换模块,用于在接收到第一响应消息时,切换至所述第二通话网络与所述第二终端通话,所述第一响应消息用于表示所述第二终端同意所述第一切换请求;The switching module is configured to switch to the second communication network to talk to the second terminal when a first response message is received, and the first response message is used to indicate that the second terminal agrees to the first switching ask;
    所述第一预设条件包括以下条件中的一者:The first preset condition includes one of the following conditions:
    接收到用户的网络切换操作;Receive the user's network switching operation;
    所述第一通话网络的信号质量低于第一预设阈值。The signal quality of the first call network is lower than a first preset threshold.
  9. 根据权利要求8所述的通话控制装置,其中,所述第一发送模块包括:The call control device according to claim 8, wherein the first sending module comprises:
    显示单元,用于在根据第一用户标识获取到第二用户标识的情况下,在所述第一终端的通话界面显示切换标识,所述第一用户标识为所述第一终端与所述第二终端通过所述第一通话网络通话时所使用的用户标识,所述第二用户标识为所述第一终端与所述第二终端通过所述第二通话网络通话时所使用的用户标识,所述第二用户标识与所述第一用户标识具有预设关联关系,且均对应所述第二终端的用户;The display unit is configured to display a handover identifier on the call interface of the first terminal when the second user identifier is obtained according to the first user identifier, where the first user identifier is the first terminal and the second user identifier. A user identifier used by the second terminal to make a call through the first call network, and the second user identifier is a user identifier used when the first terminal and the second terminal call through the second call network, The second user ID and the first user ID have a preset association relationship, and both correspond to the user of the second terminal;
    接收单元,用于接收对所述切换标识的第一输入;A receiving unit, configured to receive the first input of the handover identifier;
    发送单元,用于响应于所述第一输入,基于所述第二用户标识,向所述第二终端发起通过所述第二通话网络进行通话的第一切换请求。The sending unit is configured to, in response to the first input, initiate a first handover request to the second terminal to conduct a call through the second call network based on the second user identifier.
  10. 根据权利要求8所述的通话控制装置,其中,所述第一通话网络为电路交换网络,所述第二通话网络为数据承载网络;8. The call control device according to claim 8, wherein the first call network is a circuit-switched network, and the second call network is a data bearer network;
    所述通话控制装置还包括:The call control device further includes:
    检测模块,用于检测所述第二终端是否开启所述第二通话网络;若是,则向所述第二终端发起通过第二通信网络进行通话的第一切换请求。The detection module is configured to detect whether the second terminal starts the second call network; if so, initiate a first handover request for the second terminal to conduct a call through the second communication network.
  11. 根据权利要求8所述的通话控制装置,其中,所述切换模块包括:The call control device according to claim 8, wherein the switching module comprises:
    通话连接建立单元,用于与所述第二终端通过所述第二通话网络建立通话连接;A call connection establishment unit, configured to establish a call connection with the second terminal through the second call network;
    第一控制单元,用于在与所述第二终端在所述第二通话网络的通话连接建立完成后,控制所述第一终端的音频输出模块播放第一通话数据,所述第 一通话数据为通过第一通话通道传输的通话数据,所述第一通话通道为基于所述第一通话网络,所述第一终端与所述第二终端之间的通话通道;The first control unit is configured to control the audio output module of the first terminal to play the first call data after the call connection with the second terminal on the second call network is established, and the first call data Is the call data transmitted through a first call channel, where the first call channel is a call channel between the first terminal and the second terminal based on the first call network;
    第二控制单元,用于在检测到第二通话通道处于数据传输状态,且满足第二预设条件的情况下,控制所述音频输出模块播放第二通话数据,关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接,所述第二通话通道为基于所述第二通话网络,所述第一终端与所述第二终端之间的通话通道,所述第二通话数据为通过所述第二通话通道传输的通话数据。The second control unit is configured to control the audio output module to play the second call data and close the first call channel when it is detected that the second call channel is in a data transmission state and the second preset condition is met, And disconnect the call connection with the second terminal on the first call network, the second call channel is based on the second call network, the call between the first terminal and the second terminal Channel, the second call data is call data transmitted through the second call channel.
  12. 根据权利要求11所述的通话控制装置,其中,所述第二预设条件包括以下条件中的一者:The call control device according to claim 11, wherein the second preset condition includes one of the following conditions:
    在第一预设时长内未检测到通过所述第一通话通道传输的通话数据;The call data transmitted through the first call channel is not detected within the first preset time period;
    通过所述第一通话通道传输的第一通话数据与通过所述第二通话通道传输的第二通话数据相同,且同步输入至所述音频输出模块。The first call data transmitted through the first call channel is the same as the second call data transmitted through the second call channel, and are synchronously input to the audio output module.
  13. 根据权利要求11所述的通话控制装置,其中,所述通话控制装置还包括:The call control device according to claim 11, wherein the call control device further comprises:
    确定单元,用于在关闭所述第一通话通道,并断开与所述第二终端在所述第一通话网络的通话连接之前,确定在第二预设时长内,通过所述第二通话通道传输的通话数据的数据量超过第二预设阈值。The determining unit is configured to determine that before the first call channel is closed and the call connection to the second terminal on the first call network is disconnected, it is determined to pass the second call within a second preset time period. The data volume of the call data transmitted by the channel exceeds the second preset threshold.
  14. 根据权利要求8所述的通话控制装置,其中,所述通话控制装置还包括:The call control device according to claim 8, wherein the call control device further comprises:
    接收模块,用于在与第三终端通过第三通话网络通话的情况下,接收到所述第三终端发起的通过第四通话网络进行通话的第二切换请求;A receiving module, configured to receive a second handover request initiated by the third terminal to conduct a call through the fourth call network in the case of a call with a third terminal through the third call network;
    第二发送模块,用于在第三用户标识与第四用户标识均对应所述第三终端的用户的情况下,发送第二响应消息,所述第三用户标识为所述第三终端与所述第一终端通过所述第三通话网络通话时所使用的用户标识,所述第四用户标识为所述第三终端与所述第一终端通过所述第四通话网络通话时所使用的用户标识,所述第二响应消息用于表示所述第三终端同意所述第二切换请求。The second sending module is configured to send a second response message when the third user ID and the fourth user ID both correspond to the user of the third terminal, and the third user ID is the third terminal and the user. The user identifier used by the first terminal to communicate through the third communication network, and the fourth user identifier is the user used by the third terminal to communicate with the first terminal through the fourth communication network Identifier, the second response message is used to indicate that the third terminal agrees to the second handover request.
  15. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在 所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至7任一项所述的通话控制方法的步骤。An electronic device comprising a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor, and when the program or instruction is executed by the processor, it implements claims 1 to 7 Steps of any one of the call control methods.
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至7任一项所述的通话控制方法的步骤。A readable storage medium storing a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the call control method according to any one of claims 1 to 7 are realized.
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现权利要求1至7任一项所述的通话控制方法。A chip comprising a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the call control method according to any one of claims 1 to 7 .
  18. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至7任一项所述的通话控制方法。A computer program product, which is executed by at least one processor to implement the call control method according to any one of claims 1 to 7.
  19. 一种电子设备,被配置成执行如权利要求1至7任一项所述的通话控制方法。An electronic device configured to execute the call control method according to any one of claims 1 to 7.
PCT/CN2021/095472 2020-05-27 2021-05-24 Call control method and apparatus, and electronic device WO2021238845A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010462460.1 2020-05-27
CN202010462460.1A CN111629409B (en) 2020-05-27 2020-05-27 Call control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021238845A1 true WO2021238845A1 (en) 2021-12-02

Family

ID=72272597

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095472 WO2021238845A1 (en) 2020-05-27 2021-05-24 Call control method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN111629409B (en)
WO (1) WO2021238845A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449605A (en) * 2022-01-25 2022-05-06 Tcl通讯科技(成都)有限公司 Call method, device, terminal equipment and storage medium
CN114885391A (en) * 2022-06-16 2022-08-09 锐迪科微电子科技(天津)有限公司 Network call control method and device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629409B (en) * 2020-05-27 2022-09-27 维沃移动通信有限公司 Call control method and device and electronic equipment
CN112153016B (en) * 2020-09-09 2023-04-07 维沃移动通信有限公司 Network communication method and device
CN112312498B (en) * 2020-10-27 2023-04-28 北京小米移动软件有限公司 Method and device for switching network and storage medium
CN115134878B (en) * 2021-03-26 2023-11-14 大唐移动通信设备有限公司 Network interoperation method and device, base station and storage medium
CN113099496A (en) * 2021-03-30 2021-07-09 惠州Tcl移动通信有限公司 Network call switching method, system and mobile terminal
WO2022241606A1 (en) * 2021-05-17 2022-11-24 海能达通信股份有限公司 Network switching method and related apparatus
CN113691678B (en) * 2021-07-14 2022-10-25 荣耀终端有限公司 Call control method, electronic device, computer readable storage medium and chip system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090073936A1 (en) * 2007-09-14 2009-03-19 Motorola, Inc. Method and apparatus for inter-technology handoff of a user equipment
CN101543117A (en) * 2007-10-09 2009-09-23 香港应用科技研究有限公司 Handoff of dual mode mobile device between an IP network and a PLMN
CN102546998A (en) * 2012-01-13 2012-07-04 西南交通大学 Communication method fusing voice over Internet phone (VoIP) technology with telecommunication network voice call technology
CN108616915A (en) * 2018-04-23 2018-10-02 Oppo广东移动通信有限公司 A kind of call mode switching method, device, storage medium and electronic equipment
CN111629409A (en) * 2020-05-27 2020-09-04 维沃移动通信有限公司 Call control method and device and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101044996B1 (en) * 2008-07-17 2011-06-29 삼성전자주식회사 Method and System for changing a call during conference call
CN102026322A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Method and system for voice switching
CN103716849B (en) * 2012-10-09 2017-08-11 中兴通讯股份有限公司 A kind of methods, devices and systems of automatic switchover voice telephone service
CN103974361A (en) * 2013-01-30 2014-08-06 中兴通讯股份有限公司 Talk mode switching control method and device and terminal
CN105611578B (en) * 2015-10-29 2019-04-12 东莞酷派软件技术有限公司 Handle the method for switching network and network switching system when talk business
CN105872437A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Video call control method, video call control device and terminal
CN105611055B (en) * 2015-12-23 2019-05-21 小米科技有限责任公司 Call method and device
CN107872566A (en) * 2016-09-28 2018-04-03 中兴通讯股份有限公司 A kind of call handover method of terminal, system and terminal
CN110972088B (en) * 2019-11-27 2022-02-18 宇龙计算机通信科技(深圳)有限公司 Voice call network switching method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090073936A1 (en) * 2007-09-14 2009-03-19 Motorola, Inc. Method and apparatus for inter-technology handoff of a user equipment
CN101543117A (en) * 2007-10-09 2009-09-23 香港应用科技研究有限公司 Handoff of dual mode mobile device between an IP network and a PLMN
CN102546998A (en) * 2012-01-13 2012-07-04 西南交通大学 Communication method fusing voice over Internet phone (VoIP) technology with telecommunication network voice call technology
CN108616915A (en) * 2018-04-23 2018-10-02 Oppo广东移动通信有限公司 A kind of call mode switching method, device, storage medium and electronic equipment
CN111629409A (en) * 2020-05-27 2020-09-04 维沃移动通信有限公司 Call control method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449605A (en) * 2022-01-25 2022-05-06 Tcl通讯科技(成都)有限公司 Call method, device, terminal equipment and storage medium
CN114885391A (en) * 2022-06-16 2022-08-09 锐迪科微电子科技(天津)有限公司 Network call control method and device

Also Published As

Publication number Publication date
CN111629409A (en) 2020-09-04
CN111629409B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
WO2021238845A1 (en) Call control method and apparatus, and electronic device
US11463588B2 (en) Method and terminal for supporting voice service and data service simultaneously
EP3429172B1 (en) Method, system and graphical user interface for making conference calls
WO2021190483A1 (en) Multicast and broadcast service transmission method, multicast and broadcast service transmission control method, and related device
US11582649B2 (en) Communications method and apparatus
US20120046074A1 (en) System containing a mobile communication device and associated docking station
CN108632453B (en) Call method and mobile terminal
CN112751971A (en) Voice playing method and device and electronic equipment
CN104253899A (en) Method and device for controlling communication terminals
WO2023160222A1 (en) Connection method and apparatus of external device and terminal, device, and storage medium
WO2021142875A1 (en) Video call switching method, storage medium and terminal
WO2020015534A1 (en) Mobile terminal, and method and device for realizing instant communication with fixed terminal
WO2023279393A1 (en) Information sending method and apparatus, paging restriction method and apparatus, and communication apparatus and storage medium
US20230371088A1 (en) Communication establishment method and apparatus and storage medium
WO2021223157A1 (en) Communication control method and communication control apparatus
WO2021134866A1 (en) Call switching method and apparatus, storage medium and mobile terminal
CN113329127A (en) Call processing method, call processing device, electronic device, and medium
WO2022194212A1 (en) Calling method and apparatus and electronic device
CN110995939B (en) Switching method and device of call network and storage medium
KR20120010057A (en) Method for receiving and transmitting call and mobile terminal using this method
CN112235461B (en) Communication method and communication device
CN108551531A (en) Send the method, apparatus and readable storage medium storing program for executing of prompt message
KR102228356B1 (en) Communication apparatus communicating with wearable apparatus, control method thereof, call processing server communicating with the communication apparatus, control method thereof, recording medium for recording program for executing the control method, application saved in the recording medium for executing the control method being combined with hardware
WO2024020808A1 (en) Inactive-state multicast service receiving method and apparatus, and configuration indication information sending method and apparatus
WO2024082294A1 (en) Multicast broadcast service reception method and apparatus, and configuration sending method and apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21811875

Country of ref document: EP

Kind code of ref document: A1