CN116211312B - ECG signal monitoring method, device, equipment and storage medium - Google Patents
ECG signal monitoring method, device, equipment and storage mediumInfo
- Publication number
- CN116211312B CN116211312B CN202310267419.2A CN202310267419A CN116211312B CN 116211312 B CN116211312 B CN 116211312B CN 202310267419 A CN202310267419 A CN 202310267419A CN 116211312 B CN116211312 B CN 116211312B
- Authority
- CN
- China
- Prior art keywords
- state
- preset
- current
- electrocardiosignal
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/318—Heart-related electrical modalities, e.g. electrocardiography [ECG]
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Cardiology (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The invention belongs to the technical field of signal processing, and discloses an electrocardiosignal monitoring method, an electrocardiosignal monitoring device, electrocardiosignal monitoring equipment and a storage medium. The electrocardiosignal monitoring method is applied to electrocardiosignal monitoring equipment, the electrocardiosignal monitoring equipment comprises a triaxial accelerometer and a plurality of pressure sensors, and the electrocardiosignal monitoring method comprises the following steps: acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when carrying out electrocardiosignal monitoring; and obtaining an electrocardiosignal of the user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiosignal. By the method, interference of external factors on the electrocardiosignals is reduced, monitoring quality of the electrocardiosignals is improved, testing accuracy of the electrocardiosignals is guaranteed, and accurate health state of a user can be obtained later.
Description
Technical Field
The present invention relates to the field of signal processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for monitoring an electrocardiograph signal.
Background
ECG (electrocardiogram) signals can reflect the health status of the user, and more portable devices have ECG measurement functions. The ECG is a weak signal which is easy to be interfered, and the ECG signal is changed along with the influence of various fine factors, so that the testing precision of a subsequent health monitoring algorithm is influenced, and the accuracy of monitoring the health state of a user is caused. In the process of ECG signal acquisition, how to improve the quality of signal monitoring to ensure accurate acquisition of the health status of the user is a problem that needs to be solved at present.
Disclosure of Invention
The invention mainly aims to provide an electrocardiosignal monitoring method, an electrocardiosignal monitoring device, electrocardiosignal monitoring equipment and a storage medium, and aims to solve the technical problem of how to improve the quality of signal monitoring in the prior art so as to ensure that the health state of a user is accurately obtained.
To achieve the above object, the present invention provides an electrocardiograph signal monitoring method applied to an electrocardiograph signal monitoring apparatus including a triaxial accelerometer and a plurality of pressure sensors, the electrocardiograph signal monitoring method including:
acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when carrying out electrocardiosignal monitoring;
determining a current stable state according to the triaxial acceleration data, and determining a current contact state according to each pressure sensing data;
and obtaining an electrocardiosignal of the user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiosignal.
Optionally, the determining the current steady state according to the triaxial acceleration data includes:
determining a plurality of reference triaxial accelerations in a first preset time period according to the triaxial acceleration data;
Performing acceleration calculation on each reference triaxial acceleration to determine a plurality of combined accelerations;
average value calculation is carried out on all the combined accelerations, and average value acceleration in the first preset time period is determined;
And comparing the average acceleration with a preset acceleration range, and determining the current stable state according to a comparison result.
Optionally, the determining the current contact state according to the data of each pressure sensor includes:
Acquiring reference pressure data of each pressure sensor in a second preset time period in the data of each pressure sensor;
performing data division on 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;
carrying out dividing mean value calculation on each divided pressure data to obtain a plurality of mean value pressure sensing values;
Performing difference calculation according to the average pressure sensing values and the dividing time information to obtain a plurality of pressure data difference values;
and comparing the pressure data difference value with a preset pressure range, and determining the current contact state according to the comparison result.
Optionally, the obtaining the electrocardiograph signal of the user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiograph signal includes:
Detecting whether the current stable state is a preset static state or not, and detecting whether the current contact state is a preset contact state or not;
Determining to collect electrocardiosignals of a user when the current stable state is the preset static state and the current contact state is the preset contact state;
and obtaining the health state of the user according to the electrocardiosignal.
Optionally, the obtaining the electrocardiograph signal of the user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiograph signal includes:
Detecting whether the current stable state is a preset static state or not, and detecting whether the current contact state is a preset contact state or not;
when the current stable state is not the preset static state, acquiring the shaking state time of the current stable state;
when the current contact state is not the preset contact state, acquiring the time of the disconnection state of the current contact state;
obtaining electrocardiosignals of the user according to the shaking state time and the touch breaking state time;
and obtaining the health state of the user according to the electrocardiosignal.
Optionally, the obtaining the electrocardiographic signal of the user according to the shaking state time and the breaking state time includes:
Acquiring an initial acquisition signal and a preset state time period of a user;
The shaking state time is increased according to the preset state time period, and the target shaking time is obtained;
the time of the touch breaking state time is increased according to the preset state time period, and the target touch breaking time is obtained;
and marking the initial acquisition signal according to the target shaking time and the target touch breaking time to obtain an electrocardiosignal of the user.
Optionally, after detecting whether the current steady state is a preset steady 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 reminding instruction according to the current stable state to carry out shaking reminding;
when the current contact state is not the preset contact state, determining a part to be reminded according to the current contact state;
And generating a contact reminding instruction according to the current contact state and the part to be reminded to carry out contact reminding.
In addition, in order to achieve the above object, the present invention also provides an electrocardiograph signal monitoring device, including:
The acquisition module is used for acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when the electrocardiosignal is monitored;
The processing module is used for determining a current stable state according to the triaxial acceleration data and determining a current contact state according to each pressure sensing data;
The processing module is further used for obtaining an electrocardiosignal of the user according to the current stable state and the current contact state and obtaining the health state of the user according to the electrocardiosignal.
In addition, in order to achieve the aim, the invention also provides an electrocardiosignal monitoring device which comprises a memory, a processor and an electrocardiosignal monitoring program which is stored on the memory and can run on the processor, wherein the electrocardiosignal monitoring program is configured to realize the electrocardiosignal monitoring method.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon an electrocardiograph signal monitoring program which, when executed by a processor, implements the electrocardiograph signal monitoring method as described above.
The electrocardiosignal monitoring method is applied to electrocardiosignal monitoring equipment, and comprises a triaxial accelerometer and a plurality of pressure sensors, wherein the electrocardiosignal monitoring method comprises the steps of acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when the electrocardiosignal is monitored; and obtaining an electrocardiosignal of the user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiosignal. By the method, the current stable state is determined according to the collected triaxial acceleration, the current contact state is determined according to the collected pressure sensing data, and the electrocardiosignals of the user are obtained according to the current stable state and the current contact state, so that the interference of external factors on the electrocardiosignals is reduced, the monitoring quality of the electrocardiosignals is improved, the testing precision of the electrocardiosignals is ensured, and the accurate health state of the user can be obtained later.
Drawings
FIG. 1 is a schematic structural diagram of an electrocardiosignal monitoring device in a hardware operating environment according to an embodiment of the invention;
FIG. 2 is a flowchart of a first embodiment of an electrocardiosignal monitoring method of the invention;
FIG. 3 is a flowchart of a second embodiment of the method for monitoring an electrocardiosignal according to the invention;
FIG. 4 is a schematic diagram illustrating a steady state determination process according to an embodiment of the electrocardiographic signal monitoring method of the present invention;
FIG. 5 is a schematic diagram illustrating a contact status determination process according to an embodiment of the electrocardiograph signal monitoring method of the present invention;
fig. 6 is a block diagram of a first embodiment of an electrocardiograph signal monitoring device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electrocardiograph signal monitoring device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the electrocardiograph signal monitoring device may include a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the configuration shown in fig. 1 is not limiting of the electrocardiograph signal monitoring device and may include more or fewer components than shown, or certain components in combination, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and an electrocardiograph signal monitoring program may be included in the memory 1005 as one type of storage medium.
In the electrocardiosignal monitoring device shown in fig. 1, the network interface 1004 is mainly used for carrying out data communication with a network server, the user interface 1003 is mainly used for carrying out data interaction with a user, and the processor 1001 and the memory 1005 in the electrocardiosignal monitoring device can be arranged in the electrocardiosignal monitoring device, and the electrocardiosignal monitoring device calls an electrocardiosignal monitoring program stored in the memory 1005 through the processor 1001 and executes the electrocardiosignal monitoring method provided by the embodiment of the invention.
An embodiment of the invention provides an electrocardiosignal monitoring method, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of an electrocardiosignal monitoring method of the invention.
The electrocardiosignal monitoring method is applied to electrocardiosignal monitoring equipment, the electrocardiosignal monitoring equipment comprises a triaxial accelerometer and a plurality of pressure sensors, and the electrocardiosignal monitoring method comprises the following steps of:
And step S10, acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor during electrocardiosignal monitoring.
It should be noted that, the execution main body of this embodiment is the central processing unit of electrocardiosignal monitoring equipment, and electrocardiosignal monitoring equipment is three-electrode finger health monitoring equipment, and electrocardiosignal monitoring equipment includes monitoring main body equipment, a plurality of monitoring electrode slices, triaxial accelerometer and a plurality of pressure sensor, and central processing unit locates in the monitoring main body equipment, and triaxial accelerometer locates in the monitoring main body equipment, all is equipped with a pressure sensor under every monitoring electrode slice. The central processing unit acquires triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when monitoring electrocardiosignals, determines a current stable state according to the triaxial acceleration data, determines a current contact state according to each pressure sensing data, and obtains the health state of the user according to the electrocardiosignals of the user in the current stable state and the current contact state and the electrocardiosignals.
It can be understood that when receiving an instruction for monitoring an electrocardiosignal of a user, triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor are acquired. The triaxial acceleration data can reflect whether the electrocardiosignal monitoring equipment is in a static state or not, and each pressure sensing data can reflect whether each monitoring electrode slice of the electrocardiosignal monitoring equipment is in good contact with each finger of a user or not.
And step S20, determining the current stable state according to the triaxial acceleration data, and determining the current contact state according to each pressure sensing data.
It should be noted that, the current stable state includes a stationary state and a shaking state, when detecting that the electrocardiograph signal monitoring device itself is shaking, the current stable state is described as a shaking state, and when detecting that the electrocardiograph signal monitoring device itself is not shaking, i.e. is stationary, the current stable state is described as a stationary state. After the triaxial acceleration data acquired by the triaxial accelerometer are acquired, the current stable state of the electrocardiosignal monitoring equipment can be determined according to the triaxial acceleration data.
It can be understood that the current contact state includes a good contact state and a bad contact (broken contact) state, when the bad contact between the monitoring electrode plate on the electrocardiograph signal monitoring device and the finger of the user is detected, the current contact state is indicated as the bad contact state, and when the good contact between the monitoring electrode plate on the electrocardiograph signal monitoring device and the finger of the user is detected, the current contact state is indicated as the good contact state. After the pressure sensing data acquired by the data of each pressure sensor are acquired, whether each monitoring electrode piece on the electrocardiosignal monitoring equipment is in good contact with each finger of a user can be determined, so that the current contact state of each monitoring electrode piece on the electrocardiosignal monitoring equipment is obtained.
And step S30, obtaining an electrocardiosignal of the user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiosignal.
After the current stable state and the current contact state are determined, the electrocardiosignals of the user can be output according to the current stable state and the current contact state, and the accurate health state of the user can be obtained by utilizing a health monitoring algorithm and the electrocardiosignals.
It can be understood that in order to ensure the accuracy of electrocardiosignal acquisition, one of two electrocardiosignal output modes can be adopted, namely, when the current stable state is a preset static state and the current contact state of each monitoring electrode plate and the finger of the user is a preset contact state, electrocardiosignal acquisition is carried out, the electrocardiosignal of the user is output, further, the electrocardiosignal of the user is obtained according to the current stable state and the current contact state, and the health state of the user is obtained according to the electrocardiosignal.
In specific implementation, the preset rest state refers to a state that the electrocardiosignal monitoring equipment is in rest, and the preset contact state refers to a state that the monitoring electrode plate on the electrocardiosignal monitoring equipment is in good contact with the finger of a user.
It should be noted that, the central processing unit detects whether the current stable state of the electrocardiosignal monitoring device is in a preset static state, and detects whether each monitoring electrode slice on the electrocardiosignal monitoring device is in good contact with the fingers of the user. When the current stable state is a preset static state and the current contact state of each monitoring electrode plate and the finger of the user is a preset contact state, electrocardiosignal acquisition is carried out, the acquired electrocardiosignals are output, and the accurate health state of the user can be obtained by utilizing a health monitoring algorithm and the electrocardiosignals.
It can be understood that the electrocardiographic signal is not acquired for the user when the current steady state is not the preset rest state but the current contact state is the preset contact state, or when the current steady state is the preset rest state but the current contact state is not the preset contact state, or when the current steady state is not the preset rest state and the current contact state is not the preset contact state.
In particular implementation, in order to ensure the accuracy of electrocardiosignal acquisition, the method includes outputting an initial acquisition signal of a user when an instruction for monitoring the electrocardiosignal of the user is received, marking the time of the initial acquisition signal, and remarking a time period of inaccurate signal in the initial acquisition signal so as to obtain the marked electrocardiosignal, so as to ensure the accuracy of monitoring the subsequent health state; the method comprises the steps of obtaining shaking state time of a current stable state when the current stable state is not the preset static state, obtaining breaking state time of the current contact state when the current contact state is not the preset contact state, obtaining electrocardiosignals of a user according to the shaking state time and the breaking state time, and obtaining health state of the user according to the electrocardiosignals.
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 electrocardiograph signal monitoring device is currently in shaking, and obtains the shaking duration of the electrocardiograph signal monitoring device, where the shaking duration of the electrocardiograph signal monitoring device can be obtained through the starting time of the current stable state (i.e. shaking state) and the ending time of the current stable state (i.e. shaking state), and the shaking duration is the shaking state time.
It can be understood that when the central processing unit detects that the current contact state of a certain monitoring electrode slice and the finger of the user is not the preset contact state, the fact that the poor contact exists between the monitoring electrode slice and the finger of the user is indicated, at this time, the duration of the poor contact between the monitoring electrode slice and the finger of the user is obtained, and the duration of the poor contact can be obtained through the starting time of the current contact time (i.e. the poor contact state) of the monitoring electrode slice and the ending time of the current contact time (i.e. the poor contact state), and the duration of the poor contact is the time of the disconnection state.
In a specific implementation, the electrocardiosignals of the user can be output according to the shaking state time and the breaking state time, and the accurate health state of the user can be obtained by utilizing a health monitoring algorithm and the electrocardiosignals.
In order to output accurate electrocardiosignals according to the shaking state time and the breaking state time, the method further comprises the steps of obtaining initial acquisition signals and preset state time periods of a user, increasing the shaking state time according to the preset state time periods to obtain target shaking time, increasing the breaking state time according to the preset state time periods to obtain target breaking time, and marking the initial acquisition signals according to the target shaking time and the target breaking time to obtain the electrocardiosignals of the user.
It can be understood that when an instruction for monitoring the electrocardiograph signal of the user is received, the electrocardiograph signal acquisition is started, and the output initial signal is the initial acquisition signal. The preset time period refers to a preset time length, and in this embodiment, the preset time period may be 1s, or may be set according to the user's requirement.
In a specific implementation, after the shaking state time and the touch breaking state time are determined, in order to ensure the accuracy of signal acquisition, the time periods of the shaking state time and the touch breaking state time are often expanded through a preset time period, the expanded shaking state time is the target shaking time, and the expanded touch breaking state time is the target touch breaking time. And (3) carrying out signal labeling on the initial acquisition signal according to the target shaking time and the target touch breaking time to obtain a labeled initial acquisition signal, wherein the labeled initial acquisition signal is the electrocardiogram. For example, the preset time period is 1s, the shaking state time is 08:00:00-08:00:05, the target shaking time is 07:59:59-08:00:06, the disconnection state time of the monitoring electrode slice 1 is 08:02:05-08:02:10, the target disconnection time is 08:02:04-08:02:11, the initial acquisition signals are marked, the electrocardiosignal monitoring equipment is in shaking state in the range of 07:59:59-08:00:06, and the monitoring electrode slice 1 is in poor contact in the range of 08:02:04-08:02:11.
In order to radically improve the quality of signal monitoring, the method further comprises the steps of detecting whether the current stable state is a preset static state or not and detecting whether the current contact state is a preset contact state or not, generating a shaking reminding instruction to carry out shaking reminding according to the current stable state when the current stable state is not the preset static state, determining a part to be reminded according to the current contact state when the current contact state is not the preset contact state, and generating a contact reminding instruction to carry out contact reminding according to the current contact state and the part to be reminded.
It can be understood that when the current stable state is not the preset static state, a shake reminding instruction related to equipment shake is generated, if the electrocardiosignal monitoring equipment is provided with a display screen, the shake reminding instruction is pushed to the display screen to be displayed, if the electrocardiosignal monitoring equipment is not provided with the display screen, the shake reminding instruction is broadcasted by voice, if the electrocardiosignal monitoring equipment is not provided with the display screen and does not have the function of broadcasting by voice, the shake reminding instruction is sent to a terminal connected with the electrocardiosignal monitoring equipment Bluetooth, and the user is reminded that the electrocardiosignal monitoring equipment is not in static through the mode.
In a specific implementation, when the current contact state of the monitoring electrode plate is not the preset contact state, determining a finger which is in poor contact with the monitoring electrode plate according to the pressure sensor corresponding to the current contact state, wherein the finger which is in poor contact with the monitoring electrode plate is the part to be reminded. Generating a contact reminding instruction related to poor contact of the finger X according to the current contact state and the part to be reminded, and carrying out contact reminding according to the contact reminding instruction so as to enable a user to adjust the hand gesture in time.
The electrocardiosignal monitoring method is applied to electrocardiosignal monitoring equipment, and comprises a triaxial accelerometer and a plurality of pressure sensors, wherein the electrocardiosignal monitoring method comprises the steps of acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when the electrocardiosignal is monitored; and obtaining an electrocardiosignal of the user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiosignal. By the method, the current stable state is determined according to the collected triaxial acceleration, the current contact state is determined according to the collected pressure sensing data, and the electrocardiosignals of the user are obtained according to the current stable state and the current contact state, so that the interference of external factors on the electrocardiosignals is reduced, the monitoring quality of the electrocardiosignals is improved, the testing precision of the electrocardiosignals is ensured, and the accurate health state of the user can be obtained later.
Referring to fig. 3, fig. 3 is a flowchart of a second embodiment of an electrocardiograph signal monitoring method according to the present invention.
Based on the above first embodiment, the step S20 in the electrocardiograph signal monitoring method of this embodiment includes:
And S21, determining a plurality of reference triaxial accelerations in a first preset time period according to the triaxial acceleration data.
It should be noted that, the accelerations of the X axis, the Y axis, and the Z axis at each time point in the first preset time period T1 in the triaxial acceleration data are obtained, and one reference triaxial acceleration includes the accelerations of the X axis, the Y axis, and the Z axis corresponding to one time point.
And S22, performing acceleration calculation on each reference triaxial acceleration to determine a plurality of combined accelerations.
The total speed calculation is performed on each reference triaxial acceleration, and the total acceleration corresponding to each reference triaxial acceleration is determined. Acceleration of combinationWhereinFor the acceleration in the X-axis,For the acceleration in the Y-axis,Is the Z-axis acceleration.
And S23, carrying out average value calculation on each combined acceleration, and determining the average value acceleration in the first preset time period.
After determining the total acceleration corresponding to each reference triaxial acceleration, average value calculation is performed on each total acceleration in a first preset time period, and a total acceleration average value AVG in the first preset time period is determined, where the total acceleration average value is the average acceleration.
And step S24, comparing the average acceleration with a preset acceleration range, and determining the current stable state according to a comparison result.
It should be noted that, the preset acceleration range is a preset steady state judgment range [ Thr1, thr2], and when the electrocardiosignal monitoring device is at rest, the combined acceleration a takes the value of gravity acceleration 1g. When the device is in a non-stationary state, the resultant acceleration a will also change in value. Therefore, the average acceleration is compared with the preset acceleration range, when the average acceleration is in the preset acceleration range, the current stable state is the static state, and when the average acceleration is not in the preset acceleration range, the current stable state is the shaking state.
It may be appreciated that, as shown in fig. 4, when an instruction for monitoring an electrocardiograph signal of a user is received to monitor the electrocardiograph signal, triaxial acceleration data acquired by a triaxial accelerometer is acquired, a plurality of combined accelerations in a first preset time period are calculated, average acceleration in the first preset time period T1 is counted according to the plurality of combined accelerations, whether the average acceleration is in a range of [ Thr1, thr2] is determined, if yes, the current stable state is a static state, if not, the current stable state is a shaking state, and a shaking reminding instruction is generated according to the current stable state so as to remind the user that the user equipment is in the shaking state.
In a specific implementation, in order to obtain an accurate current contact state based on pressure sensor data of each pressure sensor, the method further comprises the steps of obtaining reference pressure data of each pressure sensor in a second preset time period in each pressure sensor data, carrying out data division on 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, carrying out division mean value calculation on each divided pressure data to obtain a plurality of mean value pressure sensing values, carrying out difference calculation according to each mean value pressure sensing value and each division time information to obtain a plurality of pressure data difference values, comparing each pressure data difference value with a preset pressure range, and determining the current contact state according to a comparison result.
It should be noted that, since there is a pressure sensor under each monitoring electrode plate, the pressure sensor can detect the change of the contact force between each finger and the monitoring electrode plate, and obtain the pressure sensor data in the second preset time period in the data of each pressure sensor, and the pressure sensor data in the second preset time period T2 is the reference pressure data. And dividing the reference pressure data into n divided pressure data with the time period T according to the third preset time period T, and determining the dividing time information of each divided pressure data, wherein the dividing time information comprises dividing start time and dividing end time. For example, the pressure sensor 1 obtains pressure sensor data with reference pressure data of 8:00:00-8:02:00 in a time period of T2 and pressure sensor data with reference pressure data of 8:00-8:02:00 in a time period of T30 s, respectively, the pressure sensor data with reference pressure data of 8:00-8:00:30, the pressure sensor data with reference pressure data of 8:00:30-8:01:00, the pressure sensor data with reference pressure data of 3:01:00-8:01:30, and the pressure sensor data with reference pressure data of 4:01:30-8:02:00, wherein the partition time information of the partition pressure data 1 is that the partition start time is 8:00:00 and the partition end time is 8:00:30, and the values of T2 and T in the embodiment are only for illustration and may be other values in specific implementation.
It can be understood that the pressure average value of each divided pressure data is calculated to obtain an average pressure sensing value corresponding to each divided pressure data, and the difference between the average pressure sensing value of the current divided pressure data and the average pressure sensing value of the divided pressure data in the previous time period is calculated according to each divided time information, wherein the difference between the average pressure sensing value and the average pressure sensing value is the pressure data difference.
In a specific implementation, the preset pressure range is a preset judging range [ Thr3, thr4] of the contact state, the pressure data difference value is compared with the preset pressure range, when the pressure data difference value is within the preset pressure range, the current contact state is indicated to be in a static state, and when the pressure data difference value is not within the preset pressure range, the current contact state is indicated to be in 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 the pressure sensor 1 is avg_n, the average pressure sensing value of the divided 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 a pressure data difference DIFF, when DIFF is in the [ Thr3, thr4] interval, the contact force between the monitoring electrode plate 1 and the finger 1 corresponding to the pressure sensor 1 is hardly changed, namely the current contact state between the monitoring electrode plate 1 and the finger 1 is a good contact state, otherwise, the current contact state between the monitoring electrode plate 1 and the finger 1 is a bad contact state, and the user needs to be reminded of the bad contact of the finger 1 at this time, and gesture adjustment needs to be performed.
It should be noted that, as shown in fig. 5, when an instruction for performing electrocardiograph signal monitoring on a user is received to perform electrocardiograph signal monitoring, pressure sensor data of each pressure sensor is obtained, reference pressure data in a T2 time period is obtained, data division is performed on the reference pressure data according to the time period T to obtain each divided pressure data, a difference DIFF between a mean value of the current divided pressure data and a mean value of the divided pressure data in a previous time period is calculated, whether the pressure data difference is in a [ Thr3, thr4] interval is determined, if yes, the current contact state is a good contact state, if not, the current contact state is a poor contact state, a part to be reminded is determined according to the current contact state, and a contact reminding instruction is generated to remind the user that the part to be reminded (i.e. finger X) needs posture adjustment.
In the embodiment, a plurality of reference triaxial accelerations in a first preset time period are determined according to triaxial acceleration data, acceleration calculation is conducted on each reference triaxial acceleration to determine a plurality of combined accelerations, average value calculation is conducted on each combined acceleration to determine average value acceleration in the first preset time period, the average value acceleration is compared with a preset acceleration range, and a current stable state is determined according to a comparison result. Through the mode, the current stable state is determined by utilizing the comparison result of the average value of all the combined accelerations and the preset acceleration range, the situation that the subsequent state judgment is error due to data jitter is avoided, and the accuracy of the state judgment process is ensured.
In addition, referring to fig. 6, an embodiment of the present invention further provides an electrocardiograph signal monitoring device, where the electrocardiograph signal monitoring device includes:
And the acquisition module 10 is used for acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor during electrocardiograph signal monitoring.
The processing module 20 is configured to determine a current steady state according to the triaxial acceleration data and determine a current contact state according to each pressure sensing data.
The processing module 20 is further configured to obtain an electrocardiographic signal of the user according to the current stable state and the current contact state, and obtain a health state of the user according to the electrocardiographic signal.
The method comprises the steps of acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when electrocardiosignal monitoring is carried out, determining a current stable state according to the triaxial acceleration data, determining a current contact state according to each pressure sensing data, obtaining electrocardiosignals of a user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiosignals. By the method, the current stable state is determined according to the collected triaxial acceleration, the current contact state is determined according to the collected pressure sensing data, and the electrocardiosignals of the user are obtained according to the current stable state and the current contact state, so that the interference of external factors on the electrocardiosignals is reduced, the monitoring quality of the electrocardiosignals is improved, the testing precision of the electrocardiosignals is ensured, and the accurate health state of the user can be obtained later.
In an embodiment, the processing module 20 is further configured to determine a plurality of reference triaxial accelerations within a first preset time period according to the triaxial acceleration data;
Performing acceleration calculation on each reference triaxial acceleration to determine a plurality of combined accelerations;
average value calculation is carried out on all the combined accelerations, and average value acceleration in the first preset time period is determined;
And comparing the average acceleration with a preset acceleration range, and determining the current stable state according to a comparison result.
In an embodiment, the processing module 20 is further configured to obtain reference pressure data of each pressure sensor in a second preset time period in each pressure sensor data;
performing data division on 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;
carrying out dividing mean value calculation on each divided pressure data to obtain a plurality of mean value pressure sensing values;
Performing difference calculation according to the average pressure sensing values and the dividing time information to obtain a plurality of pressure data difference values;
and comparing the pressure data difference value with a preset pressure range, and determining the current contact state according to the comparison result.
In an embodiment, the processing module 20 is further configured to determine a vertical movement direction of the unmanned aerial vehicle according to the sliding direction when the sliding direction is not a preset horizontal direction;
Detecting whether the current stable state is a preset static state or not, and detecting whether the current contact state is a preset contact state or not;
Determining to collect electrocardiosignals of a user when the current stable state is the preset static state and the current contact state is the preset contact state;
and obtaining the health state of the user according to the electrocardiosignal.
In an embodiment, the processing module 20 is further configured to obtain a second operation starting point for the operation of the unmanned aerial vehicle operation control when the second track end point is not a preset end point;
Detecting whether the current stable state is a preset static state or not, and detecting whether the current contact state is a preset contact state or not;
when the current stable state is not the preset static state, acquiring the shaking state time of the current stable state;
when the current contact state is not the preset contact state, acquiring the time of the disconnection state of the current contact state;
obtaining electrocardiosignals of the user according to the shaking state time and the touch breaking state time;
and obtaining the health state of the user according to the electrocardiosignal.
In an embodiment, the processing module 20 is further configured to acquire an initial acquisition signal and a preset status period of the user;
The shaking state time is increased according to the preset state time period, and the target shaking time is obtained;
the time of the touch breaking state time is increased according to the preset state time period, and the target touch breaking time is obtained;
and marking the initial acquisition signal according to the target shaking time and the target touch breaking time to obtain an electrocardiosignal of the user.
In an embodiment, the processing module 20 is further configured to generate a shake-reminding instruction according to the current stable state to perform a shake-reminding when the current stable state is not the preset static state;
when the current contact state is not the preset contact state, determining a part to be reminded according to the current contact state;
And generating a contact reminding instruction according to the current contact state and the part to be reminded to carry out contact reminding.
Because the device adopts all the technical schemes of all the embodiments, the device at least has all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores an electrocardiosignal monitoring program, and the electrocardiosignal monitoring program realizes the steps of the electrocardiosignal monitoring method when being executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, the storage medium has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in this embodiment may refer to the electrocardiosignal monitoring method provided in any embodiment of the present invention, which is not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of embodiments, it will be clear to a person skilled in the art that the above embodiment method may be implemented by means of software plus a necessary general hardware platform, but may of course also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal smart terminal (which may be a mobile phone, a computer, a server, or a network smart terminal, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (9)
1. An electrocardiosignal monitoring method, which is characterized in that the electrocardiosignal monitoring method is applied to an electrocardiosignal monitoring device, the electrocardiosignal monitoring device comprises a triaxial accelerometer and a plurality of pressure sensors, and the electrocardiosignal monitoring method comprises the following steps:
acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when carrying out electrocardiosignal monitoring;
determining a current stable state according to the triaxial acceleration data, and determining a current contact state according to each pressure sensing data;
obtaining an electrocardiosignal of a user according to the current stable state and the current contact state, and obtaining the health state of the user according to the electrocardiosignal;
Wherein, the determining the current contact state according to the data of each pressure sensor comprises:
Acquiring reference pressure data of each pressure sensor in a second preset time period in the data of each pressure sensor;
performing data division on 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;
carrying out dividing mean value calculation on each divided pressure data to obtain a plurality of mean value pressure sensing values;
Performing difference calculation according to the average pressure sensing values and the dividing time information to obtain a plurality of pressure data difference values;
and comparing the pressure data difference value with a preset pressure range, and determining the current contact state according to the comparison result.
2. The method of electrocardiographic signal monitoring according to claim 1 wherein the determining a current steady state from the tri-axial acceleration data comprises:
determining a plurality of reference triaxial accelerations in a first preset time period according to the triaxial acceleration data;
Performing acceleration calculation on each reference triaxial acceleration to determine a plurality of combined accelerations;
average value calculation is carried out on all the combined accelerations, and average value acceleration in the first preset time period is determined;
And comparing the average acceleration with a preset acceleration range, and determining the current stable state according to a comparison result.
3. The method for monitoring cardiac signals according to claim 1, wherein obtaining cardiac signals of the user according to the current steady state and the current contact state, and obtaining health states of the user according to the cardiac signals, comprises:
Detecting whether the current stable state is a preset static state or not, and detecting whether the current contact state is a preset contact state or not;
Determining to collect electrocardiosignals of a user when the current stable state is the preset static state and the current contact state is the preset contact state;
and obtaining the health state of the user according to the electrocardiosignal.
4. The method for monitoring cardiac signals according to claim 1, wherein obtaining cardiac signals of the user according to the current steady state and the current contact state, and obtaining health states of the user according to the cardiac signals, comprises:
Detecting whether the current stable state is a preset static state or not, and detecting whether the current contact state is a preset contact state or not;
when the current stable state is not the preset static state, acquiring the shaking state time of the current stable state;
when the current contact state is not the preset contact state, acquiring the time of the disconnection state of the current contact state;
obtaining electrocardiosignals of the user according to the shaking state time and the touch breaking state time;
and obtaining the health state of the user according to the electrocardiosignal.
5. The method for monitoring cardiac signals as set forth in claim 4, wherein said obtaining cardiac signals of the user based on the shaking state time and the touch-off state time comprises:
Acquiring an initial acquisition signal and a preset state time period of a user;
The shaking state time is increased according to the preset state time period, and the target shaking time is obtained;
the time of the touch breaking state time is increased according to the preset state time period, and the target touch breaking time is obtained;
and marking the initial acquisition signal according to the target shaking time and the target touch breaking time to obtain an electrocardiosignal of the user.
6. The method for monitoring cardiac signal as set forth in claim 3 or 4, wherein after detecting whether the current steady state is a preset steady state and detecting whether the current contact state is a preset contact state, further comprising:
When the current stable state is not the preset static state, generating a shaking reminding instruction according to the current stable state to carry out shaking reminding;
when the current contact state is not the preset contact state, determining a part to be reminded according to the current contact state;
And generating a contact reminding instruction according to the current contact state and the part to be reminded to carry out contact reminding.
7. An electrocardiograph signal monitoring device, characterized in that the electrocardiograph signal monitoring device comprises:
The acquisition module is used for acquiring triaxial acceleration data acquired by the triaxial accelerometer and pressure sensing data acquired by each pressure sensor when the electrocardiosignal is monitored;
The processing module is used for determining a current stable state according to the triaxial acceleration data and determining a current contact state according to each pressure sensing data;
The processing module is further used for obtaining an electrocardiosignal of the user according to the current stable state and the current contact state and obtaining the health state of the user according to the electrocardiosignal;
The processing module is further used for obtaining reference pressure data of each pressure sensor in a second preset time period in the data of each pressure sensor, carrying out data division on the reference pressure data of each pressure sensor according to a third preset time period to obtain a plurality of divided pressure data and divided time information of each divided pressure data, carrying out divided mean value calculation on each divided pressure data to obtain a plurality of mean value pressure sensing values, carrying out difference calculation according to each mean value pressure sensing value and each divided time information to obtain a plurality of pressure data difference values, comparing each pressure data difference value with a preset pressure range, and determining a current contact state according to a comparison result.
8. An electrocardiograph signal monitoring device, characterized in that it comprises a memory, a processor and an electrocardiograph signal monitoring program stored on the memory and executable on the processor, the electrocardiograph signal monitoring program being configured to implement the electrocardiograph signal monitoring method according to any one of claims 1 to 6.
9. A storage medium, wherein an electrocardiograph signal monitoring program is stored on the storage medium, and when executed by a processor, the electrocardiograph signal monitoring program implements the electrocardiograph signal monitoring method according to any one of claims 1 to 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310267419.2A CN116211312B (en) | 2023-03-17 | 2023-03-17 | ECG signal monitoring method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310267419.2A CN116211312B (en) | 2023-03-17 | 2023-03-17 | ECG signal monitoring method, device, equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116211312A CN116211312A (en) | 2023-06-06 |
| CN116211312B true CN116211312B (en) | 2025-08-29 |
Family
ID=86587323
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310267419.2A Active CN116211312B (en) | 2023-03-17 | 2023-03-17 | ECG signal monitoring method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116211312B (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110384495A (en) * | 2019-06-18 | 2019-10-29 | 华为技术有限公司 | A kind of ECG detection method and wearable device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9629566B2 (en) * | 2011-03-11 | 2017-04-25 | Spacelabs Healthcare Llc | Methods and systems to determine multi-parameter managed alarm hierarchy during patient monitoring |
| JP7124552B2 (en) * | 2018-08-21 | 2022-08-24 | オムロンヘルスケア株式会社 | measuring device |
| US20230084864A1 (en) * | 2021-09-15 | 2023-03-16 | Anhui Huami Health Technology Co., Ltd. | Method And Device That Generates A Respiration Signal |
-
2023
- 2023-03-17 CN CN202310267419.2A patent/CN116211312B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110384495A (en) * | 2019-06-18 | 2019-10-29 | 华为技术有限公司 | A kind of ECG detection method and wearable device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116211312A (en) | 2023-06-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5888309B2 (en) | Training support apparatus and system, form analysis apparatus and method, and program | |
| US11959772B2 (en) | Odometer interpolation using GPS data | |
| EP2767229A1 (en) | Portable instrument | |
| EP3706398A1 (en) | Pressure measurement method and terminal | |
| EP3289435B1 (en) | User interface control using impact gestures | |
| US20160282224A1 (en) | Method and system for inspecting rotary machine component by using portable terminal | |
| US8412277B2 (en) | Gravity axis determination apparatus and mobile terminal apparatus using the same | |
| KR101228336B1 (en) | Personalization Service Providing Method by Using Mobile Terminal User's Activity Pattern and Mobile Terminal therefor | |
| CN112486258A (en) | Wearable device, step counting method thereof and computer storage medium | |
| WO2012169051A1 (en) | Drop determining apparatus and drop determining method | |
| CN114264365B (en) | Wind noise detection method, device, terminal equipment and storage medium | |
| US20180239932A1 (en) | Controlling devices based on collocation of the devices on a user | |
| CN117423452A (en) | An electronic device for assessing Parkinson's disease | |
| CN110246561A (en) | A kind of moving distance calculation method, device and system | |
| CN116211312B (en) | ECG signal monitoring method, device, equipment and storage medium | |
| JP6033418B2 (en) | Offset estimation apparatus, offset estimation method, and program | |
| US20140039827A1 (en) | Non-transitory computer readable medium, action detection apparatus, and action detection method | |
| JP2018159569A (en) | Attitude calculation device, attitude instrumentation system and attitude calculation method | |
| CN112902988A (en) | Parameter calibration method, device, terminal and storage medium | |
| US20240085185A1 (en) | Submersion detection, underwater depth and low-latency temperature estimation using wearable device | |
| US9913609B2 (en) | Mobile electronic device, non-transitory storage medium storing diagnosis program, and diagnosis system | |
| CN115645886A (en) | Body-building motion detection method, electronic equipment and storage medium | |
| CN114157950B (en) | Head movement detection method, intelligent earphone and computer readable storage medium | |
| EP3654346A1 (en) | Determining a transformation matrix | |
| JP2010104396A (en) | Situational determination device, system, method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant |