Audio control method and apparatus, and electronic device
By adaptively combining sound field control and volume control functions in electronic devices, the ambient noise is reduced first and then the volume is adjusted, the problem of environmental noise affecting the audio experience is solved, the audio playback effect is improved and the user's hearing health is protected.
Patent Information
- Application Number
- PCT/CN2024/124061
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-15
- Filing Date
- 2024-10-11
- Publication Date
- 2025-05-22
AI Technical Summary
In the case of high environmental noise, simply turning up the volume not only affects the user's call experience, but also is not conducive to the user's hearing health.
By adaptively combining the sound field control function and the volume control function of the electronic device, first reduce the ambient noise based on the sound field control. When the target effect cannot be achieved, the audio playback effect is improved through volume adjustment to avoid users actively adjusting the volume.
It improves the effect of audio playback, reduces the negative impact on user's hearing health, and avoids the problems caused by users' habitually turning up the volume.
Smart Images

Figure CN2024124061_22052025_PF_FP_ABST
Abstract
Description
Audio control method, device and electronic device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on November 15, 2023, with application number 202311529020.3 and application name “Audio Control Method, Device and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of audio control, and more specifically, to a method, apparatus, and electronic device for audio control. Background Art
[0003] Currently, many electronic devices (such as headphones, mobile phones, tablets, etc.) have basic call functions and music playback functions. Environmental noise greatly affects the user's hearing experience. When users cannot hear the sound received by the electronic device clearly, users generally directly increase the volume manually to improve the signal-to-noise ratio. However, in the case of high environmental noise, simply increasing the volume not only affects the user's call experience, but is also not conducive to the user's hearing health.
[0004] Summary of the Invention
[0005] The present application provides an audio control method, device, and electronic device. Through this method, device, and electronic device, the sound field control function and volume control function of the electronic device are adaptively combined. The ambient noise is first reduced based on the sound field control. When the sound field control cannot achieve the target effect, the volume is adjusted. There is no need for the user to actively adjust the volume, which is beneficial to improving the audio playback effect and is also beneficial to the user's hearing health.
[0006] In a first aspect, a method for audio control is provided, the method comprising: during audio playback by a first electronic device, determining a first difference, the first difference being the difference between a current signal-to-ring ratio and a target signal-to-ring ratio; when the first difference is less than a first threshold, reducing ambient noise by calling a sound field control system to improve the current signal-to-ring ratio until the first difference is greater than or equal to the first threshold; if the first difference is still less than the first threshold when the ambient noise is reduced to less than or equal to the first noise threshold, improving the current signal-to-ring ratio by increasing the downlink volume until the first difference is greater than or equal to the first threshold.
[0007] In some embodiments, calling the sound field control system to reduce environmental noise may include noise reduction processing, transparent transmission processing, background noise enhancement processing, etc.
[0008] In some embodiments, the first threshold may be 0, or a value determined based on the user's historical usage data, for example, any value within the range of -1dBA to 1dBA, which is not limited in this application.
[0009] Optionally, the first electronic device may be a headset.
[0010] In some embodiments, the operation of determining the first difference may be performed periodically, that is, the first difference is periodically determined while the first electronic device is playing audio.
[0011] In some embodiments, the value of the first noise threshold may be any value within the range of greater than or equal to -50 dB and less than or equal to 20 dB.
[0012] It should be understood that the value of the first noise threshold is related to the performance of the first electronic device. Different types of electronic devices or electronic devices with different configurations may have corresponding first noise thresholds that are different.
[0013] In one embodiment, the value of the first noise threshold may be the noise value after noise reduction corresponding to the sound field control system operating at its maximum performance, wherein the sound field control system operating at its maximum performance means that the sound field control system reaches its maximum noise reduction capability, or in other words, the sound field control system has controlled the noise reduction effect to the optimal level within its own capabilities. It can also be understood as: when the sound field control system operates at its maximum performance, the sound field control continues, the ambient noise no longer continues to decrease, and the current signal-to-ring ratio no longer increases, that is: in the process of the sound field control system continuing to perform sound field control, if the current signal-to-ring ratio increases to a certain value and then no longer increases, it can be considered that the sound field control system has reached its maximum performance.
[0014] In one example, taking the first electronic device as headphones as an example, after receiving the first audio, the headphones first reduce the ambient noise based on the sound field control system of the headphones, such as performing noise reduction processing, transparent transmission processing or background noise enhancement processing on the received audio. When the sound field control process reaches the state: continue to perform operations such as noise reduction processing, transparent transmission processing or background noise enhancement processing, the current ambient noise no longer continues to decrease, it can be considered that the sound field control system of the headphones has reached maximum performance.
[0015] It should be understood that different types of electronic devices, or electronic devices with different configurations, may have different maximum performances corresponding to their sound field control systems.
[0016] In an embodiment of the present application, the sound field control function and volume control function of the electronic device are adaptively combined. The received audio is first processed (noise reduction, transparent transmission, enhancement, etc.) based on the sound field control. When the target audio playback effect cannot be achieved by sound field control alone, the audio playback effect is further improved by volume adjustment without the need for the user to actively adjust it. In this way, the user can avoid habitually turning up the audio volume directly when encountering a situation where the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0017] In combination with the first aspect, in a possible implementation, the method also includes: if the first difference is still less than the first threshold when the downlink volume is increased to the warning volume, then stop increasing the downlink volume and issue a first alarm to the user, and the first alarm is used to remind the user that the current volume is too loud and is not conducive to hearing health.
[0018] In the embodiment of the present application, the electronic device does not increase the volume indefinitely to meet the signal ringing requirements. Instead, it issues an alarm to the user when the volume is increased to the warning volume to remind the user that the volume is too loud. It can also automatically stop increasing the volume at this time, which can better protect the user's hearing health.
[0019] In combination with the first aspect, in a possible implementation, before determining the first difference, the method further includes: periodically determining the current signal-to-ring ratio.
[0020] In an embodiment of the present application, the current signal-to-ring ratio is determined in real time, which means that the first difference also changes dynamically, so that the electronic device can determine or adjust the audio control strategy by monitoring the changes in the first difference in real time, which is more conducive to improving the user experience.
[0021] In combination with the first aspect, in a possible implementation, periodically determining the current signal-to-ring ratio includes: periodically determining the current signal-to-ring ratio according to the user's audiogram.
[0022] In the embodiment of the present application, the determination of the current signal-to-ring ratio takes into account the user's audiogram measurement results, so that the determined actual signal-to-ring ratio is more in line with the user's actual situation, thereby enabling the audio control effect to be more in line with the user's actual needs.
[0023] In combination with the first aspect, in a possible implementation, before determining the first difference, the method further includes: presetting the target signal-to-ring ratio.
[0024] In an embodiment of the present application, the user can preset a target signal-to-ring ratio that matches his or her own hearing condition based on his or her own hearing status, so that the determined target signal-to-ring ratio can be more in line with the user's actual situation, and thus the audio control effect can be more in line with the user's actual needs.
[0025] In combination with the first aspect, in a possible implementation, presetting the target signal-to-ring ratio includes: presetting the target signal-to-ring ratio through a display interface of a second electronic device connected to the first electronic device.
[0026] In an embodiment of the present application, the target signal-to-ring ratio can be set through other electronic devices connected to the audio device, so the audio device does not need to have audio setting methods such as screen settings, which can expand the application scenarios of the present application solution.
[0027] In combination with the first aspect, in a possible implementation, the method further includes: when it is detected that the current target signal-to-ring ratio is low, reminding the user to reset the target signal-to-ring ratio.
[0028] In some embodiments, the electronic device can determine whether the current target signal-to-ring ratio is low based on the user's historical usage data. The electronic device can also determine whether the current target signal-to-ring ratio is low based on general data (for example, public statistics). The electronic device can also determine whether the current target signal-to-ring ratio is low based on other methods, which are not limited in this application.
[0029] In an embodiment of the present application, the electronic device can remind the user to reset the target signal-to-ring ratio when detecting that the current target signal-to-ring ratio is low, so as to avoid invalid audio control caused by unreasonable setting of the target signal-to-ring ratio.
[0030] In combination with the first aspect, in a possible implementation manner, before determining the first difference, the method further includes: presetting the warning volume.
[0031] In an embodiment of the present application, the user can preset a warning volume that suits his or her actual hearing condition. When the volume is raised to the warning volume, the electronic device will issue an alarm to the user, which can prevent the user from inadvertently raising the volume to a level that damages his or her hearing health, thereby better protecting the user's hearing health.
[0032] In combination with the first aspect, in a possible implementation, presetting the warning volume includes: presetting the warning volume through a display interface of a second electronic device connected to the first electronic device.
[0033] In an embodiment of the present application, the warning volume can be preset through other electronic devices connected to the audio device, so the audio device does not need to have audio setting methods such as screen settings, which can expand the application scenarios of the present application solution.
[0034] In a second aspect, an audio control device is provided, which includes: a determination module for determining a first difference during audio playback by a first electronic device, the first difference being the difference between a current signal-to-ring ratio and a target signal-to-ring ratio; a calling module for, when the first difference is less than a first threshold, reducing ambient noise by calling a sound field control system to improve the current signal-to-ring ratio until the first difference is greater than or equal to the first threshold; the calling module is also used to, when the ambient noise is reduced to less than or equal to the first noise threshold, if the first difference is still less than the first threshold, improve the current signal-to-ring ratio by increasing the downlink volume until the first difference is greater than or equal to the first threshold.
[0035] In some embodiments, the calling module calls the sound field control system to reduce environmental noise, which may include calling the module to perform noise reduction processing, transparent transmission processing, background noise enhancement processing, etc.
[0036] In some embodiments, the first threshold may be 0, or a value determined based on the user's historical usage data, for example, any value within the range of -1dBA to 1dBA, which is not limited in this application.
[0037] Optionally, the first electronic device may be a headset.
[0038] In some embodiments, the determination module is specifically configured to periodically determine the first difference value during audio playback by the first electronic device.
[0039] In some embodiments, the value of the first noise threshold may be any value within the range of greater than or equal to -50 dB and less than or equal to 20 dB.
[0040] It should be understood that the value of the first noise threshold is related to the performance of the first electronic device. Different types of electronic devices or electronic devices with different configurations may have corresponding first noise thresholds that are different.
[0041] In one embodiment, the value of the first noise threshold may be the noise value after noise reduction corresponding to the sound field control system operating at its maximum performance, wherein the sound field control system operating at its maximum performance means that the sound field control system reaches its maximum noise reduction capability, or in other words, the sound field control system has controlled the noise reduction effect to the optimal level within its own capabilities. It can also be understood as: when the sound field control system operates at its maximum performance, the sound field control continues, the ambient noise no longer continues to decrease, and the current signal-to-ring ratio no longer increases, that is: in the process of the sound field control system continuing to perform sound field control, if the current signal-to-ring ratio increases to a certain value and then no longer increases, it can be considered that the sound field control system has reached its maximum performance.
[0042] In one example, taking the first electronic device as headphones as an example, after receiving the first audio, the headphones first reduce the ambient noise based on the sound field control system of the headphones, such as performing noise reduction processing, transparent transmission processing or background noise enhancement processing on the received audio. When the sound field control process reaches the state: continue to perform operations such as noise reduction processing, transparent transmission processing or background noise enhancement processing, the current ambient noise no longer continues to decrease, it can be considered that the sound field control system of the headphones has reached maximum performance.
[0043] It should be understood that different types of electronic devices, or electronic devices with different configurations, may have different maximum performances corresponding to their sound field control systems.
[0044] In an embodiment of the present application, the sound field control function and volume control function of the electronic device are adaptively combined. The received audio is first processed (noise reduction, transparent transmission, enhancement, etc.) based on the sound field control. When the target audio playback effect cannot be achieved by sound field control alone, the audio playback effect is further improved by volume adjustment without the need for the user to actively adjust it. In this way, the user can avoid habitually turning up the audio volume directly when encountering a situation where the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0045] In combination with the second aspect, in one possible implementation, the device also includes: a first alarm module, which is used to stop increasing the downlink volume when the downlink volume is increased to the warning volume and the first difference is still less than the first threshold, and to issue a first alarm to the user. The first alarm is used to remind the user that the current volume is too loud and is not conducive to hearing health.
[0046] In the embodiment of the present application, the electronic device does not increase the volume indefinitely to meet the signal ringing requirements. Instead, it issues an alarm to the user when the volume is increased to the warning volume to remind the user that the volume is too loud. It can also automatically stop increasing the volume at this time, which can better protect the user's hearing health.
[0047] In combination with the second aspect, in a possible implementation, the determination module is further used to: periodically determine the current signal-to-ring ratio.
[0048] In an embodiment of the present application, the current signal-to-ring ratio is determined in real time, which means that the first difference also changes dynamically, so that the electronic device can determine or adjust the audio control strategy by monitoring the changes in the first difference in real time, which is more conducive to improving the user experience.
[0049] In conjunction with the second aspect, in a possible implementation manner, the determination module is specifically configured to periodically determine a current signal-to-ring ratio according to the user's audiogram.
[0050] In the embodiment of the present application, the determination of the current signal-to-ring ratio takes into account the user's audiogram measurement results, so that the determined actual signal-to-ring ratio is more in line with the user's actual situation, thereby enabling the audio control effect to be more in line with the user's actual needs.
[0051] In combination with the second aspect, in a possible implementation, the device further includes: a first setting module, configured to preset the target signal-to-ring ratio.
[0052] In an embodiment of the present application, the user can preset a target signal-to-ring ratio that matches his or her own hearing condition based on his or her own hearing status, so that the determined target signal-to-ring ratio can be more in line with the user's actual situation, and thus the audio control effect can be more in line with the user's actual needs.
[0053] In conjunction with the second aspect, in a possible implementation, the first setting module is specifically configured to: preset the target signal-to-ring ratio through a display interface of a second electronic device connected to the first electronic device.
[0054] In an embodiment of the present application, the target signal-to-ring ratio can be set through other electronic devices connected to the audio device, so the audio device does not need to have audio setting methods such as screen settings, which can expand the application scenarios of the present application solution.
[0055] In combination with the second aspect, in a possible implementation, the device further includes: a second alarm module, configured to remind a user to reset the target signal-to-ring ratio when detecting that the current target signal-to-ring ratio is low.
[0056] In some embodiments, the determination module can determine whether the current target signal-to-ring ratio is low based on the user's historical usage data. The determination module can also determine whether the current target signal-to-ring ratio is low based on general data (for example, public statistics). The determination module can also determine whether the current target signal-to-ring ratio is low based on other methods. This application does not limit this.
[0057] In an embodiment of the present application, the electronic device can remind the user to reset the target signal-to-ring ratio when detecting that the current target signal-to-ring ratio is low, so as to avoid invalid audio control caused by unreasonable setting of the target signal-to-ring ratio.
[0058] In combination with the second aspect, in a possible implementation, the device further includes: a second setting module, configured to preset the warning volume.
[0059] In an embodiment of the present application, the user can preset a warning volume that suits his or her actual hearing condition. When the volume is raised to the warning volume, the electronic device will issue an alarm to the user, which can prevent the user from inadvertently raising the volume to a level that damages his or her hearing health, thereby better protecting the user's hearing health.
[0060] In conjunction with the second aspect, in a possible implementation, the second setting module is specifically configured to: preset the warning volume through a display interface of a second electronic device connected to the first electronic device.
[0061] In an embodiment of the present application, the warning volume can be preset through other electronic devices connected to the audio device, so the audio device does not need to have audio setting methods such as screen settings, which can expand the application scenarios of the present application solution.
[0062] In a third aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer program code, and the processor is used to execute the computer program code stored in the memory to implement the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0063] In a fourth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, the method in the above-mentioned first aspect or any possible implementation of the first aspect is implemented.
[0064] In a fifth aspect, a chip is provided, in which instructions are stored. When the chip is run on a device, the chip executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0066] FIG2 is a block diagram of the software structure of the electronic device provided in an embodiment of the present application;
[0067] FIG3 is a schematic diagram of a method for determining a signal-to-noise ratio according to an embodiment of the present application;
[0068] FIG4 is a schematic flow chart of an audio control method provided in an embodiment of the present application;
[0069] FIG5 is a schematic flow chart of another audio control method provided in an embodiment of the present application;
[0070] FIG6 is a schematic diagram of an interface for setting a target signal-to-ring ratio according to an embodiment of the present application;
[0071] 7 is a schematic diagram of an interface for prompting a user to set a target signal-to-ring ratio according to an embodiment of the present application;
[0072] FIG8 is a schematic diagram of an interface for setting an alarm volume according to an embodiment of the present application;
[0073] FIG9 is a schematic diagram of an interface of a volume alarm provided in an embodiment of the present application;
[0074] FIG10 is a schematic diagram of an interface for setting a target signal-to-ring ratio according to another embodiment of the present application;
[0075] FIG11 is a schematic diagram of an AHA sound field control curve provided in an embodiment of the present application;
[0076] FIG12 is a spectrum diagram corresponding to different active noise reduction levels during music playback provided by an embodiment of the present application;
[0077] FIG13 shows a distribution diagram of signal-to-ring ratio calculation values corresponding to different noise reduction levels provided by an embodiment of the present application;
[0078] FIG14 is a schematic diagram of functional modules of an audio control device provided in an embodiment of the present application;
[0079] FIG15 is a schematic framework diagram of an audio control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0080] The technical solutions of this application will be described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, rather than all the embodiments.
[0081] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" or "multiple" refers to two or more than two.
[0082] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0083] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of this application and the appended claims, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of 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, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.
[0084] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "one embodiment," "some embodiments," "another embodiment," and "other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically stated. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically stated.
[0085] The method provided in the embodiments of the present application can be applied to electronic devices with a time display function or a time recognition function, for example, mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart home devices, and other electronic devices. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
[0086] 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0087] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0088] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0089] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0090] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0091] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0092] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0093] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0094] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0095] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0096] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0097] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0098] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0099] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0100] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0101] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0102] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0103] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0104] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0105] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0106] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0107] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0108] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0109] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0110] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0111] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an App required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0112] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0113] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0114] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0115] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0116] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0117] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0118] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0119] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0120] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0121] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an embedded SIM (eSIM) card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0122] It should be understood that the phone cards in the embodiments of the present application include but are not limited to SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated circuit cards (UICC), and the like.
[0123] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.
[0124] Figure 2 is a software structure diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer, from top to bottom. The application layer can include a series of application packages.
[0125] As shown in FIG2 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
[0126] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0127] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0128] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0129] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0130] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0131] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0132] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0133] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0134] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0135] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0136] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0137] The system library can include multiple functional modules, such as a surface manager, media libraries, a 3D graphics processing library (such as OpenGL ES), and a 2D graphics engine (such as SGL).
[0138] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0139] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0140] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0141] A 2D graphics engine is a drawing engine for 2D drawings.
[0142] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0143] It should be understood that the technical solutions in the embodiments of the present application can be used in Android, IOS, Hongmeng and other systems.
[0144] The technical solutions of the embodiments of the present application can be applied to any electronic device with audio playback. For example, it can be applied to headphones, televisions, desktop computers, laptops, portable electronic devices such as mobile phones, folding screens, smart bracelets, tablets, smart home devices such as smart monitoring, smart doorbells, smart speakers, sweepers, etc. It can also be applied to electronic devices in 5G networks or electronic devices in future evolved public land mobile communication networks (PLMNs), etc. The main application scenario can be time synchronization of electronic devices in near-field communication scenarios, for example, it can be applied to time synchronization scenarios of "1+8+N" devices.
[0145] Currently, many electronic devices (such as headphones, mobile phones, tablets, etc.) have basic call functions and music playback functions. Environmental noise greatly affects the user's hearing experience. When users cannot hear the sound received by the electronic device clearly, users generally directly increase the volume manually to improve the signal-to-noise ratio. However, in the case of high environmental noise, simply increasing the volume not only affects the user's call experience, but is also not conducive to the user's hearing health.
[0146] In view of this, the embodiments of the present application provide a method, device and electronic device for audio control. Through this method, device and electronic device, the concurrent characteristics of the call function, music playback function and environmental sound field control function of the electronic device are utilized to control the concurrency of these functions in a linkage manner, that is: the sound field control and volume control are adaptively combined, and the received audio is first subjected to noise reduction processing based on the sound field control. When the target audio playback effect cannot be achieved by sound field control alone, the audio playback effect is further improved by volume adjustment without the need for active adjustment by the user. In this way, the user can avoid habitually turning up the audio volume directly when encountering a situation where the audio playback is unclear. This method can improve the audio playback effect while reducing the impact on the user's hearing health.
[0147] In order to more clearly understand the solution of the present application, the signal-to-ring ratio involved in the embodiment of the present application is first introduced in conjunction with Figure 3.
[0148] As shown in Figure 3, taking the scenario where the user uses headphones to receive sound as an example, the ambient noise is recorded as N, and the call and music sounds emitted by the headphones are recorded as S. The corresponding signal-to-noise ratio (that is, the signal-to-noise ratio described in the embodiment of the present application) is S / N. The signal-to-noise ratio is a key indicator to measure whether the electronic device can hear clearly. When the signal-to-noise ratio is relatively small, the user may find it difficult to hear the call and music sounds emitted by the headphones, which in turn affects the user's listening experience.
[0149] For example, FIG4 shows a schematic flow chart of an audio control method 400 provided in an embodiment of the present application. As shown in FIG4 , the method 400 includes:
[0150] S401: During audio playback, periodically determine the actual signal-to-ring ratio.
[0151] In some embodiments, the audio playback device calculates the current actual signal-to-ring ratio through an algorithm.
[0152] Optionally, the actual signal-to-ring ratio may also be described as the current signal-to-ring ratio.
[0153] S402: Determine a first difference, where the first difference is the difference between the actual signal-to-ring ratio and the target signal-to-ring ratio.
[0154] Among them, the target signal-to-ring ratio can be the signal-to-ring ratio set by the system by default, or the signal-to-ring ratio automatically set by the system based on the user's historical data, or the signal-to-ring ratio set by the user based on his or her own hearing status, or the signal-to-ring ratio set by other means. This application does not limit this.
[0155] In some embodiments, when the audio playback device is a device without a display screen, such as headphones, the user can set the target signal-to-ring ratio through a device with a display screen, such as a mobile phone or tablet connected to the audio playback device, for example, by setting the target signal-to-ring ratio through a setting interface, or by using a specific button.
[0156] In some embodiments, the user may also set the target signal-to-ring ratio through a specific button on the audio playback device.
[0157] Among them, S402 is executed in a loop.
[0158] Optionally, the target signal-to-ring ratio may also be described as a preset signal-to-ring ratio.
[0159] S403: When the first difference is less than the first threshold, the sound field control system is called to perform sound field control to improve the actual signal-to-ring ratio of the audio playback.
[0160] Among them, sound field control by calling the sound field control system can be understood as reducing the ambient noise (N) during the audio playback process by calling the sound field control system. The specific process of sound field control by calling the sound field control system will be introduced in detail in subsequent embodiments.
[0161] In some embodiments, the first threshold may be 0, or a value determined based on the user's historical usage data, for example, any value within the range of -1dBA to 1dBA, which is not limited in this application.
[0162] It can be understood that controlling the sound field by calling the sound field control system is essentially processing the sound signals transmitted from the environment to the human ear canal. This processing includes different degrees of noise reduction, different degrees of transparency, and partial or complete enhancement of the ambient sound, etc.
[0163] S404: When the sound field control system is called to control the sound field and the actual signal-to-ring ratio of the audio playback is increased to a level where the first difference is greater than or equal to the first threshold, the sound field control is stopped and the process returns to step S402 to enter the next detection cycle.
[0164] S405: If the ambient noise is reduced to less than or equal to the first noise threshold through sound field control, and the first difference is still less than the first threshold, the actual signal-to-ring ratio is improved by increasing the volume of the audio playback.
[0165] In some embodiments, the user can increase the volume of audio playback through the volume control button; the user can also increase the volume of audio playback through voice control; the user can also increase the volume of audio playback through user-specific gestures; in addition, the user can also increase the volume of audio playback through other methods, such as increasing the volume of audio playback through the volume adjustment function in the settings interface, which is not limited in this application.
[0166] In some embodiments, the value of the first noise threshold may be any value within the range of greater than or equal to -50 dB and less than or equal to 20 dB.
[0167] It should be understood that the value of the first noise threshold is related to the performance of the first electronic device. Different types of electronic devices or electronic devices with different configurations may have corresponding first noise thresholds that are different.
[0168] In one embodiment, the value of the first noise threshold may be the noise value after noise reduction corresponding to the sound field control system operating at its maximum performance, wherein the sound field control system operating at its maximum performance means that the sound field control system reaches its maximum noise reduction capability, or in other words, the sound field control system has controlled the noise reduction effect to the optimal level within its own capabilities. It can also be understood as: when the sound field control system operates at its maximum performance, the sound field control continues, the ambient noise no longer continues to decrease, and the current signal-to-ring ratio no longer increases, that is: in the process of the sound field control system continuing to perform sound field control, if the current signal-to-ring ratio increases to a certain value and then no longer increases, it can be considered that the sound field control system has reached its maximum performance.
[0169] In one example, taking the first electronic device as headphones as an example, after receiving the first audio, the headphones first reduce the ambient noise based on the sound field control system of the headphones, such as performing noise reduction processing, transparent transmission processing or background noise enhancement processing on the received audio. When the sound field control process reaches the state: continue to perform operations such as noise reduction processing, transparent transmission processing or background noise enhancement processing, the current ambient noise no longer continues to decrease, it can be considered that the sound field control system of the headphones has reached maximum performance.
[0170] It should be understood that different types of electronic devices, or electronic devices with different configurations, may have different maximum performances corresponding to their sound field control systems.
[0171] In an embodiment of the present application, the sound field control function and volume control function of the electronic device are adaptively combined. The received audio is first processed (noise reduction, transparent transmission, enhancement, etc.) based on the sound field control. When the target audio playback effect cannot be achieved by sound field control alone, the audio playback effect is further improved by volume adjustment without the need for the user to actively adjust it. In this way, the user can avoid habitually turning up the audio volume directly when encountering a situation where the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0172] For example, FIG5 shows a schematic flow chart of another audio control method 500 provided in an embodiment of the present application. As shown in FIG5 , the method 500 includes:
[0173] S501: Preset target signal-to-noise ratio.
[0174] In some embodiments, the signal-to-ring ratio big data statistics obtained in a quiet scene can be used as the target signal-to-ring ratio.
[0175] In some embodiments, the user can customize the target signal-to-ring ratio according to his or her hearing status. In order to prevent the user-defined target signal-to-ring ratio from exceeding a reasonable range, the configuration range of the customized target signal-to-ring ratio can be limited.
[0176] In some embodiments, the system may set a default target signal-to-ring ratio.
[0177] S502: The user performs audiogram measurement, that is, sets the user's audiogram.
[0178] Among them, the audiogram is the most direct basis for understanding the human hearing condition. The horizontal axis of the audiogram represents the frequency of the sound (Hz), commonly known as the tone, and the vertical axis represents the intensity of the sound, expressed in decibels (dB); the audiogram can be measured by an audiometer. The tester needs to wear closed sound-isolating headphones during the test. During the measurement, the audiometer automatically provides various frequency stimuli from weak to strong and automatically changes the frequency. When the tester hears the sound, he presses the button, and the audiometer can directly draw the audibility curve based on the tester's response, that is, the audiogram.
[0179] S503: Periodically determine an actual signal-to-ring ratio during audio playback by the first electronic device.
[0180] In some embodiments, the first electronic device calculates the current actual signal-to-ring ratio through an algorithm.
[0181] In some embodiments, the first electronic device calculates the current actual signal-to-ring ratio through an algorithm based on the user's audiogram.
[0182] S504: Determine a first difference, where the first difference is the difference between the actual signal-to-ring ratio and the target signal-to-ring ratio.
[0183] The explanation of this step is the same as that of S402 in the embodiment shown in FIG. 4 , and will not be repeated here for the sake of brevity.
[0184] S505: Determine whether the first difference is less than a first threshold. If so, execute step S506; if not, end the audio control process and return to S504.
[0185] The explanation of the first threshold has been explained in detail in the embodiment shown in FIG4 , and will not be repeated here for the sake of brevity.
[0186] S506: Determine whether the current environmental noise is less than or equal to the first noise threshold; if not, execute S507; if so, execute S508.
[0187] S507: The sound field control system is called to control the sound field and reduce the ambient noise to improve the actual signal-to-ring ratio of the audio playback, and the judgment operation of S505 is executed cyclically.
[0188] The explanation of this step is the same as that of S403 in the embodiment shown in FIG. 4 , and will not be repeated here for the sake of brevity.
[0189] S508: Determine whether the downlink volume of the audio playback has been increased to the warning volume. If not, execute S509; if so, execute S510.
[0190] Among them, the warning volume can be the volume upper limit value of the safety standard, or the maximum volume that the first electronic device can be adjusted to; it can also be the volume value determined by the system based on the user's historical usage data; it can also be the volume value set by the user according to his or her own hearing status; it can also be a volume value determined by other means, and this application does not limit this.
[0191] In some embodiments, the user can set the warning volume through a setting interface of a second electronic device connected to the first electronic device.
[0192] S509: The actual signal-to-ring ratio is improved by increasing the volume of the audio playback (ie, the downlink volume of the first electronic device), and the judgment operation of S505 is executed cyclically.
[0193] The explanation of this step is similar to the explanation of S405 in the embodiment shown in FIG4 , and will not be repeated here for the sake of brevity.
[0194] S510: Send an alarm to the user, end the audio control process, and return to S504 to perform loop detection.
[0195] Among them, the alarm issued to the user is used to remind the user that the current volume has been increased to the warning volume, which is not conducive to the user's hearing health, and the volume increase can be automatically stopped.
[0196] In an embodiment of the present application, the sound field control function and the volume control function of the electronic device are adaptively combined. The received audio is first subjected to noise reduction processing based on the sound field control. When the target audio playback effect cannot be achieved by the sound field control alone, the audio playback effect is further improved by volume adjustment without the need for the user to actively adjust it. In this way, the user can avoid habitually turning up the audio volume directly when the audio playback is unclear. While improving the audio playback effect, the impact on the user's hearing health can be reduced. Moreover, the determination of the actual signal-to-ring ratio takes into account the user's audiogram measurement results, so that the determined actual signal-to-ring ratio is more in line with the user's actual situation, thereby enabling the audio control effect to be more in line with the user's actual needs.
[0197] For example, taking the first electronic device (ie, audio playback device) as headphones as an example, FIG6 shows a schematic diagram of an interface for a preset target signal-to-ring ratio provided in an embodiment of the present application.
[0198] As shown in FIG6 , the earphone 610 and the electronic device 620 are connected via Bluetooth, and the user can set the target signal-to-ring ratio of the earphone 610 through the audio control interface displayed on the display screen of the electronic device 620 .
[0199] In one example, the audio control interface can be used to set a target signal-to-ring ratio, and the configurable range of the target signal-to-ring ratio can be [-20, 20]dBA. That is, the user can customize the target signal-to-ring ratio within the configurable range by clicking the controls "+" and "-".
[0200] In one example, the audio control interface can also be used to display the actual signal-to-ring ratio in real time. As shown in Figure 6, the current actual signal-to-ring ratio is 14.8dBA. The display range of the actual signal-to-ring ratio can be [-20, 20]dBA, and the actual signal-to-ring ratio can be displayed in the form of a progress bar so that the user can more intuitively know the changes in the actual signal-to-ring ratio. When the actual signal-to-ring ratio is in different value intervals, the color of the progress bar used to represent the actual signal-to-ring ratio can be different. For example, when the actual signal-to-ring ratio is in the first value interval, the color of the progress bar used to represent the actual signal-to-ring ratio can be red, used to prompt the user that the current signal-to-ring ratio is extremely low; when the actual signal-to-ring ratio is in the second value interval, the color of the progress bar used to represent the actual signal-to-ring ratio can be yellow, used to prompt the user that the current signal-to-ring ratio is low; when the actual signal-to-ring ratio is in the third value interval, the color of the progress bar used to represent the actual signal-to-ring ratio can be green, used to prompt the user that the current signal-to-ring ratio is high, wherein the first value interval is smaller than the second value interval, and the second value interval is smaller than the third value interval.
[0201] In some embodiments, the audio control interface may further include one or more optional settings, which may include a setting for turning on a default mode, a setting for turning on a volume alarm, a personalized audiogram setting, and the like.
[0202] In one example, when the user selects to enable the default mode in the audio control interface, the target signal-to-ring ratio is determined as a default value set by the system.
[0203] In one example, when the user chooses to turn on the volume alarm in the audio control interface, when the volume of the playing audio is increased to the warning volume, a volume alarm is issued to the user to remind the user that the current volume is too loud and is not conducive to hearing health; wherein, the warning volume can be a preset volume value, or it can be: when the user chooses to turn on the volume alarm in the audio control interface, the display interface of the electronic device 620 jumps to the warning volume setting interface, so that the user can customize the warning volume according to his or her own hearing status. The corresponding warning volume customization interface will be introduced in detail in subsequent embodiments.
[0204] In one example, when the user selects a personalized audiogram setting in the audio control interface, the earphones 610 will combine the user's audiogram when calculating the actual signal-to-ring ratio, thereby obtaining an actual signal-to-ring ratio that better fits the user's hearing condition, making audio control more precise. The audiogram can be a preset audiogram or a customized audiogram. When the user selects a personalized audiogram setting in the audio control interface, the display interface of the electronic device 620 jumps to the audiogram setting interface, allowing the user to measure their hearing level and obtain the corresponding audiogram.
[0205] It should be understood that the embodiment of the present application is only an illustrative description of the method of setting the target signal-to-ring ratio, and does not limit the method of setting the target signal-to-ring ratio. Users can also set the target signal-to-ring ratio by setting buttons, voice control, etc., and the present application does not limit this.
[0206] It should also be understood that the interface for setting the target signal-to-ring ratio described in the embodiments of the present application is merely illustrative and does not limit the specific setting interface. The interface can be replaced with any other interface that can be used to set the target signal-to-ring ratio.
[0207] In some embodiments, the user can perform relevant operations on the display screen of the electronic device 620 to manually call up the audio control interface, for example, calling up the audio control interface based on the setting function of the electronic device 620, or for example, calling up the audio control interface through a specific application (an APP for controlling the headphones 610, etc.).
[0208] In some embodiments, when the headset 610 and the electronic device 620 complete the connection establishment, the display screen of the electronic device 620 automatically jumps to the audio control interface.
[0209] For example, also taking the first electronic device (ie, audio playback device) as headphones as an example, FIG7 shows a schematic diagram of an interface for prompting a user to set a target signal-to-ring ratio provided by an embodiment of the present application.
[0210] As shown in FIG7 , the earphone 710 and the electronic device 720 are connected via Bluetooth, and the user can set the target signal-to-ring ratio of the earphone 710 through the audio control interface displayed on the display screen of the electronic device 720 .
[0211] When the display interface of the electronic device 720 is located at the audio control interface, when the headset 710 detects that the current target signal-to-ring ratio is low, a first reminder can be issued to the user, where the first reminder is used to remind the user to adjust the target signal-to-ring ratio.
[0212] In one example, when the earphone 710 detects that the current target signal-to-ring ratio is relatively low, a pop-up window 721 is displayed on the display screen of the electronic device 720 to remind the user to adjust the target signal-to-ring ratio. The content in the pop-up window 721 may be, for example: The current target signal-to-ring ratio is relatively low, which is not conducive to the audio effect. Please adjust the target signal-to-ring ratio according to your personal hearing status!
[0213] In one example, when the earphone 710 detects that the current target signal-to-ring ratio is relatively low, a reminder voice 711 is played through the voice playback function of the earphone 710 to remind the user to adjust the target signal-to-ring ratio. The content of the reminder voice 711 may be, for example: The current target signal-to-ring ratio is relatively low, which is not conducive to the audio effect. Please adjust the target signal-to-ring ratio according to your personal hearing status!
[0214] Exemplarily, still taking the first electronic device (i.e., the audio playback device) as the earphone, FIG. 8 shows a schematic diagram of an interface for setting a warning volume provided by an embodiment of the present application.
[0215] As shown in FIG. 8, the earphone 810 and the electronic device 820 are connected via Bluetooth. When the user selects to turn on the volume alarm in the audio control interface displayed on the display screen of the electronic device 820, the display interface of the electronic device 820 jumps to the warning volume setting interface shown in FIG. 8. In this warning volume setting interface, the user can set the warning volume by dragging the progress bar. For example: The adjustable range of this progress bar can be from 0 to 15L. This adjustable range can be a safety standard range. This adjustable range can be divided into three regions. The first region is the region with a volume value from 0 to a, the second region is the region with a volume value from a to b, and the third region is the region with a volume value from b to 15L, where 0 < a < b < 15. When the set warning volume is in the first region, the second region, and the third region respectively, the corresponding warning volumes can be represented by different colors. In one possible implementation, when the set warning volume is in the first region, the corresponding warning volume is represented by yellow, which can prompt the user that the currently set warning volume is relatively small. When the set warning volume is in the second region, the corresponding warning volume is represented by green, which can prompt the user that the currently set warning volume is moderate. When the set warning volume is in the third region, the corresponding warning volume is represented by red, which can prompt the user that the currently set warning volume is relatively large.
[0216] Exemplarily, still taking the first electronic device (i.e., the audio playback device) as the earphone, FIG. 9 shows a schematic diagram of an interface for volume warning provided by an embodiment of the present application.
[0217] As shown in Figure 9, the headset 910 and the electronic device 920 are connected via Bluetooth. When the headset 910 detects that the current volume has increased to the warning volume, a second reminder can be issued to the user. The second reminder is used to remind the user that the current volume has exceeded the safe range and is not conducive to hearing health.
[0218] Furthermore, when the earphone 910 detects that the current volume has been increased to the warning volume, it may automatically stop increasing the volume.
[0219] In one example, when the headset 910 detects that the current volume has been increased to the warning volume, a second reminder is issued to the user by displaying a pop-up window 921 on the display screen of the electronic device 920. The content of the pop-up window 921 may be, for example: the current volume has exceeded the safe range, which is not conducive to hearing health, and the volume has been stopped from being increased!
[0220] In one example, when the earphone 910 detects that the current volume has been increased to the warning volume, the earphone 910 plays a reminder voice 911 through the voice playback function to issue a second reminder to the user. The content of the reminder voice 911 can be, for example: the current volume has exceeded the safe range, which is not conducive to hearing health, and the volume has been stopped from increasing!
[0221] For example, in parallel with the embodiment shown in FIG6 , FIG10 shows a schematic diagram of an interface for another preset target signal-to-ring ratio provided in an embodiment of the present application.
[0222] As shown in FIG10 , the headset 1010 and the electronic device 1020 are connected via Bluetooth, and the user can use the audio control interface displayed on the display screen of the electronic device 1020 .
[0223] In one example, the audio control interface can be used to set a target signal-to-ring ratio, and the user can customize the target signal-to-ring ratio by clicking the control “+” and the control “-”.
[0224] In one example, the audio control interface can also be used to display the actual signal-to-ring ratio in real time. As shown in Figure 10, the current actual signal-to-ring ratio is 15.0dBA. The display range of the actual signal-to-ring ratio can be [-20, 20]dBA, and the actual signal-to-ring ratio can be displayed in the form of a progress bar so that users can more intuitively understand the changes in the actual signal-to-ring ratio.
[0225] In one example, the audio control interface can also be used to display one or more of the amount of ambient noise outside the ear, the amount of ambient noise inside the ear, and the amount of audio signal inside the ear in real time, so that the user can intuitively know the noise level of the current environment, and can also guide the user to perform precise noise control operations.
[0226] In some embodiments, the user can perform relevant operations on the display screen of the electronic device 1020 to manually call up the audio control interface, for example, calling up the audio control interface based on the setting function of the electronic device 1020, or for example, calling up the audio control interface through a specific application (an APP for controlling the headphones 1010, etc.).
[0227] In some embodiments, when the headset 1010 and the electronic device 1020 complete the connection establishment, the display screen of the electronic device 1020 automatically jumps to the audio control interface.
[0228] It should be understood that in the above-described embodiment of the present application, the first electronic device (audio playback device) is described as a headset, but this does not constitute any limitation on the application scenario of the embodiment of the present application. The first electronic device can also be a mobile phone, tablet, smart speaker or other electronic device.
[0229] When the first electronic device is an electronic device with a display screen, such as a mobile phone or a tablet, the audio control interface can be displayed on the display screen of the first electronic device without the need to use the display screens of other electronic devices to display the audio control interface.
[0230] In order to more clearly understand the process of improving the actual signal-to-ring ratio by the sound field control system, the following, by way of example, with reference to Figures 11 to 13, introduces the method for improving the actual signal-to-ring ratio by the sound field control system provided in an embodiment of the present application.
[0231] Exemplarily, taking the sound field control system as an AHA sound field control system as an example, FIG11 shows a schematic diagram of an AHA sound field control curve provided in an embodiment of the present application.
[0232] The first "A" in AHA stands for active noise cancellation or control (ANC), the "H" in AHA stands for natural hear through (NHT), and the second "A" in AHA stands for augmented hearing (AH).
[0233] As shown in Figure 11, the horizontal axis represents the frequency of the sound (Hz), and the vertical axis represents the degree of noise control at different frequencies (dB). The value of the vertical axis can be understood as the difference between the noise before control and the noise after control. When the vertical axis is equal to 0, it means that the noise in the ear is the same as the open-ear state (the state of not wearing headphones); when the value of the vertical axis is greater than 0, it means that the noise in the ear is greater than the noise in the open-ear state without wearing headphones, and the hearing sensation is in an amplified state; when the value of the vertical axis is less than 0, it means that the noise in the ear is less than the noise in the open-ear state, and the hearing sensation is in a noise reduction state. For example, curve 1 represents the strong hybrid active noise cancellation (HB ANC) curve; curve 2 represents the weak hybrid active noise cancellation (HB ANC W) curve; curve 3 represents the feedback active noise cancellation (FB ANC) curve; curve 4 represents the passive noise cancellation (PNC) curve; curve 6 represents the natural hear through (NHT) curve; curves 5, 7, 8, and 9 represent different types of background noise enhancement control curves (AH3, AH2, AH1, and AH, respectively).
[0234] In some embodiments, feedback active noise reduction can be combined with passive noise reduction. After the two are combined, the corresponding sound field control curve is distributed between curve 3 and curve 4.
[0235] In some embodiments, weak hybrid active noise reduction can be combined with passive noise reduction. After the two are combined, the corresponding sound field control curve is distributed between curve 2 and curve 4.
[0236] In some embodiments, strong hybrid active noise reduction can be combined with passive noise reduction. After the two are combined, the corresponding sound field control curve is distributed between curve 1 and curve 4.
[0237] In addition, any two or more of the above nine curves may be combined to achieve the desired sound field control effect, wherein the degree of combination of the two or more curves is not limited and can be determined according to actual conditions.
[0238] For example, FIG12 shows a spectrum diagram corresponding to different active noise reduction levels during music playback provided by an embodiment of the present application.
[0239] As shown in Figure 12, curve 1, curve 2, curve 3, curve 4, curve 5, and curve 6 respectively represent the corresponding residual ambient noise spectrum curves in the ear after different degrees of active noise reduction control of the ambient noise during music playback (anc on 6, anc on 5, anc on4, anc on 3, anc on 2, anc on 1), among which, the active noise reduction degree of curve 6, curve 5, curve 4, curve 3, curve 2, and curve 1 gradually increases, and the residual ambient noise in the ear gradually decreases; curve 8 represents the spectrum curve corresponding to the played music; curve 9 represents the spectrum curve of the superposition of the played music and the residual noise in the ear after active noise reduction of the noise in the ear, which is also the superposition of the ambient noise and music actually heard by the human ear.
[0240] FIG13 shows the signal-to-ring ratio calculation values corresponding to the spectrum curves in FIG12. As shown in FIG13, coordinate point b1 represents the signal-to-ring ratio calculation value corresponding to curve 8 (i.e., the signal-to-ring ratio corresponding to playing music when the noise in the ear is not actively controlled); coordinate point b2 represents the signal-to-ring ratio calculation value corresponding to curve 9 (i.e., the signal-to-ring ratio corresponding to playing music after active noise reduction for the noise in the ear); on this basis, when the degree of active noise reduction for the ambient noise is gradually increased, the corresponding signal-to-ring ratio calculation values after active noise reduction are represented as coordinate points a1, b2, and b3, respectively. a2, a3, a4, a5, a6, a7, a8. It can be seen from Figure 13 that when the first degree of active noise reduction is performed on the ambient noise, the corresponding signal-to-ring ratio calculated value increases by 7dBA compared with the case where no active noise reduction is performed on the ambient noise. As the degree of active noise reduction on the ambient noise gradually increases, the corresponding signal-to-ring ratio calculated value also gradually increases. When the eighth degree of active noise reduction is performed on the ambient noise, the corresponding signal-to-ring ratio calculated value increases by 18dBA compared with the case where no active noise reduction is performed on the ambient noise.
[0241] For example, FIG14 shows a functional module diagram of an audio control device 1400 provided in an embodiment of the present application. As shown in FIG14 , the device 1400 includes:
[0242] The determination module 1410 is configured to periodically determine the actual signal-to-ring ratio during audio playback.
[0243] In some embodiments, the determination module 1410 calculates the current actual signal-to-ring ratio through an algorithm.
[0244] The determination module 1410 is further configured to determine a first difference, where the first difference is a difference between the actual signal-to-ring ratio and the target signal-to-ring ratio.
[0245] Among them, the target signal-to-ring ratio can be the signal-to-ring ratio set by the system by default, or the signal-to-ring ratio automatically set by the system based on the user's historical data, or the signal-to-ring ratio set by the user based on his or her own hearing status, or the signal-to-ring ratio set by other means. This application does not limit this.
[0246] In some embodiments, when the audio playback device equipped with the determination module 1410 is a device without a display screen, such as headphones, the user can set the target signal-to-ring ratio through a device with a display screen, such as a mobile phone or tablet connected to the audio playback device, for example, by setting the target signal-to-ring ratio through a setting interface, or by using a specific button.
[0247] Optionally, the target signal-to-ring ratio may also be described as a preset signal-to-ring ratio.
[0248] The judgment module 1420 is configured to judge whether the first difference is less than a first threshold.
[0249] In some embodiments, the first threshold may be 0, or a value determined based on the user's historical usage data, for example, any value within the range of -1dBA to 1dBA, which is not limited in this application.
[0250] The calling module 1430 is configured to, when the first difference is less than a first threshold, call a sound field control system to perform sound field control, thereby reducing ambient noise and improving the actual signal-to-ring ratio of audio playback.
[0251] It can be understood that controlling the sound field by calling the sound field control system is essentially processing the sound signals transmitted from the environment to the human ear canal. This processing includes different degrees of noise reduction, different degrees of transparency, and partial or complete enhancement of the ambient sound, etc.
[0252] The calling module 1430 is further configured to stop calling the sound field control module to perform sound field control when the actual signal-to-ring ratio of the audio playback is improved to a level where the first difference is greater than or equal to the first threshold.
[0253] The calling module 1430 is further configured to: when the ambient noise is reduced to less than or equal to the first noise threshold and the first difference is still less than the first threshold, increase the volume of the audio playback by calling the volume control module to improve the actual signal-to-ring ratio.
[0254] In an embodiment of the present application, the sound field control function and volume control function of the electronic device are adaptively combined. The received audio is first processed (noise reduction, transparent transmission, enhancement, etc.) based on the sound field control. When the target audio playback effect cannot be achieved by sound field control alone, the audio playback effect is further improved by volume adjustment without the need for the user to actively adjust it. In this way, the user can avoid habitually turning up the audio volume directly when encountering a situation where the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0255] For example, FIG15 shows a schematic framework diagram of an audio control system 1500 provided in an embodiment of the present application. As shown in FIG15 , the system 1500 includes a left earphone, a right earphone, and a terminal device. The left earphone includes a processing module 1501-1, a data acquisition module 1502-1, a Bluetooth module 1503-1, a power supply module 1504-1, a memory 1505-1, and a speaker 1506-1; the right earphone includes a processing module 1501-2, a data acquisition module 1502-2, a Bluetooth module 1503-2, a power supply module 1504-2, a memory 1505-2, and a speaker 1506-2; the terminal device includes a Bluetooth module 1507, a processing module 1508, a power supply module 1509, a display 1510, and a memory 1511. Specifically:
[0256] Processing module 1501 - 1 : is used to process the uplink call data collected by the data collection module 1502 - 1 .
[0257] Optionally, the data collection module 1502 - 1 may also be used to collect other user data, which is not limited in this application.
[0258] The processing module 1501 - 1 can also be used to implement the functions of the determination module 1410 , the judgment module 1420 and the calling module 1430 described in the embodiment shown in FIG. 14 .
[0259] The Bluetooth module 1503 - 1 , the Bluetooth module 1503 - 1 on the left ear side and the Bluetooth module 1503 - 2 on the right ear side can be connected via Bluetooth.
[0260] The power supply module 1504-1 is used to provide a system interface and power supply method for each module in the left earphone to ensure the normal operation of each module and the entire system.
[0261] Memory 1505-1 is used to store user data, usage records, etc. on the left ear side.
[0262] Speaker 1506-1 is used to play the call sound received by the left earphone.
[0263] The Bluetooth module 1507 is connected to the Bluetooth module 1204-1 of the left earphone and the Bluetooth module 1204-2 of the right earphone, and is used to realize data transmission between the terminal device and the earphones.
[0264] The processing module 1508 is used to process the data obtained from the headset side, or to process the local data.
[0265] The power supply module 1509 is used to supply power to each module in the terminal device to ensure the normal operation of each module and the entire terminal device.
[0266] Display 1510 is used to display images that need to be displayed on the terminal device interface, for example, it is used to display the setting interface of the target signal-to-ring ratio, and for example, it is used to issue relevant prompts to the user (prompting the user to set the target signal-to-ring ratio, prompting the user that the current volume is too loud, etc.).
[0267] The memory 1511 is used to store user data, usage records, etc. on the terminal device side.
[0268] Among them, the explanations of the processing module 1501-2, data acquisition module 1502-2, Bluetooth module 1503-2, power supply module 1504-2, memory 1505-2 and speaker 1506-2 of the right earphone are the same as those of the processing module 1501-1, data acquisition module 1502-1, Bluetooth module 1503-1, power supply module 1504-1, memory 1505-1 and speaker 1506-1 on the left earphone side. For the sake of brevity, they will not be repeated here.
[0269] One or more of the modules or units described herein can be implemented in software, hardware, or a combination of the two. When any of the above modules or units is implemented in software, the software exists in the form of computer program instructions and is stored in a memory, and a processor can be used to execute the program instructions and implement the above method flow. The processor may include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (MCU), or an artificial intelligence processor, etc., a computing device that runs software, each computing device may include one or more cores for executing software instructions to perform operations or processing. The processor may be built into an SoC (system on chip) or an application specific integrated circuit (ASIC), or it may be an independent semiconductor chip. In addition to the core for executing software instructions to perform operations or processing within the processor, it may further include necessary hardware accelerators, such as a field programmable gate array (FPGA), a PLD (programmable logic device), or a logic circuit that implements dedicated logic operations.
[0270] When the modules or units described in this document are implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a DSP, an MCU, an artificial intelligence processor, an ASIC, a SoC, an FPGA, a PLD, a dedicated digital circuit, a hardware accelerator, or a non-integrated discrete device, which can run the necessary software or not rely on the software to execute the above method flow.
[0271] When the modules or units described herein are implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0272] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0273] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0274] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0275] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0276] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0277] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0278] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for audio control, characterized in that: The method comprises: During the process of the first electronic device playing audio, determining a first difference value, where the first difference value is the difference between the current signal-to-ring ratio and the target signal-to-ring ratio; When the first difference is less than a first threshold, the ambient noise is reduced by invoking the sound field control system of the first electronic device to improve the current signal-to-ring ratio until the first difference is greater than or equal to the first threshold; If the first difference is still less than the first threshold when the ambient noise is reduced to less than or equal to the first noise threshold, the current signal-to-ring ratio is improved by increasing the downlink volume until the first difference is greater than or equal to the first threshold.
2. The method according to claim 1, characterized in that The method further comprises: If the first difference is still less than the first threshold when the downlink volume is increased to the warning volume, the downlink volume is stopped from being increased, and a first alarm is issued to the user, wherein the first alarm is used to remind the user that the current volume is too loud and is not conducive to hearing health.
3. The method according to claim 1 or 2, characterized in that: Before determining the first difference, the method further includes: Periodically determine the current signal ratio.
4. The method according to claim 3, characterized in that The periodically determining the current signal-to-ring ratio includes: The current signal-to-ring ratio is periodically determined based on the user's audiogram.
5. The method according to any one of claims 1 to 4, characterized in that Before determining the first difference, the method further includes: The target signal ratio is preset.
6. The method according to claim 5, characterized in that The preset target signal ratio includes: The target signal ring ratio is preset through a display interface of a second electronic device connected to the first electronic device.
7. The method according to claim 5 or 6, characterized in that: The method further comprises: When it is detected that the current target signal-to-ring ratio is low, the user is reminded to reset the target signal-to-ring ratio.
8. The method according to claim 2, characterized in that: Before determining the first difference, the method further includes: The warning volume is preset.
9. The method according to claim 8, characterized in that The preset warning volume includes: The warning volume is preset through a display interface of a second electronic device connected to the first electronic device.
10. The method according to any one of claims 1 to 9, characterized in that The first electronic device is a headset.
11. An audio control device, characterized in that: The device comprises: A determination module, configured to determine a first difference value during the process of the first electronic device playing audio, wherein the first difference value is a difference between a current signal-to-ring ratio and a target signal-to-ring ratio; a calling module, configured to reduce environmental noise by calling a sound field control system of the first electronic device to improve a current signal-to-ring ratio when the first difference is less than a first threshold value, until the first difference is greater than or equal to the first threshold value; The calling module is also used to improve the current signal-to-ring ratio by increasing the downlink volume when the ambient noise is reduced to less than or equal to the first noise threshold and the first difference is still less than the first threshold, until the first difference is greater than or equal to the first threshold.
12. The device according to claim 11, characterized in that The device also includes: The first alarm module is used to stop increasing the downlink volume and issue a first alarm to the user when the downlink volume is increased to the warning volume and the first difference is still less than the first threshold value. The first alarm is used to remind the user that the current volume is too loud and is not conducive to hearing health.
13. The device according to claim 11 or 12, characterized in that The determining module is also used for: Periodically determine the current signal ratio.
14. The device according to claim 13, characterized in that The determination module is specifically used for: The current signal-to-ring ratio is periodically determined based on the user's audiogram.
15. The device according to any one of claims 11 to 14, characterized in that The device also includes: The first setting module is used to preset the target signal-to-ring ratio.
16. The device according to claim 15, characterized in that The first setting module is specifically used for: The target signal ring ratio is preset through a display interface of a second electronic device connected to the first electronic device.
17. The device according to claim 15 or 16, characterized in that The device also includes: The second alarm module is used to remind the user to reset the target signal-to-ring ratio when it is detected that the current target signal-to-ring ratio is low.
18. The device according to claim 12, characterized in that The device also includes: The second setting module is used to preset the warning volume.
19. The device according to claim 18, characterized in that The second setting module is specifically used for: The warning volume is preset through a display interface of a second electronic device connected to the first electronic device.
20. The device according to any one of claims 11 to 19, characterized in that The first electronic device is a headset.
21. An electronic device, characterized in that: include: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions, which, when executed by the one or more processors, enable the electronic device to perform the method as described in any one of claims 1 to 10.
22. A computer-readable storage medium, characterized in that: The storage medium stores a program or an instruction, and when the program or the instruction is executed, the method according to any one of claims 1 to 10 is implemented.
23. A chip, characterized in that: Instructions are stored in the chip, and when the instructions are executed, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Method for improving call effect, device and mobile terminal
CN107370883A
Navigation prompt broadcasting method and mobile terminal
CN107623790A
Noise reduction method and device, audio equipment and computer readable storage medium
CN112911441A
Earphone volume control method and device, electronic equipment and storage medium
CN113225637A
Wireless communication system and controlling of audio volume by using the same
KR1020090022624A