Equipment muting method and device, equipment and storage medium

By receiving the call status information of the terminal in the wireless audio device and switching the mute state when the call is hung up, the short-term noise problem caused by the wireless audio device due to compensation for the audio data received after the call is hung up is solved, and the user experience is improved.

CN119316772APending Publication Date: 2025-01-14GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310843258.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-10
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

Compensation for audio data received by wireless audio devices after hang up the call results in short noise, affecting the user experience.

Method used

Receive call status information through the Bluetooth connection between the terminal and the wireless audio device, switch the wireless audio device to the mute state when the call status is hung up, and unmute the mute state when the data transmission channel is disconnected to avoid noise.

Benefits of technology

It effectively solves the short-term noise problem caused by the compensation of audio data received by wireless audio equipment after hang up, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316772A_ABST
    Figure CN119316772A_ABST
Patent Text Reader

Abstract

The invention provides an equipment muting method and device, equipment and a storage medium, and belongs to the technical field of communication. The method comprises the steps that call state information sent by a terminal is received through Bluetooth connection between the terminal and wireless audio equipment, and the call state information is used for indicating the call state of a call service currently carried out by the terminal; under the condition that the call state is a hang-up state, the wireless audio equipment is switched to a mute state, and the mute state is used for indicating that the wireless audio equipment does not play the received audio data; in response to disconnection of a data transmission channel between the wireless audio equipment and the terminal, the mute state of the wireless audio equipment is relieved, and the data transmission channel is used for transmitting audio data of the call service. According to the scheme, the problem of transient noise caused by the fact that the wireless audio equipment compensates the audio data received after the call is hung up can be solved, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a device muting method, apparatus, device and storage medium. Background Art

[0002] With the continuous development of Bluetooth technology, it is very common to realize data transmission between terminals and wireless audio devices through Bluetooth technology in daily life. In the related technology, when a wireless audio device is in use, it can first establish an audio connection based on Bluetooth with the terminal. Then, the terminal and the wireless audio device can interact with audio data through the audio connection. Since LE-Audio (the next generation of Bluetooth audio transmission technology) is a new audio transmission technology in the Bluetooth field, it can bring people wireless audio services with lower power consumption, lower cost, higher quality, and lower latency. Therefore, how to realize audio data transmission between wireless audio devices and terminals based on LE-Audio is a research direction. Summary of the invention

[0003] The embodiments of the present application provide a device muting method, apparatus, device and storage medium, which can solve the problem of short-term noise in wireless audio devices due to compensation of audio data received after a call is hung up, thereby improving the user experience. The technical solution is as follows:

[0004] According to one aspect of an embodiment of the present application, a device muting method is provided, the method comprising:

[0005] Receiving call status information sent by the terminal through a Bluetooth connection between the terminal and the wireless audio device, the call status information being used to indicate a call status of a call service currently being conducted by the terminal;

[0006] When the call state is the hang-up state, switching the wireless audio device to a mute state, wherein the mute state is used to instruct the wireless audio device not to play the received audio data;

[0007] In response to the data transmission channel between the wireless audio device and the terminal being disconnected, the mute state of the wireless audio device is released, the data transmission channel being used to transmit the audio data of the call service.

[0008] According to another aspect of an embodiment of the present application, a device muting apparatus is provided, the device comprising:

[0009] A first receiving module, configured to receive call status information sent by the terminal through a Bluetooth connection between the terminal and the wireless audio device, wherein the call status information is used to indicate a call status of a call service currently being performed by the terminal;

[0010] A mute module, used for switching the wireless audio device to a mute state when the call state is a hang-up state, wherein the mute state is used to instruct the wireless audio device not to play the received audio data;

[0011] The release module is used to release the mute state of the wireless audio device in response to the disconnection of the data transmission channel between the wireless audio device and the terminal, wherein the data transmission channel is used to transmit the audio data of the call service.

[0012] In some embodiments, the mute module includes:

[0013] a determining unit, configured to determine, when the call state is the hang-up state, a playback volume of the wireless audio device, wherein the playback volume is a volume of the wireless audio device when playing the received audio data;

[0014] The mute unit is used to switch the wireless audio device to the mute state when the playback volume is greater than a volume threshold.

[0015] In some embodiments, the wireless audio device is a wireless headset;

[0016] The mute module comprises:

[0017] The determining unit is further configured to determine the wearing state of the wireless headset when the call state is the hang-up state;

[0018] The mute unit is further configured to switch the wireless headset to the mute state when the wearing state is the worn state.

[0019] In some embodiments, the release module includes:

[0020] A receiving unit, configured to receive, through the Bluetooth connection, a channel disconnection instruction sent by the terminal, wherein the channel disconnection instruction is used to notify the wireless audio device that the terminal has disconnected the data transmission channel;

