Method for determining fragment to be analyzed and medical equipment
By detecting abnormal data and signal quality in electrocardiogram (ECG) data, the system automatically selects and displays target data segments, solving the problem of missing important diagnostic information in existing technologies and achieving more efficient and accurate analysis.
Patent Information
- Application Number
- CN202410648823.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2025-11-25
AI Technical Summary
In current electrocardiogram (ECG) testing, selecting the last acquired segment or the segment with the best signal quality as the segment to be analyzed may miss important diagnostic information, such as waveform abnormalities and arrhythmias, and may fail to select the segment with better diagnostic value.
By detecting abnormal data in electrocardiogram (ECG) data, the system identifies target data segments containing abnormal data and automatically selects and displays these segments for user confirmation based on signal quality requirements.
It can automatically capture target data segments containing abnormal data, improve user work efficiency, avoid missing abnormal data, and improve analysis accuracy.
Smart Images

Figure CN121003449A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of medical devices, specifically to a method for determining a fragment to be analyzed, a medical device, and a computer-readable storage medium. Background Technology
[0002] In related technologies, when medical devices perform electrocardiogram (ECG) testing, they generally select the last acquired segment (e.g., the last 10 seconds of data) or the segment with the best signal quality as the segment to be analyzed for automatic analysis. However, both of these methods of determining the segment to be analyzed may miss important diagnostic information (e.g., waveform abnormalities and arrhythmias) and fail to select the segment to be analyzed with better diagnostic value. Summary of the Invention
[0003] This application provides a method for determining a segment to be analyzed, the method comprising: acquiring electrocardiogram (ECG) data; detecting whether abnormal data exists in the ECG data; in response to detecting abnormal data in the ECG data, determining a target data segment containing the abnormal data from the ECG data; and displaying the target data segment for the user to determine the segment to be analyzed.
[0004] In some embodiments, determining a target data segment containing abnormal data from electrocardiogram (ECG) data includes: determining a target data segment containing abnormal data from ECG data whose signal quality meets a first preset requirement.
[0005] In some embodiments, the target data segment has a preset duration; determining the target data segment containing abnormal data and whose signal quality meets a first preset requirement from the electrocardiogram (ECG) data includes: determining a first interval containing abnormal data from the ECG data; wherein, when any segment with a preset duration is extracted from the first interval, the abnormal data is included therein, and each abnormal data corresponds to a first interval; determining a second interval whose signal quality meets the first preset requirement from the first interval; wherein, when any segment with a preset duration is extracted from the second interval, the abnormal data is included therein, and each abnormal data corresponds to a second interval; and determining the target data segment from the second interval.
[0006] In some embodiments, determining a target data segment from a second interval includes: determining whether there exists a mergeable second interval, wherein, in at least two mergeable second intervals, the interval between the start point of abnormal data in one second interval and the end point of abnormal data in the other second interval is less than or equal to a preset duration; in response to the existence of mergeable second intervals, merging the mergeable second intervals into a third interval, the third interval including abnormal data in each merged second interval; and determining a target data segment from the third interval, the target data segment including abnormal data in each merged second interval.
[0007] In some embodiments, detecting whether there is abnormal data in the electrocardiogram (ECG) data includes: detecting the ECG waveform in the ECG data to obtain ECG parameters; and detecting whether there is abnormal data in the ECG data based on the ECG parameters.
[0008] In some embodiments, after detecting whether there is abnormal data in the electrocardiogram (ECG) data, the determination method further includes: in response to the absence of abnormal data detected in the ECG data, determining an ECG data segment whose signal quality meets a first preset requirement and whose heart rate variability is the largest as a target data segment.
[0009] In some embodiments, after acquiring electrocardiogram (ECG) data, the determination method further includes: performing signal quality detection on the ECG data; detecting whether there is abnormal data in the ECG data includes: in response to the signal quality of the ECG data meeting a second preset requirement, performing detection to determine whether there is abnormal data in the ECG data.
[0010] In some embodiments, after performing signal quality detection on the electrocardiogram (ECG) data, the determination method further includes: in response to the ECG data signal quality not meeting a second preset requirement, determining the ECG data segment with the best signal quality from the ECG data as the target data segment.
[0011] In some embodiments, determining the ECG data segment with the best signal quality from the ECG data as the target data segment further includes: outputting a prompt message and determining whether the user needs to reacquire the ECG data, wherein the prompt message is used to indicate that the signal quality of the ECG data does not meet a second preset requirement.
[0012] In some embodiments, displaying a target data segment includes: displaying the target data segment on a first display area, and displaying all data from a certain lead in the electrocardiogram data and the corresponding position of the target data segment in that lead on a second display area, wherein the first display area and the second display area are arranged side by side.
[0013] In some embodiments, displaying target data segments on a first display area and displaying all data from a certain lead in the electrocardiogram (ECG) data and the corresponding positions of the target data segments in that lead on a second display area includes: in response to determining multiple target data segments from the ECG data, based on a user's first interactive operation, switching the currently displayed target data segments on the first display area according to a preset priority rule, and displaying all data from a certain lead in the ECG data, the corresponding positions of each target data segment in that lead, and the corresponding positions of the currently displayed segments on the first display area in that lead on the second display area.
[0014] In some embodiments, after displaying the target data segment, the determination method further includes: based on the user's second interactive operation, displaying other segments of the electrocardiogram data besides the target data segment on a first display area, and displaying the corresponding position of the currently displayed segment in a certain lead on a second display area.
[0015] In some embodiments, switching the currently displayed target data segment on the first display area according to a preset priority rule based on a user's first interaction operation includes: in response to receiving the first interaction operation, determining whether the currently displayed segment on the first display area is a target data segment; if yes, then switching the currently displayed target data segment on the first display area according to the preset priority rule; if no, then determining whether the currently displayed segment on the first display area includes at least a portion of one of the target data segments; if yes, displaying one of the target data segments on the first display area; if no, displaying the target data segment with the highest priority among multiple target data segments on the first display area.
[0016] In some embodiments, the priority rule includes setting the priority of multiple target data segments in descending order of the health risk level of the abnormal information indicated by the abnormal data, or setting the priority of multiple target data segments in the order of their occurrence time; after displaying the target data segments, the determination method further includes: switching the priority rule.
[0017] This application also provides a medical device including a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the determination method as described in any of the above embodiments.
[0018] In another aspect, this application provides a computer-readable storage medium storing a computer program that, when executed, implements the determination method of any of the above embodiments.
[0019] Abnormal data is closely related to human health. The solution proposed in this application can automatically capture target data segments containing abnormal data, i.e. the segments with the most analytical value, and present them to the user. This allows the user to quickly identify the segments to be analyzed, which is beneficial to improving the user's work efficiency and avoiding the omission of abnormal data, thus improving the accuracy of the analysis. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:
[0021] Figure 1 This is a flowchart illustrating an embodiment of the method for determining the segment to be analyzed provided in this application;
[0022] Figure 2 This is a flowchart illustrating an embodiment of S131;
[0023] Figure 3 This is another schematic flowchart of an embodiment of S131;
[0024] Figure 4 yes Figure 2 A flowchart of an embodiment of S1313;
[0025] Figure 5 yes Figure 2 Another schematic diagram of an embodiment of S1313;
[0026] Figure 6 This is a schematic diagram of the target data segment displayed in S140;
[0027] Figure 7 This is a flowchart illustrating an embodiment of S1411;
[0028] Figure 8 This is a flowchart illustrating another embodiment of the method for determining the segment to be analyzed provided in this application;
[0029] Figure 9 This is a schematic diagram of the structure of an embodiment of the medical device of this application;
[0030] Figure 10 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of this application. Detailed Implementation
[0031] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be particularly noted that the following embodiments are for illustrative purposes only and do not limit the scope of the application. Similarly, the following embodiments are only some, not all, embodiments of the present application, and all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the present application.
[0032] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0033] The terms "first," "second," and "third" in this application are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.
[0034] like Figure 1 As shown, Figure 1 This is a flowchart illustrating an embodiment of the method for determining the segment to be analyzed provided in this application. The method includes the following steps:
[0035] S110, acquire ECG data.
[0036] This determination method can be applied to medical devices. In some embodiments, the medical device may include a data acquisition module to acquire electrocardiogram (ECG) data. In some embodiments, the medical device may not include a data acquisition module; for example, the medical device may communicate with another data acquisition device that has a data acquisition module and receive ECG data from that device. In this embodiment, the ECG data may include data from multiple leads, such as data from 6 leads or 12 leads. This application does not limit this, and those skilled in the art can choose according to actual needs. In some embodiments, the ECG data may also include data from only a single lead.
[0037] S120 detects whether there are abnormal data in the electrocardiogram data.
[0038] For example, a medical device may include an anomaly detection module for detecting the presence of abnormal data in electrocardiogram (ECG) data. Abnormal data may include waveform abnormalities and / or arrhythmias. Specifically, this step may include:
[0039] S121 detects the electrocardiogram waveform in the electrocardiogram data to obtain electrocardiogram parameters.
[0040] Specifically, the anomaly detection module may include an electrocardiogram (ECG) parameter measurement module, which is used to obtain a series of ECG parameters such as heartbeat type, P wave duration, and PR interval based on the detection of ECG waveforms.
[0041] S122, detect whether there is abnormal data in the electrocardiogram data based on electrocardiogram parameters.
[0042] Furthermore, the electrocardiogram parameters obtained in S121 can be used for waveform abnormality detection and / or arrhythmia detection. For example, waveform abnormality detection can be performed only, arrhythmia detection can be performed only, or both waveform abnormality detection and arrhythmia detection can be performed simultaneously. This application does not impose any restrictions on this, and those skilled in the art can choose according to actual needs.
[0043] S130, in response to detecting abnormal data from the electrocardiogram data, identifies a target data segment containing the abnormal data from the electrocardiogram data.
[0044] For example, a medical device may include a result processing module for identifying target data segments containing abnormal data from electrocardiogram (ECG) data when abnormal data is detected. These target data segments have a preset duration and can be one or more, and can be recommended to the user. For example, each target data segment can be a 10-second segment; however, this application is not limited to this, and those skilled in the art can choose according to actual needs. In some embodiments, when extracting target data segments, the abnormal data can be positioned as close as possible to the middle of the target data segment.
[0045] S140, Display the target data segment for the user to determine the segment to be analyzed.
[0046] In this embodiment, the medical device may include a display interface and an interaction module. For example, the medical device may be a clinical electrocardiogram (ECG) acquisition device, such as an ECG machine and an ECG monitor. Target data segments can be displayed on the display interface and recommended to the user. The medical device can use the interaction module to receive user interaction operations to determine the segment to be analyzed. The segment to be analyzed can be selected from one of the target data segments or other segments from the ECG data. After determining the segment to be analyzed, the medical device can invoke an automatic ECG diagnostic analysis algorithm to automatically diagnose and analyze the segment.
[0047] In some embodiments, the medical device may not include a display interface and an interaction module. For example, the medical device may be a server or an electrocardiogram (ECG) network, such as a medical central station. The medical device can communicate with another interactive device that has a display interface and an interaction module. The medical device can send a target data segment to another interactive device, thereby displaying the target data segment on the display interface, and using the interaction module to receive user interaction operations to determine the segment to be analyzed. This application does not limit this, and those skilled in the art can choose according to actual needs.
[0048] Abnormal data is closely related to human health. The solution in this embodiment can automatically capture target data segments containing abnormal data, that is, the segments with the most analytical value, and present them to the user. This allows the user to quickly identify the segment to be analyzed, which is beneficial to improving the user's work efficiency and avoiding the omission of abnormal data, thus improving the accuracy of the analysis.
[0049] In S130, a target data segment can be determined from the ECG data by comprehensively considering abnormal data and signal quality. This allows for the recommendation of target data segments with reliable signal quality and diagnostic value to the user, thus improving user efficiency. Specifically, determining the target data segment containing abnormal data from the ECG data in S130 may include:
[0050] S131, Identify a target data segment from the electrocardiogram data that contains abnormal data and whose signal quality meets the first preset requirements.
[0051] like Figure 2 and 3 As shown, Figure 2 This is a flowchart illustrating an embodiment of S131. Figure 3 This is another schematic flowchart of an embodiment of S131. Specifically, S131 may include:
[0052] S1311, determine a first interval L containing abnormal data O from the electrocardiogram data; wherein, when any segment with a preset duration is extracted from the first interval L, the abnormal data O is included therein, and each abnormal data corresponds to a first interval.
[0053] The first interval L can include the complete abnormal data O. When the target data segment is a 10-second segment, any 10-second segment extracted from the first interval will include the abnormal data O.
[0054] S1312, determine a second interval M from the first interval L where the signal quality meets the first preset requirement; wherein, when any segment with a preset duration is extracted from the second interval M, abnormal data O is included therein, and each abnormal data corresponds to a second interval.
[0055] Furthermore, after S1311, the signal quality can be further filtered in the first interval L by S1312, thereby determining the second interval M that includes complete abnormal data O and whose signal quality meets the first preset requirements.
[0056] S1313, determine the target data segment from the second interval M.
[0057] The duration of the first interval L can be greater than or equal to the duration of the second interval M, and the duration of the second interval M can be greater than or equal to the preset duration of the target data segment. There can be one or more second intervals. When there is only one second interval, a target data segment including complete anomalous data can be extracted within the second interval. In some embodiments, the anomalous data can be positioned as close as possible to the middle of the target data segment.
[0058] When there are multiple second intervals, these intervals can be merged and reorganized to reduce the number of target data segments and decrease the amount of data processing. Specifically, as follows... Figure 4 and Figure 5 As shown, Figure 4 yes Figure 2 A flowchart of an embodiment of S1313 is shown. Figure 5 yes Figure 2 Another schematic diagram of an embodiment of S1313. Specifically, S1313 may include:
[0059] S13131, determine whether there is a mergeable second interval, wherein, among at least two mergeable second intervals, the interval between the start point of the abnormal data in one second interval and the end point of the abnormal data in the other second interval is less than or equal to a preset duration.
[0060] like Figure 5 As shown, ad and eh are two second intervals. The abnormal data in ad is bc, and the abnormal data in eh is fg. When the interval between the starting point b of the abnormal data bc and the ending point g of the abnormal data fg is less than or equal to the aforementioned preset duration, such as 10s, ad and eh can be considered as two mergeable second intervals.
[0061] S13132, in response to the existence of mergeable second intervals, merge the mergeable second intervals into a third interval, the third interval including the outlier data in each merged second interval.
[0062] like Figure 5As shown, the two second intervals ad and eh can be merged into a third interval ah, which includes the outlier data bc and fg. For example, the starting point of one of the second intervals can be used as the starting point of the third interval, and the ending point of the other second interval can be used as the ending point of the third interval.
[0063] S13133, Identify the target data segment from the third interval, the target data segment including the outlier data in each of the merged second intervals.
[0064] Specifically, the target data segment extracted from the third interval includes abnormal data bc and abnormal data fg, and the abnormal data bc and abnormal data fg can be located in the middle of the target data segment as much as possible.
[0065] When there are multiple second intervals that cannot be merged and sorted, a target data segment can be extracted from each second interval. This is within the scope of what those skilled in the art can easily understand, and will not be elaborated here.
[0066] like Figure 6 As shown, Figure 6 This is a schematic diagram of displaying the target data segment in S140. In this embodiment, the display interface may include a first display area A and a second display area B, which can be arranged side by side, and the area of the first display area A may be larger than the area of the second display area B. The first display area A can be used to display the target data segment, allowing the user to quickly browse the detailed data within the target data segment and determine whether to include it as the segment to be analyzed. The second display area B can be used to display all the data in a specific lead and the corresponding position C of the target data segment within that lead, allowing the user to locate the specific position of the target data segment within that lead.
[0067] Specifically, the display target data segment in S140 may include:
[0068] S141, display the target data segment on the first display area A, and display all the data of a certain lead in the ECG data and the corresponding position C of the target data segment in the certain lead on the second display area B.
[0069] like Figure 6 As shown, the ECG data can include data from 12 leads, meaning that each target data segment includes data segments from all 12 leads. The first display area A can be used to display the data segments from all 12 leads included in one of the target data segments, and the second display area B can be used to display all the data from a certain lead, as well as the corresponding position C of the target data segment in that lead.
[0070] When multiple target data segments are identified from electrocardiogram (ECG) data, these segments can be sorted and organized according to a preset priority rule to help users quickly select the segments to be analyzed and improve their work efficiency. Specifically, this can be achieved through the following steps included in S141:
[0071] S1411, in response to identifying multiple target data segments from the electrocardiogram data, based on the user's first interactive operation, the target data segments currently displayed on the first display area A are switched according to a preset priority rule, and all data of a certain lead in the electrocardiogram data, the corresponding positions C of each target data segment in the certain lead, and the corresponding positions of the segments currently displayed on the first display area A in the certain lead are displayed on the second display area B.
[0072] When multiple target data segments are identified from electrocardiogram (ECG) data, their priorities can be set according to preset priority rules. In some embodiments, the priorities of the multiple target data segments can be set in descending order of the health risk level indicated by the abnormal data. That is, the multiple target data segments are sorted in descending order of the health risk level indicated by the abnormal data. For example, the higher the health risk level indicated by the abnormal data, the higher the priority and the earlier the segment is ranked. In some embodiments, the priorities of the multiple target data segments can also be set according to the chronological order of their occurrence. That is, the multiple target data segments are sorted according to the chronological order of their occurrence. For example, the earlier the occurrence, the higher the priority and the earlier the segment is ranked, or the later the occurrence, the higher the priority and the earlier the segment is ranked. This application does not limit this, and those skilled in the art can choose according to actual needs. In this way, when there are multiple target data segments, users can quickly browse these target data segments according to their priorities, thereby quickly selecting the segment to be analyzed.
[0073] Specifically, after setting the priorities of multiple target data segments, the target data segment with the highest priority can be displayed on the first display area A. Then, based on the received first interactive operation, the target data segments currently displayed on the first display area A are switched according to priority to help users quickly select the segments to be analyzed and improve user work efficiency.
[0074] The second display area B can display all the data of a certain lead, the corresponding position C of each target data segment in the lead, and the corresponding position of the segment currently displayed on the first display area A in the lead. In this way, the second display area B can act as a time axis, enabling users to quickly determine the corresponding position of the target data segment currently displayed on the first display area A in a certain lead.
[0075] like Figure 6 As shown, the number of target data segments can also be displayed in area D of the display interface, the order of the target data segment currently displayed in the first display area A among multiple target data segments, and the current priority rules, to help users quickly select the segments to be analyzed and improve user work efficiency.
[0076] In some embodiments, the medical device may include an interaction module, which may include up and down keys. The first interaction operation may be performed on the up and down keys. By pressing the up and down keys, the user can quickly switch the target data segment currently displayed on the first display area A, cycle through multiple target data segments, and synchronously update the number of target data segments displayed on area D, the order of the target data segment currently displayed on the first display area A among multiple target data segments, and the current priority rule.
[0077] In some embodiments, the interaction module can be integrated with the display interface. For example, the display interface may include virtual up and down buttons. With the virtual up and down buttons, users can quickly switch the target data segment currently displayed on the first display area A and cycle through multiple target data segments.
[0078] In some embodiments, after displaying the target data fragment, the determination method may further include:
[0079] S150, switch priority rules.
[0080] Specifically, users can switch priority rules according to their needs to quickly select the segments to be analyzed. For example, they can switch from prioritizing multiple target data segments according to the health risk level indicated by the abnormal data in descending order to prioritizing multiple target data segments according to the chronological order of their occurrence.
[0081] In some embodiments, after displaying the target data fragment, the determination method may include:
[0082] S160, based on the user's second interactive operation, display other segments of the ECG data except for the target data segment on the first display area A, and display the corresponding position E of the segment currently displayed on the first display area A in the ECG data on the second display area B.
[0083] For example, a medical device may include an interaction module, which may include left and right buttons. The second interactive operation can be performed using these buttons. Using the left and right buttons, the user can display segments of ECG data other than the target data segment on a first display area A, and display the corresponding position E of the currently displayed segment on the first display area A in the ECG data on a second display area B, allowing the second display area B to function as a timeline. For instance, by pressing the left and right buttons, the user can move the currently displayed segment on the first display area A forward or backward by 1 second, and mark the corresponding position E of the currently displayed segment on the second display area B. This allows the user to quickly browse detailed ECG data at any location and identify the segment to be analyzed. In some embodiments, the interaction module can be integrated with a display interface. For example, the display interface may include virtual left and right buttons, allowing the user to quickly browse detailed ECG data at any location.
[0084] like Figure 7 As shown, Figure 7 This is a flowchart illustrating an embodiment of S1411. In such an embodiment, S1411 may include:
[0085] S14111: In response to receiving the first interactive operation, determine whether the currently displayed segment on the first display area A is the target data segment.
[0086] As mentioned earlier, the first interactive operation can be performed using the up and down arrow keys or virtual up and down arrow keys.
[0087] S14112: If so, then switch the target data segment currently displayed on the first display area A according to the preset priority rules.
[0088] If the currently displayed segment on the first display area A is any one of multiple target data segments, then upon receiving the first interactive operation, the system will directly switch to the next target data segment.
[0089] S14113: If not, determine whether the currently displayed segment on the first display area A includes at least a portion of one of the target data segments.
[0090] If the currently displayed segment on the first display area A is not a target data segment, then determine whether the currently displayed segment includes at least a portion of one of the target data segments.
[0091] S14114: If included, display one of the target data segments on the first display area A.
[0092] If the currently displayed segment includes at least a portion of one of the target data segments, then upon receiving the first interactive operation, the target data segment is displayed on the first display area A.
[0093] S14115: If not included, the highest priority target data segment among multiple target data segments will be displayed on the first display area A.
[0094] If the currently displayed segment does not include at least a portion of any target data segment, then upon receiving the first interactive operation, the target data segment with the highest priority will be displayed on the first display area A to help the user quickly select the segment to be analyzed and improve the user's work efficiency. For example, the target data segment with the highest degree of health risk indicated by the abnormal data can be displayed on the first display area A, or the target data segment that occurred earlier can be displayed on the first display area A. This application does not limit this, and those skilled in the art can choose according to actual needs.
[0095] After acquiring ECG data, it can be first determined whether the signal quality of the ECG data meets the minimum requirements. If the minimum requirements are met, it means that relatively accurate analysis results can be obtained based on the ECG data, and S120 is executed. If the minimum requirements are not met, it means that the analysis results obtained based on the ECG data may not be accurate. In this case, the segment with the best signal quality can be selected as the target data segment, and the user is prompted that the signal quality is poor. Figure 8 As shown, Figure 8 This is a flowchart illustrating another embodiment of the method for determining the segment to be analyzed provided in this application. Specifically, it includes the following steps after S110:
[0096] S111 performs signal quality detection on electrocardiogram (ECG) data.
[0097] Specifically, the signal quality value can be calculated based on the type of noise contained in the electrocardiogram (ECG) signal and its corresponding noise intensity to evaluate the signal quality of ECG data.
[0098] At this time, S120 may include: in response to the signal quality of the ECG data meeting the second preset requirement, performing a detection to check whether there is abnormal data in the ECG data.
[0099] The second preset requirement is the minimum requirement for signal quality, which is lower than the first preset requirement. Specifically, the signal quality of the ECG data can be judged based on the signal quality value calculated in the previous step. If the signal quality of the ECG data meets the second preset requirement, then the process of detecting whether there is abnormal data in the ECG data is performed.
[0100] S111 can also include:
[0101] S120a, in response to the fact that the signal quality of the ECG data does not meet the second preset requirement, the ECG data segment with the best signal quality is determined as the target data segment.
[0102] If the signal quality of the ECG data does not meet the second preset requirement, it indicates that the signal quality is poor. In this case, the 10-second segment with the best signal quality can be output as the target data segment recommended to the user. That is, the 10-second segment with the best signal quality is sent to the display interface for display.
[0103] In some embodiments, determining the ECG data segment with the best signal quality as the target data segment from the ECG data further includes: outputting a prompt message and determining whether the user needs to reacquire the ECG data. The prompt message indicates that the signal quality of the ECG data does not meet a second preset requirement. For example, the user may be prompted on the display interface with "Poor signal quality, it is recommended to reacquire the data." At this time, the user can make a selection through the interactive module. If yes, the data will be reacquired; if no, the recommended target data segment will be automatically diagnosed and analyzed.
[0104] Please continue reading. Figure 8 Following S120, the determination method in this embodiment may further include:
[0105] S130a, in response to the absence of abnormal data detected in the ECG data, the ECG data segment with signal quality meeting the first preset requirement and the largest heart rate variability is determined as the target data segment.
[0106] For example, a medical device may include a heart rate detection module, which, when no abnormal data is detected from the electrocardiogram (ECG) data, determines a 10-second segment from the ECG data that meets a first preset requirement in terms of signal quality and has the largest heart rate variability as the target data segment.
[0107] In addition, this application also provides a medical device 400. Please refer to [link / reference needed]. Figure 9 , Figure 9 This is a schematic diagram of the structure of a medical device according to an embodiment of the present application. The medical device 400 includes a memory 410, a processor 420, and a computer program stored in the memory 410 and executable on the processor 420. When the processor 420 executes the computer program, it implements the steps of the method for determining any of the segments to be analyzed described above.
[0108] The processor 420 can also be referred to as a CPU (Central Processing Unit). The processor 420 may be an integrated circuit chip with signal processing capabilities. The processor 420 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor, or the processor 420 can be any conventional processor.
[0109] Memory 410 may include random access memory (RAM), read-only memory (ROM), flash memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disk, removable disk, CD-ROM, etc. Memory 410 may store program data, which may include, for example, a single instruction or multiple instructions, and may be distributed across several different code segments, distributed among different programs, and distributed across multiple memories. Memory 410 may be coupled to processor 420 so that processor 420 can read and write information to / from memory 410. Of course, memory 410 may be integrated into processor 420; this application does not limit this, and those skilled in the art can choose according to actual needs.
[0110] Please see Figure 10 , Figure 10 This is a schematic diagram of a computer-readable storage medium according to an embodiment of this application. The computer-readable storage medium 500 stores a computer program, which, when executed by a processor, implements the steps of the method for determining any of the segments to be analyzed described above. The technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage device and includes several instructions (program data) to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this invention. The aforementioned storage device includes various media such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, as well as electronic devices such as computers, mobile phones, laptops, tablets, and cameras that have the aforementioned storage media.
[0111] In the several embodiments provided in this application, it should be understood that the method for determining the segment to be analyzed disclosed can be implemented in other ways. For example, the electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0112] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0113] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0114] The above are only some embodiments of this application and do not limit the scope of protection of this application. Any equivalent device or equivalent process transformation made based on the content of this application specification and drawings, or directly or indirectly applied to other related technical fields, are similarly included within the scope of patent protection of this application.
Claims
1. A method for determining a segment to be analyzed, characterized in that, The determination method includes: Obtain electrocardiogram (ECG) data; Detect whether there is any abnormal data in the electrocardiogram data; In response to detecting the abnormal data from the electrocardiogram data, a target data segment containing the abnormal data is determined from the electrocardiogram data; The target data segment is displayed so that the user can determine the segment to be analyzed.
2. The determination method according to claim 1, characterized in that, The step of identifying the target data segment containing the abnormal data from the electrocardiogram data includes: The target data segment that contains the abnormal data and whose signal quality meets the first preset requirement is identified from the electrocardiogram data.
3. The determination method according to claim 2, characterized in that, The target data segment has a preset duration; The target data segment identified from the electrocardiogram data that contains the abnormal data and whose signal quality meets the first preset requirement includes: A first interval containing the abnormal data is determined from the electrocardiogram data; wherein, when any segment with the preset duration is extracted from the first interval, the abnormal data is included therein, and each abnormal data corresponds to one first interval; A second interval is determined from the first interval to find a signal quality that meets the first preset requirement; wherein, when any segment with the preset duration is extracted from the second interval, the abnormal data is included therein, and each abnormal data corresponds to one second interval; The target data segment is determined from the second interval.
4. The determination method according to claim 3, characterized in that, Determining the target data segment from the second interval includes: Determine whether there are mergeable second intervals, wherein, among at least two mergeable second intervals, the interval between the start point of the abnormal data in one second interval and the end point of the abnormal data in the other second interval is less than or equal to the preset duration; In response to the existence of mergeable second intervals, mergeable second intervals are merged into a third interval, the third interval including the abnormal data in each merged second interval; The target data segment is determined from the third interval, the target data segment including the anomalous data in each of the merged second intervals.
5. The determination method according to claim 1, characterized in that, The detection of whether there is abnormal data in the electrocardiogram data includes: The electrocardiogram (ECG) waveform in the ECG data is detected to obtain ECG parameters; The ECG parameters are used to detect whether any abnormal data exists in the ECG data.
6. The determination method according to claim 1, characterized in that, After detecting whether there is abnormal data in the electrocardiogram data, the determination method further includes: In response to the absence of abnormal data detected in the ECG data, an ECG data segment whose signal quality meets a first preset requirement and whose heart rate variability is the largest is determined as the target data segment.
7. The determination method according to claim 1, characterized in that, After acquiring the electrocardiogram data, the determination method further includes: The ECG data were subjected to signal quality testing. The detection of whether there is abnormal data in the electrocardiogram data includes: In response to the fact that the signal quality of the electrocardiogram (ECG) data meets the second preset requirement, the detection of whether there is abnormal data in the ECG data is performed.
8. The determination method according to claim 7, characterized in that, After performing signal quality detection on the electrocardiogram data, the determination method further includes: In response to the fact that the signal quality of the ECG data does not meet the second preset requirement, the ECG data segment with the best signal quality is determined from the ECG data as the target data segment.
9. The determining method according to claim 8, characterized in that, The step of determining the ECG data segment with the best signal quality from the ECG data as the target data segment further includes: Output a prompt message and determine whether the user needs to reacquire ECG data. The prompt message is used to indicate that the signal quality of the ECG data does not meet the second preset requirement.
10. The determination method according to claim 1, characterized in that, The display of the target data fragment includes: The target data segment is displayed on the first display area, and all data of a certain lead in the electrocardiogram data and the corresponding position of the target data segment in that certain lead are displayed on the second display area. The first display area and the second display area are arranged side by side.
11. The determining method according to claim 10, characterized in that, The step of displaying the target data segment on the first display area and displaying all data from a certain lead in the electrocardiogram data and the corresponding position of the target data segment in that certain lead on the second display area includes: In response to identifying multiple target data segments from the electrocardiogram (ECG) data, based on the user's first interactive operation, the target data segments currently displayed on the first display area are switched according to a preset priority rule, and all data of a certain lead in the ECG data, the corresponding positions of each of the target data segments in that certain lead, and the corresponding positions of the segments currently displayed on the first display area in that certain lead are displayed on the second display area.
12. The determining method according to claim 11, characterized in that, After displaying the target data fragment, the determination method further includes: Based on the user's second interactive operation, other segments of the ECG data, excluding the target data segment, are displayed on the first display area, and the corresponding position of the currently displayed segment in the first display area in a certain lead is displayed on the second display area.
13. The determination method according to claim 12, characterized in that, The step of switching the target data segment currently displayed on the first display area according to a preset priority rule based on the user's first interaction operation includes: In response to receiving the first interactive operation, determine whether the currently displayed segment on the first display area is the target data segment; If so, then the target data segment currently displayed on the first display area is switched according to the preset priority rule; If not, determine whether the currently displayed segment on the first display area includes at least a portion of one of the target data segments; If included, one of the target data fragments is displayed on the first display area; If not included, the target data segment with the highest priority among the plurality of target data segments will be displayed on the first display area.
14. The determining method according to claim 11, characterized in that, The priority rules include setting the priority of the multiple target data segments in descending order of the health risk level of the abnormal information indicated by the abnormal data, or setting the priority of the multiple target data segments in the order of their occurrence time. After displaying the target data fragment, the determination method further includes: Switch the priority rules.
15. A medical device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the determination method as described in any one of claims 1 to 14.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the determination method as described in any one of claims 1 to 14.
Citation Information
Patent Citations
Data collection method, terminal equipment and storage medium
CN113116357A
Electrocardiograph and method of displaying electrocardiographic wave
CN1572238A