WO2020143161A1 - Heart rate detection method and device - Google Patents

Heart rate detection method and device Download PDF

Info

Publication number
WO2020143161A1
WO2020143161A1 PCT/CN2019/091102 CN2019091102W WO2020143161A1 WO 2020143161 A1 WO2020143161 A1 WO 2020143161A1 CN 2019091102 W CN2019091102 W CN 2019091102W WO 2020143161 A1 WO2020143161 A1 WO 2020143161A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
heart rate
local mean
segment
area
Prior art date
Application number
PCT/CN2019/091102
Other languages
French (fr)
Chinese (zh)
Inventor
张旺
庄伯金
王少军
肖京
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020143161A1 publication Critical patent/WO2020143161A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate

Definitions

  • the present application relates to the field of signal processing technology, and in particular, to a heart rate detection method and device.
  • the vibration of the heartbeat is very weak, and the human body is often accompanied by complicated conditions such as large shaking of the limbs, coughing, leg shaking, hand shaking, etc. during the measurement process, and these An abnormal interference signal is much stronger than a heartbeat, and it is easy to overwhelm the heartbeat signal, resulting in low accuracy of heart rate detection.
  • the embodiments of the present application provide a heart rate detection method and device to solve the problem of low accuracy of heart rate detection in the prior art.
  • an embodiment of the present application provides a heart rate detection method.
  • the method includes: measuring the heart rate of a user to be detected through a sensor built in the terminal to obtain a signal to be detected; setting a sliding window of a preset duration; according to the sliding window and Split the signal to be detected with a preset step size to obtain N segments, where N is a natural number greater than 1; determine whether the signal in each segment of the N segments belongs to strong noise; if the If the signal belongs to strong noise, the i-th segment is determined to be the target segment, i is a natural number, and i is sequentially taken from 1 to N; all target segments are combined to obtain a strong noise region; the strong noise in the signal to be detected The area is deleted to obtain an effective signal area; the heart rate signal in the effective signal area is detected.
  • an embodiment of the present application provides a heart rate detection device.
  • the device includes: a measurement unit for measuring the heart rate of a user to be detected through a sensor built in the terminal to obtain a signal to be detected; and a setting unit for setting a preset A sliding window with a set duration; a segmentation unit for segmenting the signal to be detected according to the sliding window and a predetermined step size to obtain N segments, where N is a natural number greater than 1; a determination unit is used to determine the N Whether the signal in each segment in the segment belongs to strong noise; the determining unit is used to determine that the i-th segment is the target segment if the signal in the i-th segment belongs to strong noise, i is a natural number, and i takes 1 in turn To N; the merging unit is used to merge all the target fragments to obtain a strong noise region; the deletion unit is used to delete the strong noise region in the signal to be detected to obtain a valid signal region; the detection unit is used to The heart rate signal in the effective signal
  • an embodiment of the present application provides a storage medium, the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned heart rate detection method.
  • an embodiment of the present application provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are processed by the processor When loading and executing, the steps of the above-mentioned heart rate detection method are realized.
  • the signal to be detected is divided according to the sliding window and the preset step size to obtain N segments, and it is determined whether the signal in each segment of the N segments belongs to strong noise, and if the signal in a segment belongs to If there is strong noise, the segment is determined as the target segment, and all target segments are merged to obtain a strong noise region, and the strong noise region in the signal to be detected is deleted to obtain an effective signal region, and the heart rate signal in the effective signal region is detected , Because the strong noise area is deleted, thus avoiding the strong noise interference caused by large limb shaking, coughing, leg shaking, and hand shaking, improving the accuracy of detecting heart rate, and solving the low accuracy of detecting heart rate in the prior art The problem.
  • FIG. 1 is a flowchart of an optional heart rate detection method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of an optional heart rate detection device provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a computer device provided by an embodiment of the present application.
  • FIG. 1 is a flowchart of an optional heart rate detection method provided by an embodiment of the present application. As shown in FIG. 1, the method includes the following steps:
  • Step 102 The heart rate of the user to be detected is measured by a sensor built in the terminal to obtain a signal to be detected.
  • Step 104 Set a sliding window with a preset duration.
  • Step 106 Divide the detection signal according to the sliding window and the preset step size to obtain N segments, where N is a natural number greater than 1.
  • Step 108 Determine whether the signal in each of the N segments belongs to strong noise.
  • step 110 if the signal in the i-th segment belongs to strong noise, it is determined that the i-th segment is the target segment, i is a natural number, and i is sequentially taken from 1 to N.
  • step 112 all target segments are combined to obtain a strong noise region.
  • Step 114 the strong noise area in the signal to be detected is deleted to obtain an effective signal area.
  • Step 116 Detect the heart rate signal in the effective signal area.
  • the signal to be detected includes a pulse wave signal.
  • the signal to be detected is divided according to the sliding window and the preset step size to obtain N segments, and it is determined whether the signal in each segment of the N segments belongs to strong noise, and if the signal in a segment belongs to If there is strong noise, the segment is determined as the target segment, and all target segments are merged to obtain a strong noise region, and the strong noise region in the signal to be detected is deleted to obtain an effective signal region, and the heart rate signal in the effective signal region is detected , Because the strong noise area is deleted, thus avoiding the strong noise interference caused by large limb shaking, coughing, leg shaking, and hand shaking, improving the accuracy of detecting heart rate, and solving the low accuracy of detecting heart rate in the prior art The problem.
  • determining whether the signal in each segment of the N segments belongs to strong noise includes: determining whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold; if the signal amplitude in the i-th segment is If the variance is greater than the preset variance threshold, it is determined that the signal in the i-th segment belongs to strong noise.
  • the variance of the signal amplitude in a certain segment is large, it means that the signal in the segment is likely to be strong noise caused by large limb shaking, coughing, leg shaking, and hand shaking. In this case, determine the segment
  • the signal inside belongs to strong noise and deletes the strong noise, to avoid the influence of strong noise on the accuracy of heart rate detection, and to improve the accuracy of heart rate detection.
  • EMG interference There are three main types of noise in the detection of pulse wave signals: EMG interference, baseline drift and power frequency interference. Among them, the most significant one is EMG interference.
  • the so-called myoelectric interference refers to a mixture of various electrical phenomena in the human body. A certain physiological quantity is sometimes a signal. In another occasion, it may be noise, that is, noise caused by electrical phenomena other than the measured physiological variable.
  • EMG interference is caused by human muscle tremor and occurs randomly, with a frequency range between 5 and 2,000 Hz.
  • Power frequency interference the frequency of the mains voltage is 50Hz, it will cause interference to people's daily life in the form of electromagnetic wave radiation, and this interference is called power frequency interference.
  • the strong noise area in the signal to be detected is deleted to obtain an effective signal area.
  • the effective signal area may still contain EMG interference, baseline drift and power frequency interference. To ensure the accuracy of detection, the effective signal area needs to be
  • the noise reduction processing of the heart rate signal is as follows:
  • performing non-local mean noise reduction on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result includes: calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area; according to the i The attenuation coefficient of the signal points is subjected to non-local mean denoising to obtain the i-th signal point of the non-local mean pre-filtering result, where the attenuation coefficient of the i-th signal point is calculated according to the following formula: Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
  • g max can be set to a value between 15 and 20.
  • T can be set to a value between 10 and 13.
  • h 0 can be set to a value between 0.2 and 20.
  • the size of the search window can be set to 7 ⁇ 7, and the signal block has the same size as the similar window, which can be set to 3 ⁇ 3.
  • the current non-local mean noise reduction method of heart rate signals does not take into account that the heart rate signal has obvious periodicity and regional characteristics.
  • the same attenuation coefficient is sampled in different wave band regions of the heart rate signal, which makes it difficult to take into account the smoothness of the uniform region And the protection of detailed information, the filtering effect is poor.
  • the core parameter of non-local mean noise reduction that is, the attenuation coefficient
  • the attenuation coefficient is adaptively adjusted, which can effectively suppress the noise while better protecting the details of the signal to achieve A better filtering effect.
  • An embodiment of the present application further provides a heart rate detection device, which is used to perform the above heart rate detection method.
  • the device includes: a measurement unit 10, a setting unit 20, a division unit 30, a judgment unit 40, and a determination Unit 50, merge unit 60, delete unit 70, detection unit 80.
  • the measuring unit 10 is configured to measure the heart rate of the user to be detected through a sensor built in the terminal to obtain a signal to be detected.
  • the setting unit 20 is used to set a sliding window with a preset duration.
  • the dividing unit 30 is configured to divide the detection signal according to the sliding window and the preset step size to obtain N segments, where N is a natural number greater than 1.
  • the judging unit 40 is used to judge whether the signal in each of the N segments belongs to strong noise.
  • the determining unit 50 is configured to determine that the i-th segment is a target segment, i is a natural number if the signal in the i-th segment belongs to strong noise, and i takes 1 to N in sequence.
  • the merging unit 60 is used for merging all target segments to obtain strong noise regions.
  • the deleting unit 70 is configured to delete the strong noise area in the signal to be detected to obtain an effective signal area.
  • the detection unit 80 is configured to detect the heart rate signal in the effective signal area.
  • the signal to be detected includes a pulse wave signal.
  • the signal to be detected is divided according to the sliding window and the preset step size to obtain N segments, and it is determined whether the signal in each segment of the N segments belongs to strong noise, and if the signal in a segment belongs to If there is strong noise, the segment is determined as the target segment, and all target segments are merged to obtain a strong noise region, and the strong noise region in the signal to be detected is deleted to obtain an effective signal region, and the heart rate signal in the effective signal region is detected , Because the strong noise area is deleted, thus avoiding the strong noise interference caused by large limb shaking, coughing, leg shaking, and hand shaking, improving the accuracy of detecting heart rate, and solving the low accuracy of detecting heart rate in the prior art The problem.
  • the judgment unit 40 includes: a judgment subunit and a determination subunit.
  • the judging subunit is used to judge whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold.
  • the determination subunit is used to determine that the signal in the i-th segment belongs to strong noise if the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold.
  • the detection unit 80 includes: a filtering subunit, a noise reduction subunit, a correction subunit, and a detection subunit.
  • the filtering subunit is used to perform average filtering on the heart rate signal in the effective signal area and calculate the gradient value of each signal point.
  • the noise reduction sub-unit is used for performing non-local mean denoising on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result.
  • the correction subunit is used for correcting the non-local mean pre-filtering result according to the gradient value of each signal point.
  • the detection subunit is used for detecting the corrected non-local mean pre-filtering result.
  • the noise reduction subunit includes: a calculation module and a noise reduction module.
  • the calculation module is used to calculate the attenuation coefficient of the ith signal point of the heart rate signal in the effective signal area.
  • the noise reduction module is used to perform non-local mean denoising according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result.
  • the attenuation coefficient of the i-th signal point is calculated according to the following formula: Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
  • the noise reduction module includes: a first calculation submodule and a second calculation submodule.
  • the first calculation submodule is used according to the formula Calculate the signal block and similar window weights, where ⁇ (i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window, Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point.
  • the search window
  • ⁇ (i, j) the weight of the i-th signal block and the j-th similar window
  • O j the j-th signal point of the heart rate signal in the effective signal area.
  • An embodiment of the present application provides a computer nonvolatile readable storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the computer nonvolatile readable storage medium is located is controlled to perform the following steps: The sensor of the user to measure the heart rate of the user to be detected, get the signal to be detected; set the sliding window of the preset duration; segment the signal to be detected according to the sliding window and the preset step size, get N segments, N is a natural number greater than 1; judge Whether the signal in each segment of the N segments belongs to strong noise; if the signal in the i segment belongs to strong noise, determine the i segment as the target segment, i is a natural number, i takes 1 to N in turn; The target fragments are combined to obtain a strong noise area; the strong noise area in the signal to be detected is deleted to obtain an effective signal area; and the heart rate signal in the effective signal area is detected.
  • the device where the computer non-volatile readable storage medium is located also performs the following steps: determine whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold; if the If the variance of the signal amplitude is greater than the preset variance threshold, it is determined that the signal in the i-th segment belongs to strong noise.
  • the device where the computer non-volatile readable storage medium is located also performs the following steps: performing an average filtering on the heart rate signal in the effective signal area, calculating the gradient value of each signal point; The heart rate signal in is subjected to non-local mean denoising to obtain the non-local mean pre-filtering result; the non-local mean pre-filtering result is modified according to the gradient value of each signal point; the corrected non-local mean pre-filtering result is detected.
  • the device where the computer non-volatile readable storage medium is located also performs the following steps: calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area; according to the i-th signal point The attenuation coefficient is used to reduce the noise of the non-local mean to obtain the i-th signal point of the non-local mean pre-filtering result, where the attenuation coefficient of the i-th signal point is calculated according to the following formula: Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
  • controlling the device where the computer non-volatile readable storage medium is located while the program is running also performs the following steps: Calculate the signal block and similar window weights, where ⁇ (i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window, Represents the L2 norm, h i represents the attenuation coefficient of the ith signal point; according to the formula Calculate the i-th signal point of the non-local mean pre-filtering result, M i represents the i-th signal point of the non-local mean pre-filtering result, ⁇ represents the search window, and ⁇ (i, j) represents the i-th signal block and j-th Similar window weights, O j represents the jth signal point of the heart rate signal in the effective signal
  • An embodiment of the present application provides a computer device including a memory and a processor.
  • the memory is used to store information including program instructions.
  • the processor is used to control the execution of the program instructions.
  • the built-in sensor of the terminal measures the heart rate of the user to be detected to obtain the signal to be detected; sets the sliding window of the preset duration; divides the detection signal according to the sliding window and the preset step size to obtain N segments, N is a natural number greater than 1
  • the following steps are also implemented: determine whether the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold; if the variance of the signal amplitude in the i-th segment is greater than the preset The variance threshold determines that the signal in the ith segment belongs to strong noise.
  • the heart rate signal in the effective signal area is average filtered to calculate the gradient value of each signal point; and the heart rate signal in the effective signal area is non-local Mean value noise reduction to obtain non-local mean pre-filtering results; correct non-local mean pre-filtering results according to the gradient value of each signal point; detect the corrected non-local mean pre-filtering results.
  • the following steps are also implemented: calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area; performing non-local mean reduction according to the attenuation coefficient of the i-th signal point Noise, the i-th signal point of the non-local mean pre-filtering result is obtained, where the attenuation coefficient of the i-th signal point is calculated according to the following formula: Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
  • FIG. 3 is a schematic diagram of a computer device provided by an embodiment of the present application.
  • the computer device 50 of this embodiment includes a processor 51, a memory 52, and a computer program 53 stored in the memory 52 and executable on the processor 51.
  • the computer program 53 is executed by the processor 51
  • the functions of each model/unit in the center rate detection device of the embodiment are implemented. To avoid repetition, details are not described here one by one.
  • the computer device 50 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the computer equipment may include, but is not limited to, the processor 51 and the memory 52.
  • FIG. 3 is only an example of the computer device 50, and does not constitute a limitation on the computer device 50, and may include more or less components than shown, or combine some components, or different components.
  • computer equipment may also include input and output devices, network access devices, buses, and so on.
  • the so-called processor 51 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 52 may be an internal storage unit of the computer device 50, such as a hard disk or a memory of the computer device 50.
  • the memory 52 may also be an external storage device of the computer device 50, for example, a plug-in hard disk equipped on the computer device 50, a smart memory card (Smart Media (SMC), a secure digital (SD) card, and a flash memory card (Flash Card) etc.
  • the memory 52 may also include both the internal storage unit of the computer device 50 and the external storage device.
  • the memory 52 is used to store computer programs and other programs and data required by computer devices.
  • the memory 52 may also be used to temporarily store data that has been or will be output.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, 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 the components displayed as units may or may not be physical units, that is, they may be located in one place or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the above integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium.
  • the above software functional unit is stored in a storage medium, and includes several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or processor (Processor) to perform the methods described in the embodiments of the present application Partial steps.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

A heart rate detection method and device. The method comprises: measuring the heart rate of a user to be detected by means of a built-in sensor of a terminal to obtain a signal to be detected (S102); configuring a sliding window of a preset duration (S104); segmenting the signal to be detected according to the sliding window and a preset step size to obtain N segments, N being a natural number greater than 1 (S106); determining whether the signal within each segment among the N segments is strong noise (S108); if the signal within an i-th segment is strong noise, determining the i-th segment to be a target segment, i being a natural number, and i being 1 to N sequentially (S110); combining all target segments to obtain a strong noise region (S112); deleting the strong noise region in the signal to be detected to obtain an effective signal region (S114); and detecting a heart rate signal in the effective signal region (S116). The technical solution may solve the problem in the existing technology wherein the accuracy of heart rate detection is low.

Description

一种心率检测方法和装置Heart rate detection method and device
本申请要求于2019年1月9日提交中国专利局、申请号为201910020063.6、申请名称为“一种心率检测方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application filed on January 9, 2019, filed with the Chinese Patent Office, with the application number 201910020063.6 and the application name "a heart rate detection method and device", the entire content of which is incorporated by reference in this application .
【技术领域】【Technical field】
本申请涉及信号处理技术领域,尤其涉及一种心率检测方法和装置。The present application relates to the field of signal processing technology, and in particular, to a heart rate detection method and device.
【背景技术】【Background technique】
使用手机内置传感器以基于微振动的方式测量人体心率时,由于心跳的振动很微弱,而人体在测量过程中又往往伴随着肢体的大幅晃动、咳嗽、抖腿、手抖等复杂情况,并且这些异常的干扰信号相比于心跳会强很多,容易淹没心跳信号,导致心率检测准确度低。When using the mobile phone's built-in sensor to measure the human heart rate based on micro-vibration, the vibration of the heartbeat is very weak, and the human body is often accompanied by complicated conditions such as large shaking of the limbs, coughing, leg shaking, hand shaking, etc. during the measurement process, and these An abnormal interference signal is much stronger than a heartbeat, and it is easy to overwhelm the heartbeat signal, resulting in low accuracy of heart rate detection.
【申请内容】【Application Content】
有鉴于此,本申请实施例提供了一种心率检测方法和装置,用以解决现有技术心率检测准确度低的问题。In view of this, the embodiments of the present application provide a heart rate detection method and device to solve the problem of low accuracy of heart rate detection in the prior art.
一方面,本申请实施例提供了一种心率检测方法,所述方法包括:通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;设置预设时长的滑窗;根据滑窗和预设步长对所述待检测信号进行分割,得到N个片段,N为大于1的自然数;判断所述N个片段中每个片段内的信号是否属于强噪声;如果第i个片段内的信号属于强噪声,则确定所述第i个片段为目标片段,i为自然数,i依次取1至N;将所有目标片段进行合并,得到强噪声区域;将所述待检测信 号中的强噪声区域进行删除,得到有效信号区域;对所述有效信号区域中的心率信号进行检测。On the one hand, an embodiment of the present application provides a heart rate detection method. The method includes: measuring the heart rate of a user to be detected through a sensor built in the terminal to obtain a signal to be detected; setting a sliding window of a preset duration; according to the sliding window and Split the signal to be detected with a preset step size to obtain N segments, where N is a natural number greater than 1; determine whether the signal in each segment of the N segments belongs to strong noise; if the If the signal belongs to strong noise, the i-th segment is determined to be the target segment, i is a natural number, and i is sequentially taken from 1 to N; all target segments are combined to obtain a strong noise region; the strong noise in the signal to be detected The area is deleted to obtain an effective signal area; the heart rate signal in the effective signal area is detected.
一方面,本申请实施例提供了一种心率检测装置,所述装置包括:测量单元,用于通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;设置单元,用于设置预设时长的滑窗;分割单元,用于根据滑窗和预设步长对所述待检测信号进行分割,得到N个片段,N为大于1的自然数;判断单元,用于判断所述N个片段中每个片段内的信号是否属于强噪声;确定单元,用于如果第i个片段内的信号属于强噪声,则确定所述第i个片段为目标片段,i为自然数,i依次取1至N;合并单元,用于将所有目标片段进行合并,得到强噪声区域;删除单元,用于将所述待检测信号中的强噪声区域进行删除,得到有效信号区域;检测单元,用于对所述有效信号区域中的心率信号进行检测。On the one hand, an embodiment of the present application provides a heart rate detection device. The device includes: a measurement unit for measuring the heart rate of a user to be detected through a sensor built in the terminal to obtain a signal to be detected; and a setting unit for setting a preset A sliding window with a set duration; a segmentation unit for segmenting the signal to be detected according to the sliding window and a predetermined step size to obtain N segments, where N is a natural number greater than 1; a determination unit is used to determine the N Whether the signal in each segment in the segment belongs to strong noise; the determining unit is used to determine that the i-th segment is the target segment if the signal in the i-th segment belongs to strong noise, i is a natural number, and i takes 1 in turn To N; the merging unit is used to merge all the target fragments to obtain a strong noise region; the deletion unit is used to delete the strong noise region in the signal to be detected to obtain a valid signal region; the detection unit is used to The heart rate signal in the effective signal area is detected.
一方面,本申请实施例提供了一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行上述的心率检测方法。On the one hand, an embodiment of the present application provides a storage medium, the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned heart rate detection method.
一方面,本申请实施例提供了一种计算机设备,包括存储器和处理器,所述存储器用于存储包括程序指令的信息,所述处理器用于控制程序指令的执行,所述程序指令被处理器加载并执行时实现上述的心率检测方法的步骤。On the one hand, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are processed by the processor When loading and executing, the steps of the above-mentioned heart rate detection method are realized.
在本申请实施例中,根据滑窗和预设步长对待检测信号进行分割,得到N个片段,判断N个片段中每个片段内的信号是否属于强噪声,如果某个片段内的信号属于强噪声,则确定该片段为目标片段,将所有目标片段进行合并,得到强噪声区域,将待检测信号中的强噪声区域进行删除,得到有效信号区域,对有效信号区域中的心率信号进行检测,由于删除了强噪声区域,从而避免了肢体的大幅晃动、咳嗽、抖腿、手抖带来的强噪声干扰,提高了检测心率的准确度,解决了现有技术中检测心率的准确度低的问题。In the embodiment of the present application, the signal to be detected is divided according to the sliding window and the preset step size to obtain N segments, and it is determined whether the signal in each segment of the N segments belongs to strong noise, and if the signal in a segment belongs to If there is strong noise, the segment is determined as the target segment, and all target segments are merged to obtain a strong noise region, and the strong noise region in the signal to be detected is deleted to obtain an effective signal region, and the heart rate signal in the effective signal region is detected , Because the strong noise area is deleted, thus avoiding the strong noise interference caused by large limb shaking, coughing, leg shaking, and hand shaking, improving the accuracy of detecting heart rate, and solving the low accuracy of detecting heart rate in the prior art The problem.
【附图说明】[Description of the drawings]
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly explain the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. Those of ordinary skill in the art can obtain other drawings based on these drawings without paying any creative labor.
图1是本申请实施例提供的一种可选的心率检测方法的流程图;FIG. 1 is a flowchart of an optional heart rate detection method provided by an embodiment of the present application;
图2是本申请实施例提供的一种可选的心率检测装置的示意图;2 is a schematic diagram of an optional heart rate detection device provided by an embodiment of the present application;
图3是本申请实施例提供的一种计算机设备的示意图。FIG. 3 is a schematic diagram of a computer device provided by an embodiment of the present application.
【具体实施方式】【detailed description】
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。In order to better understand the technical solution of the present application, the following describes the embodiments of the present application in detail with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be clear that the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terminology used in the embodiments of the present application is for the purpose of describing specific embodiments only, and is not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include the majority forms unless the context clearly indicates other meanings.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate: A exists alone, and A and B, there are three cases of B alone. In addition, the character “/” in this article generally indicates that the related objects before and after it are in an “or” relationship.
图1是本申请实施例提供的一种可选的心率检测方法的流程图,如图1所示,该方法包括以下步骤:FIG. 1 is a flowchart of an optional heart rate detection method provided by an embodiment of the present application. As shown in FIG. 1, the method includes the following steps:
步骤102,通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号。Step 102: The heart rate of the user to be detected is measured by a sensor built in the terminal to obtain a signal to be detected.
步骤104,设置预设时长的滑窗。Step 104: Set a sliding window with a preset duration.
步骤106,根据滑窗和预设步长对待检测信号进行分割,得到N个片段,N为大于1的自然数。Step 106: Divide the detection signal according to the sliding window and the preset step size to obtain N segments, where N is a natural number greater than 1.
步骤108,判断N个片段中每个片段内的信号是否属于强噪声。Step 108: Determine whether the signal in each of the N segments belongs to strong noise.
步骤110,如果第i个片段内的信号属于强噪声,则确定第i个片段为目标片段,i为自然数,i依次取1至N。In step 110, if the signal in the i-th segment belongs to strong noise, it is determined that the i-th segment is the target segment, i is a natural number, and i is sequentially taken from 1 to N.
步骤112,将所有目标片段进行合并,得到强噪声区域。In step 112, all target segments are combined to obtain a strong noise region.
步骤114,将待检测信号中的强噪声区域进行删除,得到有效信号区域。Step 114, the strong noise area in the signal to be detected is deleted to obtain an effective signal area.
步骤116,对有效信号区域中的心率信号进行检测。Step 116: Detect the heart rate signal in the effective signal area.
使用终端内置传感器以基于微振动的方式测量人体心率,得到待检测信号。Use the built-in sensor of the terminal to measure the human heart rate based on micro-vibration to obtain the signal to be detected.
待检测信号包含脉搏波信号。The signal to be detected includes a pulse wave signal.
肢体的大幅晃动、咳嗽、抖腿、手抖会导致强噪声,对心率检测造成干扰。Large shaking of the limbs, coughing, leg shaking, and hand shaking can cause strong noise and interfere with heart rate detection.
在本申请实施例中,根据滑窗和预设步长对待检测信号进行分割,得到N个片段,判断N个片段中每个片段内的信号是否属于强噪声,如果某个片段内的信号属于强噪声,则确定该片段为目标片段,将所有目标片段进行合并,得到强噪声区域,将待检测信号中的强噪声区域进行删除,得到有效信号区域,对有效信号区域中的心率信号进行检测,由于删除了强噪声区域,从而避免了肢体的大幅晃动、咳嗽、抖腿、手抖带来的强噪声干扰,提高了检测心率的准确度,解决了现有技术中检测心率的准确度低的问题。In the embodiment of the present application, the signal to be detected is divided according to the sliding window and the preset step size to obtain N segments, and it is determined whether the signal in each segment of the N segments belongs to strong noise, and if the signal in a segment belongs to If there is strong noise, the segment is determined as the target segment, and all target segments are merged to obtain a strong noise region, and the strong noise region in the signal to be detected is deleted to obtain an effective signal region, and the heart rate signal in the effective signal region is detected , Because the strong noise area is deleted, thus avoiding the strong noise interference caused by large limb shaking, coughing, leg shaking, and hand shaking, improving the accuracy of detecting heart rate, and solving the low accuracy of detecting heart rate in the prior art The problem.
可选地,判断N个片段中每个片段内的信号是否属于强噪声,包括:判断第i个片段内的信号振幅的方差是否大于预设方差阈值;如果第i个片段内的信号振幅的方差大于预设方差阈值,则确定第i个片段内的信号属于强噪声。Optionally, determining whether the signal in each segment of the N segments belongs to strong noise includes: determining whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold; if the signal amplitude in the i-th segment is If the variance is greater than the preset variance threshold, it is determined that the signal in the i-th segment belongs to strong noise.
如果某个片段内的信号振幅的方差大,则说明该片段内的信号很可能是由肢体的大幅晃动、咳嗽、抖腿、手抖带来的强噪声,在这种情况下,确定该片段内的信号属于强噪声并删除强噪声,避免强噪声对心率检测的准确度的影响,提高 心率检测的准确度。If the variance of the signal amplitude in a certain segment is large, it means that the signal in the segment is likely to be strong noise caused by large limb shaking, coughing, leg shaking, and hand shaking. In this case, determine the segment The signal inside belongs to strong noise and deletes the strong noise, to avoid the influence of strong noise on the accuracy of heart rate detection, and to improve the accuracy of heart rate detection.
脉搏波信号检测主要存在肌电干扰、基线漂移和工频干扰3种噪声。而其中影响较大的则是肌电干扰。所谓肌电干扰,指人体多种电现象混杂在一起,某一生理量有时是信号,在另一场合则可能是噪声,即被测生理变量以外的人体电现象所引起的噪声。肌电干扰由人体肌肉颤动引起,发生具有随机性,频率范围在5~2 000Hz之间。工频干扰,市电电压的频率为50Hz,它会以电磁波的辐射形式,对人们的日常生活造成干扰,把这种干扰称之为工频干扰。示波过程中,基线的上下动荡不稳、突然跳跃、振荡或缓慢漂移是经常遇到的麻烦问题。由于这种基线的漂移,看不清各波段,或造成ST段抬高或压低,或类似于各种严重心律失常等,造成诊断困难。There are three main types of noise in the detection of pulse wave signals: EMG interference, baseline drift and power frequency interference. Among them, the most significant one is EMG interference. The so-called myoelectric interference refers to a mixture of various electrical phenomena in the human body. A certain physiological quantity is sometimes a signal. In another occasion, it may be noise, that is, noise caused by electrical phenomena other than the measured physiological variable. EMG interference is caused by human muscle tremor and occurs randomly, with a frequency range between 5 and 2,000 Hz. Power frequency interference, the frequency of the mains voltage is 50Hz, it will cause interference to people's daily life in the form of electromagnetic wave radiation, and this interference is called power frequency interference. During the oscilloscope process, unstable baseline fluctuations, sudden jumps, oscillations, or slow drifts are often troublesome problems encountered. Because of this baseline drift, it is difficult to see the various bands, or cause ST segment elevation or depression, or similar to various serious arrhythmias, etc., which makes diagnosis difficult.
将待检测信号中的强噪声区域进行删除,得到有效信号区域,有效信号区域中仍然可能包含了肌电干扰、基线漂移和工频干扰等,为了保证检测的精度,需要对有效信号区域中的心率信号进行降噪处理,详细过程如下:The strong noise area in the signal to be detected is deleted to obtain an effective signal area. The effective signal area may still contain EMG interference, baseline drift and power frequency interference. To ensure the accuracy of detection, the effective signal area needs to be The noise reduction processing of the heart rate signal is as follows:
对有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值;对有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果;根据每一信号点的梯度值修正非局部均值预滤波结果;对修正后的非局部均值预滤波结果进行检测。Perform mean filtering on the heart rate signal in the effective signal area to calculate the gradient value of each signal point; perform non-local mean denoising on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result; according to each signal point Gradient value correction non-local mean pre-filtering results; detection of modified non-local mean pre-filtering results.
可选地,对有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果,包括:计算有效信号区域中的心率信号的第i个信号点的衰减系数;根据第i个信号点的衰减系数进行非局部均值降噪,得到非局部均值预滤波结果的第i个信号点,其中,第i个信号点的衰减系数根据以下公式进行计算:
Figure PCTCN2019091102-appb-000001
其中,h i是第i个信号点的衰减系数,h 0是固定衰减系数,g i是第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。
Optionally, performing non-local mean noise reduction on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result includes: calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area; according to the i The attenuation coefficient of the signal points is subjected to non-local mean denoising to obtain the i-th signal point of the non-local mean pre-filtering result, where the attenuation coefficient of the i-th signal point is calculated according to the following formula:
Figure PCTCN2019091102-appb-000001
Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
g max可以设置为15至20之间的数值。T可以设置为10至13之间的数值。h 0可以设置为0.2至20之间的数值。 g max can be set to a value between 15 and 20. T can be set to a value between 10 and 13. h 0 can be set to a value between 0.2 and 20.
可选地,根据第i个信号点的衰减系数进行非局部均值降噪,得到非局部均值预滤波结果的第i个信号点,包括:根据公式
Figure PCTCN2019091102-appb-000002
计算信号块与相似窗权重,其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
Figure PCTCN2019091102-appb-000003
表示L2范数,h i表示第i个信号点的衰减系数;根据公式M i=∑ j∈Ωω(i,j)·O j计算非局部均值预滤波结果的第i个信号点,M i表示非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示有效信号区域中的心率信号的第j个信号点。
Optionally, performing non-local mean noise reduction according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result includes: according to the formula
Figure PCTCN2019091102-appb-000002
Calculate the signal block and similar window weights, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
Figure PCTCN2019091102-appb-000003
Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point; according to the equation M i = Σ j∈Ω ω (i , j) · O j i th signal points calculated local mean non-pre-filtered results, M i represents the i-th signal point of the non-local mean pre-filtering result, Ω represents the search window, ω(i, j) represents the weight of the i-th signal block and the j-th similar window, and O j represents the heart rate signal in the effective signal area The jth signal point.
搜索窗的大小可以设置为7×7,信号块与相似窗大小相同,可以设置为3×3。The size of the search window can be set to 7×7, and the signal block has the same size as the similar window, which can be set to 3×3.
目前现有的心率信号的非局部均值降噪方法,没有考虑到心率信号具有明显周期性和区域性的特点,对心率信号的不同波段区域都采样相同的衰减系数,导致难以兼顾均匀区域的平滑和细节信息的保护,滤波效果较差。The current non-local mean noise reduction method of heart rate signals does not take into account that the heart rate signal has obvious periodicity and regional characteristics. The same attenuation coefficient is sampled in different wave band regions of the heart rate signal, which makes it difficult to take into account the smoothness of the uniform region And the protection of detailed information, the filtering effect is poor.
本方案中,对于有效信号区域中的心率信号的不同波段区域,自适应调整非局部均值降噪的核心参数,即衰减系数,能够在有效抑制噪声的同时更好地保护信号的细节信息,达到了更好的滤波效果。In this solution, for different band regions of the heart rate signal in the effective signal region, the core parameter of non-local mean noise reduction, that is, the attenuation coefficient, is adaptively adjusted, which can effectively suppress the noise while better protecting the details of the signal to achieve A better filtering effect.
对有效信号区域中的心率信号进行降噪处理完成后,确定有效信号区域中的心率信号的各个波谷、波峰及相邻两个波谷或相邻两个波峰的间隔,得到波谷、波峰的幅值变化曲线和间隔信号;根据波谷、波峰的幅值变化曲线和间隔信号生成心率数据。After the noise reduction processing of the heart rate signal in the effective signal area is completed, determine the respective troughs and peaks of the heart rate signal in the effective signal area and the interval between two adjacent troughs or two adjacent peaks to obtain the amplitudes of the troughs and peaks Change curve and interval signal; generate heart rate data according to the amplitude change curve and interval signal of trough and peak.
本申请实施例还提供了一种心率检测装置,该装置用于执行上述心率检测方法,如图2所示,该装置包括:测量单元10、设置单元20、分割单元30、判断 单元40、确定单元50、合并单元60、删除单元70、检测单元80。An embodiment of the present application further provides a heart rate detection device, which is used to perform the above heart rate detection method. As shown in FIG. 2, the device includes: a measurement unit 10, a setting unit 20, a division unit 30, a judgment unit 40, and a determination Unit 50, merge unit 60, delete unit 70, detection unit 80.
测量单元10,用于通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号。The measuring unit 10 is configured to measure the heart rate of the user to be detected through a sensor built in the terminal to obtain a signal to be detected.
设置单元20,用于设置预设时长的滑窗。The setting unit 20 is used to set a sliding window with a preset duration.
分割单元30,用于根据滑窗和预设步长对待检测信号进行分割,得到N个片段,N为大于1的自然数。The dividing unit 30 is configured to divide the detection signal according to the sliding window and the preset step size to obtain N segments, where N is a natural number greater than 1.
判断单元40,用于判断N个片段中每个片段内的信号是否属于强噪声。The judging unit 40 is used to judge whether the signal in each of the N segments belongs to strong noise.
确定单元50,用于如果第i个片段内的信号属于强噪声,则确定第i个片段为目标片段,i为自然数,i依次取1至N。The determining unit 50 is configured to determine that the i-th segment is a target segment, i is a natural number if the signal in the i-th segment belongs to strong noise, and i takes 1 to N in sequence.
合并单元60,用于将所有目标片段进行合并,得到强噪声区域。The merging unit 60 is used for merging all target segments to obtain strong noise regions.
删除单元70,用于将待检测信号中的强噪声区域进行删除,得到有效信号区域。The deleting unit 70 is configured to delete the strong noise area in the signal to be detected to obtain an effective signal area.
检测单元80,用于对有效信号区域中的心率信号进行检测。The detection unit 80 is configured to detect the heart rate signal in the effective signal area.
使用终端内置传感器以基于微振动的方式测量人体心率,得到待检测信号。Use the built-in sensor of the terminal to measure the human heart rate based on micro-vibration to obtain the signal to be detected.
待检测信号包含脉搏波信号。The signal to be detected includes a pulse wave signal.
肢体的大幅晃动、咳嗽、抖腿、手抖会导致强噪声,对心率检测造成干扰。Large shaking of the limbs, coughing, leg shaking, and hand shaking can cause strong noise and interfere with heart rate detection.
在本申请实施例中,根据滑窗和预设步长对待检测信号进行分割,得到N个片段,判断N个片段中每个片段内的信号是否属于强噪声,如果某个片段内的信号属于强噪声,则确定该片段为目标片段,将所有目标片段进行合并,得到强噪声区域,将待检测信号中的强噪声区域进行删除,得到有效信号区域,对有效信号区域中的心率信号进行检测,由于删除了强噪声区域,从而避免了肢体的大幅晃动、咳嗽、抖腿、手抖带来的强噪声干扰,提高了检测心率的准确度,解决了现有技术中检测心率的准确度低的问题。In the embodiment of the present application, the signal to be detected is divided according to the sliding window and the preset step size to obtain N segments, and it is determined whether the signal in each segment of the N segments belongs to strong noise, and if the signal in a segment belongs to If there is strong noise, the segment is determined as the target segment, and all target segments are merged to obtain a strong noise region, and the strong noise region in the signal to be detected is deleted to obtain an effective signal region, and the heart rate signal in the effective signal region is detected , Because the strong noise area is deleted, thus avoiding the strong noise interference caused by large limb shaking, coughing, leg shaking, and hand shaking, improving the accuracy of detecting heart rate, and solving the low accuracy of detecting heart rate in the prior art The problem.
可选地,判断单元40包括:判断子单元、确定子单元。判断子单元,用于判断第i个片段内的信号振幅的方差是否大于预设方差阈值。确定子单元,用于如 果第i个片段内的信号振幅的方差大于预设方差阈值,则确定第i个片段内的信号属于强噪声。Optionally, the judgment unit 40 includes: a judgment subunit and a determination subunit. The judging subunit is used to judge whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold. The determination subunit is used to determine that the signal in the i-th segment belongs to strong noise if the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold.
可选地,检测单元80包括:滤波子单元、降噪子单元、修正子单元、检测子单元。滤波子单元,用于对有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值。降噪子单元,用于对有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果。修正子单元,用于根据每一信号点的梯度值修正非局部均值预滤波结果。检测子单元,用于对修正后的非局部均值预滤波结果进行检测。Optionally, the detection unit 80 includes: a filtering subunit, a noise reduction subunit, a correction subunit, and a detection subunit. The filtering subunit is used to perform average filtering on the heart rate signal in the effective signal area and calculate the gradient value of each signal point. The noise reduction sub-unit is used for performing non-local mean denoising on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result. The correction subunit is used for correcting the non-local mean pre-filtering result according to the gradient value of each signal point. The detection subunit is used for detecting the corrected non-local mean pre-filtering result.
可选地,降噪子单元包括:计算模块、降噪模块。计算模块,用于计算有效信号区域中的心率信号的第i个信号点的衰减系数。降噪模块,用于根据第i个信号点的衰减系数进行非局部均值降噪,得到非局部均值预滤波结果的第i个信号点。其中,第i个信号点的衰减系数根据以下公式进行计算:
Figure PCTCN2019091102-appb-000004
Figure PCTCN2019091102-appb-000005
其中,h i是第i个信号点的衰减系数,h 0是固定衰减系数,g i是第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。
Optionally, the noise reduction subunit includes: a calculation module and a noise reduction module. The calculation module is used to calculate the attenuation coefficient of the ith signal point of the heart rate signal in the effective signal area. The noise reduction module is used to perform non-local mean denoising according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result. Among them, the attenuation coefficient of the i-th signal point is calculated according to the following formula:
Figure PCTCN2019091102-appb-000004
Figure PCTCN2019091102-appb-000005
Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
可选地,降噪模块包括:第一计算子模块、第二计算子模块。第一计算子模块,用于根据公式
Figure PCTCN2019091102-appb-000006
计算信号块与相似窗权重,其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
Figure PCTCN2019091102-appb-000007
表示L2范数,h i表示第i个信号点的衰减系数。第二计算子模块,用于根据公式M i=∑ j∈Ωω(i,j)·O j计算非局部均值预滤波结果的第i个信号点,M i表示非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示有效信号区域中的心率信号的第j个信号点。
Optionally, the noise reduction module includes: a first calculation submodule and a second calculation submodule. The first calculation submodule is used according to the formula
Figure PCTCN2019091102-appb-000006
Calculate the signal block and similar window weights, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
Figure PCTCN2019091102-appb-000007
Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point. The second calculation submodule is used to calculate the i-th signal point of the non-local mean pre-filtering result according to the formula M i =∑ j∈Ω ω(i,j)·O j , and M i represents the non-local mean pre-filtering result. For the i-th signal point, Ω represents the search window, ω(i, j) represents the weight of the i-th signal block and the j-th similar window, and O j represents the j-th signal point of the heart rate signal in the effective signal area.
本申请实施例提供了一种计算机非易失性可读存储介质,存储介质包括存储的程序,其中,在程序运行时控制计算机非易失性可读存储介质所在设备执行以 下步骤:通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;设置预设时长的滑窗;根据滑窗和预设步长对待检测信号进行分割,得到N个片段,N为大于1的自然数;判断N个片段中每个片段内的信号是否属于强噪声;如果第i个片段内的信号属于强噪声,则确定第i个片段为目标片段,i为自然数,i依次取1至N;将所有目标片段进行合并,得到强噪声区域;将待检测信号中的强噪声区域进行删除,得到有效信号区域;对有效信号区域中的心率信号进行检测。An embodiment of the present application provides a computer nonvolatile readable storage medium, where the storage medium includes a stored program, wherein, when the program is running, the device where the computer nonvolatile readable storage medium is located is controlled to perform the following steps: The sensor of the user to measure the heart rate of the user to be detected, get the signal to be detected; set the sliding window of the preset duration; segment the signal to be detected according to the sliding window and the preset step size, get N segments, N is a natural number greater than 1; judge Whether the signal in each segment of the N segments belongs to strong noise; if the signal in the i segment belongs to strong noise, determine the i segment as the target segment, i is a natural number, i takes 1 to N in turn; The target fragments are combined to obtain a strong noise area; the strong noise area in the signal to be detected is deleted to obtain an effective signal area; and the heart rate signal in the effective signal area is detected.
可选地,在程序运行时控制计算机非易失性可读存储介质所在设备还执行以下步骤:判断第i个片段内的信号振幅的方差是否大于预设方差阈值;如果第i个片段内的信号振幅的方差大于预设方差阈值,则确定第i个片段内的信号属于强噪声。Optionally, when the program is running, the device where the computer non-volatile readable storage medium is located also performs the following steps: determine whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold; if the If the variance of the signal amplitude is greater than the preset variance threshold, it is determined that the signal in the i-th segment belongs to strong noise.
可选地,在程序运行时控制计算机非易失性可读存储介质所在设备还执行以下步骤:对有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值;对有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果;根据每一信号点的梯度值修正非局部均值预滤波结果;对修正后的非局部均值预滤波结果进行检测。Optionally, when the program is running, the device where the computer non-volatile readable storage medium is located also performs the following steps: performing an average filtering on the heart rate signal in the effective signal area, calculating the gradient value of each signal point; The heart rate signal in is subjected to non-local mean denoising to obtain the non-local mean pre-filtering result; the non-local mean pre-filtering result is modified according to the gradient value of each signal point; the corrected non-local mean pre-filtering result is detected.
可选地,在程序运行时控制计算机非易失性可读存储介质所在设备还执行以下步骤:计算有效信号区域中的心率信号的第i个信号点的衰减系数;根据第i个信号点的衰减系数进行非局部均值降噪,得到非局部均值预滤波结果的第i个信号点,其中,第i个信号点的衰减系数根据以下公式进行计算:
Figure PCTCN2019091102-appb-000008
Figure PCTCN2019091102-appb-000009
其中,h i是第i个信号点的衰减系数,h 0是固定衰减系数,g i是第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。
Optionally, when the program is running, the device where the computer non-volatile readable storage medium is located also performs the following steps: calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area; according to the i-th signal point The attenuation coefficient is used to reduce the noise of the non-local mean to obtain the i-th signal point of the non-local mean pre-filtering result, where the attenuation coefficient of the i-th signal point is calculated according to the following formula:
Figure PCTCN2019091102-appb-000008
Figure PCTCN2019091102-appb-000009
Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
可选地,在程序运行时控制计算机非易失性可读存储介质所在设备还执行以下步骤:根据公式
Figure PCTCN2019091102-appb-000010
计算信号块与相似窗权重, 其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
Figure PCTCN2019091102-appb-000011
表示L2范数,h i表示第i个信号点的衰减系数;根据公式
Figure PCTCN2019091102-appb-000012
Figure PCTCN2019091102-appb-000013
计算非局部均值预滤波结果的第i个信号点,M i表示非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示有效信号区域中的心率信号的第j个信号点。
Optionally, controlling the device where the computer non-volatile readable storage medium is located while the program is running also performs the following steps:
Figure PCTCN2019091102-appb-000010
Calculate the signal block and similar window weights, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
Figure PCTCN2019091102-appb-000011
Represents the L2 norm, h i represents the attenuation coefficient of the ith signal point; according to the formula
Figure PCTCN2019091102-appb-000012
Figure PCTCN2019091102-appb-000013
Calculate the i-th signal point of the non-local mean pre-filtering result, M i represents the i-th signal point of the non-local mean pre-filtering result, Ω represents the search window, and ω(i, j) represents the i-th signal block and j-th Similar window weights, O j represents the jth signal point of the heart rate signal in the effective signal area.
本申请实施例提供了一种计算机设备,包括存储器和处理器,存储器用于存储包括程序指令的信息,处理器用于控制程序指令的执行,程序指令被处理器加载并执行时实现以下步骤:通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;设置预设时长的滑窗;根据滑窗和预设步长对待检测信号进行分割,得到N个片段,N为大于1的自然数;判断N个片段中每个片段内的信号是否属于强噪声;如果第i个片段内的信号属于强噪声,则确定第i个片段为目标片段,i为自然数,i依次取1至N;将所有目标片段进行合并,得到强噪声区域;将待检测信号中的强噪声区域进行删除,得到有效信号区域;对有效信号区域中的心率信号进行检测。An embodiment of the present application provides a computer device including a memory and a processor. The memory is used to store information including program instructions. The processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, the following steps are implemented: The built-in sensor of the terminal measures the heart rate of the user to be detected to obtain the signal to be detected; sets the sliding window of the preset duration; divides the detection signal according to the sliding window and the preset step size to obtain N segments, N is a natural number greater than 1 Determine whether the signal in each segment of the N segments belongs to strong noise; if the signal in the i segment belongs to strong noise, determine the i segment as the target segment, i is a natural number, and i takes 1 to N in turn; All target segments are combined to obtain a strong noise area; the strong noise area in the signal to be detected is deleted to obtain an effective signal area; and the heart rate signal in the effective signal area is detected.
可选地,程序指令被处理器加载并执行时还实现以下步骤:判断第i个片段内的信号振幅的方差是否大于预设方差阈值;如果第i个片段内的信号振幅的方差大于预设方差阈值,则确定第i个片段内的信号属于强噪声。Optionally, when the program instructions are loaded and executed by the processor, the following steps are also implemented: determine whether the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold; if the variance of the signal amplitude in the i-th segment is greater than the preset The variance threshold determines that the signal in the ith segment belongs to strong noise.
可选地,程序指令被处理器加载并执行时还实现以下步骤:对有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值;对有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果;根据每一信号点的梯度值修正非局部均值预滤波结果;对修正后的非局部均值预滤波结果进行检测。Optionally, when the program instructions are loaded and executed by the processor, the following steps are also implemented: the heart rate signal in the effective signal area is average filtered to calculate the gradient value of each signal point; and the heart rate signal in the effective signal area is non-local Mean value noise reduction to obtain non-local mean pre-filtering results; correct non-local mean pre-filtering results according to the gradient value of each signal point; detect the corrected non-local mean pre-filtering results.
可选地,程序指令被处理器加载并执行时还实现以下步骤:计算有效信号区域中的心率信号的第i个信号点的衰减系数;根据第i个信号点的衰减系数进行非局部均值降噪,得到非局部均值预滤波结果的第i个信号点,其中,第i个信 号点的衰减系数根据以下公式进行计算:
Figure PCTCN2019091102-appb-000014
其中,h i是第i个信号点的衰减系数,h 0是固定衰减系数,g i是第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。
Optionally, when the program instructions are loaded and executed by the processor, the following steps are also implemented: calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area; performing non-local mean reduction according to the attenuation coefficient of the i-th signal point Noise, the i-th signal point of the non-local mean pre-filtering result is obtained, where the attenuation coefficient of the i-th signal point is calculated according to the following formula:
Figure PCTCN2019091102-appb-000014
Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset gradient threshold.
可选地,程序指令被处理器加载并执行时还实现以下步骤:根据公式
Figure PCTCN2019091102-appb-000015
Figure PCTCN2019091102-appb-000016
计算信号块与相似窗权重,其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
Figure PCTCN2019091102-appb-000017
表示L2范数,h i表示第i个信号点的衰减系数;根据公式M i=∑ j∈Ωω(i,j)·O j计算非局部均值预滤波结果的第i个信号点,M i表示非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示有效信号区域中的心率信号的第j个信号点。
Optionally, when the program instructions are loaded and executed by the processor, the following steps are also implemented: according to the formula
Figure PCTCN2019091102-appb-000015
Figure PCTCN2019091102-appb-000016
Calculate the signal block and similar window weights, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
Figure PCTCN2019091102-appb-000017
Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point; according to the equation M i = Σ j∈Ω ω (i , j) · O j i th signal points calculated local mean non-pre-filtered results, M i represents the i-th signal point of the non-local mean pre-filtering result, Ω represents the search window, ω(i, j) represents the weight of the i-th signal block and the j-th similar window, and O j represents the heart rate signal in the effective signal area The jth signal point.
图3是本申请实施例提供的一种计算机设备的示意图。如图3所示,该实施例的计算机设备50包括:处理器51、存储器52以及存储在存储器52中并可在处理器51上运行的计算机程序53,该计算机程序53被处理器51执行时实现实施例中的心率检测方法,为避免重复,此处不一一赘述。或者,该计算机程序被处理器51执行时实现实施例中心率检测装置中各模型/单元的功能,为避免重复,此处不一一赘述。FIG. 3 is a schematic diagram of a computer device provided by an embodiment of the present application. As shown in FIG. 3, the computer device 50 of this embodiment includes a processor 51, a memory 52, and a computer program 53 stored in the memory 52 and executable on the processor 51. When the computer program 53 is executed by the processor 51 To implement the heart rate detection method in the embodiment, in order to avoid repetition, they are not described here one by one. Alternatively, when the computer program is executed by the processor 51, the functions of each model/unit in the center rate detection device of the embodiment are implemented. To avoid repetition, details are not described here one by one.
计算机设备50可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。计算机设备可包括,但不仅限于,处理器51、存储器52。本领域技术人员可以理解,图3仅仅是计算机设备50的示例,并不构成对计算机设备50的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如计算机设备还可以包括输入输出设备、网络接入设备、总线等。The computer device 50 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The computer equipment may include, but is not limited to, the processor 51 and the memory 52. Those skilled in the art may understand that FIG. 3 is only an example of the computer device 50, and does not constitute a limitation on the computer device 50, and may include more or less components than shown, or combine some components, or different components. For example, computer equipment may also include input and output devices, network access devices, buses, and so on.
所称处理器51可以是中央处理单元(Central Processing Unit,CPU),还可 以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 51 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
存储器52可以是计算机设备50的内部存储单元,例如计算机设备50的硬盘或内存。存储器52也可以是计算机设备50的外部存储设备,例如计算机设备50上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器52还可以既包括计算机设备50的内部存储单元也包括外部存储设备。存储器52用于存储计算机程序以及计算机设备所需的其他程序和数据。存储器52还可以用于暂时地存储已经输出或者将要输出的数据。The memory 52 may be an internal storage unit of the computer device 50, such as a hard disk or a memory of the computer device 50. The memory 52 may also be an external storage device of the computer device 50, for example, a plug-in hard disk equipped on the computer device 50, a smart memory card (Smart Media (SMC), a secure digital (SD) card, and a flash memory card (Flash Card) etc. Further, the memory 52 may also include both the internal storage unit of the computer device 50 and the external storage device. The memory 52 is used to store computer programs and other programs and data required by computer devices. The memory 52 may also be used to temporarily store data that has been or will be output.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, 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 the components displayed as units may or may not be physical units, that is, they may be located in one place or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of 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 alone physically, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium. The above software functional unit is stored in a storage medium, and includes several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or processor (Processor) to perform the methods described in the embodiments of the present application Partial steps. The foregoing storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above are only the preferred embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application should be included in this application Within the scope of protection.

Claims (20)

  1. 一种心率检测方法,其特征在于,所述方法包括:A heart rate detection method, characterized in that the method includes:
    通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;Measure the heart rate of the user to be detected through the sensor built in the terminal to obtain the signal to be detected;
    设置预设时长的滑窗;Sliding window with preset duration;
    根据滑窗和预设步长对所述待检测信号进行分割,得到N个片段,N为大于1的自然数;Divide the signal to be detected according to the sliding window and the preset step size to obtain N segments, where N is a natural number greater than 1;
    判断所述N个片段中每个片段内的信号是否属于强噪声;Determine whether the signal in each of the N segments belongs to strong noise;
    如果第i个片段内的信号属于强噪声,则确定所述第i个片段为目标片段,i为自然数,i依次取1至N;If the signal in the i-th segment belongs to strong noise, it is determined that the i-th segment is the target segment, i is a natural number, and i takes 1 to N in sequence;
    将所有目标片段进行合并,得到强噪声区域;Combine all target fragments to get strong noise area;
    将所述待检测信号中的强噪声区域进行删除,得到有效信号区域;Delete the strong noise area in the signal to be detected to obtain an effective signal area;
    对所述有效信号区域中的心率信号进行检测。Detecting the heart rate signal in the effective signal area.
  2. 根据权利要求1所述的方法,其特征在于,所述判断所述N个片段中每个片段内的信号是否属于强噪声,包括:The method according to claim 1, wherein the determining whether the signal in each of the N segments belongs to strong noise includes:
    判断所述第i个片段内的信号振幅的方差是否大于预设方差阈值;Determine whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold;
    如果所述第i个片段内的信号振幅的方差大于所述预设方差阈值,则确定所述第i个片段内的信号属于强噪声。If the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold, it is determined that the signal in the i-th segment belongs to strong noise.
  3. 根据权利要求1或2任一项所述的方法,其特征在于,所述对所述有效信号区域中的心率信号进行检测,包括:The method according to any one of claims 1 or 2, wherein the detecting the heart rate signal in the effective signal area includes:
    对所述有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值;Perform an average filtering on the heart rate signal in the effective signal area to calculate the gradient value of each signal point;
    对所述有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果;Performing non-local mean noise reduction on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result;
    根据所述每一信号点的梯度值修正所述非局部均值预滤波结果;Modify the non-local mean pre-filtering result according to the gradient value of each signal point;
    对修正后的非局部均值预滤波结果进行检测。The pre-filtered results of the corrected non-local mean are detected.
  4. 根据权利要求3所述的方法,其特征在于,所述对所述有效信号区域中 的心率信号进行非局部均值降噪,得到非局部均值预滤波结果,包括:The method according to claim 3, wherein performing non-local mean noise reduction on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result includes:
    计算所述有效信号区域中的心率信号的所述第i个信号点的衰减系数;Calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area;
    根据所述第i个信号点的衰减系数进行非局部均值降噪,得到所述非局部均值预滤波结果的第i个信号点,Performing non-local mean noise reduction according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result,
    其中,所述第i个信号点的衰减系数根据以下公式进行计算:The attenuation coefficient of the i-th signal point is calculated according to the following formula:
    Figure PCTCN2019091102-appb-100001
    Figure PCTCN2019091102-appb-100001
    其中,h i是所述第i个信号点的衰减系数,h 0是固定衰减系数,g i是所述第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。 Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset Gradient threshold.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述第i个信号点的衰减系数进行非局部均值降噪,得到所述非局部均值预滤波结果的第i个信号点,包括:The method according to claim 4, wherein the performing the non-local mean noise reduction according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result includes: :
    根据公式
    Figure PCTCN2019091102-appb-100002
    计算信号块与相似窗权重,其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
    Figure PCTCN2019091102-appb-100003
    表示L2范数,h i表示第i个信号点的衰减系数;
    According to the formula
    Figure PCTCN2019091102-appb-100002
    Calculate the signal block and similar window weights, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
    Figure PCTCN2019091102-appb-100003
    Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point;
    根据公式M i=∑ j∈Ωω(i,j)·O j计算所述非局部均值预滤波结果的第i个信号点,M i表示所述非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示所述有效信号区域中的心率信号的第j个信号点。 Calculate the i-th signal point of the non-local mean pre-filtering result according to the formula M i =∑ j∈Ω ω(i,j)·O j , M i represents the i-th signal of the non-local mean pre-filtering result Point, Ω represents the search window, ω(i,j) represents the weight of the i-th signal block and the j-th similar window, and O j represents the j-th signal point of the heart rate signal in the effective signal area.
  6. 一种心率检测装置,其特征在于,所述装置包括:A heart rate detection device, characterized in that the device comprises:
    测量单元,用于通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;The measuring unit is used to measure the heart rate of the user to be detected through the sensor built in the terminal to obtain the signal to be detected;
    设置单元,用于设置预设时长的滑窗;Setting unit, used to set the sliding window of preset duration;
    分割单元,用于根据滑窗和预设步长对所述待检测信号进行分割,得到N个片段,N为大于1的自然数;A segmentation unit, configured to segment the signal to be detected according to a sliding window and a preset step size to obtain N segments, where N is a natural number greater than 1;
    判断单元,用于判断所述N个片段中每个片段内的信号是否属于强噪声;The judging unit is used to judge whether the signal in each of the N segments belongs to strong noise;
    确定单元,用于如果第i个片段内的信号属于强噪声,则确定所述第i个片段为目标片段,i为自然数,i依次取1至N;A determining unit, configured to determine that the i-th segment is a target segment, i is a natural number if the signal in the i-th segment belongs to strong noise, and i is sequentially taken from 1 to N;
    合并单元,用于将所有目标片段进行合并,得到强噪声区域;The merging unit is used to merge all target fragments to obtain strong noise regions;
    删除单元,用于将所述待检测信号中的强噪声区域进行删除,得到有效信号区域;A deleting unit, configured to delete a strong noise area in the signal to be detected to obtain an effective signal area;
    检测单元,用于对所述有效信号区域中的心率信号进行检测。The detection unit is configured to detect the heart rate signal in the effective signal area.
  7. 根据权利要求6所述的装置,其特征在于,所述判断单元包括:The apparatus according to claim 6, wherein the judgment unit comprises:
    判断子单元,用于判断所述第i个片段内的信号振幅的方差是否大于预设方差阈值;A judgment subunit, used to judge whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold;
    确定子单元,用于如果所述第i个片段内的信号振幅的方差大于所述预设方差阈值,则确定所述第i个片段内的信号属于强噪声。A determining subunit, configured to determine that the signal in the i-th segment belongs to strong noise if the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold.
  8. 根据权利要求6或7任一项所述的装置,其特征在于,所述检测单元包括:The device according to any one of claims 6 or 7, wherein the detection unit comprises:
    滤波子单元,用于对所述有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值;The filtering subunit is used to perform average filtering on the heart rate signal in the effective signal area and calculate the gradient value of each signal point;
    降噪子单元,用于对所述有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果;A noise reduction subunit, configured to perform non-local mean noise reduction on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result;
    修正子单元,用于根据所述每一信号点的梯度值修正所述非局部均值预滤波结果;A correction subunit, configured to correct the non-local mean pre-filtering result according to the gradient value of each signal point;
    检测子单元,用于对修正后的非局部均值预滤波结果进行检测。The detection subunit is used for detecting the corrected non-local mean pre-filtering result.
  9. 根据权利要求8所述的装置,其特征在于,所述降噪子单元包括:The apparatus according to claim 8, wherein the noise reduction subunit comprises:
    计算模块,用于计算所述有效信号区域中的心率信号的所述第i个信号点的 衰减系数;A calculation module, configured to calculate the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area;
    降噪模块,用于根据所述第i个信号点的衰减系数进行非局部均值降噪,得到所述非局部均值预滤波结果的第i个信号点,其中,所述第i个信号点的衰减系数根据以下公式进行计算:
    Figure PCTCN2019091102-appb-100004
    其中,h i是所述第i个信号点的衰减系数,h 0是固定衰减系数,g i是所述第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。
    A noise reduction module, configured to perform non-local mean noise reduction according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result, wherein, the i-th signal point The attenuation coefficient is calculated according to the following formula:
    Figure PCTCN2019091102-appb-100004
    Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset Gradient threshold.
  10. 根据权利要求9所述的装置,其特征在于,所述降噪模块包括:The device according to claim 9, wherein the noise reduction module comprises:
    第一计算子模块,用于根据公式
    Figure PCTCN2019091102-appb-100005
    计算信号块与相似窗权重,其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
    Figure PCTCN2019091102-appb-100006
    表示L2范数,h i表示第i个信号点的衰减系数;
    The first calculation submodule is used according to the formula
    Figure PCTCN2019091102-appb-100005
    Calculate the weights of the signal block and the similar window, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
    Figure PCTCN2019091102-appb-100006
    Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point;
    第二计算子模块,用于根据公式M i=∑ j∈Ωω(i,j)·O j计算所述非局部均值预滤波结果的第i个信号点,M i表示所述非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示所述有效信号区域中的心率信号的第j个信号点。 The second calculation submodule is used to calculate the i-th signal point of the non-local mean pre-filtering result according to the formula M i =∑ j∈Ω ω(i,j)·O j , and M i represents the non-local mean The i-th signal point of the pre-filtering result, Ω represents the search window, ω(i,j) represents the weight of the i-th signal block and the j-th similar window, and O j represents the j-th of the heart rate signal in the effective signal region Signal points.
  11. 一种计算机设备,包括存储器和处理器,所述存储器用于存储包括程序指令的信息,所述处理器用于控制所述程序指令的执行,其特征在于,所述程序指令被所述处理器加载并执行时实现以下步骤:A computer device includes a memory and a processor, the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, characterized in that the program instructions are loaded by the processor And implement the following steps when executing:
    通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;Measure the heart rate of the user to be detected through the sensor built in the terminal to obtain the signal to be detected;
    设置预设时长的滑窗;Set a sliding window of preset duration;
    根据滑窗和预设步长对所述待检测信号进行分割,得到N个片段,N为大于1的自然数;Divide the signal to be detected according to the sliding window and the preset step size to obtain N segments, where N is a natural number greater than 1;
    判断所述N个片段中每个片段内的信号是否属于强噪声;Determine whether the signal in each of the N segments belongs to strong noise;
    如果第i个片段内的信号属于强噪声,则确定所述第i个片段为目标片段,i为自然数,i依次取1至N;If the signal in the i-th segment belongs to strong noise, it is determined that the i-th segment is the target segment, i is a natural number, and i takes 1 to N in sequence;
    将所有目标片段进行合并,得到强噪声区域;Combine all target fragments to get strong noise area;
    将所述待检测信号中的强噪声区域进行删除,得到有效信号区域;Delete the strong noise area in the signal to be detected to obtain an effective signal area;
    对所述有效信号区域中的心率信号进行检测。Detecting the heart rate signal in the effective signal area.
  12. 根据权利要求11所述的计算机设备,其特征在于,所述程序指令被所述处理器加载并执行时还实现以下步骤:The computer device according to claim 11, wherein when the program instructions are loaded and executed by the processor, the following steps are further implemented:
    判断所述第i个片段内的信号振幅的方差是否大于预设方差阈值;Determine whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold;
    如果所述第i个片段内的信号振幅的方差大于所述预设方差阈值,则确定所述第i个片段内的信号属于强噪声。If the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold, it is determined that the signal in the i-th segment belongs to strong noise.
  13. 根据权利要求11或12所述的计算机设备,其特征在于,所述程序指令被所述处理器加载并执行时还实现以下步骤:The computer device according to claim 11 or 12, wherein when the program instructions are loaded and executed by the processor, the following steps are further implemented:
    对所述有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值;Perform an average filtering on the heart rate signal in the effective signal area to calculate the gradient value of each signal point;
    对所述有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果;Performing non-local mean noise reduction on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result;
    根据所述每一信号点的梯度值修正所述非局部均值预滤波结果;Modify the non-local mean pre-filtering result according to the gradient value of each signal point;
    对修正后的非局部均值预滤波结果进行检测。The pre-filtered results of the corrected non-local mean are detected.
  14. 根据权利要求13所述的计算机设备,其特征在于,所述程序指令被所述处理器加载并执行时还实现以下步骤:The computer device according to claim 13, wherein when the program instructions are loaded and executed by the processor, the following steps are further implemented:
    计算所述有效信号区域中的心率信号的所述第i个信号点的衰减系数;Calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area;
    根据所述第i个信号点的衰减系数进行非局部均值降噪,得到所述非局部均值预滤波结果的第i个信号点,Performing non-local mean noise reduction according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result,
    其中,所述第i个信号点的衰减系数根据以下公式进行计算:The attenuation coefficient of the i-th signal point is calculated according to the following formula:
    Figure PCTCN2019091102-appb-100007
    Figure PCTCN2019091102-appb-100007
    其中,h i是所述第i个信号点的衰减系数,h 0是固定衰减系数,g i是所述第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。 Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset Gradient threshold.
  15. 根据权利要求14所述的计算机设备,其特征在于,所述程序指令被所述处理器加载并执行时还实现以下步骤:The computer device according to claim 14, wherein when the program instructions are loaded and executed by the processor, the following steps are further implemented:
    根据公式
    Figure PCTCN2019091102-appb-100008
    计算信号块与相似窗权重,其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
    Figure PCTCN2019091102-appb-100009
    表示L2范数,h i表示第i个信号点的衰减系数;
    According to the formula
    Figure PCTCN2019091102-appb-100008
    Calculate the signal block and similar window weights, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
    Figure PCTCN2019091102-appb-100009
    Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point;
    根据公式M i=∑ j∈Ωω(i,j)·O j计算所述非局部均值预滤波结果的第i个信号点,M i表示所述非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示所述有效信号区域中的心率信号的第j个信号点。 Calculate the i-th signal point of the non-local mean pre-filtering result according to the formula M i =∑ j∈Ω ω(i,j)·O j , M i represents the i-th signal of the non-local mean pre-filtering result Point, Ω represents the search window, ω(i,j) represents the weight of the i-th signal block and the j-th similar window, and O j represents the j-th signal point of the heart rate signal in the effective signal area.
  16. 一种计算机非易失性可读存储介质,其特征在于,所述计算机非易失性可读存储介质包括存储的程序,其中,在所述程序运行时控制所述计算机非易失性可读存储介质所在设备执行以下步骤:A computer nonvolatile readable storage medium, characterized in that the computer nonvolatile readable storage medium includes a stored program, wherein the computer nonvolatile readable storage is controlled when the program is running The device where the storage medium is located performs the following steps:
    通过终端内置的传感器对待检测用户的心率进行测量,得到待检测信号;Measure the heart rate of the user to be detected through the sensor built in the terminal to obtain the signal to be detected;
    设置预设时长的滑窗;Set a sliding window of preset duration;
    根据滑窗和预设步长对所述待检测信号进行分割,得到N个片段,N为大于1的自然数;Divide the signal to be detected according to the sliding window and the preset step size to obtain N segments, where N is a natural number greater than 1;
    判断所述N个片段中每个片段内的信号是否属于强噪声;Determine whether the signal in each of the N segments belongs to strong noise;
    如果第i个片段内的信号属于强噪声,则确定所述第i个片段为目标片段,i 为自然数,i依次取1至N;If the signal in the i-th segment belongs to strong noise, it is determined that the i-th segment is the target segment, i is a natural number, and i takes 1 to N in sequence;
    将所有目标片段进行合并,得到强噪声区域;Combine all target fragments to get strong noise area;
    将所述待检测信号中的强噪声区域进行删除,得到有效信号区域;Delete the strong noise area in the signal to be detected to obtain an effective signal area;
    对所述有效信号区域中的心率信号进行检测。Detecting the heart rate signal in the effective signal area.
  17. 根据权利要求16所述的计算机非易失性可读存储介质,其特征在于,在所述程序运行时控制所述计算机非易失性可读存储介质所在设备还执行以下步骤:The computer non-volatile readable storage medium according to claim 16, wherein the device where the computer non-volatile readable storage medium is located while the program is running further executes the following steps:
    判断所述第i个片段内的信号振幅的方差是否大于预设方差阈值;Determine whether the variance of the signal amplitude in the i-th segment is greater than a preset variance threshold;
    如果所述第i个片段内的信号振幅的方差大于所述预设方差阈值,则确定所述第i个片段内的信号属于强噪声。If the variance of the signal amplitude in the i-th segment is greater than the preset variance threshold, it is determined that the signal in the i-th segment belongs to strong noise.
  18. 根据权利要求16或17所述的计算机非易失性可读存储介质,其特征在于,在所述程序运行时控制所述计算机非易失性可读存储介质所在设备还执行以下步骤:The computer non-volatile readable storage medium according to claim 16 or 17, wherein the device where the computer non-volatile readable storage medium is located while the program is running further executes the following steps:
    对所述有效信号区域中的心率信号进行均值滤波,计算每一信号点的梯度值;Perform an average filtering on the heart rate signal in the effective signal area to calculate the gradient value of each signal point;
    对所述有效信号区域中的心率信号进行非局部均值降噪,得到非局部均值预滤波结果;Performing non-local mean noise reduction on the heart rate signal in the effective signal area to obtain a non-local mean pre-filtering result;
    根据所述每一信号点的梯度值修正所述非局部均值预滤波结果;Modify the non-local mean pre-filtering result according to the gradient value of each signal point;
    对修正后的非局部均值预滤波结果进行检测。The pre-filtered results of the corrected non-local mean are detected.
  19. 根据权利要求18所述的计算机非易失性可读存储介质,其特征在于,在所述程序运行时控制所述计算机非易失性可读存储介质所在设备还执行以下步骤:The computer non-volatile readable storage medium according to claim 18, wherein the device where the computer non-volatile readable storage medium is located while the program is running further executes the following steps:
    计算所述有效信号区域中的心率信号的所述第i个信号点的衰减系数;Calculating the attenuation coefficient of the i-th signal point of the heart rate signal in the effective signal area;
    根据所述第i个信号点的衰减系数进行非局部均值降噪,得到所述非局部均值预滤波结果的第i个信号点,Performing non-local mean noise reduction according to the attenuation coefficient of the i-th signal point to obtain the i-th signal point of the non-local mean pre-filtering result,
    其中,所述第i个信号点的衰减系数根据以下公式进行计算:The attenuation coefficient of the i-th signal point is calculated according to the following formula:
    Figure PCTCN2019091102-appb-100010
    Figure PCTCN2019091102-appb-100010
    其中,h i是所述第i个信号点的衰减系数,h 0是固定衰减系数,g i是所述第i个信号点的梯度值,g max是预设最大梯度值,T是预设梯度阈值。 Where h i is the attenuation coefficient of the i-th signal point, h 0 is a fixed attenuation coefficient, g i is the gradient value of the i-th signal point, g max is the preset maximum gradient value, and T is the preset Gradient threshold.
  20. 根据权利要求19所述的计算机非易失性可读存储介质,其特征在于,在所述程序运行时控制所述计算机非易失性可读存储介质所在设备还执行以下步骤:The computer non-volatile readable storage medium according to claim 19, wherein, when the program is running, controlling the device where the computer non-volatile readable storage medium is located further performs the following steps:
    根据公式
    Figure PCTCN2019091102-appb-100011
    计算信号块与相似窗权重,其中,ω(i,j)表示第i个信号块与第j个相似窗权重,C i表示归一化参数,G表示高斯核函数,*表示卷积运算,O(N i)表示第i个信号块,O(N j)表示第j个相似窗,
    Figure PCTCN2019091102-appb-100012
    表示L2范数,h i表示第i个信号点的衰减系数;
    According to the formula
    Figure PCTCN2019091102-appb-100011
    Calculate the signal block and similar window weights, where ω(i,j) represents the weight of the i-th signal block and the jth similar window, C i represents the normalization parameter, G represents the Gaussian kernel function, and * represents the convolution operation, O(N i ) represents the i-th signal block, O(N j ) represents the j-th similar window,
    Figure PCTCN2019091102-appb-100012
    Denotes the L2 norm, h i denotes the attenuation coefficient of the i-th signal point;
    根据公式M i=∑ j∈Ωω(i,j)·O j计算所述非局部均值预滤波结果的第i个信号点,M i表示所述非局部均值预滤波结果的第i个信号点,Ω表示搜索窗,ω(i,j)表示第i个信号块与第j个相似窗权重,O j表示所述有效信号区域中的心率信号的第j个信号点。 Calculate the i-th signal point of the non-local mean pre-filtering result according to the formula M i =∑ j∈Ω ω(i,j)·O j , M i represents the i-th signal of the non-local mean pre-filtering result Point, Ω represents the search window, ω(i,j) represents the weight of the i-th signal block and the j-th similar window, and O j represents the j-th signal point of the heart rate signal in the effective signal area.
PCT/CN2019/091102 2019-01-09 2019-06-13 Heart rate detection method and device WO2020143161A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910020063.6 2019-01-09
CN201910020063.6A CN109758140A (en) 2019-01-09 2019-01-09 A kind of heart rate detection method and device

Publications (1)

Publication Number Publication Date
WO2020143161A1 true WO2020143161A1 (en) 2020-07-16

Family

ID=66453505

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/091102 WO2020143161A1 (en) 2019-01-09 2019-06-13 Heart rate detection method and device

Country Status (2)

Country Link
CN (1) CN109758140A (en)
WO (1) WO2020143161A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109758140A (en) * 2019-01-09 2019-05-17 平安科技(深圳)有限公司 A kind of heart rate detection method and device
WO2020232669A1 (en) * 2019-05-22 2020-11-26 深圳市大疆创新科技有限公司 Hitting detection method and device, movable platform, and computer readable storage medium
CN113116357A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Data acquisition method, terminal equipment and storage medium
CN113288049A (en) * 2020-02-24 2021-08-24 华为技术有限公司 Data acquisition method, terminal equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1297784A1 (en) * 2001-09-28 2003-04-02 C.S.E.M. Centre Suisse D'electronique Et De Microtechnique Sa Method and device for pulse rate detection
JP2004305268A (en) * 2003-04-02 2004-11-04 Colin Medical Technology Corp Cardiac sound detector
US20040267147A1 (en) * 2001-01-25 2004-12-30 Sullivan Colin Edward Determining heart rate
CN104706350A (en) * 2014-11-13 2015-06-17 华中科技大学 Electrocardio-signal noise reduction method
US20150250397A1 (en) * 2010-07-28 2015-09-10 Impact Sports Technologies, Inc. Montoring Device With An Accelerometer, Method And System
CN105636510A (en) * 2014-07-18 2016-06-01 卫保数码有限公司 Device and method adapted for monitoring arterial blood in a body part
CN105943015A (en) * 2016-06-04 2016-09-21 浙江大学 Wearable heart rate variability (HRV) monitoring device with active noise reduction function
CN106618542A (en) * 2015-10-28 2017-05-10 中国科学院上海高等研究院 Denoising heart rate detecting device and method
CN107569226A (en) * 2017-09-27 2018-01-12 广州中科新知科技有限公司 HRV method and application is obtained based on piezoelectric sensing
CN108921800A (en) * 2018-06-26 2018-11-30 成都信息工程大学 Non-local mean denoising method based on form adaptive search window
CN109758140A (en) * 2019-01-09 2019-05-17 平安科技(深圳)有限公司 A kind of heart rate detection method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100008239A (en) * 2008-07-15 2010-01-25 (주)에스엔티 Eliminating method of motion artifact from ppg signal
CN105796096B (en) * 2014-12-31 2019-11-05 深圳先进技术研究院 A kind of heart rate variance analyzing method, system and terminal
CN108158578A (en) * 2017-12-14 2018-06-15 北京顺源开华科技有限公司 Noise segments recognition methods, ECG signal processing method and processing device
CN109157200B (en) * 2018-10-31 2021-03-23 安徽华米信息科技有限公司 Noise detection method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040267147A1 (en) * 2001-01-25 2004-12-30 Sullivan Colin Edward Determining heart rate
EP1297784A1 (en) * 2001-09-28 2003-04-02 C.S.E.M. Centre Suisse D'electronique Et De Microtechnique Sa Method and device for pulse rate detection
JP2004305268A (en) * 2003-04-02 2004-11-04 Colin Medical Technology Corp Cardiac sound detector
US20150250397A1 (en) * 2010-07-28 2015-09-10 Impact Sports Technologies, Inc. Montoring Device With An Accelerometer, Method And System
CN105636510A (en) * 2014-07-18 2016-06-01 卫保数码有限公司 Device and method adapted for monitoring arterial blood in a body part
CN104706350A (en) * 2014-11-13 2015-06-17 华中科技大学 Electrocardio-signal noise reduction method
CN106618542A (en) * 2015-10-28 2017-05-10 中国科学院上海高等研究院 Denoising heart rate detecting device and method
CN105943015A (en) * 2016-06-04 2016-09-21 浙江大学 Wearable heart rate variability (HRV) monitoring device with active noise reduction function
CN107569226A (en) * 2017-09-27 2018-01-12 广州中科新知科技有限公司 HRV method and application is obtained based on piezoelectric sensing
CN108921800A (en) * 2018-06-26 2018-11-30 成都信息工程大学 Non-local mean denoising method based on form adaptive search window
CN109758140A (en) * 2019-01-09 2019-05-17 平安科技(深圳)有限公司 A kind of heart rate detection method and device

Also Published As

Publication number Publication date
CN109758140A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
WO2020143161A1 (en) Heart rate detection method and device
US10111616B2 (en) Apparatus, method and computer accessible medium for monitoring sleep quality and apparatus thereof
Yan et al. The moment segmentation analysis of heart sound pattern
CN102499694B (en) Method for eliminating interference to blood oxygen saturation monitoring
US20180078156A1 (en) Blood Pressure Measurement Data Processing Method and Apparatus
US10973423B2 (en) Determining health markers using portable devices
WO2021253709A1 (en) Electrocardiogram heartbeat classification method and apparatus, and electronic device and medium
Xu et al. Edge detection algorithm of medical image based on Canny operator
CN111429451A (en) Medical ultrasonic image segmentation method and device
CN114176521B (en) Sleep staging method and device based on radar information and terminal
TW201505606A (en) Electrocardiography signal extraction method
WO2020114448A1 (en) Photoplethysmography signal feature point detecting method and device
WO2019148670A1 (en) Power control method and system and wearable device
Jin-qing et al. Adaptive medical image segmentation algorithm combined with DRLSE model
CN110179436A (en) A kind of sound of snoring sampling method and terminal device
Wu et al. Implementation of ECG signal processing algorithms for removing baseline wander and electromyography interference
CN110286746B (en) Method of adjusting band of wearable electronic device, and medium
WO2020119151A1 (en) Health evaluation method, health evaluation device, and computer readable storage medium
CN116130090A (en) Ejection fraction measuring method and device, electronic device, and storage medium
WO2022205842A1 (en) Robot, and method and apparatus for suppressing shaking of torso thereof
WO2022095796A1 (en) Physiological characteristic signal processing method, electronic device, chip, and readable storage medium
WO2021058007A1 (en) Time series data processing method and apparatus, and computer readable storage medium
CN114240190A (en) Method and device for extracting features of cultivation area, computer equipment and storage medium
CN113892913A (en) Prompt message generation method and device, electronic equipment and storage medium
CN115281641A (en) Heart rate extraction method and device, electronic equipment, piezoelectric sensor and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19908223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 17.11.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19908223

Country of ref document: EP

Kind code of ref document: A1