WO2023109282A1 - Incoming call processing method and apparatus, electronic device, and storage medium - Google Patents

Incoming call processing method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023109282A1
WO2023109282A1 PCT/CN2022/124921 CN2022124921W WO2023109282A1 WO 2023109282 A1 WO2023109282 A1 WO 2023109282A1 CN 2022124921 W CN2022124921 W CN 2022124921W WO 2023109282 A1 WO2023109282 A1 WO 2023109282A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
incoming call
audio
audio output
audio data
Prior art date
Application number
PCT/CN2022/124921
Other languages
French (fr)
Chinese (zh)
Inventor
包建全
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023109282A1 publication Critical patent/WO2023109282A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Definitions

  • the present application relates to the technical field of communications, and in particular to a method, device, electronic device and storage medium for processing incoming calls.
  • Bluetooth is a radio technology that supports short-distance communication between devices. It can realize wireless information exchange between multiple electronic devices that support Bluetooth transmission, making data transmission between electronic devices faster and more efficient.
  • audio output devices on the market that can support the establishment of Bluetooth connections with multiple terminal devices at the same time. When the terminal device receives an incoming call, the audio output device will give a corresponding reminder. The way of calling calls still needs to be further optimized.
  • the embodiment of the present application discloses an incoming call processing method, device, electronic equipment, and storage medium.
  • the embodiment of the present application discloses a method for processing an incoming call, which is applied to an audio output device, and the audio output device establishes a communication connection with a plurality of terminal devices; the method includes:
  • the embodiment of the present application discloses a method for processing incoming calls, which is 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 methods described include:
  • an incoming call request is sent to the audio output device, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively, according to the An incoming call requests to play a first call reminder audio, and the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call;
  • the mute mode is a mode in which the call prompt tone is not played through the loudspeaker; the mute command is determined by the audio output device It is sent when the incoming call corresponding to the second terminal device is answered.
  • the embodiment of the present application discloses an incoming call processing device, which is applied to an audio output device, and the audio output device establishes a communication connection with a plurality of terminal devices; the device includes:
  • a request receiving module configured to receive incoming call requests sent by at least two terminal devices
  • a playing module configured to play a first call reminder audio according to the incoming call request, and the first call reminder audio is used to prompt the at least two terminal devices to receive an incoming call;
  • the playing module is further configured to stop playing the first incoming call reminder audio data when it is determined to answer the incoming call corresponding to the target terminal device;
  • a data transmission module configured to transmit voice data with the target terminal device
  • the playing module is also used to play the voice data transmitted by the target terminal equipment.
  • the embodiment of the present application discloses an incoming call processing device, which is applied to a first terminal device, and 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;
  • Said devices include:
  • the request sending module is configured to send an incoming call request to the audio output device if an incoming call is received, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively In this case, playing a first call reminder audio according to the incoming call request, the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call;
  • the mute module is configured to enter a mute mode according to the mute command if the mute command sent by the audio output device is received, and the mute mode is a mode in which an incoming call prompt tone is not played through a loudspeaker; the mute command is the The audio output device sends it when it determines to answer the incoming call corresponding to the second terminal device.
  • the embodiment of the present application discloses an electronic device, including a memory storing executable program codes, and a processor coupled to the memory; wherein, the processor invokes the executable program codes stored in the memory , execute any of the methods described above.
  • the embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, any method described above is implemented.
  • Fig. 1 is an application scenario diagram of an incoming call processing method in an embodiment
  • Fig. 2 is a flow chart of the incoming call processing method in one embodiment
  • FIG. 3 is a schematic diagram of the sequence of an incoming call processing method in an embodiment
  • FIG. 4A is a timing diagram of the audio output device playing the first incoming call prompt audio in one embodiment
  • FIG. 4B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in one embodiment
  • FIG. 4C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • FIG. 4D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • FIG. 4E is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • FIG. 5A is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • FIG. 5B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • FIG. 5C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • 5D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • FIG. 6 is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment
  • FIG. 7 is a schematic diagram of a sequence diagram of receiving an incoming call request sent by a third terminal device during the process of answering an incoming call corresponding to a target terminal device in an embodiment
  • FIG. 8 is a flowchart of an incoming call processing method in another embodiment
  • Fig. 9 is a block diagram of an incoming call processing device in an embodiment
  • Fig. 10 is a block diagram of an incoming call processing device in another embodiment
  • Fig. 11 is a structural block diagram of an electronic device in an embodiment.
  • first, second and the like used in this application may be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element.
  • a first terminal device could be termed a second terminal device, and, similarly, a second terminal device could be termed a first terminal device, without departing from the scope of the present application.
  • Both the first terminal device and the second terminal device are terminal devices, but they are not the same terminal device.
  • the term “plurality” and the like used in the embodiments of the present application refer to two or more.
  • FIG. 1 is an application scenario diagram of a method for processing an incoming call in an embodiment.
  • the audio output device 10 can establish a Bluetooth connection with multiple terminal devices (such as the first terminal device 20 and the second terminal device 30 in Figure 1), and the audio output device 10 can have a Bluetooth communication function and Various electronic devices with audio playback function, for example, bluetooth earphones, bluetooth speakers, and terminal equipment such as smart watches. Further, the audio output device 10 can be TWS (True Wireless Stereo, true wireless stereo) earphones.
  • TWS Truste Wireless Stereo, true wireless stereo
  • the first terminal device 10 and the second terminal device 20 may include, but are not limited to, mobile phones, smart wearable devices, vehicle-mounted terminals, tablet computers, PCs (Personal Computers, personal computers), PDAs (Personal Digital Assistants, personal digital assistants) and the like.
  • the first terminal device 20 and the second terminal device 30 may be devices capable of accessing a wireless network and performing communication services, and the first terminal device 20 and the second terminal device 30 may be provided with a SIM (Subscriber Identification Module, Subscriber Identity Module) card, and through the SIM card to access the fourth generation (4th generation, 4G), fifth generation (5th generation, 5G) and other wireless networks, to achieve call services such as answering incoming calls and outgoing calls.
  • SIM Subscriber Identification Module
  • 5G Fifth Generation
  • the above-mentioned bluetooth connection can be realized based on the classic bluetooth protocol (for example, bluetooth 4.0 and other versions established by the bluetooth technology alliance bluetooth and other versions of the protocol), it can also be realized based on the LE Aduio related Bluetooth protocol. It is not limited here, and may change with the development of the Bluetooth protocol.
  • the Bluetooth connection may include a communication link established based on the classic Bluetooth protocol; the Bluetooth connection may include a communication link established based on the BLE Bluetooth protocol; and the Bluetooth connection may include a communication link established based on the LE Aduio Bluetooth protocol.
  • the audio output device 10 receives incoming call requests sent by at least two terminal devices at the same time period, for example, the audio output device 10 receives the incoming call request sent by the first terminal device 20, and the audio output device 10 receives the incoming call request sent by the first terminal device 20.
  • the audio output device 10 will play the incoming call reminder audio to The user is reminded that both the first terminal device 20 and the second terminal device 30 receive an incoming call.
  • the audio output device 10 will continue to play the incoming call reminder audio to remind the user that there are other terminal devices (such as the second terminal device 30). ) There is an incoming call, and the user may not be able to clearly listen to the call voice due to the influence of the incoming call reminder audio, which has a negative impact on the user in the process of answering the incoming call.
  • the audio output device 10 when the audio output device 10 receives incoming call requests sent by 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 The incoming call requests to play the first incoming call alert audio, and the first incoming call alert audio is used to prompt at least two terminal devices to receive the incoming call. If it is determined that one of the terminal devices is the target terminal device and answers the incoming call corresponding to the target terminal device, the audio output device 10 stops playing the first incoming call reminder audio, and transmits voice data with the target terminal device, and plays the voice data.
  • the audio output device 10 stops playing the first incoming call reminder audio, and transmits voice data with the target terminal device, and plays the voice data.
  • the audio output device 10 will not play any incoming call reminder audio, but only play the voice data transmitted by the target terminal device ("only" here is relative, It is not absolute meaning), which can avoid the situation that the user cannot clearly listen to the voice of the call due to the incoming call reminder audio, can provide the user with a clearer call environment, and improves the effect of the incoming call reminder audio on the user during the process of answering the incoming call. adverse effects.
  • FIG. 1 only shows the scenario where the audio output device 10 supports Bluetooth "one-to-two", that is, only shows the scenario where the audio output device 10 establishes a Bluetooth connection with two terminal devices, and the audio output device 10 Bluetooth connections can also be established with more terminal devices.
  • the audio output device 10 can support Bluetooth "one for three", “one for four", etc., which is not limited in this embodiment of the present application.
  • a method for controlling an incoming call is provided, which can be applied to the above-mentioned audio output device, and the method may include the following steps:
  • Step 210 Receive incoming call requests respectively sent by at least two terminal devices, and play a first incoming call reminder audio according to the incoming call request, where the first incoming call reminder audio is used to prompt at least two terminal devices to receive an incoming call.
  • the audio output device supports the Bluetooth "one-to-many" function, and can support the establishment of Bluetooth connections with multiple terminal devices at the same time, that is, the audio output device can maintain Bluetooth connections with N terminal devices at the same time, where N is an integer greater than or equal to 2, For example, 2, 3, 4, etc., but not limited thereto.
  • the audio output device may establish a communication connection with multiple terminal devices, and the communication connection may include but not limited to a Bluetooth connection and the like.
  • the Bluetooth connection includes an asynchronous connection oriented link (ACL) connection.
  • the terminal equipment can be connected to wireless networks such as 4G and 5G and realize the calling function, which may include but not limited to answering incoming calls, outgoing calls and other functions.
  • the audio output device can perform voice data transmission with the terminal device through the Bluetooth connection between the terminal device, so as to realize the function of talking on the audio output device.
  • the audio output device can implement a call function based on a bluetooth call protocol, which can include but not limited to the HFP (Hands-free Profile) protocol, etc., wherein the HFP protocol is a protocol for calling between bluetooth devices. Controlled Bluetooth protocol.
  • a bluetooth call protocol which can include but not limited to the HFP (Hands-free Profile) protocol, etc., wherein the HFP protocol is a protocol for calling between bluetooth devices. Controlled Bluetooth protocol.
  • any terminal device When any terminal device receives an incoming call, it can send an incoming call request to the audio output device.
  • the incoming call request can be used to notify the audio output device of receiving an incoming call.
  • the AT command may be used to indicate the call setup process, that is, to notify the audio output device that there is an incoming call.
  • the audio output device receives incoming call requests sent by at least two terminal devices respectively, which may mean that the audio output device receives another incoming call request sent by a terminal device but has not yet determined to answer the incoming call of the terminal device.
  • An incoming call request sent by a terminal device that is, at least two terminal devices are receiving incoming calls, and neither of them is answering any incoming call.
  • the audio output device can play the first call reminder audio according to the incoming call requests respectively sent by the at least two terminal devices.
  • the first call reminder audio refers to the audio data used to remind the user that the at least two terminal devices receive an incoming call.
  • the first incoming call reminder audio may be different from the audio data used to remind the user that a single terminal device receives an incoming call.
  • the first incoming call reminder audio may be locally stored prompt audio data sent to any terminal device
  • the audio output device may only output the ringtone audio data sent by the terminal device or the prompt audio data stored locally.
  • the first incoming call reminder audio may also be the same as the audio data used to prompt the user that a single terminal device receives an incoming call, for example, both may be locally stored prompt audio data.
  • the first incoming call reminder audio can be determined according to the ringtone mode supported by each terminal device sending the incoming call request, and the ringtone mode can include any one of the in-band ringtone mode and the out-of-band ringtone mode, wherein,
  • the 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 the terminal device receives an incoming call.
  • the voice transmission link may include a physical link capable of meeting high timeliness, such as a Synchronous Connection Oriented (SCO) link.
  • SCO Synchronous Connection Oriented
  • Step 220 if it is determined to answer the incoming call corresponding to the target terminal device, stop playing the first call reminder audio, and perform voice data transmission with the target terminal device, and play the voice data transmitted by the target terminal device.
  • the user can choose to answer the incoming call corresponding to the target terminal device on the audio output device, and the audio output device can determine the target to answer the incoming call according to the detected answering operation terminal device, and send an answer instruction to the target terminal device, so that the target terminal device switches from the call state to the call state (referring to the state of the ongoing call).
  • the terminal equipment that receives an incoming call includes a first terminal equipment and a second terminal equipment
  • the audio output device can be a headset device. If the user wants to answer the incoming call received by the first terminal equipment, he can use the first headset ( If the user wants to answer the incoming call received by the second terminal device, he can answer the call on the second earphone (such as the right earphone), that is, if the first earphone detects the answering operation , it is determined to answer the incoming call of the first terminal device, and if the second earphone detects the answering operation, it is determined to answer the incoming call of the second terminal device.
  • the second earphone such as the right earphone
  • the terminal equipment that receives an incoming call includes a first terminal equipment and a second terminal equipment. If the user wants to answer the incoming call received by the first terminal equipment, the first answering operation can be performed. If the user wants to answer the When the second terminal device receives an incoming call, the second answering operation can be performed.
  • the operation mode of the first answering operation and the second answering operation can be different. For example, the first answering operation is a single-click operation, and the second answering operation is a double-click operation. operation, etc., but not limited thereto.
  • the answering operation performed by the user on the audio output device may be an operation in any interactive manner, which is not limited in this embodiment of the present application.
  • the user can also choose to answer the incoming call on the terminal device. If the target terminal device detects an answering operation (such as the operation of the user clicking the answer button on the incoming call interface of the terminal device), it can switch from the incoming call state to the talking state, and send an answering instruction to the audio output device.
  • the answering instruction is used to represent The target terminal device answers the incoming call.
  • the audio output device may stop playing the first incoming call reminder audio, and will not play other incoming 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 the voice transmission link, and the audio output device can play the voice data sent by the target terminal device.
  • the audio output device in the case of answering the incoming call corresponding to the target terminal device, even if there are other terminal devices (referring to the terminal device other than the target terminal device among the at least two terminal devices receiving the incoming call) It is still in the incoming call state, but the audio output device will not play the incoming call reminder audio, so as to provide the user with a clearer call environment.
  • the audio output device when it is determined to answer the incoming call corresponding to the target terminal device, performs voice data transmission with the target terminal device. Since other terminal devices are still in the incoming call state, it may choose to play the incoming call prompt tone through the speaker , such as playing ringtones through the speaker. The incoming call prompt tone played by other terminal devices through the loudspeaker may also cause adverse effects on the user's call process, such as the user cannot hear the voice data played by the audio output device because the volume of the incoming call prompt tone played is too high.
  • the speaker may be understood as a built-in speaker of the terminal device, such as an external speaker of a mobile phone.
  • the audio output device can send a mute command to each other terminal device, and the mute command can be used to instruct other terminal devices to enter the mute mode, wherein other The terminal device is a terminal device other than the target terminal device among the at least two terminal devices, and the silent mode is a mode in which no incoming call prompt tone is played through the speaker.
  • the silent mode is a mode in which no incoming call prompt tone is played through the speaker.
  • the ring mode that is, the mode in which the incoming call prompt tone is played through the speaker
  • other terminal devices may output call reminder information in other ways, for example, output call reminder information through vibration, or output call reminder information in text, pictures, etc. through the display screen, but not limited thereto.
  • FIG. 3 is a timing diagram of a method for processing an incoming call in an embodiment.
  • the audio output device can respectively establish a Bluetooth connection with the terminal device A and the terminal device B.
  • terminal device A receives an incoming call, it can send an incoming call request to the audio output device
  • terminal device B also receives an incoming call, then it can send an incoming call request to the audio output device.
  • the audio output device plays the first incoming call reminder audio according to the incoming call requests sent by the terminal device A and the terminal device B respectively. If the terminal device B determines to answer the incoming call, it can send an answer command to the audio output device.
  • the audio output device can send a mute command to the terminal device A, so that the terminal device A enters the mute mode.
  • the audio output device can establish an SCO link with the terminal device B (optionally, the SCO link can also be established before determining to answer the incoming call of the terminal device B, for example, the audio output device receives the incoming call request sent by the terminal device , that is, establish an SCO link with the terminal device B), and perform voice data transmission with the terminal device B through the SCO link, stop playing the first call reminder audio, and play the call voice transmitted by the terminal device B.
  • sending the mute command can also be performed after establishing the SCO link with the terminal device B, or at the same time.
  • This application sends the mute command to the audio output device, establishes the SCO link with the terminal device B, and stops playing the first incoming call.
  • the order of the reminder audio is not limited.
  • the audio output device when the user answers the incoming call corresponding to the target terminal device, the audio output device will not play any incoming call reminder audio, but only play the voice data transmitted by the target terminal device, which can avoid the The situation that the user cannot clearly listen to the voice of the call can provide the user with a clearer call environment, and improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call. Furthermore, the audio output device can send a mute command to other terminal devices, so that other terminal devices do not play the incoming call prompt tone through the speaker, which can prevent the external incoming call prompt tone from causing adverse effects on the user's call process.
  • the audio of the first incoming call reminder can be determined according to the ringtone mode supported by each terminal device sending the incoming call request.
  • the at least two terminal devices that send incoming call requests to the audio output device may include a first terminal device and a second terminal device, and it is determined that the target terminal device to answer the incoming call is the first terminal device or the second terminal device, and the first terminal device will be combined below.
  • both the first terminal device and the second terminal device may support an in-band ring tone mode.
  • the step of playing the first call reminder audio according to the incoming call request may include: playing the ringtone audio data transmitted by the first terminal device or the second terminal device and the prompt stored locally according to the incoming call request sent by the first terminal device and the second terminal device respectively Mixed audio data of audio data.
  • the audio output device receives incoming call requests sent by at least two terminal devices. If there are multiple terminal devices supporting the in-band ringtone mode among the at least two terminal devices, the first incoming call reminder audio played by the audio output device may be the multiple The mixed audio data of the ring tone audio data transmitted by one of the terminal devices supporting the in-band ring tone mode and the prompt audio data stored locally. Since there are multiple terminal devices that support the in-band ringtone mode, the audio output device can only establish a voice transmission link with one terminal device, that is, it can only receive a voice transmission link transmitted by a terminal device that supports the in-band ringtone mode.
  • the selection rules of the terminal equipment for selecting and transmitting the ringtone audio data from a plurality of terminal equipments supporting the in-band ringtone mode can be preset, and according to the selection rule, from the multiple support bands
  • the terminal device in the internal ringtone mode determines the terminal device for the transmitted ringtone audio data.
  • the above selection rules may include but not limited to any of the following:
  • the first incoming call reminder audio may be the mixed audio data of the ring tone audio data transmitted by the terminal device that first sends the incoming call request to the audio output device among the at least two terminal devices and the locally stored prompt audio data.
  • the first incoming call reminder audio may be the mixed audio data of the ringtone audio data transmitted by the terminal device with the highest call priority among the at least two terminal devices and the prompt audio data stored locally.
  • the call priority of each terminal device can be pre-set by the user in advance, or it can be determined according to the call parameters corresponding to the incoming call of each terminal device.
  • the call parameters can include but not limited to the caller number and the duration of the call state wait.
  • the terminal device can identify the type of incoming call number (including numbers stored in the address book, unfamiliar numbers, numbers marked as fraudulent or marketing, etc.), and determine the call priority according to the type of incoming call number.
  • the call priority corresponding to the number in the record can be higher than the call priority corresponding to the unfamiliar number, and the call priority corresponding to the unfamiliar number can be higher than the call priority of the number marked as fraudulent or marketing.
  • the audio output device determines the high-low relationship between the call priorities of each terminal device, when each terminal device sends an incoming call request to the audio output device, it can also send the call priority or send call parameters, and then the audio output device determines the terminal device with the highest call priority.
  • the at least two terminal devices that send incoming call requests to the audio output device may include a first terminal device and a second terminal device, and both the first terminal device and the second terminal device support an in-band ringtone mode.
  • the audio output device After the audio output device receives the incoming call request sent by the first terminal device, it 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, and can play The ring tone audio data sent by the first terminal device.
  • the audio output device After the audio output device receives the call request sent by the second terminal device, it 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 will continue to maintain the same The first voice transmission link between terminal devices, and play the first mixed audio data of the ringtone audio data sent by the first terminal device and the locally stored prompt audio data, and the locally stored prompt audio data is used to prompt the second terminal device Incoming call status. If the second terminal device successfully preempts the audio output device, the audio output device may 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 the second mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data.
  • the audio output device can accurately remind the user that the first terminal device and the second terminal device are within the same time period by playing the 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. Receive incoming calls, so that users can accurately know the incoming calls.
  • the selection rule can be to select the terminal device that sends the call request to the audio output device at the earliest to transmit the ringtone audio data, then the second The call request sent by the second terminal device is later than that of the first terminal device, and the second terminal device cannot successfully preempt the audio output device.
  • the selection rule may be to select the terminal device that sends the incoming call request to the audio output device at the latest to transmit ringtone audio data, then the second terminal device sends the incoming call request later than the first terminal device, and the second terminal device successfully preempts the audio output device .
  • the selection rule may be to select the terminal device with the highest call priority to transmit ringtone audio data, then 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 the call priority of the first terminal device, the second terminal device cannot successfully preempt the audio output device.
  • the locally stored incoming call prompt played by the audio output device in different situations may be the same or different.
  • the first mixed audio data may be the ringtone audio data sent by the first terminal device and the locally stored and
  • the audio output device may determine the prompt audio data corresponding to the second terminal device from a plurality of locally stored prompt audio data according to the device information of the second terminal device.
  • the second mixed audio data may be the mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data corresponding to the first terminal device, and the audio output device may be based on the device information of the first terminal device.
  • the device information may include but not limited to one or more of the device name, the Bluetooth address corresponding to the terminal device, the MAC (Media Access Control, Media Access Control layer) address, and the like.
  • FIG. 4A is a sequence diagram of an audio output device playing the first incoming call prompt audio in an embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode.
  • terminal device A receives an incoming call, it can send an incoming call request to the audio output device, and since terminal device A supports the 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 according to the SCO establishment request, can receive the ringtone sent by terminal device A through the SCO link with terminal device A, and play the ringtone of terminal device A.
  • terminal device B When terminal device A is in the incoming call state, terminal device B also receives an incoming call, then terminal device B can also send an incoming call request to the audio output device, and since terminal device B supports in-band ringtone mode, it will also send an incoming call request to the audio output device.
  • the output device sends a SCO setup request.
  • the audio output device can judge whether the terminal device B has successfully preempted the audio output device. If the terminal device B fails to preempt the audio output device, the audio output device can reject the SCO establishment request sent by the terminal device B and continue to maintain the SCO chain with the terminal device A. channel, the audio output device can mix and play the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone.
  • the audio output device may disconnect the SCO link with the terminal device A, and establish an SCO link with the terminal device B.
  • the audio output device can receive the ringtone sent by the terminal device B through the SCO link with the terminal device B, and mix and play the ringtone of the terminal device B and the locally stored call prompt tone.
  • the audio output device may disconnect the first voice transmission link with the first terminal device to stop receiving the ring tone audio data sent by the first terminal device, and stop playing the prompt audio data stored locally, and communicate with the second terminal device Carry out voice data transmission.
  • the audio output device can establish a second voice transmission link with the second terminal device, and perform data transmission of call voice with the second terminal device through the second voice transmission link, and the audio output device can play the voice sent by the second terminal device data.
  • FIG. 4B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in one embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode.
  • terminal device B fails to seize the audio output device, and the audio output device remains in contact with terminal device A.
  • the audio output device mixes and plays the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone.
  • terminal device B can send an answer command to the audio output device, and the audio output device can disconnect the SCO link with terminal device A, stop receiving the incoming ringtone of terminal device A, and communicate with Terminal device B establishes the SCO link. Further, the audio output device may stop playing the locally stored incoming call prompt tone, and play the call voice of terminal device B received through the SCO link with terminal device B. It should be noted that the audio output device also stops playing the locally stored incoming call notification tone first, then disconnects the SCO link with terminal device A, and then establishes an SCO link with terminal device B, or stops playing the locally stored call prompt tone.
  • the incoming call prompt tone, disconnecting the SCO link with terminal device A, and establishing the SCO link with terminal device B can be performed in parallel.
  • the embodiment of the present application does not limit the sequence relationship between the three steps to meet the final audio output It is enough for the device to play the call voice of terminal device B received through the SCO link with terminal device B.
  • the audio The output device may maintain a 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 may stop playing the prompt audio data stored locally, and play the voice data sent by the first terminal device.
  • FIG. 4C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode.
  • terminal device B fails to seize the audio output device, and the audio output device remains in contact with terminal device A.
  • the audio output device mixes and plays the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone.
  • terminal device A may send an answer instruction to the audio output device.
  • the audio output device maintains the SCO link with terminal device A, and stops playing the locally stored incoming call prompt tone, and can play the call voice of terminal device A received through the SCO link with terminal device A.
  • the audio output device may disconnect the second voice transmission link with the second terminal device to stop receiving the ringtone audio data sent by the second terminal device, and stop playing the prompt audio data stored locally, and communicate with the first terminal device Carry out voice data transmission.
  • the audio output device can establish a 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, and the audio output device can play the voice data sent by the first terminal device.
  • FIG. 4D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device may respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B may be terminal devices supporting in-band ringtone mode.
  • terminal device A and terminal device B receive an incoming call (at this time, device A calls first and terminal device B calls later)
  • terminal device B successfully seizes the audio output device
  • the audio output device disconnects from terminal device A.
  • SCO link and establish an SCO link with terminal device B, and the audio output device mixes and plays the ringtone of terminal device B's incoming call and the locally stored incoming call prompt tone.
  • terminal device A can send an answer command to the audio output device, and the audio output device can disconnect the SCO link with terminal device B, stop receiving the ringtone of terminal device B's incoming call, and communicate with Terminal device A establishes an SCO link.
  • the audio output device may stop playing the locally stored incoming call prompt tone, and play the call voice of the terminal device A received through the SCO link with the terminal device A.
  • the audio output device can maintain the second voice with the second terminal device transmission link, and perform voice data transmission with the second terminal device through the second voice transmission link.
  • the audio output device may stop playing the prompt audio data stored locally, and play the voice data sent by the second terminal device.
  • FIG. 4E is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode.
  • terminal device A and terminal device B receive an incoming call (at this time, device A calls first and terminal device B calls later)
  • terminal device B successfully seizes the audio output device
  • the audio output device disconnects from terminal device A.
  • SCO link and establish an SCO link with terminal device B, and the audio output device mixes and plays the ringtone of terminal device B's incoming call and the locally stored incoming call prompt tone.
  • terminal device B may send an answer instruction to the audio output device.
  • the audio output device maintains the SCO link with terminal device B, stops playing the locally stored incoming call prompt tone, and plays the call voice of terminal device A received through the SCO link with terminal device B.
  • the audio output device when both the first terminal device and the second terminal device support the in-band ringtone mode, can play the ringtone audio data transmitted by the first terminal device or the second terminal device and the locally stored ringtone audio data.
  • the mixed audio data of the prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device No longer playing the incoming call reminder audio, can provide the user with a clearer call environment, improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
  • the first terminal device supports an in-band ringtone mode
  • the second terminal device supports an out-of-band ringtone mode.
  • the step of playing the first incoming call reminder audio according to the incoming call request includes: according to the incoming call requests sent by the first terminal device and the second terminal device respectively, playing the first mixed audio data of the ring tone transmitted by the first terminal device and the locally stored prompt audio data audio data.
  • the audio output device receives incoming call requests sent by at least two terminal devices. If only one of the at least two terminal devices supports the in-band ringtone mode, the first incoming call reminder audio may be the terminal that supports the inband ringtone mode. Mixed audio data of the ring tone audio data transmitted by the device and the prompt audio data stored locally.
  • the at least two terminal devices that send incoming call requests 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 model.
  • the audio output device After the audio output device receives the incoming call request sent by the first terminal device, it 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, and the audio output The device can play the ring tone audio data sent by the first terminal device.
  • the audio output device may play the first mixed audio data of the ring tone audio data transmitted by the first terminal device and the prompt audio data stored locally.
  • the audio output device may disconnect the first voice transmission link with the first terminal device to stop receiving ringtones sent by the first terminal device audio data, and stop playing the locally stored prompt audio data, and the audio output device can perform voice data transmission with the second terminal device.
  • the audio output device can establish a second voice transmission link with the second terminal device, and perform voice data transmission with the second terminal device through the second voice transmission link, and the audio output device can play the voice data sent by the second terminal device.
  • FIG. 5A is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, terminal device A can support in-band ringtone mode, and terminal device B can support out-of-band ringtone mode.
  • terminal device A receives an incoming call, it can send an incoming call request to the audio output device. Since terminal device A supports the 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 according to the SCO establishment request, receive the ringtone sent by terminal device A through the SCO link with terminal device A, and play the ringtone of terminal device A.
  • terminal device B When terminal device A is in the incoming call state, terminal device B also receives an incoming call, then terminal device B can also send an incoming call request to the audio output device, but since terminal device B supports out-of-band ringtone mode, it will not send a call request to the audio output device.
  • the output device sends a SCO setup request. After the audio output device receives the incoming call request sent by the terminal device B, it can mix and play the incoming call ringtone of the terminal device A and the locally stored incoming call prompt tone.
  • terminal device B can send an answer command to the audio output device, and after receiving the answer command, the audio output device can disconnect the SCO link with terminal device A and stop receiving terminal Device A's incoming call rings and establishes a SCO link with terminal device B.
  • the audio output device may stop playing the locally stored incoming call prompt tone, and play the call voice of terminal device B received through the SCO link with terminal device B.
  • the audio output device may maintain the first voice transmission link with the first terminal device, and communicate with the second terminal device through the first voice transmission link.
  • a terminal device transmits voice data.
  • the audio output device may stop playing the prompt audio data stored locally, and play the voice data sent by the first terminal device.
  • FIG. 5B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device can establish a Bluetooth connection with terminal device A and terminal device B respectively, terminal device A can support in-band ringtone mode, and terminal device B can support out-of-band ringtone mode.
  • terminal device A and terminal device B receive an incoming call (at this time, device A calls first, and terminal device B calls later)
  • the audio output device maintains the SCO link with terminal device A, and the audio output device mixes Play the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone.
  • terminal device A can send an answer command to the audio output device, and the audio output device can maintain the SCO link with terminal device A, and stop playing the locally stored incoming call prompt tone, and play it through the audio output device.
  • the call voice of terminal device A received by the SCO link between terminal devices A.
  • the first terminal device supports an out-of-band ringtone mode
  • the second terminal device supports an in-band ringtone mode.
  • the step of playing the first incoming call reminder audio according to the incoming call request includes: playing the second mixture of the ringtone audio data transmitted by the second terminal device and the locally stored prompt audio data according to the incoming call requests sent by the first terminal device and the second terminal device respectively audio data.
  • the audio output device may play the locally stored prompt audio data according to the incoming call request.
  • the audio output device receives the incoming call request sent by the second terminal device, it can establish a second voice transmission link with the second terminal device according to the incoming call request, and receive the voice call sent by the second terminal device through the second voice transmission link.
  • the ring tone audio data may play the second mixed audio data of the ring tone audio data sent by the second terminal device and the prompt audio data stored locally.
  • the audio output device may disconnect the second voice transmission link with the second terminal device to stop receiving the ringtone sent by the second terminal device audio data, and stop playing the prompt audio data stored locally, and the audio output device can perform voice data transmission with the first-end device.
  • the audio output device can establish a 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, and the audio output device can play the voice data sent by the first terminal device.
  • FIG. 5C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, terminal device A can support out-of-band ringtone mode, and terminal device B can support in-band ringtone mode.
  • terminal device A receives an incoming call, it can send an incoming call request to the audio output device. Since terminal device A supports the out-of-band ringtone mode, it will not send an SCO establishment request to the audio output device.
  • the audio output device can play the locally stored incoming call prompt tone according to the incoming call request sent by the terminal device A.
  • terminal device B When terminal device A is in the incoming call state, terminal device B also receives an incoming call, then terminal device B can also send an incoming call request to the audio output device. Since terminal device B supports in-band ringtone mode, it will send a request to the audio output device Send SCO establishment request.
  • the audio output device can establish an SCO link with the terminal device B according to the SCO establishment request, receive the ringtone sent by the terminal device B through the SCO link, and mix and play the ringtone of the terminal device B and the locally stored call prompt tone. If it is determined to answer the incoming call of terminal device A, terminal device A can send an answer command to the audio output device, and the audio output device can disconnect the SCO link with terminal device B after receiving the answer command, and stop receiving the terminal device.
  • the audio output device may maintain the second voice transmission link with the second terminal device, and communicate with the second terminal device through the second voice transmission link.
  • the second terminal device performs voice data transmission.
  • the audio output device may stop playing the prompt audio data stored locally, and play the voice data sent by the second terminal device.
  • FIG. 5D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, terminal device A can support out-of-band ringtone mode, and terminal device B can support in-band ringtone mode.
  • terminal device A and terminal device B receive an incoming call (at this time, device A calls first, and terminal device B calls later)
  • the audio output device establishes an SCO link with terminal device B, and the audio output device mixes and plays the terminal device B's incoming call ringtone and locally stored incoming call prompt tone.
  • terminal device B can send an answer command to the audio output device, and the audio output device can maintain the SCO link with terminal device B, and stop playing the locally stored incoming call prompt tone, and play through the audio output device.
  • the call voice of terminal device B received by the SCO link between terminal devices B.
  • the audio output device in the case where only one of the first terminal device and the second terminal device supports the in-band ringtone mode, can play the ringtone audio data transmitted by the terminal device supporting the inband ringtone mode Mix audio data with locally stored prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device , the audio output device no longer plays the incoming call reminder audio, which can provide users with a clearer call environment, improve the adverse impact of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
  • both the first terminal device and the second terminal device are terminal devices supporting an out-of-band ringtone mode.
  • the step of playing the first call reminder audio according to the incoming call request includes: playing the locally stored prompt audio data according to the incoming call requests respectively sent by the first terminal device and the second terminal device.
  • the audio output device receives incoming call requests sent by at least two terminal devices. If the at least two terminal devices are all terminal devices that support the out-of-band ringtone mode, the first incoming call reminder audio played by the audio output device may be a locally stored prompt audio data.
  • the at least two terminal devices that send incoming call requests to the audio output device may include a first terminal device and a second terminal device, and both the first terminal device and the second terminal device support the out-of-band ringtone mode.
  • the audio output device After the audio output device receives the incoming call request sent by the first terminal device, it can play the locally stored prompt audio data, and if it receives the incoming call request sent by the second terminal device, it can continue to play the locally stored prompt audio data.
  • the audio output device plays the locally stored prompt audio data after receiving the incoming call request sent by the first terminal device, which may be the same as the locally stored prompt audio data played after receiving the incoming call request sent by the second terminal device, It can also be different.
  • the audio output device can play the locally stored prompt audio data corresponding to the first terminal device according to the device information of the first terminal device; After the call request sent by the terminal device, it can play the locally stored prompt audio data corresponding to the second terminal device according to the device information of the second terminal device, or, after the audio output device receives the call request sent by the second terminal device, According to the device information of the second terminal device, locally stored prompt audio data corresponding to the second terminal device and locally stored prompt audio data corresponding to the first terminal device may be mixed and played.
  • only prompt audio A and prompt audio B may be stored in the audio output device, where prompt audio A is used to prompt only one terminal device to receive an incoming call, and prompt audio B is used to prompt that multiple terminal devices receive an incoming call
  • the audio output device can play prompt audio A after receiving the incoming call request sent by the first terminal device, and the audio output device can play prompt audio B after receiving the incoming call request sent by the second terminal device.
  • the audio output device may stop playing the locally stored prompt audio data, and establish a first voice transmission link with the first terminal device, and communicate with the first voice transmission link through the first voice transmission link.
  • a terminal device transmits voice data, and plays the voice data sent by the first terminal device.
  • the audio output device may stop playing the locally stored prompt audio data, and establish a second voice transmission link with the second terminal device, through which the second voice transmission link communicates with the second terminal device.
  • the second terminal device transmits voice data, and plays the voice data sent by the second terminal device.
  • FIG. 6 is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment.
  • the audio output device can respectively establish a Bluetooth connection with the terminal device A and the terminal device B, and both the terminal device A and the terminal device B can support the out-of-band ringtone mode.
  • terminal device A receives an incoming call, it can send an incoming call request to the audio output device. Since terminal device A supports the out-of-band ringtone mode, it will not send an SCO establishment request to the audio output device.
  • the audio output device plays the locally stored incoming call prompt tone according to the incoming call request sent by the terminal device A.
  • terminal device B When terminal device A handles the incoming call status, terminal device B receives an incoming call, and terminal device B can send an incoming call request to the audio output device. Since terminal device B also supports out-of-band ringtone mode, it will not send SCO to the audio output device. Create a request. The audio output device continues to play the locally stored call notification tone. If it is determined to answer the incoming call of terminal device B, terminal device B sends an answer command to the audio output device, and the audio output device can stop playing the locally stored incoming call prompt tone, and establish an SCO link with terminal device B, and receive the incoming call through the SCO link. The call voice sent by terminal device B, and play the call voice of terminal device B.
  • the solution of determining to answer the incoming call of terminal device A is similar to the solution of determining to answer the incoming call of terminal device B, and will not be repeated here.
  • the audio output device can play the locally stored prompt audio data to accurately remind the user that the first terminal device and the second terminal device All terminal devices receive incoming calls, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device will no longer play the incoming call reminder audio, which can provide users with a clearer call environment and improve the The incoming call reminder audio has a negative impact on the user in the process of answering the incoming call, which improves the user's call experience.
  • the above-mentioned incoming call processing method may further include: during the process of answering the incoming call corresponding to the target terminal device, if an incoming call request sent by the third terminal device is received, and the voice data sent by the target terminal device Mixed playback with locally stored cue audio data.
  • the audio output device receives incoming call requests sent by at least two terminal devices, and plays the first call reminder audio according to the incoming call request, and plays the voice data transmitted by the target terminal device if it is determined to answer the incoming call corresponding to the target terminal device. If during the process of answering the incoming call corresponding to the target terminal device, the third terminal device receives an incoming call, the third terminal device sends an incoming call request to the audio output device, and the third terminal device does not belong to the above-mentioned at least two terminal devices , the audio output device can mix and play the voice data sent by the target terminal device and the locally stored prompt audio data, so as to timely prompt the user that the third terminal device receives an incoming call.
  • FIG. 7 is a schematic diagram of a sequence diagram of receiving an incoming call request sent by a third terminal device during the process of answering an incoming call corresponding to a target terminal device in an embodiment.
  • the audio output device can respectively establish a Bluetooth connection with terminal device A, terminal device B, and terminal device C.
  • Terminal device A and terminal device B receive an incoming call at the same time period, and the audio output device plays the first incoming call prompt audio. If it is determined to answer the incoming call of terminal device B, the audio output device stops playing the first incoming call prompt audio and plays The call voice of terminal device B.
  • terminal device C If in the process of answering the incoming call of terminal device B, terminal device C receives an incoming call, it can send an incoming call request to the audio output device, and the audio output device can mix and play the call voice of terminal device B and the locally stored incoming call prompt tone .
  • the playback duration for mixing and playing the voice data sent by the target terminal device with the 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 to only play the voice data sent by the target terminal device.
  • the playback duration may be a preset fixed duration, or may be a duration adjusted according to the call priority of the third terminal device, for example, the third terminal device has a higher call priority, and the corresponding playback duration may be longer.
  • the audio output device can play the prompt audio data stored locally in time, so that the user can be informed of the new call in time.
  • the terminal equipment receives incoming calls and calls, increasing user stickiness.
  • the above-mentioned incoming call processing method may further include: when it is determined to answer the incoming call corresponding to the target terminal device, if there are other terminal devices that meet the prompt condition, continue to play the locally stored prompt audio data, and/or , do not send mute commands to other terminal devices that meet the prompt conditions.
  • the other terminal device may be a terminal device other than the target terminal device among at least two terminal devices that send an incoming call request to the audio output device.
  • the at least two terminal devices including the first terminal device and the second terminal device as an example, when it is determined to answer the incoming call corresponding to the first terminal device, if the second terminal device meets the prompt condition, then continue to play the locally stored prompt audio data , and/or, not sending the mute instruction to the second terminal device that meets the requirements.
  • the first terminal device meets the prompt condition, continue to play the locally stored prompt audio data, and/or not send a mute instruction to the first terminal device that meets the requirement.
  • the above prompt condition may include at least one of a distance from the audio output device greater than a first distance threshold, a call priority corresponding to an incoming call greater than a priority threshold, and the like. If there are other terminal devices whose call priority is greater than the priority threshold corresponding to the incoming call, it can continue to play the locally stored prompt audio data, and/or not send a mute command to other terminal devices that meet the prompt conditions, so as to prevent the user from missing the call. Important call.
  • the first The second distance threshold may be greater than the first distance threshold.
  • the audio output device stops playing the first call reminder audio, and plays the voice data transmitted by the first terminal device. Moreover, since the distance between the second terminal device and the audio output device is relatively far, the second terminal device will not cause too much impact on the user's conversation by playing the incoming call prompt tone through the loudspeaker. The device sends a mute command.
  • the incoming call prompt tone can be played through the speaker, which not only ensures that the user's call will not be affected, but also allows the user to know the incoming call situation of the second terminal device, further improving the user's call experience .
  • the above-mentioned audio output device may include an earphone device.
  • the locally stored prompt audio data may continue to be played, and /or, do not send mute instructions to other terminal devices.
  • the headset device is not worn, if it is determined to answer the incoming call corresponding to the target terminal device, the user may not be able to accurately know that multiple terminal devices receive incoming calls at the same time at the same time Therefore, the locally stored prompt audio data can continue to be played, and/or no mute command is sent to other terminal devices, so that the user can perceive that other terminal devices other than the target terminal device also receive incoming calls.
  • One or more sensors can be set on the earphone device, and the data collected by the sensors can be used to detect in real time whether the earphone device is in the wearing state.
  • the sensor may include, but not limited to, one or more of a light sensor, an attitude sensor, a distance sensor, a temperature sensor, a heart rate sensor, and the like.
  • the earphone device can obtain the ambient light brightness information of the earphone through the light sensor, and when it is detected that the ambient light brightness information is less than or equal to the brightness threshold, it is determined that the earphone device is in the wearing state; when it is detected that the ambient light brightness information is greater than the brightness threshold, Make sure that the headset device is not worn.
  • the earphone device can obtain the attitude information of the earphone through the attitude sensor. If the attitude information matches the attitude information when the earphone device is worn, it can be determined that the earphone device is in the wearing state. If the posture information does not match, it may be determined that the earphone device is in an unworn state, but not limited thereto.
  • the earphone device may stop playing the prompt audio data stored locally, and play the voice data sent by the target terminal device.
  • a mute command can also be sent to other terminal devices, which can prevent the incoming call prompt audio from adversely affecting the user's answering of the incoming call.
  • whether the audio output device sends a mute instruction to other terminal devices may be determined according to the distance between other terminal devices and the audio output device, for example, if the distance between other terminal devices and the audio output device is greater than the second distance threshold, then the mute command may not be sent to the other terminal device.
  • the above-mentioned incoming call processing method may further include: if receiving an incoming call request sent by any other terminal device after receiving the end instruction sent by the target terminal device to represent the end of the incoming call, playing The second incoming call reminding audio, the second incoming calling reminding audio is used to prompt any other terminal device to hold the incoming call.
  • the other terminal device is a terminal device other than the target terminal device among the at least two terminal devices.
  • the target terminal device may send an end instruction to the audio output device, and the end instruction is used to represent the end of the incoming call.
  • the audio output device After the audio output device receives the end instruction, it can disconnect the voice transmission link with the target terminal device, and send a notification signal to each other terminal device.
  • the notification signal can be used to notify each other terminal device that the audio output device is currently not connected. Perform audio data transfer.
  • other terminal devices After receiving the notification signal, other terminal devices may send a call request to the audio output device again if they are still in the incoming call state.
  • the audio output device can play the second incoming call reminder audio according to the incoming call request sent by other terminal devices.
  • the audio for the second incoming call reminder can be determined according to the number of other terminal devices that send incoming call requests again, and the ringtone modes supported by each other terminal device. If the number of other terminal devices that send the call request again is only one other terminal device, take the above-mentioned at least two terminal devices including the first terminal device and the second terminal device, and the target terminal device is the first terminal device as an example, if in When the first terminal device ends the incoming call and the second terminal device is still in the incoming call state, the second terminal device may send an incoming call request to the audio output device again. If the second terminal device supports the in-band ringtone mode, the second incoming call reminder 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 ringtone audio data sent by the second terminal device through the second voice transmission link, and play the ringtone audio data sent by the second terminal device.
  • the second incoming call reminder audio may be locally stored reminder audio data.
  • the audio output device can play the locally stored prompt audio data.
  • the number of other terminal devices that send the incoming call request again is multiple other terminal devices, it may be determined according to the ringtone modes supported by the multiple other terminal devices respectively. Any of the following situations may occur: at least two other terminal devices among the multiple other terminal devices support the in-band ringtone mode; among the multiple other terminal devices, only one other terminal device supports the in-band ringtone mode; The plurality of other terminal devices all support an out-of-band ringtone mode. It should be noted that the second call reminder audio in various situations may be similar to the first call reminder audio in various situations described in the above embodiments, and will not be repeated here.
  • the audio output device plays the second incoming call reminder audio, the user can choose whether to answer incoming calls from other terminal devices according to actual needs.
  • the audio output device can remind in time, which can prevent the user from forgetting the incoming call and meet the different needs of the user.
  • a method for processing incoming calls is provided, which can be 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 communicates with at least a second terminal device.
  • Establish a communication connection may include the steps of:
  • Step 810 If an incoming call is received, send an incoming call request to the audio output device, so that the audio output device will play the first call request according to the incoming call request when receiving the incoming call request sent by the first terminal device and the second terminal device respectively. Incoming call reminder audio.
  • Step 820 Enter the mute mode according to the mute instruction sent by the audio output device when the mute instruction is received when the audio output device determines to answer the incoming call corresponding to the second terminal device.
  • the silent mode is a mode in which the incoming call prompt tone is not played through the loudspeaker.
  • the first terminal device when the user is answering the incoming call corresponding to the second terminal device, the first terminal device is in silent mode, and does not play the incoming call prompt tone through the speaker, which can avoid the external incoming call prompt tone for the user's call adverse effects on the process.
  • an incoming call processing apparatus 900 is provided, which can be applied to the above-mentioned audio output device, and the audio output device establishes communication connections with multiple terminal devices.
  • the incoming call processing device 900 may include a request receiving module 910 , a playing module 920 and a data transmission module 930 .
  • the request receiving module 910 is configured to receive incoming call requests respectively sent by at least two terminal devices.
  • the playing module 920 is configured to play the first call reminder audio according to the incoming call request, and the first call reminder audio is used to prompt at least two terminal devices to receive the incoming call.
  • the playing module 920 is further configured to stop playing the first incoming call reminder audio data when it is determined to answer the incoming call corresponding to the target terminal device.
  • the data transmission module 930 is configured to perform voice data transmission with the target terminal equipment.
  • the playing module 920 is also used to play the voice data transmitted by the target terminal device.
  • the above-mentioned incoming call processing apparatus 900 further includes a mute module.
  • the mute module is used to send a mute command to each other terminal device if it is determined to answer the incoming call corresponding to the target terminal device.
  • the mute command is used to instruct other terminal devices to enter the mute mode.
  • Other terminal devices are at least two terminal devices except the target For terminal equipment other than terminal equipment, the silent mode is a mode in which the incoming call prompt tone is not played through the speaker.
  • the audio output device when the user answers the incoming call corresponding to the target terminal device, the audio output device will not play any incoming call reminder audio, but only play the voice data transmitted by the target terminal device, which can avoid the The situation that the user cannot clearly listen to the voice of the call can provide the user with a clearer call environment, and improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call. Furthermore, the audio output device can send a mute command to other terminal devices, so that other terminal devices do not play the incoming call prompt tone through the speaker, which can prevent the external incoming call prompt tone from causing adverse effects on the user's call process.
  • the at least two terminal devices include the first terminal device and the second terminal device and the target terminal device is the first terminal device or the second terminal device.
  • Both the first terminal device and the second terminal device support an in-band ringtone mode, wherein the inband ringtone mode refers to a mode in which the terminal device transmits ringtone audio data to an audio output device through a voice transmission link when receiving an incoming call.
  • the playing module 920 is further configured to play the 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 according to the incoming call requests sent by the first terminal device and the second terminal device respectively.
  • the playback module 920 is further configured to establish a first voice transmission link with the first terminal device after receiving the call request sent by the first terminal device and before receiving the call request sent by the second terminal device and receive the ringtone audio data sent by the first terminal device through the first voice transmission link; and play the ringtone audio data sent by the first terminal device.
  • the playing module 920 is further configured to: if the second terminal device cannot successfully preempt the audio output device, the audio output device plays the first mixture of the ringtone audio data sent by the first terminal device and the locally stored prompt audio data. Audio data; and 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; through the second voice transmission link The channel receives the ringtone audio data sent by the second terminal device, and plays the second mixed audio data of the ringtone audio data sent by the second terminal device and the prompt audio data stored locally.
  • the playback module 920 is further configured to disconnect the second terminal device from the first terminal device if it is determined to answer the incoming call corresponding to the second terminal device, and the first incoming call reminder audio is the first mixed audio data.
  • the data transmission module 930 is also configured to perform voice data transmission with the second terminal device.
  • the playback module 920 is further configured to disconnect the second terminal device from the second terminal device if it is determined to answer the incoming call corresponding to the first terminal device, and the first incoming call reminder audio is the second mixed audio data. 2.
  • the audio transmission link is used to stop receiving the ring tone audio data sent by the second terminal device, and stop playing the prompt audio data stored locally.
  • the data transmission module 930 is also configured to perform voice data transmission with the first terminal device.
  • the audio output device when both the first terminal device and the second terminal device support the in-band ringtone mode, can play the ringtone audio data transmitted by the first terminal device or the second terminal device and the locally stored ringtone audio data.
  • the mixed audio data of the prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device No longer playing the incoming call reminder audio, can provide the user with a clearer call environment, improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
  • 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
  • the second terminal device The out-of-band ringtone mode is supported; the out-of-band ringtone mode refers to a mode in which the terminal device does not transmit ringtone audio data to the audio output device through the voice transmission link when receiving an incoming call.
  • the playing module 920 is further configured to play the first mixed audio data of the ring tone audio data transmitted by the first terminal device and the prompt audio data stored locally according to the incoming call requests respectively sent by the first terminal device and the second terminal device.
  • the playback module 920 is further configured to establish a first voice transmission link with the first terminal device after receiving the call request sent by the first terminal device and before receiving the call request sent by the second terminal device and receive the 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 call request sent by the second terminal device, according to the first
  • the incoming call requests sent by the first terminal device and the second terminal device respectively play the first mixed audio data of the ringtone audio data transmitted by the first terminal device and the prompt audio data stored locally.
  • the playback module 920 is further configured to disconnect the first voice transmission link with the first terminal device if it is determined to answer the incoming call corresponding to the second terminal device, so as to stop receiving the call from the first terminal device. Send the ringtone audio data and stop playing the prompt audio data stored locally.
  • the data transmission module 930 is also configured to perform voice data transmission with the second terminal device.
  • the playing module 920 is further configured to play the voice data transmitted by the second terminal device.
  • the playing module 920 is further configured to stop playing the locally stored prompt audio data and maintain the first voice transmission link if it is determined to answer the incoming call corresponding to the first terminal device.
  • the data transmission module 930 is further configured to perform voice data transmission with the first terminal device through the first voice transmission link.
  • the playing module 920 is further configured to play the voice data transmitted by the first terminal device.
  • the first terminal device supports the out-of-band ringtone mode
  • the second terminal device supports the in-band ringtone mode.
  • the playing module 920 is also used to play the prompt audio data stored locally after receiving the incoming call request sent by the first terminal device and before receiving the incoming call request sent by the second terminal device;
  • the device sends an incoming call request establish a second voice transmission link with the second terminal device according to the incoming call request, and receive the ringtone audio data sent by the second terminal device through the second voice transmission link; play the ringtone sent by the second terminal device Second mixed audio data of the audio data and the locally stored prompt audio data.
  • the audio output device in the case where only one of the first terminal device and the second terminal device supports the in-band ringtone mode, can play the ringtone audio data transmitted by the terminal device supporting the inband ringtone mode Mix audio data with locally stored prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device , the audio output device no longer plays the incoming call reminder audio, which can provide users with a clearer call environment, improve the adverse impact of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
  • the at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is the first terminal device or the second terminal device. Both the first terminal device and the second terminal device are terminal devices supporting the out-of-band ringtone mode.
  • the playing module 920 is further configured to play the locally stored prompt audio data according to the incoming call requests respectively sent by the first terminal device and the second terminal device.
  • the audio output device can play the locally stored prompt audio data to accurately remind the user that the first terminal device and the second terminal device All terminal devices receive incoming calls, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device will no longer play the incoming call reminder audio, which can provide users with a clearer call environment and improve the The incoming call reminder audio has a negative impact on the user in the process of answering the incoming call, which improves the user's call experience.
  • the playback module 920 is also configured to, during the process of answering the incoming call corresponding to the target terminal device, if an incoming call request sent by the third terminal device is received, and the voice data sent by the target terminal device is stored locally. The cue audio data is mixed and played.
  • the third terminal device does not belong to the above at least two terminal devices.
  • the playback module 920 is also used to continue to play the locally stored prompt audio data if there are other terminal devices that meet the prompt condition when it is determined to answer the incoming call corresponding to the target terminal device; and/or, the mute module No mute command is sent to other terminal devices that meet the prompt conditions.
  • the other terminal devices are terminal devices other than the target terminal device among the at least two terminal devices.
  • the prompting condition includes at least one of a distance from the audio output device greater than a first distance threshold, and a call priority corresponding to an incoming call greater than a priority threshold.
  • the playing module 920 is also used to stop playing the first incoming call reminder audio if the distance between other terminal devices and the audio output device is greater than the second distance threshold, and the mute module does not send the sound to the audio output device at a distance greater than the second distance threshold.
  • Other terminal devices within the distance threshold send mute instructions, and the second distance threshold is greater than the first distance threshold.
  • the playing module 920 is further configured to play the second incoming call request if receiving an incoming call request sent by any other terminal device after receiving the end instruction sent by the target terminal device to represent the end of the incoming call.
  • the reminder audio, the second incoming call reminder audio is used to prompt any other terminal device to hold the incoming call; wherein, the other terminal device is a terminal device other than the target terminal device among the at least two terminal devices.
  • the audio output device can remind in time, which can prevent the user from forgetting the incoming call and meet the different needs of the user.
  • an incoming call processing apparatus 1000 is provided, which is 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 at least a second terminal device. communication connection.
  • the incoming call processing device 1000 includes a request sending module 1010 and a mute module 1020 .
  • the request sending module 1010 is configured to send an incoming call request to the audio output device if an incoming call is received, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively. Requesting to play the first call reminder audio, the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call.
  • the mute module 1020 is used to enter the mute mode according to the mute command if the mute command sent by the audio output device is received.
  • the mute mode is a mode in which the call prompt tone is not played through the speaker; the mute command is that the audio output device determines to answer the second terminal Sent in case of an incoming call corresponding to the device.
  • the first terminal device when the user is answering the incoming call corresponding to the second terminal device, the first terminal device is in silent mode, and does not play the incoming call prompt tone through the speaker, which can avoid the external incoming call prompt tone for the user's call adverse effects on the process.
  • FIG. 11 is a structural block diagram of an electronic device in one embodiment.
  • an electronic device 1100 may include one or more of the following components: a processor 1110, a memory 1120 coupled to the processor 1110, wherein the memory 1120 may store one or more computer programs, one or more computer programs It may be configured to be executed by one or more processors 1110 to implement the incoming call processing method applied to the audio output device as described in the foregoing embodiments.
  • Processor 1110 may include one or more processing cores.
  • the processor 1110 uses various interfaces and lines to connect various parts of the entire electronic device 1100, and executes or executes instructions, programs, code sets or instruction sets stored in the memory 1120, and calls data stored in the memory 1120 to execute Various functions of the electronic device 1100 and processing data.
  • the processor 1110 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used to render and draw the displayed content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1110, but may be realized by a communication chip alone.
  • the memory 1120 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory, ROM).
  • the memory 1120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 1120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the foregoing method embodiments, and the like.
  • the storage data area can also store data created by the electronic device 1100 during use, and the like.
  • the electronic device 1100 can also include a Bluetooth module, which can be used to provide a Bluetooth communication function, establish a Bluetooth connection with other electronic devices, and perform Bluetooth data transmission.
  • the bluetooth module can support one or more bluetooth protocols, such as classic bluetooth, BLE, etc.), but not limited thereto, and can change with the development of bluetooth protocols.
  • the electronic device 1100 may include more or less structural elements than those in the above structural block diagrams, for example, including a power module, physical keys, sensors, etc., which are not limited here.
  • the embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein, when the computer program is executed by a processor, the method for processing an incoming call applied to an audio output device as described in the foregoing embodiments is implemented.
  • the embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the application as described in the above-mentioned embodiments can be implemented.
  • the incoming call processing method of the audio output device includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the application as described in the above-mentioned embodiments can be implemented.
  • an electronic device the electronic device includes a memory and a processor, and a computer program is stored in the memory, and when the computer program is executed by the processor, the processor realizes the above described in each embodiment.
  • the embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein when the computer program is executed by a processor, the method for processing an incoming call applied to a first terminal device as described in the foregoing embodiments is implemented.
  • the embodiment of the present application discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the application as described in the above-mentioned embodiments can be realized.
  • a method for processing incoming calls of a terminal device includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the application as described in the above-mentioned embodiments can be realized.
  • the processes in the methods of the above embodiments can be realized through computer programs to instruct related hardware, and the programs can be stored in a non-volatile computer-readable storage medium When the program is executed, it may include the processes of the embodiments of the above-mentioned methods.
  • the storage medium may be a magnetic disk, an optical disk, a ROM, or the like.
  • Non-volatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (Erasable PROM, EPROM), Electrically Erasable PROM (Electrically Erasable PROM, EEPROM) or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as external cache memory.
  • RAM can take many forms, such as static RAM (Static RAM, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (synchronous DRAM, SDRAM), double data rate SDRAM (Double data rate Data Rate SDRAM, DDR SDRAM), enhanced SDRAM (Enhanced Synchronous DRAM, ESDRAM), synchronous link DRAM (Synchlink DRAM, SLDRAM), memory bus direct RAM (Rambus DRAM, RDRAM) and direct memory bus dynamic RAM (Direct Rambus DRAM) , DRDRAM).
  • static RAM Static RAM, SRAM
  • dynamic RAM Dynamic Random Access Memory
  • SDRAM synchronous DRAM
  • double data rate SDRAM Double data rate Data Rate SDRAM, DDR SDRAM
  • enhanced SDRAM Enhanced Synchronous DRAM, ESDRAM
  • synchronous link DRAM Synchlink DRAM, SLDRAM
  • memory bus direct RAM Rabus DRAM, RDRAM
  • Direct Rambus DRAM Direct Rambus DRAM
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, located in one place, or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

