WO2022160759A1 - 耳机计步方法、耳机及存储介质 - Google Patents

耳机计步方法、耳机及存储介质 Download PDF

Info

Publication number
WO2022160759A1
WO2022160759A1 PCT/CN2021/121277 CN2021121277W WO2022160759A1 WO 2022160759 A1 WO2022160759 A1 WO 2022160759A1 CN 2021121277 W CN2021121277 W CN 2021121277W WO 2022160759 A1 WO2022160759 A1 WO 2022160759A1
Authority
WO
WIPO (PCT)
Prior art keywords
pulse signal
earphone
steps
vibration
pedometer
Prior art date
Application number
PCT/CN2021/121277
Other languages
English (en)
French (fr)
Inventor
李欢
Original Assignee
歌尔股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Priority to US17/840,783 priority Critical patent/US20220307862A1/en
Publication of WO2022160759A1 publication Critical patent/WO2022160759A1/zh

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
    • 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/02Casings; Cabinets ; Supports therefor; Mountings therein
    • H04R1/028Casings; Cabinets ; Supports therefor; Mountings therein associated with devices performing functions other than acoustics, e.g. electric candles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers
    • 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/08Mouthpieces; Microphones; Attachments therefor
    • 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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • 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/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/22Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only 
    • H04R1/28Transducer mountings or enclosures modified by provision of mechanical or acoustic impedances, e.g. resonator, damping means
    • H04R1/2807Enclosures comprising vibrating or resonating arrangements
    • H04R1/2811Enclosures comprising vibrating or resonating arrangements for loudspeaker transducers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response
    • 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
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • H04R2201/107Monophonic and stereophonic headphones with microphone for two-way hands free communication

Definitions

  • the present application relates to the technical field of step counting, and in particular, to a headphone step counting method, a headphone and a storage medium.
  • smartphones and smart wristbands have step counting functions. These devices basically have a series of sensor combinations such as gyroscopes, gravity sensors, and acceleration sensors built-in to realize the step counting function.
  • headphones have become electronic products that users carry with them.
  • the user when the user is exercising, in order to record the user's exercise state, the user needs to wear the aforementioned terminal device with a step-counting function or a sports wearable device to record the user's exercise steps, which enables the user to listen to music through headphones while exercising.
  • the aforementioned terminal device with a step-counting function or a sports wearable device to record the user's exercise steps, which enables the user to listen to music through headphones while exercising.
  • it in order to know the number of one's exercise steps, it is necessary to wear multiple electronic devices. How to reduce the number of electronic devices worn on the user's body is an urgent problem to be solved at present.
  • the main purpose of the present application is to provide a headphone pedometer method, headphone and storage medium, aiming to solve the technical problem of how to reduce the number of electronic devices worn by the user when the user is exercising.
  • the present application provides a headphone pedometer method, which is applied to an earphone, the earphone includes a feedback microphone, and the earphone pedometer method includes the following steps:
  • An effective pulse signal is determined according to the vibration pulse signal, and steps are counted according to the number of the effective pulse signals.
  • the step of determining an effective pulse signal according to the vibration pulse signal includes:
  • the vibration pulse signal is determined to be a valid pulse signal.
  • the step of counting steps according to the number of the effective pulse signals includes:
  • the earphone further includes a high-pass filter, and before the step of acquiring the vibration pulse signal through the feedback microphone of the earphone, the method further includes:
  • the original pulse signal is filtered through the high-pass filter to obtain a vibration pulse signal.
  • the step of determining a valid pulse signal according to the vibration pulse signal and counting steps according to the number of the valid pulse signal it also includes:
  • the number of steps determined according to the number of valid pulse signals within the first preset duration is transmitted to the mobile terminal communicatively connected to the earphone, so that the mobile terminal can update the number of steps of the wearer.
  • the step of determining a valid pulse signal according to the vibration pulse signal and counting steps according to the number of the valid pulse signal it also includes:
  • the step of determining a valid pulse signal according to the vibration pulse signal and counting steps according to the number of the valid pulse signal it also includes:
  • the method before the step of acquiring the vibration pulse signal through the feedback microphone of the earphone, the method further includes:
  • the wearing state of the earphone is the worn state, the following steps are performed: acquiring a vibration pulse signal through a feedback microphone of the earphone.
  • the present application also provides an earphone, characterized in that the earphone includes a feedback microphone, a memory, a processor, and an earphone meter stored in the memory and running on the processor.
  • Step program when the earphone step counting program is executed by the processor, realizes the steps of the earphone step counting method as described above.
  • the present application also provides a storage medium on which a headphone pedometer program is stored, and when the headphone pedometer program is executed by a processor, the above-mentioned headphone pedometer method is realized. step.
  • the vibration pulse signal is obtained through the feedback microphone of the earphone; the effective pulse signal is determined according to the vibration pulse signal, and the steps are counted according to the number of the effective pulse signal.
  • the feedback microphone of the headset is used to realize both the audio playback function and the pedometer function, so that the user does not need to wear other pedometer devices for step counting when exercising while wearing the headset, thus solving the problem of the user in the prior art.
  • you need to listen to audio and pedometer at the same time in sports scenarios you need to wear multiple electronic devices, and the user has a poor pedometer experience; in addition, the feedback microphone of the headset itself is used to count steps, and users do not need to buy other pedometer devices. , so the cost of step counting can be reduced.
  • FIG. 1 is a schematic structural diagram of a device hardware operating environment involved in a headset embodiment solution of the present application
  • FIG. 2 is a schematic flowchart of the first embodiment of the earphone step counting method of the present application
  • FIG. 3 is a schematic diagram of a mid-high frequency pulse signal received by the earphone of the application.
  • FIG. 4 is a schematic diagram of a continuous medium and high frequency pulse signal generated by walking received by the earphone of the application.
  • FIG. 1 is a schematic structural diagram of a device hardware operating environment involved in the earphone embodiment solution of the present application.
  • the headset may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 .
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface).
  • the memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • the hardware structure of the earphone shown in FIG. 1 does not constitute a limitation on the earphone, and may include more or less components than shown, or combine some components, or arrange different components.
  • the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a headphone pedometer program.
  • the operating system is a program that manages and controls the headset and software resources, and supports the operation of the network communication module, the user interface module, the headset pedometer program and other programs or software;
  • the network communication module is used to manage and control the network interface 1004;
  • the user interface Modules are used to manage and control the user interface 1003 .
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect to the client and perform data communication with the client;
  • the processor 1001 can call The earphone pedometer program stored in the memory 1005, and performs the following operations:
  • An effective pulse signal is determined according to the vibration pulse signal, and steps are counted according to the number of the effective pulse signals.
  • step of determining an effective pulse signal according to the vibration pulse signal includes:
  • the vibration pulse signal is determined to be a valid pulse signal.
  • step of counting steps according to the number of the effective pulse signals includes:
  • the earphone also includes a high-pass filter, and before the step of acquiring the vibration pulse signal through the feedback microphone of the earphone, the method further includes:
  • the original pulse signal is filtered through the high-pass filter to obtain a vibration pulse signal.
  • step of determining an effective pulse signal according to the vibration pulse signal and counting steps according to the number of the effective pulse signal it also includes:
  • the number of steps determined according to the number of valid pulse signals within the first preset duration is transmitted to the mobile terminal communicatively connected to the earphone, so that the mobile terminal can update the number of steps of the wearer.
  • step of determining an effective pulse signal according to the vibration pulse signal and counting steps according to the number of the effective pulse signal it also includes:
  • the mobile terminal transmitting the vibration pulse signal obtained by the earphone within the second preset time period to the mobile terminal communicatively connected with the earphone, so that the mobile terminal can use the vibration pulse signal in the second preset time period for the mobile terminal
  • the amplitude of the wearer's step within the second preset time period is determined, and the step health prompt is output according to the step severity.
  • step of determining an effective pulse signal according to the vibration pulse signal and counting steps according to the number of the effective pulse signal it also includes:
  • the step of acquiring the vibration pulse signal through the feedback microphone of the earphone it also includes:
  • the wearing state of the earphone is the worn state, the following steps are performed: acquiring a vibration pulse signal through a feedback microphone of the earphone.
  • the specific implementation manner of the earphone of the present application is basically the same as the following embodiments of the earphone step counting method, and will not be repeated here.
  • the present application also provides an earphone pedometer method based on the above earphone.
  • FIG. 2 is a schematic flowchart of a first embodiment of a headphone pedometer method of the present application.
  • the embodiments of the present application provide the embodiments of the headphone step counting method. It should be noted that although the logical sequence is shown in the flowchart, in some cases, the shown or described steps.
  • the execution body may be an earphone, a controller, or a headphone control system.
  • this embodiment is described with a controller as the execution body.
  • the earphone pedometer method is applied to an earphone, the earphone includes a feedback microphone, and the earphone pedometer method includes:
  • Step S10 obtaining a vibration pulse signal through the feedback microphone of the earphone
  • a headphone pedometer method is proposed in the embodiment of the present application, which aims to realize the combination of the headphone and the headphone through the feedback microphone of the headphone.
  • audio playback function and pedometer function users do not need to wear other pedometer devices for pedometers when exercising while wearing headphones, thus solving the need for users to listen to audio and pedometers at the same time in sports scenarios in the prior art.
  • the headphone pedometer method in this embodiment is suitable for headphones with feedback microphones, such as TWS (True Wireless Stereo) headphones, headphones, neck-worn headphones and other wireless headphones, and even applicable to Wired headphones.
  • TWS True Wireless Stereo
  • the TWS earphone is used as an example to illustrate.
  • the TWS noise reduction earphone with noise reduction function has a feedback microphone.
  • the feedback microphone is usually arranged inside the earphone. Therefore, when the user uses the earphone, the feedback microphone is located between the ear and the earphone. In the closed cavity formed, the high-frequency interference noise from the outside can be isolated.
  • a microphone can be understood as a transducer that converts sound energy into electrical energy. There is a diaphragm inside the microphone. The external sound is transmitted to the diaphragm through the air, causing the diaphragm to vibrate. Such mechanical vibration will be converted into voltage by the transducer. Signal.
  • the body In the process of walking, the body will naturally produce regular vibrations. Every time the wearer's body vibrates, the volume of the cavity where the feedback microphone of the headset is located will also change with the vibration of the wearer's body. air, and then squeeze the diaphragm of the feedback microphone, so that the feedback microphone receives a mid-to-high frequency pulse signal similar to that shown in Figure 3. During the continuous movement process, the feedback microphone will receive a continuous pulse signal as shown in Figure 4. .
  • the earphone further includes a high-pass filter, and before the above step S10, further includes:
  • Step a1 receiving the original pulse signal through the feedback microphone of the earphone;
  • Step a2 filtering the original pulse signal through the high-pass filter to obtain a vibration pulse signal.
  • the earphone also includes a high-pass filter.
  • the high-pass filter is also called a low-cut filter or a low-cut filter, which allows frequencies higher than a certain cut-off frequency to pass through and greatly attenuates lower frequencies. , it can remove unnecessary low-frequency components in the signal or remove low-frequency interference.
  • the wearer's body not only vibrates when walking, but also causes tiny vibrations in breathing, heartbeat, speech, body shaking, etc. This kind of vibration is relatively small compared to the body vibration caused by walking, but it will also The feedback microphone receives the corresponding low-frequency pulse signal.
  • the feedback microphone of the headset After the feedback microphone of the headset receives the original pulse signal, it will pass a high-pass filter based on the cutoff frequency. The original pulse signal is filtered, and the low-frequency pulse signal in the original pulse signal is filtered out to obtain the vibration pulse signal.
  • the cut-off frequency of the pulse signal and the pulse signal of other micro-vibration scenes can be set to any value between 280Hz and 320Hz, such as 300Hz.
  • step S10 it also includes:
  • Step b1 detecting the wearing state of the earphone
  • the wearing state of the earphone is the worn state, the following steps are performed: acquiring a vibration pulse signal through a feedback microphone of the earphone.
  • the earphone further includes a wearing detection module for detecting the wearing state of the earphone.
  • the wearing detection module may be an infrared sensor or a photoelectric sensor.
  • the wearing detection module detects a human ear, the wearing detection module sends a trigger signal, Thereby, the earphone can determine that the wearing state of the earphone is the worn state according to the trigger signal, and then step S10 is triggered.
  • the vibration pulse signal will be obtained through the feedback microphone, instead of the feedback microphone being in a normally open state, the power consumption of the earphone can be reduced, and the performance of the earphone can be improved.
  • the vibration pulse signal will be obtained through the feedback microphone, and then the steps will be counted according to the vibration pulse signal, which can prevent the feedback microphone of the headset from detecting the external environment in the non-wearing state. High-frequency noise, and then the step counting is performed according to the vibration pulse signal generated by the high-frequency noise of the external environment, which reduces the step-counting accuracy of the earphone.
  • Step S20 determining a valid pulse signal according to the vibration pulse signal, and counting steps according to the number of the valid pulse signals.
  • the vibration pulse signal may include a valid pulse signal and an invalid pulse signal.
  • the difference between the two pulse signals is that the amplitude of the valid pulse signal is greater than or equal to the preset amplitude threshold, while the invalid pulse signal is smaller than the preset amplitude threshold.
  • the amplitude of the pulse signal refers to a pulse signal wave, the distance from the peak to the trough;
  • the preset amplitude threshold is a threshold value that reflects the minimum amplitude of walking determined by developers in advance according to a large number of pulse signals during walking.
  • the preset amplitude threshold can be any value between 20dB and 40dB, such as 30dB.
  • the pulse signal with the amplitude greater than or equal to the threshold value can be considered to be generated by the wearer's walking vibration, and the pulse signal less than the threshold value can be It is considered to be caused by non-walking vibration. If the invalid pulse signal is also used as the basis for step counting, there will be a large discrepancy between the number of steps and the actual number of steps of the user. Therefore, after the vibration pulse signal is obtained, it will also determine each Whether the amplitude of the vibration pulse signal is greater than or equal to the preset amplitude threshold, only the vibration pulse signal whose amplitude is greater than or equal to the preset amplitude threshold will be determined as a valid pulse signal, and then the steps are counted according to the number of valid pulse signals. If a valid pulse signal is determined, the number of steps is increased by one.
  • a gravity sensor or an acceleration sensor can also be set in the headset, or the built-in gravity sensor or acceleration sensor of the mobile terminal that communicates with the headset can be used to count steps in parallel, combined with a variety of step counting methods. Count your steps.
  • the vibration pulse signal is acquired through the feedback microphone of the earphone; the effective pulse signal is determined according to the vibration pulse signal, and the steps are counted according to the number of the effective pulse signal.
  • the feedback microphone of the headset is used to realize both the audio playback function and the pedometer function, so that the user does not need to wear other pedometer devices for step counting when exercising while wearing the headset, thus solving the problem of the user in the prior art.
  • the second embodiment of the earphone step counting method of the present application is proposed, after the above step S20, the method further includes:
  • Step c1 determining whether the number of valid pulse signals within the first preset duration is greater than or equal to a preset number threshold
  • Step c2 if yes, transmit the number of steps determined according to the number of valid pulse signals within the first preset duration to the mobile terminal communicatively connected to the earphone, so that the mobile terminal can update the number of steps of the wearer.
  • the step number can be sent to the mobile terminal that is communicatively connected to the earphone for the mobile terminal to use. Updates the wearer's step count for the user to view.
  • the power consumption of the electronic device gradually increases with the increase of the number of interactions, that is, the higher the interaction frequency, the higher the power consumption and the shorter the battery life.
  • the interaction between the headset and the mobile terminal can be reduced by reducing the interaction between the headset and the mobile terminal. frequency to reduce the power consumption of electronic equipment.
  • the number of steps determined according to the number of valid pulse signals within the first preset duration is transmitted to the communication connection with the headset The mobile terminal, so that the mobile terminal can update the number of steps of the wearer for the user to view.
  • the first preset duration and the preset number threshold may be determined by the developer according to two factors, power consumption and the frequency at which the user checks the number of steps, which is not specifically limited in this embodiment.
  • the headset will temporarily not synchronize the number of steps within the first preset duration to the mobile terminal until it reaches the first preset number. If a preset duration is set, it is judged whether the number of steps within the first preset duration is greater than 0, and if so, the number of steps within the first preset duration is sent to the mobile terminal, otherwise, the number of steps within the first preset duration will not be sent to the mobile terminal. The data is sent to the mobile terminal, thereby further reducing the number of interactions and power consumption.
  • step S20 it also includes:
  • Step d1 transmit the vibration pulse signal obtained by the earphone within the second preset time length to the mobile terminal that is communicatively connected with the earphone, so that the mobile terminal can be
  • the amplitude of the vibration pulse signal determines the severity of the wearer's steps within the second preset time period, and outputs a step health prompt according to the severity of the steps.
  • the earphone will temporarily store the vibration pulse signal within the second preset time period, and when the second preset time period is in, or when receiving the instruction for obtaining the step severity, the temporarily stored second preset time period will be stored.
  • the vibration pulse signal within the set duration is sent to the mobile terminal that is in communication with the headset.
  • the mobile terminal After receiving the vibration pulse signal within the second preset duration, the mobile terminal will acquire and analyze the amplitude of each vibration pulse signal, and then determine the second preset duration. Set the average value of the amplitude of each vibration pulse signal within the duration. Since the amplitude of the vibration pulse signal reflects the wearer's pace, the larger the amplitude, the heavier the step. Therefore, the average value reflects the wearer's pace in the second preset.
  • the average stride in the duration after obtaining the average stride of the wearer within the second preset duration, the average stride can be compared with the wearer's normal stride range to determine whether the wearer is in the second preset. Whether the average step weight in the duration exceeds the normal step weight range, and then gives the corresponding step health prompt. For example, if the wearer's average step weight in the second preset time period is greater than the upper limit of the normal step weight range, it means that the wearer is wearing If the user may exercise too hard, the output pace health prompt can be "Your average pace is too heavy, please pay attention to moderate exercise".
  • the range of the normal pace of light and heavy may be determined according to the height, weight, age and other indicators input in advance by the wearer.
  • the way of outputting the step health prompt can be output by text and/or image on the display interface of the mobile terminal, or by the voice output of the mobile terminal, or by the mobile terminal sending the voice prompt to the headset, and the voice output by the headset. , this embodiment does not make specific restrictions.
  • the diversity of functions of the pedometer can be enriched and the intelligence of the pedometer can be improved.
  • step S20 it also includes:
  • Step f1 transmit the vibration pulse signal obtained by the earphone within the third preset time length to the mobile terminal that is communicatively connected to the earphone, so that the mobile terminal can use the mobile terminal according to each of the third preset time length.
  • the pulse period of the vibration pulse signal determines the walking speed of the wearer within the third preset time period, and outputs a walking prompt according to the walking speed.
  • the earphone will temporarily store the vibration pulse signal within the third preset time period, and when the third preset time period or when receiving the instruction for obtaining the walking speed condition, the temporarily stored third preset time period will be stored.
  • the vibration pulse signal within the set duration is sent to the mobile terminal that is in communication with the headset. After receiving the vibration pulse signal within the third preset duration, the mobile terminal will acquire and analyze the pulse period of each vibration pulse signal, and then determine the third vibration pulse signal.
  • the average value of the pulse period of each vibration pulse signal within the preset duration Since the pulse period of the vibration pulse signal reflects the walking speed of the wearer, the smaller the pulse period, the faster the walking speed. Therefore, the average value reflects the wearer's walking speed.
  • the average walking speed in the third preset time period after obtaining the wearer's average walking speed in the third preset time period, the average walking speed can be compared with the wearer's normal walking speed range to determine the wearer's average walking speed. Whether the average walking speed in the third preset time period exceeds the normal walking speed range, and then give a corresponding walking prompt. For example, if the wearer's average walking speed in the third preset time period is greater than the upper limit of the normal walking speed range Limit, the output walking prompt can be "Your walking speed is fast, please pay attention to safety".
  • the normal walking speed range may be determined according to indicators such as height, weight, age, etc. previously input by the wearer, or may be determined according to the historical walking data of the wearer.
  • the mobile terminal can determine the wearer's maximum walking speed and minimum walking speed within the third preset time period. Speed, and output the maximum walking speed, minimum walking speed and average walking speed feedback to the wearer, so that the wearer can keep abreast of their walking situation
  • the way of outputting the walking prompt may be output by text and/or image on the display interface of the mobile terminal, or output by the voice of the mobile terminal, or the mobile terminal may send the voice prompt to the earphone, and output by the earphone voice,
  • the mobile terminal may send the voice prompt to the earphone, and output by the earphone voice
  • the diversity of functions of the pedometer can be enriched and the intelligence of the pedometer can be improved.
  • embodiments of the present application also provide a storage medium.
  • the earphone pedometer program is stored on the storage medium, and the earphone pedometer program implements the steps of the earphone pedometer method as described above when the earphone pedometer program is executed by the processor.
  • the specific implementation manner of the storage medium of the present application is basically the same as that of the above-mentioned embodiments of the earphone step counting method, and will not be repeated here.

