WO2021218377A1 - Noise reduction mode control method and apparatus, electronic device and storage medium - Google Patents

Noise reduction mode control method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2021218377A1
WO2021218377A1 PCT/CN2021/079131 CN2021079131W WO2021218377A1 WO 2021218377 A1 WO2021218377 A1 WO 2021218377A1 CN 2021079131 W CN2021079131 W CN 2021079131W WO 2021218377 A1 WO2021218377 A1 WO 2021218377A1
Authority
WO
WIPO (PCT)
Prior art keywords
noise reduction
preset
reduction mode
traffic scene
earphone
Prior art date
Application number
PCT/CN2021/079131
Other languages
French (fr)
Chinese (zh)
Inventor
刘善朴
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021218377A1 publication Critical patent/WO2021218377A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/13Acoustic transducers and sound field adaptation in vehicles

Definitions

  • This application relates to the field of noise reduction technology, and more specifically, to a noise reduction mode control method, device, electronic equipment, and storage medium.
  • Active noise reduction is a noise reduction method. Its principle is to emit sound waves with completely opposite or approximately opposite phases according to the noise collected at a specified location, so that the two sound waves partially cancel each other when they meet, thereby weakening the noise and reduce.
  • the embodiments of the present application propose a noise reduction mode control method, device, electronic equipment, and storage medium, which can automatically identify a specific scene and automatically configure the noise reduction mode according to the scene.
  • an embodiment of the present application provides a noise reduction mode control method, the method includes: monitoring the current environmental sound and trigger information of a preset application, the preset application is suitable for running in a preset traffic scene; if At least one of the first trigger information and the designated environmental sound is monitored, and it is determined that the headset is in the preset traffic scene, wherein the first trigger information is used to characterize the entry of the wearer of the headset, and the designated environmental sound Is an environmental sound that matches the preset traffic scene; and configures the noise reduction mode of the headset as a traffic noise reduction mode corresponding to the preset traffic scene.
  • an embodiment of the present application provides a noise reduction mode control device.
  • the device includes: an information monitoring module for monitoring current environmental sounds and trigger information of a preset application. Running in a traffic scene; a scene determination module, configured to determine that the headset is in the preset traffic scene if at least one of the first trigger information and the specified environmental sound is monitored, wherein the first trigger information is used to characterize the The wearer of the earphone enters the station, and the designated environmental sound is an environmental sound that matches the preset traffic scene; a mode configuration module configured to configure the noise reduction mode of the earphone to the traffic corresponding to the preset traffic scene Noise reduction mode.
  • an embodiment of the present application provides an electronic device, including: a memory; one or more processors coupled to the memory; one or more application programs, wherein one or more application programs are stored In the memory and configured to be executed by one or more processors, one or more application programs are configured to execute the noise reduction mode control method provided in the first aspect described above.
  • an embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores program code, and the program code can be invoked by a processor to execute the noise reduction mode control method provided in the first aspect. .
  • the noise reduction mode control method, device, electronic equipment, and storage medium monitor current environmental sounds and trigger information of preset applications suitable for running in preset traffic scenarios. At least one of the first trigger information of the wearer’s entry into the station and the designated environmental sound, it is determined that the headset is in a preset traffic scene, where the designated environmental sound is an ambient sound that matches the preset traffic scene, and the noise reduction mode of the headset Configure the traffic noise reduction mode corresponding to the preset traffic scene.
  • this application automatically recognizes whether the headset is in a preset traffic scene by monitoring the environmental sound and the trigger information of the preset application, and automatically configures the corresponding traffic noise reduction mode when the headset is in the preset traffic scene, thereby eliminating the need for the user to manually Configuration, the noise reduction mode can be automatically configured according to the preset traffic scene, while ensuring the noise reduction effect, it simplifies the operation of the headset application and improves the user experience.
  • Figure 1 shows a schematic diagram of the interface of an application program for noise reduction headphones.
  • Fig. 2 shows a schematic diagram of an application scenario of a noise reduction mode control method provided by an embodiment of the present application.
  • FIG. 3 shows a schematic flowchart of a noise reduction mode control method provided by an embodiment of the present application.
  • FIG. 4 shows a schematic flowchart of a noise reduction mode control method provided by another embodiment of the present application.
  • Fig. 5 shows a schematic flow chart of a method for generating trigger information provided by an exemplary embodiment of the present application.
  • FIG. 6 shows a schematic diagram of an interface for an inbound prompt provided by an exemplary embodiment of the present application
  • Fig. 7 shows a schematic flowchart of step S240 in Fig. 4 provided by an exemplary embodiment of the present application.
  • FIG. 8 shows a schematic flowchart of step S240 in FIG. 4 provided by an exemplary embodiment of the present application.
  • FIG. 9 shows a schematic flowchart of a noise reduction mode control method provided by another embodiment of the present application.
  • FIG. 10 shows a schematic flowchart of a noise reduction mode control method provided by still another embodiment of the present application.
  • Fig. 11 shows a block diagram of a noise reduction mode control device provided by an embodiment of the present application.
  • Fig. 12 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 13 shows a storage unit provided by an embodiment of the present application for storing or carrying program code for implementing the noise reduction mode control method according to the embodiment of the present application.
  • the active noise reduction curve is the curve that the active noise reduction ability of the noise reduction device reflects on the sound wave spectrogram, which is used to reflect the noise reduction ability of the active noise reduction in each frequency band of the sound.
  • the noise reduction capability of the noise reduction device refers to the degree to which audible sound waves are reduced before reaching the eardrum of a person. Active noise reduction does not have exactly the same noise reduction amplitude for sound waves at different frequency points. Standardized professional instruments can measure the noise reduction amplitude of the noise reduction device at each frequency point. The curve formed by connecting the noise reduction amplitude value of each frequency point is called the noise reduction curve, which has the noise reduction ability of any frequency point. A more precise description.
  • the spectrogram refers to the representation of a sound signal in the time domain in the frequency domain, which can be obtained by performing Fourier transform on the signal, and the resulting result will be a graph with amplitude as the vertical axis and frequency as the horizontal axis.
  • noise reduction headphones that can perform active noise reduction are becoming more and more common on the market, and their forms are becoming more and more diverse.
  • the noise reduction headset refers to a headset that uses a certain method to reduce noise.
  • active noise reduction headphones there are two main types of noise reduction headphones according to different noise reduction methods: active noise reduction headphones and passive noise reduction headphones.
  • the active noise reduction earphones use the noise reduction system to generate reverse sound waves that are equal to the external noise and have completely opposite or approximately opposite phases to neutralize the noise, thereby attenuating and reducing the noise.
  • Active noise reduction headphones have a noise reduction circuit that can counteract external noise. Most of them use a large head-mounted design. They can use earplug cotton and earphone shells to block external noise, perform the first round of sound insulation, and also have enough Active noise reduction circuit and power supply are installed in the space.
  • Passive noise-cancelling headphones mainly form a closed space by surrounding the ears, or use sound-insulating materials such as silicone earplugs to block external noise. Since the noise has not been processed by the noise reduction circuit or noise reduction chip, it can generally only block high frequency noise, and the effect of noise reduction on low frequency noise is not obvious.
  • Fig. 1 shows a schematic diagram of the interface of a noise reduction headset application program. Based on this interface, the environmental sound can be controlled, and different levels correspond to different levels of noise reduction.
  • the current Fig. 1 shows level 3. Based on the interface shown in Figure 1, if the noise reduction intensity needs to be adjusted to achieve a higher noise reduction effect, the user needs to manually control it, for example, by dragging or clicking the intensity adjustment bar to select the noise reduction intensity.
  • the embodiments of the present application provide a noise reduction mode control method, device, electronic equipment, and computer readable storage medium, which monitor current environmental sounds and preset applications suitable for running in preset traffic scenarios.
  • Trigger information if at least one of the first trigger information used to characterize the entry of the earphone wearer and the designated environmental sound is detected, it is determined that the earphone is in a preset traffic scene, where the designated environmental sound matches the preset traffic scene Ambient sound, and configure the noise reduction mode of the headset as the traffic noise reduction mode corresponding to the preset traffic scene.
  • this application automatically recognizes whether the headset is in a preset traffic scene by monitoring the environmental sound and the trigger information of the preset application, and automatically configures the corresponding traffic noise reduction mode when the headset is in the preset traffic scene, thereby eliminating the need for the user to manually Configuration, the noise reduction mode can be automatically configured according to the preset traffic scene, while ensuring the noise reduction effect, it simplifies the operation of the headset application and improves the user experience.
  • FIG. 2 shows a schematic diagram of an application scenario of a noise reduction mode control method provided by an embodiment of the present application.
  • the application scenario includes a noise reduction mode control system 10 provided by an embodiment of the present application.
  • the noise reduction mode control system 10 includes: a terminal 100 and a headset 200.
  • the terminal 100 may be, but is not limited to, a mobile phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving image compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving image compression standard audio layer 4) Players, laptops or wearable electronic devices, etc.
  • MP3 player Moving Picture Experts Group Audio Layer III, moving image compression standard audio layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, moving image compression standard audio layer 4
  • the embodiment of the present application does not limit the specific device type of the terminal 100.
  • an application program capable of playing audio may be installed in the terminal 100.
  • the application program may be audio playing software, video playing software, or calling software.
  • the terminal 100 sends the audio to be played to the earphone 200, and the earphone 200 plays the audio.
  • the terminal 100 and the earphone 200 may be based on a wired or wireless connection.
  • the terminal 100 and the earphone 200 may be wirelessly connected based on Bluetooth or a wireless network to realize data transmission, for example, earphones. 200 can obtain audio source data for playback through the terminal 100, and obtain control information for configuration.
  • the wireless network may be a mobile communication network or a wireless fidelity (Wireless Fidelity, WiFi) network.
  • the earphone 200 is equipped with a noise reduction circuit, which can support noise reduction.
  • the earphone 200 may be a wired earphone or a wireless earphone.
  • the headset 200 may also specifically be a true wireless stereo (TWS) headset.
  • TWS true wireless stereo
  • the left and right earphones of a pair of TWS earphones do not need to be connected by cables, and can work independently by realizing the wireless separation of the left and right channels.
  • FIG. 2 shows only one earphone, which is only a schematic diagram of the earphone 200, and does not constitute a limitation to the embodiment of the present application. In practical applications, those skilled in the art can refer to the description of the embodiment of the present application.
  • the solution chooses a pair of earphones, and chooses other earphones of different types as shown in Figure 2 to implement this solution.
  • the terminal 100 may also be installed with an application program capable of controlling the headset. Based on the application program, the headset can be configured. For example, based on the application program, the user can select the noise reduction strength of the headset or the headset. The noise reduction mode.
  • the terminal 100 can obtain the user's selection instruction, and send corresponding control information to the headset 200 according to the instruction, so as to configure the corresponding parameters of the headset 200.
  • the noise reduction mode control method provided in the embodiments of the present application can be applied to the terminal 100, wherein the preset application can be run on the terminal 100, and the current environmental sound can be collected by the terminal 100 or the headset 200.
  • the noise reduction mode control method provided in the embodiments of the present application can also be applied to the headset 200, and the preset application can be run on the headset 200, and the headset 200 can be used to collect current environmental sounds.
  • FIG. 3 shows a schematic flowchart of a noise reduction mode control method provided by an embodiment of the present application, which is applied to an electronic device, and the electronic device may be the aforementioned terminal or headset.
  • the noise reduction mode control method may include the following steps:
  • Step S110 Monitoring the current environmental sound and the trigger information of the preset application.
  • the current environmental sound is the environmental sound that the audio collecting device can collect based on the current position.
  • the audio collecting device is used to collect audio.
  • the audio collecting device may be, for example, a microphone or other devices that can collect audio.
  • the audio collection device may be provided in the terminal, and the terminal collects the current environmental sound through the audio collection device to monitor whether the current environmental sound matches the designated environmental sound to determine whether the designated environmental sound is detected.
  • the audio collection device can also be set in the earphone, and the earphone can collect the current environment sound.
  • the earphone can send the collected current environment sound to the terminal, and the terminal executes the subsequent steps.
  • a processor may be installed in the earphone, and the earphone collects the current environmental sound through the audio collecting device, and the environmental sound can be transmitted to the processor, so that the processor executes the subsequent steps.
  • the embodiments of the present application pre-classify the traffic scenes that the headset may be in.
  • the traffic scenes can be carried out according to different vehicles.
  • the preset traffic scenes may include, but are not limited to, subway scenes, bus scenes, airplane scenes, and so on.
  • the preset application is configured to be suitable for running in a preset traffic scene, and the preset traffic scene may be any of the aforementioned scenes.
  • the preset application may be a ride application, a payment application, etc., which is not limited in this embodiment.
  • the preset application may be a bus ride application, which is suitable for running in a bus scene.
  • the bus ride application can be used to generate a ride logo for the user to swipe the code to ride the bus.
  • the terminal can run the bus ride application.
  • the preset application may be a subway ride application, which is suitable for running in a subway scene.
  • the subway ride application can be used to generate ride signs for users to swipe their codes to ride the subway, etc.
  • the subway ride application can generate trigger information about whether the user is currently leaving or entering the station.
  • the preset application can also be a payment application.
  • the payment application can be configured with multiple electronic cards.
  • the electronic cards can be radio frequency cards simulated based on traffic cards, which can support Near Field Communication (NFC) payments.
  • NFC Near Field Communication
  • the terminal may have a built-in NFC module, and then the NFC module can interact with the NFC reading device based on the NFC module.
  • the user can bring the terminal close to the NFC reading device, and the NFC reading device can The transportation card configured by the payment application is read and the payment is made.
  • the headset when the preset application is running, the headset may be in a preset traffic scene corresponding to the preset application.
  • the specific information generated during the running of the preset application is used as the trigger information for determining the scene where the headset is located.
  • the trigger information may be the description information generated when the ride mark generated by the subway ride application is scanned, and the ride mark may be the information that the user needs to swipe when taking the subway. QR code.
  • Step S120 If at least one of the first trigger information and the designated environmental sound is detected, it is determined that the headset is in a preset traffic scene.
  • the first trigger information is used to characterize the entry of the wearer of the headset, and the designated environmental sound is an environmental sound matching a preset traffic scene.
  • the user can enter and exit the preset traffic scene through the preset application, or not pass.
  • the user may enter the station through the subway application by swiping the code, or through the transportation card For example, Shenzhen Tong, Yangcheng Tong, etc. swipe the card to enter the station.
  • the electronic device only monitors the trigger information of the subway ride application, it may happen that the user has actually entered the station and is in the preset traffic scene but has not been recognized. Missed inspection occurred. Therefore, the embodiment of the present application monitors both the trigger information of the preset application and the current environmental sound, which can greatly reduce the missed detection rate and improve the recognition accuracy of the preset traffic scene.
  • the headset Since the user may need to open a preset application for inbound and outbound or payment when he needs to take a vehicle, it is possible to determine whether the headset is in a preset traffic scene by monitoring the trigger information of the preset application, and realize automatic identification of the scene .
  • the first trigger information may be an application opening instruction for opening a preset application, and it may be monitored whether the preset application is opened, and when the application opening instruction for opening the preset application is monitored , Make sure the headset is in the preset traffic scene.
  • the first trigger information may also be information generated by the electronic device based on a preset application, and the information is used to instruct the wearer of the headset to enter the station, and the information generated based on the preset application may be monitored. Whether the information can be used to instruct the wearer of the headset to enter the station, and when it is detected that the information generated based on the preset application can be used to instruct the wearer of the headset to enter the station, it is determined that the headset is in a preset traffic scene. Thereby, the accuracy of judging that the headset is in a preset traffic scene can be improved. Specific implementation manners can be seen in the following embodiments, which will not be repeated here.
  • the earphone when the earphone is in a preset traffic scene, it can generally detect the environmental sound that matches the preset traffic scene. Therefore, the current environmental sound can be monitored to determine whether the specified environmental sound is monitored to realize automatic recognition of the scene.
  • the electronic device can collect the current environmental sound, and match the audio characteristics of the current environmental sound with the audio characteristics of the specified environmental sound. If the matching is successful, it can be determined that the specified environmental sound is currently monitored, and it can be determined that the headset is in Preset traffic scenes.
  • the designated ambient sound may be the door opening and closing sound of a vehicle, for example, a subway door opening and closing sound corresponding to a subway scene; another example, a bus door opening and closing sound corresponding to a bus scene, etc., which are not limited herein.
  • the designated environmental sound can also be the broadcast sound of the vehicle, such as station announcement information, station information and other prompt information. Screen door”, “please wait in line and be careful of the gap between the train and the platform”; another example is “passengers who get off the bus, please bring your luggage and get off the bus through the back door” that corresponds to the bus scene.
  • the electronic device may pre-store the spectrogram of the designated environmental sound, and then when monitoring the current environmental sound, the acquired spectrogram of the current environmental sound may be used for the spectrogram.
  • the map is matched with the spectrogram of the designated environmental sound. If the matching degree is higher than the preset threshold, it can be determined that the matching is successful, and the designated environmental sound can be determined to be currently monitored.
  • the preset threshold can be determined according to actual needs, can also be preset by a program, or can be customized by the user, which is not limited here.
  • Step S130 Configure the noise reduction mode of the earphone as the traffic noise reduction mode corresponding to the preset traffic scene.
  • the noise reduction mode of the headset may be configured as a traffic noise reduction mode corresponding to the preset traffic scene.
  • different scenes correspond to different noise reduction modes, and different traffic noise reduction modes can be corresponded to different traffic scenes, so that the corresponding traffic noise reduction mode can be configured according to the scene, and the noise of each scene can be targeted The noise reduction, to achieve a better noise reduction effect.
  • step S120 when the terminal determines that the headset is in a preset traffic scene, the terminal may send mode on information to the headset, and the mode on information is used to instruct the headset to turn on the traffic drop corresponding to the preset traffic scene. Noise mode.
  • the terminal can send the mode-on information to the headset based on the wireless communication protocol. For example, the terminal can communicate with the headset via Bluetooth and perform data transmission with the headset.
  • step S120 when the headset determines that the headset is in the preset traffic scene, the noise reduction mode of the headset can be configured as the traffic noise reduction mode corresponding to the preset traffic scene.
  • the headset can support multiple noise reduction modes. When it is determined that the headset is in a preset traffic scene, it can be determined whether the headset is currently turned on the noise reduction mode, or whether the current noise reduction mode is the traffic corresponding to the preset traffic scene. Noise reduction mode; if the noise reduction mode is not turned on, the traffic noise reduction mode corresponding to the preset traffic scene can be turned on; if the noise reduction mode is turned on, but the current noise reduction mode is not the traffic noise reduction mode corresponding to the preset traffic scene, it can be turned off Current noise reduction mode, turn on the traffic noise reduction mode corresponding to the preset traffic scene.
  • the noise reduction mode control method provided by the embodiment of the application monitors the current environmental sound and the trigger information of a preset application suitable for running in a preset traffic scene. At least one of the trigger information and the designated ambient sound is determined to determine that the headset is in a preset traffic scene, where the designated ambient sound is an ambient sound that matches the preset traffic scene, and the noise reduction mode of the headset is configured to correspond to the preset traffic scene Traffic noise reduction mode.
  • this application automatically recognizes whether the headset is in a preset traffic scene by monitoring the environmental sound and the trigger information of the preset application, and automatically configures the corresponding traffic noise reduction mode when the headset is in the preset traffic scene, thereby eliminating the need for the user to manually Configuration, the noise reduction mode can be automatically configured according to the preset traffic scene, while ensuring the noise reduction effect, it simplifies the operation of the headset application and improves the user experience.
  • FIG. 4 shows a schematic flowchart of a noise reduction mode control method provided by another embodiment of the present application.
  • the method can be applied to the above-mentioned electronic device, and the method may include:
  • Step S210 Monitoring the current environmental sound and the trigger information of the preset application.
  • Step S220 If at least one of the first trigger information and the designated environmental sound is detected, it is determined that the headset is in a preset traffic scene.
  • step S221 to step S223 may be further included.
  • FIG. 5 shows a schematic flowchart of a trigger information generation method provided by an exemplary embodiment of the present application. The following takes a subway scene as an example for description. Before step S220, it may include:
  • Step S221 Obtain an application opening instruction, and start a preset application.
  • Step S222 Generate a boarding mark for in and out of the station based on a preset application.
  • Step S223 If the ride identification is scanned, trigger information is generated.
  • users can enter and exit the station through a preset application by swiping the code.
  • the preset application can be a subway ride application, and the subway ride application can generate a ride sign for entering and exiting the station.
  • the form of the ride identification may be a two-dimensional code or the like, and this embodiment does not limit the specific form of the ride identification. If the user enters the station to scan the code, he can open the preset application and use the travel identification generated by the preset application to align the reading device to scan the code. When the travel identification is scanned by the reading device, the preset application can generate trigger information In some examples, it can also identify information such as the name of the site where the user enters the station.
  • the user when taking the subway in Shanghai, the user generally uses the Metropolis application. After the code is successfully swiped, an information interface of successful entry will pop up, where the information interface is generated based on the first trigger information generated by the code swiping. Therefore, if the first trigger information is monitored, it can be determined that the headset is in a preset traffic scene.
  • the trigger information can be used to generate a display interface, such as user interface (UI) information
  • the electronic device can monitor the trigger information, and by parsing the trigger information, the inbound or outbound can be characterized according to the trigger information , If the character is entering the station, it can be determined that the earphone is in the preset traffic scene, and if the character is leaving the station, it can be determined that the earphone is not in the preset traffic scene.
  • UI user interface
  • monitoring can be achieved through system embedding points, monitoring or listening to events in the running process of a preset application, and setting the first trigger information as an event to be concerned, so that when the event occurs, that is, when the first trigger information is generated , Can be captured by electronic equipment, and can be monitored by electronic equipment.
  • the preset application can also determine information such as the site name of the current site. For example, if it is detected that the UI information is id/tvOutName(TextView)-"Successfully pitted-Longhua Middle Road", then the UI information is the first trigger information, which indicates that the wearer of the headset has entered the station. At this time, it can be determined that the headset is in the preset Traffic scene, and the name of the current stop is Longhua Middle Road.
  • the first trigger information can be used to generate an interface that characterizes an inbound station.
  • the interface may display information such as "inbound successful", the name of the station currently inbound, as shown in FIG. 6 and FIG. 6
  • FIG. 6 A schematic diagram of an interface for an inbound prompt provided by an exemplary embodiment of the present application is shown.
  • the subway ride application can be an independent subway ride application, for example, the metropolitan application used for subway rides in Shanghai; it can also be a mini program, such as the ride code mini program used for subway rides in Shenzhen In this embodiment, the specific types of subway ride applications are not limited.
  • the preset application can also be a WiFi connection application used to connect to a hotspot.
  • the WiFi connection switch When the WiFi connection switch is turned on, it can scan the hotspots around the electronic device to obtain hotspot information, and the electronic device can store it in advance.
  • the WiFi connection application when the scanned hotspot information includes the designated hotspot information, it can be determined that the headset is in a preset traffic scene. Specifically, monitoring can be achieved through system burial points.
  • the hotspot information may include at least one of Service Set Identifier (SSID) and Basic Service Set Identifier (BSSID).
  • SSID Service Set Identifier
  • BSSID Basic Service Set Identifier
  • the BSSID since the BSSID uniquely characterizes a WiFi device, it can be used to accurately identify The site can determine whether the headset is in a preset traffic scene through the BSSID, which can improve the accuracy of scene recognition.
  • the preset application may also be an application that can be used to obtain the current geographic location information of the terminal or the headset, such as GPS location information, such as a map application.
  • GPS location information such as a map application.
  • the GPS location information of the station can be collected in the early stage and stored in the terminal or headset corresponding to the subway scene.
  • the geographic location information of the electronic device can be acquired to determine that the headset is in a preset traffic scene when it is determined that the current site is a ground site based on the geographic location information, so that accurate scene recognition of the ground site can be realized.
  • Step S230 Configure the noise reduction mode of the earphone as the traffic noise reduction mode corresponding to the preset traffic scene.
  • a traffic noise reduction model can be constructed in advance to correspond to the traffic noise reduction mode, and when the headset is turned on the traffic noise reduction mode, noise reduction can be performed based on the corresponding traffic noise reduction model.
  • the traffic noise reduction model can be obtained by using the Convolutional-Recurrent Neural Networks algorithm. It can be trained by separately collecting subway noise and human voice as a training set, and outputting the human voice to achieve the Noise reduction.
  • other algorithms can also be used to construct a traffic noise reduction model to reduce traffic noise, which is not limited in this embodiment.
  • Step S240 If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
  • step S240 may include step S241 to step S242, to determine whether the headset is no longer in a preset traffic scene by monitoring trigger information of a preset application when the noise reduction mode of the headset is the traffic noise reduction mode.
  • FIG. 7 shows a schematic flowchart of step S240 in FIG. 4 provided by an exemplary embodiment of the present application.
  • Step S240 may include:
  • Step S241 If the second trigger information is detected, it is determined that the headset is no longer in the preset traffic scene.
  • Step S242 If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
  • second trigger information can be generated, where the second trigger information is used to characterize the wearer of the earphone going out of the station. If the second trigger information is monitored, it can be determined that the headset is no longer in the preset traffic scene, and there is no need to continue to turn on the traffic noise reduction mode corresponding to the preset traffic scene, then the traffic noise reduction mode can be turned off at this time.
  • step S242 when the terminal determines that the headset is not in the preset traffic scene, the terminal may send mode off information to the headset, and the mode off information is used to instruct the headset to turn off the traffic corresponding to the preset traffic scene. Noise reduction mode. As a way, the terminal may send the mode close information to the headset based on the wireless communication protocol.
  • step S242 when the headset determines that the headset is not in the preset traffic scene, the traffic noise reduction mode corresponding to the preset traffic scene may be turned off.
  • the electronic device may generate an interface that characterizes outbound.
  • the interface may display information such as "Outbound Successful", the name of the current outbound site, and so on.
  • step S240 may include step S243 to step S245.
  • the noise reduction mode of the earphone is the traffic noise reduction mode
  • FIG. 8 shows a schematic flowchart of step S240 in FIG. 4 provided by an exemplary embodiment of the present application.
  • Step S240 may include:
  • Step S243 When the earphone is in a preset traffic scene, monitor the current environmental sound.
  • Step S244 If the designated environmental sound is not detected within the preset time period, it is determined that the headset is no longer in the preset traffic scene.
  • Step S245 If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
  • the current environmental sound can be monitored, and after the current environmental sound is detected for the first time, the timing can be started. If the specified environmental sound is not detected within the preset time period after the start of the timing, it can be determined. Since the door is opened and closed at least once for each stop during the subway driving, the electronic equipment should be able to detect the designated ambient sound at least once when the user takes the subway and each stop the subway stops. The specified environmental sound is monitored, indicating that the user may have left the subway. Therefore, the above method can accurately monitor the earphone when it is not in the preset traffic scene, and switch the noise reduction mode as the scene changes in time.
  • the preset time period can be determined according to actual needs.
  • the length of the preset time period can be determined according to the travel time interval required by the subway between stations and stations, and the next station of station A is station B as
  • the time required for the subway to travel from station A to station B is the travel time interval required for the subway to travel between station A and station B.
  • the preset time period can also be preset by the program or customized by the user, which is not limited here.
  • the time length of the preset time period may be set to be greater than or equal to the maximum travel time interval.
  • the time length of the preset time period may be 3 minutes, 5 minutes, 10 minutes, etc. Not limited.
  • the preset time length can also be adjusted according to the current station or the subway line corresponding to the current station, so that the monitoring can be more accurate and timely. To the event that the headset is not in the preset traffic scene, turn off the corresponding traffic noise reduction mode in time.
  • both the trigger information of the preset application and the current environmental sound may be monitored, and the second trigger information of the preset application or the preset application may be monitored.
  • the specified ambient sound is not detected within the time period, it is determined that the headset is no longer in the preset traffic scene, and the traffic noise reduction mode is turned off.
  • the headset when the headset is in a preset traffic scene, only one of the trigger information of the preset application or the current ambient sound may be monitored, so as to improve the noise reduction experience while reducing the power consumption of the electronic device.
  • the electronic device determines that the headset is in the preset traffic scene by monitoring the first trigger information of the preset application, then the headset is in the preset traffic scene, or the noise reduction mode of the current headset is the preset In the traffic noise reduction mode corresponding to the traffic scene, only the second trigger information of the preset application can be monitored, and the audio collection device can be controlled to shut down or sleep so that it does not collect audio, thereby reducing the power consumption of the electronic device.
  • the electronic device determines that the headset is in the preset traffic scene by monitoring the specified environmental sound, then the headset is in the preset traffic scene, or the noise reduction mode of the current headset corresponds to the preset traffic scene In the traffic noise reduction mode, you can only monitor the current ambient sound without monitoring the trigger information of the preset application. If the specified ambient sound is not detected within the preset time period, it is determined that the headset is not in the preset traffic scene, and then turned off Traffic noise reduction mode.
  • the noise reduction mode control method provided in this embodiment is based on the foregoing embodiment.
  • the headset When the headset is in a preset traffic scene, it continues to monitor the trigger information of the preset application and whether the specified environmental sound is detected again within the preset time period.
  • the second trigger information is monitored and at least one of the designated environmental sounds is not monitored again within the preset time period, it is determined that the headset is not in the preset traffic scene, and when the headset is not in the preset traffic scene ,
  • the traffic noise reduction mode corresponding to the preset traffic scene is automatically turned off, so that the noise reduction mode is automatically turned on and off when entering and exiting the preset traffic scene, which further simplifies the user's operation, does not require manual configuration by the user, and improves the user experience.
  • FIG. 9 shows a schematic flow chart of a noise reduction mode control method provided by another embodiment of the present application.
  • the method can be applied to the above-mentioned electronic device.
  • the method may include:
  • Step S310 Monitoring the current environmental sound and the trigger information of the preset application.
  • Step S320 If the first trigger information is detected, it is determined whether the designated environmental sound is detected.
  • step S330 may be designated.
  • the noise reduction mode of the headset is not configured as the traffic noise reduction mode corresponding to the preset traffic scene, so as to avoid misoperation
  • the resulting scene recognition error improves the accuracy of scene recognition.
  • Step S330 If the designated environmental sound is detected, it is determined that the headset is in a preset traffic scene.
  • Step S340 Configure the noise reduction mode of the earphone as the traffic noise reduction mode corresponding to the preset traffic scene.
  • the method described in the above embodiments can also be used to monitor whether the earphone has left or is no longer in the preset traffic scene, and When the headset is not in the preset traffic scene, turn off the traffic noise reduction mode corresponding to the preset traffic scene. In this way, the traffic noise reduction mode can be automatically turned on or off according to the scene.
  • the noise reduction mode control method monitors the current environmental sound and the trigger information of the preset application, and if the first trigger information is detected, then determines whether the designated environmental sound is detected, and when the designated environmental sound is detected , It is determined that the headset is in the preset traffic scene, and the noise reduction mode of the headset is configured as the traffic noise reduction mode corresponding to the preset traffic scene. Further, when the earphone is in the preset traffic scene or the noise reduction mode of the earphone is the traffic noise reduction mode, it can also be monitored according to the method described in the above embodiment whether the earphone has left or is not in the preset traffic scene, and the earphone is not in the preset traffic scene. When in the preset traffic scene, turn off the traffic noise reduction mode corresponding to the preset traffic scene. In this way, the traffic noise reduction mode can be automatically turned on or off according to the scene.
  • FIG. 10 shows the noise reduction mode control provided by another embodiment of the present application.
  • a schematic flow chart of the method. Specifically, the method may include:
  • the terminal may obtain the target UI information through the system embedded point, and the target UI information may correspond to the above-mentioned first trigger information.
  • the user can identify whether the user has entered the subway according to the sound of subway opening and closing.
  • the spectrogram of the subway door opening and closing sound can be collected in advance, and the alarm bell sound characteristics of the subway door opening and closing can be obtained.
  • step S4 can be executed, and if the door opening and closing sound of the subway is not detected, the monitoring can be continued.
  • the terminal can send the subway mode opening message.
  • the headset service receives the subway mode opening message, it can communicate with the headset via Bluetooth to turn on the subway noise reduction mode of the headset.
  • the headset service may be a background service of the terminal.
  • the identification method is similar to that of entering the station, so I won’t repeat it.
  • the subway door opening and closing sound will be monitored, and whether the subway door opening and closing sound has been detected in the most recent period of time (such as within 10 minutes). If the subway door opening and closing sound is not detected within a period of time, confirm The user is currently out of the station, that is, the headset is no longer in the subway scene.
  • the headset service When leaving the station, it will send the subway mode closure message. After the headset service receives the subway mode closure message, it will turn off the subway noise reduction mode. You can switch to the default noise reduction mode to reduce the noise of common environmental sounds, or switch to other reductions. In the noise mode, any noise reduction mode may not be turned on, which is not limited in this embodiment.
  • the noise reduction mode control method provided in this embodiment detects whether the user is currently in the subway by combining the user's swiping to enter the station and the recognition of the subway door opening and closing voice. Then the switch information of the subway mode is sent to the headset service, which is used to automatically turn on and off the subway noise reduction mode of the headset, which simplifies the operation of the headset application and improves the user experience. Specifically, the preset application and its page information when the user swipes the code to enter the station determine whether to swipe the code to enter the station; for non-swipe users, the subway mode identification is performed by recognizing the opening and closing sound of the subway door.
  • the broadcast of the subway mode is sent to the headset service through the wireless communication protocol, which is used to switch the current noise reduction mode of the headset to the subway noise reduction mode.
  • the broadcast of closing the subway mode is sent to the headset service, which is used to turn off the subway noise reduction mode currently turned on by the headset service and switch to the default noise reduction Mode, or don’t turn on noise reduction mode. In this way, the intelligent switching of the subway noise reduction mode of the noise reduction headset is realized, and the user experience is improved.
  • FIG. 11 shows a structural block diagram of a noise reduction mode control device 1200 provided by an embodiment of the present application.
  • the noise reduction mode control device 1200 can be applied to the above-mentioned mobile terminal.
  • the noise reduction mode control device 1200 may include : Information monitoring module 1210, scene determination module 1220, and mode configuration module 1230, specifically:
  • the information monitoring module 1210 is used to monitor current environmental sounds and trigger information of preset applications, which are suitable for running in preset traffic scenarios;
  • the scene determination module 1220 is configured to determine that the headset is in the preset traffic scene if at least one of the first trigger information and the specified environmental sound is monitored, wherein the first trigger information is used to characterize the wearer of the headset Into the station, the designated environmental sound is an environmental sound that matches the preset traffic scene;
  • the mode configuration module 1230 is configured to configure the noise reduction mode of the headset to the traffic noise reduction mode corresponding to the preset traffic scene.
  • the noise reduction mode control device 1200 further includes: an application opening module, an identification generating module, an information generating module, a second information generating module, and a mode closing module, wherein:
  • the application opening module is used to obtain an application opening instruction and start the preset application
  • An identification generating module configured to generate a vehicle identification for inbound and outbound stations based on the preset application
  • the information generating module is configured to generate trigger information if the ride identification is scanned, and the trigger information includes first trigger information.
  • the second information generating module is configured to generate second trigger information if the ride identification is scanned when the earphone is in the preset traffic scene, and the second trigger information is used to characterize the wearing of the earphone ⁇
  • the mode closing module is configured to turn off the traffic noise reduction mode if the earphone is not in the preset traffic scene, and the traffic noise reduction mode is used to perform noise reduction processing on noise in the preset traffic scene.
  • the mode closing module includes: a first scene determining sub-module and a first mode closing sub-module, wherein:
  • the first scene determination sub-module is configured to determine that the headset is no longer in the preset traffic scene if the second trigger information is monitored;
  • the first mode closing sub-module is configured to close the traffic noise reduction mode if the earphone is not in the preset traffic scene.
  • the mode closing module further includes: an environmental sound monitoring sub-module, a second scene determining sub-module, and a second mode closing sub-module, wherein:
  • the environmental sound monitoring sub-module is used to monitor the current environmental sound when the earphone is in the preset traffic scene
  • the second scene determination submodule is configured to determine that the earphone is no longer in the preset traffic scene if the designated environmental sound is not detected within a preset time period;
  • the second mode closing sub-module is configured to close the traffic noise reduction mode if the earphone is not in the preset traffic scene.
  • the scene determination module 1220 further includes: a designated detection sub-module and a scene determination sub-module, wherein:
  • the designated detection sub-module is configured to determine whether the designated environmental sound is detected if the first trigger information is detected;
  • the scene determination sub-module is configured to determine that the earphone is in the preset traffic scene if the designated environmental sound is monitored.
  • the noise reduction mode control device provided in the embodiment of the present application is used to implement the corresponding noise reduction mode control method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • the functional modules in the various embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
  • the electronic device 1300 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, an e-book, a notebook computer, or a personal computer, and may also be a headset.
  • the electronic device 1300 in this application may include one or more of the following components: a processor 1310, a memory 1320, and one or more application programs, where one or more application programs may be stored in the memory 1320 and configured to be operated by one Or multiple processors 1310 execute, and one or more programs are configured to execute the method described in the foregoing method embodiment.
  • the processor 1310 may include one or more processing cores.
  • the processor 1310 uses various interfaces and lines to connect various parts of the entire electronic device 1300, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1320, and calling data stored in the memory 1320.
  • the processor 1310 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1310 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs;
  • the GPU is used for rendering and drawing of display content;
  • the modem is used for processing wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1310, but may be implemented by a communication chip alone.
  • the memory diagram 1220 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory map 1220 can be used to store instructions, programs, codes, code sets, or instruction sets.
  • the memory diagram 1220 can include a storage program area and a storage data area, where the storage program area can store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) ), instructions used to implement the following method embodiments, etc.
  • the storage data area can also store data created during use of the electronic device map 1200 (such as phone book, audio and video data, chat record data) and the like.
  • FIG. 13 shows a structural block diagram of a computer readable storage medium provided by an embodiment of the present application.
  • the computer readable storage medium 1400 stores program codes, and the program codes can be invoked by a processor to execute the methods described in the foregoing embodiments.
  • the computer readable storage medium 1400 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1400 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
  • the computer readable storage medium 1400 has storage space for the program code 1410 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products.
  • the program code 1410 may be compressed in a suitable form, for example.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Headphones And Earphones (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The present application relates to the technical field of noise reduction. Disclosed are a noise reduction mode control method and apparatus, an electronic device and a storage medium. Said method comprises: monitoring a current environmental sound and trigger information of a preset application, the preset application being suitable for running in a preset traffic scene; if at least one of first trigger information and a designated environmental sound is detected, determining that an earphone is in the preset traffic scene, the first trigger information being used for characterizing that a wearer of the earphone enters a station, and the designated environmental sound being an environmental sound matching the preset traffic scene; and configuring a noise reduction mode of the earphone as a traffic noise reduction mode corresponding to the preset traffic scene. In the present application, whether an earphone is in a preset traffic scene is automatically identified by monitoring an environmental sound and trigger information of a preset application, so that a noise reduction mode can be automatically configured according to a preset traffic scene without manual configuration by a user, thereby simplifying the operation of an earphone application while ensuring the noise reduction effect, improving the user experience.

Description

降噪模式控制方法、装置、电子设备及存储介质Noise reduction mode control method, device, electronic equipment and storage medium
相关申请的交叉引用Cross-references to related applications
本申请要求于2020年4月29日提交的申请号为202010357364.0的中国申请的优先权,上述在先申请的内容以引入的方式并入本文本中。This application claims the priority of the Chinese application with the application number 202010357364.0 filed on April 29, 2020, and the content of the above-mentioned earlier application is incorporated into this text by way of introduction.
技术领域Technical field
本申请涉及降噪技术领域,更具体地,涉及一种降噪模式控制方法、装置、电子设备及存储介质。This application relates to the field of noise reduction technology, and more specifically, to a noise reduction mode control method, device, electronic equipment, and storage medium.
背景技术Background technique
主动降噪是一种降噪方式,其原理是根据指定位置所收取到的噪音,发出相位完全相反或近似相反的声波,让两种声波在相遇时互相部分抵销,从而把该噪音削弱和降低。Active noise reduction is a noise reduction method. Its principle is to emit sound waves with completely opposite or approximately opposite phases according to the noise collected at a specified location, so that the two sound waves partially cancel each other when they meet, thereby weakening the noise and reduce.
由于不同场景的噪声存在较大差异,如需对不同场景(如地铁、飞机等场景)的噪声实现较好的降噪效果,降噪耳机在不同场景时所发出的声波会有所区别。因此目前需要一种可自动识别特定场景,并对特定场景下的噪声进行针对性降噪的方案。Due to the large differences in noise in different scenes, if it is necessary to achieve a better noise reduction effect on the noise of different scenes (such as subways, airplanes, etc.), the sound waves emitted by noise reduction headphones in different scenes will be different. Therefore, there is currently a need for a solution that can automatically identify a specific scene and perform targeted noise reduction on the noise in the specific scene.
发明内容Summary of the invention
本申请实施例提出了一种降噪模式控制方法、装置、电子设备及存储介质,能够自动识别特定场景并根据场景自动配置降噪模式。The embodiments of the present application propose a noise reduction mode control method, device, electronic equipment, and storage medium, which can automatically identify a specific scene and automatically configure the noise reduction mode according to the scene.
第一方面,本申请实施例提供了一种降噪模式控制方法,该方法包括:监测当前环境音以及预设应用的触发信息,所述预设应用适于在预设交通场景下运行;若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景,其中,所述第一触发信息用于表征所述耳机的佩戴者进站,所述指定环境音为与所述预设交通场景匹配的环境音;将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式。In the first aspect, an embodiment of the present application provides a noise reduction mode control method, the method includes: monitoring the current environmental sound and trigger information of a preset application, the preset application is suitable for running in a preset traffic scene; if At least one of the first trigger information and the designated environmental sound is monitored, and it is determined that the headset is in the preset traffic scene, wherein the first trigger information is used to characterize the entry of the wearer of the headset, and the designated environmental sound Is an environmental sound that matches the preset traffic scene; and configures the noise reduction mode of the headset as a traffic noise reduction mode corresponding to the preset traffic scene.
第二方面,本申请实施例提供了一种降噪模式控制装置,该装置包括:信息监测模块,用于监测当前环境音以及预设应用的触发信息,所述预设应用适于在预设交通场景下运行;场景确定模块,用于若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景,其中,所述第一触发信息用于表征所述耳机的佩戴者进站,所述指定环境音为与所述预设交通场景匹配的环境音;模式配置模块,用于将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式。In the second aspect, an embodiment of the present application provides a noise reduction mode control device. The device includes: an information monitoring module for monitoring current environmental sounds and trigger information of a preset application. Running in a traffic scene; a scene determination module, configured to determine that the headset is in the preset traffic scene if at least one of the first trigger information and the specified environmental sound is monitored, wherein the first trigger information is used to characterize the The wearer of the earphone enters the station, and the designated environmental sound is an environmental sound that matches the preset traffic scene; a mode configuration module configured to configure the noise reduction mode of the earphone to the traffic corresponding to the preset traffic scene Noise reduction mode.
第三方面,本申请实施例提供了一种电子设备,包括:存储器;一个或多个处理器,与所述存储器耦接;一个或多个应用程序,其中,一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个应用程序配置用于执行上述第一方面提供的降噪模式控制方法。In a third aspect, an embodiment of the present application provides an electronic device, including: a memory; one or more processors coupled to the memory; one or more application programs, wherein one or more application programs are stored In the memory and configured to be executed by one or more processors, one or more application programs are configured to execute the noise reduction mode control method provided in the first aspect described above.
第四方面,本申请实施例提供了一种计算机可读取存储介质,计算机可读取存储介质中存储有程序代码,程序代码可被处理器调用执行上述第一方面提供的降噪模式控制方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores program code, and the program code can be invoked by a processor to execute the noise reduction mode control method provided in the first aspect. .
本申请实施例提供的降噪模式控制方法、装置、电子设备及存储介质,通过监测当前环境音以及适于在预设交通场景下运行的预设应用的触发信息,若监测到用于表征耳机的佩戴者进站的第一触发信息以及指定环境音中的至少一个,确定耳机处于预设交通场景,其中,指定环境音为与预设交通场景匹配的环境音,并将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。由此,本申请通过监测环境音和预设应用的触发信息,自动识别耳机是否处于预设交通场景,并在耳机处于预设交通场景时,自动配置对应的交通降噪模式,从而无需用户手动配置,即可自动根据预设交通场景配置降噪模式,保证降噪效果的同时,简化了耳机应用的操作,提升了用户体验。The noise reduction mode control method, device, electronic equipment, and storage medium provided by the embodiments of the present application monitor current environmental sounds and trigger information of preset applications suitable for running in preset traffic scenarios. At least one of the first trigger information of the wearer’s entry into the station and the designated environmental sound, it is determined that the headset is in a preset traffic scene, where the designated environmental sound is an ambient sound that matches the preset traffic scene, and the noise reduction mode of the headset Configure the traffic noise reduction mode corresponding to the preset traffic scene. Therefore, this application automatically recognizes whether the headset is in a preset traffic scene by monitoring the environmental sound and the trigger information of the preset application, and automatically configures the corresponding traffic noise reduction mode when the headset is in the preset traffic scene, thereby eliminating the need for the user to manually Configuration, the noise reduction mode can be automatically configured according to the preset traffic scene, while ensuring the noise reduction effect, it simplifies the operation of the headset application and improves the user experience.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1示出了一种降噪耳机的应用程序的界面示意图。Figure 1 shows a schematic diagram of the interface of an application program for noise reduction headphones.
图2示出了本申请一实施例提供的降噪模式控制方法的应用场景示意图。Fig. 2 shows a schematic diagram of an application scenario of a noise reduction mode control method provided by an embodiment of the present application.
图3示出了本申请一实施例提供的降噪模式控制方法的流程示意图。FIG. 3 shows a schematic flowchart of a noise reduction mode control method provided by an embodiment of the present application.
图4示出了本申请另一实施例提供的降噪模式控制方法的流程示意图。FIG. 4 shows a schematic flowchart of a noise reduction mode control method provided by another embodiment of the present application.
图5示出了本申请一个示例性实施例提供的触发信息生成方法的流程示意图。Fig. 5 shows a schematic flow chart of a method for generating trigger information provided by an exemplary embodiment of the present application.
图6示出了本申请一个示例性实施例提供的一种进站提示的界面示意图FIG. 6 shows a schematic diagram of an interface for an inbound prompt provided by an exemplary embodiment of the present application
图7示出了本申请一个示例性实施例提供的图4中步骤S240的流程示意图。Fig. 7 shows a schematic flowchart of step S240 in Fig. 4 provided by an exemplary embodiment of the present application.
图8示出了本申请一个示例性实施例提供的图4中步骤S240的流程示意图。FIG. 8 shows a schematic flowchart of step S240 in FIG. 4 provided by an exemplary embodiment of the present application.
图9示出了本申请又一实施例提供的降噪模式控制方法的流程示意图。FIG. 9 shows a schematic flowchart of a noise reduction mode control method provided by another embodiment of the present application.
图10示出了本申请再一实施例提供的降噪模式控制方法的流程示意图。FIG. 10 shows a schematic flowchart of a noise reduction mode control method provided by still another embodiment of the present application.
图11示出了本申请实施例提供的降噪模式控制装置的模块框图。Fig. 11 shows a block diagram of a noise reduction mode control device provided by an embodiment of the present application.
图12示出了本申请实施例提供的电子设备的结构框图。Fig. 12 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
图13示出了本申请实施例提供的用于保存或者携带实现根据本申请实施例的降噪模式控制方法的程序代码的存储单元。FIG. 13 shows a storage unit provided by an embodiment of the present application for storing or carrying program code for implementing the noise reduction mode control method according to the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application.
术语定义Definition of Terms
主动降噪曲线:主动降噪曲线是降噪装置的主动降噪能力在声波频谱图上体现出来的曲线,用来体现主动降噪在声音各个频段的降噪能力大小。Active noise reduction curve: The active noise reduction curve is the curve that the active noise reduction ability of the noise reduction device reflects on the sound wave spectrogram, which is used to reflect the noise reduction ability of the active noise reduction in each frequency band of the sound.
其中,降噪装置的降噪能力是指可闻声波到达人的耳膜前被降低的程度。主动降噪对不同频率点声波的降噪幅度并不完全相同。用标准化的专业仪器可测量出降噪装置在各个频率点的降噪幅度,连接各频点降噪幅度值所形成的曲线就叫降噪曲线,它对任何一个频率点的降噪能力都有较为精确的描述。Among them, the noise reduction capability of the noise reduction device refers to the degree to which audible sound waves are reduced before reaching the eardrum of a person. Active noise reduction does not have exactly the same noise reduction amplitude for sound waves at different frequency points. Standardized professional instruments can measure the noise reduction amplitude of the noise reduction device at each frequency point. The curve formed by connecting the noise reduction amplitude value of each frequency point is called the noise reduction curve, which has the noise reduction ability of any frequency point. A more precise description.
其中,频谱图是指一个时域的声音信号在频域下的表示方式,可以针对信号进行傅里叶变换而得,所得的结果会是分别以幅度为纵轴,频率为横轴的图。Among them, the spectrogram refers to the representation of a sound signal in the time domain in the frequency domain, which can be obtained by performing Fourier transform on the signal, and the resulting result will be a graph with amplitude as the vertical axis and frequency as the horizontal axis.
随着降噪技术的发展,可以进行主动降噪的降噪耳机在市面上越来越普遍,形式也越来越多样。其中,降噪耳机是指利用某种方法达到降低噪音的一种耳机。目前降噪耳机根据降噪方式的不同,主要有两种:主动降噪耳机和被动降噪耳机。With the development of noise reduction technology, noise reduction headphones that can perform active noise reduction are becoming more and more common on the market, and their forms are becoming more and more diverse. Among them, the noise reduction headset refers to a headset that uses a certain method to reduce noise. At present, there are two main types of noise reduction headphones according to different noise reduction methods: active noise reduction headphones and passive noise reduction headphones.
其中,主动降噪耳机是通过降噪系统产生与外界噪音相等,相位完全相反或近似相反的反向声波,将噪声中和,从而把该噪音削弱和降低。主动降噪耳机带有与外界噪声抗衡的降噪电路,它们大部分采用体积较大的头戴式设计,可利用耳塞棉和耳机外壳等构造阻挡外界噪声,进行第一轮隔音,同时也有足够的空间装设主动降噪电路以及电源。Among them, the active noise reduction earphones use the noise reduction system to generate reverse sound waves that are equal to the external noise and have completely opposite or approximately opposite phases to neutralize the noise, thereby attenuating and reducing the noise. Active noise reduction headphones have a noise reduction circuit that can counteract external noise. Most of them use a large head-mounted design. They can use earplug cotton and earphone shells to block external noise, perform the first round of sound insulation, and also have enough Active noise reduction circuit and power supply are installed in the space.
被动降噪耳机主要是通过包围耳朵形成封闭空间,或者采用硅胶耳塞等隔音材料来阻挡外界噪声。由于噪声没有经过降噪电路或降噪芯片处理,一般只能阻隔高频噪声,对低频噪声降噪效果不明显。Passive noise-cancelling headphones mainly form a closed space by surrounding the ears, or use sound-insulating materials such as silicone earplugs to block external noise. Since the noise has not been processed by the noise reduction circuit or noise reduction chip, it can generally only block high frequency noise, and the effect of noise reduction on low frequency noise is not obvious.
随着深度学习的快速发展,深度学习算法在视觉方向上的应用越来越广泛。而通过对于特定场景特定声音的数据采集,基于深度学习算法对某些特定场景进行主动降噪的算法模型也在很多降噪耳机上得到了应用。With the rapid development of deep learning, deep learning algorithms have become more and more widely used in the visual direction. Through the data collection of specific sounds in specific scenes, the algorithm model of active noise reduction for certain specific scenes based on deep learning algorithms has also been applied to many noise reduction headphones.
但是,利用同一模型对多种场景进行降噪,则难以对每个场景都实现很好的降噪效果。而如果对场景进行细分,对不同场景(例如地铁、飞机等场景)利用不同模型进行针对性降噪,能得到更好的降噪效果。一种场景对应一种模型的降噪,虽然效果更好,但是要对多种场景的噪声进行降噪,意味着降噪耳机对应的应用程序(Application,APP)需要提供多种降噪模式供用户选择,此时又需要用户手动选择降噪强度或降噪模式,不够方便。因此如何通对当前场景的识别,并匹配不同的降噪算法模型来对当前场景进行针对性降噪,是目前降噪耳机面临的问题。However, it is difficult to achieve a good noise reduction effect for each scene by using the same model to reduce noise in multiple scenes. And if the scene is subdivided and different models (such as subways, airplanes, etc.) are used to perform targeted noise reduction for different scenes (such as subways, airplanes, etc.), a better noise reduction effect can be obtained. One scene corresponds to the noise reduction of one model. Although the effect is better, it is necessary to reduce the noise of multiple scenes, which means that the application (APP) corresponding to the noise reduction headset needs to provide multiple noise reduction modes. The user selects, and at this time, the user is required to manually select the noise reduction intensity or the noise reduction mode, which is not convenient enough. Therefore, how to identify the current scene and match different noise reduction algorithm models to perform targeted noise reduction on the current scene is a problem faced by noise reduction headphones.
图1示出了一种降噪耳机的应用程序的界面示意图,基于该界面可对环境音进行控制,不同级别对应不同的降噪强度,当前图1所示为级别3。基于图1所示的界面,若需调整降噪强度以达到更高的降噪效果,需要用户手动控制,例如通过拖动或点击强度调整条,选择降噪强度。Fig. 1 shows a schematic diagram of the interface of a noise reduction headset application program. Based on this interface, the environmental sound can be controlled, and different levels correspond to different levels of noise reduction. The current Fig. 1 shows level 3. Based on the interface shown in Figure 1, if the noise reduction intensity needs to be adjusted to achieve a higher noise reduction effect, the user needs to manually control it, for example, by dragging or clicking the intensity adjustment bar to select the noise reduction intensity.
基于上述问题,本申请实施例提供了一种降噪模式控制方法、装置、电子设备及计算机可读取存储介质,通过监测当前环境音以及适于在预设交通场景 下运行的预设应用的触发信息,若监测到用于表征耳机的佩戴者进站的第一触发信息以及指定环境音中的至少一个,确定耳机处于预设交通场景,其中,指定环境音为与预设交通场景匹配的环境音,并将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。由此,本申请通过监测环境音和预设应用的触发信息,自动识别耳机是否处于预设交通场景,并在耳机处于预设交通场景时,自动配置对应的交通降噪模式,从而无需用户手动配置,即可自动根据预设交通场景配置降噪模式,保证降噪效果的同时,简化了耳机应用的操作,提升了用户体验。Based on the above problems, the embodiments of the present application provide a noise reduction mode control method, device, electronic equipment, and computer readable storage medium, which monitor current environmental sounds and preset applications suitable for running in preset traffic scenarios. Trigger information, if at least one of the first trigger information used to characterize the entry of the earphone wearer and the designated environmental sound is detected, it is determined that the earphone is in a preset traffic scene, where the designated environmental sound matches the preset traffic scene Ambient sound, and configure the noise reduction mode of the headset as the traffic noise reduction mode corresponding to the preset traffic scene. Therefore, this application automatically recognizes whether the headset is in a preset traffic scene by monitoring the environmental sound and the trigger information of the preset application, and automatically configures the corresponding traffic noise reduction mode when the headset is in the preset traffic scene, thereby eliminating the need for the user to manually Configuration, the noise reduction mode can be automatically configured according to the preset traffic scene, while ensuring the noise reduction effect, it simplifies the operation of the headset application and improves the user experience.
为了便于详细说明,下面先结合附图对本申请实施例所适用的应用场景进行示例性说明。For the convenience of detailed description, the following exemplarily describes the application scenarios applicable to the embodiments of the present application with reference to the accompanying drawings.
请参见图2,图2示出了本申请实施例提供的降噪模式控制方法的应用场景示意图,该应用场景包括本申请实施例提供的一种降噪模式控制系统10。该降噪模式控制系统10包括:终端100和耳机200。Please refer to FIG. 2. FIG. 2 shows a schematic diagram of an application scenario of a noise reduction mode control method provided by an embodiment of the present application. The application scenario includes a noise reduction mode control system 10 provided by an embodiment of the present application. The noise reduction mode control system 10 includes: a terminal 100 and a headset 200.
其中,终端100可以为但不限于为手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio LayerⅢ,动态影像压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio LayerⅣ,动态影像压缩标准音频层面4)播放器、笔记本电脑或可穿戴电子设备等等。本申请实施例对具体的终端100的设备类型不作限定。Among them, the terminal 100 may be, but is not limited to, a mobile phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving image compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving image compression standard audio layer 4) Players, laptops or wearable electronic devices, etc. The embodiment of the present application does not limit the specific device type of the terminal 100.
在一些实施例中,终端100内可以安装有能够播放音频的应用程序,具体地,该应用程序可以是音频播放软件、视频播放软件或者通话软件等。终端100将需要播放的音频发送给耳机200,由耳机200播放音频。In some embodiments, an application program capable of playing audio may be installed in the terminal 100. Specifically, the application program may be audio playing software, video playing software, or calling software. The terminal 100 sends the audio to be played to the earphone 200, and the earphone 200 plays the audio.
其中,终端100与耳机200可基于有线或无线连接,可选地,若基于无线连接,则终端100与耳机200可基于蓝牙(Bluetooth)、无线网络进行无线连接,以实现数据传输,例如,耳机200可通过终端100获取音源数据进行播放,获取控制信息进行配置。可选地,无线网络可以是移动通信网络或无线保真网络(Wireless Fidelity,WiFi)。Among them, the terminal 100 and the earphone 200 may be based on a wired or wireless connection. Optionally, if they are based on a wireless connection, the terminal 100 and the earphone 200 may be wirelessly connected based on Bluetooth or a wireless network to realize data transmission, for example, earphones. 200 can obtain audio source data for playback through the terminal 100, and obtain control information for configuration. Optionally, the wireless network may be a mobile communication network or a wireless fidelity (Wireless Fidelity, WiFi) network.
其中,耳机200装设有降噪电路,可支持降噪。耳机200可以是有线耳机,也可以是无线耳机。可选地,耳机200还可以具体是真无线立体声(True wireless Stereo,TWS)耳机。其中,一副TWS耳机的左右两只耳机无需线缆连接,通过实现左右声道的无线分离即可独立工作。Among them, the earphone 200 is equipped with a noise reduction circuit, which can support noise reduction. The earphone 200 may be a wired earphone or a wireless earphone. Optionally, the headset 200 may also specifically be a true wireless stereo (TWS) headset. Among them, the left and right earphones of a pair of TWS earphones do not need to be connected by cables, and can work independently by realizing the wireless separation of the left and right channels.
需要注意的是,图2中仅示出一个耳机,仅为对耳机200的一种示意图,并不构成对本申请实施例的限定,在实际应用中,本领域技术人员可参照本申请实施例的方案选择一副耳机、选择其他与图2所示不同类型的耳机实施本方案。It should be noted that FIG. 2 shows only one earphone, which is only a schematic diagram of the earphone 200, and does not constitute a limitation to the embodiment of the present application. In practical applications, those skilled in the art can refer to the description of the embodiment of the present application. The solution chooses a pair of earphones, and chooses other earphones of different types as shown in Figure 2 to implement this solution.
在一些实施方式中,终端100还可安装有能够控制耳机的应用程序,基于该应用程序,可对耳机进行配置,例如,基于该应用程序,用户可选择耳机的降噪强度,也可选择耳机的降噪模式。终端100可获取用户的选择指令,并根据指令发送对应的控制信息至耳机200,以对耳机200的相应参数进行配置。In some embodiments, the terminal 100 may also be installed with an application program capable of controlling the headset. Based on the application program, the headset can be configured. For example, based on the application program, the user can select the noise reduction strength of the headset or the headset. The noise reduction mode. The terminal 100 can obtain the user's selection instruction, and send corresponding control information to the headset 200 according to the instruction, so as to configure the corresponding parameters of the headset 200.
在一些实施例中,本申请实施例提供的降噪模式控制方法可应用于终端100,则其中,预设应用可运行于终端100,当前环境音可由终端100或耳机200采集。In some embodiments, the noise reduction mode control method provided in the embodiments of the present application can be applied to the terminal 100, wherein the preset application can be run on the terminal 100, and the current environmental sound can be collected by the terminal 100 or the headset 200.
在另一些实施例中,本申请实施例提供的降噪模式控制方法也可应用于耳机200,则预设应用可运行于耳机200,且耳机200可用于采集当前环境音。In other embodiments, the noise reduction mode control method provided in the embodiments of the present application can also be applied to the headset 200, and the preset application can be run on the headset 200, and the headset 200 can be used to collect current environmental sounds.
下面将通过具体实施例对本申请实施例提供的信息处理方法、装置、电子设备及存储介质进行详细说明。The information processing method, device, electronic equipment, and storage medium provided by the embodiments of the present application will be described in detail below through specific embodiments.
请参阅图3,图3示出了本申请一实施例提供的降噪模式控制方法的流程示意图,应用于电子设备,电子设备可以为上述终端或耳机。下面将针对图3所示的流程进行详细的阐述。该降噪模式控制方法可以包括以下步骤:Please refer to FIG. 3, which shows a schematic flowchart of a noise reduction mode control method provided by an embodiment of the present application, which is applied to an electronic device, and the electronic device may be the aforementioned terminal or headset. The following will elaborate on the process shown in FIG. 3. The noise reduction mode control method may include the following steps:
步骤S110:监测当前环境音以及预设应用的触发信息。Step S110: Monitoring the current environmental sound and the trigger information of the preset application.
其中,当前环境音是音频采集装置基于当前位置所能采集到的环境音,音频采集装置用于采集音频,音频采集装置例如可以是麦克风或其他可采集音频的装置。Wherein, the current environmental sound is the environmental sound that the audio collecting device can collect based on the current position. The audio collecting device is used to collect audio. The audio collecting device may be, for example, a microphone or other devices that can collect audio.
在一些实施方式中,音频采集装置可设置于终端,终端通过音频采集装置采集当前环境音以监测当前环境音是否与指定环境音匹配,以确定是否监测到指定环境音。In some embodiments, the audio collection device may be provided in the terminal, and the terminal collects the current environmental sound through the audio collection device to monitor whether the current environmental sound matches the designated environmental sound to determine whether the designated environmental sound is detected.
在另一些实施方式中,音频采集装置也可设置于耳机,则可由耳机采集当前环境音,并作为一种方式,耳机可将采集到的当前环境音发送至终端,由终端执行后续步骤。作为另一种方式,耳机内可装设有处理器,则耳机通过音频采集装置采集到当前环境音,可将环境音传输至处理器,以由处理器执行后续步骤。In other embodiments, the audio collection device can also be set in the earphone, and the earphone can collect the current environment sound. As a way, the earphone can send the collected current environment sound to the terminal, and the terminal executes the subsequent steps. As another way, a processor may be installed in the earphone, and the earphone collects the current environmental sound through the audio collecting device, and the environmental sound can be transmitted to the processor, so that the processor executes the subsequent steps.
需要说明的是,本申请实施例预先对耳机可能处于的交通场景进行分类,可选地,由于不同交通工具上或附近所存在的噪声可能存在较大差异,交通场景可按交通工具的不同进行分类,则预设交通场景可包括但不限于地铁场景、公交车场景、飞机场景等。预设应用被配置为适于在预设交通场景下运行,预设交通场景可以是前述任一场景。It should be noted that the embodiments of the present application pre-classify the traffic scenes that the headset may be in. Optionally, because the noise on or near different vehicles may have large differences, the traffic scenes can be carried out according to different vehicles. Classification, the preset traffic scenes may include, but are not limited to, subway scenes, bus scenes, airplane scenes, and so on. The preset application is configured to be suitable for running in a preset traffic scene, and the preset traffic scene may be any of the aforementioned scenes.
在一些实施方式中,预设应用可以为乘车应用、支付应用等,本实施例对此不作限定。In some embodiments, the preset application may be a ride application, a payment application, etc., which is not limited in this embodiment.
示例性的,预设应用可以为公交车乘车应用,适于在公交车场景下运行。其中,公交车乘车应用可用于生成乘车标识,供用户刷码乘公交车,例如,终端可运行公交车乘车应用。Exemplarily, the preset application may be a bus ride application, which is suitable for running in a bus scene. Among them, the bus ride application can be used to generate a ride logo for the user to swipe the code to ride the bus. For example, the terminal can run the bus ride application.
示例性的,预设应用可以为地铁乘车应用,适于在地铁场景下运行。其中,地铁乘车应用可用于生成乘车标识,供用户刷码乘地铁等。并在一个具体的示例中,地铁乘车应用所生成的乘车标识在不同情况下被扫描时,地铁乘车应用可生成用户当前是出站还是进站的触发信息。Exemplarily, the preset application may be a subway ride application, which is suitable for running in a subway scene. Among them, the subway ride application can be used to generate ride signs for users to swipe their codes to ride the subway, etc. And in a specific example, when the ride identification generated by the subway ride application is scanned under different circumstances, the subway ride application can generate trigger information about whether the user is currently leaving or entering the station.
示例性的,预设应用也可以为支付应用,支付应用可配置由多张电子卡片,电子卡片可以是基于交通卡所模拟的射频卡,可支持近场通信(Near Field  Communication,NFC)支付,在一些示例中,终端可内置由NFC模块,则可基于NFC模块与NFC读取设备进行数据交互,则在用户乘坐交通工具时,用户可将终端靠近NFC读取设备,则NFC读取设备可读取到支付应用所配置的交通卡,进行支付。Exemplarily, the preset application can also be a payment application. The payment application can be configured with multiple electronic cards. The electronic cards can be radio frequency cards simulated based on traffic cards, which can support Near Field Communication (NFC) payments. In some examples, the terminal may have a built-in NFC module, and then the NFC module can interact with the NFC reading device based on the NFC module. When the user takes a transportation, the user can bring the terminal close to the NFC reading device, and the NFC reading device can The transportation card configured by the payment application is read and the payment is made.
可以理解的是,当预设应用运行时,耳机可能处于预设应用对应的预设交通场景下。本申请实施例中,将预设应用在运行过程中生成的特定信息作为用于确定耳机所处场景的触发信息。It is understandable that when the preset application is running, the headset may be in a preset traffic scene corresponding to the preset application. In the embodiment of the present application, the specific information generated during the running of the preset application is used as the trigger information for determining the scene where the headset is located.
示例性的,当预设应用为地铁乘车应用时,触发信息可以为地铁乘车应用所生成的乘车标识被扫描时生成的描述信息,乘车标识可以为用户乘坐地铁时所需刷的二维码。Exemplarily, when the preset application is a subway ride application, the trigger information may be the description information generated when the ride mark generated by the subway ride application is scanned, and the ride mark may be the information that the user needs to swipe when taking the subway. QR code.
步骤S120:若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于预设交通场景。Step S120: If at least one of the first trigger information and the designated environmental sound is detected, it is determined that the headset is in a preset traffic scene.
其中,第一触发信息用于表征耳机的佩戴者进站,指定环境音为与预设交通场景匹配的环境音。在实际应用中,发明人发现,用户可通过预设应用来出入预设交通场景,也可不通过,例如以地铁场景为例,用户可能通过地铁乘车应用刷码进站,也可通过交通卡如深圳通、羊城通等刷卡进站,则此时,电子设备如果仅监测地铁乘车应用的触发信息,有可能会出现用户实际已经进站并处于预设交通场景却未被识别的情况,即发生漏检。因而本申请实施例既监测预设应用的触发信息也监测当前环境音,可大大降低漏检率,提高对预设交通场景的识别准确率。Wherein, the first trigger information is used to characterize the entry of the wearer of the headset, and the designated environmental sound is an environmental sound matching a preset traffic scene. In practical applications, the inventor found that the user can enter and exit the preset traffic scene through the preset application, or not pass. For example, in the subway scene, the user may enter the station through the subway application by swiping the code, or through the transportation card For example, Shenzhen Tong, Yangcheng Tong, etc. swipe the card to enter the station. At this time, if the electronic device only monitors the trigger information of the subway ride application, it may happen that the user has actually entered the station and is in the preset traffic scene but has not been recognized. Missed inspection occurred. Therefore, the embodiment of the present application monitors both the trigger information of the preset application and the current environmental sound, which can greatly reduce the missed detection rate and improve the recognition accuracy of the preset traffic scene.
由于用户在需要乘坐交通工具时,可能较大概率需要打开预设应用进行出入站或支付等,所以通过监测预设应用的触发信息,可确定耳机是否处于预设交通场景,实现场景的自动识别。Since the user may need to open a preset application for inbound and outbound or payment when he needs to take a vehicle, it is possible to determine whether the headset is in a preset traffic scene by monitoring the trigger information of the preset application, and realize automatic identification of the scene .
在一种实施方式中,第一触发信息可以是用于打开预设应用的应用打开指令,则可通过监测预设应用是否被打开,并在监测到用于打开预设应用的应用打开指令时,确定耳机处于预设交通场景。In an embodiment, the first trigger information may be an application opening instruction for opening a preset application, and it may be monitored whether the preset application is opened, and when the application opening instruction for opening the preset application is monitored , Make sure the headset is in the preset traffic scene.
在另一种实施方式中,第一触发信息也可以是电子设备基于预设应用所生成的信息,且该信息用于指示耳机的佩戴者进站,则可通过监测基于预设应用所生成的信息是否可用于指示耳机的佩戴者进站,并在检测到基于预设应用生成的信息可用于指示耳机的佩戴者进站时,确定耳机处于预设交通场景。从而可提高对耳机处于预设交通场景的判断准确率。具体实施方式可见后述实施例,在此不再赘述。In another implementation manner, the first trigger information may also be information generated by the electronic device based on a preset application, and the information is used to instruct the wearer of the headset to enter the station, and the information generated based on the preset application may be monitored. Whether the information can be used to instruct the wearer of the headset to enter the station, and when it is detected that the information generated based on the preset application can be used to instruct the wearer of the headset to enter the station, it is determined that the headset is in a preset traffic scene. Thereby, the accuracy of judging that the headset is in a preset traffic scene can be improved. Specific implementation manners can be seen in the following embodiments, which will not be repeated here.
另外,当耳机处于预设交通场景时,一般可监测到与预设交通场景匹配的环境音,所以可通过监测当前环境音,判断是否监测到指定环境音来实现场景的自动识别。In addition, when the earphone is in a preset traffic scene, it can generally detect the environmental sound that matches the preset traffic scene. Therefore, the current environmental sound can be monitored to determine whether the specified environmental sound is monitored to realize automatic recognition of the scene.
在一些实施例中,电子设备可采集当前环境音,并将当前环境音的音频特征与指定环境音的音频特征进行匹配,若匹配成功,可确定当前监测到指定环境音,则可确定耳机处于预设交通场景。在一些实施方式中,指定环境音可以 是交通工具开关门的声音,例如,对应地铁场景的地铁开关门声音;再如,对应公交车场景的公交车开关门声音等,在此不作限定。在另一些实施方式中,指定环境音也可以是交通工具的广播声音,如报站信息、站点信息等各种提示信息,例如,可对应地铁场景的“列车即将到站”、“请勿靠近屏蔽门”、“请排队候车并小心列车与站台之间的空隙”;再如,可对应公交车场景的“下车的乘客请带齐您的行李物品,从后门下车”。In some embodiments, the electronic device can collect the current environmental sound, and match the audio characteristics of the current environmental sound with the audio characteristics of the specified environmental sound. If the matching is successful, it can be determined that the specified environmental sound is currently monitored, and it can be determined that the headset is in Preset traffic scenes. In some embodiments, the designated ambient sound may be the door opening and closing sound of a vehicle, for example, a subway door opening and closing sound corresponding to a subway scene; another example, a bus door opening and closing sound corresponding to a bus scene, etc., which are not limited herein. In other embodiments, the designated environmental sound can also be the broadcast sound of the vehicle, such as station announcement information, station information and other prompt information. Screen door”, “please wait in line and be careful of the gap between the train and the platform”; another example is “passengers who get off the bus, please bring your luggage and get off the bus through the back door” that corresponds to the bus scene.
在一种实施方式中,电子设备可预先存储指定环境音的语谱图(Spectrogram),则在监测当前环境音时,可将所获取所采集的当前环境音的语谱图,将该语谱图与指定环境音的语谱图进行匹配,若匹配度高于预设阈值,可确定匹配成功,即可确定当前监测到指定环境音。其中,预设阈值可根据实际需要确定,也可由程序预设,还可为用户自定义,在此不做限定。In one embodiment, the electronic device may pre-store the spectrogram of the designated environmental sound, and then when monitoring the current environmental sound, the acquired spectrogram of the current environmental sound may be used for the spectrogram. The map is matched with the spectrogram of the designated environmental sound. If the matching degree is higher than the preset threshold, it can be determined that the matching is successful, and the designated environmental sound can be determined to be currently monitored. Among them, the preset threshold can be determined according to actual needs, can also be preset by a program, or can be customized by the user, which is not limited here.
步骤S130:将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。Step S130: Configure the noise reduction mode of the earphone as the traffic noise reduction mode corresponding to the preset traffic scene.
在确定耳机处于预设交通场景时,可将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。需要说明的是,不同场景对应不同的降噪模式,并针对不同的交通场景可对应不同的交通降噪模式,从而根据场景配置对应的交通降噪模式,可对每个场景的噪声进行针对性的降噪,实现较好的降噪效果。When it is determined that the headset is in a preset traffic scene, the noise reduction mode of the headset may be configured as a traffic noise reduction mode corresponding to the preset traffic scene. It should be noted that different scenes correspond to different noise reduction modes, and different traffic noise reduction modes can be corresponded to different traffic scenes, so that the corresponding traffic noise reduction mode can be configured according to the scene, and the noise of each scene can be targeted The noise reduction, to achieve a better noise reduction effect.
在一些实施方式中,若由终端执行步骤S120,则在终端确定耳机处于预设交通场景时,终端可发送模式开启信息至耳机,模式开启信息用于指示耳机开启预设交通场景对应的交通降噪模式。作为一种方式,终端可基于无线通信协议将模式开启信息发送至耳机,例如,终端可通过蓝牙与耳机进行通信,与耳机进行数据传输。In some embodiments, if step S120 is performed by the terminal, when the terminal determines that the headset is in a preset traffic scene, the terminal may send mode on information to the headset, and the mode on information is used to instruct the headset to turn on the traffic drop corresponding to the preset traffic scene. Noise mode. As a way, the terminal can send the mode-on information to the headset based on the wireless communication protocol. For example, the terminal can communicate with the headset via Bluetooth and perform data transmission with the headset.
在另一些实施方式中,若由耳机执行步骤S120,则可在耳机确定耳机处于预设交通场景时,将自身的降噪模式配置为预设交通场景对应的交通降噪模式。In other embodiments, if step S120 is performed by the headset, when the headset determines that the headset is in the preset traffic scene, the noise reduction mode of the headset can be configured as the traffic noise reduction mode corresponding to the preset traffic scene.
在一些实施例中,耳机可支持多种降噪模式,则在确定耳机处于预设交通场景时,可判断耳机当前是否开启降噪模式,或当前降噪模式是否为预设交通场景对应的交通降噪模式;若未开启降噪模式,可开启预设交通场景对应的交通降噪模式;若已开启降噪模式,但当前降噪模式并非预设交通场景对应的交通降噪模式,可关闭当前降噪模式,开启预设交通场景对应的交通降噪模式。In some embodiments, the headset can support multiple noise reduction modes. When it is determined that the headset is in a preset traffic scene, it can be determined whether the headset is currently turned on the noise reduction mode, or whether the current noise reduction mode is the traffic corresponding to the preset traffic scene. Noise reduction mode; if the noise reduction mode is not turned on, the traffic noise reduction mode corresponding to the preset traffic scene can be turned on; if the noise reduction mode is turned on, but the current noise reduction mode is not the traffic noise reduction mode corresponding to the preset traffic scene, it can be turned off Current noise reduction mode, turn on the traffic noise reduction mode corresponding to the preset traffic scene.
本申请实施例提供的降噪模式控制方法,通过监测当前环境音以及适于在预设交通场景下运行的预设应用的触发信息,若监测到用于表征耳机的佩戴者进站的第一触发信息以及指定环境音中的至少一个,确定耳机处于预设交通场景,其中,指定环境音为与预设交通场景匹配的环境音,并将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。由此,本申请通过监测环境音和预设应用的触发信息,自动识别耳机是否处于预设交通场景,并在耳机处于预设交通场景时,自动配置对应的交通降噪模式,从而无需用户手动配置,即可自动根据预设交通场景配置降噪模式,保证降噪效果的同时,简化了耳机应用的操作,提升了用户体验。The noise reduction mode control method provided by the embodiment of the application monitors the current environmental sound and the trigger information of a preset application suitable for running in a preset traffic scene. At least one of the trigger information and the designated ambient sound is determined to determine that the headset is in a preset traffic scene, where the designated ambient sound is an ambient sound that matches the preset traffic scene, and the noise reduction mode of the headset is configured to correspond to the preset traffic scene Traffic noise reduction mode. Therefore, this application automatically recognizes whether the headset is in a preset traffic scene by monitoring the environmental sound and the trigger information of the preset application, and automatically configures the corresponding traffic noise reduction mode when the headset is in the preset traffic scene, thereby eliminating the need for the user to manually Configuration, the noise reduction mode can be automatically configured according to the preset traffic scene, while ensuring the noise reduction effect, it simplifies the operation of the headset application and improves the user experience.
请参阅图4,图4示出了本申请另一实施例提供的降噪模式控制方法的流程示意图,该方法可应用于上述电子设备,该方法可以包括:Please refer to FIG. 4. FIG. 4 shows a schematic flowchart of a noise reduction mode control method provided by another embodiment of the present application. The method can be applied to the above-mentioned electronic device, and the method may include:
步骤S210:监测当前环境音以及预设应用的触发信息。Step S210: Monitoring the current environmental sound and the trigger information of the preset application.
步骤S220:若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于预设交通场景。Step S220: If at least one of the first trigger information and the designated environmental sound is detected, it is determined that the headset is in a preset traffic scene.
在一些实施例中,在步骤S220之前,还可包括步骤S221至步骤S223,具体地,请参阅图5,图5示出了本申请一个示例性实施例提供的触发信息生成方法的流程示意图,下面以地铁场景为例进行说明,在步骤S220之前,可包括:In some embodiments, before step S220, step S221 to step S223 may be further included. Specifically, please refer to FIG. 5. FIG. 5 shows a schematic flowchart of a trigger information generation method provided by an exemplary embodiment of the present application. The following takes a subway scene as an example for description. Before step S220, it may include:
步骤S221:获取应用打开指令,启动预设应用。Step S221: Obtain an application opening instruction, and start a preset application.
步骤S222:基于预设应用生成用于出入站的乘车标识。Step S222: Generate a boarding mark for in and out of the station based on a preset application.
步骤S223:若乘车标识被扫描,生成触发信息。Step S223: If the ride identification is scanned, trigger information is generated.
在一些交通场景如地铁场景下,用户可通过预设应用刷码进出站,预设应用可以是地铁乘车应用,地铁乘车应用可生成用于出入站的乘车标识。在一些示例中,乘车标识的形式可以是二维码等,本实施例对乘车标识的具体形式不作限定。如果用户进站刷码时,可打开预设应用,利用预设应用生成的乘车标识对准读取设备进行刷码,当乘车标识被读取设备扫描时,预设应用可生成触发信息,在一些示例中,还可识别出用户进站的站点名称等信息。例如,在上海乘坐地铁,用户一般使用大都会应用,刷码成功后会弹出进站成功的信息界面,其中,该信息界面是根据刷码生成的第一触发信息生成的。因而若监测到第一触发信息,可确定耳机处于预设交通场景。In some traffic scenarios, such as subway scenarios, users can enter and exit the station through a preset application by swiping the code. The preset application can be a subway ride application, and the subway ride application can generate a ride sign for entering and exiting the station. In some examples, the form of the ride identification may be a two-dimensional code or the like, and this embodiment does not limit the specific form of the ride identification. If the user enters the station to scan the code, he can open the preset application and use the travel identification generated by the preset application to align the reading device to scan the code. When the travel identification is scanned by the reading device, the preset application can generate trigger information In some examples, it can also identify information such as the name of the site where the user enters the station. For example, when taking the subway in Shanghai, the user generally uses the Metropolis application. After the code is successfully swiped, an information interface of successful entry will pop up, where the information interface is generated based on the first trigger information generated by the code swiping. Therefore, if the first trigger information is monitored, it can be determined that the headset is in a preset traffic scene.
在一些实施方式中,触发信息可用于生成显示界面,如用户界面(User Interface,UI)信息,则电子设备可监测触发信息,通过解析该触发信息,可根据该触发信息表征进站还是出站,若表征进站可确定耳机处于预设交通场景,若表征出站可确定耳机不处于预设交通场景。在一些示例中,可通过系统埋点实现监测,监测或监听预设应用运行过程中的事件,并设置第一触发信息为需关注事件,从而在该事件发生时,即第一触发信息生成时,可被电子设备捕获到,即可被电子设备监测到。In some embodiments, the trigger information can be used to generate a display interface, such as user interface (UI) information, the electronic device can monitor the trigger information, and by parsing the trigger information, the inbound or outbound can be characterized according to the trigger information , If the character is entering the station, it can be determined that the earphone is in the preset traffic scene, and if the character is leaving the station, it can be determined that the earphone is not in the preset traffic scene. In some examples, monitoring can be achieved through system embedding points, monitoring or listening to events in the running process of a preset application, and setting the first trigger information as an event to be concerned, so that when the event occurs, that is, when the first trigger information is generated , Can be captured by electronic equipment, and can be monitored by electronic equipment.
并在一种实施方式中,乘车标识被扫描后,预设应用还可确定当前站点的站点名称等信息。例如,若监测到UI信息是id/tvOutName(TextView)-“成功进站-龙华中路”,则该UI信息为第一触发信息,表征耳机的佩戴者进站,此时可确定耳机处于预设交通场景,并且当前进站的站点名称为龙华中路。And in an implementation manner, after the ride identification is scanned, the preset application can also determine information such as the site name of the current site. For example, if it is detected that the UI information is id/tvOutName(TextView)-"Successfully pitted-Longhua Middle Road", then the UI information is the first trigger information, which indicates that the wearer of the headset has entered the station. At this time, it can be determined that the headset is in the preset Traffic scene, and the name of the current stop is Longhua Middle Road.
在一些实施方式中,第一触发信息可用于生成表征进站的界面,例如,该界面可显示“进站成功”、当前进站的站点名称等信息,如图6所示,图6示出了本申请一个示例性实施例提供的一种进站提示的界面示意图。In some embodiments, the first trigger information can be used to generate an interface that characterizes an inbound station. For example, the interface may display information such as "inbound successful", the name of the station currently inbound, as shown in FIG. 6 and FIG. 6 A schematic diagram of an interface for an inbound prompt provided by an exemplary embodiment of the present application is shown.
需要说明的是,地铁乘车应用可以是独立的地铁乘车应用,例如,在上海乘坐地铁所使用的大都会应用;也可以是小程序,例如在深圳乘坐地铁所使用的乘车码小程序,本实施例对地铁乘车应用的具体类型也不作限定。It should be noted that the subway ride application can be an independent subway ride application, for example, the metropolitan application used for subway rides in Shanghai; it can also be a mini program, such as the ride code mini program used for subway rides in Shenzhen In this embodiment, the specific types of subway ride applications are not limited.
另外,在一些实施例中,预设应用还可以是用于连接热点的WiFi连接应用,在WiFi连接开关打开时,可扫描电子设备周围的热点,获取热点的热点信息,则电子设备可预先存储有与预设交通场景对应的指定热点信息,以地铁场景为例,如果地铁站有固定WiFi设备,可通过前期采集站点的wifi设备的BSSID等信息,并作为与地铁场景对应的指定热点信息存储于终端或耳机。从而可通过监测WiFi连接应用所扫描到的热点信息,在所扫描到的热点信息包含指定热点信息时,确定耳机处于预设交通场景。具体可通过系统埋点实现监测。In addition, in some embodiments, the preset application can also be a WiFi connection application used to connect to a hotspot. When the WiFi connection switch is turned on, it can scan the hotspots around the electronic device to obtain hotspot information, and the electronic device can store it in advance. There is designated hotspot information corresponding to the preset traffic scene. Take the subway scene as an example. If the subway station has a fixed WiFi device, the BSSID and other information of the wifi device of the station can be collected in the early stage and stored as the designated hotspot information corresponding to the subway scene In the terminal or headset. Thus, by monitoring the hotspot information scanned by the WiFi connection application, when the scanned hotspot information includes the designated hotspot information, it can be determined that the headset is in a preset traffic scene. Specifically, monitoring can be achieved through system burial points.
其中,热点信息可包括服务集标识(Service Set Identifier,SSID)和基本服务集标识(Basic Service Set Identifier,BSSID)中至少一个,另外,由于BSSID唯一表征一个WiFi设备,可以被用于准确地识别站点,从而通过BSSID确定耳机是否处于预设交通场景,可提高场景识别准确率。Among them, the hotspot information may include at least one of Service Set Identifier (SSID) and Basic Service Set Identifier (BSSID). In addition, since the BSSID uniquely characterizes a WiFi device, it can be used to accurately identify The site can determine whether the headset is in a preset traffic scene through the BSSID, which can improve the accuracy of scene recognition.
在另一些实施例中,预设应用还可以是可用于获取终端或耳机当前的地理位置信息如GPS位置信息的应用,如地图应用等。则以地铁场景为例,如果地铁站是地面站点,GPS信号较好,可以通过前期采集站点的GPS位置信息与地铁场景对应存储于终端或耳机。从而可获取电子设备的地理位置信息,以在根据地理位置信息确定地当前站点为地面站点时,确定耳机处于预设交通场景,从而可实现对地面站点的准确的场景识别。In other embodiments, the preset application may also be an application that can be used to obtain the current geographic location information of the terminal or the headset, such as GPS location information, such as a map application. Taking the subway scene as an example, if the subway station is a ground station and the GPS signal is good, the GPS location information of the station can be collected in the early stage and stored in the terminal or headset corresponding to the subway scene. In this way, the geographic location information of the electronic device can be acquired to determine that the headset is in a preset traffic scene when it is determined that the current site is a ground site based on the geographic location information, so that accurate scene recognition of the ground site can be realized.
步骤S230:将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。Step S230: Configure the noise reduction mode of the earphone as the traffic noise reduction mode corresponding to the preset traffic scene.
在一些实施方式中,可以预先构建一个交通降噪模型,对应交通降噪模式,则在耳机打开交通降噪模式时,可基于对应的交通降噪模型进行降噪。例如,交通降噪模型可采用卷积循环神经网络(Convolutional-Recurrent Neural Networks)算法得到,可以通过分别采集地铁噪声和人的声音作为训练集进行训练,结果输出人的声音来实现对地铁噪声的降噪。在另一些实施方式中,也可采用其他算法构建交通降噪模型,对交通噪声进行降噪,本实施例对此不作限定。In some embodiments, a traffic noise reduction model can be constructed in advance to correspond to the traffic noise reduction mode, and when the headset is turned on the traffic noise reduction mode, noise reduction can be performed based on the corresponding traffic noise reduction model. For example, the traffic noise reduction model can be obtained by using the Convolutional-Recurrent Neural Networks algorithm. It can be trained by separately collecting subway noise and human voice as a training set, and outputting the human voice to achieve the Noise reduction. In other embodiments, other algorithms can also be used to construct a traffic noise reduction model to reduce traffic noise, which is not limited in this embodiment.
步骤S240:若耳机不处于预设交通场景,关闭交通降噪模式。Step S240: If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
在一些实施例中,步骤S240可包括步骤S241至步骤S242,以在耳机的降噪模式为交通降噪模式时,通过监测预设应用的触发信息来确定耳机是否已不处于预设交通场景。具体地,请参阅图7,图7示出了本申请一个示例性实施例提供的图4中步骤S240的流程示意图,步骤S240可包括:In some embodiments, step S240 may include step S241 to step S242, to determine whether the headset is no longer in a preset traffic scene by monitoring trigger information of a preset application when the noise reduction mode of the headset is the traffic noise reduction mode. Specifically, please refer to FIG. 7. FIG. 7 shows a schematic flowchart of step S240 in FIG. 4 provided by an exemplary embodiment of the present application. Step S240 may include:
步骤S241:若监测到第二触发信息,确定耳机已不处于预设交通场景。Step S241: If the second trigger information is detected, it is determined that the headset is no longer in the preset traffic scene.
步骤S242:若耳机不处于预设交通场景,关闭交通降噪模式。Step S242: If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
在耳机处于预设交通场景时,若乘车标识被扫描,可生成第二触发信息,其中,第二触发信息用于表征耳机的佩戴者出站。若监测到第二触发信息,可确定耳机已不处于预设交通场景,而无需继续开启预设交通场景对应的交通降噪模式,则此时可关闭交通降噪模式。When the earphone is in a preset traffic scene, if the riding logo is scanned, second trigger information can be generated, where the second trigger information is used to characterize the wearer of the earphone going out of the station. If the second trigger information is monitored, it can be determined that the headset is no longer in the preset traffic scene, and there is no need to continue to turn on the traffic noise reduction mode corresponding to the preset traffic scene, then the traffic noise reduction mode can be turned off at this time.
在一些实施方式中,若由终端执行步骤S242,则在终端确定耳机不处于 预设交通场景时,终端可发送模式关闭信息至耳机,模式关闭信息用于指示耳机关闭预设交通场景对应的交通降噪模式。作为一种方式,终端可基于无线通信协议将模式关闭信息发送至耳机。In some embodiments, if step S242 is executed by the terminal, when the terminal determines that the headset is not in the preset traffic scene, the terminal may send mode off information to the headset, and the mode off information is used to instruct the headset to turn off the traffic corresponding to the preset traffic scene. Noise reduction mode. As a way, the terminal may send the mode close information to the headset based on the wireless communication protocol.
在另一些实施方式中,若由耳机执行步骤S242,则可在耳机确定耳机不处于预设交通场景时,将关闭预设交通场景对应的交通降噪模式。In other embodiments, if step S242 is performed by the headset, when the headset determines that the headset is not in the preset traffic scene, the traffic noise reduction mode corresponding to the preset traffic scene may be turned off.
在一些实施方式中,根据第二触发信息,电子设备可生成表征出站的界面,例如,该界面可显示“出站成功”、当前出站的站点名称等信息。In some embodiments, based on the second trigger information, the electronic device may generate an interface that characterizes outbound. For example, the interface may display information such as "Outbound Successful", the name of the current outbound site, and so on.
在一些实施例中,步骤S240可包括步骤S243至步骤S245,以在耳机的降噪模式为交通降噪模式时,通过继续监测在预设时间段内是否可再次监测到指定环境音,来确定耳机是否已不处于预设交通场景。从而可对不通过预设应用出站的情况进行监测,以降低漏检率,提高场景识别准确率。具体地,请参阅图8,图8示出了本申请一个示例性实施例提供的图4中步骤S240的流程示意图,步骤S240可包括:In some embodiments, step S240 may include step S243 to step S245. When the noise reduction mode of the earphone is the traffic noise reduction mode, it is determined by continuing to monitor whether the specified environmental sound can be detected again within a preset time period. Whether the headset is no longer in the preset traffic scene. In this way, it is possible to monitor the outbound situation that does not pass through the preset application, so as to reduce the missed detection rate and improve the accuracy of scene recognition. Specifically, please refer to FIG. 8. FIG. 8 shows a schematic flowchart of step S240 in FIG. 4 provided by an exemplary embodiment of the present application. Step S240 may include:
步骤S243:在耳机处于预设交通场景时,监测当前环境音。Step S243: When the earphone is in a preset traffic scene, monitor the current environmental sound.
步骤S244:若预设时间段内未监测到指定环境音,确定耳机已不处于预设交通场景。Step S244: If the designated environmental sound is not detected within the preset time period, it is determined that the headset is no longer in the preset traffic scene.
步骤S245:若耳机不处于预设交通场景,关闭交通降噪模式。Step S245: If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
在确定耳机处于预设交通场景后,可监测当前环境音,并在第一次监测到当前环境音后,可启动计时,若计时开始后预设时间段内未监测到指定环境音,可确定耳机不处于预设交通场景,进而关闭交通降噪模式。由于地铁行驶过程中,每经停一站会至少开关一次门,那么在用户乘坐地铁时,地铁每经停一站,电子设备应可监测到至少一次指定环境音,若超过预设时间段未监测到指定环境音,说明用户可能已经离开地铁,因而通过上述方法可对耳机不处于预设交通场景时进行准确监测,以及时随着场景的切换而切换降噪模式。After confirming that the earphone is in the preset traffic scene, the current environmental sound can be monitored, and after the current environmental sound is detected for the first time, the timing can be started. If the specified environmental sound is not detected within the preset time period after the start of the timing, it can be determined The headset is not in the preset traffic scene, and the traffic noise reduction mode is turned off. Since the door is opened and closed at least once for each stop during the subway driving, the electronic equipment should be able to detect the designated ambient sound at least once when the user takes the subway and each stop the subway stops. The specified environmental sound is monitored, indicating that the user may have left the subway. Therefore, the above method can accurately monitor the earphone when it is not in the preset traffic scene, and switch the noise reduction mode as the scene changes in time.
其中,预设时间段可根据实际需要确定,如可根据地铁在站点与站点之间行驶所需的行驶时间间隔,确定预设时间段的时间长度,以站点A的下一站为站点B为例,地铁从站点A行驶至站点B所需的时间即为地铁在站点A与站点B之间行驶所需的行驶时间间隔。另外,预设时间段也可由程序预设,还可以是用户自定义,在此不作限定。Among them, the preset time period can be determined according to actual needs. For example, the length of the preset time period can be determined according to the travel time interval required by the subway between stations and stations, and the next station of station A is station B as For example, the time required for the subway to travel from station A to station B is the travel time interval required for the subway to travel between station A and station B. In addition, the preset time period can also be preset by the program or customized by the user, which is not limited here.
在一些实施方式中,可将预设时间段的时间长度设置为大于等于最大行驶时间间隔,例如,预设时间段的时间长度可以为3分钟、5分钟、10分钟等,本实施例对此不作限定。In some embodiments, the time length of the preset time period may be set to be greater than or equal to the maximum travel time interval. For example, the time length of the preset time period may be 3 minutes, 5 minutes, 10 minutes, etc. Not limited.
另外,由于不同线路的地铁的行驶时间间隔可能不同,因而在另一些实施方式中,预设时间长度还可根据当前站点或当前站点所对应的地铁线路进行调整,从而可更准确且及时地监测到耳机不处于预设交通场景的事件,以及时关闭对应的交通降噪模式。In addition, since the travel time intervals of the subways of different lines may be different, in other embodiments, the preset time length can also be adjusted according to the current station or the subway line corresponding to the current station, so that the monitoring can be more accurate and timely. To the event that the headset is not in the preset traffic scene, turn off the corresponding traffic noise reduction mode in time.
另外,在一些实施例中,在耳机处于预设交通场景时,可既监测预设应用的触发信息,也可监测当前环境音,并在监测到预设应用的第二触发信息,或 预设时间段内未监测到指定环境音时,确定耳机已不处于预设交通场景,并关闭交通降噪模式。In addition, in some embodiments, when the headset is in a preset traffic scene, both the trigger information of the preset application and the current environmental sound may be monitored, and the second trigger information of the preset application or the preset application may be monitored. When the specified ambient sound is not detected within the time period, it is determined that the headset is no longer in the preset traffic scene, and the traffic noise reduction mode is turned off.
在另一些实施例中,在耳机处于预设交通场景时,也可仅监测预设应用的触发信息或当前环境音中的一个,以在提高降噪体验的同时,降低电子设备的功耗。In other embodiments, when the headset is in a preset traffic scene, only one of the trigger information of the preset application or the current ambient sound may be monitored, so as to improve the noise reduction experience while reducing the power consumption of the electronic device.
在一些实施方式中,若电子设备是通过监测到预设应用的第一触发信息,确定耳机处于预设交通场景,那么在耳机处于预设交通场景,或者说当前耳机的降噪模式为预设交通场景对应的交通降噪模式时,可仅监测预设应用的第二触发信息,而控制音频采集装置关闭或休眠,使其不采集音频,从而可降低电子设备的功耗。由于用户刷码进站后一般会刷码出站,故通过在监测到用户刷码进站并开启交通降噪模式后,仅继续监测用户刷码出站的动作,可以准确地监测耳机是否还处于预设交通场景,则此时通过将音频采集装置关闭或休眠,降低功耗,提高降噪体验的同时延长电子设备的待机时间。In some embodiments, if the electronic device determines that the headset is in the preset traffic scene by monitoring the first trigger information of the preset application, then the headset is in the preset traffic scene, or the noise reduction mode of the current headset is the preset In the traffic noise reduction mode corresponding to the traffic scene, only the second trigger information of the preset application can be monitored, and the audio collection device can be controlled to shut down or sleep so that it does not collect audio, thereby reducing the power consumption of the electronic device. Since the user usually swipes out of the station after swiping the code to enter the station, by monitoring the user’s swiping code to enter the station and turning on the traffic noise reduction mode, only continue to monitor the user’s swiping out of the station, and it is possible to accurately monitor whether the headset is returned. In a preset traffic scene, at this time, by turning off or sleeping the audio collection device, power consumption is reduced, noise reduction experience is improved, and the standby time of the electronic device is prolonged.
在另一些实施方式中,若电子设备是通过监测到指定环境音,确定耳机处于预设交通场景,那么在耳机处于预设交通场景,或者说当前耳机的降噪模式为预设交通场景对应的交通降噪模式时,可仅监测当前环境音,而不监测预设应用的触发信息,并若预设时间段内未监测到指定环境音,即确定耳机已不处于预设交通场景,进而关闭交通降噪模式。In other embodiments, if the electronic device determines that the headset is in the preset traffic scene by monitoring the specified environmental sound, then the headset is in the preset traffic scene, or the noise reduction mode of the current headset corresponds to the preset traffic scene In the traffic noise reduction mode, you can only monitor the current ambient sound without monitoring the trigger information of the preset application. If the specified ambient sound is not detected within the preset time period, it is determined that the headset is not in the preset traffic scene, and then turned off Traffic noise reduction mode.
需要说明的是,本实施例中未详细描述的部分可以参考前述实施例,在此不再赘述。It should be noted that, for parts that are not described in detail in this embodiment, reference may be made to the foregoing embodiment, which will not be repeated here.
本实施例提供的降噪模式控制方法,在前述实施例的基础上,在耳机处于预设交通场景时,通过继续监测预设应用的触发信息和预设时间段内是否再次监测到指定环境音中至少一个,并在监测到第二触发信息和预设时间段内未再次监测到指定环境音中的至少一个时,确定耳机不处于预设交通场景,并在耳机不处于预设交通场景时,自动关闭预设交通场景对应的交通降噪模式,从而实现进出预设交通场景时降噪模式的自动开启和关闭,进一步简化用户的操作,无需用户手动配置,提升用户体验。The noise reduction mode control method provided in this embodiment is based on the foregoing embodiment. When the headset is in a preset traffic scene, it continues to monitor the trigger information of the preset application and whether the specified environmental sound is detected again within the preset time period. When the second trigger information is monitored and at least one of the designated environmental sounds is not monitored again within the preset time period, it is determined that the headset is not in the preset traffic scene, and when the headset is not in the preset traffic scene , The traffic noise reduction mode corresponding to the preset traffic scene is automatically turned off, so that the noise reduction mode is automatically turned on and off when entering and exiting the preset traffic scene, which further simplifies the user's operation, does not require manual configuration by the user, and improves the user experience.
请参阅图9,图9示出了本申请又一实施例提供的降噪模式控制方法的流程示意图,该方法可应用于上述电子设备,该方法可包括:Please refer to FIG. 9. FIG. 9 shows a schematic flow chart of a noise reduction mode control method provided by another embodiment of the present application. The method can be applied to the above-mentioned electronic device. The method may include:
步骤S310:监测当前环境音以及预设应用的触发信息。Step S310: Monitoring the current environmental sound and the trigger information of the preset application.
步骤S320:若监测到第一触发信息,判断是否监测到指定环境音。Step S320: If the first trigger information is detected, it is determined whether the designated environmental sound is detected.
若监测到第一触发信息,判断是否监测到指定环境音,并若监测到指定环境音,可指定步骤S330。If the first trigger information is detected, it is determined whether the designated environmental sound is detected, and if the designated environmental sound is detected, step S330 may be designated.
在一些可能的实施例中,若未监测到指定环境音,可不确定耳机处于预设交通场景,不将耳机的降噪模式配置为预设交通场景对应的交通降噪模式,从而可以避免误操作导致的场景识别错误,提高场景识别准确率。In some possible embodiments, if the specified ambient sound is not detected, it is not certain that the headset is in the preset traffic scene, and the noise reduction mode of the headset is not configured as the traffic noise reduction mode corresponding to the preset traffic scene, so as to avoid misoperation The resulting scene recognition error improves the accuracy of scene recognition.
步骤S330:若监测到指定环境音,确定耳机处于预设交通场景。Step S330: If the designated environmental sound is detected, it is determined that the headset is in a preset traffic scene.
步骤S340:将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。Step S340: Configure the noise reduction mode of the earphone as the traffic noise reduction mode corresponding to the preset traffic scene.
在一些实施例中,在耳机处于预设交通场景或耳机的降噪模式为交通降噪模式时,也可根据上述实施例所述的方法监测耳机是否离开或已不处于预设交通场景,并在耳机不处于预设交通场景时,关闭预设交通场景对应的交通降噪模式。从而实现根据场景自动开启或关闭交通降噪模式。In some embodiments, when the earphone is in the preset traffic scene or the noise reduction mode of the earphone is the traffic noise reduction mode, the method described in the above embodiments can also be used to monitor whether the earphone has left or is no longer in the preset traffic scene, and When the headset is not in the preset traffic scene, turn off the traffic noise reduction mode corresponding to the preset traffic scene. In this way, the traffic noise reduction mode can be automatically turned on or off according to the scene.
需要说明的是,本实施例中未详细描述的部分可以参考前述实施例,在此不再赘述。It should be noted that, for parts that are not described in detail in this embodiment, reference may be made to the foregoing embodiment, which will not be repeated here.
本实施例提供的降噪模式控制方法,通过监测当前环境音以及预设应用的触发信息,并若监测到第一触发信息,再判断是否监测到指定环境音,并在监测到指定环境音时,确定耳机处于预设交通场景,将耳机的降噪模式配置为预设交通场景对应的交通降噪模式。进一步地,在耳机处于预设交通场景或耳机的降噪模式为交通降噪模式时,也可根据上述实施例所述的方法监测耳机是否离开或已不处于预设交通场景,并在耳机不处于预设交通场景时,关闭预设交通场景对应的交通降噪模式。从而实现根据场景自动开启或关闭交通降噪模式。The noise reduction mode control method provided in this embodiment monitors the current environmental sound and the trigger information of the preset application, and if the first trigger information is detected, then determines whether the designated environmental sound is detected, and when the designated environmental sound is detected , It is determined that the headset is in the preset traffic scene, and the noise reduction mode of the headset is configured as the traffic noise reduction mode corresponding to the preset traffic scene. Further, when the earphone is in the preset traffic scene or the noise reduction mode of the earphone is the traffic noise reduction mode, it can also be monitored according to the method described in the above embodiment whether the earphone has left or is not in the preset traffic scene, and the earphone is not in the preset traffic scene. When in the preset traffic scene, turn off the traffic noise reduction mode corresponding to the preset traffic scene. In this way, the traffic noise reduction mode can be automatically turned on or off according to the scene.
下面以预设交通场景为地铁场景的一个示例对上述实施例提供的降噪模式控制方法进行示例性说明,请参阅图10,图10示出了本申请再一实施例提供的降噪模式控制方法的流程示意图,具体地,该方法可以包括:The following uses a preset traffic scene as an example of a subway scene to illustrate the noise reduction mode control method provided in the above embodiment. Please refer to FIG. 10, which shows the noise reduction mode control provided by another embodiment of the present application. A schematic flow chart of the method. Specifically, the method may include:
S1:是否刷码进站。S1: Whether to swipe the code to enter the station.
如果用户进站扫描二维码,可以通过对UI信息的解析,识别出用户进站的站点名称,进而判断手机处于地铁模式,即耳机处于地铁场景。例如,用户在上海乘坐地铁,通常可使用大都会应用刷码进站,刷码成功后会弹出进站成功的信息界面,如图6所示。其中,终端可通过系统埋点获取目的UI信息,目的UI信息可对应上述第一触发信息。If the user enters the station to scan the QR code, the name of the station where the user enters the station can be identified through the analysis of the UI information, and then it can be judged that the mobile phone is in the subway mode, that is, the headset is in the subway scene. For example, if a user takes the subway in Shanghai, he can usually use the Metropolitan App to swipe the code to enter the station. After the code is successfully swiped, an information interface indicating that the entry is successful will pop up, as shown in Figure 6. Among them, the terminal may obtain the target UI information through the system embedded point, and the target UI information may correspond to the above-mentioned first trigger information.
S2:监测地铁开关门声音。S2: Monitor the sound of subway door opening and closing.
如果用户未通过刷码进站,可根据地铁开关门声音进行识别用户是否进入地铁。预先可采集好地铁开关门声音的语谱图,得到地铁开关门的警铃音特征。If the user does not enter the station by swiping the code, the user can identify whether the user has entered the subway according to the sound of subway opening and closing. The spectrogram of the subway door opening and closing sound can be collected in advance, and the alarm bell sound characteristics of the subway door opening and closing can be obtained.
S3:判断是否检测到地铁开关门声音。S3: Determine whether the sound of subway door opening and closing is detected.
若检测到地铁开关门声音可执行步骤S4,若未检测到地铁开关门声音,可继续监测。If the door opening and closing sound of the subway is detected, step S4 can be executed, and if the door opening and closing sound of the subway is not detected, the monitoring can be continued.
S4:发送地铁模式开启信息。S4: Send a message that the subway mode is turned on.
S5:开启地铁降噪模式。S5: Turn on the subway noise reduction mode.
当确定此时处于地铁模式后,终端可发送地铁模式开启信息,耳机服务收到该地铁模式开启信息后,可通过蓝牙和耳机通信,打开耳机的地铁降噪模式。其中,耳机服务可以是终端的一个后台服务。When it is determined that it is in the subway mode at this time, the terminal can send the subway mode opening message. After the headset service receives the subway mode opening message, it can communicate with the headset via Bluetooth to turn on the subway noise reduction mode of the headset. Among them, the headset service may be a background service of the terminal.
S6:是否刷码出站。S6: Whether to swipe the code to leave the station.
S7:监测地铁开关门声音。S7: Monitor the sound of subway door opening and closing.
S8:检测一段时间内是否有地铁开关门声音。S8: Detect whether there is the sound of subway door opening and closing within a period of time.
S9:发送地铁模式关闭信息。S9: Send the subway mode shutdown message.
S10:关闭地铁降噪模式。S10: Turn off the subway noise reduction mode.
用户出站离开地铁时,如果用户是通过应用刷码出站,识别方法与进站类似,不作赘述。而对于非刷码出站,会监测地铁开关门声音,检测最近一段时间内(如10分钟之内)是否检测到地铁开关门的声音,如果一段时间内没有检测到地铁的开关门声音,确定用户当前已出站,即耳机已不处于地铁场景。出站会发送地铁模式关闭信息,耳机服务收到该地铁模式关闭信息后,关闭地铁降噪模式,可以切换到默认降噪模式,以对常见的环境声音进行降噪,也可切换到其他降噪模式,还可不开启任何降噪模式,本实施例对此不作限定。When the user leaves the subway, if the user exits the station by swiping the app, the identification method is similar to that of entering the station, so I won’t repeat it. For non-swiping out of the station, the subway door opening and closing sound will be monitored, and whether the subway door opening and closing sound has been detected in the most recent period of time (such as within 10 minutes). If the subway door opening and closing sound is not detected within a period of time, confirm The user is currently out of the station, that is, the headset is no longer in the subway scene. When leaving the station, it will send the subway mode closure message. After the headset service receives the subway mode closure message, it will turn off the subway noise reduction mode. You can switch to the default noise reduction mode to reduce the noise of common environmental sounds, or switch to other reductions. In the noise mode, any noise reduction mode may not be turned on, which is not limited in this embodiment.
需要说明的是,本实施例中未详细描述的部分可以参考前述实施例,在此不再赘述。It should be noted that, for parts that are not described in detail in this embodiment, reference may be made to the foregoing embodiment, which will not be repeated here.
本实施例提供的降噪模式控制方法,通过结合用户刷码进站和地铁开关门声音的识别,检测出用户当前是否处于地铁中。然后将地铁模式的开关信息发送到耳机服务中,用于耳机地铁降噪模式的自动开启和关闭,简化了耳机应用的操作,提升了用户体验。具体地,用户刷码进站时的预设应用以及其页面信息,确定是否刷码进站;对于非刷码用户,通过识别地铁的开关门声音来进行地铁模式的识别。在识别到地铁模式后,会通过无线通信协议发送地铁模式开启的广播到耳机服务,用于将耳机当前的降噪模式切换到地铁降噪模式。在监测到刷码出站或者一段时间内检测不到地铁的开关门声音时,发送关闭地铁模式的广播到耳机服务,用于将耳机服务当前开启的地铁降噪模式关闭,切换到默认降噪模式,或不开启降噪模式。从而实现了降噪耳机的地铁降噪模式的智能切换,提升了用户体验。The noise reduction mode control method provided in this embodiment detects whether the user is currently in the subway by combining the user's swiping to enter the station and the recognition of the subway door opening and closing voice. Then the switch information of the subway mode is sent to the headset service, which is used to automatically turn on and off the subway noise reduction mode of the headset, which simplifies the operation of the headset application and improves the user experience. Specifically, the preset application and its page information when the user swipes the code to enter the station determine whether to swipe the code to enter the station; for non-swipe users, the subway mode identification is performed by recognizing the opening and closing sound of the subway door. After the subway mode is recognized, the broadcast of the subway mode is sent to the headset service through the wireless communication protocol, which is used to switch the current noise reduction mode of the headset to the subway noise reduction mode. When it is detected that the code is out of the station or the door opening and closing sound of the subway is not detected for a period of time, the broadcast of closing the subway mode is sent to the headset service, which is used to turn off the subway noise reduction mode currently turned on by the headset service and switch to the default noise reduction Mode, or don’t turn on noise reduction mode. In this way, the intelligent switching of the subway noise reduction mode of the noise reduction headset is realized, and the user experience is improved.
请参阅图11,其示出了本申请实施例提供的一种降噪模式控制装置1200的结构框图,该降噪模式控制装置1200可应用于上述移动终端,该降噪模式控制装置1200可以包括:信息监测模块1210、场景确定模块1220以及模式配置模块1230,具体地:Refer to FIG. 11, which shows a structural block diagram of a noise reduction mode control device 1200 provided by an embodiment of the present application. The noise reduction mode control device 1200 can be applied to the above-mentioned mobile terminal. The noise reduction mode control device 1200 may include : Information monitoring module 1210, scene determination module 1220, and mode configuration module 1230, specifically:
信息监测模块1210,用于监测当前环境音以及预设应用的触发信息,所述预设应用适于在预设交通场景下运行;The information monitoring module 1210 is used to monitor current environmental sounds and trigger information of preset applications, which are suitable for running in preset traffic scenarios;
场景确定模块1220,用于若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景,其中,所述第一触发信息用于表征所述耳机的佩戴者进站,所述指定环境音为与所述预设交通场景匹配的环境音;The scene determination module 1220 is configured to determine that the headset is in the preset traffic scene if at least one of the first trigger information and the specified environmental sound is monitored, wherein the first trigger information is used to characterize the wearer of the headset Into the station, the designated environmental sound is an environmental sound that matches the preset traffic scene;
模式配置模块1230,用于将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式。The mode configuration module 1230 is configured to configure the noise reduction mode of the headset to the traffic noise reduction mode corresponding to the preset traffic scene.
进一步地,所述降噪模式控制装置1200还包括:应用打开模块、标识生成模块、信息生成模块、第二信息生成模块以及模式关闭模块,其中:Further, the noise reduction mode control device 1200 further includes: an application opening module, an identification generating module, an information generating module, a second information generating module, and a mode closing module, wherein:
应用打开模块,用于获取应用打开指令,启动所述预设应用;The application opening module is used to obtain an application opening instruction and start the preset application;
标识生成模块,用于基于所述预设应用生成用于出入站的乘车标识;An identification generating module, configured to generate a vehicle identification for inbound and outbound stations based on the preset application;
信息生成模块,用于若所述乘车标识被扫描,生成触发信息,所述触发信息包括第一触发信息。The information generating module is configured to generate trigger information if the ride identification is scanned, and the trigger information includes first trigger information.
第二信息生成模块,用于在所述耳机处于所述预设交通场景时,若所述乘车标识被扫描,生成第二触发信息,所述第二触发信息用于表征所述耳机的佩戴者出站。The second information generating module is configured to generate second trigger information if the ride identification is scanned when the earphone is in the preset traffic scene, and the second trigger information is used to characterize the wearing of the earphone者出站。
模式关闭模块,用于若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式,所述交通降噪模式用于对所述预设交通场景下的噪声进行降噪处理。The mode closing module is configured to turn off the traffic noise reduction mode if the earphone is not in the preset traffic scene, and the traffic noise reduction mode is used to perform noise reduction processing on noise in the preset traffic scene.
进一步地,所述模式关闭模块包括:第一场景确定子模块以及第一模式关闭子模块,其中:Further, the mode closing module includes: a first scene determining sub-module and a first mode closing sub-module, wherein:
第一场景确定子模块,用于若监测到第二触发信息,确定所述耳机已不处于所述预设交通场景;The first scene determination sub-module is configured to determine that the headset is no longer in the preset traffic scene if the second trigger information is monitored;
第一模式关闭子模块,用于若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式。The first mode closing sub-module is configured to close the traffic noise reduction mode if the earphone is not in the preset traffic scene.
进一步地,所述模式关闭模块还包括:环境音监测子模块、第二场景确定子模块以及第二模式关闭子模块,其中:Further, the mode closing module further includes: an environmental sound monitoring sub-module, a second scene determining sub-module, and a second mode closing sub-module, wherein:
环境音监测子模块,用于在所述耳机处于所述预设交通场景时,监测当前环境音;The environmental sound monitoring sub-module is used to monitor the current environmental sound when the earphone is in the preset traffic scene;
第二场景确定子模块,用于若预设时间段内未监测到所述指定环境音,确定所述耳机已不处于所述预设交通场景;The second scene determination submodule is configured to determine that the earphone is no longer in the preset traffic scene if the designated environmental sound is not detected within a preset time period;
第二模式关闭子模块,用于若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式。The second mode closing sub-module is configured to close the traffic noise reduction mode if the earphone is not in the preset traffic scene.
进一步地,所述场景确定模块1220还包括:指定检测子模块以及场景确定子模块,其中:Further, the scene determination module 1220 further includes: a designated detection sub-module and a scene determination sub-module, wherein:
指定检测子模块,用于若监测到所述第一触发信息,判断是否监测到所述指定环境音;The designated detection sub-module is configured to determine whether the designated environmental sound is detected if the first trigger information is detected;
场景确定子模块,用于若监测到所述指定环境音,确定所述耳机处于所述预设交通场景。The scene determination sub-module is configured to determine that the earphone is in the preset traffic scene if the designated environmental sound is monitored.
本申请实施例提供的降噪模式控制装置用于实现前述方法实施例中相应的降噪模式控制方法,并具有相应的方法实施例的有益效果,在此不再赘述。The noise reduction mode control device provided in the embodiment of the present application is used to implement the corresponding noise reduction mode control method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In the several embodiments provided in this application, the coupling between the modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
请参考图12,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备1300可以是智能手机、平板电脑、电子书、笔记本电脑、个人计算机等能够运行应用程序的电子设备,还可以是耳机。本申请中的电子设备1300可以包括一个或多个如下部件:处理器1310、存储器1320以及一个或多 个应用程序,其中一个或多个应用程序可以被存储在存储器1320中并被配置为由一个或多个处理器1310执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 12, which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 1300 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, an e-book, a notebook computer, or a personal computer, and may also be a headset. The electronic device 1300 in this application may include one or more of the following components: a processor 1310, a memory 1320, and one or more application programs, where one or more application programs may be stored in the memory 1320 and configured to be operated by one Or multiple processors 1310 execute, and one or more programs are configured to execute the method described in the foregoing method embodiment.
处理器1310可以包括一个或者多个处理核。处理器1310利用各种接口和线路连接整个电子设备1300内的各个部分,通过运行或执行存储在存储器1320内的指令、程序、代码集或指令集,以及调用存储在存储器1320内的数据,执行电子设备1300的各种功能和处理数据。可选地,处理器1310可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1310可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1310中,单独通过一块通信芯片进行实现。The processor 1310 may include one or more processing cores. The processor 1310 uses various interfaces and lines to connect various parts of the entire electronic device 1300, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1320, and calling data stored in the memory 1320. Various functions and processing data of the electronic device 1300. Optionally, the processor 1310 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 1310 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1310, but may be implemented by a communication chip alone.
存储器图1220可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器图1220可用于存储指令、程序、代码、代码集或指令集。存储器图1220可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备图1200在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory diagram 1220 may include random access memory (RAM) or read-only memory (Read-Only Memory). The memory map 1220 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory diagram 1220 can include a storage program area and a storage data area, where the storage program area can store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) ), instructions used to implement the following method embodiments, etc. The storage data area can also store data created during use of the electronic device map 1200 (such as phone book, audio and video data, chat record data) and the like.
请参考图13,其示出了本申请实施例提供的一种计算机可读取存储介质的结构框图。该计算机可读取存储介质1400中存储有程序代码,所述程序代码可被处理器调用执行上述实施例中所描述的方法。Please refer to FIG. 13, which shows a structural block diagram of a computer readable storage medium provided by an embodiment of the present application. The computer readable storage medium 1400 stores program codes, and the program codes can be invoked by a processor to execute the methods described in the foregoing embodiments.
计算机可读取存储介质1400可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读取存储介质1400包括非易失性计算机可读取存储介质(non-transitory computer-readable storage medium)。计算机可读取存储介质1400具有执行上述方法中的任何方法步骤的程序代码1410的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1410可以例如以适当形式进行压缩。The computer readable storage medium 1400 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1400 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The computer readable storage medium 1400 has storage space for the program code 1410 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products. The program code 1410 may be compressed in a suitable form, for example.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features thereof are equivalently replaced; these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种降噪模式控制方法,其特征在于,所述方法包括:A noise reduction mode control method, characterized in that the method includes:
    监测当前环境音以及预设应用的触发信息,所述预设应用适于在预设交通场景下运行;Monitoring current environmental sounds and trigger information of a preset application, the preset application being suitable for running in a preset traffic scene;
    若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景,其中,所述第一触发信息用于表征所述耳机的佩戴者进站,所述指定环境音为与所述预设交通场景匹配的环境音;If at least one of the first trigger information and the designated environmental sound is detected, it is determined that the headset is in the preset traffic scene, wherein the first trigger information is used to characterize that the wearer of the headset enters the station, and the designated environment The sound is an environmental sound that matches the preset traffic scene;
    将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式。The noise reduction mode of the earphone is configured as a traffic noise reduction mode corresponding to the preset traffic scene.
  2. 根据权利要求1所述的方法,其特征在于,所述若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景之前,所述方法还包括:The method according to claim 1, characterized in that, if at least one of the first trigger information and the designated environmental sound is monitored, it is determined that the headset is before the preset traffic scene, the method further comprises:
    获取应用打开指令,启动所述预设应用;Obtain an application opening instruction, and start the preset application;
    基于所述预设应用生成用于出入站的乘车标识;Generating a boarding sign for in and out of the station based on the preset application;
    若所述乘车标识被扫描,生成触发信息,所述触发信息包括第一触发信息。If the ride identification is scanned, trigger information is generated, and the trigger information includes first trigger information.
  3. 根据权利要求2所述的方法,其特征在于,所述若所述乘车标识被扫描,生成触发信息,所述触发信息包括第一触发信息,包括:The method according to claim 2, wherein said generating trigger information if said ride identification is scanned, said trigger information including first trigger information, including:
    若所述乘车标识被扫描,生成触发信息;If the ride identification is scanned, generate trigger information;
    通过监测并解析所述触发信息生成的显示界面,确定所述触发信息包括第一触发信息。By monitoring and analyzing the display interface generated by the trigger information, it is determined that the trigger information includes the first trigger information.
  4. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    在所述耳机处于所述预设交通场景时,若所述乘车标识被扫描,生成第二触发信息,所述第二触发信息用于表征所述耳机的佩戴者出站。When the headset is in the preset traffic scene, if the ride identification is scanned, second trigger information is generated, and the second trigger information is used to characterize that the wearer of the headset is out of the station.
  5. 根据权利要求1所述的方法,其特征在于,所述将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式后,所述方法还包括:The method according to claim 1, wherein after configuring the noise reduction mode of the earphone as a traffic noise reduction mode corresponding to the preset traffic scene, the method further comprises:
    在所述耳机处于所述预设交通场景时,停止监测当前环境音。When the earphone is in the preset traffic scene, stop monitoring the current environmental sound.
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式,所述交通降噪模式用于对所述预设交通场景下的噪声进行降噪处理。If the earphone is not in the preset traffic scene, the traffic noise reduction mode is turned off, and the traffic noise reduction mode is used to perform noise reduction processing on noise in the preset traffic scene.
  7. 根据权利要求6所述的方法,其特征在于,所述若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式,包括:The method according to claim 6, wherein if the earphone is not in the preset traffic scene, turning off the traffic noise reduction mode comprises:
    若监测到第二触发信息,确定所述耳机已不处于所述预设交通场景;If the second trigger information is monitored, it is determined that the headset is no longer in the preset traffic scene;
    若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式。If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
  8. 根据权利要求6所述的方法,其特征在于,所述若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式,包括:The method according to claim 6, wherein if the earphone is not in the preset traffic scene, turning off the traffic noise reduction mode comprises:
    在所述耳机处于所述预设交通场景时,监测当前环境音;When the earphone is in the preset traffic scene, monitoring the current environmental sound;
    若预设时间段内未监测到所述指定环境音,确定所述耳机已不处于所述预设交通场景;If the specified environmental sound is not detected within a preset time period, determining that the earphone is no longer in the preset traffic scene;
    若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式。If the earphone is not in the preset traffic scene, turn off the traffic noise reduction mode.
  9. 根据权利要求1-6任一项所述的方法,其特征在于,所述若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景,还包括:The method according to any one of claims 1 to 6, wherein the determining that the headset is in the preset traffic scene if at least one of the first trigger information and the designated environmental sound is monitored, further comprising:
    若监测到所述第一触发信息,判断是否监测到所述指定环境音;If the first trigger information is detected, determine whether the specified environmental sound is detected;
    若监测到所述指定环境音,确定所述耳机处于所述预设交通场景。If the designated environmental sound is detected, it is determined that the earphone is in the preset traffic scene.
  10. 根据权利要求9所述的方法,其特征在于,所述判断是否检测到所述指定环境音,包括:The method according to claim 9, wherein the determining whether the designated environmental sound is detected comprises:
    将所述当前环境音的音频特征与指定环境音的音频特征进行匹配;Matching the audio characteristics of the current environmental sound with the audio characteristics of the designated environmental sound;
    若匹配成功,确定检测到所述指定环境音。If the matching is successful, it is determined that the specified environmental sound is detected.
  11. 根据权利要求9所述的方法,其特征在于,所述判断是否检测到所述指定环境音,包括:The method according to claim 9, wherein the determining whether the designated environmental sound is detected comprises:
    获取所述当前环境音的语谱图;Acquiring the spectrogram of the current environmental sound;
    将所述当前环境音的语谱图与所述指定环境音的语谱图进行匹配;Matching the spectrogram of the current environmental sound with the spectrogram of the specified environmental sound;
    若所述当前环境音的语谱图与所述指定环境音的语谱图的匹配度高于预设阈值,确定检测到所述指定环境音。If the matching degree between the spectrogram of the current environmental sound and the spectrogram of the designated environmental sound is higher than a preset threshold, it is determined that the designated environmental sound is detected.
  12. 根据权利要求1所述的方法,其特征在于,所述将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式,包括:判断耳机当前是否开启降噪模式、以及所述耳机的当前降噪模式是否为所述预设交通场景对应的交通降噪模式;The method according to claim 1, wherein the configuring the noise reduction mode of the earphone as a traffic noise reduction mode corresponding to the preset traffic scene comprises: determining whether the earphone is currently turned on the noise reduction mode, and Whether the current noise reduction mode of the headset is the traffic noise reduction mode corresponding to the preset traffic scene;
    若所述耳机开启降噪模式、所述当前降噪模式不为所述交通降噪模式,关闭所述当前降噪模式,并开启所述交通降噪模式。If the earphone turns on the noise reduction mode and the current noise reduction mode is not the traffic noise reduction mode, turn off the current noise reduction mode and turn on the traffic noise reduction mode.
  13. 根据权利要求1所述的方法,其特征在于,所述将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式,包括:The method according to claim 1, wherein the configuring the noise reduction mode of the earphone as a traffic noise reduction mode corresponding to the preset traffic scene comprises:
    基于交通降噪模型,将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式,所述交通降噪模型采用卷积循环神经网络算法得到。Based on the traffic noise reduction model, the noise reduction mode of the headset is configured as the traffic noise reduction mode corresponding to the preset traffic scene, and the traffic noise reduction model is obtained by using a convolutional recurrent neural network algorithm.
  14. 根据权利要求6所述的方法,其特征在于,所述监测当前环境音以及预设应用的触发信息,包括:The method according to claim 6, wherein the monitoring current environmental sounds and trigger information of preset applications comprises:
    监测地铁开关门声音以及地铁乘车应用。Monitor subway door opening and closing sounds and subway ride applications.
  15. 根据权利要求14所述的方法,其特征在于,所述若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景,包括:The method according to claim 14, wherein the determining that the earphone is in the preset traffic scene if at least one of the first trigger information and the designated environmental sound is detected comprises:
    判断是否监测到所述地铁开关门声音、以及所述地铁乘车应用生成的乘 车标识是否被扫描;Judging whether the door opening and closing sound of the subway is detected, and whether the riding mark generated by the subway riding application is scanned;
    当监测到所述地铁开门声音,和/或,监测到所述乘车标识扫描进站时,确定耳机处于所述预设交通场景,发送地铁模式开启信息。When the opening sound of the subway is detected, and/or when the scanning entry of the riding sign is detected, it is determined that the headset is in the preset traffic scene, and the subway mode opening information is sent.
  16. 根据权利要求15所述的方法,其特征在于,所述将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式,包括:The method according to claim 15, wherein the configuring the noise reduction mode of the earphone as a traffic noise reduction mode corresponding to the preset traffic scene comprises:
    将所述耳机的降噪模式配置为地铁降噪模式。The noise reduction mode of the earphone is configured as the subway noise reduction mode.
  17. 根据权利要求16所述的方法,其特征在于,若所述耳机不处于所述预设交通场景,关闭所述交通降噪模式,包括:The method according to claim 16, wherein if the earphone is not in the preset traffic scene, turning off the traffic noise reduction mode comprises:
    在所述耳机处于所述预设交通场景时,监测到所述乘车标识扫描出站;When the earphone is in the preset traffic scene, it is monitored that the ride identification scans out of the station;
    在所述耳机处于所述预设交通场景时,监测所述地铁开关门声音;When the earphone is in the preset traffic scene, monitoring the opening and closing sound of the subway door;
    若预设时间内未监测到所述地铁开关门声音,发送地铁模式关闭信息;If the door opening and closing sound of the subway is not detected within the preset time, send a subway mode closing message;
    关闭所述地铁降噪模式。Turn off the subway noise reduction mode.
  18. 一种降噪模式控制装置,其特征在于,所述装置包括:A noise reduction mode control device, characterized in that the device includes:
    信息监测模块,用于监测当前环境音以及预设应用的触发信息,所述预设应用适于在预设交通场景下运行;An information monitoring module for monitoring current environmental sounds and trigger information of preset applications, the preset applications being suitable for running in a preset traffic scene;
    场景确定模块,用于若监测到第一触发信息以及指定环境音中的至少一个,确定耳机处于所述预设交通场景,其中,所述第一触发信息用于表征所述耳机的佩戴者进站,所述指定环境音为与所述预设交通场景匹配的环境音;The scene determination module is configured to determine that the headset is in the preset traffic scene if at least one of the first trigger information and the specified environmental sound is monitored, wherein the first trigger information is used to characterize the progress of the wearer of the headset Station, the designated environmental sound is an environmental sound that matches the preset traffic scene;
    模式配置模块,用于将所述耳机的降噪模式配置为所述预设交通场景对应的交通降噪模式。The mode configuration module is configured to configure the noise reduction mode of the headset to the traffic noise reduction mode corresponding to the preset traffic scene.
  19. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;One or more processors;
    存储器;Memory
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-17任一项所述的方法。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute such as The method of any one of claims 1-17.
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行所述权利要求1-17任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores program code, and the program code can be invoked by a processor to execute the method described in any one of claims 1-17. method.
PCT/CN2021/079131 2020-04-29 2021-03-04 Noise reduction mode control method and apparatus, electronic device and storage medium WO2021218377A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010357364.0 2020-04-29
CN202010357364.0A CN111510814A (en) 2020-04-29 2020-04-29 Noise reduction mode control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021218377A1 true WO2021218377A1 (en) 2021-11-04

