WO2018227560A1 - 耳机控制方法及系统 - Google Patents

耳机控制方法及系统 Download PDF

Info

Publication number
WO2018227560A1
WO2018227560A1 PCT/CN2017/088673 CN2017088673W WO2018227560A1 WO 2018227560 A1 WO2018227560 A1 WO 2018227560A1 CN 2017088673 W CN2017088673 W CN 2017088673W WO 2018227560 A1 WO2018227560 A1 WO 2018227560A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound signal
target sound
preset
earphone
microphone device
Prior art date
Application number
PCT/CN2017/088673
Other languages
English (en)
French (fr)
Inventor
杨松龄
陈臻伟
Original Assignee
深圳市柔宇科技有限公司
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 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to CN201780060391.8A priority Critical patent/CN109791775A/zh
Priority to PCT/CN2017/088673 priority patent/WO2018227560A1/zh
Publication of WO2018227560A1 publication Critical patent/WO2018227560A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • G10L25/84Detection of presence or absence of voice signals for discriminating voice from noise
    • 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

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a headset control method and system.
  • the audio input is subjected to noise reduction processing, and the corresponding earphone itself also has the existing noise reduction function. That is to say, the noise canceling earphone can isolate the sound of the external environment to a certain extent, thereby avoiding the noisy environment affecting the sound experience of the earphone.
  • the noise of the noise canceling earphone itself is isolated from the ambient sound, so that the user cannot timely feedback the sound of the surrounding environment.
  • the surrounding person speaks with the user; for example, in the event of a fire in the surroundings, the user cannot detect or cannot listen because of wearing the noise-cancelling earphone. To the fire alarm.
  • noise-cancelling headphones can isolate the noise of the user during the wearing process, but at the same time isolate the sound that the user needs to respond in time.
  • a first aspect of the present invention provides a headset control method, based on a processor connected to a headset, the processor is further connected with a microphone device; the method includes:
  • the target sound signal When the detected target sound signal satisfies a preset condition, the target sound signal is sent to the earphone for playing.
  • an earphone is provided, the earphone being provided with a processor and a microphone device;
  • the microphone device is configured to collect a target sound signal
  • the processor is configured to send the target sound signal to the earphone for playing when the detected target sound signal meets a preset condition.
  • a computer readable storage medium comprising computer instructions for causing a computer to perform a headset control method as described above when the computer instructions are run on a computer.
  • the sound signal is collected in real time through the microphone device provided on the earphone or the microphone device connected to the earphone, and then the collected sound is collected.
  • the sound signal is analyzed and judged, and when the sound signal satisfies a preset condition, the collected sound signal is sent to the earphone for playing, so that the user uses the noise canceling earphone or the device including the noise canceling earphone. It can also instantly know whether there is a voice in the environment that needs to respond, and respond in time according to the sound sent through the headset. It will also be said that it not only ensures the normal operation of the noise canceling earphone, but also can well inform the user of the effective ambient sound signal to the user, thereby improving the user experience.
  • FIG. 1 is a schematic flowchart of a method for controlling a headset according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for controlling a headset according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for controlling a headset according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for controlling a headset according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a headphone device running the above earphone control method according to an embodiment of the present invention.
  • a method for controlling the earphone is proposed, and the method is implemented.
  • the computer program can run on a computer system based on the von Neumann system, which can be an earphone-based application controlled by a head mounted display device or a headphone control program based on a noise canceling earphone. .
  • the terminal device on which the foregoing earphone control method is based may be the earphone device itself, and the processor is further provided with a processor, and the execution of the earphone control method is based on the setting in the earphone device. processor.
  • the terminal on which the earphone control method is based may also be other devices connected to the earphone, for example, a head mounted display device connected to the earphone, that is, the execution of the above earphone control method is based on A processor of a head mounted display device adjacent to the headset.
  • the foregoing headset control method may be performed based on a computer host connected to the outside of the headset, for example, a headset or other device connected to the external host through WIFI, Bluetooth, or other communication connection, and The external host controls the headphones.
  • the terminal on which the earphone control method is based is further connected or provided with a microphone device.
  • a microphone device is provided outside the earphone, or an external microphone device is connected to the processor on which the earphone control method is based for receiving an acoustic signal in the environment.
  • the foregoing earphone control method includes the following steps S102-S104:
  • Step S102 Detect a target sound signal collected by the microphone device.
  • Step S104 When the detected target sound signal satisfies a preset condition, the target sound signal is sent to the earphone for playing.
  • the microphone device is a microphone device provided on the earphone or a microphone device connected to a processor connected to the earphone.
  • the microphone device can collect the surrounding sound signals in real time and convert the collected sound signals into corresponding electrical signals.
  • the sound signal that is, the target sound signal
  • the collected target sound signal is then sent to the processor for processing by the processor.
  • the processor determines the collected target sound signal to determine whether it meets the preset condition.
  • the preset condition that the target sound signal needs to satisfy may be a difference between the decibel number of the target sound signal and the decibel number of the preset environmental noise sample (where the environmental noise sample may be pre-acquired sound signal data).
  • the value is greater than the first decibel threshold (eg, the first decibel threshold may be 0 dB, or 30 dB, or any other value), the duration of the target sound signal is greater than a preset time threshold (eg, 2 s), and/or the target sound
  • the signal has periodicity (the target sound signal repeatedly appears more than once), and may also be a combination of a plurality of the above conditions, that is, the target sound signal needs to satisfy the above plurality of preset conditions to be considered as satisfying the preset condition.
  • the target sound signal collected by the microphone device is sent to the corresponding sound playing unit in the earphone through the processor, and is played, so that the user can hear the environment needs to be used when the earphone is used. Respond to the sound and respond accordingly.
  • the foregoing headset control method includes the following steps S202-S208:
  • Step S202 detecting a target sound signal collected by the microphone device
  • Step S204 acquiring feature information of the target sound signal
  • Step S206 determining whether the feature information matches a preset feature reference value; if yes, executing step S208: transmitting the target sound signal to the earphone for playing; if not, performing step S202: detecting the The target sound signal collected by the microphone device.
  • the microphone device is a microphone device provided on the earphone or a microphone device connected to a processor connected to the earphone.
  • the microphone device can detect the surrounding sound signal in real time and convert the detected sound signal into a corresponding electrical signal.
  • the sound signal that is, the target sound signal
  • the collected target sound signal is then sent to the processor for processing by the processor.
  • the processor performs preprocessing on the collected target sound signal, for example, denoising and the like.
  • the feature information of the target sound signal is acquired according to a preset feature extraction algorithm.
  • the feature information may be a decibel number, or a voiceprint information, or a time domain amplitude sequence, duration, or the like.
  • the feature information is not limited, as long as the parameters that can express the sound feature can be used as the feature parameters.
  • the target sound signal For the feature information of the target sound signal, it is required to determine whether the feature data matches the preset feature reference value. If it is matched, the target sound signal satisfies the preset condition and needs to be heard by the user; otherwise, if it does not match , indicating that the target sound signal does not meet the preset condition and does not need to be heard by the user.
  • whether the feature information of the target sound signal matches the preset feature reference value includes: a difference between a decibel number of the target sound signal and a decibel number of the preset environmental noise sample is greater than a first decibel threshold (
  • the first decibel threshold may be 0 dB, or 30 dB, or any other value
  • the duration of the target sound signal is greater than a preset time threshold (eg, 2 s)
  • the target sound signal has periodicity (target) Whether the sound signal is repeated more than once)
  • a decibel number of the target sound signal is greater than a preset second score threshold (eg, 95 dB), or whether the voiceprint feature of the target sound signal matches the preset reference voiceprint feature, or Whether the time domain amplitude feature of the target sound signal matches the preset reference time domain amplitude feature, and the like.
  • the preset feature reference value and the matching manner between the feature information of the target sound signal and the preset feature reference value may be set according to the user's needs.
  • the target sound signal collected by the microphone device is sent to the corresponding sound playing unit in the earphone through the processor, and is played, so that the user can hear the environment needs to be used when the earphone is used. Respond to the sound and respond accordingly.
  • the foregoing headset control method includes the following steps S302-S306:
  • Step S302 detecting a target sound signal collected by the microphone device
  • Step S304 determining whether the target sound signal matches the preset environmental noise sample; if not, executing step S306: transmitting the target sound signal to the earphone for playing; if yes, performing step S302: detecting the location The target sound signal collected by the microphone device.
  • the sound of the surrounding environment can be detected in real time by the microphone device, and the detected sound is converted into a corresponding electrical signal, that is, a target sound signal.
  • the target sound signal collected by the microphone device in determining whether it is necessary to transmit the target sound signal collected by the microphone device to the earphone for playing, it is directly determined whether the collected target sound signal and the preset environmental noise sample are matched. . That is to say, if there is a certain degree of matching between the target sound signal and the preset environmental noise sample, it indicates that the target sound signal indicates normal environmental noise, instead of other sounds that need to be responded.
  • the target sound signal matches the environmental noise sample, it is determined that the target sound signal needs to be input to the earphone for playing, and when the target sound signal does not match the environmental noise sample, it is determined that the target sound signal is not required to be input to the earphone. Play it.
  • the matching degree between the target sound signal and the environmental noise sample may be calculated, that is, according to the pre-predetermined
  • the matching degree calculation algorithm is configured to calculate a matching degree between the target sound signal and the environmental noise sample, and determine the target sound signal and the environmental noise sample if the calculated matching degree is greater than or equal to a preset matching degree threshold. If the calculated matching degree is less than the preset matching degree threshold, it is determined that the target sound signal does not match the environmental noise sample.
  • the environmental noise sample may be sample data preset by a user. That is to say, when the user sets the headphone control, the sample data can be recorded by the microphone device as an environmental noise sample.
  • the ambient noise sample is also collected by the microphone device during the use of the earphone, because the ambient noise is different under different circumstances, in which case the same is used. An environmental noise sample may cause inaccurate judgments on the target sound signal.
  • an ambient sound signal is collected by the microphone device as the preset environmental noise sample.
  • the environmental noise sample recording instruction is sent to the microphone device, the ambient sound signal is collected by the microphone device, and the collected ambient sound signal is sent to the processor, and the processor collects the The ambient sound signal is stored as a preset ambient noise sample for comparison during headphone control.
  • the collecting, by the microphone device, the ambient sound signal as the preset ambient noise sample further comprises: periodically collecting, by the microphone device, an ambient sound signal according to a preset time interval.
  • the preset environmental noise samples are updated according to the ambient sound signal.
  • the environmental noise samples are also required to be updated synchronously.
  • the ambient sound signal can be periodically collected by the microphone device according to a preset time interval, and the stored environmental noise sample is updated.
  • ambient sound signals can be collected every 10 minutes and environmental noise samples can be updated.
  • the location information of the user is detected by a GPS positioning device connected to the processor, and when the location information of the user changes, the ambient sound signal is collected and the environmental noise sample is updated.
  • the collected target sound signal is sent to the audio playing module of the earphone for playing.
  • the user may still not know the surrounding environment, for example, in the case that the user wears the head-mounted display device, the user needs to remove the worn-type display device to enter one. Steps determine the current surrounding environment.
  • the processor on which the above-mentioned earphone control method is based is also connected with a display device, which can be used to display a picture sent by the processor, or other data and information.
  • the preset prompt information is displayed on the preset display device if the target sound signal satisfies the preset condition.
  • the target sound signal in the case where the user needs to hear the target sound signal, not only the target sound signal is sent to the audio playback device of the earphone for playing, but also the preset prompt information is displayed on the display interface of the display device.
  • the prompt information displayed may also vary depending on the target sound signal. Specifically, if the decibel number of the target sound signal is greater than the preset second decibel threshold, the target sound signal is directly sent to the earphone for playing.
  • the second decibel threshold is a larger number, for example, 90 dB and the decibel number of the target sound signal is greater than the value, indicating that there are certain sounds in the external environment, for example, an alarm sound (the decibel number of the alarm sound is greater than 90 dB) ).
  • a prompt information corresponding to the second decibel threshold may be set, and the prompt information is directly displayed if the decibel number of the target sound signal is greater than the second decibel threshold.
  • other prompt information can also be set. For example, if the target sound signal is a preset telephone ringtone, the user is prompted to have a telephone access; for example, when the target sound signal is a preset voice, the user is prompted to speak or the like.
  • the processor on which the earphone control method is based is not only connected to the display device, but also connected with a camera for collecting images or videos of the surrounding environment, and can be played by the display device.
  • the method further includes: collecting an environment image/video through the camera on the preset display device, if the target sound signal satisfies the preset condition The captured environmental image/video is displayed.
  • the target sound signal collected by the microphone device is a sound signal that needs to be transmitted to the earphone for playback
  • the target sound signal is transmitted to the earphone for playback
  • the environment image or environment video captured by the connected camera is sent to the processor and sent by the processor to the display device for playback.
  • the external sound signal is collected in real time, and it is determined whether the sound signal collected in real time exceeds the pre-acquired environmental noise sample. 30dB or more, and the duration is more than 2s, repeated 2 times or more, if yes, the collected sound signal is sent to the earphone for playback.
  • the sound signal is collected in real time through the microphone device provided on the earphone or the microphone device connected to the earphone, and then the collected sound is collected.
  • the sound signal is analyzed and judged, and when the sound signal satisfies a preset condition, the collected sound signal is sent to the earphone for playing, so that the user uses the noise canceling earphone or the device including the noise canceling earphone. It can also instantly know whether there is a voice in the environment that needs to respond, and respond in time according to the sound sent through the headset. It will also be said that it not only ensures the normal operation of the noise canceling earphone, but also can well inform the user of the effective ambient sound signal to the user, thereby improving the user experience.
  • FIG. 3 illustrates a terminal of a von Neumann system-based computer system that operates the above-described earphone control method.
  • the computer system can be a terminal device such as a smartphone, a tablet, a palmtop, a laptop, or a personal computer.
  • an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included.
  • the external input interface 1001 can optionally include at least a network interface 10012, a microphone device 10014, and a camera 10016.
  • the memory 1003 may include an external memory 10032 (eg, a hard disk, an optical disk, or a floppy disk, etc.) and an internal memory 10034.
  • the output interface 1004 can include at least a display 10042 and an audio playback device 10044.
  • the operation of the method is based on a computer program whose program file is stored in the external memory 10032 of the aforementioned von Neumann system-based computer system, loaded into the internal memory 10034 at runtime, and then After being compiled into machine code, it is passed to the processor 1002 for execution, thereby forming logical virtual modules in the von Neumann system-based computer system.
  • the input parameters are all received through the external input interface 1001, and transferred to the buffer in the memory 1003, and then input to the processor 1002 for processing, and the processed result data is cached in the memory 1003. Subsequent processing, or passed to output interface 1004 for output.
  • the microphone device 10014 is configured to acquire a target sound signal
  • the processor 1002 is configured to send the target sound signal to the earphone for playing when the detected target sound signal meets a preset condition.
  • the processor 1002 is further configured to acquire feature information of the target sound signal, determine whether the feature information matches a preset feature reference value, and if yes, determine the target The sound signal satisfies the preset condition.
  • the microphone device 10014 is further configured to collect an ambient sound signal as the preset environmental noise sample.
  • the microphone device 10014 is further configured to periodically collect an ambient sound signal according to a preset time interval, and update the preset environmental noise sample according to the ambient sound signal.
  • the processor 1002 is further configured to obtain a decibel value of the target sound signal, where the target sound is determined if the decibel value is greater than a preset second decibel threshold The signal satisfies the preset condition;
  • the display device 10042 is further configured to display preset prompt information, where the target sound signal meets the preset condition, the prompt information and the second The decibel threshold corresponds.
  • the camera 10016 is further configured to collect an environment image/video if the target sound signal meets the preset condition; the display device 10042 further uses The environment image/video captured by the camera 10016 is displayed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Headphones And Earphones (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

本发明实施例公开了一种耳机控制方法,所述方法基于与耳机连接的处理器,所述处理器还连接有麦克风装置;所述方法包括:检测所述麦克风装置采集的目标声音信号;在所述检测到的目标声音信号满足预设条件时,将所述目标声音信号发送至所述耳机进行播放。此外,本发明实施例还公开了一种耳机。采用本发明看,可在保证降噪耳机的正常工作的前提下,将外界有效的环境声音信号通知至用户,提升用户体验。

Description

耳机控制方法及系统 技术领域
本发明涉及终端技术领域,特别是涉及一种耳机控制方法及系统。
背景技术
在目前的头戴式智能设备以及VR设备中,为了让使用者沉浸在虚拟环境中,其音频输入时经过了降噪处理,并且,其对应的耳机本身也具备已经的降噪功能。也就是说,降噪耳机可以在一定程度上隔绝外界环境的声音,从而避免嘈杂的环境影响耳机的声效体验。
但是,当使用者在使用降噪耳机或者其他降噪设备的过程中,因为降噪耳机本身对环境声音的隔绝,导致了使用者无法及时对周围环境的声音进行反馈。例如,当使用者带着降噪耳机在沙发上听歌的情况下,周围人跟使用者说话;又例如,当周围发生火灾的情况下,使用者因为佩戴降噪耳机而无法察觉或者无法听到火警警报声。
申请人经研究发现,降噪耳机虽然能够隔绝环境噪音对用户在佩戴过程中的噪声影响,但是同时也会隔绝用户需要及时响应的声音。
发明内容
基于此,为了在不降低降噪耳机隔绝环境噪声的影响的情况下,让用户能对环境中需要相应的声音进行及时的响应,在本发明中,特提出了一种耳机控制方法。
本发明第一方面提供了一种耳机控制方法,基于与耳机连接的处理器,所述处理器还连接有麦克风装置;所述方法包括:
检测所述麦克风装置采集的目标声音信号;
在所述检测到的目标声音信号满足预设条件时,将所述目标声音信号发送至所述耳机进行播放。
在本发明的第二方面提供了一种耳机,所述耳机设置有处理器和麦克风装置;
所述麦克风装置用于采集目标声音信号;
所述处理器用于在所述检测到的目标声音信号满足预设条件时,将所述目标声音信号发送至所述耳机进行播放。
在本发明的第三方面提供了一种计算机可读存储介质,包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如前所述的耳机控制方法。
综上所述,实施本发明实施例,将具有如下有益效果:
采用了上述耳机控制方法以及耳机之后,在使用降噪耳机并隔绝环境噪声的影响的情况下,通过耳机上设置的麦克风装置或者与耳机连接的麦克风装置实时的采集声音信号,然后对采集到的声音信号进行分析和判断,在该声音信号满足预设条件的情况下,将采集到的声音信号发送至耳机进行播放,从而使得用户在使用降噪耳机或者包含了降噪耳机的设备的情况下,也能即时获悉环境中是否存在需要响应的声音,并及时根据通过耳机发送过来的声音做出响应。也就会说,既保证了降噪耳机的正常工作,又可很好的将外界有效的环境声音信号通知至用户,提升了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
其中:
图1为本发明实施例中一种耳机控制方法的流程示意图;
图2为本发明实施例中一种耳机控制方法的流程示意图;
图3为本发明实施例中一种耳机控制方法的流程示意图;
图4为本发明实施例中一种耳机控制方法的流程示意图;
图5为本发明实施例中运行上述耳机控制方法的耳机设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为了在不降低降噪耳机隔绝环境噪声的影响的情况下,让用户能对环境中需要相应的声音进行及时的响应,在本实施例中,特提出了一种耳机控制方法,该方法的实现可依赖于计算机程序,该计算机程序可运行于基于冯诺依曼体系的计算机系统之上,该计算机程序可以是基于头戴式显示设备的耳机控制的应用程序或者基于降噪耳机的耳机控制程序。
需要说明的是,在本实施例中,上述耳机控制方法所基于的终端设备可以是耳机设备本身,在该耳机设备中还设置有处理器,上述耳机控制方法的执行就是基于耳机设备中设置的处理器。在另一个实施例中,上述耳机控制方法所基于的终端还可以是与耳机相连接的其他设备,例如,与耳机相连的头戴式显示设备,也就是说,上述耳机控制方法的执行是基于与耳机相邻的头戴式显示设备的处理器。在另一个可选的实施例中,上述耳机控制方法的执行还可以是基于与耳机外部相连的计算机主机,例如,耳机或者其他设备通过WIFI、蓝牙或者其他通信连接方式与外部主机相连,并由该外部主机对耳机进行控制。
进一步的,在本实施例中,上述耳机控制方法所基于的终端还连接或者设置有麦克风装置。例如,在耳机的外部设置有麦克风装置,或者,与耳机控制方法所基于的处理器还连接有外部的麦克风装置,用来接收环境中的声音信号。
具体的,如图1所示,上述耳机控制方法包括如下步骤S102-S104:
步骤S102:检测所述麦克风装置采集的目标声音信号。
步骤S104:在所述检测到的目标声音信号满足预设条件时,将所述目标声音信号发送至所述耳机进行播放。
如前所述,麦克风装置为耳机上设置的麦克风装置,或者与耳机相连的处理器所连接的麦克风装置。通过该麦克风装置可以实时的对周围的声音信号进行采集,并将采集到的声音信号转换成对应的电信号。
在本实施例中,通过麦克风装置实时采集声音信号,即目标声音信号。然后将采集到的目标声音信号发送给处理器,由处理器进行处理。
具体的,处理器对采集到的目标声音信号进行判断,判断其是否满足预设的条件。在本实施例中,目标声音信号需要满足的预设条件可以是目标声音信号的分贝数与预设的环境噪声样本(其中,环境噪声样本可以是预先采集的声音信号数据)的分贝数的差值大于第一分贝阈值(例如,第一分贝阈值可以是0dB,或者30dB,或者其他任意的数值)、目标声音信号的持续时间大于预设的时间阈值(例如,2s)、和/或目标声音信号具有周期性(目标声音信号重复出现不止一次),也可以是上述条件中的多个的组合,也就是说,目标声音信号需要满足上述多个预设条件才能被认为是满足预设条件。
在采集到的目标声音信号满足预设条件的情况下,说明采集到的目标声音信号所对应的声音需要被用户所听到并进行响应。在此种情况下,将通过麦克风装置采集到的目标声音信号通过处理器发送给耳机中相应的声音播放单元,并进行播放,从而使得用户在使用耳机的情况下还可以听到环境中需要进行响应的声音,并据此做出适应的反应。
在另一个可选的实施例中,上述耳机控制方法包括如下步骤S202-S208:
步骤S202:检测所述麦克风装置采集的目标声音信号;
步骤S204:获取所述目标声音信号的特征信息;
步骤S206:判断所述特征信息是否与预设的特征参考值匹配;若是,则执行步骤S208:将所述目标声音信号发送至所述耳机进行播放;若否,则执行步骤S202:检测所述麦克风装置采集的目标声音信号。
如前所述,麦克风装置为耳机上设置的麦克风装置,或者与耳机相连的处理器所连接的麦克风装置。通过该麦克风装置可以实时的对周围的声音信号进行检测,并将检测到的声音信号转换成对应的电信号。
在本实施例中,通过麦克风装置实时采集声音信号,即目标声音信号。然后将采集到的目标声音信号发送给处理器,由处理器进行处理。
具体的,处理器对于采集到的目标声音信号进行预处理,例如,去噪等处理。
进一步的,对于采集到的目标声音信号,按照预设的特征提取算法,获取目标声音信号的特征信息。其中,特征信息可以是分贝数、或者声纹信息、或者时域幅值序列、持续时间等。在本实施例中,不对特征信息进行限定,只要能可以表现出声音特征的参数均可以作为特征参数。
对于目标声音信号的特征信息,需要判断该特征数据是否与预设的特征参考值是匹配的,若是匹配的,则说明目标声音信号满足预设条件,需要让用户听到;反之,若不匹配,则说明目标声音信号不满足预设条件,不需要让用户听到。
在本实施例中,目标声音信号的特征信息是否与预设的特征参考值是匹配的包括:目标声音信号的分贝数与预设的环境噪声样本的分贝数的差值大于第一分贝阈值(例如,第一分贝阈值可以是0dB,或者30dB,或者其他任意的数值)、或者目标声音信号的持续时间是否大于预设的时间阈值(例如,2s)、或者目标声音信号是否具备周期性(目标声音信号重复出现不止一次)、或者目标声音信号的分贝数是否大于预设的第二分数阈值(例如,95dB)、或者目标声音信号的声纹特征是否与预设的参考声纹特征匹配、或者目标声音信号的时域幅值特征是否与预设的参考时域幅值特征匹配等。可以根据用户需要,设置预设的特征参考值以及目标声音信号的特征信息与预设的特征参考值之间的匹配方式。
在采集到的目标声音信号的特征信息与预设的特征参考值是匹配的情况 下,说明采集到的目标声音信号所对应的声音需要被用户所听到并进行响应。在此种情况下,将通过麦克风装置采集到的目标声音信号通过处理器发送给耳机中相应的声音播放单元,并进行播放,从而使得用户在使用耳机的情况下还可以听到环境中需要进行响应的声音,并据此做出适应的反应。
在另一个可选的实施例中,上述耳机控制方法包括如下步骤S302-S306:
步骤S302:检测所述麦克风装置采集的目标声音信号;
步骤S304:判断所述目标声音信号是否与预设的环境噪声样本匹配;若否,则执行步骤S306:将所述目标声音信号发送至所述耳机进行播放;若是,则执行步骤S302:检测所述麦克风装置采集的目标声音信号。
如前所述,通过麦克风装置可以实时的对周围环境的声音进行检测,并将检测到的声音转换成对应的电信号,即目标声音信号。
在本实施例中,在判断是否需要将通过麦克风装置采集的目标声音信号发送给耳机进行播放的过程中,是直接判断采集到的目标声音信号与预设的环境噪声样本之间是否是匹配的。也就是说,若目标声音信号与预设的环境噪声样本之间存在一定的匹配度,则说明目标声音信号指示普通的环境噪声,而不是需要去响应的其他声音。
具体的,在目标声音信号与环境噪声样本匹配时,确定需要将目标声音信号输入到耳机进行播放,反之,在目标声音信号与环境噪声样本不匹配时,确定不需要将目标声音信号输入到耳机进行播放。
需要说明的是,在一个可选的实施例中,目标声音信号与环境噪声样本是否是匹配的过程,还可以是计算目标声音信号与环境噪声样本之间的匹配度,也就是说,按照预设的匹配度计算算法,计算目标声音信号与环境噪声样本之间的匹配度,在计算得到的匹配度大于或等于预设的匹配度阈值的情况下,判定所述目标声音信号与环境噪声样本是匹配的,反之,在计算得到的匹配度小于预设的匹配度阈值的情况下,判定所述目标声音信号与环境噪声样本不匹配。
在一个可选的实施例中,环境噪声样本可以是用户预先设置的样本数据, 也就是说,在用户对耳机控制进行设置时,可以通过麦克风装置录制样本数据作为环境噪声样本。
在另一个可选的实施例中,环境噪声样本还是在使用耳机的过程中通过麦克风装置进行采集的,因为在不同的环境下,环境噪声也会不一样,在此种情况下,均使用同一个环境噪声样本可能造成对于目标声音信号的判断不准确。
具体的,在一个实施例中,通过所述麦克风装置采集环境声音信号作为所述预设的环境噪声样本。
例如,在检测到用户开始使用耳机的情况下,发送环境噪声样本录制指令给麦克风装置,由麦克风装置采集环境声音信号,并将采集到的环境声音信号发送给处理器,由处理器将采集到的环境声音信号存储为预设的环境噪声样本,以便在耳机控制的过程中进行比对使用。
进一步的,在另一个实施例中,上述通过所述麦克风装置采集环境声音信号作为所述预设的环境噪声样本还包括:按照预设的时间间隔定期采集通过所述麦克风装置采集环境声音信号,根据该环境声音信号对所述预设的环境噪声样本进行更新。
也就是说,因为随着时间的推移,周围环境的噪声也可能发生改变,在此种情况下,就需要对环境噪声样本也进行同步的更新。具体的,可以根据预设的时间间隔,定期通过麦克风装置采集环境声音信号并对存储的环境噪声样本进行更新。
例如,可以每隔10min采集一次环境声音信号并对环境噪声样本进行更新。又例如,通过与处理器相连的GPS定位装置检测用户的位置信息,在用户的位置信息发生改变时,采集环境声音信号并对环境噪声样本进行更新。
如前所述,在麦克风装置采集到的目标声音信号满足预设条件的情况下,会将采集到的目标声音信号发送给耳机的音频播放模块进行播放。但是,这都只是将声音传递给了用户,用户可能还是不知道周围环境的情况,例如,在用户佩戴了头戴式显示设备的情况下,需要取下佩戴的头戴式显示设备才能进一 步的确定当前周围的环境。
在另一个实施例中,上述耳机控制方法所基于的处理器还连接有显示设备,该显示设备可以用来展示处理器发送的画面,或者其他数据、信息。
在一个可选的实施例中,在所述目标声音信号满足所述预设条件的情况下,在所述预设的显示设备上展示预设的提示信息。
也就是说,在需要让用户听到目标声音信号的情况,不仅将目标声音信号发送到耳机的音频播放装置进行播放,还在显示设备的显示界面上展示预设的提示信息。
在另一个可选的实施例中,展示的提示信息还可以根据目标声音信号的不同而不同。具体的,在目标声音信号的分贝数大于预设的第二分贝阈值的情况下,会直接将目标声音信号发送给耳机进行播放。其中,第二分贝阈值是一个较大的数,例如,90dB而目标声音信号的分贝数大于该值,说明外界环境中存在某些特定的声音,例如,警报声(警报声的分贝数大于90dB)。在此种情况下,可以设置一个与第二分贝阈值对应的提示信息,在目标声音信号的分贝数大于第二分贝阈值的情况下,直接展示该提示信息。
在其他实施例中,还可以设置其他提示信息。例如,在目标声音信号为预设的电话铃声的情况下,提示用户当前有电话接入;又例如,在目标声音信号为预设的人声时,提示用户某人在说话等。
在另一个实施例中,上述耳机控制方法所基于的处理器不仅连接有显示设备,还连接有摄像头,用来采集周围环境的图像或者视频,并且,可以通过上述显示设备进行播放。
具体的,在一个实施例中,所述方法还包括:在所述目标声音信号满足所述预设条件的情况下,通过所述摄像头采集环境图像/视频,在所述预设的显示设备上展示所述采集到的环境图像/视频。
也就是说,在通过麦克风装置采集的目标声音信号是需要发送给耳机进行播放的声音信号的情况下,将目标声音信号发送给耳机进行播放的同时,还将 连接的摄像头采集的环境图像或者环境视频发送给处理器,由处理器发送给显示设备进行播放。
也就是说,在周围环境中存在需要用户进行响应的声音的情况下,不仅将该声音播放给用户,还可以将周围的环境拍摄下来并在对应的显示设备上进行显示,以便用户对当前的环境状况进行分辨。
在另一个可选的实施例中,如图4所示,在用户开始使用降噪耳机的情况下,实时的采集外界的声音信号,并判断实时采集的声音信号是否超过预先采集的环境噪声样本30dB或以上,并且持续时间超过2s、重复出现2次或2次以上,如果均为是,则将采集到的声音信号发送给耳机进行播放。
综上所述,实施本发明实施例,将具有如下有益效果:
采用了上述耳机控制方法以及耳机之后,在使用降噪耳机并隔绝环境噪声的影响的情况下,通过耳机上设置的麦克风装置或者与耳机连接的麦克风装置实时的采集声音信号,然后对采集到的声音信号进行分析和判断,在该声音信号满足预设条件的情况下,将采集到的声音信号发送至耳机进行播放,从而使得用户在使用降噪耳机或者包含了降噪耳机的设备的情况下,也能即时获悉环境中是否存在需要响应的声音,并及时根据通过耳机发送过来的声音做出响应。也就会说,既保证了降噪耳机的正常工作,又可很好的将外界有效的环境声音信号通知至用户,提升了用户体验。
在一个实施例中,如图3所示,图3展示了一种运行上述耳机控制方法的基于冯诺依曼体系的计算机系统的终端。该计算机系统可以是智能手机、平板电脑、掌上电脑、笔记本电脑或个人电脑等终端设备。具体的,可包括通过系统总线连接的外部输入接口1001、处理器1002、存储器1003和输出接口1004。其中,外部输入接口1001可选的可至少包括网络接口10012、麦克风装置10014以及摄像头10016。存储器1003可包括外存储器10032(例如硬盘、光盘或软盘等)和内存储器10034。输出接口1004可至少包括显示屏10042以及音频播放装置10044等设备。
在本实施例中,本方法的运行基于计算机程序,该计算机程序的程序文件存储于前述基于冯诺依曼体系的计算机系统的外存储器10032中,在运行时被加载到内存储器10034中,然后被编译为机器码之后传递至处理器1002中执行,从而使得基于冯诺依曼体系的计算机系统中形成逻辑上的各个虚拟模块。且在上述耳机控制方法执行过程中,输入的参数均通过外部输入接口1001接收,并传递至存储器1003中缓存,然后输入到处理器1002中进行处理,处理的结果数据或缓存于存储器1003中进行后续地处理,或被传递至输出接口1004进行输出。
具体的,所述麦克风装置10014用于采集的目标声音信号;
所述处理器1002用于在所述检测到的目标声音信号满足预设条件时,将所述目标声音信号发送至所述耳机进行播放。
可选的,在一个实施例中,所述处理器1002还用于获取所述目标声音信号的特征信息,判断所述特征信息是否与预设的特征参考值匹配,若是,则判定所述目标声音信号满足所述预设条件。
可选的,在一个实施例中,所述麦克风装置10014还用于采集环境声音信号作为所述预设的环境噪声样本。
可选的,在一个实施例中,所述麦克风装置10014还用于按照预设的时间间隔定期采集环境声音信号,根据该环境声音信号对所述预设的环境噪声样本进行更新。
可选的,在一个实施例中,所述处理器1002还用于获取所述目标声音信号的分贝值,在所述分贝值大于预设的第二分贝阈值的情况下,判定所述目标声音信号满足所述预设条件;
可选的,在一个实施例中,所述显示设备10042还用于在所述目标声音信号满足所述预设条件的情况下,展示预设的提示信息,所述提示信息与所述第二分贝阈值对应。
可选的,在一个实施例中,所处摄像头10016还用于在所述目标声音信号满足所述预设条件的情况下,采集环境图像/视频;所述显示设备10042还用 于展示摄像头10016采集到的环境图像/视频。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (15)

  1. 一种耳机控制方法,其特征在于,所述方法基于与耳机连接的处理器,所述处理器还连接有麦克风装置;
    所述方法包括:
    检测所述麦克风装置采集的目标声音信号;
    在所述检测到的目标声音信号满足预设条件时,将所述目标声音信号发送至所述耳机进行播放。
  2. 根据权利要求1所述的方法,其特征在于,所述预设条件包括所述目标声音信号的分贝数与预设的环境噪声样本的分贝数的差值大于第一分贝阈值、所述目标声音信号的持续时间大于预设的时间阈值、和所述目标声音信号具有周期性中的至少一种。
  3. 根据权利要求1所述的方法,其特征在于,所述检测所述麦克风装置采集的目标声音信号之后还包括:
    获取所述目标声音信号的特征信息,判断所述特征信息是否与预设的特征参考值匹配,若是,则判定所述目标声音信号满足所述预设条件。
  4. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    通过所述麦克风装置采集环境声音信号作为所述预设的环境噪声样本。
  5. 根据权利要求4所述的方法,其特征在于,所述通过所述麦克风装置采集环境声音信号作为所述预设的环境噪声样本还包括:
    按照预设的时间间隔定期采集通过所述麦克风装置采集环境声音信号,根据该环境声音信号对所述预设的环境噪声样本进行更新。
  6. 根据权利要求3所述的方法,其特征在于,所述处理器还连接有显示设备;
    所述获取所述目标声音信号的特征信息还包括:
    获取所述目标声音信号的分贝值,在所述分贝值大于预设的第二分贝阈值的情况下,判定所述目标声音信号满足所述预设条件;
    所述方法还包括:
    在所述目标声音信号满足所述预设条件的情况下,在所述预设的显示设备上展示预设的提示信息,所述提示信息与所述第二分贝阈值对应。
  7. 根据权利要求6所述的方法,其特征在于,所述处理器还连接有摄像头;
    所述方法还包括:
    在所述目标声音信号满足所述预设条件的情况下,通过所述摄像头采集环境图像/视频,在所述预设的显示设备上展示所述采集到的环境图像/视频。
  8. 一种耳机,其特征在于,所述耳机设置有处理器和麦克风装置;
    所述麦克风装置用于采集目标声音信号;
    所述处理器用于在所述检测到的目标声音信号满足预设条件时,将所述目标声音信号发送至所述耳机进行播放。
  9. 根据权利要求8所述的耳机,其特征在于,所述预设条件包括所述目标声音信号的分贝数与预设的环境噪声样本的分贝数的差值大于第一分贝阈值、所述目标声音信号的持续时间大于预设的时间阈值、和所述目标声音信号具有周期性中的至少一种。
  10. 根据权利要求8所述的耳机,其特征在于,所述处理器还用于获取所述目标声音信号的特征信息,判断所述特征信息是否与预设的特征参考值匹配,在所述特征信息与所述特征参考值匹配的情况下,判定所述目标声音信号满足所述预设条件。
  11. 根据权利要求9所述的耳机,其特征在于,所述麦克风装置还用于采集环境声音信号作为所述预设的环境噪声样本。
  12. 根据权利要求11所述的耳机,其特征在于,所述麦克风装置还用于按照预设的时间间隔定期采集环境声音信号,根据该环境声音信号对所述预设的环境噪声样本进行更新。
  13. 根据权利要求10所述的耳机,其特征在于,所述耳机还连接有显示设备;
    所述处理器还用于获取所述目标声音信号的分贝值,在所述分贝值大于预设的第二分贝阈值的情况下,判定所述目标声音信号满足所述预设条件;
    所述显示设备还用于在所述目标声音信号满足所述预设条件的情况下,展示预设的提示信息,所述提示信息与所述第二分贝阈值对应。
  14. 根据权利要求13所述的方法,其特征在于,所述耳机还连接有摄像头;
    所述摄像头方法还用于在所述目标声音信号满足所述预设条件的情况下,采集环境图像/视频;
    所述显示设备还用于展示所述摄像头采集到的环境图像/视频。
  15. 一种计算机可读存储介质,包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如权利要求1-7所述的方法。
PCT/CN2017/088673 2017-06-16 2017-06-16 耳机控制方法及系统 WO2018227560A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780060391.8A CN109791775A (zh) 2017-06-16 2017-06-16 耳机控制方法及系统
PCT/CN2017/088673 WO2018227560A1 (zh) 2017-06-16 2017-06-16 耳机控制方法及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/088673 WO2018227560A1 (zh) 2017-06-16 2017-06-16 耳机控制方法及系统

Publications (1)

Publication Number Publication Date
WO2018227560A1 true WO2018227560A1 (zh) 2018-12-20

Family

ID=64659381

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/088673 WO2018227560A1 (zh) 2017-06-16 2017-06-16 耳机控制方法及系统

Country Status (2)

Country Link
CN (1) CN109791775A (zh)
WO (1) WO2018227560A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125735B (zh) * 2021-12-03 2023-04-21 Oppo广东移动通信有限公司 耳机连接方法及装置、计算机可读存储介质和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030165243A1 (en) * 2002-03-04 2003-09-04 Min-Yi Liu Earphone with control device of timing call setting
CN101790000A (zh) * 2010-02-20 2010-07-28 华为终端有限公司 一种环境声音提醒方法和移动终端
CN105741856A (zh) * 2016-04-08 2016-07-06 王美金 一种在听音乐状态下提示环境危机声音的耳机
CN106601272A (zh) * 2016-11-24 2017-04-26 歌尔股份有限公司 耳机及其语音识别方法
CN106791109A (zh) * 2016-12-23 2017-05-31 维沃移动通信有限公司 一种声音提醒方法及移动终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840700B (zh) * 2010-04-28 2012-05-23 宇龙计算机通信科技(深圳)有限公司 基于移动终端的声音识别方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030165243A1 (en) * 2002-03-04 2003-09-04 Min-Yi Liu Earphone with control device of timing call setting
CN101790000A (zh) * 2010-02-20 2010-07-28 华为终端有限公司 一种环境声音提醒方法和移动终端
CN105741856A (zh) * 2016-04-08 2016-07-06 王美金 一种在听音乐状态下提示环境危机声音的耳机
CN106601272A (zh) * 2016-11-24 2017-04-26 歌尔股份有限公司 耳机及其语音识别方法
CN106791109A (zh) * 2016-12-23 2017-05-31 维沃移动通信有限公司 一种声音提醒方法及移动终端

Also Published As

Publication number Publication date
CN109791775A (zh) 2019-05-21

Similar Documents

Publication Publication Date Title
US10586534B1 (en) Voice-controlled device control using acoustic echo cancellation statistics
CN110519539B (zh) 用于基于所检测的音频事件倒回媒体内容的方法、系统和介质
US10720153B2 (en) Name-sensitive listening device
WO2020228095A1 (zh) 实时语音唤醒的音频设备、运行方法、装置及存储介质
JP2019518985A (ja) 分散したマイクロホンからの音声の処理
CN112306448A (zh) 根据环境噪声调节输出音频的方法、装置、设备和介质
CN110956976B (zh) 一种回声消除方法、装置、设备及可读存储介质
KR102648345B1 (ko) 소리 식별을 위한 크라우드 소스 데이터베이스
JP2023542968A (ja) 定位されたフィードバックによる聴力増強及びウェアラブルシステム
CN112468924A (zh) 一种耳机降噪方法及装置
CN113038337B (zh) 一种音频播放方法、无线耳机和计算机可读存储介质
US11749293B2 (en) Audio signal processing device
CN113949955A (zh) 降噪处理方法、装置、电子设备、耳机及存储介质
CN111028838A (zh) 一种语音唤醒方法、设备及计算机可读存储介质
WO2017045512A1 (zh) 一种语音识别的方法、装置、终端及语音识别设备
US11684516B2 (en) Hearing protection and communication apparatus using vibration sensors
CN115482830A (zh) 语音增强方法及相关设备
WO2018227560A1 (zh) 耳机控制方法及系统
WO2022135071A1 (zh) 耳机播放控制方法、装置、电子设备及存储介质
US20220101870A1 (en) Noise filtering and voice isolation device and method
US10623845B1 (en) Acoustic gesture detection for control of a hearable device
EP3528509B1 (en) Audio data arrangement
JP2020024310A (ja) 音声処理システム及び音声処理方法
CN113593619B (zh) 用于录制音频的方法、装置、设备和介质
US20230267942A1 (en) Audio-visual hearing aid

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: 17914060

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: 17914060

Country of ref document: EP

Kind code of ref document: A1