[0021] A releasing unit is used to release the mute state of the wireless audio device based on the channel disconnection instruction.

[0022] In some embodiments, the apparatus further comprises:

[0023] A second receiving module, configured to receive the audio data sent by the terminal through the data transmission channel when the call state is the hang-up state;

[0024] The discarding module is used to discard the audio data when the audio data is abnormal data, and the abnormal data is audio data with data 0.

[0025] In some embodiments, the apparatus further comprises:

[0026] An enabling module, used for enabling the microphone when the call state is connected and the data transmission channel is established;

[0027] A sending module, used for sending the audio data collected by the microphone to the terminal through the data transmission channel;

[0028] A closing module is configured to close the microphone in response to the data transmission channel being disconnected.

[0029] In some embodiments, the apparatus further comprises:

[0030] The activation module is further configured to activate the speaker when the call state is connected and the data transmission channel is established;

[0031] A third receiving module, used for receiving the audio data sent by the terminal through the data transmission channel;

[0032] A playing module, used for playing the audio data through the speaker;

[0033] The closing module is further configured to close the speaker in response to the data transmission channel being disconnected.

[0034] According to another aspect of an embodiment of the present application, a wireless audio device is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the device muting method as described in the above aspect.

[0035] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the device muting method as described in the above aspect.

[0036] The embodiment of the present application provides a device mute method, when the wireless audio device receives the communication status information sent by the terminal, the wireless audio device can switch the wireless audio device to the mute state when the call status indicated by the call status information is the hang-up state, and unmute when the data transmission channel of the call service is disconnected. By putting the wireless audio device in the mute state during the period from call hang-up to data transmission channel disconnection, the problem of short-term noise in the wireless audio device due to compensation of audio data received after call hang-up can be solved, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 It is a schematic diagram of an implementation environment of a device muting method provided in an embodiment of the present application;

[0039] Figure 2 is a flow chart of a device muting method provided in an embodiment of the present application;

[0040] Figure 3 is a flow chart of another device muting method provided in an embodiment of the present application;

[0041] Figure 4 This is an interactive flow chart after a call is hung up provided by an embodiment of the present application;

[0042] Figure 5 This is another interactive flow chart after a call is hung up provided in an embodiment of the present application;

[0043] Figure 6 It is an interactive flow chart of a call process provided by an embodiment of the present application;

[0044] Figure 7 It is a structural schematic diagram of a device mute device provided in an embodiment of the present application;

[0045] Figure 8 It is a structural schematic diagram of another device mute device provided in an embodiment of the present application;

[0046] Fig. 9 It is a structural block diagram of a wireless audio device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0048] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0049] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the audio data and call status information involved in this application are obtained with full authorization.

[0050] The device muting method provided in the embodiment of the present application can be executed by a wireless audio device. Figure 1 Schematic diagram of an implementation environment of a device mute method provided in an embodiment of the present application. Figure 1 , the implementation environment includes a terminal 101 and a wireless audio device 102. The terminal 101 and the wireless audio device 102 are connected via a wireless network.

[0051] In some embodiments, the terminal 101 may be a mobile phone, a desktop computer, a laptop computer, a tablet computer, an intelligent voice interaction device, a vehicle-mounted terminal, or other types of terminals. The terminal 101 can establish a Bluetooth connection with the wireless audio device 102 based on the Bluetooth signal sent by the wireless audio device 102. The terminal 101 can also establish a data transmission channel with the wireless audio device 102 based on the Bluetooth connection. The terminal 101 and the wireless audio device 102 interact with audio data through the data transmission channel.

[0052] In some embodiments, the wireless audio device 102 may be a wireless headset, a Bluetooth speaker, or other wireless audio device that supports the Bluetooth protocol. The wireless headset may be a TWS (True Wireless Stereo) headset, a headset, a neck-hanging headset, a bone conduction headset, etc., which is not limited in the present embodiment of the application. The wireless audio device 102 has functions such as audio playback, audio collection, and operation reception. Optionally, the wireless audio device is provided with a speaker, a microphone, an operation button, a touch sensor, and the like. The wireless audio device 102 can play audio data through a speaker. The wireless audio device 102 can collect audio data in the environment through a microphone and send the collected audio data to the terminal 101. The wireless audio device 102 can transmit an operation signal to the terminal 101 when receiving an operation on an operation button or a touch sensor, and the terminal 101 performs a corresponding operation according to the operation signal. For example, a user can cause the terminal 101 to pause playing music / video by triggering an operation button in the wireless audio device 102.

[0053] Figure 2 is a flow chart of a device muting method provided in an embodiment of the present application. The method is executed by a wireless audio device, see Figure 2 , the method comprising:

[0054] 201. Receive call status information sent by the terminal through a Bluetooth connection between the terminal and the wireless audio device, where the call status information is used to indicate a call status of a call service currently being performed by the terminal.

[0055] In an embodiment of the present application, when the wireless audio device is in use, it is necessary to first establish a Bluetooth connection with the terminal. The wireless audio device periodically sends a Bluetooth signal so that the terminal can establish a Bluetooth connection with the wireless audio device based on the received Bluetooth signal. Among them, the Bluetooth connection is a Bluetooth connection based on LE Audio. When the terminal needs to make a call through the wireless audio device, the terminal can send call status information to the wireless audio device through the Bluetooth connection, thereby informing the wireless audio device of the call status of the call service currently being conducted by the terminal. Among them, the call status of the call service includes: connected state, hang-up state, incoming call ringing state, outgoing call waiting state, etc. The connected state is used to indicate that the call currently being conducted by the terminal has been connected, the hang-up state is used to indicate that the call has been hung up, and the incoming call ringing state or the outgoing call waiting state is used to indicate that the call has not been connected. Since the terminal needs to play the audio data after the call is connected through the wireless audio device, therefore, when the call status is switched to the incoming call ringing state or the outgoing call waiting state, the terminal and the wireless audio device need to establish a data transmission channel between the terminal and the wireless audio device on the basis of maintaining the Bluetooth connection. Therefore, when the call state is switched to the connected state, the wireless audio device can receive the audio data of the call service sent by the terminal through the data transmission channel and play the audio data.

[0056] 202. When the call state is in the hang-up state, switch the wireless audio device to a mute state, where the mute state is used to instruct the wireless audio device not to play the received audio data.

[0057] In an embodiment of the present application, when the call state is the hang-up state, it indicates that the current call of the terminal has been hung up, that is, the call between the terminal and the other terminal has ended. Since the data transmission channel between the terminal and the wireless audio device has not been disconnected at this time, the terminal can still send audio data to the wireless audio device through the data transmission channel. In order to avoid the occurrence of short-term noise caused by the wireless audio device compensating for the audio data received after the call is hung up, the wireless audio device can switch to a silent state. When in a silent state, the wireless audio device will not play any audio data received, and there will be no noise, thereby improving the user experience.

[0058] 203. In response to the data transmission channel between the wireless audio device and the terminal being disconnected, the mute state of the wireless audio device is released, and the data transmission channel is used to transmit audio data of the call service.

[0059] In the embodiment of the present application, when the data transmission channel between the wireless audio device and the terminal is disconnected, it indicates that the terminal cannot continue to send audio data to the wireless audio device through the data transmission channel. Therefore, the wireless audio device can be unmuted, and the wireless audio device can play the received audio data.

[0060] The embodiment of the present application provides a device mute method, when the wireless audio device receives the communication status information sent by the terminal, the wireless audio device can switch the wireless audio device to the mute state when the call status indicated by the call status information is the hang-up state, and unmute when the data transmission channel of the call service is disconnected. By putting the wireless audio device in the mute state during the period from call hang-up to data transmission channel disconnection, the problem of short-term noise in the wireless audio device due to compensation of audio data received after call hang-up can be solved, thereby improving the user experience.

[0061] Figure 3 is a flow chart of another device muting method provided in an embodiment of the present application. The method is executed by a wireless audio device, see Figure 3 , the method comprising:

[0062] 301. Receive call status information sent by the terminal through a Bluetooth connection between the terminal and the wireless audio device, where the call status information is used to indicate a call status of a call service currently being performed by the terminal.

[0063] In an embodiment of the present application, when the wireless audio device is in use, it is necessary to first establish a Bluetooth connection with the terminal. The wireless audio device can periodically send a Bluetooth signal so that the terminal can establish a Bluetooth connection with the wireless audio device based on the received Bluetooth signal. Among them, the Bluetooth connection is a Bluetooth connection based on LE Audio. When the terminal needs to make a call through the wireless audio device, the terminal can send call status information to the wireless audio device through the Bluetooth connection, thereby informing the wireless audio device of the call status of the call service currently being conducted by the terminal. Among them, the call status of the call service includes: connected state, hang-up state, incoming call ringing state, outgoing call waiting state, etc. The connected state is used to indicate that the call currently being conducted by the terminal has been connected, the hang-up state is used to indicate that the call has been hung up, and the incoming call ringing state or the outgoing call waiting state is used to indicate that the call has not been connected. Since the terminal needs to play the audio data after the call is connected through the wireless audio device, therefore, when the call status is switched to the incoming call ringing state or the outgoing call waiting state, the terminal and the wireless audio device need to establish a data transmission channel between the terminal and the wireless audio device on the basis of maintaining the Bluetooth connection. Therefore, when the call state is switched to the connected state, the wireless audio device can receive the audio data of the call service sent by the terminal through the data transmission channel and play the audio data.

[0064] It should be noted that, when the call state is hung up, the following two solutions can be used to solve the problem of noise in the wireless audio device when the call is hung up. For the specific content of solution one, please refer to the following steps 302-304, and for the specific content of solution two, please refer to the following steps 305-306.

[0065] 302. When the call state is in the hang-up state, switch the wireless audio device to a mute state, where the mute state is used to instruct the wireless audio device not to play the received audio data.

[0066] In an embodiment of the present application, when the call state is the hang-up state, it indicates that the current call of the terminal has been hung up, that is, the call between the terminal and the other terminal has ended. Since the data transmission channel between the terminal and the wireless audio device has not been disconnected at this time, the terminal can still send audio data to the wireless audio device through the data transmission channel. In order to avoid the occurrence of short-term noise caused by the wireless audio device compensating for the audio data received after the call is hung up, the wireless audio device can switch to a mute state. When in a mute state, the wireless audio device will not play any audio data received, and no noise will occur.

[0067] In some embodiments, when the call state is in the hang-up state, the wireless audio device can be switched to the mute state only when the wireless audio device meets certain conditions. Accordingly, the wireless audio device can switch the current state to the mute state through the following methods 1 and 2.

[0068] Method 1: When the call state is in the hang-up state, determine the playback volume of the wireless audio device, the playback volume is the volume of the wireless audio device when playing the received audio data; when the playback volume is greater than the volume threshold, switch the wireless audio device to the silent state. Wherein, when the call state is in the hang-up state, it indicates that the current call of the terminal has been hung up. The wireless audio device can determine the volume of the wireless audio device when playing the audio data sent by the terminal before the call is hung up, that is, the playback volume of the wireless audio device. The volume threshold is the minimum volume for judging whether the sound is noise, and the volume threshold can be set to the minimum decibel of noise, such as 45 decibels. When the playback volume is greater than the volume threshold, it indicates that the volume of the wireless audio device playing the audio data is large at this time, and it can be identified as noise. Therefore, after the call is hung up, the wireless audio device is switched to the silent state only when the playback volume of the wireless audio device is greater than the volume threshold. When the playback volume is not greater than the volume threshold, it indicates that the volume of the wireless audio device playing the audio data is small at this time. Even if the wireless audio device produces noise after the call is hung up, the volume of the noise does not reach the noise standard, so it does not reduce the user's experience of the wireless audio device. Therefore, when the playback volume of the wireless audio device is not greater than the volume threshold, there is no need to switch to the mute state, and the wireless audio device remains in the current state.

[0069] Mode 2: The wireless audio device is a wireless headset; when the call status is the hang-up status, the wearing status of the wireless headset is determined; when the wearing status is the worn status, the wireless headset is switched to the mute status. Among them, when the wireless audio device is a wireless headset, the use of the wireless headset can be indirectly reflected according to the wearing status of the wireless headset. Since the terminal needs to play the audio data generated in the call through the wireless headset, the user can listen to the call content of the call by wearing the wireless headset. When the call status is the hang-up status, it indicates that the current call of the terminal has been hung up. At this time, by detecting the wearing status of the wireless headset, the current wearing status of the wireless headset can be determined. When the wearing status is the worn status, it indicates that the user is using the wireless headset. At this time, in order to avoid the user from hearing the noise emitted by the wireless headset after the call is hung up, the wireless headset needs to be switched to the mute status. When the wearing status of the wireless headset is the unworn status, it indicates that the user is not wearing the wireless headset when the call is hung up. Therefore, the noise generated by the wireless headset after the call is hung up will not be heard by the user, and there is no need to switch the wireless headset to the mute status, and the wireless audio device remains in the current state.

[0070] In some embodiments, one or more sensors are provided on the wireless headset, and the data collected by the sensors can detect in real time whether the wireless headset is in a wearing state. The sensor may include but is not limited to one or more of a light sensor, a posture sensor, a distance sensor, a temperature sensor, a heart rate sensor, etc. For example, the wireless headset can obtain the ambient light brightness information of the wireless headset 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 wireless headset is in a worn state, and when it is detected that the ambient light brightness information is greater than the brightness threshold, it is determined that the wireless headset is in an unworn state. For another example, the wireless headset device can obtain the posture information of the wireless headset through the posture sensor. If the posture information matches the posture information when the wireless headset is worn, it can be determined that the wireless headset is in a worn state. If the posture information does not match the posture information when the wireless headset is worn, it can be determined that the wireless headset is in an unworn state, etc., and the embodiments of the present application are not limited to this.

