WO2021004334A1 - Volume adjustment method and device and computer-readable storage medium - Google Patents

Volume adjustment method and device and computer-readable storage medium Download PDF

Info

Publication number
WO2021004334A1
WO2021004334A1 PCT/CN2020/099305 CN2020099305W WO2021004334A1 WO 2021004334 A1 WO2021004334 A1 WO 2021004334A1 CN 2020099305 W CN2020099305 W CN 2020099305W WO 2021004334 A1 WO2021004334 A1 WO 2021004334A1
Authority
WO
WIPO (PCT)
Prior art keywords
ear canal
sound pressure
pressure value
current
feature information
Prior art date
Application number
PCT/CN2020/099305
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 WO2021004334A1 publication Critical patent/WO2021004334A1/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/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Definitions

  • the acquiring part is configured to acquire the current ear canal characteristic information generated when the audio is played through the headset when the headset is in the wearing state and the audio is played through the headset, and through the set on the headset
  • the sound pressure sensor obtains the current sound pressure value
  • the volume adjustment device detects the current ear canal characteristic information in real time, and the ear canal characteristic information collected in each wearing mode that is pre-recorded and saved is adjusted accordingly to the user In the corresponding relationship of the best sound pressure value, the reference sound pressure value corresponding to the current ear canal characteristic information is determined, and finally the volume adjustment device adjusts the volume of the playback volume according to the reference sound pressure value, thereby achieving automatic adjustment to The best playback volume improves the intelligence of personalized headsets.
  • the ear canal characteristic information corresponding to each wearing method can represent each different earphone wearing mode of each different user
  • the current ear canal feature information represents the current user's current wearing mode of the earphone.
  • the current ear canal characteristic information includes current ultrasonic information
  • the method for the volume adjustment device to obtain the current ear canal characteristic information generated during audio playback through the earphone may include: controlling the earphone to emit the first ultrasonic signal and receiving the first ultrasonic signal. The second ultrasonic signal reflected by the ultrasonic signal; the volume adjusting device generates current ultrasonic information based on the first ultrasonic signal and the second ultrasonic signal according to the earphone.
  • the sound pressure sensor can be installed in any position of the front cavity or the back cavity of the earphone.
  • the earphone 2 includes a sounding unit 20.
  • the space in the earphone 2 is divided into the front cavity 21 and the sounding unit 20.
  • the sound pressure sensor can be installed in the upper position 211 or the lower position 212 of the front cavity 21, and can also be installed in the upper position 221 or the lower position 222 of the rear cavity 22.
  • the corresponding relationship between the ear canal characteristic information and the sound pressure value recorded and saved by the volume adjustment device represents the sound pressure value suitable for playback by each different user in each different earphone wearing mode. Therefore, the volume adjustment device is based on the current The reference sound pressure value found by the ear canal characteristic information from the corresponding relationship represents the sound pressure value suitable for playback under the wearing mode corresponding to the current ear canal characteristic information. Therefore, the volume adjustment device can determine the current wearing according to the reference sound pressure value The most suitable volume for playback in the mode, the volume adjustment device based on the reference sound pressure value, adjust the volume of the played audio, perform S1031 to S1032, as follows:
  • the volume adjustment device when the volume adjustment device detects that at least one corresponding data is stored, it means that the volume adjustment device has accumulated at least one ear canal characteristic information and sound pressure value before, and the volume adjustment device needs to determine the current collected current ear canal Whether the characteristic information is duplicated with the previously accumulated ear canal characteristic information, if it is the repeated ear canal characteristic information, which has been saved before, there is no need to continue accumulation.
  • the volume adjustment device when the total number is less than the preset number threshold, the volume adjustment device does not first generate the corresponding relationship between the ear canal feature information and the sound pressure value, and continues to accumulate corresponding data.
  • the saving part is configured to use the current ear canal characteristic information and the current sound pressure value as one corresponding data when the maximum first matching degree is less than a preset first matching degree threshold, and save;
  • the current ear canal characteristic information includes current impedance information
  • the current ear canal feature information includes current ultrasound information
  • control part 53 is further configured to use the reference sound pressure value when the error between the current ear canal feature information and the reference ear canal feature information is less than or equal to a preset error threshold. Adjust the volume for playing the audio; when the error between the current ear canal characteristic information and the reference ear canal characteristic information is greater than the preset error threshold, the reference sound pressure value is adjusted, and the adjusted The reference sound pressure value adjusts the volume of the audio played.
  • the acquiring part 51 is further configured to acquire the current ear canal characteristic information generated when the audio is played through the earphone, and before acquiring the current sound pressure value through the sound pressure sensor provided on the earphone, when When the audio is played through the earphone, acquiring, through the earphone, initial ear canal characteristic information generated when the audio is played;
  • the acquisition part 51, the determination part 52, and the control part 53 may be implemented by a processor 64 located on the volume adjustment device 6, specifically a central processing unit (CPU), a microprocessor Implementation of Microprocessor Unit (MPU), Digital Signal Processing (DSP) or Field Programmable Gate Array (FPGA).
  • CPU central processing unit
  • MPU microprocessor Implementation of Microprocessor Unit
  • DSP Digital Signal Processing
  • FPGA Field Programmable Gate Array

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Headphones And Earphones (AREA)

Abstract

Disclosed by the embodiments of the present application are a volume adjustment method and device and computer-readable storage medium, capable of automatically adjusting to an optimal playback volume according to the manner in which a user wears an earphone; said method may comprise: when the earphone is in a state of being worn and audio is being played by means of the earphone, obtaining by means of the earphone the current ear canal feature information generated during audio playback, and obtaining the current acoustic pressure value by means of an acoustic pressure sensor arranged on the earphone; if it is detected that there is a corresponding relationship between the ear canal feature information and the acoustic pressure value, then, from the corresponding relationship between the feature information of the ear canal and the acoustic pressure value, determining a reference acoustic pressure value corresponding to the current ear canal feature information, the correspondence relationship representing the ear canal feature information and the acoustic pressure value collected when the earphone is worn in at least one wearing mode; on the basis of the reference acoustic pressure value, adjusting the volume of audio playback.

Description

