CN108633249B - Physiological signal quality judgment method and device - Google Patents
Physiological signal quality judgment method and device Download PDFInfo
- Publication number
- CN108633249B CN108633249B CN201780009418.0A CN201780009418A CN108633249B CN 108633249 B CN108633249 B CN 108633249B CN 201780009418 A CN201780009418 A CN 201780009418A CN 108633249 B CN108633249 B CN 108633249B
- Authority
- CN
- China
- Prior art keywords
- signal
- cycle
- physiological
- ith
- signals
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Z—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
- G16Z99/00—Subject matter not provided for in other main groups of this subclass
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physics & Mathematics (AREA)
- Biophysics (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
一种生理信号质量判断方法及装置,涉及可穿戴设备领域,可以提高生理信号质量判断结果的准确性,并减小生理信号质量判断过程中的计算量。具体方案为:S301、采集生理信号,该生理信号为周期信号或类周期信号;S302、提取生理信号的特征点,该特征点包括用于指示该生理信号周期的特征点;S303、根据生理信号的特征点,对该生理信号划分周期;S304、根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量;其中,信号模板集合包括N个信号模板,N个信号模板根据第i个周期的信号之前的生理信号获取,N大于等于2,i大于N。该方法及装置用于根据人体的生理信号得到人体生理信息之前、判断该生理信号质量的过程中。
A physiological signal quality judgment method and device relate to the field of wearable devices, which can improve the accuracy of the physiological signal quality judgment result and reduce the calculation amount in the physiological signal quality judgment process. The specific scheme is: S301, collecting physiological signals, which are periodic signals or quasi-periodic signals; S302, extracting feature points of the physiological signals, the feature points including feature points used to indicate the period of the physiological signals; S303, according to the physiological signals The characteristic point of , divides the period to the physiological signal; S304, judges the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set; Wherein, the signal template set includes N signals Template, N signal templates are obtained according to the physiological signal before the signal of the ith cycle, N is greater than or equal to 2, and i is greater than N. The method and device are used in the process of judging the quality of the physiological signal before obtaining the physiological information of the human body according to the physiological signal of the human body.
Description
本申请要求于2017年01月25日提交中国专利局、申请号为201710061354.0、发明名称为“极低资源消耗的实时生理信号质量判断方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on January 25, 2017 with the application number 201710061354.0 and the invention titled "Method and System for Real-time Physiological Signal Quality Judgment with Extremely Low Resource Consumption", the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本发明实施例涉及可穿戴设备领域,尤其涉及一种生理信号质量判断方法及装置。Embodiments of the present invention relate to the field of wearable devices, and in particular, to a method and device for judging the quality of a physiological signal.
背景技术Background technique
近年来,可穿戴设备以其无创、简单和灵活的特点,逐渐被应用于人体的生理监测中。可穿戴设备能够为病人提供低负荷、非接触、长期连续的生理监测,如监测人体的心电(electrocardiogram,ECG)、脉搏波(Photoplethsmogram,PPG)、呼吸、血压等生理信号。其中,脉搏波为电容积脉搏波描记信息的简称。当前可穿戴设备是通过穿戴式传感器获取人体的生理信号的,而穿戴式传感器容易受到噪声及运动伪迹的干扰,使得获取的生理信号和基于此得到的人体生理信息偏离真实情况。从而,在使用生理信号得到人体生理信息之前,必须判断该生理信号的信号质量。具体为,判断上述生理信号是正常生理信号还是受到噪声及运动伪迹干扰的异常生理信号。In recent years, wearable devices have been gradually applied to the physiological monitoring of the human body due to their non-invasive, simple and flexible characteristics. Wearable devices can provide patients with low-load, non-contact, long-term continuous physiological monitoring, such as monitoring the human body's electrocardiogram (ECG), pulse wave (Photoplethsmogram, PPG), respiration, blood pressure and other physiological signals. Among them, the pulse wave is the abbreviation of the electrical plethysmography information. At present, wearable devices obtain physiological signals of the human body through wearable sensors, and wearable sensors are easily interfered by noise and motion artifacts, which make the obtained physiological signals and human physiological information obtained based on them deviate from the real situation. Therefore, before using the physiological signal to obtain the physiological information of the human body, the signal quality of the physiological signal must be judged. Specifically, it is determined whether the above-mentioned physiological signal is a normal physiological signal or an abnormal physiological signal interfered by noise and motion artifacts.
现有技术中,在判断获取的人体心电、脉搏波、呼吸、血压等生理信号质量之前,通常需要预先设置用于判断上述生理信号质量的信号模板;并且,在获取上述生理信号的过程中,通常需要精确获取到该生理信号的大量特征值,即精确提取该生理信号的大量特征点;从而,根据上述预先设置的信号模板和上述大量精确的特征值,判断生理信号质量。In the prior art, before judging the quality of the obtained physiological signals such as human electrocardiogram, pulse wave, respiration, blood pressure, etc., it is usually necessary to preset a signal template for judging the quality of the above-mentioned physiological signals; and, in the process of obtaining the above-mentioned physiological signals. , it is usually necessary to accurately obtain a large number of characteristic values of the physiological signal, that is, to accurately extract a large number of characteristic points of the physiological signal; thus, the quality of the physiological signal is judged according to the above-mentioned preset signal template and the above-mentioned large number of accurate characteristic values.
存在问题是,上述预先设置的信号模板通常是采用机器学习算法或先验知识、从大量的离线生理信号中得到的,而离线生理信号与实时获取的生理信号是有一定偏差的,从而根据上述预先设置的信号模板得到的生理信号质量判断结果的准确性有待提高。并且,由于当前的穿戴式传感器通常较为简单,因此可能提取不到生理信号的一些特征,如重搏波波峰,即不一定能获取到上述大量精确的特征值;这样一来,使得根据上述大量精确的特征值得到的生理信号质量判断结果的准确性有待提高,且判断生理信号质量的过程中计算量较大。The problem is that the above preset signal templates are usually obtained from a large number of offline physiological signals using machine learning algorithms or prior knowledge, and there is a certain deviation between offline physiological signals and real-time physiological signals. The accuracy of the physiological signal quality judgment result obtained from the preset signal template needs to be improved. In addition, since the current wearable sensors are usually relatively simple, some features of physiological signals, such as the peaks of dichotomous waves, may not be extracted, that is, the above-mentioned large number of accurate feature values may not be obtained; in this way, according to the above-mentioned large number of The accuracy of the physiological signal quality judgment result obtained by the precise eigenvalues needs to be improved, and the calculation amount in the process of judging the physiological signal quality is relatively large.
发明内容SUMMARY OF THE INVENTION
本申请提供一种生理信号质量判断方法及装置,可以提高生理信号质量判断结果的准确性,并减小生理信号质量判断过程中的计算量。The present application provides a method and device for judging the quality of physiological signals, which can improve the accuracy of the results of judging the quality of physiological signals and reduce the amount of calculation in the process of judging the quality of physiological signals.
为达到上述目的,本申请采用如下技术方案:To achieve the above object, the application adopts the following technical solutions:
第一方面,提供一种生理信号质量判断方法,该生理信号质量判断方法包括:采集生理信号,该生理信号为周期信号或类周期信号;提取生理信号的特征点,该特征点包括用于指示该生理信号周期的特征点;根据生理信号的特征点,对该生理信号划分周期;根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量;其中,上述信号模板集合包括N个信号模板,该N个信号模板根据第i个周期的信号之前的生理信号获取,N大于等于2,i大于N。一般而言,当前信号模板集合中N个信号模板中每个信号模板均为质量较好的生理信号。从而,若第i个周期的信号与当前信号模板集合之间的相似性越高,则说明第i个周期的信号的信号质量越好;第i个周期的信号与当前信号模板集合之间的相似性越低,则第i个周期的信号的信号质量越差。In a first aspect, a method for judging the quality of a physiological signal is provided, the method for judging the quality of a physiological signal includes: collecting a physiological signal, where the physiological signal is a periodic signal or a quasi-periodic signal; The characteristic point of the physiological signal cycle; according to the characteristic point of the physiological signal, the physiological signal is divided into cycles; according to the similarity between the signal of the ith cycle and the current signal template set, the signal quality of the signal of the ith cycle is judged; Wherein, the above-mentioned signal template set includes N signal templates, the N signal templates are obtained according to the physiological signal before the signal of the ith cycle, N is greater than or equal to 2, and i is greater than N. Generally speaking, each signal template of the N signal templates in the current signal template set is a physiological signal of better quality. Therefore, if the similarity between the signal of the ith cycle and the current signal template set is higher, it means that the signal quality of the signal of the ith cycle is better; the difference between the signal of the ith cycle and the current signal template set is better. The lower the similarity, the worse the signal quality of the i-th cycle signal.
需要说明的是,本申请提供的生理信号质量判断方法中,用于判断生理信号质量的当前信号模板集合是根据实时获取的生理信号得到的,而不是采用机器学习算法或先验知识、从大量的离线生理信号中得到的;从而,本申请提供的当前信号模板更加符合实时获取的生理信号,使得根据上述当前信号模板集合得到的生理信号质量判断结果的准确性较高。It should be noted that, in the physiological signal quality judgment method provided by this application, the current signal template set for judging the physiological signal quality is obtained according to the physiological signal acquired in real time, rather than using machine learning algorithms or prior knowledge to determine the quality of physiological signals from a large number of Therefore, the current signal template provided by the present application is more in line with the physiological signal acquired in real time, so that the accuracy of the physiological signal quality judgment result obtained according to the above-mentioned current signal template set is higher.
在一种可能的实现方式中,判断第i个周期的信号的信号质量可以通过判断第i个周期的信号是否达到正常生理信号的标准,即第i个周期的信号为正常生理信号还是异常生理信号。具体的,上述根据第i个周期的信号与信号模板集合之间的相似性判断第i个周期的信号的信号质量可以包括:确定第i个周期的信号的相似结果,该第i个周期的信号的相似结果用于指示第i个周期的信号与当前信号模板集合之间的相似性;若第i个周期的信号的相似结果满足预设相似条件,则判断第i个周期的信号为正常生理信号,预设相似条件为预先设置的;若第i个周期的信号的相似结果不满足预设相似条件,则判断第i个周期的信号为异常生理信号。In a possible implementation manner, the signal quality of the signal in the ith cycle can be judged by judging whether the signal in the ith cycle reaches the standard of a normal physiological signal, that is, whether the signal in the ith cycle is a normal physiological signal or an abnormal physiological signal Signal. Specifically, the above-mentioned judging the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the signal template set may include: determining the similarity result of the signal of the ith cycle, the signal of the ith cycle The similarity result of the signal is used to indicate the similarity between the signal of the ith cycle and the current signal template set; if the similarity result of the signal of the ith cycle satisfies the preset similarity condition, the signal of the ith cycle is judged to be normal For physiological signals, the preset similarity conditions are preset; if the similarity results of the signals in the ith cycle do not meet the preset similarity conditions, the signals in the ith cycle are determined to be abnormal physiological signals.
其中,上述第i个周期的信号与当前信号模板集合之间的相似性,可以由第i个周期的信号的样本序列与该信号模板的样本序列的相关系数、均方误差等相似参数表示。例如,在第i个周期的信号的相似参数为相关系数的情况下,第i个周期的信号的相似参数越大、相似性就越高、信号质量越好。第i个周期的信号的相似参数越小、相似性就越低、信号质量越差。Wherein, the similarity between the signal of the i-th cycle and the current signal template set can be represented by similarity parameters such as the correlation coefficient and mean square error between the sample sequence of the signal of the i-th cycle and the sample sequence of the signal template. For example, when the similarity parameter of the signal in the ith cycle is the correlation coefficient, the greater the similarity parameter of the signal in the ith cycle, the higher the similarity and the better the signal quality. The smaller the similarity parameter of the signal in the ith cycle, the lower the similarity and the worse the signal quality.
在一种可能的实现方式中,在确定第i个周期的信号的相似结果好于N个信号模板中至少一个信号模板的相似结果的情况下,上述方法还可以包括:根据第i个周期的信号更新当前信号模板集合。也就是说,若第i个周期的信号的信号质量比当前信号模板集合中的N个信号模板中的至少一个信号模板的信号质量高,上述方法便可以根据第i个周期的信号替换该信号模板以更新上述当前信号模板集合。其中,上述N个信号模板中一个信号模板的相似结果根据第i个周期的信号之前的生理信号得到的。In a possible implementation manner, when it is determined that the similarity result of the signal of the ith cycle is better than the similar result of at least one signal template in the N signal templates, the above method may further include: according to the signal of the ith cycle Signal updates the current set of signal templates. That is to say, if the signal quality of the signal of the ith cycle is higher than that of at least one signal template in the N signal templates in the current signal template set, the above method can replace the signal according to the signal of the ith cycle template to update the current set of signal templates above. Wherein, the similar result of one signal template among the above N signal templates is obtained according to the physiological signal before the signal of the ith cycle.
需要说明的是,上述当前信号模板集合是根据实时获取的生理信号不断更新的。其中,根据信号质量较好的周期的信号替换信号质量相对较差的信号模板以更新当前信号模板集合,使得上述当前信号模板集合中的信号模板的信号质量实时地提高。如此,根据上述实时更新的当前信号模板集合得到的生理信号质量判断结果的准确性较高。It should be noted that the above-mentioned current signal template set is continuously updated according to the physiological signals acquired in real time. Wherein, a signal template with relatively poor signal quality is replaced according to a signal of a period with better signal quality to update the current signal template set, so that the signal quality of the signal templates in the current signal template set is improved in real time. In this way, the accuracy of the physiological signal quality judgment result obtained according to the current signal template set updated in real time is relatively high.
在一种可能的实现方式中,由于上述第i个周期的信号的信号质量与第i个周期的信号的相似结果相关,因此可以根据第i个周期的信号的相似结果更新当前信号模板集合。具体的,上述根据第i个周期的信号更新当前信号模板集合可以包括:在确定第i个周期的信号的相似结果好于N个信号模板中至少一个信号模板的相似结果的情况下:使用第i个周期的信号替换当前信号模板集合中相似结果最差的信号模板。In a possible implementation manner, since the signal quality of the signal in the i-th cycle is related to the similar result of the signal in the i-th cycle, the current signal template set can be updated according to the similar result of the signal in the i-th cycle. Specifically, the above-mentioned updating of the current signal template set according to the signal of the ith cycle may include: when it is determined that the similar result of the signal of the ith cycle is better than the similar result of at least one signal template in the N signal templates: using the ith cycle The signal of i cycles replaces the signal template with the worst similar result in the current signal template set.
可选的,上述“使用第i个周期的信号替换当前信号模板集合中相似结果最差的信号模板”可以替换为使用第i个周期的信号替换当前信号模板集合中任一相似结果较差的信号模板。其中,上述任一相似结果较差的信号模板的相似结果比第i个周期的信号的相似结果差。Optionally, the above "use the signal of the i-th cycle to replace the signal template with the worst similar result in the current signal template set" can be replaced with the signal of the i-th cycle to replace any signal template with a poor similar result in the current signal template set. Signal template. Wherein, the similarity result of any of the above-mentioned signal templates with poor similarity results is worse than the similarity result of the signal of the ith cycle.
在一种可能的实现方式中,在根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量之前,上述方法还可以包括:根据第i个周期的信号之前的生理信号获取当前信号模板集合。In a possible implementation manner, before judging the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set, the above method may further include: according to the ith cycle The physiological signal before the signal gets the current signal template set.
其中,上述当前信号模板集合可以是已被更新过的信号模板集合,如当前信号模板集合可以是根据第i-1个周期的信号更新过的信号模板集合。或者,上述当前信号模板集合可以是未被更新过的信号模板集合。Wherein, the above-mentioned current signal template set may be an updated signal template set, for example, the current signal template set may be a signal template set updated according to the signal of the i-1th cycle. Alternatively, the above-mentioned current signal template set may be a signal template set that has not been updated.
在一种可能的实现方式中,上述根据第i个周期的信号之前的生理信号获取当前信号模板集合可以包括:根据前N+a个周期的信号获取初始信号模板集合;根据初始信号模板集合和第N+a个周期的信号到第i个周期的信号之间的生理信号获取当前信号模板集合。其中,上述初始信号模板集合为未被更新过的信号模板集合。In a possible implementation manner, obtaining the current signal template set according to the physiological signal before the signal of the ith cycle may include: obtaining an initial signal template set according to the signals of the first N+a cycles; according to the initial signal template set and The physiological signal between the signal of the N+a th cycle and the signal of the ith cycle obtains the current signal template set. Wherein, the above-mentioned initial signal template set is a signal template set that has not been updated.
需要说明的是,上述初始信号模板集合中的N个信号模板不一定都为信号质量较好的正常生理信号,但只要初始信号模板集合包括N个信号模板便可以执行上述生理信号质量判断方法。其中,上述方法根据初始信号模板集合和第N+a个周期的信号到第i个周期的信号之间的生理信号获取当前信号模板集合的同时,还可以根据第N+a个周期的信号到第i个周期的信号之间的每个周期的信号的相似结果判断该每个周期的信号的信号质量。It should be noted that the N signal templates in the above initial signal template set are not necessarily all normal physiological signals with good signal quality, but the above physiological signal quality judgment method can be executed as long as the initial signal template set includes N signal templates. Wherein, while the above method obtains the current signal template set according to the initial signal template set and the physiological signal between the signal of the N+ath cycle and the signal of the ith cycle, it can also obtain the current signal template set according to the signal of the N+ath cycle. Similar results of the signals of each cycle between the signals of the ith cycle determine the signal quality of the signal of each cycle.
在一种可能的实现方式中,上述根据前N+a个周期的信号获取初始信号模板集合可以包括:确定前N+a个周期的信号中每个周期的信号的相似结果;a为大于等于0的整数,N+a小于i;其中,前N+a个周期的信号中一个周期的信号的相似结果由该周期的信号与前N+a个周期的信号中除该周期的信号之外的其他周期的信号之间的相似性组成的;将前N+a个周期的信号中相似结果最好的前N个周期的信号确定为初始信号模板集合。In a possible implementation manner, obtaining the initial signal template set according to the signals of the first N+a cycles may include: determining a similar result of the signals of each cycle in the signals of the first N+a cycles; a is greater than or equal to Integer of 0, N+a is less than i; where the similar result of the signal of one cycle in the signal of the first N+a cycles is determined by the signal of the cycle and the signal of the previous N+a cycles except the signal of the cycle It is composed of the similarity between the signals of other cycles; the signals of the first N cycles with the best similarity result among the signals of the first N+a cycles are determined as the initial signal template set.
其中,当a等于0时,上述初始信号模板集合中的N个信号模板为前N个周期的信号。当a大于0时,前N+a个周期的信号有a个周期的信号不为初始信号模板集合中的信号模板。需要说明的是,上述确定前N+a个周期的信号中每个周期的信号的相似性之后,还可以判断前N+a个周期的信号中每个周期的信号的信号质量。Wherein, when a is equal to 0, the N signal templates in the above-mentioned initial signal template set are the signals of the first N cycles. When a is greater than 0, the signals of the first N+a periods have a period of signals that are not the signal templates in the initial signal template set. It should be noted that after determining the similarity of the signals of each cycle in the signals of the first N+a cycles, the signal quality of the signals of each cycle of the signals of the first N+a cycles can also be judged.
在一种可能的实现方式中,上述提取生理信号的特征点之后还可以包括:根据生理信号的特征点,获取第i个周期的信号的特征值;确定第i个周期的信号的特征值不处于当前预设阈值范围内,并判断第i个周期的信号为异常生理信号,当前预设阈值范围根据第i个周期的信号之前的周期的信号确定;在根据第i个周期的信号与信号模板集合之间的相似性判断第i个周期的信号的信号质量之前,上述方法还可以包括:确定第i个周期的信号的特征值处于当前预设阈值范围。In a possible implementation manner, after extracting the characteristic points of the physiological signal, the method may further include: obtaining the characteristic value of the signal of the i-th cycle according to the characteristic point of the physiological signal; determining that the characteristic value of the signal of the i-th cycle is not It is within the current preset threshold range, and it is judged that the signal of the ith cycle is an abnormal physiological signal, and the current preset threshold range is determined according to the signal of the cycle before the signal of the ith cycle; Before judging the signal quality of the signal in the ith cycle based on similarity between template sets, the above method may further include: determining that the characteristic value of the signal in the ith cycle is within the current preset threshold range.
需要说明的是,由于上述当前预设阈值范围是根据实时获取的生理信号中所有周期的信号得到的,即当前预设阈值范围是根据全局变量得到的;因此上述当前预设阈值范围符合实时获取的生理信号。从而,本申请提供的生理信号质量判断方法,可以进一步提高生理信号质量判断结果的准确性。It should be noted that, since the above-mentioned current preset threshold value range is obtained according to the signals of all cycles in the physiological signal acquired in real time, that is, the current preset threshold value range is obtained according to the global variable; therefore, the above-mentioned current preset threshold value range conforms to the real-time acquisition. physiological signals. Therefore, the method for judging the quality of the physiological signal provided by the present application can further improve the accuracy of the judgment result of the quality of the physiological signal.
在一种可能的实现方式中,在提取的生理信号的特征点包括顶点和底点的情况下,上述第i个周期的信号的特征值包括:第i个周期的信号的周期值和/或第i个周期的信号的高度值。从而,当前预设阈值范围可以包括:当前预设周期范围和/或当前预设高度范围。具体的,第i个周期的信号的特征值不处于当前预设阈值范围可以包括:第i个周期的信号的周期值不处于当前预设周期范围,和/或第i个周期的信号的高度值不处于当前预设高度范围。第i个周期的信号的特征值处于当前预设阈值范围可以包括:第i个周期的信号的周期值处于当前预设周期范围且第i个周期的信号的高度值处于当前预设高度范围。In a possible implementation manner, in the case that the extracted characteristic points of the physiological signal include a vertex and a bottom point, the characteristic value of the signal in the i-th cycle includes: the period value of the signal in the i-th cycle and/or The height value of the signal for the ith cycle. Therefore, the current preset threshold value range may include: the current preset period range and/or the current preset height range. Specifically, the characteristic value of the signal of the ith cycle is not within the current preset threshold range may include: the period value of the signal of the ith cycle is not within the current preset cycle range, and/or the height of the signal of the ith cycle The value is not within the current preset altitude range. The characteristic value of the signal in the ith cycle being in the current preset threshold range may include: the cycle value of the signal in the ith cycle is in the current preset cycle range and the height value of the signal in the ith cycle is in the current preset height range.
需要说明的是,本申请提供的方法提取到生理信号的特征值中的顶点和底点便可以判断生理信号中每个周期的信号的信号质量,可以在一定程度上减小判断生理信号质量过程中的计算量。It should be noted that the method provided in this application can determine the signal quality of the signal of each cycle in the physiological signal by extracting the apex and the bottom point in the characteristic value of the physiological signal, which can reduce the process of judging the quality of the physiological signal to a certain extent. the amount of computation in .
在一种可能的实现方式中,在上述根据生理信号的特征点,获取第i个周期的信号的特征值之前,上述方法还可以包括:根据第i个周期的信号之前的周期的信号确定当前预设阈值范围;在根据生理信号的特征点,获取第i个周期的信号的特征值之后,上述方法还包括:根据第i个周期的信号的特征值,更新当前预设阈值范围。In a possible implementation manner, before obtaining the characteristic value of the signal of the i-th cycle according to the characteristic point of the physiological signal, the above method may further include: determining the current signal according to the signal of the cycle before the signal of the i-th cycle. Preset threshold range; after acquiring the characteristic value of the signal in the i-th cycle according to the characteristic point of the physiological signal, the method further includes: updating the current preset threshold range according to the characteristic value of the signal in the i-th cycle.
其中,由于上述当前预设阈值范围是根据实时获取的生理信号不断更新的;因此上述当前预设阈值范围是符合实时获取的生理信号的。从而,本申请提供的生理信号质量判断方法,可以进一步提高生理信号质量判断结果的准确性。Wherein, since the above-mentioned current preset threshold value range is continuously updated according to the physiological signal acquired in real time; therefore, the above-mentioned current preset threshold value range is consistent with the physiological signal acquired in real time. Therefore, the method for judging the quality of the physiological signal provided by the present application can further improve the accuracy of the judgment result of the quality of the physiological signal.
在一种可能的实现方式中,上述方法还可以包括:输出信号质量判断结果,该信号质量判断结果包括第i个周期的信号为正常生理信号或第i个周期的信号为异常生理信号,以及第i个周期的信号之前的每个周期的信号为正常生理信号或每个周期的信号为异常生理信号。其中,若第i个周期的信号之前的一个周期的信号的相似结果满足预设相似条件,则该周期的信号为正常生理信号;若第i个周期的信号之前的一个周期的信号的相似结果不满足预设相似条件,则该周期的信号为异常生理信号。In a possible implementation manner, the above method may further include: outputting a signal quality judgment result, where the signal quality judgment result includes that the signal in the ith cycle is a normal physiological signal or the signal in the ith cycle is an abnormal physiological signal, and The signal of each cycle before the signal of the ith cycle is a normal physiological signal or the signal of each cycle is an abnormal physiological signal. Among them, if the similar result of the signal of a cycle before the signal of the ith cycle satisfies the preset similarity condition, the signal of this cycle is a normal physiological signal; if the similar result of the signal of a cycle before the signal of the ith cycle If the preset similar conditions are not met, the signal of this period is an abnormal physiological signal.
需要说明的是,本申请提供的生理信号质量判断方法,可以实时地、逐周期判断采集的生理信号的信号质量,并较为准确地区分出该生理信号中任一周期的信号为正常生理信号还是异常生理信号。如此,可以根据判断得到的正常生理信号得到较为准确的人体生理信息。并且,输出信号质量判断结果使得该结果可以较为直观的展示给用户或者相关技术人员,以提高用户体验或满足相关技术人员的需求。It should be noted that the method for judging the quality of physiological signals provided by the present application can judge the signal quality of the collected physiological signals in real time and cycle by cycle, and more accurately distinguish whether the signal of any cycle in the physiological signal is a normal physiological signal or a cycle-by-cycle signal. Abnormal physiological signals. In this way, more accurate human physiological information can be obtained according to the normal physiological signal obtained by the judgment. Moreover, the output signal quality judgment result enables the result to be more intuitively displayed to the user or the related technical personnel, so as to improve the user experience or meet the requirements of the related technical personnel.
第二方面,提供一种生理信号质量判断装置,包括:采集模块、提取模块、划分模块和判断模块。其中,采集模块,用于采集生理信号,生理信号为周期信号或类周期信号。提取模块,用于提取所采集模块采集的生理信号的特征点,特征点包括用于指示生理信号周期的特征点。划分模块,用于根据提取模块提取的生理信号的特征点,对该生理信号划分周期。判断模块,用于根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量;其中,信号模板集合包括N个信号模板,N个信号模板为根据采集模块采集的第i个周期的信号之前的生理信号获取,N大于等于2,i大于N。In a second aspect, a device for judging the quality of a physiological signal is provided, including a collection module, an extraction module, a division module and a judgment module. Among them, the acquisition module is used to collect physiological signals, and the physiological signals are periodic signals or quasi-periodic signals. The extraction module is used for extracting the characteristic points of the physiological signal collected by the collection module, and the characteristic points include characteristic points used to indicate the period of the physiological signal. The dividing module is used for dividing the period of the physiological signal according to the characteristic points of the physiological signal extracted by the extraction module. The judgment module is used to judge the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set; wherein, the signal template set includes N signal templates, and the N signal templates are based on For the acquisition of the physiological signal before the signal of the ith cycle collected by the acquisition module, N is greater than or equal to 2, and i is greater than N.
在一种可能的实现方式中,上述装置还可以包括:确定模块。其中,确定模块,用于确定划分模块划分出的第i个周期的信号的相似结果,第i个周期的信号的相似结果用于指示第i个周期的信号与当前信号模板集合之间的相似性。上述判断模块,具体用于若第i个周期的信号的相似结果满足预设相似条件,则判断第i个周期的信号为正常生理信号,预设相似条件为预先设置的;若第i个周期的信号的相似结果不满足预设相似条件,则判断第i个周期的信号为异常生理信号。In a possible implementation manner, the above apparatus may further include: a determining module. Wherein, the determining module is used to determine the similarity result of the signal of the ith cycle divided by the dividing module, and the similarity result of the signal of the ith cycle is used to indicate the similarity between the signal of the ith cycle and the current signal template set sex. The above judgment module is specifically configured to judge that the signal of the ith cycle is a normal physiological signal if the similarity result of the signal of the ith cycle satisfies the preset similarity condition, and the preset similarity condition is preset; If the similarity result of the signal does not meet the preset similarity condition, it is determined that the signal of the i-th cycle is an abnormal physiological signal.
在一种可能的实现方式中,上述装置还可以包括:更新模块。其中,更新模块,用于在确定第i个周期的信号的相似结果好于N个信号模板中至少一个信号模板的相似结果的情况下,根据第i个周期的信号更新当前信号模板集合,其中,N个信号模板中一个信号模板的相似性根据第i个周期的信号之前的生理信号得到的。In a possible implementation manner, the above apparatus may further include: an update module. Wherein, the updating module is configured to update the current signal template set according to the signal of the ith cycle under the condition that the similar result of the signal of the ith cycle is determined to be better than the similar result of at least one signal template in the N signal templates, wherein , the similarity of one signal template among the N signal templates is obtained according to the physiological signal before the signal of the ith cycle.
在一种可能的实现方式中,上述更新模块具体用于使用第i个周期的信号替换当前信号模板集合中相似结果最差的信号模板。In a possible implementation manner, the above updating module is specifically configured to replace the signal template with the worst similar result in the current signal template set with the signal of the ith cycle.
在一种可能的实现方式中,上述装置还可以包括:获取模块。其中,获取模块,用于在所述判断模块根据第i个周期的信号与当前信号模板集合之间的相似性判断所述第i个周期的信号的信号质量之前,根据所述第i个周期的信号之前的生理信号获取所述当前信号模板集合。In a possible implementation manner, the above apparatus may further include: an acquisition module. Wherein, the acquisition module is configured to, before the judgment module judges the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set, according to the signal quality of the ith cycle The current signal template set is obtained from the physiological signal before the signal.
在一种可能的实现方式中,上述获取模块,具体用于根据前N+a个周期的信号获取初始信号模板集合;根据初始信号模板集合和第N+a个周期的信号到第i个周期的信号之间的生理信号获取当前信号模板集合。In a possible implementation manner, the above-mentioned obtaining module is specifically configured to obtain the initial signal template set according to the signals of the first N+a cycles; The physiological signal between the signals gets the current signal template set.
在一种可能的实现方式中,上述确定模块,还可以用于确定前N+a个周期的信号中每个周期的信号的相似性;a为大于等于0的整数,N+a小于i;其中,前N+a个周期的信号中一个周期的信号的相似结果由该周期的信号与前N+a个周期的信号中除该周期的信号之外的其他周期的信号之间的相似性组成的。上述获取模块具体用于将上述确定模块确定出的前N+a个周期的信号中相似结果最好的前N个周期的信号确定为初始信号模板集合。In a possible implementation manner, the above determination module can also be used to determine the similarity of the signals of each cycle in the signals of the first N+a cycles; a is an integer greater than or equal to 0, and N+a is less than i; Among them, the similarity result of the signal of one cycle in the signal of the first N+a cycles is determined by the similarity between the signal of the cycle and the signals of other cycles except the signal of the cycle in the signal of the previous N+a cycles consist of. The above obtaining module is specifically configured to determine, among the signals of the first N+a cycles determined by the above determining module, the signals of the first N cycles with the best similarity result as the initial signal template set.
在一种可能的实现方式中,上述获取模块,还可以用于在提取模块提取生理信号的特征点之后,根据生理信号的特征点,获取第i个周期的信号的特征值。上述判断模块,还可以用于确定第i个周期的信号的特征值不处于当前预设阈值范围内,并判断第i个周期的信号为异常生理信号,当前预设阈值范围根据第i个周期的信号之前的周期的信号确定;在根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量之前,确定第i个周期的信号的特征值处于当前预设阈值范围。In a possible implementation manner, the above obtaining module may be further configured to obtain the characteristic value of the signal of the ith cycle according to the characteristic point of the physiological signal after the extraction module extracts the characteristic point of the physiological signal. The above judgment module can also be used to determine that the characteristic value of the signal in the ith cycle is not within the current preset threshold range, and determine that the signal in the ith cycle is an abnormal physiological signal, and the current preset threshold range is based on the ith cycle. Before judging the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set, determine that the eigenvalue of the signal of the ith cycle is in the The current preset threshold range.
在一种可能的实现方式中,上述第i个周期的信号的特征值包括:第i个周期的信号的周期值和/或第i个周期的信号的高度值。当前预设阈值范围可以包括:当前预设周期范围和/或当前预设高度范围。第i个周期的信号的特征值不处于当前预设阈值范围可以包括:第i个周期的信号的周期值不处于当前预设周期范围,和/或第i个周期的信号的高度值不处于当前预设高度范围。第i个周期的信号的特征值处于当前预设阈值范围可以包括:第i个周期的信号的周期值处于当前预设周期范围,和第i个周期的信号的高度值处于当前预设高度范围。In a possible implementation manner, the characteristic value of the signal in the i-th cycle includes: a period value of the signal in the i-th cycle and/or a height value of the signal in the i-th cycle. The current preset threshold value range may include: the current preset period range and/or the current preset height range. The characteristic value of the signal in the i-th cycle is not in the current preset threshold range may include: the cycle value of the signal in the i-th cycle is not in the current preset cycle range, and/or the height value of the signal in the i-th cycle is not in the range The current preset altitude range. The characteristic value of the signal in the ith cycle being in the current preset threshold range may include: the cycle value of the signal in the ith cycle is in the current preset cycle range, and the height value of the signal in the ith cycle is in the current preset height range .
在一种可能的实现方式中,上述确定模块,还可以用于在上述获取模块根据生理信号的特征点,获取第i个周期的信号的特征值之前,根据第i个周期的信号之前的周期的信号确定当前预设阈值范围。上述更新模块,还可以用于在获取模块根据生理信号的特征点,获取第i个周期的信号的特征值之后,根据第i个周期的信号的特征值,更新当前预设阈值范围。In a possible implementation manner, the above-mentioned determining module may also be used to obtain the characteristic value of the signal of the i-th cycle according to the characteristic point of the physiological signal by the obtaining module, according to the cycle before the signal of the i-th cycle The signal determines the current preset threshold range. The above updating module can also be used to update the current preset threshold range according to the characteristic value of the signal in the i-th cycle after the acquisition module obtains the characteristic value of the signal in the i-th cycle according to the characteristic point of the physiological signal.
在一种可能的实现方式中,上述装置还可以包括:输出模块。其中,输出模块,用于输出信号质量判断结果,信号质量判断结果包括判断模块判断得到的第i个周期的信号为正常生理信号或第i个周期的信号为异常生理信号,以及第i个周期的信号之前的每个周期的信号为正常生理信号或该每个周期的信号为异常生理信号。其中,若第i个周期的信号之前的一个周期的信号的相似结果满足预设相似条件,则判断该周期的信号为正常生理信号;若第i个周期的信号之前的一个周期的信号的相似结果不满足预设相似条件,则判断该周期的信号为异常生理信号。In a possible implementation manner, the above apparatus may further include: an output module. The output module is used for outputting the signal quality judgment result, and the signal quality judgment result includes that the signal of the i-th cycle obtained by the judgment module is a normal physiological signal or the signal of the i-th cycle is an abnormal physiological signal, and the signal of the i-th cycle is an abnormal physiological signal. The signal of each cycle before the signal is a normal physiological signal or the signal of each cycle is an abnormal physiological signal. Wherein, if the similarity result of the signal of a cycle before the signal of the ith cycle satisfies the preset similarity condition, the signal of the cycle is judged to be a normal physiological signal; if the signal of a cycle before the signal of the ith cycle is similar If the result does not satisfy the preset similarity condition, it is determined that the signal of the period is an abnormal physiological signal.
第三方面,一种生理信号质量判断装置,该生理信号质量判断装置可以包括处理器、存储器、显示器、输入器和总线;该存储器用于存储该至少一个指令,该处理器、该存储器、该显示器和该输入器通过该总线连接,当该装置运行时,处理器执行存储器存储的至少一个指令,以使装置执行如第一方面以及第一方面的各种可选方式中的生理信号质量判断方法。In a third aspect, a physiological signal quality judging device may include a processor, a memory, a display, an input device and a bus; the memory is used to store the at least one instruction, the processor, the memory, the The display and the input device are connected through the bus, and when the device is running, the processor executes at least one instruction stored in the memory, so that the device performs the physiological signal quality judgment in the first aspect and various optional manners of the first aspect method.
第四方面,提供一种计算机存储介质,该计算机存储介质中存储有至少一个指令;当该至少一个指令在计算机上运行时,使得计算机执行如第一方面以及第一方面的各种可选方式中的生理信号质量判断方法。In a fourth aspect, a computer storage medium is provided, and at least one instruction is stored in the computer storage medium; when the at least one instruction is executed on a computer, the computer is made to execute various optional manners such as the first aspect and the first aspect. Physiological signal quality judgment method in .
第五方面,提供一种计算机程序,该计算程序产品中存储有至少一个指令;当该至少一个指令在计算机上运行时,使得计算机执行如第一方面以及第一方面的各种可选方式中的生理信号质量判断方法。In a fifth aspect, a computer program is provided, and at least one instruction is stored in the computing program product; when the at least one instruction is executed on a computer, the computer is made to execute the first aspect and various optional manners of the first aspect. Physiological signal quality judgment method.
需要说明的是,本申请的第三方面中的处理器可以为第二方面中的提取模块、划分模块、判断模块、确定模块、更新模块和获取模块等功能模块的集成,处理器可以实现第二方面上述的各个功能模块的功能。第二方面和第三方面中各个模块的详细描述以及有益效果分析可以参考上述第一方面及其各种可能的实现方式中的对应描述及技术效果,此处不再赘述。It should be noted that the processor in the third aspect of the present application may be an integration of functional modules such as an extraction module, a division module, a judgment module, a determination module, an update module, and an acquisition module in the second aspect, and the processor may implement the first The second aspect is the functions of the above-mentioned functional modules. For detailed descriptions and analysis of beneficial effects of the modules in the second aspect and the third aspect, reference may be made to the corresponding descriptions and technical effects in the first aspect and various possible implementations thereof, which will not be repeated here.
附图说明Description of drawings
图1为本发明实施例提供的一种可穿戴设备的结构示意图;FIG. 1 is a schematic structural diagram of a wearable device according to an embodiment of the present invention;
图2为本发明实施例提供的一种生理信号的波形示意图;FIG. 2 is a schematic waveform diagram of a physiological signal provided by an embodiment of the present invention;
图3为本发明实施例提供的一种生理信号质量判断方法的流程示意图;3 is a schematic flowchart of a method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种生理信号的波形示意图;FIG. 4 is a schematic waveform diagram of another physiological signal provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种生理信号的波形示意图;FIG. 5 is a schematic waveform diagram of another physiological signal provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;6 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;7 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图8为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;8 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图9为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;9 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图10为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;10 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图11为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;11 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图12为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;12 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图13为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;13 is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention;
图14为本发明实施例提供的另一种生理信号质量判断方法的流程示意图;14 is a schematic flowchart of another method for determining the quality of a physiological signal provided by an embodiment of the present invention;
图15为本发明实施例提供的生理信号质量判断装置的一种可能的组成示意图;15 is a schematic diagram of a possible composition of the apparatus for determining the quality of a physiological signal provided by an embodiment of the present invention;
图16为本发明实施例提供的生理信号质量判断装置的另一种可能的组成示意图;FIG. 16 is a schematic diagram of another possible composition of the apparatus for determining the quality of a physiological signal provided by an embodiment of the present invention;
图17为本发明实施例提供的生理信号质量判断装置的另一种可能的组成示意图;FIG. 17 is another possible schematic diagram of the composition of the apparatus for judging the quality of a physiological signal provided by an embodiment of the present invention;
图18为本发明实施例提供的生理信号质量判断装置的另一种可能的组成示意图;18 is a schematic diagram of another possible composition of the apparatus for determining the quality of a physiological signal provided by an embodiment of the present invention;
图19为本发明实施例提供的生理信号质量判断装置的另一种可能的组成示意图;FIG. 19 is a schematic diagram of another possible composition of the apparatus for determining the quality of a physiological signal provided by an embodiment of the present invention;
图20为本发明实施例提供的生理信号质量判断装置的另一种可能的组成示意图。FIG. 20 is a schematic diagram of another possible composition of the apparatus for determining the quality of a physiological signal provided by an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供一种生理信号质量判断方法及装置,应用于根据人体的生理信号得到人体生理信息的过程中,具体应用于根据人体的生理信号得到人体生理信息之前、判断该生理信号质量的过程中,可以提高生理信号质量判断结果的准确性,并减少生理信号质量判断过程中的计算量。Embodiments of the present invention provide a method and device for judging the quality of a physiological signal, which are applied in the process of obtaining physiological information of the human body according to the physiological signal of the human body, and are specifically applied to the process of judging the quality of the physiological signal before obtaining the physiological information of the human body according to the physiological signal of the human body. In the process, the accuracy of the result of judging the quality of the physiological signal can be improved, and the amount of calculation in the process of judging the quality of the physiological signal can be reduced.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行详细地描述。The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings in the embodiments of the present invention.
本发明实施例提供的生理信号质量判断方法,所涉及的生理信号可以为具有周期性或类周期性的生理信号,如人体的心电、脉搏波、呼吸、血压等具有周期性的生理信号。其中,上述生理信号均包含大量人体生理信息,如人体的脉搏波信号可以包含人体的心率、呼吸率和血氧等生理信息。In the method for judging the quality of a physiological signal provided by the embodiment of the present invention, the involved physiological signal may be a periodic or quasi-periodic physiological signal, such as a human body's electrocardiogram, pulse wave, respiration, blood pressure and other periodic physiological signals. The above physiological signals all contain a large amount of physiological information of the human body. For example, the pulse wave signal of the human body may contain physiological information such as the heart rate, the respiratory rate, and the blood oxygen of the human body.
需要说明的是,本发明实施例提供的生理信号质量判断方法,除了可以判断上述生理信号的信号质量之外,还可以判断其他具有周期性或类周期信号的信号质量,如计步算法中的加速度信号,本发明实施例对此不作限定。It should be noted that, in the method for judging the quality of physiological signals provided by the embodiments of the present invention, in addition to judging the signal quality of the above-mentioned physiological signals, the quality of other signals having periodicity or quasi-periodic signals can also be judged, such as in the pedometer algorithm. The acceleration signal is not limited in this embodiment of the present invention.
本发明实施例提供的生理信号质量判断装置可以为能够获取人体的生理信号的可穿戴设备。其中,可穿戴设备,即直接穿在用户的身体上,或是整合到用户的衣服或配件中的一种便携式设备,且大多数可穿戴设备内置智能化系统,可连接手机及各类终端,具有拍照、GPS定位、亲情通话、智能防丢、监测睡眠、监测心率、跑步记步等以上功能中的一种或者多种。常见的可穿戴设备包括以手腕为支撑的智能手环、智能手表等产品,以脚为支撑的智能鞋、袜子或者其他腿上佩戴产品等,以头部为支撑的智能眼镜、头盔、头带等产品,以及智能体温贴、心率带、智能服装、书包、拐杖、配饰等各类形态的产品等。The apparatus for determining the quality of a physiological signal provided by the embodiment of the present invention may be a wearable device capable of acquiring a physiological signal of a human body. Among them, wearable devices are portable devices that are directly worn on the user's body or integrated into the user's clothes or accessories, and most wearable devices have built-in intelligent systems that can be connected to mobile phones and various terminals. It has one or more of the above functions such as taking pictures, GPS positioning, family calls, intelligent anti-lost, monitoring sleep, monitoring heart rate, and running steps. Common wearable devices include wrist-supported smart bracelets, smart watches and other products, foot-supported smart shoes, socks or other leg-wearing products, and head-supported smart glasses, helmets, and headbands and other products, as well as various forms of products such as smart body temperature stickers, heart rate belts, smart clothing, school bags, crutches, accessories, etc.
示例性的,图1为本发明实施例提供的一种可穿戴设备的结构示意图,参见图1,可穿戴设备10可以包括以下一个或多个组件:传感器组件101,存储器102,处理组件103,多媒体组件104,音频组件105,输入/输出(I/O)的接口106,电源组件107,以及通信组件108。Exemplarily, FIG. 1 is a schematic structural diagram of a wearable device provided by an embodiment of the present invention. Referring to FIG. 1 , the
其中,传感器组件101包括一个或多个传感器,用于为可穿戴设备10提供各个方面的状态评估。其中,上述可穿戴设备10提供的各个方面的状态变化可以是由使用该可穿戴设备10的用户的操作引起的,或者由该用户的生理信息变化引起的。Wherein, the
示例性的,传感器组件101可以检测到可穿戴设备10的打开/关闭状态,组件的相对定位。传感器组件101还可以检测可穿戴设备10或者其中一个组件的位置改变,可穿戴设备10方位或加速/减速和可穿戴设备10的温度变化。传感器组件101可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。具体的,传感器组件101可以包括脉搏传感器,如红外脉搏传感器、心率脉搏传感器、光电脉搏传感器、腕部脉搏传感器或数字脉搏传感器等,用于检测用户的脉搏波,以便可以得到人体的心率等生理信息。其中,常用的脉搏传感器可以是PPG传感器。传感器组件101可以包括血压传感器,用于检测人体的血压。在一些实施例中,传感器组件101还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。例如,上述CMOS或CCD图像传感器可以用于获取人体的脸部、手部等皮肤裸露部分的视频信号。其中,上述视频信号可以包括多个帧,每一帧即一个二维图像,该二维图像为红绿蓝RGB图像,该RGB图像可以分为R路图像、G路图像和B路图像三路图像,这三路图像可以用于提取出人体的脉搏波信号。在另一些实施例中,该传感器组件101还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Exemplarily, the
存储器102被配置为存储各种类型的数据以支持在可穿戴设备10的操作。这些数据的示例包括用于在可穿戴设备10上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频,以及人体生理信息等数据。存储器102可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The
处理组件103通常控制可穿戴设备10的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作,以及处理传感器获取到的信号或数据。具体的,在上述传感器组件101检测并获取生理信号之后,处理组件103可以判断该生理信号质量,得到该生理信号为正常生理信号或者该生理信号为异常生理信号;从而,根据正常生理信号得到人体生理信息。其中,处理组件103可以包括一个或多个处理器1031来执行指令。此外,处理组件103可以包括一个或多个模块,便于处理组件103和其他组件之间的交互。例如,处理组件103可以包括多媒体模块,以方便多媒体组件104和处理组件103之间的交互。The
多媒体组件104包括在可穿戴设备10和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。上述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与上述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件104包括一个摄像头。当可穿戴设备10处于操作模式,如拍摄模式或视频模式时,摄像头可以接收外部的多媒体数据。每个摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。当然,上述获取人体的脸部、手部等皮肤裸露部分的视频信号除了可以由上述CMOS或CCD图像传感器等传感器获取之外,还可以由多媒体组件104中的摄像头获取,本发明实施例对此不作限定。
音频组件105被配置为输出和/或输入音频信号。例如,音频组件105包括一个麦克风(MC),当可穿戴设备10处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器102或经由通信组件108发送。在一些示例中,音频组件105还包括一个扬声器,用于输出音频信号。具体的,本发明实施这里,音频组件105可以用于输出上述处理组件103判断得到的生理信号质量判断结果,以及输出根据生理信号得到的人体生理细信息,如人体的心率为65次/分(beats per minute,bpm)。
I/O接口106为处理组件102和外围接口模块之间提供接口,上述外围接口模块可以是点击轮,按钮等。这些按钮可包括但不限于:主页按钮、启动按钮和锁定按钮。具体的,本发明实施这里,I/O接口106中的主页按钮还可以用于指示处理组件103开始处理上述传感器组件101获取的生理信号。The I/
电力组件107为可穿戴设备10的各种组件提供电力。电力组件107可以包括电源管理系统,一个或多个电源,及其他与为可穿戴设备10生成、管理和分配电力相关联的组件。
通信组件108可以支持可穿戴设备10和其他设备之间有线或无线方式的通信,使得可穿戴设备10可以接入基于通信标准的无线网络,如WF,2G或3G,或它们的组合。在一个示例性实施例中,通信部件108经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,上述通信部件108还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFD)技术,红外数据协会(rDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。具体的,本发明实施例这里,通信组件108可以用于向其他设备发送上述处理组件103判断得到的生理信号质量判断结果,或者发送根据生理信号得到的人体生理信息,如人体的心率为65bpm。
在示例性实施例中,可穿戴设备可以被一个或多个应用专用集成电路(ASC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现。In an exemplary embodiment, the wearable device may be implemented by one or more application specific integrated circuits (ASCs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器102,上述指令可由可穿戴设备的处理器103执行。例如,上述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a
需要说明的是,本发明实施例中提供的生理信号判断装置除了可以是上述可穿戴设备之外,还可以是能够获取人体的生理信号的手机、个人计算机(Personal Computer,PC)、平板电脑等终端设备。本发明实施例以下仅以上述生理信号质量判断装置为可穿戴设备为例,说明本发明实施例提供的生理信号质量判断方法。It should be noted that, in addition to the above-mentioned wearable device, the physiological signal determination device provided in the embodiment of the present invention may also be a mobile phone, a personal computer (PC), a tablet computer, etc. that can obtain the physiological signals of the human body. Terminal Equipment. Embodiments of the present invention The following only takes the above-mentioned physiological signal quality judgment apparatus as a wearable device as an example to describe the physiological signal quality judgment method provided by the embodiments of the present invention.
具体的,本发明实施例以下仅以生理信号为脉搏波信号为例,说明本发明实施例提供的生理信号质量判断方法。Specifically, in the embodiments of the present invention, the following only takes the physiological signal as a pulse wave signal as an example to describe the method for judging the quality of a physiological signal provided by the embodiment of the present invention.
如图2所示,为本发明实施例提供的一种生理信号的波形示意图。图2示出的生理信号的波形为理想情况下的一段脉搏波信号。对于理想情况下的脉搏波信号,每一个周期的信号都可以具有相同的特征及特征点。如脉搏波信号中每个周期的信号均包括上升支、主波峰、重搏波、下降支等特征,以及顶点、底点等特征点。As shown in FIG. 2 , it is a schematic diagram of a waveform of a physiological signal provided by an embodiment of the present invention. The waveform of the physiological signal shown in FIG. 2 is a pulse wave signal under ideal conditions. For an ideal pulse wave signal, each cycle of the signal can have the same features and feature points. For example, the signal of each cycle in the pulse wave signal includes characteristics such as ascending branch, main wave peak, dichotomous wave, descending branch, etc., as well as characteristic points such as apex and bottom point.
具体的,图2中的横坐标t(s)的变量为时间t,时间t的单位为秒(s);纵坐标A(mv)的变量为幅值A,幅值A的单位为毫伏(mv)。B1点、B2点和B3点为三个底点,C1点和C2点为两个顶点。相邻的底点之间的波形可以为一个周期的信号。当然区分图2中的脉搏波信号的周期的特征点除了底点,还可以是其他特征点,如顶点。示例性的,图2中底点B1与底点B2之间的波形为一个周期的信号(记为信号周期1);信号周期1的周期值可以记为T1。底点B2与底点B3之间的波形为另一个周期的信号(记为信号周期2);信号周期2的周期值可以记为T2。一般而言,正常的脉搏波信号的周期值对应人体的心率正常范围为40bpm~180bpm。图2中底点B1到F1点之间的波形为信号周期1的主波,F1点到底点B2之间的波形为信号周期1的重搏波。Specifically, the variable of the abscissa t(s) in FIG. 2 is time t, and the unit of time t is seconds (s); the variable of the ordinate A (mv) is the amplitude A, and the unit of the amplitude A is millivolts (mv). Points B 1 , B 2 and B 3 are three base points, and points C 1 and C 2 are two vertices. The waveform between adjacent bottom points can be a one-period signal. Of course, the feature points that distinguish the period of the pulse wave signal in FIG. 2 may be other feature points, such as apex, in addition to the bottom point. Exemplarily, the waveform between the bottom point B 1 and the bottom point B 2 in FIG. 2 is a signal of one cycle (denoted as signal period 1 ); the period value of
其中,底点B1为信号周期1的起点。底点B1到顶点C1之间的波形为信号周期1的主波上升支,其高度值可以记为H1-1,宽度值可以记为T1-1。顶点C1到F1点之间的波形为信号周期1的主波下降支,其高度值可以记为H1-2,宽度值可以记为T1-2。F1点至G1点之间的波形为信号周期1的重搏波上升支,其高度值可以记为H1-3,宽度值可以记为T1-3。G1点所在的波峰为信号周期1的重搏波波峰。G1点至底点B2之间的波形为信号周期1的重搏波下降支,其高度值可以记为H1-4,宽度值可以记为T1-4。底点B2点为信号周期1的终点。其中,信号周期1的周期值T1=T1-1+T1-2+T1-3+T1-4。上述信号周期1中底点B1到顶点C1的主波上升支还可以称为信号周期1的收缩波(systolic wave);顶点C1到底点B2的波形还可以称为信号周期1的舒张波(diastolic wave)。从而,信号周期1的收缩波的高度值为H1-1,信号周期1的舒张波的高度值可以记为H1-5。The bottom point B 1 is the starting point of
类似的,上述脉搏波信号中的其他周期的信号(如信号周期2)的特征和特征点与信号周期1类似,本发明实施例这里不再赘述。Similarly, the characteristics and characteristic points of signals of other periods (eg, signal period 2 ) in the above-mentioned pulse wave signal are similar to those of
另外,信号周期2中底点B2到E2点的波形与坐标轴t(s)组成的图形的面积可以记为Sa;E2点到底点B3之间的波形与坐标轴t(s)组成的图形的面积可以记为Sb;信号周期2的波形与坐标轴t(s)组成的图形的面积可以记为S,即底点B2点到底点B3之间的波形与坐标轴t(s)组成的图形的面积可以记为S。其中,S=Sa+Sb。类似的,对于脉搏波信号的信号周期1或者其他信号周期的波形与坐标轴组成的图形的面积的描述可以参照上述对信号周期2的描述,这里不再赘述。In addition, the area of the graph formed by the waveform from the bottom point B2 to E2 and the coordinate axis t(s) in the signal period 2 can be recorded as Sa ; the waveform between the E2 point and the bottom point B3 and the coordinate axis t( The area of the graph formed by s) can be denoted as S b ; the area of the graph formed by the waveform of the
需要说明的是,由于当前的穿戴式传感器较为简单,且大多获取的是腕部信号,因此当前的穿戴式传感器获取的脉搏波信号往往看不到重搏波等特征以及重搏波的峰值所在的特征点。但是,当前的穿戴式传感器一般都可以获取到脉搏波信号的底点和顶点。类似的,当前的穿戴式传感器一般也可以获取到除脉搏波信号之外的其他生理信号的顶点和底点,这里不再赘述。本发明实施例以下,仅以生理信号的特征点为顶点和底点为例,说明本发明实施例提供的生理信号质量判断方法。It should be noted that, because the current wearable sensors are relatively simple and most of them acquire wrist signals, the pulse wave signals obtained by the current wearable sensors often cannot see features such as diploid waves and the peaks of diploid waves. feature points. However, current wearable sensors can generally obtain the bottom and top of the pulse wave signal. Similarly, current wearable sensors can generally also acquire the apex and nadir of other physiological signals other than the pulse wave signal, which will not be repeated here. Embodiments of the Present Invention Hereinafter, the method for judging the quality of a physiological signal provided by the embodiment of the present invention is described by taking only the characteristic points of the physiological signal as the vertex and the bottom as an example.
为使本发明实施例的目的、技术方案和优点更加清楚,下面结合图1所示的可穿戴设备10,通过图3所示的生理信号质量判断方法的流程图对本发明实施例提供的生理信号质量判断方法进行详细描述。参见图3,本发明实施例这里提供的生理信号质量判断方法可以包括S301-S304:In order to make the purposes, technical solutions, and advantages of the embodiments of the present invention clearer, the following describes the physiological signals provided by the embodiments of the present invention through the flowchart of the physiological signal quality determination method shown in FIG. 3 in conjunction with the
S301、可穿戴设备采集生理信号,该生理信号为周期信号或类周期信号。S301. The wearable device collects a physiological signal, where the physiological signal is a periodic signal or a periodic signal.
其中,步骤301可以由图1所示的可穿戴设备10中的传感器组件101,如PPG传感器来执行。Wherein,
示例性的,上述传感器组件101可以以一定的采样频率按照固定时长(如3s)采集生理信号,所获取的生理信号为一组离散样本。Exemplarily, the
其中,采样频率不影响本申请目的的实现,本发明实施例对采样频率不作具体限制,例如,可以为25-100Hz。The sampling frequency does not affect the realization of the purpose of the present application, and the embodiment of the present invention does not limit the sampling frequency, for example, it may be 25-100 Hz.
需要说明的是,可穿戴设备获取生理信号之后,可以对该生理信号预处理,如滤波处理,获取脉搏波信号,如图4所示,为经过预处理的脉搏波信号。其中,该预处理过程可以由可穿戴设备中的处理器执行,也可以由可穿戴设备中单独的滤波组件执行,该滤波组件可以为硬件实现的滤波器,本发明实施例对此不作限定。It should be noted that, after the wearable device obtains the physiological signal, the physiological signal may be preprocessed, such as filtering, to obtain the pulse wave signal, as shown in FIG. 4 , which is the preprocessed pulse wave signal. The preprocessing process may be performed by a processor in the wearable device, or may be performed by a separate filtering component in the wearable device, and the filtering component may be a filter implemented by hardware, which is not limited in this embodiment of the present invention.
S302、可穿戴设备提取生理信号的特征点,该特征点包括用于指示该生理信号周期的特征点。S302. The wearable device extracts a feature point of the physiological signal, where the feature point includes a feature point used to indicate the period of the physiological signal.
其中,上述用于指示该生理信号周期的特征点可以为生理信号的顶点和底点。Wherein, the above-mentioned characteristic points used to indicate the period of the physiological signal may be the apex and the nadir of the physiological signal.
可选的,上述特征点还可以是生理信号中除底点和顶点外的其他特征点,如脉搏波信号的重搏波波峰所在的特征点。Optionally, the above-mentioned feature points may also be other feature points in the physiological signal except the bottom point and the apex, such as the feature points where the peaks of the pulse wave signals are located.
由于上述可穿戴设备提取到的生理信号(如脉搏波生理信号)中、相邻底点之间的波形可以为一个周期,或者相邻顶点之间的波形可以为一个周期;而可穿戴设备是逐周期判断生理信号的信号质量的,因此本发明实施例提供的方法还可以包括S303:Because in the physiological signal (such as pulse wave physiological signal) extracted by the above wearable device, the waveform between adjacent bottom points can be a cycle, or the waveform between adjacent vertices can be a cycle; and the wearable device is a The signal quality of the physiological signal is judged cycle by cycle, so the method provided by the embodiment of the present invention may further include S303:
S303、可穿戴设备根据生理信号的特征点,对该生理信号划分周期。S303. The wearable device divides the physiological signal into cycles according to the characteristic points of the physiological signal.
示例性的,如图5所示,为本发明实施例提供的一种生理信号的波形示意图。图5示出了可穿戴设备通过穿戴式传感器对图4所示的脉搏波信号提取出的底点和顶点。随后,可穿戴设备便可以对如图5中相邻底点之间的波形划分周期,并按照时间顺序记录每个周期的信号,即记录每个周期的信号的样本序列。Exemplarily, as shown in FIG. 5 , it is a schematic diagram of a waveform of a physiological signal provided by an embodiment of the present invention. FIG. 5 shows the bottom point and the top point extracted by the wearable device from the pulse wave signal shown in FIG. 4 through the wearable sensor. Then, the wearable device can divide the waveform between adjacent bottom points as shown in Figure 5, and record the signal of each cycle in time sequence, that is, record the sample sequence of the signal of each cycle.
其中,可穿戴设备获取的第1个周期的信号的样本序列可以记录为x1={x1_1,x1_2,…x1_j,…,x1_n},j∈{1,2,……,n},第1个周期的信号的样本序列x1中可以包括n个样本,n为正整数;x1_j为第1个周期的信号的样本序列x1中的第j个样本。类似的,可穿戴设备获取到第1个周期的信号之后的任一周期的信号时,也可以记录该周期的信号的样本序列,该周期的信号的样本序列中也可以包括n个样本。Wherein, the sample sequence of the signal of the first cycle acquired by the wearable device can be recorded as x 1 ={x 1_1 , x 1_2 ,...x 1_j ,...,x 1_n }, j∈{1,2,...,n }, the sample sequence x 1 of the signal of the first cycle may include n samples, where n is a positive integer; x 1_j is the jth sample in the sample sequence x 1 of the signal of the first cycle. Similarly, when the wearable device acquires the signal of any period after the first period of the signal, it can also record the sample sequence of the signal of the period, and the sample sequence of the signal of the period can also include n samples.
需要说明的是,当本发明实施例中提供的采样频率为100Hz时,可穿戴设备获取的每个周期的信号的样本序列中两个样本之间的时间间隔可以为0.01s。结合图3和图5所示的生理信号波形示意图,图5所示的第1个周期的信号的时间T1可以为0.3s,则该第1个周期的信号的波形中可以包括30个点,即该第1个周期的信号的样本序列中可以包括30个样本。It should be noted that, when the sampling frequency provided in the embodiment of the present invention is 100 Hz, the time interval between two samples in the sample sequence of the signal of each cycle acquired by the wearable device may be 0.01s. Combining the schematic diagrams of the physiological signal waveforms shown in Fig. 3 and Fig. 5, the time T1 of the signal in the first cycle shown in Fig. 5 can be 0.3s, then the waveform of the signal in the first cycle can include 30 points , that is, the sample sequence of the signal of the first cycle may include 30 samples.
S304、可穿戴设备根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量。S304. The wearable device judges the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set.
其中,上述步骤302-304均可以由图1所示的可穿戴设备10中的处理组件102来执行。Wherein, the above steps 302-304 may all be performed by the
上述当前信号模板集合包括N个信号模板,该N个信号模板可以根据第i个周期的信号之前的生理信号获取,N大于等于2,i大于N。也就是说,上述N个信号模板可以是第1个周期的信号到第i-1个周期的信号中的N个周期的信号,且该N个信号模板为可穿戴设备实时获取的。上述第i个周期的信号与当前信号模板集合之间的相似性,是由第i个周期的信号与当前信号模板集合包括的N个信号模板中每个信号模板之间的相似性组成的。The above-mentioned current signal template set includes N signal templates, the N signal templates can be obtained according to the physiological signal before the signal of the ith cycle, N is greater than or equal to 2, and i is greater than N. That is to say, the above N signal templates may be N cycles of signals from the first cycle signal to the i-1th cycle signal, and the N signal templates are acquired by the wearable device in real time. The similarity between the signal of the i-th cycle and the current signal template set is composed of the similarity between the signal of the i-th cycle and each of the N signal templates included in the current signal template set.
其中,可穿戴设备获取的周期的信号中每两个周期的信号之间具有相似性。这两个周期的信号之间的相似性可以用于指示这两个周期的信号的波形的相似程度。例如,两个周期的信号之间的相似性越高,表示这两个周期的信号的波形的相似程度越高;两个周期的信号之间的相似性越低,表示这两个周期的信号的波形的相似程度越低。也就是说,上述第i个周期的信号与任一信号模板的相似性越高,表示第i个周期的信号的波形与该信号模板的波形的相似程度越高;进而,上述第i个周期的信号与当前信号模板集合之间的相似性越高。上述第i个周期的信号与任一信号模板的相似性越低,表示第i个周期的信号的波形与该信号模板的波形的相似程度越低;进而,上述第i个周期的信号与当前信号模板集合之间的相似性越低。Wherein, there is similarity between the signals of every two cycles among the periodic signals acquired by the wearable device. The similarity between the signals of the two periods can be used to indicate how similar the waveforms of the two periods of signals are. For example, the higher the similarity between the signals of two cycles, the higher the similarity of the waveforms of the signals of the two cycles; the lower the similarity between the signals of the two cycles, the higher the similarity of the signals of the two cycles The less similar the waveforms are. That is to say, the higher the similarity between the signal of the i-th cycle and any signal template, the higher the degree of similarity between the waveform of the signal of the i-th cycle and the waveform of the signal template; furthermore, the above-mentioned i-th cycle The higher the similarity between the signal and the current signal template set. The lower the similarity between the signal of the i-th cycle and any signal template, the lower the degree of similarity between the waveform of the signal of the i-th cycle and the waveform of the signal template; furthermore, the signal of the i-th cycle and the current The lower the similarity between the signal template sets.
一般而言,当前信号模板集合中N个信号模板中每个信号模板均为质量较好的生理信号。从而,若第i个周期的信号与当前信号模板集合之间的相似性越高,则说明第i个周期的信号的信号质量越好;第i个周期的信号与当前信号模板集合之间的相似性越低,则第i个周期的信号的信号质量越差。Generally speaking, each signal template of the N signal templates in the current signal template set is a physiological signal of better quality. Therefore, if the similarity between the signal of the ith cycle and the current signal template set is higher, it means that the signal quality of the signal of the ith cycle is better; the difference between the signal of the ith cycle and the current signal template set is better. The lower the similarity, the worse the signal quality of the i-th cycle signal.
其中,可穿戴设备可以在获取第i个周期的信号的同时记录第i个周期的信号的样本序列,如第i个周期的信号样本序列可以记录为xi={xi_1,xi_2,…xi_j,…,xi_n},j∈{1,2,……,n}。此时,第i个周期的信号也可以简称为xi。其中,第i个周期的信号的样本序列xi中包括n个样本,xi_j为第i个周期的信号的样本序列xi中的第j个样本。当然,在可穿戴设备获取第i个周期的信号之前,可穿戴设备可以已经记录了前i-1个周期的信号中每个周期的信号的样本序列。例如,可穿戴设备可以将第i-1个周期的信号的样本序列记录为xi-1={xi-1_1,xi-1_2,…xi-1_j,…,xi-1_n},第i-1个周期的信号的样本序列xi-1中也可以包括n个样本,xi-1_j为第i-1个周期的信号的样本序列xi-1中的第j个样本。Wherein, the wearable device can record the sample sequence of the signal of the ith cycle while acquiring the signal of the ith cycle. For example, the sample sequence of the signal of the ith cycle can be recorded as x i ={x i_1 , x i_2 , ... x i_j , ..., x i_n }, j∈{1, 2, ..., n}. At this time, the signal of the i-th cycle may also be simply referred to as xi . Wherein, the sample sequence xi of the signal of the ith cycle includes n samples, and xi_j is the jth sample in the sample sequence xi of the signal of the ith cycle. Of course, before the wearable device acquires the signal of the i-th cycle, the wearable device may have recorded a sample sequence of the signal of each cycle in the first i-1 cycle of the signal. For example, the wearable device can record the sample sequence of the i-1th cycle signal as x i-1 ={x i-1_1 , x i -1_2 ,...x i-1_j ,..., xi-1_n }, The sample sequence xi-1 of the signal of the i-1 th cycle may also include n samples, and xi-1_j is the j th sample in the sample sequence xi-1 of the signal of the i-1 th cycle.
需要说明的是,本发明实施例提供的生理信号质量判断方法中,用于判断生理信号质量的当前信号模板集合是可穿戴设备根据实时获取的生理信号得到的,而不是采用机器学习算法或先验知识、从大量的离线生理信号中得到的;从而,本发明实施例提供的当前信号模板更加符合可穿戴设备实时获取的生理信号,使得根据上述当前信号模板集合得到的生理信号质量判断结果的准确性较高。并且,由于本发明实施例获取到生理信号后,可穿戴设备提取生理信号中的顶点和底点便可以支持可穿戴设备判断生理信号质量,而不一定需要提取生理信号中除了顶点和底点之外的其他大量特征点以支持可穿戴设备判断生理信号质量;因此,可以减小可穿戴设备判断生理信号质量过程中的计算量,并进一步提高生理信号质量判断结果的准确性。It should be noted that, in the method for judging the quality of physiological signals provided by the embodiments of the present invention, the current signal template set used for judging the quality of physiological signals is obtained by the wearable device according to the physiological signals acquired in real time, rather than using machine learning algorithms or prioritization. Therefore, the current signal template provided by the embodiment of the present invention is more in line with the physiological signal obtained by the wearable device in real time, so that the quality judgment result of the physiological signal obtained according to the above-mentioned current signal template set is more accurate. High accuracy. Moreover, since the embodiment of the present invention obtains the physiological signal, the wearable device can extract the apex and the nadir in the physiological signal to support the wearable device to judge the quality of the physiological signal, and it is not necessary to extract the apex and the nadir in the physiological signal. In addition, a large number of other feature points can be used to support the wearable device in judging the quality of the physiological signal; therefore, the calculation amount in the process of judging the quality of the physiological signal by the wearable device can be reduced, and the accuracy of the judgment result of the quality of the physiological signal can be further improved.
具体的,在一种可能的实现方式中,可穿戴设备根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量,可以判断出第i个周期的信号为正常生理信号还是异常生理信号。本发明实施例提供的生理信号质量判断方法中的S304可以包括S601-S603或者S601、S602、S604。示例性的,如图6所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图6中,图3所示的S304可以包括S601-S603或者S601、S602、S604:Specifically, in a possible implementation manner, the wearable device judges the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set, and can determine the signal quality of the ith cycle Whether the signal is a normal physiological signal or an abnormal physiological signal. S304 in the method for judging the quality of a physiological signal provided by the embodiment of the present invention may include S601-S603 or S601, S602, and S604. Exemplarily, as shown in FIG. 6 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. In FIG. 6, S304 shown in FIG. 3 may include S601-S603 or S601, S602, and S604:
S601、可穿戴设备确定第i个周期的信号的相似结果,该第i个周期的信号的相似性结果用于指示第i个周期的信号与当前信号模板集合之间的相似性。S601. The wearable device determines the similarity result of the signal of the ith cycle, where the similarity result of the signal of the ith cycle is used to indicate the similarity between the signal of the ith cycle and the current signal template set.
其中,可穿戴设备获取的周期的信号中每两个周期的信号之间的相似性,可以由这两个周期的信号的样本序列的相关系数或均方误差等相似参数表示。也就是说,上述第i个周期的信号与当前信号模板集合之间的相似性,可以由第i个周期的信号的样本序列与一个信号模板的样本序列的相关系数、均方误差等相似参数组成。从而,上述第i个周期的信号与当前信号模板集合之间的相似性,可以由第i个周期的信号的相似参数表示。如此,上述第i个周期的信号的相似结果可以为第i个周期的信号的相似参数。其中,第i个周期的信号的相似参数,可以为第i个周期的信号与当前N个信号模板中每个信号模板的相似参数之和,或者为第i个周期的信号与当前N个信号模板中每个信号模板的相似参数之间的均值。Among them, the similarity between the signals of every two cycles in the periodic signals obtained by the wearable device can be represented by similar parameters such as the correlation coefficient or the mean square error of the sample sequences of the signals of the two cycles. That is to say, the similarity between the signal of the i-th cycle and the current signal template set can be determined by the correlation coefficient, mean square error and other similar parameters of the sample sequence of the signal of the i-th cycle and the sample sequence of a signal template composition. Therefore, the similarity between the signal of the i-th cycle and the current signal template set can be represented by the similarity parameter of the signal of the i-th cycle. In this way, the similar results of the signal of the i-th cycle above may be similar parameters of the signal of the i-th cycle. Among them, the similar parameter of the signal of the ith cycle can be the sum of the similar parameters of the signal of the ith cycle and each signal template in the current N signal templates, or the signal of the ith cycle and the current N signals The mean between similar parameters for each signal template in the template.
其中,可穿戴设备可以将当前信号模板集合记录为y={y1,y2,…yt,…,yN-1,yN},t∈{1,2,……,N},该yt为当前N个信号模板中的第t个信号模板的样本序列。同时,可穿戴设备可以将第t个信号模板的样本序列yt记录为yt={yt_1,yt_2,…yt_j,…,yt_n},j∈{1,2,……,n}。第t个信号模板的样本序列yt中也可以包括n个样本,yt_j为第t个信号模板的样本序列yt中的第j个样本。随后,可穿戴设备可以将第i个周期的信号与当前N个信号模板中第t个信号模板的相似参数记录为ri_t。从而,第i个周期的信号的相似参数ri_t可以记录为:The wearable device can record the current signal template set as y={y 1 , y 2 ,...y t ,...,y N-1 ,y N },t∈{1,2,...,N}, The y t is the sample sequence of the t-th signal template in the current N signal templates. At the same time, the wearable device can record the sample sequence y t of the t-th signal template as y t ={y t_1 , y t_2 ,...y t_j ,...,y t_n },j∈{1,2,...,n }. The sample sequence y t of the t-th signal template may also include n samples, and y t_j is the j-th sample in the sample sequence y t of the t-th signal template. Subsequently, the wearable device may record the similar parameters of the signal of the i-th cycle and the t-th signal template in the current N signal templates as r i_t . Thus, the similar parameter r i_t of the i-th cycle signal can be recorded as:
或者, or,
需要说明的是,上述当前信号模板集合y中的任一信号模板为一个周期的信号,例如第1个信号模板y1可以为第1个周期的信号x1。本发明实施例为了方便描述,将一个信号模板和该信号模板对应的周期的信号分别用不同的字符表示。It should be noted that, any signal template in the above-mentioned current signal template set y is a signal of one cycle, for example, the first signal template y 1 may be the signal x 1 of the first cycle. For the convenience of description in the embodiments of the present invention, a signal template and a period signal corresponding to the signal template are respectively represented by different characters.
示例性的,在两个周期的信号之间的相似性由这两个周期的信号的样本序列的相关系数表示的情况下:第i个周期的信号与当前N个信号模板中第t个信号模板的相似参数ri_t为第i个周期的信号的样本序列xi与当前N个信号模板中第t个信号模板的样本序列yt的相关系数。Exemplarily, in the case where the similarity between the signals of two cycles is represented by the correlation coefficients of the sample sequences of the signals of the two cycles: the signal of the i-th cycle and the signal of the t-th signal in the current N signal templates The similarity parameter r i_t of the template is the correlation coefficient between the sample sequence xi of the i -th cycle signal and the sample sequence y t of the t-th signal template in the current N signal templates.
具体的,第i个周期的信号与当前N个信号模板中第t个信号模板的相似参数ri_t可以为:Specifically, the similar parameter r i_t between the signal of the i-th cycle and the t-th signal template in the current N signal templates may be:
其中,为第i个周期的信号的样本序列xi中n个样本的均值,且 为第t个信号模板的样本序列yt中n个样本的均值,且 in, is the mean of n samples in the sample sequence x i of the signal of the ith cycle, and is the mean of n samples in the sample sequence y t of the t-th signal template, and
进一步的,将带入(1)式中,第i个周期的信号与当前N个信号模板中第t个信号模板的相似参数ri_t还可以为:Further, will Bringing into formula (1), the similar parameter r i_t of the signal of the i-th cycle and the t-th signal template of the current N signal templates can also be:
需要说明的是,若两个周期的信号的样本序列的相关系数越大,则这两个周期的信号之间的相似性越高;反之,这两个周期的信号之间的相似性越低。从而,若相似参数ri_t越大,则第i个周期的信号与当前N个信号模板中第t个信号模板之间的相似性越高;进而,根据相似参数ri_t得到的第i个周期的信号的相似参数ri越大,第i个周期的信号的相似结果也就越好,第i个周期的信号的信号质量越好。若相似参数ri_t越小,则第i个周期的信号与当前N个信号模板中第t个信号模板之间的相似性越低;进而,根据相似参数ri_t得到的第i个周期的信号的相似参数ri越小,第i个周期的信号的相似结果也就越差,第i个周期的信号的信号质量越差。It should be noted that, if the correlation coefficient of the sample sequences of the two periods of signals is larger, the similarity between the two periods of signals is higher; otherwise, the similarity between the two periods of signals is lower. . Therefore, if the similarity parameter r i_t is larger, the similarity between the signal of the i-th cycle and the t-th signal template in the current N signal templates is higher; further, the i-th cycle obtained according to the similarity parameter r i_t The greater the similarity parameter r i of the signal of , the better the similarity result of the signal of the ith cycle, and the better the signal quality of the signal of the ith cycle. If the similarity parameter r i_t is smaller, the similarity between the signal of the i-th cycle and the t-th signal template in the current N signal templates is lower; further, the signal of the i-th cycle obtained according to the similarity parameter r i_t The smaller the similarity parameter r i of , the worse the similarity result of the signal in the ith cycle, and the worse the signal quality of the signal in the ith cycle.
在另一种示例中,在两个周期的信号之间的相似性由这两个周期的信号的样本序列的均方误差表示的情况下:第i个周期的信号与当前N个信号模板中第t个信号模板的相似参数ri_t为第i个周期的信号的样本序列xi与当前N个信号模板中第t个信号模板的样本序列yt的均方误差。In another example, in the case where the similarity between the signals of two cycles is represented by the mean square error of the sample sequence of the signals of the two cycles: the signal of the ith cycle is compared with the current N signal templates in the The similarity parameter r i_t of the t-th signal template is the mean square error of the sample sequence x i of the signal of the i-th cycle and the sample sequence y t of the t-th signal template in the current N signal templates.
具体的,第i个周期的信号与当前N个信号模板中第t个信号模板的均方误差msei_t(即相似参数ri_t)可以为:Specifically, the mean square error mse i_t (that is, the similarity parameter r i_t ) between the signal of the i-th cycle and the t-th signal template in the current N signal templates may be:
其中,ai_j为第i个周期的信号的样本序列xi经过归一化得到的样本序列ai的第j个样本,bi_j为第t个信号模板的样本序列yt经过归一化得到的样本序列bt的第j个样本。Among them, a i_j is the jth sample of the sample sequence a i obtained by normalizing the sample sequence x i of the i-th cycle signal, and b i_j is the sample sequence y t of the t-th signal template obtained by normalizing The jth sample of the sample sequence b t .
其中,与相关系数不同的是,若两个周期的信号的样本序列的均方误差越小,则这两个周期的信号之间的相似性越高;反之,这两个周期的信号之间的相似性越低。从而,在相似参数ri_t为均方误差msei_t的情况下,若相似参数ri_t越小,则第i个周期的信号与当前N个信号模板中第t个信号模板之间的相似性越高;进而,根据相似参数ri_t得到的第i个周期的信号的相似参数ri越小,第i个周期的信号的相似结果也就越好,第i个周期的信号的信号质量越好。若相似参数ri_t越大,则第i个周期的信号与当前N个信号模板中第t个信号模板之间的相似性越低;进而,根据相似参数ri_t得到的第i个周期的信号的相似参数ri越大,第i个周期的信号的相似结果也就越差,第i个周期的信号的信号质量越差。Among them, unlike the correlation coefficient, if the mean square error of the sample sequence of the two-period signal is smaller, the similarity between the two-period signals is higher; the lower the similarity. Therefore, in the case where the similarity parameter r i_t is the mean square error mse i_t , if the similarity parameter r i_t is smaller, the similarity between the signal of the i-th cycle and the t-th signal template in the current N signal templates is higher. Furthermore, the smaller the similarity parameter r i of the signal of the ith cycle obtained according to the similarity parameter r i_t , the better the similarity result of the signal of the ith cycle, and the better the signal quality of the signal of the ith cycle . If the similarity parameter r i_t is larger, the similarity between the signal of the i-th cycle and the t-th signal template in the current N signal templates is lower; further, the signal of the i-th cycle obtained according to the similarity parameter r i_t The larger the similarity parameter r i of , the worse the similarity result of the signal in the ith cycle, and the worse the signal quality of the signal in the ith cycle.
需要说明的是,本发明实施例以下,仅以两个周期的信号之间的相似性由这两个周期的信号样本序列的相关系数表示,说明本发明实施例提供的生理信号质量判断方法。It should be noted that, in the following embodiments of the present invention, only the similarity between two cycles of signals is represented by the correlation coefficients of the signal sample sequences of the two cycles to describe the method for judging the quality of physiological signals provided by the embodiments of the present invention.
进一步的,上述可穿戴设备根据第i个周期的信号的相似结果判断第i个周期的信号的信号质量,具体可以为可穿戴设备判断第i个周期的信号为正常生理信号还是异常生理信号。Further, the above-mentioned wearable device judges the signal quality of the signal of the ith cycle according to the similar result of the signal of the ith cycle, specifically, the wearable device can judge whether the signal of the ith cycle is a normal physiological signal or an abnormal physiological signal.
S602、可穿戴设备判断第i个周期的信号的相似结果是否满足预设相似条件。S602. The wearable device determines whether the similarity result of the signal in the i-th cycle satisfies a preset similarity condition.
其中,上述预设相似条件可以为可穿戴设备在执行S602之前预先设置的,该预设的相似条件可以用于指示可穿戴设备获取的生理信号中每个周期的信号是否为正常生理信号。The above preset similar conditions may be preset by the wearable device before executing S602, and the preset similar conditions may be used to indicate whether the signals of each cycle in the physiological signals obtained by the wearable device are normal physiological signals.
需要说明的是,在两个周期的信号之间的相似性由这两个周期的信号的样本序列的相关系数表示时,这两个周期的信号的相似参数的取值范围可以为[0,1]。一般而言,若两个周期的信号的相似参数大于或等于0.8时,则说明这两个周期的信号之间的相似性较高;若两个周期的信号的相似参数小于0.8时,则说明这两个周期的信号之间的相似性较低。若两个周期的信号的相似参数等于0时,则说明这两个周期的信号之间没有相似性。若两个周期的信号的相似参数等于1时,则说明这两个周期的信号之间完全相似。It should be noted that when the similarity between the two-period signals is represented by the correlation coefficients of the sample sequences of the two-period signals, the value range of the similarity parameters of the two-period signals can be [0, 1]. Generally speaking, if the similarity parameter of the two-period signals is greater than or equal to 0.8, it means that the similarity between the two-period signals is high; if the similarity parameters of the two-period signals are less than 0.8, it means that The similarity between the signals of these two periods is low. If the similarity parameter of the signals of the two periods is equal to 0, it means that there is no similarity between the signals of the two periods. If the similarity parameter of the signals of the two periods is equal to 1, it means that the signals of the two periods are completely similar.
其中,若上述第i个周期的信号的相似参数为第i个周期的信号与当前N个信号模板中每个信号模板的相似参数之和,则上述“第i个周期的信号的相结果是否满足预设的相似条件”可以为第i个周期的信号的相似参数是否大于等于0.8×N。若上述第i个周期的信号的相似参数为第i个周期的信号与当前N个信号模板中每个信号模板的相似参数之间的均值,则上述“第i个周期的信号的相似结果是否满足预设的相似条件”可以为第i个周期的信号的相似参数是否大于等于0.8。Wherein, if the similarity parameter of the signal of the i-th cycle is the sum of the similarity parameter of the signal of the i-th cycle and each signal template in the current N signal templates, then the above-mentioned "Is the phase result of the signal of the i-th cycle? “Meet the preset similarity condition” can be whether the similarity parameter of the signal of the i-th cycle is greater than or equal to 0.8×N. If the similarity parameter of the signal of the i-th cycle is the average value between the signal of the i-th cycle and the similarity parameters of each signal template in the current N signal templates, then the above "Is the similarity result of the signal of the i-th cycle? "Meet the preset similarity condition" can be whether the similarity parameter of the signal of the ith cycle is greater than or equal to 0.8.
S603、若第i个周期的信号的相似结果满足预设相似条件,可穿戴设备则判断第i个周期的信号为正常生理信号。S603. If the similarity result of the signal of the ith cycle satisfies the preset similarity condition, the wearable device determines that the signal of the ith cycle is a normal physiological signal.
其中,上述若第i个周期的信号的相似结果满足预设相似条件时,说明第i个周期的信号的信号质量达到正常生理信号的标准,即第i个周期的信号为正常生理信号。随后,可穿戴设备可以标记第i个周期的信号为正常生理信号,并根据第i个周期的信号得到人体生理信息。Wherein, if the similarity result of the signal of the ith cycle satisfies the preset similarity condition, it means that the signal quality of the signal of the ith cycle reaches the standard of normal physiological signal, that is, the signal of the ith cycle is a normal physiological signal. Then, the wearable device can mark the signal of the ith cycle as a normal physiological signal, and obtain the physiological information of the human body according to the signal of the ith cycle.
S604、若第i个周期的信号的相似结果不满足预设相似条件,可穿戴设备则判断第i个周期的信号为异常生理信号。S604. If the similarity result of the signal in the i-th cycle does not meet the preset similarity condition, the wearable device determines that the signal in the i-th cycle is an abnormal physiological signal.
其中,上述若第i个周期的信号的相似结果不满足预设相似条件时,说明第i个周期的信号的信号质量没有达到正常生理信号的标准,即第i个周期的信号为异常生理信号。随后,可穿戴设备可以标记第i个周期的信号为异常生理信号,并在确定人体生理信息的过程中不使用第i个周期的信号。Wherein, if the similarity result of the signal in the i-th cycle does not meet the preset similarity conditions, it means that the signal quality of the signal in the i-th cycle does not meet the standard of normal physiological signals, that is, the signal in the i-th cycle is an abnormal physiological signal . Subsequently, the wearable device can mark the signal of the ith cycle as an abnormal physiological signal, and not use the signal of the ith cycle in the process of determining the physiological information of the human body.
进一步的,在可穿戴设备确定第i个周期的信号的相似结果好于当前N个信号模板中至少一个信号模板的相似结果的情况下,可穿戴设备便可以更新当前信号模板集合。如在上述S603或S604之后,上述方法还可以包括S701。示例性的,如图7所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图7中,在图6所示的S603之后,上述方法还可以包括S701:Further, in the case that the wearable device determines that the similarity result of the signal in the ith cycle is better than the similarity result of at least one signal template in the current N signal templates, the wearable device can update the current signal template set. As after the above S603 or S604, the above method may further include S701. Exemplarily, as shown in FIG. 7 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. In FIG. 7, after S603 shown in FIG. 6, the above method may further include S701:
S701、可穿戴设备根据第i个周期的信号更新当前信号模板集合。S701. The wearable device updates the current signal template set according to the signal of the ith cycle.
上述步骤701可以由图1所示的可穿戴设备10中的处理组件102来执行。The above step 701 may be performed by the
其中,若第i个周期的信号的信号质量比当前信号模板集合中的N个信号模板中的至少一个信号模板的信号质量高,可穿戴设备便可以根据第i个周期的信号更新上述当前信号模板集合。Wherein, if the signal quality of the signal in the i-th cycle is higher than the signal quality of at least one signal template in the N signal templates in the current signal template set, the wearable device can update the current signal according to the signal in the i-th cycle Template collection.
需要说明的是,上述当前信号模板集合是可穿戴设备根据实时获取的生理信号不断更新的。其中,由于可穿戴设备根据信号质量较好的周期的信号替换信号质量相对较差的信号模板更新当前信号模板集合,因此上述当前信号模板集合中的信号模板的信号质量实时地提高。如此,根据上述实时更新的当前信号模板集合得到的生理信号质量判断结果的准确性较高。It should be noted that the above-mentioned current signal template set is continuously updated by the wearable device according to the physiological signals acquired in real time. Wherein, since the wearable device updates the current signal template set by replacing the signal template with relatively poor signal quality according to the periodic signal with good signal quality, the signal quality of the signal template in the current signal template set is improved in real time. In this way, the accuracy of the physiological signal quality judgment result obtained according to the current signal template set updated in real time is relatively high.
一般而言,用于更新当前信号模板集合的一个周期的信号为信号质量较好的正常生理信号;当然,也可以为信号质量较好的异常生理信号。其中,由异常生理信号更新当前信号模板的情况通常发生在可穿戴设备得到未更新的信号模板集合之后的几次更新过程中。Generally speaking, the signal for one cycle of updating the current signal template set is a normal physiological signal with better signal quality; of course, it may also be an abnormal physiological signal with better signal quality. Among them, the situation of updating the current signal template by the abnormal physiological signal usually occurs in several update processes after the wearable device obtains the unupdated signal template set.
由于本发明实施例中第i个周期的信号的信号质量与第i个周期的信号的相似结果是相关的,因此可穿戴设备可以根据第i个周期的信号的相似结果更新当前信号模板集合。在另一种可能的实现方式中,本发明实施例提供的生理信号质量判断方法中,上述S701具体可以包括S801-S802。示例性的,如图8所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图8中,图7中的S701具体可以包括S801-S802:Since the signal quality of the signal of the ith cycle is related to the similar result of the signal of the ith cycle in the embodiment of the present invention, the wearable device can update the current signal template set according to the similar result of the signal of the ith cycle. In another possible implementation manner, in the method for judging the quality of a physiological signal provided by the embodiment of the present invention, the foregoing S701 may specifically include S801-S802. Exemplarily, as shown in FIG. 8 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. In FIG. 8, S701 in FIG. 7 may specifically include S801-S802:
S801、可穿戴设备确定第i个周期的信号的相似结果好于当前N个信号模板中至少一个信号模板的相似结果。S801. The wearable device determines that the similarity result of the signal of the ith cycle is better than the similarity result of at least one signal template in the current N signal templates.
此时,第i个周期的信号的信号质量高于当前N个信号模板中至少一个信号模板的信号质量。At this time, the signal quality of the signal in the ith cycle is higher than the signal quality of at least one signal template in the current N signal templates.
S802、可穿戴设备使用第i个周期的信号替换当前信号模板集合中相似结果最差的信号模板。S802, the wearable device replaces the signal template with the worst similar result in the current signal template set with the signal of the i-th cycle.
其中,可穿戴设备使用第i个周期的信号替换当前信号模板集合中相似结果最差的信号模板,即可穿戴设备将该相似结果最差的信号模板从当前信号模板集合中删除,并使用相似结果较好的第i个周期的信号作为新的信号模板更新当前信号模板集合。当前信号模板集合中的N个信号模板中一个信号模板的相似结果可以根据第i个周期的信号之前的生理信号得到。Among them, the wearable device uses the signal of the ith cycle to replace the signal template with the worst similar result in the current signal template set, that is, the wearable device deletes the signal template with the worst similar result from the current signal template set, and uses a similar signal template with the worst result. The signal of the ith cycle with a better result is used as a new signal template to update the current signal template set. Similar results for one signal template among the N signal templates in the current signal template set can be obtained according to the physiological signal before the signal of the ith cycle.
可选的,上述“可穿戴设备使用第i个周期的信号替换当前信号模板集合中相似结果最差的信号模板”可以替换为可穿戴设备使用第i个周期的信号替换当前信号模板集合中任一相似结果较差的信号模板。其中,上述任一相似结果较差的信号模板的相似结果比第i个周期的信号的相似结果差。Optionally, the above "wearable device uses the signal of the i-th cycle to replace the signal template with the worst similar result in the current signal template set" can be replaced with the wearable device using the signal of the i-th cycle to replace any signal template in the current signal template set. A similar signal template with poorer results. Wherein, the similarity result of any of the above-mentioned signal templates with poor similarity results is worse than the similarity result of the signal of the ith cycle.
需要说明的是,可穿戴设备在根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量之前,还可以获取该当前信号模板。具体的,在另一种可能的实现方式中,本发明实施例提供的生理信号质量判断方法,在上述S304或者S601之前还可以包括S901。示例性的,如图9所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图9中,图8所示的S601之前还可以包括S901:It should be noted that the wearable device may also acquire the current signal template before judging the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set. Specifically, in another possible implementation manner, the method for judging the quality of a physiological signal provided by the embodiment of the present invention may further include S901 before the foregoing S304 or S601. Exemplarily, as shown in FIG. 9 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. In FIG. 9, S901 may also be included before S601 shown in FIG. 8:
S901、可穿戴设备根据第i个周期的信号之前的生理信号获取当前信号模板集合。S901. The wearable device acquires the current signal template set according to the physiological signal before the signal of the ith cycle.
上述步骤901可以由图1所示的可穿戴设备10中的处理组件102来执行。The above step 901 may be performed by the
其中,上述当前信号模板集合可以是已被可穿戴设备更新过的信号模板集合,如当前信号模板集合可以是已被可穿戴设备根据第i-1个周期的信号更新过的信号模板集合。或者,上述当前信号模板集合可以是未被可穿戴设备更新过的信号模板集合,此时当前信号模板集合为可穿戴设备获取的初始信号模板集合。The current signal template set may be the signal template set that has been updated by the wearable device, for example, the current signal template set may be the signal template set that has been updated by the wearable device according to the signal of the i-1th cycle. Alternatively, the current signal template set may be a signal template set that has not been updated by the wearable device, and in this case, the current signal template set is the initial signal template set obtained by the wearable device.
具体的,在另一种可能的实现方式中,可穿戴设备在根据第i个周期的信号之前的生理信号获取当前信号模板集合之前,还可以获取未被更新过的初始信号模板集合。示例性的,如图10所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图10中,图9所示的方法在S901之前还可以包括S1001:Specifically, in another possible implementation manner, before obtaining the current signal template set according to the physiological signal before the i-th cycle signal, the wearable device may also obtain an unupdated initial signal template set. Exemplarily, as shown in FIG. 10 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. In Fig. 10, the method shown in Fig. 9 may further include S1001 before S901:
S1001、可穿戴设备根据前N+a个周期的信号获取初始信号模板集合。S1001. The wearable device obtains an initial signal template set according to the signals of the first N+a cycles.
上述步骤1001可以由图1所示的可穿戴设备10中的处理组件102来执行。The
其中,上述N+a小于i,如N+a小于或等于i-1。上述a为大于等于0的整数。Wherein, the above N+a is less than i, for example, N+a is less than or equal to i-1. The above a is an integer equal to or greater than 0.
具体的,可穿戴设备根据前N+a个周期的信号获取初始信号模板集合,可以是根据前N+a个周期的信号中每个周期的信号的相似性获取的。从而,在另一种可能的实现方式中,上述方法中的S1001具体可以包括S1101-S1102。示例性的,如图11所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图11中,图10中所示方法中的S1001具体可以包括S1101-S1102:Specifically, the wearable device obtains the initial signal template set according to the signals of the first N+a cycles, which may be obtained according to the similarity of the signals of each cycle in the signals of the first N+a cycles. Therefore, in another possible implementation manner, S1001 in the above method may specifically include S1101-S1102. Exemplarily, as shown in FIG. 11 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. In FIG. 11, S1001 in the method shown in FIG. 10 may specifically include S1101-S1102:
S1101、可穿戴设备确定前N+a个周期的信号中每个周期的信号的相似性。S1101. The wearable device determines the similarity of the signals of each cycle in the signals of the first N+a cycles.
其中,上述前N+a个周期的信号中一个周期的信号的相似结果为该周期的信号与前N+a个周期的信号中除该周期的信号之外的其他周期的信号之间的相似性组成的。其中,前N+a个周期的信号中的两个周期的信号之间的相似性也可以由这两个周期的信号的相似参数表示,该相似参数也可以为这两个周期的信号的样本序列之间的相关系数。从而,前N+a个周期的信号中一个周期的信号的相似结果,可以由该周期的信号的相似参数表示。Wherein, the similarity result of the signal of one cycle among the signals of the preceding N+a cycles is the similarity between the signal of the cycle and the signals of other cycles except the signal of the cycle among the signals of the previous N+a cycles made up of sex. Wherein, the similarity between the signals of two cycles in the signals of the first N+a cycles can also be represented by the similar parameters of the signals of the two cycles, and the similarity parameter can also be the samples of the signals of the two cycles Correlation coefficient between series. Thus, a similar result of a signal of one cycle among the signals of the first N+a cycles can be represented by a similar parameter of the signal of that cycle.
参考上述实施例中,可穿戴设备还可以记录前N+a个周期的信号中每个周期的信号的样本序列。例如,可穿戴设备可以将第2个周期的信号记录为x2={x2_1,x2_2,…x2_j,…,x2_n},j∈{1,2,……,n};将第3个周期的信号记录为x3={x3_1,x3_2,…x3_j,…,x3_n};将第N+a-1个周期的信号记录为xN+a-1={xN+a-1_1,xN+a-1_2,…xN+a-1_j,…,xN+a-1_n};将第N+a个周期的信号记录为xN+a={xN+a_1,xN+a_2,…xN+a_j,…,xN+a_n}。Referring to the above embodiment, the wearable device may also record a sample sequence of the signal of each cycle in the first N+a cycles of the signal. For example, the wearable device can record the signal of the second cycle as x 2 ={x 2_1 , x 2_2 ,...x 2_j ,...,x 2_n }, j∈{1,2,...,n}; The signal of 3 cycles is recorded as x 3 ={x 3_1 , x 3_2 ,...x 3_j ,...,x 3_n }; the signal of the N+a-1th cycle is recorded as x N+a-1 ={x N +a-1_1 , x N+ a-1_2 ,...x N+a-1_j ,...,x N+a-1_n }; record the signal of the N+ath cycle as x N+a ={x N+ a_1 , x N+a_2 , …x N+a_j , …, x N+a_n }.
示例性的,以可穿戴设备获取的第1个周期的信号的相似结果为例,说明上述前N+a个周期的信号中一个周期的信号的相似结果:第1个周期的信号的相似结果,可以由第1个周期的信号的相似参数表示。可穿戴设备可以将第1个周期的信号的相似参数记录为r1。Exemplarily, taking the similar result of the signal of the first cycle obtained by the wearable device as an example, the similar result of the signal of one cycle among the signals of the first N+a cycles above is described: the similar result of the signal of the first cycle , which can be represented by similar parameters of the first cycle signal. The wearable device can record a similar parameter of the 1st cycle signal as r 1 .
同时,可穿戴设备可以将第1个周期的信号与第2个周期的信号的相似参数记录为r1_2,相似参数r1_2可以为第1个周期的信号的样本序列x1与第2个周期的信号的样本序列x2的相关系数。可穿戴设备可以将第1个周期的信号与第3个周期的信号的相似参数记录为r1_3,相似参数r1_3可以为第1个周期的信号的样本序列x1与第3个周期的信号的样本序列x3的相关系数。可穿戴设备可以将第1个周期的信号与第N+a-1个周期的信号的相似参数记录为r1_N+a-1,相似参数r1_N+a-1可以为第1个周期的信号的样本序列x1与第N+a-1个周期的信号的样本序列xN+a-1的相关系数。可穿戴设备可以将第1个周期的信号与第N+a个周期的信号的相似参数记录为r1_N+a,相似参数r1_N+a可以为第1个周期的信号的样本序列x1与第N+a个周期的信号的样本序列xN+a的相关系数。At the same time, the wearable device can record the similar parameters of the first cycle signal and the second cycle signal as r 1_2 , and the similar parameter r 1_2 can be the sample sequence x 1 of the first cycle signal and the second cycle signal The correlation coefficient of the sample sequence of the signal x 2 . The wearable device can record the similar parameters of the signal of the 1st cycle and the signal of the 3rd cycle as r 1_3 , and the similar parameter r 1_3 can be the sample sequence x 1 of the signal of the 1st cycle and the signal of the 3rd cycle The correlation coefficient of the sample sequence x 3 . The wearable device can record the similar parameters of the signal of the 1st cycle and the signal of the N+a-1th cycle as r 1_N+a-1 , and the similar parameter r 1_N+a-1 can be the signal of the 1st cycle The correlation coefficient between the sample sequence x 1 of and the sample sequence x N +a-1 of the signal of the N+a-1th cycle. The wearable device can record the similar parameters of the signal of the 1st cycle and the signal of the N+ath cycle as r 1_N+a , and the similar parameter r 1_N+a can be the sample sequence of the signal of the 1st cycle x 1 and The correlation coefficient of the sample sequence x N+a of the signal of the N+ath cycle.
从而,在a等于1的情况下:第1个周期的信号的相似参数r1,可以为第1个周期的信号与前N+1个周期的信号中除第1个周期的信号之外的其他周期的信号的相似参数之和;或者,第1个周期的信号的相似参数,还可以为第1个周期的信号与前N+1个周期的信号中除第1个周期的信号之外的其他周期的信号的相似参数之间的均值。即第1个周期的信号的相似参数可以为r1=r1_2+r1_3+......+r1_N+r1_N+1,或者, Therefore, when a is equal to 1: the similar parameter r 1 of the signal of the first cycle can be the signal of the first cycle and the signal of the previous N+1 cycles except the signal of the first cycle. The sum of the similar parameters of the signals of other cycles; or, the similar parameters of the signals of the first cycle, can also be the signal of the first cycle and the signals of the previous N+1 cycles except the signal of the first cycle The mean between similar parameters of signals of other periods. That is, the similar parameters of the signal of the first cycle can be r 1 =r 1_2 +r 1_3 +...+r 1_N +r 1_N+1 , or,
在a不等于1的情况下:第1个周期的信号的相似参数,可以为第1个周期的信号与前N+a个周期的信号中除第1个周期的信号之外的其他周期的信号的相似参数之间的均值。即第1个周期的信号的相似参数可以为 In the case where a is not equal to 1: the similar parameters of the signal of the first cycle can be the signal of the first cycle and the signals of the previous N+a cycles except the signal of the first cycle. The mean between similar parameters of a signal. That is, the similar parameters of the signal of the first cycle can be
示例性的,第1个周期的信号与第2个周期的信号的相似参数r1_2可以为Exemplarily, the similar parameter r 1_2 of the signal of the first cycle and the signal of the second cycle may be
其中,为第1个周期的信号的样本序列x1中n个样本的均值,且 为第2个周期的信号的样本序列x2中n个样本的均值,且 in, is the mean of n samples in the sample sequence x 1 of the signal of the first cycle, and is the mean of n samples in the sample sequence x 2 of the signal of the second cycle, and
进一步的,将带入(3)式中,第1个周期的信号与第2个周期的信号的相似参数r1_2还可以为:Further, will Bringing into formula (3), the similar parameter r 1_2 of the signal of the first cycle and the signal of the second cycle can also be:
类似的,对第1个周期的信号的相似参数r1_3、相似参数r1_N+a-1、相似参数r1_N+a以及其他相似参数的具体描述可以参考对相似参数r1_2的详细描述,本发明实施例不再赘述。Similarly, for the specific description of the similar parameter r 1_3 , the similar parameter r 1_N+a-1 , the similar parameter r 1_N+a and other similar parameters of the signal of the first cycle, reference may be made to the detailed description of the similar parameter r 1_2 . The embodiments of the invention will not be described repeatedly.
需要说明的是,可穿戴设备确定前N+a个周期的信号中每个周期的信号的相似结果之后,即得到前N+a个周期的信号中每个周期的信号的相似参数之后,便可以判断前N+a个周期的信号中每个周期的信号的信号质量。具体的,对于前N+a个周期的信号中每个周期的信号:若周期的信号的相似结果满足预设的相似条件,可穿戴设备则判断该周期的信号为正常生理信号;若周期的信号的相似结果不满足预设的相似条件,可穿戴设备则判断该周期的信号为异常生理信号。It should be noted that, after the wearable device determines the similar results of the signals of each cycle in the signals of the first N+a cycles, that is, after obtaining the similar parameters of the signals of each cycle in the signals of the first N+a cycles, it will The signal quality of the signal of each cycle among the signals of the first N+a cycles can be judged. Specifically, for the signals of each cycle in the signals of the first N+a cycles: if the similar results of the signals of the cycle meet the preset similarity conditions, the wearable device determines that the signal of the cycle is a normal physiological signal; If the similar result of the signal does not meet the preset similarity condition, the wearable device determines that the signal of this period is an abnormal physiological signal.
进一步的,可穿戴设备在判断得到前N+a个周期的信号中每个周期的信号的信号质量的同时,还可以从前N+a个周期的信号中获取包括N个信号模板的初始信号模板集合。具体的,在另一种可能的实现方式中,上述方法在S1101之后,还包括S1102:Further, while judging and obtaining the signal quality of the signal of each cycle in the signals of the first N+a cycles, the wearable device can also obtain an initial signal template including N signal templates from the signals of the first N+a cycles. gather. Specifically, in another possible implementation manner, the above method further includes S1102 after S1101:
S1102、可穿戴设备将前N+a个周期的信号中相似结果最好的前N个周期的信号确定为初始信号模板集合。S1102. The wearable device determines the first N cycles of signals with the best similarity results among the signals of the first N+a cycles as the initial signal template set.
上述步骤1102可以由图1所示的可穿戴设备10中的处理组件102来执行。The above step 1102 may be performed by the
其中,当a等于0时,上述初始信号模板集合中的N个信号模板为可穿戴设备获取的前N个周期的信号。当a大于0时,可穿戴设备获取的前N+a个周期的信号有a个周期的信号不为初始信号模板集合中的信号模板。Wherein, when a is equal to 0, the N signal templates in the above-mentioned initial signal template set are the signals of the first N cycles acquired by the wearable device. When a is greater than 0, the signals of the first N+a periods acquired by the wearable device have a period of signals that are not the signal templates in the initial signal template set.
需要说明的是,可穿戴设备根据前N+a个周期的信号获取初始信号模板集合之后,在接收第N+a个周期的信号之后的每个周期的信号时,还可以确定当前信号模板集合。其中,当前信号模板集合可以为未被可穿戴设备更新过的初始信号模板集合,或者当前信号模板集合可以为可穿戴设备更新初始信号模板集合后得到的信号模板集合。It should be noted that after the wearable device obtains the initial signal template set according to the signals of the first N+a cycles, it can also determine the current signal template set when receiving the signal of each cycle after the signal of the N+ath cycle. . The current signal template set may be an initial signal template set that has not been updated by the wearable device, or the current signal template set may be a signal template set obtained after the wearable device updates the initial signal template set.
相应的,在另一种可能的实现方式中,图10或图11所示的方法中,S901可以替换为S1002:Correspondingly, in another possible implementation manner, in the method shown in FIG. 10 or FIG. 11 , S901 may be replaced by S1002:
S1002、可穿戴设备根据初始信号模板集合和第N+a个周期的信号到第i个周期的信号之间的生理信号获取当前信号模板集合。S1002 , the wearable device acquires the current signal template set according to the initial signal template set and the physiological signal between the signal of the N+a th cycle and the signal of the ith cycle.
相应的,上述步骤1002也可以由图1所示的可穿戴设备10中的处理组件102来执行。Correspondingly, the above step 1002 can also be performed by the
具体的,在N+a等于i-1的情况下,可穿戴设备获取第i个周期的信号时的当前信号模板集合为上述未被可穿戴设备更新过的初始信号模板集合。Specifically, when N+a is equal to i-1, the current signal template set when the wearable device acquires the signal of the ith cycle is the above-mentioned initial signal template set that has not been updated by the wearable device.
在N+a小于i-1的情况下,可穿戴设备获取第i个周期的信号时,当前信号模板集合为上述未被可穿戴设备更新过的初始信号模板集合;或者,当前信号模板集合为可穿戴设备根据第N+a个周期的信号到第i个周期的信号之间的生理信号更新上述初始信号模板集合得到的信号模板集合。When N+a is less than i-1, when the wearable device acquires the signal of the i-th cycle, the current signal template set is the above-mentioned initial signal template set that has not been updated by the wearable device; or, the current signal template set is The wearable device updates the signal template set obtained by updating the above-mentioned initial signal template set according to the physiological signal between the signal of the N+a th cycle and the signal of the ith cycle.
示例性的,在N+a小于i-1的情况下,若i-1等于N+a+1,并且第i-1个周期的信号的相似结果好于上述初始信号模板集合包括的N个信号模板中至少一个信号模板的相似结果,可穿戴设备则使用第i-1个周期的信号替换上述初始信号模板集合中相似结果最差的信号模板。随后,可穿戴设备获取第i个周期的信号时,当前信号模板集合为使用第i-1个周期的信号替换初始信号模板集合中相似结果最差的信号模板后得到的信号模板集合。Exemplarily, in the case that N+a is less than i-1, if i-1 is equal to N+a+1, and the similar result of the signal of the i-1th cycle is better than the N included in the above initial signal template set Similar results of at least one signal template in the signal template, the wearable device uses the signal of the i-1th cycle to replace the signal template with the worst similar result in the above-mentioned initial signal template set. Subsequently, when the wearable device acquires the signal of the ith cycle, the current signal template set is the signal template set obtained by replacing the signal template with the worst similar result in the initial signal template set with the signal of the ith-1th cycle.
可选的,上述“可穿戴设备使用第i-1个周期的信号替换上述初始信号模板集合中相似结果最差的信号模板”可以替换为可穿戴设备使用第i-1个周期的信号替换上述初始信号模板集合中任一相似结果较差的信号模板。其中,上述任一相似结果较差的信号模板的相似结果比第i-1个周期的信号的相似结果差。Optionally, the above-mentioned "wearable device uses the signal of the i-1th cycle to replace the signal template with the worst similar result in the above-mentioned initial signal template set" can be replaced with the wearable device using the signal of the i-1th cycle to replace the above-mentioned signal template. Any signal template with poor similar results in the initial set of signal templates. Wherein, the similarity result of any one of the above-mentioned signal templates with poor similarity results is worse than the similarity result of the signal of the i-1th cycle.
例如,在N等于5,a等于1,i-1等于7,i等于8的情况下,可穿戴设备从前6个周期的信号中获取初始信号模板集合。假设第1个周期的信号的相似参数r1等于0.7,第2个周期的信号的相似参数r2等于0.75,第3个周期的信号的相似参数r3等于0.8,第4个周期的信号的相似参数r4等于0.85,第5个周期的信号的相似参数r5等于0.85,第6个周期的信号的相似参数r6等于0.9。此时,可穿戴设备获取到的初始信号模板集合中的5个信号模板可以为第2个周期的信号、第3个周期的信号、第4个周期的信号、第5个周期的信号和第6个周期的信号。可穿戴设备可以将初始信号模板集合可以记录为y={x2,x3,x4,x5,x6}。For example, when N is equal to 5, a is equal to 1, i-1 is equal to 7, and i is equal to 8, the wearable device obtains the initial set of signal templates from the signals of the first 6 cycles. Assuming that the similarity parameter r1 of the signal in the 1st cycle is equal to 0.7, the similarity parameter r2 of the signal of the 2nd cycle is equal to 0.75, the similarity parameter r3 of the signal of the 3rd cycle is equal to 0.8, and the similarity parameter of the signal of the 4th cycle is equal to 0.8. The similarity parameter r 4 is equal to 0.85, the similarity parameter r 5 of the 5th cycle signal is equal to 0.85, and the similarity parameter r 6 of the 6th cycle signal is equal to 0.9. At this time, the 5 signal templates in the initial signal template set obtained by the wearable device can be the signal of the second cycle, the signal of the third cycle, the signal of the fourth cycle, the signal of the fifth cycle and the signal of the
随后,若第7个周期的信号的相似参数r7等于0.6,可穿戴设备则不会更新上述初始信号模板集合。从而,可穿戴设备获取第8个周期的信号时,当前信号模板集合为上述初始信号模板集合。也就是说,当前信号模板集合中包括的5个信号模板仍为第2-6个周期的信号;可穿戴设备可以将当前信号模板集合可以记录为y={x2,x3,x4,x5,x6}。Subsequently, if the similarity parameter r 7 of the signal of the seventh cycle is equal to 0.6, the wearable device will not update the above-mentioned initial signal template set. Therefore, when the wearable device acquires the signal of the 8th cycle, the current signal template set is the above-mentioned initial signal template set. That is to say, the 5 signal templates included in the current signal template set are still the signals of the 2nd-6th cycle; the wearable device can record the current signal template set as y={x 2 , x 3 , x 4 , x 5 , x 6 }.
若第7个周期的信号的相似参数r7等于0.95,可穿戴设备则使用第7个周期的信号替换上述初始信号模板集合中相似结果最差的第2个周期的信号。从而,可穿戴设备获取第8个周期的信号时,当前信号模板集合为更新上述初始信号模板集合得到的信号模板集合。也就是说,当前信号模板集合中包括的5个信号模板为第2-7个周期的信号;可穿戴设备可以将当前信号模板集合可以记录为y={x7,x3,x4,x5,x6}。If the similarity parameter r 7 of the signal of the seventh cycle is equal to 0.95, the wearable device uses the signal of the seventh cycle to replace the signal of the second cycle with the worst similarity result in the above initial signal template set. Therefore, when the wearable device acquires the signal of the 8th cycle, the current signal template set is the signal template set obtained by updating the above-mentioned initial signal template set. That is to say, the 5 signal templates included in the current signal template set are signals of the 2-7th cycle; the wearable device can record the current signal template set as y={x 7 , x 3 , x 4 , x 5 , x 6 }.
其中,可穿戴设备获取的初始信号模板集合中的N个信号模板不一定都为信号质量较好的正常生理信号,但只要初始信号模板集合包括N个信号模板便可以支持可穿戴设备执行本发明实施例提供的生理信号质量判断方法。随着可穿戴设备获取的生理信号中周期数的增多,当前信号模板集合可以被不断更新,使得当前信号模板集合中任一信号模板的信号质量可以被提高。即经过可穿戴设备更新过的当前信号模板集合中的N个信号模板通常均为信号质量较好的正常生理信号。从而,使得可穿戴设备根据上述当前信号模板集合得到的生理信号质量判断结果的准确性较高。The N signal templates in the initial signal template set obtained by the wearable device are not necessarily normal physiological signals with better signal quality, but as long as the initial signal template set includes N signal templates, the wearable device can be supported to implement the present invention The embodiment provides a method for judging the quality of a physiological signal. As the number of cycles in the physiological signal acquired by the wearable device increases, the current signal template set can be continuously updated, so that the signal quality of any signal template in the current signal template set can be improved. That is, the N signal templates in the current signal template set updated by the wearable device are usually normal physiological signals with better signal quality. Therefore, the accuracy of the physiological signal quality judgment result obtained by the wearable device according to the above-mentioned current signal template set is high.
需要说明的是,可穿戴设备根据初始信号模板集合和第N+a个周期的信号到第i个周期的信号之间的周期的信号获取当前信号模板集合的同时,还可以确定第N+a个周期的信号到第i个周期的信号之间的每个周期的信号的相似结果。即可穿戴设备可以得到第N+a个周期的信号到第i个周期的信号之间的每个周期的信号的相似参数,以判断第N+a个周期的信号到第i个周期的信号之间的每个周期的信号的信号质量。具体的,第N+a个周期的信号到第i个周期的信号之间的每个周期的信号:若周期的信号的相似结果满足预设的相似条件,可穿戴设备则判断该周期的信号为正常生理信号;若周期的信号的相似结果不满足预设的相似条件,可穿戴设备则判断该周期的信号为异常生理信号。It should be noted that, when the wearable device obtains the current signal template set according to the initial signal template set and the signal of the period between the signal of the N+a th cycle and the signal of the ith cycle, it can also determine the N+a th signal template set. Similar results for the signal of each cycle between the signal of the ith cycle to the signal of the ith cycle. That is, the wearable device can obtain the similar parameters of the signal of each cycle between the signal of the N+a-th cycle to the signal of the i-th cycle, so as to judge the signal of the N+a-th cycle to the signal of the i-th cycle The signal quality of the signal between each cycle. Specifically, the signal of each cycle between the signal of the N+a th cycle and the signal of the ith cycle: if the similarity result of the cycle signal satisfies the preset similarity condition, the wearable device judges the signal of the cycle It is a normal physiological signal; if the similar result of the periodic signal does not meet the preset similarity condition, the wearable device determines that the periodic signal is an abnormal physiological signal.
进一步的,由于可穿戴设备获取的生理信号中每个周期的信号都可以具有相同特征点。因此可穿戴设备还可以根据生理信号的特征点对应的特征值判断生理信号的信号质量。具体的,在另一种可能的实现方式中,本发明实施例提供的生理信号质量判断方法中,上述S303之后还可以包括S1201、S1202和S1203。示例性的,如图12所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图12中,图3中的S303之后还可以包括S1201、S1202和S1203:Further, the signals of each cycle in the physiological signals obtained by the wearable device may have the same feature points. Therefore, the wearable device can also judge the signal quality of the physiological signal according to the characteristic value corresponding to the characteristic point of the physiological signal. Specifically, in another possible implementation manner, in the method for judging the quality of a physiological signal provided by the embodiment of the present invention, S1201, S1202, and S1203 may be further included after the above S303. Exemplarily, as shown in FIG. 12 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. In Fig. 12, S1201, S1202 and S1203 may be further included after S303 in Fig. 3:
S1201、可穿戴设备根据生理信号的特征点,获取第i个周期的信号的特征值。S1201. The wearable device acquires the characteristic value of the signal of the ith cycle according to the characteristic point of the physiological signal.
其中,可穿戴设备可以根据生理信号中每个周期的信号的顶点和底点,获取上述每个周期的信号的周期值以及该每个周期的信号的高度值。从而,上述第i个周期的信号的特征值包括:第i个周期的信号的周期值和/或第i个周期的信号的高度值。其中,第i个周期的信号的高度值的可以包括第i个周期的信号的左支高度值和第i个周期的信号的右支高度值。具体的,每个周期的信号的周期值可以为该周期的信号中两个相邻底点之间的时间间隔;每个周期的信号的高度值可以为该周期的信号中顶点到两个底点中每个底点的幅值。Wherein, the wearable device can obtain the period value of the signal of each period and the height value of the signal of each period according to the peak and bottom point of the signal of each period in the physiological signal. Therefore, the characteristic value of the signal in the i-th cycle includes: the period value of the signal in the i-th cycle and/or the height value of the signal in the i-th cycle. Wherein, the height value of the signal of the ith cycle may include the height value of the left branch of the signal of the ith cycle and the height value of the right branch of the signal of the ith cycle. Specifically, the period value of the signal of each period may be the time interval between two adjacent bottom points in the signal of the period; the height value of the signal of each period may be the peak to the two bottom points of the signal of the period The magnitude of each bottom point in the point.
具体的,可穿戴设备可以每隔3s获取一次生理信号,得到一段生理信号的波形。可穿戴设备可以将第i个周期的信号的周期值记录为Ti。可穿戴设备可以根据生理信号中每个周期的信号包括的点数和两个点之间的时间间隔,得到每个周期的信号的周期值,如得到第i个周期的信号的周期值Ti。例如,在采样频率为100Hz的情况下,图5所示的生理信号波形中每两个离散的之间的时间间隔可以为0.01s。此时,图5所示的第1个周期的信号的波形中可以包括30个点,则第1个周期的信号的周期值T1可以是0.3s。Specifically, the wearable device can obtain a physiological signal every 3s to obtain a waveform of a physiological signal. The wearable device may record the period value of the i-th period signal as T i . The wearable device can obtain the period value of the signal of each period according to the number of points included in the signal of each period and the time interval between two points in the physiological signal, such as obtaining the period value T i of the signal of the ith period. For example, when the sampling frequency is 100 Hz, the time interval between every two discrete ones in the physiological signal waveform shown in FIG. 5 may be 0.01s. At this time, the waveform of the signal of the first cycle shown in FIG. 5 may include 30 points, and the period value T1 of the signal of the first cycle may be 0.3s.
其中,可穿戴设备可以根据第i个周期的信号之前的周期的信号确定当前预设阈值范围。具体的,可穿戴设备可以根据第一次获取的一组生理信号中所有周期的信号的特征值的均值得到初始预设阈值范围。随后,可穿戴设备可以根据后续获取的所有周期的生理信号的特征值更新初始预设阈值范围,以得到当前预设周期值范围。示例性的,当前的周期值的均值为则当前预设周期值范围可以为 Wherein, the wearable device may determine the current preset threshold range according to the signal of the period before the signal of the ith period. Specifically, the wearable device may obtain the initial preset threshold range according to the mean value of the characteristic values of the signals of all periods in a set of physiological signals acquired for the first time. Subsequently, the wearable device can update the initial preset threshold value range according to the characteristic values of the physiological signals of all cycles acquired subsequently, so as to obtain the current preset cycle value range. Exemplarily, the average of the current period values is Then the current preset period value range can be
类似的,可穿戴设备获取的生理信号的当前的左支高度值的均值可以记为当前的右支高度值的均值可以记为可穿戴设备获取的生理信号的当前预设左支高度值范围可以为当前预设左支高度值范围可以为 Similarly, the average value of the current left branch height of the physiological signals obtained by the wearable device can be recorded as The mean value of the current right branch height can be recorded as The current preset left branch height value range of the physiological signal obtained by the wearable device can be The current preset left branch height value range can be
需要说明的是,本发明实施例中可穿戴设备根据获取的生理信号的特征值的均值得到的预设阈值范围不是唯一的,可以由相关技术人员根据实际情况调整。It should be noted that, in the embodiment of the present invention, the preset threshold range obtained by the wearable device according to the average value of the acquired characteristic values of the physiological signal is not unique, and can be adjusted by the relevant technical personnel according to the actual situation.
S1202、可穿戴设备确定第i个周期的信号的特征值不处于当前预设阈值范围内,并判断第i个周期的信号为异常生理信号。S1202. The wearable device determines that the characteristic value of the signal in the ith cycle is not within the current preset threshold range, and determines that the signal in the ith cycle is an abnormal physiological signal.
具体的,第i个周期的信号的特征值不处于当前预设阈值范围,包括:第i个周期的信号的周期值不处于当前预设周期范围,和/或第i个周期的信号的高度值不处于当前预设高度范围。例如,第i个周期的信号的周期值Ti的取值范围不处于 时,第i个周期的信号为异常生理信号。Specifically, the characteristic value of the signal of the ith cycle is not within the current preset threshold range, including: the period value of the signal of the ith cycle is not within the current preset cycle range, and/or the height of the signal of the ith cycle The value is not within the current preset altitude range. For example, the value range of the period value T i of the signal of the ith period is not in , the signal of the i-th cycle is an abnormal physiological signal.
相应的,可穿戴设备在根据第i个周期的信号与当前信号模板集合之间的相似性判断第i个周期的信号的信号质量之前,还可以第i个周期的信号的特征值判断第i个周期的信号有可能为正常生理信号。具体的,上述方法在S304之前,还可以包括S1203:Correspondingly, before judging the signal quality of the signal of the ith cycle according to the similarity between the signal of the ith cycle and the current signal template set, the wearable device can also judge the eigenvalue of the signal of the ith cycle. The signal of one cycle may be a normal physiological signal. Specifically, before S304, the above method may further include S1203:
S1203、可穿戴设备确定第i个周期的信号的特征值处于当前预设阈值范围。S1203. The wearable device determines that the characteristic value of the signal of the i-th cycle is within the current preset threshold range.
其中,上述步骤1201-1203均可以由图1所示的可穿戴设备10中的处理组件102来执行。Wherein, the above steps 1201-1203 can all be performed by the
具体的,第i个周期的信号的特征值处于当前预设阈值范围,包括:第i个周期的信号的周期值处于当前预设周期范围和第i个周期的信号的高度值处于当前预设高度范围。例如,第i个周期的信号的周期值Ti在内、第i个周期的信号的左支高度值在内,且第i个周期的信号的右支高度值在内,则第i个周期的信号可能为正常生理信号。Specifically, the characteristic value of the signal in the ith cycle is in the current preset threshold range, including: the cycle value of the signal in the ith cycle is in the current preset cycle range and the height value of the signal in the ith cycle is in the current preset range. height range. For example, the period value T i of the signal of the i-th period is The height value of the left branch of the signal in the i-th cycle is , and the height value of the right branch of the signal in the i-th cycle is within, the signal of the i-th cycle may be a normal physiological signal.
需要说明的是,本发明实施例提供的生理信号质量判断方法中,可穿戴设备可以根据生理信号的特征值中的周期值和高度值判断生理信号中每个周期的信号的信号质量。即可穿戴设备提取到生理信号的特征点便可以判断生理信号中每个周期的信号的信号质量,可以在一定程度上减小判断生理信号质量过程中的计算量。It should be noted that, in the method for judging the quality of a physiological signal provided by the embodiment of the present invention, the wearable device can judge the signal quality of the signal of each cycle in the physiological signal according to the period value and the height value in the characteristic value of the physiological signal. That is, the characteristic points of the physiological signal are extracted by the wearable device, and the signal quality of the signal of each cycle in the physiological signal can be judged, which can reduce the amount of calculation in the process of judging the quality of the physiological signal to a certain extent.
进一步的,可穿戴设备可以根据第i个周期的信号之前的生理信号确定当前预设阈值范围。具体的,可穿戴设备可以根据第一次获取的一组生理信号中所有周期的信号的特征值的均值得到初始预设阈值范围。随后,可穿戴设备可以根据后续获取的生理信号中所有周期的信号的特征值更新初始预设阈值范围,以得到当前预设阈值范围。从而,在另一种可能的实现方式中,本发明实施例提供的方法,在S303之后,还可以包括S1301和S1302。示例性的,如图13所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图13中的S303之后还可以包括S1301和S1302:Further, the wearable device may determine the current preset threshold range according to the physiological signal before the signal of the ith cycle. Specifically, the wearable device may obtain the initial preset threshold range according to the mean value of the characteristic values of the signals of all periods in a set of physiological signals acquired for the first time. Subsequently, the wearable device may update the initial preset threshold range according to the characteristic values of signals of all cycles in the subsequently acquired physiological signals, so as to obtain the current preset threshold range. Therefore, in another possible implementation manner, the method provided by the embodiment of the present invention may further include S1301 and S1302 after S303. Exemplarily, as shown in FIG. 13 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. S1301 and S1302 may also be included after S303 in FIG. 13 :
S1301、可穿戴设备根据第i个周期的信号之前的生理信号确定当前预设阈值范围。S1301. The wearable device determines the current preset threshold range according to the physiological signal before the signal of the ith cycle.
其中,可穿戴设备可以根据第i个周期的信号之前的周期的信号确定当前预设阈值范围。具体的,可穿戴设备可以根据第一次获取的一组生理信号中所有周期的信号的周期值的均值得到初始预设周期值范围。示例性的,可穿戴设备可以根据前3s内获取的生理信号中所有周期的信号的周期值的均值得到初始预设周期值范围。随后,可穿戴设备可以根据后续的、第i个周期的信号之前每隔3s时间间隔获取的生理信号的周期值更新初始预设周期值范围,以得到当前预设周期值范围。Wherein, the wearable device may determine the current preset threshold range according to the signal of the period before the signal of the ith period. Specifically, the wearable device may obtain the initial preset period value range according to the average value of the period values of the signals of all periods in a group of physiological signals acquired for the first time. Exemplarily, the wearable device may obtain the initial preset period value range according to the average value of the period values of all periods of the physiological signals acquired in the first 3 s. Subsequently, the wearable device can update the initial preset period value range according to the period value of the physiological signal obtained every 3s time interval before the signal of the ith cycle to obtain the current preset period value range.
类似的,可穿戴设备可以根据第一次获取的一组生理信号中所有周期的信号的高度值的均值得到初始预设左支高度值范围和初始预设左支高度值范围。随后,可穿戴设备可以根据后续获取的生理信号的高度值更新预设左支高度值范围和初始预设左支高度值范围,以得到当前预设左支高度值范围和当前预设左支高度值范围。Similarly, the wearable device can obtain the initial preset left branch height value range and the initial preset left branch height value range according to the mean value of the height values of the signals of all periods in a set of physiological signals acquired for the first time. Subsequently, the wearable device can update the preset left branch height value range and the initial preset left branch height value range according to the height value of the subsequently acquired physiological signal, so as to obtain the current preset left branch height value range and the current preset left branch height value value range.
示例性的,可穿戴设备可以根据前3s内获取的生理信号中所有周期的信号的高度值的均值得到初始预设左支值范围和初始右支高度值范围。随后,可穿戴设备可以根据后续的、第i个周期的信号之前每隔3s时间间隔获取的生理信号中所有周期的信号的高度值更新初始预设左支值范围和初始右支高度值范围,以得到当前预设左支值范围和当前预设右支高度值范围预设周期值范围。Exemplarily, the wearable device may obtain an initial preset left branch value range and an initial right branch height value range according to the mean value of the height values of all cycles of the physiological signals acquired in the first 3 s. Subsequently, the wearable device can update the initial preset left branch value range and the initial right branch height value range according to the height values of the signals of all cycles in the physiological signal obtained every 3s time interval before the signal of the i-th cycle, to obtain the preset period value range of the current preset left branch value range and the current preset right branch height value range.
需要说明的是,可穿戴设备可以根据第i个周期的信号之后每隔3s时间间隔获取的生理信号中所有周期的信号的周期值更新当前预设周期值范围,以得到新的当前预设周期值范围。相应的,上述方法在S1203之后还可以包括S1302:It should be noted that the wearable device can update the current preset period value range according to the period values of the signals of all periods in the physiological signal obtained every 3s time interval after the signal of the i-th period, so as to obtain a new current preset period. value range. Correspondingly, the above method may further include S1302 after S1203:
S1302、可穿戴设备根据第i个周期的信号的特征值,更新当前预设阈值范围。S1302, the wearable device updates the current preset threshold range according to the characteristic value of the signal of the i-th cycle.
其中,上述步骤1301-1302均可以由图1所示的可穿戴设备10中的处理组件102来执行。Wherein, the above steps 1301-1302 can all be performed by the
需要说明的是,本发明实施例提供的生理信号质量判断方法中,上述当前预设阈值范围是根据实时获取的生理信号不断更新的;并且当前预设阈值范围是可穿戴设备根据获取的生理信号中的所有周期的信号获取的,即当前预设阈值范围是根据全局变量得到的;因此,上述当前预设阈值范围是符合可穿戴设备实时获取的生理信号的。从而,本发明实施例提供的生理信号质量判断方法,可以进一步提高生理信号质量判断结果的准确性。It should be noted that, in the method for judging the quality of a physiological signal provided by the embodiment of the present invention, the above-mentioned current preset threshold range is continuously updated according to the physiological signal obtained in real time; and the current preset threshold range is the wearable device according to the obtained physiological signal. That is, the current preset threshold range is obtained according to global variables; therefore, the above current preset threshold range is in line with the physiological signals acquired by the wearable device in real time. Therefore, the method for judging the quality of the physiological signal provided by the embodiment of the present invention can further improve the accuracy of the judgment result of the quality of the physiological signal.
进一步的,可穿戴设备在判断得到生理信号中每个周期的信号的信号质量之后,可以使用判断的到的正常生理信号获取人体生理信息。具体的,在另一种可能的实现方式中,上述S304或者S603或者S604之后,上述方法还可以包括S1401。示例性的,如图14所示,为本发明实施例提供的另一种生理信号质量判断方法的流程示意图。图14中的S304之后还可以包括S1401:Further, after judging and obtaining the signal quality of the signal of each cycle in the physiological signal, the wearable device may use the judged normal physiological signal to obtain the physiological information of the human body. Specifically, in another possible implementation manner, after the foregoing S304 or S603 or S604, the foregoing method may further include S1401. Exemplarily, as shown in FIG. 14 , it is a schematic flowchart of another method for judging the quality of a physiological signal provided by an embodiment of the present invention. S1401 may also be included after S304 in FIG. 14 :
S1401、可穿戴设备输出信号质量判断结果。S1401. The wearable device outputs a signal quality judgment result.
上述步骤1401可以由图1所示的可穿戴设备10中的处理组件102通过多媒体组件104来执行。The above step 1401 may be performed by the
其中,上述信号质量判断结果包括第i个周期的信号为正常生理信号或异常生理信号,以及第i个周期的信号之前的每个周期的信号为正常生理信号或异常生理信号。具体的,可穿戴设备可以为正常生理信号和异常生理信号作不同的标记,还可以输出获取的生理信号中的所有周期的信号中正常生理信号所占的比例,本发明实施例对此不作限定。这样一来,可穿戴设备判断得到的生理信号质量判断结果可以较为直观的展示给用户或者相关技术人员,使得用户体验较好。The above signal quality judgment result includes that the signal in the ith cycle is a normal physiological signal or an abnormal physiological signal, and the signal in each cycle before the signal in the ith cycle is a normal physiological signal or an abnormal physiological signal. Specifically, the wearable device can mark normal physiological signals and abnormal physiological signals differently, and can also output the ratio of normal physiological signals in all periodic signals in the acquired physiological signals, which is not limited in this embodiment of the present invention . In this way, the judgment result of the physiological signal quality obtained by the wearable device can be more intuitively displayed to the user or related technical personnel, so that the user experience is better.
需要说明的是,本发明实施例提供的生理信号质量判断方法,可穿戴设备可以实时地、逐周期判断采集到的生理信号的信号质量,并较为准确地区分出该生理信号中任一周期的信号为正常生理信号还是异常生理信号。如此,可穿戴设备可以根据判断得到的正常生理信号得到较为准确的人体生理信息。It should be noted that, in the method for judging the quality of a physiological signal provided by the embodiment of the present invention, the wearable device can judge the signal quality of the collected physiological signal in real time and cycle by cycle, and more accurately distinguish the physiological signal of any cycle. Whether the signal is a normal physiological signal or an abnormal physiological signal. In this way, the wearable device can obtain relatively accurate human physiological information according to the normal physiological signal obtained by the judgment.
上述主要从生理信号质量判断装置中可穿戴设备的角度对本发明实施例提供的方案进行了介绍。可以理解的是,生理信号质量判断装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present invention from the perspective of the wearable device in the apparatus for judging the quality of the physiological signal. It can be understood that, in order to realize the above-mentioned functions, the apparatus for judging the quality of physiological signals includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present invention can be implemented in hardware or a combination of hardware and computer software in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
本发明实施例可以根据上述方法示例对生理信号质量判断装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present invention, the physiological signal quality judgment apparatus may be divided into functional modules according to the above method examples. For example, each functional module may be divided according to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiment of the present invention is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图15示出了上述实施例中提供的生理信号质量判断装置的一种可能的组成示意图,如图15所示,生理信号质量判断装置15可以包括:采集模块151、提取模块152、划分模块153和判断模块154。其中,采集模块151,用于支持生理信号质量判断装置15执行上述实施例中的S301,和/或用于本文所描述的技术的其它过程。提取模块152,用于支持生理信号质量判断装置15执行上述实施例中的S302,和/或用于本文所描述的技术的其它过程。划分模块153,用于支持生理信号质量判断装置15执行上述实施例中的S303,和/或用于本文所描述的技术的其它过程。判断模块154,用于支持生理信号质量判断装置15执行上述实施例中的S304、S602、S603、S604和S1202,和/或用于本文所描述的技术的其它过程。In the case where each functional module is divided according to each function, FIG. 15 shows a possible schematic diagram of the composition of the physiological signal quality judging device provided in the above embodiment. As shown in FIG. 15 , the physiological signal
进一步的,图16示出了上述实施例中提供的生理信号质量判断装置的另一种可能的组成示意图,如图16所示,生理信号质量判断装置15还可以包括:确定模块155。确定模块155,用于支持生理信号质量判断装置15执行上述实施例中的S601和S1301,和/或用于本文所描述的技术的其它过程。Further, FIG. 16 shows another possible composition diagram of the physiological signal quality judging apparatus provided in the above embodiment. As shown in FIG. 16 , the physiological signal
进一步的,图17示出了上述实施例中提供的生理信号质量判断装置的另一种可能的组成示意图,如图17所示,生理信号质量判断装置15还可以包括:更新模块156。更新模块156,用于支持生理信号质量判断装置15执行上述实施例中的S701、S801、S802和S1302,和/或用于本文所描述的技术的其它过程。Further, FIG. 17 shows another possible composition diagram of the physiological signal quality judging apparatus provided in the above embodiment. As shown in FIG. 17 , the physiological signal
进一步的,图18示出了上述实施例中提供的生理信号质量判断装置的另一种可能的组成示意图,如图18所示,生理信号质量判断装置15还可以包括:获取模块157。获取模块157,用于支持生理信号质量判断装置15执行上述实施例中的S901、S1001、S1002、S1102、S1102、S1201和S1202和S1203,和/或用于本文所描述的技术的其它过程。Further, FIG. 18 shows another possible composition diagram of the physiological signal quality judging apparatus provided in the above embodiment. As shown in FIG. 18 , the physiological signal
进一步的,图19示出了上述实施例中提供的生理信号质量判断装置的另一种可能的组成示意图,如图19所示,生理信号质量判断装置15还可以包括:输出模块158。输出模块158,用于支持生理信号质量判断装置15执行上述实施例中的S1401,和/或用于本文所描述的技术的其它过程。Further, FIG. 19 shows another possible composition diagram of the physiological signal quality judging apparatus provided in the above embodiment. As shown in FIG. 19 , the physiological signal
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
本发明实施例提供的生理信号质量判断装置,用于执行上述生理信号质量判断方法,因此可以达到与上述生理信号质量判断方法相同的效果。The apparatus for judging the quality of a physiological signal provided by the embodiment of the present invention is used to execute the above-mentioned method for judging the quality of a physiological signal, and thus can achieve the same effect as the above-mentioned method for judging the quality of a physiological signal.
在采用集成的单元的情况下,上述提取模块152、划分模块153、判断模块154、确定模块155、更新模块156和获取模块157等可以集成在一个处理模块中实现。上述处理模块可以是处理器或控制器,例如可以是CPU,通用处理器,数字信号处理器(Digital SignalProcessor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种举例说明逻辑方框,模块和电路。上述处理单元也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。存储模块可以是存储器。上述采集模块151可以由输入器实现。上述输出模块158可以由显示器实现。In the case of using an integrated unit, the above-mentioned extracting
当上述处理模块为处理器,存储模块为存储器时,本发明实施例提供一种如图20所示的生理信号质量判断装置20。如图20所示,生理信号质量判断装置20包括:处理器201、存储器222、显示器203、输入器204以及总线205。其中,处理器201、存储器202、显示器203和输入器204通过总线205相互连接。其中,上述总线205可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(ExtendedIndustry Standard Architecture,EISA)总线等。上述总线205可以分为地址总线、数据总线、控制总线等。为便于表示,图20中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。When the above-mentioned processing module is a processor and the storage module is a memory, an embodiment of the present invention provides a physiological signal
示例性的,上述输入器204可以包括摄像头和穿戴式传感器等,如穿戴设备10中的传感器组件101。上述显示器203可以为可穿戴设备10中的多媒体组件104或音频组件105。Exemplarily, the above-mentioned
其中,本发明实施例提供的生理信号质量判断装置20中各个模块的详细描述以及各个模块执行上述实施例中的相关方法步骤后所带来的技术效果可以参考本发明方法实施例中的相关描述,此处不再赘述。For the detailed description of each module in the physiological signal
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. For the specific working process of the system, apparatus and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。所述集成的单元如果以软件功能单元的形式实现并作为独立的计算机程序产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone computer program products, may be stored in a computer-readable storage medium.
本申请的技术方案在使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括至少一个指令。在计算机上加载和执行所述指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通过计算机、专用计算机、计算机网络、或者其他可编程装置。所述指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机可以从一个网站站点、计算机、服务器或数据中心通过同轴电缆、光纤、数字用户线(DSL)等有线方式,或红外、无线、微波等无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是软盘、硬盘、磁带等磁性介质,或者固态硬盘(Solid State Disk,SSD)等半导体介质。When the technical solutions of the present application are implemented using software, they may be implemented in the form of computer program products in whole or in part. The computer program product includes at least one instruction. When the instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be through a computer, special purpose computer, computer network, or other programmable device. The instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, from a website site, computer, server, or data center via the same computer. Transmission to another website site, computer, server or data center by wired means such as coaxial cable, optical fiber, digital subscriber line (DSL), or wireless means such as infrared, wireless, microwave, etc. The computer-readable medium can be any available medium that can be accessed by a computer, or a data storage device such as a server, data center, etc., that includes an integration of one or more available media. The usable medium may be a magnetic medium such as a floppy disk, a hard disk, and a magnetic tape, or a semiconductor medium such as a solid state disk (Solid State Disk, SSD).
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the protection scope of the present application. . Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (10)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2017100613540 | 2017-01-25 | ||
| CN201710061354 | 2017-01-25 | ||
| PCT/CN2017/086393 WO2018137300A1 (en) | 2017-01-25 | 2017-05-27 | Method and apparatus for determining quality of physiological signal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108633249A CN108633249A (en) | 2018-10-09 |
| CN108633249B true CN108633249B (en) | 2021-03-23 |
Family
ID=62978863
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201780009418.0A Active CN108633249B (en) | 2017-01-25 | 2017-05-27 | Physiological signal quality judgment method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108633249B (en) |
| WO (1) | WO2018137300A1 (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11457872B2 (en) | 2017-12-01 | 2022-10-04 | Samsung Electronics Co., Ltd. | Bio-signal quality assessment apparatus and bio-signal quality assessment method |
| KR102588906B1 (en) | 2017-12-01 | 2023-10-13 | 삼성전자주식회사 | Apparatus and method for assessment biological signal quality |
| CN112836546B (en) * | 2019-11-22 | 2025-01-03 | 深圳市理邦精密仪器股份有限公司 | Method, device and electronic equipment for detecting physiological signal quality |
| KR20220033795A (en) | 2020-09-10 | 2022-03-17 | 삼성전자주식회사 | Method for determining regularity of bio signal, apparatus and method for estimating bio-information |
| CN113040771B (en) * | 2021-03-01 | 2022-12-23 | 青岛歌尔智能传感器有限公司 | Emotion recognition method, system, wearable device and storage medium |
| KR102677449B1 (en) * | 2021-10-14 | 2024-06-20 | 삼성전자주식회사 | Method for evaluating of bio-signal and apparatus for estimating bio-information |
| WO2023108331A1 (en) * | 2021-12-13 | 2023-06-22 | 中国科学院深圳先进技术研究院 | Adaptive real-time electrocardiogram signal quality evaluation method |
| CN117770790A (en) * | 2022-09-28 | 2024-03-29 | 华为技术有限公司 | Respiratory health detection method and wearable electronic device |
| CN115670397B (en) * | 2022-11-17 | 2023-06-02 | 北京中科心研科技有限公司 | PPG artifact identification method and device, storage medium and electronic equipment |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102270264A (en) * | 2010-06-04 | 2011-12-07 | 中国科学院深圳先进技术研究院 | Physiological signal quality evaluation system and method |
| CN102316792A (en) * | 2009-02-17 | 2012-01-11 | 皇家飞利浦电子股份有限公司 | Be used for obtaining automatically and the system and method for significant sign clinically that files |
| CN103501694A (en) * | 2011-03-24 | 2014-01-08 | 德尔格医疗系统有限公司 | Apparatus and method for measuring physiological signal quality |
| CN103800003A (en) * | 2014-01-21 | 2014-05-21 | 杭州电子科技大学 | ECG detection method and detector |
| CN105138823A (en) * | 2015-07-28 | 2015-12-09 | 中国科学院电子学研究所 | Method for detecting quality of physiological signal based on self-correlation function |
| WO2015190994A1 (en) * | 2014-06-13 | 2015-12-17 | Nitto Denko Corporation | Device and method for removing artifacts in physiological measurements |
| CN105578960A (en) * | 2013-09-27 | 2016-05-11 | 皇家飞利浦有限公司 | Processing apparatus, processing method and system for processing a physiological signal |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4469746B2 (en) * | 2005-03-29 | 2010-05-26 | 株式会社東芝 | Heart rate measuring device and method of operating heart rate measuring device |
| CN100527132C (en) * | 2007-06-22 | 2009-08-12 | 腾讯科技(深圳)有限公司 | Classified sample set optimizing method and content-related advertising server |
| US9808163B2 (en) * | 2009-04-30 | 2017-11-07 | Texas Instruments Incorporated | Method and apparatus for heart rate monitoring |
| US8930147B2 (en) * | 2010-02-05 | 2015-01-06 | Prima-Temp, Inc. | Multi-sensor patch and system |
| CN102592093B (en) * | 2012-01-16 | 2014-12-10 | 河南科技大学 | Host machine intrusion detection method based on biological immune mechanism |
| CN104321107B (en) * | 2012-03-27 | 2016-10-05 | 心脏起搏器股份公司 | Determination of Phrenic Nerve Stimulation Threshold |
| CN103020472B (en) * | 2012-12-27 | 2015-12-09 | 中国科学院深圳先进技术研究院 | Based on physiological signal quality evaluation method and the system of restrained split-flow |
| US20160352727A1 (en) * | 2015-05-26 | 2016-12-01 | Reticle Ventures Canada Incorporated | System and method for asset authentication and management |
| US20160360984A1 (en) * | 2015-06-15 | 2016-12-15 | Microsoft Technology Licensing, Llc | Optical Photoplethysmogram Signal Shape Feature Biological Monitor |
| CN105938552B (en) * | 2016-06-29 | 2020-04-24 | 北京旷视科技有限公司 | Face recognition method and device for automatically updating base map |
-
2017
- 2017-05-27 CN CN201780009418.0A patent/CN108633249B/en active Active
- 2017-05-27 WO PCT/CN2017/086393 patent/WO2018137300A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102316792A (en) * | 2009-02-17 | 2012-01-11 | 皇家飞利浦电子股份有限公司 | Be used for obtaining automatically and the system and method for significant sign clinically that files |
| CN102270264A (en) * | 2010-06-04 | 2011-12-07 | 中国科学院深圳先进技术研究院 | Physiological signal quality evaluation system and method |
| CN103501694A (en) * | 2011-03-24 | 2014-01-08 | 德尔格医疗系统有限公司 | Apparatus and method for measuring physiological signal quality |
| CN105578960A (en) * | 2013-09-27 | 2016-05-11 | 皇家飞利浦有限公司 | Processing apparatus, processing method and system for processing a physiological signal |
| CN103800003A (en) * | 2014-01-21 | 2014-05-21 | 杭州电子科技大学 | ECG detection method and detector |
| WO2015190994A1 (en) * | 2014-06-13 | 2015-12-17 | Nitto Denko Corporation | Device and method for removing artifacts in physiological measurements |
| CN105138823A (en) * | 2015-07-28 | 2015-12-09 | 中国科学院电子学研究所 | Method for detecting quality of physiological signal based on self-correlation function |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108633249A (en) | 2018-10-09 |
| WO2018137300A1 (en) | 2018-08-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108633249B (en) | Physiological signal quality judgment method and device | |
| US10341554B2 (en) | Method for control of camera module based on physiological signal | |
| CN113555132B (en) | Multi-source data processing method, electronic device and computer-readable storage medium | |
| CN113827185B (en) | Wearable device wear tightness detection method, device and wearable device | |
| KR20190050725A (en) | Method and apparatus for estimating ppg signal and stress index using a mobile terminal | |
| CN113284585A (en) | Data display method, terminal device and storage medium | |
| WO2020125078A1 (en) | Heart rhythm monitoring method, device, electronic apparatus and computer-readable storage medium | |
| WO2022247606A1 (en) | Respiratory disease screening method and related apparatus | |
| CN113996046B (en) | Warming-up judgment method and device and electronic equipment | |
| CN113823378B (en) | Method and terminal for determining the number of exercise times | |
| US12249145B2 (en) | Prompt method and electronic device for fitness training | |
| US20250114042A1 (en) | Method for removing noise from signal, and electronic device | |
| Richer et al. | Novel human computer interaction principles for cardiac feedback using google glass and Android wear | |
| CN113693556A (en) | Method and device for detecting muscle fatigue degree after exercise and electronic equipment | |
| CN117694854A (en) | Blood pressure measurement methods and electronic devices | |
| CN117281468A (en) | PPG signal quality evaluation method, device, equipment and storage medium | |
| CN117711565B (en) | A method for determining exercise recovery time and electronic device | |
| CN114511903B (en) | Heart rate detection method, device and storage medium based on camera anti-shake | |
| CN120203545A (en) | Method, system, electronic device and storage medium for blood pressure measurement | |
| CN117617929A (en) | Atrial fibrillation detection method and device, electronic equipment and storage medium | |
| KR20250017917A (en) | A method and an apparatus for extracing pulse wave based on non-contact | |
| CN116919367A (en) | Blood pressure measurement method and device | |
| CN117694892A (en) | Emotion health state analysis method and electronic equipment | |
| Zhang et al. | MetaBP: A Meta-Learning Approach for Contact-Based Blood Pressure Measurement via Camera on Smart Devices | |
| KR20250017914A (en) | A method and an apparatus for providing exercise information based on heart rate |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |