CN108852330A - A kind of bio signal detection method and device based on TWS earphone - Google Patents

A kind of bio signal detection method and device based on TWS earphone Download PDF

Info

Publication number
CN108852330A
CN108852330A CN201810433768.6A CN201810433768A CN108852330A CN 108852330 A CN108852330 A CN 108852330A CN 201810433768 A CN201810433768 A CN 201810433768A CN 108852330 A CN108852330 A CN 108852330A
Authority
CN
China
Prior art keywords
signal
light signal
reflected light
reflection
tws earphone
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201810433768.6A
Other languages
Chinese (zh)
Inventor
周卫国
朱向军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810433768.6A priority Critical patent/CN108852330A/en
Publication of CN108852330A publication Critical patent/CN108852330A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02405Determining heart rate variability
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/14532Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue for measuring glucose, e.g. by tissue impedance measurement
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/1455Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/1455Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
    • A61B5/14551Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters for measuring blood gases
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • A61B5/6803Head-worn items, e.g. helmets, masks, headphones or goggles

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Surgery (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Veterinary Medicine (AREA)
  • Molecular Biology (AREA)
  • Public Health (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Optics & Photonics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Physiology (AREA)
  • Emergency Medicine (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the present invention discloses a kind of bio signal detection method and device based on TWS earphone, and this method includes:When the main earphone and set of headphones of TWS earphone are under clock synchronous regime, emit detection optical signal respectively by main earphone and set of headphones, and the corresponding reflected light signal of detection optical signal that the main earphone of acquisition and set of headphones detect respectively, and by analyze main headset detection to reflected light signal and the reflected light signal that detects of set of headphones, obtain the bio signal of the TWS earphone wearer.Implement the embodiment of the present invention, the accurate detection to bio signal may be implemented.

Description

A kind of bio signal detection method and device based on TWS earphone
Technical field
The present invention relates to wearable device technical fields, and in particular to one kind is based on true wireless stereo (True Wireless Stereo, TWS) earphone bio signal detection method and device.
Background technique
As medical model is from diagnoses and treatment to the transformation of daily monitoring, wearable device is in health field using more next It is more extensive, thus most of wearable devices (such as earphone) on the market mostly have bio signal detection function at present, energy The physical condition of wearer is enough identified by bio signal.However in practice, it has been found that in utilization earphone to earphone wearer Bio signal when being detected, it will usually there is a situation where the relevant parameter of detected bio signal inaccuracy, influence The accuracy of recognition result.
Summary of the invention
The embodiment of the present invention discloses a kind of bio signal detection method and device based on TWS earphone, and biology can be improved The accuracy rate of signal detection.
First aspect of the embodiment of the present invention discloses a kind of bio signal detection side based on true wireless stereo TWS earphone Method, the TWS earphone include main earphone and set of headphones, the method includes:
In the case where the main earphone and the set of headphones are in clock synchronous regime, pass through the main earphone and the set of headphones Transmitting detection optical signal respectively, and the detection optical signal pair that the acquisition main earphone and the set of headphones detect respectively The reflected light signal answered;
Analyze the main headset detection to reflected light signal and the reflected light signal that detects of the set of headphones, obtain institute State the bio signal of TWS earphone wearer.
As an alternative embodiment, the detection optical signal includes red in first aspect of the embodiment of the present invention Optical signal, near-infrared short-wave signal and near-infrared long-wave signal, the bio signal include at least heart rate, blood oxygen levels and blood glucose Value, the analysis main headset detection to reflected light signal and the reflected light signal that detects of the set of headphones, obtain institute The bio signal of TWS earphone wearer is stated, including:
To the main headset detection to reflected light signal and the reflected light signal that detects of the set of headphones carry out respectively Noise reduction and filtering processing, obtain the first reflected light signal and the second reflected light signal, and first reflected light signal includes first Reflection to red light signal, the first near-infrared shortwave reflection signal and the long wave reflection signal of the first near-infrared, the second reflected light letter It number include the second reflection to red light signal, the second near-infrared shortwave reflection signal and long wave reflection signal of the second near-infrared;
According to the first reflection to red light signal and the second reflection to red light signal, the first heart rate value and second heart are obtained Rate value, and when the difference of first heart rate value and second heart rate value is less than or equal to preset value, to described first Reflected light signal and second reflected light signal carry out integration and secondary noise reduction process obtains target reflecting light signal, the mesh Mark reflected light signal includes target reflection to red light signal, target near-infrared shortwave reflection signal and the long wave reflection letter of target near-infrared Number;
Analyze the heart rate that the target reflection to red light signal obtains the TWS earphone wearer;And according to the target Reflection to red light signal and the target near-infrared shortwave reflect signal, obtain the blood oxygen levels of the TWS earphone wearer;And root Signal and the long wave reflection signal of the target near-infrared are reflected according to the target near-infrared shortwave, the TWS earphone is obtained and wears The blood glucose value of person.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the analysis target feux rouges After reflection signal obtains the heart rate of the TWS earphone wearer, the method also includes:
Judge whether the heart rate of the TWS earphone wearer is in default heart rate interval, if being not in the default heart Rate section, exports the first information warning, and first information warning is used to warn the heart rate of the TWS earphone wearer abnormal;
It is described that signal is reflected according to the target reflection to red light signal and the target near-infrared shortwave, obtain the TWS After the blood oxygen levels of earphone wearer, the method also includes:
Judge whether the blood oxygen levels of the TWS earphone wearer are in default blood oxygen levels section, if be not in described pre- If blood oxygen levels section, the second information warning is exported, second information warning is used to warn the blood oxygen of the TWS earphone wearer Value is abnormal.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
Blood glucose information of the TWS earphone wearer in preset duration is obtained, the blood glucose information includes at least All blood glucose values detected in preset duration are stated, and the TWS earphone wearer is directed to according to blood glucose information output Dietary recommendation, and according to the blood glucose information output be directed to the TWS earphone wearer exercise suggestion.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described according to the blood glucose information Output is directed to the dietary recommendation of the TWS earphone wearer, including:
Identify that TWS earphone wearer's blood glucose value is in some time of ascendant trend from the blood glucose information, And obtain the blood glucose increment of each period in some time;
According to the blood glucose increment corresponding with the period of the duration of each period in some time, synthesis is commented Estimate the eating habit of the TWS earphone wearer, and exports the dietary recommendation for being directed to the eating habit.
Second aspect of the embodiment of the present invention discloses a kind of bio signal detection device, the bio signal detection device packet It includes:
Acquiring unit, for passing through the main ear in the case where the main earphone and the set of headphones are in clock synchronous regime Machine and the set of headphones emit detection optical signal, and the institute that the acquisition main earphone and the set of headphones detect respectively respectively State the corresponding reflected light signal of detection optical signal;
Analytical unit, for analyze the main headset detection to reflected light signal and the reflection that detects of the set of headphones Optical signal obtains the bio signal of the TWS earphone wearer.
As an alternative embodiment, the detection optical signal includes red in second aspect of the embodiment of the present invention Optical signal, near-infrared short-wave signal and near-infrared long-wave signal, the bio signal include at least heart rate, blood oxygen levels and blood glucose Value, the analytical unit include:
First processing subelement, for the main headset detection to reflected light signal and the set of headphones detect Reflected light signal carries out noise reduction and filtering processing respectively, obtains the first reflected light signal and the second reflected light signal, and described first Reflected light signal includes the first reflection to red light signal, the first near-infrared shortwave reflection signal and the long wave reflection letter of the first near-infrared Number, second reflected light signal includes the second reflection to red light signal, the second near-infrared shortwave reflection signal and the second near-infrared Long wave reflection signal;
Second processing subelement, for obtaining according to the first reflection to red light signal and the second reflection to red light signal To the first heart rate value and the second heart rate value, and when the difference of first heart rate value and second heart rate value is less than or equal to When preset value, integration is carried out to first reflected light signal and second reflected light signal and secondary noise reduction process obtains mesh Mark reflected light signal, the target reflecting light signal include target reflection to red light signal, target near-infrared shortwave reflection signal and The long wave reflection signal of target near-infrared;
Subelement is analyzed, the heart rate of the TWS earphone wearer is obtained for analyzing the target reflection to red light signal;With And signal is reflected according to the target reflection to red light signal and the target near-infrared shortwave, obtain the TWS earphone wearer Blood oxygen levels;And signal and the long wave reflection signal of the target near-infrared are reflected according to the target near-infrared shortwave, it obtains The blood glucose value of the TWS earphone wearer.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the bio signal detection device Further include:
First alarm unit obtains the TWS for analyzing the target reflection to red light signal in the analysis subelement After the heart rate of earphone wearer, judge whether the heart rate of the TWS earphone wearer is in default heart rate interval, if do not located In the default heart rate interval, the first information warning is exported, first information warning is for warning the TWS earphone wearer Heart rate it is abnormal;
Second alarm unit, for close according to the target reflection to red light signal and the target in the analysis subelement Infrared shortwave reflects signal, after the blood oxygen levels for obtaining the TWS earphone wearer, judges the blood of the TWS earphone wearer Whether oxygen value is in default blood oxygen levels section, if being not in the default blood oxygen levels section, exports the second information warning, described Second information warning is used to warn the blood oxygen levels of the TWS earphone wearer abnormal.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the acquiring unit is also used to obtain Blood glucose information of the TWS earphone wearer in preset duration is taken, the blood glucose information, which includes at least, the preset duration All blood glucose values inside detected;
The bio signal detection device further includes:
Output unit, for the dietary recommendation according to blood glucose information output for the TWS earphone wearer, and The exercise suggestion of the TWS earphone wearer is directed to according to blood glucose information output.
As an alternative embodiment, the output unit is used for basis in second aspect of the embodiment of the present invention Blood glucose information output is specially for the mode of the dietary recommendation of the TWS earphone wearer:
The output unit rises for identifying that TWS earphone wearer's blood glucose value is in from the blood glucose information The some time of trend, and obtain the blood glucose increment of each period in some time;And according to described The duration of each period blood glucose increment corresponding with the period in some time, TWS earphone described in comprehensive assessment are worn The eating habit of wearer, and export the dietary recommendation for being directed to the eating habit.
The third aspect of the embodiment of the present invention discloses a kind of electronic equipment, including:
The bio signal detection device that second aspect of the present invention is introduced.
Fourth aspect of the embodiment of the present invention discloses a kind of electronic equipment, it may include:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes first aspect present invention Some or all of any one method step.
The 5th aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, described Computer program includes the instruction of some or all of any one method for executing first aspect present invention step.
The 6th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine, so that the computer executes some or all of any one method of first aspect step.
The aspect of the embodiment of the present invention the 7th disclose a kind of using distribution platform, and the application distribution platform is for publication calculating Machine program product, wherein when the computer program product is run on computers, so that the computer executes first party Some or all of any one method in face step.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, when the main earphone and set of headphones of TWS earphone are under clock synchronous regime, pass through main earphone Emit respectively with set of headphones and detect optical signal, and the detection optical signal that the main earphone of acquisition and set of headphones detect respectively is corresponding Reflected light signal;Analyze main headset detection to reflected light signal and the reflected light signal that detects of set of headphones, obtain the TWS ear The bio signal of machine wearer.By implementing the embodiment of the present invention, the detection optical signal of main earphone is by TWS earphone wearer's skin Skin tissue and blood transmitting after absorbing and scattering, obtain the reflected light that can analyze out TWS earphone wearer's bio signal Signal similarly emits the detection available reflection for analyzing TWS earphone wearer's bio signal of optical signal using set of headphones Optical signal, analyze main headset detection to reflected light signal and the reflected light signal that detects of set of headphones, the bio signal of acquisition Comprehensive TWS earphone wearer's ears obtain, and can effectively improve the accuracy of detection bio signal.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of bio signal detection method based on TWS earphone disclosed by the embodiments of the present invention;
Fig. 2 is the process signal of another bio signal detection method based on TWS earphone disclosed by the embodiments of the present invention Figure;
Fig. 3 is a kind of structural schematic diagram of bio signal detection device disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another bio signal detection device disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " includes " " having " and their any deformations in the embodiment of the present invention and attached drawing, It is intended to cover and non-exclusive includes.Such as it contains the process, method of a series of steps or units, system, product or sets It is standby to be not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or optionally It further include the other step or units intrinsic for these process, methods, product or equipment.
The embodiment of the present invention discloses a kind of bio signal detection method and device based on TWS earphone, can be improved biology The accuracy rate of signal detection.It should be noted that the TWS earphone includes main earphone and the set of headphones that connect with the main earphone, And main earphone and set of headphones can mutually convert, i.e., main earphone can be changed into set of headphones when reaching a certain condition, then auricular appendage It is main earphone that machine, which can correspond to conversion, which can be the electricity of main earphone lower than a certain power threshold or main earphone Continue working duration greater than a certain fixed duration etc..In the embodiment of the present invention, the main earphone and mutually converting for set of headphones can It is converted with being controlled by main earphone, conversion can also be controlled by the electronic equipment that the main earphone with TWS earphone is connect, the present invention is implemented Example is without limitation.Wherein, the main earphone of the TWS earphone can be connected with set of headphones with bluetooth approach, and carry out main earphone and pair The clock synchronous adjustment of earphone, to ensure the two in clock synchronous regime.It can be on the main earphone and set of headphones of the TWS earphone It is respectively arranged with illuminating source, photoelectric sensor and accelerometer, so that main earphone and set of headphones can shine by respective Light source transmitting detection optical signal also can use respective photoelectric sensor by analog-to-digital conversion and get respective detection light letter Reflected light signal corresponding to number can also detect the motion frequency of TWS earphone wearer two sides by respective accelerometer.
It should be noted that in embodiments of the present invention, being somebody's turn to do the execution master of the bio signal detection method based on TWS earphone Body can be the electronic equipment connecting with the main earphone of TWS earphone, or the main earphone of TWS earphone.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of bio signal detection method based on TWS earphone disclosed by the embodiments of the present invention Flow diagram.As shown in Figure 1, being somebody's turn to do the bio signal detection method based on TWS earphone may comprise steps of:
101, in the case where main earphone and set of headphones are in clock synchronous regime, detection is emitted by main earphone and set of headphones respectively Optical signal, and the corresponding reflected light signal of detection optical signal that the main earphone of acquisition and set of headphones detect respectively.
In embodiments of the present invention, the detection optical signal that main earphone is emitted is used to enter skin, by skin histology and blood Liquid reflection after absorbing and scattering, turns again to main earphone, the reflection signal that main earphone will test is as master in reflection The corresponding reflected light signal of detection optical signal of earphone.Similarly, the detection optical signal that set of headphones is emitted is used to enter skin, quilt Skin histology and blood reflection after absorbing and scattering, turn again to set of headphones, set of headphones will test anti-in reflection Penetrate detection optical signal corresponding reflected light signal of the signal as set of headphones.Wherein, the reflection that main earphone or set of headphones obtain Optical signal is the optical signal for detecting optical signal and obtaining after user's skin histology and blood reflection.
Main earphone and set of headphones emit detection optical signal by main earphone and get reflected light under clock synchronous regime Except signal, also the reflected light that set of headphones emits detection optical signal and obtains set of headphones from set of headphones will be controlled by main earphone Signal, and execute step 102.In this embodiment, it is only realized by the main earphone of the TWS earphone and set of headphones to acquisition The detection of the bio signal of TWS earphone wearer, can effectively improve the user experience of the TWS earphone.
Optionally, it can also detect whether to receive bio signal detection instruction, if connect before executing step 101 The bio signal detection instruction is received, main earphone transmitting detection optical signal is controlled and set of headphones transmitting detection is controlled by main earphone Optical signal (as opened illuminating source and photoelectric sensor).It in the embodiment, can be executed by electronic equipment, TWS ear Machine is only used for obtaining the reflected light signal of main earphone and the reflected light signal of set of headphones, and the function of TWS earphone also can be effectively reduced Consumption achievees the purpose that in addition to this step 102 can be transferred to electronic equipment to execute by the standby time for extending the TWS earphone, Performance requirement for TWS earphone be not it is very high, the manufacturing cost of the TWS earphone, while the place of electronic equipment can also be reduced Managing speed can be higher than earphone, can further increase processing speed.Further, electronic equipment refers to the transmission control of main earphone Before order, synchronic command can also be sent to main earphone, so that main earphone and set of headphones carry out clock synchronous adjustment.
102, analyze main headset detection to reflected light signal and the reflected light signal that detects of set of headphones, obtain TWS ear The bio signal of machine wearer.
By executing step 101~step 102, main earphone and set of headphones emit detection optical signal, the inspection of main earphone respectively After light signal, is absorbed and scattered the TWS earphone wearer's skin tissue and blood transmitting, being available for analysis should The reflected light signal of TWS earphone wearer's bio signal, the detection optical signal of set of headphones is by the TWS earphone wearer's skin tissue After blood transmitting, absorbing and scattering, also it is available for analyzing the reflected light letter of TWS earphone wearer's bio signal Number, analyze main headset detection to reflected light signal and the reflected light signal that detects of set of headphones, the bio signal of acquisition is comprehensive It closes what TWS earphone wearer's ears obtained, can effectively improve the accuracy of detection bio signal.
Embodiment two
Referring to Fig. 2, Fig. 2 is another bio signal detection method based on TWS earphone disclosed by the embodiments of the present invention Flow diagram.In this embodiment, main earphone and the detection optical signal of set of headphones can all include red signal light, near-infrared The bio signal of short-wave signal and near-infrared long-wave signal, TWS earphone wearer includes at least heart rate, blood oxygen levels and blood glucose Value.As shown in Fig. 2, being somebody's turn to do the bio signal detection method based on TWS earphone may comprise steps of:
201, in the case where main earphone and set of headphones are in clock synchronous regime, detection is emitted by main earphone and set of headphones respectively Optical signal, and the corresponding reflected light signal of detection optical signal that the main earphone of acquisition and set of headphones detect respectively.
In embodiments of the present invention, the detection optical signal that main earphone and set of headphones are emitted may include red signal light, close The illuminating source of infrared short-wave signal and near-infrared long-wave signal, main earphone and set of headphones can launch a certain fixed wave simultaneously The near-infrared shortwave (780nm~1100nm) and a certain fixed wave of long feux rouges (620nm~760nm), a certain fixed wave length Long near-infrared long wave (1100nm~2526nm).Optionally, which can be by three kinds of light emitting diode (Light- Emitting Diode, LED) composition, these three light emitting diodes are the light emitting diode for emitting feux rouges, transmitting near-infrared respectively The light emitting diode of shortwave, and the light emitting diode of transmitting near-infrared long wave.It should be noted that in the embodiment of the present invention In, it can be pre- for forming the wavelength of feux rouges, near-infrared shortwave and near-infrared long wave that three kinds of LED of illuminating source are emitted First set.
202, to main headset detection to reflected light signal and the reflected light signal that detects of set of headphones carry out noise reduction respectively And filtering processing, the first reflected light signal and the second reflected light signal are obtained, which includes that the first feux rouges is anti- Signal, the first near-infrared shortwave reflection signal and the long wave reflection signal of the first near-infrared are penetrated, the second reflected light signal includes second Reflection to red light signal, the second near-infrared shortwave reflection signal and the long wave reflection signal of the second near-infrared.
It should be noted that in embodiments of the present invention, being filtered to the reflected light signal of main earphone or set of headphones Processing includes:Noise reduction process is carried out by reflected light signal of the median filtering to main earphone, obtains the first noise reduction reflected light signal, Noise reduction process is carried out with by reflected light signal of the median filtering to set of headphones, obtains the second noise reduction reflected light signal;Using small Wave conversion removes the baseline drift of the first noise reduction reflected light signal, obtains the first transformation reflected light signal, and utilize wavelet transformation The baseline drift for removing the second noise reduction reflected light signal obtains the second transformation reflected light signal;Obtain main earphone and set of headphones The first motion frequency and the second motion frequency that accelerometer detects are believed according to the first motion frequency from the first transformation reflected light The first motion frequency is filtered out in number, obtains the first reflected light signal, and believe from the second transformation reflected light according to the second motion frequency The second motion frequency is filtered out in number, obtains the second reflected light signal.Reflection by implementing which, to main earphone and set of headphones Optical signal carries out noise reduction process, and environment light, photosensor noise, surrounding magnetic field etc. can be effectively reduced to main earphone and auricular appendage The influence of machine reflected light signal;The reflected light signal of main earphone and set of headphones is filtered, TWS ear can be effectively reduced Influence of the wearing factors such as tightness and muscular movement of machine to main earphone and set of headphones reflected light signal.
In embodiments of the present invention, can also implement using 201~step 202 of other embodiments replacement step is described Example, as an alternative embodiment, electronic equipment obtains the first reflected light signal and the second reflected light signal from main earphone, It is appreciated that the second reflected light signal is sent to main earphone after getting the second reflected light signal by set of headphones.Further Ground, electronic equipment can send the instruction of the first signal processing to main earphone, so that winner's earphone is receiving at first signal The first reflected light signal and the second reflected light signal are fed back into electronic equipment after reason instruction.Optionally, main earphone is receiving First reflected light signal and the second reflected light signal are fed back to the mode of electronic equipment after to first signal processing instruction It is specifically as follows:Main earphone when receiving first signal processing instruction, to the reflected light signal of main earphone carry out noise reduction and Filtering processing sends second signal process instruction to set of headphones to obtain the first reflected light signal, and second signal processing refers to Order is used to indicate set of headphones and carries out noise reduction and filtering processing to its reflected light signal to obtain the second reflected light signal, and incites somebody to action To the second reflected light signal be sent to main earphone, main earphone is after receiving the second reflected light signal, to electronic equipment One reflected light signal and the second reflected light signal;Alternatively, main earphone receive first signal processing instruction after, to auricular appendage Machine sends the request instruction for obtaining the reflected light signal of set of headphones, and after getting the reflected light signal of set of headphones, Noise reduction is carried out to the reflected light signal of the reflected light signal of the main earphone and set of headphones simultaneously and filtering processing obtains the first reflection Optical signal and the second reflected light signal, and to the first reflected light signal of electronic equipment and the second reflected light signal.
203, according to the first reflection to red light signal and the second reflection to red light signal, the first heart rate value and the second heart rate are obtained Value, and when the difference of the first heart rate value and the second heart rate value is less than or equal to preset value, to the first reflected light signal and the Two reflected light signals carry out integration and secondary noise reduction process obtains target reflecting light signal, which includes target Reflection to red light signal, target near-infrared shortwave reflection signal and the long wave reflection signal of target near-infrared.
In embodiments of the present invention, the first heart rate value, which includes at least, the first palmic rate and the first pace-making time point collection It closes, the second heart rate value, which includes at least, the second palmic rate and the second pace-making time point set, the first pace-making time point set In first pace-making time point number with second pace-making time point set in second pace-making the number at time point it is identical, first pace All first pace-making time points in time point set can arrange according to the chronological order paced, similarly, second Pacing all second pace-making time points in time point set can also arrange according to the chronological order that pace-making occurs occurs, First pace-making time point gathered the second pace-making for the first included pace-making time point being included with the second pace-making time point set Time point, there are corresponding relationships, i.e. the first pace-making time point in same ordinal position and the second pace-making time point is corresponding. So, the first heart rate value and the implementation method of the judgement of the difference of the second heart rate value and the relationship of preset value can be, and judge Whether the frequency difference of one palmic rate and the second palmic rate is in default heartbeat difference range, if in default heartbeat In difference range, the time difference at each first pace-making time point and the second corresponding pace-making time point, Yi Jigen are obtained Mean difference is calculated according to each time difference for getting, when mean difference is less than or equal to preset difference value, then determines the The difference of one heart rate value and the second heart rate value is less than or equal to preset value.
Photoelectric sensor on main earphone and set of headphones can to respectively to the reflected light signal intensity respectively detected into Row record, to form the first reflected light signal intensity information and the second reflected light signal intensity information, wherein first reflected light It may include having the first reflection to red light signal strength information, the first near-infrared shortwave reflected signal strength letter in signal strength information Breath and the first near-infrared long wave reflected signal strength information, may include in the second reflected light signal intensity information have it is second red Light reflected signal strength information, the second near-infrared shortwave reflected signal strength information and the second near-infrared long wave reflected signal strength Information.Wherein, which can be to be used to indicate the first reflection to red light change in signal strength First curve graph, the same second reflection to red light signal strength information can be to be used to indicate the change of the second reflection to red light signal strength The second curve graph changed identifies all tie points of the first curve graph convex curves and concave curve as the first tie point coordinate Collect, includes all first tie point coordinates in first curve graph in the first tie point coordinate set, each first connection Point coordinate all includes to indicate the ordinate (perpendicular to the direction of horizontal plane) of the first reflection to red light signal strength, and instruction should The abscissa (direction for being parallel to horizontal plane) at the first reflection to red light signal strength time point records of all first tie points Number is used as the first palmic rate, and the abscissa of all first tie points, similarly, can be with same as the first pace-making time point set The second palmic rate and the second pace-making time point set is calculated according to the second curve graph in the method for sample.
204, analysis target reflection to red light signal obtains the heart rate of TWS earphone wearer.
In embodiments of the present invention, target reflection to red light signal strength letter can be obtained according to target reflection to red light signal Breath, the target reflection to red light signal strength information can be third curve graph, can according to the acquisition methods of the first heart rate value, from The heart rate of the TWS earphone wearer is obtained in third curve graph.
205, judge whether the heart rate of TWS earphone wearer is in default heart rate interval, if not, executing step 206;Such as Fruit is to terminate this process.
206, the first information warning is exported, first information warning is used to warn the heart rate of the TWS earphone wearer It is abnormal.
207, signal is reflected according to target reflection to red light signal and target near-infrared shortwave, obtains TWS earphone wearer's Blood oxygen levels.
In embodiments of the present invention, signal is reflected according to target reflection to red light signal and target near-infrared shortwave, obtains TWS The blood oxygen levels of earphone wearer may include:
Fourier transformation is carried out to target reflection to red light signal and obtains the first slowly varying DC component (DC1) and first The AC compounent (AC1) of pulsation transformation, and second is obtained to target near-infrared shortwave reflection signal progress Fourier transformation and is delayed Slowly the AC compounent (AC2) of the DC component (DC2) changed and the second pulsation transformation, and counted according to AC1, DC1, AC2 and DC2 Calculate the blood oxygen levels of TWS earphone wearer, wherein blood oxygen levels=A+BR, blood oxygen coefficient R=(AC1/DC1)/(AC2/ DC2), A and B is calibration constant.
208, judge whether the blood oxygen levels of TWS earphone wearer are in default blood oxygen levels section, if not, executing step 209;If so, terminating this process.
209, the second information warning is exported, which is used to warn the blood oxygen levels of the TWS earphone wearer It is abnormal.
It, can be in the heart of TWS earphone wearer by executing step 205~step 206 and step 208~step 209 When rate is not in default heart rate interval, the first information warning for warning the heart rate exception of TWS earphone wearer is exported, and When the blood oxygen levels of TWS earphone wearer are not in default blood oxygen levels section, the blood oxygen for warning TWS earphone wearer is exported It is worth the second abnormal information warning, this implementation method can be in order to abnormal feelings that TWS earphone wearer knows heart rate and blood oxygen Condition, and corresponding adjustment movement is made for abnormal conditions, unexpected probability occurs so as to be effectively reduced.
210, signal and the long wave reflection signal of target near-infrared are reflected according to target near-infrared shortwave, obtains TWS earphone and wears The blood glucose value of wearer.
In embodiments of the present invention, signal and the long wave reflection signal of target near-infrared are reflected according to target near-infrared shortwave, Obtain TWS earphone wearer blood glucose value, may include:
Fourier transformation is carried out to target near-infrared shortwave reflection signal and obtains the second slowly varying DC component (DC2) The AC compounent (AC2) converted with the second pulsation, and Fourier transformation is carried out to the long wave reflection signal of target near-infrared and is obtained The AC compounent (AC3) of the slowly varying DC component of third (DC3) and third pulsation transformation, and utilize AC2, DC2, AC3 The blood glucose value of TWS earphone wearer is obtained with DC3.Wherein, blood glucose related coefficient=(AC2/DC2)/(AC3/DC3).
211, blood glucose information of the TWS earphone wearer in preset duration is obtained, the blood glucose information is default including at least having All blood glucose values detected in duration.
212, the dietary recommendation of TWS earphone wearer is directed to according to the output of above-mentioned blood glucose information, and according to above-mentioned blood glucose Information output is directed to the exercise suggestion of TWS earphone wearer.
In embodiments of the present invention, the dietary recommendation of TWS earphone wearer is directed to according to the output of above-mentioned blood glucose information, it can be with Including:
Identify that TWS earphone wearer's blood glucose value is in some time of ascendant trend from above-mentioned blood glucose information, and Obtain the blood glucose increment of each period in some time.
According to the duration of each period in some time blood glucose increment corresponding with the period, comprehensive assessment The eating habit of TWS earphone wearer, and export the dietary recommendation for being directed to the eating habit.
As an alternative embodiment, in embodiments of the present invention, according to each period in some time Duration blood glucose increment corresponding with the period, the eating habit of comprehensive assessment TWS earphone wearer, and export be directed to the drink The dietary recommendation of dietary habits may include:
The average increment a for calculating the unit time of blood glucose in each period in some time, rises if blood glucose is in The number of the period of trend be n, then, in some time in each period the unit time of blood glucose average increment It can be expressed as a1, a2, a3 ... an, and calculate comprehensive unit blood glucose increment using a1, a2, a3 ... an.Wherein, comprehensive unit Blood glucose increment=(a1+a2+a3 ...+an)/n, and judge whether comprehensive unit blood glucose increment is greater than default blood glucose increment, if More than or equal to the first default blood glucose increment, then the first prompt information is exported, first prompt information is for prompting the TWS earphone The sugar of wearer's diet intake is excessive, if it is less than or equal to the second default blood glucose increment, then exports the second prompt information, should The sugar that second prompt information is used to that TWS earphone wearer's diet to be prompted to take in is very few, wherein the first default blood glucose increment is big In the second default blood glucose increment.
In embodiments of the present invention, the exercise suggestion of TWS earphone wearer is directed to according to the output of above-mentioned blood glucose information, it can be with Including:
Identify that TWS earphone wearer's blood glucose value is in some time of downward trend from above-mentioned blood glucose information, and Obtain the blood glucose reduction amount of each period in some time.
According to the duration of each period in some time blood glucose reduction amount corresponding with the period, comprehensive assessment The movement effects of TWS earphone wearer, and export the exercise suggestion for being directed to the movement effects.
As an alternative embodiment, in embodiments of the present invention, according to each period in some time Duration blood glucose reduction amount corresponding with the period, the movement effects of comprehensive assessment TWS earphone wearer, and export for should The exercise suggestion of movement effects may include:
The average drop amount b of the unit time of blood glucose in each period in some time is calculated, if blood glucose, which is in, to be reduced The number of the period of trend be n, then, in some time in each period the unit time of blood glucose average reduction Amount can be expressed as b1, b2, b3 ... bn, and calculate comprehensive unit blood glucose reduction amount using b1, b2, b3 ... bn.Wherein, comprehensive Unit blood glucose reduction amount=(b1+b2+b3 ...+bn)/n, and judge whether comprehensive unit blood glucose reduction amount is greater than default blood glucose Reduction amount then exports third prompt information, which is used for if it is greater than or equal to the first default blood glucose reduction amount It prompts the exercise intensity of the TWS earphone wearer excessive, if it is less than or equal to the second default blood glucose reduction amount, then exports the 4th Prompt information, the 4th prompt information is for prompting the exercise intensity of the TWS earphone wearer too small, wherein the first default blood Sugared reduction amount is greater than the second default blood glucose reduction amount.
As an alternative embodiment, in embodiments of the present invention, the blood glucose information that step 206 is got can be Change of blood sugar curve graph in above-mentioned preset duration can intuitively identify that blood glucose value is in from the change of blood sugar curve graph The some time of ascendant trend, and each section of corresponding blood glucose increment in some time is calculated, it can also be intuitive Ground identifies that blood glucose value is in some time of downward trend, and calculates each section of corresponding blood in some time Sugared reduction amount.
By executing step 211~step 212, TWS can be directed to by the blood glucose information in analysis preset duration, output The dietary recommendation of earphone wearer and exercise suggestion, to instruct, TWS earphone wearer forms reasonable feeding habits and movement is practised It is used.
In embodiments of the present invention, step 204~step 206, step 207~step 209 and step 210 can be sent out Raw any position after step 203, flow chart shown in Fig. 2 is only a kind of flow example.
By the above-mentioned implementation method of implementation, the accurate detection of bio signal to TWS earphone wearer may be implemented, It can achieve the purpose for extending the standby time of the TWS earphone, the manufacturing cost of the TWS earphone can also be reduced, can also be mentioned The user experience of the high TWS earphone, can also be effectively reduced environment light, photosensor noise, surrounding magnetic field, TWS earphone Influence of the wearing factors such as tightness and muscular movement to main earphone and set of headphones reflected light signal, can also be convenient for TWS earphone wearer knows the abnormal conditions of heart rate and blood oxygen, and makes corresponding adjustment movement for abnormal conditions, so as to Unexpected probability occurs to be effectively reduced, TWS earphone wearer can also be instructed to form reasonable feeding habits and exercise habit.
Embodiment three
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of bio signal detection device disclosed by the embodiments of the present invention.Such as Shown in Fig. 3, which may include:
Acquiring unit 301, for passing through main earphone and set of headphones in the case where main earphone and set of headphones are in clock synchronous regime Transmitting detection optical signal respectively, and the corresponding reflected light letter of detection optical signal that the main earphone of acquisition and set of headphones detect respectively Number.
In embodiments of the present invention, acquiring unit 301 can be used for receiving the reflected light for the main earphone that main earphone is sent The reflected light signal of signal and set of headphones.Optionally, acquiring unit 301 can be also used for when main earphone and set of headphones are in Under clock synchronous regime, detect whether to receive bio signal detection instruction, if receiving the bio signal detection instruction, according to Bio signal detection instruction, which controls main earphone transmitting detection optical signal and controls set of headphones by the main earphone, emits detection light letter Number (as opened illuminating source and photoelectric sensor).
Analytical unit 302, for analyze main headset detection to reflected light signal and set of headphones detect reflected light letter Number, obtain the bio signal of TWS earphone wearer.
This to implement above-mentioned bio signal detection device, it is more accurate to the bio signal of TWS earphone wearer to may be implemented Detection.
Example IV
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another bio signal detection device disclosed by the embodiments of the present invention. Bio signal detection device shown in Fig. 4 is that bio signal detection device as shown in Figure 3 optimizes, shown in Fig. 4 In bio signal detection device, the detection optical signal that acquiring unit 301 is emitted respectively by main earphone and set of headphones includes feux rouges Signal, near-infrared short-wave signal and near-infrared long-wave signal are emitted for acquiring unit 301 by set of headphones and main earphone respectively The description for detecting optical signal please refers to the description that step 201 is directed in embodiment two, and the embodiment of the present invention repeats no more, and analyzes The bio signal that unit 302 obtains includes at least heart rate, blood oxygen levels and blood glucose value, as shown in figure 4, bio signal detection dress Analytical unit 302 in setting may include:
First processing subelement 3021, for main headset detection to reflected light signal and the reflection that detects of set of headphones Optical signal carries out noise reduction and filtering processing respectively, obtains the first reflected light signal and the second reflected light signal, the first reflected light letter It number include the first reflection to red light signal, the first near-infrared shortwave reflection signal and long wave reflection signal of the first near-infrared, second is anti- Penetrating optical signal includes the second reflection to red light signal, the second near-infrared shortwave reflection signal and the long wave reflection signal of the second near-infrared.
In embodiments of the present invention, the reflected light signal and pair that the first processing subelement 3021 is used to arrive main headset detection Headset detection to reflected light signal carry out noise reduction and filtering processing respectively, obtain the first reflected light signal and the second reflected light letter Number mode be specifically as follows:
First processing subelement 3021, for carrying out noise reduction process by reflected light signal of the median filtering to main earphone, It obtains the first noise reduction reflected light signal, and noise reduction process is carried out by reflected light signal of the median filtering to set of headphones, obtain the Two noise reduction reflected light signals;The baseline drift that the first noise reduction reflected light signal is removed using wavelet transformation, it is anti-to obtain the first transformation Optical signal is penetrated, and removes the baseline drift of the second noise reduction reflected light signal using wavelet transformation, obtains the second transformation reflected light letter Number;The first motion frequency and the second motion frequency that the accelerometer of main earphone and set of headphones detects are obtained, according to the first fortune Dynamic frequency filters out the first motion frequency from the first transformation reflected light signal, obtains the first reflected light signal, and according to the second fortune Dynamic frequency filters out the second motion frequency from the second transformation reflected light signal, obtains the second reflected light signal.By implementing the party Formula carries out noise reduction process to the reflected light signal of main earphone and set of headphones, environment light can be effectively reduced, photoelectric sensor is made an uproar The influence to main earphone and set of headphones reflected light signal such as sound, surrounding magnetic field;To the reflected light signal of main earphone and set of headphones into Row filtering processing, can be effectively reduced the factors such as wearing tightness and the muscular movement of TWS earphone to main earphone and set of headphones The influence of reflected light signal.
As an alternative embodiment, in embodiments of the present invention, the first processing subelement 3021 can be obtained directly Corresponding first reflected light signal of the detection optical signal of main earphone is taken, and obtains the detection optical signal corresponding second of set of headphones Reflected light signal.First processing subelement 3021, can be also used for being instructed according to the first signal processing, be got by main earphone First reflected light signal and the second reflected light signal.Further alternative, main earphone gets the first reflected light signal and second The mode of reflected light signal is specifically as follows:It, can be to the anti-of the main earphone when main earphone is instructed according to the first signal processing It penetrates and sends second signal processing to set of headphones while optical signal carries out noise reduction and filtering processing to obtain the first reflected light signal Instruction, the second signal process instruction are used to indicate set of headphones and carry out noise reduction and filtering processing to its reflected light signal to obtain the Two reflected light signals, and the second obtained reflected light signal is sent to main earphone;Alternatively, main earphone is according to first signal After process instruction, the request instruction for obtaining the reflected light signal of set of headphones is sent to set of headphones, and getting auricular appendage After the reflected light signal of machine, while the reflected light signal to the main earphone and the reflected light signal of set of headphones carry out noise reduction and filter Wave handles to obtain the first reflected light signal and the second reflected light signal.
Second processing subelement 3022, for according to the first reflection to red light signal and the second reflection to red light signal, obtaining the One heart rate value and the second heart rate value, and when the difference of the first heart rate value and the second heart rate value is less than or equal to preset value, it is right First reflected light signal and the second reflected light signal carry out integration and secondary noise reduction process obtains target reflecting light signal, the target Reflected light signal includes target reflection to red light signal, target near-infrared shortwave reflection signal and the long wave reflection letter of target near-infrared Number.
In embodiments of the present invention, second processing subelement 3022 obtains the specific reality of the first heart rate value and the second heart rate value Existing method, please refers to the detailed description that step 203 is directed in embodiment two, and the embodiment of the present invention repeats no more.
Subelement 3023 is analyzed, the heart rate of TWS earphone wearer is obtained for analyzing target reflection to red light signal;And root Signal is reflected according to target reflection to red light signal and target near-infrared shortwave, obtains the blood oxygen levels of TWS earphone wearer;And according to Target near-infrared shortwave reflects signal and the long wave reflection signal of target near-infrared, obtains the blood glucose value of TWS earphone wearer.
In embodiments of the present invention, analysis subelement 3023 obtains heart rate, blood oxygen levels and the blood glucose value of TWS earphone wearer Specific implementation, please refer in embodiment two for step 204, step 207 and step 210, the embodiment of the present invention is not It repeats again.
Optionally, which can also include:
First alarm unit 303 obtains TWS earphone pendant for analyzing target reflection to red light signal in analysis subelement 3023 After the heart rate of wearer, judge whether the heart rate of TWS earphone wearer is in default heart rate interval, if being not in the default heart Rate section, exports the first information warning, which is used to warn the heart rate of TWS earphone wearer abnormal.
Second alarm unit 304, for analyzing subelement 3023 according to target reflection to red light signal and target near-infrared Shortwave reflects signal, after the blood oxygen levels for obtaining TWS earphone wearer, judges whether the blood oxygen levels of TWS earphone wearer are in Default blood oxygen levels section exports the second information warning, which is used for if being not in the default blood oxygen levels section Warn the blood oxygen levels of TWS earphone wearer abnormal.
Further, optionally, the acquiring unit 301 in the bio signal detection device can be also used for obtaining TWS earphone Blood glucose information of the wearer in preset duration, which, which includes at least, all blood glucose detected in the preset duration Value.
The bio signal detection device can also include:
Output unit 305, for the dietary recommendation according to the output of above-mentioned blood glucose information for TWS earphone wearer, and The exercise suggestion of TWS earphone wearer is directed to according to the output of above-mentioned blood glucose information.
In embodiments of the present invention, output unit 305 is used to be directed to TWS earphone wearer according to the output of above-mentioned blood glucose information The mode of dietary recommendation be specifically as follows:
Output unit 305, for identifying that TWS earphone wearer's blood glucose value is in ascendant trend from above-mentioned blood glucose information Some time, and obtain the blood glucose increment of each period in some time;And according to some time In each period duration blood glucose increment corresponding with the period, the eating habit of comprehensive assessment TWS earphone wearer, And export the dietary recommendation for being directed to the eating habit.
It is further alternative, when output unit 305 is used for according to the duration of each period in some time with this Between the corresponding blood glucose increment of section, the eating habit of comprehensive assessment TWS earphone wearer, and export be directed to the eating habit diet It is recommended that mode be specifically as follows:Output unit 305, for calculating in some time in each period when the unit of blood glucose Between average increment a, if blood glucose be in the period of ascendant trend number be n, then, each time in some time The average increment of the unit time of blood glucose can be expressed as a1, a2, a3 ... an in section, and comprehensive using a1, a2, a3 ... an calculating Close unit blood glucose increment.Wherein, comprehensive unit blood glucose increment=(a1+a2+a3 ...+an)/n, and judge comprehensive unit blood glucose Whether increment is greater than default blood glucose increment, if it is greater than or equal to the first default blood glucose increment, then exports the first prompt information, should The sugar that first prompt information is used to that TWS earphone wearer's diet to be prompted to take in is excessive, presets if it is less than or equal to second Blood glucose increment then exports the second prompt information, the sugar which is used to that TWS earphone wearer's diet to be prompted to take in Divide very few, wherein the first default blood glucose increment is greater than the second default blood glucose increment.
In embodiments of the present invention, output unit 305 is used to be directed to TWS earphone wearer according to the output of above-mentioned blood glucose information The mode of exercise suggestion be specifically as follows:
Output unit 305, for identifying that TWS earphone wearer's blood glucose value is in downward trend from above-mentioned blood glucose information Some time, and obtain the blood glucose reduction amount of each period in some time;And according in some time The duration of each period blood glucose reduction amount corresponding with the period, the movement effects of comprehensive assessment TWS earphone wearer, And export the exercise suggestion for being directed to the movement effects.
It is further alternative, in embodiments of the present invention, output unit 305 be used for according in some time each when Between section duration blood glucose reduction amount corresponding with the period, the movement effects of comprehensive assessment TWS earphone wearer, and export needle The mode of the exercise suggestion of the movement effects is specifically as follows:Output unit 305, for calculating per a period of time in some time Between in section the unit time of blood glucose average drop amount b, if the number that blood glucose is in the period of decreasing trend is n, then, if should The average reduction amount of the unit time of blood glucose can be expressed as b1, b2, b3 ... bn, Yi Jili in each period in the dry period Comprehensive unit blood glucose reduction amount is calculated with b1, b2, b3 ... bn.Wherein, comprehensive unit blood glucose reduction amount=(b1+b2+b3 ...+ Bn)/n, and judge whether comprehensive unit blood glucose reduction amount is greater than default blood glucose reduction amount, it is preset if it is greater than or equal to first Blood glucose reduction amount then exports third prompt information, which is used to prompt the exercise intensity of the TWS earphone wearer It is excessive, if it is less than or equal to the second default blood glucose reduction amount, then the 4th prompt information is exported, the 4th prompt information is for mentioning Show that the exercise intensity of the TWS earphone wearer is too small, wherein the first default blood glucose reduction amount, which is greater than the second default blood glucose, to be reduced Amount.
As an alternative embodiment, in embodiments of the present invention, the blood glucose information that acquiring unit 301 is got can Think the change of blood sugar curve graph in above-mentioned preset duration, can intuitively identify blood glucose value from the change of blood sugar curve graph Some time in ascendant trend, and calculate each section of corresponding blood glucose increment in some time, can also be with It intuitively identifies that blood glucose value is in some time of downward trend, and calculates each section of correspondence in some time Blood glucose reduction amount.
In embodiments of the present invention, output unit 305 is directed to TWS by the blood glucose information in analysis preset duration, output The dietary recommendation of earphone wearer and exercise suggestion, to instruct, TWS earphone wearer forms reasonable feeding habits and movement is practised It is used.
By implementing above-mentioned bio signal detection device, it is more accurate to the bio signal of TWS earphone wearer to may be implemented Detection, also can achieve extend the TWS earphone standby time purpose, the manufacturing cost of the TWS earphone can also be reduced, The user experience of the TWS earphone can also be improved, can also be effectively reduced environment light, photosensor noise, surrounding magnetic field, Influence of the wearing factors such as tightness and muscular movement of TWS earphone to main earphone and set of headphones reflected light signal, may be used also In order to which TWS earphone wearer knows the abnormal conditions of heart rate and blood oxygen, and corresponding adjustment movement is made for abnormal conditions, Unexpected probability occurs so as to be effectively reduced, TWS earphone wearer can also be instructed to form reasonable feeding habits and fortune Dynamic habit.
Embodiment five
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed by the embodiments of the present invention, the electronic equipment It can also include the bio signal detection device described in any embodiment into example IV of embodiment three.As shown in figure 5, should Electronic equipment may include:
It is stored with the memory 501 of executable program code;
The processor 502 coupled with memory 501;
Wherein, processor 502 calls the executable program code stored in memory 501, and it is any one to execute FIG. 1 to FIG. 2 Bio signal detection method of the kind based on TWS earphone.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein the computer Program makes computer execute any one bio signal detection method based on TWS earphone of FIG. 1 to FIG. 2.
The embodiment of the present invention discloses a kind of computer program product, when the computer program product is run on computers When, so that computer executes any one bio signal detection method based on TWS earphone of FIG. 1 to FIG. 2.
The embodiment of the present invention discloses a kind of using distribution platform, this is using distribution platform for issuing computer program production Product, wherein when computer program product is run on computers, any one is based on so that computer executes FIG. 1 to FIG. 2 The bio signal detection method of TWS earphone.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
A kind of bio signal detection method and device based on TWS earphone disclosed by the embodiments of the present invention are carried out above It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, and above-mentioned specific In example the size of step number be not meant to execution sequence it is inevitable successively, the execution sequence of each process should be with its function and interior Determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation in logic.It is above-mentioned as illustrated by the separation member Unit may or may not be physically separated, and can select some or all of units according to the actual needs To achieve the purpose of the solution of this embodiment.
Character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".In reality provided by the present invention It applies in example, it should be appreciated that " B corresponding with A " indicates that B is associated with A, can determine B according to A.It is also to be understood that determining B according to A It is not meant to determine B only according to A, can also determine B according to A and/or other information.In addition, in various embodiments of the present invention In each functional unit can integrate in one processing unit, be also possible to each unit and physically exist alone, can also two A or more than two units are integrated in one unit.Above-mentioned integrated unit both can take the form of hardware realization, can also To realize in the form of software functional units.If above-mentioned integrated unit is realized in the form of SFU software functional unit and as only Vertical product when selling or using, can store in a retrievable memory of computer.Based on this understanding, this hair Bright technical solution substantially the part that contributes to existing technology or the technical solution in other words it is all or part of, It can be embodied in the form of software products, which is stored in a memory, including several requests With so that a computer equipment (can be personal computer, server or network equipment etc., specifically can be computer Processor in equipment) execute some or all of each embodiment above method of the invention step.
The above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this The those skilled in the art in field, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, In conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of bio signal detection method based on true wireless stereo TWS earphone, which is characterized in that the TWS earphone Including main earphone and set of headphones, the method includes:
In the case where the main earphone and the set of headphones are in clock synchronous regime, distinguished by the main earphone and the set of headphones Transmitting detection optical signal, and the detection optical signal that the acquisition main earphone and the set of headphones detect respectively are corresponding Reflected light signal;
Analyze the main headset detection to reflected light signal and the reflected light signal that detects of the set of headphones, described in acquisition The bio signal of TWS earphone wearer.
2. the method according to claim 1, wherein the detection optical signal includes that red signal light, near-infrared are short Wave signal and near-infrared long-wave signal, the bio signal includes at least heart rate, blood oxygen levels and blood glucose value, described in the analysis Main headset detection to reflected light signal and the reflected light signal that detects of the set of headphones, obtain the TWS earphone wearer Bio signal, including:
To the main headset detection to reflected light signal and the reflected light signal that detects of the set of headphones carry out noise reduction respectively And filtering processing, the first reflected light signal and the second reflected light signal are obtained, first reflected light signal includes the first feux rouges Reflect signal, the first near-infrared shortwave reflection signal and the long wave reflection signal of the first near-infrared, the second reflected light signal packet Include the second reflection to red light signal, the second near-infrared shortwave reflection signal and the long wave reflection signal of the second near-infrared;
According to the first reflection to red light signal and the second reflection to red light signal, the first heart rate value and the second heart rate are obtained Value, and when the difference of first heart rate value and second heart rate value is less than or equal to preset value, it is anti-to described first It penetrates optical signal and second reflected light signal carries out integration and secondary noise reduction process obtains target reflecting light signal, the target Reflected light signal includes target reflection to red light signal, target near-infrared shortwave reflection signal and the long wave reflection letter of target near-infrared Number;
Analyze the heart rate that the target reflection to red light signal obtains the TWS earphone wearer;And according to the target feux rouges It reflects signal and the target near-infrared shortwave reflects signal, obtain the blood oxygen levels of the TWS earphone wearer;And according to institute Target near-infrared shortwave reflection signal and the long wave reflection signal of the target near-infrared are stated, obtains the TWS earphone wearer's Blood glucose value.
3. according to the method described in claim 2, it is characterized in that, the analysis target reflection to red light signal obtain it is described After the heart rate of TWS earphone wearer, the method also includes:
Judge whether the heart rate of the TWS earphone wearer is in default heart rate interval, if being not in the default heart rate area Between, the first information warning is exported, first information warning is used to warn the heart rate of the TWS earphone wearer abnormal;
It is described that signal is reflected according to the target reflection to red light signal and the target near-infrared shortwave, obtain the TWS earphone After the blood oxygen levels of wearer, the method also includes:
Judge whether the blood oxygen levels of the TWS earphone wearer are in default blood oxygen levels section, if being not in the default blood Oxygen value section exports the second information warning, and second information warning is for warning the blood oxygen levels of the TWS earphone wearer different Often.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
Blood glucose information of the TWS earphone wearer in preset duration is obtained, the blood glucose information is described pre- including at least having If all blood glucose values detected in duration, and according to blood glucose information output for the drink of the TWS earphone wearer Food is suggested, and the exercise suggestion of the TWS earphone wearer is directed to according to blood glucose information output.
5. according to the method described in claim 4, it is characterized in that, described be directed to the TWS according to blood glucose information output The dietary recommendation of earphone wearer, including:
Identify that TWS earphone wearer's blood glucose value is in some time of ascendant trend from the blood glucose information, and Obtain the blood glucose increment of each period in some time;
According to the blood glucose increment corresponding with the period of the duration of each period in some time, comprehensive assessment institute The eating habit of TWS earphone wearer is stated, and exports the dietary recommendation for being directed to the eating habit.
6. a kind of bio signal detection device, which is characterized in that the bio signal detection device includes:
Acquiring unit, in the case where the main earphone and the set of headphones be in clock synchronous regime, by the main earphone with The set of headphones emits detection optical signal, and the inspection that the acquisition main earphone and the set of headphones detect respectively respectively The corresponding reflected light signal of light signal;
Analytical unit, for analyze the main headset detection to reflected light signal and the set of headphones detect reflected light letter Number, obtain the bio signal of the TWS earphone wearer.
7. bio signal detection device according to claim 6, which is characterized in that the detection optical signal includes feux rouges letter Number, near-infrared short-wave signal and near-infrared long-wave signal, the bio signal includes at least heart rate, blood oxygen levels and blood glucose value, The analytical unit includes:
First processing subelement, for the main headset detection to reflected light signal and the reflection that detects of the set of headphones Optical signal carries out noise reduction and filtering processing respectively, obtains the first reflected light signal and the second reflected light signal, first reflection Optical signal includes the first reflection to red light signal, the first near-infrared shortwave reflection signal and the long wave reflection signal of the first near-infrared, institute Stating the second reflected light signal includes that the second reflection to red light signal, the second near-infrared shortwave reflection signal and the second near-infrared long wave are anti- Penetrate signal;
Second processing subelement, for according to the first reflection to red light signal and the second reflection to red light signal, obtaining the One heart rate value and the second heart rate value, and preset when the difference of first heart rate value and second heart rate value is less than or equal to When value, carrying out integration and secondary noise reduction process to first reflected light signal and second reflected light signal, to obtain target anti- Optical signal is penetrated, the target reflecting light signal includes target reflection to red light signal, target near-infrared shortwave reflection signal and target The long wave reflection signal of near-infrared;
Subelement is analyzed, the heart rate of the TWS earphone wearer is obtained for analyzing the target reflection to red light signal;And root Signal is reflected according to the target reflection to red light signal and the target near-infrared shortwave, obtains the blood of the TWS earphone wearer Oxygen value;And signal and the long wave reflection signal of the target near-infrared are reflected according to the target near-infrared shortwave, described in acquisition The blood glucose value of TWS earphone wearer.
8. bio signal detection device according to claim 7, which is characterized in that the bio signal detection device is also wrapped It includes:
First alarm unit obtains the TWS earphone for analyzing the target reflection to red light signal in the analysis subelement After the heart rate of wearer, judge whether the heart rate of the TWS earphone wearer is in default heart rate interval, if being not in institute Default heart rate interval is stated, the first information warning is exported, first information warning is used to warn the heart of the TWS earphone wearer Rate is abnormal;
Second alarm unit is used in the analysis subelement according to the target reflection to red light signal and the target near-infrared Shortwave reflects signal, after the blood oxygen levels for obtaining the TWS earphone wearer, judges the blood oxygen levels of the TWS earphone wearer Whether in default blood oxygen levels section, if being not in the default blood oxygen levels section, the second information warning of output, described second Information warning is used to warn the blood oxygen levels of the TWS earphone wearer abnormal.
9. bio signal detection device according to claim 7, which is characterized in that the acquiring unit is also used to obtain Blood glucose information of the TWS earphone wearer in preset duration, the blood glucose information, which includes at least, to be had in the preset duration All blood glucose values detected;
The bio signal detection device further includes:
Output unit, for the dietary recommendation according to blood glucose information output for the TWS earphone wearer, and according to The blood glucose information output is directed to the exercise suggestion of the TWS earphone wearer.
10. bio signal detection device according to claim 9, which is characterized in that the output unit is used for according to institute Blood glucose information output, which is stated, for the mode of the dietary recommendation of the TWS earphone wearer is specially:
The output unit, for identifying that TWS earphone wearer's blood glucose value is in ascendant trend from the blood glucose information Some time, and obtain the blood glucose increment of each period in some time;And according to described several The duration of each period blood glucose increment corresponding with the period in period, TWS earphone wearer described in comprehensive assessment Eating habit, and export be directed to the eating habit dietary recommendation.
CN201810433768.6A 2018-05-08 2018-05-08 A kind of bio signal detection method and device based on TWS earphone Pending CN108852330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810433768.6A CN108852330A (en) 2018-05-08 2018-05-08 A kind of bio signal detection method and device based on TWS earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810433768.6A CN108852330A (en) 2018-05-08 2018-05-08 A kind of bio signal detection method and device based on TWS earphone

Publications (1)

Publication Number Publication Date
CN108852330A true CN108852330A (en) 2018-11-23

Family

ID=64333039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810433768.6A Pending CN108852330A (en) 2018-05-08 2018-05-08 A kind of bio signal detection method and device based on TWS earphone

Country Status (1)

Country Link
CN (1) CN108852330A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111528819A (en) * 2020-05-29 2020-08-14 歌尔科技有限公司 Health detection method, system, device, equipment and medium
CN115052224A (en) * 2022-08-16 2022-09-13 歌尔股份有限公司 Splitting and using method and device of earphone equipment, earphone equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1550204A (en) * 2003-05-09 2004-12-01 ���ǵ�����ʽ���� Ear type apparatus for measuring a bio signal and measuring method therefor
CN101006915A (en) * 2006-01-26 2007-08-01 香港中文大学 Non-contact measurement method of key physiological parameters
CN101433463A (en) * 2008-12-19 2009-05-20 北京航空航天大学 Method for detecting blood oxygen saturation
CN104382602A (en) * 2014-11-27 2015-03-04 龙泉千成电子科技有限公司 Multi-parameter intelligent physiological detection glove
CN105193425A (en) * 2015-11-05 2015-12-30 李萍 Use method of noninvasive glucometer
CN105232021A (en) * 2015-08-25 2016-01-13 惠州Tcl移动通信有限公司 Method for reminding exercise overload and earphone
CN106658256A (en) * 2016-10-27 2017-05-10 努比亚技术有限公司 Earphone, terminal and terminal control method
CN106817643A (en) * 2017-02-07 2017-06-09 佳禾智能科技股份有限公司 A kind of heart rate earphone and its heart rate test method and apparatus based on ECG measurements
CN206370927U (en) * 2016-12-01 2017-08-01 佳禾智能科技股份有限公司 A kind of intelligent wireless earphone
CN107295434A (en) * 2017-05-26 2017-10-24 广东思派康电子科技有限公司 TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast
CN107438210A (en) * 2017-07-28 2017-12-05 京东方科技集团股份有限公司 A kind of sign test earphone and sign detection method
CN107714049A (en) * 2017-09-08 2018-02-23 上海乐糖信息科技有限公司 Noninvasive Blood Glucose Detection Methods, system and device based on Multi-information acquisition

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1550204A (en) * 2003-05-09 2004-12-01 ���ǵ�����ʽ���� Ear type apparatus for measuring a bio signal and measuring method therefor
CN101006915A (en) * 2006-01-26 2007-08-01 香港中文大学 Non-contact measurement method of key physiological parameters
CN101433463A (en) * 2008-12-19 2009-05-20 北京航空航天大学 Method for detecting blood oxygen saturation
CN104382602A (en) * 2014-11-27 2015-03-04 龙泉千成电子科技有限公司 Multi-parameter intelligent physiological detection glove
CN105232021A (en) * 2015-08-25 2016-01-13 惠州Tcl移动通信有限公司 Method for reminding exercise overload and earphone
CN105193425A (en) * 2015-11-05 2015-12-30 李萍 Use method of noninvasive glucometer
CN106658256A (en) * 2016-10-27 2017-05-10 努比亚技术有限公司 Earphone, terminal and terminal control method
CN206370927U (en) * 2016-12-01 2017-08-01 佳禾智能科技股份有限公司 A kind of intelligent wireless earphone
CN106817643A (en) * 2017-02-07 2017-06-09 佳禾智能科技股份有限公司 A kind of heart rate earphone and its heart rate test method and apparatus based on ECG measurements
CN107295434A (en) * 2017-05-26 2017-10-24 广东思派康电子科技有限公司 TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast
CN107438210A (en) * 2017-07-28 2017-12-05 京东方科技集团股份有限公司 A kind of sign test earphone and sign detection method
CN107714049A (en) * 2017-09-08 2018-02-23 上海乐糖信息科技有限公司 Noninvasive Blood Glucose Detection Methods, system and device based on Multi-information acquisition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111528819A (en) * 2020-05-29 2020-08-14 歌尔科技有限公司 Health detection method, system, device, equipment and medium
CN115052224A (en) * 2022-08-16 2022-09-13 歌尔股份有限公司 Splitting and using method and device of earphone equipment, earphone equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3383256B1 (en) Systems and methods for detecting photoplethysmographic device usage
CN105997054B (en) A kind of method of electrocardiosignal preanalysis
US20180279891A1 (en) Passive arrhythmias detection based on photoplethysmogram (ppg) inter-beat intervals and morphology
US9433386B2 (en) Method and apparatus for monitoring a subject for atrial fibrillation
CN109328034B (en) Determining system and method for determining sleep stage of subject
JP5432253B2 (en) System and method for processing signals with repetitive features
CN1929779A (en) Selection of ensemble averaging weights for a pulse oximeter based on signal quality metrics
Rosales et al. Heart rate monitoring using hydraulic bed sensor ballistocardiogram 1
CN107920766A (en) Phenomenon of sleeping monitoring
US11903744B2 (en) Blood pressure and autoregulation monitoring
JP5760351B2 (en) Sleep evaluation apparatus, sleep evaluation system, and program
JP2009538720A (en) Apparatus, system, and method for monitoring physiological signs
CN110115574A (en) The method and apparatus of rhythm of the heart
EA013620B1 (en) Mobile diagnosis device
CN106725326A (en) Sleep quality assessment system and method based on human body HRV measurements
CN110074765A (en) A kind of method of discrimination of SAHS screening and sleep stage
CN106175695B (en) A kind of detecting system of OSAS
CN106913326A (en) Biological physiology condition feedback system and its operating method
CN115191961A (en) Cardiopulmonary health detection method and device, wearable device and storage medium
TW202128078A (en) Method and examination apparatus for medical examination of an animal
CN108852330A (en) A kind of bio signal detection method and device based on TWS earphone
Gao et al. Obstructive sleep apnea syndrome detection based on ballistocardiogram via machine learning approach
WO2020160058A1 (en) Systems and methods for computationally efficient non-invasive blood quality measurement
JP4731031B2 (en) Sleep analysis device, program, and recording medium
CN108968946A (en) A kind of female incretion management system based on HRV analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123