Abstract

本申请公开了一种耳机计步方法、耳机及存储介质,该方法通过耳机的反馈麦克风获取振动脉冲信号;根据振动脉冲信号确定有效脉冲信号,并根据有效脉冲信号的个数进行计步。利用耳机的反馈麦克风实现了使耳机兼具音频播放功能和计步功能,使用户在佩戴耳机的状态下运动时,不必再另外佩戴其他计步设备进行计步,从而解决了现有技术中用户在运动场景下需要同时收听音频和计步时,需要佩戴多个电子设备的问题;另外,利用耳机本身的反馈麦克风进行计步,用户无需购买其他的计步器设备,因此能够降低计步成本。

Description

耳机计步方法、耳机及存储介质
本申请要求于2021年1月27日提交中国专利局、申请号202110115096.6、申请名称为“耳机计步方法、耳机及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计步技术领域,尤其涉及一种耳机计步方法、耳机及存储介质。
背景技术
基于现代人的健康需要,智能手机以及智能腕带都具备计步功能,这些设备基本都会内置陀螺仪、重力传感器以及加速度传感器等一系列传感器组合来实现计步功能。
随着各公共场所对电子产品外放音频的相关规定的出台,耳机已然成为用户随身携带的电子产品。此外,用户在运动时,为了记录用户的运动状态,用户需要佩戴前述具有计步功能的终端设备或运动类的可穿戴设备记录用户的运动步数,这使得用户在运动时通过耳机听音乐时,若要了解自己的运动步数,需要佩戴多个电子设备,如何减少用户身上佩戴的电子设备数量是目前亟待解决的问题。
发明内容
本申请的主要目的在于提供一种耳机计步方法、耳机及存储介质,旨在解决在用户运动时,如何减少用户身上佩戴的电子设备数量的技术问题。
为实现上述目的,本申请提供一种耳机计步方法,所述耳机计步方法应用于耳机,所述耳机包括反馈麦克风,所述耳机计步方法包括以下步骤:
通过所述耳机的反馈麦克风获取振动脉冲信号;
根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步。
可选地,所述根据所述振动脉冲信号确定有效脉冲信号的步骤包括:
获取所述振动脉冲信号的幅度,确定所述振动脉冲信号的幅度是否大于或者等于预设幅度阈值;
若是,则确定所述振动脉冲信号为有效脉冲信号。
可选地,所述根据所述有效脉冲信号的个数进行计步的步骤包括:
每确定一个有效脉冲信号,则步数加一。
可选地,所述耳机还包括高通滤波器,所述通过所述耳机的反馈麦克风获取振动脉冲信号的步骤之前,还包括:
通过所述耳机的反馈麦克风接收原始脉冲信号;
通过所述高通滤波器对所述原始脉冲信号进行滤波处理,得到振动脉冲信号。
可选地,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
确定在第一预设时长内有效脉冲信号的个数是否大于或者等于预设个数阈值;
若是,则将根据第一预设时长内的有效脉冲信号的个数确定的步数传输至与所述耳机通信连接的移动终端,以供所述移动终端更新佩戴者的步数。
可选地,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
将所述耳机获取到的在第二预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第二预设时长内的各个振动脉冲信号的幅度,确定佩戴者的在所述第二预设时长内的步伐轻重情况,并根据所述步伐轻重情况输出步伐健康提示。
可选地,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
将所述耳机获取到的在第三预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第三预设时长内的各个振动脉冲信号的脉冲周期,确定佩戴者的在所述第三预设时长内的步行速度情况,并根据所述步行速度情况输出步行提示。
可选的,所述通过所述耳机的反馈麦克风获取振动脉冲信号的步骤之前,还包括:
检测所述耳机的佩戴状态;
若所述耳机的佩戴状态为已佩戴状态,则执行步骤:通过所述耳机的反馈麦克风获取振动脉冲信号。
进一步地,为实现上述目的,本申请还提供一种耳机,其特征在于,所述耳机包括反馈麦克风、存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的耳机计步程序,所述耳机计步程序被所述处理器执行时实现如上述所述的耳机计步方法的步骤。
进一步地,为实现上述目的,本申请还提供一种存储介质,所述存储介质上存储有耳机计步程序,所述耳机计步程序被处理器执行时实现如上所述的耳机计步方法的步骤。
本申请通过耳机的反馈麦克风获取振动脉冲信号;根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步。利用耳机的反馈麦克风实现了使耳机兼具音频播放功能和计步功能,使用户在佩戴耳机的状态下运动时,不必再另外佩戴其他计步设备进行计步,从而解决了现有技术中用户在运动场景下需要同时收听音频和计步时, 需要佩戴多个电子设备,用户计步体验较差的问题;另外,利用耳机本身的反馈麦克风进行计步,用户无需购买其他的计步器设备,因此能够降低计步成本。
附图说明
图1为本申请耳机实施例方案涉及的设备硬件运行环境的结构示意图;
图2为本申请耳机计步方法第一实施例的流程示意图;
图3为本申请耳机接收到的中高频脉冲信号示意图;
图4为本申请耳机接收到的步行产生的连续中高频脉冲信号示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
需要说明的是,用户在运动时,为了记录用户的运动状态,用户需要佩戴具有计步功能的终端设备或运动类的可穿戴设备记录用户的运动步数,这使得用户在运动时通过耳机听音乐时,若要了解自己的运动步数,需要佩戴多个电子设备,如何减少用户身上佩戴的电子设备数量是目前亟待解决的问题。
基于上述缺陷,本申请提供一种耳机,参照图1,图1为本申请耳机实施例方案涉及的设备硬件运行环境的结构示意图。
如图1所示,该耳机可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储设备。
本领域技术人员可以理解,图1中示出的耳机的硬件结构并不构成对耳机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及耳机计步程序。其中,操作系统是管理和控制耳机与软件资源的程序,支持网络通信模块、用户接口模块、耳机计步程序以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1004;用户接口模块用于管理和控制用户接口1003。
在图1所示的耳机硬件结构中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端,与客户端进行数据通信;处理器1001可以调用存储器1005中存储的耳机计步程序,并执行以下操作:
通过所述耳机的反馈麦克风获取振动脉冲信号;
根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步。
进一步地,所述根据所述振动脉冲信号确定有效脉冲信号的步骤包括:
获取所述振动脉冲信号的幅度,确定所述振动脉冲信号的幅度是否大于或者等于预设幅度阈值;
若是,则确定所述振动脉冲信号为有效脉冲信号。
进一步地,所述根据所述有效脉冲信号的个数进行计步的步骤包括:
每确定一个有效脉冲信号,则步数加一。
进一步地,所述耳机还包括高通滤波器,所述通过所述耳机的反馈麦克风获取振动脉冲信号的步骤之前,还包括:
通过所述耳机的反馈麦克风接收原始脉冲信号;
通过所述高通滤波器对所述原始脉冲信号进行滤波处理,得到振动脉冲信号。
进一步地,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
确定在第一预设时长内有效脉冲信号的个数是否大于或者等于预设个数阈值;
若是,则将根据第一预设时长内的有效脉冲信号的个数确定的步数传输至与所述耳机通信连接的移动终端,以供所述移动终端更新佩戴者的步数。
进一步地,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
将所述耳机获取到的在第二预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第二预设时长内的各个振动脉冲信号的幅度,确定佩戴者的在所述第二预设时长内的步伐轻重情况,并根据所述步伐轻重情况输出步伐健康提示
进一步地,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
将所述耳机获取到的在第三预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第三预设时长内的各个振动脉冲信号的脉冲周期,确定佩戴者的在所述第三预设时长内的步行速度情况,并根据所述步行速度情况输出步行提示。
进一步地,所述通过所述耳机的反馈麦克风获取振动脉冲信号的步骤之前,还包括:
检测所述耳机的佩戴状态;
若所述耳机的佩戴状态为已佩戴状态,则执行步骤:通过所述耳机的反馈麦克风获取振动脉冲信号。
本申请耳机的具体实施方式与下述耳机计步方法各实施例基本相同,在此不再赘述。
本申请还提供一种基于上述耳机的耳机计步方法。
参照图2,图2为本申请耳机计步方法第一实施例的流程示意图。
本申请实施例提供了耳机计步方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
在耳机计步方法的各个实施例中,执行主体可以是耳机,也可以是控制器,还可以是耳机控制系统,为便于描述,本实施例以控制器为执行主体进行描述。
所述耳机计步方法应用于耳机,所述耳机包括反馈麦克风,所述耳机计步方法包括:
步骤S10,通过所述耳机的反馈麦克风获取振动脉冲信号;
用户在运动时,为了记录用户的运动状态,用户需要佩戴具有计步功能的终端设备或运动类的可穿戴设备记录用户的运动步数,这使得用户在运动时通过耳机听音乐时,若要了解自己的运动步数,需要佩戴多个电子设备,如何减少用户身上佩戴的电子设备数量是目前亟待解决的问题。
为解决现有技术中的在用户运动时,用户身上需要佩戴的电子设备数量过多的问题,在本申请实施例中提出一种耳机计步方法,旨在通过耳机的反馈麦克风实现使耳机兼具音频播放功能和计步功能,使用户在佩戴耳机的状态下运动时,不必再另外佩戴其他计步设备进行计步,从而解决了现有技术中用户在运动场景下需要同时收听音频和计步时,需要佩戴多个电子设备的问题;另外,利用耳机本身的反馈麦克风进行计步,用户无需购买其他的计步器设备,因此能够降低计步成本
本实施例中的耳机计步方法适用于具有反馈麦克风的耳机,例如TWS(True Wireless Stereo,真正无线立体声)耳机、头戴式耳机、颈戴式耳机等各类无线耳机,甚至也可适用于有线耳机。以下实施例中以TWS耳机为例进行阐述,一般具有降噪功能的TWS降噪耳机都具有反馈麦克风,该反馈麦克风通常设置在耳机内侧,故用户在使用耳机时,该反馈麦克风位于耳朵与耳机形成的密闭腔体之中,从而能够隔离掉外界的高频干扰噪声。
麦克风可以理解为一个将声能转化为电能的换能器,麦克风内设置有振膜,外部声音通过空气传播至振膜,使振膜产生振动,这样的机械振动会被换能机转成电压信号。而人在走动过程中,身体会自然而然产生规律的震动,在佩戴者身体每一次震动时,耳机的反馈麦克风所处腔体体积也会随着佩戴者的身体震动发生变化,挤压腔体内的空气,进而挤压反馈麦克风的振膜,使反馈麦克风接收到类似图3所示的中高频脉冲信号,在连续的运动过程中,反馈麦克风就会接收到如图4所示的连续的脉冲信号。
进一步的,所述耳机还包括高通滤波器,上述步骤S10之前,还包括:
步骤a1,通过所述耳机的反馈麦克风接收原始脉冲信号;
步骤a2,通过所述高通滤波器对所述原始脉冲信号进行滤波处理,得到振动脉冲信号。
在本实施例中,耳机还包括高通滤波器,高通滤波器又称低截止滤波器或者低阻滤波器,允许高于某一截止频率的频率通过,而大大衰减较低频率的一种滤波器,它能够去掉了信号中不必要的低频成分或者说去掉了低频干扰。
由于佩戴者不仅在走路时身体会产生震动,呼吸、心跳、说话、身体晃动等情况下身体也会产生微小的震动,这种震动相对于走路产生的身体震动的幅度相对较小,但也会使 反馈麦克风接收到相应的低频脉冲信号,为了减小后续数据分析的工作量,提升系统数据分析的效率,本实施例在耳机的反馈麦克风接收原始脉冲信号后,会通过高通滤波器基于截止频率对原始脉冲信号进行滤波处理,将原始脉冲信号中的低频脉冲信号过滤掉,得到振动脉冲信号。
在此之前,开发人员可分别采集大量的步行时的脉冲信号以及呼吸、心跳、说话、身体晃动等情况下的脉冲信号,将各种场景下的脉冲信号进行比对,确定一可以区分步行时的脉冲信号和其他微小震动场景的脉冲信号的截止频率,例如可将截止频率设置为280Hz~320Hz之间的任意值,例如300Hz。
进一步的,在上述步骤S10之前,还包括:
步骤b1,检测所述耳机的佩戴状态;
若所述耳机的佩戴状态为已佩戴状态,则执行步骤:通过所述耳机的反馈麦克风获取振动脉冲信号。
在本实施例中,耳机还包括用于检测耳机的佩戴状态的佩戴检测模块,该佩戴检测模块可以为红外传感器或光电传感器,在佩戴检测模块检测到人耳时,佩戴检测模块发出触发信号,从而使耳机能够根据触发信号确定耳机的佩戴状态为已佩戴状态,进而触发步骤S10。
本实施例通过检测耳机的佩戴状态,只有在耳机处于已佩戴状态时,才会通过反馈麦克风获取振动脉冲信号,而不是使反馈麦克风处于常开状态,能够降低耳机的功耗,进而提升耳机的续航能力;另外,只有在耳机处于已佩戴状态的前提下,才会通过反馈麦克风获取振动脉冲信号,进而根据振动脉冲信号进行计步,能够避免耳机的反馈麦克风在非佩戴状态下检测到外界环境高频噪声,进而根据外界环境高频噪声产生的振动脉冲信号进行计步,使耳机的计步准确度降低。
步骤S20,根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步。
在本实施例中,振动脉冲信号中可能包括有效脉冲信号和无效脉冲信号,两种脉冲信号的区别在于有效脉冲信号的幅度大于或者等于预设幅度阈值,而无效脉冲信号小于预设幅度阈值。其中,脉冲信号的幅度指的是一个脉冲信号波,波峰到波谷的距离;预设幅度阈值是开发人员预先根据大量的步行时的脉冲信号确定出的一个反映步行产生的最小振幅的临界值,例如,该预设幅度阈值可以为20dB~40dB之间的任意值,例如30dB,幅度大于 或等于该临界值的脉冲信号可以认为是佩戴者步行震动产生的,而小于该临界值的脉冲信号可以认为是非步行震动产生的,若将该无效脉冲信号也作为计步的依据,会导致计步数与用户实际步数存在较大出入,因此,在获取到振动脉冲信号后,还会确定每一振动脉冲信号的幅度是否大于或者等于预设幅度阈值,只有幅度大于或者等于预设幅度阈值的振动脉冲信号才会被确定为有效脉冲信号,进而根据效脉冲信号的个数进行计步,一般每确定一个有效脉冲信号,则步数加一。
进一步的,为了提升耳机计步的准确度,还可以在耳机中设置重力传感器或加速度传感器,或者利用与耳机通信连接的移动终端内置的重力传感器或加速度传感器并行计步,结合多种计步方式进行计步。
本实施例通过耳机的反馈麦克风获取振动脉冲信号;根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步。利用耳机的反馈麦克风实现了使耳机兼具音频播放功能和计步功能,使用户在佩戴耳机的状态下运动时,不必再另外佩戴其他计步设备进行计步,从而解决了现有技术中用户在运动场景下需要同时收听音频和计步时,需要佩戴多个电子设备的问题;另外,利用耳机本身的反馈麦克风进行计步,用户无需购买其他的计步器设备,因此能够降低计步成本。
进一步地,提出本申请耳机计步方法第二实施例,上述步骤S20之后,还包括:
步骤c1,确定在第一预设时长内有效脉冲信号的个数是否大于或者等于预设个数阈值;
步骤c2,若是,则将根据第一预设时长内的有效脉冲信号的个数确定的步数传输至与所述耳机通信连接的移动终端,以供所述移动终端更新佩戴者的步数。
在本实施例中,在耳机而根据有效脉冲信号的个数进行计步后,可以每当步数加1后,就将步数发送至与该耳机通信连接的移动终端上,以供移动终端更新佩戴者的步数,供用户查看。
但是,电子设备的功耗是随交互次数的增多而逐渐升高的,即,交互频率越高,功耗越高,续航时间越短。鉴于上述功耗问题,本实施例在保证用户可正常查看运动步数的前提下,为尽可能降低电子设备的功耗,延长耳机以及移动终端的续航时间,可以通过减少耳机与移动终端的交互频率来实现降低电子设备的功耗。
具体的,每当第一预设时长内有效脉冲信号的个数达到预设个数阈值,则将根据第一预设时长内的有效脉冲信号的个数确定的步数传输至与耳机通信连接的移动终端,以供移 动终端更新佩戴者的步数,供用户查看。其中,第一预设时长、预设个数阈值可由开发人员根据功耗与用户查看步数的频率两个因素来确定,本实施例不做具体限定。
可以理解的是,若第一预设时长内有效脉冲信号的个数未达到预设个数阈值,则耳机将暂时不会将第一预设时长内的步数同步至移动终端,直至到达第一预设时长,则判断第一预设时长内的步数是否大于0,若是,则将第一预设时长内的步数发送至移动终端,否则不会将第一预设时长内的步数发送至移动终端,从而能够进一步减少交互次数,降低功耗。
进一步的,上述步骤S20之后,还包括:
步骤d1,将所述耳机获取到的在第二预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第二预设时长内的各个振动脉冲信号的幅度,确定佩戴者的在所述第二预设时长内的步伐轻重情况,并根据所述步伐轻重情况输出步伐健康提示。
在本实施例中,耳机会将第二预设时长内的振动脉冲信号进行暂时存储,并在第二预设时长时,或者在接收到步伐轻重情况获取指令时,将暂存的第二预设时长内的振动脉冲信号发送至与耳机通信连接的移动终端,移动终端在接收到第二预设时长内的振动脉冲信号后,会获取并分析各个振动脉冲信号的幅度,进而确定第二预设时长内各个振动脉冲信号的幅度的平均值,由于振动脉冲信号的幅度反映的是佩戴者的步伐轻重,幅度越大步伐越重,因此,该平均值反映的是佩戴者在第二预设时长内的平均步伐轻重,在获取到佩戴者在第二预设时长内的平均步伐轻重后,可将该平均步伐轻重与佩戴者的正常步伐轻重范围进行比较,确定佩戴者在第二预设时长内的平均步伐轻重是否超出正常步伐轻重范围,进而给出相应的步伐健康提示,例如,若佩戴者在第二预设时长内的平均步伐轻重大于正常步伐轻重范围的上限值,说明佩戴者运动时可能用力过猛,则输出的步伐健康提示可以为“您的平均步伐轻重过大,请注意适度运动”。
其中,正常步伐轻重范围可以是根据佩戴者预先输入的身高、体重、年龄等指标确定的。
进一步的,输出步伐健康提示的方式可以是在移动终端显示界面文字和/或图像输出的,也可以是移动终端语音输出的,还可以是移动终端将语音提示发送至耳机,由耳机语音输出的,本实施例不做具体限制。
在本实施例中,通过根据振动脉冲信号确定步伐轻重情况,进而根据步伐轻重情况输出步伐健康提示,能够丰富计步器功能的多样性,提升计步器的智能性。
进一步的,上述步骤S20之后,还包括:
步骤f1,将所述耳机获取到的在第三预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第三预设时长内的各个振动脉冲信号的脉冲周期,确定佩戴者的在所述第三预设时长内的步行速度情况,并根据所述步行速度情况输出步行提示。
在本实施例中,耳机会将第三预设时长内的振动脉冲信号进行暂时存储,并在第三预设时长时,或者在接收到步行速度情况获取指令时,将暂存的第三预设时长内的振动脉冲信号发送至与耳机通信连接的移动终端,移动终端在接收到第三预设时长内的振动脉冲信号后,会获取并分析各个振动脉冲信号的脉冲周期,进而确定第三预设时长内各个振动脉冲信号的脉冲周期的平均值,由于振动脉冲信号的脉冲周期反映的是佩戴者的步行速度,脉冲周期越小步行速度越快,因此,该平均值反映的是佩戴者在第三预设时长内的平均步行速度,在获取到佩戴者在第三预设时长内的平均步行速度后,可将该平均步行速度与佩戴者的正常步行速度范围进行比较,确定佩戴者在第三预设时长内的平均步行速度是否超出正常步行速度范围,进而给出相应的步行提示,例如,若佩戴者在第三预设时长内的平均步行速度大于于正常步行速度范围的上限值,输出的步行提示可以为“您的步行速度较快,请注意安全”。
其中,正常步行速度范围可以是根据佩戴者预先输入的身高、体重、年龄等指标确定的,也可以是根据佩戴者的历史步行数据确定的。
可以理解的是,移动终端在接收到第三预设时长内的振动脉冲信号并获取并分析各个振动脉冲信号的脉冲周期后,可以确定第三预设时长内佩戴者的最大步行速度和最小步行速度,并将最大步行速度、最小步行速度以及平均步行速度反馈输出给佩戴者,以使佩戴者能够及时了解自己的步行情况
进一步的,输出步行提示的方式可以是在移动终端显示界面文字和/或图像输出的,也可以是移动终端语音输出的,还可以是移动终端将语音提示发送至耳机,由耳机语音输出的,本实施例不做具体限制。
在本实施例中,通过根据振动脉冲信号确定步行速度情况,进而根据步行速度情况输 出步行提示,能够丰富计步器功能的多样性,提升计步器的智能性。
此外,本申请实施例还提出一种存储介质。
存储介质上存储有耳机计步程序,耳机计步程序被处理器执行时实现如上所述的耳机计步方法的步骤。
本申请存储介质具体实施方式与上述耳机计步方法各实施例基本相同,在此不再赘述。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,这些均属于本申请的保护之内。

