CN103549947A - Real-time and accurate electrocardiographic wave drawing method of smartphone platforms - Google Patents

Real-time and accurate electrocardiographic wave drawing method of smartphone platforms Download PDF

Info

Publication number
CN103549947A
CN103549947A CN201310511698.9A CN201310511698A CN103549947A CN 103549947 A CN103549947 A CN 103549947A CN 201310511698 A CN201310511698 A CN 201310511698A CN 103549947 A CN103549947 A CN 103549947A
Authority
CN
China
Prior art keywords
data
time
real
electrocardiographic
deltax
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
Application number
CN201310511698.9A
Other languages
Chinese (zh)
Inventor
梁康
孙迎
欧阳俭
韩雯晴
邓梅葵
颜景浩
宋健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201310511698.9A priority Critical patent/CN103549947A/en
Publication of CN103549947A publication Critical patent/CN103549947A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention relates to a real-time and accurate electrocardiographic wave drawing method of smartphone platforms. According to the real-time and accurate electrocardiographic wave drawing method of the smartphone platforms, an electrocardiographic detection device collects electrocardiographic signal data and transmits data to a smartphone through Bluetooth; the Android platform in the smartphone accurately draws an electrocardiogram in real time; after receiving, analyzing and filtering the Bluetooth data, the smartphone draws the electrocardiogram in real time, achieves accurate and real-time electrocardiographic wave drawing of the Android platform through electrocardiographic detection signal sampling frequency, electrocardiographic wave drawing standard time interval represented by drawing areas, and the actual width of the drawing areas, and meanwhile stores the electrocardiographic data into txt (text) files for subsequent checking and analyzing. The real-time and accurate electrocardiographic wave drawing method of the smartphone platforms achieves real-time and accurate electrocardiographic wave drawing on the Android platforms of the smartphones, improves the accuracy of electrocardiographic wave drawing on the smartphone platforms and achieves the effects of complete coincidence of measured data, electrocardiographic curve drawing and time nominal value.

Description

