WO2023045800A1 - 通话控制方法及装置、电子设备、计算机可读存储介质 - Google Patents

通话控制方法及装置、电子设备、计算机可读存储介质 Download PDF

Info

Publication number
WO2023045800A1
WO2023045800A1 PCT/CN2022/118423 CN2022118423W WO2023045800A1 WO 2023045800 A1 WO2023045800 A1 WO 2023045800A1 CN 2022118423 W CN2022118423 W CN 2022118423W WO 2023045800 A1 WO2023045800 A1 WO 2023045800A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
audio output
call
output device
incoming call
Prior art date
Application number
PCT/CN2022/118423
Other languages
English (en)
French (fr)
Inventor
包建全
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023045800A1 publication Critical patent/WO2023045800A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present application relates to the technical field of Bluetooth communication, and in particular to a call control method and device, electronic equipment, and a computer-readable storage medium.
  • an audio output device (such as a headset) can establish Bluetooth connections with multiple terminal devices (such as a mobile phone) at the same time, and then can answer incoming calls from the terminal devices through the audio output device.
  • the embodiment of the present application discloses a call control method and device, an electronic device, and a computer-readable storage medium, which can prevent terminal devices from automatically seizing an audio output device for a call, and improve the call stability of the terminal devices.
  • the first aspect of the embodiment of the present application discloses a call control method, which is applied to an audio output device, and the method includes:
  • the first incoming call reminder information corresponding to the first terminal device is output, and the N is greater than or equal to an integer of 2;
  • a first voice transmission link is established with the first terminal device, so as to transmit data information through the first voice transmission link.
  • the second aspect of the embodiment of the present application discloses a call control method, which is applied to a terminal device, and the method includes:
  • a voice transmission link is established with the audio output device, so as to transmit data information through the voice transmission link.
  • the third aspect of the embodiment of the present application discloses a call control device, which is applied to an audio output device, and the device includes:
  • the output unit is configured to output first incoming call reminder information corresponding to the first terminal device if a first incoming call request sent by the first terminal device is received in the case of establishing a Bluetooth connection with N terminal devices, and the N is an integer greater than or equal to 2;
  • the first establishing unit is configured to, when it is determined to answer the call corresponding to the first incoming call request, establish a first voice transmission link with the first terminal device, so as to transmit data information through the first voice transmission link.
  • the fourth aspect of the embodiment of the present application discloses a call control device, which is applied to a terminal device, and the device includes:
  • the sending unit is used to send an incoming call request to the audio output device if an incoming call is received when a Bluetooth connection is established with the audio output device;
  • the second establishing unit is configured to establish a voice transmission link with the audio output device when it is determined to answer the call corresponding to the incoming call request, so as to transmit data information through the voice transmission link.
  • the fifth aspect of the embodiment of the present application discloses an electronic device, including:
  • a processor coupled to the memory
  • the processor invokes the executable program code stored in the memory to execute the call control method disclosed in the first aspect or the second aspect of the embodiments of the present application.
  • the fourth aspect of the embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes a computer to execute the call control method disclosed in the first aspect or the second aspect of the embodiment of the present application.
  • FIG. 1 is a schematic diagram of an application scenario applicable to a call control method disclosed in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a call control method disclosed in an embodiment of the present application
  • FIG. 3 is a schematic flowchart of another call control method disclosed in the embodiment of the present application.
  • Fig. 4 is an interaction sequence diagram of a call control method disclosed in the embodiment of the present application.
  • Fig. 5 is an interaction sequence diagram of another call control method disclosed in the embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another call control method disclosed in the embodiment of the present application.
  • Fig. 7 is an interaction sequence diagram of another call control method disclosed in the embodiment of the present application.
  • Fig. 8 is an interaction sequence diagram of another call control method disclosed in the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another call control method disclosed in the embodiment of the present application.
  • Fig. 10 is a schematic structural diagram of a call control device disclosed in an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of another call control device disclosed in the embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
  • the embodiment of the present application discloses a call control method and device, an electronic device, and a computer-readable storage medium, which can prevent terminal devices from automatically seizing an audio output device for a call, and improve the call stability of the terminal devices.
  • the call control method can be applied to various audio output devices, including but not limited to: earphones or speakers, etc., which is not limited here.
  • FIG. 1 is a schematic diagram of an application scenario applicable to a call control method disclosed in an embodiment of the present application.
  • the application scenario may include at least: an audio output device 100 and at least two terminal devices (such as the first terminal device 200 and the second terminal device 300 shown in FIG. 1 ).
  • the audio output device 100 may respectively establish a Bluetooth connection with the first terminal device 200 and the second terminal device 300 . Based on the above-mentioned Bluetooth connection, the audio output device 100 can separately perform data transmission with the first terminal device 200 or the second terminal device 300 .
  • the above-mentioned bluetooth connection can be realized based on the classic bluetooth protocol (for example, bluetooth 4.0 and other versions of the agreement formulated by the bluetooth technology alliance bluetooth SIG), also can be based on the bluetooth low energy consumption (bluetooth low energy, BLE) agreement (for example, Bluetooth 5.0 and other versions of the protocol), which is not limited here.
  • BLE bluetooth low energy consumption
  • Fig. 1 only exemplarily shows two terminal devices, the first terminal device 200 and the second terminal device 300, but in fact there may be multiple terminal devices simultaneously establishing a Bluetooth connection with the audio output device 100 , for example: three, four, or five, etc.
  • Fig. 1 should not limit the embodiment of the present application.
  • the audio output device 100 may include various devices with Bluetooth communication functions and audio output modules such as speakers, such as: Bluetooth headsets, Bluetooth speakers, etc., especially TWS (True Wireless Stereo, True Wireless Stereo) earphone.
  • the first terminal device 200 and the second terminal device 300 may include various devices or systems with bluetooth communication functions, such as: mobile phones, smart wearable devices, vehicle terminals, tablet computers, PC (Personal Computer, personal computer), PDA ( Personal Digital Assistant, personal digital assistant), etc., are not limited here.
  • multiple terminal devices that establish a Bluetooth connection with the audio output device 100 may be devices or systems of the same type, for example: both the first terminal device 200 and the second terminal device 300 may be mobile phones, or both may be tablet computers .
  • the multiple terminal devices that establish a Bluetooth connection with the audio output device 100 may be different types of devices or systems, for example: the first terminal device 200 may be a mobile phone, and the second terminal device 300 may be a tablet
  • the computer is not limited here. It can be understood that, for the convenience of description, FIG. 1 only exemplarily represents the audio output device 100 with earphones, and represents the first terminal device 200 and the second terminal device 300 with mobile phones.
  • the device types of the audio output device 100 , the first terminal device 200 and the second terminal device 300 mentioned in the embodiment of the present application should constitute limitations.
  • Link for example: Synchronous Connection Oritened (SCO) link, so that the earphone end can receive and play the ringtone of the mobile phone end when the mobile phone calls, thereby improving the diversity of ringtones.
  • SCO Synchronous Connection Oritened
  • the inventor has found that due to the setting of the mobile phone, other problems will be caused in the "one-to-many" scenario of the headset (a scenario in which one headset is connected to two or more terminal devices), for example: when one of the mobile phones is answering a call , if another mobile phone calls, it will directly seize the headset and play the ringtone; or, when one mobile phone calls first and the other mobile phone calls later, the incoming mobile phone will seize the headset.
  • the earphone cannot be retrieved even if the user answers the mobile phone of the first call because the mobile phone of the subsequent call has seized the earphone. It can be seen that the above-mentioned problems will bring inconvenience to users.
  • the audio output device 100 when the audio output device 100 establishes a Bluetooth connection with the first terminal device 200 and the second terminal device 300 , if the audio output device 100 receives the first terminal device 200
  • the incoming call request sent may not immediately trigger the establishment of a voice transmission link with the first terminal device 200, but only output the incoming call reminder information corresponding to the first terminal device 200 to remind the user, thereby preventing the first terminal device 200 from actively preempting other
  • a call of a terminal device for example: the second terminal device 300
  • the call stability of receiving an incoming call through the audio output device 100 is improved.
  • the audio output device 100 may only establish a voice transmission link with the first terminal device 200 when it is determined to answer the call corresponding to the first terminal device 200, and perform data information transmission with the first terminal device 200 through the voice transmission link , so as to ensure that the incoming calls answered conform to the user's intention to answer, and the user experience is improved.
  • FIG. 2 is a schematic flowchart of a call control method disclosed in an embodiment of the present application.
  • the call control method may be applied to the above-mentioned audio output device, including earphones or speakers, and is not limited herein.
  • the call control method may include the following steps:
  • the audio output device can establish Bluetooth connections with N terminal devices at the same time, where N is an integer greater than or equal to 2, such as 2, 3 or 5, etc., which is not limited herein.
  • N is an integer greater than or equal to 2, such as 2, 3 or 5, etc., which is not limited herein.
  • the audio output device may establish a first data transmission link with the N terminal devices.
  • the first data transmission link may include but is not limited to: asynchronous No link (Asynchronous Connection Less, ACL) link, the ACL link is a logical link for connection-oriented Bluetooth asynchronous transmission, the audio output device can perform data transmission with one or multiple terminal devices through the ACL link, In this way, a scene of "one audio output device dragging two" or “one audio output device dragging multiple” terminal devices can be formed. In this scenario, it is convenient for users to interact with multiple terminal devices at the same time through one audio output device, which improves the interaction efficiency.
  • ACL Asynchronous Connection Less
  • the audio output device since a Bluetooth connection is established between the audio output device and the terminal device, when the terminal device receives an incoming call, the audio output device can answer the incoming call of the terminal device through the Bluetooth connection.
  • the audio output device may answer an incoming call on the terminal device based on a call protocol.
  • the call protocol may include but not limited to: HFP (Hands-free Profile) protocol, the HFP protocol is a bluetooth protocol used for call control between bluetooth devices.
  • voice transmission links may include, but are not limited to: Synchronous Connection Oritened (SCO) links, SCO links are mainly used to transmit data with high time requirements (for example: call voice data), usually It is used in scenarios such as Bluetooth calls or virtual calls.
  • SCO Synchronous Connection Oritened
  • a terminal device when a terminal device establishes a Bluetooth connection with an audio output device, if it receives an incoming call, the terminal device will immediately establish a voice transmission link with the audio output device to communicate with the audio output device through the voice transmission link. for data transfer.
  • the audio output device is currently answering the call of the second terminal device through the second voice transmission link established with the second terminal device, if the first terminal device receives an incoming call, the above-mentioned
  • the related technology will automatically disconnect the second voice transmission link, and allow the first terminal device to establish the first voice transmission link with the audio output device.
  • the first terminal device when the first terminal device calls later, the first terminal device will preempt the call from the second terminal device, so that the audio output device hears the call from the second terminal device. It is beneficial to improve the stability of the call between the audio output device and the terminal device.
  • the first terminal device when it establishes a Bluetooth connection with the audio output device, if it receives an incoming call, the first terminal device may not immediately trigger the establishment of a voice transmission link with the audio output device, but only send The audio output device sends the first incoming call request, so as to prevent the first terminal device from preempting the call of other terminal devices (for example, the above-mentioned second terminal device) that are performing data transmission with the audio output device.
  • other terminal devices for example, the above-mentioned second terminal device
  • the first incoming call request may include incoming call notification information, which is used to notify the audio output device that the first terminal device receives an incoming call.
  • the audio output device when it receives the first incoming call request sent by the first terminal device, it may output first incoming call reminder information corresponding to the first terminal device to remind the user.
  • the reminder information for the first incoming call may include a reminder ringtone, a reminder text, a reminder vibration, etc., which is not limited here.
  • a terminal device When a terminal device (such as a mobile phone) receives an incoming call, it usually outputs a reminder ringtone to remind the user, but since the voice transmission link has not been established between the first terminal device and the audio output device, the reminder set by the first terminal device Ringtones cannot be transmitted to audio output devices.
  • the audio output device when the audio output device receives the first call request from the first terminal device, it can generate the first call reminder information corresponding to the first terminal device in real time; in another embodiment, the audio output
  • the device When the device receives the first incoming call request sent by the first terminal device, it may acquire the first incoming call reminder information corresponding to the first terminal device from the local storage, which is not limited herein.
  • the user can answer the call of the first terminal device through the audio output device or through the first terminal device. Further, the audio output device may establish a first voice transmission link with the first terminal device when determining to answer the call corresponding to the first incoming call request according to the user's answering operation, so as to transmit data information through the first voice transmission link.
  • the audio output device when it determines to answer the call corresponding to the first incoming call request, it may send an establishment request for establishing a voice transmission link to the first terminal device; furthermore, the first terminal device may respond to the above establishment request, and The audio output device establishes a first voice transmission link.
  • the first terminal device when the first terminal device receives an incoming call, it may not immediately establish a call transmission link with the audio output device, thereby avoiding the possibility that the first terminal device actively preempts calls from other terminal devices when a call comes in. In this situation, the stability of the call is improved when the audio output device is used to answer incoming calls; in addition, when the audio output device receives an incoming call request from the first terminal device, it can output an incoming call reminder message to remind the user, and when it is determined that the user wants to answer the second call A voice transmission link is established with the first terminal device only when a terminal device has an incoming call, thereby ensuring that the incoming call answered conforms to the user's intention to answer, and the user experience is improved.
  • FIG. 3 is a schematic flowchart of another call control method disclosed in an embodiment of the present application.
  • the call control method may be applied to the above-mentioned audio output device, including earphones or speakers, and is not limited herein.
  • the call control method may include the following steps:
  • N is an integer greater than or equal to 2.
  • the terminal device may be set with different call modes based on the way of establishing a voice transmission link between the audio output device and the terminal device.
  • the call mode may include a first call mode and a second call mode.
  • the first call mode may include an out-of-band call mode (out-band ring).
  • the out-of-band call mode is that the terminal device does not trigger the establishment of a voice transmission link with the audio output device when receiving an incoming call, and only sends an audio link to the audio output device.
  • the second call mode may include an in-band call mode (in-band ring).
  • the in-band call mode is a mode in which the terminal device triggers the establishment of a voice transmission link with the audio output device when receiving an incoming call. For example, when receiving an incoming call, the terminal device first sends an incoming call request to the audio output device, and then sends a voice transmission link establishment request to the audio output device, so as to establish a voice transmission link with the audio output device.
  • the terminal device in order to prevent the terminal device from immediately establishing a voice transmission link with the audio output device when receiving an incoming call, thereby preempting calls from other terminal devices.
  • the audio output device may actively send the first mode adjustment instruction to one or more terminal devices, wherein the one or more terminal devices may include the first terminal device .
  • one or more terminal devices may adjust to the first call mode for the audio output device.
  • the terminal device when the terminal device is adjusted to the first call mode, the terminal device will not immediately establish a voice transmission link with the audio output device when receiving an incoming call, thereby avoiding the situation of preempting the call between terminal devices.
  • the audio output device may send the first mode adjustment instruction to the target terminal device, and the target terminal device may be one of the M terminal devices that have established the Bluetooth connection.
  • the target terminal device may be one of the M terminal devices that have established the Bluetooth connection.
  • M is an integer greater than or equal to 2 and less than N.
  • the audio output device when the audio output device only establishes a Bluetooth connection with one terminal device, the only terminal device that maintains a Bluetooth connection with the audio output device does not have call preemption when receiving an incoming call, and the only The terminal device maintaining a Bluetooth connection with the audio output device is in the second call mode, which can also enrich the ringtone experience of the user; for this, the audio output device may not send the first mode adjustment command to the terminal device.
  • the terminal equipment that establishes bluetooth connection with the audio output equipment at the same time is equal to or greater than two, then there may be a situation of call preemption, and the audio output equipment can send the first mode adjustment instruction to the terminal equipment that has established the bluetooth connection, so as to avoid Call preemption occurs between multiple terminal devices.
  • M may be an integer greater than or equal to 2 and less than N.
  • the audio output device after the audio output device establishes a Bluetooth connection with the terminal device, it can send the first mode adjustment command to the terminal device through the Bluetooth connection, so that the terminal device can be adjusted to the audio frequency as much as possible before the terminal device receives an incoming call.
  • the output device is adjusted to the first call mode, thereby avoiding the situation that the subsequent terminal device preempts the call of other terminal devices when receiving an incoming call.
  • the audio output device after the audio output device only establishes a Bluetooth connection with the first terminal device, since there is no call preemption, the audio output device can be set not to send the first mode adjustment instruction to the first terminal device.
  • the audio output device After the audio output device establishes a bluetooth connection with the second terminal device, since there may be call preemption in the future, the audio output device can send a message to the two terminal devices that have established a bluetooth connection (ie, the first terminal device and the second terminal device respectively). Two terminal devices) send a first mode adjustment command to adjust both the first terminal device and the second terminal device to the first call mode, so as to avoid subsequent call preemption.
  • the above-mentioned target terminal devices may include M terminal devices establishing Bluetooth connections.
  • the audio output device may send the first mode adjustment instruction to the first terminal device only after establishing a Bluetooth connection with the first terminal device.
  • the terminal device receives subsequent calls, it establishes a voice transmission link with the audio output device only when the user confirms the answer, so that the answered call conforms to the user's intention to answer, and the user experience is improved.
  • a voice transmission link can be directly established when a call is received, so that the audio output device can play the ringtone sent by the terminal device, so that in the "one drag one" scenario
  • the audio output device can play the ringtone sent by the terminal device, so that in the "one drag one" scenario
  • the above-mentioned target terminal device may include the Mth terminal device among the M terminal devices that have established a Bluetooth connection. For example, if M is equal to 3, after the audio output device establishes a Bluetooth connection with the third terminal device, since the second terminal device completes the Bluetooth connection, the audio output device has sent data to the first terminal device and the second terminal device. The terminal device has sent the first mode adjustment instruction, so the audio output device may only send the first mode adjustment instruction to the third terminal device after establishing a Bluetooth connection with the third terminal device.
  • the audio output device can only send the first mode adjustment instruction to the terminal device that has established a Bluetooth connection and is not in the first call mode, so that it can avoid repeatedly sending the first mode adjustment instruction to the terminal device, and then can Reduce power consumption of audio output devices.
  • the audio output device may also repeatedly send the first mode adjustment instruction to the connected terminal device, which is not limited herein.
  • the terminal device may not trigger the establishment of a voice transmission link with the audio output device, but output the The device sends a first inquiry request, where the first inquiry request is used to inquire whether the audio output device supports the first call mode.
  • the audio output device may send the first mode adjustment instruction to the terminal device in response to the first inquiry request.
  • the first inquiry request, the second inquiry request, the first mode adjustment instruction and the second mode adjustment instruction in the embodiment of the present application may include an AT (Attention) instruction, and the AT instruction is an instruction for connection and communication between electronic devices.
  • the terminal device may send a first AT command to the audio output device to inquire whether the audio output device supports the first call mode; Send the second AT command, so that the audio output device is adjusted to the first call mode.
  • AT commands are used for communication between the terminal device and the audio output device, which can improve communication efficiency between the terminal device and the audio output device.
  • the audio output device may send the first mode to the terminal device in response to the second query request.
  • the adjustment instruction is used to make the terminal device adjust to the first call mode for the audio output device, wherein the second inquiry request is used to inquire whether the audio output device supports the first call mode.
  • the process of establishing the Bluetooth connection includes establishing a signal transmission protocol.
  • the audio output device establishes a signal transmission protocol with the terminal device, if it receives the second query request sent by the terminal device, it sends the first mode adjustment instruction to the terminal device in response to the second query request, so as to The terminal device is adjusted to the first call mode for the audio output device, wherein the second inquiry request is used to inquire whether the audio output device supports the first call mode.
  • the signal transmission protocol may include the RFCOMM protocol.
  • the audio output device and the terminal device may perform AT command interaction based on the RFCOMM protocol.
  • the audio output device in this embodiment of the present application includes an audio output device that supports the first call mode, and then when receiving the first inquiry request or the second inquiry request, the audio output device may send the first mode call to the terminal device. Adjust instructions.
  • the above-mentioned first inquiry request and second inquiry request may be inquiry requests for inquiring whether the audio output device supports the second call mode. Further, when the audio output device receives the first inquiry request or the second inquiry request, no matter whether the audio output device supports the second call mode, the audio output device sends the first mode adjustment instruction to the terminal device, so that the terminal device The audio output device is adjusted to the first call mode.
  • the audio output device can send the first mode adjustment instruction to the terminal device only when one or several terminal devices receive an incoming call, so that the terminal device adjusts to the first call mode for the audio output device , so as to prevent the audio output device from sending the first mode adjustment instruction to the terminal device that has not received an incoming call all the time, thereby reducing the power consumption of the audio output device.
  • the audio output device when the audio output device receives the first query request or the second query request sent by the terminal device, it can determine whether the terminal device that sent the query request is the only terminal that maintains a Bluetooth connection with the audio output device. device; if the terminal device is not the only terminal device maintaining a Bluetooth connection with the audio output device, the audio output device sends the first mode adjustment instruction to the terminal device in response to the inquiry request. It can be understood that if the terminal device that sent the first query request or the second query request is the only terminal device that maintains a Bluetooth connection with the audio output device, then there will be no call preemption, so the audio output device will not It is necessary to send the first mode adjustment instruction to the terminal device, so that the power consumption of the audio output device can be reduced.
  • the audio output device may send a Bluetooth connection to one or more terminal devices.
  • a second mode adjustment instruction sent by the connected terminal device where the second mode adjustment instruction is used to instruct the terminal device to adjust to the second call mode for the audio output device.
  • the audio output device sends the first mode adjustment instruction to one or more terminal devices, so that the one or more terminal devices adjust to the first call mode for the audio output device, some terminal devices may subsequently Disconnect the Bluetooth connection with the audio output device. And when there is only one remaining terminal device that maintains a Bluetooth connection with the audio output device, there will be no call preemption in the future. For this, the above method is implemented, and the audio output device can send a message to the only terminal device that maintains a Bluetooth connection with the audio output device.
  • the second mode adjustment instruction so that the terminal device adjusts from the first call mode to the second call mode for the audio output device, and because the second call mode is that the terminal device triggers the establishment of a voice with the audio output device when receiving an incoming call
  • the mode of the transmission link so when the subsequent terminal device receives an incoming call, it will answer it directly on the audio output device, thereby improving the efficiency of the call; in addition, the ringtone information of the terminal device can be sent to the audio output device through the voice transmission link , thereby enriching the diversity of the ring tone information output by the audio output device.
  • Implementing the methods disclosed in the above-mentioned embodiments can avoid the situation that a terminal device actively preempts calls from other terminal devices when an incoming call is made, and improves the stability of calls received through an audio output device; answering intention, thereby improving the user experience; and, as much as possible before the terminal device receives an incoming call, the terminal device can be adjusted to the first call mode for the audio output device, thereby preventing the terminal device from receiving an incoming call.
  • a call preempts calls from other terminal devices; and, it can avoid sending the first mode adjustment instruction to a terminal device that has not received an incoming call, thereby reducing the power consumption of the audio output device;
  • the output device maintains the second mode adjustment command sent by the terminal device connected with Bluetooth, so that when the subsequent terminal device receives an incoming call, it will establish a voice transmission link with the audio output device, so that the ringtone information of the terminal device can be transmitted through voice
  • the transmission link is sent to the audio output device, thereby enriching the diversity of ring tone information output by the audio output device.
  • FIG. 4 is an interaction sequence diagram of a call control method disclosed in an embodiment of the present application.
  • the audio output device can respectively establish a Bluetooth connection with the first terminal device and the second terminal device; Afterwards, the audio output device may send the first mode adjustment instruction to the first terminal device and the second terminal device respectively; after receiving the first mode adjustment instruction, the first terminal device may adjust the audio output device to the first call mode, Similarly, after receiving the first mode adjustment instruction, the second terminal device may adjust the audio output device to the first call mode.
  • the audio output device may send a second mode adjustment instruction to the second terminal device; after receiving the second mode adjustment instruction, the second terminal device may adjust the audio output device to the second call mode.
  • FIG. 5 is an interaction sequence diagram of another call control method disclosed in the embodiment of the present application.
  • the audio output device can respectively establish a Bluetooth connection with the first terminal device and the second terminal device; if the first terminal device receives an incoming call, the first terminal device can send a first inquiry request to the audio output device, and the first inquiry request Used to inquire whether the audio output device supports the first call mode; the audio output device may send a first mode adjustment instruction to the first terminal device in response to the first inquiry request, and then the first terminal device may adjust to the first call mode for the audio output device model.
  • the second terminal device may send a second inquiry request to the audio output device, and the second inquiry request is used to inquire whether the audio output device supports the first call mode; the audio output The device may send the first mode adjustment instruction to the second terminal device in response to the second inquiry request, and then the second terminal device may adjust to the first call mode for the audio output device.
  • the audio output device may send a second mode adjustment instruction to the second terminal device; and then the second terminal device may adjust to the second call mode for the audio output device after receiving the second mode adjustment instruction.
  • FIG. 4 and FIG. 5 are only for illustrating the call control method disclosed in the embodiment of the present application, and shall not limit the call control method disclosed in the embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another call control method disclosed in the embodiment of the present application.
  • the call control method may be applied to the above-mentioned audio output device, including earphones or speakers, and is not limited herein.
  • the call control method may include the following steps:
  • the audio output device in the case of establishing a Bluetooth connection with N terminal devices, if the audio output device receives incoming call requests sent by the first terminal device and the second terminal device, the audio output device can respectively output the first terminal device The first incoming call reminder information corresponding to the device and the second incoming call reminder information corresponding to the second terminal device; or mixed output of the first incoming call reminder information and the second incoming call reminder information; or output third incoming call reminder information, the third incoming call reminder The information is used to remind the user of an incoming call from the first terminal device and the second terminal device.
  • the audio output device may respectively output the first call reminder information corresponding to the first terminal device and the first call reminder information corresponding to the second terminal device when receiving incoming call requests from the first terminal device and the second terminal device at the same time.
  • Two call reminder information It is also possible to output the first terminal device's corresponding call request when receiving an incoming call request sent by another terminal device after receiving an incoming call request from the first terminal device or the second terminal device before it is determined to answer the incoming call request.
  • the first incoming call reminder information and the second incoming call reminder information corresponding to the second terminal device are not limited herein.
  • a second voice transmission link may be established with the second terminal device.
  • the audio output device may determine to answer the call corresponding to the second terminal device when detecting the answering operation for the second terminal device.
  • the audio output device can communicate with the priority when determining to answer calls from one of the terminal devices
  • the answering terminal device establishes a voice transmission link, so that the answering call conforms to the user's answering intention, and the user experience is improved.
  • the audio output device may determine to answer the call corresponding to the second terminal device when the audio output device detects the first answering operation of the second terminal device.
  • the first answering operation may include clicking the audio output device for an odd number of times, sliding the audio output device for an odd number of times, etc., which are not limited herein.
  • the audio output device when the audio output device detects the second answering operation at the audio output device end, and the answering priority of the second terminal device is the highest, it may determine to answer the call corresponding to the second terminal device. It should be noted that the second answering operation may be different from the first answering operation. Optionally, if the first answering operation includes clicking the audio output device for an odd number of times, sliding the audio output device for an odd number of times, etc., the second answering operation may be pressing the audio output device for the first duration, sliding the audio output device for the second duration, etc. This is not limited.
  • the audio output device when the audio output device detects the second answering operation, it may determine the answering priorities of multiple terminal devices currently in an incoming call state, and then if the second terminal device has the highest answering priority, it may determine to answer the second terminal device. The call corresponding to the terminal device.
  • the earlier the terminal device receives an incoming call the higher the terminal device's answering priority; or, the earlier the terminal device establishes a Bluetooth connection with the audio output device, the earlier the terminal device's answering priority
  • the higher the priority; or, the receiving priority of the terminal device receiving the incoming call corresponding to the specified number is higher than that of other terminal devices.
  • the second terminal device when it detects the third answering operation, it may send a target answering instruction to the audio output device, where the target answering instruction is used to indicate that it is determined to answer the call of the second terminal device. Furthermore, when receiving the target answering instruction, the audio output device may determine to answer the call corresponding to the second terminal device.
  • the user answers the call on the first terminal device it means that the user wants to answer the call on the first terminal device, and the audio output device may determine to answer the call corresponding to the first terminal device.
  • the user answers the call at the second terminal device it means that the user wants to answer the second terminal device, and the audio output device may determine to answer the call corresponding to the second terminal device.
  • the second terminal device may perform a call on the audio output device. If the call of the first terminal device is not over yet, the speaker of the first terminal device can play the voice of the call, so as to be closer to the real use needs of the user.
  • the user can answer the incoming call at the audio output device or the terminal device through different answering operations, thereby improving the convenience of answering the incoming call of the terminal device and enriching the answering methods.
  • the audio output device may receive the first audio data sent by the second terminal device through the second voice transmission link (for example: call voice data). Further, the audio output device may generate second audio data (for example: incoming call ringtone) as the first incoming call reminder information corresponding to the first terminal device, or acquire the second audio data in the local buffer of the audio output device as the first terminal device Corresponding first call reminder information. Further optionally, the audio output device may mix and output the first audio data and the second audio data.
  • the first audio data sent by the second terminal device through the second voice transmission link (for example: call voice data). Further, the audio output device may generate second audio data (for example: incoming call ringtone) as the first incoming call reminder information corresponding to the first terminal device, or acquire the second audio data in the local buffer of the audio output device as the first terminal device Corresponding first call reminder information. Further optionally, the audio output device may mix and output the first audio data and the second audio data.
  • the audio output device can output the call voice of the second terminal device that has been answered, and at the same time output the ringtone of the unanswered call of the first terminal device, so that the user can answer the call of the second terminal device , it is easier to notice the incoming call of the first terminal device, and avoid the user from missing the incoming call of the first terminal device.
  • the audio output device is currently performing data transmission with the second terminal device through the second voice transmission link, when it is determined to answer the call corresponding to the first incoming call request, disconnect the second language transmission link, and communicate with the first
  • the terminal device establishes the first language transmission link, and the second voice transmission link is a voice transmission link established between the audio output device and the second terminal device.
  • the audio output device when the audio output device receives the first call request sent by the first terminal device, if the audio output device is currently performing data transmission with the second terminal device through the second voice transmission link, then the audio When the output device is in a call preemption scene, the audio output device may only output the first incoming call reminder information corresponding to the first terminal device to remind the user to answer the incoming call of the first terminal device. Further, when the audio output device determines to answer the call corresponding to the first incoming call request, it may disconnect the second voice transmission link, and establish the first language transmission link with the first terminal device.
  • the audio output device may disconnect the second voice transmission link and establish the first language transmission link with the first terminal device when the audio output device detects the fourth answering operation of the first terminal device.
  • the fourth answering operation may include an even number of clicks on the audio output device, an even number of times.
  • the audio output device when the audio output device detects the second answering operation at the audio output device end, and the answering priority of the first terminal device is the highest, it may determine to answer the call corresponding to the first terminal device.
  • the setting of the answering priority is similar to that described in the above embodiment, and will not be repeated here.
  • the audio output device when the audio output device detects the fifth answering operation at the first terminal device, it may determine to answer the call corresponding to the first terminal device.
  • the audio output device determines to answer the call corresponding to the first incoming call request, disconnects the second language transmission link, and establishes the first language transmission link with the first terminal device, if it determines When the first terminal device ends the call state and the second terminal device is still in the call state, it may disconnect the first voice transmission link and re-establish the second voice transmission link with the second terminal device.
  • the first voice transmission link between the audio output device and the first terminal device does not transmit voice data after the first terminal device ends the call state, if the second terminal device that is preempted to call at this time Still in the call state, the first voice transmission link can be disconnected, and the second voice transmission link can be re-established, so as to continue to answer the call of the second terminal device through the audio output device.
  • the audio output device may send the second control to the second terminal device. command, and then the second terminal device may output the third audio data generated by the second terminal device through the speaker device when receiving the second control command.
  • the second terminal device can play the voice data or other audio data (such as music, ringtones, etc.)
  • the audio data output by the second terminal device is listened to through the sound played out.
  • the audio output device may disconnect the second voice when determining that the second terminal device ends the call. a transmission link, and establish a first voice transmission link with the first terminal device, and the second voice transmission link is a voice transmission link established between the audio output device and the second terminal device.
  • the audio output device can disconnect the second voice transmission link , and establish a first voice transmission link with the first terminal device, so as to answer the missed incoming call of the first terminal device.
  • the audio output device determines that the second terminal device ends the call, it can determine whether the first terminal device is still in an incoming call state, and if so, the audio output device disconnects the second voice transmission link and communicates with the first terminal device The device establishes a first voice transmission link.
  • the second voice transmission link can be disconnected only when the second terminal device ends the call and the first terminal device is still in the incoming call state, and the first voice transmission link can be established with the first terminal device, thereby avoiding Subsequently, the second terminal device receives an incoming call, and needs to repeatedly establish the second voice transmission link, thereby reducing the power consumption of the audio output device and the second terminal device.
  • FIG. 7 is an interaction sequence diagram of another call control method disclosed in the embodiment of the present application.
  • the audio output device can respectively establish a Bluetooth connection with the first terminal device and the second terminal device; Afterwards, the audio output device may send the first mode adjustment instruction to the first terminal device and the second terminal device respectively; after receiving the first mode adjustment instruction, the first terminal device may adjust the audio output device to the first call mode, Similarly, after receiving the first mode adjustment instruction, the second terminal device may adjust the audio output device to the first call mode.
  • the first terminal device and the second terminal device may respectively send a first incoming call request and a second incoming call request to the audio output device, and then the audio output device may output the first incoming call reminder information corresponding to the first terminal device, and the second incoming call reminder information corresponding to the second terminal device;
  • the device establishes a second voice transmission link.
  • the audio output device determines to answer the call corresponding to the first terminal device, it may disconnect the second voice transmission link, and establish the first call transmission link with the first terminal device.
  • the audio output device may disconnect the first voice transmission link when it is determined that the first terminal device ends the call state, and request the second terminal device to re-establish the second voice transmission link; furthermore, the second terminal device may communicate with the The audio output device re-establishes the second voice transmission link.
  • FIG. 8 is an interaction sequence diagram of another call control method disclosed in the embodiment of the present application.
  • the audio output device can respectively establish a Bluetooth connection with the first terminal device and the second terminal device; when the second terminal device receives an incoming call, it can send a second query request to the audio output device, and the second query request is used to query audio whether the output device supports the first call mode; then the audio output device can send the first mode adjustment instruction to the second terminal device in response to the second inquiry request, and then the second terminal device can be adjusted to the first call mode for the audio output device, and
  • the second incoming call request is sent to the audio output device, and the audio output device may output the second incoming call reminder information when receiving the second incoming call request.
  • the audio output device may establish a second voice transmission link with the second terminal device.
  • the first terminal device may send a first inquiry request to the audio output device, and the first inquiry request is used to inquire whether the audio output device supports the first call mode; the audio output device A first mode adjustment instruction may be sent to the first terminal device in response to the first inquiry request, and then the first terminal device may be adjusted to the first call mode for the audio output device, and send a first call request to the audio output device, and the audio output device
  • the first incoming call reminder information can be output; furthermore, when it is determined to answer the incoming call of the first terminal device, the audio output device can disconnect the second voice transmission link with the second terminal device, and communicate with the second terminal device.
  • the first terminal device establishes a first voice transmission link.
  • FIG. 7 and FIG. 8 are only for illustrating the call control method disclosed in the embodiment of the present application, and shall not limit the call control method disclosed in the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another call control method disclosed in the embodiment of the present application.
  • the call control method can be applied to the above-mentioned terminal devices, including mobile phones, smart wearable devices, tablet computers or desktop computers, etc., which is not limited herein.
  • the call control method may include the following steps:
  • the terminal device can adjust the audio output device to the second mode.
  • the first call mode is that the terminal device does not trigger the establishment of a voice transmission link with the audio output device when receiving an incoming call, but only sends an incoming call request to the audio output device, and establishes a link with the audio output device when it is determined to answer the incoming call. The mode of the voice transmission link.
  • the terminal device can be adjusted to the first call mode for the audio output device as far as possible before the terminal device receives an incoming call, so as to prevent the subsequent terminal device from preempting calls from other terminal devices when receiving an incoming call.
  • the terminal device when it establishes a Bluetooth connection with the audio output device, if it receives an incoming call, it may send a first inquiry request to the audio output device, and the first inquiry request is used to inquire Whether the audio output device supports the first call mode; further, when the terminal device receives the first mode adjustment instruction, it can adjust the terminal device to the first call mode for the audio playback device, and send an incoming call request to the audio output device.
  • One call mode is that the terminal device does not trigger the establishment of a voice transmission link with the audio output device when receiving an incoming call, but only sends an incoming call request to the audio output device, and establishes a voice transmission link with the audio output device when it is determined to answer the incoming call mode, the first mode adjustment instruction is an instruction sent by the audio output device in response to the first inquiry request.
  • the audio output device can send the first mode adjustment command to the terminal device only when the terminal device receives an incoming call, so that the terminal device adjusts to the first call mode for the audio output device, thereby preventing the audio output device from constantly
  • the terminal device that does not receive an incoming call sends the first mode adjustment instruction, thereby reducing the power consumption of the audio output device.
  • the terminal device can be adjusted to the second call mode, and the second call mode is the terminal When the device receives an incoming call, it triggers the establishment of a voice transmission link mode with the audio output device.
  • the second mode adjustment instruction may be an instruction sent by the audio output device when it is determined that the terminal device is the only terminal device maintaining a Bluetooth connection with the audio output device.
  • the audio output device can send a second mode adjustment command to the only terminal device that maintains a Bluetooth connection with the audio output device, so that the terminal device adjusts the audio output device from the first call mode to the second call mode,
  • the second call mode is a mode in which the terminal device triggers the establishment of a voice transmission link with the audio output device when receiving an incoming call, so when the subsequent terminal device receives an incoming call, it will directly answer it at the audio output device, and from the improved call efficiency.
  • the terminal device after the terminal device establishes a voice transmission link with the audio output device, if it receives the first control instruction, it can mute the audio data generated by the terminal device; and, if it receives the second control instruction command, the audio data generated by the terminal device can be output through the speaker device.
  • the terminal device can mute the voice data or other audio data (such as music, ringtones, etc.) generated by itself after its own call is preempted by other terminal devices, so as to avoid the audio data generated by the terminal device from affecting the user. .
  • the terminal device's own call is preempted by other terminal devices, it can also play the voice data or other audio data (such as music, ringtones, etc.) generated by itself through the speaker device, so that the user can use the externally played Sound to listen to the audio data output by the terminal device.
  • the terminal device when the terminal device receives an incoming call, it will not immediately trigger the establishment of a call transmission link with the audio output device, thereby avoiding the situation that the terminal device actively preempts the call of other terminal devices when it receives a call, and improves
  • the terminal device can only establish a voice transmission link with the audio output device when it is determined to answer the call corresponding to the call request, so as to ensure that the incoming call answered meets the user's intention to answer the call. , thereby improving the user experience.
  • FIG. 10 is a schematic structural diagram of a call control device disclosed in an embodiment of the present application.
  • the call control device may be applied to the above-mentioned audio output device, including earphones or speakers, and is not limited herein.
  • the call control device may include an output unit 1001 and a first establishment unit 1002, wherein:
  • the output unit 1001 is configured to output the first incoming call reminder information corresponding to the first terminal device if the first incoming call request sent by the first terminal device is received when the Bluetooth connection is established with N terminal devices, where N is greater than Or an integer equal to 2.
  • the first establishing unit 1002 is configured to, when it is determined to answer the call corresponding to the first incoming call request, establish a first voice transmission link with the first terminal device, so as to transmit data information through the first voice transmission link.
  • the terminal device when the terminal device receives an incoming call, it will not immediately trigger the establishment of a call transmission link with the audio output device, thereby avoiding the situation that the terminal device actively preempts the call of other terminal devices when it receives a call, and improves the throughput.
  • the stability of the audio output device for answering incoming calls in addition, when the audio output device receives an incoming call request from the terminal device, it can output an incoming call reminder message to remind the user, and then the audio output device will communicate with the terminal device when the user confirms the incoming call.
  • the terminal device establishes a voice transmission link to ensure that the incoming calls answered meet the user's intention to answer, thereby improving the user experience.
  • the call control device shown in FIG. 10 may further include: a first sending unit, wherein:
  • the first sending unit is configured to send a first mode adjustment instruction to one or more terminal devices, wherein the first mode adjustment instruction is used to instruct the terminal device to adjust to the first call mode for the audio output device, and the first call mode is a terminal
  • the device receives an incoming call, it does not trigger the establishment of a voice transmission link with the audio output device, but only sends an incoming call request to the audio output device, and establishes a voice transmission link with the audio output device when it is determined to answer the incoming call.
  • Implementing the above-mentioned call control device can adjust the terminal device that has established a Bluetooth connection with the audio output device to the first call mode, thereby avoiding subsequent call preemption.
  • the first sending unit is further configured to send the first mode adjustment instruction to the target terminal device after the audio output device establishes a Bluetooth connection with the Mth terminal device, and the target terminal device is an established Bluetooth Among the M connected terminal devices that are not in the first call mode, M is an integer greater than or equal to 2 and less than N.
  • the audio output device after the audio output device establishes a Bluetooth connection with the terminal device, it can send the first mode adjustment instruction to the target terminal device through the Bluetooth connection, so that the terminal device can receive an incoming call as much as possible.
  • the terminal device is adjusted to the first call mode for the audio output device, thereby preventing the subsequent terminal device from preempting calls from other terminal devices when receiving an incoming call.
  • the target terminal device when M is equal to 2, includes M terminal devices that have established a Bluetooth connection; and/or, when M is greater than 2 and less than N, the target terminal device is M that has established a Bluetooth connection.
  • the audio output device can only send the terminal device that is not in the first call mode among the terminal devices that have established a Bluetooth connection, thereby avoiding repeatedly sending the first mode adjustment instruction to the terminal device, thereby reducing the audio output.
  • the power consumption of the device can only send the terminal device that is not in the first call mode among the terminal devices that have established a Bluetooth connection, thereby avoiding repeatedly sending the first mode adjustment instruction to the terminal device, thereby reducing the audio output.
  • the first sending unit is further configured to receive an inquiry request sent by the first terminal device, where the inquiry request is a request sent by the first terminal device to the audio output device when receiving an incoming call, for Inquiring whether the audio output device supports the first call mode; and, in response to the inquiry request, sending a first mode adjustment instruction to the first terminal device.
  • the audio output device can send the first mode adjustment instruction to the terminal device only when one or several terminal devices receive an incoming call, so that the terminal device adjusts to the first call for the audio output device. mode, so as to prevent the audio output device from sending the first mode adjustment instruction to the terminal device that has not received an incoming call, and thus reduce the power consumption of the audio output device.
  • the call control device shown in FIG. 10 may further include: a second sending unit, wherein:
  • the second sending unit is configured to, after the first sending unit sends the first mode adjustment instruction to one or more terminal devices, if it is determined that the audio output device only maintains a Bluetooth connection with one terminal device, then send a message to the terminal that maintains the Bluetooth connection
  • the device sends a second mode adjustment instruction.
  • the second mode adjustment instruction is used to instruct the terminal device to adjust to the second call mode for the audio output device.
  • the second call mode is that the terminal device triggers the establishment of voice transmission with the audio output device when receiving an incoming call. The mode of the link.
  • the audio output device can send a second mode adjustment instruction to the only terminal device that maintains a Bluetooth connection with the audio output device, so that the terminal device adjusts the audio output device from the first call mode to the second mode.
  • call mode and because the second call mode is a mode in which the terminal device triggers the establishment of a voice transmission link with the audio output device when receiving an incoming call, so when the subsequent terminal device receives an incoming call, it will directly answer it at the audio output device. And from improving the call efficiency.
  • the first establishing unit 1002 is also configured to determine to answer the call corresponding to the first incoming call request when the audio output device is currently performing data transmission with the second terminal device through the second voice transmission link , the second language transmission link is disconnected, and the first language transmission link is established with the first terminal device, and the second voice transmission link is a voice transmission link established between the audio output device and the second terminal device.
  • the audio output device can disconnect the second voice transmission link when it determines to answer the call corresponding to the first call request, and establish the first language transmission link with the first terminal device, so that the call Preemption conforms to the user's wishes.
  • the first establishing unit 1002 is also configured to: when the audio output device is currently performing data transmission with the second terminal device through the second voice transmission link, if it is determined that the second terminal device ends the call, disconnecting the second voice transmission link, and establishing a first voice transmission link with the first terminal device, where the second voice transmission link is a voice transmission link established between the audio output device and the second terminal device.
  • the output unit 1001 is also configured to output the first call reminder information corresponding to the first terminal device when receiving the call request sent by the first terminal device and the second terminal device, and the second terminal device The second incoming call reminder information corresponding to the device.
  • the first sending unit is also configured to, in the process of establishing Bluetooth connections with N terminal devices, if receiving the second query request sent by the terminal device, in response to the second query request, send the terminal The device sends a first mode adjustment instruction, and the second inquiry request is used to inquire whether the audio output device supports the first call mode.
  • the call control device shown in FIG. 10 may also include a prohibition unit, which is used to prevent the audio output device from communicating with the audio output device when the number of terminal devices currently establishing Bluetooth connections The terminal device establishing the Bluetooth connection sends the first mode adjustment instruction.
  • the call control device shown in FIG. 10 may further include: a fourth establishment unit, configured to output the first incoming call reminder information corresponding to the first terminal device, and the first call reminder information corresponding to the second terminal device. After the incoming call reminder message, if an answering operation for the second terminal device is first detected, a second voice transmission link is established with the second terminal device.
  • the audio output device can determine which terminal device to answer the call with priority. Firstly, a voice transmission link is established with the terminal device to be answered first, so that the answered call conforms to the user's intention to answer, and the user experience is improved.
  • the call control device shown in FIG. 10 may further include: a detection unit, wherein:
  • the detecting unit is configured to determine to answer the call corresponding to the second terminal device when detecting the answering operation for the second terminal device.
  • the detection unit is further configured to determine to answer the call corresponding to the second terminal device when the audio output device detects the first answering operation of the second terminal device; or, at the audio output device When the second answering operation is detected and the second terminal device has the highest answering priority, it is determined to answer the call corresponding to the second terminal device; or, when the second terminal device detects the third answering operation, it is determined to answer the call of the second terminal device The call corresponding to the device.
  • the user can answer the incoming call of the terminal device through different answering operations at the audio output device end or the terminal device end, thereby improving the convenience of answering the incoming call of the terminal device.
  • the call control device shown in FIG. 10 may further include: a mixing output unit, configured to, after establishing a second voice transmission link with the second terminal device, receive The second terminal device sends the first audio data, and mixes and outputs the first audio data and the second audio data generated by the audio output device.
  • a mixing output unit configured to, after establishing a second voice transmission link with the second terminal device, receive The second terminal device sends the first audio data, and mixes and outputs the first audio data and the second audio data generated by the audio output device.
  • the audio output device can output the call voice of the second terminal device that has been answered, and at the same time mix and output the ringtone of the incoming call of the first terminal device that is not answered, so that the user can answer the call of the second terminal device During the process, it is easier to notice the incoming call of the first terminal device, so as to prevent the user from missing the incoming call of the first terminal device.
  • the call control device shown in FIG. 10 may further include: a mute unit, wherein:
  • the mute unit is configured to perform a mute process on the second audio data if it is determined to mute the second audio data after the first audio data and the second audio data generated by the audio output device are mixed and output.
  • the audio output device when determining to mute the second audio data, it can be determined that the user has noticed the incoming call of the first terminal device, and the audio output device can mute the reminder ringtone of the first terminal device to avoid the first terminal
  • the mute of the reminding ringtone of the device affects the user to answer the call of the second terminal device, which improves the flexibility of the call control method and also improves the user experience.
  • the call control device shown in FIG. 10 may further include: a re-establishment unit, wherein:
  • the re-establishment unit is used to determine that the first terminal device has ended the call state and the second terminal device is still in the call state after disconnecting the second voice transmission link and establishing the first voice transmission link with the first terminal device , disconnect the first voice transmission link, and re-establish the second voice transmission link with the second terminal device.
  • the first voice transmission link between the audio output device and the first terminal device does not transmit voice data after the first terminal device ends the call state, if the second party that is preempted to call If the terminal device is still in the call state, the first voice transmission link can be disconnected and the second voice transmission link can be re-established, so as to continue to answer the call of the second terminal device through the audio output device.
  • the call control device shown in FIG. 10 may further include: a third sending unit, wherein:
  • the third sending unit is configured to send a first control instruction to the second terminal device after disconnecting the second voice transmission link and establishing the first voice transmission link with the first terminal device, and the first control instruction is used to indicate The second terminal device performs mute processing on the third audio data generated by the second terminal device;
  • a second control instruction is sent to the second terminal device, where the second control instruction is used to instruct the second terminal device to output the third audio data generated by the second terminal device through the speaker device.
  • the second terminal device can mute the voice data or other audio data (such as music, ringtones, etc.) generated by itself after its own call is preempted by the first terminal device, so as to avoid the second terminal
  • the audio data generated by the device affects the user; and, after the second terminal device is preempted by the first terminal device, the voice data generated by itself or other audio data (such as: music, ringtones, etc.) Play it out, so that the user can listen to the audio data output by the second terminal device through the sound played out.
  • FIG. 11 is a schematic structural diagram of another call control device disclosed in an embodiment of the present application.
  • the call control device can be applied to the above-mentioned terminal devices, including mobile phones, smart wearable devices, tablet computers, desktop computers, etc., which is not limited herein.
  • the call control device may include: a fourth sending unit 1101 and a second establishing unit 1102, wherein:
  • the fourth sending unit 1101 is configured to send an incoming call request to the audio output device if an incoming call is received when a Bluetooth connection is established with the audio output device;
  • the second establishing unit 1102 is configured to establish a voice transmission link with the audio output device when it is determined to answer the call corresponding to the call request, so as to transmit data information through the voice transmission link.
  • the terminal device when the terminal device establishes a Bluetooth connection with the audio output device, if it receives an incoming call, it may not immediately establish a voice transmission link with the audio output device, thereby preventing the terminal device from actively preempting other devices when a call comes in.
  • the call stability of answering the incoming call through the audio output device is improved.
  • the audio output device establishes a voice transmission link with the terminal device for data transmission only when it is determined that the user answers the incoming call of the terminal device, thereby ensuring that the incoming call answered conforms to the user's intention to answer, thereby improving the user experience Spend.
  • the call control device shown in FIG. 11 further includes: a first adjustment unit, wherein:
  • the first adjustment unit is configured to adjust the terminal device to the first call mode for the audio output device after the Bluetooth connection is established with the audio output device if the first mode adjustment instruction is received.
  • the first call mode is when the terminal device receives When an incoming call does not trigger the establishment of a voice transmission link with the audio output device, it only sends an incoming call request to the audio output device, and establishes a voice transmission link with the audio output device when it is determined to answer the incoming call.
  • Implementing the above-mentioned call control device can make the terminal device adjust to the first call mode for the audio output device as much as possible before the terminal device receives an incoming call, thereby preventing the subsequent terminal device from preempting other terminal devices when receiving an incoming call call.
  • the fourth sending unit 1101 is also configured to send a first inquiry request to the audio output device if a Bluetooth connection is established with the audio output device, and the first inquiry request It is used to inquire whether the audio output device supports the first call mode; and, when receiving the first mode adjustment instruction, adjust the terminal device to the first call mode for the audio playback device, and send an incoming call request to the audio output device, the first Call mode is a mode in which the terminal device does not trigger the establishment of a voice transmission link with the audio output device when receiving an incoming call, but only sends an incoming call request to the audio output device, and establishes a voice transmission link with the audio output device when it is determined to answer the incoming call , the first mode adjustment instruction is an instruction sent by the audio output device in response to the first inquiry request.
  • the audio output device can send the first mode adjustment command to the terminal device only when the terminal device receives an incoming call, so that the terminal device adjusts to the first call mode for the audio output device, thereby avoiding audio output
  • the device sends the first mode adjustment instruction to the terminal device that has not received an incoming call, so that the power consumption of the audio output device can be reduced.
  • the call control device shown in FIG. 11 further includes: a second adjustment unit, wherein:
  • the second adjustment unit is configured to adjust the terminal device to the second call mode after the call mode of the terminal device for the audio output device is adjusted to the first call mode, if a second mode adjustment instruction is received, the second call mode It is the terminal device that triggers the establishment of a voice transmission link mode with the audio output device when it receives an incoming call.
  • the second mode adjustment instruction is an instruction sent by the audio output device when it is determined that the terminal device is the only terminal device that maintains a Bluetooth connection with the audio output device. .
  • the audio output device can send a second mode adjustment instruction to the only terminal device that maintains a Bluetooth connection with the audio output device, so that the terminal device adjusts the audio output device from the first call mode to the second mode.
  • call mode and because the second call mode is a mode in which the terminal device triggers the establishment of a voice transmission link with the audio output device when receiving an incoming call, so when the subsequent terminal device receives an incoming call, it will directly answer it at the audio output device. And from improving the call efficiency.
  • the call control device shown in FIG. 11 further includes: a receiving unit, wherein:
  • the receiving unit is configured to mute the audio data generated by the terminal device when receiving the first control instruction; and output the audio data generated by the terminal device through the speaker device when receiving the second control instruction.
  • the terminal device can mute the voice data or other audio data (such as music, ringtones, etc.) generated by itself after its own call is preempted by other terminal devices, so as to avoid the audio data generated by the terminal device Affecting the user; and, the terminal equipment can play the voice data or other audio data (for example: music, ringtones, etc.) Play the sound to listen to the audio data output by the terminal device.
  • voice data or other audio data such as music, ringtones, etc.
  • FIG. 12 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
  • the electronic equipment may include:
  • a memory 1201 storing executable program codes
  • processor 1202 coupled to the memory 1201;
  • the processor 1202 invokes the executable program code stored in the memory 1201 to execute the call control method applied to the audio output device disclosed in the above embodiments.
  • An embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes a computer to execute the call control method applied to an audio output device disclosed in the foregoing embodiments.
  • the embodiment of the present application also discloses another electronic device, which may include: a memory storing executable program code; a processor coupled to the memory;
  • the processor invokes the executable program code stored in the memory to execute the call control method applied to the terminal device disclosed in the above embodiments.
  • An embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, where the computer program causes a computer to execute the call control method applied to a terminal device disclosed in the foregoing embodiments.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, located in one place, or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-accessible memory.
  • the technical solution of the present application in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute some or all of the steps of the above-mentioned methods in various embodiments of the present application.
  • ROM read-only Memory
  • RAM random access memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-time Programmable Read-Only Memory
  • EEPROM Electronically Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Landscapes

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