Family

ID=71878288

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/079131 WO2021218377A1 (en) 2020-04-29 2021-03-04 Noise reduction mode control method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN111510814A (en)
WO (1) WO2021218377A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277931A (en) * 2022-06-27 2022-11-01 北京小米移动软件有限公司 Information presentation method, information presentation device, and storage medium
CN116367063A (en) * 2023-04-23 2023-06-30 郑州大学 Bone conduction hearing aid equipment and system based on embedded
CN117041803A (en) * 2023-08-30 2023-11-10 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510814A (en) * 2020-04-29 2020-08-07 Oppo广东移动通信有限公司 Noise reduction mode control method and device, electronic equipment and storage medium
CN111935583B (en) * 2020-08-24 2022-09-27 Oppo(重庆)智能科技有限公司 Earphone mode control method, earphone mode control device, terminal equipment, earphone mode control system and storage medium
CN111970609B (en) * 2020-08-27 2022-07-12 Oppo广东移动通信有限公司 Sound quality adjusting method, sound quality adjusting system and computer readable storage medium
CN113115164A (en) * 2021-05-11 2021-07-13 深圳市美恩微电子有限公司 Conversation bluetooth headset based on ANC falls and makes an uproar
CN113411711B (en) * 2021-06-29 2022-08-02 紫优科技(深圳)有限公司 Intelligent earphone noise reduction method and system
CN113596671A (en) * 2021-09-29 2021-11-02 翱捷科技(深圳)有限公司 Method and system for obtaining noise reduction parameters of earphone chip
CN115567817B (en) * 2022-02-24 2023-09-29 荣耀终端有限公司 Audio output equipment working mode setting method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016119108A1 (en) * 2015-01-26 2016-08-04 深圳市冠旭电子有限公司 Earphone noise reduction control method and apparatus
CN106126183A (en) * 2016-06-30 2016-11-16 联想(北京)有限公司 Electronic equipment and audio-frequency processing method
CN106572411A (en) * 2016-09-29 2017-04-19 乐视控股(北京)有限公司 Noise cancelling control method and relevant device
CN106792315A (en) * 2017-01-05 2017-05-31 歌尔科技有限公司 A kind of method and apparatus and a kind of active noise reduction earphone for offsetting ambient noise
CN110825446A (en) * 2019-10-28 2020-02-21 Oppo广东移动通信有限公司 Parameter configuration method and device, storage medium and electronic equipment
CN111510814A (en) * 2020-04-29 2020-08-07 Oppo广东移动通信有限公司 Noise reduction mode control method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554236B (en) * 2015-09-28 2019-04-12 宇龙计算机通信科技(深圳)有限公司 A kind of method, apparatus and terminal of terminal scene process
CN109429125B (en) * 2017-08-30 2020-01-24 美商富迪科技股份有限公司 Electronic device and control method of earphone device
CN107750027A (en) * 2017-11-30 2018-03-02 会听声学科技(北京)有限公司 scene adaptive active noise reduction earphone and scene adaptive active noise reduction design method
CN108093367B (en) * 2017-12-13 2020-01-21 Oppo广东移动通信有限公司 Control method and device based on positioning module, storage medium and mobile terminal
CN109817236A (en) * 2019-02-01 2019-05-28 安克创新科技股份有限公司 Audio defeat method, apparatus, electronic equipment and storage medium based on scene

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016119108A1 (en) * 2015-01-26 2016-08-04 深圳市冠旭电子有限公司 Earphone noise reduction control method and apparatus
CN106126183A (en) * 2016-06-30 2016-11-16 联想(北京)有限公司 Electronic equipment and audio-frequency processing method
CN106572411A (en) * 2016-09-29 2017-04-19 乐视控股(北京)有限公司 Noise cancelling control method and relevant device
CN106792315A (en) * 2017-01-05 2017-05-31 歌尔科技有限公司 A kind of method and apparatus and a kind of active noise reduction earphone for offsetting ambient noise
CN110825446A (en) * 2019-10-28 2020-02-21 Oppo广东移动通信有限公司 Parameter configuration method and device, storage medium and electronic equipment
CN111510814A (en) * 2020-04-29 2020-08-07 Oppo广东移动通信有限公司 Noise reduction mode control method and device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277931A (en) * 2022-06-27 2022-11-01 北京小米移动软件有限公司 Information presentation method, information presentation device, and storage medium
CN116367063A (en) * 2023-04-23 2023-06-30 郑州大学 Bone conduction hearing aid equipment and system based on embedded
CN116367063B (en) * 2023-04-23 2023-11-14 郑州大学 Bone conduction hearing aid equipment and system based on embedded
CN117041803A (en) * 2023-08-30 2023-11-10 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium
CN117041803B (en) * 2023-08-30 2024-03-22 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111510814A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
WO2021218377A1 (en) Noise reduction mode control method and apparatus, electronic device and storage medium
CN109445739A (en) Audio frequency playing method, device, electronic equipment and computer-readable medium
CN104285428A (en) Method and system for operating communication service
US12014716B2 (en) Method for reducing occlusion effect of earphone, and related apparatus
WO2018045536A1 (en) Sound signal processing method, terminal, and headphones
CN104581536B (en) A kind of control earphone noise-reduction method and device
CN109379491A (en) Audio frequency playing method, device, electronic equipment and computer-readable medium
CN105162728B (en) Method for network access, equipment and system
JP2018508868A (en) Context-based access validation
CN109151212B (en) Equipment control method and device and electronic equipment
CN108874357A (en) A kind of reminding method and mobile terminal
JP2012186622A (en) Information processing apparatus, information processing method, and program
CN114245267B (en) Method and system for multi-device cooperative work and electronic device
CN103889040A (en) Method, device and system for controlling transmission
CN109379490A (en) Audio frequency playing method, device, electronic equipment and computer-readable medium
CN111081275B (en) Terminal processing method and device based on sound analysis, storage medium and terminal
CN107135452A (en) Audiphone adaptation method and device
CN109981904A (en) A kind of method for controlling volume and terminal device
CN113301372A (en) Live broadcast method, device, terminal and storage medium
CN106782498A (en) Voice messaging player method, device and terminal
CN104769966A (en) Receiver device
CN109102816A (en) Coding control method, device and electronic equipment
WO2023124248A1 (en) Voiceprint recognition method and apparatus
CN104980583A (en) Event reminding method and terminal
KR20190052443A (en) Apparatus and method for voice translation of companion animal

Legal Events

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

Ref document number: 21797099

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21797099

Country of ref document: EP

Kind code of ref document: A1