[0071] In some embodiments, when the call state is in the hang-up state, the wireless audio device can also adjust the playback volume of the wireless audio device to a target volume. The target volume is a volume that can be ignored by the human ear. For example, when the volume is 0-20 decibels, ordinary people can hardly hear the sound. Therefore, the target volume can be set to 20 decibels.

[0072] 303. A channel disconnection instruction sent by a receiving terminal is received through a Bluetooth connection. The channel disconnection instruction is used to notify the wireless audio device terminal that a data transmission channel has been disconnected. The data transmission channel is used to transmit audio data of a call service.

[0073] In an embodiment of the present application, after the terminal detects that the current call is hung up, it can send the current call status to the wireless audio device via a Bluetooth connection. Then, the terminal can send a channel disconnect request to the wireless audio device, and the channel disconnect request is used to inform the wireless audio device that the data transmission channel is about to be disconnected. After the terminal receives the response information to the channel disconnect request returned by the wireless audio device, the terminal can disconnect the data transmission channel between the wireless audio device and the wireless audio device. In the case that the data transmission channel is completely disconnected, the terminal can send a channel disconnect instruction to the wireless audio device via a Bluetooth connection. The channel disconnect instruction is used to inform the wireless audio device that the data transmission channel has been disconnected.

[0074] 304. Based on the channel disconnection instruction, release the mute state of the wireless audio device.

[0075] In the embodiment of the present application, the wireless audio device can determine that the data transmission channel between the terminal and the wireless audio device has been disconnected based on the channel disconnection instruction. At this time, the terminal cannot continue to send audio data to the wireless audio device through the data transmission channel, and the wireless audio device will not have noise problems after the call is hung up. Therefore, when the data transmission channel between the wireless audio device and the terminal is disconnected, the wireless audio device can be unmuted.

[0076] For example, Figure 4 This is an interactive flow chart after a call is hung up provided by an embodiment of the present application, such as Figure 4 As shown, when the terminal detects that the current call is hung up, the terminal can send the call status of the current call service to the wireless audio device through the Bluetooth connection. Among them, the call status is the hang-up state. At this time, the wireless audio device is muted, that is, the wireless audio device can switch the current state to the mute state based on the call status. After the call is hung up, the terminal disconnects the data transmission channel and sends a channel disconnection instruction to the wireless audio device. That is, the terminal can disconnect the data transmission channel between the wireless audio device and the wireless audio device, and send a channel disconnection instruction to the wireless audio device after the channel is disconnected to notify the wireless audio device that the data transmission channel has been disconnected. At this time, the audio interaction between the terminal and the wireless audio device ends, and the terminal stops downlinking audio data to the wireless audio device. After the wireless audio device receives the channel disconnection instruction, it can unmute and stop uplinking. That is, the wireless audio device unmutes and stops uplinking the audio data collected by the microphone to the terminal.

[0077] In some embodiments, when the mute time of the wireless audio device is greater than the time threshold, the mute state of the wireless audio device can also be released. In order to prevent the wireless audio device from not receiving the channel disconnection instruction, so that the wireless audio device remains silent, the wireless audio device can set a time threshold. When the time when the wireless audio device is in the mute state is greater than the time threshold, if the wireless audio device does not receive the channel disconnection instruction sent by the terminal, it can be considered that the data transmission channel has been disconnected, and the wireless audio device can release the mute state. Since it generally takes 200 to 400 milliseconds for the terminal to disconnect the data transmission path, the time threshold can be set to 400 milliseconds, and the embodiments of the present application do not limit this.

[0078] 305. When the call state is in the hang-up state, receive audio data sent by the terminal through the data transmission channel.

[0079] In the embodiment of the present application, when the call state is the hang-up state, it indicates that the current call of the terminal has been hung up. However, since the data transmission channel between the terminal and the wireless audio device has not been disconnected at this time, the wireless audio device can still receive the audio data sent by the terminal through the data transmission channel.

[0080] 306. If the audio data is abnormal data, discard the audio data, where the abnormal data is audio data with data of 0.

[0081] In the embodiment of the present application, since the audio data is the audio data sent by the terminal after the call is hung up. Therefore, when the audio data is abnormal data, it indicates that after the call is hung up, the terminal sends audio data with data of 0. Since when receiving audio data with data of 0, the wireless audio device will think that the audio data is lost during the transmission process, the wireless audio device will perform packet loss compensation on the audio data according to all the audio data received during the call, which causes the wireless audio device to have noise after the call is hung up. In order to avoid the wireless audio device from performing packet loss compensation on the audio data received after the call is hung up, the wireless audio device can discard all the audio data when the audio data is abnormal data. Therefore, the wireless audio device will not have short-term noise due to the compensation of the audio data, thereby improving the user experience.