Claims (10)

  1. 一种耳机计步方法,其特征在于,所述耳机计步方法应用于耳机,所述耳机包括反馈麦克风,所述耳机计步方法包括以下步骤:
    通过所述耳机的反馈麦克风获取振动脉冲信号;
    根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步。
  2. 如权利要求1所述的耳机计步方法,其特征在于,所述根据所述振动脉冲信号确定有效脉冲信号的步骤包括:
    获取所述振动脉冲信号的幅度,确定所述振动脉冲信号的幅度是否大于或者等于预设幅度阈值;
    若是,则确定所述振动脉冲信号为有效脉冲信号。
  3. 如权利要求2所述的耳机计步方法,其特征在于,所述根据所述有效脉冲信号的个数进行计步的步骤包括:
    每确定一个有效脉冲信号,则步数加一。
  4. 如权利要求1所述的耳机计步方法,其特征在于,所述耳机还包括高通滤波器,所述通过所述耳机的反馈麦克风获取振动脉冲信号的步骤之前,还包括:
    通过所述耳机的反馈麦克风接收原始脉冲信号;
    通过所述高通滤波器对所述原始脉冲信号进行滤波处理,得到振动脉冲信号。
  5. 如权利要求1所述的耳机计步方法,其特征在于,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
    确定在第一预设时长内有效脉冲信号的个数是否大于或者等于预设个数阈值;
    若是,则将根据第一预设时长内的有效脉冲信号的个数确定的步数传输至与所述耳机通信连接的移动终端,以供所述移动终端更新佩戴者的步数。
  6. 如权利要求1至5任一项所述的耳机计步方法,其特征在于,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
    将所述耳机获取到的在第二预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第二预设时长内的各个振动脉冲信号的幅度,确定佩戴者的在所述第二预设时长内的步伐轻重情况,并根据所述步伐轻重情况输出步伐健康提示。
  7. 如权利要求1至5任一项所述的耳机计步方法,其特征在于,所述根据所述振动脉冲信号确定有效脉冲信号,并根据所述有效脉冲信号的个数进行计步的步骤之后,还包括:
    将所述耳机获取到的在第三预设时长内的振动脉冲信号传输至与所述耳机通信连接的移动终端,以供所述移动终端根据所述第三预设时长内的各个振动脉冲信号的脉冲周期,确定佩戴者的在所述第三预设时长内的步行速度情况,并根据所述步行速度情况输出步行提示。
  8. 如权利要求1至5任一项所述的耳机计步方法,其特征在于,所述通过所述耳机的反馈麦克风获取振动脉冲信号的步骤之前,还包括:
    检测所述耳机的佩戴状态;
    若所述耳机的佩戴状态为已佩戴状态,则执行步骤:通过所述耳机的反馈麦克风获取振动脉冲信号。
  9. 一种耳机,其特征在于,所述耳机包括反馈麦克风、存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的耳机计步程序,所述耳机计步程序被所述处理器执行时实现如权利要求1-7中任一项所述的耳机计步方法的步骤。
  10. 一种存储介质,其特征在于,所述存储介质上存储有耳机计步程序,所述耳机计步程序被处理器执行时实现如权利要求1-7中任一项所述的耳机计步方法的步骤。