The in real time accurate method for drafting of intelligent mobile phone platform electrocardiographic wave
Technical field
The present invention relates to a kind of processing and transmission technology of electrocardiosignal, particularly the in real time accurate method for drafting of a kind of intelligent mobile phone platform electrocardiographic wave.
Background technology
Electrocardiogram is that heart is in each cardiac cycle, in succession excited by its wave point, atrium, ventricle, being accompanied by the bioelectric variation of electrocardiogram, drawing the figure of the potential change of various ways by electrocardiograph from body surface, is the objective indicator of transmission, propagation and the recovery process of heart excitement.
At present, use smart mobile phone to detect the application of electrocardiographic wave less, and the accurate current actual measurement waveform of real-time rendering user mostly, the figure of its drafting is also only approximate waveform, or the waveform after artificial treatment, accuracy rate is lower.Therefore, develop a kind of application program of accurately drawing in real time electrocardiographic wave and seem particularly important.
Summary of the invention
The present invention be directed to application smart mobile phone and detect electrocardiogram and draw the problem that accuracy rate is low, proposed the in real time accurate method for drafting of a kind of intelligent mobile phone platform electrocardiographic wave, can accurately draw in real time electrocardiogram by smart mobile phone.
Technical scheme of the present invention is: the in real time accurate method for drafting of a kind of intelligent mobile phone platform electrocardiographic wave, electrocardio checkout equipment gathers ecg signal data and sends in smart mobile phone by bluetooth, in smart mobile phone, Android platform is accurately drawn electrocardiogram in real time, smart mobile phone receives after Bluetooth transmission data, to data resolve, after filtering, carry out real-time drawing function, draw and specifically comprise the steps:
1) sample frequency of establishing electrocardio detection signal is fs, for storing the array of the required electrocardiogram (ECG) data of drawing, be ch_data, the ecg wave form time of the drawing area domain representation of intelligent mobile phone platform is sec, the width in picture region is width, picture region height is height, according to the little lattice time on standard cardioelectric drawing, be 0.04 second and five little lattice times to be that the width of 0.2 second is respectively side and side5, every two is deltax for the horizontal range between the electrocardiogram (ECG) data point of drawing, after setting the value of deltax, there is following formula:
side5= deltax*fs/5
side=side5/5= deltax*fs/25
2) according to Width Formula of Rib Knitted Fabric in step 1), at whole drawing area, draw the grid coordinates of electrocardiograph paper, each little lattice x direction indication of grid coordinates 0.04 second, 0.1 millivolt of y direction indication, implementation method is:
At whole drawing area, every side width, draw straight line respectively with y direction in the x-direction, until paint completely whole drawing area.Detailed process is: establish i, j is control variable, and initial value is 0, and first with segment link point (i, 0) and point (i, height), after completing, i, from increasing 1, continues 2 processes that i increases certainly simultaneously of this connection, until i=width finishes; Then with segment link point, (0, j) with point (width, j), after completing, j, from increasing 1, continues 2 processes that j increases certainly simultaneously of this connection, until j=height finishes;
3) in existing standard cardioelectric grid coordinates, the array in ch_data is plotted in region successively, method is as follows:
In x direction, respectively every the distance of deltax, determine the distance of every two consecutive number strong points in x direction, simultaneously according to the size of the value of data point, in y direction, determine this position in y direction; By two adjacent data points of segment link, finally obtain complete ecg wave form figure; Detailed process is: establish x, k is control variable, initial value is 0, first with segment link point (x, ch_data[k]) and point (x+deltax, ch_data[k+1]), after completing, k is from increasing 1, x increases deltax, continues 2 of this connections processes that k, x increase simultaneously, until finish when x=width-deltax.
Beneficial effect of the present invention is: the in real time accurate method for drafting of intelligent mobile phone platform electrocardiographic wave of the present invention, the ecg signal data of electrocardio checkout equipment collection is sent to intelligent mobile phone platform by bluetooth, intelligent mobile phone platform is resolved data after receiving Bluetooth transmission data, filtering, in smart mobile phone, on Android platform, pass through the sample frequency of electrocardio detection signal and given drawing spacing, realized and on smart mobile phone Android platform, drawn accurately in real time Electrocardiographic waveform, improved the accuracy of drawing electrocardiographic wave on intelligent mobile phone platform, having reached measured data and ecg curve draws, the effect fitting like a glove between time nominal value.
Accompanying drawing explanation
Fig. 1 is the in real time accurate drawing principle block diagram of intelligent mobile phone platform electrocardiographic wave of the present invention;
Fig. 2 is Android program overhaul flow chart of the present invention;
Fig. 3 is Android program real-time rendering electrocardiographic wave figure of the present invention.
The specific embodiment
The present invention is a kind of based on the in real time accurate method for drafting of intelligent mobile phone platform electrocardiographic wave, the real-time accurately drawing principle block diagram of intelligent mobile phone platform electrocardiographic wave as shown in Figure 1, electrocardio checkout equipment gathers ecg signal data and sends in smart mobile phone by bluetooth, and in smart mobile phone, Android platform is accurately drawn electrocardiogram in real time.Android program overhaul flow chart as shown in Figure 2, smart mobile phone receives after Bluetooth transmission data, and data are resolved, after filtering, carried out real-time drawing function, electrocardiogram (ECG) data is saved as to txt file simultaneously and carries out data storage, in order to looking back, checks and later analysis.
The standard time interval of drawing by the ecg wave form of electrocardio detection signal sample frequency, drawing area domain representation, the developed width in picture region carry out the accurate real-time rendering of the ecg wave form of Android platform, during drawing, use the canvas.drawline function of the SurfaceView control of intelligence system to draw, accompanying drawing 3 is seen at interface.Plotting mode has two kinds: erasing type and roller.Erasing type is drawn as drawing from left to right after a full screen, then circulation is drawn from left to right; Roller, for after drawing from left to right a full screen, removes the legacy data on the left side, and waveform integral body moves to left, and draws on the right new data simultaneously, realizes rolling effect.Comprise following concrete steps:
A: the sample frequency of establishing electrocardio detection signal is fs, for storing the array of the required electrocardiogram (ECG) data of drawing, be ch_data, the ecg wave form time of the drawing area domain representation of intelligent mobile phone platform is sec, the width in picture region is width, picture region height is height, width according to a little lattice time (0.04 second) on standard cardioelectric drawing and five little lattice times (0.2 second) is respectively side and side5, every two is deltax for the horizontal range between the electrocardiogram (ECG) data point of drawing, after setting the value of deltax, there is following formula:
side5= deltax*fs/5 (1)
side=side5/5= deltax*fs/25 (2)
B: according to formula (2), draw the grid coordinates of electrocardiograph paper at whole drawing area: each little lattice x direction indication of grid coordinates 0.04 second, 0.1 millivolt of y direction indication, implementation method is:
At whole drawing area, every side width, draw straight line respectively with y direction in the x-direction, until paint completely whole drawing area.Detailed process is: establish i, j is control variable, and initial value is 0, and first with segment link point (i, 0) and point (i, height), after completing, i, from increasing 1, continues 2 processes that i increases certainly simultaneously of this connection, until i=width finishes; Then with segment link point, (0, j) with point (width, j), after completing, j, from increasing 1, continues 2 processes that j increases certainly simultaneously of this connection, until j=height finishes;
C: in existing standard cardioelectric grid coordinates, the array in ch_data is plotted in region successively, method is as follows:
In x direction, respectively every the distance of deltax, determine the distance of every two consecutive number strong points in x direction, simultaneously according to the size of the value of data point, in y direction, determine this position in y direction.By two adjacent data points of segment link, finally obtain complete ecg wave form figure.Detailed process is: establish x, k is control variable, initial value is 0, first with segment link point (x, ch_data[k]) and point (x+deltax, ch_data[k+1]), after completing, k is from increasing 1, x increases deltax, continues 2 of this connections processes that k, x increase simultaneously, until finish when x=width-deltax.