Abstract

Disclosed in embodiments of the present application are an incoming call processing method and apparatus, an electronic device, and a storage medium. The method is applied to an audio output device, and the audio output device establishes communicational connections with a plurality of terminal devices. The method comprises: receiving incoming call requests respectively sent by at least two terminal devices, and playing a first incoming call reminding audio according to the incoming call requests, the first incoming call reminding audio being used for prompting that the at least two terminal devices have received incoming calls; and if it is determined that the incoming call corresponding to a target terminal device is to be answered, stopping playing the first incoming call reminding audio, performing voice data transmission with the target terminal device, and playing voice data transmitted by the target terminal device. According to the incoming call processing method and apparatus, the electronic device, and the storage medium, a clearer call environment can be provided for a user, and adverse effects caused by an incoming call reminding audio to the user in the process of answering an incoming call are alleviated.

Description

来电处理方法、装置、电子设备及存储介质Incoming call processing method, device, electronic device and storage medium
本申请要求于2021年12月14日提交、申请号为202111532141.4、发明名称为“来电处理方法、This application is required to be submitted on December 14, 2021, the application number is 202111532141.4, and the title of the invention is "Incoming call processing method, 装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。device, electronic equipment and storage medium", the entire content of which is incorporated in this application by reference.
技术领域technical field
本申请涉及通信技术领域,具体涉及一种来电处理方法、装置、电子设备及存储介质。The present application relates to the technical field of communications, and in particular to a method, device, electronic device and storage medium for processing incoming calls.
背景技术Background technique
蓝牙是一种支持设备短距离通信的无线电技术,能够实现在多个支持蓝牙传输的电子设备之间的无线信息交换,使得电子设备之间的数据传输更加迅速和高效。目前,市面上出现了许多能够支持同时与多个终端设备建立蓝牙连接的音频输出设备,在终端设备接收到来电通话时,音频输出设备会进行相应的提醒,但音频输出设备提醒终端设备接收到来电通话的方式还需要进一步优化。Bluetooth is a radio technology that supports short-distance communication between devices. It can realize wireless information exchange between multiple electronic devices that support Bluetooth transmission, making data transmission between electronic devices faster and more efficient. At present, there are many audio output devices on the market that can support the establishment of Bluetooth connections with multiple terminal devices at the same time. When the terminal device receives an incoming call, the audio output device will give a corresponding reminder. The way of calling calls still needs to be further optimized.
发明内容Contents of the invention
本申请实施例公开了一种来电处理方法、装置、电子设备及存储介质。The embodiment of the present application discloses an incoming call processing method, device, electronic equipment, and storage medium.
本申请实施例公开了一种来电处理方法,应用于音频输出设备,所述音频输出设备与多个终端设备建立通信连接;所述方法包括:The embodiment of the present application discloses a method for processing an incoming call, which is applied to an audio output device, and the audio output device establishes a communication connection with a plurality of terminal devices; the method includes:
接收至少两个终端设备分别发送的来电请求,并根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述至少两个终端设备接收到来电通话;receiving incoming call requests respectively sent by at least two terminal devices, and playing a first incoming call reminder audio according to the incoming call requests, where the first incoming call reminding audio is used to prompt the at least two terminal devices to receive incoming calls;
若确定接听目标终端设备对应的来电通话,则停止播放所述第一来电提醒音频,并与所述目标终端设备进行语音数据传输,播放所述目标终端设备传输的语音数据。If it is determined to answer the incoming call corresponding to the target terminal device, stop playing the first call reminder audio, and perform voice data transmission with the target terminal device, and play the voice data transmitted by the target terminal device.
本申请实施例公开了一种来电处理方法,应用于第一终端设备,所述第一终端设备与音频输出设备建立通信连接,所述音频输出设备还至少与第二终端设备建立通信连接;所述方法包括:The embodiment of the present application discloses a method for processing incoming calls, which is 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 methods described include:
若接收到来电通话,则向所述音频输出设备发送来电请求,以使所述音频输出设备在接收到所述第一终端设备及第二终端设备分别发送的来电请求的情况下,根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述第一终端设备及第二终端设备接收到来电通话;If an incoming call is received, an incoming call request is sent to the audio output device, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively, according to the An incoming call requests to play a first call reminder audio, and the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call;
若接收到所述音频输出设备发送的静音指令,则根据所述静音指令进入静音模式,所述静音模式为不通过扬声器播放来电提示音的模式;所述静音指令为所述音频输出设备在确定接听所述第二终端设备对应的来电通话的情况下发送的。If the mute command sent by the audio output device is received, enter the mute mode according to the mute command, the mute mode is a mode in which the call prompt tone is not played through the loudspeaker; the mute command is determined by the audio output device It is sent when the incoming call corresponding to the second terminal device is answered.
本申请实施例公开了一种来电处理装置,应用于音频输出设备,所述音频输出设备与多个终端设备建立通信连接;所述装置包括:The embodiment of the present application discloses an incoming call processing device, which is applied to an audio output device, and the audio output device establishes a communication connection with a plurality of terminal devices; the device includes:
请求接收模块,用于接收至少两个终端设备分别发送的来电请求;a request receiving module, configured to receive incoming call requests sent by at least two terminal devices;
播放模块,用于根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述至少两个终端设备接收到来电通话;A playing module, configured to play a first call reminder audio according to the incoming call request, and the first call reminder audio is used to prompt the at least two terminal devices to receive an incoming call;
所述播放模块,还用于在确定接听目标终端设备对应的来电通话时,停止播放所述第一来电提醒音频数据;The playing module is further configured to stop playing the first incoming call reminder audio data when it is determined to answer the incoming call corresponding to the target terminal device;
数据传输模块,用于与所述目标终端设备进行语音数据传输;A data transmission module, configured to transmit voice data with the target terminal device;
所述播放模块,还用于播放所述目标终端设备传输的语音数据。The playing module is also used to play the voice data transmitted by the target terminal equipment.
本申请实施例公开了一种来电处理装置,应用于第一终端设备,所述第一终端设备与音频输出设备建立通信连接,所述音频输出设备还至少与第二终端设备建立通信连接;所述装置包括:The embodiment of the present application discloses an incoming call processing device, which is applied to a first terminal device, and 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; Said devices include:
请求发送模块,用于若接收到来电通话,则向所述音频输出设备发送来电请求,以使所述音频输出设备在接收到所述第一终端设备及第二终端设备分别发送的来电请求的情况下,根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述第一终端设备及第二终端设备接收到来电通话;The request sending module is configured to send an incoming call request to the audio output device if an incoming call is received, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively In this case, playing a first call reminder audio according to the incoming call request, the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call;
静音模块,用于若接收到所述音频输出设备发送的静音指令,则根据所述静音指令进入静音模式,所述静音模式为不通过扬声器播放来电提示音的模式;所述静音指令为所述音频输出设备在确定接听所述第二终端设备对应的来电通话的情况下发送的。The mute module is configured to enter a mute mode according to the mute command if the mute command sent by the audio output device is received, and the mute mode is a mode in which an incoming call prompt tone is not played through a loudspeaker; the mute command is the The audio output device sends it when it determines to answer the incoming call corresponding to the second terminal device.
本申请实施例公开了一种电子设备,包括存储有可执行程序代码的存储器,以及与所述存储器耦合的处理器;其中,所述处理器调用所述存储器中存储的所述可执行程序代码,执行如上任一所述的方法。The embodiment of the present application discloses an electronic device, including a memory storing executable program codes, and a processor coupled to the memory; wherein, the processor invokes the executable program codes stored in the memory , execute any of the methods described above.
本申请实施例公开了一种计算机可读存储介质,其存储有计算机程序,所述计算机程序被处理器执行时实现如上任一所述的方法。The embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, any method described above is implemented.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1为一个实施例中来电处理方法的应用场景图;Fig. 1 is an application scenario diagram of an incoming call processing method in an embodiment;
图2为一个实施例中来电处理方法的流程图;Fig. 2 is a flow chart of the incoming call processing method in one embodiment;
图3为一个实施例中来电处理方法的时序示意图;FIG. 3 is a schematic diagram of the sequence of an incoming call processing method in an embodiment;
图4A为一个实施例中音频输出设备播放第一来电提示音频的时序图;FIG. 4A is a timing diagram of the audio output device playing the first incoming call prompt audio in one embodiment;
图4B为一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 4B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in one embodiment;
图4C为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 4C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图4D为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 4D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图4E为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 4E is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图5A为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 5A is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图5B为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 5B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图5C为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 5C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图5D为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;5D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图6为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图;FIG. 6 is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment;
图7为一个实施例中在接听目标终端设备对应的来电通话的过程中,接收到第三终端设备发送的来电请求的时序示意图;FIG. 7 is a schematic diagram of a sequence diagram of receiving an incoming call request sent by a third terminal device during the process of answering an incoming call corresponding to a target terminal device in an embodiment;
图8为另一个实施例中来电处理方法的流程图;FIG. 8 is a flowchart of an incoming call processing method in another embodiment;
图9为一个实施例中来电处理装置的框图;Fig. 9 is a block diagram of an incoming call processing device in an embodiment;
图10为另一个实施例中来电处理装置的框图;Fig. 10 is a block diagram of an incoming call processing device in another embodiment;
图11为一个实施例中电子设备的结构框图。Fig. 11 is a structural block diagram of an electronic device in an embodiment.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some, not all, embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
需要说明的是,本申请实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application and the drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一终端设备称为第二终端设备,且类似地,可将第二终端设备称为第一终端设备。第一终端设备和第二终端设备两者都是终端设备,但其不是同一终端设备。另外,需要说明的是,本申请实施例中所使用的术语“多个”等指的是两个或两个以上。需要说明的是,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It can be understood that the terms "first", "second" and the like used in this application may be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first terminal device could be termed a second terminal device, and, similarly, a second terminal device could be termed a first terminal device, without departing from the scope of the present application. Both the first terminal device and the second terminal device are terminal devices, but they are not the same terminal device. In addition, it should be noted that the term "plurality" and the like used in the embodiments of the present application refer to two or more. It should be noted that the term "and/or" in this article is only an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, and A exists at the same time and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.
图1为一个实施例中来电处理方法的应用场景图。如图1所示,音频输出设备10可与多个终端设备(如图1中的第一终端设备20及第二终端设备30)建立蓝牙连接,该音频输出设备10可以是具备蓝牙通信功能及音频播放功能的各类电子设备,例如,蓝牙耳机、蓝牙音箱,也可以是智能手表等终端设备,进一步地,该音频输出设备10可以是TWS(True Wireless Stereo,真无线立体声)耳机。第一终端设备10及第二终端设备20可包括但不限于手机、智能可穿戴设备、车载终端、平板电脑、PC(Personal Computer,个人电脑)、PDA(Personal Digital Assistant,个人数字助理)等。进一步地,第一终端设备20及第二终端设备30可以是能够接入到无线网络并进行通信业务的设备,第一终端设备20及第二终端设备30中可设置有SIM(Subscriber Identification Module,用户身份识别模块)卡,并通过该SIM卡接入第四代(4th generation,4G)、第五代(5th generation,5G)等无线网络,实现接听来电、去电呼叫等通话业务。FIG. 1 is an application scenario diagram of a method for processing an incoming call in an embodiment. As shown in Figure 1, the audio output device 10 can establish a Bluetooth connection with multiple terminal devices (such as the first terminal device 20 and the second terminal device 30 in Figure 1), and the audio output device 10 can have a Bluetooth communication function and Various electronic devices with audio playback function, for example, bluetooth earphones, bluetooth speakers, and terminal equipment such as smart watches. Further, the audio output device 10 can be TWS (True Wireless Stereo, true wireless stereo) earphones. The first terminal device 10 and the second terminal device 20 may include, but are not limited to, mobile phones, smart wearable devices, vehicle-mounted terminals, tablet computers, PCs (Personal Computers, personal computers), PDAs (Personal Digital Assistants, personal digital assistants) and the like. Further, the first terminal device 20 and the second terminal device 30 may be devices capable of accessing a wireless network and performing communication services, and the first terminal device 20 and the second terminal device 30 may be provided with a SIM (Subscriber Identification Module, Subscriber Identity Module) card, and through the SIM card to access the fourth generation (4th generation, 4G), fifth generation (5th generation, 5G) and other wireless networks, to achieve call services such as answering incoming calls and outgoing calls.
上述的蓝牙连接可以是基于经典蓝牙协议(例如,由蓝牙技术联盟Bluetooth SIG制定的蓝牙4.0等版本的协议)实现的,也可以基于蓝牙低功耗(Bluetooth Low Energy,BLE)协议(例如蓝牙5.0等 版本的协议)实现的,还可以是基于LE Aduio相关蓝牙协议实现的。在此不作限定,可随着蓝牙协议的发展而变化。示例的,蓝牙连接可以包括基于经典蓝牙协议建立的通信链路;蓝牙连接可以包括基于BLE蓝牙协议建立的通信链路;蓝牙连接可以包括基于LE Aduio蓝牙协议建立的通信链路。The above-mentioned bluetooth connection can be realized based on the classic bluetooth protocol (for example, bluetooth 4.0 and other versions established by the bluetooth technology alliance bluetooth and other versions of the protocol), it can also be realized based on the LE Aduio related Bluetooth protocol. It is not limited here, and may change with the development of the Bluetooth protocol. For example, the Bluetooth connection may include a communication link established based on the classic Bluetooth protocol; the Bluetooth connection may include a communication link established based on the BLE Bluetooth protocol; and the Bluetooth connection may include a communication link established based on the LE Aduio Bluetooth protocol.
在相关的技术中,若音频输出设备10在同一时间段接收到至少两个终端设备发送的来电请求,如音频输出设备10接收到第一终端设备20发送的来电请求,并在未确定接听第一终端设备20的来电通话时又接收到第二终端设备30发送的来电请求,第一终端设备20与第二终端设备30同时有来电通话业务,则音频输出设备10会播放来电提醒音频,以提示用户第一终端设备20与第二终端设备30均接收到来电通话。在用户确定接听其中任一终端设备(如第一终端设备20)的来电通话之后,音频输出设备10还会继续播放来电提醒音频,用于提醒用户还存在其它终端设备(如第二终端设备30)存在来电通话,用户受到来电提醒音频的影响,可能无法清晰地收听通话语音,对用户在接听来电通话的过程中造成了不良的影响。In related technologies, if the audio output device 10 receives incoming call requests sent by at least two terminal devices at the same time period, for example, the audio output device 10 receives the incoming call request sent by the first terminal device 20, and the audio output device 10 receives the incoming call request sent by the first terminal device 20. When a terminal device 20 receives a call request from the second terminal device 30 during an incoming call, and the first terminal device 20 and the second terminal device 30 have an incoming call service at the same time, the audio output device 10 will play the incoming call reminder audio to The user is reminded that both the first terminal device 20 and the second terminal device 30 receive an incoming call. After the user determines to answer the incoming call of any terminal device (such as the first terminal device 20), the audio output device 10 will continue to play the incoming call reminder audio to remind the user that there are other terminal devices (such as the second terminal device 30). ) There is an incoming call, and the user may not be able to clearly listen to the call voice due to the influence of the incoming call reminder audio, which has a negative impact on the user in the process of answering the incoming call.
在本申请实施例中,在音频输出设备10接收到至少两个终端设备(如上述的第一终端设备20及第二终端设备30)分别发送的来电请求的情况下,音频输出设备10根据该来电请求播放第一来电提醒音频,该第一来电提醒音频用于提示至少两个终端设备接收到来电通话。若确定其中一终端设备作为目标终端设备,并接听该目标终端设备对应的来电通话,则音频输出设备10停止播放该第一来电提醒音频,并与目标终端设备进行语音数据传输,且播放该语音数据。在用户接听目标终端设备对应的来电通话的过程中,音频输出设备10不会播放任一来电提醒音频,而仅播放目标终端设备传输的语音数据(此处的“仅”是相对而言的,并不是绝对意义的),可避免因来电提醒音频导致用户无法清晰地收听通话语音的情况,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响。In this embodiment of the application, when the audio output device 10 receives incoming call requests sent by 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 The incoming call requests to play the first incoming call alert audio, and the first incoming call alert audio is used to prompt at least two terminal devices to receive the incoming call. If it is determined that one of the terminal devices is the target terminal device and answers the incoming call corresponding to the target terminal device, the audio output device 10 stops playing the first incoming call reminder audio, and transmits voice data with the target terminal device, and plays the voice data. During the process of the user answering the incoming call corresponding to the target terminal device, the audio output device 10 will not play any incoming call reminder audio, but only play the voice data transmitted by the target terminal device ("only" here is relative, It is not absolute meaning), which can avoid the situation that the user cannot clearly listen to the voice of the call due to the incoming call reminder audio, can provide the user with a clearer call environment, and improves the effect of the incoming call reminder audio on the user during the process of answering the incoming call. adverse effects.
需要说明的是,图1仅示出了音频输出设备10支持蓝牙“一拖二”的场景,即仅示出了音频输出设备10与两个终端设备建立蓝牙连接的场景,而音频输出设备10还可与更多的终端设备建立蓝牙连接,如音频输出设备10能够支持蓝牙“一拖三”、“一拖四”等,本申请实施例对此不作限定。It should be noted that FIG. 1 only shows the scenario where the audio output device 10 supports Bluetooth "one-to-two", that is, only shows the scenario where the audio output device 10 establishes a Bluetooth connection with two terminal devices, and the audio output device 10 Bluetooth connections can also be established with more terminal devices. For example, the audio output device 10 can support Bluetooth "one for three", "one for four", etc., which is not limited in this embodiment of the present application.
如图2所示,在一个实施例中,提供一种来电控制方法,可应用于上述的音频输出设备,该方法可包括以下步骤:As shown in FIG. 2, in one embodiment, a method for controlling an incoming call is provided, which can be applied to the above-mentioned audio output device, and the method may include the following steps:
步骤210,接收至少两个终端设备分别发送的来电请求,并根据来电请求播放第一来电提醒音频,该第一来电提醒音频用于提示至少两个终端设备接收到来电通话。Step 210: Receive incoming call requests respectively sent by at least two terminal devices, and play a first incoming call reminder audio according to the incoming call request, where the first incoming call reminder audio is used to prompt at least two terminal devices to receive an incoming call.
音频输出设备支持蓝牙“一拖多”功能,能够支持同时与多个终端设备建立蓝牙连接,也即音频输出设备能够同时与N个终端设备保持蓝牙连接,该N为大于或等于2的整数,例如2、3、4等,但不限于此。The audio output device supports the Bluetooth "one-to-many" function, and can support the establishment of Bluetooth connections with multiple terminal devices at the same time, that is, the audio output device can maintain Bluetooth connections with N terminal devices at the same time, where N is an integer greater than or equal to 2, For example, 2, 3, 4, etc., but not limited thereto.
音频输出设备可与多个终端设备建立通信连接,该通信连接可包括但不限于蓝牙连接等。示例的,蓝牙连接包括异步链路(asynchronous connection oriented link,ACL)连接。终端设备可接入到4G、5G等无线网络并实现通话功能,该通话功能可包括但不限于接听来电,去电呼叫等功能。在任一终端设备进行通话时,音频输出设备可通过与该终端设备之间的蓝牙连接,与该终端设备进行语音数据传输,以实现在音频输出设备上进行通话的功能。可选地,音频输出设备可基于蓝牙的通话协议实现通话功能,该通话协议可包括但不限于HFP(Hands-free Profile)协议等,其中,HFP协议是一种用于蓝牙设备之间进行通话控制的蓝牙协议。The audio output device may establish a communication connection with multiple terminal devices, and the communication connection may include but not limited to a Bluetooth connection and the like. Exemplarily, the Bluetooth connection includes an asynchronous connection oriented link (ACL) connection. The terminal equipment can be connected to wireless networks such as 4G and 5G and realize the calling function, which may include but not limited to answering incoming calls, outgoing calls and other functions. When any terminal device is in a call, the audio output device can perform voice data transmission with the terminal device through the Bluetooth connection between the terminal device, so as to realize the function of talking on the audio output device. Optionally, the audio output device can implement a call function based on a bluetooth call protocol, which can include but not limited to the HFP (Hands-free Profile) protocol, etc., wherein the HFP protocol is a protocol for calling between bluetooth devices. Controlled Bluetooth protocol.
在任一终端设备接收到来电通话时,可向音频输出设备发送来电请求。该来电请求可用于通知音频输出设备接收到来电通话。例如,来电请求可包括AT指令“+CIEV:(callsetup=1)”,该AT指令可于表示电话建立过程,即通知音频输出设备有来电通话。When any terminal device receives an incoming call, it can send an incoming call request to the audio output device. The incoming call request can be used to notify the audio output device of receiving an incoming call. For example, the incoming call request may include an AT command "+CIEV: (callsetup=1)". The AT command may be used to indicate the call setup process, that is, to notify the audio output device that there is an incoming call.
音频输出设备接收至少两个终端设备分别发送的来电请求,可指的是音频输出设备在接收到一终端设备发送的来电请求,但还未确定接听该终端设备的来电通话时,又接收到另一终端设备发送的来电请求,也即有至少两个终端设备均处于接收到来电通话,且均没有接听任一来电通话。The audio output device receives incoming call requests sent by at least two terminal devices respectively, which may mean that the audio output device receives another incoming call request sent by a terminal device but has not yet determined to answer the incoming call of the terminal device. An incoming call request sent by a terminal device, that is, at least two terminal devices are receiving incoming calls, and neither of them is answering any incoming call.
音频输出设备可根据至少两个终端设备分别发送的来电请求,播放第一来电提醒音频,该第一来电提醒音频指的是用于提示用户该至少两个终端设备接收到来电通话的音频数据。在一些实施例中,第一来电提醒音频可与用于提示用户单个终端设备接收到来电通话的音频数据不同,例如,第一来电提醒音频可以是本地存储的提示音频数据与任一终端设备发送的铃声音频数据的混合音频数据,在仅单个终端设备接收到来电通话时,音频输出设备可仅输出该终端设备发送的铃声音频数据或本地存储的提示音频数据。在一些实施例中,第一来电提醒音频也可与用于提示用户单个终端设备接收到来电通话的音频数据相同,例如,均可以是本地存储的提示音频数据。The audio output device can play the first call reminder audio according to the incoming call requests respectively sent by the at least two terminal devices. The first call reminder audio refers to the audio data used to remind the user that the at least two terminal devices receive an incoming call. In some embodiments, the first incoming call reminder audio may be different from the audio data used to remind the user that a single terminal device receives an incoming call. For example, the first incoming call reminder audio may be locally stored prompt audio data sent to any terminal device When only a single terminal device receives an incoming call, the audio output device may only output the ringtone audio data sent by the terminal device or the prompt audio data stored locally. In some embodiments, the first incoming call reminder audio may also be the same as the audio data used to prompt the user that a single terminal device receives an incoming call, for example, both may be locally stored prompt audio data.
作为一种实施方式,第一来电提醒音频可根据发送来电请求的各个终端设备所支持的铃声模式进行 确定,该铃声模式可包括带内铃声模式及带外铃声模式中的任一种,其中,带内铃声模式指的是终端设备接收到来电通话时,通过语音传输链路向音频输出设备传输铃声音频数据的模式,带外铃声模式指的是终端设备接收到来电通话时,不会通过语音传输链路向音频输出设备传输铃声音频数据的模式。该语音传输链路可包括同步定向链接(Synchronous Connection Oriented,SCO)链路等能够满足高时效性的物理链路。具体的确定第一来电提醒音频的方式可在后续的实施例中进行介绍。As an implementation, the first incoming call reminder audio can be determined according to the ringtone mode supported by each terminal device sending the incoming call request, and the ringtone mode can include any one of the in-band ringtone mode and the out-of-band ringtone mode, wherein, The 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 the terminal device receives an incoming call. The mode in which the transport link transmits ringtone audio data to the audio output device. The voice transmission link may include a physical link capable of meeting high timeliness, such as a Synchronous Connection Oriented (SCO) link. The specific manner of determining the audio of the first incoming call reminder may be introduced in subsequent embodiments.
步骤220,若确定接听目标终端设备对应的来电通话,则停止播放第一来电提醒音频,并与目标终端设备进行语音数据传输,播放目标终端设备传输的语音数据。 Step 220, if it is determined to answer the incoming call corresponding to the target terminal device, stop playing the first call reminder audio, and perform voice data transmission with the target terminal device, and play the voice data transmitted by the target terminal device.
在一些实施例中,根据任一终端设备发送的来电通话请求,用户可在音频输出设备上选择接听目标终端设备对应的来电通话,音频输出设备可根据检测到的接听操作确定接听来电通话的目标终端设备,并向目标终端设备发送接听指令,以使目标终端设备从来电状态切换至通话状态(指正在进行通话的状态)。In some embodiments, according to the incoming call request sent by any terminal device, the user can choose to answer the incoming call corresponding to the target terminal device on the audio output device, and the audio output device can determine the target to answer the incoming call according to the detected answering operation terminal device, and send an answer instruction to the target terminal device, so that the target terminal device switches from the call state to the call state (referring to the state of the ongoing call).
例如,接收到来电通来的终端设备包括第一终端设备及第二终端设备,音频输出设备可为耳机设备,若用户想要接听第一终端设备接收到的来电通话,可在第一耳机(如可以是左耳机)进行接听操作,若用户想要接听第二终端设备接收到的来电通话,可在第二耳机(如可以是右耳机)进行接听操作,即若第一耳机检测到接听操作,则确定接听第一终端设备的来电通话,若第二耳机检测到接听操作,则确定接听第二终端设备的来电通话。For example, the terminal equipment that receives an incoming call includes a first terminal equipment and a second terminal equipment, and the audio output device can be a headset device. If the user wants to answer the incoming call received by the first terminal equipment, he can use the first headset ( If the user wants to answer the incoming call received by the second terminal device, he can answer the call on the second earphone (such as the right earphone), that is, if the first earphone detects the answering operation , it is determined to answer the incoming call of the first terminal device, and if the second earphone detects the answering operation, it is determined to answer the incoming call of the second terminal device.
又例如,接收到来电通来的终端设备包括第一终端设备及第二终端设备,若用户想要接听第一终端设备接收到的来电通话,则可进行第一接听操作,若用户想要接听第二终端设备接收到的来电通话,则可进行第二接听操作,该第一接听操作与第二接听操作的操作方式可不同,如第一接听操作为单击操作,第二接听操作为双击操作等,但不限于此。For another example, the terminal equipment that receives an incoming call includes a first terminal equipment and a second terminal equipment. If the user wants to answer the incoming call received by the first terminal equipment, the first answering operation can be performed. If the user wants to answer the When the second terminal device receives an incoming call, the second answering operation can be performed. The operation mode of the first answering operation and the second answering operation can be different. For example, the first answering operation is a single-click operation, and the second answering operation is a double-click operation. operation, etc., but not limited thereto.
需要说明的是,用户在音频输出设备上进行的接听操作可以是任意交互方式的操作,本申请实施例对此不作限定。It should be noted that the answering operation performed by the user on the audio output device may be an operation in any interactive manner, which is not limited in this embodiment of the present application.
在一些实施例中,用户也可在终端设备上选择接听来电通话。若目标终端设备检测到接听操作(如用户点击终端设备的来电界面上的接听按钮的操作),则可从来电状态切换至通话状态,并向音频输出设备发送接听指令,该接听指令用于表征目标终端设备接听来电通话。In some embodiments, the user can also choose to answer the incoming call on the terminal device. If the target terminal device detects an answering operation (such as the operation of the user clicking the answer button on the incoming call interface of the terminal device), it can switch from the incoming call state to the talking state, and send an answering instruction to the audio output device. The answering instruction is used to represent The target terminal device answers the incoming call.
若确定接听目标终端设备对应的来电通话,则音频输出设备可停止播放第一来电提醒音频,且也不会播放其它来电提醒音频。音频输出设备可与目标终端设备建立语音传输链路,并通过该语音传输链路与目标终端设备进行语音数据传输,音频输出设备可播放目标终端设备发送的语音数据。在本申请实施例中,在接听目标终端设备对应的来电通话的情况下,即便还存在其它终端设备(指的是接收到来电通话的至少两个终端设备中除目标终端设备以外的终端设备)依然处于来电状态,但是音频输出设备也不会播放来电提醒音频,从而可给用户提供更加清晰的通话环境。If it is determined to answer the incoming call corresponding to the target terminal device, the audio output device may stop playing the first incoming call reminder audio, and will not play other incoming 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 the voice transmission link, and the audio output device can play the voice data sent by the target terminal device. In this embodiment of the application, in the case of answering the incoming call corresponding to the target terminal device, even if there are other terminal devices (referring to the terminal device other than the target terminal device among the at least two terminal devices receiving the incoming call) It is still in the incoming call state, but the audio output device will not play the incoming call reminder audio, so as to provide the user with a clearer call environment.
可选的是,在确定接听目标终端设备对应的来电通话的情况下,音频输出设备与目标终端设备进行语音数据传输,由于其它终端设备还处于来电状态,因此可能会选择通过扬声器播放来电提示音,如通过扬声器播放来电铃声等。其它终端设备通过扬声器播放的来电提示音也可能会给用户的通话过程造成不良影响,如因为播放的来电提示音的音量太大导致用户听不清音频输出设备所播放的语音数据等。扬声器可以理解为终端设备自带的扬声器,如手机的外放扬声器。Optionally, when it is determined to answer the incoming call corresponding to the target terminal device, the audio output device performs voice data transmission with the target terminal device. Since other terminal devices are still in the incoming call state, it may choose to play the incoming call prompt tone through the speaker , such as playing ringtones through the speaker. The incoming call prompt tone played by other terminal devices through the loudspeaker may also cause adverse effects on the user's call process, such as the user cannot hear the voice data played by the audio output device because the volume of the incoming call prompt tone played is too high. The speaker may be understood as a built-in speaker of the terminal device, such as an external speaker of a mobile phone.
基于此,在一些实施例中,若确定接听目标终端设备对应的来电通话,则音频输出设备可向各个其它终端设备发送静音指令,该静音指令可用于指示其它终端设备进入静音模式,其中,其它终端设备为至少两个终端设备中除目标终端设备以外的终端设备,该静音模式为不通过扬声器播放来电提示音的模式。其它终端设备接收到音频输出设备发送的静音指令后,则可根据该静音指令进入静音模式,即便其它终端设备依然处于来电状态,但也不会通过扬声器播放来电提示音,可避免外放的来电提示音给用户的通话过程造成不良影响。Based on this, in some embodiments, if it is determined to answer the incoming call corresponding to the target terminal device, the audio output device can send a mute command to each other terminal device, and the mute command can be used to instruct other terminal devices to enter the mute mode, wherein other The terminal device is a terminal device other than the target terminal device among the at least two terminal devices, and the silent mode is a mode in which no incoming call prompt tone is played through the speaker. After other terminal devices receive the mute command sent by the audio output device, they can enter the mute mode according to the mute command. Even if the other terminal devices are still in the incoming call state, they will not play the incoming call prompt tone through the speaker, which can avoid external calls. The prompt tone adversely affects the call process of the user.
进一步地,其它终端设备接收到音频输出设备发送的静音指令后,可先判断当前是否处于响铃模式(即通过扬声器播放来电提示音的模式),若处于响铃模式,则可将响铃模式切换为静音模式;若其它终端设备接收到音频输出设备发送的静音指令后,当前处于静音模式,则可不作调整。Further, after other terminal devices receive the mute instruction sent by the audio output device, they can first judge whether they are currently in the ring mode (that is, the mode in which the incoming call prompt tone is played through the speaker), and if they are in the ring mode, they can set the ring mode Switch to mute mode; if other terminal devices are currently in mute mode after receiving the mute command sent by the audio output device, no adjustment is required.
可选地,其它终端设备可通过其它方式输出来电提醒信息,例如,通过震动的方式输出来电提醒信息,或是通过显示屏以文字、图片等方式输出来电提醒信息等,但不限于此。Optionally, other terminal devices may output call reminder information in other ways, for example, output call reminder information through vibration, or output call reminder information in text, pictures, etc. through the display screen, but not limited thereto.
示例性地,图3为一个实施例中来电处理方法的时序示意图。如图3所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接。终端设备A接收到来电通话,则可向音频输出设备发送来电请求,终端设备B也接收到来电通话,则可向音频输出设备发送来电请求。音频输出设备根据终端设备A及终端设备B分别发送的来电请求播放第一来电提醒音频。若终端设备B确定接听来电通话,则 可向音频输出设备发送接听指令,音频输出设备在接收到该接听指令后,可向终端设备A发送静音指令,以使终端设备A进入静音模式。音频输出设备可与终端设备B建立SCO链路(可选地,该SCO链路也可以是在确定接听终端设备B的来电通话之前建立的,如音频输出设备在接收到终端设备发送的来电请求时,即与终端设备B建立SCO链路),并通过该SCO链路与终端设备B进行语音数据传输,可停止播放第一来电提醒音频,并播放终端设备B传输的通话语音。需要说明的是,发送静音指令也可在与终端设备B建立SCO链路之后,或是同时进行,本申请对音频输出设备发送静音指令、与终端设备B建立SCO链路、停止播放第一来电提醒音频的顺序不作限制。Exemplarily, FIG. 3 is a timing diagram of a method for processing an incoming call in an embodiment. As shown in FIG. 3 , the audio output device can respectively establish a Bluetooth connection with the terminal device A and the terminal device B. When terminal device A receives an incoming call, it can send an incoming call request to the audio output device, and terminal device B also receives an incoming call, then it can send an incoming call request to the audio output device. The audio output device plays the first incoming call reminder audio according to the incoming call requests sent by the terminal device A and the terminal device B respectively. If the terminal device B determines to answer the incoming call, it can send an answer command to the audio output device. After receiving the answer command, the audio output device can send a mute command to the terminal device A, so that the terminal device A enters the mute mode. The audio output device can establish an SCO link with the terminal device B (optionally, the SCO link can also be established before determining to answer the incoming call of the terminal device B, for example, the audio output device receives the incoming call request sent by the terminal device , that is, establish an SCO link with the terminal device B), and perform voice data transmission with the terminal device B through the SCO link, stop playing the first call reminder audio, and play the call voice transmitted by the terminal device B. It should be noted that sending the mute command can also be performed after establishing the SCO link with the terminal device B, or at the same time. This application sends the mute command to the audio output device, establishes the SCO link with the terminal device B, and stops playing the first incoming call. The order of the reminder audio is not limited.
在本申请实施例中,在用户接听目标终端设备对应的来电通话的过程中,音频输出设备不会播放任一来电提醒音频,而只播放目标终端设备传输的语音数据,可避免因来电提醒音频导致用户无法清晰地收听通话语音的情况,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响。且进一步地,音频输出设备可向其它终端设备发送静音指令,以使其它终端设备不通过扬声器播放来电提示音,可避免外放的来电提示音给用户的通话过程造成不良影响。In this embodiment of the application, when the user answers the incoming call corresponding to the target terminal device, the audio output device will not play any incoming call reminder audio, but only play the voice data transmitted by the target terminal device, which can avoid the The situation that the user cannot clearly listen to the voice of the call can provide the user with a clearer call environment, and improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call. Furthermore, the audio output device can send a mute command to other terminal devices, so that other terminal devices do not play the incoming call prompt tone through the speaker, which can prevent the external incoming call prompt tone from causing adverse effects on the user's call process.
在一些实施例中,第一来电提醒音频可根据发送来电请求的各个终端设备所支持的铃声模式进行确定。向音频输出设备发送来电请求的至少两个终端设备可包括第一终端设备及第二终端设备,确定接听来电通话的目标终端设备为第一终端设备或第二终端设备,下面将结合第一终端设备及第二终端设备分别支持的铃声模式的各种情况,对音频输出设备播放第一来电提醒音频的方式进行介绍。In some embodiments, the audio of the first incoming call reminder can be determined according to the ringtone mode supported by each terminal device sending the incoming call request. The at least two terminal devices that send incoming call requests to the audio output device may include a first terminal device and a second terminal device, and it is determined that the target terminal device to answer the incoming call is the first terminal device or the second terminal device, and the first terminal device will be combined below The various situations of the ringtone modes supported by the device and the second terminal device respectively, and the manner in which the audio output device plays the first incoming call reminder audio are introduced.
作为一种实施方式,第一终端设备与第二终端设备可均支持带内铃声模式。步骤根据来电请求播放第一来电提醒音频,可包括:根据第一终端设备及第二终端设备分别发送的来电请求,播放第一终端设备或第二终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据。As an implementation manner, both the first terminal device and the second terminal device may support an in-band ring tone mode. The step of playing the first call reminder audio according to the incoming call request may include: playing the ringtone audio data transmitted by the first terminal device or the second terminal device and the prompt stored locally according to the incoming call request sent by the first terminal device and the second terminal device respectively Mixed audio data of audio data.
音频输出设备接收到至少两个终端设备发送的来电请求,若该至少两个终端设备中存在多个支持带内铃声模式的终端设备,则音频输出设备播放的第一来电提醒音频可以是该多个支持带内铃声模式的终端设备中的其中一个终端设备传输的铃声音频数据,与本地存储的提示音频数据的混合音频数据。由于存在多个支持带内铃声模式的终端设备,但是音频输出设备仅可与一个终端设备建立语音传输链路,也即仅能够接收一个支持带内铃声模式的终端设备通过语音传输链路传输的铃声音频数据,因此,在一些实施例中,可预先设置从多个支持带内铃声模式的终端设备选择传输的铃声音频数据的终端设备的选择规则,并根据该选择规则从该多个支持带内铃声模式的终端设备确定传输的铃声音频数据的终端设备。The audio output device receives incoming call requests sent by at least two terminal devices. If there are multiple terminal devices supporting the in-band ringtone mode among the at least two terminal devices, the first incoming call reminder audio played by the audio output device may be the multiple The mixed audio data of the ring tone audio data transmitted by one of the terminal devices supporting the in-band ring tone mode and the prompt audio data stored locally. Since there are multiple terminal devices that support the in-band ringtone mode, the audio output device can only establish a voice transmission link with one terminal device, that is, it can only receive a voice transmission link transmitted by a terminal device that supports the in-band ringtone mode. ringtone audio data, therefore, in some embodiments, the selection rules of the terminal equipment for selecting and transmitting the ringtone audio data from a plurality of terminal equipments supporting the in-band ringtone mode can be preset, and according to the selection rule, from the multiple support bands The terminal device in the internal ringtone mode determines the terminal device for the transmitted ringtone audio data.
可选地,上述的选择规则可包括但不限于以下中的任一种:Optionally, the above selection rules may include but not limited to any of the following:
(1)从多个支持带内铃声模式的终端设备中,选择最早向音频输出设备发送来电请求的终端设备传输铃声音频数据。第一来电提醒音频可以是该至少两个终端设备中最早向音频输出设备发送来电请求的终端设备传输的铃声音频数据,与本地存储的提示音频数据的混合音频数据。(1) From a plurality of terminal devices supporting the in-band ringtone mode, select the terminal device that sends an incoming call request to the audio output device earliest to transmit the ringtone audio data. The first incoming call reminder audio may be the mixed audio data of the ring tone audio data transmitted by the terminal device that first sends the incoming call request to the audio output device among the at least two terminal devices and the locally stored prompt audio data.
(2)从多个支持带内铃声模式的终端设备中,选择最晚向音频输出设备发送来电请求的终端设备传输铃声音频数据,第一来电提醒音频可以是该至少两个终端设备中最晚向音频输出设备发送来电请求的终端设备传输的铃声音频数据,与本地存储的提示音频数据的混合音频数据。(2) From a plurality of terminal equipments that support the in-band ringtone mode, select the terminal equipment that sends the incoming call request to the audio output device to transmit the ringtone audio data at the latest, and the first incoming call reminder audio can be the latest among the at least two terminal equipments Mixed audio data of the ringtone audio data transmitted by the terminal device sending the incoming call request to the audio output device and the prompt audio data stored locally.
(3)从多个支持带内铃声模式的终端设备中,选择通话优先级最高的终端设备传输铃声音频数据。第一来电提醒音频可以是该至少两个终端设备中通话优先级最高的终端设备传输的铃声音频数据,与本地存储的提示音频数据的混合音频数据。各个终端设备的通话优先级可以是由用户提前预先设置好的,也可以是根据各个终端设备的来电通话对应的通话参数进行确定,该通话参数可包括但不限于来电号码、保持来电状态的时长等。例如,终端设备可识别来电号码的类型(包括存储在通讯录中的号码、陌生号码、被标记为诈骗或营销的号码等),并根据来电号码的类型确定通话优先级,其中,存储在通讯录中的号码对应的通话优先级可大于陌生号码对应的通话优先级,陌生号码对应的通话优先级可大于被标记为诈骗或营销的号码的通话优先级等。又例如,保持来电状态的时长越长,对应的通话优先级可越高等,但不限于此。(3) From multiple terminal devices supporting the in-band ringtone mode, select the terminal device with the highest call priority to transmit the ringtone audio data. The first incoming call reminder audio may be the mixed audio data of the ringtone audio data transmitted by the terminal device with the highest call priority among the at least two terminal devices and the prompt audio data stored locally. The call priority of each terminal device can be pre-set by the user in advance, or it can be determined according to the call parameters corresponding to the incoming call of each terminal device. The call parameters can include but not limited to the caller number and the duration of the call state wait. For example, the terminal device can identify the type of incoming call number (including numbers stored in the address book, unfamiliar numbers, numbers marked as fraudulent or marketing, etc.), and determine the call priority according to the type of incoming call number. The call priority corresponding to the number in the record can be higher than the call priority corresponding to the unfamiliar number, and the call priority corresponding to the unfamiliar number can be higher than the call priority of the number marked as fraudulent or marketing. For another example, the longer the duration of the incoming call status, the higher the corresponding call priority, etc., but it is not limited thereto.
需要说明的是,也由于音频输出设备确定各个终端设备的通话优先级的之间的高低关系,各个终端设备在向音频输出设备发送来电请求时,还可向音频输出设备发送通话优先级或发送通话参数,再由音频输出设备确定通话优先级最高的终端设备。It should be noted that, because the audio output device determines the high-low relationship between the call priorities of each terminal device, when each terminal device sends an incoming call request to the audio output device, it can also send the call priority or send call parameters, and then the audio output device determines the terminal device with the highest call priority.
作为一种具体实施方式,向音频输出设备发送来电请求的至少两个终端设备可包括第一终端设备及第二终端设备,第一终端设备与第二终端设备均支持带内铃声模式。音频输出设备接收到第一终端设备发送的来电请求之后,可与第一终端设备建立第一语音传输链路,并通过第一语音传输链路接收第一终端设备发送的铃声音频数据,可播放该第一终端设备发送的铃声音频数据。As a specific implementation manner, the at least two terminal devices that send incoming call requests to the audio output device may include a first terminal device and a second terminal device, and both the first terminal device and the second terminal device support an in-band ringtone mode. After the audio output device receives the incoming call request sent by the first terminal device, it 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, and can play The ring tone audio data sent by the first terminal device.
音频输出设备接收到第二终端设备发送的来电请求之后,可判断第二终端设备是否能够成功抢占音频输出设备,若第二终端设备不能成功抢占音频输出设备,则音频输出设备继续保持与第一终端设备之 间的第一语音传输链路,并播放第一终端设备发送的铃声音频数据与本地存储的提示音频数据的第一混合音频数据,本地存储的提示音频数据用于提示第二终端设备处于来电状态中。若第二终端设备成功抢占音频输出设备,则音频输出设备可断开第一语音传输链路,并与第二终端设备建立第二语音传输链路。音频输出设备可通过第二语音传输链路接收第二终端设备发送的铃声音频数据,并播放第二终端设备发送的铃声音频数据与本地存储的提示音频数据的第二混合音频数据。音频输出设备通过播放第一终端设备或第二终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据,可准确提醒用户第一终端设备与第二终端设备在同个时间段内接收到来电通话,方便用户准确获知来电情况。After the audio output device receives the call request sent by the second terminal device, it 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 will continue to maintain the same The first voice transmission link between terminal devices, and play the first mixed audio data of the ringtone audio data sent by the first terminal device and the locally stored prompt audio data, and the locally stored prompt audio data is used to prompt the second terminal device Incoming call status. If the second terminal device successfully preempts the audio output device, the audio output device may 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 the second mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data. The audio output device can accurately remind the user that the first terminal device and the second terminal device are within the same time period by playing the 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. Receive incoming calls, so that users can accurately know the incoming calls.
在一些实施例中,可根据上述的选择规则判断第二终端设备是否能够成功抢占音频输出设备,例如,选择规则可为选择最早向音频输出设备发送来电请求的终端设备传输铃声音频数据,则第二终端设备发送的来电请求晚于第一终端设备,第二终端设备不能成功抢占音频输出设备。又例如,选择规则可为选择最晚向音频输出设备发送来电请求的终端设备传输铃声音频数据,则第二终端设备发送的来电请求晚于第一终端设备,第二终端设备成功抢占音频输出设备。又例如,选择规则可为选择通话优先级最高的终端设备传输铃声音频数据,则若第二终端设备的通话优先级高于第一终端设备的通话优先级,第二终端设备成功抢占音频输出设备,若第二终端设备的通话优先级低于第一终端设备的通话优先级,第二终端设备不能成功抢占音频输出设备。In some embodiments, it can be judged according to the above selection rules whether the second terminal device can successfully preempt the audio output device. For example, the selection rule can be to select the terminal device that sends the call request to the audio output device at the earliest to transmit the ringtone audio data, then the second The call request sent by the second terminal device is later than that of the first terminal device, and the second terminal device cannot successfully preempt the audio output device. For another example, the selection rule may be to select the terminal device that sends the incoming call request to the audio output device at the latest to transmit ringtone audio data, then the second terminal device sends the incoming call request later than the first terminal device, and the second terminal device successfully preempts the audio output device . For another example, the selection rule may be to select the terminal device with the highest call priority to transmit ringtone audio data, then 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 the call priority of the first terminal device, the second terminal device cannot successfully preempt the audio output device.
需要说明的是,音频输出设备在不同情况下播放的本地存储的来电提示音可相同,也可不同,例如,第一混合音频数据可以是第一终端设备发送的铃声音频数据与本地存储的与第二终端设备对应的提示音频数据的混合音频数据,音频输出设备可根据第二终端设备的设备信息,从本地存储的多个提示音频数据中确定与第二终端设备对应的提示音频数据。又例如,第二混合音频数据可以是第二终端设备发送的铃声音频数据与本地存储的与第一终端设备对应的提示音频数据的混合音频数据,音频输出设备可根据第一终端设备的设备信息,从本地存储的多个提示音频数据中确定与第一终端设备对应的提示音频数据。其中,设备信息可包括但不限于设备名称、终端设备对应的蓝牙地址、MAC(Media Access Control,介质访问控制层)地址等中的一种或多种。It should be noted that the locally stored incoming call prompt played by the audio output device in different situations may be the same or different. For example, the first mixed audio data may be the ringtone audio data sent by the first terminal device and the locally stored and For the mixed audio data of the prompt audio data corresponding to the second terminal device, the audio output device may determine the prompt audio data corresponding to the second terminal device from a plurality of locally stored prompt audio data according to the device information of the second terminal device. For another example, the second mixed audio data may be the mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data corresponding to the first terminal device, and the audio output device may be based on the device information of the first terminal device. , determining the prompt audio data corresponding to the first terminal device from the plurality of locally stored prompt audio data. Wherein, the device information may include but not limited to one or more of the device name, the Bluetooth address corresponding to the terminal device, the MAC (Media Access Control, Media Access Control layer) address, and the like.
示例性地,图4A为一个实施例中音频输出设备播放第一来电提示音频的时序图。如图4A所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A与终端设备B可均为支持带内铃声模式的终端设备。在终端设备A接收到来电通话时,可向音频输出设备发送来电请求,且由于终端设备A支持带内铃声模式,因此也会向音频输出设备发送SCO建立请求。音频输出设备可根据该SCO建立请求与终端设备A建立SCO链路,可通过与终端设备A之间的SCO链路接收终端设备A发送的来电铃声,并播放终端设备A的来电铃声。Exemplarily, FIG. 4A is a sequence diagram of an audio output device playing the first incoming call prompt audio in an embodiment. As shown in FIG. 4A , the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode. When terminal device A receives an incoming call, it can send an incoming call request to the audio output device, and since terminal device A supports the 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 according to the SCO establishment request, can receive the ringtone sent by terminal device A through the SCO link with terminal device A, and play the ringtone of terminal device A.
在终端设备A处于来电状态的过程中,终端设备B也接收到来电通话,则终端设备B也可向音频输出设备发送来电请求,且由于终端设备B支持带内铃声模式,因此也会向音频输出设备发送SCO建立请求。音频输出设备可判断终端设备B是否抢占成功,若终端设备B未成功抢占音频输出设备,则音频输出设备可拒绝终端设备B发送的SCO建立请求,并继续保持与终端设备A之间的SCO链路,音频输出设备可混合播放终端设备A的来电铃声及本地存储的来电提示音。若终端设备B成功抢占音频输出设备,则音频输出设备可断开与终端设备A之间的SCO链路,并与终端设备B建立SCO链路。音频输出设备可通过与终端设备B之间的SCO链路接收终端设备B发送的来电铃声,并混合播放终端设备B的来电铃声及本地存储的来电提示音。When terminal device A is in the incoming call state, terminal device B also receives an incoming call, then terminal device B can also send an incoming call request to the audio output device, and since terminal device B supports in-band ringtone mode, it will also send an incoming call request to the audio output device. The output device sends a SCO setup request. The audio output device can judge whether the terminal device B has successfully preempted the audio output device. If the terminal device B fails to preempt the audio output device, the audio output device can reject the SCO establishment request sent by the terminal device B and continue to maintain the SCO chain with the terminal device A. channel, the audio output device can mix and play the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone. If the terminal device B successfully preempts the audio output device, the audio output device may disconnect the SCO link with the terminal device A, and establish an SCO link with the terminal device B. The audio output device can receive the ringtone sent by the terminal device B through the SCO link with the terminal device B, and mix and play the ringtone of the terminal device B and the locally stored call prompt tone.
在一些实施例中,若确定接听第二终端设备对应的来电通话,且第一来电提醒音频为混合第一终端设备发送的铃声音频数据与本地存储的提示音频数据的第一混合音频数据,则音频输出设备可断开与第一终端设备之间的第一语音传输链路,以停止接收第一终端设备发送的铃声音频数据,并停止播放本地存储的提示音频数据,并与第二终端设备进行语音数据传输。音频输出设备可与第二终端设备建立第二语音传输链路,并通过该第二语音传输链路与第二终端设备进行通话语音的数据传输,音频输出设备可播放第二终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the second terminal device, and the first incoming call reminder audio is the first mixed audio data that mixes the ring tone audio data sent by the first terminal device and the prompt audio data stored locally, then The audio output device may disconnect the first voice transmission link with the first terminal device to stop receiving the ring tone audio data sent by the first terminal device, and stop playing the prompt audio data stored locally, and communicate with the second terminal device Carry out voice data transmission. The audio output device can establish a second voice transmission link with the second terminal device, and perform data transmission of call voice with the second terminal device through the second voice transmission link, and the audio output device can play the voice sent by the second terminal device data.
示例性地,图4B为一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图4B所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A与终端设备B可均为支持带内铃声模式的终端设备。在终端设备A与终端设备B均接收到来电通话的情况下,此时设备A先来电,终端设备B后来电),终端设备B没有成功抢占音频输出设备,音频输出设备保持与终端设备A的SCO链路,音频输出设备混合播放终端设备A的来电铃声及本地存储的来电提示音。若确定接听终端设备B的来电通话,终端设备B可向音频输出设备发送接听指令,音频输出设备可断开与终端设备A之间的SCO链路,停止接收终端设备A的来电铃声,并与终端设备B建立SCO链路。进一步地,音频输出设备可停止播放本地存储的来电提示音,并播放通过与终端设备B之间的SCO链 路接收的终端设备B的通话语音。需要说明的是,音频输出设备也先停止播放本地存储的来电提示音,再断开与终端设备A之间的SCO链路,然后与终端设备B建立SCO链路,或是停止播放本地存储的来电提示音、断开与终端设备A之间的SCO链路以及与终端设备B建立SCO链路可并行进行,本申请实施例对三个步骤之间的前后顺序关系不作限定,满足最终音频输出设备播放通过与终端设备B之间的SCO链路接收的终端设备B的通话语音的方案即可。Exemplarily, FIG. 4B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in one embodiment. As shown in FIG. 4B , the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode. When both terminal device A and terminal device B receive an incoming call, at this time, device A calls first, and terminal device B calls later), terminal device B fails to seize the audio output device, and the audio output device remains in contact with terminal device A. In the SCO link, the audio output device mixes and plays the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone. If it is determined to answer the incoming call of terminal device B, terminal device B can send an answer command to the audio output device, and the audio output device can disconnect the SCO link with terminal device A, stop receiving the incoming ringtone of terminal device A, and communicate with Terminal device B establishes the SCO link. Further, the audio output device may stop playing the locally stored incoming call prompt tone, and play the call voice of terminal device B received through the SCO link with terminal device B. It should be noted that the audio output device also stops playing the locally stored incoming call notification tone first, then disconnects the SCO link with terminal device A, and then establishes an SCO link with terminal device B, or stops playing the locally stored call prompt tone. The incoming call prompt tone, disconnecting the SCO link with terminal device A, and establishing the SCO link with terminal device B can be performed in parallel. The embodiment of the present application does not limit the sequence relationship between the three steps to meet the final audio output It is enough for the device to play the call voice of terminal device B received through the SCO link with terminal device B.
在一些实施例中,若确定接听第一终端设备对应的来电通话,且第一来电提醒音频为第一终端设备发送的铃声音频数据与本地存储的提示音频数据的第一混合音频数据,则音频输出设备可保持与第一终端设备之间的第一语音传输链路,并通过该第一语音传输链路与第一终端设备进行语音数据传输。音频输出设备可停止播放本地存储的提示音频数据,并播放第一终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the first terminal device, and the first incoming call reminder audio is the first mixed audio data of the ringtone audio data sent by the first terminal device and the locally stored prompt audio data, then the audio The output device may maintain a 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 may stop playing the prompt audio data stored locally, and play the voice data sent by the first terminal device.
示例性地,图4C为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图4C所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A与终端设备B可均为支持带内铃声模式的终端设备。在终端设备A与终端设备B均接收到来电通话的情况下(此时设备A先来电,终端设备B后来电),终端设备B没有成功抢占音频输出设备,音频输出设备保持与终端设备A的SCO链路,音频输出设备混合播放终端设备A的来电铃声及本地存储的来电提示音。若确定接听终端设备A的来电通话,终端设备A可向音频输出设备发送接听指令。音频输出设备保持与终端设备A之间的SCO链路,并停止播放本地存储的来电提示音,可播放通过与终端设备A之间的SCO链路接收的终端设备A的通话语音。Exemplarily, FIG. 4C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 4C , the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode. When both terminal device A and terminal device B receive an incoming call (at this time, device A calls first, and terminal device B calls later), terminal device B fails to seize the audio output device, and the audio output device remains in contact with terminal device A. In the SCO link, the audio output device mixes and plays the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone. If it is determined to answer the incoming call of terminal device A, terminal device A may send an answer instruction to the audio output device. The audio output device maintains the SCO link with terminal device A, and stops playing the locally stored incoming call prompt tone, and can play the call voice of terminal device A received through the SCO link with terminal device A.
在一些实施例中,若确定接听第一终端设备对应的来电通话,且第一来电提醒音频为混合第二终端设备传输的铃声音频数据与本地存储的提示音频数据的第二混合音频数据,则音频输出设备可断开与第二终端设备之间的第二语音传输链路,以停止接收第二终端设备发送的铃声音频数据,并停止播放本地存储的提示音频数据,并与第一终端设备进行语音数据传输。音频输出设备可与第一终端设备建立第一语音传输链路,并通过该第一语音传输链路与第一终端设备进行语音数据传输,音频输出设备可播放第一终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the first terminal device, and the first incoming call reminder audio is the second mixed audio data that mixes the ringtone audio data transmitted by the second terminal device and the 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 the ringtone audio data sent by the second terminal device, and stop playing the prompt audio data stored locally, and communicate with the first terminal device Carry out voice data transmission. The audio output device can establish a 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, and the audio output device can play the voice data sent by the first terminal device.
示例性地,图4D为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图4D所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A与终端设备B可均为支持带内铃声模式的终端设备。在终端设备A与终端设备B均接收到来电通话的情况下(此时设备A先来电,终端设备B后来电),终端设备B成功抢占音频输出设备,音频输出设备断开与终端设备A的SCO链路,并与终端设备B建立SCO链路,音频输出设备混合播放终端设备B的来电铃声及本地存储的来电提示音。若确定接听终端设备A的来电通话,终端设备A可向音频输出设备发送接听指令,音频输出设备可断开与终端设备B之间的SCO链路,停止接收终端设备B的来电铃声,并与终端设备A建立SCO链路。音频输出设备可停止播放本地存储的来电提示音,并播放通过与终端设备A之间的SCO链路接收的终端设备A的通话语音。Exemplarily, FIG. 4D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 4D , the audio output device may respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B may be terminal devices supporting in-band ringtone mode. When both terminal device A and terminal device B receive an incoming call (at this time, device A calls first and terminal device B calls later), terminal device B successfully seizes the audio output device, and the audio output device disconnects from terminal device A. SCO link, and establish an SCO link with terminal device B, and the audio output device mixes and plays the ringtone of terminal device B's incoming call and the locally stored incoming call prompt tone. If it is determined to answer the incoming call of terminal device A, terminal device A can send an answer command to the audio output device, and the audio output device can disconnect the SCO link with terminal device B, stop receiving the ringtone of terminal device B's incoming call, and communicate with Terminal device A establishes an SCO link. The audio output device may stop playing the locally stored incoming call prompt tone, and play the call voice of the terminal device A received through the SCO link with the terminal device A.
在一些实施例中,若确定接听第二终端设备对应的来电通话,且第一来电提醒音频为上述的第二混合音频数据,则音频输出设备可保持与第二终端设备之间的第二语音传输链路,并通过该第二语音传输链路与第二终端设备进行语音数据传输。音频输出设备可停止播放本地存储的提示音频数据,并播放第二终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the second terminal device, and the first incoming call reminder audio is the above-mentioned second mixed audio data, then the audio output device can maintain the second voice with the second terminal device transmission link, and perform voice data transmission with the second terminal device through the second voice transmission link. The audio output device may stop playing the prompt audio data stored locally, and play the voice data sent by the second terminal device.
示例性地,图4E为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图4E所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A与终端设备B可均为支持带内铃声模式的终端设备。在终端设备A与终端设备B均接收到来电通话的情况下(此时设备A先来电,终端设备B后来电),终端设备B成功抢占音频输出设备,音频输出设备断开与终端设备A的SCO链路,并与终端设备B建立SCO链路,音频输出设备混合播放终端设备B的来电铃声及本地存储的来电提示音。若确定接听终端设备B的来电通话,终端设备B可向音频输出设备发送接听指令。音频输出设备保持与终端设备B之间的SCO链路,并停止播放本地存储的来电提示音,播放通过与终端设备B之间的SCO链路接收的终端设备A的通话语音。Exemplarily, FIG. 4E is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 4E , the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, and both terminal device A and terminal device B can be terminal devices supporting in-band ringtone mode. When both terminal device A and terminal device B receive an incoming call (at this time, device A calls first and terminal device B calls later), terminal device B successfully seizes the audio output device, and the audio output device disconnects from terminal device A. SCO link, and establish an SCO link with terminal device B, and the audio output device mixes and plays the ringtone of terminal device B's incoming call and the locally stored incoming call prompt tone. If it is determined to answer the incoming call of terminal device B, terminal device B may send an answer instruction to the audio output device. The audio output device maintains the SCO link with terminal device B, stops playing the locally stored incoming call prompt tone, and plays the call voice of terminal device A received through the SCO link with terminal device B.
在本申请实施例中,在第一终端设备与第二终端设备均支持带内铃声模式的情况下,音频输出设备可播放第一终端设备或第二终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据,以准确提醒用户第一终端设备与第二终端设备均接收到来电通话,且在用户接听第一终端设备或第二终端设备的来电通话的过程中,音频输出设备不再播放来电提醒音频,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响,提高了用户的通话体验。In this embodiment of the application, when both the first terminal device and the second terminal device support the in-band ringtone mode, the audio output device can play the ringtone audio data transmitted by the first terminal device or the second terminal device and the locally stored ringtone audio data. The mixed audio data of the prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device No longer playing the incoming call reminder audio, can provide the user with a clearer call environment, improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
在一些实施例中,第一终端设备支持带内铃声模式,第二终端设备支持带外铃声模式。步骤根据来电请求播放第一来电提醒音频,包括:根据第一终端设备及第二终端设备分别发送的来电请求,播放第 一终端设备传输的铃声音频数据与本地存储的提示音频数据的第一混合音频数据。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 the first incoming call reminder audio according to the incoming call request includes: according to the incoming call requests sent by the first terminal device and the second terminal device respectively, playing the first mixed audio data of the ring tone transmitted by the first terminal device and the locally stored prompt audio data audio data.
音频输出设备接收到至少两个终端设备发送的来电请求,若该至少两个终端设备中仅存在一个终端设备支持带内铃声模式,则第一来电提醒音频可以是该支持带内铃声模式的终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据。The audio output device receives incoming call requests sent by at least two terminal devices. If only one of the at least two terminal devices supports the in-band ringtone mode, the first incoming call reminder audio may be the terminal that supports the inband ringtone mode. Mixed audio data of the ring tone audio data transmitted by the device and the prompt audio data stored locally.
作为一种具体实施方式,向音频输出设备发送来电请求的至少两个终端设备可包括第一终端设备及第二终端设备,第一终端设备支持带内铃声模式,第二终端设备支持带外铃声模式。音频输出设备接收到第一终端设备发送的来电请求之后,可与第一终端设备建立第一语音传输链路,并通过第一语音传输链路接收第一终端设备发送的铃声音频数据,音频输出设备可播放第一终端设备发送的铃声音频数据。在接收到第二终端设备发送的来电请求后,音频输出设备可播放第一终端设备传输的铃声音频数据与本地存储的提示音频数据的第一混合音频数据。As a specific implementation manner, the at least two terminal devices that send incoming call requests 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 model. After the audio output device receives the incoming call request sent by the first terminal device, it 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, and the audio output The device can play the ring tone audio data sent by the first terminal device. After receiving the incoming call request sent by the second terminal device, the audio output device may play the first mixed audio data of the ring tone audio data transmitted by the first terminal device and the prompt audio data stored locally.
在一些实施例中,若确定接听第二终端设备对应的来电通话,则音频输出设备可断开与第一终端设备之间的第一语音传输链路,以停止接收第一终端设备发送的铃声音频数据,并停止播放本地存储的提示音频数据,音频输出设备可与第二终端设备进行语音数据传输。音频输出设备可与第二终端设备建立第二语音传输链路,并通过该第二语音传输链路与第二终端设备进行语音数据传输,音频输出设备可播放第二终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the second terminal device, the audio output device may disconnect the first voice transmission link with the first terminal device to stop receiving ringtones sent by the first terminal device audio data, and stop playing the locally stored prompt audio data, and the audio output device can perform voice data transmission with the second terminal device. The audio output device can establish a second voice transmission link with the second terminal device, and perform voice data transmission with the second terminal device through the second voice transmission link, and the audio output device can play the voice data sent by the second terminal device.
示例性地,图5A为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图5A所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A可支持带内铃声模式,终端设备B可支持带外铃声模式。在终端设备A接收到来电通话时,可向音频输出设备发送来电请求,由于终端设备A支持带内铃声模式,因此也会向音频输出设备发送SCO建立请求。音频输出设备可根据该SCO建立请求与终端设备A建立SCO链路,通过与终端设备A之间的SCO链路接收终端设备A发送的来电铃声,并播放终端设备A的来电铃声。Exemplarily, FIG. 5A is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 5A , the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, terminal device A can support in-band ringtone mode, and terminal device B can support out-of-band ringtone mode. When terminal device A receives an incoming call, it can send an incoming call request to the audio output device. Since terminal device A supports the 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 according to the SCO establishment request, receive the ringtone sent by terminal device A through the SCO link with terminal device A, and play the ringtone of terminal device A.
在终端设备A处于来电状态的过程中,终端设备B也接收到来电通话,则终端设备B也可向音频输出设备发送来电请求,但由于终端设备B支持带外铃声模式,因此不会向音频输出设备发送SCO建立请求。音频输出设备在接收到终端设备B发送的来电请求后,可混合播放终端设备A的来电铃声及本地存储的来电提示音。若确定接听终端设备B的来电通话,终端设备B可向音频输出设备发送接听指令,音频输出设备在接收到该接听指令后,可断开与终端设备A之间的SCO链路,停止接收终端设备A的来电铃声,并与终端设备B建立SCO链路。音频输出设备可停止播放本地存储的来电提示音,并播放通过与终端设备B之间的SCO链路接收的终端设备B的通话语音。When terminal device A is in the incoming call state, terminal device B also receives an incoming call, then terminal device B can also send an incoming call request to the audio output device, but since terminal device B supports out-of-band ringtone mode, it will not send a call request to the audio output device. The output device sends a SCO setup request. After the audio output device receives the incoming call request sent by the terminal device B, it can mix and play the incoming call ringtone of the terminal device A and the locally stored incoming call prompt tone. If it is determined to answer the incoming call of terminal device B, terminal device B can send an answer command to the audio output device, and after receiving the answer command, the audio output device can disconnect the SCO link with terminal device A and stop receiving terminal Device A's incoming call rings and establishes a SCO link with terminal device B. The audio output device may stop playing the locally stored incoming call prompt tone, and play the call voice of terminal device B received through the SCO link with terminal device B.
在一些实施例中,若确定接听第一终端设备对应的来电通话,则音频输出设备可保持与第一终端设备之间的第一语音传输链路,并通过该第一语音传输链路与第一终端设备进行语音数据传输。音频输出设备可停止播放本地存储的提示音频数据,并播放第一终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the first terminal device, the audio output device may maintain the first voice transmission link with the first terminal device, and communicate with the second terminal device through the first voice transmission link. A terminal device transmits voice data. The audio output device may stop playing the prompt audio data stored locally, and play the voice data sent by the first terminal device.
示例性地,图5B为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图5B所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A可支持带内铃声模式,终端设备B可支持带外铃声模式。在终端设备A与终端设备B均接收到来电通话的情况下(此时设备A先来电,终端设备B后来电),音频输出设备保持与终端设备A之间的SCO链路,音频输出设备混合播放终端设备A的来电铃声及本地存储的来电提示音。若确定终端设备A的来电通话,终端设备A可向音频输出设备发送接听指令,音频输出设备可保持与终端设备A之间的SCO链路,并停止播放本地存储的来电提示音,播放通过与终端设备A之间的SCO链路接收的终端设备A的通话语音。Exemplarily, FIG. 5B is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 5B , the audio output device can establish a Bluetooth connection with terminal device A and terminal device B respectively, terminal device A can support in-band ringtone mode, and terminal device B can support out-of-band ringtone mode. When both terminal device A and terminal device B receive an incoming call (at this time, device A calls first, and terminal device B calls later), the audio output device maintains the SCO link with terminal device A, and the audio output device mixes Play the incoming call ringtone of terminal device A and the locally stored incoming call prompt tone. If it is determined that terminal device A has an incoming call, terminal device A can send an answer command to the audio output device, and the audio output device can maintain the SCO link with terminal device A, and stop playing the locally stored incoming call prompt tone, and play it through the audio output device. The call voice of terminal device A received by the SCO link between terminal devices A.
在一些实施例中,第一终端设备支持带外铃声模式,第二终端设备支持带内铃声模式。步骤根据来电请求播放第一来电提醒音频,包括:根据第一终端设备及第二终端设备分别发送的来电请求,播放第二终端设备传输的铃声音频数据与本地存储的提示音频数据的第二混合音频数据。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 the first incoming call reminder audio according to the incoming call request includes: playing the second mixture of the ringtone audio data transmitted by the second terminal device and the locally stored prompt audio data according to the incoming call requests sent by the first terminal device and the second terminal device respectively audio data.
作为一种具体实施方式,音频输出设备在接收到第一终端设备发送的来电请求之后,可根据该来电请求播放本地存储的提示音频数据。音频输出设备在接收到第二终端设备发送的来电请求时,可根据该来电请求与第二终端设备建立第二语音传输链路,并通过该第二语音传输链路接收第二终端设备发送的铃声音频数据,可播放第二终端设备发送的铃声音频数据与本地存储的提示音频数据的第二混合音频数据。As a specific implementation manner, after receiving the incoming call request sent by the first terminal device, the audio output device may play the locally stored prompt audio data according to the incoming call request. When the audio output device receives the incoming call request sent by the second terminal device, it can establish a second voice transmission link with the second terminal device according to the incoming call request, and receive the voice call sent by the second terminal device through the second voice transmission link. The ring tone audio data may play the second mixed audio data of the ring tone audio data sent by the second terminal device and the prompt audio data stored locally.
在一些实施例中,若确定接听第一终端设备对应的来电通话,则音频输出设备可断开与第二终端设备之间的第二语音传输链路,以停止接收第二终端设备发送的铃声音频数据,并停止播放本地存储的提示音频数据,音频输出设备可与第一端设备进行语音数据传输。音频输出设备可与第一终端设备建立第一语音传输链路,并通过该第一语音传输链路与第一终端设备进行语音数据传输,音频输出设备可播放 第一终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the first terminal device, the audio output device may disconnect the second voice transmission link with the second terminal device to stop receiving the ringtone sent by the second terminal device audio data, and stop playing the prompt audio data stored locally, and the audio output device can perform voice data transmission with the first-end device. The audio output device can establish a 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, and the audio output device can play the voice data sent by the first terminal device.
示例性地,图5C为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图5C所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A可支持带外铃声模式,终端设备B可支持带内铃声模式。在终端设备A接收到来电通话时,可向音频输出设备发送来电请求,由于终端设备A支持带外铃声模式,因此不会向音频输出设备发送SCO建立请求。音频输出设备可根据终端设备A发送的来电请求播放本地存储的来电提示音。在终端设备A处于来电状态的过程中,终端设备B也接收到来电通话,则终端设备B也可向音频输出设备发送来电请求,由于终端设备B支持带内铃声模式,因此会向音频输出设备发送SCO建立请求。音频输出设备可根据该SCO建立请求与终端设备B建立SCO链路,通过该SCO链路接收终端设备B发送的来电铃声,并混合播放终端设备B的来电铃声及本地存储的来电提示音。若确定接听终端设备A的来电通话,终端设备A可向音频输出设备发送接听指令,音频输出设备在接收到该接听指令后,可断开与终端设备B之间的SCO链路,停止接收终端设备B的来电铃声,并与终端设备A建立SCO链路。音频输出设备可停止播放本地存储的来电提示音,并播放通过与终端设备A之间的SCO链路接收的终端设备A的通话语音。Exemplarily, FIG. 5C is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 5C , the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, terminal device A can support out-of-band ringtone mode, and terminal device B can support in-band ringtone mode. When terminal device A receives an incoming call, it can send an incoming call request to the audio output device. Since terminal device A supports the out-of-band ringtone mode, it will not send an SCO establishment request to the audio output device. The audio output device can play the locally stored incoming call prompt tone according to the incoming call request sent by the terminal device A. When terminal device A is in the incoming call state, terminal device B also receives an incoming call, then terminal device B can also send an incoming call request to the audio output device. Since terminal device B supports in-band ringtone mode, it will send a request to the audio output device Send SCO establishment request. The audio output device can establish an SCO link with the terminal device B according to the SCO establishment request, receive the ringtone sent by the terminal device B through the SCO link, and mix and play the ringtone of the terminal device B and the locally stored call prompt tone. If it is determined to answer the incoming call of terminal device A, terminal device A can send an answer command to the audio output device, and the audio output device can disconnect the SCO link with terminal device B after receiving the answer command, and stop receiving the terminal device. Device B's incoming call rings and establishes a SCO link with terminal device A. The audio output device may stop playing the locally stored incoming call prompt tone, and play the call voice of the terminal device A received through the SCO link with the terminal device A.
在一些实施例中,若确定接听第二终端设备对应的来电通话,则音频输出设备可保持与第二终端设备之间的第二语音传输链路,并通过该第二语音传输链路与第二终端设备进行语音数据传输。音频输出设备可停止播放本地存储的提示音频数据,并播放第二终端设备发送的语音数据。In some embodiments, if it is determined to answer the incoming call corresponding to the second terminal device, the audio output device may maintain the second voice transmission link with the second terminal device, and communicate with the second terminal device through the second voice transmission link. The second terminal device performs voice data transmission. The audio output device may stop playing the prompt audio data stored locally, and play the voice data sent by the second terminal device.
示例性地,图5D为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图5D所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A可支持带外铃声模式,终端设备B可支持带内铃声模式。在终端设备A与终端设备B均接收到来电通话的情况下(此时设备A先来电,终端设备B后来电),音频输出设备与终端设备B建立SCO链路,音频输出设备混合播放终端设备B的来电铃声及本地存储的来电提示音。若确定终端设备B的来电通话,终端设备B可向音频输出设备发送接听指令,音频输出设备可保持与终端设备B之间的SCO链路,并停止播放本地存储的来电提示音,播放通过与终端设备B之间的SCO链路接收的终端设备B的通话语音。Exemplarily, FIG. 5D is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 5D , the audio output device can respectively establish a Bluetooth connection with terminal device A and terminal device B, terminal device A can support out-of-band ringtone mode, and terminal device B can support in-band ringtone mode. When both terminal device A and terminal device B receive an incoming call (at this time, device A calls first, and terminal device B calls later), the audio output device establishes an SCO link with terminal device B, and the audio output device mixes and plays the terminal device B's incoming call ringtone and locally stored incoming call prompt tone. If it is determined that terminal device B has an incoming call, terminal device B can send an answer command to the audio output device, and the audio output device can maintain the SCO link with terminal device B, and stop playing the locally stored incoming call prompt tone, and play through the audio output device. The call voice of terminal device B received by the SCO link between terminal devices B.
在本申请实施例中,在第一终端设备与第二终端设备中仅有一个终端设备支持带内铃声模式的情况下,音频输出设备可播放支持带内铃声模式的终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据,以准确提醒用户第一终端设备与第二终端设备均接收到来电通话,且在用户接听第一终端设备或第二终端设备的来电通话的过程中,音频输出设备不再播放来电提醒音频,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响,提高了用户的通话体验。In this embodiment of the application, in the case where only one of the first terminal device and the second terminal device supports the in-band ringtone mode, the audio output device can play the ringtone audio data transmitted by the terminal device supporting the inband ringtone mode Mix audio data with locally stored prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device , the audio output device no longer plays the incoming call reminder audio, which can provide users with a clearer call environment, improve the adverse impact of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
在一些实施例中,第一终端设备及第二终端设备均为支持带外铃声模式的终端设备。步骤根据来电请求播放第一来电提醒音频,包括:根据第一终端设备及第二终端设备分别发送的来电请求,播放本地存储的提示音频数据。In some embodiments, both the first terminal device and the second terminal device are terminal devices supporting an out-of-band ringtone mode. The step of playing the first call reminder audio according to the incoming call request includes: playing the locally stored prompt audio data according to the incoming call requests respectively sent by the first terminal device and the second terminal device.
音频输出设备接收到至少两个终端设备发送的来电请求,若该至少两个终端设备均为支持带外铃声模式的终端设备,则音频输出设备播放的第一来电提醒音频可以是本地存储的提示音频数据。The audio output device receives incoming call requests sent by at least two terminal devices. If the at least two terminal devices are all terminal devices that support the out-of-band ringtone mode, the first incoming call reminder audio played by the audio output device may be a locally stored prompt audio data.
作为一种具体实施方式,向音频输出设备发送来电请求的至少两个终端设备可包括第一终端设备及第二终端设备,第一终端设备及第二终端设备均支持带外铃声模式。在音频输出设备接收到第一终端设备发送的来电请求后,可播放本地存储的提示音频数据,若又接收到第二终端设备发送的来电请求,可继续播放本地存储的提示音频数据。可选地,音频输出设备在接收到第一终端设备发送的来电请求后播放本地存储的提示音频数据,与接收到第二终端设备发送的来电请求后播放的本地存储的提示音频数据可相同,也可不同。As a specific implementation manner, the at least two terminal devices that send incoming call requests to the audio output device may include a first terminal device and a second terminal device, and both the first terminal device and the second terminal device support the out-of-band ringtone mode. After the audio output device receives the incoming call request sent by the first terminal device, it can play the locally stored prompt audio data, and if it receives the incoming call request sent by the second terminal device, it can continue to play the locally stored prompt audio data. Optionally, the audio output device plays the locally stored prompt audio data after receiving the incoming call request sent by the first terminal device, which may be the same as the locally stored prompt audio data played after receiving the incoming call request sent by the second terminal device, It can also be different.
例如,音频输出设备在接收到第一终端设备发送的来电请求后,可根据第一终端设备的设备信息播放本地存储的与第一终端设备对应的提示音频数据;音频输出设备在接收到第二终端设备发送的来电请求后,可根据第二终端设备的设备信息播放本地存储的与第二终端设备对应的提示音频数据,或,音频输出设备在接收到第二终端设备发送的来电请求后,可根据第二终端设备的设备信息,混合播放本地存储的与第二终端设备对应的提示音频数据以及本地存储的与第一终端设备对应的提示音频数据。For example, after receiving the call request sent by the first terminal device, the audio output device can play the locally stored prompt audio data corresponding to the first terminal device according to the device information of the first terminal device; After the call request sent by the terminal device, it can play the locally stored prompt audio data corresponding to the second terminal device according to the device information of the second terminal device, or, after the audio output device receives the call request sent by the second terminal device, According to the device information of the second terminal device, locally stored prompt audio data corresponding to the second terminal device and locally stored prompt audio data corresponding to the first terminal device may be mixed and played.
又例如,音频输出设备中可仅存储有提示音频A及提示音频B,其中,提示音频A用于提示仅一个终端设备接收到来电通话,提示音频B用于提示有多个终端设备接收到来电通话,则音频输出设备在接收到第一终端设备发送的来电请求后,可播放提示音频A,音频输出设备在接收到第二终端设备发送的来电请求后,可播放提示音频B。For another example, only prompt audio A and prompt audio B may be stored in the audio output device, where prompt audio A is used to prompt only one terminal device to receive an incoming call, and prompt audio B is used to prompt that multiple terminal devices receive an incoming call When talking, the audio output device can play prompt audio A after receiving the incoming call request sent by the first terminal device, and the audio output device can play prompt audio B after receiving the incoming call request sent by the second terminal device.
若确定接听第一终端设备对应的来电通话,则音频输出设备可停止播放本地存储的提示音频数据,并与第一终端设备建立第一语音传输链路,通过该第一语音传输链路与第一终端设备进行语音数据传输,播放第一终端设备发送的语音数据。若确定接听第二终端设备对应的来电通话,则音频输出设备可停止播放本地存储的提示音频数据,并与第二终端设备建立第二语音传输链路,通过该第二语音传输链路与第二终端设备进行语音数据传输,播放第二终端设备发送的语音数据。If it is determined to answer the incoming call corresponding to the first terminal device, the audio output device may stop playing the locally stored prompt audio data, and establish a first voice transmission link with the first terminal device, and communicate with the first voice transmission link through the first voice transmission link. A terminal device transmits voice data, and plays the voice data sent by the first terminal device. If it is determined to answer the incoming call corresponding to the second terminal device, the audio output device may stop playing the locally stored prompt audio data, and establish a second voice transmission link with the second terminal device, through which the second voice transmission link communicates with the second terminal device. The second terminal device transmits voice data, and plays the voice data sent by the second terminal device.
示例性地,图6为另一个实施例中音频输出设备播放第一来电提示音频以及接听来电通话的时序图。如图6所示,音频输出设备可分别与终端设备A及终端设备B建立蓝牙连接,终端设备A及终端设备B可均支持带外铃声模式。终端设备A接收到来电通话,可向音频输出设备发送来电请求,由于终端设备A支持带外铃声模式,因此不会向音频输出设备发送SCO建立请求。音频输出设备根据终端设备A发送的来电请求播放本地存储的来电提示音。在终端设备A处理来电状态时,终端设备B接收到来电通话,终端设备B可向音频输出设备发送来电请求,由于终端设备B也支持带外铃声模式,因此也不会向音频输出设备发送SCO建立请求。音频输出设备继续播放本地存储的来电提示音。若确定接听终端设备B的来电通话,终端设备B向音频输出设备发送接听指令,音频输出设备可停止播放本地存储的来电提示音,并与终端设备B建立SCO链路,通过该SCO链路接收终端设备B发送的通话语音,并播放终端设备B的通话语音。确定接听终端设备A的来电通话的方案与确定接听终端设备B的来电通话的方案类似,在此不再重复赘述。Exemplarily, FIG. 6 is a sequence diagram of the audio output device playing the first incoming call prompt audio and answering the incoming call in another embodiment. As shown in FIG. 6 , the audio output device can respectively establish a Bluetooth connection with the terminal device A and the terminal device B, and both the terminal device A and the terminal device B can support the out-of-band ringtone mode. When terminal device A receives an incoming call, it can send an incoming call request to the audio output device. Since terminal device A supports the out-of-band ringtone mode, it will not send an SCO establishment request to the audio output device. The audio output device plays the locally stored incoming call prompt tone according to the incoming call request sent by the terminal device A. When terminal device A handles the incoming call status, terminal device B receives an incoming call, and terminal device B can send an incoming call request to the audio output device. Since terminal device B also supports out-of-band ringtone mode, it will not send SCO to the audio output device. Create a request. The audio output device continues to play the locally stored call notification tone. If it is determined to answer the incoming call of terminal device B, terminal device B sends an answer command to the audio output device, and the audio output device can stop playing the locally stored incoming call prompt tone, and establish an SCO link with terminal device B, and receive the incoming call through the SCO link. The call voice sent by terminal device B, and play the call voice of terminal device B. The solution of determining to answer the incoming call of terminal device A is similar to the solution of determining to answer the incoming call of terminal device B, and will not be repeated here.
在本申请实施例中,在第一终端设备与第二终端设备均支持带外铃声模式的情况下,音频输出设备可播放本地存储的提示音频数据,以准确提醒用户第一终端设备与第二终端设备均接收到来电通话,且在用户接听第一终端设备或第二终端设备的来电通话的过程中,音频输出设备不再播放来电提醒音频,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响,提高了用户的通话体验。In this embodiment of the application, when both the first terminal device and the second terminal device support the out-of-band ring tone mode, the audio output device can play the locally stored prompt audio data to accurately remind the user that the first terminal device and the second terminal device All terminal devices receive incoming calls, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device will no longer play the incoming call reminder audio, which can provide users with a clearer call environment and improve the The incoming call reminder audio has a negative impact on the user in the process of answering the incoming call, which improves the user's call experience.
在一些实施例中,上述的来电处理方法,还可包括:在接听目标终端设备对应的来电通话的过程中,若接收到第三终端设备发送的来电请求,并将目标终端设备发送的语音数据与本地存储的提示音频数据混合播放。In some embodiments, the above-mentioned incoming call processing method may further include: during the process of answering the incoming call corresponding to the target terminal device, if an incoming call request sent by the third terminal device is received, and the voice data sent by the target terminal device Mixed playback with locally stored cue audio data.
音频输出设备接收至少两个终端设备分别发送的来电请求,并根据该来电请求播放第一来电提醒音频,若确定接听目标终端设备对应的来电通话,则播放目标终端设备传输的语音数据。若在接听目标终端设备对应的来电通话的过程中,第三终端设备接收到来电通话,则第三终端设备向音频输出设备发送来电请求,该第三终端设备不属于上述的至少两个终端设备,则音频输出设备可将目标终端设备发送的语音数据与本地存储的提示音频数据混合播放,以及时提示用户第三终端设备接收到来电通话。The audio output device receives incoming call requests sent by at least two terminal devices, and plays the first call reminder audio according to the incoming call request, and plays the voice data transmitted by the target terminal device if it is determined to answer the incoming call corresponding to the target terminal device. If during the process of answering the incoming call corresponding to the target terminal device, the third terminal device receives an incoming call, the third terminal device sends an incoming call request to the audio output device, and the third terminal device does not belong to the above-mentioned at least two terminal devices , the audio output device can mix and play the voice data sent by the target terminal device and the locally stored prompt audio data, so as to timely prompt the user that the third terminal device receives an incoming call.
示例性地,图7为一个实施例中在接听目标终端设备对应的来电通话的过程中,接收到第三终端设备发送的来电请求的时序示意图。如图7所示,音频输出设备可分别与终端设备A、终端设备B及终端设备C建立蓝牙连接。终端设备A与终端设备B在同一时间段接收到来电通话,音频输出设备播放第一来电提示音频,若确定接听终端设备B的来电通话,则音频输出设备停止播放第一来电提示音频,并播放终端设备B的通话语音。若在接听终端设备B的来电通话的过程中,终端设备C接收到来电通话,则可向音频输出设备发送来电请求,音频输出设备可混合播放终端设备B的通话语音及本地存储的来电提示音。Exemplarily, FIG. 7 is a schematic diagram of a sequence diagram of receiving an incoming call request sent by a third terminal device during the process of answering an incoming call corresponding to a target terminal device in an embodiment. As shown in FIG. 7 , the audio output device can respectively establish a Bluetooth connection with terminal device A, terminal device B, and terminal device C. Terminal device A and terminal device B receive an incoming call at the same time period, and the audio output device plays the first incoming call prompt audio. If it is determined to answer the incoming call of terminal device B, the audio output device stops playing the first incoming call prompt audio and plays The call voice of terminal device B. If in the process of answering the incoming call of terminal device B, terminal device C receives an incoming call, it can send an incoming call request to the audio output device, and the audio output device can mix and play the call voice of terminal device B and the locally stored incoming call prompt tone .
在一些实施例中,可确定将目标终端设备发送的语音数据与本地存储的提示音频数据混合播放的播放时长,若到达该播放时长,音频输出设备可停止播放本地存储的提示音频数据,并恢复到只播放目标终端设备发送的语音数据。该播放时长可以是预先设置的固定时长,也可以是根据第三终端设备的通话优先级进行调整的时长,如,第三终端设备的通话优先级较高,对应的播放时长可较长。通过设置将目标终端设备发送的语音数据与本地存储的提示音频数据混合播放的播放时长,可避免长时间将通话的语音数据与提示音频数据混合播放,影响用户的正常通话业务。In some embodiments, the playback duration for mixing and playing the voice data sent by the target terminal device with the 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 to only play the voice data sent by the target terminal device. The playback duration may be a preset fixed duration, or may be a duration adjusted according to the call priority of the third terminal device, for example, the third terminal device has a higher call priority, and the corresponding playback duration may be longer. By setting the playing time for mixing and playing the voice data sent by the target terminal device and the locally stored prompt audio data, it is possible to avoid mixing the call voice data and prompt audio data for a long time and affecting the normal call service of the user.
在本申请实施例中,若在接听目标终端设备的来电通话的过程中,又有新的终端设备接收到来电通话,则音频输出设备可及时播放本地存储的提示音频数据,方便用户及时获知新的终端设备接收到来电通话的情况,提高用户粘度。In the embodiment of the present application, if a new terminal device receives an incoming call during the process of answering the incoming call of the target terminal device, the audio output device can play the prompt audio data stored locally in time, so that the user can be informed of the new call in time. The terminal equipment receives incoming calls and calls, increasing user stickiness.
在一些实施例中,上述的来电处理方法,还可包括:在确定接听目标终端设备对应的来电通话时,若存在其它终端设备满足提示条件,则继续播放本地存储的提示音频数据,和/或,不向满足提示条件的其它终端设备发送静音指令。In some embodiments, the above-mentioned incoming call processing method may further include: when it is determined to answer the incoming call corresponding to the target terminal device, if there are other terminal devices that meet the prompt condition, continue to play the locally stored prompt audio data, and/or , do not send mute commands to other terminal devices that meet the prompt conditions.
其中,其它终端设备可为向音频输出设备发送来电请求的至少两个终端设备中除目标终端设备以外的终端设备。以该至少两个终端设备包括第一终端设备及第二终端设备为例,在确定接听第一终端设备对应的来电通话,若第二终端设备满足提示条件,则继续播放本地存储的提示音频数据,和/或,不向 满足第二终端设备发送静音指令。在确定接听第二终端设备对应的来电通话,若第一终端设备满足提示条件,则继续播放本地存储的提示音频数据,和/或,不向满足第一终端设备发送静音指令。Wherein, the other terminal device may be a terminal device other than the target terminal device among at least two terminal devices that send an incoming call request to the audio output device. Taking the at least two terminal devices including the first terminal device and the second terminal device as an example, when it is determined to answer the incoming call corresponding to the first terminal device, if the second terminal device meets the prompt condition, then continue to play the locally stored prompt audio data , and/or, not sending the mute instruction to the second terminal device that meets the requirements. After determining to answer the incoming call corresponding to the second terminal device, if the first terminal device meets the prompt condition, continue to play the locally stored prompt audio data, and/or not send a mute instruction to the first terminal device that meets the requirement.
可选地,上述的提示条件可包括与音频输出设备之间的距离大于第一距离阈值、来电通话对应的通话优先级大于优先级阈值等中的至少一种。若存在来电通话对应的通话优先级大于优先级阈值的其它终端设备,则可继续播放本地存储的提示音频数据,和/或,不向满足提示条件的其它终端设备发送静音指令,避免用户漏接重要的来电。Optionally, the above prompt condition may include at least one of a distance from the audio output device greater than a first distance threshold, a call priority corresponding to an incoming call greater than a priority threshold, and the like. If there are other terminal devices whose call priority is greater than the priority threshold corresponding to the incoming call, it can continue to play the locally stored prompt audio data, and/or not send a mute command to other terminal devices that meet the prompt conditions, so as to prevent the user from missing the call. Important call.
进一步地,若存在其它终端设备与音频输出设备之间的距离大于第二距离阈值,则停止播放第一来电提醒音频,且不向距离大于第二距离阈值的其它终端设备发送静音指令,该第二距离阈值可大于第一距离阈值。Further, if the distance between other terminal devices and the audio output device is greater than the second distance threshold, stop playing the first incoming call reminder audio, and do not send a mute instruction to other terminal devices whose distance is greater than the second distance threshold, the first The second distance threshold may be greater than the first distance threshold.
以该至少两个终端设备包括第一终端设备及第二终端设备为例,在确定接听第一终端设备对应的来电通话,若第二终端设备与音频输出设备之间的距离大于第二距离阈值,则音频输出设备停止播放第一来电提醒音频,并播放第一终端设备传输的语音数据。而且,由于第二终端设备与音频输出设备之间的距离较远,第二终端设备通过扬声器播放来电提示音不会给用户的通话造成太大的影响,因此,音频输出设备可不向第二终端设备发送静音指令。若第二终端设备为响铃模式,则可通过扬声器播放来电提示音,既保证不会对用户的通话产生影响,又能够让用户获知第二终端设备的来电情况,进一步提高了用户的通话体验。Taking the at least two terminal devices including the first terminal device and the second terminal device as an example, when it is determined to answer the incoming call corresponding to the first terminal device, if the distance between the second terminal device and the audio output device is greater than the second distance threshold , the audio output device stops playing the first call reminder audio, and plays the voice data transmitted by the first terminal device. Moreover, since the distance between the second terminal device and the audio output device is relatively far, the second terminal device will not cause too much impact on the user's conversation by playing the incoming call prompt tone through the loudspeaker. The device sends a mute command. If the second terminal device is in the ring mode, the incoming call prompt tone can be played through the speaker, which not only ensures that the user's call will not be affected, but also allows the user to know the incoming call situation of the second terminal device, further improving the user's call experience .
在一些实施例中,上述的音频输出设备可包括耳机设备,在确定接听目标终端设备对应的来电通话时,若检测到耳机设备处于未佩戴状态,则可继续播放本地存储的提示音频数据,和/或,不向其它终端设备发送静音指令。在耳机设备处于未佩戴状态的情况下,若确定接听目标终端设备对应的来电通话时,此时可能会出现用户无法准确获知到同个时间阶段内有多个终端设备同时接收到来电通话的情况,因此,可继续播放本地存储的提示音频数据,和/或,不向其它终端设备发送静音指令,方便用户感知除目标终端设备以外的其它终端设备也接收到来电通话的情况。In some embodiments, the above-mentioned audio output device may include an earphone device. When it is determined to answer the incoming call corresponding to the target terminal device, if it is detected that the earphone device is not worn, the locally stored prompt audio data may continue to be played, and /or, do not send mute instructions to other terminal devices. When the headset device is not worn, if it is determined to answer the incoming call corresponding to the target terminal device, the user may not be able to accurately know that multiple terminal devices receive incoming calls at the same time at the same time Therefore, the locally stored prompt audio data can continue to be played, and/or no mute command is sent to other terminal devices, so that the user can perceive that other terminal devices other than the target terminal device also receive incoming calls.
耳机设备上可设置有一个或多个传感器,并通过传感器采集的数据实时检测耳机设备是否处于佩戴状态。该传感器可包括但不限于光传感器、姿态传感器、距离传感器、温度传感器、心率传感器等中的一种或多种。例如,耳机设备可通过光传感器获取耳机的环境光亮度信息,并在检测到环境光亮度信息小于或等于亮度阈值时,确定耳机设备处于佩戴状态,在检测到环境光亮度信息大于亮度阈值时,确定耳机设备处于未佩戴状态。又例如,耳机设备可通过姿态传感器获取耳机的姿态信息,若该姿态信息与耳机设备已佩戴时的姿态信息匹配,则可确定耳机设备处于佩戴状态,若该姿态信息与耳机设备已佩戴时的姿态信息不匹配,则可确定耳机设备处于未佩戴状态等,但不限于此。One or more sensors can be set on the earphone device, and the data collected by the sensors can be used to detect in real time whether the earphone device is in the wearing state. The sensor may include, but not limited to, one or more of a light sensor, an attitude sensor, a distance sensor, a temperature sensor, a heart rate sensor, and the like. For example, the earphone device can obtain the ambient light brightness information of the earphone through the light sensor, and when it is detected that the ambient light brightness information is less than or equal to the brightness threshold, it is determined that the earphone device is in the wearing state; when it is detected that the ambient light brightness information is greater than the brightness threshold, Make sure that the headset device is not worn. For another example, the earphone device can obtain the attitude information of the earphone through the attitude sensor. If the attitude information matches the attitude information when the earphone device is worn, it can be determined that the earphone device is in the wearing state. If the posture information does not match, it may be determined that the earphone device is in an unworn state, but not limited thereto.
在一些实施例中,若检测到耳机设备从未佩戴状态切换为佩戴状态,则可停止播放本地存储的提示音频数据,并播放目标终端设备发送的语音数据。进一步地,还可向其它终端设备发送静音指令,可避免来电提示音频对用户接听来电通话产生不良影响。可选地,音频输出设备是否向其它终端设备发送静音指令,可根据其它终端设备与音频输出设备之间的距离进行确定,例如,若其它终端设备与音频输出设备之间的距离大于第二距离阈值,则可不向该其它终端设备发送静音指令。In some embodiments, if it is detected that the earphone device is switched from the unworn state to the worn state, it may stop playing the prompt audio data stored locally, and play the voice data sent by the target terminal device. Furthermore, a mute command can also be sent to other terminal devices, which can prevent the incoming call prompt audio from adversely affecting the user's answering of the incoming call. Optionally, whether the audio output device sends a mute instruction to other terminal devices may be determined according to the distance between other terminal devices and the audio output device, for example, if the distance between other terminal devices and the audio output device is greater than the second distance threshold, then the mute command may not be sent to the other terminal device.
在本申请实施例中,在保证不会影响用户接听来电通话的同时,又可保证用户准确获取各终端设备的来电情况,避免出现漏接听的情况,满足用户的不同需求。In the embodiment of the present application, while ensuring that the user will not be affected to answer incoming calls, it can also ensure that the user can accurately obtain the incoming calls of each terminal device, avoiding missed calls, and meeting different needs of users.
在一些实施例中,上述的来电处理方法,还可包括:若在接收到目标终端设备发送的用于表征来电通话结束的结束指令之后,接收到任一其它终端设备发送的来电请求,则播放第二来电提醒音频,第二来电提醒音频用于提示该任一其它终端设备保持来电通话。其中,其它终端设备为至少两个终端设备中除目标终端设备以外的终端设备。In some embodiments, the above-mentioned incoming call processing method may further include: if receiving an incoming call request sent by any other terminal device after receiving the end instruction sent by the target terminal device to represent the end of the incoming call, playing The second incoming call reminding audio, the second incoming calling reminding audio is used to prompt any other terminal device to hold the incoming call. Wherein, the other terminal device is a terminal device other than the target terminal device among the at least two terminal devices.
若目标终端设备结束来电通话,即挂断接听的来电通话,则目标终端设备可向音频输出设备发送结束指令,该结束指令用于表征来电通话结束。音频输出设备接收到结束指令之后,可断开与目标终端设备之间的语音传输链路,并向各个其它终端设备发送通知信号,该通知信号可用于通知各个其它终端设备,音频输出设备当前未进行音频数据传输。其它终端设备接收到通知信号后,若当前还处于来电状态,则可向音频输出设备再次发送来电请求。音频输出设备可根据其它终端设备发送的来电请求,播放第二来电提醒音频。If the target terminal device ends the incoming call, that is, hangs up the received incoming call, the target terminal device may send an end instruction to the audio output device, and the end instruction is used to represent the end of the incoming call. After the audio output device receives the end instruction, it can disconnect the voice transmission link with the target terminal device, and send a notification signal to each other terminal device. The notification signal can be used to notify each other terminal device that the audio output device is currently not connected. Perform audio data transfer. After receiving the notification signal, other terminal devices may send a call request to the audio output device again if they are still in the incoming call state. The audio output device can play the second incoming call reminder audio according to the incoming call request sent by other terminal devices.
在一些实施例中,第二来电提醒音频可根据再次发送来电请求的其它终端设备的数量,以及各个其它终端设备所支持的铃声模式进行确定。若再次发送来电请求的其它终端设备的数量仅为一个其它终端设备,以上述的至少两个终端设备包括第一终端设备及第二终端设备,目标终端设备为第一终端设备为例,若在第一终端设备结束来电通话时,第二终端设备还处于来电状态,则第二终端设备可向音频输出设备再次发送来电请求。若第二终端设备支持带内铃声模式,则第二来电提醒音频可为第二终端设备发 送的铃声音频数据。音频输出设备可与第二终端设备建立第二语音传输链路,通过该第二语音传输链路接收第二终端设备发送的铃声音频数据,并播放该第二终端设备发送的铃声音频数据。In some embodiments, the audio for the second incoming call reminder can be determined according to the number of other terminal devices that send incoming call requests again, and the ringtone modes supported by each other terminal device. If the number of other terminal devices that send the call request again is only one other terminal device, take the above-mentioned at least two terminal devices including the first terminal device and the second terminal device, and the target terminal device is the first terminal device as an example, if in When the first terminal device ends the incoming call and the second terminal device is still in the incoming call state, the second terminal device may send an incoming call request to the audio output device again. If the second terminal device supports the in-band ringtone mode, the second incoming call reminder 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 ringtone audio data sent by the second terminal device through the second voice transmission link, and play the ringtone audio data sent by the second terminal device.
若第二终端设备支持带外铃声模式,则第二来电提醒音频可为本地存储的提示音频数据。音频输出设备接收到第二终端设备发送的来电请求后,可播放本地存储的提示音频数据。If the second terminal device supports the out-of-band ringtone mode, the second incoming call reminder audio may be locally stored reminder audio data. After receiving the incoming call request sent by the second terminal device, the audio output device can play the locally stored prompt audio data.
若再次发送来电请求的其它终端设备的数量为多个其它终端设备,则可根据该多个其它终端设备分别支持的铃声模式进行确定。可能出现以下几种情况中的任一种:该多个其它终端设备中存在至少两个其它终端设备支持带内铃声模式;多个其它终端设备中仅存在一个其它终端设备支持带内铃声模式;该多个其它终端设备均支持带外铃声模式。需要说明的是,针对各种情况下的第二来电提醒音频,可与上述各实施例中描述的各种情况下的第一来电提醒音频相类似,在此不再重复赘述。If the number of other terminal devices that send the incoming call request again is multiple other terminal devices, it may be determined according to the ringtone modes supported by the multiple other terminal devices respectively. Any of the following situations may occur: at least two other terminal devices among the multiple other terminal devices support the in-band ringtone mode; among the multiple other terminal devices, only one other terminal device supports the in-band ringtone mode; The plurality of other terminal devices all support an out-of-band ringtone mode. It should be noted that the second call reminder audio in various situations may be similar to the first call reminder audio in various situations described in the above embodiments, and will not be repeated here.
音频输出设备播放第二来电提醒音频后,用户可根据实际需求选择是否接听其它终端设备的来电通话。After the audio output device plays the second incoming call reminder audio, the user can choose whether to answer incoming calls from other terminal devices according to actual needs.
在本申请实施例中,在目标终端设备结束来电通话后,若存在其它终端设备还处于来电状态,音频输出设备可及时进行提醒,可避免用户遗忘来电通话的情况,满足了用户的不同需求。In the embodiment of the present application, after the target terminal device ends the incoming call, if other terminal devices are still in the incoming call state, the audio output device can remind in time, which can prevent the user from forgetting the incoming call and meet the different needs of the user.
如图8所示,在一个实施例中,提供一种来电处理方法,可应用于第一终端设备,第一终端设备与音频输出设备建立通信连接,该音频输出设备还至少与第二终端设备建立通信连接。该方法可包括以下步骤:As shown in FIG. 8, in one embodiment, a method for processing incoming calls is provided, which can be 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 communicates with at least a second terminal device. Establish a communication connection. The method may include the steps of:
步骤810,若接收到来电通话,则向音频输出设备发送来电请求,以使音频输出设备在接收到第一终端设备及第二终端设备分别发送的来电请求的情况下,根据来电请求播放第一来电提醒音频。Step 810: If an incoming call is received, send an incoming call request to the audio output device, so that the audio output device will play the first call request according to the incoming call request when receiving the incoming call request sent by the first terminal device and the second terminal device respectively. Incoming call reminder audio.
步骤820,若接收到音频输出设备发送的静音指令,则根据静音指令进入静音模式,该静音指令为音频输出设备在确定接听第二终端设备对应的来电通话的情况下发送的。其中,静音模式为不通过扬声器播放来电提示音的模式。Step 820: Enter the mute mode according to the mute instruction sent by the audio output device when the mute instruction is received when the audio output device determines to answer the incoming call corresponding to the second terminal device. Wherein, the silent mode is a mode in which the incoming call prompt tone is not played through the loudspeaker.
需要说明的是,本申请实施例提供的应用于第一终端设备的来电处理方法的描述,可参考上述各实施例中提供的应用于音频输出设备的来电处理方法的相关描述,在此不再重复赘述。It should be noted that, for the description of the incoming call processing method applied to the first terminal device provided in the embodiment of the present application, reference may be made to the relevant descriptions of the incoming call processing method applied to the audio output device provided in the above-mentioned embodiments, and will not be repeated here. Repeat.
在本申请实施例中,在用户接听第二终端设备对应的来电通话的过程中,第一终端设备处于静音模式,不通过扬声器播放来电提示音,可避免外放的来电提示音给用户的通话过程造成不良影响。In this embodiment of the application, when the user is answering the incoming call corresponding to the second terminal device, the first terminal device is in silent mode, and does not play the incoming call prompt tone through the speaker, which can avoid the external incoming call prompt tone for the user's call adverse effects on the process.
如图9所示,在一个实施例中,提供一种来电处理装置900,可应用于上述的音频输出设备,音频输出设备与多个终端设备建立通信连接。该来电处理装置900,可包括请求接收模块910、播放模块920及数据传输模块930。As shown in FIG. 9 , in one embodiment, an incoming call processing apparatus 900 is provided, which can be applied to the above-mentioned audio output device, and the audio output device establishes communication connections with multiple terminal devices. The incoming call processing device 900 may include a request receiving module 910 , a playing module 920 and a data transmission module 930 .
请求接收模块910,用于接收至少两个终端设备分别发送的来电请求。The request receiving module 910 is configured to receive incoming call requests respectively sent by at least two terminal devices.
播放模块920,用于根据来电请求播放第一来电提醒音频,第一来电提醒音频用于提示至少两个终端设备接收到来电通话。The playing module 920 is configured to play the first call reminder audio according to the incoming call request, and the first call reminder audio is used to prompt at least two terminal devices to receive the incoming call.
播放模块920,还用于在确定接听目标终端设备对应的来电通话时,停止播放第一来电提醒音频数据。The playing module 920 is further configured to stop playing the first incoming call reminder audio data when it is determined to answer the incoming call corresponding to the target terminal device.
数据传输模块930,用于与目标终端设备进行语音数据传输。The data transmission module 930 is configured to perform voice data transmission with the target terminal equipment.
播放模块920,还用于播放目标终端设备传输的语音数据。The playing module 920 is also used to play the voice data transmitted by the target terminal device.
在一个实施例中,上述的来电处理装置900,还包括静音模块。In one embodiment, the above-mentioned incoming call processing apparatus 900 further includes a mute module.
静音模块,用于若确定接听目标终端设备对应的来电通话,则向各个其它终端设备发送静音指令,静音指令用于指示其它终端设备进入静音模式,其它终端设备为至少两个终端设备中除目标终端设备以外的终端设备,静音模式为不通过扬声器播放来电提示音的模式。The mute module is used to send a mute command to each other terminal device if it is determined to answer the incoming call corresponding to the target terminal device. The mute command is used to instruct other terminal devices to enter the mute mode. Other terminal devices are at least two terminal devices except the target For terminal equipment other than terminal equipment, the silent mode is a mode in which the incoming call prompt tone is not played through the speaker.
在本申请实施例中,在用户接听目标终端设备对应的来电通话的过程中,音频输出设备不会播放任一来电提醒音频,而只播放目标终端设备传输的语音数据,可避免因来电提醒音频导致用户无法清晰地收听通话语音的情况,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响。且进一步地,音频输出设备可向其它终端设备发送静音指令,以使其它终端设备不通过扬声器播放来电提示音,可避免外放的来电提示音给用户的通话过程造成不良影响。In this embodiment of the application, when the user answers the incoming call corresponding to the target terminal device, the audio output device will not play any incoming call reminder audio, but only play the voice data transmitted by the target terminal device, which can avoid the The situation that the user cannot clearly listen to the voice of the call can provide the user with a clearer call environment, and improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call. Furthermore, the audio output device can send a mute command to other terminal devices, so that other terminal devices do not play the incoming call prompt tone through the speaker, which can prevent the external incoming call prompt tone from causing adverse effects on the user's call process.
在一个实施例中,至少两个终端设备包括第一终端设备及第二终端设备目标终端设备为第一终端设备或第二终端设备。第一终端设备与第二终端设备均支持带内铃声模式,其中,带内铃声模式指的是终端设备接收到来电通话时,通过语音传输链路向音频输出设备传输铃声音频数据的模式。In an embodiment, the at least two terminal devices include the first terminal device and the second terminal device and the target terminal device is the first terminal device or the second terminal device. Both the first terminal device and the second terminal device support an in-band ringtone mode, wherein the inband ringtone mode refers to a mode in which the terminal device transmits ringtone audio data to an audio output device through a voice transmission link when receiving an incoming call.
播放模块920,还用于根据第一终端设备及第二终端设备分别发送的来电请求,播放第一终端设备或第二终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据。The playing module 920 is further configured to play the 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 according to the incoming call requests sent by the first terminal device and the second terminal device respectively.
在一个实施例中,播放模块920,还用于在接收到第一终端设备发送的来电请求之后,以及接收到第二终端设备发送的来电请求之前,与第一终端设备建立第一语音传输链路,并通过第一语音传输链路 接收第一终端设备发送的铃声音频数据;以及播放第一终端设备发送的铃声音频数据。In one embodiment, the playback module 920 is further configured to establish a first voice transmission link with the first terminal device after receiving the call request sent by the first terminal device and before receiving the call request sent by the second terminal device and receive the ringtone audio data sent by the first terminal device through the first voice transmission link; and play the ringtone audio data sent by the first terminal device.
在一个实施例中,播放模块920,还用于若第二终端设备不能成功抢占音频输出设备,则音频输出设备播放第一终端设备发送的铃声音频数据与本地存储的提示音频数据的第一混合音频数据;以及用于若第二终端设备成功抢占音频输出设备,则音频输出设备断开第一语音传输链路,并与第二终端设备建立第二语音传输链路;通过第二语音传输链路接收第二终端设备发送的铃声音频数据,并播放第二终端设备发送的铃声音频数据与本地存储的提示音频数据的第二混合音频数据。In one embodiment, the playing module 920 is further configured to: if the second terminal device cannot successfully preempt the audio output device, the audio output device plays the first mixture of the ringtone audio data sent by the first terminal device and the locally stored prompt audio data. Audio data; and 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; through the second voice transmission link The channel receives the ringtone audio data sent by the second terminal device, and plays the second mixed audio data of the ringtone audio data sent by the second terminal device and the prompt audio data stored locally.
在一个实施例中,播放模块920,还用于若确定接听第二终端设备对应的来电通话,且第一来电提醒音频为第一混合音频数据,则断开与第一终端设备之间的第一语音传输链路,以停止接收第一终端设备发送的铃声音频数据,并停止播放本地存储的提示音频数据。数据传输模块930,还用于与第二终端设备进行语音数据传输。In one embodiment, the playback module 920 is further configured to disconnect the second terminal device from the first terminal device if it is determined to answer the incoming call corresponding to the second terminal device, and the first incoming call reminder audio is the first mixed audio data. A voice transmission link to stop receiving the ring tone audio data sent by the first terminal device, and stop playing the prompt audio data stored locally. The data transmission module 930 is also configured to perform voice data transmission with the second terminal device.
在一个实施例中,播放模块920,还用于若确定接听第一终端设备对应的来电通话,且第一来电提醒音频为第二混合音频数据,则断开与第二终端设备之间的第二语音传输链路,以停止接收第二终端设备发送的铃声音频数据,并停止播放本地存储的提示音频数据。数据传输模块930,还用于与第一终端设备进行语音数据传输。In one embodiment, the playback module 920 is further configured to disconnect the second terminal device from the second terminal device if it is determined to answer the incoming call corresponding to the first terminal device, and the first incoming call reminder audio is the second mixed audio data. 2. The audio transmission link is used to stop receiving the ring tone audio data sent by the second terminal device, and stop playing the prompt audio data stored locally. The data transmission module 930 is also configured to perform voice data transmission with the first terminal device.
在本申请实施例中,在第一终端设备与第二终端设备均支持带内铃声模式的情况下,音频输出设备可播放第一终端设备或第二终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据,以准确提醒用户第一终端设备与第二终端设备均接收到来电通话,且在用户接听第一终端设备或第二终端设备的来电通话的过程中,音频输出设备不再播放来电提醒音频,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响,提高了用户的通话体验。In this embodiment of the application, when both the first terminal device and the second terminal device support the in-band ringtone mode, the audio output device can play the ringtone audio data transmitted by the first terminal device or the second terminal device and the locally stored ringtone audio data. The mixed audio data of the prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device No longer playing the incoming call reminder audio, can provide the user with a clearer call environment, improve the adverse effect of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
在一个实施例中,至少两个终端设备包括第一终端设备及第二终端设备,目标终端设备为第一终端设备或第二终端设备,第一终端设备支持带内铃声模式,第二终端设备支持带外铃声模式;其中,带外铃声模式指的是终端设备接收到来电通话时,不会通过语音传输链路向音频输出设备传输铃声音频数据的模式。In one embodiment, 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 The out-of-band ringtone mode is supported; the out-of-band ringtone mode refers to a mode in which the terminal device does not transmit ringtone audio data to the audio output device through the voice transmission link when receiving an incoming call.
播放模块920,还用于根据第一终端设备及第二终端设备分别发送的来电请求,播放第一终端设备传输的铃声音频数据与本地存储的提示音频数据的第一混合音频数据。The playing module 920 is further configured to play the first mixed audio data of the ring tone audio data transmitted by the first terminal device and the prompt audio data stored locally according to the incoming call requests respectively sent by the first terminal device and the second terminal device.
在一个实施例中,播放模块920,还用于在接收到第一终端设备发送的来电请求之后,以及接收到第二终端设备发送的来电请求之前,与第一终端设备建立第一语音传输链路,并通过第一语音传输链路接收第一终端设备发送的铃声音频数据;播放第一终端设备发送的铃声音频数据;以及用于在接收到第二终端设备发送的来电请求之后,根据第一终端设备及第二终端设备分别发送的来电请求,播放第一终端设备传输的铃声音频数据与本地存储的提示音频数据的第一混合音频数据。In one embodiment, the playback module 920 is further configured to establish a first voice transmission link with the first terminal device after receiving the call request sent by the first terminal device and before receiving the call request sent by the second terminal device and receive the 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 call request sent by the second terminal device, according to the first The incoming call requests sent by the first terminal device and the second terminal device respectively play the first mixed audio data of the ringtone audio data transmitted by the first terminal device and the prompt audio data stored locally.
在一个实施例中,播放模块920,还用于若确定接听第二终端设备对应的来电通话,则断开与第一终端设备之间的第一语音传输链路,以停止接收第一终端设备发送的铃声音频数据,并停止播放本地存储的提示音频数据。数据传输模块930,还用于与第二终端设备进行语音数据传输。播放模块920,还用于播放第二终端设备传输的语音数据。In one embodiment, the playback module 920 is further configured to disconnect the first voice transmission link with the first terminal device if it is determined to answer the incoming call corresponding to the second terminal device, so as to stop receiving the call from the first terminal device. Send the ringtone audio data and stop playing the prompt audio data stored locally. The data transmission module 930 is also configured to perform voice data transmission with the second terminal device. The playing module 920 is further configured to play the voice data transmitted by the second terminal device.
播放模块920,还用于若确定接听第一终端设备对应的来电通话,则停止播放本地存储的提示音频数据,并保持第一语音传输链路。数据传输模块930,还用于通过第一语音传输链路与第一终端设备进行语音数据传输。播放模块920,还用于播放第一终端设备传输的语音数据。The playing module 920 is further configured to stop playing the locally stored prompt audio data and maintain the first voice transmission link if it is determined to answer the incoming call corresponding to the first terminal device. The data transmission module 930 is further configured to perform voice data transmission with the first terminal device through the first voice transmission link. The playing module 920 is further configured to play the voice data transmitted by the first terminal device.
在一个实施例中,第一终端设备支持带外铃声模式,第二终端设备支持带内铃声模式。播放模块920,还用于在接收到第一终端设备发送的来电请求之后,以及接收到第二终端设备发送的来电请求之前,播放本地存储的提示音频数据;以及用于在接收到第二终端设备发送的来电请求时,根据来电请求与第二终端设备建立第二语音传输链路,并通过第二语音传输链路接收第二终端设备发送的铃声音频数据;播放第二终端设备发送的铃声音频数据与本地存储的提示音频数据的第二混合音频数据。In one embodiment, the first terminal device supports the out-of-band ringtone mode, and the second terminal device supports the in-band ringtone mode. The playing module 920 is also used to play the prompt audio data stored locally after receiving the incoming call request sent by the first terminal device and before receiving the incoming call request sent by the second terminal device; When the device sends an incoming call request, establish a second voice transmission link with the second terminal device according to the incoming call request, and receive the ringtone audio data sent by the second terminal device through the second voice transmission link; play the ringtone sent by the second terminal device Second mixed audio data of the audio data and the locally stored prompt audio data.
在本申请实施例中,在第一终端设备与第二终端设备中仅有一个终端设备支持带内铃声模式的情况下,音频输出设备可播放支持带内铃声模式的终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据,以准确提醒用户第一终端设备与第二终端设备均接收到来电通话,且在用户接听第一终端设备或第二终端设备的来电通话的过程中,音频输出设备不再播放来电提醒音频,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响,提高了用户的通话体验。In this embodiment of the application, in the case where only one of the first terminal device and the second terminal device supports the in-band ringtone mode, the audio output device can play the ringtone audio data transmitted by the terminal device supporting the inband ringtone mode Mix audio data with locally stored prompt audio data to accurately remind the user that both the first terminal device and the second terminal device receive an incoming call, and when the user answers the incoming call of the first terminal device or the second terminal device , the audio output device no longer plays the incoming call reminder audio, which can provide users with a clearer call environment, improve the adverse impact of the incoming call reminder audio on the user in the process of answering the incoming call, and improve the user's call experience.
在一个实施例中,至少两个终端设备包括第一终端设备及第二终端设备,目标终端设备为第一终端设备或第二终端设备。第一终端设备及第二终端设备均为支持带外铃声模式的终端设备。播放模块920,还用于根据第一终端设备及第二终端设备分别发送的来电请求,播放本地存储的提示音频数据。In an embodiment, the at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is the first terminal device or the second terminal device. Both the first terminal device and the second terminal device are terminal devices supporting the out-of-band ringtone mode. The playing module 920 is further configured to play the locally stored prompt audio data according to the incoming call requests respectively sent by the first terminal device and the second terminal device.
在本申请实施例中,在第一终端设备与第二终端设备均支持带外铃声模式的情况下,音频输出设备可播放本地存储的提示音频数据,以准确提醒用户第一终端设备与第二终端设备均接收到来电通话,且在用户接听第一终端设备或第二终端设备的来电通话的过程中,音频输出设备不再播放来电提醒音频,能够给用户提供更加清晰的通话环境,改善了来电提醒音频对用户在接听来电通话的过程中造成的不良影响,提高了用户的通话体验。In this embodiment of the application, when both the first terminal device and the second terminal device support the out-of-band ring tone mode, the audio output device can play the locally stored prompt audio data to accurately remind the user that the first terminal device and the second terminal device All terminal devices receive incoming calls, and when the user answers the incoming call of the first terminal device or the second terminal device, the audio output device will no longer play the incoming call reminder audio, which can provide users with a clearer call environment and improve the The incoming call reminder audio has a negative impact on the user in the process of answering the incoming call, which improves the user's call experience.
在一个实施例中,播放模块920,还用于在接听目标终端设备对应的来电通话的过程中,若接收到第三终端设备发送的来电请求,并将目标终端设备发送的语音数据与本地存储的提示音频数据混合播放。其中,第三终端设备不属于上述的至少两个终端设备。In one embodiment, the playback module 920 is also configured to, during the process of answering the incoming call corresponding to the target terminal device, if an incoming call request sent by the third terminal device is received, and the voice data sent by the target terminal device is stored locally. The cue audio data is mixed and played. Wherein, the third terminal device does not belong to the above at least two terminal devices.
在一个实施例中,播放模块920,还用于在确定接听目标终端设备对应的来电通话时,若存在其它终端设备满足提示条件,则继续播放本地存储的提示音频数据;和/或,静音模块不向满足提示条件的其它终端设备发送静音指令。其它终端设备为至少两个终端设备中除目标终端设备以外的终端设备。In one embodiment, the playback module 920 is also used to continue to play the locally stored prompt audio data if there are other terminal devices that meet the prompt condition when it is determined to answer the incoming call corresponding to the target terminal device; and/or, the mute module No mute command is sent to other terminal devices that meet the prompt conditions. The other terminal devices are terminal devices other than the target terminal device among the at least two terminal devices.
其中,提示条件包括与音频输出设备之间的距离大于第一距离阈值、来电通话对应的通话优先级大于优先级阈值中的至少一种。Wherein, the prompting condition includes at least one of a distance from the audio output device greater than a first distance threshold, and a call priority corresponding to an incoming call greater than a priority threshold.
在一个实施例中,播放模块920,还用于若存在其它终端设备与音频输出设备之间的距离大于第二距离阈值,则停止播放第一来电提醒音频,且静音模块不向距离大于第二距离阈值的其它终端设备发送静音指令,第二距离阈值大于第一距离阈值。In one embodiment, the playing module 920 is also used to stop playing the first incoming call reminder audio if the distance between other terminal devices and the audio output device is greater than the second distance threshold, and the mute module does not send the sound to the audio output device at a distance greater than the second distance threshold. Other terminal devices within the distance threshold send mute instructions, and the second distance threshold is greater than the first distance threshold.
在一个实施例中,播放模块920,还用于若在接收到目标终端设备发送的用于表征来电通话结束的结束指令之后,接收到任一其它终端设备发送的来电请求,则播放第二来电提醒音频,第二来电提醒音频用于提示任一其它终端设备保持来电通话;其中,其它终端设备为至少两个终端设备中除目标终端设备以外的终端设备。In one embodiment, the playing module 920 is further configured to play the second incoming call request if receiving an incoming call request sent by any other terminal device after receiving the end instruction sent by the target terminal device to represent the end of the incoming call. The reminder audio, the second incoming call reminder audio is used to prompt any other terminal device to hold the incoming call; wherein, the other terminal device is a terminal device other than the target terminal device among the at least two terminal devices.
在本申请实施例中,在目标终端设备结束来电通话后,若存在其它终端设备还处于来电状态,音频输出设备可及时进行提醒,可避免用户遗忘来电通话的情况,满足了用户的不同需求。In the embodiment of the present application, after the target terminal device ends the incoming call, if other terminal devices are still in the incoming call state, the audio output device can remind in time, which can prevent the user from forgetting the incoming call and meet the different needs of the user.
如图10所示,在一个实施例中,提供一种来电处理装置1000,应用于第一终端设备,第一终端设备与音频输出设备建立通信连接,音频输出设备还至少与第二终端设备建立通信连接。来电处理装置1000包括请求发送模块1010及静音模块1020。As shown in FIG. 10, in one embodiment, an incoming call processing apparatus 1000 is provided, which is 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 at least a second terminal device. communication connection. The incoming call processing device 1000 includes a request sending module 1010 and a mute module 1020 .
请求发送模块1010,用于若接收到来电通话,则向音频输出设备发送来电请求,以使音频输出设备在接收到第一终端设备及第二终端设备分别发送的来电请求的情况下,根据来电请求播放第一来电提醒音频,第一来电提醒音频用于提示第一终端设备及第二终端设备接收到来电通话。The request sending module 1010 is configured to send an incoming call request to the audio output device if an incoming call is received, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively. Requesting to play the first call reminder audio, the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call.
静音模块1020,用于若接收到音频输出设备发送的静音指令,则根据静音指令进入静音模式,静音模式为不通过扬声器播放来电提示音的模式;静音指令为音频输出设备在确定接听第二终端设备对应的来电通话的情况下发送的。The mute module 1020 is used to enter the mute mode according to the mute command if the mute command sent by the audio output device is received. The mute mode is a mode in which the call prompt tone is not played through the speaker; the mute command is that the audio output device determines to answer the second terminal Sent in case of an incoming call corresponding to the device.
在本申请实施例中,在用户接听第二终端设备对应的来电通话的过程中,第一终端设备处于静音模式,不通过扬声器播放来电提示音,可避免外放的来电提示音给用户的通话过程造成不良影响。In this embodiment of the application, when the user is answering the incoming call corresponding to the second terminal device, the first terminal device is in silent mode, and does not play the incoming call prompt tone through the speaker, which can avoid the external incoming call prompt tone for the user's call adverse effects on the process.
图11为一个实施例中电子设备的结构框图。如图11所示,电子设备1100可以包括一个或多个如下部件:处理器1110、与处理器1110耦合的存储器1120,其中存储器1120可存储有一个或多个计算机程序,一个或多个计算机程序可以被配置为由一个或多个处理器1110执行时实现如上述各实施例描述的应用于音频输出设备的来电处理方法。Fig. 11 is a structural block diagram of an electronic device in one embodiment. As shown in FIG. 11 , an electronic device 1100 may include one or more of the following components: a processor 1110, a memory 1120 coupled to the processor 1110, wherein the memory 1120 may store one or more computer programs, one or more computer programs It may be configured to be executed by one or more processors 1110 to implement the incoming call processing method applied to the audio output device as described in the foregoing embodiments.
处理器1110可以包括一个或者多个处理核。处理器1110利用各种接口和线路连接整个电子设备1100内的各个部分,通过运行或执行存储在存储器1120内的指令、程序、代码集或指令集,以及调用存储在存储器1120内的数据,执行电子设备1100的各种功能和处理数据。可选地,处理器1110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1110中,单独通过一块通信芯片进行实现。 Processor 1110 may include one or more processing cores. The processor 1110 uses various interfaces and lines to connect various parts of the entire electronic device 1100, and executes or executes instructions, programs, code sets or instruction sets stored in the memory 1120, and calls data stored in the memory 1120 to execute Various functions of the electronic device 1100 and processing data. Optionally, the processor 1110 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware. The processor 1110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the displayed content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1110, but may be realized by a communication chip alone.
存储器1120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。存储器1120可用于存储指令、程序、代码、代码集或指令集。存储器1120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等。存储数据区还可以存储电子设备1100在使用中所创建的数据等。The memory 1120 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory, ROM). The memory 1120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the foregoing method embodiments, and the like. The storage data area can also store data created by the electronic device 1100 during use, and the like.
电子设备1100还可包括蓝牙模块,蓝牙模块可用于提供蓝牙通信功能,与其它电子设备建立蓝牙连接,并进行蓝牙数据传输。蓝牙模块可支持一种或多种蓝牙协议,如经典蓝牙、BLE等),但不限于此,可随着蓝牙协议的发展而变化。The electronic device 1100 can also include a Bluetooth module, which can be used to provide a Bluetooth communication function, establish a Bluetooth connection with other electronic devices, and perform Bluetooth data transmission. The bluetooth module can support one or more bluetooth protocols, such as classic bluetooth, BLE, etc.), but not limited thereto, and can change with the development of bluetooth protocols.
可以理解地,电子设备1100可包括比上述结构框图中更多或更少的结构元件,例如,包括电源模块、物理按键、传感器等,还可在此不进行限定。It can be understood that the electronic device 1100 may include more or less structural elements than those in the above structural block diagrams, for example, including a power module, physical keys, sensors, etc., which are not limited here.
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现如上述各实施例描述的应用于音频输出设备的来电处理方法。The embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein, when the computer program is executed by a processor, the method for processing an incoming call applied to an audio output device as described in the foregoing embodiments is implemented.
本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的应用于音频输出设备的来电处理方法。The embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the application as described in the above-mentioned embodiments can be implemented. The incoming call processing method of the audio output device.
在一个实施例中,还提供一种电子设备,该电子设备包括存储器及处理器,存储器中存储有计算机程序,该计算机程序被该处理器执行时,使得该处理器实现如上各实施例中描述的应用于第一终端设备的来电处理方法。In one embodiment, there is also provided an electronic device, the electronic device includes a memory and a processor, and a computer program is stored in the memory, and when the computer program is executed by the processor, the processor realizes the above described in each embodiment. The incoming call processing method applied to the first terminal device.
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现如上述各实施例描述的应用于第一终端设备的来电处理方法。The embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein when the computer program is executed by a processor, the method for processing an incoming call applied to a first terminal device as described in the foregoing embodiments is implemented.
本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的应用第一终端设备的来电处理方法。The embodiment of the present application discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the application as described in the above-mentioned embodiments can be realized. A method for processing incoming calls of a terminal device.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、ROM等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized through computer programs to instruct related hardware, and the programs can be stored in a non-volatile computer-readable storage medium When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a ROM, or the like.
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括ROM、可编程ROM(Programmable ROM,PROM)、可擦除PROM(Erasable PROM,EPROM)、电可擦除PROM(Electrically Erasable PROM,EEPROM)或闪存。易失性存储器可包括随机存取存储器(random access memory,RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM可为多种形式,诸如静态RAM(Static RAM,SRAM)、动态RAM(Dynamic Random Access Memory,DRAM)、同步DRAM(synchronous DRAM,SDRAM)、双倍数据率SDRAM(Double Data Rate SDRAM,DDR SDRAM)、增强型SDRAM(Enhanced Synchronous DRAM,ESDRAM)、同步链路DRAM(Synchlink DRAM,SLDRAM)、存储器总线直接RAM(Rambus DRAM,RDRAM)及直接存储器总线动态RAM(Direct Rambus DRAM,DRDRAM)。Any reference to memory, storage, database or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (Erasable PROM, EPROM), Electrically Erasable PROM (Electrically Erasable PROM, EEPROM) or flash memory. Volatile memory can include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM can take many forms, such as static RAM (Static RAM, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (synchronous DRAM, SDRAM), double data rate SDRAM (Double data rate Data Rate SDRAM, DDR SDRAM), enhanced SDRAM (Enhanced Synchronous DRAM, ESDRAM), synchronous link DRAM (Synchlink DRAM, SLDRAM), memory bus direct RAM (Rambus DRAM, RDRAM) and direct memory bus dynamic RAM (Direct Rambus DRAM) , DRDRAM).
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。需要说明的,本申请中的“多个”包括“两个或两个以上”。It should be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by this application. It should be noted that "plurality" in this application includes "two or more".
在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In various embodiments of the present application, it should be understood that the sequence numbers of the above-mentioned processes do not necessarily mean the order of execution. The implementation of the examples constitutes no limitation.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, located in one place, or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
以上对本申请实施例公开的一种来电处理方法、装置、电子设备及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A method, device, electronic device, and storage medium for processing incoming calls disclosed in the embodiments of the present application have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used To help understand the method and core idea of the present application. At the same time, for those skilled in the art, based on the idea of this application, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the application.

Claims (20)

  1. 一种来电处理方法,其特征在于,应用于音频输出设备,所述音频输出设备与多个终端设备建立通信连接;所述方法包括:A method for processing incoming calls, characterized in that it is applied to an audio output device, and the audio output device establishes a communication connection with a plurality of terminal devices; the method includes:
    接收至少两个终端设备分别发送的来电请求,并根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述至少两个终端设备接收到来电通话;receiving incoming call requests respectively sent by at least two terminal devices, and playing a first incoming call reminder audio according to the incoming call requests, where the first incoming call reminding audio is used to prompt the at least two terminal devices to receive incoming calls;
    若确定接听目标终端设备对应的来电通话,则停止播放所述第一来电提醒音频,并与所述目标终端设备进行语音数据传输,播放所述目标终端设备传输的语音数据。If it is determined to answer the incoming call corresponding to the target terminal device, stop playing the first call reminder audio, and perform voice data transmission with the target terminal device, and play the voice data transmitted by the target terminal device.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    若确定接听目标终端设备对应的来电通话,则向各个其它终端设备发送静音指令,所述静音指令用于指示所述其它终端设备进入静音模式,所述其它终端设备为所述至少两个终端设备中除所述目标终端设备以外的终端设备,所述静音模式为不通过扬声器播放来电提示音的模式。If it is determined to answer the incoming call corresponding to the target terminal device, then send a mute command to each other terminal device, the mute command is used to instruct the other terminal device to enter the mute mode, and the other terminal device is the at least two terminal devices For terminal devices other than the target terminal device, the silent mode is a mode in which no caller prompt tone is played through the speaker.
  3. 根据权利要求1或2所述的方法,其特征在于,所述至少两个终端设备包括第一终端设备及第二终端设备,所述目标终端设备为所述第一终端设备或第二终端设备,所述第一终端设备与所述第二终端设备均支持带内铃声模式;其中,所述带内铃声模式指的是终端设备接收到来电通话时,通过语音传输链路向所述音频输出设备传输铃声音频数据的模式;The method according to claim 1 or 2, wherein the at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is the first terminal device or the second terminal device , both the first terminal device and the second terminal device support an in-band ring tone mode; wherein, the in-band ring tone mode refers to that when a terminal device receives an incoming call, it outputs to the audio through a voice transmission link The mode in which the device transmits ringtone audio data;
    所述根据所述来电请求播放第一来电提醒音频,包括:The playing the first call reminder audio according to the call request includes:
    根据所述第一终端设备及所述第二终端设备分别发送的来电请求,播放所述第一终端设备或所述第二终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据。According to the incoming call request sent by the first terminal device and the second terminal device respectively, play the mixed audio data of the ring tone audio data transmitted by the first terminal device or the second terminal device and the prompt audio data stored locally .
  4. 根据权利要求3所述的方法,其特征在于,在接收到所述第一终端设备发送的来电请求之后,以及接收到所述第二终端设备发送的来电请求之前,所述方法还包括:The method according to claim 3, characterized in that, after receiving the incoming call request sent by the first terminal device and before receiving the incoming call request sent by the second terminal device, the method further comprises:
    与所述第一终端设备建立第一语音传输链路,并通过所述第一语音传输链路接收所述第一终端设备发送的铃声音频数据;Establishing a first voice transmission link with the first terminal device, and receiving 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. 根据权利要求4所述的方法,其特征在于,所述根据所述第一终端设备及所述第二终端设备分别发送的来电请求,播放所述第一终端设备或所述第二终端设备传输的铃声音频数据与本地存储的提示音频数据的混合音频数据,包括:The method according to claim 4, characterized in that, according to the incoming call request sent by the first terminal device and the second terminal device respectively, playing the transmission of the first terminal device or the second terminal device The mixed audio data of ringtone audio data and locally stored prompt audio data, including:
    若所述第二终端设备不能成功抢占所述音频输出设备,则所述音频输出设备播放所述第一终端设备发送的铃声音频数据与本地存储的提示音频数据的第一混合音频数据;If the second terminal device cannot successfully preempt the audio output device, the audio output device plays the first mixed audio data 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;
    通过所述第二语音传输链路接收所述第二终端设备发送的铃声音频数据,并播放所述第二终端设备发送的铃声音频数据与本地存储的提示音频数据的第二混合音频数据。Receive the ringtone audio data sent by the second terminal device through the second voice transmission link, and play the second mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data.
  6. 根据权利要求5所述的方法,其特征在于,所述若确定接听目标终端设备对应的来电通话,则停止播放所述第一来电提醒音频,并与所述目标终端设备进行语音数据传输,包括:The method according to claim 5, wherein if it is determined to answer the incoming call corresponding to the target terminal device, then stop playing the first call reminder audio, and perform voice data transmission with the target terminal device, including :
    若确定接听所述第二终端设备对应的来电通话,且所述第一来电提醒音频为所述第一混合音频数据,则断开与所述第一终端设备之间的第一语音传输链路,以停止接收所述第一终端设备发送的铃声音频数据,并停止播放所述本地存储的提示音频数据,并与所述第二终端设备进行语音数据传输;If it is determined to answer the incoming call corresponding to the second terminal device, and the first call reminder audio is the first mixed audio data, disconnect the first voice transmission link with the first terminal device , to stop receiving the ring tone audio data sent by the first terminal device, and stop playing the locally stored prompt audio data, and perform voice data transmission with the second terminal device;
    和/或,and / or,
    若确定接听所述第一终端设备对应的来电通话,且所述第一来电提醒音频为所述第二混合音频数据,则断开与所述第二终端设备之间的第二语音传输链路,以停止接收所述第二终端设备发送的铃声音频数据,并停止播放所述本地存储的提示音频数据,并与所述第一终端设备进行语音数据传输。If it is determined to answer the incoming call corresponding to the first terminal device, and the first call reminder audio is the second mixed audio data, disconnecting the second voice transmission link with the second terminal device , 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. 根据权利要求1或2所述的方法,其特征在于,所述至少两个终端设备包括第一终端设备及第二终端设备,所述目标终端设备为所述第一终端设备或第二终端设备,所述第一终端设备支持带内铃声模式,所述第二终端设备支持带外铃声模式;其中,所述带内铃声模式指的是终端设备接收到来电通话时,通过语音传输链路向所述音频输出设备传输铃声音频数据的模式,所述带外铃声模式指的是终端设备接收到来电通话时,不会通过语音传输链路向所述音频输出设备传输铃声音频数据的模式;The method according to claim 1 or 2, wherein the at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is the first terminal device or the second terminal device , the first terminal device supports an in-band ringtone mode, and the second terminal device supports an out-of-band ringtone mode; wherein, the in-band ringtone mode refers to that when a terminal device receives an incoming call, the The mode in which the audio output device transmits ringtone audio data, the out-of-band ringtone mode refers to a 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 playing the first call reminder audio according to the call request includes:
    根据所述第一终端设备及所述第二终端设备分别发送的来电请求,播放所述第一终端设备传输的铃声音频数据与本地存储的提示音频数据的第一混合音频数据。Playing the first mixed audio data of the ring tone audio data transmitted by the first terminal device and the prompt audio data stored locally according to the incoming call requests respectively sent by the first terminal device and the second terminal device.
  8. 根据权利要求7所述的方法,其特征在于,在接收到所述第一终端设备发送的来电请求之后,以及接收到所述第二终端设备发送的来电请求之前,所述方法还包括:The method according to claim 7, characterized in that, after receiving the incoming call request sent by the first terminal device and before receiving the incoming call request sent by the second terminal device, the method further comprises:
    与所述第一终端设备建立第一语音传输链路,并通过所述第一语音传输链路接收所述第一终端设备发送的铃声音频数据;Establishing a first voice transmission link with the first terminal device, and receiving ringtone audio data sent by the first terminal device through the first voice transmission link;
    播放所述第一终端设备发送的铃声音频数据;playing the ring tone audio data sent by the first terminal device;
    以及在接收到所述第二终端设备发送的来电请求之后,执行所述根据所述第一终端设备及所述第二终端设备分别发送的来电请求,播放所述第一终端设备传输的铃声音频数据与本地存储的提示音频数据的第一混合音频数据的步骤。and after receiving the incoming call request sent by the second terminal device, execute the incoming call request sent by the first terminal device and the second terminal device respectively, and play the ringtone audio transmitted by the first terminal device The step of first mixing audio data with locally stored prompt audio data.
  9. 根据权利要求8所述的方法,其特征在于,所述若确定接听目标终端设备对应的来电通话,则停止播放所述第一来电提醒音频,并与所述目标终端设备进行语音数据传输,播放所述目标终端设备传输的语音数据,包括:The method according to claim 8, wherein if it is determined to answer the incoming call corresponding to the target terminal device, then stop playing the first call reminder audio, and perform voice data transmission with the target terminal device, and play The voice data transmitted by the target terminal equipment includes:
    若确定接听所述第二终端设备对应的来电通话,则断开与所述第一终端设备之间的第一语音传输链路,以停止接收所述第一终端设备发送的铃声音频数据,并停止播放所述本地存储的提示音频数据;If it is determined to answer the incoming call corresponding to the second terminal device, disconnecting 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 the prompt audio data stored locally;
    与所述第二终端设备进行语音数据传输,并播放所述第二终端设备传输的语音数据;performing voice data transmission with the second terminal device, and playing the voice data transmitted by the second terminal device;
    和/或,and / or,
    若确定接听所述第一终端设备对应的来电通话,则停止播放所述本地存储的提示音频数据,并保持所述第一语音传输链路,通过所述第一语音传输链路与所述第一终端设备进行语音数据传输,并播放所述第一终端设备传输的语音数据。If it is determined to answer the incoming call corresponding to the first terminal device, stop playing the locally stored prompt audio data, and maintain the first voice transmission link, and communicate with the second voice transmission link through the first voice transmission link. A terminal device transmits voice data, and plays the voice data transmitted by the first terminal device.
  10. 根据权利要求1或2所述的方法,其特征在于,所述至少两个终端设备包括第一终端设备及第二终端设备,所述目标终端设备为所述第一终端设备或第二终端设备,所述第一终端设备支持带外铃声模式,所述第二终端设备支持带内铃声模式;其中,所述带内铃声模式指的是终端设备接收到来电通话时,通过语音传输链路向所述音频输出设备传输铃声音频数据的模式,所述带外铃声模式指的是终端设备接收到来电通话时,不会通过语音传输链路向所述音频输出设备传输铃声音频数据的模式;The method according to claim 1 or 2, wherein the at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is the first terminal device or the second terminal device , the first terminal device supports an out-of-band ring tone mode, and the second terminal device supports an in-band ring tone mode; wherein, the in-band ring tone mode refers to that when the terminal device receives an incoming call, the The mode in which the audio output device transmits ringtone audio data, the out-of-band ringtone mode refers to a 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;
    在接收到所述第一终端设备发送的来电请求之后,以及接收到所述第二终端设备发送的来电请求之前,所述方法还包括:After receiving the incoming call request sent by the first terminal device and before receiving the incoming call request sent by the second terminal device, the method further includes:
    播放本地存储的提示音频数据;Play the prompt audio data stored locally;
    所述根据所述来电请求播放第一来电提醒音频,包括:The playing the first call reminder audio according to the call request includes:
    在接收到所述第二终端设备发送的来电请求时,根据所述来电请求与所述第二终端设备建立第二语音传输链路,并通过所述第二语音传输链路接收所述第二终端设备发送的铃声音频数据;When receiving the incoming call request sent by the second terminal device, establish a second voice transmission link with the second terminal device according to the incoming call request, and receive the second voice transmission link through the second voice transmission link. Ringtone audio data sent by the terminal device;
    播放所述第二终端设备发送的铃声音频数据与本地存储的提示音频数据的第二混合音频数据。Playing the second mixed audio data of the ringtone audio data sent by the second terminal device and the locally stored prompt audio data.
  11. 根据权利要求1所述的方法,其特征在于,所述至少两个终端设备包括第一终端设备及第二终端设备,所述目标终端设备为所述第一终端设备或所述第二终端设备;所述第一终端设备及第二终端设备均为支持带外铃声模式的终端设备;其中,所述带外铃声模式指的是终端设备接收到来电通话时,不会通过语音传输链路向所述音频输出设备传输铃声音频数据的模式;The method according to claim 1, wherein the at least two terminal devices include a first terminal device and a second terminal device, and the target terminal device is the first terminal device or the second terminal device ; Both the first terminal device and the second terminal device are terminal devices that support the out-of-band ringtone mode; wherein, the out-of-band ringtone mode refers to that when the terminal device receives an incoming call, it will not pass the voice transmission link to The mode in which the audio output device transmits ring tone audio data;
    所述根据所述来电请求播放第一来电提醒音频,包括:The playing the first call reminder audio according to the call request includes:
    根据所述第一终端设备及所述第二终端设备分别发送的来电请求,播放本地存储的提示音频数据。Playing locally stored prompt audio data according to incoming call requests sent by the first terminal device and the second terminal device respectively.
  12. 根据权利要求1~2、4~6、8~9、11任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-2, 4-6, 8-9, 11, characterized in that the method further comprises:
    在接听所述目标终端设备对应的来电通话的过程中,若接收到第三终端设备发送的来电请求,将所述目标终端设备发送的语音数据与本地存储的提示音频数据混合播放,所述第三终端设备不属于所述至少两个终端设备。In the process of answering the incoming call corresponding to the target terminal device, if an incoming call request sent by the third terminal device is received, the voice data sent by the target terminal device and the locally stored prompt audio data are mixed and played, and the third terminal device The three terminal devices do not belong to the at least two terminal devices.
  13. 根据权利要求1~2、4~6、8~9、11任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-2, 4-6, 8-9, 11, characterized in that the method further comprises:
    在确定接听目标终端设备对应的来电通话时,若存在其它终端设备满足提示条件,则继续播放本地存储的提示音频数据,和/或,不向满足所述提示条件的其它终端设备发送静音指令;所述其它终端设备为所述至少两个终端设备中除所述目标终端设备以外的终端设备;When it is determined to answer the incoming call corresponding to the target terminal device, if there are other terminal devices that meet the prompt condition, continue to play the locally stored prompt audio data, and/or not send a mute instruction to other terminal devices that meet the prompt condition; The other terminal device is a terminal device other than the target terminal device among the at least two terminal devices;
    其中,所述提示条件包括与所述音频输出设备之间的距离大于第一距离阈值、来电通话对应的通话优先级大于优先级阈值中的至少一种。Wherein, the prompt condition includes at least one of a distance from the audio output device greater than a first distance threshold, and a call priority corresponding to an incoming call greater than a priority threshold.
  14. 根据权利要求13所述的方法,其特征在于,若存在其它终端设备满足提示条件,则不向满足所述提示条件的其它终端设备发送静音指令,包括:The method according to claim 13, characterized in that, if there are other terminal devices that meet the prompting conditions, the mute instruction is not sent to 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, stop playing the first incoming call reminder audio, and do not send a mute instruction to other terminal devices whose distance is greater than the second distance threshold, so The second distance threshold is greater than the first distance threshold.
  15. 根据权利要求1~2、4~6、8~9、11任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-2, 4-6, 8-9, 11, characterized in that the method further comprises:
    若在接收到所述目标终端设备发送的用于表征来电通话结束的结束指令之后,接收到任一其它终端 设备发送的来电请求,则播放第二来电提醒音频,所述第二来电提醒音频用于提示所述任一其它终端设备保持来电通话;其中,所述其它终端设备为所述至少两个终端设备中除所述目标终端设备以外的终端设备。If after receiving the end instruction sent by the target terminal device to indicate the end of the incoming call, if any other terminal device receives an incoming call request, the second incoming call reminder audio is played, and the second incoming call reminder audio is used To prompt any other terminal device to hold the incoming call; wherein, the other terminal device is a terminal device other than the target terminal device among the at least two terminal devices.
  16. 一种来电处理方法,其特征在于,应用于第一终端设备,所述第一终端设备与音频输出设备建立通信连接,所述音频输出设备还至少与第二终端设备建立通信连接;所述方法包括:A method for processing incoming calls, characterized in that it is applied to a first terminal device, and 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 include:
    若接收到来电通话,则向所述音频输出设备发送来电请求,以使所述音频输出设备在接收到所述第一终端设备及第二终端设备分别发送的来电请求的情况下,根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述第一终端设备及第二终端设备接收到来电通话;If an incoming call is received, an incoming call request is sent to the audio output device, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively, according to the An incoming call requests to play a first call reminder audio, and the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call;
    若接收到所述音频输出设备发送的静音指令,则根据所述静音指令进入静音模式,所述静音模式为不通过扬声器播放来电提示音的模式;所述静音指令为所述音频输出设备在确定接听所述第二终端设备对应的来电通话的情况下发送的。If the mute command sent by the audio output device is received, enter the mute mode according to the mute command, the mute mode is a mode in which the call prompt tone is not played through the loudspeaker; the mute command is determined by the audio output device It is sent when the incoming call corresponding to the second terminal device is answered.
  17. 一种来电处理装置,其特征在于,应用于音频输出设备,所述音频输出设备与多个终端设备建立通信连接;所述装置包括:An incoming call processing device is characterized in that it is applied to an audio output device, and the audio output device establishes a communication connection with a plurality of terminal devices; the device includes:
    请求接收模块,用于接收至少两个终端设备分别发送的来电请求;a request receiving module, configured to receive incoming call requests sent by at least two terminal devices;
    播放模块,用于根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述至少两个终端设备接收到来电通话;A playing module, configured to play a first call reminder audio according to the incoming call request, and the first call reminder audio is used to prompt the at least two terminal devices to receive an incoming call;
    所述播放模块,还用于在确定接听目标终端设备对应的来电通话时,停止播放所述第一来电提醒音频数据;The playing module is further configured to stop playing the first incoming call reminder audio data when it is determined to answer the incoming call corresponding to the target terminal device;
    数据传输模块,用于与所述目标终端设备进行语音数据传输;A data transmission module, configured to transmit voice data with the target terminal device;
    所述播放模块,还用于播放所述目标终端设备传输的语音数据。The playing module is also used to play the voice data transmitted by the target terminal equipment.
  18. 一种来电处理装置,其特征在于,应用于第一终端设备,所述第一终端设备与音频输出设备建立通信连接,所述音频输出设备还至少与第二终端设备建立通信连接;所述装置包括:An incoming call processing device, characterized in that it is applied to a first terminal device, and 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 device include:
    请求发送模块,用于若接收到来电通话,则向所述音频输出设备发送来电请求,以使所述音频输出设备在接收到所述第一终端设备及第二终端设备分别发送的来电请求的情况下,根据所述来电请求播放第一来电提醒音频,所述第一来电提醒音频用于提示所述第一终端设备及第二终端设备接收到来电通话;The request sending module is configured to send an incoming call request to the audio output device if an incoming call is received, so that the audio output device receives the incoming call request sent by the first terminal device and the second terminal device respectively In this case, playing a first call reminder audio according to the incoming call request, the first call reminder audio is used to prompt the first terminal device and the second terminal device to receive an incoming call;
    静音模块,用于若接收到所述音频输出设备发送的静音指令,则根据所述静音指令进入静音模式,所述静音模式为不通过扬声器播放来电提示音的模式;所述静音指令为所述音频输出设备在确定接听所述第二终端设备对应的来电通话的情况下发送的。The mute module is configured to enter a mute mode according to the mute command if the mute command sent by the audio output device is received, and the mute mode is a mode in which an incoming call prompt tone is not played through a loudspeaker; the mute command is the The audio output device sends it when it determines to answer the incoming call corresponding to the second terminal device.
  19. 一种电子设备,其特征在于,包括存储有可执行程序代码的存储器,以及与所述存储器耦合的处理器;其中,所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1~15或16任一项所述的方法。An electronic device, characterized by comprising a memory storing executable program codes, and a processor coupled to the memory; wherein the processor invokes the executable program codes stored in the memory to execute The method according to any one of claims 1-15 or 16.
  20. 一种计算机可读存储介质,其存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~15或16任一项所述的方法。A computer-readable storage medium storing a computer program, wherein the computer program implements the method according to any one of claims 1-15 or 16 when executed by a processor.
PCT/CN2022/124921 2021-12-14 2022-10-12 Incoming call processing method and apparatus, electronic device, and storage medium WO2023109282A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111532141.4 2021-12-14
CN202111532141.4A CN116264679A (en) 2021-12-14 2021-12-14 Incoming call processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023109282A1 true WO2023109282A1 (en) 2023-06-22

Family

ID=86722477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/124921 WO2023109282A1 (en) 2021-12-14 2022-10-12 Incoming call processing method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN116264679A (en)
WO (1) WO2023109282A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170359458A1 (en) * 2015-02-10 2017-12-14 Michael Rothschild Systems and methods for enhancing communication device performance during interaction with a voice response system
CN109155803A (en) * 2016-08-26 2019-01-04 华为技术有限公司 audio data processing method, terminal device and storage medium
CN111200776A (en) * 2020-03-05 2020-05-26 北京声智科技有限公司 Audio playing control method and sound box equipment
CN112367648A (en) * 2020-09-29 2021-02-12 深圳市汇顶科技股份有限公司 Call management method, chip and audio output device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170359458A1 (en) * 2015-02-10 2017-12-14 Michael Rothschild Systems and methods for enhancing communication device performance during interaction with a voice response system
CN109155803A (en) * 2016-08-26 2019-01-04 华为技术有限公司 audio data processing method, terminal device and storage medium
CN111200776A (en) * 2020-03-05 2020-05-26 北京声智科技有限公司 Audio playing control method and sound box equipment
CN112367648A (en) * 2020-09-29 2021-02-12 深圳市汇顶科技股份有限公司 Call management method, chip and audio output device

Also Published As

Publication number Publication date
CN116264679A (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN109644216A (en) A kind of method and terminal of Bluetooth communication
WO2018082335A1 (en) Method, apparatus, system, and device for connecting bluetooth device
US8401532B2 (en) Method for simulating network hold
CN109548184B (en) Method and device for connecting mobile terminal and Bluetooth device and mobile terminal
US7729298B2 (en) Method and system for manipulating a shared object
WO2009014925A2 (en) Multiple interactive modes for using multiple earpieces linked to a common mobile handset
US9172792B2 (en) Method and electronic device for wireless communication
US10827455B1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
US20220322059A1 (en) Bluetooth data transmission method and apparatus, terminal and storage medium
JP2003319062A (en) Handfree portable telephone and handfree switching program
US20230325145A1 (en) Audio Control System
WO2023087793A1 (en) Audio service processing method and apparatus, electronic device, and storage medium
WO2024055494A1 (en) Call method and apparatus based on bluetooth earphone, and storage medium
CN106231569A (en) A kind of method that mobile terminal is controlled and mobile terminal
CN110602681A (en) Information processing method and electronic device
WO2023045784A1 (en) Call control method and apparatus, and electronic device and computer-readable storage medium
WO2023109282A1 (en) Incoming call processing method and apparatus, electronic device, and storage medium
JP5430906B2 (en) Communication terminal
WO2023045800A1 (en) Call control method and apparatus, electronic device, and computer-readable storage medium
WO2015123927A1 (en) Communication transfer method, communication method, communication terminal and communication system
JP6537159B1 (en) Communication control device and communication control program
WO2023035918A1 (en) Audio playing control method and apparatus, and audio output device and storage medium
JP6612105B2 (en) Telephone, control method, and control program
WO2022228569A1 (en) Method and apparatus for bluetooth device to control transmission and electronic device
KR20070032555A (en) Method and apparatus for three conference call by bluetooth equipment in short distance

Legal Events

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

Ref document number: 22906034

Country of ref document: EP

Kind code of ref document: A1