Call control method, device, electronic device and computer readable storage medium
By implementing a call control method on the audio output device, the problem of terminal devices preempting the audio output device is solved, and normal service use is achieved that is more in line with user needs.
Patent Information
- Application Number
- CN202111122348.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-09-24
AI Technical Summary
When electronic devices are connected to multiple terminal devices at the same time, the audio output device may be preempted between terminal devices due to business needs, resulting in an impact on normal business use.
By implementing a call control method on the audio output device, the incoming call request and the voice transmission link establishment request of the terminal device are received, and whether the device is in an occupied state is determined to answer the call is established.
It avoids the terminal equipment's preemption of audio output devices without the user's willingness to answer calls, reduces the impact on normal use, and is more in line with the actual needs of users.
Smart Images

Figure CN115915037B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a call control method, device, electronic device and computer-readable storage medium. Background Art
[0002] Bluetooth is a radio technology that supports short-range communication between devices. It can realize wireless information exchange between multiple electronic devices that support Bluetooth transmission, making data transmission between electronic devices faster and more efficient. At present, there are many electronic devices on the market that can support simultaneous Bluetooth connection with multiple terminal devices. When an electronic device is connected to multiple terminal devices at the same time, multiple terminal devices may compete for the electronic device due to business needs, which will affect the normal business use of the electronic device. Summary of the invention
[0003] The embodiments of the present application disclose a call control method, device, electronic device and computer-readable storage medium, which can prevent the terminal device from preempting the audio output device when the user has no intention to answer the call, reduce the impact on the normal use of the audio output device, and better meet the actual needs of the user.
[0004] An embodiment of the present application discloses a call control method, which is applied to an audio output device, wherein the audio output device establishes a Bluetooth connection with at least two terminal devices, and the method includes: receiving a first incoming call request and a first voice transmission link establishment request sent by a first terminal device; rejecting the first voice transmission link establishment request, and outputting first incoming call reminder information corresponding to the first incoming call request; when determining to answer the call corresponding to the first incoming call request, establishing a first voice transmission link with the first terminal device to transmit voice data through the first voice transmission link.
[0005] The present application embodiment discloses a call control method, which is applied to an audio output device, wherein the audio output device establishes a Bluetooth connection with at least two terminal devices, and the method includes: receiving a first incoming call request and a first voice transmission link establishment request sent by a first terminal device; judging whether the audio output device is in an occupied state; wherein the occupied state is a state in which the audio output device and a second terminal device perform audio data transmission, and the second terminal device is any terminal device other than the first terminal device among the at least two terminal devices; if so, rejecting the first voice transmission link establishment request, outputting first incoming call reminder information corresponding to the first incoming call request, and establishing a first voice transmission link with the first terminal device when it is determined to answer the call corresponding to the first incoming call request, so as to transmit voice data through the first voice transmission link; and / or, if not, responding to the first voice transmission link establishment request, establishing a first voice transmission link with the first terminal device, receiving second ringing audio data sent by the first terminal device through the first voice transmission link, and outputting the second ringing audio data, and performing voice data transmission with the first terminal device through the first voice transmission link when it is determined to answer the call corresponding to the first incoming call request.
[0006] An embodiment of the present application discloses a call control method, which is applied to an audio output device, wherein the audio output device establishes a Bluetooth connection with at least a first terminal device and a second terminal device respectively, and the method includes: when the first terminal device is in an incoming call state and the second terminal device is in an incoming call state, if it is determined to answer the incoming call corresponding to the first terminal device, the audio output device outputs the voice data transmitted by the first terminal device; if it is determined to answer the incoming call corresponding to the second terminal device, the audio output device outputs the voice data transmitted by the second terminal device.
[0007] An embodiment of the present application discloses a call control device, which is applied to an audio output device, wherein the audio output device establishes a Bluetooth connection with at least two terminal devices, and the device includes: a request receiving module, which is used to receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device; a request rejection module, which is used to reject the first voice transmission link establishment request and output first incoming call reminder information corresponding to the first incoming call request; and a link establishment module, which is used to establish a first voice transmission link with the first terminal device when determining to answer the call corresponding to the first incoming call request, so as to transmit voice data through the first voice transmission link.
[0008] The embodiment of the present application discloses a call control device, which is applied to an audio output device, wherein the audio output device establishes a Bluetooth connection with at least two terminal devices, and the device comprises: a request receiving module, which is used to receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device; an occupied judgment module, which is used to judge whether the audio output device is in an occupied state; wherein the occupied state is a state in which the audio output device and a second terminal device perform audio data transmission, and the second terminal device is any terminal device other than the first terminal device among the at least two terminal devices; a rejection module, which is used to reject the first voice transmission link establishment request if the audio output device is in an occupied state, and output a The first incoming call reminder information corresponding to the first incoming call request is outputted, and when it is determined to answer the call corresponding to the first incoming call request, a first voice transmission link is established with the first terminal device to transmit voice data through the first voice transmission link; a response module is used to respond to the first voice transmission link establishment request if the audio output device is not in an occupied state, establish a first voice transmission link with the first terminal device, receive the second ringing audio data sent by the first terminal device through the first voice transmission link, and output the second ringing audio data, and when it is determined to answer the call corresponding to the first incoming call request, perform voice data transmission with the first terminal device through the first voice transmission link.
[0009] An embodiment of the present application discloses a call control device, which is applied to an audio output device, wherein the audio output device establishes a Bluetooth connection with at least a first terminal device and a second terminal device respectively, and the device includes: an output module, which is used for, when the first terminal device is in an incoming call state and the second terminal device is in an incoming call state, if it is determined to answer the incoming call corresponding to the first terminal device, the audio output device outputs the voice data transmitted by the first terminal device, and if it is determined to answer the incoming call corresponding to the second terminal device, the audio output device outputs the voice data transmitted by the second terminal device.
[0010] An embodiment of the present application discloses an electronic device, including a memory storing executable program code, and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method as described above.
[0011] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned method when executed by a processor.
[0012] The call control method, device, electronic device and computer-readable storage medium disclosed in the embodiment of the present application, the audio output device establishes a Bluetooth connection with at least two terminal devices, the audio output device receives a first incoming call request and a first voice transmission link establishment request sent by a first terminal device, rejects the first voice transmission link establishment request, and outputs a first incoming call reminder message corresponding to the first incoming call request, and when it is determined to answer the call corresponding to the first incoming call request, establishes a first voice transmission link with the first terminal device to transmit voice data through the first voice transmission link. In the embodiment of the present application, the audio output device directly rejects the first voice transmission link establishment request sent by the first terminal device during the incoming call stage, so that the first terminal device will not preempt the audio output device during the incoming call stage, and only establishes the first voice transmission link with the first terminal device when it is determined to answer the call corresponding to the first incoming call request, which can avoid the first terminal device from preempting the audio output device when the user does not intend to answer the call, reduce the impact on the normal use of the audio output device, and better meet the actual needs of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0014] Figure 1 This is an application scenario diagram of a call control method in an embodiment;
[0015] Figure 2 is a flow chart of a call control method in one embodiment;
[0016] Figure 3 is a flow chart of a call control method in another embodiment;
[0017] Figure 4A A timing flow chart of two terminal devices receiving incoming calls in the same time period in one embodiment;
[0018] Figure 4B A timing flow chart of another terminal device receiving an incoming call when a previous terminal device is in a call process in one embodiment;
[0019] Figure 4C A timing flow chart of another embodiment in which another terminal device receives an incoming call while the previous terminal device is in a call process;
[0020] Figure 5 is a flow chart of a call control method in another embodiment;
[0021] Figure 6 A timing flow chart of another embodiment in which two terminal devices receive incoming calls in the same time period;
[0022] Figure 7 is a flow chart of a call control method in another embodiment;
[0023] Figure 8 is a flow chart of a call control method in another embodiment;
[0024] Fig. 9 is a block diagram of a call control device in one embodiment;
[0025] Fig.10 is a block diagram of a call control device in another embodiment;
[0026] Fig.11 is a block diagram of a call control device in another embodiment;
[0027] Fig.12 FIG. 4 is a structural block diagram of an electronic device in an embodiment. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0030] It is understood that the terms "first", "second", etc. used in this application may be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first terminal device may be referred to as a second terminal device, and similarly, a second terminal device may be referred to as a first terminal device. Both the first terminal device and the second terminal device are terminal devices, but they are not the same terminal device. In addition, it should be noted that the terms "multiple" and the like used in the embodiments of the present application refer to two or more.
[0031] Figure 1 FIG. 1 is an application scenario diagram of a call control method in an embodiment. Figure 1 As shown, the audio output device 10 can establish a Bluetooth connection with at least two terminal devices 20. The audio output device 10 can be various electronic devices with Bluetooth communication function and audio playback function, such as Bluetooth headsets, Bluetooth speakers, or terminal devices such as smart watches. Further, the audio output device 10 can be a TWS (True Wireless Stereo) headset. The terminal device 20 may include but is not limited to mobile phones, smart wearable devices, vehicle terminals, tablet computers, PCs (Personal Computers), PDAs (Personal Digital Assistants), etc. Further, the terminal device 20 can be a device that can access a wireless network and perform communication services. A SIM (Subscriber Identification Module) card can be provided in the terminal device 20, and the SIM card can be used to access wireless networks such as the fourth generation (4G) and the fifth generation (5G) to realize call services such as answering incoming calls and outgoing calls.
[0032] The above-mentioned Bluetooth connection can be implemented based on the classic Bluetooth protocol (for example, Bluetooth 4.0 and other versions of the protocol developed by the Bluetooth SIG), or based on the Bluetooth Low Energy (BLE) protocol (for example, Bluetooth 5.0 and other versions of the protocol). There is no limitation here and it can change with the development of the Bluetooth protocol.
[0033] In the related art, in order to allow the user to hear the incoming call ringtone set by the terminal device in time when the user is using the audio output device, if the terminal device receives an incoming call, such as the user can still hear the incoming call ringtone of the mobile phone when using headphones, so as to enrich the user's experience. Therefore, many terminal devices are set to establish a voice transmission link with the audio output device when a call is received. The inventor found that this setting causes other problems when the audio output device is connected to multiple terminal devices (such as mobile phones). For example, when the audio output device 10 establishes a Bluetooth connection with at least two terminal devices 20, if the audio output device 10 is currently transmitting audio data with the terminal device A, that is, the terminal device A is currently using the audio output device 10 to play audio data, and the terminal device B receives an incoming call at this time, the terminal device B will directly seize the audio output device 10 and squeeze out the terminal device A. If the user does not intend to answer the call from the terminal device B, it will affect the normal use of the audio output device 10 by the terminal device A. In an embodiment of the present application, when the audio output device 20 receives the first incoming call request and the first voice transmission link establishment request sent by the first terminal device, the first voice transmission link establishment request may be rejected, and the first incoming call reminder information corresponding to the first incoming call request may be output. The audio output device 20 establishes the first voice transmission link with the first terminal device only when it determines to answer the call corresponding to the first incoming call request, so as to transmit voice data through the first voice transmission link. The audio output device will directly reject the first voice transmission link establishment request sent by the first terminal device during the incoming call stage, so the first terminal device will not preempt the audio output device during the incoming call stage, which can avoid the first terminal device from preempting the audio output device when the user has no intention to answer the call, reduce the impact on the normal use of the audio output device, and better meet the actual needs of the user.
[0034] like Figure 2 As shown, in one embodiment, a call control method is provided, which can be applied to the above-mentioned audio output device, and the method may include the following steps:
[0035] Step 210: Receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device.
[0036] The audio output device supports the Bluetooth "one to many" function and can support establishing Bluetooth connections with at least two terminal devices at the same time, that is, the audio output device can maintain 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, 4, etc., but not limited to this.
[0037] The audio output device can establish a Bluetooth connection with at least two terminal devices, and the at least two terminal devices may include a first terminal device. The first terminal device can access a wireless network such as 4G, 5G, etc. and realize a call function, and the call function may include but is not limited to answering incoming calls, making outgoing calls, etc. When the first terminal device is making a call, the audio output device can transmit voice data with the first terminal device through the Bluetooth connection between the first terminal device to realize the function of making a call on the audio output device. Optionally, the audio output device can realize the call function based on the Bluetooth call protocol, and the call protocol may include but is not limited to the HFP (Hands-free Profile) protocol, etc., wherein the HFP protocol is a Bluetooth protocol used for call control between Bluetooth devices.
[0038] In the embodiment of the present application, the first terminal device may be a terminal device supporting the Bluetooth in-band ringtone function, which refers to a function of triggering the establishment of a voice transmission link with an audio output device when an incoming call is received, so as to transmit the ringing audio to the audio output device through the voice transmission link. The voice transmission link may include a physical link that can meet high timeliness, such as a Synchronous Connection Oritened (SCO) link.
[0039] When the first terminal device receives an incoming call, it will send a first incoming call request to the audio output device. The first incoming call request can be used to notify the audio output device of an incoming call. For example, the first incoming call request may include the AT command "+CIEV: (callsetup=1)", which can be used to indicate the call establishment process, that is, to notify the audio output device of an incoming call. Since the first terminal device is generally a terminal device that supports the Bluetooth in-band ringtone function by default, when the first terminal device receives an incoming call, the first terminal device will send a first incoming call request to the audio output device, and will also send a first voice transmission link establishment request to the audio output device. The first voice transmission link establishment request is used to request to establish a first voice transmission link with the audio output device. Optionally, the first voice transmission link can be a SCO link.
[0040] It is understandable that when the first terminal device receives an incoming call, the first terminal device may send a first incoming call request to the audio output device and then send a first voice transmission link establishment request to the audio output device. Of course, according to the setting method of the first terminal device, the first incoming call request and the first voice transmission link establishment request may also be sent in other orders, or even at the same time.
[0041] Step 220: reject the first voice transmission link establishment request, and output first incoming call reminder information corresponding to the first incoming call request.
[0042] In the related technology, since the first terminal device is a terminal device that supports the Bluetooth in-band ringtone function, when the first terminal device receives an incoming call, it will send a first voice transmission link establishment request to the audio output device. If the audio output device successfully establishes the first voice transmission link with the first terminal device, the first terminal device will transmit the ringing audio data to the audio output device through the first voice transmission link, and the audio output device will play the ringing audio data. If the audio output device is previously performing audio data transmission with the second terminal device, that is, the audio output device is playing the audio data transmitted by the second terminal device, the first terminal device will directly seize the audio output device during the incoming call phase, which will affect the use of the audio output device by the second terminal device.
[0043] In the embodiment of the present application, when the first terminal device is in an incoming call state (i.e., a state where an incoming call is received but not answered), the audio output device may reject the first voice transmission link establishment request sent by the first terminal device, and does not establish the first voice transmission link with the first terminal device, and the first terminal device cannot preempt the audio output device. Therefore, if the audio output device is previously transmitting audio data with the second terminal device, it will not affect the use of the audio output device by the second terminal device.
[0044] In some embodiments, the audio output device rejects the request to establish the first voice transmission link, which may include not responding to the request to establish the first voice transmission link, or sending a rejection instruction to the first terminal device, where the rejection instruction is used to indicate that the audio output device rejects to establish the first voice transmission link with the first terminal device.
[0045] The audio output device does not respond to the first voice transmission link establishment request, which may mean that the audio output device does not send any feedback signal to the first terminal device after receiving the first voice transmission link establishment request. After the first terminal device sends the first voice transmission link establishment request to the audio output device, if no feedback signal is received within a preset time segment, it means that the audio output device rejects the first voice transmission link establishment request, and it is determined that the first voice transmission link establishment fails.
[0046] Optionally, the above-mentioned rejection instruction may include an error instruction. During the incoming call phase of the first terminal device, after the audio output device receives the request to establish the first voice transmission link, it may return an error instruction to the first terminal device. The first terminal device receives the error instruction and may determine that the establishment of the first voice transmission link has failed.
[0047] Since the audio output device will not establish a first voice transmission link with the first terminal device during the incoming call phase of the first terminal device, the ringing audio data of the first terminal device will not be transmitted to the audio output device. In order to remind the user that the first terminal device has received an incoming call, the audio output device may output a first incoming call reminder message corresponding to the first incoming call request after receiving the first incoming call request sent by the first terminal device. The first incoming call reminder message can be used to remind the user that the first terminal device has received an incoming call. The presentation of the first incoming call reminder message may include but is not limited to one or more of voice reminders, vibration reminders, display prompts, etc. Optionally, the first incoming call reminder message may be reminder information stored locally on the audio output device, for example, it may be a locally stored prompt tone, or it may vibrate according to locally stored vibration parameters, etc., but is not limited to this.
[0048] It should be noted that the audio output device can output the first incoming call reminder information at the same time as rejecting the request to establish the first voice transmission link, or it can output the first incoming call reminder information before or after rejecting the request to establish the first voice transmission link. The order between the two is not limited here.
[0049] Step 230: When it is determined to answer the call corresponding to the first incoming call request, a first voice transmission link is established with the first terminal device to transmit voice data through the first voice transmission link.
[0050] After the audio output device outputs the first incoming call reminder information to remind the user, the user can answer the incoming call of the first terminal device through the audio output device or on the first terminal device. After determining to answer the call corresponding to the first incoming call request, the audio output device can establish a first voice transmission link with the first terminal device, and transmit voice data with the first terminal device through the first voice transmission link. The audio output device can play the voice data transmitted by the first terminal device through a speaker, etc., and can collect the user's voice data through a sound collection device such as a microphone, and transmit the voice data collected by the sound collection device such as a microphone to the first terminal device through the first voice transmission link.
[0051] In some embodiments, when determining to answer the call corresponding to the first incoming call request, the first terminal device may send a first answering instruction to the audio output device, and the first answering instruction may be used to indicate that the first terminal device answers the incoming call and switches from the incoming call state to the call state (referring to the state of an ongoing call). After receiving the first answering instruction, the audio output device may send a second voice transmission link establishment request to the first terminal device, so that the second terminal device establishes a first voice transmission link with the audio output device according to the second voice transmission link establishment request. The establishment of the first voice transmission link between the audio output device and the first terminal device can be initiated by the audio output device, which can realize the call function on the audio output device, and does not need to set or modify the first terminal device that supports the Bluetooth in-band ringtone function, thereby improving the compatibility and adaptability of the audio output device.
[0052] In an embodiment of the present application, the audio output device will directly reject the first voice transmission link establishment request sent by the first terminal device during the incoming call stage. Therefore, the first terminal device will not preempt the audio output device during the incoming call stage, and will only establish the first voice transmission link with the first terminal device when it is determined to answer the call corresponding to the first incoming call request. This can avoid the first terminal device preempting the audio output device when the user has no intention to answer the call, reduce the impact on the normal use of the audio output device, and better meet the actual needs of the user.
[0053] like Figure 3 As shown, in one embodiment, another call control method is provided, which can be applied to the above-mentioned audio output device, and the method may include the following steps:
[0054] Step 302: Receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device.
[0055] Step 304: If the audio output device is currently in an occupied state, the first voice transmission link establishment request is rejected, and first incoming call reminder information corresponding to the first incoming call request is output.
[0056] The occupied state is the state in which the audio output device and the second terminal device are transmitting audio data. The second terminal device may be any terminal device other than the first terminal device among the at least two terminal devices. After the audio output device receives the first incoming call request and the first voice transmission link establishment request sent by the first terminal device, it may determine whether the audio output device is currently in the occupied state. If it is currently in the occupied state, it means that the audio output device is currently playing the audio data transmitted by the second terminal device. In this case, the first voice transmission link establishment request may be rejected to prevent the first terminal device from occupying the audio output device.
[0057] In some embodiments, if the audio output device is not currently in an occupied state, that is, the audio output device is not currently playing audio data transmitted by any terminal device, then the first voice transmission link establishment request can be responded to and a first voice transmission link can be established with the first terminal device. After the audio output device establishes the first voice transmission link with the first terminal device, the second ringing audio data sent by the first terminal device can be received through the first voice transmission link, and the second ringing audio data can be output. When it is determined to answer the call corresponding to the first incoming call request, voice data transmission can be performed with the first terminal device through the first voice transmission link.
[0058] Step 306: When it is determined that the call corresponding to the first incoming call request is answered, the second voice transmission link is disconnected, and a first voice transmission link is established with the first terminal device to transmit voice data through the first voice transmission link.
[0059] In some embodiments, the second terminal device can perform multimedia audio playback services, and the above-mentioned occupied state may include the state of multimedia audio data transmission between the audio output device and the second terminal device. Further, the second terminal device can transmit multimedia audio data to the audio output device based on the Bluetooth audio transmission protocol. Optionally, the audio transmission protocol may include A2DP (Advanced Audio Distribution Profile), etc. The second terminal device can establish an A2DP connection with the audio output device and send multimedia audio data to the second terminal device through the A2DP connection.
[0060] If, when the audio output device and the second terminal device are transmitting multimedia audio data, the audio output device receives a first incoming call request and a first voice transmission link establishment request sent by the first terminal device, the first voice transmission link establishment request may be rejected to avoid the first terminal device preempting the audio output device when the user has no intention of answering the call, thereby affecting the multimedia audio playback service of the second terminal device.
[0061] Optionally, when it is determined to answer the call corresponding to the first incoming call request, the audio output device may disconnect the A2DP connection with the second terminal device, stop receiving the audio data transmitted by the second terminal device, and establish a first voice transmission link with the first terminal device. Optionally, when it is determined to answer the call corresponding to the first incoming call request, the A2DP connection with the second terminal device may not be disconnected. The first terminal device may set the A2DP connection to a state in which data stream cannot be transmitted while maintaining the A2DP connection with the audio output device, so that the audio output device stops receiving the audio data transmitted by the second terminal device.
[0062] In some embodiments, the second terminal device can perform call services, and the occupied state may include a state in which the audio output device and the second terminal device perform audio data transmission via a second voice transmission link. The second terminal device may establish a second voice transmission link with the audio output device, which may be a SCO link, and transmit audio data related to the call service to the second terminal device via the second voice transmission link, such as second ringing audio data during an incoming call, voice data during a call, etc.
[0063] If, when the audio output device is transmitting audio data with the second terminal device via the second voice transmission link, the audio output device receives a first incoming call request and a first voice transmission link establishment request sent by the first terminal device, the first voice transmission link establishment request may be rejected to avoid the first terminal device preempting the audio output device when the user has no intention of answering the call, thereby affecting the call service of the second terminal device.
[0064] In some embodiments, after the audio output device receives the first incoming call request sent by the first terminal device, it can mix and output the audio data received through the second voice transmission link with the first incoming call reminder information. Optionally, the first incoming call reminder information can be a prompt tone stored locally in the audio output device, and the audio output device can play the mixed audio of the audio data received through the second voice transmission link and the first incoming call reminder information. The user can hear the audio data transmitted by the second terminal device and the prompt tone reminding the first terminal device of the incoming call at the same time, which does not affect the use of the audio output device by the second terminal device, and the user can accurately know the information of the incoming call of the first terminal device, which can better meet the needs of users and improve user stickiness.
[0065] When it is determined that the call corresponding to the first incoming call request is answered, the audio output device can disconnect the second voice transmission link and establish the first voice transmission link with the first terminal device, and the audio output device can transmit voice data with the first terminal device through the first voice transmission link. This enables the second terminal device to successfully seize the audio output device, ensuring that the second terminal device can use the audio output device normally.
[0066] In some embodiments, when the first terminal device receives an incoming call, the second terminal device performs a call service and occupies the audio output device, which may include: 1. The second terminal device receives the incoming call but has not answered it; 2. The second terminal device receives the incoming call and has answered it, etc. Therefore, before the step of receiving the first incoming call request and the first voice transmission link establishment request sent by the first terminal device, it may include: receiving the second incoming call request and the third voice transmission link establishment request sent by the second terminal device; if the audio output device is not in an occupied state, responding to the third voice transmission link establishment request, and establishing a second voice transmission link with the second terminal device; receiving the first ringing audio data sent by the second terminal device through the second voice transmission link, and outputting the first ringing audio data.
[0067] If the audio output device is not in an occupied state when it receives the second incoming call request and the third voice transmission link establishment request sent by the second terminal device, that is, no other terminal device occupies the audio output device, the audio output device can directly respond to the third voice transmission link establishment request and establish a second voice transmission link with the second terminal device. The second terminal device can send the first ringing audio data to the audio output device through the second voice transmission link, and the audio output device can play the first ringing audio data to prompt the user that the second terminal device has received an incoming call. The second terminal device occupies the audio output device.
[0068] For the above scenario where the second terminal device receives an incoming call but has not answered it, in some embodiments, when the second terminal device is in an incoming call state, the first terminal device receives an incoming call and sends a first incoming call request and a first voice transmission link establishment request to the audio output device. At this time, both the second terminal device and the first terminal device are in the incoming call stage, and the audio output device can reject the first voice transmission link establishment request and output the first ringing audio data of the second terminal device mixed with the first prompt information.
[0069] After the audio output device mixes and outputs the first ringing audio data of the second terminal device with the first prompt information, the user can choose to answer the call of the first terminal device or the second terminal device. If it is determined to answer the call corresponding to the second incoming call request (that is, it is determined to answer the call of the second terminal device), the audio output device can directly transmit voice data with the second terminal device through the second voice transmission link, and the second terminal device occupies the audio output device. If it is determined to answer the call corresponding to the first incoming call request (that is, it is determined to answer the call of the first 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, and transmit voice data with the first terminal device through the first voice transmission link, and the first terminal device occupies the audio output device.
[0070] For example, Figure 4A FIG. 1 is a timing flow chart of two terminal devices receiving incoming calls in the same time period in one embodiment. Figure 4A As shown, the audio output device establishes Bluetooth connections with terminal device A and terminal device B respectively. When terminal device A receives an incoming call, it sends an incoming call request and a SCO establishment request to the audio output device. At this time, if the audio output device is not in an occupied state, it can respond to the SCO establishment request and establish a SCO link with terminal device A, and terminal device A occupies the audio output device. Terminal device A sends an incoming call ringtone to the audio output device through the SCO link, and the audio output device can play the received incoming call ringtone of terminal device A. During the process of the audio output device playing the incoming call ringtone of terminal device A, that is, the incoming call stage of terminal device A, terminal device B also receives an incoming call, and terminal device B sends an incoming call request and a SCO establishment request to the audio output device. Since the audio output device is in an occupied state at this time, the audio output device can reject the SCO establishment request of terminal device B, and mix and play the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone of terminal device B. If it is determined to answer the call from terminal device B, terminal device B sends an answering instruction to the audio output device, and the audio output device can disconnect the SCO link between terminal device A and send a SCO establishment request to terminal device B. Terminal device B responds to the SCO establishment request, establishes a SCO link with the audio output device, and terminal device B seizes the audio output device. The audio output device can receive the call voice of terminal device B through the SCO link and play the call voice.
[0071] For the above-mentioned scenario where the second terminal device receives an incoming call and has answered the call, in some embodiments, after the audio output device plays the first ringing audio data, when it is determined to answer the call corresponding to the second incoming call request, voice data can be transmitted with the first terminal device through the second voice transmission link. When the second terminal device is in a call state, the first terminal device receives an incoming call and sends a first incoming call request and a first voice transmission link establishment request to the audio output device. At this time, the first terminal device is in a call stage and the second terminal device is in an incoming call stage. The audio output device can reject the first voice transmission link establishment request and output the voice data transmitted by the second terminal device mixed with the first prompt information.
[0072] As an implementation mode, the method of mixing and outputting the voice data transmitted by the second terminal device with the first prompt information may be that in the process of outputting the voice data transmitted by the second terminal device, the first prompt information is mixed and outputted with the voice data for a first time period continuously, and the first time period may be set according to actual needs, such as 3 seconds, 5 seconds, etc. As another implementation mode, in the process of outputting the voice data transmitted by the second terminal device, the first prompt information is mixed and outputted with the voice data every second time period. The second time period may be set according to actual needs, such as 5 seconds, 8 seconds, etc. Only the first prompt information is continuously mixed and outputted with the voice data for the first time period, or the first prompt information is mixed and outputted with the voice data at intervals, so as to avoid excessive interference caused by the continuous output of the first prompt information to the user's listening to the voice data transmitted by the second terminal device.
[0073] After the voice data transmitted by the second terminal device is mixed and output with the first prompt information, if it is determined to answer the call corresponding to the first incoming call request, the second voice transmission link between the second terminal device can be disconnected, and the first voice transmission link between the first terminal device and the first terminal device can be established. Voice data is transmitted with the first terminal device through the first voice transmission link, and the first terminal device seizes the audio output device.
[0074] For example, Figure 4B FIG. 1 is a timing flow chart of an embodiment in which another terminal device receives an incoming call while the previous terminal device is in a call process. Figure 4BAs shown, the audio output device establishes Bluetooth connections with terminal device A and terminal device B respectively. When terminal device A receives an incoming call, it sends an incoming call request and a SCO establishment request to the audio output device. At this time, if the audio output device is not in an occupied state, it can respond to the SCO establishment request and establish a SCO link with terminal device A, and terminal device A occupies the audio output device. Terminal device A sends an incoming call ringtone to the audio output device through the SCO link, and the audio output device can play the received incoming call ringtone of terminal device A. When it is determined to answer the incoming call of terminal device A, terminal device A sends an answering instruction to the audio output device, and the audio output device can receive the call voice sent by terminal device A through the SCO link and play it. During the process of terminal device A occupying the audio output device for a call, terminal device B receives an incoming call, and terminal device B sends an incoming call request and a SCO establishment request to the audio output device. Since the audio output device is in an occupied state at this time, the audio output device can reject the SCO establishment request of terminal device B, and mix the call voice of terminal device A and the incoming call prompt tone of terminal device B stored locally. If it is determined to answer the call from terminal device B, terminal device B sends an answering instruction to the audio output device, and the audio output device can disconnect the SCO link between terminal device A and send a SCO establishment request to terminal device B. Terminal device B responds to the SCO establishment request and establishes a SCO link with the audio output device, and terminal device B seizes the audio output device. The audio output device can receive the call voice of terminal device B through the SCO link and play it.
[0075] With respect to the above-mentioned scenario in which the second terminal device has received an incoming call and answered the call, in some embodiments, before the step of receiving the first incoming call request and the first voice transmission link establishment request sent by the first terminal device, the method may also include: receiving the second incoming call request and the third voice transmission link establishment request sent by the second terminal device; rejecting the third voice transmission link establishment request, and outputting second incoming call reminder information corresponding to the second incoming call request; when determining to answer the call corresponding to the second incoming call request, establishing a second voice transmission link with the second terminal device, and transmitting voice data with the first terminal device through the second voice transmission link.
[0076] For any voice transmission link establishment request sent by any terminal device during the incoming call stage, the audio output device can reject the voice transmission link establishment request and not establish a voice transmission link with the terminal device during the incoming call stage. When the second terminal device receives an incoming call, it sends a second incoming call request and a third voice transmission link establishment request to the audio output device. The audio output device can reject the third voice transmission link establishment request and output a second incoming call reminder message corresponding to the second incoming call request. It should be noted that the method of rejecting the third voice transmission link establishment request and outputting the second incoming call reminder message corresponding to the second incoming call request can be similar to the method of rejecting the first voice transmission link establishment request and outputting the first incoming call reminder message corresponding to the first incoming call request in the above embodiment, which will not be repeated here.
[0077] The audio output device establishes a second voice transmission link with the second terminal device only when it is determined to answer the call corresponding to the second incoming call request. This can avoid unnecessary power consumption caused by establishing and then disconnecting the second voice transmission link when the user does not intend to answer the call from the second terminal device, thereby improving the battery life of the audio output device. The logic of occupying the audio output device is consistent for all terminal devices, thus avoiding the situation where the inconsistent behavior of different terminal devices occupying the headset brings confusion to the user, thereby improving the user experience.
[0078] For example, Figure 4C FIG. 1 is a timing flow chart of another embodiment in which another terminal device receives an incoming call while the previous terminal device is in a call process. Figure 4CAs shown, the audio output device establishes Bluetooth connections with terminal device A and terminal device B respectively. When terminal device A receives an incoming call, it sends an incoming call request and a SCO establishment request to the audio output device. The audio output device rejects the SCO establishment request of terminal device A and plays the incoming call prompt tone of terminal device A stored locally. When it is determined to answer the incoming call of terminal device A, terminal device A sends an answering instruction to the audio output device, and the audio output device can send a SCO establishment request to terminal device A and establish a SCO link with terminal device A, and terminal device A occupies the audio output device. The audio output device can receive the call voice sent by terminal device A through the SCO link and play it. In the process of terminal device A occupying the audio output device for a call, terminal device B receives an incoming call, and terminal device B sends an incoming call request and a SCO establishment request to the audio output device. Since the audio output device is in an occupied state at this time, the audio output device can reject the SCO establishment request of terminal device B, and mix the call voice of terminal device A and the incoming call prompt tone of terminal device B stored locally. If it is determined to answer the call from terminal device B, terminal device B sends an answering instruction to the audio output device, and the audio output device can disconnect the SCO link between terminal device A and send a SCO establishment request to terminal device B. Terminal device B responds to the SCO establishment request and establishes a SCO link with the audio output device, and terminal device B seizes the audio output device. The audio output device can receive the call voice of terminal device B through the SCO link and play it.
[0079] In some embodiments, after the audio output device disconnects the second voice transmission link with the second terminal device and establishes the first voice transmission link with the second terminal device, the audio output device may send a control instruction to the second terminal device, and the control instruction may be used to instruct the second terminal device to output the audio data generated by the second terminal device through a speaker. Optionally, the audio output device may not send a control instruction to the second terminal device, and after the second terminal device detects that the second voice transmission link with the audio output device is disconnected, the generated audio data may be played directly through the speaker. By means of external speaker, the second terminal device can continue to conduct business without affecting the use of the audio output device by the first terminal device.
[0080] In an embodiment of the present application, when the audio output device is occupied by the second terminal device, the first terminal device receives an incoming call, and the audio output device directly rejects the first voice transmission link establishment request sent by the first terminal device during the incoming call stage. The first terminal device will not preempt the audio output device during the incoming call stage, which can avoid the first terminal device preempting the audio output device when the user has no intention of answering the call, reducing the impact on the second terminal device's use of the audio output device, and better meeting the actual needs of the user.
[0081] like Figure 5 As shown, in another embodiment, a call control method is provided, which can be applied to the above-mentioned audio output device, and the method may include the following steps:
[0082] Step 502: Receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device.
[0083] Step 504: If the audio output device is currently in an occupied state, the first voice transmission link establishment request is rejected, and first incoming call reminder information corresponding to the first incoming call request is output.
[0084] Step 506: when it is determined to answer the call corresponding to the first incoming call request, disconnect the second voice transmission link, and establish the first voice transmission link with the first terminal device to transmit voice data through the first voice transmission link.
[0085] The description of steps 502 to 506 may refer to the relevant description in the above embodiments, which will not be repeated here.
[0086] Step 508: If it is determined that the first terminal device ends the call and the second terminal device is still in an incoming call state or a call state, the first voice transmission link is disconnected and a second voice transmission link is re-established with the second terminal device.
[0087] When the second terminal device occupies the audio output device for a call, and the first terminal device also receives an incoming call, and the user decides to answer the call from the first terminal device, the first terminal device occupies the audio output device for the call. Optionally, when the first terminal device occupies the audio output device, if the second terminal device is in an incoming call state, the second terminal device can directly output an incoming call reminder, such as playing the first ringing audio data through its own speaker, or using vibration to remind the call, etc. If the second terminal device is in a call state when the first terminal device occupies the audio output device, the second terminal device can maintain the call state without hanging up.
[0088] When the first terminal device ends the call, if the second terminal device is still in the incoming call state or the call state when the audio output device is preempted, the audio output device can disconnect the first voice transmission link and re-establish the second voice transmission link with the second terminal device.
[0089] As a specific implementation, when the incoming call of the second terminal device is hung up, the second terminal device ends the call service and can send a hang-up instruction to the audio output device. The hang-up instruction can be used to indicate that the incoming call of the second terminal device is hung up. The hang-up can be performed by the user on the second terminal device or by the calling device calling the second terminal device. Therefore, if the audio output device does not receive the hang-up instruction sent by the second terminal device during the process of the first terminal device occupying the audio output device for the call service, it can be determined that the second terminal device is still in the incoming call state or the call state. When the audio output device receives the hang-up instruction sent by the first terminal device, it can be determined that the first terminal device ends the call, the audio output device can disconnect the first voice transmission link between the first terminal device and the audio output device, and send a fourth voice transmission link establishment request to the second terminal device to request to restore the establishment of the second voice transmission link with the second terminal device, so as to continue to transmit audio data with the second terminal device through the second voice transmission link, and the second terminal device occupies the audio output device and continues the call service.
[0090] In an embodiment of the present application, when the first terminal device ends the call, the audio output device can restore the second voice transmission link between the first terminal device and the second terminal device, and continue the call service of the second terminal device, thereby ensuring that the call services of different terminal devices can proceed normally and meeting the different needs of users for using audio output devices.
[0091] In some embodiments, for the scenario where two terminal devices receive incoming calls within the same time period, in addition to the solution involved in the above embodiments in which the terminal device that receives the incoming call first (such as the second terminal device in the above embodiments) occupies the audio output device, and the terminal device that receives the incoming call later (such as the first terminal device mentioned above) preempts the audio output device when deciding to answer the call, it is also possible that the audio output device is not preempted during the incoming call stage of both terminal devices, and the terminal device answering the call preempts the audio output device only after the user chooses to answer one of the terminal devices.
[0092] The above-mentioned call control method may also include: receiving a first incoming call request and a first voice transmission link establishment request sent by a first terminal device, and receiving a second incoming call request and a third voice transmission link establishment request sent by a second terminal device, rejecting the first voice transmission link establishment request and the third voice transmission link establishment request, and outputting a first incoming call reminder message corresponding to the first incoming call request and a second incoming call reminder message corresponding to the second incoming call request.
[0093] For example, the second terminal device receives the incoming call first and the first terminal device receives the incoming call later. When the second terminal device receives the incoming call, it sends a second incoming call request and a third voice transmission link establishment request to the audio output device. The audio output device rejects the third voice transmission link establishment request and outputs the second incoming call reminder information corresponding to the second incoming call request. During the incoming call phase of the second terminal device, the first terminal device receives the incoming call and sends a first incoming call request and a first voice transmission link establishment request to the audio output device. The audio output device rejects the first voice transmission link establishment request and can output the first incoming call reminder information corresponding to the first incoming call request and the second incoming call reminder information corresponding to the second incoming call request in a mixed manner. Neither the first terminal device nor the second terminal device occupies the audio output device.
[0094] Optionally, the audio output device may also output locally stored third incoming call reminder information, which may be used to prompt the first terminal device and the second terminal device that both have received an incoming call, indicating that both the first terminal device and the second terminal device are in an incoming call state.
[0095] The user can choose to answer the call from the first terminal device or the second terminal device. If it is determined to receive the call from the first terminal device, the audio output device can establish a first voice transmission link with the first terminal device, the first terminal device preempts the audio output device, and the audio output device can transmit voice data with the first terminal device through the first voice transmission link. If it is determined to answer the call from the second terminal device, the audio output device can establish a second voice transmission link with the second terminal device, the second terminal device preempts the audio output device, and the audio output device can transmit voice data with the second terminal device through the second voice transmission link.
[0096] For example, Figure 6 FIG. 1 is a timing flow chart of another embodiment in which two terminal devices receive incoming calls in the same time period. Figure 6As shown, the audio output device establishes Bluetooth connections with terminal device A and terminal device B respectively. When terminal device A receives an incoming call, it sends an incoming call request and a SCO establishment request to the audio output device. The audio output device can reject the SCO establishment request of terminal device A and play the locally stored incoming call prompt tone of terminal device A. During the incoming call stage of terminal device A, terminal device B also receives an incoming call, and terminal device B sends an incoming call request and a SCO establishment request to the audio output device. The audio output device can reject the SCO establishment request of terminal device B and mix the locally stored incoming call prompt tone of terminal device A and the locally stored incoming call prompt tone of terminal device B. If it is determined to answer the incoming call of terminal device B, terminal device B sends an answering instruction to the audio output device, and the audio output device can send a SCO establishment request to terminal device B. Terminal device B responds to the SCO establishment request, establishes a SCO link with the audio output device, and terminal device B seizes the audio output device. The audio output device can receive the call voice of terminal device B through the SCO link and play the call voice.
[0097] In the embodiment of the present application, if two terminal devices receive incoming calls in the same time period, the audio output device rejects the voice transmission link establishment request initiated by the terminal device during the incoming call stage, and only establishes a voice transmission link with the terminal device that answers the call when it is determined to answer the call from one of the terminal devices. This can avoid unnecessary power consumption caused by establishing and then disconnecting the voice transmission link when the user does not intend to answer the call, thereby improving the battery life of the audio output device. In addition, the logic for all terminal devices to occupy the audio output device is consistent, avoiding the situation where the inconsistent behavior of different terminal devices occupying the headset brings confusion to the user, thereby improving the user experience.
[0098] In some embodiments, the methods for determining to answer the call corresponding to the first incoming call request involved in the above embodiments may include but are not limited to the following methods:
[0099] Method 1: If a first answering operation of answering the first terminal device is detected at the audio output device end, it is determined to answer the call corresponding to the first incoming call request. The operation mode corresponding to the answering operation of each terminal device can be pre-designed, and the audio output device can detect the answering operation and determine whether to answer the incoming call of the first terminal device or the second terminal device according to the operation mode of the detected answering operation. Optionally, the operation mode of the answering operation of different terminal devices may include but is not limited to: the first terminal device and the second terminal device respectively correspond to different operating components on the audio output device, the first terminal device and the second terminal device respectively correspond to different operating frequencies, the first terminal device and the second terminal device respectively correspond to different continuous operation durations, etc.
[0100] Taking the example that the first terminal device and the second terminal device respectively correspond to different operating components on the audio output device, if the audio output device is a TWS wireless headset, the audio output device may be provided with a first button and a second button (which may be a physical button or a displayed virtual button). The user presses the first button to answer the call of the first terminal device, and the user presses the second button to answer the call of the second terminal device, and so on.
[0101] Taking the example that the first terminal device and the second terminal device correspond to different operating frequencies respectively, the user performs a single-click operation on the touch device of the audio output device to answer the call of the first terminal device, and the user performs a double-click operation on the touch device of the audio output device to answer the call of the second terminal device, etc.
[0102] Taking the first terminal device and the second terminal device corresponding to different continuous operation times as an example, the user performs a short press operation on the touch device of the audio output device, which corresponds to answering the call of the first terminal device; the user performs a long press operation on the touch device of the audio output device, which corresponds to answering the call of the second terminal device, and so on.
[0103] It should be noted that the first answering operation for the first terminal device and the second answering operation for the second terminal device performed on the audio output device can be set according to actual needs, and are not limited to the several operation modes illustrated above. Different operation modes are set for different terminal devices, and users can choose to answer the corresponding terminal device according to actual needs. The operation mode is convenient and meets user needs.
[0104] Method 2: If an answering operation is detected on the audio output device, and the call priority of the first terminal device is higher than the call priority of the second terminal device, it is determined to answer the call corresponding to the first incoming call request. For different terminal devices, the same answering operation on the audio output device can be set. For example, the answering operation can be any one of a single-click operation, a double-click operation, a pressing operation, etc. on the touch device of the audio output device, or an interactive operation controlled by voice.
[0105] When the answering operation is detected at the audio output device end, if there are currently at least call services of the first terminal device and the second terminal device, the call priority of the first terminal device and the call priority of the second terminal device can be obtained respectively, and the call priorities of the two can be compared. If the call priority of the first terminal device is higher than the call priority of the second terminal device, it is determined to answer the call corresponding to the first incoming call request.
[0106] Optionally, the call priority can be set by the user according to actual needs. For example, if the call priority of the first terminal device is set to 5 and the call priority of the second terminal device is set to 3, then the call priority of the first terminal device is higher than the call priority of the second terminal device. Optionally, the call priority can also be set based on information in one or more dimensions. For example, it can be set based on one or more of the order in which the first terminal device and the second terminal device receive incoming calls, the order in which the first terminal device and the second terminal device establish Bluetooth connections with the audio output device, the remaining power of the first terminal device and the second terminal device, the importance of the incoming call numbers received by the first terminal device and the second terminal device, etc.
[0107] For example, the call priority of a terminal device that receives an incoming call first may be higher than the call priority of a terminal device that receives the incoming call later; for another example, the call priority of a terminal device that first establishes a Bluetooth connection with an audio output device may be lower than the call priority of a terminal device that establishes a Bluetooth connection with the audio output device later; for another example, the call priority of an audio output device with a high remaining battery power is higher than the call priority of an audio output device with a low remaining battery power, etc., but is not limited to this.
[0108] The audio output device selects a terminal device with a high call priority to answer the call according to the call priority of each terminal device, which can improve the intelligence of the audio output device and meet the different needs of users.
[0109] Method three: If the audio output device receives the first answering instruction sent by the first terminal device, it determines to answer the call corresponding to the first incoming call request, wherein the first answering instruction is sent by the first terminal device to the audio output device when the answering operation is detected. The user can directly perform the answering operation on the first terminal device (such as clicking the answer button on the first terminal device, etc.), then the first terminal device answers the incoming call, the first terminal device switches from the incoming call state to the call state, and the first terminal device can directly send the first answering instruction to the audio output device. The first answering instruction can be used to indicate that the first terminal device switches from the incoming call state to the call state. When the audio output device receives the first answering instruction, it can send a second voice transmission link establishment request to the first terminal device to establish a first voice transmission link with the first terminal device.
[0110] In some embodiments, for the method in which the audio output device detects the reception of the listening operation and determines to answer the first terminal device (the above-mentioned method 1 and method 2), after the audio output device determines to answer the call corresponding to the first incoming call request, it can send an answering control instruction to the first terminal device, and the answering control instruction can be used to instruct the first terminal device to answer the incoming call. For example, the answering control instruction can be an AT instruction "ATA (ANSWER)" and the like. After the first terminal device answers the incoming call according to the answering control instruction, the first answering instruction can be returned to the audio output device, and the first answering instruction is used to indicate that the first terminal device switches from the incoming call state to the call state, and then the audio output device can establish a first voice transmission link with the first terminal device.
[0111] It should be noted that the method for determining to answer the call corresponding to the second incoming call request (ie, answering the call from the second terminal device) may be similar to the method for determining to answer the call corresponding to the first incoming call request, and will not be repeated here.
[0112] In the embodiments of the present application, the answering operation can be performed on the audio output device and / or the terminal device, and the method of answering incoming calls is more flexible and diversified, meeting the different needs of users in different scenarios.
[0113] like Figure 7 As shown, in another embodiment, a call control method is provided, which can be applied to the above-mentioned audio output device, and the method may include the following steps:
[0114] Step 710: Receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device.
[0115] Step 720 , determining whether the audio output device is in an occupied state, if so, executing step 730 , if not, executing step 750 .
[0116] Step 730: reject the first voice transmission link establishment request, and output first incoming call reminder information corresponding to the first incoming call request.
[0117] Step 740: When it is determined to answer the call corresponding to the first incoming call request, a first voice transmission link is established with the first terminal device to transmit voice data through the first voice transmission link.
[0118] Step 750, respond to the first voice transmission link establishment request, establish a first voice transmission link with the first terminal device, receive the second ringing audio data sent by the first terminal device through the first voice transmission link, and output the second ringing audio data.
[0119] Step 760: When it is determined to answer the call corresponding to the first incoming call request, voice data is transmitted with the first terminal device through the first voice transmission link.
[0120] It should be noted that the description of the embodiments of the present application can refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0121] In an embodiment of the present application, if the audio output device is in an occupied state, the first voice transmission link establishment request sent by the first terminal device during the incoming call stage will be rejected. The first terminal device will not preempt the audio output device during the incoming call stage, and will only establish the first voice transmission link with the first terminal device when it is determined to answer the call corresponding to the first incoming call request. This can avoid the first terminal device preempting the audio output device when the user has no intention of answering the call, and can reduce the impact on the normal use of the audio output device.
[0122] like Figure 8 As shown, in another embodiment, a call control method is provided, which can be applied to the above-mentioned audio output device, and the method may include the following steps:
[0123] Step 810: The first terminal device is in a call-in state, and the second terminal device is in a call-in state.
[0124] In some embodiments, the first terminal device receives the incoming call after the second terminal device receives the incoming call. The method may also include: when the second terminal device receives the incoming call, the audio output device outputs the second incoming call reminder information corresponding to the second terminal device stored locally; when the first terminal device receives the incoming call, the audio output device mixes and outputs the first incoming call reminder information and the second incoming call reminder information corresponding to the first terminal device stored locally, or, when the first terminal device receives the incoming call, the audio output device outputs the third incoming call reminder information stored locally, and the third incoming call reminder information is used to indicate that both the first terminal device and the second terminal device are in the incoming call state.
[0125] Step 820: If it is determined that the incoming call corresponding to the first terminal device is answered, the audio output device outputs the voice data transmitted by the first terminal device.
[0126] Step 830: If it is determined to answer the incoming call corresponding to the second terminal device, the audio output device outputs the voice data transmitted by the second terminal device.
[0127] In some embodiments, step 820 may include: if a first answering instruction sent by the first terminal device is received, determining to answer the incoming call corresponding to the first terminal device, and the audio output device outputs the voice data transmitted by the first terminal device; wherein the first answering instruction is generated after the first terminal device detects the answering operation.
[0128] Step 830 may include: if a second answering instruction sent by the second terminal device is received, determining to answer the incoming call corresponding to the second terminal device, and the audio output device outputs the voice data transmitted by the second terminal device; wherein the second answering instruction is generated after the second terminal device detects the answering operation.
[0129] In some embodiments, step 820 and step 830 may include: in response to a detected answering operation, determining a target terminal device corresponding to the answering operation according to a preset rule; if the target terminal device is a first terminal device, the audio output device outputs the voice data transmitted by the first terminal device; if the target terminal device is a second terminal device, the audio output device outputs the voice data transmitted by the second terminal device.
[0130] The preset rules include the operation mode of the answering operation and / or the call priorities corresponding to the first terminal device and the second terminal device respectively.
[0131] When the audio output device detects an answering operation, it can determine whether the answering operation corresponds to answering a call from the first terminal device or answering a call from the second terminal device according to a preset rule. For a specific description of the operation mode and call priority, please refer to the relevant description in the above embodiment, which will not be repeated here.
[0132] In some embodiments, before step 810, the method may also include: receiving a second incoming call request and a second voice transmission link establishment request sent by a second terminal device, and rejecting the second voice transmission link; receiving a first incoming call request and a first voice transmission link establishment request sent by a first terminal device, and rejecting the first voice transmission link establishment request.
[0133] Step 820 may include: if it is determined to answer the incoming call corresponding to the first incoming call request, establishing a first voice transmission link with the first terminal device to transmit voice data with the first terminal device through the first voice transmission link, and outputting the voice data transmitted by the first terminal device.
[0134] Step 830 may include: if it is determined to answer the incoming call corresponding to the second incoming call request, establishing a second voice transmission link with the second terminal device to transmit voice data with the second terminal device through the second voice transmission link, and outputting the voice data transmitted by the second terminal device.
[0135] Optionally, after receiving a second incoming call request sent by a second terminal device, the audio output device may output second incoming call reminder information corresponding to the second terminal device stored locally. After receiving a first incoming call request sent by a first terminal device, the audio output device may output a mixture of the first incoming call reminder information and the second incoming call reminder information corresponding to the first terminal device stored locally, or output third incoming call reminder information.
[0136] It should be noted that the description of the embodiments of the present application can refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0137] In an embodiment of the present application, when two terminal devices receive incoming calls in the same time period, after determining to answer the call from one of the terminal devices, the audio output device plays the call voice of the terminal device that answers the call. The terminal device that needs to answer the call can seize the audio output device faster and more directly, thereby improving the efficiency of users answering calls using audio output devices and meeting the actual needs of users in different scenarios.
[0138] like Fig. 9 As shown, in one embodiment, a call control device 900 is provided, which is applied to the above-mentioned audio output device, and the audio output device establishes a Bluetooth connection with at least two terminal devices. The call control device 900 may include a request receiving module 910, a request rejecting module 920 and a link establishing module 930.
[0139] The request receiving module 910 is used to receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device.
[0140] The request rejection module 920 is used to reject the first voice transmission link establishment request and output the first incoming call reminder information corresponding to the first incoming call request.
[0141] In one embodiment, the request rejection module 920 is further used to not respond to the request to establish the first voice transmission link; or, to send a rejection instruction to the first terminal device, where the rejection instruction is used to indicate that the audio output device refuses to establish the first voice transmission link with the first terminal device.
[0142] The link establishing module 930 is used to establish a first voice transmission link with the first terminal device when it is determined to answer the call corresponding to the first incoming call request, so as to transmit voice data through the first voice transmission link.
[0143] In one embodiment, the link establishment module 930 is also used to send a second voice transmission link establishment request to the first terminal device when determining to answer the call corresponding to the first incoming call request, so that the second terminal device establishes a first voice transmission link with the audio output device according to the second voice transmission link establishment request, and transmits voice data through the first voice transmission link.
[0144] In the embodiment of the present application, it is possible to prevent the first terminal device from preempting the audio output device when the user has no intention of answering the call, thereby reducing the impact on the normal use of the audio output device and better meeting the actual needs of the user.
[0145] In one embodiment, the request rejection module 920 is further configured to reject the first voice transmission link establishment request and output the first incoming call reminder information corresponding to the first incoming call request if the audio output device is currently in an occupied state. The occupied state is a state in which the audio output device and the second terminal device are transmitting audio data, and the second terminal device is any terminal device other than the first terminal device among the at least two terminal devices.
[0146] In one embodiment, the link establishment module 930 is also used to respond to the first voice transmission link establishment request and establish a first voice transmission link with the first terminal device if the audio output device is not currently in an occupied state; receive the second ringing audio data sent by the first terminal device through the first voice transmission link and output the second ringing audio data; and transmit voice data with the first terminal device through the first voice transmission link when determining to answer the call corresponding to the first incoming call request.
[0147] In one embodiment, the occupied state includes: a state link in which the audio output device and the second terminal device perform audio data transmission via a second voice transmission link. The link establishment module 930 is further configured to disconnect the second voice transmission link and establish a first voice transmission link with the first terminal device when determining to answer the call corresponding to the first incoming call request.
[0148] In one embodiment, the call control device 900 further includes an instruction sending module. The instruction sending module is used to send a control instruction to the second terminal device, where the control instruction is used to instruct the second terminal device to output the audio data generated by the second terminal device through a speaker.
[0149] In one embodiment, the request receiving module 910 is further configured to receive a second incoming call request and a third voice transmission link establishment request sent by a second terminal device.
[0150] The link establishment module 930 is also used to respond to the third voice transmission link establishment request and establish a second voice transmission link with the second terminal device if the audio output device is not in an occupied state; and to receive the first ringing audio data sent by the second terminal device through the second voice transmission link and output the first ringing audio data.
[0151] In one embodiment, the link establishing module 930 is further configured to perform voice data transmission with the first terminal device through the second voice transmission link when it is determined that the call corresponding to the second incoming call request is answered.
[0152] In one embodiment, the request receiving module 910 is further configured to receive a second incoming call request and a third voice transmission link establishment request sent by a second terminal device.
[0153] The request rejection module 920 is further configured to reject the third voice transmission link establishment request and output second incoming call reminder information corresponding to the second incoming call request.
[0154] The link establishing module 930 is further configured to establish a second voice transmission link with the second terminal device when it is determined that the call corresponding to the second incoming call request is answered, and to perform voice data transmission with the first terminal device through the second voice transmission link.
[0155] In one embodiment, the link establishment module 930 is also used to disconnect the first voice transmission link and re-establish the second voice transmission link with the second terminal device after establishing the first voice transmission link with the first terminal device if it is determined that the first terminal device has ended the call and the second terminal device is still in an incoming call state or a call state.
[0156] In an embodiment of the present application, the first terminal device will not preempt the audio output device during an incoming call, thereby avoiding the first terminal device from preempting the audio output device when the user has no intention of answering the call, reducing the impact on the second terminal device's use of the audio output device, and better meeting the user's actual needs.
[0157] In one embodiment, the request receiving module 910 is further used to receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device, and to receive a second incoming call request and a third voice transmission link establishment request sent by a second terminal device.
[0158] The request rejection module 920 is further used to reject the first voice transmission link establishment request and the third voice transmission link establishment request, and output the first incoming call reminder information corresponding to the first incoming call request and the second incoming call reminder information corresponding to the second incoming call request.
[0159] In one embodiment, the call control device 900 may further include a call answering confirmation module.
[0160] An answering determination module is used to determine to answer the call corresponding to the first incoming call request if a first answering operation of answering the first terminal device is detected at the audio output device end; or, if an answering operation is detected at the audio output device end and the call priority of the first terminal device is higher than the call priority of the second terminal device, determine to answer the call corresponding to the first incoming call request; or, if a first answering instruction sent by the first terminal device is received, determine to answer the call corresponding to the first incoming call request, wherein the first answering instruction is sent by the first terminal device to the audio output device when the answering operation is detected.
[0161] In the embodiments of the present application, the answering operation can be performed on the audio output device and / or the terminal device, and the method of answering incoming calls is more flexible and diversified, meeting the different needs of users in different scenarios.
[0162] like Fig.10 As shown, in one embodiment, another call control device 1000 is provided and applied to an audio output device. The call control device 1000 may include a request receiving module 1010 , an occupancy determination module 1020 , a rejection module 1030 and a response module 1040 .
[0163] The request receiving module 1010 is used to receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device.
[0164] The occupied judgment module 1020 is used to judge whether the audio output device is in an occupied state; wherein the occupied state is the state in which the audio output device transmits audio data with the second terminal device, and the second terminal device is any terminal device among the at least two terminal devices except the first terminal device.
[0165] The rejection module 1030 is used to reject the request to establish the first voice transmission link if the audio output device is in an occupied state, and output the first incoming call reminder information corresponding to the first incoming call request, and when it is determined to answer the call corresponding to the first incoming call request, establish the first voice transmission link with the first terminal device to transmit voice data through the first voice transmission link.
[0166] The response module 1040 is used to respond to the first voice transmission link establishment request if the audio output device is not in an occupied state, establish the first voice transmission link with the first terminal device, receive the second ringing audio data sent by the first terminal device through the first voice transmission link, and output the second ringing audio data, and when determining to answer the call corresponding to the first incoming call request, transmit voice data with the first terminal device through the first voice transmission link.
[0167] In an embodiment of the present application, if the audio output device is in an occupied state, the first voice transmission link establishment request sent by the first terminal device during the incoming call stage will be rejected. The first terminal device will not preempt the audio output device during the incoming call stage, which can avoid the first terminal device preempting the audio output device when the user has no intention of answering the call, and can reduce the impact on the normal use of the audio output device.
[0168] like Fig.11 As shown, in one embodiment, another call control device 1100 is provided, which is applied to an audio output device, and the audio output device at least establishes a Bluetooth connection with a first terminal device and a second terminal device respectively. The call control device 1100 may include an output module 1110 .
[0169] The output module 1110 is used to output the voice data transmitted by the first terminal device if it is determined to answer the incoming call corresponding to the first terminal device when the first terminal device is in an incoming call state and the second terminal device is in an incoming call state, and to output the voice data transmitted by the second terminal device if it is determined to answer the incoming call corresponding to the second terminal device.
[0170] In one embodiment, the first terminal device receives the incoming call after the second terminal device receives the incoming call. The output module 1110 is also used to output the second incoming call reminder information corresponding to the second terminal device stored locally when the second terminal device receives the incoming call; and to output the first incoming call reminder information and the second incoming call reminder information corresponding to the first terminal device stored locally when the first terminal device receives the incoming call, or, when the first terminal device receives the incoming call, output the third incoming call reminder information stored locally, and the third incoming call reminder information is used to indicate that both the first terminal device and the second terminal device are in the incoming call state.
[0171] In one embodiment, the call control device 1100 may include not only the output module 1110 but also a call answering determination module.
[0172] An answering determination module is used to determine to answer an incoming call corresponding to the first terminal device if a first answering instruction sent by a first terminal device is received, and an audio output device outputs voice data transmitted by the first terminal device; wherein the first answering instruction is generated after the first terminal device detects the answering operation; and if a second answering instruction sent by a second terminal device is received, determine to answer an incoming call corresponding to the second terminal device, and the audio output device outputs voice data transmitted by the second terminal device; wherein the second answering instruction is generated after the second terminal device detects the answering operation.
[0173] In one embodiment, the answer determination module is further configured to respond to the detected answer operation and determine the target terminal device corresponding to the answer operation according to a preset rule, wherein the preset rule includes the operation mode of the answer operation and / or the call priorities corresponding to the first terminal device and the second terminal device respectively.
[0174] The output module 1110 is further configured to output the voice data transmitted by the first terminal device if the target terminal device is the first terminal device, and to output the voice data transmitted by the second terminal device if the target terminal device is the second terminal device.
[0175] In one embodiment, the call control device 1100 may further include a request receiving module and a request rejecting module.
[0176] The request receiving module is used to receive a second incoming call request and a second voice transmission link establishment request sent by a second terminal device.
[0177] The request rejection module is used to reject the second voice transmission link establishment request.
[0178] The request receiving module is further used to receive a first incoming call request and a first voice transmission link establishment request sent by the first terminal device.
[0179] The request rejection module is also used to reject the first voice transmission link establishment request.
[0180] The output module 1110 is also used to establish a first voice transmission link with the first terminal device if it is determined to answer the incoming call corresponding to the first incoming call request, so as to transmit voice data with the first terminal device through the first voice transmission link, and output the voice data transmitted by the first terminal device; and to establish a second voice transmission link with the second terminal device if it is determined to answer the incoming call corresponding to the second incoming call request, so as to transmit voice data with the second terminal device through the second voice transmission link, and output the voice data transmitted by the second terminal device.
[0181] In an embodiment of the present application, when two terminal devices receive incoming calls in the same time period, after determining to answer the call from one of the terminal devices, the audio output device plays the call voice of the terminal device that answers the call. The terminal device that needs to answer the call can seize the audio output device faster and more directly, thereby improving the efficiency of users answering calls using audio output devices and meeting the actual needs of users in different scenarios.
[0182] Fig.12 FIG. 1 is a structural block diagram of an electronic device in an embodiment. Fig.12 As shown, the electronic device 1200 may include one or more of the following components: a processor 1210, and a memory 1220 coupled to the processor 1210, wherein the memory 1220 may store one or more computer programs, and the one or more computer programs may be configured to implement the Bluetooth-based control method applied to the first electronic device as described in the above embodiments when executed by one or more processors 1210.
[0183] The processor 1210 may include one or more processing cores. The processor 1210 uses various interfaces and lines to connect various parts of the entire electronic device 1200, and executes various functions and processes data of the electronic device 1200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1220, and calling data stored in the memory 1220. Optionally, the processor 1210 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1210 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1210, but may be implemented separately through a communication chip.
[0184] The memory 1220 may include a random access memory (RAM) or a read-only memory (ROM). The memory 1220 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1220 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 1200 during use, etc.
[0185] The electronic device 1200 may also include a Bluetooth module, which may be used to provide Bluetooth communication functions, establish Bluetooth connections with other electronic devices, and perform Bluetooth data transmission. The Bluetooth module may support one or more Bluetooth protocols, such as classic Bluetooth, BLE, etc., but is not limited thereto and may change with the development of Bluetooth protocols.
[0186] In some embodiments, the processor 1210 is used to receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device through a Bluetooth module, instruct the Bluetooth module to reject the first voice transmission link establishment request, and output a first incoming call reminder message corresponding to the first incoming call request through a speaker; when determining to answer the call corresponding to the first incoming call request, instruct the Bluetooth module to establish a first voice transmission link with the first terminal device, so that the Bluetooth module transmits voice data through the first voice transmission link.
[0187] It is understandable that the electronic device 1200 may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, physical buttons, sensors, etc., and this is not limited here.
[0188] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the Bluetooth-based control method applied to a first electronic device as described in the above embodiments is implemented.
[0189] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement a Bluetooth-based control method applied to a first electronic device as described in the above embodiments.
[0190] In one embodiment, an electronic device is also provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the Bluetooth-based control method applied to the second electronic device as described in the above embodiments.
[0191] The embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the Bluetooth-based control method applied to a second electronic device as described in the above embodiments.
[0192] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement a Bluetooth-based control method applied to a second electronic device as described in the above embodiments.
[0193] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.
[0194] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM may be in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).
[0195] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application. It should be noted that "multiple" in the present application includes "two or more".
[0196] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0197] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0198] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0199] The above is a detailed introduction to a call control method, device, electronic device and computer-readable storage medium disclosed in the embodiments of the present application. The principles and implementation methods of the present application are described in detail using specific examples herein. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A call control method, characterized in that: Applied to an audio output device, the audio output device establishes a Bluetooth connection with at least two terminal devices, and the method comprises: Receiving a first incoming call request and a first voice transmission link establishment request sent by a first terminal device, and receiving a second incoming call request and a third voice transmission link establishment request sent by a second terminal device; rejecting the first voice transmission link establishment request and the third voice transmission link establishment request, and outputting first incoming call reminder information corresponding to the first incoming call request and second incoming call reminder information corresponding to the second incoming call request; When it is determined to answer the call corresponding to the first incoming call request, a first voice transmission link is established with the first terminal device to transmit voice data through the first voice transmission link.
2. The method according to claim 1, characterized in that The establishing a first voice transmission link with the first terminal device includes: A second voice transmission link establishment request is sent to the first terminal device, so that the second terminal device establishes a first voice transmission link with the audio output device according to the second voice transmission link establishment request.
3. The method according to claim 1, characterized in that: The rejecting the first voice transmission link establishment request comprises: not responding to the first voice transmission link establishment request; or, A rejection instruction is sent to the first terminal device, where the rejection instruction is used to indicate that the audio output device refuses to establish a first voice transmission link with the first terminal device.
4. The method according to any one of claims 1 to 3, characterized in that: The rejecting the first voice transmission link establishment request and outputting first incoming call reminder information corresponding to the first incoming call request includes: If the audio output device is currently in an occupied state, the request to establish the first voice transmission link is rejected, and a first incoming call reminder message corresponding to the first incoming call request is output; wherein the occupied state is a state in which the audio output device and the second terminal device are transmitting audio data, and the second terminal device is any terminal device among the at least two terminal devices except the first terminal device.
5. The method according to claim 4, characterized in that The occupied state includes: a state in which the audio output device and the second terminal device perform audio data transmission via a second voice transmission link; The step of establishing a first voice transmission link with the first terminal device when determining to answer the call corresponding to the first incoming call request includes: When it is determined to answer the call corresponding to the first incoming call request, the second voice transmission link is disconnected, and a first voice transmission link is established with the first terminal device.
6. The method according to claim 5, characterized in that Before receiving the first incoming call request and the first voice transmission link establishment request sent by the first terminal device, the method further includes: Receiving a second incoming call request and a third voice transmission link establishment request sent by a second terminal device; If the audio output device is not in an occupied state, responding to the third voice transmission link establishment request, establishing a second voice transmission link with the second terminal device; The first ringing audio data sent by the second terminal device is received through the second voice transmission link, and the first ringing audio data is output.
7. The method according to claim 6, characterized in that After outputting the first ringing audio data, the method further includes: When it is determined to answer the call corresponding to the second incoming call request, voice data is transmitted with the first terminal device through the second voice transmission link.
8. The method according to claim 5, characterized in that Before receiving the first incoming call request and the first voice transmission link establishment request sent by the first terminal device, the method further includes: Receiving a second incoming call request and a third voice transmission link establishment request sent by a second terminal device; rejecting the third voice transmission link establishment request, and outputting second incoming call reminder information corresponding to the second incoming call request; When it is determined to answer the call corresponding to the second incoming call request, a second voice transmission link is established with the second terminal device, and voice data is transmitted with the first terminal device through the second voice transmission link.
9. The method according to any one of claims 5 to 8, characterized in that: The outputting the first incoming call reminder information corresponding to the first incoming call request includes: The audio data received through the second voice transmission link is mixed with the first incoming call reminder information and outputted.
10. The method according to any one of claims 5 to 8, characterized in that: After disconnecting the second voice transmission link and establishing the first voice transmission link with the second terminal device, the method further includes: A control instruction is sent to the second terminal device, where the control instruction is used to instruct the second terminal device to output the audio data generated by the second terminal device through a speaker.
11. The method according to claim 5, characterized in that After disconnecting the second voice transmission link and establishing the first voice transmission link with the second terminal device, the method further includes: If it is determined that the first terminal device ends the call and the second terminal device is still in an incoming call state or a call state, the first voice transmission link is disconnected and the second voice transmission link is re-established with the second terminal device.
12. The method according to any one of claims 5 to 11, characterized in that: The method of determining to answer the call corresponding to the first incoming call request and before establishing a first voice transmission link with the first terminal device includes: If a first answering operation of answering the first terminal device is detected at the audio output device end, it is determined to answer the call corresponding to the first incoming call request; or If an answering operation is detected at the audio output device end, and the call priority of the first terminal device is higher than the call priority of the second terminal device, it is determined to answer the call corresponding to the first incoming call request; or, If a first answering instruction sent by the first terminal device is received, it is determined to answer the call corresponding to the first incoming call request, wherein the first answering instruction is sent by the first terminal device to the audio output device when an answering operation is detected.
13. The method according to claim 1, characterized in that After receiving the first incoming call request and the first voice transmission link establishment request sent by the first terminal device, the method further includes: If the audio output device is not currently in an occupied state, responding to the first voice transmission link establishment request, establishing a first voice transmission link with the first terminal device; receiving second ringing audio data sent by the first terminal device through the first voice transmission link, and outputting the second ringing audio data; When it is determined to answer the call corresponding to the first incoming call request, voice data is transmitted with the first terminal device through the first voice transmission link.
14. The method according to any one of claims 1 to 3 and 13, characterized in that: The first terminal device is a terminal device that supports the Bluetooth in-band ringtone function. The Bluetooth in-band ringtone function refers to a function that triggers the establishment of a voice transmission link with an audio output device when an incoming call is received, so as to transmit ringing audio to the audio output device through the voice transmission link.
15. A call control method, characterized in that: Applied to an audio output device, the audio output device establishes a Bluetooth connection with at least a first terminal device and a second terminal device respectively, and the method includes: When the first terminal device is in an incoming call state and the second terminal device is in an incoming call state, 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 stored locally are mixed and output; the first voice transmission link establishment request corresponding to the first terminal device and the third voice transmission link establishment request corresponding to the second terminal device are both rejected by the audio output device; If it is determined to answer the incoming call corresponding to the first terminal device, the audio output device outputs the voice data transmitted by the first terminal device; if it is determined to answer the incoming call corresponding to the second terminal device, the audio output device outputs the voice data transmitted by the second terminal device.
16. The method according to claim 15, characterized in that The first terminal device receives the incoming call after the second terminal device receives the incoming call, and the locally stored first incoming call reminder information corresponding to the first terminal device and the second incoming call reminder information corresponding to the second terminal device are mixed and outputted, including: When the second terminal device receives an incoming call, the audio output device outputs the second incoming call reminder information corresponding to the second terminal device stored locally; When the first terminal device receives an incoming call, the audio output device outputs a mixture of the first incoming call reminder information and the second incoming call reminder information corresponding to the first terminal device stored locally, or, when the first terminal device receives an incoming call, the audio output device outputs the third incoming call reminder information stored locally, and the third incoming call reminder information is used to indicate that both the first terminal device and the second terminal device are in an incoming call state.
17. The method according to claim 15, characterized in that If it is determined that the incoming call corresponding to the first terminal device is answered, the audio output device outputs the voice data transmitted by the first terminal device; if it is determined that the incoming call corresponding to the second terminal device is answered, the audio output device outputs the voice data transmitted by the second terminal device, including: If a first answering instruction sent by the first terminal device is received, it is determined to answer the incoming call corresponding to the first terminal device, and the audio output device outputs the voice data transmitted by the first terminal device; wherein the first answering instruction is generated by the first terminal device after detecting the answering operation; If a second answering instruction sent by the second terminal device is received, it is determined to answer the incoming call corresponding to the second terminal device, and the audio output device outputs the voice data transmitted by the second terminal device; wherein the second answering instruction is generated after the second terminal device detects the answering operation.
18. The method according to claim 15, characterized in that If it is determined that the incoming call corresponding to the first terminal device is answered, the audio output device outputs the voice data transmitted by the first terminal device; if it is determined that the incoming call corresponding to the second terminal device is answered, the audio output device outputs the voice data transmitted by the second terminal device, including: In response to the detected answering operation, a target terminal device corresponding to the answering operation is determined according to a preset rule, and if the target terminal device is the first terminal device, the audio output device outputs the voice data transmitted by the first terminal device; if the target terminal device is the second terminal device, the audio output device outputs the voice data transmitted by the second terminal device; The preset rules include the operation mode of the answering operation and / or the call priorities corresponding to the first terminal device and the second terminal device respectively.
19. The method according to any one of claims 15 to 18, characterized in that: Before the audio output device outputs the voice data transmitted by the first terminal device if it is determined to answer the incoming call corresponding to the first terminal device, the method further includes: Receiving a second incoming call request and a second voice transmission link establishment request sent by the second terminal device; rejecting the second voice transmission link establishment request; Receiving a first incoming call request and a first voice transmission link establishment request sent by the first terminal device; The method of rejecting the first voice transmission link establishment request; if it is determined to answer the incoming call corresponding to the first terminal device, the audio output device outputs the voice data transmitted by the first terminal device, and if it is determined to answer the incoming call corresponding to the second terminal device, the audio output device outputs the voice data transmitted by the second terminal device, including: If it is determined to answer the incoming call corresponding to the first incoming call request, a first voice transmission link is established with the first terminal device to transmit voice data with the first terminal device through the first voice transmission link, and the voice data transmitted by the first terminal device is output; If it is determined to answer the incoming call corresponding to the second incoming call request, a second voice transmission link is established with the second terminal device to transmit voice data with the second terminal device through the second voice transmission link, and the voice data transmitted by the second terminal device is output.
20. A call control device, characterized in that: Applied to an audio output device, the audio output device establishes a Bluetooth connection with at least two terminal devices, and the device comprises: A request receiving module, used to receive a first incoming call request and a first voice transmission link establishment request sent by a first terminal device, and to receive a second incoming call request and a third voice transmission link establishment request sent by a second terminal device; A request rejection module, configured to reject the first voice transmission link establishment request and the third voice transmission link establishment request, and output first incoming call reminder information corresponding to the first incoming call request and second incoming call reminder information corresponding to the second incoming call request; The link establishment module is used to establish a first voice transmission link with the first terminal device when it is determined to answer the call corresponding to the first incoming call request, so as to transmit voice data through the first voice transmission link.
21. A call control device, characterized in that: Applied to an audio output device, the audio output device establishes a Bluetooth connection with at least a first terminal device and a second terminal device respectively, and the device comprises: An output module is used to output a mixed first incoming call reminder information corresponding to the first terminal device and a second incoming call reminder information corresponding to the second terminal device stored locally when the first terminal device is in an incoming call state and the second terminal device is in an incoming call state; a first voice transmission link establishment request corresponding to the first terminal device and a third voice transmission link establishment request corresponding to the second terminal device are both rejected by the audio output device; if it is determined to answer the incoming call corresponding to the first terminal device, the audio output device outputs the voice data transmitted by the first terminal device, and if it is determined to answer the incoming call corresponding to the second terminal device, the audio output device outputs the voice data transmitted by the second terminal device.
22. An electronic device, characterized in that: It includes a memory storing executable program code and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 19.
23. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 19 is implemented.
Citation Information
Patent Citations
Voice communication method and system, chip, electronic equipment and storage medium
CN111818503A
Call management method, chip and audio output device
CN112367648A