PCT/CN2021/121277 2021-01-27 2021-09-28 耳机计步方法、耳机及存储介质 WO2022160759A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/840,783 US20220307862A1 (en) 2021-01-27 2022-06-15 Step counting method of earphone, earphone and non-transitory storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110115096.6A CN112822600B (zh) 2021-01-27 2021-01-27 耳机计步方法、耳机及存储介质
CN202110115096.6 2021-01-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/840,783 Continuation US20220307862A1 (en) 2021-01-27 2022-06-15 Step counting method of earphone, earphone and non-transitory storage medium

Publications (1)

Publication Number Publication Date
WO2022160759A1 true WO2022160759A1 (zh) 2022-08-04

Family

ID=75860074

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/121277 WO2022160759A1 (zh) 2021-01-27 2021-09-28 耳机计步方法、耳机及存储介质

Country Status (3)

Country Link
US (1) US20220307862A1 (zh)
CN (1) CN112822600B (zh)
WO (1) WO2022160759A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822600B (zh) * 2021-01-27 2022-11-25 歌尔科技有限公司 耳机计步方法、耳机及存储介质
CN113884101A (zh) * 2021-09-29 2022-01-04 歌尔科技有限公司 一种可穿戴设备的计步方法、可穿戴设备及介质
WO2023245372A1 (zh) * 2022-06-20 2023-12-28 北京小米移动软件有限公司 计步方法、装置、耳机及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2138825Y (zh) * 1992-11-30 1993-07-21 上海天下电子电器有限公司 敲门式门铃
CN101540941A (zh) * 2009-02-20 2009-09-23 宣威科技股份有限公司 麦克风组件
CN105611443A (zh) * 2015-12-29 2016-05-25 歌尔声学股份有限公司 一种耳机的控制方法、控制系统和耳机
CN111031438A (zh) * 2019-12-27 2020-04-17 深圳春沐源控股有限公司 耳机组件的控制方法、耳机组件和计算机可读存储介质
CN112822600A (zh) * 2021-01-27 2021-05-18 歌尔科技有限公司 耳机计步方法、耳机及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2138825Y (zh) * 1992-11-30 1993-07-21 上海天下电子电器有限公司 敲门式门铃
CN101540941A (zh) * 2009-02-20 2009-09-23 宣威科技股份有限公司 麦克风组件
CN105611443A (zh) * 2015-12-29 2016-05-25 歌尔声学股份有限公司 一种耳机的控制方法、控制系统和耳机
CN111031438A (zh) * 2019-12-27 2020-04-17 深圳春沐源控股有限公司 耳机组件的控制方法、耳机组件和计算机可读存储介质
CN112822600A (zh) * 2021-01-27 2021-05-18 歌尔科技有限公司 耳机计步方法、耳机及存储介质

