ECG signal monitoring method, device, equipment and storage medium
By using a three-axis accelerometer and pressure sensor in the ECG signal monitoring equipment, the stability and contact status of the equipment are determined, and the problem of ECG signal monitoring equipment is solved, and more accurate ECG signal monitoring and health status evaluation are achieved.
Patent Information
- Application Number
- CN202310267419.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2043-03-17
AI Technical Summary
The electrical signal monitoring equipment of the prior art center is susceptible to interference, resulting in a decrease in signal monitoring quality and affecting the accuracy of health status monitoring.
A three-axis accelerometer and multiple pressure sensors are used to determine the stable state and contact state of the device, obtain the electrocardiogram signal and judge the user's health status, reducing interference from external factors.
It improves the monitoring quality of ECG signals, improves the testing accuracy, and ensures accurate monitoring of user health status.
Smart Images

Figure CN116211312B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to an electrocardiogram signal monitoring method, device, equipment and storage medium. Background Art
[0002] ECG (electrocardiogram) signals can reflect a user's health status, and an increasing number of portable devices are equipped with ECG measurement capabilities. ECG is a weak signal that is easily susceptible to interference. Various subtle factors can alter the ECG signal, affecting the accuracy of subsequent health monitoring algorithms and, consequently, the accuracy of user health status monitoring. Improving the quality of ECG signal acquisition to ensure accurate information about the user's health status is a pressing issue. Summary of the Invention
[0003] The main purpose of the present invention is to provide an electrocardiogram (ECG) signal monitoring method, apparatus, device, and storage medium, aiming to solve the technical problem of how to improve the quality of signal monitoring in the prior art to ensure accurate acquisition of the user's health status.
[0004] To achieve the above objectives, the present invention provides an ECG signal monitoring method, which is applied to an ECG signal monitoring device, wherein the ECG signal monitoring device includes a triaxial accelerometer and multiple pressure sensors, and the ECG signal monitoring method includes:
[0005] When performing electrocardiogram signal monitoring, obtaining the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor;
[0006] determining a current stable state based on the three-axis acceleration data, and determining a current contact state based on each pressure sensing data;
[0007] An electrocardiogram signal of the user is obtained according to the current stable state and the current contact state, and a health status of the user is obtained according to the electrocardiogram signal.
[0008] Optionally, determining the current stable state according to the three-axis acceleration data includes:
[0009] Determining a plurality of reference three-axis accelerations within a first preset time period according to the three-axis acceleration data;
[0010] Perform acceleration calculation on each reference three-axis acceleration to determine multiple resultant accelerations;
[0011] Calculating the average of the combined accelerations to determine the average acceleration within the first preset time period;
[0012] The mean acceleration is compared with a preset acceleration range, and a current stable state is determined according to the comparison result.
[0013] Optionally, determining the current contact state according to data from each pressure sensor includes:
[0014] Acquiring reference pressure data of each pressure sensor within a second preset time period from the pressure sensor data;
[0015] dividing the reference pressure data of each pressure sensor according to a third preset time period to obtain a plurality of divided pressure data and division time information of each divided pressure data;
[0016] Performing division mean calculation on each division pressure data to obtain multiple mean pressure sensing values;
[0017] Perform difference calculation based on each mean pressure sensor value and each divided time information to obtain multiple pressure data difference values;
[0018] The pressure data difference is compared with the preset pressure range, and the current contact state is determined based on the comparison result.
[0019] Optionally, obtaining an electrocardiogram signal of the user according to the current stable state and the current contact state, and obtaining the health status of the user according to the electrocardiogram signal includes:
[0020] detecting whether the current stable state is a preset static state, and detecting whether the current contact state is a preset contact state;
[0021] When the current stable state is the preset static state and the current contact state is the preset contact state, determining to collect the user's electrocardiogram signal;
[0022] The user's health status is obtained according to the electrocardiogram signal.
[0023] Optionally, obtaining an electrocardiogram signal of the user according to the current stable state and the current contact state, and obtaining the health status of the user according to the electrocardiogram signal includes:
[0024] detecting whether the current stable state is a preset static state, and detecting whether the current contact state is a preset contact state;
[0025] When the current stable state is not the preset static state, obtaining a shaking state time of the current stable state;
[0026] When the current contact state is not the preset contact state, obtaining the disconnected contact state time of the current contact state;
[0027] Obtaining the user's electrocardiogram signal according to the shaking state time and the disconnected state time;
[0028] The user's health status is obtained according to the electrocardiogram signal.
[0029] Optionally, obtaining the user's electrocardiogram signal according to the shaking state time and the disconnected state time includes:
[0030] Obtain the user's initial acquisition signal and preset state time period;
[0031] Adding time to the shaking state time according to the preset state time period to obtain a target shaking time;
[0032] Adding time to the disconnection state time according to the preset state time period to obtain a target disconnection time;
[0033] The initial collected signal is labeled according to the target shaking time and the target disconnection time to obtain the user's electrocardiogram signal.
[0034] Optionally, after detecting whether the current stable state is a preset static state and detecting whether the current contact state is a preset contact state, the method further includes:
[0035] When the current stable state is not the preset static state, generating a shaking reminder instruction according to the current stable state to perform a shaking reminder;
[0036] When the current contact state is not the preset contact state, determining the part to be reminded according to the current contact state;
[0037] A contact reminder instruction is generated according to the current contact state and the part to be reminded to perform the contact reminder.
[0038] In addition, to achieve the above-mentioned purpose, the present invention further provides an electrocardiogram signal monitoring device, the electrocardiogram signal monitoring device comprising:
[0039] An acquisition module is used to acquire the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor when performing electrocardiogram signal monitoring;
[0040] a processing module, configured to determine a current stable state based on the three-axis acceleration data, and a current contact state based on the pressure sensing data;
[0041] The processing module is further configured to obtain an electrocardiogram signal of the user according to the current stable state and the current contact state, and obtain a health status of the user according to the electrocardiogram signal.
[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes an ECG signal monitoring device, which includes: a memory, a processor, and an ECG signal monitoring program stored in the memory and runnable on the processor, and the ECG signal monitoring program is configured to implement the ECG signal monitoring method described above.
[0043] In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which an ECG signal monitoring program is stored. When the ECG signal monitoring program is executed by a processor, the ECG signal monitoring method described above is implemented.
[0044] The electrocardiogram signal monitoring method of the present invention is applied to an electrocardiogram signal monitoring device, wherein the electrocardiogram signal monitoring device includes a three-axis accelerometer and a plurality of pressure sensors. The electrocardiogram signal monitoring method includes: when performing electrocardiogram signal monitoring, obtaining the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor; determining the current stable state according to the three-axis acceleration data, and determining the current contact state according to each pressure sensing data; obtaining the user's electrocardiogram signal according to the current stable state and the current contact state, and obtaining the user's health state according to the electrocardiogram signal. Through the above-mentioned method, the current stable state is determined according to the collected three-axis acceleration, the current contact state is determined according to the collected pressure sensing data, and the user's electrocardiogram signal is obtained according to the current stable state and the current contact state, thereby reducing the interference of external factors on the electrocardiogram signal, improving the monitoring quality of the electrocardiogram signal, ensuring the test accuracy of the electrocardiogram signal, and ensuring that the accurate health state of the user can be obtained subsequently. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 Schematic diagram of the structure of an electrocardiogram signal monitoring device in a hardware operating environment according to an embodiment of the present invention;
[0046] Figure 2 This is a flow chart of a first embodiment of the electrocardiogram signal monitoring method of the present invention;
[0047] Figure 3 This is a flow chart of a second embodiment of the electrocardiogram signal monitoring method of the present invention;
[0048] Figure 4 A schematic diagram of a stable state determination process according to an embodiment of an electrocardiogram signal monitoring method of the present invention;
[0049] Figure 5 A schematic diagram of a contact state determination process according to an embodiment of an electrocardiogram signal monitoring method of the present invention;
[0050] Figure 6 This is a structural block diagram of the first embodiment of the electrocardiogram signal monitoring device of the present invention.
[0051] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0053] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of an electrocardiogram signal monitoring device in the hardware operating environment involved in an embodiment of the present invention.
[0054] like Figure 1 As shown, the ECG signal monitoring device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also be a storage device independent of the processor 1001.
[0055] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electrocardiogram signal monitoring device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0056] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module and an electrocardiogram signal monitoring program.
[0057] exist Figure 1In the ECG signal monitoring device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the ECG signal monitoring device of the present invention can be set in the ECG signal monitoring device, and the ECG signal monitoring device calls the ECG signal monitoring program stored in the memory 1005 through the processor 1001, and executes the ECG signal monitoring method provided by the embodiment of the present invention.
[0058] The embodiment of the present invention provides a method for monitoring an electrocardiogram signal. Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of an electrocardiogram signal monitoring method according to the present invention.
[0059] The electrocardiogram signal monitoring method is applied to an electrocardiogram signal monitoring device, the electrocardiogram signal monitoring device including a three-axis accelerometer and multiple pressure sensors, and the electrocardiogram signal monitoring method includes the following steps:
[0060] Step S10: When performing ECG signal monitoring, the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor are obtained.
[0061] It should be noted that the execution entity of this embodiment is the central processing unit of the electrocardiogram (ECG) signal monitoring device, which is a three-electrode finger health monitoring device. The ECG signal monitoring device includes a main monitoring device, multiple monitoring electrodes, a three-axis accelerometer, and multiple pressure sensors. The central processing unit is located within the main monitoring device, and the three-axis accelerometer is located within the main monitoring device. A pressure sensor is provided under each monitoring electrode. During ECG signal monitoring, the central processing unit obtains three-axis acceleration data collected by the three-axis accelerometer and pressure sensing data collected by each pressure sensor. The central processing unit determines the current stable state based on the three-axis acceleration data, and determines the current contact state based on the pressure sensing data. Based on the ECG signal of the user in the current stable state and the current contact state, the user's health status is obtained based on the ECG signal.
[0062] It is understood that upon receiving an instruction to monitor the user's ECG signal, the device acquires triaxial acceleration data from the triaxial accelerometer and pressure sensing data from each pressure sensor. The triaxial acceleration data can reflect whether the ECG signal monitoring device is in a stationary state, and the pressure sensing data can reflect whether each monitoring electrode of the ECG signal monitoring device is in good contact with each finger of the user.
[0063] Step S20: determining a current stable state according to the three-axis acceleration data, and determining a current contact state according to each pressure sensing data.
[0064] It should be noted that the current stable state includes a stationary state and a shaking state. If the ECG signal monitoring device itself is detected to be shaking, the current stable state is the shaking state. If the ECG signal monitoring device itself is detected to be stationary without shaking, the current stable state is the stationary state. After obtaining the three-axis acceleration data collected by the three-axis accelerometer, the current stable state of the ECG signal monitoring device can be determined based on the three-axis acceleration data.
[0065] It is understandable that the current contact state includes a good contact state and a poor contact (broken contact) state. When it is detected that the monitoring electrodes on the ECG signal monitoring device are in poor contact with the user's fingers, it is indicated that the current contact state is a poor contact state. When it is detected that the monitoring electrodes on the ECG signal monitoring device are in good contact with the user's fingers, it is indicated that the current contact state is a good contact state. After obtaining the pressure sensing data collected by each pressure sensor data, it can be determined whether each monitoring electrode on the ECG signal monitoring device is in good contact with each of the user's fingers, thereby obtaining the current contact state of each monitoring electrode on the ECG signal monitoring device.
[0066] Step S30: obtaining the user's electrocardiogram signal according to the current stable state and the current contact state, and obtaining the user's health status according to the electrocardiogram signal.
[0067] It should be noted that after determining the current stable state and the current contact state, the user's electrocardiogram signal can be output according to the current stable state and the current contact state, and the accurate user health status can be obtained using the health monitoring algorithm and the electrocardiogram signal.
[0068] It can be understood that in order to ensure the accuracy of ECG signal acquisition, two ECG signal output methods can be adopted. First, when the current stable state is the preset static state and the current contact state of each monitoring electrode and the user's finger is the preset contact state, ECG signal acquisition is performed and the user's ECG signal is output. Furthermore, the user's ECG signal is obtained according to the current stable state and the current contact state, and the user's health status is obtained according to the ECG signal, including: detecting whether the current stable state is the preset static state, and detecting whether the current contact state is the preset contact state; when the current stable state is the preset static state and the current contact state is the preset contact state, determining to collect the user's ECG signal; and obtaining the user's health status according to the ECG signal.
[0069] In a specific implementation, the preset rest state refers to a state in which the electrocardiogram signal monitoring device is at rest, and the preset contact state refers to a state in which the monitoring electrodes on the electrocardiogram signal monitoring device are in good contact with the user's fingers.
[0070] It should be noted that the central processing unit detects whether the ECG signal monitoring device is currently in a preset static state and whether each monitoring electrode on the ECG signal monitoring device is in good contact with the user's finger. If the current stable state is the preset static state and the current contact between each monitoring electrode and the user's finger is in the preset contact state, ECG signal acquisition is performed and output. The health monitoring algorithm and ECG signal are then used to accurately determine the user's health status.
[0071] It can be understood that when the current stable state is not the preset static state but the current contact state is the preset contact state, or when the current stable state is the preset static state but the current contact state is not the preset contact state, or when the current stable state is not the preset static state and the current contact state is not the preset contact state, the user's ECG signal is not collected.
[0072] In a specific implementation, in order to ensure the accuracy of ECG signal acquisition, secondly, when an instruction to monitor the user's ECG signal is received, the user's initial acquisition signal can be output, and the initial acquisition signal can be time-marked, and the time period of inaccurate signals in the initial acquisition signal can be noted, so as to obtain the marked ECG signal to ensure the accuracy of subsequent health status monitoring. Furthermore, the ECG signal of the user is obtained according to the current stable state and the current contact state, and the health status of the user is obtained according to the ECG signal, including: detecting whether the current stable state is a preset static state, and detecting whether the current contact state is a preset contact state; when the current stable state is not the preset static state, obtaining the shaking state time of the current stable state; when the current contact state is not the preset contact state, obtaining the disconnection state time of the current contact state; obtaining the ECG signal of the user according to the shaking state time and the disconnection state time; and obtaining the health status of the user according to the ECG signal.
[0073] It should be noted that when the central processing unit detects that the current stable state is not the preset static state, it indicates that the ECG signal monitoring device is currently shaking, and the duration of the shaking of the ECG signal monitoring device is obtained. The duration of the shaking of the ECG signal monitoring device can be obtained through the start time of the current stable state (i.e., the shaking state) and the end time of the current stable state (i.e., the shaking state). The duration of the shaking is the shaking state time.
[0074] It can be understood that when the central processing unit detects that the current contact state between a monitoring electrode sheet and the user's finger is not the preset contact state, it indicates that there is poor contact between the monitoring electrode sheet and the user's finger. At this time, the duration of the poor contact between the monitoring electrode sheet and the user's finger is obtained. The duration of the poor contact can be obtained by the start time of the current contact time (i.e., the poor contact state) of the monitoring electrode sheet and the end time of the current contact time (i.e., the poor contact state). The duration of the poor contact is the contact-off state time.
[0075] In a specific implementation, the user's electrocardiogram signal can be output according to the shaking state time and the disconnected state time, and the accurate user health status can be obtained by using the health monitoring algorithm and the electrocardiogram signal.
[0076] It should be noted that in order to output an accurate ECG signal based on the shaking state time and the disconnected contact state time, further, obtaining the user's ECG signal based on the shaking state time and the disconnected contact state time includes: obtaining the user's initial acquisition signal and a preset state time period; increasing the shaking state time according to the preset state time period to obtain a target shaking time; increasing the disconnected contact state time according to the preset state time period to obtain a target disconnected contact time; and marking the initial acquisition signal according to the target shaking time and the target disconnected contact time to obtain the user's ECG signal.
[0077] It is understood that upon receiving an instruction to monitor the user's ECG signal, ECG signal acquisition begins, and the output initial signal is the initial acquisition signal. The preset time period refers to a pre-set length of time. In this embodiment, the preset time period can be 1 second, or it can be set according to user needs.
[0078] In a specific implementation, after determining the shaking state time and the contact-off state time, to ensure signal acquisition accuracy, the shaking state time and the contact-off state time are often expanded by a preset time period. The expanded shaking state time is the target shaking time, and the expanded contact-off state time is the target contact-off time. The initial acquired signal is annotated according to the target shaking time and the target contact-off time to obtain the annotated initial acquired signal, which is the ECG data. For example, the preset time period is 1s, the shaking state time is 08:00:00~08:00:05, then the target shaking time is 07:59:59~08:00:06, the disconnection state time of the monitoring electrode sheet 1 is 08:02:05~08:02:10, then the target disconnection time is 08:02:04~08:02:11, and the initial acquisition signal is marked to indicate that the electrocardiogram signal monitoring device is shaking from 07:59:59~08:00:06, and that the monitoring electrode sheet 1 is in poor contact from 08:02:04~08:02:11.
[0079] It should be noted that in order to improve the quality of signal monitoring from the root, further, after detecting whether the current stable state is the preset static state and detecting whether the current contact state is the preset contact state, it also includes: when the current stable state is not the preset static state, generating a shaking reminder instruction according to the current stable state to perform a shaking reminder; when the current contact state is not the preset contact state, determining the part to be reminded according to the current contact state; generating a contact reminder instruction according to the current contact state and the part to be reminded to perform a contact reminder.
[0080] It can be understood that when the current stable state is not the preset static state, a shaking reminder instruction related to "device shaking" is generated. If the ECG signal monitoring device has a display screen, the shaking reminder instruction is pushed to the display screen for display. If the ECG signal monitoring device does not have a display screen, the shaking reminder instruction is voice broadcast. If the ECG signal monitoring device does not have a display screen and does not have a voice broadcast function, the shaking reminder instruction is sent to the terminal connected to the Bluetooth of the ECG signal monitoring device. In the above way, the user is reminded that the ECG signal monitoring device is not static.
[0081] In a specific implementation, if the current contact state of the monitoring electrode sheet is not the preset contact state, the pressure sensor corresponding to the current contact state determines the finger that is poorly in contact with the monitoring electrode sheet. The finger that is poorly in contact with the monitoring electrode sheet is the part to be reminded. Based on the current contact state and the part to be reminded, a contact reminder instruction related to "Finger X poor contact" is generated, and a contact reminder is issued according to the contact reminder instruction, so that the user can adjust their hand posture in time.
[0082] The ECG signal monitoring method of this embodiment is applied to an ECG signal monitoring device, which includes a three-axis accelerometer and multiple pressure sensors. The ECG signal monitoring method includes: when performing ECG signal monitoring, obtaining three-axis acceleration data collected by the three-axis accelerometer and pressure sensing data collected by each pressure sensor; determining the current stable state based on the three-axis acceleration data, and determining the current contact state based on each pressure sensing data; obtaining the user's ECG signal based on the current stable state and the current contact state, and obtaining the user's health status based on the ECG signal. Through the above method, the current stable state is determined based on the collected three-axis acceleration, the current contact state is determined based on the collected pressure sensing data, and the user's ECG signal is obtained based on the current stable state and the current contact state, which reduces the interference of external factors on the ECG signal, improves the monitoring quality of the ECG signal, ensures the test accuracy of the ECG signal, and ensures that the accurate user health status can be obtained subsequently.
[0083] refer to Figure 3 , Figure 3 FIG. 4 is a flow chart of a second embodiment of an electrocardiogram signal monitoring method according to the present invention.
[0084] Based on the first embodiment described above, step S20 in the electrocardiogram signal monitoring method of this embodiment includes:
[0085] Step S21: determining a plurality of reference three-axis accelerations within a first preset time period according to the three-axis acceleration data.
[0086] It should be noted that the accelerations of the X-axis, Y-axis and Z-axis at each time point in the first preset time period T1 are obtained in the three-axis acceleration data. A reference three-axis acceleration includes the accelerations of the X-axis, Y-axis and Z-axis corresponding to a time point.
[0087] Step S22: performing acceleration calculation on each reference three-axis acceleration to determine a plurality of resultant accelerations.
[0088] It should be noted that the total acceleration of each reference triaxial acceleration is calculated to determine the total acceleration corresponding to each reference triaxial acceleration. ,in is the X-axis acceleration, is the Y-axis acceleration, is the Z-axis acceleration.
[0089] Step S23: Calculate the mean of each combined acceleration to determine the mean acceleration within the first preset time period.
[0090] It should be noted that after determining the combined acceleration corresponding to each reference triaxial acceleration, the average of each combined acceleration within the first preset time period is calculated to determine the average combined acceleration AVG within the first preset time period, which is the mean acceleration.
[0091] Step S24: comparing the mean acceleration with a preset acceleration range, and determining the current stable state according to the comparison result.
[0092] It should be noted that the preset acceleration range is the pre-set stability determination range [Thr1, Thr2]. When the ECG signal monitoring device is stationary, the total acceleration A is the gravitational acceleration of 1g. When the device is not stationary, the total acceleration A also varies. Therefore, the mean acceleration is compared with the preset acceleration range. If the mean acceleration is within the preset acceleration range, the current stable state is stationary. If the mean acceleration is not within the preset acceleration range, the current stable state is shaking.
[0093] It is understandable that if Figure 4 As shown, when an instruction to monitor the user's electrocardiogram signals is received to perform electrocardiogram signal monitoring, the three-axis acceleration data collected by the three-axis accelerometer is obtained, and multiple combined accelerations within the first preset time period are calculated. The average acceleration within the first preset time period T1 is statistically calculated based on the multiple combined accelerations, and it is determined whether the average acceleration is within the range of [Thr1, Thr2]. If so, the current stable state is a stationary state. If not, the current stable state is a shaking state, and a shaking reminder instruction is generated according to the current stable state to remind the user that the device is in a shaking state.
[0094] In a specific implementation, in order to obtain an accurate current contact state based on the pressure sensor data of each pressure sensor, further, the current contact state is determined based on the pressure sensor data, including: obtaining the reference pressure data of each pressure sensor within a second preset time period in the pressure sensor data; dividing the reference pressure data of each pressure sensor according to a third preset time period to obtain a plurality of divided pressure data and division time information of each divided pressure data; performing division mean calculation on each divided pressure data to obtain a plurality of mean pressure sensing values; performing difference calculation based on each mean pressure sensing value and each division time information to obtain a plurality of pressure data difference values; comparing each pressure data difference value with the preset pressure range, and determining the current contact state based on the comparison result.
[0095] It should be noted that since each monitoring electrode sheet is provided with a pressure sensor, the pressure sensor can detect changes in contact force between each finger and the monitoring electrode sheet, and obtain pressure sensor data within the second preset time period T2 from each pressure sensor data. The pressure sensor data within the second preset time period T2 is the reference pressure data. The reference pressure data is divided according to the third preset time period t, and the reference pressure data within the second preset time period T2 is divided into n divided pressure data with time periods of t. The division time information for each divided pressure data is determined, and the division time information includes the division start time and the division end time. For example, the reference pressure data of pressure sensor 1 in the time period T2 is the pressure sensor data in the time period 8:00:00~8:02:00, and t is 30s. Then the divided pressure data obtained are respectively the pressure sensor data of divided pressure data 1 from 8:00:00 to 8:00:30, the pressure sensor data of divided pressure data 2 from 8:00:30 to 8:01:00, the pressure sensor data of divided pressure data 3 from 8:01:00 to 8:01:30, and the pressure sensor data of divided pressure data 4 from 8:01:30 to 8:02:00. The division time information of divided pressure data 1 is: the division start time is 8:00:00 and the division end time is 8:00:30. In this embodiment, the values of T2 and t are only used for illustration and may be other values in specific implementations.
[0096] It can be understood that the pressure mean of each divided pressure data is calculated to obtain the mean pressure sensor value corresponding to each divided pressure data, and the difference between the mean pressure sensor value of the current divided pressure data and the mean pressure sensor value of the divided pressure data in the previous time period is calculated based on the divided time information. The difference between the two is the pressure data difference.
[0097] In the specific implementation, the preset pressure range is the preset contact state judgment range [Thr3, Thr4]. The pressure data difference is compared with the preset pressure range. When the pressure data difference is within the preset pressure range, it indicates that the current contact state is a static state. When the pressure data difference is not within the preset pressure range, it indicates that the current contact state is a shaking state. For example, the average pressure sensing value of the current divided pressure data n (pressure sensor data in the time period of 8:00:30~8:01:00) in pressure sensor 1 is AVG_n, and the average pressure sensing value of the pressure data n-1 (pressure sensor data in the time period of 8:00:00~8:00:30) in the previous time period is AVG_n-1. The difference between AVG_n and AVG_n-1 is calculated to obtain the pressure data difference DIFF. When DIFF is in the interval [Thr3, Thr4], it means that the contact force between the monitoring electrode sheet 1 corresponding to the pressure sensor 1 and the finger 1 has almost no change, that is, the current contact state between the monitoring electrode sheet 1 and the finger 1 is in a good contact state. Otherwise, it means that the current contact state between the monitoring electrode sheet 1 and the finger 1 is in a poor contact state. At this time, the user needs to be reminded to pay attention to the poor contact of the finger 1 and needs to adjust the posture.
[0098] It should be noted that if Figure 5 As shown, when an instruction to monitor the user's electrocardiogram signal is received and the electrocardiogram signal is monitored, pressure sensor data of each pressure sensor is obtained, reference pressure data within the time period T2 is obtained, and the reference pressure data is divided according to the time period t to obtain each divided pressure data. The difference DIFF between the mean of the current divided pressure data and the mean of the divided pressure data of the previous time period is calculated, and it is determined whether the pressure data difference is within the interval [Thr3, Thr4]. If so, the current contact state is a good contact state; if not, the current contact state is a poor contact state. The part to be reminded is determined based on the current contact state, and a contact reminder instruction is generated to remind the user that the part to be reminded (i.e., finger X) needs to adjust its posture.
[0099] In this embodiment, multiple reference three-axis accelerations within a first preset time period are determined based on the three-axis acceleration data; acceleration calculations are performed on each reference three-axis acceleration to determine multiple combined accelerations; the mean of each combined acceleration is calculated to determine the mean acceleration within the first preset time period; the mean acceleration is compared with a preset acceleration range, and the current stable state is determined based on the comparison result. In this way, the current stable state is determined using the comparison result of the mean of each combined acceleration and the preset acceleration range, avoiding errors in subsequent state judgment caused by data jitter and ensuring the accuracy of the state judgment process.
[0100] In addition, refer to Figure 6The embodiment of the present invention further provides an electrocardiogram signal monitoring device, the electrocardiogram signal monitoring device comprising:
[0101] The acquisition module 10 is used to acquire the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor when performing electrocardiogram signal monitoring.
[0102] The processing module 20 is configured to determine a current stable state according to the three-axis acceleration data, and to determine a current contact state according to each pressure sensing data.
[0103] The processing module 20 is further configured to obtain an electrocardiogram signal of the user according to the current stable state and the current contact state, and obtain the health status of the user according to the electrocardiogram signal.
[0104] This embodiment obtains the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor during ECG signal monitoring; determines the current stable state based on the three-axis acceleration data, and determines the current contact state based on each pressure sensing data; obtains the user's ECG signal based on the current stable state and the current contact state, and obtains the user's health status based on the ECG signal. In the above manner, the current stable state is determined based on the collected three-axis acceleration, the current contact state is determined based on the collected pressure sensing data, and the user's ECG signal is obtained based on the current stable state and the current contact state. This reduces the interference of external factors on the ECG signal, improves the monitoring quality of the ECG signal, ensures the test accuracy of the ECG signal, and ensures that the accurate user health status can be obtained subsequently.
[0105] In one embodiment, the processing module 20 is further configured to determine a plurality of reference three-axis accelerations within a first preset time period based on the three-axis acceleration data;
[0106] Perform acceleration calculation on each reference three-axis acceleration to determine multiple resultant accelerations;
[0107] Calculating the average of the combined accelerations to determine the average acceleration within the first preset time period;
[0108] The mean acceleration is compared with a preset acceleration range, and a current stable state is determined according to the comparison result.
[0109] In one embodiment, the processing module 20 is further configured to obtain reference pressure data of each pressure sensor within a second preset time period in the pressure sensor data;
[0110] dividing the reference pressure data of each pressure sensor according to a third preset time period to obtain a plurality of divided pressure data and division time information of each divided pressure data;
[0111] Performing division mean calculation on each division pressure data to obtain multiple mean pressure sensing values;
[0112] Perform difference calculation based on each mean pressure sensor value and each divided time information to obtain multiple pressure data difference values;
[0113] The pressure data difference is compared with the preset pressure range, and the current contact state is determined based on the comparison result.
[0114] In one embodiment, the processing module 20 is further configured to determine the vertical movement direction of the drone according to the sliding direction when the sliding direction is not a preset horizontal direction;
[0115] detecting whether the current stable state is a preset static state, and detecting whether the current contact state is a preset contact state;
[0116] When the current stable state is the preset static state and the current contact state is the preset contact state, determining to collect the user's electrocardiogram signal;
[0117] The user's health status is obtained according to the electrocardiogram signal.
[0118] In one embodiment, the processing module 20 is further configured to obtain a second operation starting point for operating the drone operation control when the end point of the second trajectory is not a preset end point;
[0119] detecting whether the current stable state is a preset static state, and detecting whether the current contact state is a preset contact state;
[0120] When the current stable state is not the preset static state, obtaining a shaking state time of the current stable state;
[0121] When the current contact state is not the preset contact state, obtaining the disconnected contact state time of the current contact state;
[0122] Obtaining the user's electrocardiogram signal according to the shaking state time and the disconnected state time;
[0123] The user's health status is obtained according to the electrocardiogram signal.
[0124] In one embodiment, the processing module 20 is further configured to obtain the user's initial acquisition signal and a preset state time period;
[0125] Adding time to the shaking state time according to the preset state time period to obtain a target shaking time;
[0126] Adding time to the disconnection state time according to the preset state time period to obtain a target disconnection time;
[0127] The initial collected signal is labeled according to the target shaking time and the target disconnection time to obtain the user's electrocardiogram signal.
[0128] In one embodiment, the processing module 20 is further configured to generate a shaking reminder instruction according to the current stable state to perform a shaking reminder when the current stable state is not the preset static state;
[0129] When the current contact state is not a preset contact state, determining a part to be reminded according to the current contact state;
[0130] A contact reminder instruction is generated according to the current contact state and the part to be reminded to perform the contact reminder.
[0131] Since the present device adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be described one by one here.
[0132] In addition, an embodiment of the present invention further provides a storage medium on which an ECG signal monitoring program is stored. When the ECG signal monitoring program is executed by a processor, the steps of the ECG signal monitoring method described above are implemented.
[0133] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0134] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the embodiment scheme, and no limitation is made here.
[0135] In addition, for technical details not fully described in this embodiment, please refer to the electrocardiogram signal monitoring method provided in any embodiment of the present invention, and will not be repeated here.
[0136] In addition, it should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0137] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0138] Through the above description of the embodiments, those skilled in the art will clearly understand that the methods of the above embodiments can be implemented using software plus the necessary general-purpose hardware platform. Of course, hardware can also be used, but in many cases, the former is the more preferred implementation method. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the existing technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, a magnetic disk, or an optical disk) and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network intelligent terminal, etc.) to execute the methods described in the various embodiments of the present invention.
[0139] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for monitoring an electrocardiogram signal, characterized in that: The electrocardiogram signal monitoring method is applied to an electrocardiogram signal monitoring device, wherein the electrocardiogram signal monitoring device includes a three-axis accelerometer and multiple pressure sensors. The electrocardiogram signal monitoring method includes: When performing electrocardiogram signal monitoring, obtaining the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor; determining a current stable state based on the three-axis acceleration data, and determining a current contact state based on each pressure sensing data; obtaining an electrocardiogram (ECG) signal of the user according to the current stable state and the current contact state, and obtaining a health status of the user according to the ECG signal; The determining of the current contact state according to the data of each pressure sensor includes: Acquiring reference pressure data of each pressure sensor within a second preset time period from the pressure sensor data; dividing the reference pressure data of each pressure sensor according to a third preset time period to obtain a plurality of divided pressure data and division time information of each divided pressure data; Performing division mean calculation on each division pressure data to obtain multiple mean pressure sensing values; Perform difference calculation based on each mean pressure sensor value and each divided time information to obtain multiple pressure data difference values; The pressure data difference is compared with the preset pressure range, and the current contact state is determined based on the comparison result.
2. The electrocardiogram signal monitoring method according to claim 1, wherein: The determining the current stable state according to the three-axis acceleration data includes: Determining a plurality of reference three-axis accelerations within a first preset time period according to the three-axis acceleration data; Perform acceleration calculation on each reference three-axis acceleration to determine multiple resultant accelerations; Calculating the average of the combined accelerations to determine the average acceleration within the first preset time period; The mean acceleration is compared with a preset acceleration range, and a current stable state is determined according to the comparison result.
3. The electrocardiogram signal monitoring method according to claim 1, wherein: The obtaining of the user's electrocardiogram signal according to the current stable state and the current contact state, and obtaining the user's health status according to the electrocardiogram signal includes: detecting whether the current stable state is a preset static state, and detecting whether the current contact state is a preset contact state; When the current stable state is the preset static state and the current contact state is the preset contact state, determining to collect the user's electrocardiogram signal; The user's health status is obtained according to the electrocardiogram signal.
4. The electrocardiogram signal monitoring method according to claim 1, wherein: The obtaining of the user's electrocardiogram signal according to the current stable state and the current contact state, and obtaining the user's health status according to the electrocardiogram signal includes: detecting whether the current stable state is a preset static state, and detecting whether the current contact state is a preset contact state; When the current stable state is not the preset static state, obtaining a shaking state time of the current stable state; When the current contact state is not the preset contact state, obtaining the disconnected contact state time of the current contact state; Obtaining the user's electrocardiogram signal according to the shaking state time and the disconnected state time; The user's health status is obtained according to the electrocardiogram signal.
5. The electrocardiogram signal monitoring method according to claim 4, wherein: The obtaining of the user's electrocardiogram signal according to the shaking state time and the disconnected state time includes: Obtain the user's initial acquisition signal and preset state time period; Adding time to the shaking state time according to the preset state time period to obtain a target shaking time; Adding time to the disconnection state time according to the preset state time period to obtain a target disconnection time; The initial collected signal is labeled according to the target shaking time and the target disconnection time to obtain the user's electrocardiogram signal.
6. The electrocardiogram signal monitoring method according to claim 3 or 4, characterized in that: After detecting whether the current stable state is a preset static state and detecting whether the current contact state is a preset contact state, the method further includes: When the current stable state is not the preset static state, generating a shaking reminder instruction according to the current stable state to perform a shaking reminder; When the current contact state is not the preset contact state, determining the part to be reminded according to the current contact state; A contact reminder instruction is generated according to the current contact state and the part to be reminded to perform the contact reminder.
7. An electrocardiogram signal monitoring device, characterized in that: The electrocardiogram signal monitoring device comprises: An acquisition module is used to acquire the three-axis acceleration data collected by the three-axis accelerometer and the pressure sensing data collected by each pressure sensor when performing electrocardiogram signal monitoring; a processing module, configured to determine a current stable state based on the three-axis acceleration data, and a current contact state based on the pressure sensing data; The processing module is further configured to obtain an electrocardiogram signal of the user according to the current stable state and the current contact state, and obtain a health status of the user according to the electrocardiogram signal; The processing module is further used to obtain reference pressure data of each pressure sensor within a second preset time period in the pressure sensor data; divide the reference pressure data of each pressure sensor according to a third preset time period to obtain multiple divided pressure data and division time information of each divided pressure data; calculate the division mean of each divided pressure data to obtain multiple mean pressure sensing values; calculate the difference between each mean pressure sensing value and each division time information to obtain multiple pressure data difference values; compare each pressure data difference value with a preset pressure range, and determine the current contact state based on the comparison result.
8. An electrocardiogram signal monitoring device, characterized in that: The electrocardiogram signal monitoring device includes: a memory, a processor, and an electrocardiogram signal monitoring program stored in the memory and executable on the processor, wherein the electrocardiogram signal monitoring program is configured to implement the electrocardiogram signal monitoring method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores an electrocardiogram signal monitoring program, which, when executed by a processor, implements the electrocardiogram signal monitoring method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Electrocardiograph (ECG) detection method and wearable equipment
CN110384495A