[0082] For example, Figure 5 This is another interactive flow chart after a call is hung up provided by an embodiment of the present application. Figure 5As shown, when the terminal detects that the current call is hung up, the terminal can send the call status of the current call service to the wireless audio device through the Bluetooth connection. Among them, the call status is the hang-up state. At this time, the wireless audio device can discard the terminal downlink data, that is, the wireless audio device can, based on the call status, discard the audio data of the terminal that is 0 through the data transmission channel downlink after hanging up. Then the terminal disconnects the data transmission channel and sends a channel disconnection instruction to the wireless audio device. That is, after the terminal disconnects the data transmission channel between the wireless audio device and the wireless audio device, it can send a channel disconnection instruction to the wireless audio device to notify the wireless audio device that the data transmission channel has been disconnected. At this time, the audio interaction between the terminal and the wireless audio device ends, and the terminal stops downlinking audio data to the wireless audio device. After the wireless audio device receives the channel disconnection instruction, it can stop uplinking, that is, the wireless audio device stops uplinking the audio data collected by the microphone to the terminal.

[0083] In some embodiments, when the call state is connected and the data transmission channel is established, the microphone is turned on; the audio data collected by the microphone is sent to the terminal through the data transmission channel; in response to the data transmission channel being disconnected, the microphone is turned off. Wherein, when the call state is connected and the data transmission channel is established, it indicates that the current call of the terminal is in progress, and at this time, the terminal and the wireless audio device can interact with audio data through the data transmission channel. In order to collect the voice data of the user during the call, the wireless audio device can turn on the microphone, which is used to collect audio data in the environment. The wireless audio device can send the audio data collected by the microphone to the terminal through the data transmission channel, and the terminal transmits the audio data to other terminals that are talking to the terminal. After the call is hung up, the terminal can disconnect the data transmission channel between the terminal and the wireless audio device. When the wireless audio device detects that the data transmission channel is disconnected, it can stop sending the audio data collected by the microphone to the terminal and turn off the microphone.

[0084] In some embodiments, when the call state is connected and the data transmission channel is established, the speaker is turned on; the audio data sent by the terminal is received through the data transmission channel; the audio data is played through the speaker; in response to the data transmission channel being disconnected, the speaker is turned off. Wherein, when the call state is connected and the data transmission channel is established, it indicates that the current call of the terminal is in progress, and at this time, the terminal and the wireless audio device can interact with audio data through the data transmission channel. In order to play the audio data generated during the call, the wireless audio device can turn on the speaker, which is used to play the audio data received by the wireless audio device. Therefore, the wireless audio device can play the audio data sent by the terminal through the data transmission channel through the speaker. After the call is hung up, the terminal can disconnect the data transmission channel between the terminal and the wireless audio device, and stop sending audio data to the wireless audio device after the data transmission channel is disconnected. At this time, the wireless audio device can turn off the speaker.

[0085] For example, Figure 6 This is an interactive flow chart of a call process provided by an embodiment of the present application. Figure 6As shown, first, the terminal and the wireless audio device have completed the Bluetooth connection based on LE audio. When the terminal detects an incoming call / outgoing call, it can inform the wireless audio device to update the call status to an incoming call / outgoing call. That is, when the terminal detects that the call status is an incoming call ringing state or an outgoing call waiting to be answered, the terminal will send the call status information indicating that the call status is an incoming call ringing state or an outgoing call waiting to be answered to the wireless audio device through the Bluetooth connection to inform the wireless audio device of the call status of the current call service. Since LE Audio transmits audio data of conventional services through the CIS (Connected Isochronous Stream, connected synchronous data stream) channel, the terminal can create a CIS channel based on the Bluetooth connection, that is, establish a data transmission channel with the wireless audio device. The CIS channel is used to transmit call data. The CIS channel supports simultaneous uplink and downlink data, so through the CIS channel, the terminal can uplink data to the wireless audio device, and the wireless audio device can downlink data to the terminal. That is, the terminal can downlink audio data to the wireless audio device through the CIS channel, and the wireless audio device can play the audio data downlinked by the terminal through the speaker. The wireless audio device can transmit the audio data collected through the microphone to the terminal through the CIS channel. After the terminal detects that the call is hung up, it will first update the hung-up call status to the wireless audio device. That is, the call status information used to indicate that the call status is a hung-up state is sent to the wireless audio device to inform the wireless audio device that the current call has been hung up. The terminal will then disconnect the CIS channel and send a channel disconnect command to the wireless audio device to inform the wireless audio device that the CIS channel has been disconnected. After the CIS channel is disconnected, the wireless audio device will turn off the microphone and stop uplinking, that is, stop uplinking the audio data collected through the microphone to the terminal.

