WO2023092784A1 - Procédé de détection de port d'écouteurs sans fil, dispositif et support de stockage - Google Patents
Procédé de détection de port d'écouteurs sans fil, dispositif et support de stockage Download PDFInfo
- Publication number
- WO2023092784A1 WO2023092784A1 PCT/CN2021/140685 CN2021140685W WO2023092784A1 WO 2023092784 A1 WO2023092784 A1 WO 2023092784A1 CN 2021140685 W CN2021140685 W CN 2021140685W WO 2023092784 A1 WO2023092784 A1 WO 2023092784A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wearing
- data
- threshold
- wireless earphone
- earphone
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
Definitions
- the present application relates to the technical field of Bluetooth communication, and in particular to a method, device, device and storage medium for detecting wearing of a wireless earphone.
- TWS True Wireless Stereo, True Wireless Bluetooth
- IR Infrared Radiation, infrared
- the calibration of the IR sensor is generally completed in a unified manner before the production line is shipped. Once the calibration is completed, the calibration data is written into the memory of the headset and cannot be modified. However, in fact, the threshold value of wearing detection will change with the use time of the earphones, the wearing style of the user, the wear and tear of the IR sensor, and the color of the user's skin.
- the calibration data of the production line is always used, it will cause wearing The problem of inaccurate detection, such as the user wearing the headset but the value does not reach the detection threshold, resulting in the failure to judge that the headset is in the wearing state, or wearing the headset normally, but the detected value is low and reaches the threshold corresponding to the off state , and it is judged that the earphone is in the unplugged state.
- the control of the earphones will be confused, which will affect the user experience at least, and cause the earphones to be unable to use normally.
- the existing earphones have the problem of invariable calibration data, which leads to low accuracy of earphone wearing detection.
- the main purpose of the present application is to provide a wireless earphone wearing detection method, aiming at solving the technical problem of how to improve the accuracy of earphone wearing detection.
- the present application provides a wireless earphone wearing detection method, the wireless earphone wearing detection method includes:
- the step of obtaining the detection value set corresponding to the earphone wearing behavior of the wireless earphone includes:
- the set of detected values corresponding to the earphone wearing behavior is acquired.
- the current threshold includes a wearing threshold and a taking off threshold, wherein the wearing threshold is greater than the taking off threshold
- the step of obtaining the detection value set corresponding to the earphone wearing behavior in response to the first instruction includes:
- the real-time detection value is calculated based on a preset calculation rule, and the calculation results are integrated to obtain the detection value set.
- the step of obtaining the current detection value, and starting the periodic collection mode when the preset condition is met, and periodically collecting the real-time detection value of the wireless earphone includes:
- the real-time detection value of the wireless earphone is collected.
- the method before the step of recording the real-time detection value when the difference between the real-time detection value and the current detection value is greater than the calibration difference, the method includes:
- the step of dividing the set of detected values according to the preset first rule to obtain a subset of wearing data and a subset of taking off data includes:
- the original data is wearing data, which is divided into the wearing data subsets;
- the original data is stripped data, and is divided into the stripped data subsets.
- the target threshold includes a first threshold and a second threshold
- the preset second rule includes mean value calculation, wherein the wearing action is determined based on the first threshold, and the taking off action is based on the The second threshold is determined
- the data in the wearing data subset and the taking off data subset are respectively calculated to obtain a target threshold, and based on the target threshold, the corresponding earphone is judged when the state of the wireless earphone changes.
- Steps in wearing behavior including:
- the earphone wearing behavior when the state of the wireless earphone changes occurs is judged.
- the data in the wearing data subset and the taking off data subset are respectively calculated to obtain a target threshold, and based on the target threshold, it is judged that a state change occurs in the wireless earphone After the steps corresponding to the earphone wearing behavior, include:
- the collection parameters are calculated to obtain correction parameters, and the collected data is calibrated based on the correction parameters.
- the present application also provides a smart wearable device, which includes: a memory, a processor, and a program stored on the memory for implementing the wireless earphone wearing detection method;
- the memory is used to store a program for realizing the wireless earphone wearing detection method
- the processor is configured to execute a program for realizing the wireless earphone wearing detection method.
- the program of the wireless earphone wearing detection method is executed by the processor, the steps of the above wireless earphone wearing detection method can be realized.
- the present application also provides a storage medium, on which is stored a program for realizing the method for detecting wearing of a wireless earphone, and when the program for realizing the method for detecting wearing of a wireless earphone is executed by a processor, it realizes the above-mentioned method for detecting wearing of a wireless earphone step.
- the detection value set corresponding to the earphone wearing behavior of the wireless earphone is acquired, wherein the earphone wearing behavior is determined based on the current threshold value, and the earphone wearing behavior includes wearing action and taking off action; according to the preset first rule, the The detection value set is divided to obtain a wearing data subset and a taking off data subset; based on a preset second rule, the data in the wearing data subset and the taking off data subset are respectively calculated to obtain a target threshold and judging, based on the target threshold, a corresponding earphone wearing behavior when a state change occurs in the wireless earphone.
- the data collected based on the current threshold is processed. This data is generated by the user in the process of using the wireless headset. Therefore, the current threshold is calibrated through the actual data to obtain the target threshold, and the target threshold is used in the judgment When the headset is worn, it has high accuracy, thereby improving the accuracy of the headset wearing detection.
- FIG. 1 is a schematic flow diagram of the first embodiment of the wireless earphone wearing detection method of the present application
- FIG. 2 is a schematic flow diagram of the second embodiment of the wireless earphone wearing detection method of the present application
- FIG. 3 is a schematic diagram of functional modules of a preferred embodiment of the wireless earphone wearing detection device of the present application.
- FIG. 4 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present application.
- Embodiments of the present application provide a wireless earphone wearing detection method, device, device, and storage medium.
- Fig. 1 is a schematic flow chart of the first embodiment of the wireless earphone wearing detection method, in order to assist the description of the following embodiments, it is shown that when a TWS (True Wireless Stereo, true wireless bluetooth) earphone needs to be worn and detected , the present invention is based on the implementation process of the wireless earphone wearing detection method (here specifically refers to the detection of the earphone wearing state or action, if other fields use this method or device to realize other types of situations that require state or action detection should be included in this scope of protection Inside)
- TWS Truste Wireless Stereo, true wireless bluetooth
- the wireless earphone wearing detection method includes:
- Step S10 obtaining a detection value set corresponding to the earphone wearing behavior of the wireless earphone, wherein the earphone wearing behavior is determined based on the current threshold value, and the earphone wearing behavior includes wearing actions and taking off actions;
- Step S20 according to the preset first rule, divide the detection value set to obtain the wearing data subset and the taking off data subset;
- Step S30 based on the preset second rule, calculate the data in the wearing data subset and the taking off data subset respectively to obtain a target threshold, and judge the corresponding time when the state of the wireless earphone changes based on the target threshold. Headphone wearing behavior.
- Step S10 obtaining a detection value set corresponding to the earphone wearing behavior of the wireless earphone, wherein the earphone wearing behavior is determined based on the current threshold value, and the earphone wearing behavior includes wearing actions and taking off actions;
- a smart wearable device refers to a device that has a Bluetooth transmission function and can access the Internet or a personal area network, such as smart earphones, watches, bracelets, bracelets, etc.
- the following uses wireless earphones as an example.
- the specific implementation methods of other smart wearable devices are basically the same, and will not be repeated here.
- an infrared proximity sensor or photodiode
- an infrared transmitter are installed in the wireless headset.
- the infrared proximity sensor receives the reflected infrared light pulses and converts the infrared energy into a digital value.
- the digital value will increase proportionally with the approach of the target. Take off state).
- the lens (lens) of the IR (Infrared Radiation, infrared) sensor will be worn, scratched, coated with oil, etc., causing the data collected by the IR sensor to be out of the standard curve.
- the present invention collects the raw data effectively used by the user during the use of the earphone, processes a large amount of data, and obtains a new calibration value (that is, the threshold for judging the wearing state of the earphone) through an autonomous learning algorithm. Online calibration is realized, which improves the accuracy of earphone wearing detection.
- the wireless headset includes a data acquisition module, a data preprocessing module, and an online calibration module, wherein the data acquisition module reads the data in the register, and the data in the register comes from the IR sensor, and the collected The data saved is processed by the preprocessing module, and the processed data is calibrated by the online calibration module, and updated to obtain new calibration values/calibration data.
- the current threshold refers to the threshold for judging the earphone wearing behavior and taking off action. Therefore, the current threshold includes the wearing threshold and the taking off threshold.
- the wearing threshold When the earphone is worn and detected, the data collected by the IR sensor When the wearing threshold is reached, the wearing state of the wireless headset is determined. It can be understood that the infrared energy collected by the IR sensor is converted into a digital value, and the digital value will increase proportionally with the approach of the target. Therefore, the wearing threshold is greater than the taking off threshold.
- the collected data is greater than the wearing threshold, it means that the wireless headset
- the collected data is less than the off threshold, it means that the wireless headset is in the off state (the wireless headset takes off action).
- the online calibration module obtains the detection value set sent by the data acquisition module.
- the data in the detection value set is the data collected by the data acquisition module when the earphone wearing behavior occurs.
- the data is used for subsequent online calibration of the current threshold.
- Headphone wearing behavior includes wearing action and taking off action.
- the judgment of wearing action and taking off action is determined based on the current threshold.
- the current threshold refers to the threshold currently used by TWS to judge the wearing state or action of the earphone. The latter setting has been determined before the wireless headset production line is shipped.
- the actual current threshold is inaccurate due to the user's wearing method and skin color during the use of the wireless headset, and then there may be errors or errors in the wearing action or taking off action determined based on the current threshold. False, therefore, the data collected by the data collection module does not need to distinguish the current action as wearing action or taking off action based on the current threshold. Instead, the data can be collected when a change in the wearing state of the headset is detected, integrated into a set of detection values, and calibrated online After receiving the detection value set, the module divides the data in the detection value set according to the first rule, so as to improve the accuracy of the data required for calibration.
- obtaining the detection value set corresponding to the earphone wearing behavior of the wireless earphone includes the following steps S11-S12:
- Step S11 when a certain preset condition is met, receiving a first instruction for acquiring data
- Step S12 in response to the first instruction, acquiring the set of detected values corresponding to the earphone wearing behavior.
- the online calibration module when a certain preset condition of the online calibration is met, sends the first command to acquire data, and is ready to start the online calibration of the current threshold, wherein the certain preset condition can be set according to the calibration requirements, Calibration requirements can be calibration time, accuracy, data volume, etc.
- the setting object can be users or developers. Users or developers set corresponding preset conditions in the mobile terminal or control program connected to the wireless headset. For example, a certain preset condition is the amount of data, that is, the amount of data in the detection value set reaches 1000 is the preset condition. Then when the amount of data in the set of detected values reaches 1000, the online calibration module sends a first instruction, responds to the first instruction, and obtains the set of detected values sent by the data acquisition module.
- Step S20 divide the set of detected values to obtain a subset of wearing data and a subset of taking off data;
- the preset first rule refers to the rule for dividing and processing the data in the detection value set, and reasonably divides the data in the detection value set into data corresponding to the wearing action or data corresponding to the taking off action , integrate the data corresponding to all wearing actions to obtain a subset of wearing data, and integrate the data corresponding to all taking off actions to obtain a subset of taking off data.
- the detection value set is divided to obtain the wearing data subset and the taking off data subset, including the following steps S21-S23:
- Step S21 acquiring raw data in the detected value set, and calculating the difference between the raw data and the wearing threshold and the taking off threshold respectively, to obtain a first difference and a second difference;
- Step S22 when the first difference is smaller than the second difference, the original data is the wearing data, which is divided into the wearing data subsets;
- Step S23 otherwise, the original data is the off-cut data, and is divided into the off-cut data subsets.
- the original data in the detection value set is obtained, and the difference between the original data and the current threshold is calculated. Since the current threshold includes the wearing threshold and the taking off threshold, the difference between the original data and the wearing threshold is taken as Absolute value, the first difference is obtained, the difference between the original data and the removed data is taken as the absolute value, and the second difference is obtained. When the first difference is less than the second difference, the original data is wearing data, otherwise, the original data is off-take data, that is, when the first difference is greater than or equal to the second difference, the original data is off-wear Download the data. After calculation and division of all the original data in the detection value set, all the wearing data are collected to obtain the wearing data subset, and all the removal data are collected to obtain the removal data subset.
- Step S30 based on the preset second rule, calculate the data in the wearing data subset and the taking off data subset respectively to obtain a target threshold, and judge the corresponding time when the state of the wireless earphone changes based on the target threshold. Headphone wearing behavior.
- the target threshold includes a first threshold and a second threshold
- the first threshold is the threshold corresponding to the wearing action. It can be understood that when the collected data reaches the first threshold, it is determined from this data that the current wireless headset has occurred. Wearing action; the second threshold is the threshold corresponding to the taking off action. It can be understood that when the collected data reaches the second threshold, it is determined from this data that the current wireless earphone has taken off the action.
- the data in the wearing data subset and the taking off data subset are calculated or calibrated to obtain the target threshold, that is, to obtain the first threshold and the second threshold.
- the target threshold is determined based on the real-time data obtained from the current usage status of the wireless headset, and is determined after calibration of the current threshold. precise. Send the obtained target threshold to the data acquisition module, so that the data acquisition module can judge the wearing behavior of the earphone based on the calibrated target threshold, and based on the judged wearing action, the earphone can perform a series of control operations, such as when the wearing action of the earphone is detected , if the wireless headset is not connected to the collection, it will be connected back.
- the music When the music is not playing, the music will be played automatically when it is worn; for another example, when the wireless headset is detected to be taken off, if the music is playing, the music will be paused and the music can be played; another example During the call, when the wireless headset is put on or taken off, the main and secondary mic (microphone) switches, etc.
- the earphone wearing behavior includes the following steps S31-S33:
- Step S31 performing mean calculation on the wearing data subset to obtain a first threshold
- Step S32 performing mean value calculation on the removed data subset to obtain a second threshold
- Step S33 based on the first threshold and the second threshold, determine the earphone wearing behavior when the state of the wireless earphone changes.
- the preset second rule is a rule for calibrating the current threshold based on the data in the wearing data subset and the taking off data subset.
- the second rule includes mean value calculation. Calculate the mean value of the data, that is, calculate the mean value of all the data in the wearing data subset, and obtain the first threshold, which is the calibrated wearing threshold, which is used to judge the wearing state of the headset; Perform mean value calculation on the data, that is, calculate the mean value of all the data in the removed data subset to obtain a second threshold, which is the calibrated removed threshold. Send the obtained first threshold and second threshold to the data acquisition module, so that the data acquisition module judges the earphone wearing behavior based on the first threshold and the second threshold.
- the data collected by the data acquisition module when the data collected by the data acquisition module is greater than or equal to the first threshold , the data indicates that the wireless earphone is put on; when the data collected by the data acquisition module is less than or equal to the second threshold, the data indicates that the wireless earphone is taken off.
- the preset second rule also includes variance calculation.
- the first variance is obtained by calculating the variance of all the data in the wearing data subset. When the first variance satisfies the condition corresponding to the valid data, the wearing data subset If the first threshold value obtained by set calculation is valid, if the condition corresponding to the valid data at this time is reaching the first variance threshold value. It can be understood that when the first variance is greater than or equal to the first variance threshold, the first threshold is valid data, which can be used to update the wearing threshold as a new value for judging the earphone wearing behavior; otherwise, the first threshold is invalid data , to reacquire the detection value set sent by the data acquisition module, where the detection value set is new data collected by the data acquisition module.
- the second variance is obtained by calculating the variance of all the data in the removed data subset.
- the second threshold calculated by removing the data subset is valid. If the valid data corresponds to The condition is that a second variance threshold is reached. It can be understood that when the second variance is greater than or equal to the second variance threshold, the second threshold is valid data, which can be used to update the removal threshold as a new value for judging the earphone wearing behavior; otherwise, the second threshold is invalid data,
- the detection value set sent by the data acquisition module is reacquired, and the detection value set is new data collected by the data acquisition module.
- the detection value set corresponding to the earphone wearing behavior of the wireless earphone is acquired, wherein the earphone wearing behavior is determined based on the current threshold, and the earphone wearing behavior includes wearing and taking off actions; according to the preset first A rule, dividing the set of detection values to obtain a subset of wearing data and a subset of taking off data; based on a preset second rule, calculating the data in the subset of wearing data and the subset of taking off data respectively, A target threshold is obtained, and a corresponding earphone wearing behavior when a state change occurs in the wireless earphone is judged based on the target threshold.
- the data collected based on the current threshold is processed.
- This data is generated by the user in the process of using the wireless headset. Therefore, the current threshold is calibrated through the actual data to obtain the target threshold, and the target threshold is used in the judgment When the headset is worn, it has high accuracy, thereby improving the accuracy of the headset wearing detection.
- the wireless earphone wearing detection method further includes:
- Step S40 acquiring acquisition parameters corresponding to the wireless earphone data acquisition
- Step S50 based on the preset third rule and the target threshold, calculate the collection parameters to obtain correction parameters, and calibrate the collected data based on the correction parameters.
- the working power of the IR sensors is also different. Therefore, there will also be differences when collecting the data of the wireless earphones, and there will be errors in the data values read. Damage to the sensor, etc. can also cause numerical reading errors. Therefore, it is necessary to compensate the IR sensor based on the data obtained in real time during the user's use to improve the accuracy of its value reading. Specifically, a preset third rule is obtained, and the third rule is the following calculation formula:
- C IR ′ is a correction parameter
- C IR is a current collection parameter of the data collection module
- O 1 is a first threshold
- F 1 is a second threshold.
- the data acquisition module updates the wearing threshold, removal threshold and acquisition parameters based on the first threshold, second threshold and correction parameters , use the new wearing threshold and taking off the threshold to judge the earphone wearing behavior that occurs during the use of the earphone, and calibrate the collected data with the new acquisition parameters.
- the step of obtaining the detection value set corresponding to the earphone wearing behavior in response to the first instruction includes:
- Step S121 acquiring the current threshold, calculating the difference between the wearing threshold and the taking off threshold to obtain a calibration difference
- the data acquisition module is used as the execution subject, and the data acquisition module obtains the current threshold value.
- the current threshold value refers to the value currently used to judge the earphone wearing behavior.
- the current threshold value includes the wearing threshold value and the removal threshold value.
- the IR sensor detects When the data reaches the wearing threshold, it means that the wireless earphone is being put on, and when the data detected by the IR sensor reaches the taking off threshold, it means that the wireless earphone is being taken off.
- the current threshold is set when the headset leaves the factory.
- the difference between the wearing threshold and the taking off threshold is calculated to obtain a calibration difference, which is used to determine the earphone wearing behavior.
- Step S122 obtaining the current detection value, and when the preset condition is met, start the periodic collection mode, and periodically collect the real-time detection value of the wireless earphone;
- the data collection module is divided into two modes for data collection.
- the IR sensor can generate a terminal that is worn or taken off. At this time, data is collected when an interrupt occurs. When the collected data reaches the wearing threshold or taking off the threshold, the data is recorded as the current detection value.
- the data acquisition module starts the periodic collection mode, and the data collected in this periodic collection mode is the real-time detection value. That is, when the user is using the wireless headset, the real-time detection value is used for subsequent calibration of the current threshold based on the actual data obtained based on the user's wearing habits, lens wear of the IR sensor, clarity, and skin tone to obtain accuracy Higher and in line with the target threshold of the user and the wireless headset body, thereby improving the accuracy of headset wearing detection.
- the current detection value is obtained, and when the preset condition is met, the periodic collection mode is started, and the real-time detection value of the wireless earphone is collected periodically, including the following steps a-c:
- Step a obtaining the current detection value of the wireless earphone
- Step b when the real-time detection value reaches the current threshold, start the periodic collection mode
- Step c collecting real-time detection values of the wireless earphone based on a preset time period.
- the data collection module acquires the current detection value of the earphone, and when the current detection value reaches the current threshold, an interruption occurs, and at this time, the periodic collection mode is started.
- the current threshold includes the wearing threshold and the taking off threshold. Regardless of whether the current detection value reaches the wearing threshold or the taking off threshold, the current detection value is recorded and the periodic collection mode is started.
- the periodic collection mode can be a mode in which a certain amount of data is collected as the object of a time period. It can be understood that based on the time of obtaining the current detection value, the data of the wireless earphones is collected intermittently at a certain time period to obtain real-time detection. value, when the amount of data reaches a preset certain amount, it is a group of data.
- the certain time period can be 20ms, that is, the real-time detection value is obtained every 20ms, and the obtained real-time detection value is recorded. It should be noted that the certain time period can be determined by the user or developer according to the usage The needs are set by yourself.
- the IR sensor cannot be interrupted due to serious wear and position shift of the IR sensor, for example: after the headset is opened and connected to collect, if no wearing action is detected within 2 minutes, the infrared sensor is considered to have no interruption. Then the data acquisition module automatically starts the periodic acquisition mode 2 minutes after opening the box. It should be noted that the above 2 minutes is set for an example and does not limit the start of the periodic collection mode, and the user can set other times by himself, and the periodic collection mode will be automatically started based on other times.
- Step S123 when the difference between the real-time detection value and the current detection value is greater than the calibration difference, record the real-time detection value
- Invalid data refers to the data collected when the earphone wearing behavior does not change. This data does not require the calibration of the current threshold. Therefore, the data acquisition module In the process of collecting data, invalid data will be eliminated, and only valid data will be recorded and saved. Specifically, start the periodic acquisition mode, and acquire a real-time detection value every 20ms. When the difference between the real-time detection value and the current detection value is greater than the calibration difference, the real-time detection value is valid data; otherwise, the real-time detection value is invalid data, no records are required.
- the current detection value is recorded as the first data
- the real-time detection value obtained in the next time period is the second data
- the absolute value of the difference between the first data and the second data is calculated. If the absolute value is greater than the calibration difference value, it is considered that the wearing state of the wireless earphone has changed at this time, and the real-time detection value corresponding to the second data is recorded as valid data.
- Step d receiving a second instruction corresponding to the operation of optimizing the data collection
- Step e continuously acquiring the real-time detection value for at least one preset time period in response to the second instruction.
- the data acquisition module needs to optimize the operation of collecting data, then the data acquisition module responds to the second instruction after receiving the second instruction, and then the data acquisition module continues to read for two cycles
- the real-time detection value is the third data and the fourth data. If the difference between the third data and the fourth data and the first data is greater than the calibration difference, it is considered that the wearing state of the wireless headset has changed at this time. Then the real-time detection value corresponding to the fourth data is recorded as valid data.
- step S124 the real-time detection value is calculated based on a preset calculation rule, and the calculation results are integrated to obtain the detection value set.
- the collection of data can be increased.
- the real-time detection value is periodically collected, and the data collection module can set a certain amount of effective real-time detection value to one Set data, send the set of data to the preprocessing module for further processing, wherein a certain amount is set by the user or developer, for example, set 20 real-time detection values as a set of data.
- the data acquisition module sends the collected data to the preprocessing module, so that the preprocessing module calculates the group of data and obtains the calculation result.
- the specific calculation process is, after the preprocessing module removes the maximum and minimum values from the group of data , calculate the mean value of the remaining data in the group of data, and obtain the calculation result, which is sent to the online calibration module to calibrate the current threshold.
- the data acquisition module can collect multiple sets of data, and the calculation results of multiple sets of data after preprocessing are combined into a combination of detection values. . It can be understood that if it is set that the detection value set needs to contain 1000 sets of data, then the data acquisition module collects 1000 sets of data and sends them to the preprocessing module for calculation and processing to obtain 1000 calculation results. Therefore, when the number of calculation results reaches 1000 , triggering the online calibration module to perform the operation of obtaining the detection value set, so that the online calibration module calibrates the current threshold based on the 1000 calculation results in the detection value set.
- the wireless earphone also includes a data storage module, the data storage module is used to store the calculation results obtained after being processed by the preprocessing module, and when the calculation results reach a certain number, at least one calculation result Send to the online calibration module, so that the online calibration module calculates the target threshold value through the data, and the target threshold value is stored in the data storage module to take effect.
- the real-time detection value during the use of the wireless earphone is collected by the data acquisition module. After processing, send the value to the online calibration module to calibrate the current threshold to obtain the target threshold. Therefore, the target threshold is an updated threshold for judging the wearing behavior of the earphone for the user and the earphone body, and its accuracy is high.
- the present application also provides a wireless earphone wearing detection device.
- the wireless earphone wearing detection device includes:
- the first acquisition module 10 is configured to acquire a detection value set corresponding to the earphone wearing behavior of the wireless earphone, wherein the earphone wearing behavior is determined based on a current threshold, and the earphone wearing behavior includes wearing actions and taking off actions;
- the dividing module 20 divides the set of detection values according to the preset first rule to obtain a subset of wearing data and a subset of taking off data;
- the acquisition module 10 includes:
- the first sending sub-module when certain preset conditions are met, receives a first instruction for acquiring data
- the response submodule acquires the set of detection values corresponding to the earphone wearing behavior in response to the first instruction.
- the response submodule includes:
- a calculating subunit acquiring the current threshold, calculating the difference between the wearing threshold and the taking off threshold, to obtain a calibration difference
- the acquisition subunit acquires the current detection value, and when the preset condition is met, starts the periodic collection mode, and periodically collects the real-time detection value of the wireless earphone;
- a recording subunit recording the real-time detection value when the difference between the real-time detection value and the current detection value is greater than the calibration difference
- the data processing subunit calculates the real-time detection values based on preset calculation rules, integrates the calculation results, and obtains the detection value set.
- the acquisition subunit includes:
- the promoter subunit when the real-time detection value reaches the current threshold, starts the periodic collection mode
- the collection sub-subunit collects the real-time detection value of the wireless earphone based on a preset time period.
- the response submodule also includes:
- the receiving subunit receives the second instruction corresponding to the optimized collection data operation
- the response subunit continuously acquires the real-time detection value for at least one preset time period in response to the second instruction.
- the division module 20 includes:
- the obtaining sub-module obtains the original data in the detected value set, calculates the difference between the original data and the wearing threshold and the taking off threshold respectively, and obtains a first difference and a second difference;
- the first dividing sub-module when the first difference is smaller than the second difference, the original data is wearing data, and is divided into the wearing data subset;
- the second dividing sub-module otherwise, the original data is the off-cut data, and is divided into the off-cut data subsets.
- the calibration module 30 includes:
- the first calculation sub-module calculates the mean value of the wearing data subset to obtain the first threshold
- the second calculation sub-module calculates the mean value of the removed data subset to obtain a second threshold
- the second sending submodule judges the earphone wearing behavior when the state of the wireless earphone changes based on the first threshold and the second threshold.
- the wireless earphone wearing detection device also includes:
- the second acquiring module acquires the acquisition parameters corresponding to the wireless earphone data acquisition
- the second calibration module calculates the collection parameters based on the preset third rule and the target threshold to obtain correction parameters, and calibrates the collected data based on the correction parameters.
- the specific implementation of the wireless earphone wearing detection device of the present application is basically the same as the embodiments of the wireless earphone wearing detection method described above, and will not be repeated here.
- FIG. 4 is a schematic diagram of a device structure of a hardware operating environment involved in the solution of the embodiment of the present application.
- the wireless headset wearing detection may include: a processor 1001 , such as a CPU, a memory 1005 , and a communication bus 1002 .
- the communication bus 1002 is used to realize connection and communication between the processor 1001 and the memory 1005 .
- the memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
- the memory 1005 may also be a storage device independent of the foregoing processor 1001 .
- the wireless headset wearing detection may also include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
- the rectangular user interface may include a display screen (Display), an input sub-module such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface.
- the network interface may include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the memory 1005 as a storage medium may include an operating system, a network communication module, and a wireless earphone wearing detection program.
- the operating system is a program that manages and controls the hardware and software resources of the wireless earphone wearing detection, and supports the operation of the wireless earphone wearing detection program and other software and/or programs.
- the network communication module is used to realize the communication between various components inside the memory 1005, and communicate with other hardware and software in the wireless earphone wearing detection system.
- the processor 1001 is configured to execute the wireless earphone wearing detection program stored in the memory 1005 to implement the steps of the wireless earphone wearing detection method described in any one of the above.
- the specific implementation of the wireless earphone wearing detection method of the present application is basically the same as the above-mentioned embodiments of the wireless earphone wearing detection method, and will not be repeated here.
- the embodiment of the present application provides a storage medium, and the storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement any of the above The steps of the wireless earphone wearing detection method.
- the specific implementation manner of the storage medium of the present application is basically the same as the embodiments of the wireless earphone wearing detection method described above, and will not be repeated here.
- the present application also provides a computer program product, including a computer program.
- a computer program product including a computer program.
- the steps of the above-mentioned method for detecting wearing of a wireless earphone are realized.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Headphones And Earphones (AREA)
Abstract
L'invention concerne également un procédé et un appareil de détection de port d'écouteur sans fil, un dispositif et un support de stockage. Le procédé consiste à : obtenir un ensemble de valeurs de détection correspondant à un comportement de port d'écouteur d'un écouteur sans fil, le comportement de port d'écouteur étant déterminé et obtenu sur la base d'un seuil courant, et le comportement de port d'écouteur comprenant une action de port et une action de retrait (S10) ; diviser l'ensemble de valeurs de détection selon une première règle prédéfinie pour obtenir un sous-ensemble de données de port et un sous-ensemble de données de retrait (S20) ; calculer respectivement des données dans le sous-ensemble de données de port et le sous-ensemble de données de retrait sur la base d'une seconde règle prédéfinie afin d'obtenir un seuil cible, et déterminer, sur la base du seuil cible, un comportement de port d'écouteur correspondant lorsque l'état de l'écouteur sans fil change (S30). A l'aide dudit procédé, des données relatives à l'utilisation de l'écouteur par l'utilisateur, acquises sur la base du seuil courant sont traitées pour obtenir le seuil cible, et lorsque le comportement de port d'écouteur est déterminé au moyen du seuil cible, la précision est élevée, de sorte que la précision de détection de port d'écouteur soit améliorée.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111436461.X | 2021-11-29 | ||
CN202111436461.XA CN114268872A (zh) | 2021-11-29 | 2021-11-29 | 无线耳机佩戴检测方法、设备和存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023092784A1 true WO2023092784A1 (fr) | 2023-06-01 |
Family
ID=80825858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/140685 WO2023092784A1 (fr) | 2021-11-29 | 2021-12-23 | Procédé de détection de port d'écouteurs sans fil, dispositif et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114268872A (fr) |
WO (1) | WO2023092784A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116887117A (zh) * | 2023-08-08 | 2023-10-13 | 深圳市星科启创新科技有限公司 | 一种无线耳机的控制方法、装置、无线耳机及介质 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114845203B (zh) * | 2022-07-01 | 2022-09-20 | 龙旗电子(惠州)有限公司 | 电容式耳机的播放控制方法、装置、设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108551631A (zh) * | 2018-04-28 | 2018-09-18 | 维沃移动通信有限公司 | 一种音质补偿方法及移动终端 |
CN108810788A (zh) * | 2018-06-12 | 2018-11-13 | 歌尔科技有限公司 | 一种无线耳机的佩戴情况检测方法、装置及无线耳机 |
CN109257674A (zh) * | 2018-09-28 | 2019-01-22 | 歌尔科技有限公司 | 一种无线耳机的佩戴情况检测方法、装置及无线耳机 |
CN111654773A (zh) * | 2020-05-29 | 2020-09-11 | 歌尔科技有限公司 | 蓝牙耳机、蓝牙耳机的校准方法、设备及存储介质 |
US20210266658A1 (en) * | 2018-08-16 | 2021-08-26 | Goertek Inc. | Method and device for detecting earphone wearing status, and earphone |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106291121B (zh) * | 2016-07-29 | 2023-10-13 | 歌尔股份有限公司 | 一种可穿戴设备的佩戴状态检测方法和可穿戴设备 |
CN107907916B (zh) * | 2017-10-20 | 2019-04-02 | 歌尔科技有限公司 | 一种智能穿戴设备的佩戴状态检测方法及装置 |
CN112630861A (zh) * | 2020-12-14 | 2021-04-09 | 安徽华米信息科技有限公司 | 无线耳机的接近传感器校准方法、装置、耳机及存储介质 |
-
2021
- 2021-11-29 CN CN202111436461.XA patent/CN114268872A/zh active Pending
- 2021-12-23 WO PCT/CN2021/140685 patent/WO2023092784A1/fr unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108551631A (zh) * | 2018-04-28 | 2018-09-18 | 维沃移动通信有限公司 | 一种音质补偿方法及移动终端 |
CN108810788A (zh) * | 2018-06-12 | 2018-11-13 | 歌尔科技有限公司 | 一种无线耳机的佩戴情况检测方法、装置及无线耳机 |
US20210266658A1 (en) * | 2018-08-16 | 2021-08-26 | Goertek Inc. | Method and device for detecting earphone wearing status, and earphone |
CN109257674A (zh) * | 2018-09-28 | 2019-01-22 | 歌尔科技有限公司 | 一种无线耳机的佩戴情况检测方法、装置及无线耳机 |
CN111654773A (zh) * | 2020-05-29 | 2020-09-11 | 歌尔科技有限公司 | 蓝牙耳机、蓝牙耳机的校准方法、设备及存储介质 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116887117A (zh) * | 2023-08-08 | 2023-10-13 | 深圳市星科启创新科技有限公司 | 一种无线耳机的控制方法、装置、无线耳机及介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114268872A (zh) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023092784A1 (fr) | Procédé de détection de port d'écouteurs sans fil, dispositif et support de stockage | |
CN110972014B (zh) | 一种有源降噪耳机的参数调整方法、装置及无线耳机 | |
US10284943B2 (en) | Method and apparatus for adjusting sound field of an earphone and a terminal | |
WO2020019858A1 (fr) | Procédé de détection d'obstruction de trou de microphone et produits associés | |
CN113630708B (zh) | 耳机麦克风异常检测的方法、装置、耳机套件及存储介质 | |
CN111698601B (zh) | 蓝牙耳机及其按键灵敏度调整方法、装置、可读存储介质 | |
CN114071308B (zh) | 耳机自适应调音方法、装置、耳机及可读存储介质 | |
CN109862430B (zh) | 多媒体播放方法及终端设备 | |
CN112272342B (zh) | 音量自动调节方法、装置、蓝牙耳机及存储介质 | |
CN112468924A (zh) | 一种耳机降噪方法及装置 | |
WO2023072007A1 (fr) | Procédé et appareil de commande d'écouteur, et écouteur et support de stockage | |
CN107613387A (zh) | 控制数据播放的方法、装置、播放设备及存储介质 | |
CN111294689B (zh) | 语音信息的采集方法及装置、无线耳机装置 | |
CN113596657A (zh) | 一种耳机入耳检测方法、终端及计算机可读存储介质 | |
CN113920975B (zh) | 降噪参数设置方法、装置、耳机设备及存储介质 | |
CN113794965B (zh) | 耳机频响校准方法、装置、耳机设备及存储介质 | |
CN110418237B (zh) | 一种蓝牙耳机中光学传感器的校准方法及蓝牙耳机 | |
CN110784797A (zh) | 一种无线耳机控制方法、装置及无线耳机和存储介质 | |
CN113613157B (zh) | 耳机及其佩戴状态检测方法、装置及存储介质 | |
CN114630242A (zh) | 耳机佩戴检测方法、耳机及存储介质 | |
CN107466387A (zh) | 一种检测触摸方式的方法及装置 | |
CN111049972B (zh) | 一种音频播放方法及终端设备 | |
CN113194372A (zh) | 一种耳机的控制方法、装置及相关组件 | |
US20240187778A1 (en) | Hearing device wear state detection method and apparatus, and hearing device and medium | |
US11979512B2 (en) | Mobile terminal having hearing aid function, and earphone-based hearing aid system using the same |
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: 21965503 Country of ref document: EP Kind code of ref document: A1 |