Abstract

本申请实施例涉及蓝牙通信技术领域,公开了一种通话控制方法及装置、电子设备、计算机可读存储介质,该方法应用于音频输出设备,该方法包括:在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出第一终端设备对应的第一来电提醒信息,N为大于或者等于2的正整数;以及,在确定接听第一来电请求对应的通话时,与第一终端设备建立第一语音传输链路,以通过第一语音传输链路传输数据信息。实施本申请实施例公开的方法,能够避免终端设备之间自动抢占音频输出设备进行通话的情况,提高了终端设备的通话稳定性。

Description

通话控制方法及装置、电子设备、计算机可读存储介质
本申请要求于2021年9月24日提交、申请号为202111122346.5、发明名称为“通话控制方法及装置、电子设备、计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及蓝牙通信技术领域,尤其涉及一种通话控制方法及装置、电子设备、计算机可读存储介质。
背景技术
随着蓝牙通信技术的快速发展,如今一个音频输出设备(例如:耳机)可以同时与多个终端设备(例如:手机)建立蓝牙连接,进而可以通过音频输出设备接听终端设备的来电通话。
在实践中发现,多个终端设备同时接收到来电通话时,经常出现终端设备之间自动抢占音频输出设备进行通话的情况,从而不利于提高通话稳定性。
发明内容
本申请实施例公开了一种通话控制方法及装置、电子设备、计算机可读存储介质,能够避免终端设备之间自动抢占音频输出设备进行通话的情况,提高了终端设备的通话稳定性。
本申请实施例第一方面公开一种通话控制方法,应用于音频输出设备,所述方法包括:
在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出所述第一终端设备对应的第一来电提醒信息,所述N为大于或者等于2的整数;
在确定接听所述第一来电请求对应的通话时,与所述第一终端设备建立第一语音传输链路,以通过所述第一语音传输链路传输数据信息。
本申请实施例第二方面公开一种通话控制方法,应用于终端设备,所述方法包括:
在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则向音频输出设备发送来电请求;
在确定接听所述来电请求对应的通话时,与所述音频输出设备建立语音传输链路,以通过所述语音传输链路传输数据信息。
本申请实施例第三方面公开一种通话控制装置,应用于音频输出设备,所述装置包括:
输出单元,用于在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出所述第一终端设备对应的第一来电提醒信息,所述N为大于或者等于2的整数;
第一建立单元,用于在确定接听所述第一来电请求对应的通话时,与所述第一终端设备建立第一语音传输链路,以通过所述第一语音传输链路传输数据信息。
本申请实施例第四方面公开一种通话控制装置,应用于终端设备,所述装置包括:
发送单元,用于在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则向音频输出设备发送来电请求;
第二建立单元,用于在确定接听所述来电请求对应的通话时,与所述音频输出设备建立语音传输链路,以通过所述语音传输链路传输数据信息。
本申请实施例第五方面公开一种电子设备,包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行本申请实施例第一方面或第二方面公开的通话控制方法。
本申请实施例第四方面公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本申请实施例第一方面或第二方面公开的通话控制方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图进行简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例公开的一种适用于通话控制方法的应用场景示意图;
图2是本申请实施例公开的一种通话控制方法的流程示意图;
图3是本申请实施例公开的另一种通话控制方法的流程示意图;
图4是本申请实施例公开的一种通话控制方法的交互时序图;
图5是本申请实施例公开的另一种通话控制方法的交互时序图;
图6是本申请实施例公开的又一种通话控制方法的流程示意图;
图7是本申请实施例公开的又一种通话控制方法的交互时序图;
图8是本申请实施例公开的再一种通话控制方法的交互时序图;
图9是本申请实施例公开的再一种通话控制方法的流程示意图;
图10是本申请实施例公开的一种通话控制装置的结构示意图;
图11是本申请实施例公开的另一种通话控制装置的结构示意图;
图12是本申请实施例公开的一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
需要说明的是,本申请实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外可以理解,本申请实施例的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述特定顺序。
本申请实施例公开了一种通话控制方法及装置、电子设备、计算机可读存储介质,能够避免终端设备之间自动抢占音频输出设备进行通话的情况,提高了终端设备的通话稳定性。
以下将结合具体实施例进行详细描述。
为了更加清楚地说明本申请实施例公开的一种通话控制方法及装置、电子设备、计算机可读存储介质,首先介绍适用于该通话控制方法的应用场景。可选的,该通话控制方法可以应用于各种音频输出设备,包括但不限于:耳机或者音箱等,在此不作限定。
请参阅图1,图1是本申请实施例公开的一种适用于通话控制方法的应用场景示意图。如图1所示,该应用场景可以至少包括:音频输出设备100和至少两个终端设备(例如图 1所示的第一终端设备200和第二终端设备300)。其中,音频输出设备100可以分别与第一终端设备200以及第二终端设备300建立蓝牙连接。基于上述的蓝牙连接,音频输出设备100可以分别单独与第一终端设备200或第二终端设备300进行数据传输。可选地,上述的蓝牙连接可以是基于经典蓝牙协议(例如,由蓝牙技术联盟Bluetooth SIG制定的蓝牙4.0等版本的协议)实现的,也可以基于蓝牙低功耗(Bluetooth Low Energy,BLE)协议(例如蓝牙5.0等版本的协议)实现的,在此不作限定。需要进一步说明的是,图1仅是示例性地示出第一终端设备200和第二终端设备300两个终端设备,但实际上同时与音频输出设备100建立蓝牙连接的终端设备可以有多个,例如:三个、四个或者五个等,图1不应对本申请实施例构成限定。
可选的,音频输出设备100可以包括具备蓝牙通信功能,且具备扬声器等音频输出模组的各类设备,例如:蓝牙耳机、蓝牙音箱等,尤其可以包括TWS(True Wireless Stereo,真无线立体声)耳机。第一终端设备200和第二终端设备300可以包括具备蓝牙通信功能的各类设备或***,例如:手机、智能可穿戴设备、车载终端、平板电脑、PC(Personal Computer,个人电脑)、PDA(Personal Digital Assistant,个人数字助理)等,在此不作限定。可选的,与音频输出设备100建立蓝牙连接的多个终端设备可以是同类型的设备或***,例如:第一终端设备200和第二终端设备300都可以是手机,或者都可以是平板电脑。在另一种实施例中,与音频输出设备100建立蓝牙连接的多个终端设备可以是不同类型的设备或***,例如:第一终端设备200可以是手机,而第二终端设备300可以是平板电脑,在此不作限定。可以理解的是,为了方便说明,图1仅是示例性地的以耳机来表示音频输出设备100,用手机来表示第一终端设备200和第二终端设备300,这仅仅是一种示例,不应对本申请实施例中提到的音频输出设备100、第一终端设备200和第二终端设备300的设备类型构成限定。
相关技术中,以耳机和手机为例,为了让用户能够通过耳机听到手机端设置的各种铃声,以增加铃声的多样性,目前大部分手机设置为在手机来电时自动与耳机建立语音传输链路,例如:同步定向链接(Synchronous Connection Oritened,SCO)链路,这样耳机端就能够在手机来电时接收到手机端的铃声并播放,从而提高了铃声的多样性。但是发明人研究发现,由于手机这样的设置,在耳机“一拖多”场景(一个耳机连接两个或两个以上终端设备的场景)中会引发其他问题,例如:当其中一个手机来电接听中,若另一个手机来电则会直接抢占耳机并播放铃声;或者,在一个手机先来电,另一个手机后来电的情况下,则后来电的手机将会抢占耳机,此时用户如果想先接听先来电的手机,则由于后来电的手机已经抢占耳机,将导致即使用户先接听了先来电的手机,也无法抢回耳机。可见,上述问题都会给用户带来使用上的不便。
对此,通过本申请实施例公开的通话控制方法,音频输出设备100在与第一终端设备200和第二终端设备300建立蓝牙连接的情况下,若音频输出设备100接收到第一终端设备200发送的来电请求,可以不立即触发与第一终端设备200建立语音传输链路,而仅是输出第一终端设备200对应的来电提醒信息提醒用户,从而避免第一终端设备200来电时主动抢占其他终端设备(例如:第二终端设备300)的通话的情况,进而提高了通过音频输出设备100接听来电通话的通话稳定性。进一步地,音频输出设备100可以在确定接听第一终端设备200对应的通话时,才与第一终端设备200建立语音传输链路,并通过语音传输链路与第一终端设备200进行数据信息传输,从而保证了接听的来电通话符合用户的接听意向,提高了用户的使用体验度。
请参阅图2,图2是本申请实施例公开的一种通话控制方法的流程示意图。该通话控制方法可以应用于上述的音频输出设备,包括耳机或者音箱等,在此不作限定。该通话控 制方法可以包括以下步骤:
202、在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出第一终端设备对应的第一来电提醒信息,N为大于或者等于2的整数。
本申请实施例中,音频输出设备可以同时与N个终端设备建立蓝牙连接,其中,N为大于或等于2的整数,例如:2、3或者5等,在此不作限定。可选的,音频输出设备在与N个终端设备建立蓝牙连接的情况下,音频输出设备可以与N个终端设备建立第一数据传输链路,第一数据传输链路可以包括但不限于:异步无链接(Asynchronous Connection Less,ACL)链路,ACL链路是一种面向连接的蓝牙异步传输的逻辑链路,音频输出设备可以通过ACL链路与一个或者分别与多个终端设备进行数据传输,从而可以形成音频输出设备“一拖二”或者“一拖多”个终端设备的场景,在该场景下,方便用户通过一个音频输出设备同时与多个终端设备进行交互,提高了交互效率。
本申请实施例中,由于音频输出设备与终端设备之间建立有蓝牙连接,所以当终端设备接收到来电通话时,音频输出设备可以通过蓝牙连接接听终端设备的来电通话。可选的,音频输出设备在与终端设备建立第一数据传输链路的情况下,可以基于通话协议来接听终端设备上的来电通话。可选的,通话协议可以包括但不限于:HFP(Hands-free Profile)协议,HFP协议是一种用于蓝牙设备之间进行通话控制的蓝牙协议。
可以理解的是,由于通话语音的时效性高,所以为了提高通话过程中语音数据的传输速度,音频输出设备在确定接听终端设备的通话时,还可以与终端设备建立语音传输链路,以通过语音传输链路进行语音数据传输。可选的,语音传输链路可以包括但不限于:同步定向链接(Synchronous Connection Oritened,SCO)链路,SCO链路主要用来传输对时间要求较高的数据(例如:通话语音数据),通常用于蓝牙通话或者虚拟电话等场景。
在相关技术中,终端设备在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则终端设备会立即与音频输出设备建立语音传输链路,以通过语音传输链路与音频输出设备进行数据传输。在实践中发现,在音频输出设备当前正通过与第二终端设备建立的第二语音传输链路接听第二终端设备的通话的过程中,若第一终端设备接收到来电通话,则采用上述的相关技术将会自动断开第二语音传输链路,并让第一终端设备与音频输出设备建立第一语音传输链路。可见采用上述的相关技术,在第一终端设备后来电的情况下,第一终端设备会抢占第二终端设备的通话,从而使得音频输出设备端接听到的来自第二终端设备的通话中断,不利于提高音频输出设备与终端设备之间的通话稳定性。
对此可选的,第一终端设备在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,第一终端设备可以不立即触发与音频输出设备建立语音传输链路,而仅是向音频输出设备发送第一来电请求,从而防止第一终端设备抢占正与音频输出设备进行数据传输的其他终端设备(例如:上述的第二终端设备)的通话。
其中,第一来电请求可以包括来电通知信息,用于通知音频输出设备第一终端设备接收到来电通话。对此,音频输出设备在接收到第一终端设备发送的第一来电请求时,可以输出第一终端设备对应的第一来电提醒信息提醒用户。可选的,第一来电提醒信息可以包括提醒铃声、提醒文字、提醒震动等,在此不作限定。
终端设备(例如:手机)在接收来电时,通常会输出提醒铃声来提醒用户,但是由于第一终端设备与音频输出设备之间还未建立语音传输链路,所以第一终端设备所设置的提醒铃声无法传输给音频输出设备。对此可选的,音频输出设备可以在接收到第一终端设备的第一来电请求时,可以实时生成与第一终端设备对应的第一来电提醒信息;在另一种实施例中,音频输出设备可以在接收到第一终端设备发送的第一来电请求时,可以从本地存储器中获取与第一终端设备对应的第一来电提醒信息,在此不作限定。
204、在确定接听第一来电请求对应的通话时,与第一终端设备建立第一语音传输链路,以通过第一语音传输链路传输数据信息。
本申请实施例中,音频输出设备在输出第一来电提醒信息提醒用户之后,用户可以通过音频输出设备,或者通过第一终端设备接听第一终端设备的通话。进一步地,音频输出设备可以在根据用户的接听操作,确定接听第一来电请求对应的通话时,与第一终端设备建立第一语音传输链路,以通过第一语音传输链路传输数据信息。
可选的,音频输出设备在确定接听第一来电请求对应的通话时,可以向第一终端设备发送建立语音传输链路的建立请求;进而,第一终端设备可以响应于上述的建立请求,与音频输出设备建立第一语音传输链路。
实施上述各实施例公开的方法,第一终端设备在接收到来电通话时,可以不立即与音频输出设备建立通话传输链路,从而避免了第一终端设备来电时主动抢占其他终端设备的通话的情况,提高了通过音频输出设备接听来电通话时的通话稳定性;此外,音频输出设备在接收到第一终端设备的来电请求时,可以输出来电提醒信息提醒用户,并在确定用户想要接听第一终端设备的来电通话时,才与第一终端设备建立语音传输链路,从而保证了接听的来电通话符合用户的接听意向,提高了用户的使用体验度。
请参阅图3,图3是本申请实施例公开的另一种通话控制方法的流程示意图。该通话控制方法可以应用于上述的音频输出设备,包括耳机或者音箱等,在此不作限定。该通话控制方法可以包括以下步骤:
302、在与N个终端设备建立蓝牙连接的情况下,向一个或多个终端设备发送第一模式调整指令,其中,第一模式调整指令用于指示终端设备针对音频输出设备调整为第一通话模式,N为大于或者等于2的整数。
在音频输出设备与终端设备建立通话接听的过程中,基于音频输出设备与终端设备之间建立语音传输链路方式的不同,终端设备可以设置有不同的通话模式。可选的,通话模式可以包括第一通话模式和第二通话模式。其中,第一通话模式可以包括带外通话模式(out-band ring),带外通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求,且在确定接听来电通话时与音频输出设备建立语音传输链路的模式。第二通话模式可以包括带内通话模式(in-band ring),带内通话模式是终端设备在接收到来电通话时,触发与音频输出设备建立语音传输链路的模式。例如,终端设备在接收到来电通话时,先向音频输出设备发送来电请求,再向音频输出设备发送语音传输链路建立请求,以与音频输出设备建立语音传输链路。
对此,为了防止终端设备在接收到来电通话时,立即与音频输出设备建立语音传输链路,进而抢占其他终端设备的通话。可选的,音频输出设备在与N个终端设备建立蓝牙连接的情况下,可以主动向一个或多个终端设备发送第一模式调整指令,其中,一个或多个终端设备可以包括第一终端设备。进而一个或多个终端设备在接收到第一模式调整指令时,可以针对音频输出设备调整为第一通话模式。如上所述,终端设备被调整为第一通话模式时,终端设备在接收到来电通话时就不会立即与音频输出设备建立语音传输链路,从而避免了终端设备之间抢占通话的情况。
在一种实施例中,音频输出设备在与第M个终端设备建立蓝牙连接之后,可以向目标终端设备发送第一模式调整指令,目标终端设备可以是已建立蓝牙连接的M个终端设备中未处于第一通话模式的终端设备。其中,M为大于或者等于2,且小于N的整数。
可以理解的是,由于音频输出设备仅与一个终端设备建立蓝牙连接时,该唯一与音频输出设备维持有蓝牙连接的终端设备在接收到来电通话时并不存在通话抢占的情况,而且让该唯一与音频输出设备维持有蓝牙连接的终端设备处于第二通话模式,还可以丰富用户 的来电铃声体验;对此,音频输出设备可以不向该终端设备发送第一模式调整指令。而若与音频输出设备同时建立蓝牙连接的终端设备等于或大于两个,则可能存在通话抢占的情况,对此音频输出设备可以向已建立蓝牙连接的终端设备发送第一模式调整指令,以避免多个终端设备之间出现通话抢占的情况。对此可选的,M可以是大于或者等于2,且小于N的整数。
实施上述方法,音频输出设备在与终端设备建立蓝牙连接之后,可以通过蓝牙连接向终端设备发送第一模式调整指令,从而可以尽可能地在终端设备接收到来电通话之前,就将终端设备针对音频输出设备调整为第一通话模式,进而可以避免后续终端设备接收到来电通话时,抢占其他终端设备的通话的情况。
可以理解的是,音频输出设备在仅与第一个终端设备建立蓝牙连接之后,由于不存在通话抢占的情况,所以可以设置音频输出设备不向第一个终端设备发送第一模式调整指令。而当音频输出设备与第二个终端设备建立蓝牙连接之后,由于后续可能存在通话抢占的情况,所以音频输出设备可以分别向已建立蓝牙连接的两个终端设备(即第一个终端设备和第二个终端设备)发送第一模式调整指令,以将第一个终端设备和第二个终端设备都调整为第一通话模式,避免后续出现通话抢占的情况。对此可选的,若M等于2时,则上述的目标终端设备可以包括建立蓝牙连接的M个终端设备。
可选的,音频输出设备在仅与第一个终端设备建立蓝牙连接之后,可以向第一个终端设备发送第一模式调整指令。以使得终端设备后续来电时,仅在用户确认接听时才与音频输出设备建立语音传输链路,进而使得接听的通话符合用户的接听意向,提高了用户的使用体验度。当然,也可以在仅与一个终端设备建立蓝牙连接的情况下,在来电时直接建立语音传输链路,以使得音频输出设备能够播放该终端设备发送的铃声,从而在“一拖一”场景中满足用户体验私有铃声的需求,而在“一拖多”场景中方便用户通话及方便控制通话的需求。
在另一种实施例中,若M大于2且小于N时,则上述的目标终端设备可以包括已经建立蓝牙连接的M个终端设备中的第M个终端设备。举例来说,若M等于3,则音频输出设备在与第三个终端设备建立蓝牙连接之后,由于在第二个终端设备完成蓝牙连接之后,音频输出设备已经向第一个终端设备和第二终端设备发送过第一模式调整指令,所以音频输出设备在与第三个终端设备建立蓝牙连接之后,可以仅向第三个终端设备发送第一模式调整指令。
实施上述方法,音频输出设备可以仅向已建立蓝牙连接的终端设备中未处于第一通话模式的终端设备发送第一模式调整指令,从而可以避免重复向终端设备发送第一模式调整指令,进而可以降低音频输出设备的功耗。在另一些实施例中,若向同一终端设备重复发送第一模式调整指令不会产生冲突,则音频输出设备也可以重复向已连接的终端设备发送第一模式调整指令,在此不作限定。
在另一种可选的实施方式中,终端设备在与音频输出设备建立蓝牙连接之后,若接收到来电通话,则终端设备可以不触发与音频输出设备建立语音传输链路,而是向音频输出设备发送第一询问请求,第一询问请求用于询问音频输出设备是否支持第一通话模式。音频输出设备在接收到终端设备发送的第一询问请求时,可以响应于第一询问请求向终端设备发送第一模式调整指令。
本申请实施例中的第一询问请求、第二询问请求、第一模式调整指令和第二模式调整指令可以包括AT(Attention)指令,AT指令是电子设备之间用于连接和通信的指令。可选的,终端设备在接收来电通话时,可以向音频输出设备发送第一AT指令,以询问音频输出设备是否支持第一通话模式;进而音频输出设备可以响应于第一AT指令,向终端设 备发送第二AT指令,以使得音频输出设备调整为第一通话模式。
其中,由于AT指令简单便捷,所以降低了指令的编辑难度;此外AT指令通常采用标准串口进行收发,所以还降低了指令的收发难度。对此在终端设备和音频输出设备之间采用AT指令进行通信,可以提高终端设备和音频输出设备之间的通信效率。
在另一种实施例中,音频输出设备在与N个终端设备建立蓝牙连接的过程中,若接收终端设备发送的第二询问请求,则可以响应于第二询问请求向终端设备发送第一模式调整指令,以使得终端设备针对音频输出设备调整为第一通话模式,其中,第二询问请求用于询问音频输出设备是否支持第一通话模式。
可选的,蓝牙连接建立过程包括建立信号传输协议。对此可选的,音频输出设备可以在与终端设备建立信号传输协议之后,若接收终端设备发送的第二询问请求,则响应于第二询问请求,向终端设备发送第一模式调整指令,以使得终端设备针对音频输出设备调整为第一通话模式,其中,第二询问请求用于询问音频输出设备是否支持第一通话模式。
其中,信号传输协议可以包括RFCOMM协议,在建立RFCOMM协议的基础上,音频输出设备和终端设备可以基于RFCOMM协议进行AT指令的交互。
可选的,本申请实施例中的音频输出设备包括支持第一通话模式的音频输出设备,进而在接收到第一询问请求或者第二询问请求时,音频输出设备可以向终端设备发送第一模式调整指令。
可选的,上述的第一询问请求和第二询问请求可以为用于询问音频输出设备是否支持第二通话模式的询问请求。进一步的,音频输出设备在接收到第一询问请求或者第二询问请求时,无论音频输出设备是否支持第二通话模式,音频输出设备都向终端设备发送第一模式调整指令,以使得终端设备针对音频输出设备调整为第一通话模式。
可以理解的是,在音频输出设备与多个终端设备建立蓝牙连接的情况下,某些终端设备可能在与音频输出设备连接的过程中一直没有接收到来电通话,所以无论这些终端设备是否有针对音频输出设备调整为第一通话模式,都不会抢占其他终端设备的通话。对此实施上述方法,音频输出设备可以在某一个或某几个终端设备接收到来电通话时,才向终端设备发送第一模式调整指令,以使得终端设备针对音频输出设备调整为第一通话模式,从而避免音频输出设备向一直没有接收到来电通话的终端设备发送第一模式调整指令的情况,进而可以降低音频输出设备的功耗。
在一种实施例中,音频输出设备在接收到终端设备发送的第一询问请求或者第二询问请求时,可以判断发送该询问请求的终端设备是否是唯一与音频输出设备维持有蓝牙连接的终端设备;若该终端设备不是唯一与音频输出设备维持有蓝牙连接的终端设备,则音频输出设备才响应于该询问请求向终端设备发送第一模式调整指令。可以理解的是,如果发送第一询问请求或者第二询问请求的终端设备是否是唯一与音频输出设备维持有蓝牙连接的终端设备,则后续并不存在通话抢占的情况,所以音频输出设备也没有向终端设备发送第一模式调整指令的必要,从而可以降低音频输出设备的功耗。
在一种实施例中,音频输出设备在向一个或多个终端设备发送第一模式调整指令之后,若确定音频输出设备仅与一个终端设备维持有蓝牙连接,则音频输出设备可以向维持有蓝牙连接的终端设备发送的第二模式调整指令,该第二模式调整指令用于指示终端设备针对音频输出设备调整为第二通话模式。
可以理解的是,在音频输出设备向一个或多个终端设备发送第一模式调整指令,以使得这一个或者多个终端设备针对音频输出设备调整为了第一通话模式之后,后续可能有些终端设备会与音频输出设备断开蓝牙连接。而当仅剩一个终端设备与音频输出设备维持有蓝牙连接,则后续就不存在通话抢占的情况,对此实施上述方法,音频输出设备可以向唯 一与音频输出设备维持有蓝牙连接的终端设备发送的第二模式调整指令,以使得该终端设备针对音频输出设备从第一通话模式调整为第二通话模式,而由于第二通话模式是终端设备在接收到来电通话时触发与音频输出设备建立语音传输链路的模式,所以后续终端设备接收到来电通话时,会直接在音频输出设备端接听,而从提高了通话效率;此外,终端设备的铃声信息可以通过语音传输链路发送给音频输出设备,从而丰富了音频输出设备输出的铃声信息的多样性。
304、若接收到第一终端设备发送的第一来电请求,则输出第一终端设备对应的第一来电提醒信息。
306、在确定接听第一来电请求对应的通话时,与第一终端设备建立第一语音传输链路,以通过第一语音传输链路传输数据信息。
实施上述各实施例公开的方法,可以避免终端设备来电时主动抢占其他终端设备的通话的情况,提高了通过音频输出设备接听来电通话的通话稳定性;以及,可以保证接听的来电通话符合用户的接听意向,从而提高了用户的使用体验度;以及,可以尽可能地在终端设备接收到来电通话之前,就使得终端设备针对音频输出设备调整为第一通话模式,进而避免终端设备在接收到来电通话时,抢占其他终端设备的通话;以及,可以避免向一直没有接收到来电通话的终端设备发送第一模式调整指令的情况,从而可以降低音频输出设备的功耗;以及,可以向唯一与音频输出设备维持有蓝牙连接的终端设备发送的第二模式调整指令,以使得后续终端设备接收到来电通话时,会与音频输出设备端建立语音传输链路,从而使得终端设备的铃声信息可以通过语音传输链路发送给音频输出设备,从而丰富了音频输出设备输出的铃声信息的多样性。
请参阅图4,图4是本申请实施例公开的一种通话控制方法的交互时序图。音频输出设备可以分别与第一终端设备和第二终端设备建立蓝牙连接;进而在音频输出设备与第二终端设备(第二终端设备是后与音频输出设备建立蓝牙连接的终端设备)建立蓝牙连接之后,音频输出设备可以分别向第一终端设备和第二终端设备发送第一模式调整指令;第一终端设备在接收到第一模式调整指令后,可以针对音频输出设备调整为第一通话模式,同理的,第二终端设备在接收到第一模式调整指令后,可以针对音频输出设备调整为第一通话模式。
进一步地,若音频输出设备与第一终端设备断开蓝牙连接,则此时仅剩第二终端设备与音频输出设备维持有蓝牙连接。对此,音频输出设备可以向第二终端设备发送第二模式调整指令;第二终端设备在接收到第二模式调整指令之后,可以针对音频输出设备调整为第二通话模式。
请参阅图5,图5是本申请实施例公开的另一种通话控制方法的交互时序图。音频输出设备可以分别与第一终端设备和第二终端设备建立蓝牙连接;若第一终端设备接收到来电通话,则第一终端设备可以向音频输出设备发送第一询问请求,该第一询问请求用于询问音频输出设备是否支持第一通话模式;音频输出设备可以响应于第一询问请求向第一终端设备发送第一模式调整指令,进而第一终端设备可以针对音频输出设备调整为第一通话模式。同理的,第二终端设备在接收到来电通话时,第二终端设备可以向音频输出设备发送第二询问请求,该第二询问请求用于询问音频输出设备是否支持第一通话模式;音频输出设备可以响应于第二询问请求向第二终端设备发送第一模式调整指令,进而第二终端设备可以针对音频输出设备调整为第一通话模式。
进一步地,若音频输出设备与第一终端设备断开蓝牙连接,则此时仅剩第二终端设备与音频输出设备维持有蓝牙连接。对此,音频输出设备可以向第二终端设备发送第二模式调整指令;进而第二终端设备在接收到第二模式调整指令之后,可以针对音频输出设备调 整为第二通话模式。
需要说明的是,图4和图5所示的交互时序图仅是为了说明本申请实施例公开的通话控制方法,不应对本申请实施例公开的通话控制方法构成限定。
请参阅图6,图6是本申请实施例公开的又一种通话控制方法的流程示意图。该通话控制方法可以应用于上述的音频输出设备,包括耳机或者音箱等,在此不作限定。该通话控制方法可以包括以下步骤:
602、在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出第一终端设备对应的第一来电提醒信息,N为大于或者等于2的整数。
在一种实施例中,在与N个终端设备建立蓝牙连接的情况下,若音频输出设备接收到第一终端设备和第二终端设备发送的来电请求,则音频输出设备可以分别输出第一终端设备对应的第一来电提醒信息和第二终端设备对应的第二来电提醒信息;或者混合输出第一来电提醒信息和第二来电提醒信息;或者是输出第三来电提醒信息,该第三来电提醒信息用于提醒用户第一终端设备和第二终端设备来电。
可选的,音频输出设备可以在同时接收到第一终端设备和第二终端设备发送的来电请求的情况下,分别输出第一终端设备对应的第一来电提醒信息和第二终端设备对应的第二来电提醒信息。也可以在先接收到第一终端设备或者第二终端设备的来电请求,但是还未确定接听来电请求的情况下,又接收到另一个终端设备发送的来电请求时,分别输出第一终端设备对应的第一来电提醒信息和第二终端设备对应的第二来电提醒信息,在此不作限定。
进一步的,若确定接听第二终端设备对应的通话,则可以与第二终端设备建立第二语音传输链路。可选的,音频输出设备可以在检测到针对第二终端设备的接听操作时,确定接听第二终端设备对应的通话。
实施上述方法,音频输出设备在多个终端设备建立蓝牙连接的情况下,若接收到多个终端设备的来电请求,则音频输出设备可以在确定优先接听其中一个终端设备的通话时,与该优先接听的终端设备建立语音传输链路,从而使得接听的通话符合用户的接听意向,提高了用户的使用体验度。
可选的,音频输出设备在音频输出设备端检测到接听第二终端设备的第一接听操作时,可以确定接听第二终端设备对应的通话。可选的,第一接听操作可以包括奇数次点击音频输出设备、奇数次滑动音频输出设备等,在此不作限定。
在另一种实施例中,音频输出设备在音频输出设备端检测到第二接听操作,且第二终端设备的接听优先级最高时,可以确定接听第二终端设备对应的通话。需要说明的是,第二接听操作可以不同于第一接听操作。可选的,若第一接听操作包括奇数次点击音频输出设备、奇数次滑动音频输出设备等,则第二接听操作可以是按压音频输出设备第一时长、滑动音频输出设备第二时长等,在此不作限定。可选的,音频输出设备在检测到第二接听操作时,可以确定当前处于来电状态的多个终端设备的接听优先级,进而若第二终端设备的接听优先级最高,则可以确定接听第二终端设备对应的通话。
可以理解的时,接听优先级越高,则音频输出设备可以更加优先接听。可选的,终端设备接收到来电通话的时间点越早,则该终端设备的接听优先级越高;或者,终端设备与音频输出设备建立蓝牙连接的时间点越早,则该终端设备的接听优先级越高;或者,终端设备接收到的来电通话对应的电话号码为指定号码的终端设备的接听优先级,大于其他终端设备,进一步地,指定号码有多个时,则排列在指定号码中越靠前的号码的接听优先级越高。
可选的,第二终端设备在检测到第三接听操作时,可以向音频输出设备发送目标接听 指令,该目标接听指令用于表示确定接听第二终端设备的通话。进而音频输出设备在接收到目标接听指令时,可以确定接听第二终端设备对应的通话。可选的,如果用户在第一终端设备端接听了通话,则说明用户想接听第一终端设备,则音频输出设备可以确定接听第一终端设备对应的通话。而如果用户在第二终端设备处接听了通话,则说明用户想接听第二终端设备,则音频输出设备可以确定接听第二终端设备对应的通话。
进一步的,如果用户先在第一终端设备上进行了接听,从而占用了音频输出设备,而用户又在第二终端设备上进行了接听,此时,第二终端设备可能会对音频输出设备进行抢占,而第一终端设备的通话如果还没有结束,则可以由第一终端设备的扬声器播放通话语音,从而更贴近用户的真实使用需求。
实施上述方法,用户可以通过不同的接听操作在音频输出设备端,或者终端设备端接听来电通话,从而提高了接听终端设备的来电通话的便捷性,及丰富了接听的方式。
在一种实施例中,音频输出设备优先与第二终端设备建立第二语音通话链路之后,音频输出设备可以通过第二语音传输链路接收第二终端设备发送的第一音频数据(例如:通话语音数据)。进一步地,音频输出设备可以生成第二音频数据(例如:来电铃声)作为第一终端设备对应的第一来电提醒信息,或者在音频输出设备的本地缓存中获取第二音频数据作为第一终端设备对应的第一来电提醒信息。进而可选的,音频输出设备可以混合输出第一音频数据和第二音频数据。
实施上述方法,音频输出设备可以在输出已接听的第二终端设备的通话语音的同时,混合输出未接听的第一终端设备的来电铃声,从而使得用户在接听第二终端设备的通话的过程中,能够更加容易地注意到第一终端设备的来电,避免用户遗漏掉第一终端设备的来电。
604、若音频输出设备当前正通过第二语音传输链路与第二终端设备进行数据传输,则在确定接听第一来电请求对应的通话时,断开第二语言传输链路,并与第一终端设备建立第一语言传输链路,第二语音传输链路是音频输出设备与第二终端设备之间建立的语音传输链路。
本申请实施例中,音频输出设备在接收到第一终端设备发送的第一来电请求时,若音频输出设备当前正通过第二语音传输链路与第二终端设备进行数据传输,则此时音频输出设备处于通话抢占场景,对此音频输出设备可以仅输出第一终端设备对应的第一来电提醒信息提醒用户接听第一终端设备的来电通话。进一步地,音频输出设备在确定接听第一来电请求对应的通话时,可以断开第二语音传输链路,并与第一终端设备建立第一语言传输链路。
可选的,音频输出设备在音频输出设备端检测到接听第一终端设备的第四接听操作时,可以断开第二语音传输链路,并与第一终端设备建立第一语言传输链路。可选的,若在音频输出设备端接听第二终端设备的第一接听操作包括奇数次点击音频输出设备、奇数次滑动音频输出设备,则第四接听操作可以包括偶数次点击音频输出设备、偶数次滑动音频输出设备等,在此不作限定。
可选的,音频输出设备在音频输出设备端检测到第二接听操作,且第一终端设备的接听优先级最高时,可以确定接听第一终端设备对应的通话。接听优先级的设定与上述实施例介绍的类似,在此不再赘述。可选的,音频输出设备在第一终端设备端检测到第五接听操作时,可以确定接听第一终端设备对应的通话。
作为一种可选的实施方式,音频输出设备在确定接听第一来电请求对应的通话,并断开第二语言传输链路,以及与第一终端设备建立第一语言传输链路之后,若确定第一终端设备结束通话状态,且第二终端设备仍处于通话状态,则可以断开第一语音传输链路,并 与第二终端设备重新建立第二语音传输链路。
可以理解的是,由于第一终端设备结束通话状态之后,音频输出设备与第一终端设备之间的第一语音传输链路并没有传输语音数据,所以此时若被抢占通话的第二终端设备仍处于通话状态,则可以断开第一语音传输链路,并重新建立第二语音传输链路,以通过音频输出设备继续接听第二终端设备的通话。
在另一种实施例中,音频输出设备在断开所述第二语音传输链路,并与所述第一终端设备建立第一语音传输链路之后,可以对第二终端设备发送第二控制指令,进而第二终端设备在接收到第二控制指令时,可以通过扬声装置输出第二终端设备产生的第三音频数据。
实施上述方法,第二终端设备可以在自身的通话被第一终端设备抢占之后,对自身产生的语音数据或者其他音频数据(例如:音乐、铃声等)通过扬声装置外放,以使得用户可以通过外放的声音来收听第二终端设备输出的音频数据。
在另一种实施例中,若音频输出设备当前正通过第二语音传输链路与第二终端设备进行数据传输,则音频输出设备可以在确定第二终端设备结束通话时,断开第二语音传输链路,并与第一终端设备建立第一语音传输链路,第二语音传输链路是音频输出设备与第二终端设备之间建立的语音传输链路。
可以理解的是,当第二终端设备结束通话时,音频输出设备和第二终端设备之间已没有维持第二语音传输链路的必要,对此音频输出设备可以断开第二语音传输链路,并与第一终端设备建立第一语音传输链路,以接听未接听的第一终端设备的来电通话。
可选的,音频输出设备可以在确定第二终端设备结束通话时,可以判断第一终端设备是否还处于来电状态,若是,音频输出设备才断开第二语音传输链路,并与第一终端设备建立第一语音传输链路。
实施上述方法,可以在第二终端设备结束通话,且第一终端设备还处于来电状态时才断开第二语音传输链路,并与第一终端设备建立第一语音传输链路,从而可以避免后续第二终端设备又接收到来电通话,需要反复地建立第二语音传输链路,进而可以降低音频输出设备和第二终端设备的功耗。
实施上述各实施例公开的方法,可以避免终端设备来电时主动抢占其他终端设备的通话的情况,提高了通过音频输出设备接听来电通话的通话稳定性;以及,可以保证接听的来电通话符合用户的接听意向,从而提高了用户的使用体验度。
请参阅图7,图7是本申请实施例公开的又一种通话控制方法的交互时序图。音频输出设备可以分别与第一终端设备和第二终端设备建立蓝牙连接;进而在音频输出设备与第二终端设备(第二终端设备是后与音频输出设备建立蓝牙连接的终端设备)建立蓝牙连接之后,音频输出设备可以分别向第一终端设备和第二终端设备发送第一模式调整指令;第一终端设备在接收到第一模式调整指令后,可以针对音频输出设备调整为第一通话模式,同理的,第二终端设备在接收到第一模式调整指令后,可以针对音频输出设备调整为第一通话模式。
进一步地,若第一终端设备和第二终端设备接收到来电通话,则第一终端设备和第二终端设备可以分别向音频输出设备发送第一来电请求和第二来电请求,进而音频输出设备可以输出与第一终端设备对应的第一来电提醒信息,和与第二终端设备对应的第二来电提醒信息;进而在确定接听第二终端设备对应的来电通话时,音频输出设备可以与第二终端设备建立第二语音传输链路。进一步地,音频输出设备在确定接听第一终端设备对应的通话时,可以断开第二语音传输链路,并与第一终端设备建立第一通话传输链路。
进一步地,音频输出设备可以在确定第一终端设备结束通话状态时,断开第一语音传输链路,并向第二终端设备请求重新建立第二语音传输链路;进而第二终端设备可以与音 频输出设备重新建立第二语音传输链路。
请参阅图8,图8是本申请实施例公开的再一种通话控制方法的交互时序图。音频输出设备可以分别与第一终端设备和第二终端设备建立蓝牙连接;第二终端设备在接收到来电通话时,可以向音频输出设备发送第二询问请求,该第二询问请求用于询问音频输出设备是否支持第一通话模式;进而音频输出设备可以响应于第二询问请求向第二终端设备发送第一模式调整指令,进而第二终端设备可以针对音频输出设备调整为第一通话模式,并向音频输出设备发送第二来电请求,音频输出设备在接收到第二来电请求时,可以输出第二来电提醒信息。进而音频输出设备在确定接听第二终端设备的来电通话时,可以与第二终端设备建立第二语音传输链路。
进一步的,若第一终端设备接收到来电通话,则第一终端设备可以向音频输出设备发送第一询问请求,该第一询问请求用于询问音频输出设备是否支持第一通话模式;音频输出设备可以响应于第一询问请求向第一终端设备发送第一模式调整指令,进而第一终端设备可以针对音频输出设备调整为第一通话模式,并向音频输出设备发送第一来电请求,音频输出设备在接收到第一来电请求时,可以输出第一来电提醒信息;进而在确定接听第一终端设备的来电通话时,音频输出设备可以与第二终端设备断开第二语音传输链路,并与第一终端设备建立第一语音传输链路。
需要说明的是,图7和图8所示的交互时序图仅是为了说明本申请实施例公开的通话控制方法,不应对本申请实施例公开的通话控制方法构成限定。
请参阅图9,图9是本申请实施例公开的再一种通话控制方法的流程示意图。该通话控制方法可以应用于上述的终端设备,包括手机、智能穿戴设备、平板电脑或者台式电脑等,在此不作限定。该通话控制方法可以包括以下步骤:
902、在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则向音频输出设备发送来电请求。
作为一种可选的实施方式,终端设备在与音频输出设备建立蓝牙连接之后,以及在接收到来电通话之前,若接收到第一模式调整指令,则可以将终端设备针对音频输出设备调整为第一通话模式,第一通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求,且在确定接听来电通话时与音频输出设备建立语音传输链路的模式。
实施上述方法,可以尽可能地在终端设备接收到来电通话之前,就使得终端设备针对音频输出设备调整为第一通话模式,进而避免后续终端设备接收到来电通话时,抢占其他终端设备的通话。
作为另一种可选的实施方式,终端设备在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则可以向音频输出设备发送第一询问请求,该第一询问请求用于询问音频输出设备是否支持第一通话模式;进一步地,终端设备在接收到第一模式调整指令时,可以将终端设备针对音频播放设备调整为第一通话模式,并向音频输出设备发送来电请求,第一通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求,且在确定接听来电通话时与音频输出设备建立语音传输链路的模式,第一模式调整指令是音频输出设备响应于第一询问请求发送的指令。
实施上述方法,音频输出设备可以在终端设备接收到来电通话时,才向终端设备发送第一模式调整指令,以使得终端设备针对音频输出设备调整为第一通话模式,从而避免音频输出设备向一直没有接收到来电通话的终端设备发送第一模式调整指令的情况,进而可以降低音频输出设备的功耗。
可选的,在将终端设备针对音频输出设备的通话模式调整为第一通话模式之后,若接 收到第二模式调整指令,则可以将终端设备调整为第二通话模式,第二通话模式是终端设备在接收到来电时触发与音频输出设备建立语音传输链路模式。可选的,第二模式调整指令可以是音频输出设备在确定终端设备是与音频输出设备唯一维持有蓝牙连接的终端设备时发送的指令。
实施上述方法,音频输出设备可以向唯一与音频输出设备维持有蓝牙连接的终端设备发送的第二模式调整指令,以使得该终端设备针对音频输出设备从第一通话模式调整为第二通话模式,而由于第二通话模式是终端设备在接收到来电通话时触发与音频输出设备建立语音传输链路的模式,所以后续终端设备接收到来电通话时,会直接在音频输出设备端接听,而从提高了通话效率。
904、在确定接听来电请求对应的通话时,与音频输出设备建立语音传输链路,以通过语音传输链路传输数据信息。
在一种实施例中,终端设备在与音频输出设备建立语音传输链路之后,若接收到第一控制指令,则可以对终端设备产生的音频数据进行静音处理;以及,若接收到第二控制指令,则可以通过扬声装置输出终端设备产生的音频数据。
实施上述方法,终端设备可以在自身的通话被其他终端设备抢占之后,对自身产生的语音数据或者其他音频数据(例如:音乐、铃声等)进行静音处理,避免终端设备产生的音频数据影响到用户。此外,终端设备在自身的通话被其他终端设备抢占之后,也可以对自身产生的语音数据或者其他音频数据(例如:音乐、铃声等)通过扬声装置外放,以使得用户可以通过外放的声音来收听终端设备输出的音频数据。
实施上述各实施例公开的方法,终端设备在接收到来电通话时,不会立即触发与音频输出设备建立通话传输链路,从而避免了终端设备来电时主动抢占其他终端设备的通话的情况,提高了通过音频输出设备接听来电通话的通话稳定性;此外,终端设备可以在确定接听来电请求对应的通话时,才与音频输出设备建立语音传输链路,保证了接听的来电通话符合用户的接听意向,从而提高了用户的使用体验度。
请参阅图10,图10是本申请实施例公开的一种通话控制装置的结构示意图。该通话控制装置可以应用于上述的音频输出设备,包括耳机或者音箱等,在此不作限定。该通话控制装置可以包括输出单元1001和第一建立单元1002,其中:
输出单元1001,用于在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出第一终端设备对应的第一来电提醒信息,N为大于或者等于2的整数。
第一建立单元1002,用于在确定接听第一来电请求对应的通话时,与第一终端设备建立第一语音传输链路,以通过第一语音传输链路传输数据信息。
实施上述的通话控制装置,终端设备在接收到来电通话时,不会立即触发与音频输出设备建立通话传输链路,从而避免了终端设备来电时主动抢占其他终端设备的通话的情况,提高了通过音频输出设备接听来电通话的通话稳定性;此外,音频输出设备在接收到终端设备的来电请求时,可以输出来电提醒信息提醒用户,进而音频输出设备在用户确认接听来电的终端设备时,才与终端设备建立语音传输链路,保证了接听的来电通话符合用户的接听意向,从而提高了用户的使用体验度。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:第一发送单元,其中:
第一发送单元,用于向一个或多个终端设备发送第一模式调整指令,其中,第一模式调整指令用于指示终端设备针对音频输出设备调整为第一通话模式,第一通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发 送来电请求,且在确定接听来电通话时与音频输出设备建立语音传输链路的模式。
实施上述的通话控制装置,可以将与音频输出设备建立蓝牙连接的终端设备调整为第一通话模式,进而避免后续出现通话抢占的情况。
作为一种可选的实施方式,第一发送单元,还用于在音频输出设备与第M个终端设备建立蓝牙连接后,向目标终端设备发送第一模式调整指令,目标终端设备为已建立蓝牙连接的M个终端设备中未处于第一通话模式的终端设备述M为大于或等于2,且小于N的整数。
实施上述的通话控制装置,音频输出设备在与终端设备建立蓝牙连接之后,就可以通过蓝牙连接向目标终端设备发送第一模式调整指令,从而可以尽可能地在终端设备接收到来电通话之前,就使得终端设备针对音频输出设备调整为第一通话模式,进而避免后续终端设备接收到来电通话时,抢占其他终端设备的通话。
作为一种可选的实施方式,M等于2时,目标终端设备包括已经建立蓝牙连接的M个终端设备;和/或,M大于2且小于N时,目标终端设备为已经建立蓝牙连接的M个终端设备中的第M个终端设备。
实施上述的通话控制装置,音频输出设备可以仅向已建立蓝牙连接的终端设备中未处于第一通话模式的终端设备,从而可以避免重复向终端设备发送第一模式调整指令,进而可以降低音频输出设备的功耗。
作为一种可选的实施方式,第一发送单元,还用于接收第一终端设备发送的询问请求,询问请求是第一终端设备在接收到来电通话时向音频输出设备发送的请求,用于询问音频输出设备是否支持第一通话模式;以及,响应于询问请求,向第一终端设备发送第一模式调整指令。
实施上述的通话控制装置,音频输出设备可以在某一个或某几个终端设备接收到来电通话时,才向终端设备发送第一模式调整指令,以使得终端设备针对音频输出设备调整为第一通话模式,从而避免音频输出设备向一直没有接收到来电通话的终端设备发送第一模式调整指令的情况,进而可以降低音频输出设备的功耗。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:第二发送单元,其中:
第二发送单元,用于在第一发送单元向一个或多个终端设备发送第一模式调整指令之后,若确定音频输出设备仅与一个终端设备维持有蓝牙连接,则向维持有蓝牙连接的终端设备发送第二模式调整指令,第二模式调整指令用于指示终端设备针对音频输出设备调整为第二通话模式,第二通话模式是终端设备在接收到来电通话时触发与音频输出设备建立语音传输链路的模式。
实施上述的通话控制装置,音频输出设备可以向唯一与音频输出设备维持有蓝牙连接的终端设备发送的第二模式调整指令,以使得该终端设备针对音频输出设备从第一通话模式调整为第二通话模式,而由于第二通话模式是终端设备在接收到来电通话时触发与音频输出设备建立语音传输链路的模式,所以后续终端设备接收到来电通话时,会直接在音频输出设备端接听,而从提高了通话效率。
作为一种可选的实施方式,第一建立单元1002还用于在音频输出设备当前正通过第二语音传输链路与第二终端设备进行数据传输时,若确定接听第一来电请求对应的通话,则断开第二语言传输链路,并与第一终端设备建立第一语言传输链路,第二语音传输链路是音频输出设备与第二终端设备之间建立的语音传输链路。
实施上述的通话控制装置,音频输出设备可以在确定接听第一来电请求对应的通话时,可以断开第二语音传输链路,并与第一终端设备建立第一语言传输链路,以使得通话抢占 符合用户的意愿。
作为一种可选的实施方式,第一建立单元1002还用于在音频输出设备当前正通过第二语音传输链路与第二终端设备进行数据传输时,若确定第二终端设备结束通话时,断开第二语音传输链路,并与第一终端设备建立第一语音传输链路,第二语音传输链路是音频输出设备与第二终端设备之间建立的语音传输链路。
实施上述的通话控制装置,当第二终端设备结束通话时,音频输出设备和第二终端设备之间已没有维持第二语音传输链路的必要,对此音频输出设备可以断开第二语音传输链路,并与第一终端设备建立第一语音传输链路,以接听未接听的第一终端设备的来电通话。
作为一种可选的实施方式,输出单元1001还用于在接收到第一终端设备和第二终端设备发送的来电请求时,输出第一终端设备对应的第一来电提醒信息,和第二终端设备对应的第二来电提醒信息。
作为一种可选的实施方式,第一发送单元还用于在与N个终端设备建立蓝牙连接的过程中,若接收终端设备发送的第二询问请求,则响应于第二询问请求,向终端设备发送第一模式调整指令,第二询问请求用于询问音频输出设备是否支持第一通话模式。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括禁止单元,禁止单元,用于在当前与音频输出设备建立蓝牙连接的终端设备的数量小于2个时,不向已建立蓝牙连接的终端设备发送第一模式调整指令。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:第四建立单元,用于在输出第一终端设备对应的第一来电提醒信息,和第二终端设备对应的第二来电提醒信息之后,若先检测到针对第二终端设备的接听操作,则与第二终端设备建立第二语音传输链路。
实施上述的通话控制装置,音频输出设备在多个终端设备建立蓝牙连接的情况下,若接收到多个终端设备的来电请求,则音频输出设备可以在确定优先接听哪一个终端设备的通话,就先与该优先接听的终端设备建立语音传输链路,从而使得接听的通话符合用户的接听意向,提高了用户的使用体验度。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:检测单元,其中:
检测单元,用于在检测到针对第二终端设备的接听操作时,确定接听第二终端设备对应的通话。
作为一种可选的实施方式,检测单元还用于在音频输出设备端检测到接听第二终端设备的第一接听操作时,确定接听第二终端设备对应的通话;或者,在音频输出设备端检测到第二接听操作,且第二终端设备的接听优先级最高时,确定接听第二终端设备对应的通话;或者,在第二终端设备端检测到第三接听操作时,确定接听第二终端设备对应的通话。
实施上述的通话控制装置,用户可以通过不同的接听操作在音频输出设备端或者终端设备端接听终端设备的来电通话,从而提高了接听终端设备的来电通话的便捷性。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:混合输出单元,用于在与第二终端设备建立第二语音传输链路之后,通过第二语音传输链路接收第二终端设备发送的第一音频数据,并混合输出第一音频数据和音频输出设备生成的第二音频数据。
实施上述的通话控制装置,音频输出设备可以在输出已接听的第二终端设备的通话语音的同时,混合输出未接听的第一终端设备的来电铃声,从而使得用户在接听第二终端设备的通话的过程中,能够更加容易地注意到第一终端设备的来电,避免用户遗漏掉第一终端设备的来电。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:静音单元,其中:
静音单元,用于在混合输出第一音频数据和音频输出设备生成的第二音频数据之后, 若确定静音第二音频数据,则对第二音频数据执行静音处理。
实施上述的通话控制装置,可以在确定静音第二音频数据时,确定用户已经注意到第一终端设备的来电,对此音频输出设备可以将第一终端设备的提醒铃声静音,以避免第一终端设备的提醒铃声静音影响到用户接听第二终端设备的通话,提高了该通话控制方法的灵活性,也提高了用户的使用体验度。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:重新建立单元,其中:
重新建立单元,用于在断开第二语音传输链路,并与第一终端设备建立第一语音传输链路之后,若确定第一终端设备结束通话状态,且第二终端设备仍处于通话状态,则断开第一语音传输链路,并与第二终端设备重新建立第二语音传输链路。
实施上述的通话控制装置,由于第一终端设备结束通话状态之后,音频输出设备与第一终端设备之间的第一语音传输链路并没有传输语音数据,所以此时若被抢占通话的第二终端设备仍处于通话状态,则可以断开第一语音传输链路,并重新建立第二语音传输链路,以通过音频输出设备继续接听第二终端设备的通话。
作为一种可选的实施方式,图10所示的通话控制装置还可以包括:第三发送单元,其中:
第三发送单元,用于在断开第二语音传输链路,并与第一终端设备建立第一语音传输链路之后,对第二终端设备发送第一控制指令,第一控制指令用于指示第二终端设备对第二终端设备产生的第三音频数据进行静音处理;
或者,对第二终端设备发送第二控制指令,第二控制指令用于指示第二终端设备通过扬声装置输出第二终端设备产生的第三音频数据。
实施上述的通话控制装置,第二终端设备可以在自身的通话被第一终端设备抢占之后,对自身产生的语音数据或者其他音频数据(例如:音乐、铃声等)进行静音处理,避免第二终端设备产生的音频数据影响到用户;以及,第二终端设备可以在自身的通话被第一终端设备抢占之后,对自身产生的语音数据或者其他音频数据(例如:音乐、铃声等)通过扬声装置外放,以使得用户可以通过外放的声音来收听第二终端设备输出的音频数据。
请参阅图11,图11是本申请实施例公开的另一种通话控制装置的结构示意图。该通话控制装置可以应用于上述的终端设备,包括手机、智能穿戴设备、平板电脑、台式电脑等,在此不作限定。该通话控制装置可以包括:第四发送单元1101和第二建立单元1102,其中:
第四发送单元1101,用于在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则向音频输出设备发送来电请求;
第二建立单元1102,用于在确定接听来电请求对应的通话时,与音频输出设备建立语音传输链路,以通过语音传输链路传输数据信息。
实施上述的通话控制装置,终端设备在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,可以不立即与音频输出设备建立语音传输链路,从而避免了终端设备来电时主动抢占其他终端设备的通话的情况,提高了通过音频输出设备接听来电通话的通话稳定性。进一步地,音频输出设备在确定用户接听终端设备的来电通话时,才与终端设备建立语音传输链路进行数据传输,从而保证了接听的来电通话符合用户的接听意向,从而提高了用户的使用体验度。
作为一种可选的实施方式,图11所示的通话控制装置还包括:第一调整单元,其中:
第一调整单元,用于在与音频输出设备建立蓝牙连接后,若接收到第一模式调整指令,则将终端设备针对音频输出设备调整为第一通话模式,第一通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求, 且在确定接听来电通话时与音频输出设备建立语音传输链路的模式。
实施上述的通话控制装置,可以尽可能地在终端设备接收到来电通话之前,就使得终端设备针对音频输出设备调整为第一通话模式,进而避免后续终端设备接收到来电通话时,抢占其他终端设备的通话。
作为一种可选的实施方式,第四发送单元1101还用于在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则向音频输出设备发送第一询问请求,第一询问请求用于询问音频输出设备是否支持第一通话模式;以及,在接收到第一模式调整指令时,将终端设备针对音频播放设备调整为第一通话模式,并向音频输出设备发送来电请求,第一通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求,且在确定接听来电通话时与音频输出设备建立语音传输链路的模式,第一模式调整指令是音频输出设备响应于第一询问请求发送的指令。
实施上述的通话控制装置,音频输出设备可以在终端设备接收到来电通话时,才向终端设备发送第一模式调整指令,以使得终端设备针对音频输出设备调整为第一通话模式,从而避免音频输出设备向一直没有接收到来电通话的终端设备发送第一模式调整指令的情况,进而可以降低音频输出设备的功耗。
作为一种可选的实施方式,图11所示的通话控制装置还包括:第二调整单元,其中:
第二调整单元,用于在将终端设备针对音频输出设备的通话模式调整为第一通话模式之后,若接收到第二模式调整指令,则将终端设备调整为第二通话模式,第二通话模式是终端设备在接收到来电时触发与音频输出设备建立语音传输链路模式,第二模式调整指令是音频输出设备在确定终端设备是与音频输出设备唯一维持有蓝牙连接的终端设备时发送的指令。
实施上述的通话控制装置,音频输出设备可以向唯一与音频输出设备维持有蓝牙连接的终端设备发送的第二模式调整指令,以使得该终端设备针对音频输出设备从第一通话模式调整为第二通话模式,而由于第二通话模式是终端设备在接收到来电通话时触发与音频输出设备建立语音传输链路的模式,所以后续终端设备接收到来电通话时,会直接在音频输出设备端接听,而从提高了通话效率。
作为一种可选的实施方式,图11所示的通话控制装置还包括:接收单元,其中:
接收单元,用于在接收到第一控制指令时,对终端设备产生的音频数据进行静音处理;以及,在接收到第二控制指令时,通过扬声装置输出终端设备产生的音频数据。
实施上述的通话控制装置,终端设备可以在自身的通话被其他终端设备抢占之后,对自身产生的语音数据或者其他音频数据(例如:音乐、铃声等)进行静音处理,避免终端设备产生的音频数据影响到用户;以及,终端设备可以在自身的通话被其他终端设备抢占之后,对自身产生的语音数据或者其他音频数据(例如:音乐、铃声等)通过扬声装置外放,以使得用户可以通过外放的声音来收听终端设备输出的音频数据。
请参阅图12,图12是本申请实施例公开的一种电子设备的结构示意图。如图12所示,该电子设备可以包括:
存储有可执行程序代码的存储器1201;
与存储器1201耦合的处理器1202;
其中,处理器1202调用存储器1201中存储的可执行程序代码,执行上述各实施例公开的应用于音频输出设备的通话控制方法。
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行上述各实施例公开的应用于音频输出设备的通话控制方法。
本申请实施例还公开另一种电子设备,该电子设备可以包括:存储有可执行程序代码 的存储器;与存储器耦合的处理器;
其中,处理器调用存储器中存储的可执行程序代码,执行上述各实施例公开的应用于终端设备的通话控制方法。
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行上述各实施例公开的应用于终端设备的通话控制方法。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本申请的各个实施例上述方法的部分或全部步骤。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。
以上对本申请实施例公开的通话控制方法及装置、电子设备、计算机可读存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (24)

  1. 一种通话控制方法,其特征在于,应用于音频输出设备,所述方法包括:
    在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出所述第一终端设备对应的第一来电提醒信息,所述N为大于或者等于2的整数;
    在确定接听所述第一来电请求对应的通话时,与所述第一终端设备建立第一语音传输链路,以通过所述第一语音传输链路传输数据信息。
  2. 根据权利要求1所述的方法,其特征在于,在所述若接收到第一终端设备发送的第一来电请求,则输出所述第一终端设备对应的第一来电提醒信息之前,所述方法还包括:
    向一个或多个所述终端设备发送第一模式调整指令,其中,所述第一模式调整指令用于指示所述终端设备针对所述音频输出设备调整为第一通话模式,所述第一通话模式是终端设备在接收到来电通话时不触发与所述音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求,且在确定接听所述来电通话时与所述音频输出设备建立语音传输链路的模式。
  3. 根据权利要求2所述的方法,其特征在于,所述向一个或多个所述终端设备发送第一模式调整指令,包括:
    在所述音频输出设备与第M个终端设备建立蓝牙连接后,向目标终端设备发送第一模式调整指令,所述目标终端设备为已建立蓝牙连接的M个终端设备中未处于第一通话模式的终端设备,所述M为大于或等于2,且小于N的整数。
  4. 根据权利要求3所述的方法,其特征在于,所述M等于2时,所述目标终端设备包括已经建立蓝牙连接的M个终端设备;和/或,所述M大于2且小于N时,所述目标终端设备为已经建立蓝牙连接的M个终端设备中的第M个终端设备。
  5. 根据权利要求2所述的方法,其特征在于,所述向一个或多个所述终端设备发送第一模式调整指令,包括:
    接收第一终端设备发送的第一询问请求,所述第一询问请求是所述第一终端设备在接收到来电通话时向所述音频输出设备发送的请求,用于询问所述音频输出设备是否支持第一通话模式;
    响应于所述第一询问请求,向所述第一终端设备发送第一模式调整指令。
  6. 根据权利要求2所述的方法,其特征在于,所述向一个或多个所述终端设备发送第一模式调整指令,包括:
    在与N个终端设备建立蓝牙连接的过程中,若接收所述终端设备发送的第二询问请求,则响应于所述第二询问请求,向所述终端设备发送第一模式调整指令,所述第二询问请求用于询问所述音频输出设备是否支持第一通话模式。
  7. 根据权利要求2~6所述的方法,其特征在于,在所述向一个或多个所述终端设备发送第一模式调整指令之前,所述方法还包括:
    若当前与所述音频输出设备建立蓝牙连接的终端设备的数量小于2个,则不向已建立蓝牙连接的终端设备发送第一模式调整指令。
  8. 根据权利要求2~6任一项所述的方法,其特征在于,在所述向一个或多个所述终端设备发送第一模式调整指令之后,所述方法还包括:
    若所述音频输出设备仅与一个终端设备维持有蓝牙连接,则向维持有蓝牙连接的终端设备发送第二模式调整指令,所述第二模式调整指令用于指示终端设备针对所述音频输出设备调整为第二通话模式,所述第二通话模式是终端设备在接收到来电通话时,触发与音频输出设备建立语音传输链路的模式。
  9. 根据权利要求1所述的方法,其特征在于,所述在确定接听所述第一来电请求对应 的通话时,与所述第一终端设备建立第一语音传输链路,包括:
    若所述音频输出设备当前正通过第二语音传输链路与第二终端设备进行数据传输,则在确定接听所述第一来电请求对应的通话时,断开所述第二语言传输链路,并与所述第一终端设备建立第一语言传输链路,所述第二语音传输链路是所述音频输出设备与所述第二终端设备之间建立的语音传输链路。
  10. 根据权利要求9所述的方法,其特征在于,在所述断开所述第二语音传输链路,并与所述第一终端设备建立第一语音传输链路之后,所述方法还包括:
    若确定所述第一终端设备结束通话状态,且所述第二终端设备仍处于通话状态,则断开所述第一语音传输链路,并与所述第二终端设备重新建立所述第二语音传输链路。
  11. 根据权利要求1所述的方法,其特征在于,在所述若接收到第一终端设备发送的第一来电请求,则输出所述第一终端设备对应的第一来电提醒信息之后,所述方法还包括:
    若所述音频输出设备当前正通过第二语音传输链路与第二终端设备进行数据传输,则在确定所述第二终端设备结束通话时,断开所述第二语音传输链路,并与所述第一终端设备建立第一语音传输链路,所述第二语音传输链路是所述音频输出设备与所述第二终端设备之间建立的语音传输链路。
  12. 根据权利要求9或11所述的方法,其特征在于,所述若接收到第一终端设备发送的第一来电请求,则输出第一终端设备对应的第一来电提醒信息,包括:
    若接收到第一终端设备和第二终端设备发送的来电请求,则输出所述第一终端设备对应的第一来电提醒信息,和所述第二终端设备对应的第二来电提醒信息;
    以及,在所述输出所述第一终端设备对应的第一来电提醒信息,和所述第二终端设备对应的第二来电提醒信息之后,所述方法还包括:
    若先确定接听所述第二终端设备的来电通话,则与所述第二终端设备建立第二语音传输链路。
  13. 根据权利要求12所述的方法,其特征在于,在所述若先确定接听所述第二终端设备的来电通话,则与所述第二终端设备建立第二语音传输链路之前,所述方法还包括:
    若在所述音频输出设备端检测到接听所述第二终端设备的第一接听操作,则确定接听所述第二终端设备的来电通话;或者,若在所述音频输出设备端检测到第二接听操作,且所述第二终端设备的接听优先级最高,则确定接听所述第二终端设备的来电通话;或者,若接收到所述第二终端设备发送的目标接听指令,则确定接听所述第二终端设备的来电通话,所述目标接听指令是所述第二终端设备在检测到第三接听操作时发送的接听指令。
  14. 根据权利要求12所述的方法,其特征在于,在与所述第二终端设备建立第二语音传输链路之后,所述方法还包括:
    通过所述第二语音传输链路接收所述第二终端设备发送的第一音频数据,并混合输出所述第一音频数据和所述音频输出设备生成的第二音频数据。
  15. 根据权利要求9或11所述的方法,其特征在于,在所述断开所述第二语音传输链路,并与所述第一终端设备建立第一语音传输链路之后,所述方法还包括:
    向所述第二终端设备发送第一控制指令,所述第一控制指令用于指示所述第二终端设备对第二终端设备产生的第三音频数据进行静音处理;
    或者,向所述第二终端设备发送第二控制指令,所述第二控制指令用于指示所述第二终端设备通过扬声装置输出所述第二终端设备产生的第三音频数据。
  16. 一种通话控制方法,其特征在于,应用于终端设备,所述方法包括:
    在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则向音频输出设备发送来电请求;
    在确定接听所述来电请求对应的通话时,与所述音频输出设备建立语音传输链路,以通过所述语音传输链路传输数据信息。
  17. 根据权利要求16所述的方法,其特征在于,在所述若接收到来电通话,则向音频输出设备发送来电请求之前,所述方法还包括:
    在与所述音频输出设备建立蓝牙连接后,若接收到第一模式调整指令,则将所述终端设备针对所述音频输出设备调整为第一通话模式,所述第一通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求,且在确定接听所述来电通话时与所述音频输出设备建立语音传输链路的模式。
  18. 根据权利要求16所述的方法,其特征在于,所述若接收到来电通话,则向音频输出设备发送来电请求,包括:
    若接收到来电通话,则向所述音频输出设备发送第一询问请求,所述第一询问请求用于询问所述音频输出设备是否支持第一通话模式;
    在接收到第一模式调整指令时,将所述终端设备针对所述音频播放设备调整为第一通话模式,并向音频输出设备发送来电请求,所述第一通话模式是终端设备在接收到来电通话时不触发与音频输出设备建立语音传输链路,仅向音频输出设备发送来电请求,且在确定接听所述来电通话时与所述音频输出设备建立语音传输链路的模式,所述第一模式调整指令是所述音频输出设备响应于所述第一询问请求发送的指令。
  19. 根据权利要求17或18所述的方法,其特征在于,在所述将所述终端设备针对所述音频输出设备的通话模式调整为第一通话模式之后,所述方法还包括:
    若接收到第二模式调整指令,则将所述终端设备调整为第二通话模式,所述第二通话模式是终端设备在接收到来电通话时触发与音频输出设备建立语音传输链路模式,所述第二模式调整指令是音频输出设备在确定所述终端设备是与音频输出设备唯一维持有蓝牙连接的终端设备时发送的指令。
  20. 根据权利要求16~18任一项所述的方法,其特征在于,在所述与所述音频输出设备建立语音传输链路之后,所述方法还包括:
    若接收到第一控制指令,则对终端设备产生的音频数据进行静音处理;
    若接收到第二控制指令,则通过扬声装置输出所述终端设备产生的音频数据。
  21. 一种通话控制装置,其特征在于,应用于音频输出设备,所述装置包括:
    输出单元,用于在与N个终端设备建立蓝牙连接的情况下,若接收到第一终端设备发送的第一来电请求,则输出所述第一终端设备对应的第一来电提醒信息,所述N为大于或者等于2的整数;
    第一建立单元,用于在确定接听所述第一来电请求对应的通话时,与所述第一终端设备建立第一语音传输链路,以通过所述第一语音传输链路传输数据信息。
  22. 一种通话控制装置,其特征在于,应用于终端设备,所述装置包括:
    发送单元,用于在与音频输出设备建立蓝牙连接的情况下,若接收到来电通话,则向音频输出设备发送来电请求;
    第二建立单元,用于在确定接听所述来电请求对应的通话时,与所述音频输出设备建立语音传输链路,以通过所述语音传输链路传输数据信息。
  23. 一种电子设备,其特征在于,包括存储有可执行程序代码的存储器,以及与所述存储器耦合的处理器;其中,所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1~15或16~20任一项所述的方法。
  24. 一种计算机可读存储介质,其存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~15或16~20任一项所述的方法。
