Earphone noise reduction method and device, electronic equipment and storage medium
By obtaining the information on the airport scene and determining the target noise reduction strategy, the problem of poor noise reduction effect among children's groups is solved, and automated noise reduction processing is realized, which improves the accuracy of the selection of noise reduction strategies and the convenience of children's use.
Patent Information
- Application Number
- CN202310856105.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-12
- Publication Date
- 2025-01-14
AI Technical Summary
When existing active noise reduction headphone products are used in children's groups, manual adjustment of noise reduction level is not effective, automatic adjustment methods cannot meet the needs of children and parents, and there is a lack of scenario-based noise reduction strategies for children.
By obtaining the scene information of the headset, determining the target noise reduction strategy and sending it to the headset to achieve automated noise reduction processing and improving the accuracy of the noise reduction strategy selection, it is suitable for children.
It realizes automatic determination of noise reduction strategies based on the scene, improves the accuracy of noise reduction effects and the convenience of children's use, and meets the needs of children and parents.
Smart Images

Figure CN119316759A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of noise processing technology, and relate to but are not limited to a headphone noise reduction method and device, an electronic device, and a storage medium. Background Art
[0002] Active noise reduction headphone technology can achieve the purpose of noise reduction by identifying ambient noise and sending out an opposite sound wave to cancel the noise. Currently, most products are designed from the perspective of adults and do not take the needs of children into consideration. They either adjust the noise reduction level manually or automatically according to the ambient noise.
[0003] However, when children use noise reduction headphones, the effect of manually adjusting the noise reduction level by the children is often not good, and the method of automatically adjusting the noise reduction level according to the ambient noise cannot meet the needs of children and parents. Summary of the invention
[0004] In view of this, the headphone noise reduction method and device, electronic device, and storage medium provided in the embodiments of the present application can determine the target noise reduction strategy for headphone noise reduction according to the scene in which the headphones are located, thereby improving the accuracy of noise reduction strategy selection and being convenient for children to use.
[0005] In a first aspect, the headphone noise reduction method provided in the embodiment of the present application is applied to an electronic device, comprising:
[0006] While maintaining connection with the headset, obtaining scene information corresponding to the headset;
[0007] Determining a target noise reduction strategy corresponding to the scene information;
[0008] The target noise reduction strategy is sent to the earphone, so that the earphone performs noise reduction according to the target noise reduction strategy.
[0009] In some embodiments, obtaining the scene information corresponding to the headset includes: receiving ambient sound information sent by the headset; obtaining location information of the electronic device; and obtaining the scene information corresponding to the headset based on the ambient sound information and the location information.
[0010] In some embodiments, determining the target noise reduction strategy corresponding to the scene information includes: determining the noise reduction parameter requirements corresponding to the scene information, the noise reduction parameter requirements including at least one of noise reduction level requirements, audio volume requirements and audio retention requirements, the audio retention requirements being used to indicate audio information that needs to be retained during noise reduction processing; adjusting the initial noise reduction strategy according to the noise reduction parameter requirements to obtain the target noise reduction strategy.
[0011] In some embodiments, the noise reduction parameter requirements include noise reduction level requirements, the initial noise reduction strategy includes a first noise reduction level, and the initial noise reduction strategy is adjusted according to the noise reduction parameter requirements to obtain a target noise reduction strategy, including: when the first noise reduction level does not meet the noise reduction level requirements, adjusting the first noise reduction level to a second noise reduction level, the second noise reduction level meets the noise reduction level requirements, and the target noise reduction strategy includes the second noise reduction level.
[0012] In some embodiments, the noise reduction parameter requirements include audio volume requirements, the initial noise reduction strategy includes a first volume level, and the initial noise reduction strategy is adjusted according to the noise reduction parameter requirements to obtain a target noise reduction strategy, including: when the first volume level does not meet the audio volume requirement, adjusting the first volume level to a second volume level, the second volume level meets the audio volume requirement, and the target noise reduction strategy includes the second volume level.
[0013] In some embodiments, the noise reduction parameter requirements include audio retention requirements, and the adjusting the initial noise reduction strategy according to the noise reduction parameter requirements to obtain a target noise reduction strategy includes: when the initial noise reduction strategy does not include first audio retention information, or when the initial noise reduction strategy includes the first audio retention information but the first audio retention information does not meet the audio retention requirement, determining that the audio retention information corresponding to the scene information is second audio retention information, and the target noise reduction strategy includes the second audio retention information.
[0014] In some embodiments, determining the noise reduction parameter requirement corresponding to the scene information includes: determining the noise reduction parameter requirement corresponding to the scene information according to a parameter setting rule, and the parameter setting rule is set by an associated electronic device corresponding to the electronic device.
[0015] In some embodiments, before sending the target noise reduction strategy to the headset, the method further includes: sending the target noise reduction strategy to an associated electronic device corresponding to the electronic device.
[0016] In some embodiments, after sending the target noise reduction strategy to an associated electronic device corresponding to the electronic device, the method further includes: receiving an adjustment instruction of the associated electronic device to the target noise reduction strategy; adjusting the target noise reduction strategy according to the adjustment instruction to obtain an adjusted target noise reduction strategy;
[0017] Correspondingly, sending the target noise reduction strategy to the headset includes: sending the adjusted target noise reduction strategy to the headset, so that the headset performs noise reduction according to the adjusted target noise reduction strategy.
[0018] In a second aspect, the headphone noise reduction device provided in the embodiment of the present application is applied to an electronic device, including:
[0019] An information determination module, used to obtain scene information corresponding to the headset while maintaining connection with the headset;
[0020] A strategy determination module, used to determine a target noise reduction strategy corresponding to the scene information;
[0021] A strategy transmission module is used to send the target noise reduction strategy to the headset, so that the headset performs noise reduction according to the target noise reduction strategy.
[0022] In a third aspect, an electronic device provided in an embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps of the headphone noise reduction method provided in the first aspect of the embodiment of the present application are implemented.
[0023] In a fourth aspect, a computer-readable storage medium provided in an embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, the steps of the headphone noise reduction method provided in the first aspect of the embodiment of the present application are implemented.
[0024] The headphone noise reduction method, device, electronic device and computer-readable storage medium provided in the embodiments of the present application can automatically determine the target noise reduction strategy for headphone noise reduction according to the scene in which the headphones are located, thereby improving the accuracy of noise reduction strategy selection and being convenient for children to use, thereby solving the technical problems raised in the background technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0026] Figure 1 A schematic diagram of an implementation flow of a headphone noise reduction method provided in an embodiment of the present application;
[0027] Figure 2 A schematic diagram of an implementation flow of a method for determining a target noise reduction strategy provided in an embodiment of the present application;
[0028] Figure 3 A schematic diagram of another implementation flow of a headphone noise reduction method provided in an embodiment of the present application;
[0029] Figure 4 A schematic diagram of a process flow for implementing another headphone noise reduction method provided in an embodiment of the present application;
[0030] Figure 5The overall process of the active noise reduction method for headphones provided in the embodiment of the present application;
[0031] Figure 6 A schematic diagram of the process of the active noise reduction scenario of headphones provided in an embodiment of the present application;
[0032] Figure 7 A schematic diagram of the structure of a headphone noise reduction device provided in an embodiment of the present application;
[0033] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0036] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0037] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0038] Active noise reduction headphone technology can achieve the purpose of noise reduction by identifying environmental noise and sending out an opposite sound wave to cancel out the noise. However, most of the current products are designed for adults and do not take the needs of children into consideration. For example, existing headphones require manual adjustment of the noise reduction level, but children lack good judgment in adjusting the noise reduction level, so the adjustment effect is often poor, and the manual adjustment method is also very inconvenient. There are also some products that automatically adjust the noise reduction level according to the environmental noise. Since they are designed for adults, they are not very suitable for children and cannot meet the needs of children and parents.
[0039] In view of this, an embodiment of the present application provides a headphone noise reduction method, which obtains scene information corresponding to the headphone while maintaining connection with the headphone; determines a target noise reduction strategy corresponding to the scene information; and sends the target noise reduction strategy to the headphone so that the headphone performs noise reduction according to the target noise reduction strategy. The method can automatically determine the target noise reduction strategy for the headphone noise reduction according to the scene in which the headphone is located, thereby improving the accuracy of noise reduction strategy selection and being convenient for children to use.
[0040] 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.
[0041] Figure 1 The present invention provides a flowchart of an implementation method of a headphone noise reduction method. The method can be applied to electronic devices, which can be various types of devices with information processing capabilities during implementation. For example, the electronic device can include a personal computer, a laptop, a PDA or a server, etc.; the electronic device can also be a wearable device, such as a smart watch, a smart bracelet or smart glasses, etc.; the electronic device can also be a mobile terminal, such as a mobile phone, a car computer, a tablet computer or a projector, etc. Figure 1 As shown, the method may include the following steps 101 to 103:
[0042] Step 101: While maintaining connection with the headset, obtain scene information corresponding to the headset.
[0043] It should be noted that, when the electronic device is connected to the headset, it can obtain the scene information corresponding to the headset in a variety of ways. For example, the headset can transmit the obtained scene information to the electronic device, or the headset sends the relevant information to the electronic device, and the electronic device processes the relevant information to obtain the scene information, etc. The embodiment of the present application does not limit the method for obtaining the scene information corresponding to the headset.
[0044] Exemplarily, the determined scene information may be: commuting to school on the subway, traveling by plane, on the way home, etc.
[0045] Step 102: Determine a target noise reduction strategy corresponding to the scene information.
[0046] It should be noted that after determining the scene information corresponding to the headphones, the target noise reduction strategy can be determined based on the scene information. The determination method can be based on the correspondence between the scene information and the noise reduction strategy, or the noise reduction strategy can be adjusted based on the scene information. The embodiment of the present application does not limit the method for determining the target noise reduction strategy corresponding to the scene information.
[0047] Step 103: Send the target noise reduction strategy to the headset, so that the headset performs noise reduction according to the target noise reduction strategy.
[0048] It should be noted that after the target noise reduction strategy is determined, it is sent to the headset, and the headset can perform noise reduction according to the target noise reduction strategy. The method of using the electronic device to determine the target noise reduction strategy and then sending it to the headset for execution can avoid the headset from processing information itself, saving power consumption of the headset.
[0049] In the above method, the electronic device can automatically determine the target noise reduction strategy for headphone noise reduction according to the scene in which the headphone is located, thereby improving the accuracy of noise reduction strategy selection and being convenient for children to use.
[0050] In some embodiments, determining the scene information corresponding to the headset can be accomplished through interaction between the headset and an electronic device to reduce power consumption of the headset.
[0051] Acquiring the scene information corresponding to the headset in step 101 may include: receiving ambient sound information sent by the headset; acquiring location information of the electronic device; and acquiring the scene information corresponding to the headset based on the ambient sound information and the location information.
[0052] It should be noted that earphones are generally provided with microphones, and ambient sound information can be obtained through the earphones. Electronic devices such as wearable devices are generally provided with positioning modules such as GPS modules, and location information can be obtained through electronic devices. The earphones send the obtained ambient sound information to the electronic device, and the electronic device can determine the scene information corresponding to the current scene based on the ambient sound information and the location information.
[0053] For example, the ambient sound information may be subway sound, airplane landing sound, vehicle horn or human voice, etc., and the location information may be Zhonghua South Road, Line 11 Nanshan Station and Shenzhen Baoan Airport, etc. In a certain scene, when the received ambient sound is the sound of subway driving and the determined location information is the dynamic location information of the subway, the scene information may be determined to be on a certain subway line.
[0054] In some embodiments, the electronic device may be provided with noise reduction parameter requirements corresponding to the scene information, and the initial noise reduction strategy may be adjusted according to the noise reduction parameter requirements to obtain a target noise reduction strategy.
[0055] Figure 2 The following is a schematic diagram of an implementation flow of a method for determining a target noise reduction strategy provided in an embodiment of the present application. Figure 2 As shown, determining the target noise reduction strategy corresponding to the scene information in step 102 may include:
[0056] Step 1021: Determine the noise reduction parameter requirements corresponding to the scene information, the noise reduction parameter requirements include at least one of the noise reduction level requirements, the audio volume requirements and the audio retention requirements, the audio retention requirements are used to indicate the audio information that needs to be retained when performing noise reduction processing.
[0057] It should be noted that the electronic device may preset a correspondence between scene information and noise reduction parameter requirements. After obtaining the scene information, the corresponding noise reduction parameter requirements may be determined according to the scene information. The corresponding noise reduction parameter requirements are used to manage the noise reduction of the headphones in the current scene. For example, at least one of the noise reduction level requirements, audio volume requirements, and audio retention requirements may be set. Exemplarily, the noise reduction level requirement may include a constraint that the noise reduction level is higher or lower than a certain noise reduction level, the audio volume requirement may include a constraint that the volume is higher or lower than a certain volume level, and the audio retention requirement may include a constraint that a certain audio in the ambient sound needs to be retained during noise reduction processing. Exemplarily, the audio retention requirement may be to retain the audio of subway station announcements, parental calls, or car horns on the road.
[0058] It is understandable that the noise reduction parameter requirements can limit the setting of parameters in the noise reduction strategy. For example, parents can set the noise reduction parameter requirements to achieve the effect of protecting children when the headphones are used for noise reduction.
[0059] Step 1022: Adjust the initial noise reduction strategy according to the noise reduction parameter requirement to obtain a target noise reduction strategy.
[0060] It should be noted that the initial noise reduction strategy can be a default noise reduction strategy preset by the electronic device or headphones, or it can be a noise reduction strategy determined by the electronic device or headphones based on ambient sound information. The method for obtaining the initial noise reduction strategy is not limited here. After determining the noise reduction parameter requirements, the parameter requirements in the noise reduction parameter requirements can be compared with the current parameters in the initial noise reduction strategy. If the requirements are not met, the current parameters are adjusted according to the noise reduction parameter requirements to obtain the target noise reduction strategy. The embodiment of the present application does not limit the method for adjusting the initial noise reduction strategy according to the noise reduction parameter requirements to obtain the target noise reduction strategy.
[0061] In some embodiments, the noise reduction level of the headset can be adjusted according to scene information, and the noise reduction level should not change too much. Smooth changes can improve the performance of the headset and achieve higher resolution.
[0062] In an embodiment of the present application, the noise reduction parameter requirement may include a noise reduction level requirement, the initial noise reduction strategy includes a first noise reduction level, and adjusting the initial noise reduction strategy according to the noise reduction parameter requirement to obtain a target noise reduction strategy may include: when the first noise reduction level does not meet the noise reduction level requirement, adjusting the first noise reduction level to a second noise reduction level, the second noise reduction level meets the noise reduction level requirement, and the target noise reduction strategy includes the second noise reduction level.
[0063] For example, when the noise reduction level requirement on the subway is a noise reduction level range of 2-5, the first noise reduction level in the determined initial noise reduction strategy is level 7, which can be adjusted to the second noise reduction level, i.e., level 5, to achieve the determination of the noise reduction level according to the scene, and to smoothly adjust to a suitable noise reduction level to improve the resolution. The above method can be used to automatically adjust the noise reduction level, and realize noise reduction adaptive control.
[0064] In some embodiments, when the noise reduction level is insufficient, the headphones are more likely to increase the volume to cover up the residual noise, which may cause greater damage to hearing, so the volume needs to be controlled.
[0065] In an embodiment of the present application, the noise reduction parameter requirement may include an audio volume requirement, the initial noise reduction strategy includes a first volume level, and adjusting the initial noise reduction strategy according to the noise reduction parameter requirement to obtain a target noise reduction strategy may include: when the first volume level does not meet the audio volume requirement, adjusting the first volume level to a second volume level, the second volume level meets the audio volume requirement, and the target noise reduction strategy includes the second volume level.
[0066] For example, when the audio volume requirement on the subway is that the audio volume does not exceed level 6, the first volume level in the determined initial noise reduction strategy is level 7, which exceeds the audio volume requirement. It can be adjusted to the second volume level, i.e., level 6, to adjust the volume according to the scene and protect children's hearing. The above method can be used to automatically adjust the audio volume, realizing adaptive control of the volume.
[0067] In some embodiments, when noise reduction is turned on, important ambient sound information will be ignored, such as subway station announcements, car horns behind you, parents calling, your own speech, etc. For the safety of children, some audio can be set not to be noise-reduced.
[0068] In an embodiment of the present application, the noise reduction parameter requirement may include an audio retention requirement, and adjusting the initial noise reduction strategy according to the noise reduction parameter requirement to obtain a target noise reduction strategy may include: when the initial noise reduction strategy does not include first audio retention information, or when the initial noise reduction strategy includes the first audio retention information but the first audio retention information does not meet the audio retention requirement, determining that the audio retention information corresponding to the scene information is second audio retention information, and the target noise reduction strategy includes the second audio retention information.
[0069] For example, when the audio retention requirement on the subway is to retain the subway station announcement information, the determined initial noise reduction strategy does not include retaining the subway station announcement information, and it can be adjusted to retain the subway station announcement information, so as to determine the audio information that needs to be retained according to the scene, which is convenient for children to use. The above method can automatically adjust the audio information retention status, and realize the control of important information transparency.
[0070] Among them, there are many ways to achieve the audio retention requirement. For example, to retain the subway station announcement audio, you can collect the station announcement voice audio of each subway line in advance, perform voice analysis on the station announcement voice audio to determine the sound range, and retain the corresponding sound range when the headphone noise reduction is performed. For example, to retain the parent's call audio, you can collect the parent's speaking audio in advance to determine its sound range, and retain the corresponding sound range when the headphone noise reduction is performed. The embodiment of the present application does not limit the method for implementing the audio retention requirement.
[0071] In some embodiments, the noise reduction parameter requirements may be set according to scene requirements, or may be set by parents based on the child's situation.
[0072] In an embodiment of the present application, determining the noise reduction parameter requirement corresponding to the scene information may include: determining the noise reduction parameter requirement corresponding to the scene information according to a parameter setting rule, wherein the parameter setting rule is set by an associated electronic device corresponding to the electronic device.
[0073] It should be noted that when children use electronic devices, parents will monitor and manage the children's electronic devices through the associated electronic devices they use. For example, when a child uses a phone watch to control the noise reduction of headphones, the child's parents can use a smartphone to connect to the child's phone watch and set corresponding parameter setting rules for the noise reduction parameter requirements therein to achieve monitoring and management of the use of noise reduction headphones.
[0074] In some embodiments, after the electronic device determines the target noise reduction strategy, the target noise reduction strategy can be sent to an associated electronic device used by a parent, so that the parent can monitor the child's ear usage, etc.
[0075] Figure 3This is a schematic diagram of another implementation flow of a headphone noise reduction method provided in an embodiment of the present application. Figure 3 As shown, in Figure 1 Based on the illustrated embodiment, before sending the target noise reduction strategy to the headset, the method may further include:
[0076] Step 201: Send the target noise reduction strategy to an associated electronic device corresponding to the electronic device.
[0077] It should be noted that the electronic device sends the target noise reduction strategy to the associated electronic device corresponding to the electronic device, that is, the electronic device used, so that parents can monitor their children's ear usage through the App, set volume or usage time limits, etc., thereby improving the safety of children using noise-cancelling headphones.
[0078] In some embodiments, if the parent believes that the current noise reduction strategy of the headset is not suitable, the target noise reduction strategy can be adjusted through the associated electronic device to facilitate the parent's use.
[0079] Figure 4 A schematic diagram of the implementation flow of another headphone noise reduction method provided in an embodiment of the present application. Figure 4 As shown, in Figure 3 Based on the illustrated embodiment, after sending the target noise reduction strategy to an associated electronic device corresponding to the electronic device, the method may further include:
[0080] Step 202: receiving an adjustment instruction of the associated electronic device to the target noise reduction strategy.
[0081] For example, if a parent believes that the target noise reduction strategy of the current headphones is not suitable, the parent can modify the target noise reduction strategy through the App, such as setting volume or usage time limits, etc. The modification information can be generated by the App to generate an adjustment instruction and sent to the electronic device.
[0082] Step 203: adjusting the target noise reduction strategy according to the adjustment instruction to obtain an adjusted target noise reduction strategy.
[0083] It should be noted that, when the electronic device receives the adjustment instruction, it adjusts the target noise reduction strategy according to the adjustment instruction to obtain an adjusted target noise reduction strategy.
[0084] Accordingly, the step 103 of sending the target noise reduction strategy to the headset may include:
[0085] Step 204: Send the adjusted target noise reduction strategy to the headset, so that the headset performs noise reduction according to the adjusted target noise reduction strategy.
[0086] It should be noted that after the electronic device obtains the adjusted target noise reduction strategy, it is also necessary to send the adjusted target noise reduction strategy to the headset, so that the headset performs noise reduction according to the adjusted target noise reduction strategy.
[0087] The above method not only enables parents to monitor their children's ear usage, but also enables parents to adjust their children's ear usage in real time through associated electronic devices, which is convenient for parents to operate.
[0088] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.
[0089] In an application scenario of the embodiment of the present application, two devices are included: an adaptive noise reduction headset and a children's phone watch. The main components of the headset are: processor, power supply, Bluetooth module, speaker, noise reduction module and microphone; the main components of the watch are: processor, power supply, Bluetooth module and positioning module.
[0090] Figure 5 This is the overall process of the headphone active noise reduction method provided in the embodiment of the present application. Figure 5 As shown, the method includes the following steps 301 to 304:
[0091] Step 301, the earphone and the watch are connected via Bluetooth, the earphone picks up the ambient sound information, the watch grabs the location information, and the earphone synchronizes the ambient sound information to the watch.
[0092] Step 302: The watch determines the scene by combining the real-time ambient sound information and the location information to obtain scene information. For example, the dynamic location information of the subway + the running sound of the subway determines that the user is on the subway.
[0093] Step 303: The watch provides a noise reduction adaptive strategy, a volume adaptive strategy and / or an audio retention strategy according to the scene information, that is, which types of ambient sounds are desired to be heard.
[0094] Step 304: The watch sends the determined noise reduction strategy, volume strategy and / or ambient sound retention strategy to the headset, and the headset dynamically adjusts the noise reduction level, volume and / or ambient sound. Parents can see the noise reduction strategy and set or modify related usage restrictions, which will also affect the final noise reduction level and volume.
[0095] In the above embodiment, through the cooperation of the functions of the watch and the earphones, the earphone usage scenario is efficiently identified, the appropriate noise reduction and volume adaptation strategy is used, and important information is communicated.
[0096] Figure 6 This is a flow chart of the active noise reduction scenario of headphones provided in the embodiment of the present application. Figure 6As shown, the electronic device obtains location information and ambient sound information, performs scene recognition based on the two information, obtains scene information, and performs adaptive noise reduction adjustment, adaptive volume adjustment, and important information transparency adjustment based on the scene information. Parents can monitor during this adjustment process.
[0097] The above adaptive method provides children with a way to ① complete the best noise reduction and volume adjustment to protect hearing without complicated operations or supervision; ② important information will be automatically transmitted to avoid unnecessary trouble in specific scenarios (missing the stop, car accidents); ③ parents can monitor the process to a certain extent, so that parents can feel more at ease with the safer headphone noise reduction method for their children.
[0098] It should be understood that the steps in the above-mentioned flowcharts are displayed in sequence according to the indication of the arrows, but these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0099] Based on the foregoing embodiments, an embodiment of the present application provides a headphone noise reduction device, and each module included in the device, and each unit included in each module, can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0100] Figure 7 A schematic diagram of the structure of a headphone noise reduction device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the device 400 includes an information determination module 401, a strategy determination module 402 and a strategy transmission module 403, wherein:
[0101] The information determination module 401 is used to obtain scene information corresponding to the headset while maintaining connection with the headset;
[0102] A strategy determination module 402, configured to determine a target noise reduction strategy corresponding to the scene information;
[0103] The strategy transmission module 403 is used to send the target noise reduction strategy to the headset, so that the headset performs noise reduction according to the target noise reduction strategy.
[0104] In some embodiments, the information determination module 401 is specifically used to: receive the ambient sound information sent by the headset; obtain the location information of the electronic device; and obtain the scene information corresponding to the headset based on the ambient sound information and the location information.
[0105] In some embodiments, the strategy determination module 402 includes a parameter determination unit and a strategy adjustment unit, wherein:
[0106] a parameter determination unit, configured to determine a noise reduction parameter requirement corresponding to the scene information, wherein the noise reduction parameter requirement includes at least one of a noise reduction level requirement, an audio volume requirement, and an audio retention requirement, wherein the audio retention requirement is used to indicate audio information that needs to be retained when performing noise reduction processing;
[0107] The strategy adjustment unit is used to adjust the initial noise reduction strategy according to the noise reduction parameter requirement to obtain a target noise reduction strategy.
[0108] In some embodiments, the parameter determination unit is specifically used to: determine the noise reduction parameter requirement corresponding to the scene information according to a parameter setting rule, and the parameter setting rule is set by an associated electronic device corresponding to the electronic device.
[0109] In some embodiments, the apparatus further includes a strategy sharing module 404, configured to send the target noise reduction strategy to an associated electronic device corresponding to the electronic device.
[0110] In some embodiments, the strategy sharing module 404 is further used to: receive an adjustment instruction of the target noise reduction strategy from the associated electronic device; adjust the target noise reduction strategy according to the adjustment instruction to obtain an adjusted target noise reduction strategy. The strategy transmission module 403 is specifically used to: send the adjusted target noise reduction strategy to the headset so that the headset performs noise reduction according to the adjusted target noise reduction strategy.
[0111] In the embodiment of the present application, the target noise reduction strategy can be automatically determined for headphone noise reduction according to the scene in which the headphone is located, thereby improving the accuracy of noise reduction strategy selection and making it more convenient for children to use.
[0112] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0113] It should be noted that in the embodiments of this application Figure 7The division of modules in the headphone noise reduction device shown is schematic and is only a logical functional division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0114] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part 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 U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0115] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 100 may include a processor 110, a memory 120, a wireless communication module 130, an audio module 140, a speaker 140A, a receiver 140B, a microphone 140C, an earphone interface 140D, a camera 150, a USB interface 160, a display screen 170, and the like.
[0116] The processor 110 may include one or more processing units. For example, the processor 110 is a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs). Different processing units may be independent devices or integrated into one or more processors.
[0117] The memory 120 can be used to store computer executable program codes, which include instructions. The internal memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one 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, video data, etc.), etc. In addition, the memory 120 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. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the memory 120, and / or instructions stored in a memory provided in the processor.
[0118] The wireless communication module 130 can provide solutions for wireless communication including WLAN, such as Wi-Fi network, Bluetooth, NFC, IR, etc., applied to the electronic device 100. The wireless communication module 130 can be one or more devices integrating at least one communication processing module. In some embodiments of the present application, the electronic device 100 can establish a wireless communication connection with other electronic devices through the wireless communication module 130.
[0119] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 140 , the speaker 140A, the receiver 140B, the microphone 140C, the headphone jack 140D, and the application processor.
[0120] The audio module 140 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 140 can also be used to encode and decode audio signals. In some embodiments, the audio module 140 can be arranged in the processor 110, or some functional modules of the audio module 140 can be arranged in the processor 110.
[0121] The speaker 140A, 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 140A.
[0122] The receiver 140B, 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 140B close to the human ear.
[0123] Microphone 140C, 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 the microphone 140C to input the sound signal into the microphone 140C. The electronic device 100 can be provided with at least one microphone 140C. In other embodiments, the electronic device 100 can be provided with two microphones 140C, 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 140C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0124] The earphone interface 140D 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.
[0125] The camera 150 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 150, where N is a positive integer greater than 1.
[0126] The USB interface 160 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 160 can be used to connect other electronic devices. In some other embodiments, the electronic device 100 can also be connected to an external camera through the USB interface 160 to capture images.
[0127] The display screen 170 is used to display images, videos, etc. The display screen 170 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 170, where N is a positive integer greater than 1.
[0128] It is to be understood that the structure illustrated in the embodiment of the present invention 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 separate 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.
[0129] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the headphone noise reduction method provided in the above embodiment are implemented.
[0130] The above-mentioned computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0131] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0132] The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0133] Computer program code for performing the operations of the present specification may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0134] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the headphone noise reduction method provided in the above method embodiment.
[0135] 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 invention 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 device. 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 to another 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.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. 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 Solid State Disk (SSD)), etc.
[0136] It should be noted here that the description of the above storage medium, program product and device embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiment of this application for understanding.
[0137] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0138] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0139] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0140] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0141] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0142] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0143] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0144] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part 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 mobile storage devices, ROMs, magnetic disks, or optical disks.
[0145] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0146] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0147] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0148] The above is only an implementation method 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 reducing noise in headphones, characterized in that: Used in electronic equipment, including: While maintaining connection with the headset, obtaining scene information corresponding to the headset; Determining a target noise reduction strategy corresponding to the scene information; The target noise reduction strategy is sent to the earphone, so that the earphone performs noise reduction according to the target noise reduction strategy.
2. The method according to claim 1, characterized in that The acquiring scene information corresponding to the headset includes: Receiving ambient sound information sent by the headset; Acquiring location information of the electronic device; According to the ambient sound information and the position information, scene information corresponding to the headset is obtained.
3. The method according to claim 1, characterized in that The determining of a target noise reduction strategy corresponding to the scene information includes: Determining a noise reduction parameter requirement corresponding to the scene information, the noise reduction parameter requirement including at least one of a noise reduction level requirement, an audio volume requirement, and an audio retention requirement, the audio retention requirement being used to indicate audio information that needs to be retained when performing noise reduction processing; The initial noise reduction strategy is adjusted according to the noise reduction parameter requirements to obtain a target noise reduction strategy.
4. The method according to claim 3, characterized in that The noise reduction parameter requirement includes a noise reduction level requirement, the initial noise reduction strategy includes a first noise reduction level, and the initial noise reduction strategy is adjusted according to the noise reduction parameter requirement to obtain a target noise reduction strategy, including: When the first noise reduction level does not meet the noise reduction level requirement, the first noise reduction level is adjusted to a second noise reduction level, the second noise reduction level meets the noise reduction level requirement, and the target noise reduction strategy includes the second noise reduction level.
5. The method according to claim 3, characterized in that: The noise reduction parameter requirement includes an audio volume requirement, the initial noise reduction strategy includes a first volume level, and the initial noise reduction strategy is adjusted according to the noise reduction parameter requirement to obtain a target noise reduction strategy, including: When the first volume level does not meet the audio volume requirement, the first volume level is adjusted to a second volume level, the second volume level meets the audio volume requirement, and the target noise reduction strategy includes the second volume level.
6. The method according to claim 3, characterized in that The noise reduction parameter requirement includes an audio retention requirement, and the initial noise reduction strategy is adjusted according to the noise reduction parameter requirement to obtain a target noise reduction strategy, including: When the initial noise reduction strategy does not include the first audio retention information, or when the initial noise reduction strategy includes the first audio retention information but the first audio retention information does not meet the audio retention requirement, it is determined that the audio retention information corresponding to the scene information is the second audio retention information, and the target noise reduction strategy includes the second audio retention information.
7. The method according to claim 3, characterized in that The determining the noise reduction parameter requirement corresponding to the scene information includes: The noise reduction parameter requirement corresponding to the scene information is determined according to a parameter setting rule, and the parameter setting rule is set by an associated electronic device corresponding to the electronic device.
8. The method according to claim 1, characterized in that: Before sending the target noise reduction strategy to the headset, the method further includes: The target noise reduction strategy is sent to an associated electronic device corresponding to the electronic device.
9. The method according to claim 8, characterized in that After sending the target noise reduction strategy to an associated electronic device corresponding to the electronic device, the method further includes: receiving an adjustment instruction of the associated electronic device to the target noise reduction strategy; Adjust the target noise reduction strategy according to the adjustment instruction to obtain an adjusted target noise reduction strategy; Accordingly, sending the target noise reduction strategy to the headset includes: The adjusted target noise reduction strategy is sent to the headset, so that the headset performs noise reduction according to the adjusted target noise reduction strategy.
10. An earphone noise reduction device, characterized in that: Used in electronic equipment, including: An information determination module, used to obtain scene information corresponding to the headset while maintaining connection with the headset; A strategy determination module, used to determine a target noise reduction strategy corresponding to the scene information; A strategy transmission module is used to send the target noise reduction strategy to the headset, so that the headset performs noise reduction according to the target noise reduction strategy.
11. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps of the headphone noise reduction method according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the headphone noise reduction method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Noise cancelling control method and relevant device
CN106572411A
Application running management and control method and device, storage medium and electronic equipment
CN109614785A
Behavior monitoring method and device, electronic equipment and storage medium
CN111597090A
Earphone noise reduction method and device, storage medium and electronic equipment
CN112423175A
Active noise reduction method, device and system
CN114666695A