CN103202691A - Method and device for improving electrocardiogram waveform data printing efficiency - Google Patents
Method and device for improving electrocardiogram waveform data printing efficiency Download PDFInfo
- Publication number
- CN103202691A CN103202691A CN2013100913551A CN201310091355A CN103202691A CN 103202691 A CN103202691 A CN 103202691A CN 2013100913551 A CN2013100913551 A CN 2013100913551A CN 201310091355 A CN201310091355 A CN 201310091355A CN 103202691 A CN103202691 A CN 103202691A
- Authority
- CN
- China
- Prior art keywords
- waveform data
- printing
- module
- ecg waveform
- preset
- 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.)
- Granted
Links
- 238000007639 printing Methods 0.000 title claims abstract description 60
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000005070 sampling Methods 0.000 claims description 41
- 238000007651 thermal printing Methods 0.000 claims description 17
- 238000007781 pre-processing Methods 0.000 claims description 5
- 238000003491 array Methods 0.000 claims 1
- 238000000605 extraction Methods 0.000 abstract description 4
- 230000002035 prolonged effect Effects 0.000 abstract 1
- 230000000694 effects Effects 0.000 description 24
- 238000001914 filtration Methods 0.000 description 5
- 230000002950 deficient Effects 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000036772 blood pressure Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
Images
Landscapes
- Electronic Switches (AREA)
Abstract
The invention relates to the processing and controlling field of electrocardiogram signal printing, and particularly relates to a method and device for improving an electrocardiogram waveform data printing efficiency. According to the technical scheme provided by the invention, judgment of the point number for a printed waveform is carried out by setting a threshold value of the printing point number to further realize point extraction process, so that the printing power can be controlled, and a thermo-sensitive head is protected from being overheated due to the printing; and meanwhile, the repeated printing time number can be reduced, and the service life of the printing head can be prolonged.
Description
Technical field
The present invention relates to processing and control field that electrocardiosignal is printed, relate in particular to a kind of method and device that improves the EGC waveform data printing effect
Background technology
At medical detection field, Wave data has great significance, by gathering the Wave data that characterizes physiological signal in real time, for follow-up date processing, analysis and calculating provide strong support.
At present, prior art is used the thermal photography electrocardiogram (ECG) data, all data that collect all is sent to thermal head carries out record.
Dot density with thermal printing head is that 8 dots/mm are example, the general vertical printing of printhead, 1mm can print 8 points at most on the thermal head dot density is 8 dots/mm, and temperature-sensitive report just is vertical, 1mm prints on 8 dot printing effects and has namely connected together, and differentiates not open.
The heat generating spot of thermal printing head is evenly heating, can laterally show at paper owing to paper feed, printing effect is same as vertically in this case, temperature-sensitive is reported transversely and is printed 8 points in the 1mm so, also connect together from printing effect, can occur printing overlapping more than 8 points, printing effect is to differentiate not open these points, and just the color that can present is darker.
Put us as can be seen based on this, prior art record electrocardiogram (ECG) data, the data of printing certain distance (such as, surpass 1mm) certain counting (such as, 8) time, have the situation of duplicate record, so both shortened the life-span of thermal head, and also wasted resource and reduced efficient.
Therefore, there is defective in prior art
Summary of the invention
For overcoming above-mentioned defective, purpose of the present invention namely is a kind of method and device that improves the EGC waveform data printing effect.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method that improves the EGC waveform data printing effect comprises the steps:
Step 1 stores the EGC waveform data of gathering into data buffer zone;
Step 2 calculates the sampling number of presetting in the duration according to the EGC waveform data sample rate that presets;
Step 3 judges the efficiently sampling in the default duration counts whether surpass the default threshold value of counting;
Step 4 if surpass the default threshold value of counting, is then counted to the efficiently sampling in the default duration and is taken out a processing;
Step 5, if do not surpass the default threshold value of counting, then thermal printing head is printed EGC waveform data.
Further, described step 4 also comprises, takes out and returns step 4 again after a little finishing dealing with.
Further, before the described step 1, also comprise the EGC waveform data that collects is carried out pretreated step.
Further, after the described step 2, comprise that also setting up columns is the step of the EGC waveform data two-dimensional array of the sampling number in the default duration.
Further, described step 3 also comprises, two-dimensional array is traveled through by row, judges whether the significant wave graphic data of each row surpasses the step of the default threshold value of counting.
Further, described step 4 is described takes out a processing, comprises from row first opening the beginning, carries out the pointwise counting up to reaching the threshold range of counting at the significant wave graphic data, and remaining Wave data is then deleted and do not printed.
Further, described step 4 is described takes out a processing, comprises from end of line, carries out the pointwise counting up to reaching the threshold range of counting at the significant wave graphic data, and remaining Wave data is then deleted and do not printed.
Further, described step 4 is described takes out a processing, comprises and randomly draw the significant wave graphic data up to reaching the threshold range of counting that remaining Wave data is then deleted and do not printed.
A kind of device that improves the EGC waveform data printing effect comprises:
The Wave data acquisition module is used for gathering EGC waveform data;
The Wave data buffer module is connected with described Wave data acquisition module, and the EGC waveform data that is used for gathering stores the data buffer zone into;
The sampling number computing module is connected with described Wave data buffer module, is used for calculating the interior sampling number of default duration according to the EGC waveform data sample rate that presets;
The threshold decision of counting module is connected with described sampling number computing module, is used for judging the efficiently sampling in the default duration counts whether surpass the default threshold value of counting;
Wave data is taken out point module, is connected with the described threshold decision module of counting, and is used for surpassing default counting during threshold value when judging, counts and takes out a processing presetting efficiently sampling in the duration;
The thermal printing module is connected with the described threshold decision module of counting, and is used for default counting during threshold value thermal printing head printing EGC waveform data when judging not surpass.
Further, described a kind of device that improves the EGC waveform data printing effect also comprises:
The Wave data pre-processing module is connected with the Wave data buffer module with described Wave data acquisition module, is used for the EGC waveform data that collects is carried out pretreatment;
Two-dimensional array is set up module, is connected with the threshold decision module of counting with described sampling number computing module, is used for setting up columns and is the EGC waveform data two-dimensional array of the sampling number in the default duration.
Technical scheme provided by the present invention is printed the threshold value of counting and is reached the waveform of printing counted and judge and then realize taking out a processing by arranging, thereby can control printing power, and the protection thermal head is not overheated because of printing; Simultaneously can reduce the duplicate printing number of times, prolong print head longevity.
Description of drawings
In order to be easy to explanation, the present invention is done to describe in detail by following preferred embodiment and accompanying drawing.
Fig. 1 is an a kind of embodiment sketch map that improves the method for EGC waveform data printing effect of the present invention;
Fig. 2 is a kind of another embodiment sketch map that improves the method for EGC waveform data printing effect of the present invention;
Fig. 3 is an a kind of embodiment sketch map that improves the device of EGC waveform data printing effect of the present invention;
Fig. 4 is a kind of another embodiment sketch map that improves the device of EGC waveform data printing effect of the present invention;
The specific embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
The technical scheme that be used for to improve the Wave data printing effect realizes comprising that mainly host computer and slave computer, slave computer mainly are to obtain signal, through hardware filtering etc. data handled then; Host computer mainly is the data of accepting from slave computer, carries out pretreatment, is stored to the data buffer zone then and takes out a processing, outputs to thermal printing head at last, the main methods flow process as shown in Figure 1:
101, gather EGC waveform data;
Slave computer is gathered EGC waveform data in scheduled duration, after generally handling through hardware filtering etc., Wave data do not stopped paying out give host computer.
102, store the EGC waveform data of gathering into data buffer zone;
EGC waveform data leaves that user front end is used for storing, the object of manipulation data in, also is in the data buffer zone.
103, calculate the interior sampling number of default duration according to the EGC waveform data sample rate that presets;
Such as, the sample rate 1000Hz of EGC waveform data, when default duration was 50ms, counting of gathering in the default duration was 1000*0.05=50 point.
104, do you judge the efficiently sampling in the default duration counts whether surpass the default threshold value of counting?
The general vertical printing of thermal printing head, 1mm can print D point at most on the thermal head dot density is D (dots/mm), and temperature-sensitive report just is vertical; The heat generating spot of thermal printing head is evenly to generate heat, and can show at paper laterally that owing to paper feed printing effect is same as vertically in this case, and temperature-sensitive reports that transversely interior printing of 1mm may be limited to D point so, and is overlapping more than D some meeting appearance printing.Therefore, the threshold value of counting can be by the thermal head dot density, and default chart drive speed and Preset Time get.Such as: when the dot density of thermal head specification is D (Dots/mm), when chart drive speed is V (mm/s), Preset Time is t (s), the threshold value of then counting is D*V*t, can certainly experimental result and effect set the dot density of suitable thermal head, determine the threshold value of counting jointly according to chart drive speed and Preset Time again;
Can go to judge to be valid data or invalid data according to the size of data, type etc. for the general data of gathering of each sampled point.
If 105 judge above the default threshold value of counting, then the efficiently sampling in the default duration is counted and take out a processing;
Take out a processing, the number of restriction significant wave graphic data is in the threshold range of counting, the mode of taking out a processing is a lot, such as, can start anew to extract, begin to extract, randomly draw, extract or extract with a threshold range of the difference of adjacent data with certain data size thresholds scope from tail; Again returning step 104 after extraction is finished dealing with judges.
If 106 judge that then thermal printing head is printed EGC waveform data not above the default threshold value of counting;
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.As shown in Figure 2, a kind of another embodiment that improves the method for EGC waveform data printing effect of the present invention specifically describes as follows:
201, gather EGC waveform data;
Slave computer is gathered EGC waveform data in scheduled duration, after generally handling through hardware filtering etc., Wave data do not stopped paying out give host computer.
202, the EGC waveform data that collects is carried out pretreatment;
Wave data is carried out following pretreatment: data transaction, high-pass filtering, low-pass filtering, ac filter.Obtain disturbing less Wave data by pretreatment.
Certainly, pretreated method also has a lot, such as differentiate, and integration, datum mark location etc.
203, store pretreated EGC waveform data into data buffer zone;
EGC waveform data leaves that user front end is used for storing, the object of manipulation data in, also is in the data buffer zone.
204, calculate the interior sampling number of default duration according to the EGC waveform data sample rate that presets;
Such as, the sample rate 1000Hz of EGC waveform data, when default duration was 50ms, counting of gathering in the default duration was 1000*0.05=50 point.
205, set up columns and be the EGC waveform data two-dimensional array of the sampling number in the default duration;
Set up two-dimensional array, total columns of array is the sampling number in the Preset Time, total line number of array is preferably smaller or equal to counting that the multipotency in the vertical of thermal head is printed, because the restriction of thermal printing head length, therefore the length of printing in the vertical also has its fixing scope, and the data that need to print will could be printed in this scope fully; Set up the more convenient follow-up data pick-up of two-dimensional array and printout, improved the efficient of work; Certainly, can also other storage data and analysis mode, such as realizing by array pointer.
206, two-dimensional array is traveled through by row, judge whether the significant wave graphic data of each row surpasses the default threshold value of counting?
The general vertical printing of thermal printing head, 1mm can print D point at most on the thermal head dot density is D (dots/mm), and temperature-sensitive report just is vertical; The heat generating spot of thermal printing head is evenly to generate heat, and can show at paper laterally that owing to paper feed printing effect is same as vertically in this case, and temperature-sensitive reports that transversely interior printing of 1mm may be limited to D point so, and is overlapping more than D some meeting appearance printing.Therefore, the threshold value of counting can be by the thermal head dot density, and default chart drive speed and Preset Time get.Such as: when the dot density of thermal head specification is D (Dots/mm), when chart drive speed is V (mm/s), Preset Time is t (s), the threshold value of then counting is D*V*t, can certainly experimental result and effect set the dot density of suitable thermal head, determine the threshold value of counting jointly according to chart drive speed and Preset Time again;
Can go to judge to be valid data or invalid data according to the size of data, type etc. for the general data of gathering of each sampled point.
If 207 judge above the default threshold value of counting, then each row significant wave graphic data is taken out a processing;
Two-dimensional array is traveled through by row, when outnumbering of certain delegation's significant wave graphic data counted threshold value, take out a processing, the number of restriction significant wave graphic data is in the threshold range of counting;
Because for taking out a little of two-dimensional array element, carry out with behavior unit, the method for extraction is exemplified below:
1) first open the beginning from row, carry out the pointwise counting up to reaching the threshold range of counting at the significant wave graphic data, remaining Wave data is then deleted and is not printed;
2) from end of line, carry out the pointwise counting up to reaching the threshold range of counting at the significant wave graphic data, remaining Wave data is then deleted and is not printed;
3) randomly draw the significant wave graphic data up to reaching the threshold range of counting, remaining Wave data is then deleted and is not printed;
Followingly carry out simple declaration for example:
When chart drive speed is 5mm/s, printhead dot density 8 dots/mm, the printhead heat generating spot adds up to 24 dots(thermal printing heads and vertically goes up the length of printing), sample rate 1000Hz, when Preset Time is 50ms, the Preset Time collection is counted to 1000*0.05=50 point, sets up two-dimensional array a[50] [24], array all elements initial value is 0; The threshold value of counting can be 8*5*0.05=2 point;
The data of gathering in the Preset Time are stored in the above-mentioned two-dimensional array, are 10 as the data amplitude of gathering at the 1st (ms), so with a[0] [9] be set to 1, and namely being labeled as needs to print;
To two-dimensional array a[50] [24] carry out by row traversal, when a certain row element be 1 outnumber 2 somes the time, take out a processing, the element number that limits every behavior 1 is being 2;
As second row element being traveled through a[0] [1], a[1] [1] ..., a[49] and [1], be that 1 element sum has surpassed the threshold value 2 of counting when counting on, then need to take out a processing, the element that limits this behavior 1 adds up to 2;
The method of taking out a processing is as follows:
1) a[0 can be set] [1], a[1] [1] be 1, the remainder group element is set to 0 in the row;
2) a[48 can be set] [1], a[49] [1] be 1, the remainder group element is set to 0 in the row;
3) randomly drawing two elements is 1, as a[12 is set] [1], a[26] [1] be 1, the remainder group element is set to 0 in the row;
Certainly can also be other the point mode of taking out, described in step 105.
Again returning step 206 after extraction is finished dealing with judges.
If 208 judge that then thermal printing head is printed EGC waveform data not above the default threshold value of counting;
An a kind of embodiment sketch map that improves the device of EGC waveform data printing effect of the present invention as shown in Figure 3, specifically describes as follows:
A kind of device that improves the EGC waveform data printing effect comprises:
Wave data acquisition module 301 is used for gathering EGC waveform data;
Wave data buffer module 302 is connected with described Wave data acquisition module 301, and the EGC waveform data that is used for gathering stores the data buffer zone into;
Sampling number computing module 303 is connected with described Wave data buffer module 302, is used for calculating the interior sampling number of default duration according to the EGC waveform data sample rate that presets;
The threshold decision of counting module 304 is connected with described sampling number computing module 303, is used for judging the efficiently sampling in the default duration counts whether surpass the default threshold value of counting;
Wave data is taken out point module 305, is connected with the described threshold decision module 304 of counting, and is used for surpassing default counting during threshold value when judging, counts and takes out a processing presetting efficiently sampling in the duration;
In order to make purpose of the present invention, technical scheme and advantage clearer, a kind of another embodiment sketch map that improves the device of EGC waveform data printing effect of the present invention as shown in Figure 4, specifically describes as follows:
A kind of device that improves the EGC waveform data printing effect also comprises:
Wave data pre-processing module 307 is connected with Wave data buffer module 302 with described Wave data acquisition module 301, is used for the EGC waveform data that collects is carried out pretreatment;
Two-dimensional array is set up module 308, is connected with the threshold decision module 304 of counting with described sampling number computing module 303, is used for setting up columns and is the EGC waveform data two-dimensional array of the sampling number in the default duration;
The above only is preferred embodiment of the present invention; not in order to limit the present invention; such as; EGC waveform data of the present invention also can be EGC waveform data, blood oxygen Wave data, blood pressure waveform data etc.; all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310091355.1A CN103202691B (en) | 2013-03-21 | 2013-03-21 | Method and device for improving electrocardiogram waveform data printing efficiency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310091355.1A CN103202691B (en) | 2013-03-21 | 2013-03-21 | Method and device for improving electrocardiogram waveform data printing efficiency |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103202691A true CN103202691A (en) | 2013-07-17 |
CN103202691B CN103202691B (en) | 2014-12-10 |
Family
ID=48750262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310091355.1A Expired - Fee Related CN103202691B (en) | 2013-03-21 | 2013-03-21 | Method and device for improving electrocardiogram waveform data printing efficiency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103202691B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108065930A (en) * | 2016-11-08 | 2018-05-25 | 上海光电医用电子仪器有限公司 | A kind of quick inspection method of electrocardiogram |
CN114706539A (en) * | 2021-07-08 | 2022-07-05 | 康泰医学系统(秦皇岛)股份有限公司 | A data printing method, apparatus, device and readable storage medium |
CN115635776A (en) * | 2022-10-26 | 2023-01-24 | 乐普医学电子仪器股份有限公司 | A thermal printer-based electrocardiogram printing control method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4951681A (en) * | 1988-11-14 | 1990-08-28 | Mortara Instrument | Electrocardiographic recording method and apparatus |
CN1385304A (en) * | 2001-05-15 | 2002-12-18 | 佳能株式会社 | Ink-jet printer and method, program and computer readable memory medium |
CN1579765A (en) * | 2003-07-31 | 2005-02-16 | 佳能株式会社 | Printing apparatus and printing method |
CN1600554A (en) * | 2003-09-26 | 2005-03-30 | 兄弟工业株式会社 | Thermal printing device and printing method |
US20090066778A1 (en) * | 2005-07-25 | 2009-03-12 | Akira Koyabu | Thermal printer, thermal printer control method, and printing system |
-
2013
- 2013-03-21 CN CN201310091355.1A patent/CN103202691B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4951681A (en) * | 1988-11-14 | 1990-08-28 | Mortara Instrument | Electrocardiographic recording method and apparatus |
CN1385304A (en) * | 2001-05-15 | 2002-12-18 | 佳能株式会社 | Ink-jet printer and method, program and computer readable memory medium |
CN1579765A (en) * | 2003-07-31 | 2005-02-16 | 佳能株式会社 | Printing apparatus and printing method |
CN1600554A (en) * | 2003-09-26 | 2005-03-30 | 兄弟工业株式会社 | Thermal printing device and printing method |
US20090066778A1 (en) * | 2005-07-25 | 2009-03-12 | Akira Koyabu | Thermal printer, thermal printer control method, and printing system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108065930A (en) * | 2016-11-08 | 2018-05-25 | 上海光电医用电子仪器有限公司 | A kind of quick inspection method of electrocardiogram |
CN108065930B (en) * | 2016-11-08 | 2020-12-25 | 上海光电医用电子仪器有限公司 | Quick electrocardiogram checking method |
CN114706539A (en) * | 2021-07-08 | 2022-07-05 | 康泰医学系统(秦皇岛)股份有限公司 | A data printing method, apparatus, device and readable storage medium |
CN114706539B (en) * | 2021-07-08 | 2024-11-08 | 康泰医学系统(秦皇岛)股份有限公司 | Data printing method, device, equipment and readable storage medium |
CN115635776A (en) * | 2022-10-26 | 2023-01-24 | 乐普医学电子仪器股份有限公司 | A thermal printer-based electrocardiogram printing control method and system |
CN115635776B (en) * | 2022-10-26 | 2025-04-25 | 乐普医学电子仪器股份有限公司 | Electrocardiogram printing control method and system based on thermal printer |
Also Published As
Publication number | Publication date |
---|---|
CN103202691B (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1914624A3 (en) | Storage apparatus and setting method for the same | |
CN103202691A (en) | Method and device for improving electrocardiogram waveform data printing efficiency | |
CN106166065B (en) | A social network-based wearable ECG health interaction platform and its implementation method | |
CN111331211B (en) | On-line penetration detection method and penetration detection system for EDM small hole machining | |
CN110211152A (en) | A kind of endoscopic instrument tracking based on machine vision | |
CN109558041B (en) | A method for collecting, processing and transmitting tip clearance signals based on GPU acceleration | |
JP2014171677A (en) | Electrocardiogram data processing device and controlling method thereof | |
CN104464094B (en) | The self-service devices and methods therefor for selling morbidity almanac | |
CN208689628U (en) | Multifunctional attendance machine | |
CN204331605U (en) | A kind of dust protected multi-action computer main frame | |
CN203059669U (en) | Medical electronic pulse-taking device | |
CN208400152U (en) | A kind of self-service acquisition apparatus of foreigner's biological characteristic | |
CN205268459U (en) | Portable medical care recorder with immediately, print function | |
CN106608118B (en) | Double-sided printing control method and device | |
CN206282306U (en) | A kind of palmmprint gathers all-in-one | |
CN114860176A (en) | Sharing office intelligent printing online monitoring analysis management system based on visualization | |
CN205433680U (en) | Electrocardiograph of exportable bitmap electrocardio report | |
CN206812665U (en) | A kind of writing implement for track record adaptively adjusted | |
CN207718176U (en) | The simulation cutter of thorn movement and mechanical index is cut in a kind of measurement | |
CN209197801U (en) | A temperature and multi-parameter hybrid grain detection system | |
CN205139927U (en) | Device management device based on two -dimensional code | |
CN205736449U (en) | A kind of novel electrocardio thermal printing system | |
CN208596417U (en) | One kind preventing the number of taking queuing systems more | |
CN203799430U (en) | Integrated note reading and fingerprint acquisition device | |
CN100573429C (en) | Digital image collection type hand-written input device and input method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141210 |