CN103040462A - Electrocardiosignal processing and data compression method - Google Patents
Electrocardiosignal processing and data compression method Download PDFInfo
- Publication number
- CN103040462A CN103040462A CN2012103907806A CN201210390780A CN103040462A CN 103040462 A CN103040462 A CN 103040462A CN 2012103907806 A CN2012103907806 A CN 2012103907806A CN 201210390780 A CN201210390780 A CN 201210390780A CN 103040462 A CN103040462 A CN 103040462A
- Authority
- CN
- China
- Prior art keywords
- sampled point
- electrocardiosignal
- slope
- data compression
- 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.)
- Pending
Links
Images
Landscapes
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The invention provides an electrocardiosignal processing and data compression method which is characterized by comprising steps of obtaining three continuous sampling sites of electrocardiosignals in time and respectively recording as Vi, Vi+1 and Vi+2; respectively labeling the Vi, the Vi+1 and the Vi+2 as M0, M1 and M2; calculating a slope K1 of a line segment (M0, M1) and a slope K2 of a line segment (M1, M2); calculating slope difference absolute value Q which is equal to |k2-k1|; and judging whether the slope difference absolute value Q is smaller than a preset threshold value delta and conducting different processing according to different situations. The electrocardiosignal processing and data compression method has the advantages that the method can effectively filter signal noise, can achieve purposes of compressing data, reducing processing complexity and reducing calculated amount, and is particularly suitable to the continuous electrocardio monitoring field with big data size.
Description
Technical field
The present invention relates to a kind of ecg signal data and process and data compression method, be specially adapted to data record and the processing in Significance of Continuous Ecg Monitoring field.
Background technology
Cardiovascular and cerebrovascular disease is the commonly encountered diseases of a kind of serious threat life (particularly middle-aged and elderly people more than 50 years old).Every year is died from the number of cardiovascular and cerebrovascular disease up to 1,500 ten thousand people in the whole world, occupies the various causes of the death the first.Cardiovascular and cerebrovascular disease has become the highest No.1 killer of human Death causes, also is " the noiseless demon " of health of people! Therefore, the patient being carried out the heart real time monitoring changes significant to Prevention of cardiovascular disease with timely discovery anomalous ecg.
The pyroelectric monitor instrument is that anomalous ecg is changed the complementary diagnostic device that carries out the real-time dynamic monitoring early warning, equipment generally has the electrocardiogram (ECG) data of continuous monitoring whenever and wherever possible in 24 hours and recording user, the functions such as the collection of information, storage, analysis and early warning, its chief value is be used to finding that all kinds of arrhythmias and ST section change, for clinical diagnosis and treatment provide important evidence.
The feature point extraction of electrocardiosignal and waveform recognition are the keys of ECG analyzing and diagnosing, and wherein the detection of QRS ripple is the basis of electrocardiosignal automatic analysis, and its accuracy and reliability directly have influence on the performance of ECG real-time monitor system.Only have after the QRS wave group is determined, other parameter informations of electrocardiosignal, as: ST section, P ripple, heart rate etc. just can detect.
At present, the QRS wave detecting method is various, " Detection of ECG characteristic points usingWavelet Transforms[J] " (Cuiwei Li, Chong xun Zheng, Changfeng Tai et al, IEEETransactions on Biomedical Engineering, 1995,42 (1): 21-28) propose Wavelet Transformation Algorithm, but the large realization of its amount of calculation is complicated, is unsuitable for real-time processing." QRS Detection for Pacemakers in a NoisyEnvironment using a Time Lagged Artificial Neural Network[C] " (Neves Rodrigues, Owall, V., Sornmo, L.et al, IEEE International Symposium on Circuits and Systems, Sydney:NSW, 2001,2 (1): 101-103), " An approach to QRS Complex Detection UsingMathematical Morphology[J] " (Trahanias P.E., IEEE Transactions on BiomedicalEngineering, 1993,40 (2): 201-205), " Real-Time QRS DetectionAlgorithm " (J.Pan, Tompkins.A, IEEE Transactions on Biomedical Engineering, 1985,230-236), " QRSSlopes for Detection and Characterization of Myocardial Ischemia[J] " (Pueyo, E., Sornmo, L., Laguna, P.et al, IEEE Transactions on Biomedical Engineering, 2008,55 (2): 468-477) reach " Complexes Detection for ECG Signal:the Difference OperationMethod[J] " (, Wang, WJ.QRS Computer Methods and Programs in Biomedicine, 2008,91 (3): 245-254) propose many detection algorithms, but in the real-time detection of ambulatory ecg signal QRS ripple, also be difficult to accomplish accurate and real-time unification, especially in mobile continuous cardiac monitoring field, the ECG signal sampling algorithm is more immature, the online acquisition that adopt more, the strategy process of off-line diagnosis is guarded, and is difficult to reach the effect of real-time monitoring.Its main cause is, continuously human body is carried out detection record, and data volume is greater than conventional ECG signal sampling, and noisiness is large.24 hours electrocardios of continuous monitoring change, quantity of information than the large 2000-3000 of ordinary electrocardiogram doubly, this brings a lot of difficulties for data storage and processing, especially the detecting instrument of carrying, memory space and disposal ability are all limited, a large amount of data like this are carried out complex calculations be difficult to especially realize.
Summary of the invention
The purpose of this invention is to provide a kind of method that electrocardiosignal is processed computation complexity that reduces.
In order to achieve the above object, technical scheme of the present invention has provided a kind of electrocardiosignal and has processed and data compression method, it is characterized in that, step is:
The sampled point of 3 continuous electrocardiosignaies is designated as respectively Vi, Vi+1 and Vi+2 on step 1, the acquisition time;
Step 2, Vi, Vi+1 and Vi+2 are labeled as respectively M0, M1 and M2;
Step 3, the slope k 1 of calculating line segment (M0, M1) and the slope k 2 of line segment (M1, M2);
Step 4, the poor absolute value Q of slope calculations, Q=|k2-k1|;
Step 5, judge slope differences absolute value Q whether less than default threshold values δ, if, then enter step 6a, otherwise, enter step 6b, wherein threshold values δ sets as required, and threshold values δ is larger, and then data compression effect is better, but the data sensitive degree is lower; Threshold values δ is less, and then data compression effect is poorer, but the data sensitive degree is higher;
The corresponding sampled point Vi+1 of step 6a, cancellation M1 enters step 7;
Step 6b, the corresponding sampled point Vi of reservation M0 are labeled as M0 with the corresponding sampled point Vi+1 of M1, enter step 7;
Step 7, the corresponding sampled point Vi+2 of M2 is labeled as M1;
Preferably, described sampled point obtains by described electrocardiosignal being carried out real-time sampling, then when carrying out described step 8, need only judge whether sampling finishes.
Preferably, before described step 1, also comprise:
Described electrocardiosignal is sampled, acquisition is by N sampled point, sampled point arranged take the time as order obtained the sampled point sequence, begun carry out step 1 by first sampled point in the sampled point sequence, then when carrying out described step 8, need only judge whether all sampled points all are disposed.
Preferably, described threshold values δ ∈ (Δ k/10, Δ k/5), wherein, Δ k is that the slope of ECG P wave band is maximum poor.
Advantage of the present invention is: the method is effective trap signal noise not only, also can reach packed data, reduces and processes complexity, reduces the purpose of amount of calculation, is specially adapted to continuous electrocardio monitoring, field that data volume is large.
Description of drawings
Fig. 1 is the embodiment schematic diagram of electrocardiosignal processing provided by the invention and data compression method, mainly for online acquisition and processing;
Fig. 2 is an embodiment to the concrete grammar process of standard method shown in Figure 1;
Fig. 3 is an embodiment to the concrete grammar process of standard method shown in Figure 1;
Fig. 4 is an embodiment to the concrete grammar process of standard method shown in Figure 1, mainly is for the Data Post after the data acquisition and compression.
The specific embodiment
For the present invention is become apparent, hereby with preferred embodiment, and cooperate accompanying drawing to be described in detail below.
Embodiment 1
As shown in Figure 1, a kind of electrocardiosignal that the present embodiment provides is processed and data compression method, is when electrocardiosignal is sampled, finishes in real time date processing and compression, and its concrete steps are:
Step 108: the corresponding sampled point of M2 is labeled as M1;
Step 109: judge whether sampling finishes, and namely whether also has new sampled point, if there is not new sampled point, then carries out 110b, otherwise carry out 110a;
Step 110b: sampling finishes, and all sampled points that are not eliminated are desired data, and process finishes.
Figure 2 shows that a specific embodiment to method shown in Figure 1.
Among Fig. 2, unit of time is second, and voltage unit is mv, and sample frequency is 1000Hz, threshold values δ=1 (mv/s), among Fig. 2, M0, the coordinate of M1 and the corresponding sampled point of M2 is respectively (0.000,0.0031) (0.001,0.0035), (0.002,0.0033), then
k1=(0.0035-0.0031)/(0.001-0.000)=-0.2(v/s);
k2=(0.0033-0.0035)/(0.002-0.001)=-0.1(v/s);
Q=|-0.1-0.2|=0.3 (v/s), Q<δ so the corresponding sampled point of cancellation M1 is labeled as M1 with the corresponding sampled point of M2, connects and lower next sampled data points (0.003,0.0025) is labeled as M2, proceeds computing, can get:
k1=(0.0033-0.0031)/(0.002-0)=0.1(mv/s);
k2=-1(mv/s);
Q=|-1-0.1|=1.1 (v/s), then Q〉δ, keep the corresponding sampled point of M1.
Figure 3 shows that another specific embodiment to method shown in Figure 1.
Among Fig. 3, unit of time is second, and voltage unit is mv, and sample frequency is 1000Hz, threshold values δ=1.5 (mv/s), M0, the coordinate of M1 and the corresponding sampled point of M2 is respectively (1.003,0.0031) (1.004,0.004), (1.005,0.0025) can get:
k1=(0.004-0.0031)/(1.004-1.003)=0.9(mv/s);
k2=(0.0025-0.004)/(1.005-1.004)=-1.5(mv/s);
Q=|-1.5-0.9|=2.4 (mv/s), Q>δ, the corresponding sampled point of M1 keeps, give up the corresponding sampled point of M0, the corresponding sampled point of M1 is labeled as M0, the corresponding sampled point of M2 is labeled as M1, to next sampled point (1.006,0.0015) be labeled as M2, proceed computing, can get:
k1=(0.0025-0.004)/(1.005-1.004)=-1.5(mv/s);
k2=(0.0015-0.0025)/(1.006-1.005)=-1(mv/s);
Q=|-1-(1.5) |=0.5 (v/s), Q<δ gives up the corresponding sampled point of M1, and the corresponding sampled point of M2 is labeled as M1.
Embodiment 2
Be illustrated in figure 4 as another embodiment of the present invention, this example is for to sample to electrocardiosignal, acquisition is by N sampled point, sampled point arranged take the time as order obtained the sampled point sequence, begun the process that data are processed by first sampled point in the sampled point sequence.
As shown in Figure 4, the difference with procedure shown in Figure 1 is:
Step 401 is got front 3 data: V0, V1, the V2 of sampled point sequence;
Step 409 judges whether all data in the sampled point sequence are handled, if also have data not to be marked, and execution in step 410a then, otherwise execution in step 410b;
Step 400 in the present embodiment, step 402 are identical with corresponding steps among the embodiment 1 to step 408.
In the situation that can also consist of without departing from the spirit and scope of the present invention many very embodiment of big difference that have.Should be appreciated that except as defined by the appended claims, the invention is not restricted at the specific embodiment described in the description.
Claims (4)
1. an electrocardiosignal is processed and data compression method, it is characterized in that, step is:
The sampled point of 3 continuous electrocardiosignaies is designated as respectively Vi, Vi+1 and Vi+2 on step 1, the acquisition time;
Step 2, Vi, Vi+1 and Vi+2 are labeled as respectively M0, M1 and M2;
Step 3, the slope k 1 of calculating line segment (M0, M1) and the slope k 2 of line segment (M1, M2);
Step 4, the poor absolute value Q of slope calculations, Q=|k2-k1|;
Step 5, judge slope differences absolute value Q whether less than default threshold values δ, if, then enter step 6a, otherwise, enter step 6b, wherein threshold values δ sets as required, and threshold values δ is larger, and then data compression effect is better, but the data sensitive degree is lower; Threshold values δ is less, and then data compression effect is poorer, but the data sensitive degree is higher;
The corresponding sampled point Vi+1 of step 6a, cancellation M1 enters step 7;
Step 6b, the corresponding sampled point Vi of reservation M0 are labeled as M0 with the corresponding sampled point Vi+1 of M1, enter step 7;
Step 7, the corresponding sampled point Vi+2 of M2 is labeled as M1;
Step 8, judge whether all sampled points all are disposed, or judge whether sampling finishes, if not, then will with sampled point Vi+2 in time continuous sampled point Vi+3 be labeled as M2, return step 3 and continue to carry out.
2. a kind of electrocardiosignal as claimed in claim 1 is processed and data compression method, it is characterized in that: described sampled point obtains by described electrocardiosignal being carried out real-time sampling, then when carrying out described step 8, need only judge whether sampling finishes.
3. a kind of electrocardiosignal as claimed in claim 1 is processed and data compression method, it is characterized in that: also comprised before described step 1:
Described electrocardiosignal is sampled, acquisition is by N sampled point, sampled point arranged take the time as order obtained the sampled point sequence, begun carry out step 1 by first sampled point in the sampled point sequence, then when carrying out described step 8, need only judge whether all sampled points all are disposed.
4. a kind of electrocardiosignal as claimed in claim 1 is processed and data compression method, it is characterized in that: described threshold values δ ∈ (Δ k/10, Δ k/5), wherein, Δ k is that the slope of ECG P wave band is maximum poor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103907806A CN103040462A (en) | 2012-10-12 | 2012-10-12 | Electrocardiosignal processing and data compression method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103907806A CN103040462A (en) | 2012-10-12 | 2012-10-12 | Electrocardiosignal processing and data compression method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103040462A true CN103040462A (en) | 2013-04-17 |
Family
ID=48053484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103907806A Pending CN103040462A (en) | 2012-10-12 | 2012-10-12 | Electrocardiosignal processing and data compression method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103040462A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017096597A1 (en) * | 2015-12-10 | 2017-06-15 | 深圳市洛书和科技发展有限公司 | Method and device for processing electrocardio signals |
CN114358095A (en) * | 2022-03-18 | 2022-04-15 | 深圳市帝迈生物技术有限公司 | Pulse signal screening method and related device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0263599B1 (en) * | 1986-10-06 | 1993-04-14 | Telectronics N.V. | Ecg data compression for storage in a pacemaker memory |
US6061475A (en) * | 1998-03-20 | 2000-05-09 | Axcess, Inc. | Video compression apparatus and method |
CN102510287A (en) * | 2011-11-03 | 2012-06-20 | 电子科技大学 | Method for rapidly compressing industrial real-time data |
CN102664635A (en) * | 2012-03-06 | 2012-09-12 | 华中科技大学 | Precision-controlled self-adaptive data compression method |
-
2012
- 2012-10-12 CN CN2012103907806A patent/CN103040462A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0263599B1 (en) * | 1986-10-06 | 1993-04-14 | Telectronics N.V. | Ecg data compression for storage in a pacemaker memory |
US6061475A (en) * | 1998-03-20 | 2000-05-09 | Axcess, Inc. | Video compression apparatus and method |
CN102510287A (en) * | 2011-11-03 | 2012-06-20 | 电子科技大学 | Method for rapidly compressing industrial real-time data |
CN102664635A (en) * | 2012-03-06 | 2012-09-12 | 华中科技大学 | Precision-controlled self-adaptive data compression method |
Non-Patent Citations (1)
Title |
---|
刘可晶: "一种改进的矢量曲线数据压缩算法", 《甘肃科学学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017096597A1 (en) * | 2015-12-10 | 2017-06-15 | 深圳市洛书和科技发展有限公司 | Method and device for processing electrocardio signals |
CN114358095A (en) * | 2022-03-18 | 2022-04-15 | 深圳市帝迈生物技术有限公司 | Pulse signal screening method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107788969B (en) | Automatic detection method for QRS wave group in electrocardiosignal | |
CN109117730B (en) | Real-time electrocardiogram atrial fibrillation judgment method, device and system and storage medium | |
Faust et al. | Linear and non-linear analysis of cardiac health in diabetic subjects | |
Beyramienanlou et al. | An efficient teager energy operator-based automated QRS complex detection | |
Malek et al. | Automated detection of premature ventricular contraction in ECG signals using enhanced template matching algorithm | |
Lewandowski et al. | A simple real-time QRS detection algorithm utilizing curve-length concept with combined adaptive threshold for electrocardiogram signal classification | |
Singh et al. | Assessment of cardiac heart failure and cardiac artery disease by the higher order spectra | |
Suboh et al. | ECG-based detection and prediction models of sudden cardiac death: Current performances and new perspectives on signal processing techniques | |
Gospodinov et al. | Mathematical methods of ECG data analysis | |
Bashar et al. | Smartwatch based atrial fibrillation detection from photoplethysmography signals | |
Zhang et al. | An improved real-time R-wave detection efficient algorithm in exercise ECG signal analysis | |
KR101420345B1 (en) | System and Method for Detecting R Wave of ECG Signal based on SOM | |
CN103040462A (en) | Electrocardiosignal processing and data compression method | |
Haescher et al. | Transforming seismocardiograms into electrocardiograms by applying convolutional autoencoders | |
Hegde et al. | A review on ECG signal processing and HRV analysis | |
Razavi et al. | R-peak detection in electrocardiogram signals using continuous wavelet transform | |
CN114912521A (en) | Heart data processing method and device, computer equipment and storage medium | |
Kouekeu et al. | Embedded QRS complex detection based on ECG signal strength and trend | |
Lin et al. | A wavelet-based high-frequency analysis of fragmented QRS complexes in patients with myocardial infarction | |
Timothy et al. | Data preparation step for automated diagnosis based on HRV analysis and machine learning | |
Patil et al. | Evaluation of QRS complex based on DWT coefficients analysis using daubechies wavelets for detection of myocardial ischaemia | |
RU2624809C1 (en) | Method for electrocardio-signal processing for personal weared cardiomonitors | |
Yasmeen et al. | Detection of real time QRS complex using wavelet transform | |
Zhang et al. | Evaluation of single-lead ECG signal quality with different states of motion | |
Nankani et al. | R-peak detection from ECG signals using fractal based mathematical morphological operators |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130417 |