PCT/CN2022/118423 2021-09-24 2022-09-13 通话控制方法及装置、电子设备、计算机可读存储介质 WO2023045800A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111122346.5A CN115865140A (zh) 2021-09-24 2021-09-24 通话控制方法及装置、电子设备、计算机可读存储介质
CN202111122346.5 2021-09-24

Publications (1)

Publication Number Publication Date
WO2023045800A1 true WO2023045800A1 (zh) 2023-03-30

Family

ID=85652550

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/118423 WO2023045800A1 (zh) 2021-09-24 2022-09-13 通话控制方法及装置、电子设备、计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN115865140A (zh)
WO (1) WO2023045800A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090186580A1 (en) * 2008-01-23 2009-07-23 Samsung Electronics Co., Ltd. Wireless headset and multipoint pairing method for the same
CN102237897A (zh) * 2010-05-06 2011-11-09 成都宇达电通有限公司 利用一个蓝牙终端监听多个通信终端
CN105407225A (zh) * 2015-11-27 2016-03-16 青岛海信信芯科技有限公司 一种数据传输方法及蓝牙设备
CN108377482A (zh) * 2016-11-07 2018-08-07 中兴通讯股份有限公司 一种终端连接蓝牙设备的方法、装置、***及设备
WO2019196018A1 (zh) * 2018-04-10 2019-10-17 深圳市斑斓实业有限公司 可同时连接多个终端的蓝牙装置
CN112367648A (zh) * 2020-09-29 2021-02-12 深圳市汇顶科技股份有限公司 通话管理方法、芯片和音频输出装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100640172B1 (ko) * 2004-08-31 2006-11-01 지을렬 핸즈프리 시스템 및 그 제어방법
CN103249018A (zh) * 2012-02-08 2013-08-14 联想(北京)有限公司 一种多方通话进行切换的方法及终端设备
CN211152179U (zh) * 2020-03-06 2020-07-31 珠海格力电器股份有限公司 一种通讯设备
CN111818503B (zh) * 2020-09-08 2021-03-05 深圳市汇顶科技股份有限公司 语音通话方法、***、芯片、电子设备及存储介质
CN112968998A (zh) * 2021-02-10 2021-06-15 联想(北京)有限公司 通信处理方法和电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090186580A1 (en) * 2008-01-23 2009-07-23 Samsung Electronics Co., Ltd. Wireless headset and multipoint pairing method for the same
CN102237897A (zh) * 2010-05-06 2011-11-09 成都宇达电通有限公司 利用一个蓝牙终端监听多个通信终端
CN105407225A (zh) * 2015-11-27 2016-03-16 青岛海信信芯科技有限公司 一种数据传输方法及蓝牙设备
CN108377482A (zh) * 2016-11-07 2018-08-07 中兴通讯股份有限公司 一种终端连接蓝牙设备的方法、装置、***及设备
WO2019196018A1 (zh) * 2018-04-10 2019-10-17 深圳市斑斓实业有限公司 可同时连接多个终端的蓝牙装置
CN112367648A (zh) * 2020-09-29 2021-02-12 深圳市汇顶科技股份有限公司 通话管理方法、芯片和音频输出装置

