Measurement method for physiological signal, and earphone device, storage medium and computer product
By detecting the airtightness of the acoustic system consisting of the headphone device and the wearer's ear canal, and using a barometric pressure detection module to collect and process barometric pressure signals, the problem of inaccurate physiological signal detection by the headphone device under external light interference is solved, and accurate physiological signal acquisition is achieved.
Patent Information
- Application Number
- PCT/CN2024/137158
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-09
- Filing Date
- 2024-12-05
- Publication Date
- 2025-11-13
AI Technical Summary
Headphone devices are easily affected by ambient light when detecting the wearer's physiological signals, making it impossible to accurately acquire these signals.
By detecting whether the acoustic system consisting of the headphone device and the wearer's ear canal is in a sealed state, the acoustic system parameters are determined, and the initial air pressure signal is collected through the air pressure detection module to generate the target air pressure signal to determine the physiological signal.
Without relying on PPG technology, ensure that the headphone device can accurately detect the wearer's physiological signals and avoid interference from external ambient light.
Smart Images

Figure CN2024137158_13112025_PF_FP_ABST
Abstract
Description
Methods for measuring physiological signals, headphone devices, storage media, and computer products.
[0001] This application claims priority to Chinese Patent Application No. 202410566740.5, filed on May 9, 2024, entitled "Method for Measuring Physiological Signals, Headphone Device, Storage Medium and Computer Product", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This invention relates to the field of headphone technology, and more particularly to a method for measuring physiological signals, a headphone device, a storage medium, and a computer program product. Background Technology
[0003] With the continuous development of headphone technology, headphone devices have become an indispensable part of people's daily lives. In related technologies, technicians often incorporate heart rate sensors into headphone devices, which then use PPG (Photoplethysmography) technology to detect the wearer's heart rate, blood pressure, and other physiological signals. However, during the detection of these physiological signals, the light emitted by the heart rate sensor is easily interfered with by ambient light, making it difficult to accurately capture the wearer's physiological signals. Therefore, how to more accurately acquire the wearer's physiological signals has become a pressing technical problem that the industry needs to solve. Summary of the Invention
[0004] The main objective of this invention is to provide a method for measuring physiological signals, an earphone device, a storage medium, and a computer program product. This aims to solve the technical problem in related technologies where earphone devices cannot accurately acquire the wearer's physiological signals due to interference from ambient light during the detection process. To achieve the above objective, this invention proposes a method for measuring physiological signals, which is applied to an earphone device equipped with a barometric pressure detection module. The method includes:
[0005] The system detects whether the acoustic system corresponding to the headphone device is in a preset sealed state, wherein the acoustic system is an acoustic system composed of the headphone device and the wearer's ear canal; if it is detected that the system is not in a preset sealed state, the acoustic system parameters corresponding to the acoustic system are determined, and the initial air pressure signal in the wearer's ear canal is collected through the air pressure detection module; a target air pressure signal is generated based on the acoustic system parameters and the initial air pressure signal, and the physiological signals corresponding to the wearer are determined based on the target air pressure signal.
[0006] In one embodiment, the step of detecting whether the acoustic system corresponding to the headphone device is in a preset sealed state includes:
[0007] Output a first sound signal and receive a second sound signal corresponding to the first sound signal in the acoustic system of the headphone device; determine whether the acoustic system is in a preset sealed state based on the second sound signal.
[0008] In one embodiment, the step of determining whether the acoustic system is in a preset sealed state based on the second sound signal includes:
[0009] A preset standard sound signal is determined, and the second sound signal is compared with the standard sound signal to obtain a first comparison result; when the first comparison result shows that the second sound signal and the standard sound signal match, the acoustic system is determined to be in a preset sealed state; when the first comparison result shows that the second sound signal and the standard sound signal do not match, the acoustic system is determined not to be in the sealed state.
[0010] In one embodiment, after the step of determining whether the acoustic system is in a preset sealed state based on the second sound signal, the method further includes:
[0011] After detecting that the acoustic system is in a preset sealed state, the initial air pressure signal in the wearer's ear canal is collected by the air pressure detection module; the corresponding physiological signal of the wearer is determined based on the initial air pressure signal.
[0012] In one embodiment, the acoustic system parameters include leakage system parameters, and the step of determining the acoustic system parameters corresponding to the acoustic system includes:
[0013] Extract the sound signal features contained in the second sound signal, and determine the headphone frequency response corresponding to the second sound signal based on each of the sound signal features; determine the leakage system parameters corresponding to the acoustic system based on the headphone frequency response.
[0014] In one embodiment, the step of determining the leakage system parameters corresponding to the acoustic system based on the headphone frequency response includes:
[0015] Acquire multiple preset reference frequency responses and reference system parameters corresponding to each of the multiple reference frequency responses; determine a target frequency response from the multiple reference frequency responses based on the headphone frequency response; and determine the reference system parameters corresponding to the target frequency response as the leakage system parameters corresponding to the acoustic system.
[0016] In one embodiment, the acoustic system parameters further include conventional system parameters, and the step of determining the acoustic system parameters corresponding to the acoustic system further includes:
[0017] Obtain the headphone device size parameters and environmental information parameters; determine the conventional system parameters corresponding to the acoustic system based on the headphone device size parameters and environmental information parameters.
[0018] In one embodiment, the step of generating a target air pressure signal based on the acoustic system parameters and the initial air pressure signal includes:
[0019] The time-domain impact response parameters corresponding to the initial air pressure signal are determined based on the acoustic system parameters; the initial air pressure signal is then corrected based on the time-domain impact response parameters to generate the target air pressure signal.
[0020] In one embodiment, the earphone device and the mobile terminal are communicatively connected. After the step of determining the physiological signal corresponding to the wearer based on the target air pressure signal, the method further includes:
[0021] A preset physiological signal range is determined, and it is determined whether the physiological signal is within the preset physiological signal range; if it is determined that the physiological signal is not within the preset physiological signal range, a preset alarm message is output to the mobile terminal.
[0022] In one embodiment, after the step of generating the target pressure signal based on the acoustic system parameters and the initial pressure signal, the method further includes:
[0023] The target air pressure signal is sent to the mobile terminal so that the mobile terminal can determine the wearer's corresponding physiological signals based on the target air pressure signal.
[0024] Furthermore, to achieve the above objectives, the present invention also proposes an earphone device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the physiological signal measurement method as described above.
[0025] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the physiological signal measurement method described above.
[0026] In addition, to achieve the above objectives, the present invention also provides a computer program product, the computer program product comprising a computer program, which, when executed by a processor, implements the steps of the physiological signal measurement method as described above.
[0027] The physiological signal measurement method proposed in this invention is applied to an earphone device equipped with a barometric pressure detection module. It detects whether the acoustic system corresponding to the earphone device is in a preset sealed state, wherein the acoustic system is composed of the earphone device and the wearer's ear canal. Upon detecting that the device is not in a preset sealed state, it determines the acoustic system parameters corresponding to the acoustic system and collects an initial barometric pressure signal within the wearer's ear canal through the barometric pressure detection module. Based on the acoustic system parameters and the initial barometric pressure signal, it generates a target barometric pressure signal and determines the wearer's corresponding physiological signal based on the target barometric pressure signal.
[0028] In this embodiment, when the headphone device needs to detect the wearer's physiological signals, it first detects whether the acoustic system composed of the headphone device and the wearer's ear canal is in a sealed state that will not leak signals to the external environment. Then, if the headphone device detects that the acoustic system in which the headphone device is located is not in a sealed state, it determines the acoustic system parameters corresponding to the acoustic system and calls its own configured air pressure detection module to collect the initial air pressure signal in the wearer's ear canal. Finally, the headphone device corrects the initial air pressure signal according to the acoustic system parameters to generate a target air pressure signal, and then determines the wearer's corresponding physiological signals based on the generated target air pressure signal.
[0029] Thus, this invention solves the technical problem in related technologies where headphone devices cannot accurately acquire the wearer's physiological signals due to interference from external ambient light during the detection process. Specifically, this invention constructs an acoustic system consisting of a headphone device and the wearer's ear canal. When the acoustic system is not sealed, acoustic system parameters indicating the degree of signal leakage within the system are determined. These parameters are then used to correct the air pressure signal collected from the wearer's ear canal, caused by changes in the ear canal arteries. The wearer's physiological signals are then calculated from the corrected air pressure signal. This allows the headphone device to acquire the wearer's physiological signals without using PPG technology, ensuring that the headphone device is not interfered with by external ambient light during the detection process, thereby achieving the technical effect of enabling the headphone device to accurately detect the wearer's physiological signals. Attached Figure Description
[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the invention. To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0031] Figure 1 is a flowchart illustrating the physiological signal measurement method of the present invention in Embodiment 1.
[0032] Figure 2 is a schematic diagram of the sealed state of the acoustic system involved in an embodiment of the physiological signal measurement method of the present invention.
[0033] Figure 3 is a schematic diagram of the acoustic system in a non-closed state according to an embodiment of the physiological signal measurement method of the present invention.
[0034] Figure 4 is a schematic diagram of the equivalent circuit model of the acoustic system involved in an embodiment of the physiological signal measurement method of the present invention;
[0035] Figure 5 is a schematic diagram of the initial air pressure signal involved in an embodiment of the physiological signal measurement method of the present invention;
[0036] Figure 6 is a schematic diagram of the target air pressure signal involved in an embodiment of the physiological signal measurement method of the present invention;
[0037] Figure 7 is a schematic diagram of resting heart rate waveform measurement data according to an embodiment of the physiological signal measurement method of the present invention;
[0038] Figure 8 is a schematic diagram of the hardware operating environment of the physiological signal measurement method in this embodiment of the invention.
[0039] Figure 9 is a detailed structural schematic diagram of the headphone device involved in an embodiment of the physiological signal measurement method of the present invention;
[0040] Figure 10 is a schematic diagram of the parameter mapping relationship of the leakage system involved in an embodiment of the physiological signal measurement method of the present invention.
[0041] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0043] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.
[0044] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0045] In this embodiment, for ease of description, the following description uses an earphone device, as shown in Figure 9, which is internally configured with a microphone, barometer, Bluetooth platform, speaker and antenna, as the execution subject, and proposes the overall concept of the physiological signal measurement method of the present invention.
[0046] With the continuous development of headphone technology, headphone devices have become an indispensable part of people's daily lives. In related technologies, technicians often incorporate heart rate sensors into headphone devices. These sensors use PPG (Photoplethysmography) technology to detect the wearer's heart rate, blood pressure, and other physiological signals. However, during the detection of these physiological signals, the light emitted by the heart rate sensor is easily affected by ambient light, making it difficult to accurately capture the wearer's physiological signals.
[0047] To address the above phenomena, this invention provides a method for measuring physiological signals. This method is applied to an earphone device equipped with a barometric pressure detection module. The method includes: detecting whether the acoustic system corresponding to the earphone device is in a preset sealed state, wherein the acoustic system is an acoustic system composed of the earphone device and the wearer's ear canal; after detecting that it is not in a preset sealed state, determining the acoustic system parameters corresponding to the acoustic system, and acquiring an initial barometric pressure signal in the wearer's ear canal through the barometric pressure detection module; generating a target barometric pressure signal based on the acoustic system parameters and the initial barometric pressure signal, and determining the wearer's corresponding physiological signal based on the target barometric pressure signal.
[0048] Thus, this invention solves the technical problem in related technologies where headphone devices cannot accurately acquire the wearer's physiological signals due to interference from external ambient light during the detection process. Specifically, this invention constructs an acoustic system consisting of a headphone device and the wearer's ear canal. When the acoustic system is not sealed, acoustic system parameters indicating the degree of signal leakage within the system are determined. These parameters are then used to correct the air pressure signal collected from the wearer's ear canal, caused by changes in the ear canal arteries. The wearer's physiological signals are then calculated from the corrected air pressure signal. This allows the headphone device to acquire the wearer's physiological signals without using PPG technology, ensuring that the headphone device is not interfered with by external ambient light during the detection process, thereby achieving the technical effect of enabling the headphone device to accurately detect the wearer's physiological signals.
[0049] Based on this, the present invention provides a method for measuring physiological signals, which is applied to an earphone device equipped with a barometric pressure detection module; referring to Figure 1, Figure 1 is a flowchart of the first embodiment of the method for measuring physiological signals of the present invention.
[0050] In this embodiment, the method for measuring the physiological signal includes steps S10 to S30:
[0051] Step S10: Detect whether the acoustic system corresponding to the headphone device is in a preset sealed state, wherein the acoustic system is the acoustic system composed of the headphone device and the wearer's ear canal;
[0052] It should be noted that, referring to Figures 2 and 3, Figure 2 is a schematic diagram of the sealed state of the acoustic system involved in an embodiment of the physiological signal measurement method of the present invention, and Figure 3 is a schematic diagram of the non-sealed state of the acoustic system involved in an embodiment of the physiological signal measurement method of the present invention. The sealed state is the state in which the acoustic system will not leak various signals to the external environment. It can be understood that when the acoustic system formed by the headphone device and the wearer's ear canal is in the non-sealed state as shown in Figure 3, due to the existence of leakage channels, the air pressure signal generated inside the wearer's ear canal will leak to the external environment. As a result, the air pressure signal in the wearer's ear canal will be significantly different from the air pressure signal collected in the sealed state as shown in Figure 2. Consequently, the physiological signal calculated by the headphone device based on the air pressure signal will also be significantly different.
[0053] In this embodiment, when the headphone device needs to detect the wearer's physiological signals, it first checks whether the acoustic system consisting of itself and the wearer's ear canal is in a sealed state that will not leak signals to the external environment.
[0054] For example, when the headphone device needs to detect the wearer's heart rate signal, it first determines whether it is completely in contact with the wearer's ear canal, and further determines whether the acoustic system formed by the headphone device and the wearer's ear canal is in a sealed state that will not leak signals to the external environment.
[0055] In this way, the headphone device can determine whether the headphone device itself and the wearer's ear canal are completely in contact, and thus determine whether the acoustic system is in a sealed state that will not leak signals to the external environment.
[0056] In one feasible implementation, step S10 may include steps S101 to S102:
[0057] Step S101: Output a first sound signal and receive a second sound signal corresponding to the first sound signal in the acoustic system corresponding to the headphone device;
[0058] Step S102: Determine whether the acoustic system is in a preset sealed state based on the second sound signal.
[0059] It should be noted that the first sound signal is a specific sound signal used to test whether the acoustic system consisting of the headphone device and the wearer's ear canal leaks signals to the external environment. The first sound signal can be any one of the following: a frequency sweep signal, a pseudo-random signal, or a noise signal. In addition, the second sound signal is the sound signal collected by the headphone device through its own microphone.
[0060] In this embodiment, when the headphone device needs to detect the wearer's physiological signals, it first outputs a first sound signal to the wearer's ear canal to detect whether the acoustic system formed between the headphone device and the wearer's ear canal will leak signals to the outside world. It then receives a second sound signal generated after the first sound signal is attenuated during propagation within the acoustic system. Based on the second sound signal, the headphone device determines whether the acoustic system formed by the headphone device and the wearer's ear canal is in a sealed state that will not leak signals to the external environment.
[0061] For example, when the headphone device needs to detect the wearer's heart rate signal, it first outputs a first noise signal into the wearer's ear canal through its own configured speaker to test whether the acoustic system composed of the headphone device and the wearer's ear canal will leak signals to the external environment. At the same time, the headphone device receives a second noise signal P_earbuds, which is obtained by attenuation and transformation of the first noise signal as it is transmitted within the acoustic system, through its own configured microphone. Then, the headphone device determines whether the headphone device and the wearer's ear canal are completely sealed based on the received second noise signal P_earbuds, and further determines whether the acoustic system composed of the headphone device and the wearer's ear canal is in a sealed state that will not leak signals to the external environment.
[0062] In this way, the headphone device can emit a first sound signal into the wearer's ear canal to detect whether the acoustic system is in a sealed state, and can receive a second sound signal generated after the first sound signal has been changed, and then can determine whether the acoustic system is in a sealed state that will not leak signals to the external environment based on the second sound signal.
[0063] In one feasible implementation, step S102 may include steps S1021 to S1023:
[0064] Step S1021: Determine a preset standard sound signal, and compare the second sound signal with the standard sound signal to obtain a first comparison result;
[0065] Step S1022: When the first comparison result shows that the second sound signal and the standard sound signal match, determine that the acoustic system is in a preset sealed state;
[0066] Step S1023: When the first comparison result shows that the second sound signal and the standard sound signal do not match, it is determined that the acoustic system is not in the sealed state.
[0067] It should be noted that the standard sound signal is the sound signal captured by the microphone after the first sound signal propagates within the acoustic system without leaking any sound signal to the external environment, i.e., after only undergoing attenuation and other changes. It is understood that the standard sound signal can be stored in the headphone device's own storage device, allowing the headphone device to retrieve the standard sound signal when needed by reading the storage device. Alternatively, the standard sound signal can be stored on a third-party server, allowing the headphone device to retrieve the standard sound signal when needed by accessing the third-party server. Furthermore, it should be noted that the standard sound signal is obtained by technicians through experiments using the headphone device under laboratory conditions, or it can be calculated by technicians based on the size parameters of the headphone device and the ear canal size parameters used in the experiment. It is understood that there are many ways to obtain the standard sound signal, and this invention does not limit this method.
[0068] In this embodiment, after receiving the second sound signal corresponding to the first sound signal, the headphone device first reads its own configured storage device to obtain the standard sound signal corresponding to the first sound signal under a preset sealed state. The headphone device then compares the second sound signal and the standard sound signal to obtain a first comparison result. Afterwards, when the headphone device determines that the first comparison result is that the second sound signal and the standard sound signal match, it determines that the acoustic system composed of the headphone device and the wearer's ear canal is in a sealed state that will not leak sound signals to the outside world. When the headphone device determines that the first comparison result is that the second sound signal and the standard sound signal do not match, it determines that the acoustic system composed of the headphone device and the wearer's ear canal is not in a sealed state.
[0069] For example, after the headphone device receives the second noise signal P_earbuds generated in the wearer's ear canal by the first noise signal through the microphone device, it first reads its own configured storage device to obtain the standard noise signal generated in the wearer's ear canal when the first noise signal is in a closed acoustic system state. The headphone device then compares the obtained second noise signal P_earbuds with the standard noise signal, and generates a first comparison result based on whether the second noise signal P_earbuds and the standard noise signal are consistent. After that, the headphone device determines the second noise signal... When the P_earbuds match the standard noise signal, it is determined that the first noise signal does not leak into the external environment, thus confirming that the headphone device and the wearer's ear canal are in a complete fit, and that the acoustic system formed between the wearer's ear canal and the headphone device is in a sealed state. However, when the headphone device detects that the second noise signal P_earbuds and the standard noise signal do not match, it is determined that part of the first noise signal has flowed into the external environment through the leakage channel between the headphone device and the wearer's ear canal, thus confirming that the headphone device and the wearer's ear canal are not in a complete fit, and that the acoustic system is not in a sealed state.
[0070] It should be noted that, in this embodiment and another embodiment, the headphone device can determine the signal difference between the second noise signal P_earbuds and the standard noise signal. When the signal difference is less than a certain preset range, it is determined that the second noise signal P_earbuds and the standard noise signal are matched; when the signal difference is greater than or equal to the preset range, it is determined that the second noise signal P_earbuds and the standard noise signal are mismatched. Furthermore, in this embodiment and another embodiment, the headphone device can also determine that the second noise signal P_earbuds and the standard noise signal are matched when they are completely identical, and determine that they are mismatched when they are not completely identical. It can be understood that there are many ways for the headphone device to determine whether the second noise signal P_earbuds and the standard noise signal are matched, and the present invention does not limit this.
[0071] In this way, the terminal device can determine the degree of leakage of the second noise signal through the standard sound signal, and based on the degree of leakage of the second noise signal, it can determine whether the headphone device and the wearer's ear canal are completely in contact, and thus determine whether the acoustic system is in a sealed state that will not leak signals to the external environment.
[0072] Furthermore, it should be noted that in this embodiment and another embodiment, in addition to determining whether the acoustic system is in a sealed state through the second sound signal, the headphone device can also perform calculations based on preset headphone device parameters and ear canal parameters input by the wearer to determine whether the headphone device and the wearer's ear canal are completely in contact, thereby determining whether the acoustic system is in a sealed state. It is understood that there are many ways for the headphone device to determine whether the acoustic system is in a sealed state based on the headphone device parameters and ear canal parameters, and the present invention does not limit this.
[0073] Step S20: After detecting that the system is not in a preset sealed state, determine the acoustic system parameters corresponding to the acoustic system, and collect the initial air pressure signal in the wearer's ear canal through the air pressure detection module;
[0074] It should be noted that the acoustic system parameters are parameters that can indicate the degree of signal leakage in the acoustic system. This can be understood by referring to Figure 4, which is a schematic diagram of the equivalent circuit model of the acoustic system involved in an embodiment of the physiological signal measurement method of the present invention. The ear canal acoustic system, composed of the headphone device and the wearer's ear canal, can be equivalently represented as shown in Figure 4, including: the equivalent acoustic impedance Z1 of the headphone driver and the rear cavity acoustic system, the acoustic capacitance C1 of the headphone front cavity, the acoustic resistance R1 of the headphone outlet, the acoustic quality M1 of the headphone outlet, the acoustic capacitance C2 of the ear canal, the acoustic resistance R_Leak of the leakage path outlet, and the acoustic quality M_Leak of the leakage path outlet, among other acoustic system parameters. The equivalent acoustic impedance Z1 of the headphone driver and the rear cavity acoustic system indicates the degree of signal leakage in the headphone device. Similarly, the parameters representing the signal impediment characteristics are as follows: Headphone front cavity acoustic capacitance C1 indicates the effect of the headphone front cavity on sound propagation, resonance, and sound quality regulation; similarly, ear canal acoustic capacitance C2 indicates the effect of the wearer's ear canal on sound propagation, resonance, and sound quality regulation; similarly, headphone outlet acoustic impedance R1 indicates the degree of current impediment at the headphone outlet; similarly, leakage path outlet acoustic impedance R_Leak indicates the degree of current impediment at the leakage path formed between the headphone and the wearer's ear canal; similarly, headphone outlet sound quality M1 indicates the air mass that the headphone outlet can move; similarly, leakage path outlet sound quality M_Leak indicates the air mass that the leakage path can move. It can be understood that by converting the acoustic system composed of the headphone and the wearer's ear canal into an equivalent circuit model as shown in Figure 4, the degree of sound signal leakage within the acoustic system can be detected more intuitively. Furthermore, it should be noted that within the above equivalent circuit model, since the leakage effect of the acoustic quality M_Leak parameter at the leakage path outlet on the signal is much smaller than that of the acoustic impedance R_Leak parameter at the leakage path outlet, the acoustic quality M_Leak parameter at the leakage path outlet can be ignored.
[0075] Furthermore, the air pressure signal is a low-frequency air pressure signal generated inside the ear canal when the volume of the ear canal changes due to changes in the arteries near the wearer's ear canal. It is understood that, referring to Figures 5 and 6, Figure 5 is a schematic diagram of the initial air pressure signal involved in an embodiment of the physiological signal measurement method of the present invention, and Figure 6 is a schematic diagram of the target air pressure signal involved in an embodiment of the physiological signal measurement method of the present invention. When there is a leak in the acoustic system, the initial air pressure signal obtained by the barometer will have obvious distortion as shown in Figure 5. Therefore, it is necessary to correct the initial air pressure signal based on the leakage system parameters of the acoustic system to generate a target air pressure signal without distortion as shown in Figure 6.
[0076] In this embodiment, when the headphone device detects that the acoustic system composed of itself and the wearer's ear canal is not in a sealed state that will not leak signals to the external environment, the headphone device acquires a second sound signal for detecting the sealed state of the acoustic system, processes the second sound signal to determine the corresponding acoustic system parameters, and at the same time, the headphone device calls its own configured air pressure detection module to collect the initial air pressure signal generated in the wearer's ear canal.
[0077] For example, when the headphone device detects that the acoustic system consisting of itself and the wearer's ear canal is not in a sealed state that will not leak signals to the external environment, the headphone device extracts a second sound signal P_earbuds used to detect the sealed state of the acoustic system, and extracts the sound signal features contained in the second sound signal P_earbuds. The terminal device then determines the signal leakage degree of the second sound signal P_earbuds based on the sound signal features, and determines the acoustic system parameters contained in the equivalent circuit model corresponding to its own acoustic system based on the signal leakage degree. At the same time, the headphone device calls its own configured barometer to collect the initial air pressure signal in the wearer's ear canal caused by changes in the arteries near the ear canal.
[0078] In this way, the headphone device can determine the degree of leakage of the second sound signal during its propagation by extracting the sound signal characteristics of the second sound signal, and then determine the acoustic system parameters that can indicate the degree of signal leakage of the acoustic system in which it is located, and collect the initial air pressure signal generated in the wearer's ear canal.
[0079] In one feasible implementation, the acoustic system parameters include leakage system parameters, and the step of "determining the acoustic system parameters corresponding to the acoustic system" in step S20 may include steps S201 to S202:
[0080] Step S201: Extract each sound signal feature contained in the second sound signal, and determine the headphone frequency response corresponding to the second sound signal based on each of the sound signal features;
[0081] Step S202: Determine the leakage system parameters corresponding to the acoustic system based on the headphone frequency response.
[0082] It should be noted that frequency response refers to the relationship between the sound pressure generated by an acoustic system and the frequency when it receives an audio signal.
[0083] In this embodiment, when the headphone device determines that the acoustic system is not in a sealed state, it extracts the sound signal features contained in the second sound signal used to detect the sealed state of the acoustic system, and determines the headphone frequency response corresponding to the second sound signal based on the sound signal features. Then, the headphone device determines the leakage system parameters corresponding to the acoustic system based on the headphone frequency response.
[0084] For example, when the headphone device determines that the acoustic system is not in a sealed state, it processes the acquired second noise signal P_earbuds using the FFT (Fast Fourier Transform) algorithm to obtain the sound signal features contained in the second noise signal P_earbuds. The headphone device then obtains the headphone frequency response corresponding to the headphone device at this time based on the sound signal features. After that, the headphone device reads its own configured storage device to obtain the pre-stored leakage system parameters corresponding to the acoustic system in different sealed states. Based on the headphone frequency response, it selects the leakage path outlet acoustic impedance R_Leak parameter contained in the equivalent circuit model corresponding to the acoustic system from the leakage system parameters.
[0085] In this way, the headphone device can determine the degree of leakage of the second sound signal during its propagation by extracting the sound signal characteristics of the second sound signal, and then determine the acoustic system parameters that can indicate the degree of signal leakage of the acoustic system in which it is located.
[0086] In one feasible implementation, step S202 may specifically include steps S2021 to S2023:
[0087] Step S2021: Obtain multiple preset reference frequency responses and reference system parameters corresponding to each of the multiple reference frequency responses;
[0088] Step S2022: Determine the target frequency response from among the multiple reference frequency responses based on the headphone frequency response;
[0089] Step S2023: Determine the reference system parameters corresponding to the target frequency response as the leakage system parameters corresponding to the acoustic system.
[0090] It should be noted that the multiple reference frequency responses are the frequency response parameters of multiple acoustic systems with leakage channels of different sizes when the second sound signal is acquired. In addition, the reference system parameters are the leakage system parameters required for the acoustic system to obtain an accurate pressure signal under the reference frequency response. The multiple reference frequency responses and their corresponding reference system parameters can be obtained by technicians through experiments under laboratory conditions. This invention does not limit the method of obtaining the reference frequency responses and reference system parameters.
[0091] In this embodiment, after the headphone device extracts the headphone frequency response corresponding to the second sound signal, it can also read the storage device to obtain multiple reference frequency responses corresponding to the acoustic system. Then, the headphone device compares the headphone frequency response with the multiple reference frequency responses in sequence to determine the target frequency response that is consistent with the headphone frequency response among the multiple reference frequency responses. Finally, the headphone device determines the reference system parameters corresponding to the target frequency response and determines the reference system parameters corresponding to the target frequency response as the leakage system parameters corresponding to the acoustic system.
[0092] For example, after the headphone device extracts the headphone frequency response corresponding to the second sound signal, it can also read from the storage device to obtain the reference frequency response corresponding to each of the multiple acoustic systems containing leakage channels of different sizes when the second sound signal is collected, and the reference leakage path outlet acoustic impedance corresponding to each of the multiple reference frequency responses. Then, the headphone device compares the headphone frequency response with the multiple reference frequency responses in turn to determine the target frequency response that is consistent with the headphone frequency response among the multiple reference frequency responses. Finally, the headphone device determines the reference leakage path outlet acoustic impedance corresponding to the target frequency response as the leakage path outlet acoustic impedance R_Leak corresponding to the acoustic system.
[0093] In this way, the headphone device can filter out the leakage system parameters corresponding to the acoustic system in which the headphone device is currently located from multiple benchmarks by using the current headphone frequency response of the headphone device.
[0094] Furthermore, please refer to Figure 10, which is a schematic diagram of the leakage system parameter mapping relationship in an embodiment of the physiological signal measurement method of the present invention. In this embodiment and another embodiment, after obtaining the headphone frequency response, the headphone device can also read its configured storage device to obtain the leakage system parameter mapping chart shown in Figure 10. The horizontal axis of the leakage system parameter mapping chart is frequency f, and the vertical axis is sound pressure level (SPL). This leakage system parameter mapping chart can show the mapping relationship between the headphone frequency response and the acoustic impedance of the reference leakage path outlet. Then, the headphone device further queries the leakage system parameter mapping chart based on the sound frequency and sound pressure parameters included in the calculated headphone frequency response to determine the leakage path outlet acoustic impedance R_Leak corresponding to the headphone frequency response from among the multiple reference leakage path outlet acoustic impedances included in the leakage system parameter mapping chart. It is understood that there are many ways for the headphone device to determine the leakage path outlet acoustic impedance R_Leak based on the headphone frequency response, and the process of obtaining the leakage path outlet acoustic impedance R_Leak of the present invention is not limited.
[0095] In one feasible implementation, the acoustic system parameters further include conventional system parameters, and the step of "determining the acoustic system parameters corresponding to the acoustic system" in step S20 may further include steps S203 to S204:
[0096] Step S203: Obtain headphone device size parameters and environmental information parameters;
[0097] Step S204: Determine the conventional system parameters corresponding to the acoustic system based on the headphone device size parameters and the environmental information parameters.
[0098] In this embodiment, after obtaining the leakage system parameters, the headphone device can also read its own configured storage device to obtain pre-stored headphone device size parameters and environmental information parameters. Then, the headphone device calculates the conventional system parameters corresponding to the acoustic system based on the headphone device size parameters and environmental information parameters.
[0099] For example, after determining the acoustic impedance R_Leak and sound quality M_Leak of the leakage path outlet, the headphone device can also read its configured storage device to obtain headphone device size parameters containing the headphone device's own size information and the wearer's ear canal size information, and environmental information parameters containing the surrounding environment of the headphone device. Then, the headphone device reads the headphone device size parameters to determine the corresponding headphone front cavity volume parameters, and reads the environmental information parameters to determine the air density and sound velocity parameters around the headphone device. The headphone device then calculates the corresponding headphone front cavity acoustic volume C1 based on the headphone front cavity volume parameters, air density parameters, and sound velocity parameters. Simultaneously, the headphone device reads the headphone device size parameters to determine the corresponding headphone outlet length and outlet radius parameters, and reads the environmental information parameters to determine the air viscosity parameters around the headphone device, and calculates the corresponding headphone front cavity acoustic volume C1 based on the outlet length and outlet radius parameters. The acoustic impedance R1 of the headphone outlet is calculated based on the number of air viscosity parameters. Simultaneously, the headphone device reads its size parameters to determine the length and area of its own outlet, and reads environmental information parameters to determine the air inertia around the headphone device. Based on the outlet length, area, and inertia parameters, the headphone outlet sound quality M1 is calculated. Furthermore, the headphone device reads its size parameters to determine the preset average ear canal volume parameter, and reads environmental information parameters to determine the air density and sound velocity around the headphone device. Based on these parameters, the headphone device calculates the ear canal acoustic capacity C2 corresponding to the wearer's ear canal. Finally, the headphone device defines the headphone front cavity acoustic capacity C1, the headphone outlet acoustic impedance R1, the headphone outlet sound quality M1, and the ear canal acoustic capacity C2 as the conventional system parameters in the equivalent circuit model corresponding to the acoustic system.
[0100] In this way, the headphone device can calculate the conventional system parameters corresponding to the acoustic system by using the size parameters of the headphone device and the wearer's ear canal, as well as the environmental information of the headphone device.
[0101] Step S30: Generate a target air pressure signal based on the acoustic system parameters and the initial air pressure signal, and determine the physiological signals corresponding to the wearer based on the target air pressure signal;
[0102] In this embodiment, after acquiring the initial air pressure signal, the headphone device corrects the initial air pressure signal based on conventional system parameters and leakage system parameters to generate a target air pressure signal corresponding to the initial air pressure signal. The headphone device then extracts the signal features contained in the target air pressure signal and converts the signal features to determine the physiological signal corresponding to the wearer.
[0103] For example, please refer to Figure 7, which is a schematic diagram of resting heart rate waveform measurement data according to an embodiment of the physiological signal measurement method of the present invention. After the headphone device collects the initial air pressure signal in the wearer's ear canal, it corrects the initial air pressure signal according to the leakage path outlet acoustic impedance R_Leak and various conventional system parameters included in the leakage system parameters to generate a target air pressure signal corresponding to the initial air pressure signal without leakage to the external environment. The headphone device then extracts signal features such as peak values and time intervals contained in the target air pressure signal, and determines the number of peaks contained in the target air pressure signal according to each signal feature. Then, it determines the wearer's heart rate value according to the number of peaks and generates the resting heart rate waveform measurement data as shown in Figure 7. It is understood that there are many ways for the headphone device to determine the wearer's physiological parameters based on signal features, and the present invention does not limit this.
[0104] In this way, the headphone device corrects the distortion in the collected ear canal air pressure signal by using the system parameters contained in the analog equivalent circuit corresponding to the acoustic system, so as to obtain a target air pressure signal that can be used to detect physiological signals, and can obtain accurate physiological signals through the target air pressure signal.
[0105] In one feasible implementation, step S30, "generating a target air pressure signal based on the acoustic system parameters and the initial air pressure signal," may specifically include steps S301 to S302:
[0106] Step S301: Determine the time-domain impact response parameters corresponding to the initial air pressure signal based on the acoustic system parameters;
[0107] Step S302: Correct the initial air pressure signal according to the time-domain impact response parameters to generate the target air pressure signal.
[0108] In this embodiment, after acquiring the initial air pressure signal, the headphone device obtains a preset frequency transfer function. The headphone device then converts the parameters of each acoustic system based on the frequency transfer function to obtain time-domain impulse response parameters. Subsequently, the headphone device performs time-domain convolution on the acquired initial air pressure signal based on the time-domain impulse response parameters to obtain the corrected target air pressure signal.
[0109] For example, after acquiring the initial air pressure signal, the headphone device first obtains a preset frequency transfer function:
[0110] ;
[0111] The headphone device then converts the parameters of each conventional system and each leakage system from the frequency domain to the time domain according to the frequency transfer function to obtain the time-domain impulse response. After that, the headphone device performs time-domain convolution between the time-domain impulse response and the initial air pressure signal to obtain the corrected target air pressure signal.
[0112] It should be noted that the parameters included in the above frequency transfer function are complex frequencies. The specific calculation process for complex frequencies is existing technology and will not be elaborated upon here. Furthermore, C1 in the above frequency transfer function represents the acoustic capacitance of the headphone's front cavity; similarly, C2 represents the acoustic capacitance of the ear canal; R1 represents the acoustic impedance of the headphone's output port; M1 represents the sound quality of the headphone's output port; and similarly, the acoustic impedance and sound quality of the leakage path output port are also included in the above frequency transfer function. The sound quality of the leakage path output port can be ignored.
[0113] In addition, in this embodiment and another embodiment, besides converting system parameters from the frequency domain to the time domain through the frequency transfer function, the headphone device can also convert system parameters from the frequency domain to the time domain to obtain the time domain impulse response through the state-space method, impulse response invariance method, or bilinear transformation method. It is understood that the specific calculation process of converting system parameters from the frequency domain to the time domain to obtain the time domain impulse response based on the calculation process of the state-space method, impulse response invariance method, or bilinear transformation method is the prior art, so it will not be described in detail here.
[0114] In this way, the headphone device corrects the distortion in the acquired ear canal air pressure signal by using the system parameters contained in the analog equivalent circuit corresponding to the acoustic system, thereby obtaining a target air pressure signal that can be used to detect physiological signals and ensuring the accuracy of the target air pressure signal.
[0115] In this embodiment, when the headphone device needs to detect the wearer's physiological signals, it first detects whether the acoustic system composed of itself and the wearer's ear canal is in a sealed state that will not leak signals to the external environment. Then, the headphone device acquires a second sound signal used to detect the sealed state of the acoustic system, and processes the second sound signal to determine the corresponding acoustic system parameters. At the same time, the headphone device calls its configured air pressure detection module to collect the initial air pressure signal generated in the wearer's ear canal. Finally, the headphone device corrects the initial air pressure signal based on the conventional system parameters and leakage system parameters to generate a target air pressure signal corresponding to the initial air pressure signal. The headphone device then extracts the signal features contained in the target air pressure signal and converts the signal features to determine the wearer's corresponding physiological signals.
[0116] Thus, this invention solves the technical problem in related technologies where headphone devices cannot accurately acquire the wearer's physiological signals due to interference from external ambient light during the detection process. Specifically, this invention constructs an acoustic system consisting of a headphone device and the wearer's ear canal. When the acoustic system is not sealed, acoustic system parameters indicating the degree of signal leakage within the system are determined. These parameters are then used to correct the air pressure signal collected from the wearer's ear canal, caused by changes in the ear canal arteries. The wearer's physiological signals are then calculated from the corrected air pressure signal. This allows the headphone device to acquire the wearer's physiological signals without using PPG technology, ensuring that the headphone device is not interfered with by external ambient light during the detection process, thereby achieving the technical effect of enabling the headphone device to accurately detect the wearer's physiological signals.
[0117] Based on the first embodiment of the present invention, a second embodiment of the present invention is proposed herein. In this second embodiment, content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Furthermore, after step S10, the method for measuring physiological signals of the present invention may further include steps A10 to A20:
[0118] Step A10: After detecting that the acoustic system is in a preset sealed state, the initial air pressure signal in the wearer's ear canal is collected through the air pressure detection module;
[0119] Step A20: Determine the wearer's corresponding physiological signals based on the initial air pressure signal.
[0120] In this embodiment, when the headphone device determines that the acoustic system consisting of the headphone device and the wearer's ear canal is in a sealed state, it directly calls its own configured air pressure detection module to collect the initial air pressure signal generated in the wearer's ear canal. Then, the headphone device extracts the signal features contained in the initial air pressure signal and converts the signal features contained in the initial air pressure signal to determine the wearer's corresponding physiological signal.
[0121] For example, if the headphone device determines that the acoustic system formed by itself and the wearer's ear canal is in a sealed state, it will determine that the air pressure signal generated in the wearer's ear canal will not leak to the external environment. At this time, the headphone device directly calls its own configured barometer to collect the initial air pressure signal generated in the wearer's ear canal. Then, the headphone device can directly extract the signal features such as peak values and time intervals contained in the initial air pressure signal, and determine the number of peaks contained in the target air pressure signal based on each signal feature, and then determine the wearer's heart rate value based on the number of peaks.
[0122] In this way, when the headphone device detects that the acoustic system formed by itself and the wearer's ear canal is in a sealed state, it can directly calculate the wearer's heart rate and other physiological information based on the collected ear canal air pressure signal, thereby further improving detection efficiency.
[0123] Based on the first and / or second embodiments of the present invention, a third embodiment of the present invention is proposed herein. In this third embodiment, content that is the same as or similar to the above embodiments can be referred to the above description and will not be repeated hereafter. Based on this, the earphone device and the mobile terminal are communicatively connected. After step S30, the physiological signal measurement method of the present invention may further include steps B10 to B20:
[0124] Step B10: Determine a preset physiological signal interval and determine whether the physiological signal is within the preset physiological signal interval;
[0125] Step B20: If it is determined that the physiological signal is not within the preset physiological signal range, then a preset alarm message is output to the mobile terminal.
[0126] It should be noted that the preset physiological signal range is the range of values of the physiological signals when the wearer is in a healthy state. For example, when the wearer is in a healthy state, the corresponding heart rate range is 60 beats / minute to 100 beats / minute. It is understood that the specific values of the preset physiological signal range can be set by the technician or the wearer, and the present invention does not limit this.
[0127] In this embodiment, after calculating the wearer's physiological signals, the earphone device can also read its own configured storage device to obtain a preset physiological signal range corresponding to the physiological signals. The earphone device then compares the physiological signals with the preset physiological signal range to determine whether the physiological signals are within the preset physiological signal range. If the earphone device determines that the physiological signals are not within the preset physiological signal range, it obtains preset alarm information and sends the alarm information to the mobile terminal connected to itself.
[0128] For example, as shown in Figure 9, after calculating the wearer's real-time heart rate, the headphone device reads the preset heart rate range of 60 beats / minute to 100 beats / minute from the storage device. The headphone device then compares the real-time heart rate with the preset heart rate range to determine whether the real-time heart rate is within the range of 60 beats / minute to 100 beats / minute. If the headphone device determines that the wearer's real-time heart rate is not within the range of 60 beats / minute to 100 beats / minute, it determines that the wearer has a potential health problem. At this time, the headphone device reads the alarm information pre-stored by the technician and sends the alarm information and detection results to the mobile terminal held by the wearer that is connected to it through its own Bluetooth module, so as to issue a reminder to the wearer through the mobile terminal.
[0129] In addition, in this embodiment and another embodiment, when the headphone device detects that the wearer's real-time heart rate value is not within the preset heart rate range, it can also emit an alarm sound signal through the speaker to remind the wearer through the alarm sound signal.
[0130] In this way, the headphone device can promptly output alarm information to remind the wearer when it detects that the wearer's physiological signals are not within the preset physiological signal range.
[0131] Based on the various embodiments of the present invention, a fourth embodiment of the present invention is proposed herein. In this fourth embodiment, content that is the same as or similar to the above embodiments can be referred to the above description and will not be repeated hereafter. Based on this, after the step of "generating a target air pressure signal according to the acoustic system parameters and the initial air pressure signal" in step S30, the physiological signal measurement method of the present invention may further include step C10:
[0132] Step C10: Send the target air pressure signal to the mobile terminal so that the mobile terminal can determine the wearer's corresponding physiological signals based on the target air pressure signal.
[0133] In this embodiment, after calculating the target air pressure signal, the headphone device can also send the target air pressure signal to a mobile terminal connected to itself, so that the mobile terminal can determine the wearer's corresponding physiological signal based on the target air pressure signal.
[0134] For example, as shown in Figure 9, after the headphone device obtains the target air pressure signal, it can also send the target air pressure signal to the mobile terminal device held by the wearer through its own configured Bluetooth module. The mobile terminal device can then extract the signal features such as peak values and time intervals contained in the target air pressure signal, determine the number of peaks contained in the target air pressure signal based on each signal feature, and then determine the wearer's heart rate value based on the number of peaks.
[0135] In this way, by sending the target air pressure signal to other mobile terminal devices, the headphone device can enable other mobile terminal devices to process the target air pressure signal, thereby leveraging the hardware advantages of mobile terminal devices to further improve the processing efficiency of physiological signals.
[0136] Based on the various embodiments of the present invention, a preferred embodiment of the present invention is proposed herein, in which:
[0137] Before detecting the wearer's physiological signals, the headphone device first converts the acoustic system between itself and the wearer's ear canal into an equivalent circuit model. At the same time, the headphone device reads its own configured storage device to obtain headphone device size parameters containing headphone device size information and ear canal size information, as well as environmental information parameters corresponding to the environment in which the headphone device is located. The headphone device then calculates conventional system parameters such as the acoustic capacitance of the headphone front cavity, the acoustic impedance of the headphone outlet, the sound quality of the headphone outlet, and the acoustic capacitance of the ear canal contained in the equivalent circuit model based on the headphone device size parameters and environmental information parameters.
[0138] Subsequently, the headphone device emits a first sound signal into the wearer's ear canal through its own speaker, and collects a second sound signal formed during the transmission of the first sound signal through its own microphone. The headphone device then compares the second sound signal with a preset standard sound signal to obtain a first comparison result. If the first comparison result indicates that the second sound signal and the standard sound signal are not completely consistent, or if the signal difference between the second sound signal and the standard sound signal is greater than or equal to a preset range, it is determined that the second sound signal and the standard sound signal are mismatched, and thus it is determined that there is a leakage path in the acoustic system formed between the headphone device and the wearer's ear canal. Conversely, if the headphone device determines that the first comparison result indicates that the second sound signal and the standard sound signal are completely consistent, or if the signal difference between the second sound signal and the standard sound signal is less than a preset range, it is determined that the second sound signal and the standard sound signal are matched, and thus it is determined that there is no leakage path in the acoustic system formed between the headphone device and the wearer's ear canal.
[0139] Next, if the headphone device detects a leakage channel in the acoustic system, it extracts the sound signal features of the second sound signal and determines the headphone frequency response corresponding to the acoustic system in which the headphone device is currently located based on the sound signal features. At the same time, the headphone device obtains the preset frequency response of the acoustic system in a sealed state and compares the headphone frequency response with the preset frequency response. Based on the comparison result, it obtains leakage system parameters that can indicate the degree of signal leakage in the acoustic system. Then, the headphone device calls its own configured barometer to collect the initial air pressure signal in the wearer's ear canal and corrects the initial air pressure signal according to the leakage system parameters to obtain the target air pressure signal. At the same time, the headphone device extracts the signal features contained in the target air pressure signal and calculates the wearer's physiological signals based on the signal features.
[0140] Finally, the headphone device compares the calculated physiological signal with the preset physiological signal range and determines whether the physiological signal is within the physiological signal range. If it determines that the physiological signal is not within the physiological signal range, it sends an alarm message and detection result to the mobile terminal device connected to it, so as to remind the wearer through the mobile terminal device.
[0141] In addition, if the headphone device determines that there is no leakage channel in the acoustic system, it directly calls its own barometer to collect the initial air pressure signal in the wearer's ear canal, extracts the signal features contained in the initial air pressure signal, and calculates the wearer's physiological signals based on the signal features.
[0142] The present invention provides an earphone device, the earphone device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the physiological signal measurement method in Embodiment 1 above.
[0143] Referring now to Figure 8, a schematic diagram of a suitable headphone device for implementing embodiments of the present invention is shown. The headphone device in embodiments of the present invention may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The headphone device shown in Figure 5 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present invention.
[0144] As shown in Figure 8, the headphone device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the headphone device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the headset device to communicate wirelessly or wiredly with other devices to exchange data. Although headset devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0145] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this invention.
[0146] The earphone device provided by this invention, employing the physiological signal measurement method described in the above embodiments, solves the technical problem in related technologies where earphone devices cannot accurately acquire the wearer's physiological signals due to interference from ambient light during the detection process. Compared with the prior art, the beneficial effects of the earphone device provided by this invention are the same as those of the physiological signal measurement method provided in the above embodiments, and other technical features of this earphone device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0147] It should be understood that the various parts disclosed in this invention can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0148] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
[0149] The present invention provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to perform the physiological signal measurement method in the above embodiments.
[0150] The computer-readable storage medium provided by this invention may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0151] The aforementioned computer-readable storage medium may be included in the headphone device; or it may exist independently and not assembled into the headphone device.
[0152] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the headphone device, cause the headphone device to: output a first sound signal and receive a second sound signal corresponding to the first sound signal within an acoustic system, wherein the acoustic system is an acoustic system composed of the headphone device and the wearer's ear canal;
[0153] The acoustic system is determined to be in a preset sealed state based on the second sound signal.
[0154] If it is determined that the acoustic system is not in the sealed state, then the acoustic system parameters corresponding to the acoustic system are determined based on the second sound signal;
[0155] The air pressure detection module acquires the initial air pressure signal in the wearer's ear canal and generates a target air pressure signal based on the acoustic system parameters and the initial air pressure signal.
[0156] The wearer's corresponding physiological signals are determined based on the target air pressure signal.
[0157] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0158] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0159] The modules described in the embodiments of the present invention can be implemented in software or hardware. The names of the modules do not necessarily limit the specific unit itself.
[0160] The readable storage medium provided by this invention is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described physiological signal measurement method. This solves the technical problem in related technologies where headphone devices cannot accurately acquire the wearer's physiological signals due to interference from ambient light during the detection process. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by this invention are the same as those of the physiological signal measurement method provided in the above embodiments, and will not be elaborated upon here.
[0161] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the physiological signal measurement method described above.
[0162] The computer program product provided by this invention can solve the technical problem in related technologies where headphone devices cannot accurately acquire the wearer's physiological signals during detection due to interference from ambient light. Compared with the prior art, the beneficial effects of the computer program product provided by this invention are the same as those of the physiological signal measurement method provided in the above embodiments, and will not be repeated here.
[0163] The above description is only a part of the embodiments of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made under the technical concept of the present invention using the contents of the present invention specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.
Claims
1. A method for measuring physiological signals, characterized in that, The method for measuring physiological signals is applied to an earphone device equipped with a barometric pressure detection module, and the method for measuring physiological signals includes: The detection method determines whether the acoustic system corresponding to the headphone device is in a preset sealed state, wherein the acoustic system is the acoustic system composed of the headphone device and the wearer's ear canal; After detecting that the system is not in a preset sealed state, the acoustic system parameters corresponding to the acoustic system are determined, and the initial air pressure signal in the wearer's ear canal is collected through the air pressure detection module. A target air pressure signal is generated based on the acoustic system parameters and the initial air pressure signal, and the physiological signals corresponding to the wearer are determined based on the target air pressure signal.
2. The method as described in claim 1, characterized in that, The step of detecting whether the acoustic system corresponding to the headphone device is in a preset sealed state includes: Output a first sound signal and receive a second sound signal corresponding to the first sound signal in the acoustic system corresponding to the headphone device; The acoustic system is determined to be in a preset sealed state based on the second sound signal.
3. The method as described in claim 2, characterized in that, The step of determining whether the acoustic system is in a preset sealed state based on the second sound signal includes: A preset standard sound signal is determined, and the second sound signal and the standard sound signal are compared to obtain a first comparison result; When the first comparison result shows that the second sound signal and the standard sound signal match, the acoustic system is determined to be in a preset sealed state. When the first comparison result indicates that the second sound signal and the standard sound signal do not match, it is determined that the acoustic system is not in the sealed state.
4. The method as described in claim 2, characterized in that, After the step of determining whether the acoustic system is in a preset sealed state based on the second sound signal, the method further includes: After detecting that the acoustic system is in a preset sealed state, the initial air pressure signal in the wearer's ear canal is collected through the air pressure detection module; The wearer's corresponding physiological signals are determined based on the initial air pressure signal.
5. The method as described in claim 2, characterized in that, The acoustic system parameters include leakage system parameters, and the step of determining the acoustic system parameters corresponding to the acoustic system includes: Extract the sound signal features contained in the second sound signal, and determine the headphone frequency response corresponding to the second sound signal based on each of the sound signal features; The leakage system parameters corresponding to the acoustic system are determined based on the frequency response of the headphones.
6. The method as described in claim 5, characterized in that, The step of determining the leakage system parameters corresponding to the acoustic system based on the headphone frequency response includes: Acquire multiple preset reference frequency responses and reference system parameters corresponding to each of the multiple reference frequency responses; The target frequency response is determined from a plurality of reference frequency responses based on the headphone frequency response; The reference system parameters corresponding to the target frequency response are determined as the leakage system parameters corresponding to the acoustic system.
7. The method as described in claim 5, characterized in that, The acoustic system parameters also include conventional system parameters, and the step of determining the acoustic system parameters corresponding to the acoustic system further includes: Obtain headphone device size parameters and environmental information parameters; The conventional system parameters corresponding to the acoustic system are determined based on the headphone device size parameters and the environmental information parameters.
8. The method as described in claim 1, characterized in that, The step of generating a target air pressure signal based on the acoustic system parameters and the initial air pressure signal includes: Determine the time-domain impact response parameters corresponding to the initial air pressure signal based on the acoustic system parameters; The initial air pressure signal is corrected according to the time-domain impact response parameters to generate the target air pressure signal.
9. The method as described in claim 1, characterized in that, The earphone device and the mobile terminal are communicatively connected. After the step of determining the wearer's corresponding physiological signal based on the target air pressure signal, the method further includes: Determine a preset physiological signal range and determine whether the physiological signal is within the preset physiological signal range; If it is determined that the physiological signal is not within the preset physiological signal range, a preset alarm message is output to the mobile terminal.
10. The method as described in claim 1, characterized in that, After the step of generating the target air pressure signal based on the acoustic system parameters and the initial air pressure signal, the method further includes: The target air pressure signal is sent to the mobile terminal so that the mobile terminal can determine the wearer's corresponding physiological signals based on the target air pressure signal.
11. A headphone device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the method for measuring physiological signals as claimed in any one of claims 1 to 10.
12. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the method for measuring physiological signals as described in any one of claims 1 to 10.
13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the method for measuring physiological signals as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Wearable mini-size intelligent healthcare system
CN101742981A
Circuit and method for adaptive adjustment of sound of headset
CN108235170A
Data processing method and device, terminal, earphone and readable memory medium
CN108391207A
Acoustic in-ear detection for audible devices.
CN111328009A
Detection method and device, earphone and readable storage medium
CN114143646A