A method and system for controlling electrocardiogram printing based on thermal printer
By periodically receiving and parsing ECG data in a thermal printer, filtering and filling data containing event markers into the printing buffer, the problems of inaccurate time reference and missing event markers when printing ECGs are solved, and data accuracy and reliability are improved.
Patent Information
- Application Number
- CN202211320159.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-26
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-10-26
AI Technical Summary
When printing an ECG, the printing speed control is not accurate enough and the IEGM ECG data is processed improperly, resulting in insufficient accuracy of the ECG time reference and the loss of IEGM event markers, which affects the doctor's timing analysis and event judgment, and may lead to misdiagnosis.
By periodically receiving and storing the ECG data transmitted by the upper computer, analyzing the data and calculating the number of lines to be printed, comparing the number of electrocardiogram signals in the received cavity with the number of lines to be printed, filtering the data containing event marks and filling it into the printing buffer, ensuring that the data are printed in sequence in chronological order.
It reduces the probability of IEGM event marking data loss, improves the accuracy of the output ECG time reference of the thermal printer, and ensures the accuracy of the timing analysis and event judgment of the ECG.
Smart Images

Figure CN115635776B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electrocardiogram thermal printing, and in particular to an electrocardiogram printing control method and system based on a thermal printer. Background Art
[0002] The electrocardiograph can automatically record the bioelectric signals generated by the myocardial excitation during cardiac activity. It is a medical electronic instrument commonly used in clinical diagnosis and scientific research. The electrocardiograph includes an input part, an amplification part, a control circuit, a display part, a recording part and a power supply part. Among them, the recorder is the recording element of the electrocardiograph. The recorder of the currently commonly used digital electrocardiograph is a thermal or dot matrix printer. By heating the semiconductor heating points sintered on the ceramic substrate, graphics and characters are printed on the thermal paper that changes color when heated.
[0003] In the process of recording the cardiac activity of some patients, the cardiac rhythm management device programmer will be used for detection. The surface ECG signal and intracavitary ECG signal recorded by the cardiac rhythm management device programmer will be printed out in paper form through the matching thermal printer, so as to provide it to doctors for diagnosis and analysis of the patient's condition. Among them, the IEGM ECG data consists of 1-byte event marker data and multi-byte intracavitary ECG wave amplitude data. The 1-byte event marker data contains indication information for atrial pacing events AP, atrial sensing events AS, atrial refractory sensing events ARS, ventricular pacing events VP, ventricular sensing events VS, ventricular refractory sensing events VRS and no pacing sensing events, a total of 7 event states. 3 bits of data in the 1-byte event marker data are used to represent the above 7 event states.
[0004] However, when printing an ECG with a thermal printer, inaccurate control of the printing speed or improper processing of the IEGM ECG data will lead to problems such as insufficient accuracy of the time reference of the printed ECG and loss of IEGM event markers, which will directly affect the doctor's timing analysis of the ECG and judgment of IEGM events, and may lead to misdiagnosis. Summary of the invention
[0005] In order to solve the problem of insufficient accuracy of the time reference of the electrocardiogram output by a thermal printer and the loss of IEGM event markers, the present application provides an electrocardiogram printing control method and system based on a thermal printer.
[0006] The embodiment of the present application is implemented as follows:
[0007] A first aspect of an embodiment of the present application provides an electrocardiogram printing control method based on a thermal printer, the method comprising:
[0008] Periodically receiving and storing electrocardiogram data transmitted by a host computer, wherein the electrocardiogram data includes an intracavitary electrocardiogram signal;
[0009] Parse the ECG data and calculate the number of lines to be printed in each cycle, wherein the number of lines to be printed is obtained based on a preset printing speed, a cycle of sending ECG data by the host computer, and a paper feeding length of each step of the stepping motor;
[0010] Compare the number of intracavitary electrocardiogram signals received in each cycle with the number of lines to be printed, and send the filtered data containing event markers to the print buffer;
[0011] When the number of intracavitary electrocardiogram signal data in each cycle is greater than the number of lines to be printed, the data containing event markers in the intracavitary electrocardiogram signal data in each cycle are screened, and the selected data containing event markers are sequentially filled into the print buffer corresponding to the number of lines to be printed;
[0012] Get the data in the print buffer in sequence and print it.
[0013] In some embodiments, in the step of screening the data containing event markers in the intracavitary electrocardiogram signal data in each cycle, and sequentially filling the selected data containing event markers into a print buffer corresponding to the number of lines to be printed, the method includes:
[0014] Partitioning the intracavitary electrocardiogram signal data according to the number of lines to be printed;
[0015] Filter the data containing event markers in each partition in turn, and output the filtered data containing event markers;
[0016] Fill the print buffer with data containing event markers corresponding to the number of lines to be printed.
[0017] In some embodiments, in the step of sequentially filtering the data containing the event marker in each partition and outputting the filtered data containing the event marker, the method includes:
[0018] When all data in the partition contain event markers or none of them contain event markers, any data is selected and filled into the print buffer corresponding to the line to be printed in the current partition;
[0019] When only one of the data in the partition contains an event mark, the data containing the event mark is filled into the print buffer of the to-be-printed line corresponding to the current partition.
[0020] In some embodiments, in the step of sequentially acquiring data in the print buffer and printing, the method further includes:
[0021] Detect the system status of the printer and determine the working status of the printer;
[0022] When the printer works normally, the data in the print buffer is obtained in sequence, and the stepper motor of the printer drives the printing paper to move, thereby printing the data in the print buffer on the printing paper.
[0023] In some embodiments, in the step of detecting the system status of the printer and determining the working status of the printer, the method includes:
[0024] The system status of the printer is tested including: thermal print head working temperature, stepper motor working temperature, paper shortage, paper positioning black mark, and paper box pressure axis;
[0025] When any of the above items is detected to be abnormal, the stepper motor of the printer is controlled to stop running, and a fault code matching the abnormal item is generated and transmitted to the host computer.
[0026] A second aspect of an embodiment of the present application provides an electrocardiogram printing control system based on a thermal printer, comprising:
[0027] The host computer is used to obtain the ECG data and transmit the ECG data to the storage unit;
[0028] A storage unit, used for periodically receiving and storing the electrocardiogram data transmitted by the host computer, wherein the electrocardiogram data includes an intracavitary electrocardiogram signal;
[0029] A preprocessing unit, used to analyze the ECG data and calculate the number of lines to be printed in each cycle, wherein the number of lines to be printed is obtained based on a preset printing speed, a cycle of sending ECG data by the host computer, and a paper feeding length of each step of the stepping motor;
[0030] A processing unit, used for comparing the number of intracavitary electrocardiogram signals received in each cycle with the number of lines to be printed, and sending the filtered data containing event markers to the print buffer;
[0031] When the number of intracavitary electrocardiogram signal data in each cycle is greater than the number of lines to be printed, the data containing event markers in the intracavitary electrocardiogram signal data in each cycle are screened, and the selected data containing event markers are sequentially filled into the print buffer corresponding to the number of lines to be printed;
[0032] The print output unit is used to sequentially obtain the data containing event markers in the print buffer and print them.
[0033] In some embodiments, it also includes:
[0034] The fault detection unit is used to detect the system status of the printer, determine the working status of the printer, and transmit the working status of the printer to the processing unit.
[0035] The fault detection unit is used to detect the operating temperature of the thermal print head of the printer, the operating temperature of the stepper motor, the lack of printing paper, the black mark of the printing paper positioning and the paper box pressure axis.
[0036] The beneficial effect of the present application is that the number of lines to be printed is obtained according to the printing speed of the printer, the cycle of the upper computer sending the ECG data and the corresponding paper feeding length of the stepper motor, and the number of intracavitary electrocardiogram signal data is compared with the number of lines to be printed, so that the data containing the IEGM event mark in each intracavitary electrocardiogram signal can be conveniently screened; at the same time, the data containing the IEGM event mark is input into the print buffer, and then the data containing the IEGM event mark in the print buffer is read by the thermal printer and printed on the printing paper, so that the data containing the IEGM event mark in the intracavitary electrocardiogram signal in each cycle is conveniently printed in chronological order on the printing paper, which can reduce the probability of losing the IEGM event mark data and also improve the accuracy of the ECG time reference output by the thermal printer. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 This is a flow chart of an electrocardiogram printing control method based on a thermal printer according to an embodiment of the present application;
[0039] Figure 2 This is a flow chart of an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application;
[0040] Figure 3 A flowchart showing the filling of intracavitary electrocardiogram data into a print buffer in an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application;
[0041] Figure 4 This is a schematic diagram of a filling method for showing the filling of intracavitary electrocardiogram data into a printing buffer in an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application;
[0042] Figure 5A schematic diagram for showing a printed output electrocardiogram according to an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application;
[0043] Figure 6 This is a structural schematic diagram of an electrocardiogram printing control system based on a thermal printer according to an embodiment of the present application;
[0044] Figure 7 This is a structural block diagram of an electrocardiogram printing control system based on a thermal printer according to another embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0046] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0047] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0048] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0049] like Figure 1-2 shown. Figure 1 This is a flow chart of an electrocardiogram printing control method based on a thermal printer according to an embodiment of the present application; Figure 2 This is a flowchart of an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application.
[0050] In some embodiments, the present application provides an electrocardiogram printing control method based on a thermal printer, and the electrocardiogram printing control method includes:
[0051] Periodically receiving and storing the ECG data transmitted by the host computer, wherein the ECG data includes an intracavitary electrocardiogram signal;
[0052] Parse the ECG data and calculate the number of lines to be printed N0 in each cycle, wherein the number of lines to be printed N0 is obtained based on the preset printing speed, the cycle of the host computer sending the ECG data, and the paper feeding length of each step of the stepping motor;
[0053] Compare the number N1 of intracavitary electrocardiogram signals received in each cycle with the number N0 of lines to be printed, and send the filtered data containing event markers to the print buffer;
[0054] When the number N1 of intracavitary electrocardiogram signal data in each cycle is greater than the number N0 of lines to be printed, the data containing the IEGM event marker in the intracavitary electrocardiogram signal data in each cycle are screened, and the selected data containing the IEGM event marker are sequentially filled into the print buffer corresponding to the number N0 of lines to be printed;
[0055] The data containing IEGM event markers in the print buffer are obtained sequentially and printed.
[0056] Before printing the ECG, you need to enter the configuration parameters required by the thermal printer. The configuration parameters required by the thermal printer include: ECG printing speed V, ECG type, ECG Figure 1 mV calibration value and baseline, IEGM ECG Figure 1 mV calibration value and baseline, I, II, III, aVR, aVF, aVL, V lead selection, ECG gain configuration and other parameters.
[0057] The number of lines to be printed N0 is obtained according to the printing speed of the printer, the period of sending ECG data by the host computer and the corresponding paper feeding length of the stepper motor, and the number of intracavitary electrocardiogram signal data N1 is compared with the number of lines to be printed N0, so that the data containing the IEGM event mark in each intracavitary electrocardiogram signal can be screened; at the same time, the data containing the IEGM event mark is input into the print buffer, and then the data containing the IEGM event mark in the print buffer is read by the thermal printer and printed on the printing paper, so that the data containing the IEGM event mark in the intracavitary electrocardiogram signal in each cycle can be printed in chronological order on the printing paper, which can reduce the probability of losing the IEGM event mark data and also improve the accuracy of the time reference of the thermal printer outputting the ECG.
[0058] In some embodiments, the calculation formula for the number of lines to be printed N0 is as follows:
[0059] N0=(V×T) / L0
[0060] Among them, V represents the preset printing speed of the printer, T represents the period of sending ECG data by the host computer, and L0 represents the paper feeding length of each step of the stepper motor.
[0061] Reference Figure 3 , Figure 3 This is a flowchart for showing how intracavitary electrocardiogram data is filled into a print buffer in an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application.
[0062] In some embodiments, in the step of screening the intracavitary electrocardiogram signal data in each cycle containing the data of the IEGM event marker, and sequentially filling the selected data containing the IEGM event marker into the print buffer corresponding to the current line to be printed, the method provided by the present application includes:
[0063] Partition the intracavitary electrocardiogram signal data according to the number of lines N0 to be printed;
[0064] Filter the data containing the IEGM event marker in each partition in turn, and output the filtered data containing the IEGM event marker;
[0065] Fill the data containing the IEGM event marker into the print buffer corresponding to the current line to be printed.
[0066] The intracavitary electrocardiogram signal data is first partitioned according to the number of lines to be printed N0, and then the intracavitary electrocardiogram signal data in each partition is respectively filtered, thereby reducing the probability of losing data containing IEGM event markers due to the intracavitary electrocardiogram signal data being too long, and filling the filtered data containing IEGM event markers into the print buffer corresponding to the current generation of print lines, so as to facilitate the accurate matching of the data containing IEGM event markers with the reference time, and reduce the probability of losing data containing IEGM event markers during the electrocardiogram printing process.
[0067] like Figure 4-5 shown. Figure 4 This is a schematic diagram of a filling method for showing the filling of intracavitary electrocardiogram data into a printing buffer in an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application; Figure 5 This is a schematic diagram for showing the printed output of an electrocardiogram according to an electrocardiogram printing control method based on a thermal printer according to another embodiment of the present application.
[0068] In some embodiments, in the step of sequentially filtering the data containing the event marker in each partition and outputting the filtered data containing the event marker, the method includes:
[0069] When all data in the partition contain event markers or none of them contain event markers, any data is selected and filled into the print buffer corresponding to the line to be printed in the current partition;
[0070] When only one of the data in the partition contains an event mark, the data containing the event mark is filled into the print buffer of the to-be-printed line corresponding to the current partition.
[0071] The following is an example in which the number of intracavitary electrocardiogram signal data in each cycle is N1=10 and the number of lines to be printed is N0=4. First, the intracavitary electrocardiogram signal data in each cycle is divided into four partitions corresponding to the number of lines to be printed N0, and the first data D in the first partition is compared. 10 and the second data D 11 If neither contains an IEGM event marker or both contain an IEGM event marker, select D arbitrarily. 10 or D 11 Fill print buffer line 1 N 00 ; If only one data contains the IEGM event marker, fill the data containing the IEGM event marker into the print buffer line 1 N 00 ; Afterwards, in the third data D corresponding to the second partition 12 、The fourth number D 13 and the fifth number D 14 Select the data containing the IEGM event marker and fill it into the second line N of the print buffer 01 In this way, the print buffer corresponding to the number of lines N0 to be printed can be filled.
[0072] In some embodiments, in order to reduce the probability of electrocardiogram signal data loss caused by printer stopping working, in the step of obtaining data containing IEGM event markers in the print buffer and printing them sequentially, the electrocardiogram printing control method provided by the present application further includes:
[0073] Detect the system status of the printer and determine the working status of the printer;
[0074] When the printer works normally, the data in the print buffer is obtained in sequence, and the stepper motor of the printer drives the printing paper to move, thereby printing the data in the print buffer on the printing paper.
[0075] By detecting the working status of the printer, the probability of the printer not working properly, resulting in a large difference between the printed ECG data and the reference time, is reduced. The accuracy of the data containing IEGM event markers in the ECG for the reference time is further improved, reducing the probability of misjudgment by medical staff.
[0076] In some embodiments, in order to facilitate the detection of the working status of the printer and prompt medical staff to troubleshoot the fault in time, the electrocardiogram printing control method provided by the present application also includes:
[0077] The system status of the printer is tested including: thermal print head working temperature, stepper motor working temperature, paper shortage, paper positioning black mark, and paper box pressure axis;
[0078] When any of the above items is detected to be abnormal, the stepper motor controlling the printer stops running, and a fault code matching the abnormal item is generated and transmitted to the host computer.
[0079] By testing the working parts of the printer and transmitting the location of the abnormality to the host computer in the form of a fault code, it is convenient for the operator to accurately query the location of the abnormality and eliminate the abnormal problem, thereby reducing the probability of data loss during the electrocardiogram printing process.
[0080] Reference Figure 6-Figure 7 . Figure 6 This is a structural schematic diagram of an electrocardiogram printing control system based on a thermal printer according to an embodiment of the present application; Figure 7 This is a structural block diagram of an electrocardiogram printing control system based on a thermal printer according to another embodiment of the present application.
[0081] In some embodiments, based on the electrocardiogram printing control method provided in the above technical solution, the present application also provides an electrocardiogram printing control system, which includes:
[0082] The host computer is used to obtain the ECG data and transmit the ECG data to the storage unit;
[0083] A storage unit, which is configured as a memory for periodically receiving and storing electrocardiogram data transmitted by a host computer, wherein the electrocardiogram data includes an intracavitary electrocardiogram signal;
[0084] The preprocessing unit is implemented as a processor together with the processing unit, and is used to parse the ECG data and calculate the number of lines to be printed in each cycle, wherein the number of lines to be printed is obtained based on a preset printing speed, a cycle of sending ECG data by the host computer, and a paper feeding length of each step of the stepping motor;
[0085] A processing unit, used for comparing the number of intracavitary electrocardiogram signals received in each cycle with the number of lines to be printed, and sending the filtered data containing event markers to the print buffer;
[0086] When the number of intracavitary electrocardiogram signal data in each cycle is greater than the number of lines to be printed, the data containing event markers in the intracavitary electrocardiogram signal data in each cycle are screened, and the selected data containing event markers are sequentially filled into the print buffer corresponding to the number of lines to be printed;
[0087] The print output unit is used to sequentially obtain the data containing event marks in the print buffer and print them, and includes a drive circuit, a stepper motor and a thermal print head.
[0088] Before printing the ECG, the configuration parameters required by the thermal printer need to be input into the control unit. The configuration parameters required by the thermal printer include: ECG printing speed V, ECG type, ECG Figure 1 mV calibration value and baseline, IEGM ECG Figure 1 mV calibration value and baseline, I, II, III, aVR, aVF, aVL, V lead selection, ECG gain configuration and other parameters.
[0089] In some embodiments, the electrocardiogram printing control system provided in the present application also includes a fault detection unit, which is used to detect the system status of the printer, thereby determining the working status of the printer and transmitting the working status of the printer to the processing unit. The fault detection unit is implemented as a detection circuit.
[0090] Among them, the fault detection unit is used to detect the working temperature of the printer's thermal print head, the working temperature of the stepper motor, the lack of printing paper, the black mark of printing paper positioning, and the paper box pressing shaft and other working conditions.
[0091] By setting up a fault detection unit, the working status of the printer can be detected, which makes it convenient for medical staff to make timely adjustments to the printer in an abnormal state and improves the accuracy of the printer in printing IEGM event marker data contained in the intracavitary electrocardiogram signal data.
[0092] The beneficial effect of the embodiments of this part is that by obtaining the number of lines to be printed N0 according to the printing speed of the printer, the period of sending ECG data by the host computer and the corresponding paper feeding length of the stepper motor, and by comparing the number of intracavitary electrocardiogram signal data N1 with the number of lines to be printed N0, it is convenient to screen the data containing the IEGM event mark in each intracavitary electrocardiogram signal; at the same time, the data containing the IEGM event mark is input into the print buffer, and then the data containing the IEGM event mark in the print buffer is read by the thermal printer and printed on the printing paper, so that the data containing the IEGM event mark in the intracavitary electrocardiogram signal in each cycle is conveniently printed in chronological order on the printing paper, which can reduce the probability of losing the IEGM event mark data and also improve the accuracy of the ECG time reference output by the thermal printer.
[0093] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A method for controlling electrocardiogram printing based on a thermal printer, characterized in that: The method comprises: Periodically receiving and storing electrocardiogram data transmitted by a host computer, wherein the electrocardiogram data includes an intracavitary electrocardiogram signal; Parse the ECG data and calculate the number of lines to be printed in each cycle, wherein the number of lines to be printed is obtained based on a preset printing speed, a cycle of sending ECG data by the host computer, and a paper feeding length of each step of the stepping motor; Compare the number of intracavitary electrocardiogram signals received in each cycle with the number of lines to be printed, and send the filtered data containing event markers to the print buffer; When the number of intracavitary electrocardiogram signal data in each cycle is greater than the number of lines to be printed, the intracavitary electrocardiogram signal data is partitioned according to the number of lines to be printed, the data containing event markers in each partition is filtered in turn, the filtered data containing event markers are output, and the data containing event markers are filled into the print buffer corresponding to the number of lines to be printed; When all data in the partition contain event markers or none of them contain event markers, any data is selected and filled into the print buffer corresponding to the line to be printed in the current partition; When only one of the data in the partition contains an event mark, the data containing the event mark is filled into the print buffer of the to-be-printed line corresponding to the current partition; Get the data in the print buffer in sequence and print it.
2. The electrocardiogram printing control method according to claim 1, characterized in that: In the step of sequentially acquiring data in the print buffer and printing, the method further includes: Detect the system status of the printer and determine the working status of the printer; When the printer works normally, the data in the print buffer is obtained in sequence, and the stepper motor of the printer drives the printing paper to move, thereby printing the data in the print buffer on the printing paper.
3. The electrocardiogram printing control method according to claim 2, characterized in that: In the step of detecting the system status of the printer and determining the working status of the printer, the method includes: Detection of the printer's system status includes: thermal print head operating temperature, stepper motor operating temperature, paper shortage, paper positioning black mark, and paper box pressure axis; When any of the above items is detected to be abnormal, the stepper motor of the printer is controlled to stop running, and a fault code matching the abnormal item is generated and transmitted to the host computer.
4. An electrocardiogram printing control system based on a thermal printer, characterized in that: include: The host computer is used to obtain the ECG data and transmit the ECG data to the storage unit; A storage unit, used for periodically receiving and storing ECG data transmitted by a host computer, wherein the ECG data includes an intracavitary electrocardiogram signal; A preprocessing unit, used to analyze the ECG data and calculate the number of lines to be printed in each cycle, wherein the number of lines to be printed is obtained based on a preset printing speed, a cycle of sending ECG data by the host computer, and a paper feeding length of each step of the stepping motor; A processing unit, used for comparing the number of intracavitary electrocardiogram signals received in each cycle with the number of lines to be printed, and sending the filtered data containing event markers to the print buffer; When the number of intracavitary electrocardiogram signal data in each cycle is greater than the number of lines to be printed, the intracavitary electrocardiogram signal data is partitioned according to the number of lines to be printed, the data containing event markers in each partition is filtered in turn, the filtered data containing event markers are output, and the data containing event markers are filled into the print buffer corresponding to the number of lines to be printed; When all data in the partition contain event markers or none of them contain event markers, any data is selected and filled into the print buffer corresponding to the line to be printed in the current partition; When only one of the data in the partition contains an event mark, the data containing the event mark is filled into the print buffer of the to-be-printed line corresponding to the current partition; The print output unit is used to sequentially obtain the data containing event markers in the print buffer and print them.
5. The electrocardiogram printing control system as claimed in claim 4, characterized in that: Also includes: A fault detection unit, used to detect the system status of the printer, determine the working status of the printer, and transmit the working status of the printer to the processing unit; The fault detection unit is used to detect the operating temperature of the thermal print head of the printer, the operating temperature of the stepper motor, the lack of printing paper, the black mark of the printing paper positioning and the paper box pressure axis.
Citation Information
Patent Citations
Method and device for improving electrocardiogram waveform data printing efficiency
CN103202691A
Method and device for segment choosing of electrocardio data
CN109770889A