Claims (1)

1. an intelligent mobile phone platform electrocardiographic wave accurate method for drafting in real time, electrocardio checkout equipment gathers ecg signal data and sends in smart mobile phone by bluetooth, in smart mobile phone, Android platform is accurately drawn electrocardiogram in real time, smart mobile phone receives after Bluetooth transmission data, to data resolve, after filtering, carry out real-time drawing function, it is characterized in that, draw and specifically comprise the steps:
1) sample frequency of establishing electrocardio detection signal is fs, for storing the array of the required electrocardiogram (ECG) data of drawing, be ch_data, the ecg wave form time of the drawing area domain representation of intelligent mobile phone platform is sec, the width in picture region is width, the height in picture region is height, according to the little lattice time on standard cardioelectric drawing, be 0.04 second and five little lattice times to be that the width of 0.2 second is respectively side and side5, every two is deltax for the horizontal range between the electrocardiogram (ECG) data point of drawing, after setting the value of deltax, there is following formula:
side5= deltax*fs/5
side=side5/5= deltax*fs/25
2) according to Width Formula of Rib Knitted Fabric in step 1), at whole drawing area, draw the grid coordinates of electrocardiograph paper, each little lattice x direction indication of grid coordinates 0.04 second, 0.1 millivolt of y direction indication, implementation method is:
At whole drawing area, every side width, draw straight line respectively with y direction in the x-direction, until paint completely whole drawing area;
Detailed process is: establish i, j is control variable, and initial value is 0, and first with segment link point (i, 0) and point (i, height), after completing, i, from increasing 1, continues 2 processes that i increases certainly simultaneously of this connection, until i=width finishes; Then with segment link point, (0, j) with point (width, j), after completing, j, from increasing 1, continues 2 processes that j increases certainly simultaneously of this connection, until j=height finishes;
3) in existing standard cardioelectric grid coordinates, the array in ch_data is plotted in region successively, method is as follows:
In x direction, respectively every the distance of deltax, determine the distance of every two consecutive number strong points in x direction, simultaneously according to the size of the value of data point, in y direction, determine this position in y direction; By two adjacent data points of segment link, finally obtain complete ecg wave form figure; Detailed process is: establish x, k is control variable, initial value is 0, first with segment link point (x, ch_data[k]) and point (x+deltax, ch_data[k+1]), after completing, k is from increasing 1, x increases deltax, continues 2 of this connections processes that k, x increase simultaneously, until finish when x=width-deltax.
CN201310511698.9A 2013-10-28 2013-10-28 Real-time and accurate electrocardiographic wave drawing method of smartphone platforms Pending CN103549947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310511698.9A CN103549947A (en) 2013-10-28 2013-10-28 Real-time and accurate electrocardiographic wave drawing method of smartphone platforms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310511698.9A CN103549947A (en) 2013-10-28 2013-10-28 Real-time and accurate electrocardiographic wave drawing method of smartphone platforms

Publications (1)

Publication Number Publication Date
CN103549947A true CN103549947A (en) 2014-02-05

Family

ID=50004444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310511698.9A Pending CN103549947A (en) 2013-10-28 2013-10-28 Real-time and accurate electrocardiographic wave drawing method of smartphone platforms

Country Status (1)

