Incoming call processing method and apparatus, electronic device, and storage medium
When receiving call requests from multiple terminal devices, the audio output device plays call reminder audio and switches to voice data transmission after answering the target terminal device. This solves the problem of call reminder audio interfering with the user's listening experience and achieves a clear call environment.
Patent Information
- Application Number
- CN202111532141.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2041-12-14
AI Technical Summary
Existing audio output devices cannot effectively distinguish and process incoming call requests from multiple terminal devices, causing incoming call alert audio to interfere with users' ability to clearly hear the call audio.
After receiving call requests from multiple terminal devices, the audio output device plays the first call reminder audio to indicate the call status. If it decides to answer the call from the target terminal device, it stops playing the reminder audio and transmits voice data with the target terminal device, only playing the voice data of the target terminal device.
During incoming calls to the target terminal device, interference from caller ID audio is avoided, providing a clearer call environment and improving the user's call experience.
Smart Images

Figure CN116264679B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a call processing method and device, electronic equipment and storage medium. BACKGROUND
[0002] Bluetooth is a wireless radio technology that supports short-distance communication between devices, enabling wireless information exchange between multiple electronic devices supporting Bluetooth transmission, making data transmission between electronic devices more rapid and efficient. Currently, many audio output devices that can support Bluetooth connection with multiple terminal devices at the same time have appeared on the market. When a terminal device receives an incoming call, the audio output device will give a corresponding reminder. However, the way in which the audio output device reminds the terminal device of the incoming call needs to be further optimized. SUMMARY
[0003] The embodiments of the present application disclose a call processing method and device, electronic equipment and storage medium, which can provide a clearer call environment for users and improve the adverse effects of incoming call reminder audio on the process of answering an incoming call.
[0004] The embodiments of the present application disclose a call processing method applied to an audio output device, wherein the audio output device establishes a communication connection with multiple terminal devices; the method comprises the following steps:
[0005] receiving incoming call requests respectively sent by at least two terminal devices, and playing first incoming call reminder audio according to the incoming call requests, wherein the first incoming call reminder audio is used to prompt the at least two terminal devices to receive an incoming call;
[0006] if it is determined to answer an incoming call of a target terminal device, stopping playing the first incoming call reminder audio, and performing voice data transmission with the target terminal device, and playing voice data transmitted by the target terminal device.
[0007] The embodiments of the present application disclose a call processing method applied to a first terminal device, wherein the first terminal device establishes a communication connection with an audio output device, and the audio output device also establishes a communication connection with at least a second terminal device; the method comprises the following steps:
[0008] if an incoming call is received, sending an incoming call request to the audio output device, so that the audio output device plays first incoming call reminder audio according to incoming call requests respectively sent by the first terminal device and the second terminal device, wherein the first incoming call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call;
[0009] If the mute instruction sent by the audio output device is received, a mute mode is entered according to the mute instruction, the mute mode is a mode of not playing a call prompt sound through a loudspeaker; the mute instruction is sent by the audio output device in a case of determining to answer a call of the second terminal device.
[0010] Embodiments of the present application disclose a call processing apparatus applied to an audio output device, the audio output device establishing a communication connection with a plurality of terminal devices; the apparatus comprises:
[0011] A request receiving module is configured to receive call requests sent by at least two terminal devices respectively;
[0012] A playing module is configured to play a first call reminding audio according to the call requests, the first call reminding audio being used to prompt that the at least two terminal devices receive a call;
[0013] The playing module is further configured to stop playing the first call reminding audio data when it is determined to answer a call of a target terminal device;
[0014] A data transmission module is configured to perform voice data transmission with the target terminal device;
[0015] The playing module is further configured to play voice data transmitted by the target terminal device.
[0016] Embodiments of the present application disclose a call processing apparatus applied to a first terminal device, the first terminal device establishing a communication connection with an audio output device, the audio output device further establishing a communication connection with at least a second terminal device; the apparatus comprises:
[0017] A request sending module is configured to send a call request to the audio output device if a call is received, so that the audio output device plays a first call reminding audio according to the call request in a case of receiving call requests sent by the first terminal device and the second terminal device respectively, the first call reminding audio being used to prompt that the first terminal device and the second terminal device receive a call;
[0018] A mute module is configured to enter a mute mode according to a mute instruction if the mute instruction sent by the audio output device is received, the mute mode being a mode of not playing a call prompt sound through a loudspeaker; the mute instruction is sent by the audio output device in a case of determining to answer a call of the second terminal device.
[0019] The embodiment of the present application discloses an electronic device, comprising a memory storing executable program codes, and a processor coupled with the memory; wherein the processor invokes the executable program codes stored in the memory to execute the method as any of the above.
[0020] The embodiment of the present application discloses a computer readable storage medium storing a computer program, which is executed by a processor to implement the method as any of the above.
[0021] The incoming call processing method and device, electronic device and storage medium disclosed by the embodiment of the present application, in the case that the audio output device receives incoming call requests respectively sent by at least two terminal devices, the audio output device plays a first incoming call prompt audio according to the incoming call request, the first incoming call prompt audio is used to prompt that the at least two terminal devices receive incoming call calls, if it is determined to answer the incoming call call corresponding to the target terminal device, the audio output device stops playing the first incoming call prompt audio, and performs voice data transmission with the target terminal device, and plays the voice data transmitted by the target terminal device. In the process that the user answers the incoming call call corresponding to the target terminal device, the audio output device does not play any incoming call prompt audio, but only plays the voice data transmitted by the target terminal device, which can avoid the situation that the user cannot clearly listen to the call voice due to the incoming call prompt audio, can provide a more clear call environment for the user, and improves the adverse effects caused by the incoming call prompt audio on the user in the process of answering the incoming call call. BRIEF DESCRIPTION OF DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0023] Figure 1 The application scenario diagram of the incoming call processing method in an embodiment;
[0024] Figure 2 The flowchart of the incoming call processing method in an embodiment;
[0025] Figure 3 The timing diagram of the incoming call processing method in an embodiment;
[0026] Figure 4A The timing diagram of the audio output device playing the first incoming call prompt audio in an embodiment;
[0027] Figure 4B The timing diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call call in an embodiment;
[0028] Figure 4C A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0029] Figure 4D A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0030] Figure 4E A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0031] Figure 5A A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0032] Figure 5B A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0033] Figure 5C A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0034] Figure 5D A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0035] Figure 6 A timing diagram for the audio output device playing the first incoming call notification audio and answering the incoming call in another embodiment;
[0036] Figure 7 This is a timing diagram illustrating the process of receiving a call request from a third terminal device during a call to the target terminal device in one embodiment.
[0037] Figure 8 A flowchart of an incoming call processing method in another embodiment;
[0038] Figure 9 This is a block diagram of a call processing device in one embodiment;
[0039] Figure 10 This is a block diagram of the call processing device in another embodiment;
[0040] Figure 11 This is a structural block diagram of an electronic device in one embodiment. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0042] It should be noted that the terms "comprising" and "having," and any variations thereof, in the embodiments and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, 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.
[0043] It is understood that the terms "first," "second," etc., used in this application may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. 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. Furthermore, it should be noted that the terms "multiple," etc., used in the embodiments of this application refer to two or more. It should also be noted that the term "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0044] Figure 1 This is an application scenario diagram of an incoming call processing method in one embodiment. For example... Figure 1 As shown, the audio output device 10 can be connected to multiple terminal devices (such as...) Figure 1The first terminal device 20 and the second terminal device 30 establish a Bluetooth connection. The audio output device 10 can be various electronic devices with Bluetooth communication and audio playback functions, such as Bluetooth headsets, Bluetooth speakers, or smartwatches. Further, the audio output device 10 can be a TWS (True Wireless Stereo) headset. The first terminal device 20 and the second terminal device 30 can include, but are not limited to, mobile phones, smart wearable devices, in-vehicle terminals, tablets, PCs (Personal Computers), and PDAs (Personal Digital Assistants). Further, the first terminal device 20 and the second terminal device 30 can be devices capable of accessing wireless networks and conducting communication services. The first terminal device 20 and the second terminal device 30 can be equipped with a SIM (Subscriber Identification Module) card, and can access fourth-generation (4G), fifth-generation (5G), or other wireless networks through this SIM card to receive and make calls.
[0045] The Bluetooth connection described above can be implemented based on the classic Bluetooth protocol (e.g., Bluetooth 4.0 or similar versions defined by the Bluetooth Special Interest Group), the Bluetooth Low Energy (BLE) protocol (e.g., Bluetooth 5.0 or similar versions), or related Bluetooth protocols such as LE Audio. There is no limitation here, and it can change as the Bluetooth protocol evolves. For example, a Bluetooth connection may include a communication link established based on the classic Bluetooth protocol; a Bluetooth connection may include a communication link established based on the BLE Bluetooth protocol; a Bluetooth connection may include a communication link established based on the LE Audio Bluetooth protocol.
[0046] In related technologies, if an audio output device 10 receives call requests from at least two terminal devices simultaneously—for example, if it receives a call request from a first terminal device 20 and, before confirming its acceptance of the call from the first terminal device 20, receives a call request from a second terminal device 30—and both the first terminal device 20 and the second terminal device 30 are simultaneously engaged in incoming calls, the audio output device 10 will play a call reminder audio to inform the user that both the first terminal device 20 and the second terminal device 30 have received incoming calls. After the user confirms their acceptance of the call from either terminal device (such as the first terminal device 20), the audio output device 10 will continue to play the call reminder audio to remind the user that other terminal devices (such as the second terminal device 30) are also engaged in incoming calls. The user, affected by the call reminder audio, may not be able to clearly hear the call, negatively impacting their ability to answer incoming calls.
[0047] In this embodiment, when the audio output device 10 receives call requests from at least two terminal devices (such as the first terminal device 20 and the second terminal device 30 mentioned above), the audio output device 10 plays a first call reminder audio according to the call request. This first call reminder audio is used to notify at least two terminal devices that an incoming call has been received. If one of the terminal devices is identified as the target terminal device and the user answers the call corresponding to that target terminal device, the audio output device 10 stops playing the first call reminder audio, transmits voice data with the target terminal device, and plays the voice data. During the user's answering of the call corresponding to the target terminal device, the audio output device 10 does not play any call reminder audio, but only plays the voice data transmitted by the target terminal device (here, "only" is relative, not absolute). This avoids situations where the user cannot clearly hear the call voice due to the call reminder audio, providing a clearer call environment and improving the adverse effects of the call reminder audio on the user during the answering of the call.
[0048] It should be noted that, Figure 1 The example only shows the scenario where the audio output device 10 supports Bluetooth "one-to-two", that is, only the scenario where the audio output device 10 establishes a Bluetooth connection with two terminal devices. However, the audio output device 10 can also establish a Bluetooth connection with more terminal devices, such as the audio output device 10 supporting Bluetooth "one-to-three" or "one-to-four", etc. This application embodiment does not limit this.
[0049] like Figure 2 As shown, in one embodiment, a call control method is provided, which can be applied to the aforementioned audio output device. The method may include the following steps:
[0050] Step 210: Receive incoming call requests from at least two terminal devices respectively, and play a first incoming call reminder audio according to the incoming call request. The first incoming call reminder audio is used to notify at least two terminal devices that an incoming call has been received.
[0051] The audio output device supports Bluetooth "one-to-many" functionality, enabling it to establish Bluetooth connections with multiple terminal devices simultaneously. In other words, 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 is not limited to this.
[0052] The audio output device can establish communication connections with multiple terminal devices, including but not limited to Bluetooth connections. For example, a Bluetooth connection includes an asynchronous connection-oriented link (ACL) connection. The terminal devices can access wireless networks such as 4G and 5G and implement call functionality, including but not limited to answering incoming calls and making outgoing calls. When any terminal device is making a call, the audio output device can transmit voice data with that terminal device via Bluetooth to enable call functionality on the audio output device. Optionally, the audio output device can implement call functionality based on Bluetooth call protocols, including but not limited to the HFP (Hands-free Profile) protocol, where HFP is a Bluetooth protocol used for call control between Bluetooth devices.
[0053] When any terminal device receives an incoming call, it can send a call request to the audio output device. This call request can be used to notify the audio output device that an incoming call has been received. For example, the call request may include the AT command "+CIEV:(callsetup=1)", which indicates the call setup process, i.e., notifying the audio output device that there is an incoming call.
[0054] The audio output device receiving call requests from at least two terminal devices can mean that while the audio output device receives a call request from one terminal device but has not yet decided to answer the call from that terminal device, it also receives a call request from another terminal device. In other words, at least two terminal devices are receiving calls, but neither of them is answering either call.
[0055] An audio output device can play a first call alert audio based on call requests sent by at least two terminal devices. This first call alert audio refers to audio data used to notify the user that the at least two terminal devices have received an incoming call. In some embodiments, the first call alert audio may differ from the audio data used to notify the user that a single terminal device has received an incoming call. For example, the first call alert audio may be a mixture of locally stored alert audio data and ringtone audio data sent by either terminal device. When only a single terminal device receives an incoming call, the audio output device may output only the ringtone audio data sent by that terminal device or the locally stored alert audio data. In some embodiments, the first call alert audio may also be the same as the audio data used to notify the user that a single terminal device has received an incoming call; for example, both may be locally stored alert audio data.
[0056] As one implementation, the first incoming call alert audio can be determined based on the ringtone modes supported by each terminal device that sent the call request. These ringtone modes can include either in-band or out-of-band ringtone modes. In-band ringtone mode refers to the mode where the terminal device transmits ringtone audio data to the audio output device via the voice transmission link when it receives an incoming call. Out-of-band ringtone mode refers to the mode where the terminal device does not transmit ringtone audio data to the audio output device via the voice transmission link when it receives an incoming call. The voice transmission link can include a Synchronous Connection Oriented (SCO) link or other physical links that meet high timeliness requirements. The specific method for determining the first incoming call alert audio will be described in subsequent embodiments.
[0057] Step 220: If it is determined that the incoming call corresponding to the target terminal device is to be answered, the first incoming call reminder audio is stopped, and voice data is transmitted with the target terminal device, and the voice data transmitted by the target terminal device is played.
[0058] In some embodiments, based on an incoming call request sent by any terminal device, a user can select to answer the incoming call corresponding to the target terminal device on the audio output device. The audio output device can determine the target terminal device to answer the incoming call based on the detected answer operation, and send an answer instruction to the target terminal device so that the target terminal device switches from the incoming call state to the call state (referring to the state in which a call is in progress).
[0059] For example, the terminal devices receiving incoming calls include a first terminal device and a second terminal device. The audio output device can be a headset. If a user wants to answer an incoming call received by the first terminal device, they can do so using the first headset (e.g., the left headset). If a user wants to answer an incoming call received by the second terminal device, they can do so using the second headset (e.g., the right headset). That is, if the first headset detects an answer operation, it determines that the incoming call from the first terminal device will be answered; if the second headset detects an answer operation, it determines that the incoming call from the second terminal device will be answered.
[0060] For example, the terminal devices receiving an incoming call include a first terminal device and a second terminal device. If a user wants to answer the call received by the first terminal device, they can perform a first answer operation. If a user wants to answer the call received by the second terminal device, they can perform a second answer operation. The operation methods of the first answer operation and the second answer operation can be different. For example, the first answer operation is a single click operation, and the second answer operation is a double click operation, etc., but not limited to these.
[0061] It should be noted that the user's answering operation on the audio output device can be any interactive operation, and this application embodiment does not limit this.
[0062] In some embodiments, users can also choose to answer incoming calls on their terminal devices. If the target terminal device detects an answer operation (such as a user clicking the answer button on the incoming call screen of the terminal device), it can switch from the incoming call state to the call state and send an answer instruction to the audio output device. This answer instruction indicates that the target terminal device is answering the incoming call.
[0063] If it is determined that an incoming call corresponding to the target terminal device is being answered, the audio output device can stop playing the first call reminder audio and will not play any other call reminder audio. The audio output device can establish a voice transmission link with the target terminal device and transmit voice data with the target terminal device through this voice transmission link. The audio output device can play the voice data sent by the target terminal device. In this embodiment, when an incoming call corresponding to the target terminal device is being answered, even if other terminal devices (referring to at least two terminal devices receiving the call other than the target terminal device) are still in the incoming call state, the audio output device will not play call reminder audio, thereby providing the user with a clearer call environment.
[0064] Optionally, when it is determined that an incoming call is being answered from the target terminal device, the audio output device transmits voice data with the target terminal device. Since other terminal devices are still receiving calls, they may choose to play a call notification tone through the speaker, such as playing a ringtone. However, the call notification tone played by other terminal devices through the speaker may also negatively impact the user's call, for example, by making it difficult for the user to hear the voice data played by the audio output device because the volume of the call notification tone is too loud. The speaker can be understood as the built-in speaker of the terminal device, such as the external speaker of a mobile phone.
[0065] Based on this, in some embodiments, if it is determined that an incoming call is being answered for the target terminal device, the audio output device can send a mute command to each of the other terminal devices. This mute command instructs the other terminal devices to enter a mute mode. The other terminal devices are those other than the target terminal device out of at least two terminal devices. This mute mode is one in which the incoming call notification tone is not played through the speakerphone. After receiving the mute command from the audio output device, the other terminal devices can enter a mute mode accordingly. Even if the other terminal devices are still receiving calls, the incoming call notification tone will not be played through the speakerphone, thus avoiding any adverse impact on the user's call process.
[0066] Furthermore, after receiving a mute command from the audio output device, other terminal devices can first determine whether they are currently in ringing mode (i.e., the mode that plays the incoming call notification tone through the speaker). If they are in ringing mode, they can switch the ringing mode to mute mode; if other terminal devices are in mute mode after receiving a mute command from the audio output device, they do not need to make any adjustments.
[0067] Alternatively, other terminal devices may output incoming call reminder information in other ways, such as by vibration, or by displaying text, images, or other means on a screen, but are not limited to these.
[0068] For example, Figure 3 This is a timing diagram of an incoming call processing method in one embodiment. For example... Figure 3As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B. When terminal device A receives an incoming call, it can send a call request to the audio output device. Similarly, when terminal device B receives an incoming call, it can send a call request to the audio output device. The audio output device plays a first call alert audio based on the call requests sent by terminal devices A and B. If terminal device B decides to answer the call, it can send an answer command to the audio output device. Upon receiving this answer command, the audio output device can send a mute command to terminal device A, putting terminal device A into mute mode. The audio output device can establish an SCO link with terminal device B (optionally, this SCO link can be established before deciding to answer terminal device B's call, such as when the audio output device receives the call request from terminal device B), and transmit voice data through this SCO link. It can stop playing the first call alert audio and play the voice message transmitted by terminal device B. It should be noted that the mute command can be sent after the SCO link with terminal device B is established, or simultaneously. This application does not restrict the order in which the audio output device sends the mute command, establishes the SCO link with terminal device B, and stops playing the first incoming call reminder audio.
[0069] In this embodiment, during a user's call to the target terminal device, the audio output device does not play any call alert audio, but only plays the voice data transmitted by the target terminal device. This avoids situations where the user cannot clearly hear the call due to call alert audio, providing a clearer call environment and mitigating the negative impact of call alert audio on the user's call. Furthermore, the audio output device can send a mute command to other terminal devices, preventing them from playing call alert tones through their speakers, thus avoiding any negative impact on the user's call process from externally played call alert tones.
[0070] In some embodiments, the first incoming call alert audio can be determined based on the ringtone modes supported by each terminal device that sent the call request. At least two terminal devices that send the call request to the audio output device may include a first terminal device and a second terminal device. The target terminal device for answering the call is determined to be either the first terminal device or the second terminal device. The following will describe how the audio output device plays the first incoming call alert audio, taking into account various scenarios of the ringtone modes supported by the first and second terminal devices respectively.
[0071] In one implementation, both the first terminal device and the second terminal device may support in-band ringtone mode. The step of playing a first call reminder audio according to the call request may include: playing a mixed audio data of ringtone audio data transmitted by the first terminal device or the second terminal device and locally stored prompt audio data according to the call request sent by the first terminal device and the second terminal device respectively.
[0072] An audio output device receives incoming call requests from at least two terminal devices. If multiple terminal devices among these at least two terminal devices support in-band ringtone modes, the first incoming call alert audio played by the audio output device can be a mixture of ringtone audio data transmitted by one of the multiple terminal devices supporting in-band ringtone modes and locally stored prompt audio data. Since multiple terminal devices support in-band ringtone modes, but the audio output device can only establish a voice transmission link with one terminal device (i.e., it can only receive ringtone audio data transmitted by one terminal device supporting in-band ringtone modes through the voice transmission link), in some embodiments, a selection rule can be pre-set to choose the terminal device from the multiple terminal devices supporting in-band ringtone modes to transmit ringtone audio data, and the terminal device transmitting the ringtone audio data can be determined from the multiple terminal devices supporting in-band ringtone modes according to this selection rule.
[0073] Optionally, the selection rules mentioned above may include, but are not limited to, any of the following:
[0074] (1) From multiple terminal devices that support in-band ringtone mode, select the terminal device that first sends a call request to the audio output device and transmits the ringtone audio data. The first call reminder audio may be a mixture of the ringtone audio data transmitted by the terminal device that first sends a call request to the audio output device among the at least two terminal devices, and the locally stored prompt audio data.
[0075] (2) From multiple terminal devices that support in-band ringtone mode, select the terminal device that sends the call request to the audio output device last to transmit the ringtone audio data. The first call reminder audio can be the ringtone audio data transmitted by the terminal device that sends the call request to the audio output device last among the at least two terminal devices, and the mixed audio data of the prompt audio data stored locally.
[0076] (3) From multiple terminal devices supporting in-band ringtone modes, select the terminal device with the highest call priority to transmit ringtone audio data. The first incoming call alert audio can be a mixture of the ringtone audio data transmitted by the terminal device with the highest call priority among the at least two terminal devices and the locally stored alert audio data. The call priority of each terminal device can be preset by the user or determined according to the call parameters corresponding to the incoming call of each terminal device. These call parameters may include, but are not limited to, the incoming call number and the duration of the incoming call status. For example, the terminal device can identify the type of the incoming call number (including numbers stored in the address book, unknown numbers, numbers marked as fraud or marketing, etc.) and determine the call priority according to the type of the incoming call number. The call priority corresponding to the number stored in the address book may be higher than the call priority corresponding to the unknown number, and the call priority corresponding to the unknown number may be higher than the call priority corresponding to the number marked as fraud or marketing, etc. For example, the longer the duration of the incoming call status, the higher the corresponding call priority, etc., but not limited to this.
[0077] It should be noted that, because the audio output device determines the call priority of each terminal device, when each terminal device sends a call request to the audio output device, it can also send the call priority or call parameters to the audio output device, and then the audio output device determines the terminal device with the highest call priority.
[0078] In one specific implementation, at least two terminal devices sending a call request to the audio output device may include a first terminal device and a second terminal device, both of which support in-band ringtone mode. After receiving the call request from the first terminal device, the audio output device can establish a first voice transmission link with the first terminal device and receive and play the ringtone audio data sent by the first terminal device through the first voice transmission link.
[0079] After receiving an incoming call request from the second terminal device, the audio output device can determine whether the second terminal device can successfully preempt the audio output device. If the second terminal device cannot successfully preempt the audio output device, the audio output device continues to maintain the first voice transmission link with the first terminal device and plays a first mixed audio data consisting of the ringtone audio data sent by the first terminal device and the locally stored prompt audio data. The locally stored prompt audio data is used to indicate that the second terminal device is receiving an incoming call. If the second terminal device successfully preempts the audio output device, the audio output device can disconnect the first voice transmission link and establish a second voice transmission link with the second terminal device. The audio output device can receive the ringtone audio data sent by the second terminal device through the second voice transmission link and play a second mixed audio data consisting of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data. By playing the mixed audio data consisting of the ringtone audio data transmitted by the first or second terminal device and the locally stored prompt audio data, the audio output device can accurately remind the user that the first and second terminal devices received an incoming call within the same time period, making it convenient for the user to accurately know the status of the incoming call.
[0080] In some embodiments, the selection rules described above can be used to determine whether the second terminal device can successfully preempt the audio output device. For example, the selection rule could be to select the terminal device that first sends a call request to the audio output device to transmit the ringtone audio data. In this case, if the call request sent by the second terminal device is later than that of the first terminal device, the second terminal device cannot successfully preempt the audio output device. Alternatively, the selection rule could be to select the terminal device that last sends a call request to the audio output device to transmit the ringtone audio data. In this case, if the call request sent by the second terminal device is later than that of the first terminal device, the second terminal device successfully preempts the audio output device. Another example is that the selection rule could be to select the terminal device with the highest call priority to transmit the ringtone audio data. In this case, if the call priority of the second terminal device is higher than that of the first terminal device, the second terminal device successfully preempts the audio output device; if the call priority of the second terminal device is lower than that of the first terminal device, the second terminal device cannot successfully preempt the audio output device.
[0081] It should be noted that the locally stored incoming call alert tone played by the audio output device may be the same or different under different circumstances. For example, the first mixed audio data may be a mixture of the ringtone audio data sent by the first terminal device and the locally stored alert audio data corresponding to the second terminal device. The audio output device can determine the alert audio data corresponding to the second terminal device from multiple locally stored alert audio data based on the device information of the second terminal device. As another example, the second mixed audio data may be a mixture of the ringtone audio data sent by the second terminal device and the locally stored alert audio data corresponding to the first terminal device. The audio output device can determine the alert audio data corresponding to the first terminal device from multiple locally stored alert audio data based on the device information of the first terminal device. The device information may include, but is not limited to, one or more of the following: device name, Bluetooth address corresponding to the terminal device, MAC (Media Access Control) address, etc.
[0082] For example, Figure 4A This is a timing diagram showing the playback of the first incoming call notification audio by an audio output device in one embodiment. Figure 4A As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B, both of which can support in-band ringtone mode. When terminal device A receives an incoming call, it can send a call request to the audio output device. Since terminal device A supports in-band ringtone mode, it will also send an SCO establishment request to the audio output device. The audio output device can establish an SCO link with terminal device A based on this SCO establishment request, and can receive and play the incoming call ringtone sent by terminal device A through the SCO link.
[0083] While terminal device A is receiving a call, if terminal device B also receives a call, terminal device B can send a call request to the audio output device. Since terminal device B supports in-band ringtone mode, it will also send an SCO establishment request to the audio output device. The audio output device can determine whether terminal device B has successfully preempted the call. If terminal device B fails to preempt the audio output device, the audio output device can reject the SCO establishment request sent by terminal device B and maintain the SCO link with terminal device A. The audio output device can then play a mix of terminal device A's ringtone and locally stored call alert tones. If terminal device B successfully preempts the audio output device, the audio output device can disconnect the SCO link with terminal device A and establish an SCO link with terminal device B. The audio output device can then receive the ringtone sent by terminal device B through the SCO link and play a mix of terminal device B's ringtone and locally stored call alert tones.
[0084] In some embodiments, if it is determined that an incoming call corresponding to the second terminal device is being answered, and the first call notification audio is a first mixed audio data consisting of ringtone audio data sent by the first terminal device and locally stored prompt audio data, then the audio output device may disconnect the first voice transmission link with the first terminal device to stop receiving the ringtone audio data sent by the first terminal device, stop playing the locally stored prompt audio data, and transmit voice data with the second terminal device. The audio output device may also establish a second voice transmission link with the second terminal device and transmit call voice data through this second voice transmission link. The audio output device may also play the voice data sent by the second terminal device.
[0085] For example, Figure 4B This is a timing diagram illustrating the playback of a first incoming call notification audio and the answering of an incoming call by an audio output device in one embodiment. Figure 4B As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B, both of which can support in-band ringtone mode. When both terminal device A and terminal device B receive incoming calls (with device A receiving the call first, followed by device B), and device B fails to preempt the audio output device, the audio output device maintains its SCO link with terminal device A, playing a mix of terminal device A's ringtone and locally stored call notification tones. If device B decides to answer a call from terminal device B, it can send an answer command to the audio output device. The audio output device can then disconnect its SCO link with terminal device A, stop receiving terminal device A's ringtone, and establish an SCO link with terminal device B. Furthermore, the audio output device can stop playing locally stored call notification tones and play the voice message received from terminal device B via the SCO link. It should be noted that the audio output device first stops playing the locally stored caller ID tone, then disconnects the SCO link with terminal device A, and then establishes an SCO link with terminal device B. Alternatively, stopping the playback of the locally stored caller ID tone, disconnecting the SCO link with terminal device A, and establishing an SCO link with terminal device B can be performed in parallel. This application embodiment does not limit the sequential relationship between the three steps, as long as the final audio output device plays the call voice received by terminal device B through the SCO link with terminal device B.
[0086] In some embodiments, if it is determined that an incoming call corresponding to the first terminal device is being answered, and the first call notification audio is a first mixed audio data of ringtone audio data sent by the first terminal device and locally stored prompt audio data, then the audio output device can maintain the first voice transmission link with the first terminal device and perform voice data transmission with the first terminal device through the first voice transmission link. The audio output device can stop playing the locally stored prompt audio data and play the voice data sent by the first terminal device.
[0087] For example, Figure 4C A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 4C As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B, both of which can support in-band ringtone mode. When both terminal device A and terminal device B receive incoming calls (with device A receiving the call first, followed by device B), if terminal device B fails to preempt the audio output device, the audio output device maintains its SCO link with terminal device A and plays a mixture of terminal device A's ringtone and locally stored call notification tones. If terminal device A decides to answer the call, it can send an answer command to the audio output device. The audio output device maintains its SCO link with terminal device A, stops playing the locally stored call notification tones, and can play the call audio received from terminal device A via the SCO link.
[0088] In some embodiments, if it is determined that an incoming call corresponding to the first terminal device is being answered, and the first call notification audio is a second mixed audio data consisting of ringtone audio data transmitted by the second terminal device and locally stored prompt audio data, then the audio output device may disconnect the second voice transmission link with the second terminal device to stop receiving ringtone audio data sent by the second terminal device, stop playing locally stored prompt audio data, and transmit voice data with the first terminal device. Alternatively, the audio output device may establish a first voice transmission link with the first terminal device and transmit voice data through this link, and the audio output device may play the voice data sent by the first terminal device.
[0089] For example, Figure 4D A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 4DAs shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B, both of which can support in-band ringtone mode. When both terminal device A and terminal device B receive incoming calls (with device A receiving the call first, followed by device B), terminal device B successfully preempts the audio output device. The audio output device disconnects its SCO link with terminal device A and establishes an SCO link with terminal device B. The audio output device then plays a mix of terminal device B's ringtone and a locally stored caller ID tone. If terminal device A decides to answer a call from terminal device A, terminal device A can send an answer command to the audio output device. The audio output device can then disconnect its SCO link with terminal device B, stop receiving terminal device B's ringtone, and establish an SCO link with terminal device A. The audio output device can then stop playing the locally stored caller ID tone and play the voice message received from terminal device A via the SCO link.
[0090] In some embodiments, if it is determined that an incoming call corresponding to the second terminal device is being answered, and the first call notification audio is the aforementioned second mixed audio data, the audio output device can maintain the second voice transmission link with the second terminal device and transmit voice data with the second terminal device through the second voice transmission link. The audio output device can stop playing the locally stored notification audio data and play the voice data sent by the second terminal device.
[0091] For example, Figure 4E A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 4E As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B, both of which can support in-band ringtone mode. When both terminal device A and terminal device B receive incoming calls (with device A receiving the call first, followed by device B), terminal device B successfully preempts the audio output device. The audio output device disconnects the SCO link with terminal device A and establishes an SCO link with terminal device B. The audio output device then plays a mixture of terminal device B's ringtone and a locally stored caller ID tone. If terminal device B decides to answer the call, it can send an answer command to the audio output device. The audio output device maintains the SCO link with terminal device B, stops playing the locally stored caller ID tone, and plays the voice message from terminal device A received through the SCO link with terminal device B.
[0092] In this embodiment, when both the first terminal device and the second terminal device support in-band ringtone mode, the audio output device can play mixed audio data of the ringtone audio data transmitted by the first terminal device or the second terminal device and the locally stored prompt audio data. This accurately reminds the user that both the first terminal device and the second terminal device have received an incoming call. Furthermore, while the user is answering the incoming call from the first terminal device or the second terminal device, the audio output device no longer plays the call reminder audio. This provides the user with a clearer call environment, mitigates the negative impact of the call reminder audio on the user's experience during incoming calls, and improves the user's call experience.
[0093] In some embodiments, the first terminal device supports an in-band ringtone mode, and the second terminal device supports an out-of-band ringtone mode. The step of playing a first call notification audio based on a call request includes: playing a first mixed audio data of ringtone audio data transmitted by the first terminal device and locally stored notification audio data, based on call requests sent by the first terminal device and the second terminal device respectively.
[0094] When an audio output device receives a call request from at least two terminal devices, if only one of the at least two terminal devices supports in-band ringtone mode, the first call reminder audio can be a mixture of ringtone audio data transmitted by the terminal device supporting in-band ringtone mode and prompt audio data stored locally.
[0095] In one specific implementation, at least two terminal devices sending a call request to the audio output device may include a first terminal device and a second terminal device. The first terminal device supports in-band ringtone mode, and the second terminal device supports out-of-band ringtone mode. After receiving the call request from the first terminal device, the audio output device can establish a first voice transmission link with the first terminal device and receive the ringtone audio data sent by the first terminal device through the first voice transmission link. The audio output device can play the ringtone audio data sent by the first terminal device. After receiving the call request from the second terminal device, the audio output device can play a first mixed audio data of the ringtone audio data transmitted by the first terminal device and the locally stored prompt audio data.
[0096] In some embodiments, if it is determined that an incoming call corresponding to the second terminal device is being answered, the audio output device may disconnect the first voice transmission link with the first terminal device to stop receiving ringtone audio data sent by the first terminal device and stop playing locally stored prompt audio data. The audio output device may then transmit voice data with the second terminal device. Alternatively, the audio output device may establish a second voice transmission link with the second terminal device and transmit voice data through this second voice transmission link. The audio output device may also play the voice data sent by the second terminal device.
[0097] For example, Figure 5A A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 5A As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B. Terminal device A supports in-band ringtone mode, while terminal device B supports out-of-band ringtone mode. When terminal device A receives an incoming call, it can send a call request to the audio output device. Since terminal device A supports in-band ringtone mode, it will also send an SCO establishment request to the audio output device. The audio output device can establish an SCO link with terminal device A based on this SCO establishment request, receive the incoming ringtone sent by terminal device A through the SCO link, and play the incoming ringtone sent by terminal device A.
[0098] While terminal device A is receiving a call, if terminal device B also receives a call, terminal device B can also send a call request to the audio output device. However, since terminal device B supports out-of-band ringtone mode, it will not send an SCO establishment request to the audio output device. After receiving the call request from terminal device B, the audio output device can play a mix of terminal device A's ringtone and locally stored call alert tones. If terminal device B decides to answer the call, it can send an answer command to the audio output device. Upon receiving this command, the audio output device can disconnect the SCO link with terminal device A, stop receiving terminal device A's ringtone, and establish an SCO link with terminal device B. The audio output device can then stop playing the locally stored call alert tones and play the voice message received from terminal device B through the SCO link.
[0099] In some embodiments, if it is determined that an incoming call corresponding to the first terminal device is being answered, the audio output device may maintain 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 may stop playing locally stored prompt audio data and play the voice data sent by the first terminal device.
[0100] For example, Figure 5B A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 5BAs shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B. Terminal device A supports in-band ringtone mode, while terminal device B supports out-of-band ringtone mode. When both terminal device A and terminal device B receive incoming calls (with device A receiving the call first, followed by terminal device B), the audio output device maintains the SCO link with terminal device A and plays a mix of terminal device A's incoming call ringtone and locally stored call notification tones. If the incoming call is confirmed to be from terminal device A, terminal device A can send an answer command to the audio output device. The audio output device maintains the SCO link with terminal device A, stops playing the locally stored call notification tones, and plays the call audio received from terminal device A through the SCO link.
[0101] In some embodiments, the first terminal device supports an out-of-band ringtone mode, and the second terminal device supports an in-band ringtone mode. The step of playing a first call notification audio based on an incoming call request includes: playing a second mixed audio data—a combination of ringtone audio data transmitted by the second terminal device and locally stored notification audio data—based on the incoming call requests sent by the first terminal device and the second terminal device respectively.
[0102] In one specific implementation, after receiving a call request from a first terminal device, the audio output device can play locally stored prompt audio data according to the call request. When receiving a call request from a second terminal device, the audio output device can establish a second voice transmission link with the second terminal device according to the call request, and receive ringtone audio data sent by the second terminal device through the second voice transmission link, and can play a second mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data.
[0103] In some embodiments, if it is determined that an incoming call corresponding to the first terminal device is being answered, the audio output device may disconnect the second voice transmission link with the second terminal device to stop receiving ringtone audio data sent by the second terminal device and stop playing locally stored prompt audio data. The audio output device may then transmit voice data with the first terminal device. Alternatively, the audio output device may establish a first voice transmission link with the first terminal device and transmit voice data through this first voice transmission link. The audio output device may also play the voice data sent by the first terminal device.
[0104] For example, Figure 5C A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 5CAs shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B. Terminal device A supports out-of-band ringtone mode, while terminal device B supports in-band ringtone mode. When terminal device A receives an incoming call, it can send a call request to the audio output device. Since terminal device A supports out-of-band ringtone mode, it will not send an SCO establishment request to the audio output device. The audio output device can then play a locally stored caller ID tone based on the call request sent by terminal device A. If terminal device B also receives an incoming call while terminal device A is receiving a call, terminal device B can also send a call request to the audio output device. Since terminal device B supports in-band ringtone mode, it will send an SCO establishment request to the audio output device. The audio output device can then establish an SCO link with terminal device B based on this SCO establishment request, receive the incoming ringtone sent by terminal device B through this SCO link, and mix and play the incoming ringtone from terminal device B with the locally stored caller ID tone. If terminal device A decides to answer a call, terminal device A can send an answer command to the audio output device. Upon receiving the answer command, the audio output device can disconnect the SCO link with terminal device B, stop receiving the ringtone from terminal device B, and establish an SCO link with terminal device A. The audio output device can stop playing the locally stored caller ID tone and play the voice recording of the call received from terminal device A through the SCO link.
[0105] In some embodiments, if it is determined that an incoming call corresponding to the second terminal device is being answered, the audio output device may maintain a second voice transmission link with the second terminal device and transmit voice data with the second terminal device through this second voice transmission link. The audio output device may stop playing locally stored prompt audio data and play the voice data sent by the second terminal device.
[0106] For example, Figure 5D A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 5D As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B. Terminal device A supports out-of-band ringtone mode, while terminal device B supports in-band ringtone mode. When both terminal device A and terminal device B receive incoming calls (with device A receiving the call first, followed by terminal device B), the audio output device establishes an SCO link with terminal device B. The audio output device then plays a mix of terminal device B's incoming call ringtone and a locally stored caller ID tone. If the call is confirmed to be from terminal device B, terminal device B can send an answer command to the audio output device. The audio output device maintains the SCO link with terminal device B, stops playing the locally stored caller ID tone, and plays the call audio received from terminal device B through the SCO link.
[0107] In this embodiment, when only one of the first and second terminal devices supports in-band ringtone mode, the audio output device can play a mixture of ringtone audio data transmitted by the terminal device supporting in-band ringtone mode and locally stored prompt audio data. This accurately reminds the user that both the first and second terminal devices have received incoming calls. Furthermore, while the user is answering a call from either the first or second terminal device, the audio output device no longer plays the call reminder audio. This provides the user with a clearer call environment, mitigates the negative impact of call reminder audio on the user's experience during calls, and enhances the user's call experience.
[0108] In some embodiments, both the first terminal device and the second terminal device are terminal devices that support out-of-band ringtone mode. The step of playing a first call reminder audio according to the call request includes: playing locally stored prompt audio data according to the call requests sent by the first terminal device and the second terminal device respectively.
[0109] If an audio output device receives incoming call requests from at least two terminal devices, and both of the terminal devices support out-of-band ringtone mode, the first incoming call notification audio played by the audio output device can be locally stored notification audio data.
[0110] In one specific implementation, at least two terminal devices sending a call request to the audio output device may include a first terminal device and a second terminal device, both of which support out-of-band ringtone mode. After receiving a call request from the first terminal device, the audio output device can play locally stored prompt audio data. If it then receives a call request from the second terminal device, it can continue playing the locally stored prompt audio data. Optionally, the locally stored prompt audio data played by the audio output device after receiving a call request from the first terminal device may be the same as or different from the locally stored prompt audio data played after receiving a call request from the second terminal device.
[0111] For example, after receiving a call request from a first terminal device, the audio output device can play locally stored prompt audio data corresponding to the first terminal device according to the device information of the first terminal device; after receiving a call request from a second terminal device, the audio output device can play locally stored prompt audio data corresponding to the second terminal device according to the device information of the second terminal device; or, after receiving a call request from a second terminal device, the audio output device can play a mixture of locally stored prompt audio data corresponding to the second terminal device and locally stored prompt audio data corresponding to the first terminal device according to the device information of the second terminal device.
[0112] For example, an audio output device may store only prompt audio A and prompt audio B. Prompt audio A is used to indicate that only one terminal device has received an incoming call, and prompt audio B is used to indicate that multiple terminal devices have received an incoming call. After receiving an incoming call request from the first terminal device, the audio output device may play prompt audio A, and after receiving an incoming call request from the second terminal device, the audio output device may play prompt audio B.
[0113] If it is determined that an incoming call corresponding to the first terminal device will be answered, the audio output device can stop playing the locally stored prompt audio data and establish a first voice transmission link with the first terminal device. Voice data is then transmitted and played through this first voice transmission link. If it is determined that an incoming call corresponding to the second terminal device will be answered, the audio output device can stop playing the locally stored prompt audio data and establish a second voice transmission link with the second terminal device. Voice data is then transmitted and played through this second voice transmission link.
[0114] For example, Figure 6 A timing diagram for the audio output device playing the first incoming call notification audio and answering the call in another embodiment. (See diagram below.) Figure 6 As shown, the audio output device can establish Bluetooth connections with both terminal device A and terminal device B. Both terminal device A and terminal device B support out-of-band ringtone mode. When terminal device A receives an incoming call, it can send a call request to the audio output device. Since terminal device A supports out-of-band ringtone mode, it will not send an SCO connection request to the audio output device. The audio output device plays the locally stored call notification tone according to the call request sent by terminal device A. When terminal device A is processing an incoming call, and terminal device B receives an incoming call, it can send a call request to the audio output device. Since terminal device B also supports out-of-band ringtone mode, it will not send an SCO connection request to the audio output device. The audio output device continues to play the locally stored call notification tone. If terminal device B decides to answer the call, terminal device B sends an answer command to the audio output device. The audio output device can then stop playing the locally stored call notification tone and establish an SCO link with terminal device B. Through this SCO link, it receives and plays the voice message sent by terminal device B. The procedure for determining whether to answer a call from terminal device A is similar to the procedure for determining whether to answer a call from terminal device B, and will not be repeated here.
[0115] In this embodiment, when both the first terminal device and the second terminal device support out-of-band ringtone mode, the audio output device can play locally stored prompt audio data to accurately remind the user that both the first terminal device and the second terminal device have received an incoming call. Furthermore, while the user is answering an incoming call from either the first or second terminal device, the audio output device will no longer play the call reminder audio, thus providing the user with a clearer call environment, mitigating the negative impact of the call reminder audio on the user during the call, and improving the user's call experience.
[0116] In some embodiments, the above-described incoming call processing method may further include: during the process of answering an incoming call corresponding to the target terminal device, if an incoming call request is received from a third terminal device, the voice data sent by the target terminal device and the locally stored prompt audio data are mixed and played.
[0117] The audio output device receives incoming call requests from at least two terminal devices and plays a first incoming call alert audio based on the request. If it determines that the call is to be answered by the target terminal device, it plays the voice data transmitted by the target terminal device. If a third terminal device receives an incoming call while the call is being answered by the target terminal device, the third terminal device sends an incoming call request to the audio output device. If this third terminal device is not one of the aforementioned at least two terminal devices, the audio output device can mix and play the voice data sent by the target terminal device with locally stored alert audio data to promptly notify the user that the third terminal device has received an incoming call.
[0118] For example, Figure 7 This is a timing diagram illustrating the receipt of a call request from a third terminal device during a call being answered by the target terminal device, as shown in one embodiment. Figure 7 As shown, the audio output device can establish Bluetooth connections with terminal devices A, B, and C respectively. If terminal devices A and B receive incoming calls simultaneously, the audio output device plays the first call notification audio. If the user confirms that they are answering the call from terminal device B, the audio output device stops playing the first call notification audio and plays the user's voice during the call. If terminal device C receives an incoming call while the user is answering the call from terminal device B, it can send a call request to the audio output device, which can then play a mix of the user's voice and the locally stored call notification tones.
[0119] In some embodiments, a playback duration for mixing voice data sent by the target terminal device with locally stored prompt audio data can be determined. If the playback duration is reached, the audio output device can stop playing the locally stored prompt audio data and resume playing only the voice data sent by the target terminal device. This playback duration can be a preset fixed duration or an adjusted duration based on the call priority of the third terminal device; for example, if the third terminal device has a higher call priority, the corresponding playback duration can be longer. By setting a playback duration for mixing voice data sent by the target terminal device with locally stored prompt audio data, the mixing of call voice data and prompt audio data for an extended period can be avoided, thus preventing disruption to the user's normal call services.
[0120] In this embodiment of the application, if a new terminal device receives a call while the target terminal device is answering an incoming call, the audio output device can promptly play the locally stored notification audio data, so that the user can be informed in a timely manner that a new terminal device has received an incoming call, thereby improving user engagement.
[0121] In some embodiments, the above-described incoming call processing method may further include: when determining that an incoming call is being answered for a target terminal device, if other terminal devices meet the prompting conditions, continuing to play locally stored prompting audio data, and / or not sending a mute command to other terminal devices that meet the prompting conditions.
[0122] Among these, the other terminal devices can be any of the at least two terminal devices that send the call request to the audio output device, excluding the target terminal device. Taking a first terminal device and a second terminal device as an example, if the call corresponding to the first terminal device is to be answered, and the second terminal device meets the prompting conditions, then the locally stored prompting audio data continues to play, and / or a mute command is not sent to the second terminal device that meets the conditions. Similarly, if the call corresponding to the second terminal device is to be answered, and the first terminal device meets the prompting conditions, then the locally stored prompting audio data continues to play, and / or a mute command is not sent to the first terminal device that meets the conditions.
[0123] Optionally, the aforementioned prompting conditions may include at least one of the following: the distance between the device and the audio output device is greater than a first distance threshold, or the call priority corresponding to the incoming call is greater than a priority threshold. If there are other terminal devices whose call priority corresponding to the incoming call is greater than the priority threshold, the locally stored prompting audio data may continue to be played, and / or a mute command may not be sent to other terminal devices that meet the prompting conditions, to prevent users from missing important calls.
[0124] Furthermore, if there are other terminal devices and the audio output device at a distance greater than the second distance threshold, the first incoming call reminder audio will stop playing, and no mute command will be sent to other terminal devices at a distance greater than the second distance threshold. The second distance threshold may be greater than the first distance threshold.
[0125] Taking the at least two terminal devices, including a first terminal device and a second terminal device, as an example, when it is determined that an incoming call is being answered by the first terminal device, if the distance between the second terminal device and the audio output device is greater than a second distance threshold, the audio output device stops playing the first incoming call alert audio and plays the voice data transmitted by the first terminal device. Furthermore, since the distance between the second terminal device and the audio output device is relatively large, the second terminal device playing the incoming call alert tone through its speaker will not significantly affect the user's call; therefore, the audio output device may not send a mute command to the second terminal device. If the second terminal device is in ringing mode, it can play the incoming call alert tone through its speaker, ensuring that it does not affect the user's call while still informing the user of the incoming call status from the second terminal device, further improving the user's call experience.
[0126] In some embodiments, the audio output device described above may include a headset. When it is determined that an incoming call corresponding to a target terminal device is being answered, if the headset is detected to be not being worn, the locally stored prompt audio data may continue to play, and / or, a mute command may not be sent to other terminal devices. When the headset is not being worn, if it is determined that an incoming call corresponding to a target terminal device is being answered, the user may not be able to accurately know that multiple terminal devices are simultaneously receiving incoming calls. Therefore, the locally stored prompt audio data may continue to play, and / or a mute command may not be sent to other terminal devices, allowing the user to perceive that other terminal devices besides the target terminal device are also receiving incoming calls.
[0127] The headphone device may be equipped with one or more sensors, which collect data to detect in real time whether the headphone device is being worn. These sensors may include, but are not limited to, one or more of the following: light sensors, posture sensors, distance sensors, temperature sensors, and heart rate sensors. For example, the headphone device can use a light sensor to obtain ambient light brightness information. If the detected ambient light brightness is less than or equal to a brightness threshold, it determines that the headphone device is being worn; if the detected ambient light brightness is greater than the brightness threshold, it determines that the headphone device is not being worn. As another example, the headphone device can use a posture sensor to obtain the headphone's posture information. If this posture information matches the posture information when the headphone is being worn, it can be determined that the headphone device is being worn; if the posture information does not match the posture information when the headphone is being worn, it can be determined that the headphone device is not being worn, and so on, but are not limited to these examples.
[0128] In some embodiments, if the headset device is detected to have switched from a non-worn state to a worn state, the playback of locally stored prompt audio data can be stopped, and voice data sent by the target terminal device can be played. Furthermore, a mute command can be sent to other terminal devices to prevent incoming call prompt audio from negatively impacting the user's ability to answer calls. Optionally, whether the audio output device sends a mute command to other terminal devices can be determined based on the distance between the other terminal devices and the audio output device. For example, if the distance between the other terminal devices and the audio output device is greater than a second distance threshold, a mute command may not be sent to those other terminal devices.
[0129] In this embodiment of the application, while ensuring that the user can answer incoming calls, it can also ensure that the user can accurately obtain the call status of each terminal device, avoid missing calls, and meet the different needs of the user.
[0130] In some embodiments, the above-described incoming call processing method may further include: if, after receiving an end command from the target terminal device indicating the end of the incoming call, an incoming call request is received from any other terminal device, then a second incoming call reminder audio is played to prompt the other terminal device to keep the incoming call going. The other terminal device refers to any two terminal devices other than the target terminal device.
[0131] If the target terminal device ends an incoming call (i.e., hangs up), it can send an end command to the audio output device. This end command indicates the end of the call. Upon receiving the end command, the audio output device disconnects the voice transmission link with the target terminal device and sends a notification signal to other terminal devices. This notification signal informs them that the audio output device is not currently transmitting audio data. If other terminal devices are still receiving calls after receiving the notification signal, they can send another call request to the audio output device. The audio output device can then play a second call reminder audio based on these calls.
[0132] In some embodiments, the second incoming call alert audio can be determined based on the number of other terminal devices resending the incoming call request and the ringtone modes supported by each of the other terminal devices. If the number of other terminal devices resending the incoming call request is only one, taking the example of at least two terminal devices including the first terminal device and the second terminal device, with the first terminal device as the target terminal device, if the second terminal device is still receiving a call when the first terminal device ends its call, the second terminal device can resend the incoming call request to the audio output device. If the second terminal device supports in-band ringtone modes, the second incoming call alert audio can be the ringtone audio data sent by the second terminal device. The audio output device can establish a second voice transmission link with the second terminal device, receive the ringtone audio data sent by the second terminal device through this second voice transmission link, and play the ringtone audio data sent by the second terminal device.
[0133] If the second terminal device supports out-of-band ringtone mode, the second incoming call notification audio can be locally stored prompt audio data. After receiving the incoming call request from the second terminal device, the audio output device can play the locally stored prompt audio data.
[0134] If the number of other terminal devices sending the call request again is multiple, the number can be determined based on the ringtone modes supported by each of these other terminal devices. Any of the following situations may occur: at least two of the other terminal devices support in-band ringtone modes; only one of the other terminal devices supports in-band ringtone modes; or all of the other terminal devices support out-of-band ringtone modes. It should be noted that the second call notification audio in each case is similar to the first call notification audio in each case described in the above embodiments, and will not be repeated here.
[0135] After the audio output device plays the second incoming call reminder audio, the user can choose whether to answer calls from other terminal devices according to their actual needs.
[0136] In this embodiment, if other terminal devices are still receiving calls after the target terminal device ends the call, the audio output device can promptly remind the user, thus preventing the user from forgetting the call and meeting the different needs of the user.
[0137] like Figure 8 As shown, in one embodiment, a call processing method is provided, applicable to a first terminal device. The first terminal device establishes a communication connection with an audio output device, which also establishes a communication connection with at least a second terminal device. The method may include the following steps:
[0138] Step 810: If an incoming call is received, a call request is sent to the audio output device so that the audio output device plays the first call reminder audio according to the call request when it receives the call requests sent by the first terminal device and the second terminal device respectively.
[0139] Step 820: If a mute command is received from the audio output device, then enter mute mode according to the mute command. This mute command is sent by the audio output device after determining that an incoming call corresponding to the second terminal device is being answered. Mute mode is a mode in which the incoming call notification tone is not played through the speakerphone.
[0140] It should be noted that the description of the incoming call processing method applied to the first terminal device provided in the embodiments of this application can be referred to the relevant description of the incoming call processing method applied to the audio output device provided in the above embodiments, and will not be repeated here.
[0141] In this embodiment of the application, while the user is answering a call from the second terminal device, the first terminal device is in silent mode and does not play the call notification tone through the speaker, which can avoid the call notification tone playing out loud from adversely affecting the user's call process.
[0142] like Figure 9 As shown, in one embodiment, a call processing device 900 is provided, which can be applied to the aforementioned audio output device, which establishes communication connections with multiple terminal devices. The call processing device 900 may include a request receiving module 910, a playback module 920, and a data transmission module 930.
[0143] The request receiving module 910 is used to receive incoming call requests sent by at least two terminal devices.
[0144] The playback module 920 is used to play a first incoming call reminder audio according to the incoming call request. The first incoming call reminder audio is used to notify at least two terminal devices that an incoming call has been received.
[0145] The playback module 920 is also used to stop playing the first incoming call reminder audio data when it is determined that the incoming call is being answered by the target terminal device.
[0146] The data transmission module 930 is used for voice data transmission with the target terminal device.
[0147] The playback module 920 is also used to play voice data transmitted by the target terminal device.
[0148] In one embodiment, the call handling device 900 described above further includes a mute module.
[0149] The mute module is used to send a mute command to all other terminal devices if it is determined that an incoming call is being answered from the target terminal device. The mute command is used to instruct the other terminal devices to enter mute mode. The other terminal devices are terminal devices other than the target terminal device among at least two terminal devices. The mute mode is a mode in which the incoming call prompt tone is not played through the speaker.
[0150] In this embodiment, during a user's call to the target terminal device, the audio output device does not play any call alert audio, but only plays the voice data transmitted by the target terminal device. This avoids situations where the user cannot clearly hear the call due to call alert audio, providing a clearer call environment and mitigating the negative impact of call alert audio on the user's call. Furthermore, the audio output device can send a mute command to other terminal devices, preventing them from playing call alert tones through their speakers, thus avoiding any negative impact on the user's call process from externally played call alert tones.
[0151] In one embodiment, at least two terminal devices include a first terminal device and a second terminal device. The target terminal device is either the first terminal device or the second terminal device. Both the first terminal device and the second terminal device support in-band ringtone mode, where in-band ringtone mode refers to the mode in which the terminal device transmits ringtone audio data to the audio output device through the voice transmission link when it receives an incoming call.
[0152] The playback module 920 is also used to play mixed audio data of ringtone audio data transmitted by the first terminal device or the second terminal device and prompt audio data stored locally, according to the incoming call requests sent by the first terminal device and the second terminal device respectively.
[0153] In one embodiment, the playback module 920 is further configured to establish a first voice transmission link with the first terminal device after receiving a call request from the first terminal device and before receiving a call request from the second terminal device, and to receive ringtone audio data sent by the first terminal device through the first voice transmission link; and to play the ringtone audio data sent by the first terminal device.
[0154] In one embodiment, the playback module 920 is further configured to: if the second terminal device fails to successfully preempt the audio output device, then the audio output device plays a first mixed audio data consisting of the ringtone audio data sent by the first terminal device and the prompt audio data stored locally; and if the second terminal device successfully preempts the audio output device, then the audio output device disconnects the first voice transmission link and establishes a second voice transmission link with the second terminal device; receives the ringtone audio data sent by the second terminal device through the second voice transmission link, and plays the second mixed audio data consisting of the ringtone audio data sent by the second terminal device and the prompt audio data stored locally.
[0155] In one embodiment, the playback module 920 is further configured to, if it is determined that an incoming call corresponding to the second terminal device is being answered and the first incoming call reminder audio is first mixed audio data, disconnect the first voice transmission link with the first terminal device to stop receiving the ringtone audio data sent by the first terminal device and stop playing the locally stored prompt audio data. The data transmission module 930 is further configured to perform voice data transmission with the second terminal device.
[0156] In one embodiment, the playback module 920 is further configured to, if it is determined that an incoming call corresponding to the first terminal device is being answered and the first call notification audio is second mixed audio data, disconnect the second voice transmission link with the second terminal device to stop receiving ringtone audio data sent by the second terminal device and stop playing locally stored notification audio data. The data transmission module 930 is further configured to perform voice data transmission with the first terminal device.
[0157] In this embodiment, when both the first terminal device and the second terminal device support in-band ringtone mode, the audio output device can play mixed audio data of the ringtone audio data transmitted by the first terminal device or the second terminal device and the locally stored prompt audio data. This accurately reminds the user that both the first terminal device and the second terminal device have received an incoming call. Furthermore, while the user is answering the incoming call from the first terminal device or the second terminal device, the audio output device no longer plays the call reminder audio. This provides the user with a clearer call environment, mitigates the negative impact of the call reminder audio on the user's experience during incoming calls, and improves the user's call experience.
[0158] In one embodiment, at least two terminal devices include a first terminal device and a second terminal device, the target terminal device is the first terminal device or the second terminal device, the first terminal device supports in-band ringtone mode, and the second terminal device supports out-of-band ringtone mode; wherein, out-of-band ringtone mode refers to the mode in which the terminal device does not transmit ringtone audio data to the audio output device through the voice transmission link when it receives an incoming call.
[0159] The playback module 920 is also used to play a first mixed audio data of ringtone audio data transmitted by the first terminal device and prompt audio data stored locally, based on incoming call requests sent by the first terminal device and the second terminal device respectively.
[0160] In one embodiment, the playback module 920 is further configured to establish a first voice transmission link with the first terminal device after receiving a call request from the first terminal device and before receiving a call request from the second terminal device, and to receive ringtone audio data sent by the first terminal device through the first voice transmission link; play the ringtone audio data sent by the first terminal device; and, after receiving a call request from the second terminal device, play a first mixed audio data of the ringtone audio data transmitted by the first terminal device and the prompt audio data stored locally, according to the call requests sent by the first terminal device and the second terminal device respectively.
[0161] In one embodiment, the playback module 920 is further configured to, if it is determined that an incoming call corresponding to the second terminal device is being answered, disconnect the first voice transmission link with the first terminal device to stop receiving ringtone audio data sent by the first terminal device and stop playing locally stored prompt audio data. The data transmission module 930 is further configured to perform voice data transmission with the second terminal device. The playback module 920 is further configured to play the voice data transmitted by the second terminal device.
[0162] The playback module 920 is further configured to, if it is determined that an incoming call corresponding to the first terminal device is being answered, stop playing the locally stored prompt audio data and maintain the first voice transmission link. The data transmission module 930 is further configured to transmit voice data with the first terminal device through the first voice transmission link. The playback module 920 is further configured to play the voice data transmitted by the first terminal device.
[0163] In one embodiment, the first terminal device supports an out-of-band ringtone mode, and the second terminal device supports an in-band ringtone mode. The playback module 920 is further configured to play locally stored prompt audio data after receiving a call request from the first terminal device and before receiving a call request from the second terminal device; and to establish a second voice transmission link with the second terminal device based on the call request when receiving a call request from the second terminal device, and receive ringtone audio data sent by the second terminal device through the second voice transmission link; and play a second mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data.
[0164] In this embodiment, when only one of the first and second terminal devices supports in-band ringtone mode, the audio output device can play a mixture of ringtone audio data transmitted by the terminal device supporting in-band ringtone mode and locally stored prompt audio data. This accurately reminds the user that both the first and second terminal devices have received incoming calls. Furthermore, while the user is answering a call from either the first or second terminal device, the audio output device no longer plays the call reminder audio. This provides the user with a clearer call environment, mitigates the negative impact of call reminder audio on the user's experience during calls, and enhances the user's call experience.
[0165] In one embodiment, at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is either the first terminal device or the second terminal device. Both the first terminal device and the second terminal device are terminal devices that support out-of-band ringtone mode. The playback module 920 is further configured to play locally stored prompt audio data according to incoming call requests sent by the first terminal device and the second terminal device respectively.
[0166] In this embodiment, when both the first terminal device and the second terminal device support out-of-band ringtone mode, the audio output device can play locally stored prompt audio data to accurately remind the user that both the first terminal device and the second terminal device have received an incoming call. Furthermore, while the user is answering an incoming call from either the first or second terminal device, the audio output device will no longer play the call reminder audio, thus providing the user with a clearer call environment, mitigating the negative impact of the call reminder audio on the user during the call, and improving the user's call experience.
[0167] In one embodiment, the playback module 920 is further configured to, during the process of answering an incoming call corresponding to the target terminal device, if it receives an incoming call request from a third terminal device, mix and play the voice data sent by the target terminal device with the locally stored prompt audio data. The third terminal device is not one of the aforementioned at least two terminal devices.
[0168] In one embodiment, the playback module 920 is further configured to, when determining that an incoming call corresponding to the target terminal device is being answered, continue playing locally stored prompt audio data if other terminal devices meet the prompt conditions; and / or, the mute module does not send a mute command to other terminal devices that meet the prompt conditions. Other terminal devices are terminal devices other than the target terminal device among at least two terminal devices.
[0169] The prompting conditions include at least one of the following: the distance between the device and the audio output device is greater than a first distance threshold, and the call priority corresponding to the incoming call is greater than a priority threshold.
[0170] In one embodiment, the playback module 920 is further configured to stop playing the first incoming call reminder audio if there is a distance between other terminal devices and the audio output device that is greater than a second distance threshold, and the mute module does not send a mute command to other terminal devices that are more than the second distance threshold, wherein the second distance threshold is greater than the first distance threshold.
[0171] In one embodiment, the playback module 920 is further configured to play a second incoming call reminder audio if, after receiving an end command sent by the target terminal device to indicate the end of the incoming call, it receives an incoming call request sent by any other terminal device. The second incoming call reminder audio is used to prompt any other terminal device to keep the incoming call going. The other terminal device is a terminal device other than the target terminal device among at least two terminal devices.
[0172] In this embodiment, if other terminal devices are still receiving calls after the target terminal device ends the call, the audio output device can promptly remind the user, thus preventing the user from forgetting the call and meeting the different needs of the user.
[0173] like Figure 10 As shown, in one embodiment, a call processing device 1000 is provided, applied to a first terminal device. The first terminal device establishes a communication connection with an audio output device, and the audio output device also establishes a communication connection with at least a second terminal device. The call processing device 1000 includes a request sending module 1010 and a mute module 1020.
[0174] The request sending module 1010 is used to send an incoming call request to the audio output device if an incoming call is received, so that the audio output device can play a first incoming call reminder audio according to the incoming call request when it receives the incoming call requests sent by the first terminal device and the second terminal device respectively. The first incoming call reminder audio is used to notify the first terminal device and the second terminal device that an incoming call has been received.
[0175] The mute module 1020 is used to enter mute mode according to the mute command sent by the audio output device if it receives the mute command. The mute mode is a mode in which the incoming call prompt tone is not played through the speaker. The mute command is sent by the audio output device when it determines that it is answering the incoming call corresponding to the second terminal device.
[0176] In this embodiment of the application, while the user is answering a call from the second terminal device, the first terminal device is in silent mode and does not play the call notification tone through the speaker, which can avoid the call notification tone playing out loud from adversely affecting the user's call process.
[0177] Figure 11 This is a structural block diagram of an electronic device in one embodiment. For example...Figure 11 As shown, the electronic device 1100 may include one or more of the following components: a processor 1110 and a memory 1120 coupled to the processor 1110, wherein the memory 1120 may store one or more computer programs, which may be configured to implement, when executed by one or more processors 1110, the incoming call processing method for an audio output device as described in the above embodiments.
[0178] Processor 1110 may include one or more processing cores. Processor 1110 connects to various parts within the electronic device 1100 using various interfaces and lines, and performs various functions and processes data of the electronic device 1100 by running or executing instructions, programs, code sets, or instruction sets stored in memory 1120, and by calling data stored in memory 1120. Optionally, processor 1110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 1110 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 1110 and may be implemented separately using a communication chip.
[0179] The memory 1120 may include random access memory (RAM) or read-only memory (ROM). The memory 1120 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1120 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created by the electronic device 1100 during use.
[0180] Electronic device 1100 may also include a Bluetooth module, which can be used to provide Bluetooth communication functionality, establish Bluetooth connections with other electronic devices, and perform Bluetooth data transmission. The Bluetooth module may support one or more Bluetooth protocols (such as Bluetooth Classic, BLE, etc.), but is not limited to these, and may change as Bluetooth protocols evolve.
[0181] Understandably, electronic device 1100 may include more or fewer structural elements than those shown in the above block diagram, such as power modules, physical buttons, sensors, etc., and is not limited herein.
[0182] This application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the incoming call processing method for an audio output device as described in the above embodiments.
[0183] This application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the incoming call processing method for an audio output device as described in the above embodiments.
[0184] In one embodiment, an electronic device is also provided, the electronic device including a memory and a processor, the memory storing a computer program, which, when executed by the processor, causes the processor to implement the call processing method applied to a first terminal device as described in the above embodiments.
[0185] This application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the call processing method applied to a first terminal device as described in the above embodiments.
[0186] This application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the call processing method for the application of a first terminal device as described in the above embodiments.
[0187] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, ROM, etc.
[0188] Any references to memory, storage, databases, or other media used herein may include non-volatile and / or volatile memory. Suitable non-volatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache. By way of illustration and not limitation, RAM may take many forms, such as Static RAM (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus DRAM (RDRAM), and Direct Rambus DRAM (DRDRAM).
[0189] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also recognize that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application. It should be noted that "multiple" in this application includes "two or more".
[0190] In the various embodiments of this application, it should be understood that the sequence number of each process does not necessarily imply 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 this application.
[0191] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they can be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0192] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0193] The foregoing has provided a detailed description of a call processing method, apparatus, electronic device, and storage medium disclosed in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and its core ideas. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for handling incoming calls, characterized in that, The method is applied to an audio output device, which establishes communication connections with multiple terminal devices; the method includes: The system receives incoming call requests from at least two terminal devices and plays a first incoming call alert audio based on the requests. The first incoming call alert audio is used to notify the at least two terminal devices that an incoming call has been received. The first incoming call alert audio includes locally stored alert audio data, or a mixture of locally stored alert audio data and ringtone audio data sent by one of the at least two terminal devices. The first incoming call alert audio is determined based on ringtone modes supported by the at least two terminal devices. The ringtone modes include either in-band ringtone modes or out-of-band ringtone modes. The in-band ringtone mode refers to the mode where, when a terminal device receives an incoming call, it transmits ringtone audio data to the audio output device via a voice transmission link. The out-of-band ringtone mode refers to the mode where, when a terminal device receives an incoming call, it does not transmit ringtone audio data to the audio output device via a voice transmission link. If it is determined that the incoming call corresponding to the target terminal device is to be answered, the first incoming call reminder audio will be stopped, and voice data transmission will be performed with the target terminal device, and the voice data transmitted by the target terminal device will be played.
2. The method according to claim 1, characterized in that, The method further includes: If it is determined that the incoming call corresponding to the target terminal device is to be answered, a mute command is sent to each of the other terminal devices. The mute command is used to instruct the other terminal devices to enter a mute mode. The other terminal devices are the terminal devices other than the target terminal device among the at least two terminal devices. The mute mode is a mode in which the incoming call notification tone is not played through the speaker.
3. The method according to claim 1 or 2, characterized in that, The at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is either the first terminal device or the second terminal device. Both the first terminal device and the second terminal device support in-band ringtone mode. Playing the first call reminder audio according to the call request includes: Based on the incoming call requests sent by the first terminal device and the second terminal device respectively, play a mixed audio data of the ringtone audio data transmitted by the first terminal device or the second terminal device and the prompt audio data stored locally.
4. The method according to claim 3, characterized in that, After receiving the incoming call request from the first terminal device and before receiving the incoming call request from the second terminal device, the method further includes: Establish a first voice transmission link with the first terminal device, and receive ringtone audio data sent by the first terminal device through the first voice transmission link; Play the ringtone audio data sent by the first terminal device.
5. The method according to claim 4, characterized in that, The step of playing mixed audio data of ringtone audio data transmitted by the first terminal device or the second terminal device and locally stored prompt audio data according to the incoming call requests sent by the first terminal device and the second terminal device respectively includes: If the second terminal device fails to successfully preempt the audio output device, the audio output device plays a first mixed audio data consisting of the ringtone audio data sent by the first terminal device and the locally stored prompt audio data; If the second terminal device successfully preempts the audio output device, the audio output device disconnects the first voice transmission link and establishes a second voice transmission link with the second terminal device. The system receives ringtone audio data sent by the second terminal device through the second voice transmission link, and plays a second mixed audio data consisting of the ringtone audio data sent by the second terminal device and the prompt audio data stored locally.
6. The method according to claim 5, characterized in that, The step of stopping the playback of the first call reminder audio and transmitting voice data with the target terminal device if it is determined that the incoming call corresponding to the target terminal device is being answered includes: If it is determined that the incoming call corresponding to the second terminal device is answered, and the first incoming call reminder audio is the first mixed audio data, then the first voice transmission link with the first terminal device is disconnected to stop receiving the ringtone audio data sent by the first terminal device, stop playing the locally stored prompt audio data, and transmit voice data with the second terminal device. And / or, If it is determined that the incoming call corresponding to the first terminal device is answered, and the first call reminder audio is the second mixed audio data, then the second voice transmission link with the second terminal device is disconnected to stop receiving the ringtone audio data sent by the second terminal device, stop playing the locally stored prompt audio data, and perform voice data transmission with the first terminal device.
7. The method according to claim 1 or 2, characterized in that, The at least two terminal devices include a first terminal device and a second terminal device, the target terminal device is the first terminal device or the second terminal device, the first terminal device supports in-band ringtone mode, and the second terminal device supports out-of-band ringtone mode. Playing the first call reminder audio according to the call request includes: Based on the incoming call requests sent by the first terminal device and the second terminal device respectively, a first mixed audio data consisting of the ringtone audio data transmitted by the first terminal device and the prompt audio data stored locally is played.
8. The method according to claim 7, characterized in that, After receiving the incoming call request from the first terminal device and before receiving the incoming call request from the second terminal device, the method further includes: Establish a first voice transmission link with the first terminal device, and receive ringtone audio data sent by the first terminal device through the first voice transmission link; Play the ringtone audio data sent by the first terminal device; And after receiving the incoming call request sent by the second terminal device, the step of playing the first mixed audio data of the ringtone audio data transmitted by the first terminal device and the prompt audio data stored locally is performed according to the incoming call requests sent by the first terminal device and the second terminal device respectively.
9. The method according to claim 8, characterized in that, If it is determined that an incoming call corresponding to the target terminal device is being answered, then the playback of the first incoming call reminder audio is stopped, and voice data transmission is performed with the target terminal device, including playing the voice data transmitted by the target terminal device. If it is determined that the incoming call corresponding to the second terminal device is answered, the first voice transmission link with the first terminal device is disconnected to stop receiving the ringtone audio data sent by the first terminal device and to stop playing the locally stored prompt audio data. It transmits voice data with the second terminal device and plays the voice data transmitted by the second terminal device. And / or, If it is determined that the incoming call corresponding to the first terminal device is to be answered, the playback of the locally stored prompt audio data is stopped, the first voice transmission link is maintained, voice data is transmitted with the first terminal device through the first voice transmission link, and the voice data transmitted by the first terminal device is played.
10. The method according to claim 1 or 2, characterized in that, The at least two terminal devices include a first terminal device and a second terminal device, the target terminal device is the first terminal device or the second terminal device, the first terminal device supports out-of-band ringtone mode, and the second terminal device supports in-band ringtone mode. After receiving the incoming call request from the first terminal device and before receiving the incoming call request from the second terminal device, the method further includes: Play locally stored prompt audio data; Playing the first call reminder audio according to the call request includes: Upon receiving a call request from the second terminal device, a second voice transmission link is established with the second terminal device according to the call request, and the ringtone audio data sent by the second terminal device is received through the second voice transmission link; Play a second mixed audio data, consisting of the ringtone audio data sent by the second terminal device and the prompt audio data stored locally.
11. The method according to claim 1, characterized in that, The at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is either the first terminal device or the second terminal device; both the first terminal device and the second terminal device are terminal devices that support out-of-band ringtone mode; Playing the first call reminder audio according to the call request includes: Based on the incoming call requests sent by the first terminal device and the second terminal device respectively, play the locally stored prompt audio data.
12. The method according to any one of claims 1-2, 4-6, 8-9, and 11, characterized in that, The method further includes: During the process of answering an incoming call corresponding to the target terminal device, if a call request is received from a third terminal device, the voice data sent by the target terminal device is mixed and played with the locally stored prompt audio data. The third terminal device does not belong to the at least two terminal devices.
13. The method according to any one of claims 1-2, 4-6, 8-9, and 11, characterized in that, The method further includes: When it is determined that an incoming call is being answered for the target terminal device, if other terminal devices meet the prompting conditions, the locally stored prompting audio data will continue to be played, and / or, a mute command will not be sent to other terminal devices that meet the prompting conditions; the other terminal devices are terminal devices other than the target terminal device among the at least two terminal devices. The prompting conditions include at least one of the following: the distance between the device and the audio output device is greater than a first distance threshold, and the call priority corresponding to the incoming call is greater than a priority threshold.
14. The method according to claim 13, characterized in that, If other terminal devices meet the prompting conditions, then a mute command will not be sent to those other terminal devices that meet the prompting conditions, including: If the distance between other terminal devices and the audio output device is greater than the second distance threshold, then the first incoming call reminder audio will stop playing, and no mute command will be sent to other terminal devices that are more than the second distance threshold, where the second distance threshold is greater than the first distance threshold.
15. The method according to any one of claims 1-2, 4-6, 8-9, and 11, characterized in that, The method further includes: If, after receiving an end command from the target terminal device indicating the end of the call, a call request is received from any other terminal device, a second call reminder audio is played. The second call reminder audio is used to prompt the other terminal device to keep the call going. The other terminal device is any terminal device other than the target terminal device among the at least two terminal devices.
16. A method for handling incoming calls, characterized in that, The method is applied to a first terminal device, which establishes a communication connection with an audio output device, and the audio output device also establishes a communication connection with at least a second terminal device; the method includes: If an incoming call is received, a call request is sent to the audio output device. Upon receiving call requests from both the first and second terminal devices, the audio output device plays a first call reminder audio. This first call reminder audio is used to alert both the first and second terminal devices that an incoming call has been received. The first call reminder audio includes locally stored notification audio data, or a mixture of locally stored notification audio data and ringtone audio data sent by one of the first and second terminal devices. The first call reminder audio is determined based on the ringtone modes supported by the first and second terminal devices. These ringtone modes include either in-band or out-of-band ringtone modes. The in-band ringtone mode refers to the mode where the terminal device transmits ringtone audio data to the audio output device via a voice transmission link when receiving an incoming call. The out-of-band ringtone mode refers to the mode where the terminal device does not transmit ringtone audio data to the audio output device via a voice transmission link when receiving an incoming call. If a mute command is received from the audio output device, the device enters a mute mode according to the mute command. The mute mode is a mode in which the incoming call notification tone is not played through the speaker. The mute command is sent by the audio output device when it determines that it is answering an incoming call corresponding to the second terminal device.
17. A call processing device, characterized in that, An audio output device that establishes communication connections with multiple terminal devices; the device includes: The request receiving module is used to receive incoming call requests sent by at least two terminal devices. A playback module is configured to play a first incoming call reminder audio according to the incoming call request. The first incoming call reminder audio is used to notify the at least two terminal devices that an incoming call has been received. The first incoming call reminder audio includes locally stored reminder audio data, or a mixture of locally stored reminder audio data and ringtone audio data sent by one of the at least two terminal devices. The first incoming call reminder audio is determined based on the ringtone modes supported by the at least two terminal devices. The ringtone modes include either an in-band ringtone mode or an out-of-band ringtone mode. The in-band ringtone mode refers to the mode in which the terminal device transmits ringtone audio data to the audio output device through a voice transmission link when it receives an incoming call. The out-of-band ringtone mode refers to the mode in which the terminal device does not transmit ringtone audio data to the audio output device through a voice transmission link when it receives an incoming call. The playback module is also used to stop playing the first incoming call reminder audio data when it is determined that the incoming call corresponding to the target terminal device is being answered; The data transmission module is used to transmit voice data with the target terminal device; The playback module is also used to play the voice data transmitted by the target terminal device.
18. A call processing device, characterized in that, The device is applied to a first terminal device, which establishes a communication connection with an audio output device, and the audio output device also establishes a communication connection with at least a second terminal device; the device includes: A request sending module is configured to send a call request to the audio output device if an incoming call is received, so that the audio output device, upon receiving call requests from the first terminal device and the second terminal device respectively, plays a first call reminder audio according to the call request. The first call reminder audio is used to notify the first terminal device and the second terminal device that an incoming call has been received. The first call reminder audio includes locally stored prompt audio data, or a mixture of locally stored prompt audio data and ringtone audio data sent by one of the first and second terminal devices. The first call reminder audio is determined based on the ringtone modes supported by the first and second terminal devices respectively. The ringtone modes include either an in-band ringtone mode or an out-of-band ringtone mode. The in-band ringtone mode refers to the mode in which the terminal device transmits ringtone audio data to the audio output device through a voice transmission link when it receives an incoming call, and the out-of-band ringtone mode refers to the mode in which the terminal device does not transmit ringtone audio data to the audio output device through a voice transmission link when it receives an incoming call. A mute module is used to enter a mute mode according to a mute command sent by the audio output device if such a mute command is received. The mute mode is a mode in which the incoming call notification tone is not played through the speaker. The mute command is sent by the audio output device when it determines that it is answering an incoming call corresponding to the second terminal device.
19. An electronic device, characterized in that, The method includes a memory storing executable program code and a processor coupled to the memory; wherein the processor invokes the executable program code stored in the memory to perform the method as described in any one of claims 1 to 15 or 16.
20. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 15 or 16.
Citation Information
Patent Citations
Call management method, chip and audio output device
CN112367648A