一种音量调节方法及装置、计算机可读存储介质Volume adjustment method and device, and computer readable storage medium
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201910620694.1、申请日为2019年07月10日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is filed based on a Chinese patent application whose application number is 201910620694.1, and the filing date is July 10, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by way of introduction.
技术领域Technical field
本申请涉及软件工程领域,尤其涉及一种音量调节的方法及装置、计算机可读存储介质。This application relates to the field of software engineering, in particular to a method and device for volume adjustment, and a computer-readable storage medium.
背景技术Background technique
目前,终端自动调节播放音量的方法,常见的为在耳机上设置麦克风,由麦克风检测耳机的当前播放音量,当当前音量大于预设阈值时,智能终端生成一告警指令,并发出告警信息。同时,智能终端获取用户在佩戴耳机过程中声音的泄漏变化量;根据声音的泄露变化量调节耳机的输出音量。然而,通过检测当前播放音量和佩戴时的泄露量来调节音量只能单一的对音量过大或过小的情况进行调整,不够智能化。At present, the common method for the terminal to automatically adjust the playback volume is to set a microphone on the headset. The microphone detects the current playback volume of the headset. When the current volume is greater than a preset threshold, the smart terminal generates an alarm instruction and sends out an alarm message. At the same time, the smart terminal obtains the change in sound leakage during the user wearing the earphone; adjusts the output volume of the earphone according to the change in sound leakage. However, adjusting the volume by detecting the current playback volume and the amount of leakage during wearing can only adjust the volume when the volume is too high or too low, and it is not intelligent enough.
发明内容Summary of the invention
本申请提供一种音量调节方法及装置、计算机可读存储介质,能够根据耳机的使用方式自动调节至最佳播放音量,从而提高个性化使用耳机的智能性。The present application provides a volume adjustment method and device, and a computer-readable storage medium, which can automatically adjust the optimal playback volume according to the use mode of the earphone, thereby improving the intelligence of the personalized earphone.
本申请的技术方案是这样实现的:The technical solution of this application is realized as follows:
本申请实施例提供一种音量调节方法,所述方法包括:An embodiment of the present application provides a volume adjustment method, and the method includes:
当耳机处于佩戴状态、且通过所述耳机播放音频时,通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值;When the earphone is in the wearing state and audio is played through the earphone, the current ear canal characteristic information generated when the audio is played is acquired through the earphone, and the current sound pressure is acquired through the sound pressure sensor provided on the earphone value;
当检测到存在耳道特征信息和声压值的对应关系时,从所述耳道特征信息和声压值的对应关系中,确定所述当前耳道特征信息对应的参考声压值,所述对应关系表征采用至少一种佩戴方式佩戴所述耳机时采集到的耳道特征信息和声压值;When it is detected that there is a corresponding relationship between the ear canal feature information and the sound pressure value, the reference sound pressure value corresponding to the current ear canal feature information is determined from the corresponding relationship between the ear canal feature information and the sound pressure value. The corresponding relationship characterizes the ear canal characteristic information and the sound pressure value collected when the earphone is worn in at least one wearing manner;
基于所述参考声压值,调节播放音频的音量。Based on the reference sound pressure value, the volume of the played audio is adjusted.
本申请实施例提供一种音量调节装置,所述装置包括:获取部分、确定部分和控制部分;其中,An embodiment of the present application provides a volume adjustment device, the device includes: an acquisition part, a determination part, and a control part; wherein,
所述获取部分,配置为当耳机处于佩戴状态、且通过所述耳机播放音频时,通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值;The acquiring part is configured to acquire the current ear canal characteristic information generated when the audio is played through the headset when the headset is in the wearing state and the audio is played through the headset, and through the set on the headset The sound pressure sensor obtains the current sound pressure value;
所述确定部分,配置为当检测到存在耳道特征信息和声压值的对应关系时,从所述耳道特征信息和声压值的对应关系中,确定所述当前耳道特征信息对应的参考声压值,所述对应关系表征采用至少一种佩戴方式佩戴所述耳机时采集到的耳道特征信息和声压值;The determining part is configured to determine the corresponding relationship between the ear canal feature information and the sound pressure value from the corresponding relationship between the ear canal feature information and the sound pressure value With reference to the sound pressure value, the corresponding relationship represents the ear canal characteristic information and the sound pressure value collected when the earphone is worn in at least one wearing manner;
所述控制部分,配置为基于所述参考声压值,调节播放所述音频的音量。The control part is configured to adjust the volume of playing the audio based on the reference sound pressure value.
本申请实施例提供一种音量调节装置,所述音量调节装置包括:处理器、存储器以及通信总线,所述存储器通过所述通信总线与所述处理器进行通信,所述存储器存储所述处理器可执行的一个或者多个程序,当所述一个或者多个程序被执行时,所述处理器执行如上述任 意一种音量调节方法。An embodiment of the present application provides a volume adjustment device. The volume adjustment device includes a processor, a memory, and a communication bus. The memory communicates with the processor through the communication bus, and the memory stores the processor. One or more executable programs. When the one or more programs are executed, the processor executes any one of the above-mentioned volume adjustment methods.
本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上述任意一种音量调节方法。The embodiments of the present application provide a computer-readable storage medium, and the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize any of the above A method of volume adjustment.
本申请实施例提供了一种音量调节方法及装置、计算机可读存储介质,该方法包括:当耳机处于佩戴状态、且通过耳机播放音频时,通过耳机获取在播放音频时产生的当前耳道特征信息,以及通过设置在耳机上的声压传感器获取当前声压值;当检测到存在耳道特征信息和声压值的对应关系时,从耳道特征信息和声压值的对应关系中,确定当前耳道特征信息对应的参考声压值,对应关系表征采用至少一种佩戴方式中的每种方式佩戴耳机时采集到的耳道特征信息和声压值;基于参考声压值,调节播放音频的音量。采用上述方法实现方案,在耳机处于佩戴状态并播放音频时,音量调节装置实时检测当前耳道特征信息,并从预先录入并保存的每种佩戴方式下采集的耳道特征信息与用户对应调整的最佳声压值的对应关系中,确定出当前耳道特征信息对应的参考声压值,最后音量调节装置根据参考声压值调节播放音量的音量,从而实现了根据耳机的使用方式自动调节至最佳播放音量,提高了个性化使用耳机的智能性。The embodiments of the present application provide a volume adjustment method and device, and a computer-readable storage medium. The method includes: when the earphone is in a wearing state and audio is played through the earphone, acquiring the current ear canal characteristics generated during audio playback through the earphone Information, and obtain the current sound pressure value through the sound pressure sensor set on the earphone; when the corresponding relationship between the ear canal feature information and the sound pressure value is detected, the corresponding relationship between the ear canal feature information and the sound pressure value is determined The reference sound pressure value corresponding to the current ear canal characteristic information, and the corresponding relationship represents the ear canal characteristic information and sound pressure value collected when the earphone is worn in each of at least one wearing method; adjust the playback audio based on the reference sound pressure value Volume. Using the above method to achieve the solution, when the earphone is in the wearing state and playing audio, the volume adjustment device detects the current ear canal characteristic information in real time, and the ear canal characteristic information collected in each wearing mode that is pre-recorded and saved is adjusted accordingly to the user In the corresponding relationship of the best sound pressure value, the reference sound pressure value corresponding to the current ear canal characteristic information is determined, and finally the volume adjustment device adjusts the volume of the playback volume according to the reference sound pressure value, thereby achieving automatic adjustment to The best playback volume improves the intelligence of personalized headsets.
附图说明Description of the drawings
图1为本申请实施例提供的一种音量调节方法流程图一;FIG. 1 is a first flow chart of a volume adjustment method provided by an embodiment of this application;
图2为本申请实施例提供的一种耳机的结构示意图;2 is a schematic structural diagram of a headset provided by an embodiment of the application;
图3为本申请实施例提供的一种音量调节方法流程图二;FIG. 3 is a second flowchart of a volume adjustment method provided by an embodiment of this application;
图4为本申请实施例提供的一种音量调节方法流程图三;FIG. 4 is a third flowchart of a volume adjustment method provided by an embodiment of this application;
图5为本申请实施例提供的一种音量调节装置的结构示意图一;FIG. 5 is a first structural diagram of a volume adjustment device provided by an embodiment of the application;
图6为本申请实施例提供的一种音量调节装置的结构示意图二。FIG. 6 is a second structural diagram of a volume adjustment device provided by an embodiment of the application.
具体实施方式Detailed ways
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请实施例提供一种音量调节方法,如图1所示,该方法可以包括:An embodiment of the present application provides a volume adjustment method. As shown in FIG. 1, the method may include:
S101、当耳机处于佩戴状态、且通过耳机播放音频时,通过耳机获取在播放音频时产生的当前耳道特征信息,以及通过设置在耳机上的声压传感器获取当前声压值。S101: When the earphone is in the wearing state and audio is played through the earphone, obtain the current ear canal characteristic information generated during audio playback through the earphone, and obtain the current sound pressure value through the sound pressure sensor provided on the earphone.
本申请实施例提供的一种音量调节方法适用于对耳机进行音量调节的场景,如手机对耳机音量进行自动调节,以及其他播放设备对耳机音量进行自动调节的场景。The volume adjustment method provided by the embodiment of the present application is suitable for scenarios where the volume of the earphone is adjusted, such as a scenario where the volume of the earphone is automatically adjusted by a mobile phone, and the volume of the earphone is automatically adjusted by other playback devices.
本申请实施例中,音量调节装置在和耳机通信后,检测耳机是否处于佩戴状态,当检测到耳机处于佩戴状态,并且通过耳机播放音频时,音量调节装置会获取耳机的当前耳道特征信息。In the embodiment of the present application, the volume adjustment device detects whether the earphone is in the wearing state after communicating with the earphone. When it is detected that the earphone is in the wearing state and audio is played through the earphone, the volume adjustment device obtains the current ear canal characteristic information of the earphone.
本申请实施例中,当耳机佩戴在耳廓不同位置时,耳道跟耳机构成的腔体特征存在差异,因此本申请实施例中的耳道特征信息是指用户在以不同的方式将耳机放入耳廓中佩戴时,用户耳道与耳机之间构成的腔体的特征。音量调节装置将当前用户耳道与耳机之间构成的腔体的特征作为当前耳道特征信息。In the embodiment of the present application, when the earphone is worn at different positions of the auricle, the characteristics of the cavity formed by the ear canal and the earphone are different. Therefore, the characteristic information of the ear canal in the embodiment of the present application means that the user puts the earphone in different ways. The characteristic of the cavity formed between the user’s ear canal and the earphone when worn in the auricle. The volume adjustment device uses the characteristics of the cavity formed between the ear canal of the current user and the earphone as the current ear canal characteristic information.
本申请实施例中,当不同用户使用耳机时,由于不同人耳的结构不同,因此不同用户即使同一佩戴方式佩戴耳机,耳道与耳机之间所形成的腔体也是不同的,即当不同用户使用耳机时,每个用户对应的耳道特征信息是不同的;另外,同一用户以不同佩戴方式佩戴耳机时, 示例性的,未佩戴方式、正常佩戴方式、比较紧的佩戴方式,比较松的佩戴方式,或随意位置的佩戴方式等,也会引起耳道与耳机之间所形成的腔体差异,因此当同一用户以不同佩戴方式佩戴耳机时,每种佩戴方式所对应的耳道特征信息也不同。因此耳道特征信息可以表征每个不同用户的每种不同的耳机佩戴方式,当前耳道特征信息表征当前用户对耳机当前的佩戴方式。In the embodiments of this application, when different users use earphones, because the structures of different human ears are different, the cavity formed between the ear canal and the earphone is different even if different users wear the earphone in the same way, that is, when different users When using earphones, each user’s corresponding ear canal characteristic information is different; in addition, when the same user wears earphones in different wearing methods, exemplarily, the non-wearing method, the normal wearing method, and the tighter wearing method are relatively loose. Wearing methods, or wearing methods at random positions, etc., will also cause differences in the cavity formed between the ear canal and the earphones. Therefore, when the same user wears the earphones in different wearing methods, the ear canal characteristic information corresponding to each wearing method Also different. Therefore, the ear canal feature information can represent each different earphone wearing mode of each different user, and the current ear canal feature information represents the current user's current wearing mode of the earphone.
在一些实施例中,音量调节装置通过耳机获取在播放音频时产生的当前耳道特征信息,以及通过设置在耳机上的声压传感器获取当前声压值之前,音量调节装置还可以执行S1011至S1013,来判断耳机是否处于佩戴状态,如下:In some embodiments, before the volume adjustment device obtains the current ear canal characteristic information generated when playing audio through the earphone, and obtains the current sound pressure value via the sound pressure sensor provided on the earphone, the volume adjustment device may also perform S1011 to S1013. , To determine whether the headset is in the wearing state, as follows:
S1011、当通过耳机播放音频时,通过耳机获取在播放音频时产生的初始耳道特征信息。S1011. When playing audio through the earphone, obtain the initial ear canal characteristic information generated when the audio is played through the earphone.
当通过耳机播放音频时,音量调节装置通过耳机获取在播放音频时产生的耳道特征信息,作为初始耳道特征信息。When the audio is played through the earphone, the volume adjustment device acquires the ear canal characteristic information generated when the audio is played through the earphone as the initial ear canal characteristic information.
本申请实施例中,当用户使用耳机听歌,看视频时,耳机会播放相应的音频,此时用户可能已经将耳机佩戴至耳廓内,这时用户可以正常收听对应的音频,也有可能用户并没有将耳机佩戴上就开始播放音频了。因此音量调节装置需要先判断耳机的佩戴状态。由于当耳机处于未佩戴、自由放置状态时,不存在耳机与耳道之间形成的腔体,因此耳机处于佩戴状态与耳机处于未佩戴状态所分别对应的耳道特征信息必然存在很大差异。音量调节装置可以通过获取耳机在播放音频时产生的初始耳道特征信息,判断出耳机是否处于佩戴状态。In the embodiments of this application, when the user listens to music and watches videos using headphones, the headphones will play the corresponding audio. At this time, the user may have worn the headphones inside the auricle. At this time, the user can listen to the corresponding audio normally, or the user may I started playing audio without putting on the headphones. Therefore, the volume adjustment device needs to first determine the wearing state of the headset. Since there is no cavity formed between the earphone and the ear canal when the earphone is in the unworn and freely placed state, the ear canal characteristic information corresponding to the earphone in the wearing state and the earphone in the unworn state must be very different. The volume adjustment device can determine whether the earphone is in the wearing state by acquiring the initial ear canal characteristic information generated when the earphone is playing audio.
本申请实施例中,初始耳道特征信息可以是音量调节装置在通过耳机播放音频时采集到的首个耳道特征信息,也可以是在通过耳机播放音频过程中,音量调节装置以预定时间间隔进行采集得到的耳道特征信息。这样,音量调节装置可以通过首个耳道特征信息判断在音频开始播放时耳机是否处于佩戴状态,也可以在音频播放过程中监测耳机是否被取下。In the embodiment of the present application, the initial ear canal characteristic information may be the first ear canal characteristic information collected by the volume adjustment device when playing audio through the earphone, or it may be the first ear canal characteristic information collected by the volume adjustment device during audio playback through the earphone. The characteristic information of the ear canal is collected. In this way, the volume adjustment device can determine whether the earphone is in a wearing state when the audio starts to be played based on the first ear canal characteristic information, and can also monitor whether the earphone is taken off during the audio playback.
S1012、计算初始耳道特征信息与预设耳道特征信息的第二匹配度。S1012. Calculate a second degree of matching between the initial ear canal feature information and the preset ear canal feature information.
本申请实施例中,音量调节装置会首先预设并保存未佩戴耳机时对应的耳道特征信息,作为预设耳道特征信息。In the embodiment of the present application, the volume adjustment device first presets and saves the corresponding ear canal characteristic information when the earphone is not worn, as the preset ear canal characteristic information.
本申请实施例中,在存在预设耳道特征信息的前提下,音量调节装置获取到初始耳道特征信息之后,会将初始耳道特征信息与表征未佩戴耳机状态的预设耳道特征信息进行对比和匹配,来判断当前耳机是否处于佩戴状态。In the embodiment of the present application, on the premise that there is preset ear canal feature information, after the volume adjustment device obtains the initial ear canal feature information, it will combine the initial ear canal feature information with the preset ear canal feature information representing the state of not wearing the earphone Perform comparison and matching to determine whether the current headset is in the wearing state.
本申请实施例中,音量调节装置会计算出初始耳道特征信息与预设耳道特征信息的第二匹配度,以第二匹配度作为判断的标准。In the embodiment of the present application, the volume adjustment device calculates the second matching degree between the initial ear canal characteristic information and the preset ear canal characteristic information, and the second matching degree is used as a criterion for judgment.
S1013、当第二匹配度大于预设第二匹配度阈值时,生成表征耳机处于未佩戴状态的告警提示。S1013: When the second matching degree is greater than the preset second matching degree threshold, generate an alarm prompt indicating that the headset is in an unworn state.
音量调节装置计算出初始耳道特征信息与预设耳道特征信息的第二匹配度之后,如果第二匹配度大于预设第二匹配度阈值,说明初始耳道特征信息与预设耳道特征信息即未佩戴状态所采集到的耳道特征信息非常接近,因此音量调节装置可以认为当前耳机处于未佩戴状态。After the volume adjustment device calculates the second matching degree between the initial ear canal feature information and the preset ear canal feature information, if the second matching degree is greater than the preset second matching degree threshold, the initial ear canal feature information and the preset ear canal feature are indicated The information, that is, the characteristic information of the ear canal collected in the unworn state is very close, so the volume adjustment device can consider that the current earphone is in the unworn state.
音量调节装置在判断耳机处于未佩戴状态后,由于未佩戴耳机时对音量进行调节是无意义的,因此音量调节装置生成表征耳机处于未佩戴状态的告警提示,并结束方法流程。After the volume adjustment device determines that the earphone is in the unworn state, since it is meaningless to adjust the volume when the earphone is not worn, the volume adjustment device generates an alarm prompt indicating that the earphone is in the unworn state, and ends the method flow.
在一些实施例中,告警提示可以是音量调节装置在终端显示界面上进行相应的提示,提示用户耳机未佩戴,或以警示音提示用户耳机处于未佩戴状态,具体的根据实际情况进行实现,本申请实施例不作限定。In some embodiments, the alarm prompt may be a corresponding prompt by the volume adjustment device on the terminal display interface, prompting the user that the headset is not worn, or prompting the user that the headset is not worn with a warning sound, which is specifically implemented according to actual conditions. The application examples are not limited.
可以理解的是,通过对初始耳道特征信息与预设耳道特征信息的匹配,音量调节装置可以实时监测耳机是否处于佩戴状态,并在耳机脱落、未佩戴时进行及时告警,提高了音量调节的智能性。It is understandable that by matching the initial ear canal characteristic information with the preset ear canal characteristic information, the volume adjustment device can monitor whether the earphone is in the wearing state in real time, and give a timely warning when the earphone is off or not worn, thereby improving the volume adjustment The intelligence.
本申请实施例中,音量调节装置在判断出耳机处于佩戴状态之后,当耳机播放音频时,音量调节装置通过耳机获取在播放音频时产生的当前耳道特征信息。In the embodiment of the present application, after the volume adjusting device determines that the earphone is in the wearing state, when the earphone is playing audio, the volume adjusting device obtains the current ear canal characteristic information generated during audio playback through the earphone.
在一些实施例中,当前耳道特征信息包括当前阻抗信息;音量调节装置通过耳机获取在播放音频时产生的当前耳道特征信息的方法可以包括:通过耳机播放音频时,基于耳机中的 数模转换电路,检测在播放音频时产生的电压信号和电流信号;依据耳机基于电压信号与所述电流信号,生成当前阻抗信息。In some embodiments, the current ear canal characteristic information includes current impedance information; the method for the volume adjusting device to obtain the current ear canal characteristic information generated when playing audio through the earphone may include: when playing audio through the earphone, based on the digital analog in the earphone The conversion circuit detects the voltage signal and the current signal generated during audio playback; according to the earphone, the current impedance information is generated based on the voltage signal and the current signal.
音量调节装置在确定耳机处于佩戴状态、且通过耳机播放音频时,向耳机发送阻抗检测指令,耳机响应于阻抗检测指令,利用设置在耳机左右声道中的电压数模转换电路和电流数模转换电路检测在播放音频时产生的电压信号和电流信号计算出耳道阻抗值,利用耳道阻抗值和所播放音频中频率生成一条阻抗曲线,即当前阻抗信息;其中,音频可以为扫频音。When determining that the earphone is in the wearing state and playing audio through the earphone, the volume adjustment device sends an impedance detection command to the earphone. The earphone responds to the impedance detection command by using the voltage digital-to-analog conversion circuit and current digital-to-analog conversion set in the left and right channels of the earphone. The circuit detects the voltage signal and current signal generated during audio playback to calculate the ear canal impedance value, and uses the ear canal impedance value and the frequency of the played audio to generate an impedance curve, that is, the current impedance information; among them, the audio can be a frequency sweep tone.
示例性地,耳机处于佩戴状态,通过耳机播放20HZ到20KHZ的扫频音源,以不同频率进行音频的播放,音量调节装置利用耳机中电流数模转换器检测在播放音频时产生的电流信号、以及利用电压数模转换器检测在播放音频时产生的电压信号,得到20HZ到20KHZ范围的音频播放频率内,不同音频频率下检测到的不同电流信号和电压信号。音量调节装置根据每种不同音源频率下测得的电压信号和电流信号,计算出每种不同频率对应的不同耳道阻抗值,并根据每种不同频率对应的不同耳道阻抗值,生成一条阻抗曲线,曲线中的每个点为每个音频频率下计算出的耳道阻抗值。音量调节装置将最后生成的阻抗曲线作为当前阻抗信息,音量调节装置将当前阻抗信息作为当前耳道特征信息。Exemplarily, the earphone is in the wearing state, the 20HZ to 20KHZ frequency sweeping audio source is played through the earphone, and the audio is played at different frequencies. The volume adjustment device uses the current digital-to-analog converter in the earphone to detect the current signal generated during audio playback, and The voltage digital-to-analog converter is used to detect the voltage signal generated during audio playback, and the different current signals and voltage signals detected at different audio frequencies within the audio playback frequency range of 20HZ to 20KHZ are obtained. The volume adjustment device calculates the different ear canal impedance values corresponding to each different frequency according to the voltage signal and current signal measured under each different sound source frequency, and generates an impedance according to the different ear canal impedance values corresponding to each different frequency Curve, each point in the curve is the ear canal impedance value calculated at each audio frequency. The volume adjustment device uses the last generated impedance curve as current impedance information, and the volume adjustment device uses the current impedance information as current ear canal characteristic information.
需要说明的是,当耳机与耳道之间形成的腔体不同时,在同一音频频率下检测到的电压信号和电流信号是不同的,因此根据电压信号和电流信号计算得到的当前阻抗信息也不同,由于不同用户佩戴耳机,或者同一用户以不同佩戴方式佩戴耳机时都会产生腔体的不同,因此可以利用当前阻抗信息来区分不同的用户或同一用户不同的佩戴方式。It should be noted that when the cavity formed between the earphone and the ear canal is different, the voltage signal and current signal detected at the same audio frequency are different, so the current impedance information calculated based on the voltage signal and current signal is also different. Different, because different users wear earphones or the same user wears earphones in different ways, the cavities are different, so the current impedance information can be used to distinguish different users or different wearing ways of the same user.
在一些实施例中,当前耳道特征信息包括当前超声信息;音量调节装置通过耳机获取在播放音频时产生的当前耳道特征信息的方法可以包括:控制耳机发出第一超声信号、以及接收第一超声信号反射回的第二超声信号;音量调节装置根据耳机基于第一超声信号和第二超声信号,生成当前超声信息。In some embodiments, the current ear canal characteristic information includes current ultrasonic information; the method for the volume adjustment device to obtain the current ear canal characteristic information generated during audio playback through the earphone may include: controlling the earphone to emit the first ultrasonic signal and receiving the first ultrasonic signal. The second ultrasonic signal reflected by the ultrasonic signal; the volume adjusting device generates current ultrasonic information based on the first ultrasonic signal and the second ultrasonic signal according to the earphone.
音量调节装置确定耳机处于佩戴状态、且通过耳机播放音频时,向耳机发送声学检测指令,耳机响应于声学检测指令,控制超声波发射器发射第一超声信号,通过超声波接收器接收第一超声信号反射回的第二超声信号;音量调节装置根据第一超声信号和第二超声的信号,生成一个超声信息,就是当前超声信息,音量调节装置将当前超声信息作为当前耳道特征信息。The volume adjustment device sends an acoustic detection instruction to the earphone when it is determined that the earphone is in the wearing state and the audio is played through the earphone. The earphone responds to the acoustic detection command and controls the ultrasonic transmitter to transmit the first ultrasonic signal, and the ultrasonic receiver receives the first ultrasonic signal reflection According to the first ultrasonic signal and the second ultrasonic signal, the volume adjustment device generates a piece of ultrasonic information, which is the current ultrasonic information, and the volume adjustment device uses the current ultrasonic information as the current ear canal feature information.
示例性地,音量调节装置通过耳机播放频率在30KHz-40KHz的超声波音源,音量条件装置控制超声波发射器发射第一超声信号,并记录发射时间,音量调节装置再接收第一超声信号发射到耳廓或者耳道内部时反射回来的第二超声信号,并记录接收时间;音量调节装置计算从发射时间到接收时间直接的总时间差T,并根据总时间差T生成当前超声信息。Exemplarily, the volume adjustment device plays an ultrasonic sound source with a frequency of 30KHz-40KHz through headphones, the volume condition device controls the ultrasonic transmitter to transmit the first ultrasonic signal, and records the transmission time, and the volume adjustment device then receives the first ultrasonic signal and transmits it to the auricle Or the second ultrasonic signal reflected inside the ear canal, and the receiving time is recorded; the volume adjusting device calculates the direct total time difference T from the transmitting time to the receiving time, and generates the current ultrasonic information according to the total time difference T.
需要说明的是,当耳道跟耳机所形成的腔体不同时,不同腔体对应的总时间差T不同,因此音量调节装置根据总时间差T生成的超声信息也不同,而由于不同用户佩戴耳机,或者同一用户以不同佩戴方式佩戴耳机时都会产生腔体的不同,因此可以利用超声信息区分不同的用户或者同一用户不同的佩戴方式;并且,由于超声波超出人耳听觉频率范围,用户无法感知,故获取超声信息的过程不会影响用户从耳机中收到人耳听觉频率范围内的音频。It should be noted that when the cavity formed by the ear canal and the earphone is different, the total time difference T corresponding to the different cavities is different, so the ultrasonic information generated by the volume adjustment device according to the total time difference T is also different, and because different users wear the earphone, Or when the same user wears earphones in different ways, the cavities will be different, so ultrasonic information can be used to distinguish different users or different wearing methods of the same user; and because the ultrasonic wave exceeds the frequency range of human ears, the user cannot perceive it. The process of acquiring ultrasound information will not affect the user's receiving of audio in the human ear's auditory frequency range from the headset.
本申请实施例中,音量调节装置在判断出耳机处于佩戴状态之后,当耳机播放音频时,音量调节装置还会通过设置在耳机上的声压传感器,获取当前声压值。In the embodiment of the present application, after the volume adjustment device determines that the earphone is in the wearing state, when the earphone plays audio, the volume adjustment device also obtains the current sound pressure value through the sound pressure sensor provided on the earphone.
需要说明的是,声压传感器可以安装在耳机前腔或者后腔的任意位置,参见图2,耳机2包括发声单元20,耳机2内的空间以发声单元20为分界,分为前腔21和后腔22,声压传感器可以安装在前腔21的靠上位置211或靠下位置212,也可以安装在后腔22的靠上位置221或靠下位置222。It should be noted that the sound pressure sensor can be installed in any position of the front cavity or the back cavity of the earphone. Referring to FIG. 2, the earphone 2 includes a sounding unit 20. The space in the earphone 2 is divided into the front cavity 21 and the sounding unit 20. In the rear cavity 22, the sound pressure sensor can be installed in the upper position 211 or the lower position 212 of the front cavity 21, and can also be installed in the upper position 221 or the lower position 222 of the rear cavity 22.
本申请实施例中,音量调节装置通过声压传感器,实时获取声压传感器检测到的耳机当前输出的声压值,作为当前声压值。In the embodiment of the present application, the volume adjustment device uses the sound pressure sensor to obtain the sound pressure value currently output by the earphone detected by the sound pressure sensor in real time as the current sound pressure value.
本申请实施例中,声压值表征播放音量的大小,声压值越高,对应的播放音量越大,反之,声压值越低,对应的播放音量越小。In the embodiments of the present application, the sound pressure value represents the size of the playback volume. The higher the sound pressure value, the larger the corresponding playback volume. Conversely, the lower the sound pressure value, the smaller the corresponding playback volume.
S102、当检测到存在耳道特征信息和声压值的对应关系时,从耳道特征信息和声压值的对应关系中,确定当前耳道特征信息对应的参考声压值,对应关系表征采用至少一种佩戴方式中的每种方式佩戴耳机时采集到的耳道特征信息和声压值。S102. When it is detected that there is a corresponding relationship between the ear canal feature information and the sound pressure value, the reference sound pressure value corresponding to the current ear canal feature information is determined from the corresponding relationship between the ear canal feature information and the sound pressure value, and the corresponding relationship is represented by Ear canal characteristic information and sound pressure values collected when the earphone is worn in each of the at least one wearing mode.
本申请实施例中,音量调节装置在获取到耳机当前耳道特征信息和当前声压值之后,音量调节装置会检测是否存在耳道特征信息和声压值的对应关系。In the embodiment of the present application, after the volume adjustment device obtains the current ear canal characteristic information and the current sound pressure value of the earphone, the volume adjustment device detects whether there is a correspondence between the ear canal characteristic information and the sound pressure value.
本申请实施例中,耳道特征信息和声压值的对应关系可以是音量调节装置预先在特定学习场景下采集并保存在音量调节装置中的,也可以由音量调节装置在用户每次正常使用耳机过程时进行采集。音量调节装置会获取并记录不同用户以及不同佩戴方式下的耳道特征信息和声压值,并将每个用户以及每种佩戴方式对应的耳道特征信息和声压值作为对应关系进行保存。In the embodiments of the present application, the corresponding relationship between the ear canal feature information and the sound pressure value may be collected by the volume adjustment device in advance in a specific learning scenario and stored in the volume adjustment device, or it may be used by the volume adjustment device every time the user normally uses it. Collecting during the headset process. The volume adjustment device acquires and records the ear canal characteristic information and sound pressure values of different users and different wearing modes, and saves the ear canal characteristic information and sound pressure values corresponding to each user and each wearing mode as a corresponding relationship.
在一些实施例中,音量调节装置在预先设定的学习场景下进行耳道特征信息和声压值的对应关系的采集。终端进入特定的学习界面,音量调节装置在预学习界面上提示用户分别以不同的方式佩戴耳机,然后音量调节装置在每种不同的佩戴方式下,播放扫频音源,并给出提示让用户自行调整至此种佩戴方式下感觉最合适的播放音量;音量调节装置实时采集每种不同的佩戴方式对应不同的耳道特征信息,并且音量调节装置通过声压传感器采集用户调整后的最合适播放音量所对应的声压值,最后,音量调节装置将每种佩戴方式下的耳道特征信息和声压值作为对应关系进行保存。在不同用户使用耳机时,同样可以在预先设定的学习场景下进行学习,采集每个用户以不同方式佩戴耳机时,对应的耳道特征信息和声压值,将每个不同用户每种不同佩戴方式下的耳道特征信息和声压值作为耳道特征信息和声压值的对应关系进行记录并保存。In some embodiments, the volume adjustment device collects the corresponding relationship between the ear canal feature information and the sound pressure value in a preset learning scenario. The terminal enters a specific learning interface, the volume adjustment device prompts the user to wear the headset in different ways on the pre-learning interface, and then the volume adjustment device plays the swept audio source in each different wearing mode, and gives the user a prompt Adjust to the most suitable playback volume in this wearing mode; the volume adjustment device collects real-time information about different ear canal characteristics for each different wearing method, and the volume adjustment device collects the most suitable playback volume position adjusted by the user through the sound pressure sensor. Corresponding sound pressure value. Finally, the volume adjustment device saves the ear canal characteristic information and the sound pressure value in each wearing mode as a corresponding relationship. When different users use headphones, they can also learn under preset learning scenarios. When each user wears the headphones in different ways, the corresponding ear canal characteristic information and sound pressure value are collected, and each different user is different. The ear canal characteristic information and the sound pressure value in the wearing mode are recorded and saved as the corresponding relationship between the ear canal characteristic information and the sound pressure value.
在一些实施例中,音量调节装置也可以在用户正常使用过程中在后台进行耳道特征信息和声压值的记录,并在用户使用耳机一段时间之后,根据积累的耳道特征信息和声压值的数据生成耳道特征信息和声压值的对应关系。In some embodiments, the volume adjustment device may also record the ear canal characteristic information and sound pressure value in the background during the normal use of the user, and after the user uses the earphone for a period of time, according to the accumulated ear canal characteristic information and sound pressure The value data generates the corresponding relationship between the ear canal characteristic information and the sound pressure value.
本申请实施例中,当音量调节装置预先保存记录了耳道特征信息和声压值的对应关系时,音量调节装置就可以检测到存在耳道特征信息和声压值的对应关系时,进而音量调节装置可以从预先保存的耳道特征信息和声压值的对应关系中,确定出当前耳道特征信息对应的参考声压值。In the embodiment of the present application, when the volume adjustment device pre-stores and records the correspondence between the ear canal feature information and the sound pressure value, the volume adjustment device can detect that there is a correspondence between the ear canal feature information and the sound pressure value, and then the volume The adjusting device may determine the reference sound pressure value corresponding to the current ear canal characteristic information from the correspondence between the ear canal characteristic information and the sound pressure value stored in advance.
在一些实施例中,当检测到存在耳道特征信息和声压值的对应关系时,音量调节装置从耳道特征信息和声压值的对应关系中,确定出当前耳道特征信息对应的参考声压值可包括S1021至S1022,如下:In some embodiments, when it is detected that there is a correspondence between the ear canal feature information and the sound pressure value, the volume adjustment device determines the reference corresponding to the current ear canal feature information from the correspondence between the ear canal feature information and the sound pressure value. The sound pressure value can include S1021 to S1022, as follows:
S1021、根据当前耳道特征信息,从耳道特征信息和声压值的对应关系中查找到与当前耳道特征信息最匹配的耳道特征信息,确定为参考耳道特征信息。S1021, according to the current ear canal feature information, find the ear canal feature information that best matches the current ear canal feature information from the corresponding relationship between the ear canal feature information and the sound pressure value, and determine it as the reference ear canal feature information.
音量调节装置在得到当前耳道特征信息之后,如果存在耳道特征信息和声压值的对应关系,音量调节装置需要先从耳道特征信息和声压值的对应关系中找到与当前耳道特征信息最匹配的耳道特征信息。其中,最匹配的耳道特征信息表征预先记录并保存过的耳道特征信息和声压值的对应关系中,与当前耳道特征信息最相似的耳道特征信息,After the volume adjustment device obtains the current ear canal feature information, if there is a correspondence between the ear canal feature information and the sound pressure value, the volume adjustment device needs to first find the current ear canal feature from the correspondence between the ear canal feature information and the sound pressure value The information of the ear canal feature that best matches the information. Among them, the most matching ear canal feature information represents the ear canal feature information that is most similar to the current ear canal feature information among the correspondence between the pre-recorded and saved ear canal feature information and the sound pressure value.
在一些实施例中,音量调节装置可以计算当前耳道特征信息和对应关系中的每个耳道特征信息之间的至少一个匹配度,从中确定出最高匹配度,示例性的,音量调节装置可以通过排序法或对比法,从计算出的至少一个匹配度中,确定出最高匹配度。音量调节装置将与最高匹配度对应的耳道特征信息,确定为参考耳道特征信息。In some embodiments, the volume adjustment device may calculate at least one degree of matching between the current ear canal feature information and each ear canal feature information in the corresponding relationship, and determine the highest matching degree therefrom. For example, the volume adjustment device may Through the ranking method or the comparison method, the highest matching degree is determined from the at least one calculated matching degree. The volume adjustment device determines the ear canal characteristic information corresponding to the highest matching degree as the reference ear canal characteristic information.
在一些实施例中,耳道特征信息和声压值的对应关系中保存了用户A以比较紧的方式佩戴耳机时采集到的耳道特征信息E A和声压值V A,用户B以比较紧的方式佩戴耳机时采集到的耳道特征信息E B和声压值V B,以及用户A以比较松的方式佩戴耳机时采集到的耳道特征信息E A1和声压值V A1,用户B以比较松的方式佩戴耳机时采集到的耳道特征信息E B1和声压值V B1。音量调节装置获取当前耳道特征信息E之后,将当前耳道特征信息E与耳道特征信息和声压值的对应关系中的耳道特征信息进行匹配,音量调节装置计算得出当前耳道特征 信息E与耳道特征信息E A1之间的匹配度最高,说明在所有的耳道特征信息中,与当前耳道特征信息E最接近的是耳道特征信息E A1。音量调节装置将耳道特征信息E A1作为参考耳道特征信息。 In some embodiments, the corresponding relationship between the ear canal characteristic information and the sound pressure value stores the ear canal characteristic information E A and the sound pressure value V A collected when the user A wears the earphone in a relatively tight manner, and the user B compares The ear canal characteristic information E B and the sound pressure value V B collected when wearing the earphone in a tight manner, and the ear canal characteristic information E A1 and the sound pressure value V A1 collected when the user A wears the earphone in a loose manner, the user B. Ear canal characteristic information E B1 and sound pressure value V B1 collected when wearing the earphone in a relatively loose manner. After obtaining the current ear canal feature information E, the volume adjustment device matches the current ear canal feature information E with the ear canal feature information in the corresponding relationship between the ear canal feature information and the sound pressure value, and the volume adjustment device calculates the current ear canal feature The matching degree between the information E and the ear canal characteristic information E A1 is the highest, which means that among all the ear canal characteristic information, the closest to the current ear canal characteristic information E is the ear canal characteristic information E A1 . The volume adjustment device uses the ear canal characteristic information E A1 as the reference ear canal characteristic information.
S1022、根据耳道特征信息和声压值的对应关系,将参考耳道特征信息对应的声压值确定为参考声压值。S1022, according to the corresponding relationship between the ear canal feature information and the sound pressure value, determine the sound pressure value corresponding to the reference ear canal feature information as the reference sound pressure value.
音量调节装置在确定出参考耳道特征信息之后,可以根据耳道特征信息与声压值的对应关系,将参考耳道特征信息对应的声压值,确定为参考声压值。After determining the reference ear canal feature information, the volume adjustment device may determine the sound pressure value corresponding to the reference ear canal feature information as the reference sound pressure value according to the corresponding relationship between the ear canal feature information and the sound pressure value.
在一些实施例中,音量调节装置将耳道特征信息E A1确定为参考耳道特征信息之后,音量调节装置根据耳道特征信息和声压值的对应关系,将耳道特征信息E A1对应的声压值V A1作为参考声压值。 In some embodiments, after the volume adjustment device determines the ear canal feature information E A1 as the reference ear canal feature information, the volume adjustment device assigns the ear canal feature information E A1 to the corresponding relationship between the ear canal feature information and the sound pressure value. The sound pressure value V A1 serves as the reference sound pressure value.
可以理解的是,本申请实施例中,音量调节装置可以针对不同用户耳道跟耳机佩戴时形成的腔体差异,分析耳机单体在各种腔体条件下的阻抗曲线或超声信息,智能化地确定出与当前耳道特征信息匹配度最高的参考声压值,并根据参考声压值进行进一步的音量调节,由于参考声压值为用户在对应的佩戴方式下调整的最合适的播放音量,因此在提高音量调节智能性的同时,提升了用户的听感体验,同时达到了护耳效果。It is understandable that, in the embodiments of the present application, the volume adjustment device can analyze the impedance curve or ultrasound information of the earphone unit under various cavity conditions according to the cavity difference formed by the ear canal of different users and the earphone. Determine the reference sound pressure value with the highest matching degree with the current ear canal feature information, and further adjust the volume according to the reference sound pressure value, because the reference sound pressure value is the most suitable playback volume adjusted by the user in the corresponding wearing mode Therefore, while improving the intelligence of volume adjustment, the user's listening experience is improved, and the ear protection effect is achieved.
S103、基于参考声压值,调节播放音频的音量。S103: Adjust the volume of the played audio based on the reference sound pressure value.
本申请实施例中,音量调节装置确定出参考声压值之后,音量调节装置基于参考声压值对当前播放音频的音量进行调节。In the embodiment of the present application, after the volume adjustment device determines the reference sound pressure value, the volume adjustment device adjusts the volume of the currently played audio based on the reference sound pressure value.
本申请实施例中,音量调节装置记录并保存的耳道特征信息与声压值的对应关系表征每个不同用户在每种不同耳机佩戴方式下适合播放的声压值,因此音量调节装置根据当前耳道特征信息从对应关系中找到的参考声压值,表征在当前耳道特征信息所对应的佩戴方式下适合播放的声压值,因此,音量调节装置可以根据参考声压值确定出当前佩戴方式下最适合播放的音量,音量调节装置基于参考声压值,调节播放音频的音量可执行S1031至S1032,如下:In the embodiment of this application, the corresponding relationship between the ear canal characteristic information and the sound pressure value recorded and saved by the volume adjustment device represents the sound pressure value suitable for playback by each different user in each different earphone wearing mode. Therefore, the volume adjustment device is based on the current The reference sound pressure value found by the ear canal characteristic information from the corresponding relationship represents the sound pressure value suitable for playback under the wearing mode corresponding to the current ear canal characteristic information. Therefore, the volume adjustment device can determine the current wearing according to the reference sound pressure value The most suitable volume for playback in the mode, the volume adjustment device based on the reference sound pressure value, adjust the volume of the played audio, perform S1031 to S1032, as follows:
S1031、当当前耳道特征信息与参考耳道特征信息之间的误差小于等于预设误差阈值时,使用参考声压值调节播放音频的音量。S1031. When the error between the current ear canal feature information and the reference ear canal feature information is less than or equal to a preset error threshold, use the reference sound pressure value to adjust the volume of the played audio.
音量调节装置在得到参考耳道特征信息和参考声压值之后,音量调节装置计算当前耳道特征信息和参考耳道特征信息之间的误差,并与预设误差阈值比较,当误差小于等于预设误差阈值时,说明当前耳道特征信息与参考耳道特征信息非常接近,由于参考耳道特征信息对应的参考声压值表征了参考耳道特征信息对应的佩戴方式下,最适合播放的声压值,而当前耳道特征信息又与参考耳道特征信息非常接近,因此,音量调节装置可以使用参考声压值调节播放音频的音量。After the volume adjustment device obtains the reference ear canal feature information and the reference sound pressure value, the volume adjustment device calculates the error between the current ear canal feature information and the reference ear canal feature information, and compares it with the preset error threshold. When the error is less than or equal to the preset error threshold, When the error threshold is set, it means that the current ear canal feature information is very close to the reference ear canal feature information, because the reference sound pressure value corresponding to the reference ear canal feature information represents the most suitable sound for playing under the wearing mode corresponding to the reference ear canal feature information. The current ear canal characteristic information is very close to the reference ear canal characteristic information. Therefore, the volume adjustment device can use the reference sound pressure value to adjust the volume of the played audio.
本申请实施例中,预设误差阈值表征参考耳道特征信息和当前耳道特征信息之间的最大区别度,预设误差阈值具体取值可根据实际情况进行选择,本申请实施例不作限定。In the embodiment of the present application, the preset error threshold represents the maximum difference between the reference ear canal feature information and the current ear canal feature information. The specific value of the preset error threshold can be selected according to actual conditions, which is not limited in the embodiment of the present application.
在一些实施例中,音量调节装置在确定E A1为参考耳道特征信息,以及V A1为参考声压值之后,音量调节装置计算当前耳道特征信息E和参考耳道特征信息E A1之间的误差,当误差小于等于预设误差阈值时,说明当前耳道特征信息E非常接近之前保存过的参考耳道特征信息E A1,表征当前用户佩戴方式是之前采集过的一种用户的佩戴方式,因此,音量调节装置直接使用对应的参考声压值V A1对播放的音频进行音量调节,由于V A1是之前采集过程中用户在E A1的佩戴方式下调节到的最佳播放音量时所采集到的声压值,因此音量调节装置使用参考声压值V A1来调节播放音频的音量就可以匹配到当前佩戴方式下用户最适合的播放音量。 In some embodiments, after the volume adjustment device determines that E A1 is the reference ear canal feature information and V A1 is the reference sound pressure value, the volume adjustment device calculates the difference between the current ear canal feature information E and the reference ear canal feature information E A1 When the error is less than or equal to the preset error threshold, it means that the current ear canal feature information E is very close to the previously saved reference ear canal feature information E A1 , indicating that the current user wearing mode is a previously collected user wearing mode Therefore, the volume adjustment device directly uses the corresponding reference sound pressure value V A1 to adjust the volume of the played audio. Because V A1 is the best playback volume adjusted by the user in the wearing mode of E A1 during the previous collection process. Therefore, the volume adjustment device uses the reference sound pressure value V A1 to adjust the volume of the played audio to match the playback volume most suitable for the user in the current wearing mode.
S1032、当当前耳道特征信息与参考耳道特征信息之间的误差大于预设误差阈值时,对参考声压值进行调整,使用调整后的参考声压值调节播放音频的音量。S1032. When the error between the current ear canal feature information and the reference ear canal feature information is greater than the preset error threshold, the reference sound pressure value is adjusted, and the adjusted reference sound pressure value is used to adjust the volume of the played audio.
音量调节装置判断当前耳道特征信息与参考耳道特征信息之间的误差超出预设误差阈值时,音量调节装置根据耳道特征信息与声压值的正比或反比关系,对参考声压值进行一定 的补偿或衰减,音量调节装置使用补偿或衰减后的参考声压值来调节播放音频的音量。When the volume adjustment device determines that the error between the current ear canal feature information and the reference ear canal feature information exceeds the preset error threshold, the volume adjustment device performs the reference sound pressure value based on the proportional or inverse relationship between the ear canal feature information and the sound pressure value. For certain compensation or attenuation, the volume adjustment device uses the compensated or attenuated reference sound pressure value to adjust the volume of the played audio.
本申请实施例中,不同的耳道特征信息与声压值之间存在正比或反比的关系,示例性的,当耳道特征信息为阻抗信息时,耳道特征信息与声压值之间为反比关系,阻抗越大,声压值越小。因此,在当前耳道特征信息与参考耳道特征信息之间的误差超出预设误差阈值时,说明当前耳道特征信息与参考耳道特征信息之间的区别超出了最大区别度的限制,即当前耳道特征信息与参考耳道特征信息不够接近,不能直接使用参考声压值来调节播放音频的音量。音量调节装置可以继续判断当前耳道特征信息是否超出参考耳道特征信息预设误差阈值范围的上限或下限,当当前耳道特征信息超出参考耳道特征信息预设误差阈值范围的上限时,由于阻抗信息与声压值为反比关系,音量调节装置对参考声压值进行一定衰减,音量调节装置使用衰减后的参考声压值来调节播放音频的音量;同样的,当当前耳道特征信息超出参考耳道特征信息预设误差阈值范围的下限时,由于阻抗信息与声压值为反比关系,音量调节装置对参考声压值进行一定补偿,音量调节装置使用补偿后的参考声压值来调节播放音频的音量。其中,补偿或衰减的范围根据实际情况进行选择,本申请实施例不作限定。In the embodiments of this application, there is a proportional or inverse relationship between different ear canal characteristic information and sound pressure value. For example, when the ear canal characteristic information is impedance information, the difference between the ear canal characteristic information and the sound pressure value is Inversely proportional, the greater the impedance, the smaller the sound pressure value. Therefore, when the error between the current ear canal feature information and the reference ear canal feature information exceeds the preset error threshold, it means that the difference between the current ear canal feature information and the reference ear canal feature information exceeds the limit of the maximum difference, that is, The current ear canal feature information is not close enough to the reference ear canal feature information, and the reference sound pressure value cannot be used directly to adjust the volume of the played audio. The volume adjustment device can continue to determine whether the current ear canal feature information exceeds the upper or lower limit of the preset error threshold range of the reference ear canal feature information. When the current ear canal feature information exceeds the upper limit of the preset error threshold range of the reference ear canal feature information, because The impedance information is inversely proportional to the sound pressure value. The volume adjustment device attenuates the reference sound pressure value to a certain extent, and the volume adjustment device uses the attenuated reference sound pressure value to adjust the volume of the played audio; similarly, when the current ear canal characteristic information exceeds When the lower limit of the error threshold range is preset with reference to the characteristic information of the ear canal, since the impedance information and the sound pressure value are inversely proportional, the volume adjustment device compensates the reference sound pressure value to a certain extent, and the volume adjustment device uses the compensated reference sound pressure value to adjust The volume of the audio being played. The range of compensation or attenuation is selected according to actual conditions, which is not limited in the embodiment of the present application.
本申请实施例中,预设误差阈值范围的上限为以参考耳道特征信息为基准,向上浮动的预设误差阈值,预设误差阈值范围的下限为以参考耳道特征信息为基准,向下浮动的预设误差阈值。In the embodiment of the present application, the upper limit of the preset error threshold range is the preset error threshold floating upward based on the reference ear canal feature information, and the lower limit of the preset error threshold range is based on the reference ear canal feature information, downward Floating preset error threshold.
在一些实施例中,音量调节装置在确定E A1为参考耳道特征信息,以及V A1为参考声压值之后,音量调节装置计算当前耳道特征信息E和参考耳道特征信息E A1之间的误差,当误差大于预设误差阈值时,说明参考耳道特征信息E A1虽然是全部采集过的耳道特征信息中与当前耳道特征信息E最接近的一个,但是两者的近似度还是不够高,不能直接以参考声压值输出,而是要在参考声压值的基础上进行相应的衰减或补偿再进行输出。音量调节装置可以为参考耳道特征信息预设误差阈值范围,示例性的,当耳道特征信息为阻抗信息时,音量调节装置可以为参考耳道特征信息预设 ±5的预设误差阈值范围,当当前耳道特征信息E超出参考耳道特征信息E A1+5的上限时,说明当前的佩戴方式比参考耳道特征信息对应的佩戴方式阻抗更大,根据阻抗信息和声压值的反比关系,目标音量值应比参考声压值更低,因此音量调节装置对参考声压值V A1进行一定的衰减;同理,当当前耳道特征信息E超出参考耳道特征信息E A1-5的下限时,音量调节装置根据阻抗信息和声压值的反比关系,对参考声压值V A1进行一定补偿,以起到根据参考声压值智能调整音频播放音量的作用。 In some embodiments, after the volume adjustment device determines that E A1 is the reference ear canal feature information and V A1 is the reference sound pressure value, the volume adjustment device calculates the difference between the current ear canal feature information E and the reference ear canal feature information E A1 When the error is greater than the preset error threshold, it means that although the reference ear canal feature information E A1 is the closest one among all the collected ear canal feature information to the current ear canal feature information E, the degree of similarity between the two is still If it is not high enough, it cannot be output directly at the reference sound pressure value, but should be attenuated or compensated based on the reference sound pressure value before outputting. The volume adjusting device may preset an error threshold range for the reference ear canal feature information. For example, when the ear canal feature information is impedance information, the volume adjusting device may preset a preset error threshold range of ± 5 for the reference ear canal feature information , When the current ear canal feature information E exceeds the upper limit of the reference ear canal feature information E A1 +5, it means that the current wearing mode has greater impedance than the wearing mode corresponding to the reference ear canal feature information. According to the inverse ratio of the impedance information and the sound pressure value Relationship, the target volume value should be lower than the reference sound pressure value, so the volume adjustment device attenuates the reference sound pressure value V A1 to a certain extent; in the same way, when the current ear canal feature information E exceeds the reference ear canal feature information E A1 -5 When the lower limit of, the volume adjustment device compensates the reference sound pressure value V A1 according to the inverse relationship between the impedance information and the sound pressure value, so as to intelligently adjust the audio playback volume according to the reference sound pressure value.
可以理解的是,音量调节装置预先记录并保存耳道特征信息和声压值的对应关系,从而获得了每种不同佩戴方式下最适合播放的声压值,在使用耳机播放音频时,音量调节装置再获取当前耳道特征信息,将当前耳道特征信息与对应关系中的耳道特征信息进行匹配,从而得到参考声压值,并根据参考声压值调节播放音频的音量。使用本申请实施例提供的方法,可以根据不同的耳机佩戴方式自动匹配出最适合播放的音量值,提高了个性化使用耳机的智能性。It is understandable that the volume adjustment device pre-records and saves the corresponding relationship between the ear canal characteristic information and the sound pressure value, so as to obtain the sound pressure value most suitable for playback in each different wearing mode. When using headphones to play audio, adjust the volume The device then obtains the current ear canal feature information, matches the current ear canal feature information with the ear canal feature information in the corresponding relationship to obtain the reference sound pressure value, and adjusts the volume of the played audio according to the reference sound pressure value. Using the method provided in the embodiments of the present application, the most suitable volume value for playback can be automatically matched according to different earphone wearing modes, which improves the intelligence of personalized earphones.
在本申请的一些实施例中,在步骤S101之后,本申请实施例还提供一种音量调节方法,如图3所示,该方法可以包括步骤S301至S307,如下:In some embodiments of the present application, after step S101, an embodiment of the present application further provides a volume adjustment method. As shown in FIG. 3, the method may include steps S301 to S307, as follows:
S301、当不存在耳道特征信息和声压值的对应关系时,检测是否有至少一个对应数据,至少一个对应数据表征采用至少一种佩戴方式中的每种方式佩戴耳机时采集到的耳道特征信息和声压值。S301: When there is no corresponding relationship between the ear canal feature information and the sound pressure value, detect whether there is at least one corresponding data, and the at least one corresponding data represents the ear canal collected when the earphone is worn in each of the at least one wearing mode Characteristic information and sound pressure value.
本申请实施例中,当音量调节装置获取了当前耳道特征信息和当前声压值,但是检测到不存在耳道特征信息和声压值的对应关系时,音量调节装置需要检测是否已经存在至少一个采集过的耳道特征信息和声压值的对应数据。In the embodiment of the present application, when the volume adjustment device obtains the current ear canal characteristic information and the current sound pressure value, but detects that there is no correspondence between the ear canal characteristic information and the sound pressure value, the volume adjustment device needs to detect whether there is at least Corresponding data of a collected ear canal characteristic information and sound pressure value.
本申请实施例中,耳道特征信息和声压值的对应关系可以在预先设定的学习场景下进行采集和记录,也可以在用户日常使用耳机的场景下进行采集和记录,无论哪种场景下,当音量调节装置采集到耳道特征信息和声压值时,可以先将耳道特征信息和声压值以对应数据的形式保存,之后再根据积累的对应数据生成耳道特征信息和声压值的对应关系。因此音量调 节装置在检测到不存在耳道特征信息和声压值的对应关系时,会再检测是否保存有对应数据。In the embodiments of the present application, the corresponding relationship between the ear canal feature information and the sound pressure value can be collected and recorded in a preset learning scenario, or it can be collected and recorded in the scene where the user uses the earphone daily, no matter which scenario Next, when the volume adjustment device collects the ear canal characteristic information and sound pressure value, it can first save the ear canal characteristic information and sound pressure value in the form of corresponding data, and then generate the ear canal characteristic information and sound pressure based on the accumulated corresponding data Correspondence of pressure value. Therefore, when the volume adjusting device detects that there is no corresponding relationship between the ear canal feature information and the sound pressure value, it will detect whether the corresponding data is saved.
本申请实施例中,对应数据表征至少一个用户中每个用户使用至少一种佩戴方式中的每种方式佩戴耳机时,音量调节装置所采集到的耳道特征信息和声压值。In the embodiment of the present application, the corresponding data represents the ear canal characteristic information and the sound pressure value collected by the volume adjustment device when each of the at least one user wears the earphone in each of the at least one wearing mode.
S302、当检测保存有至少一个对应数据时,计算出当前耳道特征信息与至少一个对应数据中的每个耳道特征信息之间的第一匹配度。S302: When it is detected that at least one corresponding data is stored, the first degree of matching between the current ear canal characteristic information and each ear canal characteristic information in the at least one corresponding data is calculated.
本申请实施例中,当音量调节装置检测到保存有至少一个对应数据时,说明音量调节装置之前积累了至少一个耳道特征信息和声压值,音量调节装置需要判断当前采集到的当前耳道特征信息是否与之前积累的耳道特征信息重复,如果是重复的耳道特征信息,之前已经保存过了,则不需要继续积累。In the embodiment of the present application, when the volume adjustment device detects that at least one corresponding data is stored, it means that the volume adjustment device has accumulated at least one ear canal characteristic information and sound pressure value before, and the volume adjustment device needs to determine the current collected current ear canal Whether the characteristic information is duplicated with the previously accumulated ear canal characteristic information, if it is the repeated ear canal characteristic information, which has been saved before, there is no need to continue accumulation.
在一些实施例中,音量调节装置在用户日常使用耳机时采集和记录耳道特征信息和声压值的对应关系的场景下,为了保证采集到数据的代表性和有效性,由于用户每次佩戴方式和播放音频的随机性,音量调节装置需要对每次采集到的当前耳道特征信息进行验证,将当前耳道特征信息与至少一个对应数据中的每个耳道特征信息之间进行对比,如果存在与当前耳道特征信息近似度较高的耳道特征信息,说明对应佩戴方式下的数据已经被保存过,不需要重复保存。In some embodiments, the volume adjustment device collects and records the corresponding relationship between the ear canal characteristic information and the sound pressure value when the user uses the earphone daily. In order to ensure the representativeness and validity of the collected data, the user wears The method and the randomness of audio playback, the volume adjustment device needs to verify the current ear canal characteristic information collected each time, and compare the current ear canal characteristic information with at least one corresponding data of each ear canal characteristic information, If there is ear canal feature information that is highly similar to the current ear canal feature information, it means that the data in the corresponding wearing mode has been saved, and there is no need to save it repeatedly.
在一些实施例中,音量调节装置在用户在预先设定的学习场景中采集和记录耳道特征信息和声压值的对应关系的场景下,音量调节装置在学习界面提示用户以不同方式佩戴耳机之后,由于用户实际操作的不可控性,音量调节装置仍然需要对每次采集到的当前耳道特征信息进行验证,将当前耳道特征信息与至少一个对应数据中的每个耳道特征信息之间进行对比,如果存在与当前耳道特征信息近似度较高的耳道特征信息,说明对应佩戴方式下的数据已经被保存过,不需要重复保存。In some embodiments, in a scenario where the user collects and records the corresponding relationship between the ear canal feature information and the sound pressure value in a preset learning scene, the volume adjustment device prompts the user to wear the headset in different ways on the learning interface. After that, due to the uncontrollability of the actual operation of the user, the volume adjustment device still needs to verify the current ear canal characteristic information collected each time, and compare the current ear canal characteristic information with at least one corresponding data of each ear canal characteristic information. If there is ear canal feature information that is highly similar to the current ear canal feature information, it means that the data in the corresponding wearing mode has been saved and there is no need to save it repeatedly.
本申请实施例中,音量调节装置将本次采集到的当前耳道特征信息与对应数据中的耳道特征信息对比之后,如果对应数据中的耳道特征信息不存在与当前耳道特征信息类似的耳道特征信息,说明当前耳道特征信息表征了另外一种不同的佩戴方式,可以继续作为对应数据被记录和保存。In the embodiment of this application, after the volume adjustment device compares the current ear canal characteristic information collected this time with the ear canal characteristic information in the corresponding data, if the ear canal characteristic information in the corresponding data does not exist, it is similar to the current ear canal characteristic information The characteristic information of the ear canal indicates that the current characteristic information of the ear canal represents another different wearing method, which can continue to be recorded and saved as corresponding data.
本申请实施例中,音量调节装置可以通过计算当前耳道特征信息与至少一个对应数据中的每个耳道特征信息之间匹配度的方式,将当前耳道特征信息与对应数据中的耳道特征信息进行对比,音量调节装置将计算出的当前耳道特征信息与至少一个对应数据中的每个耳道特征信息之间的匹配度作为至少一个第一匹配度。In the embodiment of the present application, the volume adjustment device can compare the current ear canal feature information with the ear canal feature information in the corresponding data by calculating the matching degree between the current ear canal feature information and each ear canal feature information in the at least one corresponding data. The feature information is compared, and the volume adjustment device uses the calculated matching degree between the current ear canal feature information and each ear canal feature information in the at least one corresponding data as at least one first matching degree.
S303、从第一匹配度中确定最大第一匹配度。S303. Determine the maximum first matching degree from the first matching degree.
本申请实施例中,音量调节装置计算出至少一个第一匹配度之后,音量调节装置可以在至少一个第一匹配度之中,确定出最大第一匹配度。In the embodiment of the present application, after the volume adjustment device calculates at least one first matching degree, the volume adjustment device may determine the largest first matching degree among the at least one first matching degree.
在一些实施例中,音量调节装置确定出最大第一匹配度的方式可以使用排序法,对比法等等,具体的根据实际情况进行选择,本申请实施例不作限定。In some embodiments, the method for determining the maximum first matching degree by the volume adjustment device may use a ranking method, a comparison method, etc., and the specific selection is based on actual conditions, which is not limited in the embodiment of the present application.
本申请实施例中,最大第一匹配度所对应的耳道特征信息表征与对应数据中与当前耳道特征信息最相似的耳道特征信息。In the embodiment of the present application, the ear canal feature information corresponding to the largest first matching degree represents the ear canal feature information most similar to the current ear canal feature information in the corresponding data.
S304、当最大第一匹配度小于预设第一匹配度阈值时,将当前耳道特征信息和当前声压值作为一个对应数据,并保存。S304: When the maximum first matching degree is less than the preset first matching degree threshold, use the current ear canal feature information and the current sound pressure value as one corresponding data and save it.
本申请实施例中,音量调节装置得到最大第一匹配度之后,将最大第一匹配度与预设第一匹配度阈值进行比较,当最大第一匹配度小于预设第一匹配度阈值时,说明最大第一匹配度所对应的耳道特征信息与当前耳道特征信息之间的差异足够小,即当前耳道特征信息具有代表性,不会造成与已保存的对应数据相重复,因此音量调节装置将当前耳道特征信息和当前声压值作为一个对应数据,并保存。In the embodiment of the present application, after obtaining the maximum first matching degree, the volume adjusting device compares the maximum first matching degree with the preset first matching degree threshold. When the maximum first matching degree is less than the preset first matching degree threshold, It shows that the difference between the ear canal feature information corresponding to the maximum first matching degree and the current ear canal feature information is small enough, that is, the current ear canal feature information is representative and will not cause duplication with the saved corresponding data, so the volume The adjusting device takes the current ear canal characteristic information and the current sound pressure value as a corresponding data and saves it.
本申请实施例中,预设第一匹配度阈值表征当前耳道特征信息与对应数据中的耳道特征信息之间最低匹配度,如果小于最低匹配度,则说明当前耳道特征信息与对应数据中的耳道特征信息之间的差异足够小。具体的取值可根据实际情况进行选择,本申请实施例不作限定。In the embodiment of this application, the preset first matching degree threshold represents the lowest matching degree between the current ear canal characteristic information and the ear canal characteristic information in the corresponding data. If it is less than the lowest matching degree, the current ear canal characteristic information and the corresponding data The difference between the characteristic information of the ear canal in is small enough. The specific value can be selected according to actual conditions, and is not limited in the embodiment of the present application.
在一些实施例中,音量调节装置在检测不存在耳道特征信息和声压值的对应关系,但检测保存有五个对应数据时,音量调节装置将当前耳道特征信息与五个对应数据中的耳道特征信息进行匹配,计算出当前耳道特征信息与每个对应数据中的耳道特征信息的第一匹配度,然后从中确定匹配度最高的第一匹配度,当最高的第一匹配度小于预设第一匹配度阈值时,说明当前耳道特征信息与五个对应数据中的每个耳道特征信息的匹配度都不高,即区别较大,可以表征一种不同的佩戴方式,因此,音量调节装置将当前耳道特征信息和当前声压值作为第六个对应数据进行保存。In some embodiments, the volume adjustment device detects that there is no correspondence between the ear canal feature information and the sound pressure value, but detects that five corresponding data are stored, the volume adjustment device combines the current ear canal feature information with the five corresponding data The first matching degree between the current ear canal characteristic information and the ear canal characteristic information in each corresponding data is calculated, and then the first matching degree with the highest matching degree is determined from it, when the highest first matching degree When the degree is less than the preset first matching degree threshold, it means that the matching degree between the current ear canal feature information and each of the five corresponding data is not high, that is, the difference is large, and it can represent a different wearing style Therefore, the volume adjustment device saves the current ear canal characteristic information and the current sound pressure value as the sixth corresponding data.
本申请实施例中,当最大第一匹配度大于等于预设第一匹配度阈值时,音量调节装置不会将当前耳道特征信息和当前声压值作为对应数据保存,音量调节装置继续对当前耳道特征信息和当前声压值进行采集,执行S101至S301。In the embodiment of this application, when the maximum first matching degree is greater than or equal to the preset first matching degree threshold, the volume adjustment device will not save the current ear canal feature information and the current sound pressure value as corresponding data, and the volume adjustment device will continue to The ear canal feature information and the current sound pressure value are collected, and S101 to S301 are executed.
S305、统计已保存的对应数据的总个数。S305. Count the total number of saved corresponding data.
本申请实施例中,音量调节装置在保存对应数据之后,音量调节装置统计已保存的对应数据的总个数。In the embodiment of the present application, after the volume adjustment device saves the corresponding data, the volume adjustment device counts the total number of the saved corresponding data.
本申请实施例中,一个对应数据包括一个耳道特征信息和对应的一个声压值。In the embodiment of the present application, one piece of corresponding data includes one piece of ear canal feature information and one piece of corresponding sound pressure value.
S306、当总个数大于或等于预设个数阈值时,根据已保存的对应数据,生成耳道特征信息和声压值的对应关系。S306: When the total number is greater than or equal to the preset number threshold, generate a corresponding relationship between the ear canal feature information and the sound pressure value according to the stored corresponding data.
本申请实施例中,当音量调节装置统计出的对应数据的总个数大于或等于预设个数阈值时,音量调节装置根据已保存的对应数据,生成对应关系。In the embodiment of the present application, when the total number of corresponding data counted by the volume adjustment device is greater than or equal to the preset number threshold, the volume adjustment device generates the corresponding relationship according to the stored corresponding data.
本申请实施例中,当总个数小于预设个数阈值时,音量调节装置先不生成耳道特征信息和声压值的对应关系,继续进行对应数据的积累。In the embodiment of the present application, when the total number is less than the preset number threshold, the volume adjustment device does not first generate the corresponding relationship between the ear canal feature information and the sound pressure value, and continues to accumulate corresponding data.
示例性的,预设个数阈值为10个,音量调节装置采集并记录耳道特征信息和声压值的对应数据,并统计累积记录的耳道特征信息和声压值的对应数据的个数,当音量调节装置统计出已经保存了10条耳道特征信息和声压值的对应数据时,音量调节装置可以根据已保存的10条对应数据,生成10条耳道特征信息和声压值的对应关系。Exemplarily, the preset number threshold is 10, and the volume adjustment device collects and records the corresponding data of the ear canal characteristic information and the sound pressure value, and counts the number of accumulated and recorded ear canal characteristic information and the corresponding data of the sound pressure value When the volume adjustment device counts that it has saved 10 pieces of ear canal characteristic information and sound pressure value corresponding data, the volume adjustment device can generate 10 pieces of ear canal characteristic information and sound pressure value according to the 10 saved corresponding data Correspondence.
本申请实施例中,预设个数阈值可以根据实际情况进行选择,本申请实施例不作具体的限定。In the embodiment of the present application, the preset number threshold can be selected according to actual conditions, and the embodiment of the present application does not specifically limit it.
在一些实施例中,在步骤S301之后,本申请实施例提供的方法还可以包括步骤S307:In some embodiments, after step S301, the method provided in the embodiment of the present application may further include step S307:
S307、当检测到不存在所述至少一个对应数据时,将当前耳道特征信息和当前声压值作为一个对应数据,并保存。S307: When it is detected that the at least one corresponding data does not exist, use the current ear canal feature information and the current sound pressure value as one corresponding data and save it.
在一些实施例中,当音量调节装置检测到没有保存的对应数据时,说明此时音量调节装置采集到的当前耳道特征信息和当前声压值是第一条对应数据,因此音量调节装置直接将当前耳道特征信息和当前声压值作为第一个对应数据,并保存。In some embodiments, when the volume adjustment device detects that there is no corresponding data saved, it means that the current ear canal characteristic information and the current sound pressure value collected by the volume adjustment device at this time are the first corresponding data, so the volume adjustment device directly The current ear canal feature information and the current sound pressure value are taken as the first corresponding data and saved.
可以理解的是,本申请实施例中,在音量调节装置检测到存在耳道特征信息和声压值的对应关系时,音量调节装置会根据当前耳道特征信息和当前声压值生成对应数据,并在根据对应数据对后续采集到的当前耳道特征信息和当前声压值进行筛选记录,保留区别度高的表征不同佩戴方式的当前耳道特征信息,并将与之对应当前声压值作为耳道特征信息和声压值的对应数据进行记录和保存,最后,音量调节装置在对应数据个数满足预设个数阈值时,根据对应数据生成耳道特征信息和声压值的对应关系。通过本申请实施例提供的方法,音量调节装置可以识别并记录不同佩戴方式下的耳道特征信息和声压值并作为对应关系进行保存,以使耳机使用时,音量调节装置可以从对应关系中获取参考耳道特征信息和参考声压值。It is understandable that, in the embodiment of the present application, when the volume adjustment device detects that there is a correspondence between the ear canal feature information and the sound pressure value, the volume adjustment device will generate corresponding data according to the current ear canal feature information and the current sound pressure value. And according to the corresponding data, the subsequent collected current ear canal characteristic information and current sound pressure value are screened and recorded, and the current ear canal characteristic information that characterizes different wearing styles with high discrimination is retained, and the corresponding current sound pressure value is used as The corresponding data of the ear canal characteristic information and the sound pressure value is recorded and saved. Finally, the volume adjustment device generates the corresponding relationship between the ear canal characteristic information and the sound pressure value according to the corresponding data when the number of corresponding data meets the preset number threshold. Through the method provided in the embodiments of the present application, the volume adjustment device can identify and record the ear canal characteristic information and sound pressure values under different wearing modes and save them as the corresponding relationship, so that when the earphone is used, the volume adjustment device can learn from the corresponding relationship Obtain reference ear canal feature information and reference sound pressure value.
示例性地,如图4所示的一种音量调节方法,当音量调节装置中保存有耳道特征信息和声压值的对应关系时,该音量调节方法包括:Exemplarily, in a volume adjustment method as shown in FIG. 4, when the corresponding relationship between the ear canal characteristic information and the sound pressure value is stored in the volume adjustment device, the volume adjustment method includes:
S401、判断耳机是否正常佩戴。S401: Determine whether the headset is normally worn.
本申请实施例中,音量调节装置可以预先将未佩戴耳机时采集到的耳道特征信息作为预设耳道特征信息进行保存,在音量调节装置获取在播放音频时产生的当前耳道特征信息和当前声压值之前,音量调节装置首先通过耳机获取在播放音频时产生的初始耳道特征信息,之 后音量调节装置计算初始耳道特征信息与预设耳道特征信息的第二匹配度,当第二匹配度小于预设第二匹配度阈值时,说明此时耳机处于佩戴状态。In the embodiment of the present application, the volume adjustment device may pre-store the ear canal characteristic information collected when the earphone is not worn as preset ear canal characteristic information, and the volume adjustment device obtains the current ear canal characteristic information and the current ear canal characteristic information generated during audio playback. Before the current sound pressure value, the volume adjustment device first obtains the initial ear canal feature information generated during audio playback through the earphone, and then the volume adjustment device calculates the second matching degree between the initial ear canal feature information and the preset ear canal feature information. When the second matching degree is less than the preset second matching degree threshold, it indicates that the headset is in the wearing state at this time.
S402、当耳机正常佩戴,且通过耳机播放音频时,开启声压传感器,对声压进行实时检测,得到当前声压值。S402: When the earphone is worn normally and audio is played through the earphone, the sound pressure sensor is turned on, the sound pressure is detected in real time, and the current sound pressure value is obtained.
本申请实施例中,音量调节装置在检测到耳机正常佩戴,且通过耳机播放音频时,音量调节装置开启声压传感器,将实时采集到的声压值作为当前声压值。In the embodiment of the present application, when the volume adjustment device detects that the headset is normally worn and audio is played through the headset, the volume adjustment device turns on the sound pressure sensor, and uses the sound pressure value collected in real time as the current sound pressure value.
S403、实时采集耳机在播放音频时产生的当前阻抗信息。S403: Collect in real time current impedance information generated by the earphone when playing audio.
本申请实施例中,当音量调节装置检测到耳机处于正常佩戴状态,且通过耳机播放音频时,音量调节装置还会通过设置在耳机左右声道上的电压和电流数模转换电流,实时采集耳机在播放音频时产生的当前阻抗信息,当前阻抗信息表征当前使用的用户当前佩戴耳机的方式。In the embodiment of the present application, when the volume adjustment device detects that the earphone is in a normal wearing state and the audio is played through the earphone, the volume adjustment device also collects the earphone in real time through the voltage and current digital-to-analog conversion current set on the left and right channels of the earphone. The current impedance information generated during audio playback, and the current impedance information represents the way the user currently wears the headset.
本申请实施例中,音量调节装置实时采集耳机在播放音频时产生的当前阻抗信息的方法与S101中的方法相同,此处不再赘述。In the embodiment of the present application, the method for the volume adjustment device to collect the current impedance information generated by the earphone during audio playback in real time is the same as the method in S101, and will not be repeated here.
S404、根据当前声压值和当前阻抗信息,生成耳道特征信息和声压值的对应关系。S404: According to the current sound pressure value and the current impedance information, generate a corresponding relationship between the ear canal feature information and the sound pressure value.
本申请实施例中,当音量调节装置得到当前声压值和当前阻抗信息之后,音量调节装置根据当前声压值和当前阻抗信息,生成耳道特征信息和声压值的对应关系。In the embodiment of the present application, after the volume adjustment device obtains the current sound pressure value and current impedance information, the volume adjustment device generates the corresponding relationship between the ear canal characteristic information and the sound pressure value according to the current sound pressure value and the current impedance information.
本申请实施例中,音量调节装置根据当前声压值和当前阻抗信息,生成耳道特征信息和声压值的对应关系的方法与S301至S307中的方法相同,此处不再赘述。In the embodiment of the present application, the method for the volume adjustment device to generate the corresponding relationship between the ear canal feature information and the sound pressure value according to the current sound pressure value and the current impedance information is the same as the method in S301 to S307, and will not be repeated here.
本申请实施例中,通过S401至S404,音量调节装置可以完成耳道特征信息和声压值的对应关系的生成过程,接下来,在用户正常使用耳机的过程中,音量调节装置可以基于实时采集到的当前阻抗信息,从耳道特征信息和声压值的对应关系中,确定出适合播放的音量。In the embodiment of the present application, through S401 to S404, the volume adjustment device can complete the generation process of the corresponding relationship between the ear canal characteristic information and the sound pressure value. Next, during the normal use of the headset by the user, the volume adjustment device can be based on real-time collection The obtained current impedance information determines the volume suitable for playback from the corresponding relationship between the ear canal feature information and the sound pressure value.
S405、当耳机处于佩戴状态、且通过耳机播放音频时,检测是否存在耳道特征信息和声压值的对应关系。S405: When the earphone is in the wearing state and audio is played through the earphone, detect whether there is a correspondence between the ear canal feature information and the sound pressure value.
本申请实施例中,在用户正常使用耳机时,音量调节装置需要判断耳机是否处于佩戴状态,本申请实施例中,音量调节装置判断耳机是否处于佩戴状态的方法与S401相同,此处不再赘述。In the embodiment of the present application, when the user normally uses the headset, the volume adjustment device needs to determine whether the headset is in the wearing state. In the embodiment of the present application, the method for the volume adjustment device to determine whether the headset is in the wearing state is the same as S401, and will not be repeated here. .
本申请实施例中,音量调节装置在判断出当耳机处于佩戴状态、且通过所述耳机播放音频时,音量调节装置检测是否有之前保存过的耳道特征信息和声压值的对应关系。In the embodiment of the present application, when the volume adjustment device determines that the earphone is in a wearing state and audio is played through the earphone, the volume adjustment device detects whether there is a previously saved correspondence between the ear canal feature information and the sound pressure value.
S406、当存在耳道特征信息和声压值的对应关系时,根据当前阻抗信息,从耳道特征信息和声压值的对应关系中,确定出当前阻抗信息对应的参考声压值。S406: When there is a correspondence between the ear canal characteristic information and the sound pressure value, determine the reference sound pressure value corresponding to the current impedance information from the correspondence between the ear canal characteristic information and the sound pressure value according to the current impedance information.
本申请实施例中,当音量调节装置检测到存在耳道特征信息和声压值的对应关系时,音量调节装置将实时采集到的当前阻抗信息与耳道特征信息和声压值的对应关系中的耳道特征信息进行比对,从耳道特征信息和声压值的对应关系中找到与耳机当前阻抗信息最匹配的耳道特征信息,作为参考耳道特征信息,再根据耳道特征信息与声压值的对应关系,得到参考耳道特征信息对应的声压值,作为参考声压值。本申请实施例中,音量调节装置根据当前阻抗信息,从耳道特征信息和声压值的对应关系中,确定出当前阻抗信息对应的参考声压值的方法与S102中的方法相同,此处不再赘述。In the embodiment of the present application, when the volume adjustment device detects that there is a correspondence between the ear canal characteristic information and the sound pressure value, the volume adjustment device will compare the current impedance information collected in real time with the ear canal characteristic information and the sound pressure value. The characteristic information of the ear canal is compared, and the characteristic information of the ear canal that best matches the current impedance information of the earphone is found from the corresponding relationship between the characteristic information of the ear canal and the sound pressure value, as the reference ear canal characteristic information, and then according to the ear canal characteristic information and The corresponding relationship of the sound pressure value, the sound pressure value corresponding to the reference ear canal feature information is obtained as the reference sound pressure value. In the embodiment of the present application, the method for the volume adjustment device to determine the reference sound pressure value corresponding to the current impedance information from the corresponding relationship between the ear canal characteristic information and the sound pressure value according to the current impedance information is the same as the method in S102. No longer.
S407、根据参考声压值动态的调节音频音量。S407: Adjust the audio volume dynamically according to the reference sound pressure value.
本申请实施例中,音量调节装置得到参考声压值之后,音量调节装置根据参考声压值和当前声压值动态的输出耳机的声压值。In the embodiment of the present application, after the volume adjusting device obtains the reference sound pressure value, the volume adjusting device dynamically outputs the sound pressure value of the earphone according to the reference sound pressure value and the current sound pressure value.
本申请实施例中,音量调节装置根据参考声压值动态的调节音频音量的方法与步骤S1031至S1032中的方法相同,此处不再赘述。In the embodiment of the present application, the method for the volume adjusting device to dynamically adjust the audio volume according to the reference sound pressure value is the same as the method in steps S1031 to S1032, and will not be repeated here.
S408、当耳机未佩戴时,生成告警提示用户佩戴耳机。S408: When the headset is not worn, an alarm is generated to prompt the user to wear the headset.
本申请实施例中,音量调节装置判断耳机处于未佩戴方式时,不进行下一步的处理,直接生成告警,提示用户需要佩戴耳机,然后结束方法流程。In the embodiment of the present application, when the volume adjustment device determines that the earphone is in the unworn mode, it does not perform the next step, and directly generates an alarm to remind the user that the earphone needs to be worn, and then ends the method flow.
本申请实施例中,音量调节装置生成告警提示用户佩戴耳机的方法与S1013中的方法相 同,此处不再赘述。In the embodiment of the present application, the method for the volume adjustment device to generate an alarm to remind the user to wear a headset is the same as the method in S1013, and will not be repeated here.
本申请实施例中,S408与S401至S407的方法并列,在S401之后执行。In the embodiment of the present application, the methods of S408 and S401 to S407 are parallel, and are executed after S401.
可以理解的是,本申请实施例中的音量调节装置可以根据采集到的初始耳道特征信息自动判断出耳机的佩戴状态,当耳机处于未佩戴状态时,音量调节装置可以对用户进行提示;当耳机处于佩戴状态时,音量调节装置还可以实时检测当前声压值和当前耳道特征信息,通过将当前耳道特征信息与预先保存的耳道特征信息与声压值的对应关系进行匹配,从中确定出当前耳道特征信息所表征的佩戴方式下,所记录的适合播放的声压值作为参考声压值,从而音量调节装置可以根据参考声压值调节播放音频的音量,实现了根据耳机的使用方式自动调节至最适合的播放音量,提高了个性化使用耳机的智能性。It is understandable that the volume adjustment device in the embodiment of the present application can automatically determine the wearing state of the earphone according to the collected initial ear canal characteristic information. When the earphone is in the unworn state, the volume adjustment device can prompt the user; When the earphone is in the wearing state, the volume adjustment device can also detect the current sound pressure value and the current ear canal characteristic information in real time, by matching the current ear canal characteristic information with the pre-saved corresponding relationship between the ear canal characteristic information and the sound pressure value. It is determined that the recorded sound pressure value suitable for playback under the wearing mode characterized by the current ear canal characteristic information is used as the reference sound pressure value, so that the volume adjustment device can adjust the volume of the played audio according to the reference sound pressure value, and realize the sound pressure according to the earphone. The usage mode is automatically adjusted to the most suitable playback volume, which improves the intelligence of personalized earphones.
本申请实施例提供一种音量调节装置1,对应于一种音量调节方法;图5为本申请实施例提供的一种音量调节装置的结构示意图一,如图5所示,该音量调节装置5包括:An embodiment of the application provides a volume adjustment device 1 corresponding to a volume adjustment method; FIG. 5 is a structural schematic diagram 1 of a volume adjustment device provided by an embodiment of the application, as shown in FIG. 5, the volume adjustment device 5 include:
获取部分51、确定部分52和控制部分53;其中,The acquisition part 51, the determination part 52 and the control part 53; among them,
所述获取部分51,配置为当耳机处于佩戴状态、且通过所述耳机播放音频时,通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值;The obtaining part 51 is configured to obtain the current ear canal characteristic information generated when the audio is played through the earphone when the earphone is in the wearing state and the audio is played through the earphone, and by setting it on the earphone The sound pressure sensor obtains the current sound pressure value;
所述确定部分52,配置为当检测到存在耳道特征信息和声压值的对应关系时,从所述耳道特征信息和声压值的对应关系中,确定所述当前耳道特征信息对应的参考声压值,所述对应关系表征采用至少一种佩戴方式佩戴耳机时采集到的耳道特征信息和声压值;The determining part 52 is configured to determine that the current ear canal feature information corresponds to the current ear canal feature information from the corresponding relationship between the ear canal feature information and the sound pressure value The reference sound pressure value of, and the corresponding relationship represents the ear canal characteristic information and sound pressure value collected when the earphone is worn in at least one wearing mode;
控制部分53,配置为基于所述参考声压值,调节播放所述音频的音量。The control part 53 is configured to adjust the volume of playing the audio based on the reference sound pressure value.
在一些实施例中,该音量调节装置5还包括:检测部分、匹配部分和保存部分;In some embodiments, the volume adjustment device 5 further includes: a detection part, a matching part and a saving part;
所述检测部分,配置为所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值之后,当不存在所述耳道特征信息和声压值的对应关系时,检测是否有至少一个对应数据,所述至少一个对应数据表征采用所述至少一种佩戴方式中的每种方式佩戴所述耳机时采集到的耳道特征信息和声压值;The detection part is configured to obtain the current ear canal characteristic information generated when the audio is played through the earphone, and obtain the current sound pressure value through the sound pressure sensor provided on the earphone, when there is no When the corresponding relationship between the ear canal feature information and the sound pressure value is detected, it is detected whether there is at least one corresponding data, and the at least one corresponding data represents the data collected when the earphone is worn in each of the at least one wearing mode The characteristic information of the ear canal and the sound pressure value;
所述匹配部分,配置为当检测保存有所述至少一个对应数据时,计算出所述当前耳道特征信息与所述至少一个对应数据中的每个耳道特征信息之间的第一匹配度;以及从所述第一匹配度中确定最大第一匹配度;The matching part is configured to calculate a first degree of matching between the current ear canal feature information and each ear canal feature information in the at least one corresponding data when it is detected that the at least one corresponding data is stored ; And determining the maximum first degree of matching from the first degree of matching;
所述保存部分,配置为当所述最大第一匹配度小于预设第一匹配度阈值时,将所述当前耳道特征信息和所述当前声压值作为一个对应数据,并保存;The saving part is configured to use the current ear canal characteristic information and the current sound pressure value as one corresponding data when the maximum first matching degree is less than a preset first matching degree threshold, and save;
所述控制部分53,还配置为统计已保存的对应数据的总个数;当所述总个数大于或等于预设个数阈值时,根据所述已保存的对应数据,生成所述耳道特征信息和声压值的对应关系。The control part 53 is also configured to count the total number of saved corresponding data; when the total number is greater than or equal to a preset number threshold, generate the ear canal according to the saved corresponding data Correspondence between feature information and sound pressure value.
在一些实施例中,所述保存部分,还配置为所述当不存在耳道特征信息和声压值的对应关系时,检测是否有至少一个对应数据之后,当检测到不存在所述至少一个对应数据时,将所述当前耳道特征信息和所述当前声压值作为一个对应数据,并保存。In some embodiments, the saving part is further configured to detect whether there is at least one corresponding data when there is no correspondence between the ear canal feature information and the sound pressure value, and when it is detected that the at least one When corresponding data, the current ear canal characteristic information and the current sound pressure value are taken as one corresponding data and saved.
在一些实施例中,所述当前耳道特征信息包括当前阻抗信息;In some embodiments, the current ear canal characteristic information includes current impedance information;
所述获取部分51,具体配置为通过所述耳机播放音频时,基于所述耳机中的数模转换电路,检测在播放所述音频时产生的电压信号和电流信号;依据所述耳机基于所述电压信号与所述电流信号,生成所述当前阻抗信息。The acquisition part 51 is specifically configured to detect the voltage signal and the current signal generated when the audio is played based on the digital-to-analog conversion circuit in the earphone when the audio is played through the earphone; The voltage signal and the current signal generate the current impedance information.
在一些实施例中,所述当前耳道特征信息包括当前超声信息;In some embodiments, the current ear canal feature information includes current ultrasound information;
所述获取部分51,具体配置为控制所述耳机发出第一超声信号、以及接收所述第一超声信号反射回的第二超声信号;根据所述耳机基于所述第一超声信号和所述第二超声信号,生成所述当前超声信息。The acquiring part 51 is specifically configured to control the earphone to emit a first ultrasonic signal and receive a second ultrasonic signal reflected back by the first ultrasonic signal; according to the earphone, based on the first ultrasonic signal and the first ultrasonic signal Two ultrasound signals, generating the current ultrasound information.
在一些实施例中,所述确定部分52,还配置为根据所述当前耳道特征信息,从所述耳道特征信息和声压值的对应关系中查找到与当前耳道特征信息最匹配的耳道特征信息,确定为参考耳道特征信息;In some embodiments, the determining part 52 is further configured to find the most matching current ear canal feature information from the corresponding relationship between the ear canal feature information and the sound pressure value according to the current ear canal feature information The ear canal feature information is determined as the reference ear canal feature information;
所述确定部分52,还配置为根据所述耳道特征信息和声压值的对应关系,将所述参考耳 道特征信息对应的声压值确定为所述参考声压值。The determining part 52 is further configured to determine the sound pressure value corresponding to the reference ear canal characteristic information as the reference sound pressure value according to the correspondence between the ear canal characteristic information and the sound pressure value.
在一些实施例中,所述控制部分53,还配置为当所述当前耳道特征信息与所述参考耳道特征信息之间的误差小于等于预设误差阈值时,使用所述参考声压值调节播放所述音频的音量;当所述当前耳道特征信息与所述参考耳道特征信息之间的误差大于所述预设误差阈值时,对所述参考声压值进行调整,使用调整后的参考声压值调节播放所述音频的音量。In some embodiments, the control part 53 is further configured to use the reference sound pressure value when the error between the current ear canal feature information and the reference ear canal feature information is less than or equal to a preset error threshold. Adjust the volume for playing the audio; when the error between the current ear canal characteristic information and the reference ear canal characteristic information is greater than the preset error threshold, the reference sound pressure value is adjusted, and the adjusted The reference sound pressure value adjusts the volume of the audio played.
在一些实施例中,该音量调节装置5还包括:匹配部分;In some embodiments, the volume adjustment device 5 further includes: a matching part;
所述获取部分51,还配置为所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值之前,当通过所述耳机播放所述音频时,通过所述耳机获取在播放所述音频时产生的初始耳道特征信息;The acquiring part 51 is further configured to acquire the current ear canal characteristic information generated when the audio is played through the earphone, and before acquiring the current sound pressure value through the sound pressure sensor provided on the earphone, when When the audio is played through the earphone, acquiring, through the earphone, initial ear canal characteristic information generated when the audio is played;
所述匹配部分,还配置为计算所述初始耳道特征信息与预设耳道特征信息的第二匹配度,所述预设耳道特征信息为未佩戴耳机时采集到的耳道特征信息;The matching part is further configured to calculate a second degree of matching between the initial ear canal feature information and preset ear canal feature information, where the preset ear canal feature information is ear canal feature information collected when the earphone is not worn;
所述控制部分53,还配置为当所述第二匹配度大于预设第二匹配度阈值时,生成表征所述耳机处于未佩戴状态的告警提示。The control part 53 is further configured to generate an alarm prompt indicating that the earphone is in an unworn state when the second matching degree is greater than a preset second matching degree threshold.
需要说明的是,在实际应用中,上述获取部分51、确定部分52和控制部分53可由位于音量调节装置6上的处理器64实现,具体为中央处理器(Central Processing Unit,CPU)、微处理器(Microprocessor Unit,MPU)、数字信号处理器(Digital Signal Processing,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。It should be noted that, in actual applications, the acquisition part 51, the determination part 52, and the control part 53 may be implemented by a processor 64 located on the volume adjustment device 6, specifically a central processing unit (CPU), a microprocessor Implementation of Microprocessor Unit (MPU), Digital Signal Processing (DSP) or Field Programmable Gate Array (FPGA).
本申请实施例提供一种音量调节装置,对应于一种音量调节方法;图6为本申请实施例提供的一种音量调节装置的结构示意图二,如图6所示,该装置6包括:处理器64、存储器65和通信总线66,存储器65通过通信总线66与处理器64进行通信,存储器65存储处理器64可执行的一个或者多个程序,当一个或者多个程序被执行时,通过处理器64执行如前述实施例的任意一种音量调节方法。An embodiment of the application provides a volume adjustment device, which corresponds to a volume adjustment method; FIG. 6 is a second structural diagram of a volume adjustment device provided in an embodiment of the application. As shown in FIG. 6, the device 6 includes: processing The memory 65 communicates with the processor 64 through the communication bus 66. The memory 65 stores one or more programs executable by the processor 64. When one or more programs are executed, the memory 65 communicates with the processor 64. The device 64 executes any volume adjustment method as in the foregoing embodiments.
本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器64执行,程序被处理器64执行时实现如本申请实施例的音量调节方法。The embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores one or more programs. The one or more programs can be executed by one or more processors 64. When the programs are executed by the processor 64, Realize the volume adjustment method as in the embodiment of this application.
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to the embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above are only the preferred embodiments of the present application, and are not used to limit the protection scope of the present application.
工业实用性Industrial applicability
本申请实施例中,在耳机处于佩戴状态并播放音频时,音量调节装置实时检测当前耳道特征信息,并从预先录入并保存的每种佩戴方式下采集的耳道特征信息与用户对应调整的最佳声压值的对应关系中,确定出当前耳道特征信息对应的参考声压值,最后音量调节装置根据参考声压值调节播放音量的音量,从而实现了根据耳机的使用方式自动调节至最佳播放音量,提高了个性化使用耳机的智能性,同时提升了用户的听感体验,达到了护耳效果;并且音量调节装置可以实时监测耳机是否处于佩戴状态,并在耳机脱落、未佩戴时进行及时告警,进一步提高了音量调节的智能性。In the embodiment of the present application, when the earphone is in the wearing state and playing audio, the volume adjustment device detects the current ear canal characteristic information in real time, and the ear canal characteristic information collected in each wearing mode that is pre-recorded and saved is adjusted accordingly to the user In the corresponding relationship of the best sound pressure value, the reference sound pressure value corresponding to the current ear canal characteristic information is determined, and finally the volume adjustment device adjusts the volume of the playback volume according to the reference sound pressure value, thereby achieving automatic adjustment to The best playback volume improves the intelligence of personalized earphones, and at the same time improves the user’s listening experience and achieves ear protection effects; and the volume adjustment device can monitor whether the earphone is in real-time or not, and when the earphone is off or not worn Carrying out timely alarms further improves the intelligence of volume adjustment.

Claims (18)

  1. 一种音量调节方法,所述方法包括:A volume adjustment method, the method includes:
    当耳机处于佩戴状态、且通过所述耳机播放音频时,通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值;When the earphone is in the wearing state and audio is played through the earphone, the current ear canal characteristic information generated when the audio is played is acquired through the earphone, and the current sound pressure is acquired through the sound pressure sensor provided on the earphone value;
    当检测到存在耳道特征信息和声压值的对应关系时,从所述耳道特征信息和声压值的对应关系中,确定所述当前耳道特征信息对应的参考声压值,所述对应关系表征采用至少一种佩戴方式佩戴所述耳机时采集到的耳道特征信息和声压值;When it is detected that there is a corresponding relationship between the ear canal feature information and the sound pressure value, the reference sound pressure value corresponding to the current ear canal feature information is determined from the corresponding relationship between the ear canal feature information and the sound pressure value. The corresponding relationship characterizes the ear canal characteristic information and the sound pressure value collected when the earphone is worn in at least one wearing manner;
    基于所述参考声压值,调节播放所述音频的音量。Adjust the volume of playing the audio based on the reference sound pressure value.
  2. 根据权利要求1所述的方法,其中,所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值之后,所述方法还包括:The method according to claim 1, wherein after the current ear canal characteristic information generated when the audio is played is acquired through the earphone, and the current sound pressure value is acquired through the sound pressure sensor provided on the earphone , The method further includes:
    当不存在所述耳道特征信息和声压值的对应关系时,检测是否有至少一个对应数据,所述至少一个对应数据表征采用所述至少一种佩戴方式中的每种方式佩戴所述耳机时采集到的耳道特征信息和声压值;When there is no correspondence between the ear canal feature information and the sound pressure value, it is detected whether there is at least one corresponding data, and the at least one corresponding data indicates that the earphone is worn in each of the at least one wearing manner Ear canal characteristic information and sound pressure value collected at the time;
    当检测保存有所述至少一个对应数据时,计算出所述当前耳道特征信息与所述至少一个对应数据中的每个耳道特征信息之间的第一匹配度;When detecting that the at least one corresponding data is stored, calculating the first degree of matching between the current ear canal feature information and each ear canal feature information in the at least one corresponding data;
    从所述第一匹配度中确定最大第一匹配度;Determining the maximum first matching degree from the first matching degrees;
    当所述最大第一匹配度小于预设第一匹配度阈值时,将所述当前耳道特征信息和所述当前声压值作为一个对应数据,并保存;When the maximum first matching degree is less than a preset first matching degree threshold, the current ear canal characteristic information and the current sound pressure value are used as one corresponding data and saved;
    统计已保存的对应数据的总个数;Count the total number of saved corresponding data;
    当所述总个数大于或等于预设个数阈值时,根据所述已保存的对应数据,生成所述耳道特征信息和声压值的对应关系。When the total number is greater than or equal to a preset number threshold, the corresponding relationship between the ear canal feature information and the sound pressure value is generated according to the stored corresponding data.
  3. 根据权利要求2所述的方法,其中,所述当不存在所述耳道特征信息和声压值的对应关系时,检测是否有至少一个对应数据之后,所述方法还包括:The method according to claim 2, wherein, after detecting whether there is at least one corresponding data when there is no correspondence between the ear canal characteristic information and the sound pressure value, the method further comprises:
    当检测到不存在所述至少一个对应数据时,将所述当前耳道特征信息和所述当前声压值作为一个对应数据,并保存。When it is detected that the at least one corresponding data does not exist, the current ear canal characteristic information and the current sound pressure value are taken as one corresponding data and saved.
  4. 根据权利要求1所述的方法,其中,所述当前耳道特征信息包括当前阻抗信息;所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,包括:The method according to claim 1, wherein the current ear canal characteristic information includes current impedance information; and the acquiring, through the earphone, the current ear canal characteristic information generated when the audio is played includes:
    通过所述耳机播放音频时,基于所述耳机中的数模转换电路,检测在播放所述音频时产生的电压信号和电流信号;When playing audio through the earphone, based on the digital-to-analog conversion circuit in the earphone, detecting the voltage signal and current signal generated when the audio is played;
    依据所述耳机基于所述电压信号与所述电流信号,生成所述当前阻抗信息。According to the earphone based on the voltage signal and the current signal, the current impedance information is generated.
  5. 根据权利要求1所述的方法,其中,所述当前耳道特征信息包括当前超声信息;所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,包括:The method according to claim 1, wherein the current ear canal characteristic information includes current ultrasound information; and the acquiring, through the earphone, the current ear canal characteristic information generated when the audio is played includes:
    控制所述耳机发出第一超声信号、以及接收所述第一超声信号反射回的第二超声信号;Controlling the earphone to emit a first ultrasonic signal and receiving a second ultrasonic signal reflected back by the first ultrasonic signal;
    根据所述耳机基于所述第一超声信号和所述第二超声信号,生成所述当前超声信息。The current ultrasound information is generated according to the earphone based on the first ultrasound signal and the second ultrasound signal.
  6. 根据权利要求1所述的方法,其中,所述当检测到存在耳道特征信息和声压值的对应关系时,从所述耳道特征信息和声压值的对应关系中,确定所述当前耳道特征信息对应的参考声压值,包括:The method according to claim 1, wherein when it is detected that there is a corresponding relationship between the ear canal feature information and the sound pressure value, from the corresponding relationship between the ear canal feature information and the sound pressure value, the current The reference sound pressure value corresponding to the ear canal feature information includes:
    根据所述当前耳道特征信息,从所述耳道特征信息和声压值的对应关系中查找到与当前耳道特征信息最匹配的耳道特征信息,确定为参考耳道特征信息;According to the current ear canal feature information, find the ear canal feature information that best matches the current ear canal feature information from the corresponding relationship between the ear canal feature information and the sound pressure value, and determine it as the reference ear canal feature information;
    根据所述耳道特征信息和声压值的对应关系,将所述参考耳道特征信息对应的声压值确定为所述参考声压值。According to the corresponding relationship between the ear canal feature information and the sound pressure value, the sound pressure value corresponding to the reference ear canal feature information is determined as the reference sound pressure value.
  7. 根据权利要求6所述的方法,其中,所述基于所述参考声压值,调节播放所述音频的音量,包括:7. The method according to claim 6, wherein the adjusting the volume of playing the audio based on the reference sound pressure value comprises:
    当所述当前耳道特征信息与所述参考耳道特征信息之间的误差小于等于预设误差阈值时,使用所述参考声压值调节播放所述音频的音量;When the error between the current ear canal feature information and the reference ear canal feature information is less than or equal to a preset error threshold, use the reference sound pressure value to adjust the volume of the audio played;
    当所述当前耳道特征信息与所述参考耳道特征信息之间的误差大于所述预设误差阈值时,对所述参考声压值进行调整,使用调整后的所述参考声压值调节播放所述音频的音量。When the error between the current ear canal feature information and the reference ear canal feature information is greater than the preset error threshold, the reference sound pressure value is adjusted, and the adjusted reference sound pressure value is used for adjustment The volume at which the audio is played.
  8. 根据权利要求1所述的方法,其中,所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值之前,所述方法包括:The method according to claim 1, wherein the current ear canal feature information generated when the audio is played is acquired through the earphone, and before the current sound pressure value is acquired through the sound pressure sensor provided on the earphone , The method includes:
    当通过所述耳机播放所述音频时,通过所述耳机获取在播放所述音频时产生的初始耳道特征信息;When the audio is played through the earphone, acquiring, through the earphone, initial ear canal characteristic information generated when the audio is played;
    计算所述初始耳道特征信息与预设耳道特征信息的第二匹配度,所述预设耳道特征信息为未佩戴耳机时采集到的耳道特征信息;Calculating a second degree of matching between the initial ear canal feature information and preset ear canal feature information, where the preset ear canal feature information is ear canal feature information collected when the earphone is not worn;
    当所述第二匹配度大于预设第二匹配度阈值时,生成表征所述耳机处于未佩戴状态的告警提示。When the second matching degree is greater than the preset second matching degree threshold, an alarm prompt indicating that the headset is in an unworn state is generated.
  9. 一种音量调节装置,所述装置包括:获取部分、确定部分和控制部分;其中,A volume adjustment device, the device includes: an acquisition part, a determination part and a control part; wherein,
    所述获取部分,配置为当耳机处于佩戴状态、且通过所述耳机播放音频时,通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值;The acquiring part is configured to acquire the current ear canal characteristic information generated when the audio is played through the headset when the headset is in the wearing state and the audio is played through the headset, and through the set on the headset The sound pressure sensor obtains the current sound pressure value;
    所述确定部分,配置为当检测到存在耳道特征信息和声压值的对应关系时,从所述耳道特征信息和声压值的对应关系中,确定所述当前耳道特征信息对应的参考声压值,所述对应关系表征采用至少一种佩戴方式佩戴所述耳机时采集到的耳道特征信息和声压值;The determining part is configured to determine the corresponding relationship between the ear canal feature information and the sound pressure value from the corresponding relationship between the ear canal feature information and the sound pressure value With reference to the sound pressure value, the corresponding relationship represents the ear canal characteristic information and the sound pressure value collected when the earphone is worn in at least one wearing manner;
    所述控制部分,配置为基于所述参考声压值,调节播放所述音频的音量。The control part is configured to adjust the volume of playing the audio based on the reference sound pressure value.
  10. 根据权利要求9所述的装置,其中,所述装置还包括:检测部分和匹配部分;The device according to claim 9, wherein the device further comprises: a detection part and a matching part;
    所述检测部分,配置为所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值之后,当不存在所述耳道特征信息和声压值的对应关系时,检测是否有至少一个对应数据,所述至少一个对应数据表征采用所述至少一种佩戴方式中的每种方式佩戴所述耳机时采集到的耳道特征信息和声压值;The detection part is configured to obtain the current ear canal characteristic information generated when the audio is played through the earphone, and obtain the current sound pressure value through the sound pressure sensor provided on the earphone, when there is no When the corresponding relationship between the ear canal feature information and the sound pressure value is detected, it is detected whether there is at least one corresponding data, and the at least one corresponding data represents the data collected when the earphone is worn in each of the at least one wearing mode The characteristic information of the ear canal and the sound pressure value;
    所述匹配部分,配置为当检测保存有所述至少一个对应数据时,计算出所述当前耳道特征信息与所述至少一个对应数据中的每个耳道特征信息之间的第一匹配度;以及从所述第一匹配度中确定最大第一匹配度;The matching part is configured to calculate a first degree of matching between the current ear canal feature information and each ear canal feature information in the at least one corresponding data when it is detected that the at least one corresponding data is stored ; And determining the maximum first degree of matching from the first degree of matching;
    保存部分,配置为当所述最大第一匹配度小于预设第一匹配度阈值时,将所述当前耳道特征信息和所述当前声压值作为一个对应数据,并保存;The saving part is configured to use the current ear canal feature information and the current sound pressure value as one corresponding data when the maximum first matching degree is less than a preset first matching degree threshold, and save;
    所述控制部分,还配置为统计已保存的对应数据的总个数;当所述总个数大于或等于预设个数阈值时,根据所述已保存的对应数据,生成所述耳道特征信息和声压值的对应关系。The control part is further configured to count the total number of saved corresponding data; when the total number is greater than or equal to a preset number threshold, generate the ear canal feature according to the saved corresponding data Correspondence between information and sound pressure value.
  11. 根据权利要求10所述的装置,其中,The device according to claim 10, wherein:
    所述保存部分,还配置为所述当不存在所述耳道特征信息和声压值的对应关系时,检测是否有至少一个对应数据之后,当检测到不存在所述至少一个对应数据时,将所述当前耳道特征信息和所述当前声压值作为一个对应数据,并保存。The saving part is further configured to detect whether there is at least one corresponding data when there is no correspondence between the ear canal characteristic information and the sound pressure value, and when it is detected that the at least one corresponding data does not exist, The current ear canal feature information and the current sound pressure value are taken as one corresponding data and saved.
  12. 根据权利要求9所述的装置,其中,所述当前耳道特征信息包括当前阻抗信息;The apparatus according to claim 9, wherein the current ear canal characteristic information includes current impedance information;
    所述获取部分,具体配置为通过所述耳机播放音频时,基于所述耳机中的数模转换电路,检测在播放所述音频时产生的电压信号和电流信号;依据所述耳机基于所述电压信号与所述电流信号,生成所述当前阻抗信息。The acquiring part is specifically configured to detect the voltage signal and the current signal generated when the audio is played based on the digital-to-analog conversion circuit in the earphone when the audio is played through the earphone; Signal and the current signal to generate the current impedance information.
  13. 根据权利要求9所述的装置,其中,所述当前耳道特征信息包括当前超声信息;The apparatus according to claim 9, wherein the current ear canal characteristic information includes current ultrasound information;
    所述获取部分,具体配置为控制所述耳机发出第一超声信号、以及接收所述第一超声信号反射回的第二超声信号;根据所述耳机基于所述第一超声信号和所述第二超声信号,生成所述当前超声信息。The acquiring part is specifically configured to control the earphone to emit a first ultrasonic signal and receive a second ultrasonic signal reflected back by the first ultrasonic signal; according to the earphone, the first ultrasonic signal and the second ultrasonic signal are The ultrasound signal generates the current ultrasound information.
  14. 根据权利要求9所述的装置,其中,The device according to claim 9, wherein:
    所述确定部分,还配置为根据所述当前耳道特征信息,从所述耳道特征信息和声压值的对应关系中查找到与当前耳道特征信息最匹配的耳道特征信息,确定为参考耳道特征信息;The determining part is further configured to find the ear canal feature information that best matches the current ear canal feature information from the corresponding relationship between the ear canal feature information and the sound pressure value according to the current ear canal feature information, and determine it as Refer to the characteristic information of the ear canal;
    所述确定部分,还配置为根据所述耳道特征信息和声压值的对应关系,将所述参考耳道特征信息对应的声压值确定为所述参考声压值。The determining part is further configured to determine the sound pressure value corresponding to the reference ear canal characteristic information as the reference sound pressure value according to the corresponding relationship between the ear canal characteristic information and the sound pressure value.
  15. 根据权利要求14所述的装置,其中,The device according to claim 14, wherein:
    所述控制部分,还配置为当所述当前耳道特征信息与所述参考耳道特征信息之间的误差小于等于预设误差阈值时,使用所述参考声压值调节播放所述音频的音量;当所述当前耳道特征信息与所述参考耳道特征信息之间的误差大于所述预设误差阈值时,对所述参考声压值进行调整,使用调整后的所述参考声压值调节播放所述音频的音量。The control part is further configured to use the reference sound pressure value to adjust the volume of playing the audio when the error between the current ear canal feature information and the reference ear canal feature information is less than or equal to a preset error threshold. When the error between the current ear canal feature information and the reference ear canal feature information is greater than the preset error threshold, the reference sound pressure value is adjusted, and the adjusted reference sound pressure value is used Adjust the volume of the audio played.
  16. 根据权利要求9所述的装置,其中,所述装置还包括:匹配部分;The device according to claim 9, wherein the device further comprises: a matching part;
    所述获取部分,还配置为所述通过所述耳机获取在播放所述音频时产生的当前耳道特征信息,以及通过设置在所述耳机上的声压传感器获取当前声压值之前,当通过所述耳机播放所述音频时,通过所述耳机获取在播放所述音频时产生的初始耳道特征信息;The acquiring part is further configured to acquire the current ear canal characteristic information generated when the audio is played through the earphone, and before acquiring the current sound pressure value through the sound pressure sensor provided on the earphone, when When the earphone plays the audio, acquiring, through the earphone, initial ear canal characteristic information generated when the audio is played;
    所述匹配部分,还配置为计算所述初始耳道特征信息与预设耳道特征信息的第二匹配度,所述预设耳道特征信息为未佩戴耳机时采集到的耳道特征信息;The matching part is further configured to calculate a second degree of matching between the initial ear canal feature information and preset ear canal feature information, where the preset ear canal feature information is ear canal feature information collected when the earphone is not worn;
    所述控制部分,还配置为当所述第二匹配度大于预设第二匹配度阈值时,生成表征所述耳机处于未佩戴状态的告警提示。The control part is further configured to generate an alarm prompt indicating that the headset is in an unworn state when the second matching degree is greater than a preset second matching degree threshold.
  17. 一种音量调节装置,所述音量调节装置包括:处理器、存储器以及通信总线,所述存储器通过所述通信总线与所述处理器进行通信,所述存储器存储所述处理器可执行的一个或者多个程序,当所述一个或者多个程序被执行时,所述处理器执行如权利要求1-8任一项所述的方法。A volume adjustment device, the volume adjustment device comprising: a processor, a memory, and a communication bus. The memory communicates with the processor through the communication bus, and the memory stores one or the other executable by the processor. Multiple programs, when the one or more programs are executed, the processor executes the method according to any one of claims 1-8.
  18. 一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1-8任一项所述的方法。A computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any one of claims 1-8 The method described in the item.
PCT/CN2020/099305 2019-07-10 2020-06-30 Volume adjustment method and device and computer-readable storage medium WO2021004334A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910620694.1 2019-07-10
CN201910620694.1A CN110418232B (en) 2019-07-10 2019-07-10 Volume adjusting method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2021004334A1 true WO2021004334A1 (en) 2021-01-14

Family

ID=68360919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099305 WO2021004334A1 (en) 2019-07-10 2020-06-30 Volume adjustment method and device and computer-readable storage medium

Country Status (2)

Country Link
CN (3) CN113709613A (en)
WO (1) WO2021004334A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010139A (en) * 2021-03-10 2021-06-22 北京奇艺世纪科技有限公司 Screen projection method and device and electronic equipment
CN113301473A (en) * 2021-06-10 2021-08-24 元心信息科技集团有限公司 Method, device, equipment and storage medium for adjusting volume of earphone equipment
CN114388001A (en) * 2021-12-31 2022-04-22 北京梧桐车联科技有限责任公司 Multimedia file playing method, device, equipment and storage medium
CN114469082A (en) * 2021-12-30 2022-05-13 联想(北京)有限公司 Wearable device and control method

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709613A (en) * 2019-07-10 2021-11-26 Oppo广东移动通信有限公司 Volume adjusting method and device and computer readable storage medium
CN113099336B (en) * 2020-01-08 2023-07-25 北京小米移动软件有限公司 Method and device for adjusting earphone audio parameters, earphone and storage medium
CN113099335A (en) * 2020-01-08 2021-07-09 北京小米移动软件有限公司 Method and device for adjusting audio parameters of earphone, electronic equipment and earphone
CN111464911B (en) * 2020-05-18 2021-12-28 歌尔智能科技有限公司 Earphone left and right volume adjusting method, earphone and storage medium
CN112086106B (en) * 2020-08-11 2024-03-22 北京声智科技有限公司 Test scene alignment method, device, medium and equipment
US11653138B2 (en) * 2020-09-10 2023-05-16 David Patrick Warner Acoustic reflex detection
CN112449269B (en) * 2020-10-13 2023-03-24 安克创新科技股份有限公司 Earphone and tone quality optimization method thereof
CN112532787B (en) * 2020-11-30 2022-08-09 宜宾市天珑通讯有限公司 Earphone audio data processing method, mobile terminal and computer readable storage medium
CN112804607B (en) * 2020-12-24 2023-02-07 歌尔科技有限公司 Tone quality adjusting method and device and tone quality adjustable earphone
CN113613122B (en) * 2021-03-18 2023-10-20 深圳市冠旭电子股份有限公司 Volume adjusting method, volume adjusting device, earphone and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101408A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of mobile terminal and method for regulation of sound volume thereof
US20170289328A1 (en) * 2015-12-14 2017-10-05 Tridimensional Innovations, Inc Automatic Detection of Ear Tip Type
CN108540900A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Volume adjusting method and related product
CN109348366A (en) * 2018-11-12 2019-02-15 维沃移动通信有限公司 A kind of method and mobile terminal for realizing volume adjustment using electrical parameter
CN110418232A (en) * 2019-07-10 2019-11-05 Oppo广东移动通信有限公司 A kind of volume adjusting method and device, computer readable storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873974A (en) * 2014-03-05 2014-06-18 宇龙计算机通信科技(深圳)有限公司 Method for protecting hearing of human ears, earphone and mobile terminal
CN104661153B (en) * 2014-12-31 2018-02-02 歌尔股份有限公司 A kind of compensation method of earphone audio, device and earphone
CN105049977A (en) * 2015-07-30 2015-11-11 努比亚技术有限公司 Automatic earphone volume adjusting method and device
CN205160755U (en) * 2015-12-07 2016-04-13 京东方科技集团股份有限公司 Headphone structure device, earphone and wearable equipment
CN105939421A (en) * 2016-06-14 2016-09-14 努比亚技术有限公司 Terminal parameter adjusting device and method
CN106921904B (en) * 2017-04-27 2019-03-05 维沃移动通信有限公司 A kind of sound quality adjusting method and terminal of earphone
CN108551631A (en) * 2018-04-28 2018-09-18 维沃移动通信有限公司 A kind of sound quality compensation method and mobile terminal
CN108966080A (en) * 2018-06-26 2018-12-07 Oppo广东移动通信有限公司 volume adjusting method, device, storage medium and terminal device
CN109413555B (en) * 2018-09-30 2021-02-02 Oppo广东移动通信有限公司 Audio output method and device, earphone and electronic equipment
CN109413537A (en) * 2018-12-20 2019-03-01 歌尔科技有限公司 Audio signal playback method, device and earphone
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170289328A1 (en) * 2015-12-14 2017-10-05 Tridimensional Innovations, Inc Automatic Detection of Ear Tip Type
CN106101408A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of mobile terminal and method for regulation of sound volume thereof
CN108540900A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Volume adjusting method and related product
CN109348366A (en) * 2018-11-12 2019-02-15 维沃移动通信有限公司 A kind of method and mobile terminal for realizing volume adjustment using electrical parameter
CN110418232A (en) * 2019-07-10 2019-11-05 Oppo广东移动通信有限公司 A kind of volume adjusting method and device, computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010139A (en) * 2021-03-10 2021-06-22 北京奇艺世纪科技有限公司 Screen projection method and device and electronic equipment
CN113010139B (en) * 2021-03-10 2023-09-05 北京奇艺世纪科技有限公司 Screen projection method and device and electronic equipment
CN113301473A (en) * 2021-06-10 2021-08-24 元心信息科技集团有限公司 Method, device, equipment and storage medium for adjusting volume of earphone equipment
CN114469082A (en) * 2021-12-30 2022-05-13 联想(北京)有限公司 Wearable device and control method
CN114388001A (en) * 2021-12-31 2022-04-22 北京梧桐车联科技有限责任公司 Multimedia file playing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110418232A (en) 2019-11-05
CN113709614A (en) 2021-11-26
CN113709614B (en) 2024-04-30
CN113709613A (en) 2021-11-26
CN110418232B (en) 2021-09-24

Similar Documents

Publication Publication Date Title
WO2021004334A1 (en) Volume adjustment method and device and computer-readable storage medium
JP6096993B1 (en) Earphone sound effect compensation method, apparatus, and earphone
WO2020063017A1 (en) Audio transmission method and device, electronic apparatus, and storage medium
WO2020228095A1 (en) Real-time voice wake-up audio device, operation method and apparatus, and storage medium
EP3539303B1 (en) Auditory device assembly
EP3310075B1 (en) Audio system with concealed space detection or calibration
CN106851469A (en) It is a kind of to adjust the method and apparatus that audio amplifier exports audio
WO2020019821A1 (en) Microphone hole-blockage detection method and related product
EP3147904B1 (en) A method of determining objective perceptual quantities of noisy speech signals
CN113630708B (en) Method and device for detecting abnormal earphone microphone, earphone kit and storage medium
CN205726229U (en) Automatically the earphone of volume is adjusted
WO2020019857A1 (en) Microphone hole blocking detection method and related product
CN104754462A (en) Automatic regulating device and method for volume and earphone
CN110267144A (en) Information processing method and device and storage medium
CN113949955B (en) Noise reduction processing method and device, electronic equipment, earphone and storage medium
KR20220080066A (en) Environmental and aggregate acoustic dosimetry
CN113596657A (en) Earphone in-ear detection method, terminal and computer readable storage medium
CN113553022A (en) Equipment adjusting method and device, mobile terminal and storage medium
CN117319870B (en) Earphone wearing state detection method and device, earphone and storage medium
CN113613157B (en) Earphone and wearing state detection method and device thereof and storage medium
CN219204674U (en) Wearing audio equipment with human ear characteristic detection function
WO2023197474A1 (en) Method for determining parameter corresponding to earphone mode, and earphone, terminal and system
CN115243183A (en) Audio detection method, device and storage medium
CN112291689B (en) Sound playing method, wearable device and readable storage medium
US20230421974A1 (en) Systems and methods for own voice detection in a hearing system

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20836676

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20836676

Country of ref document: EP

Kind code of ref document: A1