Country Link
CN (1) CN103549947A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103989470A (en) * 2014-05-30 2014-08-20 中国科学院微电子研究所 Electrocardiosignal collection device, dynamic electrocardiograph, dynamic electrocardiogram system and signal transmission method
CN103989480A (en) * 2014-06-12 2014-08-20 福州大学 Knee osteoarthritis motion monitoring method based on Android system
CN105869197A (en) * 2016-04-12 2016-08-17 珠海市宏邦医疗科技有限公司 Method for automatically adjusting baseline output position in drawing of multichannel electrocardiogram waveform
CN110755063A (en) * 2018-10-06 2020-02-07 江苏创越医疗科技有限公司 Low-delay electrocardiogram drawing method
WO2021218389A1 (en) * 2020-04-30 2021-11-04 京东方科技集团股份有限公司 Drawing method, analysis method, drawing apparatus, mobile terminal, and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙迎 等: "基于Android的远程心电检测系统", 《计算机应用与软件》 *
陈程: "基于ZigBee技术的心电监护系统软件研究与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103989470A (en) * 2014-05-30 2014-08-20 中国科学院微电子研究所 Electrocardiosignal collection device, dynamic electrocardiograph, dynamic electrocardiogram system and signal transmission method
CN103989470B (en) * 2014-05-30 2016-01-27 中国科学院微电子研究所 Ecg signal acquiring equipment, dynamic cardiograph, system and method for transmitting signals
CN103989480A (en) * 2014-06-12 2014-08-20 福州大学 Knee osteoarthritis motion monitoring method based on Android system
CN103989480B (en) * 2014-06-12 2016-05-04 福州大学 Knee osteoarthritis motion monitoring method based on Android system
CN105869197A (en) * 2016-04-12 2016-08-17 珠海市宏邦医疗科技有限公司 Method for automatically adjusting baseline output position in drawing of multichannel electrocardiogram waveform
CN110755063A (en) * 2018-10-06 2020-02-07 江苏创越医疗科技有限公司 Low-delay electrocardiogram drawing method
WO2021218389A1 (en) * 2020-04-30 2021-11-04 京东方科技集团股份有限公司 Drawing method, analysis method, drawing apparatus, mobile terminal, and storage medium
CN113662555A (en) * 2020-04-30 2021-11-19 京东方科技集团股份有限公司 Drawing method, analysis method, drawing device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN103584854B (en) Extraction method of electrocardiosignal R waves
CN103989462B (en) The extracting method of a kind of pulse wave fisrt feature point and second feature point
CN101828918B (en) Electrocardiosignal R peak detection method based on waveform characteristic matching
CN103549947A (en) Real-time and accurate electrocardiographic wave drawing method of smartphone platforms
CN102835954B (en) Method for generating heart beating waveform template and treating ventricular premature beat detection and device
CN111553307B (en) Gesture recognition system fusing bioelectrical impedance information and myoelectric information
CN105748051A (en) Blood pressure measuring method and device
CN105030233A (en) Method for recognizing ST segment of electrocardiosignal
CN103654770A (en) Method and device for real-time detection of moving electrocardiosignal QRS (magnetic resonance angiography) waves
CN103549948A (en) Cardiac activation time detection
CN103810393A (en) Electrocardial waveform feature point locating method based on electrocardial vectors
CN103126669B (en) Method of improving wave form drawing accuracy degree and drawing method and device applied method
WO2018082190A1 (en) Ecg signal processing method and apparatus
CN105769173A (en) Electrocardiogram monitoring system with electrocardiosignal denoising function
CN107273827B (en) Electrocardiosignal R wave detection method and device
CN103892826A (en) Method and device for heart rate analysis based on electrocardiogram
CN203054093U (en) Apparatus for extracting DC (direct current) signal from mixed signal by using synchronous sampling
CN105411579B (en) A kind of electrocardiogram R wave detection method and device
CN112869733A (en) Real-time heart beat interval measuring and calculating method for ballistocardiogram
CN103083011B (en) Electrocardio R wave crest real-time locating method assisted by chest impedance second order difference image
CN110236538B (en) Automatic real-time detection method for motion starting point based on electromyographic signal
CN109875550A (en) A kind of sequences of ventricular depolarization critical point detection method
CN104352234A (en) Detection method for peak singular point of physiologic electric signal
CN106214143B (en) Transient motion interference identification method and heart rate confidence calculations method
CN108957120A (en) A kind of weak signal extraction and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20140205