[0086] The embodiment of the present application provides a device mute method, when the wireless audio device receives the communication status information sent by the terminal, the wireless audio device can switch the wireless audio device to the mute state when the call status indicated by the call status information is the hang-up state, and unmute when the data transmission channel of the call service is disconnected. By putting the wireless audio device in the mute state during the period from call hang-up to data transmission channel disconnection, the problem of short-term noise in the wireless audio device due to compensation of audio data received after call hang-up can be solved, thereby improving the user experience.

[0087] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0088] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0089] Figure 7 Schematic diagram of a device mute device provided in an embodiment of the present application. Figure 7 , the device comprises:

[0090] The first receiving module 701 is used to receive call status information sent by the terminal through the Bluetooth connection between the terminal and the wireless audio device, where the call status information is used to indicate the call status of the call service currently being conducted by the terminal;

[0091] A mute module 702, configured to switch the wireless audio device to a mute state when the call state is in a hang-up state, wherein the mute state is used to instruct the wireless audio device not to play the received audio data;

[0092] The release module 703 is used to release the mute state of the wireless audio device in response to the disconnection of the data transmission channel between the wireless audio device and the terminal, where the data transmission channel is used to transmit audio data of the call service.

[0093] In some embodiments, Figure 8 is a schematic diagram of the structure of another device mute device provided in an embodiment of the present application. Figure 8 , the mute module 702 includes:

[0094] The determining unit 801 is used to determine the playback volume of the wireless audio device when the call state is the hang-up state, where the playback volume is the volume of the wireless audio device when playing the received audio data;

[0095] The mute unit 802 is used to switch the wireless audio device to a mute state when the playback volume is greater than a volume threshold.

[0096] In some embodiments, the wireless audio device is a wireless headset;

[0097] The mute module 702 includes:

[0098] The determining unit 801 is further configured to determine the wearing state of the wireless headset when the call state is the hang-up state;

[0099] The mute unit 802 is further used to switch the wireless headset to a mute state when the wearing state is the worn state.

[0100] In some embodiments, see Figure 8 , the release module 703 includes:

[0101] The receiving unit 803 is used to receive a channel disconnection instruction sent by the terminal through the Bluetooth connection, where the channel disconnection instruction is used to notify the wireless audio device terminal that the data transmission channel has been disconnected;

[0102] The release unit 804 is used to release the mute state of the wireless audio device based on the channel disconnection instruction.

[0103] In some embodiments, see Figure 8 , the device further comprises:

[0104] The second receiving module 704 is used to receive the audio data sent by the terminal through the data transmission channel when the call state is the hang-up state;

[0105] The discarding module 705 is used to discard the audio data when the audio data is abnormal data, where the abnormal data is the audio data with data of 0.

[0106] In some embodiments, see Figure 8 , the device further comprises:

[0107] An opening module 706 is used to open the microphone when the call state is connected and the data transmission channel is established;

[0108] The sending module 707 is used to send the audio data collected by the microphone to the terminal through the data transmission channel;

[0109] The closing module 708 is used to close the microphone in response to the data transmission channel being disconnected.

[0110] In some embodiments, see Figure 8 , the device further comprises:

[0111] The opening module 706 is further used to open the speaker when the call state is connected and the data transmission channel is established;

[0112] The third receiving module 709 is used to receive the audio data sent by the terminal through the data transmission channel;

[0113] The playing module 710 is used to play the audio data through the speaker;

[0114] The closing module 708 is further configured to close the speaker in response to the data transmission channel being disconnected.

[0115] The embodiment of the present application provides a device mute device. When the wireless audio device receives the communication status information sent by the terminal, the wireless audio device can switch the wireless audio device to the mute state when the call status indicated by the call status information is the hang-up state, and unmute when the data transmission channel of the call service is disconnected. By putting the wireless audio device in the mute state during the period from the call hang-up to the disconnection of the data transmission channel, the problem of short-term noise in the wireless audio device due to compensation of the audio data received after the call is hung up can be solved, thereby improving the user experience.

[0116] It should be noted that the device provided in the above embodiment, when implementing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0117] An embodiment of the present application provides a wireless audio device, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the device muting method provided by the above-mentioned various method embodiments.

[0118] Fig. 9 9 is a block diagram of a wireless audio device 900 provided according to an embodiment of the present application. In some embodiments, the wireless audio device 900 is a smart phone, a tablet computer, a computer with wireless communication function, or a wearable device. The wireless audio device 900 in the present application includes at least one or more of the following components: a processor 910, a memory 920, and at least two wireless links 930.

[0119] In some embodiments, the processor 910 includes one or more processing cores. The processor 910 uses various interfaces and lines to connect the various parts of the entire wireless audio device 900, and executes various functions and processes data of the wireless audio device 900 by running or executing program codes stored in the memory 920, and calling data stored in the memory 920. In some embodiments, the processor 910 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 910 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 910, but may be implemented by a separate chip.