Also Published As

Publication number Publication date
CN115865140A (zh) 2023-03-28

Similar Documents

Publication Publication Date Title
US11812485B2 (en) Bluetooth communication method and terminal
US8363844B2 (en) Contextual audio switching for a USB controlled audio device
US20050201534A1 (en) Method for call screening in a voice mail system
EP2755368B1 (en) Teleconferencing system comprising Master Communication Device for mixing audio and connecting to neighbouring devices
WO2008101407A1 (fr) Procédé et système d'entrée/sortie de flux de données audio
CN109548184B (zh) 连接移动终端与蓝牙设备的方法、装置以及移动终端
WO2023087793A1 (zh) 音频业务处理方法、装置、电子设备及存储介质
US20230325145A1 (en) Audio Control System
US7729298B2 (en) Method and system for manipulating a shared object
JP2003319062A (ja) ハンズフリー携帯電話機およびハンズフリー切替プログラム
WO2023040517A1 (zh) 音频数据播放方法、装置、电子设备及存储介质
CA2513495A1 (en) Call forwarding in a packet switched system with back up terminals
JP2004120651A (ja) 電子機器および同電子機器の接続先切替え方法
CN117296348A (zh) 用于蓝牙音频多流的方法和电子设备
CN110933555A (zh) 一种tws降噪耳机及其降噪方法和装置
WO2023045784A1 (zh) 通话控制方法、装置、电子设备及计算机可读存储介质
JP5657771B1 (ja) 電話装置及び携帯電話連携方法
KR101820369B1 (ko) 헤드셋에 대한 스마트폰의 블루투스 통신방법
WO2023045800A1 (zh) 通话控制方法及装置、电子设备、计算机可读存储介质
WO2022228569A1 (zh) 蓝牙设备控制传输的方法和装置、电子设备
JP4207642B2 (ja) Ip電話装置およびip電話システム
JP2006311147A (ja) 電話機、サーバ装置及び通信方法
WO2023109282A1 (zh) 来电处理方法、装置、电子设备及存储介质
WO2023035918A1 (zh) 音频播放控制方法及装置、音频输出设备、存储介质
JP6537159B1 (ja) 通信制御装置及び通信制御プログラム

Legal Events

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

Ref document number: 22871848

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE