Electrocardiogram waveform processing method, electrocardiograph and readable storage medium
By processing and displaying the average template waveform of the electrocardiogram waveform on the electrocardiograph, and supporting user zoom operations, the problem of complex operations in the existing technology is solved, and convenient waveform viewing and zoom functions are realized.
Patent Information
- Application Number
- CN202010064410.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-20
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2040-01-20
AI Technical Summary
In the prior art, doctors need to view the average template of the electrocardiogram through the computer, which is complicated and inconvenient to view directly on the electrocardiogram machine.
A method for processing ECG waveforms is provided. The ECG waveform is processed by an ECG machine to obtain an average template waveform, and the waveform is displayed on the display interface of the ECG machine, allowing the user to zoom in and out of the waveform through preset operations.
It enables direct viewing and zooming of the average template waveform on the electrocardiograph, simplifying the operation process, avoiding potential problems during the transmission process, and improving user experience.
Smart Images

Figure CN113208602B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrocardiography, and in particular to an electrocardiogram waveform processing method, an electrocardiograph, and a readable storage medium. Background Art
[0002] The electrocardiogram records the physiological electrical activity of the human heart, which contains a wealth of physiological and pathological information reflecting the heart rhythm and its electrical conductivity. It is one of the important bases for diagnosing heart disease and evaluating heart function. Therefore, when doctors make clinical diagnoses, they usually need to check the average template of the electrocardiogram waveform and then make a diagnosis based on the parameters of the average template.
[0003] At present, doctors view the average template of the ECG waveform through the computer. Specifically, the computer calculates the average template based on the ECG waveform acquired by the ECG machine and displays the average template waveform on the computer. According to the above method, the user needs to view the average template waveform through the computer after acquiring the ECG waveform. It can be seen that the above operation is relatively complicated. Summary of the invention
[0004] The main technical problem solved by the present application is to provide a method for processing an electrocardiogram waveform, an electrocardiograph and a readable storage medium, which are convenient for users to view the average template waveform and are easy to operate.
[0005] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a method for processing an ECG waveform, including: an electrocardiograph processes the ECG waveform to obtain an average template waveform corresponding to the ECG waveform; displaying the average template waveform on a display interface; and performing corresponding scaling processing on the average template waveform displayed on the display interface in response to a preset operation performed by a user on the display interface.
[0006] The step of processing the ECG waveform to obtain an average template waveform corresponding to the ECG waveform includes: obtaining multiple valid QRS waveforms on the ECG waveform; and obtaining an average template waveform of the ECG waveform based on the amplitudes of corresponding points of the multiple valid QRS waveforms.
[0007] Among them, the step of obtaining the average template waveform of the ECG waveform based on the amplitudes of the corresponding points of multiple valid QRS waveforms includes: obtaining the average value of the amplitudes of the corresponding points on the multiple valid QRS waveforms as the amplitude of the corresponding points on the average template waveform; or, sorting the multiple valid QRS waveforms according to the amplitude size, and taking the valid QRS waveform in the middle position as the average template waveform corresponding to the ECG waveform.
[0008] Among them, the step of processing the ECG waveform to obtain the average template waveform corresponding to the ECG waveform includes: processing each lead ECG waveform in the multi-lead ECG waveform to obtain the average template waveform corresponding to each lead ECG waveform; the step of displaying the average template waveform on the display interface includes: based on the user's selection operation on the display interface, displaying the average template waveform of at least one lead ECG waveform in the waveform display area of the display interface; wherein the baseline position of the average template waveform corresponding to each lead to be displayed is the same.
[0009] Among them, based on the user's selection operation on the display interface, the step of displaying the average template waveform of at least one lead ECG waveform in the waveform display area of the display interface includes: displaying multiple waveform thumbnails in the waveform selection area of the display interface, wherein the multiple waveform thumbnails include a thumbnail of the average template waveform of each lead ECG waveform and a thumbnail obtained by superimposing the average template waveform of all lead ECG waveforms; when a selection signal of a waveform thumbnail from the user in the waveform selection area is detected, the average template waveform corresponding to the selected waveform thumbnail is displayed in the waveform display area.
[0010] Among them, the preset operation is at least one of the following: clicking a preset icon on the display interface, single-clicking the average template waveform displayed on the display interface, double-clicking the average template waveform displayed on the display interface, and touching the display interface to form two touch points on the display interface that are approaching or moving away.
[0011] Wherein, after displaying the average template waveform on the display interface, the method further includes: displaying at least one baseline at a corresponding position of the average template waveform on the display interface; wherein the at least one baseline includes at least one of a P baseline, a Q baseline, an S baseline and a T baseline; responding to a user's operation of moving the baseline, and moving the baseline according to the user's movement trajectory; based on the position of the moved baseline on the average template waveform, obtaining and displaying the characteristic parameter value of the corresponding ECG waveform.
[0012] Among them, after the step of obtaining and displaying the characteristic parameters of the corresponding ECG waveform based on the position of the moved baseline on the average template waveform, it also includes: detecting the user's trigger signal for the analysis icon on the display interface, analyzing the characteristic parameter value, and obtaining the ECG analysis result.
[0013] To solve the above technical problems, another technical solution adopted in the present application is: to provide an electrocardiograph, comprising: a processor and a memory coupled to each other, the processor being used to execute program instructions stored in the memory to implement the steps in any of the above methods.
[0014] In order to solve the above technical problems, another technical solution adopted by the present application is: providing a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the steps in any of the above methods are implemented.
[0015] The beneficial effects of the present application are as follows: different from the prior art, the present application directly processes the ECG waveform on the ECG machine to obtain an average template waveform corresponding to the ECG waveform, and displays the average template waveform on the display interface of the ECG machine, so that the user can directly view the average template waveform on the ECG machine after collecting the ECG waveform through the ECG machine; secondly, in response to the user's preset operation on the display interface, the average template waveform displayed on the display interface is scaled accordingly, so that the user can view the average template waveform, wherein the waveform can be quickly scaled by detecting the user's preset operation, and the operation method is simple. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1a It is a flowchart of the first embodiment of the method for measuring ECG waveform data of the present application;
[0017] Figure 1b It is a flowchart of step S101 of the first embodiment of the method for measuring ECG waveform data of the present application;
[0018] Figure 2 It is a schematic diagram of the display interface of the average template waveform of lead II of the present application;
[0019] Figure 3 It is a schematic diagram of the display interface of the average template waveform of all leads in this application;
[0020] Figure 4 It is a flow chart of the second embodiment of the method for measuring ECG waveform data of the present application;
[0021] Figure 5 It is a schematic diagram of the display interface after the average template waveform of lead II of the present application is enlarged;
[0022] Figure 6a It is a flowchart diagram of a third embodiment of the method for measuring ECG waveform data of the present application;
[0023] Figure 6b It is a partial flow chart of the fourth embodiment of the method for measuring ECG waveform data of the present application;
[0024] Figure 7 It is a schematic diagram of the display interface of the electrocardiogram analysis results of this application;
[0025] Figure 8 It is a flowchart diagram of a fifth embodiment of the method for measuring ECG waveform data of the present application;
[0026] Fig. 9 It is a flowchart diagram of a sixth embodiment of the method for measuring ECG waveform data of the present application;
[0027] Fig.10a is another schematic diagram of the display interface after the average template waveform of lead II of the present application is enlarged;
[0028] Fig.10b is another schematic diagram of the display interface after the average template waveform of lead II of the present application is enlarged;
[0029] Fig.11 It is a schematic diagram of the framework of an embodiment of an electrocardiograph of the present application;
[0030] Fig.12 is an exploded schematic diagram of another embodiment of the electrocardiograph of the present application;
[0031] Fig.13 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] See also Figures 1a to 3 , Figure 1a The flowchart of the first embodiment of the method for measuring ECG waveform data of the present application is shown. Figure 1b FIG. 1 is a flow chart showing step S101 of the first embodiment of the method for measuring ECG waveform data of the present application. Figure 2 The figure shows a schematic diagram of the display interface of the average template waveform of lead II of the present application. Figure 3 The schematic diagram of the display interface of the average template waveform of all leads of the present application is shown. The method of this implementation may include the following steps:
[0034] Step S101: The electrocardiograph processes the electrocardiograph waveform to obtain an average template waveform corresponding to the electrocardiograph waveform.
[0035] The electrocardiograph in this embodiment has computing capability and can directly process the collected electrocardiograph waveform to obtain an average template waveform corresponding to the electrocardiograph waveform.
[0036] Specifically, refer to Figure 1b, step S101 may include the following sub-steps S1011 and S1012:
[0037] Step S1011: Acquire multiple valid QRS waveforms on the ECG waveform.
[0038] For example, the electrocardiograph obtains multiple valid QRS waveforms on the electrocardiogram waveform, wherein the electrocardiograph can directly screen out a complete and normal QRS waveform according to a preset algorithm, wherein the complete QRS waveform can be a waveform including P wave, Q wave, R wave, S wave and T wave, and the normal QRS waveform can be a continuous waveform or a waveform whose characteristic value is within a preset range.
[0039] In addition, since the number of invalid QRS waveforms is generally much smaller than the number of valid QRS waveforms, in order to simplify the algorithm steps, the invalid QRS waveforms can be judged by a preset algorithm and excluded, so that the remaining QRS waveforms are used as valid QRS waveforms. Among them, the invalidity judgment of the QRS waveform can be performed by judging whether the QRS waveform is complete. Generally, since the time points when the electrocardiograph starts and ends collecting the electrocardiogram waveform are not necessarily the valid starting point and end point of the QRS waveform, the first QRS waveform and the last QRS waveform in the collected electrocardiogram waveform may be incomplete electrocardiogram waveforms, so the incomplete QRS waveform can be judged as an invalid QRS waveform and excluded, and other valid QRS waveforms are retained. In addition, since the person being collected is emotionally nervous when the electrocardiogram waveform is initially collected, the QRS waveform initially collected is an abnormal QRS waveform, and it will last for a period of time, so the emotionally tense QRS waveform can be judged by a preset algorithm and excluded; or the QRS waveform at the beginning of the preset time period is directly judged as an invalid QRS waveform and excluded.
[0040] Step S1012: based on the amplitudes of the corresponding points of the multiple valid QRS waveforms, an average template waveform of the ECG waveform is obtained.
[0041] After obtaining multiple valid QRS waveforms on the ECG waveform, the amplitudes of the corresponding points of the multiple valid QRS waveforms are obtained, and the amplitudes of the corresponding points of the multiple valid QRS waveforms are averaged or median to serve as the amplitudes of the corresponding points of the average template waveform of the ECG waveform. For example, the amplitudes of the peak points of multiple valid QRS waveforms are averaged as the amplitudes of the corresponding peak points of the average template waveform of the ECG waveform. Similarly, the amplitudes of the trough points of multiple valid QRS waveforms can be averaged as the amplitudes of the corresponding trough points of the average template waveform of the ECG waveform. In addition to the peak points and trough points, the amplitudes of other corresponding points of the average template waveform of the ECG waveform can also be obtained by averaging or median the amplitudes of the corresponding points of multiple valid QRS waveforms, which will not be elaborated here.
[0042] In some embodiments, step S1012 may specifically include: obtaining an average value of the amplitudes of corresponding points on a plurality of valid QRS waveforms as the amplitude of the corresponding point on the average template waveform.
[0043] Generally, an ECG waveform may include a starting point, an end point, a peak, and a trough. Specifically, the multiple valid QRS waveforms obtained may be aligned, that is, the starting points and end points of the multiple valid QRS waveforms are the same, the amplitudes of the multiple valid QRS waveforms corresponding to the same time point are obtained, and the average value of the amplitudes of the multiple valid QRS waveforms corresponding to the time point is calculated, and the average value is used as the amplitude of the average template waveform corresponding to the time point. According to this method, the amplitudes of the average template waveforms corresponding to all time points are calculated to obtain the average template waveform of the ECG waveform.
[0044] In some other embodiments, step S1012 may specifically include: sorting multiple valid QRS waveforms according to amplitude, and taking the valid QRS waveform in the middle position as the average template waveform corresponding to the ECG waveform.
[0045] Specifically, the multiple valid QRS waveforms obtained may be aligned, that is, the starting points and end points of the multiple valid QRS waveforms are the same, the amplitudes of the multiple valid QRS waveforms corresponding to a time point are sorted in order from large to small or from small to large, and the valid QRS waveform in the middle position is taken as the average template waveform corresponding to the electrocardiogram waveform. The time point may be randomly selected or pre-set.
[0046] Among them, the above-mentioned sorting method includes two cases, one case: if the multiple valid QRS waveforms are an odd number of valid QRS waveforms, there is only one valid QRS waveform in the middle position at this time, that is, the valid QRS waveform can be directly selected as the average template waveform corresponding to the ECG waveform; another case: if the multiple valid QRS waveforms are an even number of valid QRS waveforms, there are two valid QRS waveforms in the middle position at this time, one implementation method is to select one of the valid QRS waveforms as the average template waveform corresponding to the ECG waveform, and another implementation method is to use the average value of the amplitudes of the corresponding points on the two valid QRS waveforms as the amplitudes of the corresponding points on the average template waveform to obtain the average template waveform of the ECG waveform. It should be noted that there are many methods for obtaining the average template waveform, which are not limited to the method described in the above step S1012.
[0047] The electrocardiograph can acquire multi-lead ECG waveforms. The multi-leads may include 3-leads, 5-leads, 12-leads, 15-leads and 18-leads, etc., which are not limited here. Correspondingly, this step S101 may specifically include: processing each lead ECG waveform in the multi-lead ECG waveform to obtain an average template waveform corresponding to each lead ECG waveform. Among them, the above steps S1011 and S1012 can be performed on each lead ECG waveform to obtain the average template waveform corresponding to each lead ECG waveform, which will not be repeated here. Step S102: Display the average template waveform on the display interface.
[0048] In this embodiment, the electrocardiograph may include at least one display interface, which is used to display the average template waveform. For example, the electrocardiograph is provided with a touch screen, and the interface displayed by the touch screen is the display interface.
[0049] There may be multiple average template waveforms corresponding to the multi-lead ECG waveforms, and the electrocardiograph may provide a waveform selection area for the user to select the average template waveform to be displayed, and then display the average template waveform selected by the user. The electrocardiograph may include at least one display interface. Figure 2 and Figure 3 As shown, the display interface may include a waveform selection area 201 and a waveform display area 202. The area ratio and relative position of the waveform selection area 201 and the waveform display area 202 may be adjusted according to actual conditions. Optionally, the area ratio of the waveform selection area 201 and the waveform display area 202 may be 1:4.
[0050] In the waveform selection area 201 of the display interface, a plurality of waveform thumbnails are displayed, wherein the plurality of waveform thumbnails may include an average template waveform thumbnail of each lead ECG waveform (eg, Figure 2 The average template waveform thumbnail of lead I, the average template waveform thumbnail of lead II, the average template waveform thumbnail of lead III, etc. in the waveform selection area 201 of the embodiment of the present invention, and the thumbnail obtained by superimposing the average template waveforms of all lead ECG waveforms (such as Figure 2The waveform selection area 201 of the present invention is a superimposed thumbnail of the average template waveform of ALL leads). The waveform thumbnail includes the name of the lead and the average template waveform corresponding to the lead. When a selection signal of a waveform thumbnail from the user in the waveform selection area 201 is detected, the average template waveform corresponding to the selected waveform thumbnail is displayed in the waveform display area 202. The user can intuitively view the waveform through the waveform thumbnail, so that the user can quickly and accurately select the average template waveform to be viewed. Optionally, when the selection signal of the waveform thumbnail from the user in the waveform selection area 201 is detected again, the average template waveform of the ECG waveform displayed in the waveform display area 202 is hidden to prevent privacy information from being leaked. For example, when the doctor does not need to view the ECG waveform, the waveform displayed in the waveform display area 202 can be hidden to prevent privacy information from being leaked.
[0051] The selection signal may be a sliding signal. When the sliding signal of the user is detected, the waveforms of different average templates are switched and displayed. The waveforms may be switched and displayed according to the moving track of the touch point generated by the user in the waveform display area 202. Figure 2 As shown, the waveform currently displayed in the waveform display area 202 is the average template waveform of the II lead. When the user's touch point is detected to move to the right, the average template waveform corresponding to the waveform thumbnail where the touch point is located is displayed in sequence, that is, the average template waveform of the III lead, the average template waveform of the AVR lead, etc. are displayed in sequence; similarly, when the user's touch point is detected to move to the left, the average template waveform of the I lead and the average template waveform of the ALL lead are displayed in sequence, and the average template waveform corresponding to the waveform thumbnail where the touch point finally stops is the average template waveform finally displayed. The moving trajectory can be a non-closed trajectory and a closed trajectory. For example, a non-closed trajectory is a line segment of a preset length, and a closed trajectory is, for example, a circle, a rectangle, a triangle, etc. The touch point in all embodiments of the present application can be generated by the user's finger or an operating tool with an indication function touching the display interface. The user here can include the collector or the person being collected of the ECG waveform or other personnel, and the operating tool with an indication function here can include a mouse, a laser pen, or a stylus pen, etc.
[0052] Based on the user's selection operation on the display interface, the average template waveform of at least one lead ECG waveform is displayed in the waveform display area 202 of the display interface. Optionally, a parallel line is drawn with the starting point of the Q wave as the reference point to establish a baseline. The average template waveform of each lead to be displayed has the same baseline position in the display interface, that is, when the average template waveform of each lead to be displayed is displayed on the display interface, the starting point of the corresponding Q wave has the same position in the display interface.
[0053] It can be understood that in some embodiments, including the present embodiment, the electrocardiograph can also measure the average template waveform to obtain a measurement value, and can perform analysis based on the measurement value to obtain an analysis result, and display the measurement value and / or analysis result on a display interface.
[0054] In this embodiment, the ECG machine can directly process the ECG waveform to obtain an average template waveform corresponding to the ECG waveform, and display the average template waveform on the display interface of the ECG machine, so that the user can directly view the average template waveform on the ECG machine after collecting the ECG waveform through the ECG machine; secondly, since it is no longer necessary to transmit the ECG waveform to the computer, it can avoid the situation where the user cannot view the average template waveform due to problems in the transmission process, such as poor network signal; thirdly, the average template waveforms of all leads are displayed in the waveform selection area in the form of thumbnails, so that the user can more intuitively select the average template waveform to be viewed.
[0055] With respect to the average template waveform displayed on the display interface in the above embodiment, the electrocardiograph provides functions such as scaling the displayed average template waveform and repositioning the baseline. For details, please refer to the following method embodiment.
[0056] See also Figure 4 and Figure 5 , Figure 4 The flowchart of the second embodiment of the method for measuring ECG waveform data of the present application is shown. Figure 5 The schematic diagram of the display interface after the average template waveform of lead II of the present application is enlarged is shown. The method of this embodiment may include the following steps:
[0057] Step S201: The electrocardiograph processes the electrocardiograph waveform to obtain an average template waveform corresponding to the electrocardiograph waveform.
[0058] Step S202: Displaying the average template waveform on the display interface.
[0059] The relevant descriptions of steps S201 and S202 can refer to steps S101 and S102 of the above embodiment, which will not be described in detail here.
[0060] Step S203: In response to a preset operation performed by the user on the display interface, a corresponding scaling process is performed on the average template waveform displayed on the display interface.
[0061] Optionally, the magnification or reduction factor can be displayed in real time on the display interface. Specifically, the preset operation can be at least one of the following: clicking a preset icon on the display interface, single-clicking the average template waveform displayed on the display interface, double-clicking the average template waveform displayed on the display interface, and touching the display interface to form two touch points on the display interface that are moving closer or farther away.
[0062] Optionally, for example, the preset icons may include a zoom-in icon and a zoom-out icon. The zoom-in icon is used to zoom in and display the average template waveform, and the zoom-out icon is used to zoom out and display the average template waveform. For example, in response to the user clicking the zoom-in icon on the display interface, the electrocardiograph zooms in the average template waveform displayed on the display interface, and in response to the user clicking the zoom-out icon on the display interface, zooms out the average template waveform displayed on the display interface.
[0063] For example, in the case of zooming in or out by clicking or double-clicking the average template waveform displayed on the display interface, the waveform can be zoomed in within a certain preset range. Specifically, in response to the user clicking or double-clicking the average template waveform displayed on the display interface, the average template waveform displayed on the display interface is zoomed in, and when the zoom threshold is reached, the average template waveform displayed on the display interface can be stopped from being zoomed in or zoomed out by continuing to click or double-click the average template waveform displayed on the display interface. In other embodiments, the average template waveform of a preset zoom size can also be directly displayed by clicking or double-clicking the average template waveform displayed on the display interface.
[0064] In another example, the average template waveform can be reduced or enlarged by the proximity and separation of two touch points. The user touches the display interface, forming two touch points on the display interface. In response to the user's two touch points on the display interface approaching, the average template waveform displayed on the display interface can be reduced accordingly; in response to the user's two touch points on the display interface moving away, the average template waveform displayed on the display interface can be enlarged accordingly. It can be understood that there are many combinations of zoom processing corresponding to the preset operation, which will not be repeated here.
[0065] Alternatively, if Figure 5 As shown, the waveform display area that enlarges and displays the average template waveform can occupy the entire display interface, so that the waveform of the enlarged average template is displayed through the entire waveform display area, so that the user can view the average template waveform or perform other operations on the average template waveform. At this time, a measuring ruler icon can be set on the display interface. The user clicks the measuring ruler icon to display the measuring ruler at the corresponding position of the average template waveform to measure the enlarged average template waveform and obtain the characteristic parameter value. For example, the characteristic parameter value can be a time limit, amplitude, heart rate, etc.
[0066] In some embodiments, the electrocardiograph may further include a restore icon. The restore icon may be set on the display interface. The user may directly restore the average template waveform in the enlarged or reduced state to the original display size by clicking the restore icon. Optionally, when the user's selection signal for the waveform thumbnail in the waveform selection area is detected again, the average template waveform of the electrocardiogram waveform in the enlarged or reduced state may be directly restored to the original display size. The original display size is the size of the waveform displayed when the waveform thumbnail is initially clicked.
[0067] The above preset operation can be implemented by touch screen operation, cursor control operation, voice control operation and the like. Among them, the touch screen operation is to touch the display screen, such as touching the preset icon on the display screen with one finger, the average template waveform on the display interface, or touching the display screen with two fingers and moving the two fingers away from or close to the display screen. The cursor control operation can be implemented by one or more methods of a keyboard, a remote control rod, and a mouse. For example, two buttons on the keyboard can be set as buttons for zooming in and out of the average template waveform, respectively. When the zoom button is clicked, the average template waveform is zoomed out and displayed, and when the zoom button is clicked, the average template waveform is zoomed in and displayed. Similarly, zoom in and zoom out buttons can also be set on the remote control rod to zoom in and display the average template waveform. In addition, the average template waveform can be selected by the mouse, and the average template waveform can be zoomed in or zoomed in by clicking or double-clicking the right mouse button. The specific implementation method is not repeated here. The voice control operation can be to detect keywords in the voice data and execute related zoom control instructions based on the keywords. For example, when the keyword "zoom in" is detected, the average template is zoomed in and displayed, and when the keyword "zoom out" is detected, the average template is zoomed in and displayed.
[0068] In this embodiment, by responding to the user's preset operation on the display interface, the average template waveform displayed on the display interface is scaled accordingly to facilitate the user to view the average template waveform, wherein the waveform can be quickly scaled by detecting the user's preset operation, and the operation is simple.
[0069] See also Figures 6a to 7 , Figure 6a The flowchart of the third embodiment of the method for measuring ECG waveform data of the present application is shown. Figure 6b FIG. 4 is a partial flow chart of a fourth embodiment of the method for measuring ECG waveform data of the present application. Figure 7 The method of this embodiment may include the following steps:
[0070] Step S301: The electrocardiograph displays an average template waveform corresponding to the electrocardiogram waveform, and displays at least one baseline at a corresponding position of the average template waveform.
[0071] The average template waveform corresponding to the electrocardiograph waveform and how to obtain the average template waveform can be found in steps S101 and S102 of the above embodiment, and will not be described in detail here.
[0072] Specifically, the electrocardiograph displays an average template waveform corresponding to the electrocardiogram waveform, and displays at least one baseline at a corresponding position of the average template waveform. The at least one baseline includes at least one of a P baseline, a Q baseline, an S baseline, and a T baseline. The P baseline further includes a P1 baseline and a P2 baseline. The T baseline further includes a T1 baseline and a T2 baseline. The baseline can be automatically displayed at a corresponding position of the average template waveform after being analyzed by a preset algorithm.
[0073] Step S302: In response to the user's operation of moving the baseline, the position of the baseline on the average template waveform is moved.
[0074] Since the electrocardiograph obtains the corresponding measurement value according to the position of the baseline on the average template waveform and then performs electrocardiograph analysis based on the measurement value, the accuracy of the position of the baseline is the key to the subsequent measurement and analysis of the electrocardiograph data. The position determined by the default of the electrocardiograph alone may be inaccurate, so this embodiment proposes that the displayed baseline can be moved according to the user's operation, so that the user can calibrate the position of the baseline to ensure the accuracy of the subsequent measurement and analysis of the electrocardiograph data.
[0075] Specifically, the moving range of the baseline at the feature points in different regions can be as follows:
[0076] P1 baseline: P wave starting point baseline, the adjustment range is between the QRS wave starting point and the P wave end point.
[0077] P2 baseline: The P wave end baseline, ranging from the P wave start point to the Q baseline.
[0078] Q baseline: The range is from the end point of P wave to the S point baseline.
[0079] S baseline: The range is from the Q baseline to the T wave end point baseline.
[0080] T1 baseline: The baseline of the starting point of the T wave, ranging from the S baseline to the end point of the QRS waveform.
[0081] T2 baseline: T wave endpoint baseline, ranging from the starting point of the T wave to the end point of the QRS waveform.
[0082] In response to the user's operation of moving the baseline, the position of the baseline on the average template waveform is moved according to the user's movement trajectory. Optionally, the electrocardiograph includes a touch display screen, and the display interface is a display interface of the touch display screen. Specifically, the user may touch a certain baseline, and the position of the baseline on the average template waveform is moved along the movement trajectory of the touch point on the display interface. In other embodiments, the movement of the baseline may be controlled by voice. For example, the electrocardiograph may detect that the user clicks on the moving icon on the display interface, and then obtains the target position information of the baseline input by the user (such as input on the display interface or voice input), or may directly input a moving instruction by voice to control the movement of the baseline and move the baseline to the target position.
[0083] Optionally, the user can select multiple baselines at the same time, and in response to the user's operation of moving the baselines, the positions of the multiple baselines on the average template waveform are moved at the same time. In this way, it is possible to avoid changing the spacing between multiple baselines due to moving a certain baseline, simplify the user operation, and improve the efficiency of baseline repositioning.
[0084] Optionally, the user may move multiple reference lines separately. For example, after moving the P reference line to reach the target position, the user may further move the Q reference line, the S reference line, or the T reference line.
[0085] Step S303: performing data measurement on the average template waveform based on the moved baseline to obtain at least one characteristic parameter value of the ECG waveform.
[0086] The electrocardiograph in this embodiment can automatically calculate the corresponding characteristic parameter value based on the position of the reference line on the average template waveform.
[0087] Specifically, based on the position of the P reference line after the movement on the average template waveform, the PR interval of the corresponding ECG waveform can be obtained. Based on the position of the Q reference line after the movement on the average template waveform, at least one of the PR interval, QRS duration, QT interval, and QTc interval of the corresponding ECG waveform can be obtained. Based on the position of the S reference line after the movement on the average template waveform, the QRS duration of the corresponding ECG waveform can be obtained. Based on the position of the T reference line after the movement on the average template waveform, the QT interval and / or QTc interval of the corresponding ECG waveform can be obtained.
[0088] Among them, the PR interval, QRS duration, QT interval, and QTc interval are all characteristic parameter values of the ECG waveform, and are also important bases for doctors to make clinical diagnoses. When a doctor believes that the position of a baseline is inaccurate, the baseline can be moved to adjust the position of the baseline to obtain the correct characteristic parameter value.
[0089] In this embodiment, an average template waveform corresponding to an ECG waveform is displayed by an electrocardiograph, and at least one baseline is displayed at a corresponding position of the average template waveform. The position of the baseline on the average template waveform is moved by the user's operation of moving the baseline. The user can adjust the position of the baseline according to actual conditions. The operation is simple. Data measurement and calibration of the average template waveform are performed based on the moved baseline to obtain at least one characteristic parameter value of the ECG waveform, so that the characteristic parameter value is closer to the correct characteristic parameter value.
[0090] like Figure 6b As shown, in other embodiments, step S303 may further include:
[0091] Step S304: display at least one characteristic parameter value of the ECG waveform.
[0092] Among them, Figure 2 As shown, at least one characteristic parameter value can be displayed in the parameter display area 203 of the display interface, and at least one characteristic parameter value can also be displayed in the waveform display area 201 of the display interface. The parameter display area 203 can be set according to actual conditions. In response to the user's operation of moving the baseline, the position of the baseline on the average template waveform can be obtained in real time, and based on the position, at least one characteristic parameter value of the obtained ECG waveform can be displayed in real time, that is, the characteristic parameter value changes accordingly with the movement of the baseline.
[0093] For example, characteristic parameter values such as PR interval, QRS duration, QT interval, QTc interval, etc. can be displayed in the parameter display area 203 of the display interface, and characteristic parameter values such as duration (T), amplitude (V), and heart rate (bpm) can also be displayed in the waveform display area 201 of the display interface. If the characteristic parameter value displayed on the display interface is not within the corresponding normal characteristic parameter range, the characteristic parameter value can be marked. For example, when the heart rate of an adult is 60-100 times, the normal value range of the QT interval is 0.44s to 0.36s. If the QT interval of the average template waveform of an adult displayed on the display interface is 0.56s, which is not within the normal value range, the characteristic parameter value will be marked in red to remind the user that the characteristic parameter value is not within the normal value range.
[0094] Step S305: Detecting a trigger signal of the user on the analysis icon on the display interface, analyzing the characteristic parameter value, and obtaining an initial ECG analysis result.
[0095] Specifically, after repositioning the baseline, when detecting that the user clicks the analysis icon on the display interface, the electrocardiograph can automatically analyze the characteristic parameter value to obtain the initial electrocardiograph analysis result. Figure 7 As shown, the initial ECG analysis results can be displayed on other display interfaces.
[0096] Step S306: Detecting a trigger signal from the user on the result modification icon on the display interface, and displaying a modification input area containing the initial ECG analysis result.
[0097] Step S307: updating the content in the modification input area according to the input information of the user in the modification input area.
[0098] Step S308: Detecting a trigger signal of the user confirming the modification icon on the display interface, obtaining the current content in the modification input area, and using the current content as the final ECG analysis result.
[0099] Among them, the user can judge the correctness of the initial ECG analysis result automatically generated by the ECG machine based on the average template waveform, baseline and corresponding characteristic parameter values displayed in the display interface. When the user believes that the initial ECG analysis result automatically generated by the ECG machine is incorrect, the initial ECG analysis result can be modified directly on the ECG machine to obtain the correct ECG analysis result. Optionally, the ECG machine can store the initial ECG analysis result and the ECG analysis result modified by the user for subsequent inspection, retrieval or modification. Furthermore, the ECG machine can also store information such as the modifier, modification time, and modification location in a certain order to facilitate subsequent inspection, retrieval or modification.
[0100] Before taking the current content as the final ECG analysis result, it also includes: displaying a signature input area on the display interface; obtaining the movement trace of the user's touch point in the signature input area as the signature to be verified; obtaining whether the pre-stored signature of the current login account matches the signature to be verified; if they match, taking the current content as the final ECG analysis result; if they do not match, not taking the current content as the final ECG analysis result.
[0101] Optionally, when the signature to be verified does not match the pre-stored signature of the current login account, a prompt message can be sent to the user of the current login account to remind the user that there is an abnormal modification of the ECG analysis result on the ECG machine. When the signature to be verified does not match the pre-stored signature of the current login account for multiple times, the signature input area can be locked to prevent others from obtaining the pre-stored signature of the current login account by constantly changing the signature to be verified, thereby modifying the ECG analysis result. For example, the ECG machine can remind the user of the current login account through text messages, phone calls, or the prompt sound of the ECG machine's supporting equipment carried by the user. In addition, due to the different time when the user of the current login account generates the signature to be verified and the pre-stored signature or other reasons, there will be differences between the signature to be verified and the pre-stored signature, so even if the signature to be verified is the signature of the user of the current login account, it may not match the pre-stored signature. Therefore, in order to solve the problem that the signature to be verified of the user of the current logged-in account does not match the pre-stored signature, and thus the final ECG analysis result cannot be modified, the ECG machine can also include a camera module. When the pre-stored signature of the current logged-in account does not match the signature to be verified, the ECG machine automatically starts the camera module, obtains the characteristic information of the user who is currently modifying the ECG analysis result, and matches the characteristic information of the user who is currently modifying the ECG analysis result with the pre-stored characteristic information of the current logged-in account. If the match is successful, the current content is used as the final ECG analysis result; if the match is unsuccessful, the current content is not used as the final ECG analysis result. Furthermore, the acquired characteristic information of the user who is currently modifying the ECG analysis result can be sent to the user of the current logged-in account and saved in the ECG machine for later inspection. The characteristic information can be facial image information or iris information. In the above manner, it is possible to prevent users who are not currently logged in to the account from tampering with the final ECG analysis result.
[0102] It is understandable that there is no definite order relationship between the step of displaying at least one characteristic parameter value of the ECG waveform and the step of obtaining the ECG analysis result, and they can be selected according to actual conditions.
[0103] See also Figure 8 , Figure 8 A flowchart of a fifth embodiment of the method for measuring ECG waveform data of the present application is shown.
[0104] Step S401: The electrocardiograph displays an average template waveform corresponding to the electrocardiogram waveform, and displays at least one baseline at a corresponding position of the average template waveform.
[0105] Among them, the electrocardiograph displays the average template waveform corresponding to the electrocardiogram waveform and how to obtain the average template waveform, which can be referred to steps S101 and S102 of the above embodiment, and displays at least one baseline at the corresponding position of the average template waveform, which can be referred to step S301 of the above embodiment, and will not be repeated here.
[0106] Step S402: In response to a first preset operation of the user on the average template waveform, the average template waveform is enlarged and displayed, and a reference line is correspondingly displayed at a corresponding position of the enlarged average template waveform.
[0107] The electrocardiograph may include a touch display screen, and may amplify the average template waveform in response to a user's operation on a display interface of the touch display screen. Specifically, the first preset operation may include clicking a preset icon on the display interface or clicking the average template waveform displayed on the display interface, or touching the display interface to form two touch points moving away from each other on the display interface.
[0108] Specifically, when the first preset operation is to click on a preset icon on the display interface or to click on the average template waveform displayed on the display interface, in response to the user's first preset operation on the average template waveform, the average template waveform is enlarged and displayed, which may include: if it is detected that the preset icon or the average template waveform is clicked, the average template waveform is enlarged and displayed according to the preset unit magnification. The preset icon can be set on the display interface of the electrocardiograph or other devices connected to the electrocardiograph, for example, the preset icon is set on the display interface of the electrocardiograph. The preset unit magnification can be set according to actual needs, and the preset unit magnification is, for example but not limited to, 1 times, 3 times, 10 times, etc. In an application scenario, the user clicks on the preset icon, and when the electrocardiograph detects that the preset icon is clicked, the average template waveform is enlarged and displayed according to the preset 3 times magnification. When the preset icon is detected to be clicked again, the average template waveform that has been enlarged 3 times is further enlarged and displayed according to the preset 3 times magnification. At this time, the average template waveform displayed on the display interface is 9 times the size of the original average template waveform. It can be understood that the enlargement of the waveform can be within a certain preset range. When the average template waveform displayed on the display interface is enlarged to the enlargement threshold in response to the user clicking one or more times on a preset icon on the display interface or clicking one or more times on the average template waveform displayed on the display interface, if a click on the preset icon on the display interface or a click on the average template waveform displayed on the display interface is continued to be detected, the average template waveform displayed on the display interface may no longer be enlarged, or the average template waveform displayed on the display interface may be restored to its original size.
[0109] When the first preset operation is to double-click the average template waveform displayed on the display interface, in response to the user's first preset operation on the average template waveform, the average template waveform is enlarged and displayed, which may include: obtaining the time difference between the two clicks on the average template waveform; determining the magnification based on the time difference; and enlarging and displaying the average template waveform according to the magnification. Optionally, the larger the time difference, the smaller the corresponding magnification. Among them, before determining the magnification based on the time difference, it also includes establishing a corresponding relationship between the time difference and the magnification or the time difference range and the magnification. For example, the time difference is 0.1s, 0.5s, and 1s, and the corresponding magnifications are 10 times, 5 times, and 1 times, respectively. If it is detected that the time difference between the two clicks on the average template waveform is 0.5s, the average template waveform is enlarged 5 times. For another example, the time difference range is 100ms~0.1s, 0.1s~0.5s, and 0.5s~1s, and the corresponding magnifications are 8 times, 4 times, and 2 times, respectively, wherein each time difference range does not include the right endpoint value of the range. If the time difference between the two clicks on the average template waveform is detected to be 0.5s, and 0.5s belongs to the time difference range of 0.5s to 1s, the average template waveform will be magnified 2 times accordingly. It is understandable that the enlargement of the waveform can be within a certain preset range. When the average template waveform displayed on the display interface is enlarged to the enlargement threshold in response to the user double-clicking the average template waveform displayed on the display interface once or more, and the average template waveform displayed on the display interface continues to be detected to be double-clicked, the average template waveform displayed on the display interface may no longer be enlarged, or the average template waveform displayed on the display interface may be restored to its original size.
[0110] When the first preset operation is to touch the display interface to form two touch points moving away from each other on the display interface, in response to the user's first preset operation on the average template waveform, the average template waveform is enlarged and displayed, which may include: obtaining the speed of the two touch points moving away from each other and / or the distance when they stop moving away; determining the magnification based on the speed and / or distance; and enlarging and displaying the average template waveform according to the magnification. The electrocardiograph can obtain the speed of the two touch points moving away from each other and the distance when they stop moving away. Optionally, the faster the speed and / or the greater the distance, the greater the corresponding magnification. Among them, before determining the magnification based on the speed and / or distance, it also includes establishing a corresponding relationship between the speed and the magnification, and a corresponding relationship between the distance and the magnification. Specifically, the corresponding relationship that can be pre-established as needed includes: the speed is 10cm / s, 1cm / s, 1mm / s, and the corresponding magnification is 9 times, 6 times, and 3 times; the distance is 0.1cm, 1cm, 2cm, and the corresponding magnification is 1 times, 2 times, and 3 times. For example, if the magnification is determined only based on speed, then based on the corresponding relationship of the above speeds, when it is determined that the speed at which the two touch points move away is 1 cm / s, the corresponding magnification is 6 times. For another example, if the magnification is determined only based on distance, then based on the corresponding relationship of the above distances, when it is determined that the distance between the two touch points when they stop moving away is 2 cm, the corresponding magnification is 3 times. For another example, it can be seen that if the magnification is determined based on speed and distance, then based on the corresponding relationship of the above speed and distance, when the two touch points move away at a speed of 1 cm / s and the distance between the two touch points when they stop moving away is 1 cm, the corresponding magnification is 6*2=12 times.
[0111] Alternatively, if Figure 5 As shown, the waveform display area that enlarges and displays the average template waveform can occupy the entire display interface, so that the waveform of the enlarged average template is displayed through the entire waveform display area, so that the user can view the average template waveform or perform other operations on the average template waveform. At this time, a measuring ruler icon can be set on the display interface. The user clicks the measuring ruler icon to display the measuring ruler at the corresponding position of the average template waveform to measure the enlarged average template waveform and obtain the characteristic parameter value. For example, the characteristic parameter value can be a time limit, amplitude, heart rate, etc.
[0112] In some embodiments, the electrocardiograph may further include a restore icon. The restore icon may be set on the display interface. The user may directly restore the average template waveform in the enlarged state to the original display size by clicking the restore icon. Optionally, when the user's selection signal for the waveform thumbnail in the waveform selection area is detected again, the average template waveform of the electrocardiogram waveform in the enlarged state may be directly restored to the original display size. The original display size is the size of the waveform displayed when the waveform thumbnail is initially clicked.
[0113] The above preset operation can be implemented by touch screen operation, cursor control operation, voice control operation, etc. The specific implementation method can refer to the relevant description of the above embodiment, which will not be repeated here.
[0114] Specifically, when the average template waveform is magnified and displayed, the baseline can also be displayed at the corresponding position of the amplified average template waveform. For example, the original position information of the baseline on the average template waveform before amplification can be obtained, and the product of the original position information and the current magnification factor of the average template waveform is used as the latest position of the baseline on the amplified average template waveform, and the baseline is displayed at the latest position.
[0115] It is understandable that in the embodiment described herein of enlarging and displaying the average template waveform, since the enlarged waveform may not be able to be displayed in its entirety in the original waveform display area after the waveform is enlarged, a portion of the enlarged band may be displayed in the waveform display area. When a user sliding operation on the displayed waveform is detected, such as sliding to the right, the band to the right of the previously displayed enlarged band is displayed in the waveform display area. If a sliding operation is performed to the left, the band to the left of the previously displayed enlarged band is displayed in the waveform display area. Alternatively, the enlarged band may not be displayed only in the waveform display area, but may be displayed on the complete display interface (such as Figure 5 shown).
[0116] Step S403: In response to a second preset operation of the user on the baseline, adjusting the position of the baseline in the amplified average template waveform.
[0117] The second preset operation may be the moving operation in the above-mentioned embodiment, or a user clicking operation on a moving icon on the display interface, or a user performing voice control, etc. For example, the electrocardiograph detects that a user clicks on a moving icon on the display interface, obtains the target position information of a baseline input by the user (such as input on the display interface or voice input), and then moves the baseline to the target position.
[0118] For example, according to the user's moving trajectory, the position of the moving baseline on the amplified average template waveform is moved. Among them, by amplifying the waveform, moving the baseline on the amplified average template waveform can quickly and accurately move the baseline to the target position. In other embodiments, when the user's second preset operation on the baseline is detected, the waveform of the average template can be automatically amplified, and the user adjusts the position of the baseline on the amplified average template waveform according to the amplified average template waveform. In the above manner, the average template waveform can be amplified while moving the baseline, and the process is quick and does not require the user to manually amplify the waveform.
[0119] Optionally, after adjusting the position of the baseline on the amplified average template waveform, it is also possible to determine whether to lock the current display interface according to the user's choice. After the current display interface is locked, the user touching the current display interface again will not change the content of the display interface. In addition, the user can also unlock the current display interface as needed. The above steps can be implemented by shortcut keys set by the user, and the shortcut keys can be set on the display interface.
[0120] Step S404: performing data measurement on the average template waveform based on the adjusted baseline to obtain at least one characteristic parameter value of the ECG waveform.
[0121] For the description of this step, reference may be made to the description of the corresponding position in step S303 of the above embodiment. Of course, in other embodiments, step S404 may also include steps S304-S308 of the above embodiment, which will not be described in detail here.
[0122] In this embodiment, the electrocardiograph can display an average template waveform corresponding to the ECG waveform, and display at least one baseline at the corresponding position of the average template waveform. The average template waveform is enlarged and displayed through a first preset operation, and the baseline is displayed at the corresponding position of the enlarged average template waveform. Then, through a second preset operation, the position of the baseline in the enlarged average template waveform is adjusted. Since the waveform of the average template is enlarged and displayed, it is convenient for the user to find the target position for baseline adjustment, and then the relevant parameters of the average template waveform are accurately measured based on the adjusted baseline to obtain at least one characteristic parameter value of the ECG waveform, so that the characteristic parameter value is closer to the correct characteristic parameter value.
[0123] See also Figures 9 to 10b , Fig. 9 The flowchart of the sixth embodiment of the method for measuring ECG waveform data of the present application is shown. Fig.10a Another schematic diagram showing the display interface after the average template waveform of lead II of the present application is enlarged, Fig.10b Another schematic diagram shows the display interface after the average template waveform of lead II of the present application is enlarged.
[0124] Step S501: The electrocardiograph displays an average template waveform corresponding to the electrocardiogram waveform, and displays at least one baseline at a corresponding position of the average template waveform.
[0125] Among them, the electrocardiograph displays the average template waveform corresponding to the electrocardiogram waveform and how to obtain the average template waveform, which can be referred to steps S101 and S102 of the above embodiment, and displays at least one baseline at the corresponding position of the average template waveform, which can be referred to step S301 of the above embodiment, and will not be repeated here.
[0126] Step S502: Determine the area to be enlarged on the display interface based on preset area information or area information selected by the user.
[0127] In this embodiment, the area to be magnified on the display interface can be set by default or by the user. The area to be magnified is used to select the waveform to be subsequently magnified and displayed, that is, the waveform not in the area to be magnified will not be subsequently magnified and displayed. Therefore, in this embodiment, the average template waveform displayed on the display interface can be partially magnified according to the setting of the area to be magnified.
[0128] Specifically, the preset area information may be the location information of a certain area in a preset display interface. The area information selected by the user may include the location information of the area selected by the user on the display interface or the location information input by the user. The preset area information or the area information selected by the user may be the entire waveform display area or a portion of the waveform display area. After the area to be enlarged is determined, the electrocardiograph will only enlarge and display the average template waveform displayed in the area to be enlarged.
[0129] Step S503: in response to a first preset operation of the user on the average template waveform, the average template waveform located in the area to be amplified is obtained as the waveform to be amplified.
[0130] In this embodiment, steps S503, S504, S505 and S506 may be used to implement the steps of enlarging and displaying the average template waveform in response to a user's first preset operation on the average template waveform, and displaying the baseline at a corresponding position of the enlarged average template waveform.
[0131] For the description of the first preset operation, please refer to the description of the corresponding position in the above step S402. Figure 2 , the user only needs to enlarge and display the T1-T2 segment waveform, then the user can select the area where the T1-T2 segment waveform is located on the display interface as the area to be enlarged 204, so that when the user performs the first preset operation on the average template waveform (such as clicking the average template waveform), the T1-T2 segment waveform in the area to be enlarged 204 can be obtained as the waveform to be enlarged.
[0132] Step S504: enlarge and display at least a partial band of the waveform to be enlarged.
[0133] After the waveform to be amplified is determined, at least part of the band of the waveform to be amplified can be amplified and displayed. The amplified band can be displayed in the waveform display area of the display interface, such as Fig.10aAs shown in FIG. 2 , after obtaining the T1-T2 segment waveform in the region to be enlarged 204 as the waveform to be enlarged, the enlarged T1-T2 segment waveform can be displayed on the waveform display region 202. Of course, the enlarged band can also be displayed only in the region to be enlarged 204. For example, at least a portion of the T1-T2 segment waveform can be enlarged and displayed in the region to be enlarged 204. Alternatively, the enlarged band can also be displayed on the complete display interface, such as Fig.10b As shown, if the user selects the area where the P1-T2 segment waveform is located in the waveform display area as the area to be enlarged, the P1-T2 segment waveform can be enlarged and displayed.
[0134] It is understandable that when the magnification is large, the waveform to be magnified cannot be fully displayed in the display interface. Therefore, considering that the amplified waveform may not be fully displayed, it is possible to consider selecting a partial band of the waveform to be magnified for magnified display. Specifically, the band where the baseline pre-selected by the user in the waveform to be magnified is located can be selected for magnified display, or the middle band of the waveform to be magnified can be selected for magnified display. The specific band selection method can be set according to actual needs and is not limited here. It should be noted that the baseline pre-selected by the user is the baseline in the waveform to be magnified.
[0135] This embodiment is specifically described by taking the selection of the band where the baseline pre-selected by the user in the waveform to be enlarged is located for enlarged display as an example. In one embodiment, before this step S501, it may also include, in response to the user's selection operation of at least one baseline, determining that the at least one baseline is the first target baseline; this step S504 corresponds to specifically including: enlarging and displaying the band containing the first target baseline in the waveform to be enlarged. One situation: in response to the user's selection operation of selecting a baseline, the baseline is used as the first target baseline, and the band containing the first target baseline in the waveform to be enlarged is enlarged and displayed, wherein the band containing the first target baseline can be a band within a preset time range containing the first target baseline. For example, in response to the user's selection operation of the S baseline, the S baseline is used as the first target baseline, and the band within 10ms containing the S baseline is enlarged and displayed. Another situation is: in response to the user's selection operation of selecting at least two baselines, the at least two baselines are used as the first target baseline, and the band containing the first target baseline in the waveform to be enlarged is enlarged and displayed, wherein the band containing the first target baseline can be the band between the first and last baselines or the band within the preset time range containing the first and last baselines. Among them, the preset time range can be selected according to actual conditions. For example, in response to the user's selection operation of the P1 baseline, the Q baseline and the S baseline, the P1 baseline, the Q baseline and the S baseline are used as the first target baseline, the P1 baseline and the S baseline are the first and last baselines respectively, and the band between the P1 baseline and the S baseline or the band within 20ms containing the P1 baseline and the S baseline is enlarged and displayed. Among them, the selection operation can be implemented by means of touch screen, cursor or voice input. For example, by touching the Q baseline, the Q baseline is selected. By determining the first target baseline and enlarging and displaying the band containing the first target baseline, the enlarged band to be displayed can be determined by the selected baseline, so that the first target baseline can be moved in a targeted manner in subsequent operations without having to search for the baseline that needs to be repositioned after displaying the enlarged waveform, which can simplify user operations.
[0136] Step S505: Displaying the baseline at the corresponding position of the amplified average template waveform.
[0137] The electrocardiograph can obtain the original position of the baseline on the waveform to be amplified before amplification, determine the corresponding position of the original position on the waveform to be amplified after amplification, and display the baseline at the corresponding position. For example, the S baseline is at the 5ms position on the waveform to be amplified before amplification. After the waveform to be amplified is amplified by 2 times and displayed, the original position of the S baseline is also amplified by two times, so that the corresponding position of the S baseline on the waveform to be amplified after amplification can be determined to be the 10ms position, and the baseline is displayed at the 10ms position.
[0138] In one case, since the current position of the baseline that the user needs to move deviates far from the target position, when the user determines the area to be magnified with the target position, after the area to be magnified is magnified and displayed, since the baseline that needs to be moved deviates far, it cannot be displayed in the current display interface after magnification, and the area to be magnified needs to be moved to select the baseline, and then the baseline and the area to be magnified are moved to the target position. Therefore, this embodiment may also include before step S501: in response to the user's selection operation on at least one baseline, determining at least one baseline as the second target baseline. Correspondingly, displaying the baseline at the corresponding position of the magnified average template waveform includes: displaying the second target baseline at the second preset position of the currently displayed magnified average template waveform. Among them, the second preset position can be the middle position or any position. When the second target baseline includes only one baseline, the baseline can be directly displayed at the preset position. When the second target baseline includes multiple baselines, the multiple baselines can be displayed at different preset positions respectively or the multiple baselines can be displayed at a preset position at a certain interval. The second target reference line can always be displayed on the currently displayed magnified band. For example, Figure 2 As shown, the user needs to move the Q reference line to the area to be enlarged 204, but because the Q reference line is far away from the area to be enlarged, it cannot be displayed in the current display interface after enlargement (such as Fig.10a However, the Q baseline can be selected before performing the first preset operation. After the user performs the first preset operation to enlarge the band in the area to be magnified, the Q baseline can be directly displayed in the middle or any position of the enlarged band to facilitate the user to perform subsequent operations on the Q baseline.
[0139] Step S506: displaying a waveform reduction image including a complete average template waveform at a first preset position on the display interface, and displaying an area frame corresponding to the area to be enlarged at a corresponding position in the waveform reduction image.
[0140] After at least a partial band of the waveform to be magnified is magnified and displayed in step S504, in order to facilitate the user to reposition a new area to be magnified, a waveform reduction image including a complete average template waveform may be displayed at a first preset position of the display interface.
[0141] The first preset position can be set as needed, for example, the first preset position can be the upper right corner, the upper left corner, the lower right corner or the lower left corner.
[0142] like Fig.10b As shown, a waveform zoom-out image 901 including a complete average template waveform is displayed at the upper left corner of the display interface, and an area frame 902 corresponding to the area to be enlarged is displayed at a corresponding position in the waveform zoom-out image 901 .
[0143] like Figure 2 As shown, the waveform reduction image can also be a waveform thumbnail in the waveform selection area 201, and an area frame 903 corresponding to the area to be enlarged is displayed at a corresponding position in the waveform thumbnail, which will not be repeated here.
[0144] Step S507: detecting the user's movement operation on the area frame in the waveform reduction image, and updating the position of the area to be enlarged based on the position of the area frame in the waveform reduction image after the movement.
[0145] The moving operation may be to press and hold the area frame and drag the area frame in the waveform reduction image, that is, to move the position of the area frame in the waveform reduction image. Alternatively, the display interface further includes a slider area, and the moving operation may be to drag a slider in the slider area, and when it is detected that the slider in the slider area is dragged, the position of the area frame in the waveform reduction image is correspondingly moved. It can be understood that the area framed by the above-mentioned area frame is the area to be enlarged.
[0146] Specifically, it is detected that the user presses the area box and drags the area box in the waveform reduction view or drags the slider in the slider area, and based on the position of the area box in the waveform reduction view after the movement, the position of the area to be enlarged is updated.
[0147] Step S508: obtaining the updated average template waveform in the area to be amplified as a new waveform to be amplified, and re-executing the steps of amplifying and displaying at least a part of the waveband of the waveform to be amplified and the subsequent steps.
[0148] Specifically, at least a part of the waveband of the updated average template wave in the area to be amplified is amplified and displayed, and the baseline is correspondingly displayed at the corresponding position of the amplified average template wave. The specific execution of the above steps can refer to the above description.
[0149] In an application scenario, when part of the average template waveform displayed in the area to be enlarged does not include the band that the current user needs to adjust, the band that needs to be adjusted can be quickly found by moving the area box in the waveform zoom-out image. Of course, the touch point can also be generated by touching the display interface, and the corresponding moving average template waveform is adjusted according to the moving trajectory of the touch point to adjust the average template waveform displayed in the display interface. For example, the average template waveform displayed in the current display interface is a P2-Q segment waveform. When the touch point slides to the left, the average template waveform is correspondingly slid to the left to display the QS segment waveform.
[0150] Step S509: In response to the user's second preset operation on the baseline, the position of the baseline in the amplified average template waveform is adjusted.
[0151] Step S510: performing data measurement on the average template waveform based on the adjusted baseline to obtain at least one characteristic parameter value of the ECG waveform.
[0152] For the description of steps S509 and S510, reference may be made to the description of the corresponding positions in the above-mentioned embodiment step S403 and step S303. Of course, in other embodiments, step S510 may also include the steps S304-S308 of the above-mentioned embodiment, which will not be described in detail here.
[0153] In this embodiment, by setting the area to be magnified and only amplifying the average template waveform in the area to be magnified, the flexibility of amplifying and displaying the average template waveform can be improved, and since only the band that needs to be adjusted can be amplified and displayed, the accuracy of baseline positioning can be improved; secondly, the selected baseline can quickly determine the currently displayed amplified band; thirdly, after the waveform to be magnified in the area to be magnified is amplified and displayed, the position of the area to be magnified can be changed by changing the position of the area box in the waveform reduction diagram, so that the waveform to be magnified in the area to be magnified can be quickly and accurately updated, and the waveform to be magnified can be amplified and displayed.
[0154] See also Fig.11 , Fig.11 1 is a schematic diagram of a framework of an embodiment of an electrocardiograph of the present application. The electrocardiograph 100 includes a processor 101 and a memory 102 coupled to each other, and the processor 101 is used to execute program instructions stored in the memory 102 to implement the steps in any of the above method embodiments or the steps correspondingly executed by the electrocardiograph in any of the above method embodiments. In addition to the above processor 101 and memory 102, the electrocardiograph 100 may also include a touch screen, a printing component, a communication circuit, etc. according to requirements, which are not limited here.
[0155] Specifically, the processor 101 is used to control itself and the memory 102 to implement the steps in any of the above method embodiments. The processor 101 can also be called a CPU (Central Processing Unit). The processor 101 may be an integrated circuit chip with signal processing capabilities. The processor 101 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 101 can be implemented by multiple integrated circuit chips.
[0156] See also Fig.12 , Fig.12 FIG. 1 is an exploded schematic diagram of another embodiment of the electrocardiograph of the present application. Fig.12 As shown, the electrocardiograph includes a host 10, which includes a housing 11 and a display screen 12 embedded in the housing. Fig.11 The processor and memory shown may also include a communication circuit for communicating with external devices, wherein the communication circuit may include at least one of the following: a wifi communication circuit, a bluetooth communication circuit, a cellular mobile communication circuit, etc.
[0157] In one implementation scenario, the display screen 12 is a touch screen, so that the user can interact with the electrocardiograph by touching the display screen 12. For example, a data acquisition icon is displayed on the touch screen display interface of the electrocardiograph, and when a user touches the data acquisition icon, electrocardiograph data acquisition is performed. The electrocardiograph can also use the touch screen to implement the interactive operation with the user in any of the above embodiments.
[0158] The housing 11 includes a first side portion 111 and a second side portion 112 that are disposed opposite to each other. The first side portion 111 is used to connect to an external device. In an implementation scenario, the external device may include any one of a handle 20 and a printing assembly 30. In a specific implementation scenario, when the external device is connected to the first side portion 111, the second side portion 112 and the external device are simultaneously in contact with the support surface, so that a predetermined angle is formed between the plane where the display screen 12 is located and the support surface, so that it is convenient for the user to view the interface displayed on the display screen 12 or touch the display screen 12. The predetermined angle can be set to 30 degrees, 35 degrees, etc., and this embodiment does not make specific restrictions here.
[0159] In addition, in order to conveniently and quickly realize the connection between the host 10 and the peripheral device, matching connectors may be provided on the host 10 and the peripheral device. Taking the peripheral device including the handle 20 as an example, the host 10 is provided with positioning grooves 113 on both sides close to the first side portion 111, and the handle 20 includes two first positioning arms 21 arranged opposite to each other, and the first positioning arms 21 match the positioning grooves 113, so that the first positioning arms 21 can be inserted into the positioning grooves 113 to realize the detachable connection between the host 10 and the handle 20. In an implementation scenario, the first side portion 111 may also be provided with a plurality of snap-in holes (not shown), and the handle 20 also includes a first mounting portion 22 arranged between the two first positioning arms 21, and the first mounting portion 22 is provided with a first snap-in column 221 matching the snap-in holes. In one implementation scenario, in order to facilitate the user to carry the host 10 through the handle 20, the handle 20 also includes a handle 23, and the handle 23, the two first positioning arms 21 and the first mounting portion 22 enclose a through slot 24 for the user to hold, so that the user can conveniently carry the host 10. Alternatively, when the peripheral device includes a printing assembly 30, similar to the handle 20, the printing assembly 30 can include two second positioning arms 31 arranged opposite to each other, and the second positioning arms 31 match the positioning slot 113, so that the second positioning arms 31 can be inserted into the positioning slot 113 to achieve a detachable connection between the host 10 and the printing assembly 30. In one implementation scenario, the printing assembly 30 also includes a second mounting portion 32 arranged between the two second positioning arms 31, and the second mounting portion 32 is provided with a second clamping column 321 that matches the clamping hole.
[0160] In addition, the host 10 also includes a first acquisition interface 114, a second acquisition interface 115, and a switch button 116 disposed on the housing 11, and the second side portion 112 is also provided with a sound outlet 1121 and a scanning head 1122 for scanning barcodes. In addition, the host 10 may further include at least one of a power adapter interface, an Ethernet port, a USB (Universal Serial Bus) interface, an SD (Secure Digital) memory card slot, a SIM (Subscriber Identification Module) card slot, and an NFC (Near Field Communication) identifier.
[0161] In addition, the operating system (OS) of the host 10 may be based on Linux, Windows, etc., and this embodiment does not impose any specific limitation here.
[0162] The handle 20 and the printing assembly 30 can be configured according to actual needs. For example, for scenarios where the device is often carried and used outdoors, the handle 20 and the printing assembly 30 can be additionally configured on the basis of the host 10, and for scenarios where the device is used inside a hospital, the printing assembly 30 can be additionally configured on the basis of the host 10, or when the host 10 is connected to an external printing device via a network, the printing assembly 30 can be omitted. Examples are not given one by one in this embodiment.
[0163] It can be understood that the above-mentioned electrocardiograph can also selectively be provided with at least one of the following components: a camera component for capturing images or videos and cooperating with a communication circuit to realize video interaction with a remote end, a GPS positioning group for obtaining the location of the electrocardiograph, and a biometric collection component for collecting the user's biometric characteristics (such as a fingerprint collection component for collecting fingerprints, a camera component for collecting pupils, etc.).
[0164] See also Fig.13 , Fig.13 A schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present application is shown. The computer-readable storage medium 300 stores program instructions 301. When the program instructions 301 are executed by a processor, the steps of any of the above embodiments are implemented.
[0165] The computer-readable storage medium 300 may specifically be a medium that can store program instructions 301, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or may be a server that stores the program instructions 301. The server may send the stored program instructions 301 to other devices for execution, or may execute the stored program instructions 301 by itself.
[0166] The above are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for processing an electrocardiogram waveform, characterized in that: include: The electrocardiograph processes the electrocardiograph waveform to obtain an average template waveform corresponding to the electrocardiograph waveform; Displaying the average template waveform on a display interface, and displaying at least one baseline at a corresponding position of the average template waveform; Based on the preset area information or the area information selected by the user, the area to be enlarged on the display interface is determined; wherein the preset area information is the position information of a certain area in the display interface that is preset; the area information selected by the user includes the position information of the area selected by the user on the display interface or the position information input by the user; the preset area information or the area information selected by the user is the entire waveform display area, or a part of the waveform display area; after the area to be enlarged is determined, the electrocardiograph will only enlarge and display the average template waveform displayed in the area to be enlarged; In response to a first preset operation of the user on the average template waveform, the average template waveform located in the area to be enlarged is obtained as the waveform to be enlarged, and at least a part of the band of the waveform to be enlarged is enlarged and displayed; the first preset operation is at least one of the following: clicking a preset icon on the display interface, single-clicking the average template waveform displayed on the display interface, double-clicking the average template waveform displayed on the display interface, and touching the display interface to form two touch points on the display interface that are approaching or moving away; wherein, when the first preset operation is double-clicking the average template waveform displayed on the display interface, in response to the first preset operation of the user on the average template waveform, enlarging and displaying at least a part of the band of the average template waveform includes: obtaining a time difference between two clicks on the average template waveform; determining a magnification based on the time difference; and enlarging and displaying at least a part of the band of the average template waveform according to the magnification; Displaying the baseline at the corresponding position of the amplified average template waveform; wherein, displaying the baseline at the corresponding position of the amplified average template waveform comprises: the electrocardiograph obtains the original position of the baseline on the waveform to be amplified before amplification, determines the corresponding position of the original position on the amplified waveform to be amplified, and displays the baseline at the corresponding position; Before displaying the average template waveform on the display interface and displaying at least one reference line at a corresponding position of the average template waveform, the method includes: In response to a user selecting a reference line, taking the reference line as a first target reference line; The enlarging and displaying at least part of the waveband of the waveform to be enlarged specifically comprises: enlarging and displaying the waveband of the waveform to be enlarged that includes the first target baseline, wherein the waveband that includes the first target baseline is a waveband within a preset time range that includes the first target baseline; Before displaying the average template waveform on the display interface and displaying at least one baseline at the corresponding position of the average template waveform, it also includes: in response to the user's selection operation on at least one baseline, determining at least one baseline as a second target baseline; correspondingly, displaying the baseline correspondingly at the corresponding position of the enlarged average template waveform includes: displaying the second target baseline at a second preset position of the currently displayed enlarged average template waveform; wherein the second preset position is any position; when the second target baseline includes only one baseline, displaying the baseline at the preset position; when the second target baseline includes multiple baselines, displaying the multiple baselines at different preset positions respectively or displaying the multiple baselines at a preset position at a certain interval.
2. The method according to claim 1, characterized in that The electrocardiograph processes the electrocardiograph waveform to obtain an average template waveform corresponding to the electrocardiograph waveform, comprising: Acquire multiple valid QRS waveforms on the electrocardiogram waveform; Based on the amplitudes of the corresponding points of the multiple valid QRS waveforms, an average template waveform of the electrocardiogram waveform is obtained.
3. The method according to claim 2, characterized in that The step of obtaining the average template waveform of the electrocardiogram waveform based on the amplitudes of the corresponding points of the multiple valid QRS waveforms comprises: Obtaining an average value of the amplitudes of corresponding points on the multiple valid QRS waveforms as the amplitude of the corresponding point on the average template waveform; or, The multiple valid QRS waveforms are sorted according to amplitude, and the valid QRS waveform in the middle position is taken as the average template waveform corresponding to the electrocardiogram waveform.
4. The method according to claim 1, characterized in that: The electrocardiograph processes the electrocardiograph waveform to obtain an average template waveform corresponding to the electrocardiograph waveform, comprising: Processing each lead ECG waveform in the multi-lead ECG waveform to obtain an average template waveform corresponding to each lead ECG waveform; The step of displaying the average template waveform on a display interface comprises: Based on the user's selection operation on the display interface, an average template waveform of at least one lead ECG waveform is displayed in the waveform display area of the display interface; wherein the baseline position of the average template waveform corresponding to each lead to be displayed is the same.
5. The method according to claim 4, characterized in that The step of displaying the average template waveform of at least one lead ECG waveform in the waveform display area of the display interface based on the user's selection operation on the display interface comprises: Displaying a plurality of waveform thumbnails in the waveform selection area of the display interface, wherein the plurality of waveform thumbnails include a thumbnail of an average template waveform of each lead ECG waveform and a thumbnail obtained by superimposing the average template waveforms of all lead ECG waveforms; When a selection signal of a waveform thumbnail from a user in the waveform selection area is detected, the average template waveform corresponding to the selected waveform thumbnail is displayed in the waveform display area.
6. An electrocardiograph, characterized in that: include: A processor and a memory coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the steps in any one of the methods of claims 1-5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, and when the program instructions are executed by a processor, the steps in any one of the methods of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Method and system for automated detection and analysis in pediatric electrocardiography
CN102834050A
Digital electrocardiograph based on Android system
CN105496391A
Parameter display method and device for electrocardiograms, and terminal equipment and medium
CN110200623A
Data measurement method for electrocardiogram waveform, device thereof and terminal device
CN110301914A
Intelligent electrocardiograph
CN111000552A