[0120] In some embodiments, the processor 910 is used to control the working conditions of at least two wireless links 930. Accordingly, the processor 910 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip, etc.

[0121] In some embodiments, the memory 920 includes a random access memory (RAM), and in some embodiments, the memory 920 includes a read-only memory (ROM). In some embodiments, the memory 920 includes a non-transitory computer-readable storage medium. The memory 920 can be used to store program codes. The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data (such as audio data, a phone book) created according to the use of the wireless audio device 900, etc.

[0122] In some embodiments, the memory 920 stores reception schemes for receiving beacon frames of different wireless links 930, as well as identifiers of access nodes connected to different wireless links 930, identifiers of wireless links 930, and the like.

[0123] The at least two wireless links 930 are used to connect different access points (APs) and receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.

[0124] In addition, those skilled in the art will appreciate that the structure of the wireless audio device 900 shown in the above figures does not limit the wireless audio device 900, and the wireless audio device 900 includes more or fewer components than shown in the figure, or combines certain components, or arranges components differently. For example, the wireless audio device 900 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.

[0125] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the device muting method shown in the above embodiments.

[0126] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the device muting method shown in the above embodiments.

[0127] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the device muting method shown in the above embodiments.

[0128] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0129] Those skilled in the art can understand that all or part of the steps in the device mute method of the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc. The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A device muting method, characterized in that: The method comprises: Receiving call status information sent by the terminal through a Bluetooth connection between the terminal and the wireless audio device, the call status information being used to indicate a call status of a call service currently being conducted by the terminal; When the call state is the hang-up state, switching the wireless audio device to a mute state, wherein the mute state is used to instruct the wireless audio device not to play the received audio data; In response to the data transmission channel between the wireless audio device and the terminal being disconnected, the mute state of the wireless audio device is released, the data transmission channel being used to transmit the audio data of the call service.

2. The method according to claim 1, characterized in that When the call state is in the hang-up state, switching the wireless audio device to the mute state includes: When the call state is the hang-up state, determining a playback volume of the wireless audio device, where the playback volume is a volume when the wireless audio device plays the received audio data; When the playback volume is greater than a volume threshold, the wireless audio device is switched to the mute state.

3. The method according to claim 1, characterized in that The wireless audio device is a wireless headset; When the call state is in the hang-up state, switching the wireless audio device to the mute state includes: When the call state is the hang-up state, determining the wearing state of the wireless headset; When the wearing state is the worn state, the wireless headset is switched to the mute state.

4. The method according to claim 1, characterized in that: In response to the data transmission channel between the wireless audio device and the terminal being disconnected, releasing the mute state of the wireless audio device includes: Receiving, through the Bluetooth connection, a channel disconnection instruction sent by the terminal, wherein the channel disconnection instruction is used to notify the wireless audio device that the terminal has disconnected the data transmission channel; Based on the channel disconnection instruction, the mute state of the wireless audio device is released.

5. The method according to claim 1, characterized in that The method further comprises: When the call state is the hang-up state, receiving audio data sent by the terminal through the data transmission channel; In the case where the audio data is abnormal data, the audio data is discarded, and the abnormal data is audio data with data of 0.

6. The method according to claim 1, characterized in that The method further comprises: When the call state is connected and the data transmission channel is established, turning on the microphone; Sending the audio data collected by the microphone to the terminal through the data transmission channel; In response to the data transmission channel being disconnected, turning off the microphone.

7. The method according to claim 1, characterized in that The method further comprises: When the call state is connected and the data transmission channel is established, turning on the speaker; Receiving the audio data sent by the terminal through the data transmission channel; Playing the audio data through the speaker; In response to the data transmission channel being disconnected, turning off the speaker.

8. A device for silencing equipment, characterized in that: The device comprises: A receiving module, used to receive call status information sent by the terminal through a Bluetooth connection between the terminal and the wireless audio device, wherein the call status information is used to indicate the call status of the call service currently being conducted by the terminal; A mute module, used for switching the wireless audio device to a mute state when the call state is a hang-up state, wherein the mute state is used to instruct the wireless audio device not to play the received audio data; The release module is used to release the mute state of the wireless audio device in response to the disconnection of the data transmission channel between the wireless audio device and the terminal, wherein the data transmission channel is used to transmit the audio data of the call service.

9. A wireless audio device, characterized in that: The wireless audio device comprises a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the device muting method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the device muting method according to any one of claims 1 to 7.

11. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the chip runs on the terminal, it is used to implement the device muting method according to any one of claims 1 to 7.

12. A computer program product, comprising a computer program, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the device muting method according to any one of claims 1 to 7.