Audio control method and device and electronic equipment
By adaptively combining sound field control and volume control functions in electronic devices, the ambient noise is first reduced and then adjusted the volume is solved, and the problem of environmental noise affecting the audio experience is improved, and the audio playback effect is protected and the user's hearing health is protected.
Patent Information
- Application Number
- CN202311529020.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-15
- Publication Date
- 2025-05-16
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 of electronic devices and the volume control function, the ambient noise is reduced based on the sound field control. When the sound field control cannot achieve the target effect, the volume adjustment is performed to automatically adjust to improve the audio playback effect.
It effectively improves the signal-to-noise ratio 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 CN120017749A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of audio control, and more specifically, to a method, device and electronic device for audio control. Background Art
[0002] At present, many electronic devices (such as headphones, mobile phones, tablets, etc.) have basic call functions, music playback functions, etc. Environmental noise greatly affects the user's hearing experience. When the user cannot hear the sound received by the electronic device clearly, the user generally directly increases 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. Summary of the invention
[0003] 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.
[0004] 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 invoking 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.
[0005] 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.
[0006] In some embodiments, the first threshold may be 0, or a value determined according to the user's historical usage data, for example, any value in the range of -1dBA to 1dBA, which is not limited in the present application.
[0007] Optionally, the first electronic device may be a headset.
[0008] In some embodiments, the operation of determining the first difference may be performed periodically, that is, the first difference is periodically determined during the process of the first electronic device playing audio.
[0009] 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.
[0010] It should be understood that the value of the first noise threshold is related to the performance of the first electronic device, and different types of electronic devices or electronic devices with different configurations may have corresponding first noise thresholds that are different.
[0011] In one embodiment, the value of the first noise threshold may be the noise value after noise reduction corresponding to the time when the sound field control system operates at maximum performance, wherein the time when the sound field control system operates at maximum performance means that the sound field control system reaches 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 capability. It may also be understood as follows: when the sound field control system operates at 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, during the process of the sound field control system continuously performing sound field control, if the current signal-to-ring ratio increases to a certain value and then no longer increases, it may be considered that the sound field control system has reached maximum performance.
[0012] In one example, taking the first electronic device as headphones, 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: continuing to execute operations such as noise reduction processing, transparent transmission processing, or background noise enhancement processing, and 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.
[0013] It should be understood that different types of electronic devices, or electronic devices with different configurations, may have different maximum performances of their sound field control systems.
[0014] 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 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 the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0015] 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, stopping increasing the downlink volume and issuing a first alarm 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.
[0016] 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.
[0017] In combination with the first aspect, in a possible implementation manner, before determining the first difference, the method further includes: periodically determining a current signal-to-ring ratio.
[0018] 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.
[0019] In combination with the first aspect, in a possible implementation manner, periodically determining the current signal-to-ring ratio includes: periodically determining the current signal-to-ring ratio according to an audiogram of a user.
[0020] 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.
[0021] In combination with the first aspect, in a possible implementation manner, before determining the first difference, the method further includes: presetting the target signal-to-ring ratio.
[0022] In the embodiment of the present application, the user can preset a target signal-to-ring ratio that suits his or her own hearing condition according to 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.
[0023] In combination with the first aspect, in a possible implementation manner, 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.
[0024] In the embodiment of the present application, the target signal 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.
[0025] In combination with the first aspect, in a possible implementation manner, 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.
[0026] 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 the present application.
[0027] 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.
[0028] In combination with the first aspect, in a possible implementation manner, before determining the first difference, the method further includes: presetting the warning volume.
[0029] 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.
[0030] In combination with the first aspect, in a possible implementation manner, presetting the warning volume includes: presetting the warning volume through a display interface of a second electronic device connected to the first electronic device.
[0031] 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.
[0032] In a second aspect, an audio control device is provided, the device comprising: a determination module, for determining a first difference value during audio playback by a first electronic device, the first difference value being the difference between a current signal-to-ring ratio and a target signal-to-ring ratio; a calling module, for reducing ambient noise by calling a sound field control system when the first difference value is less than a first threshold value, so as to improve the current signal-to-ring ratio, until the first difference value is greater than or equal to the first threshold value; the calling module is also for, when the ambient noise is reduced to less than or equal to the first noise threshold value, if the first difference value is still less than the first threshold value, improving the current signal-to-ring ratio by increasing the downlink volume, until the first difference value is greater than or equal to the first threshold value.
[0033] 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.
[0034] In some embodiments, the first threshold may be 0, or a value determined according to the user's historical usage data, for example, any value in the range of -1dBA to 1dBA, which is not limited in the present application.
[0035] Optionally, the first electronic device may be a headset.
[0036] In some embodiments, the determination module is specifically used to: periodically determine the first difference value during the process of the first electronic device playing audio.
[0037] 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.
[0038] It should be understood that the value of the first noise threshold is related to the performance of the first electronic device, and different types of electronic devices or electronic devices with different configurations may have corresponding first noise thresholds that are different.
[0039] In one embodiment, the value of the first noise threshold may be the noise value after noise reduction corresponding to the time when the sound field control system operates at maximum performance, wherein the time when the sound field control system operates at maximum performance means that the sound field control system reaches 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 capability. It may also be understood as follows: when the sound field control system operates at 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, during the process of the sound field control system continuously performing sound field control, if the current signal-to-ring ratio increases to a certain value and then no longer increases, it may be considered that the sound field control system has reached maximum performance.
[0040] In one example, taking the first electronic device as headphones, 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: continuing to execute operations such as noise reduction processing, transparent transmission processing, or background noise enhancement processing, and 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.
[0041] It should be understood that different types of electronic devices, or electronic devices with different configurations, may have different maximum performances of their sound field control systems.
[0042] 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 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 the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0043] In combination with the second aspect, in a 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, wherein the first alarm is used to prompt the user that the current volume is too loud and is not conducive to hearing health.
[0044] 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.
[0045] In combination with the second aspect, in a possible implementation manner, the determination module is further used to: periodically determine the current signal-to-ring ratio.
[0046] 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.
[0047] In combination 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 an audiogram of a user.
[0048] 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.
[0049] In combination with the second aspect, in a possible implementation manner, the device further includes: a first setting module, configured to preset the target signal-to-ring ratio.
[0050] In the embodiment of the present application, the user can preset a target signal-to-ring ratio that suits his or her own hearing condition according to 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.
[0051] In conjunction with the second aspect, in a possible implementation manner, the first setting module is specifically used to: preset the target signal ring ratio through a display interface of a second electronic device connected to the first electronic device.
[0052] In the embodiment of the present application, the target signal 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.
[0053] In combination with the second aspect, in a possible implementation manner, 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.
[0054] 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, which is not limited in the present application.
[0055] 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.
[0056] In combination with the second aspect, in a possible implementation manner, the device further includes: a second setting module, configured to preset the warning volume.
[0057] 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.
[0058] In conjunction with the second aspect, in a possible implementation manner, 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.
[0059] 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.
[0060] 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 manner of the first aspect.
[0061] 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 manner of the first aspect is implemented.
[0062] In a fifth aspect, a chip is provided, in which instructions are stored. When the instructions are executed on a device, the chip executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0064] Figure 2 is a software structure block diagram of the electronic device provided in the embodiment of the present application;
[0065] Figure 3 It is a schematic diagram of determining the signal ring ratio provided in an embodiment of the present application;
[0066] Figure 4 is a schematic flow chart of an audio control method provided in an embodiment of the present application;
[0067] Figure 5 is a schematic flow chart of another audio control method provided in an embodiment of the present application;
[0068] Figure 6 This is a schematic diagram of an interface for presetting a target signal ratio provided in an embodiment of the present application;
[0069] Figure 7 This is a schematic diagram of an interface for prompting a user to set a target signal ratio provided by an embodiment of the present application;
[0070] Figure 8 This is a schematic diagram of an interface for setting an alarm volume provided in an embodiment of the present application;
[0071] Fig. 9 This is a schematic diagram of a volume alarm interface provided by an embodiment of the present application;
[0072] Fig.10 This is another interface schematic diagram of a preset target signal ratio provided in an embodiment of the present application;
[0073] Fig.11is a schematic diagram of an AHA sound field control curve provided in an embodiment of the present application;
[0074] Fig.12 This is a spectrum diagram corresponding to different active noise reduction levels during music playback provided by an embodiment of the present application;
[0075] Fig.13 A distribution diagram of signal-to-ring ratio calculation values corresponding to different noise reduction levels provided in an embodiment of the present application is shown;
[0076] Fig.14 It is a functional module diagram of an audio control device provided in an embodiment of the present application;
[0077] Fig.15 It is a schematic framework diagram of an audio control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] The technical solution in the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0079] The technical solutions in the embodiments of the present application will be described below in conjunction with the 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.
[0080] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, 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.
[0081] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "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 may exist; for example, A and / or B can represent: 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 objects associated before and after are in an "or" relationship.
[0082] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "one embodiment", "some embodiments", "another embodiment", "some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0083] 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, it can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), 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.
[0084] For example, Figure 11 shows a schematic diagram of the structure of the 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 screen 194, and a subscriber identification module (SIM) card interface 195, etc. 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.
[0085] It is to be understood that the structure illustrated in the embodiment of the present application does 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0086] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0087] 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.
[0088] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0089] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, etc.
[0090] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0091] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic 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 in the above embodiments, or a combination of multiple interface connection methods.
[0092] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0093] 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 supplies power to the processor 110, the internal memory 121, the external memory, the display screen 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 number, battery health status (leakage, impedance), etc. 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.
[0094] 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.
[0095] 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 the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0096] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., 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.
[0097] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a 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.
[0098] 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 integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0099] 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 the network and other devices through wireless communication technology. The wireless communication technology 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).
[0100] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0101] The display screen 194 is used to display images, videos, etc. The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0102] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0103] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0104] 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 optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted 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.
[0105] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0106] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0107] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0108] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0109] 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 may store an operating system, at least one App required for a function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may 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.
[0110] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0111] 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 arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0112] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0113] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0114] Microphone 170C, also called "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 microphone 170C to input the sound signal into 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 sound source, realize directional recording function, etc.
[0115] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0116] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0117] 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.
[0118] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0119] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out 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, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0120] It should be understood that the phone card in the embodiments of the present application includes but is not limited to a SIM card, an eSIM card, a universal subscriber identity module (USIM), a universal integrated circuit card (UICC), and the like.
[0121] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0122] Figure 21 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
[0123] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
[0124] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0125] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0126] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0127] 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.
[0128] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0129] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0130] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0131] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0132] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0133] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0134] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0135] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0136] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0137] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0138] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0139] A 2D graphics engine is a drawing engine for 2D drawings.
[0140] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0141] 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.
[0142] The technical solution of the embodiment of the present application can be applied to any electronic device with audio playback. Exemplarily, it can be applied to headphones, televisions, desktop computers, laptops, portable electronic devices such as mobile phones, folding screens, smart bracelets, tablet computers, 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 (public land mobile networks, PLMNs), etc. The main application scenario can be the time synchronization of electronic devices in near-field communication scenarios, for example, it can be applied to the time synchronization scenario of "1+8+N" devices.
[0143] At present, many electronic devices (such as headphones, mobile phones, tablets, etc.) have basic call functions, music playback functions, etc. Environmental noise greatly affects the user's hearing experience. When the user cannot hear the sound received by the electronic device clearly, the user generally directly increases 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.
[0144] 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 the sound field control alone, the audio playback effect is further improved by volume adjustment, and the user does not need to actively adjust the volume. In this way, the user can avoid habitually turning up the audio volume directly when the audio playback is unclear. This method can improve the audio playback effect while reducing the impact on the user's hearing health.
[0145] In order to understand the solution of this application more clearly, Figure 3 , the signal ring ratio involved in the embodiments of the present application is introduced.
[0146] like Figure 3As shown, taking the scenario in which the user uses headphones to receive sound as an example, the ambient noise is denoted as N, the call and music sounds emitted by the headphones are denoted as S, and 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 for measuring whether the electronic device can hear clearly. When the signal ring is relatively small, the user may find it difficult to hear the call and music sounds emitted by the headphones, thereby affecting the user's listening experience.
[0147] For example, Figure 4 FIG. 4 is a schematic flow chart of an audio control method 400 provided in an embodiment of the present application. Figure 4 As shown, the method 400 includes:
[0148] S401: During audio playback, periodically determine the actual signal-to-ring ratio.
[0149] In some embodiments, the audio playback device calculates the current actual signal-to-ring ratio through an algorithm.
[0150] Optionally, the actual signal-to-ring ratio may also be described as the current signal-to-ring ratio.
[0151] S402: Determine a first difference, where the first difference is a difference between an actual signal-to-ring ratio and a target signal-to-ring ratio.
[0152] Among them, the target signal-to-ring ratio can be the signal-to-ring ratio set by the system by default, or it can be the signal-to-ring ratio automatically set by the system according to the user's historical data, or it can be the signal-to-ring ratio set by the user according to his or her own hearing status, or it can be the signal-to-ring ratio set by other means, and this application does not limit this.
[0153] 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.
[0154] In some embodiments, the user can also set the target signal ratio through a specific button of the audio playback device.
[0155] Among them, S402 is executed in a loop.
[0156] Optionally, the target signal-to-ring ratio may also be described as a preset signal-to-ring ratio.
[0157] 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.
[0158] Among them, sound field control by calling the sound field control system can be understood as reducing the ambient noise (N) of 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.
[0159] In some embodiments, the first threshold may be 0, or a value determined according to the user's historical usage data, for example, any value in the range of -1dBA to 1dBA, which is not limited in the present application.
[0160] It can be understood that calling the sound field control system to control the sound field is essentially to process 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.
[0161] 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.
[0162] 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.
[0163] 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.
[0164] 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.
[0165] It should be understood that the value of the first noise threshold is related to the performance of the first electronic device, and different types of electronic devices or electronic devices with different configurations may have corresponding first noise thresholds that are different.
[0166] In one embodiment, the value of the first noise threshold may be the noise value after noise reduction corresponding to the time when the sound field control system operates at maximum performance, wherein the time when the sound field control system operates at maximum performance means that the sound field control system reaches 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 capability. It may also be understood as follows: when the sound field control system operates at 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, during the process of the sound field control system continuously performing sound field control, if the current signal-to-ring ratio increases to a certain value and then no longer increases, it may be considered that the sound field control system has reached maximum performance.
[0167] In one example, taking the first electronic device as headphones, 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: continuing to execute operations such as noise reduction processing, transparent transmission processing, or background noise enhancement processing, and 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.
[0168] It should be understood that different types of electronic devices, or electronic devices with different configurations, may have different maximum performances of their sound field control systems.
[0169] 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 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 the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0170] For example, Figure 5 FIG. 5 is a schematic flow chart of another audio control method 500 provided in an embodiment of the present application. Figure 5 As shown, the method 500 includes:
[0171] S501: preset target signal ratio.
[0172] 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.
[0173] In some embodiments, the user can customize the target signal-to-ring ratio according to his or her own 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.
[0174] In some embodiments, the system can set a default target signal-to-ring ratio.
[0175] S502: The user performs audiogram measurement, that is, sets the user's audiogram.
[0176] 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 test subject needs to wear closed sound-proof 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 test subject hears the sound, he presses a button, and the audiometer can directly draw the audibility curve according to the test subject's response, that is, the audiogram.
[0177] S503: During the audio playback process of the first electronic device, the actual signal-to-ring ratio is periodically determined.
[0178] In some embodiments, the first electronic device calculates the current actual signal-to-ring ratio through an algorithm.
[0179] In some embodiments, the first electronic device calculates the current actual signal-to-ring ratio through an algorithm based on the user's audiogram.
[0180] 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.
[0181] Among them, the explanation of this step is Figure 4 The explanation of S402 in the illustrated embodiments is the same and will not be repeated here for the sake of brevity.
[0182] S505: Determine whether the first difference is less than the first threshold value. If so, execute step S506; if not, end the audio control process and return to S504.
[0183] The explanation of the first threshold is given in Figure 4 The illustrated embodiment has been described in detail and will not be described again for the sake of brevity.
[0184] S506: Determine whether the current environmental noise is less than or equal to the first noise threshold, if not, execute S507; if yes, execute S508.
[0185] S507: The sound field control system is called to control the sound field and reduce the environmental noise to improve the actual signal-to-ring ratio of the audio playback, and the judgment operation of S505 is executed cyclically.
[0186] Among them, the explanation of this step is Figure 4The explanation of S403 in the illustrated embodiments is the same and will not be repeated here for the sake of brevity.
[0187] S508: Determine whether the downlink volume of the audio playback has been increased to the warning volume, if not, execute S509; if yes, execute S510.
[0188] Among them, the warning volume can be the upper limit of the volume in the safety standard, or the maximum volume that the first electronic device can adjust to; it can also be a volume value determined by the system based on the user's historical usage data; it can also be a 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.
[0189] 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.
[0190] 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 determination operation of S505 is executed cyclically.
[0191] Among them, the explanation of this step is Figure 4 The explanation of S405 in the illustrated embodiment is similar and will not be repeated here for the sake of brevity.
[0192] S510: Send an alarm to the user, end the audio control process, and return to S504 to perform loop detection.
[0193] Among them, the alarm sent 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.
[0194] 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. No active adjustment by the user is required. In this way, the user is prevented from habitually turning up the audio volume directly when the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health. 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.
[0195] For example, taking the first electronic device (ie, the audio playback device) as a headset, Figure 6 A schematic diagram of an interface for presetting a target signal-to-ring ratio provided in an embodiment of the present application is shown.
[0196] like Figure 6 As shown, the earphone 610 and the electronic device 620 are connected via Bluetooth, and the user can set the target signal ratio of the earphone 610 through the audio control interface displayed on the display screen of the electronic device 620.
[0197] 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 "-".
[0198] In one example, the audio control interface can also be used to display the actual signal-to-ring ratio in real time, such as Figure 6 As shown, the current actual signal-to-ring ratio is 14.8dBA, and 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, which is 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, which is 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, which is 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.
[0199] 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.
[0200] In one example, when the user selects to turn on the default mode in the audio control interface, the target signal-to-ring ratio is determined as a default value set by the system.
[0201] In one example, when the user chooses to turn on the volume alarm in the audio control interface, when the volume of the played 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, and the corresponding warning volume customization interface will be introduced in detail in subsequent embodiments.
[0202] In one example, when the user selects a personalized audiogram setting in the audio control interface, the earphone 610 will combine the user's audiogram in the process of calculating the actual signal-to-ring ratio, and can obtain an actual signal-to-ring ratio that is more in line with the user's hearing status, which will make the audio control more accurate. Among them, the audiogram can be a preset audiogram, or it can be: 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, so that the user can measure his or her own hearing level and obtain the corresponding audiogram.
[0203] 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.
[0204] 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 only for illustrative purposes and does not limit the specific setting interface. The interface can be replaced by any other interface that can be used to set the target signal-to-ring ratio.
[0205] In some embodiments, the user can perform related 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.).
[0206] 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.
[0207] For example, taking the first electronic device (ie, the audio playback device) as a headset as an example, Figure 7 A schematic diagram of an interface for prompting a user to set a target signal-to-signal ratio provided in an embodiment of the present application is shown.
[0208] like Figure 7 As shown, the earphone 710 and the electronic device 720 are connected via Bluetooth, and the user can set the target signal ratio of the earphone 710 through the audio control interface displayed on the display screen of the electronic device 720.
[0209] 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, and the first reminder is used to remind the user to adjust the target signal-to-ring ratio.
[0210] In one example, when the earphone 710 detects that the current target signal loop ratio is 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 loop ratio. The content in the pop-up window 721 can be, for example: The current target signal loop ratio is low, which is not conducive to the audio effect. Please adjust the target signal loop ratio according to your personal hearing status!
[0211] In one example, when the earphone 710 detects that the current target signal loop ratio is 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 loop ratio. The content of the reminder voice 711 can be, for example: The current target signal loop ratio is low, which is not conducive to the audio effect. Please adjust the target signal loop ratio according to your personal hearing status!
[0212] Exemplarily, taking the first electronic device (i.e., the audio playback device) as the earphone as an example, Figure 8 Fig. shows a schematic diagram of an interface for setting the warning volume provided by an embodiment of the present application.
[0213] As Figure 8 shown, 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 as shown in Figure 8 shown. 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 the 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 too 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 too large.
[0214] Exemplarily, taking the first electronic device (i.e., the audio playback device) as the earphone as an example, Fig. 9 Fig. shows a schematic diagram of an interface for volume warning provided by an embodiment of the present application.
[0215] As Fig. 9As shown, the earphone 910 and the electronic device 920 are connected via Bluetooth. When the earphone 910 detects that the current volume has been 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.
[0216] Furthermore, when the earphone 910 detects that the current volume has been raised to the warning volume, it can automatically stop raising the volume.
[0217] In one example, when the earphone 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 in 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!
[0218] In one example, when the earphone 910 detects that the current volume has been increased to the warning volume, a reminder voice 911 is played through the voice playback function of the earphone 910 to issue a second reminder to the user. The content of the reminder voice 911 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!
[0219] For example, Figure 6 The embodiments shown are in parallel, Fig.10 A schematic diagram of an interface for setting a target signal-to-ring ratio provided in an embodiment of the present application is shown.
[0220] like Fig.10 As shown, 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.
[0221] 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 “-”.
[0222] In one example, the audio control interface can also be used to display the actual signal-to-ring ratio in real time, such as Fig.10 As shown, the current actual signal-to-ring ratio is 15.0dBA, and 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 know the changes in the actual signal-to-ring ratio more intuitively.
[0223] 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 signals 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.
[0224] In some embodiments, the user can perform related 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.).
[0225] 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.
[0226] It should be understood that in the above-described embodiments of the present application, the first electronic device (audio playback device) is described as headphones, but this does not constitute any limitation on the application scenarios of the embodiments of the present application. The first electronic device can also be a mobile phone, tablet, smart speaker or other electronic device.
[0227] When the first electronic device is an electronic device with a display screen such as a mobile phone or a tablet, the above-mentioned audio control interface can be displayed on the display screen of the first electronic device without the need to use the display screen of other electronic devices to display the audio control interface.
[0228] In order to more clearly understand the process of improving the actual signal-to-ring ratio of the sound field control system, the following is an example of combining Figures 11 to 13 , a method for improving the actual signal-to-ring ratio of the sound field control system provided in an embodiment of the present application is introduced.
[0229] For example, taking the sound field control system as an AHA sound field control system, Fig.11 A schematic diagram of an AHA sound field control curve provided in an embodiment of the present application is shown.
[0230] Among them, 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).
[0231] like Fig.11As shown, 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 without 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 sense 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 sense is in a noise reduction state. For example, curve 1 represents a strong hybrid active noise cancellation curve (HB ANC, hybrid active noise cancellation or control); curve 2 represents a weak hybrid active noise cancellation curve (HBANC W); curve 3 represents a feedback active noise cancellation curve (FB ANC); curve 4 represents a passive noise cancellation curve (PNC, passive noise cancellation); curve 6 represents a natural hear through curve (NHT, natural hear through); curve 5, curve 7, curve 8, and curve 9 represent different types of background noise enhancement control curves (AH3, AH2, AH1, AH, augmented hearing), respectively.
[0232] 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.
[0233] 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.
[0234] 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.
[0235] In addition, any two or more of the above 9 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 may be determined according to actual conditions.
[0236] For example, Fig.12 A spectrum diagram corresponding to different active noise reduction levels during music playback provided by an embodiment of the present application is shown.
[0237] like Fig.12As shown, 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 the music playing process (ancon 6, ancon 5, ancon4, ancon 3, ancon 2, ancon 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 the active noise reduction of the ear noise, which is also the superposition of the ambient noise and music actually heard by the human ear.
[0238] Fig.13 Shown with Fig.12 The signal-to-ring ratio calculation value corresponding to each spectrum curve in is as follows: Fig.13 As shown, coordinate point b1 represents the calculated signal-to-ring ratio 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 calculated signal-to-ring ratio value corresponding to curve 9 (i.e., the signal-to-ring ratio corresponding to playing music after active noise reduction of the noise in the ear); on this basis, when the active noise reduction of the ambient noise is gradually increased, the calculated signal-to-ring ratio values after active noise reduction are represented by coordinate points a1, a2, a3, a4, a5, a6, a7, and a8, respectively, Fig.13 It can be seen that when the first degree of active noise reduction is performed on the ambient noise, the corresponding signal-to-ring ratio calculation value increases by 7dBA compared to 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 calculation value also gradually increases. When the eighth degree of active noise reduction is performed on the ambient noise, the corresponding signal-to-ring ratio calculation value increases by 18dBA compared to the case where no active noise reduction is performed on the ambient noise.
[0239] For example, Fig.14 FIG. 1 is a schematic diagram showing the functional modules of an audio control device 1400 provided in an embodiment of the present application. Fig.14 As shown, the device 1400 includes:
[0240] The determination module 1410 is used to periodically determine the actual signal-to-ring ratio during audio playback.
[0241] In some embodiments, the determination module 1410 calculates the current actual signal-to-ring ratio through an algorithm.
[0242] The determination module 1410 is further configured to determine a first difference, where the first difference is a difference between an actual signal-to-ring ratio and a target signal-to-ring ratio.
[0243] Among them, the target signal-to-ring ratio can be the signal-to-ring ratio set by the system by default, or it can be the signal-to-ring ratio automatically set by the system according to the user's historical data, or it can be the signal-to-ring ratio set by the user according to his or her own hearing status, or it can be the signal-to-ring ratio set by other means, and this application does not limit this.
[0244] In some embodiments, when the audio playback device with the built-in 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 setting the target signal-to-ring ratio through a specific button.
[0245] Optionally, the target signal-to-ring ratio may also be described as a preset signal-to-ring ratio.
[0246] The judgment module 1420 is used to judge whether the first difference is less than a first threshold.
[0247] In some embodiments, the first threshold may be 0, or a value determined according to the user's historical usage data, for example, any value in the range of -1dBA to 1dBA, which is not limited in the present application.
[0248] The calling module 1430 is used to call the sound field control system to perform sound field control when the first difference is less than the first threshold value, so as to reduce the environmental noise and improve the actual signal-to-ring ratio of the audio playback.
[0249] It can be understood that calling the sound field control system to control the sound field is essentially to process 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.
[0250] 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 increased to a level where the first difference is greater than or equal to the first threshold.
[0251] The calling module 1430 is also used 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.
[0252] 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 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 the audio playback is unclear. This can improve the audio playback effect while reducing the impact on the user's hearing health.
[0253] For example, Fig.15 FIG. 1 shows a schematic framework diagram of an audio control system 1500 provided in an embodiment of the present application. Fig.15 As shown, 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:
[0254] Processing module 1501 - 1 : used to process the uplink call data collected by the data collection module 1502 - 1 .
[0255] Optionally, the data collection module 1502-1 may also be used to collect other user data, which is not limited in this application.
[0256] The processing module 1501-1 can also be used to implement the following Fig.14 The functions of the determination module 1410, the judgment module 1420 and the calling module 1430 described in the illustrated embodiment.
[0257] 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.
[0258] 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.
[0259] Memory 1505-1 is used to store user data, usage records, etc. on the left ear side.
[0260] Speaker 1506-1 is used to play the call sound received by the left earphone.
[0261] 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 earphone.
[0262] The processing module 1508 is used to process the relevant data obtained from the earphone side, or to process the local data.
[0263] 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.
[0264] 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 another 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.).
[0265] The memory 1511 is used to store user data, usage records, etc. on the terminal device side.
[0266] 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 respectively 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, and for the sake of brevity, they will not be repeated here.
[0267] One or more of the modules or units described herein can be implemented by software, hardware or a combination of the two. When any of the above modules or units are 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 and other types of computing devices that run 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 used to execute software instructions for operations or processing in the processor, necessary hardware accelerators may be further included, such as a field programmable gate array (FPGA), a PLD (programmable logic device), or a logic circuit that implements a dedicated logic operation.
[0268] 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 be independent of the software to execute the above method flow.
[0269] 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 may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may 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 may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may 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)), etc.
[0270] Those of ordinary skill 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 to be beyond the scope of this application.
[0271] Those skilled in the art can 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.
[0272] In the several embodiments provided in the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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.
[0273] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0274] 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.
[0275] 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods 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.
[0276] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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.