Also Published As

Publication number Publication date
US20220307862A1 (en) 2022-09-29
CN112822600A (zh) 2021-05-18
CN112822600B (zh) 2022-11-25

Similar Documents

Publication Publication Date Title
WO2022160759A1 (zh) 耳机计步方法、耳机及存储介质
US11743627B2 (en) Acoustic output apparatus and method thereof
WO2021135329A1 (zh) 降低耳机闭塞效应的方法及相关装置
WO2020207376A1 (zh) 一种去噪方法及电子设备
KR20170131378A (ko) 공기 전도 스피커와 조직 전도 스피커 사이의 지능적인 전환
US11918345B2 (en) Cough detection
CN112866876A (zh) Tws耳机的入耳检测方法、tws耳机和计算机可读存储介质
US11736872B2 (en) Hearing aid having a sensor
WO2023070792A1 (zh) 通话式门铃的音量均衡方法、设备和可读存储介质
CN111464911A (zh) 耳机左右音量调节方法、耳机和存储介质
CN207283755U (zh) 一种输出音量控制系统及智能终端
WO2022199222A1 (zh) 音频播放设备的降噪方法、装置、电子设备以及存储介质
CN115996339A (zh) 耳机入耳检测方法及装置、耳机及存储介质
US20230421974A1 (en) Systems and methods for own voice detection in a hearing system
CN109151195B (zh) 一种跑步运动时耳机控制方法及其控制系统
CN207518801U (zh) 用于脖戴式语音交互耳机的远程音乐播放装置
CN207518802U (zh) 脖戴式语音交互耳机
CN207518804U (zh) 用于脖戴式语音交互耳机的远程通讯装置
CN207518791U (zh) 脖戴式语音交互耳机
US11696065B2 (en) Adaptive active noise cancellation based on movement
WO2023093412A1 (zh) 主动降噪的方法及电子设备
WO2023160286A1 (zh) 降噪参数适配方法和装置
WO2023070917A1 (zh) 降噪调整方法、耳机及计算机可读存储介质
US20220366932A1 (en) Methods and apparatus for detecting singing
WO2022147905A1 (zh) 一种优化骨传导耳机工作状态的方法

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21922351

Country of ref document: EP

Kind code of ref document: A1