Post-cardiac surgery drainage anomaly monitoring method, device, system, apparatus, and medium
By analyzing the sudden changes and trends in flow velocity within different time windows using drainage time-series data in postoperative cardiac drainage monitoring, the problem of insufficient monitoring accuracy in existing technologies has been solved, and more accurate abnormality monitoring has been achieved.
Patent Information
- Application Number
- CN202611384064.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, digital monitoring methods for postoperative cardiac drainage status are insufficient to fully reflect the differences in drainage status at different postoperative stages, among different patients, and at different drainage sites, resulting in low accuracy in monitoring drainage abnormalities.
By receiving postoperative drainage time-series data, the degree of abrupt changes in drainage velocity within the first time window and the trend and patency of drainage velocity changes within the second time window are determined. Combining the two data points helps to identify abnormal monitoring results and avoids abnormal judgments based on a single time scale or parameter.
It improves the accuracy of monitoring abnormal drainage after cardiac surgery, taking into account both short-term mutations and continuous changes, and provides more comprehensive abnormal monitoring results.
Smart Images

Figure CN123148472A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical monitoring technology, and in particular to a method, device, system, equipment and medium for monitoring abnormal drainage after cardiac surgery. Background Technology
[0002] Post-cardiac surgery patients typically require indwelling pericardial, mediastinal, and / or thoracic drainage tubes to drain blood and fluid from the surgical area, pericardial cavity, mediastinum, or pleural cavity. The drainage flow rate, drainage volume per unit time, cumulative drainage volume, and their changes are crucial information for healthcare professionals to monitor postoperative bleeding, drainage patency, and related postoperative risks. Therefore, continuous and accurate monitoring of post-cardiac drainage is essential for postoperative care and risk assessment.
[0003] With the development of medical monitoring equipment, digital drainage monitoring methods have emerged. For example, changes in drainage volume can be obtained by setting a liquid level metering structure at the end of the drainage container, changes in the weight of the liquid in the drainage container can be recorded by weighing, and changes in drainage volume can be estimated through image acquisition and visual recognition. These methods can reduce errors from manual readings to a certain extent and provide medical staff with drainage parameters such as drainage flow rate, drainage volume per unit time, and cumulative drainage volume.
[0004] However, digital drainage monitoring methods in related technologies typically focus on collecting, displaying, recording, or setting fixed thresholds for raw drainage parameters. For post-cardiac surgery patients, drainage status may vary at different post-operative stages, among different patients, and at different drainage sites. Simply relying on raw parameter displays or fixed thresholds cannot fully reflect the abnormal risks corresponding to changes in drainage status over time, resulting in low accuracy in monitoring drainage abnormalities. Summary of the Invention
[0005] Therefore, it is necessary to provide a method, device, system, equipment, and medium for monitoring postoperative cardiac drainage abnormalities that can improve the accuracy of monitoring drainage abnormalities, addressing the aforementioned technical problems.
[0006] In a first aspect, this application provides a method for monitoring abnormal drainage after cardiac surgery, including: Receive postoperative cardiac drainage time-series data corresponding to the current monitoring task; the drainage time-series data includes multiple acquisition times within the monitoring period corresponding to the current monitoring task and drainage parameter values corresponding to each acquisition time; the drainage parameter values include at least parameter values related to the postoperative cardiac drainage flow rate; From the drainage time series data, the first time series data whose acquisition time is within the first time window is determined, and the first drainage deviation feature is determined based on the first time series data; the first drainage deviation feature is used to characterize the degree of change in drainage flow rate in the postoperative drainage state under the current monitoring task; From the drainage time-series data, a second time-series data point is determined where the acquisition time falls within a second time window, and a second drainage deviation feature is determined based on the second time-series data. The second drainage deviation feature is used to characterize the drainage rate change trend and / or drainage patency under the current monitoring task after cardiac surgery. The duration of the second time window is longer than that of the first time window. By combining the first drainage deviation feature and the second drainage deviation feature, the abnormal monitoring result of the current monitoring task is determined.
[0007] In one embodiment, the first drainage deviation feature includes a first drainage flow rate deviation; determining the first drainage deviation feature based on the first time-series data includes: Based on the first time series data, determine the first drainage rate of the postoperative cardiac drainage status within the first time window; Obtain the current postoperative stage corresponding to the current monitoring task and the historical drainage time series data corresponding to the current postoperative stage; If the amount of historical drainage time series data is less than the preset amount of data, the initial drainage reference flow rate corresponding to the current postoperative stage will be determined as the target drainage reference flow rate. If the amount of historical drainage time series data is greater than or equal to the preset amount of data, the initial drainage reference flow rate corresponding to the current postoperative stage is adjusted using the historical drainage time series data to obtain the target drainage reference flow rate. The deviation of the first drainage flow rate is determined based on the degree of difference between the first drainage flow rate and the target drainage reference flow rate.
[0008] In one embodiment, the second drainage deviation feature includes the deviation of drainage flow rate trend and / or the deviation of drainage patency; determining the second drainage deviation feature based on the second time-series data includes: Based on the second time-series data, determine the drainage rate change characterization value and / or cessation characterization value of the postoperative cardiac drainage status within the second time window; the cessation characterization value includes at least one of the number of intermittent cessation and the duration of continuous cessation. Obtain the target drainage flow rate change baseline value and / or the target cessation baseline value under the current postoperative stage corresponding to the current monitoring task; the target cessation baseline value includes at least one of the following: intermittent cessation number threshold, continuous cessation duration threshold, and baseline cessation interval; The deviation of the drainage flow rate trend is determined based on the degree of difference between the drainage flow rate change characterization value and the target drainage flow rate change benchmark value; and / or, the deviation of the drainage flow smoothness is determined based on the degree of difference between the flow cessation characterization value and the target flow cessation benchmark value.
[0009] In one embodiment, after receiving the postoperative cardiac drainage timing data corresponding to the current monitoring task, the method further includes: The multiple collection times included in the drainage time series data are sorted in time series, and the time interval between two adjacent collection times after sorting is determined. If the time interval is greater than the preset communication interval, the time period between two adjacent collection times is determined as the communication abnormal period, and a communication abnormality identifier corresponding to the communication abnormal period is generated. The step of determining the drainage rate change and / or cessation value within the second time window based on the second time-series data includes: If the second time window overlaps with the communication anomaly period, the second time window is divided into at least one valid continuous monitoring sub-period based on the communication anomaly period. For each effective continuous monitoring sub-period, the sub-period drainage flow rate change characterization value and / or sub-period flow cessation characterization value corresponding to the effective continuous monitoring sub-period are determined based on the second time series data within the effective continuous monitoring sub-period. By combining the characteristic values of the change in drainage velocity and / or the characteristic value of the cessation of flow in each of the effective continuous monitoring sub-time periods, the characteristic values of the change in drainage velocity and / or the characteristic value of the cessation of flow in the second time window are determined.
[0010] In one embodiment, after receiving the postoperative cardiac drainage timing data corresponding to the current monitoring task, the process includes: From the traffic diversion time series data, determine the third time series data whose collection time is within the third time window; the time length of the third time window is greater than the time length of the second time window; Based on the third time-series data, the current cumulative drainage volume of the postoperative cardiac drainage status within the third time window is determined; the current cumulative drainage volume is used to characterize the actual cumulative drainage level of the postoperative cardiac drainage status under the current monitoring task. Obtain the target cumulative drainage baseline value for the current postoperative stage corresponding to the current monitoring task; A third drainage deviation feature is determined based on the degree of difference between the current cumulative drainage volume and the target cumulative drainage baseline value; wherein, the third drainage deviation feature is used to characterize the degree of cumulative drainage deviation of the postoperative cardiac drainage status under the current monitoring task; The step of combining the first drainage deviation feature and the second drainage deviation feature to determine the abnormal monitoring result of the current monitoring task includes: By combining the first drainage deviation feature, the second drainage deviation feature, and the third drainage deviation feature, the abnormal monitoring result of the current monitoring task is determined.
[0011] In one embodiment, determining the abnormal monitoring result of the current monitoring task by combining the first drainage deviation feature and the second drainage deviation feature includes: Based on the first drainage deviation feature and the second drainage deviation feature, determine the drainage abnormality level value corresponding to the current monitoring task; If the abnormality level of the drainage is less than the preset abnormality judgment threshold, the abnormal monitoring result of the current monitoring task is determined to be normal. If the abnormality level of the drainage is greater than or equal to the preset abnormality determination threshold, the abnormal monitoring result of the current monitoring task is determined to be an abnormal state. If the abnormal monitoring result is an abnormal state, and the postoperative drainage status of the heart corresponding to the current monitoring task meets the preset high-risk conditions, the warning level corresponding to the current monitoring task will be determined as the highest level warning. If the abnormal monitoring result is an abnormal state, and the postoperative drainage status of the heart corresponding to the current monitoring task does not meet the preset high-risk conditions, the target warning level corresponding to the current monitoring task is determined according to the preset warning rules and the target abnormality range to which the drainage abnormality value belongs. The preset early warning rules include the correspondence between multiple preset abnormality ranges and multiple early warning levels. The multiple early warning levels are set from low to high according to the corresponding early warning risk level, and the highest level early warning is the early warning level with the highest early warning risk level among the multiple early warning levels.
[0012] Secondly, this application also provides a device for monitoring abnormal drainage after cardiac surgery, comprising: The receiving module is used to receive postoperative cardiac drainage time-series data corresponding to the current monitoring task; the drainage time-series data includes multiple acquisition times within the monitoring period corresponding to the current monitoring task and drainage parameter values corresponding to each acquisition time; the drainage parameter values include at least parameter values related to the postoperative cardiac drainage flow rate; The first module is used to determine, from the drainage time series data, the first time series data whose acquisition time is within a first time window, and to determine the first drainage deviation feature based on the first time series data; the first drainage deviation feature is used to characterize the degree of change in drainage flow rate in the postoperative drainage state under the current monitoring task; The second module is used to determine, from the drainage time series data, the second time series data whose acquisition time is within the second time window, and to determine the second drainage deviation feature based on the second time series data; the second drainage deviation feature is used to characterize the drainage flow rate change trend and / or drainage patency under the current monitoring task; the time length of the second time window is greater than the time length of the first time window; The monitoring module is used to combine the first drainage deviation feature and the second drainage deviation feature to determine the abnormal monitoring results of the current monitoring task.
[0013] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for monitoring abnormal drainage after cardiac surgery provided in the first aspect of this application.
[0014] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the postoperative cardiac drainage abnormality monitoring method provided in the first aspect of this application.
[0015] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method for monitoring abnormal postoperative drainage of the heart provided in the first aspect of this application.
[0016] The aforementioned method, device, system, equipment, and medium for monitoring abnormal drainage after cardiac surgery determine a first drainage deviation feature within a first time window, characterizing the degree of abrupt changes in drainage velocity, based on the drainage time-series data corresponding to the current monitoring task. Within a second time window with a longer duration, a second drainage deviation feature characterizes the trend of drainage velocity changes and / or the degree of drainage patency. The abnormal monitoring result is then determined by combining the first and second drainage deviation features. Because the second time window is longer than the first, this application can focus on both short-term spikes or drops and longer-term anomalies such as continuous trends, intermittent cessation, or continuous cessation. This avoids relying solely on a single time scale or parameter for anomaly judgment. It reflects the postoperative drainage status from two dimensions: short-term drainage velocity abrupt changes and longer-term drainage velocity changes and / or drainage patency. This allows the abnormal monitoring results to consider both short-term abrupt changes and continuous changes, improving the accuracy of postoperative drainage abnormality monitoring. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the acoustic and optical monitoring device in one embodiment; Figure 2 This is a flowchart illustrating a method for monitoring abnormal drainage after cardiac surgery in one embodiment; Figure 3 This is a flowchart illustrating the process of determining the first drainage deviation feature in one embodiment; Figure 4 This is a flowchart illustrating the process of determining the second drainage deviation feature in one embodiment; Figure 5 This is a flowchart illustrating the process of determining the third drainage deviation feature in one embodiment; Figure 6 This is a flowchart illustrating the process of determining the characteristic values of the change in drainage flow rate and the characteristic value of the cessation of flow within a second time window in one embodiment. Figure 7 This is a flowchart illustrating the process of determining anomaly monitoring results in one embodiment; Figure 8 This is a structural block diagram of a cardiac postoperative drainage abnormality monitoring device in one embodiment; Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0020] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0021] Please see Figure 1 In some embodiments, this application provides a postoperative cardiac drainage abnormality monitoring system, which includes an acoustic and optical monitoring device 200. The acoustic and optical monitoring device 200 is used to receive postoperative cardiac drainage time-series data output by an external drainage detection device 100, and to perform abnormal monitoring of the current monitoring task based on the postoperative cardiac drainage time-series data.
[0022] The external drainage detection device 100 can be a commercially available or existing digital drainage detection device, capable of outputting at least one of the following drainage parameter values: drainage fluid flow rate, drainage volume per unit time, and cumulative drainage volume. The acoustic and optical monitoring device 200 can be separately installed from the external drainage detection device 100 and can receive data sent by the external drainage detection device 100 via wireless or wired communication.
[0023] Optionally, the acoustic and optical monitoring device 200 does not participate in the detection or acquisition of drainage parameter values, nor does it include a drainage detection component for detecting drainage parameter values. Thus, the acoustic and optical monitoring device 200 can be adapted to external drainage detection devices 100 from different manufacturers or with different detection principles.
[0024] In one embodiment, the sound and light monitoring device 200 includes a communication module 201, a memory 202, a processor 203, and a sound and light alarm module 204.
[0025] The communication module 201 can be connected to the external drainage detection device 100 via wired or wireless means to receive drainage timing data sent by the external drainage detection device 100. The wireless communication method can be Bluetooth, wireless LAN, near field communication, cellular communication, proprietary wireless communication protocol or other methods compatible with the external drainage detection device 100.
[0026] The memory 202 can be connected to the communication module 201 and the processor 203 respectively, and can be used to store data such as drainage timing data, computer programs, preset parameters, target reference values, abnormal monitoring results, abnormality types, early warning levels, alarm times, and communication status.
[0027] The processor 203 can be used to execute the computer program stored in the memory 202 to implement the postoperative cardiac drainage abnormality monitoring method provided in the embodiments of this application.
[0028] The audible and visual alarm module 204 is connected to the processor 203. The audible and visual alarm module 204 may include a light-emitting unit 2041 and a sound-emitting unit 2042. The light-emitting unit 2041 is used to output a light alarm signal, and the sound-emitting unit 2042 is used to output a sound alarm signal.
[0029] The acoustic and optical monitoring device 200 may also include a power supply module for supplying power to the acoustic and optical monitoring device 200.
[0030] Optionally, the acoustic and optical monitoring device 200 can be placed next to the patient's bedside, at the nurse's station, or in other locations convenient for medical staff to observe. By setting the acoustic and optical monitoring device 200 independently from the external drainage detection device 100, abnormal monitoring and graded early warning of the drainage timing data output by the external drainage detection device 100 can be performed without changing the detection structure of the existing drainage detection equipment, thereby improving the scalability of the existing drainage detection equipment.
[0031] In one exemplary embodiment, such as Figure 2 As shown, a method for monitoring abnormal drainage after cardiac surgery is provided, which is then applied to... Figure 1 Taking processor 203 as an example, this method can also be executed by other computer devices with data processing capabilities. The computer device can be a terminal or a server. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, and tablets. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. This method for monitoring abnormal drainage after cardiac surgery includes the following steps 201 to 204. Wherein: Step 201: Receive the postoperative drainage time-series data corresponding to the current monitoring task.
[0032] The current monitoring task can be the task that the processor needs to perform for abnormal monitoring. The current monitoring task can correspond to at least one of the following: current patient, drainage tube type, drainage site, postoperative stage, monitoring period, monitoring start time, and monitoring end time. The monitoring period can be the time range within the current monitoring task that requires abnormal monitoring. For example, the monitoring period can be a preset time range prior to the current monitoring time, or it can be the monitoring time range corresponding to a certain postoperative stage of the current patient.
[0033] In this embodiment, the drainage time-series data includes multiple acquisition times within the monitoring period corresponding to the current monitoring task, as well as the drainage parameter values corresponding to each acquisition time. The acquisition time can be used to represent the time when the external drainage detection device acquires, measures, or statistically generates the corresponding drainage parameter values, which can be data values used to reflect the drainage status after cardiac surgery.
[0034] In this embodiment, the drainage parameter values include at least those associated with the postoperative drainage rate after cardiac surgery. For example, the drainage parameter values may include at least one of drainage fluid flow rate, drainage volume per unit time, and cumulative drainage volume. Specifically, when the drainage parameter value is cumulative drainage volume, the change in drainage volume per unit time can be determined based on the difference in cumulative drainage volume between adjacent acquisition times and the time interval between adjacent acquisition times, and this change in drainage volume per unit time is used as a representation of the drainage rate.
[0035] For example, the processor can receive drainage timing data sent by an external drainage detection device through a communication module. Alternatively, the data received by the processor can be stored in memory first, and then read and processed by the processor according to the current monitoring task.
[0036] Optionally, after receiving the drainage time-series data, the processor can perform validity verification on the drainage time-series data. Validity verification may include sorting the drainage parameter values in the drainage time-series data according to the acquisition time, removing data corresponding to duplicate acquisition timestamps, marking non-numerical data, marking data with missing acquisition times, marking data with missing drainage parameter values, and marking data exceeding the declared range of the external drainage detection device. The processor can determine the data that meets the validity verification as drainage time-series data to update the drainage time-series data, and use the updated drainage time-series data for subsequent anomaly monitoring. Data that fails the validity verification can be marked as invalid data and stored in memory for later traceability, thereby reducing the impact of abnormal format data on subsequent anomaly monitoring results.
[0037] Step 202: From the drainage time series data, determine the first time series data whose collection time is within the first time window, and determine the first drainage deviation feature based on the first time series data.
[0038] The first time window can be the time range used to identify short-term changes in the postoperative drainage status of the heart during the current monitoring task. The first time window can be determined based on at least one of the following: the monitoring period corresponding to the current monitoring task, the current monitoring time, the preset length of the first time window, the type of drainage tube, the current postoperative stage, and the monitoring frequency. For example, the first time window can be 1 minute, 3 minutes, 5 minutes, 10 minutes, or other shorter time ranges prior to the current monitoring time.
[0039] The first time-series data refers to the set of data in the drainage time-series data whose acquisition time falls within the first time window. The first drainage deviation feature is a feature used to characterize the degree of change in drainage velocity in the postoperative drainage status of the heart under the current monitoring task. This degree of change in drainage velocity may include the degree of sudden increase in drainage velocity relative to the reference state within the first time window, or it may include the degree of sudden decrease in drainage velocity relative to the reference state.
[0040] For example, the processor can use the current monitoring time as the end time of the first time window and determine the start time of the first time window backwards according to a preset first window length, thereby obtaining the first time window. For example, if the current monitoring time is 10:30 and the preset first window length is 10 minutes, the processor can determine 10:20 to 10:30 as the first time window. After determining the first time window, the processor can traverse the drainage time series data corresponding to the current monitoring task, and use the drainage parameter values and corresponding acquisition times that fall within the first time window as the first time series data. The processor determines the drainage flow rate state within the first time window based on the drainage parameter values in the first time series data, and determines the first drainage deviation characteristic based on the deviation of the drainage flow rate state from the reference state.
[0041] Step 203: From the drainage time series data, determine the second time series data whose collection time is within the second time window, and determine the second drainage deviation characteristics based on the second time series data.
[0042] The second time window can be a longer time range used in the current monitoring task to identify changes in the postoperative drainage status of the heart. The length of the second time window is longer than that of the first time window. The second time window can be determined based on at least one of the following: the monitoring period corresponding to the current monitoring task, the current monitoring time, the preset length of the second time window, the type of drainage tube, the current postoperative stage, and the monitoring frequency. For example, the second time window can be 30 minutes, 60 minutes, 90 minutes, or other moderate time ranges prior to the current monitoring time.
[0043] The second time-series data can be the set of data in the drainage time-series data whose acquisition time falls within the second time window. The second drainage deviation feature is used to characterize the trend of drainage velocity change in the postoperative drainage status under the current monitoring task, or to characterize the drainage patency under the current monitoring task, or to characterize both the trend of drainage velocity change and the drainage patency. The trend of drainage velocity change can indicate whether the drainage velocity continuously increases, continuously decreases, fluctuates, or tends to stabilize over time within the second time window; the drainage patency can indicate whether there are intermittent cessation, continuous cessation, or decreased patency of the drainage pathway within the second time window.
[0044] For example, the processor can use the current monitoring time as the end time of the second time window and determine the start time of the second time window backwards according to the preset length of the second time window, thus obtaining the second time window. For example, if the current monitoring time is 10:30 and the preset length of the second time window is 60 minutes, the processor can determine 9:30 to 10:30 as the second time window. After determining the second time window, the processor can traverse the drainage time series data corresponding to the current monitoring task, and use the drainage parameter values and corresponding acquisition times that fall within the second time window as the second time series data. The processor determines the drainage flow rate change state and drainage smoothness state within the second time window based on the drainage parameter values in the second time series data, and determines the second drainage deviation characteristics based on the deviation of the drainage flow rate change state from the reference state, or based on the deviation of the drainage smoothness state from the reference state.
[0045] Step 204: Combine the first drainage deviation feature and the second drainage deviation feature to determine the abnormal monitoring results of the current monitoring task.
[0046] The abnormal monitoring results can include normal and abnormal states. A normal state indicates that the postoperative cardiac drainage status under the current monitoring task has not met the abnormal judgment criteria; an abnormal state indicates that the postoperative cardiac drainage status under the current monitoring task has met the abnormal judgment criteria.
[0047] Understandably, the first drainage deviation feature mainly reflects the short-term sudden change in drainage flow rate within the first time window, while the second drainage deviation feature mainly reflects the continuous change in drainage flow rate or the smoothness of drainage within the second time window. Therefore, the abnormal monitoring results can be jointly determined by the changes in drainage status under different time ranges.
[0048] For example, the processor can comprehensively evaluate the first drainage deviation feature and the second drainage deviation feature to obtain an evaluation result reflecting the degree of drainage abnormality corresponding to the current monitoring task, and determine the abnormal monitoring result based on the evaluation result. For instance, if there is a significant sudden increase in drainage velocity within the first time window characterized by the first drainage deviation feature, or if there is a continuous decrease in drainage velocity, intermittent cessation, or continuous cessation within the second time window characterized by the second drainage deviation feature, the processor can determine that there is an abnormal risk in the post-cardiac drainage status corresponding to the current monitoring task. As another example, if neither the first nor the second drainage deviation feature meets the preset abnormality judgment criteria, the processor can determine that the abnormal monitoring result of the current monitoring task is normal.
[0049] In the aforementioned method for monitoring abnormal drainage after cardiac surgery, a first drainage deviation feature is determined within a first time window using the drainage time-series data corresponding to the current monitoring task. A second drainage deviation feature is then determined within a second time window, representing the trend of drainage velocity changes and / or the degree of drainage patency. The abnormal monitoring result is then determined by combining the first and second drainage deviation features. Since the second time window is longer than the first time window, this embodiment can focus on both short-term spikes or drops and longer-term anomalies such as continuous trends, intermittent cessation, or continuous cessation. This avoids relying solely on a single time scale or parameter for anomaly judgment. It reflects the postoperative drainage status from two dimensions: short-term drainage velocity mutations and longer-term drainage velocity changes and / or drainage patency. This allows the abnormal monitoring results to consider both short-term mutations and continuous changes, improving the accuracy of postoperative drainage abnormality monitoring.
[0050] In practical applications, the first drainage deviation feature may include the deviation of the first drainage velocity, which characterizes the degree of change in drainage velocity in the postoperative drainage state of the heart.
[0051] Optionally, the baseline drainage status may differ at different stages after cardiac surgery, and there may also be individual differences in drainage status among different patients within the same postoperative stage. Therefore, when determining the first drainage deviation characteristic, the target drainage baseline flow rate can be determined by combining the current postoperative stage and historical drainage time series data, and the target drainage baseline flow rate can be used as a reference to determine the deviation of the first drainage flow rate.
[0052] In one exemplary embodiment, such as Figure 3 As shown, the process of determining the first drainage deviation characteristic in step 202 may include steps 301 to 305. Wherein: Step 301: Based on the first time series data, determine the first drainage velocity within the first time window of the postoperative cardiac drainage status.
[0053] The first drainage velocity is used to represent the actual drainage velocity level within the first time window after cardiac surgery.
[0054] For example, the drainage parameter value may include the drainage fluid flow rate. The processor can determine the first drainage flow rate by using the average, maximum, end value, median, or weighted average of the drainage fluid flow rates corresponding to each acquisition time within the first time window.
[0055] Alternatively, the drainage parameter value can include the drainage volume per unit time, and the processor can use the drainage volume per unit time corresponding to each collection time within the first time window to determine the first drainage flow rate.
[0056] Alternatively, the drainage parameter value can also include the cumulative drainage volume. The processor can use the difference in the cumulative drainage volume corresponding to adjacent acquisition times and the time interval between adjacent acquisition times to calculate the first drainage flow rate.
[0057] Step 302: Obtain the current postoperative stage and the historical drainage time series data corresponding to the current postoperative stage for the current monitoring task.
[0058] The current postoperative stage refers to the postoperative time phase to which the current monitoring task belongs. The current postoperative stage can be determined based on the patient's surgery completion time, the current monitoring time, and preset postoperative stage division rules. For example, preset postoperative stage division rules can divide 0-6 hours postoperatively, 6-12 hours postoperatively, 12-24 hours postoperatively, and more than 24 hours postoperatively into different postoperative stages. Historical drainage time-series data can be the drainage time-series data of the current patient obtained before the current postoperative stage.
[0059] For example, the processor can obtain the current patient's surgery end time and current monitoring time, determine the current postoperative duration, and determine the current postoperative stage corresponding to the current monitoring task based on the current postoperative duration and preset postoperative stage division rules. Different postoperative stages can correspond to different initial drainage baseline flow rates. The initial drainage baseline flow rate can be a pre-configured stage-specific baseline value, or it can be determined based on historical monitoring data of similar patients.
[0060] Step 303: If the amount of historical drainage time series data is less than the preset amount of data, the initial drainage reference flow rate corresponding to the current postoperative stage is determined as the target drainage reference flow rate.
[0061] The preset data volume can be a threshold value used to determine whether historical traffic generation time-series data meets the baseline adjustment conditions. The preset data volume can be a preset number of sampling points or a preset data volume corresponding to a preset historical monitoring duration.
[0062] For example, when the amount of historical drainage time-series data within the current postoperative stage is small, the processor can first use the initial drainage baseline flow rate corresponding to the current postoperative stage as the target drainage baseline flow rate, so as to provide a comparable reference benchmark for the first drainage flow rate when the current patient's historical data is insufficient.
[0063] Step 304: If the amount of historical drainage time series data is greater than or equal to the preset amount of data, adjust the initial drainage reference flow rate corresponding to the current postoperative stage using the historical drainage time series data to obtain the target drainage reference flow rate.
[0064] For example, once the amount of historical drainage time-series data reaches a preset amount, the processor can determine the historical drainage flow rate level corresponding to the current postoperative stage for the current patient based on the drainage fluid flow rate, drainage volume per unit time, or drainage fluid flow rate calculated from the cumulative drainage volume in the historical drainage time-series data. The processor can process the historical drainage flow rate level using methods such as moving average, moving median, weighted average, and exponential smoothing, and use the processing results to adjust the initial drainage baseline flow rate to obtain the target drainage baseline flow rate.
[0065] Optionally, when adjusting the target diversion baseline flow rate, the processor can remove data that has been marked as abnormal or identified as having communication anomalies, and also avoid using data that has failed validity checks, thereby reducing the interference of abnormal data or data gaps on the target diversion baseline flow rate.
[0066] Step 305: Determine the deviation of the first drainage flow rate based on the degree of difference between the first drainage flow rate and the target drainage reference flow rate.
[0067] The first drainage velocity deviation can represent the degree of deviation of the first drainage velocity within the first time window from the target drainage reference velocity. The first drainage velocity deviation can be the difference between the first drainage velocity and the target drainage reference velocity, or it can be the proportional deviation of the first drainage velocity from the target drainage reference velocity.
[0068] For example, the first drainage velocity is denoted as Vs(t), the target drainage reference velocity is denoted as Bv(t), and the deviation of the first drainage velocity is denoted as Dv(t). The processor can determine the deviation of the first drainage velocity as follows: Dv(t)=[Vs(t)-Bv(t)] / [Bv(t)+ε]; Where t represents the current monitoring time; ε represents a preset positive number to avoid the denominator being zero. When the first drainage velocity deviation Dv(t) is positive, it indicates that the first drainage velocity is higher than the target drainage baseline velocity, which can be used to characterize the degree of sudden increase in drainage velocity; when the first drainage velocity deviation Dv(t) is negative, it indicates that the first drainage velocity is lower than the target drainage baseline velocity, which can be used to characterize the degree of sudden decrease in drainage velocity.
[0069] In this embodiment, by using the initial baseline drainage flow rate corresponding to the current postoperative stage when historical drainage time-series data is insufficient, and adjusting the initial baseline drainage flow rate using historical drainage time-series data after a preset amount of data is available, the target baseline drainage flow rate can take into account both postoperative stage differences and individual patient differences. Therefore, the first drainage flow rate deviation can more accurately characterize the degree of short-term drainage flow rate mutation in the current patient during the current postoperative stage, reducing misjudgments caused by mismatched fixed baselines.
[0070] In practical applications, besides short-term sudden changes in drainage velocity, postoperative cardiac drainage status may also manifest as a sustained increase, sustained decrease, fluctuation, or abnormal drainage patency over a longer period. Therefore, a second time window can be used to determine the second drainage deviation characteristic. This second drainage deviation characteristic can include the deviation in drainage velocity trend, and it can also include the deviation in drainage patency. The following explanation uses examples of second drainage deviation characteristics including drainage velocity trend deviation and drainage patency deviation.
[0071] In one exemplary embodiment, such as Figure 4 As shown, the process of determining the second drainage deviation characteristic in step 203 may include steps 401 to 404. Wherein: Step 401: Based on the second time series data, determine the drainage velocity change characterization value and cessation characterization value of the postoperative cardiac drainage status within the second time window.
[0072] The drainage velocity change characterization value is used to represent the change in drainage velocity during the second time window after cardiac surgery. For example, the drainage velocity change characterization value may include at least one of the following: drainage velocity slope, drainage velocity change rate, drainage velocity fluctuation degree, drainage volume change rate per unit time, duration of continuous increase, and duration of continuous decrease.
[0073] The cessation of flow characterization value is used to indicate the patency of drainage during the second time window after cardiac surgery. The cessation of flow characterization value can include at least one of intermittent cessation number and continuous cessation duration. The intermittent cessation number can represent the number of cessation processes that occur within the second time window; the continuous cessation duration can represent the duration of a single continuous cessation process within the second time window, or the duration of the longest continuous cessation process within the second time window.
[0074] For example, the processor can determine the drainage rate corresponding to each acquisition time within the second time window based on the drainage parameter values in the second time-series data. If the drainage parameter values include the drainage fluid flow rate, the processor can directly determine the drainage rate sequence within the second time window based on the drainage fluid flow rate; if the drainage parameter values include the drainage volume per unit time, the processor can determine the drainage rate sequence within the second time window based on the drainage volume per unit time; if the drainage parameter values include the cumulative drainage volume, the processor can determine the drainage rate sequence within the second time window based on the difference in cumulative drainage volume corresponding to adjacent acquisition times and the time interval between adjacent acquisition times.
[0075] After obtaining the drainage velocity sequence within the second time window, the processor can determine the characteristic value of drainage velocity change based on the variation of the drainage velocity sequence with the acquisition time. For example, the processor can determine the drainage velocity change rate based on the difference in drainage velocity between the initial and final stages within the second time window, or it can obtain the drainage velocity slope by fitting the drainage velocity corresponding to multiple acquisition times, and it can also determine the degree of drainage velocity fluctuation based on the maximum, minimum, and average values of the drainage velocity.
[0076] For example, the processor can also compare the drainage rate within the second time window with a cessation threshold to determine the cessation characteristic value. The cessation threshold can be preset based on the minimum effective detection value of the external drainage detection device, the current postoperative stage, or clinical monitoring needs. When the drainage rate is lower than the cessation threshold for multiple consecutive acquisition cycles, the processor can determine that a cessation process has begun and start accumulating the continuous cessation duration; when the drainage rate recovers to a level not lower than the cessation threshold, the processor stops accumulating the continuous cessation duration and records one cessation process. The processor can determine the number of intermittent cessations based on the number of cessation processes recorded within the second time window, and determine the continuous cessation duration based on the duration corresponding to the cessation process.
[0077] Step 402: Obtain the target drainage flow rate change baseline value and the target drainage cessation baseline value under the current postoperative stage corresponding to the current monitoring task.
[0078] The target drainage flow rate change baseline value can be a benchmark value used to determine whether the change in drainage flow rate deviates from the reference state at the current postoperative stage. The target drainage flow rate change baseline value can include at least one of the following: baseline drainage flow rate change rate, baseline trend slope, and baseline drainage flow rate fluctuation range.
[0079] The target drainage cessation baseline value can be a benchmark value used to determine whether the drainage patency deviates from the reference state at the current postoperative stage. The target drainage cessation baseline value may include at least one of the following: a threshold for the number of intermittent drainage cessations, a threshold for the duration of continuous drainage cessation, and a benchmark drainage cessation interval.
[0080] For example, the processor can obtain the target drainage flow rate change baseline value and the target cessation of flow baseline value corresponding to the current postoperative stage of the current monitoring task. Different postoperative stages can correspond to different target drainage flow rate change baseline values and target cessation of flow baseline values. For example, the drainage flow rate change baseline value corresponding to the early postoperative stage may be different from the drainage flow rate change baseline value corresponding to the postoperative recovery stage; the continuous cessation of flow duration threshold corresponding to the early postoperative stage may also be different from the continuous cessation of flow duration threshold corresponding to the postoperative recovery stage.
[0081] In one possible implementation, referring to the foregoing embodiments, the target drainage flow rate change benchmark value and the target cessation benchmark value can be preset benchmark values corresponding to the current postoperative stage. In another possible implementation, the processor can also adjust the preset benchmark values based on historical drainage time-series data corresponding to the current postoperative stage to obtain the target drainage flow rate change benchmark value and the target cessation benchmark value.
[0082] Step 403: Determine the deviation of the drainage flow rate trend based on the degree of difference between the characteristic value of the change in drainage flow rate and the target baseline value of the change in drainage flow rate.
[0083] Among them, the deviation of the drainage flow rate trend can be used to indicate the degree of deviation of the change in drainage flow rate within the second time window from the target drainage flow rate change benchmark value, such as the degree of continuous increase, continuous decrease or abnormal fluctuation.
[0084] For example, when the characteristic value of the change in drainage rate is the slope of the drainage rate, the processor can calculate the difference or proportional difference between the slope of the drainage rate and the baseline trend slope to obtain the deviation of the drainage rate trend. When the characteristic value of the change in drainage rate is the degree of fluctuation of the drainage rate, the processor can calculate the difference between the degree of fluctuation of the drainage rate and the baseline fluctuation range of the drainage rate to obtain the deviation of the drainage rate trend.
[0085] In other implementations, the target drainage flow rate change benchmark value may also include a target drainage flow rate change benchmark range, which may include a target upper limit and a target lower limit. When the drainage flow rate change characterization value is greater than the target upper limit, the processor determines a positive trend deviation based on the difference between the drainage flow rate change characterization value and the target upper limit, serving as the drainage flow rate trend deviation. The positive trend deviation can be used to characterize the degree to which the drainage flow rate continuously increases or the drainage flow rate fluctuations increase within the second time window. When the drainage flow rate change characterization value is less than the target lower limit, a negative trend deviation is determined based on the difference between the target lower limit and the drainage flow rate change characterization value, serving as the drainage flow rate trend deviation. The negative trend deviation can be used to characterize the degree to which the drainage flow rate continuously decreases within the second time window. When the drainage flow rate change characterization value is within the target drainage flow rate change benchmark range, the processor can determine the drainage flow rate trend deviation as a preset low deviation value.
[0086] Step 404: Determine the deviation of the drainage flow based on the degree of difference between the flow interruption characterization value and the target flow interruption benchmark value.
[0087] Among them, the deviation of the smooth flow can be used to indicate the degree of deviation of the smooth flow situation within the second time window from the target interruption benchmark value, such as the degree of excessive number of intermittent interruptions, excessively long duration of continuous interruptions, or abnormal interruption intervals.
[0088] For example, the processor can determine the drainage deviation based on the degree of difference between the number of intermittent outages and the threshold number of intermittent outages; the processor can also determine the drainage deviation based on the degree of difference between the duration of continuous outages and the threshold duration of continuous outages; when the outage characterization value includes the time interval between adjacent outage processes, the processor can also determine the drainage deviation based on the degree of difference between the time interval and the baseline outage interval.
[0089] In other implementations, the processor can weight, take the maximum value, or sum the deviation results obtained from the number of intermittent flow interruptions and the deviation results obtained from the duration of continuous flow interruptions to obtain the final flow smoothness deviation.
[0090] In this embodiment, a second time window is used to determine the characteristic values of drainage flow rate change and cessation, which are then compared with the target drainage flow rate change benchmark value and the target cessation benchmark value at the current postoperative stage to obtain the deviation of drainage flow rate trend and the deviation of drainage patency. Since the second time window is longer than the first time window, this embodiment can further identify continuous changes in drainage flow rate and abnormal drainage patency beyond short-term abrupt changes, thus improving the ability to identify slow changes, intermittent cessation, and continuous cessation.
[0091] In some embodiments, in addition to short-term abrupt changes and intermediate-term variations, the postoperative drainage status of the heart can also be monitored by the cumulative drainage level over a longer time range. The processor can also determine third time-series data from the drainage time-series data, with the acquisition time falling within a third time window. The length of the third time window is longer than the length of the second time window. Based on the third time-series data, the processor determines a third drainage deviation feature, which characterizes the cumulative drainage deviation degree of the postoperative drainage status of the heart under the current monitoring task.
[0092] In one exemplary embodiment, such as Figure 5 As shown, steps 501 to 504 may be included after step 201. Wherein: Step 501: Determine the third time series data whose collection time is within the third time window from the diversion time series data.
[0093] The third time window is longer than the second time window. The third time window can be determined based on at least one of the following: the monitoring period corresponding to the current monitoring task, the current monitoring time, the preset length of the third time window, the drainage tube type, the current postoperative stage, and the monitoring frequency. For example, the third time window can be the entire monitoring period corresponding to the current monitoring task, or it can be 2 hours, 4 hours, 6 hours, or other longer time ranges prior to the current monitoring time. The third time series data is the set of drainage time series data whose acquisition time falls within the third time window.
[0094] For example, the processor can use the current monitoring time as the end time of the third time window, and determine the start time of the third time window backwards according to the preset duration of the third time window, thereby obtaining the third time window. After determining the third time window, the processor can traverse the diversion time series data corresponding to the current monitoring task, and use the diversion parameter values whose acquisition time is within the third time window and the corresponding acquisition time as the third time series data.
[0095] Step 502: Based on the third time series data, determine the current cumulative drainage volume of the postoperative cardiac drainage status within the third time window.
[0096] The current cumulative drainage volume is used to characterize the actual cumulative drainage level of postoperative cardiac drainage under the current monitoring task. The current cumulative drainage volume can be the cumulative drainage volume corresponding to the end of the third time window, or it can be the cumulative drainage increment within the third time window.
[0097] For example, when the drainage parameter values include the cumulative drainage volume directly output by the external drainage detection device, the processor can determine the current cumulative drainage volume based on the cumulative drainage volume at the corresponding acquisition time within the third time window. For instance, the processor can use the cumulative drainage volume corresponding to the end time of the third time window as the current cumulative drainage volume.
[0098] In another implementation, when the diversion parameter value includes the diversion volume per unit time, the processor can accumulate the diversion volume per unit time corresponding to multiple collection times within the third time window to obtain the current cumulative diversion volume.
[0099] In another implementation, when the drainage parameter value includes the drainage fluid flow rate, the processor can determine the drainage volume corresponding to each time interval based on the drainage fluid flow rate within the third time window and the time interval between adjacent acquisition times, and accumulate the drainage volume corresponding to each time interval to obtain the current cumulative drainage volume.
[0100] Step 503: Obtain the target cumulative drainage baseline value for the current postoperative stage corresponding to the current monitoring task.
[0101] The target cumulative drainage baseline value is the baseline value used to determine whether the cumulative drainage level deviates from the reference state at the current postoperative stage.
[0102] For example, the processor can obtain the target cumulative drainage baseline value corresponding to the current postoperative stage based on the current postoperative stage of the current monitoring task. Different postoperative stages can correspond to different target cumulative drainage baseline values. For instance, the target cumulative drainage baseline value corresponding to the early postoperative stage may be different from the target cumulative drainage baseline value corresponding to the postoperative recovery stage.
[0103] In other embodiments, referring to the foregoing embodiments, the processor can adjust the preset cumulative drainage baseline value based on the historical drainage time sequence data corresponding to the current postoperative stage to obtain the target cumulative drainage baseline value.
[0104] Step 504: Determine the third traffic deviation characteristic based on the degree of difference between the current cumulative traffic and the target cumulative traffic benchmark value.
[0105] The third drainage deviation feature can include the cumulative drainage deviation. The cumulative drainage deviation is used to represent the degree of deviation of the current cumulative drainage volume within the third time window from the target cumulative drainage baseline value.
[0106] For example, the current cumulative referral traffic can be represented as C(t), the target cumulative referral baseline value can be represented as Ce(t), and the cumulative referral deviation can be represented as Dc(t). The processor can determine the cumulative referral deviation in the following way: Dc(t) = C(t) - Ce(t); Where t represents the current monitoring time, when the cumulative drainage deviation Dc(t) is positive, it means that the current cumulative drainage volume is higher than the target cumulative drainage benchmark value, which can be used to characterize the degree of cumulative drainage deviation; when the cumulative drainage deviation Dc(t) is negative, it means that the current cumulative drainage volume is lower than the target cumulative drainage benchmark value, which can be used to characterize the degree of cumulative drainage deviation.
[0107] In one possible implementation, after determining the third drainage deviation feature, the processor can combine the first drainage deviation feature, the second drainage deviation feature, and the third drainage deviation feature in step 204 to determine the abnormal monitoring result of the current monitoring task.
[0108] In this embodiment, the current cumulative drainage volume is determined through a third time window, and the third drainage deviation characteristic is determined based on the degree of difference between the current cumulative drainage volume and the target cumulative drainage baseline value. This allows for the further determination of postoperative cardiac drainage status by utilizing long-term cumulative drainage levels, in addition to short-term abrupt changes and medium-term variations. Therefore, the ability to identify abnormal states such as excessive or insufficient cumulative drainage can be improved, making the abnormal monitoring results more accurate and comprehensive.
[0109] In practical applications, communication interruptions or data loss may occur between the external drainage detection device and the acoustic-optical monitoring device. If the data gap caused by communication anomalies is not distinguished from actual drainage cessation, a communication interruption may be misjudged as a drainage malfunction. Therefore, when determining the second drainage deviation characteristic, the parameter calculation process within the second time window can be processed in conjunction with the communication anomaly period.
[0110] In one exemplary embodiment, such as Figure 6 As shown, steps 601 to 605 may be included after step 201. Wherein: Step 601: Sort the multiple collection times included in the diversion time series data in time series, and determine the time interval between two adjacent collection times after sorting.
[0111] For example, the processor can sort the diversion time-series data corresponding to the current monitoring task according to the acquisition time from earliest to latest, to obtain sorted diversion time-series data. The processor sequentially reads the acquisition time of two adjacent diversion time-series data after sorting and calculates the time interval between the two adjacent acquisition times.
[0112] Step 602: If the time interval is greater than the preset communication interval, the time period between two adjacent acquisition times is determined as the communication abnormal period, and a communication abnormality identifier corresponding to the communication abnormal period is generated.
[0113] The preset communication interval is a time threshold used to determine whether there are any abnormalities in the continuity of drainage time-series data. The preset communication interval can be pre-set based on the normal data output cycle of the external drainage detection device, the wireless communication method, the monitoring frequency, and clinical monitoring needs. Communication anomaly indicators can include the start time, end time, duration, and type of anomaly during the communication anomaly period.
[0114] For example, the processor can compare the time interval between two adjacent acquisition times after sorting with a preset communication interval. If the time interval is greater than the preset communication interval, the processor determines the period between the two adjacent acquisition times as a communication abnormal period and generates a communication abnormality identifier corresponding to the communication abnormal period. For example, if the preset communication interval is 10 minutes, and the two adjacent acquisition times after sorting are 9:05 and 9:30, since the time interval between 9:05 and 9:30 is 25 minutes, which is greater than the preset communication interval, the processor can determine 9:05 to 9:30 as a communication abnormal period.
[0115] It should be noted that the communication anomaly identifier is used to indicate the continuity of data and is not used as a classification result for the postoperative drainage status of the heart. The postoperative drainage status of the heart can still include normal and abnormal states, and the communication anomaly identifier can be used as auxiliary information in the subsequent parameter calculation process.
[0116] Step 603: If the second time window overlaps with the communication anomaly period, the second time window is divided into at least one valid continuous monitoring sub-period based on the communication anomaly period.
[0117] Among them, the effective continuous monitoring sub-period can be the continuous data period within the second time window that does not cross the communication abnormality period.
[0118] For example, the processor can determine whether the second time window overlaps with the communication anomaly period. If the second time window overlaps with the communication anomaly period, the processor divides the second time window into at least one valid continuous monitoring sub-period, using the communication anomaly period as the dividing boundary. If there are multiple communication anomaly periods within the second time window, the processor can divide the second time window into multiple valid continuous monitoring sub-periods, each using one of the multiple communication anomaly periods as the dividing boundary.
[0119] Step 604: For each valid continuous monitoring sub-period, based on the second time series data within the valid continuous monitoring sub-period, determine the sub-period flow velocity change characterization value and the sub-period flow cessation characterization value corresponding to the valid continuous monitoring sub-period.
[0120] For example, for each valid continuous monitoring sub-period, the processor can filter data collected within the valid continuous monitoring sub-period from the second time series data, determine the drainage flow rate sequence within the valid continuous monitoring sub-period based on the drainage parameter values in the second time series data within the valid continuous monitoring sub-period, and determine the drainage flow rate change characterization value for the sub-period based on the drainage flow rate sequence.
[0121] For example, the processor can determine the slope of the drainage velocity, the rate of change of the drainage velocity, or the degree of fluctuation of the drainage velocity in a sub-period based on the effective continuous monitoring of the change of the drainage velocity over the acquisition time.
[0122] For example, the processor can also compare the flow rate within the effective continuous monitoring sub-period with the flow interruption threshold to determine whether there is a flow interruption process within the effective continuous monitoring sub-period, and count the number of intermittent flow interruptions and the duration of continuous flow interruption in the corresponding sub-period.
[0123] It should be noted that when determining the outage characteristic value for a sub-period, the processor does not merge low-flow states that span communication anomaly periods into a single continuous outage process. This avoids using missing data from communication anomaly periods as the basis for calculating the duration of continuous outages.
[0124] Step 605: Combine the characteristic values of the change in drainage velocity and / or the characteristic value of the cessation of flow in each effective continuous monitoring sub-period to determine the characteristic values of the change in drainage velocity and the characteristic value of the cessation of flow in the second time window.
[0125] For example, the processor can perform weighted, maximum value, average value, or trend merging processing on the drainage flow rate change characterization values corresponding to each valid continuous monitoring sub-period to obtain the drainage flow rate change characterization values within the second time window. Optionally, during weighted processing, the weight corresponding to each valid continuous monitoring sub-period can be determined based on the sub-period duration, the amount of data within the sub-period, or the monitoring importance.
[0126] For example, the processor can also determine the outage characterization value within the second time window based on the outage characterization value corresponding to each valid continuous monitoring sub-period. For instance, the processor can sum the number of outages within each valid continuous monitoring sub-period to obtain the number of intermittent outages within the second time window; the processor can also determine the maximum continuous outage duration from the continuous outage durations corresponding to each valid continuous monitoring sub-period, and use this as the continuous outage duration within the second time window.
[0127] In a specific example, the monitoring period corresponding to the current monitoring task is from 8:00 to 10:30, the second time window is from 9:00 to 10:30, and the preset communication interval is 10 minutes. After sorting multiple collection times in the traffic diversion time series data, the processor determines that the collection time after 9:05 is 9:30. Since the time interval between 9:05 and 9:30 is greater than the preset communication interval, the processor determines 9:05 to 9:30 as a communication anomaly period.
[0128] Since the second time window (9:00-10:30) overlaps with the communication anomaly period (9:05-9:30), the processor divides the second time window into two valid continuous monitoring sub-periods: 9:00-9:05 and 9:30-10:30, based on the communication anomaly period. The processor determines the corresponding flow rate change and flow cessation values for each sub-period based on the second time-series data within 9:00-9:05, and the corresponding flow rate change and flow cessation values for each sub-period based on the second time-series data within 9:30-10:30. Combining the results from the two valid continuous monitoring sub-periods, the processor determines the flow rate change and flow cessation values within the second time window.
[0129] For example, if the drainage rate is lower than the interruption threshold between 9:00 and 9:05, and also lower than the interruption threshold between 9:30 and 9:40, the processor will not classify the entire period from 9:05 to 9:30 as a single continuous interruption, since this period is considered a communication anomaly. Instead, it will separately count the interruptions from 9:00 to 9:05 and 9:30 to 9:40. This avoids misjudging data gaps caused by communication interruptions as interruptions in the post-cardiac drainage system.
[0130] In other embodiments, if the current monitoring task only needs to determine the characteristic value of the change in drainage flow rate, the processor can only execute the calculation process related to the characteristic value of the change in drainage flow rate in the sub-period; if the current monitoring task only needs to determine the characteristic value of the stoppage of flow, the processor can only execute the calculation process related to the characteristic value of the stoppage of flow in the sub-period.
[0131] In this embodiment, since the duration of the interruption and the trend of the flow rate change are both determined within the continuous sub-period of the data, it is possible to avoid calculating the smooth flow status or the flow rate change status across the communication abnormal period, thereby reducing the possibility of misjudging the communication interruption as a flow abnormality and improving the accuracy of the second flow deviation feature.
[0132] It should be noted that the segmented processing of communication anomalies is not limited to the second time window. In some embodiments, the processor may also determine whether to segment the first, second, or third time window based on the type of the diversion parameter value and the calculation method of the parameter to be determined.
[0133] In an exemplary embodiment, after determining the target time window within the first, second, or third time window, the processor can first determine whether the parameter to be determined corresponding to the target time window depends on the data continuity between adjacent acquisition times. The target time window can be any one of the first, second, or third time windows. The parameter to be determined can be a first drainage flow rate, a drainage flow rate change characteristic value, a flow cessation characteristic value, or the current cumulative drainage volume.
[0134] When the parameter to be determined does not depend on the data continuity between adjacent acquisition times, the processor can determine the parameter based on the actual drainage parameter values received within the target time window. For example, when the drainage parameter value includes the drainage fluid flow rate directly output by the external drainage detection device, the processor can determine the first drainage flow rate or the drainage flow rate change characterization value based on the actual drainage fluid flow rate received within the target time window. As another example, when the drainage parameter value includes the cumulative drainage volume directly output by the external drainage detection device, the processor can determine the current cumulative drainage volume based on the cumulative drainage volume at the corresponding acquisition time within the third time window. In this case, the processor does not need to segment the target time window.
[0135] When the parameters to be determined depend on the data continuity between adjacent acquisition times, the processor can determine whether there is an intersection between the target time window and the communication anomaly period. If there is an intersection between the target time window and the communication anomaly period, the processor divides the target time window into at least one valid continuous monitoring sub-period based on the communication anomaly period, determines the corresponding sub-period parameters within the same valid continuous monitoring sub-period, and then combines the sub-period parameters corresponding to each valid continuous monitoring sub-period to determine the parameters to be determined for the target time window.
[0136] For example, if the first time window overlaps with the communication anomaly period, and the first drainage rate needs to be calculated based on the cumulative drainage volume, the processor can divide the first time window into at least one effective continuous monitoring sub-period based on the communication anomaly period. Within the same effective continuous monitoring sub-period, the drainage rate of the sub-period is determined based on the difference in cumulative drainage volume corresponding to adjacent acquisition times and the time interval between adjacent acquisition times. Based on the drainage rate of the sub-period corresponding to each effective continuous monitoring sub-period, the first drainage rate within the first time window is determined. This avoids directly using the difference in cumulative drainage volume at both ends of the communication anomaly period to calculate the first drainage rate, thereby reducing the distortion of the first drainage rate.
[0137] For example, if the current cumulative drainage volume within the third time window needs to be accumulated based on the drainage fluid flow rate, and if the third time window overlaps with a communication anomaly period, the processor can divide the third time window into at least one valid continuous monitoring sub-period based on the communication anomaly period. Within each valid continuous monitoring sub-period, the cumulative drainage volume of the sub-period is determined based on the drainage fluid flow rate and the time interval between adjacent acquisition times. Based on the cumulative drainage volume of the sub-period corresponding to each valid continuous monitoring sub-period, the current cumulative drainage volume within the third time window is determined. This avoids using missing data from the communication anomaly period as valid accumulated data, thereby improving the accuracy of the current cumulative drainage volume.
[0138] For example, if the current cumulative drainage volume within the third time window is determined by the cumulative drainage volume directly output by the external drainage detection device, the processor can determine the current cumulative drainage volume based on the actual cumulative drainage volume received within the third time window, without having to perform segmented calculations of the third time window based on communication anomalies. This avoids unnecessary processing of parameters that do not depend on continuous acquisition points, thereby improving data processing efficiency.
[0139] In this embodiment, the processor selects whether to segment the target time window based on the communication anomaly period, depending on whether the parameter to be determined depends on the data continuity between adjacent acquisition times. For parameters that depend on data continuity, calculations are performed separately within the effective continuous monitoring sub-periods, which reduces the interference of the communication anomaly period on the parameter calculation results. For parameters that do not depend on data continuity, the actual received diversion parameter values within the target time window are used directly to determine the parameter, avoiding unnecessary calculations and balancing the accuracy and computational efficiency of communication anomaly handling.
[0140] Understandably, the processor can combine the first and second drainage deviation features to determine the abnormal monitoring results and target warning level of the current monitoring task. If a third drainage deviation feature is determined, the processor can also combine the first, second, and third drainage deviation features to determine the abnormal monitoring results and target warning level of the current monitoring task. The following explanation uses a drainage deviation feature determined by combining three time windows as an example to further illustrate this application.
[0141] In one exemplary embodiment, such as Figure 7 As shown, step 204 may include steps 701 to 705. Wherein: Step 701: Determine the degree of drainage abnormality corresponding to the current monitoring task based on the first drainage deviation feature, the second drainage deviation feature, and the third drainage deviation feature.
[0142] Among them, the abnormality value of the drainage can be determined by a combination of multiple abnormality sub-values. The abnormality sub-value can be the data value obtained by mapping the corresponding drainage deviation feature to a preset value range, which can be from 0 to 1.
[0143] For example, the processor can determine a target anomaly degree sub-value based on the target drainage deviation features, and then combine multiple target anomaly degree sub-values to determine the drainage anomaly degree value. The target drainage deviation features may include a first drainage deviation feature, a second drainage deviation feature, and a third drainage deviation feature.
[0144] In one possible implementation, the process of determining the target anomaly degree sub-value based on the target traffic deviation characteristics may include: obtaining the target anomaly threshold and the target high-risk threshold corresponding to the target traffic deviation characteristics; the deviation degree corresponding to the target high-risk threshold is greater than the deviation degree corresponding to the target anomaly threshold; determining the anomaly degree value to be truncated based on the degree of difference between the target traffic deviation characteristics and the target anomaly threshold, and the degree of difference between the target high-risk threshold and the target anomaly threshold; truncating the anomaly degree value to be truncated using a truncation function to obtain the target anomaly degree sub-value; wherein the truncation function is used to determine the preset lower limit as the target anomaly degree sub-value when the anomaly degree value to be truncated is less than a preset lower limit; to determine the preset upper limit as the target anomaly degree sub-value when the anomaly degree value to be truncated is greater than a preset upper limit; and to determine the anomaly degree value to be truncated as the target anomaly degree sub-value when the anomaly degree value to be truncated is between the preset lower limit and the preset upper limit.
[0145] In one possible implementation, the processor can determine a first anomaly degree sub-value based on a first drainage deviation feature, a second anomaly degree sub-value based on a second drainage deviation feature, and a third anomaly degree sub-value based on a third drainage deviation feature. The processor then determines the drainage anomaly degree value corresponding to the current monitoring task based on the first, second, and third anomaly degree sub-values. Optionally, the first anomaly degree sub-value may include at least one of a drainage increase anomaly degree sub-value and a drainage decrease anomaly degree sub-value. The second anomaly degree sub-value may include a flow cessation anomaly degree sub-value; if the second drainage deviation feature includes a drainage flow rate trend deviation, the second anomaly degree sub-value may also include a trend anomaly degree sub-value. The third anomaly degree sub-value may include a cumulative deviation anomaly degree sub-value.
[0146] For example, the deviation of the first drainage velocity can be represented as Dv(t), the continuous interruption duration can be represented as Tstop(t), and the cumulative drainage deviation can be represented as Dc(t). The processor can map deviations of different dimensions to the same value range based on anomaly thresholds and high-risk thresholds. Here, θinc and θinc,h represent the abnormal and high-risk thresholds for increased drainage, respectively; θdec and θdec,h represent the abnormal and high-risk thresholds for decreased drainage, respectively; θstop and θstop,h represent the abnormal and high-risk duration thresholds for interruption, respectively; and θcum and θcum,h represent the abnormal and high-risk cumulative deviation thresholds, respectively. The deviation degree corresponding to each high-risk threshold is greater than the deviation degree corresponding to the corresponding abnormal threshold.
[0147] The processor can use the clip function to map the deviation to a range of 0 to 1. The clip function can be expressed as: clip(x,0,1)=min{1,max(0,x)}; Where x represents the input value to be truncated; min represents the minimum function; and max represents the maximum function. clip(x,0,1) restricts the input value x to between 0 and 1. When x is less than 0, clip(x,0,1) returns 0; when x is greater than 1, clip(x,0,1) returns 1; and when x is between 0 and 1, clip(x,0,1) returns x.
[0148] For example, the processor can determine each anomaly severity sub-value in the following manner: Sinc(t)=clip((Dv(t)-θinc) / (θinc,h-θinc),0,1); Sdec(t)=clip((-Dv(t)-θdec) / (θdec,h-θdec),0,1); Sstop(t)=clip((Tstop(t)-θstop) / (θstop,h-θstop),0,1); Scum(t)=clip((|Dc(t)|-θcum) / (θcum,h-θcum),0,1).
[0149] Wherein, Sinc(t) represents the sub-value of the abnormality of the increase in drainage at the current monitoring time t; Sdec(t) represents the sub-value of the abnormality of the decrease in drainage at the current monitoring time t; Sstop(t) represents the sub-value of the abnormality of the stop in drainage at the current monitoring time t; and Scum(t) represents the sub-value of the abnormality of the cumulative deviation at the current monitoring time t.
[0150] Specifically, when the first drainage velocity deviation Dv(t) is greater than the drainage increase anomaly threshold θinc, the processor determines the drainage increase anomaly degree sub-value Sinc(t) based on the first drainage velocity deviation Dv(t), the drainage increase anomaly threshold θinc, and the high-risk drainage increase threshold θinc,h. When the first drainage velocity deviation Dv(t) is negative, and the negative deviation of the first drainage velocity deviation Dv(t) is greater than the drainage decrease anomaly threshold θdec, the processor determines the drainage decrease anomaly degree sub-value Sdec(t) based on the first drainage velocity deviation Dv(t), the drainage decrease anomaly threshold θdec, and the high-risk drainage decrease threshold θdec,h. When the continuous flow interruption duration Tstop(t) is greater than the flow interruption anomaly duration threshold θstop, the processor determines the flow interruption anomaly degree sub-value Sstop(t) based on the continuous flow interruption duration Tstop(t), the flow interruption anomaly duration threshold θstop, and the high-risk flow interruption duration threshold θstop,h. If the absolute value of the cumulative drainage deviation Dc(t) is greater than the cumulative deviation anomaly threshold θcum, the processor determines the cumulative deviation anomaly degree sub-value Scum(t) based on the cumulative drainage deviation Dc(t), the cumulative deviation anomaly threshold θcum, and the cumulative deviation high-risk threshold θcum,h.
[0151] In other implementations, if the current monitoring task lacks the input parameters required to determine a certain anomaly level sub-value, the processor will not include that anomaly level sub-value as an available anomaly level sub-value. For example, if the currently received diversion parameter values cannot determine the cumulative diversion deviation, the processor may choose not to include the cumulative deviation anomaly level sub-value, or may not add the cumulative deviation anomaly level sub-value to the set of available anomaly level sub-values.
[0152] In other implementations, the processor can determine the set of anomaly degree sub-values corresponding to the current monitoring task, obtain the preset weights corresponding to each anomaly degree sub-value in the set of anomaly degree sub-values, and determine the traffic diversion anomaly value corresponding to the current monitoring task based on each anomaly degree sub-value in the set of anomaly degree sub-values and the preset weights corresponding to each anomaly degree sub-value.
[0153] For example, let A(t) be the set of sub-values of abnormality corresponding to the current monitoring time t, i be the index of any sub-value in A(t), Si(t) be the sub-value of abnormality corresponding to index i, wi be the preset weight corresponding to index i, and R(t) be the abnormality value of drainage corresponding to the current monitoring time t. Then the processor can determine the abnormality value of drainage R(t) in the following way: R(t)=Σi∈A(t)[wi×Si(t)] / Σi∈A(t)wi; Here, Σ represents the summation operation.
[0154] Through the above normalized weighting method, when only a part of the drainage fluid flow rate, the drainage volume per unit time, or the cumulative drainage volume is obtained, the processor can still determine the drainage abnormality degree value based on the actually available abnormality degree sub-values, and will not erroneously count the abnormality degree sub-values corresponding to missing input parameters as zero values.
[0155] Step 702: When the drainage abnormality degree value is less than the preset abnormality determination threshold, determine that the abnormality monitoring result of the current monitoring task is a normal state.
[0156] The preset abnormality determination threshold is a threshold used to distinguish between the normal state and the abnormal state. The normal state indicates that the post-cardiac surgery drainage state corresponding to the current monitoring task does not meet the abnormality determination condition.
[0157] Illustratively, the processor may compare the drainage abnormality degree value with the preset abnormality determination threshold. When the drainage abnormality degree value is less than the preset abnormality determination threshold, the processor determines that the abnormality monitoring result of the current monitoring task is the normal state.
[0158] Step 703: When the drainage abnormality degree value is greater than or equal to the preset abnormality determination threshold, determine that the abnormality monitoring result of the current monitoring task is an abnormal state.
[0159] For example, the drainage abnormality degree value is represented as R(t), the preset abnormality determination threshold is represented as Tbin, and the abnormality monitoring result is represented as Y(t), then: When R(t)<Tbin, Y(t)=0; When R(t)≥Tbin, Y(t)=1.
[0160] Y(t)=0 indicates the normal state, and Y(t)=1 indicates the abnormal state. It should be noted that the communication abnormality identifier is used to represent a data continuity state and does not change the value range of the abnormality monitoring result. That is to say, the abnormality monitoring result is still the normal state or the abnormal state, and the communication abnormality identifier is not used as a third classification result of the post-cardiac surgery drainage state.
[0161] Step 704: When the abnormality monitoring result is the abnormal state and the post-cardiac surgery drainage state corresponding to the current monitoring task meets a preset high-risk condition, determine the warning level corresponding to the current monitoring task as the highest-level warning.
[0162] The preset high-risk condition may be an abnormal condition used to directly trigger the highest-level warning. The preset high-risk condition may be determined according to at least one of a first drainage deviation feature, a second drainage deviation feature, a third drainage deviation feature, an abnormality degree sub-value, and an abnormality duration condition.
[0163] In the embodiments of the present application, the preset high-risk condition may include at least one of the following: the first drainage flow rate deviation reaches the drainage increase high-risk threshold; the negative deviation degree of the first drainage flow rate deviation reaches the drainage decrease high-risk threshold; the continuous flow stoppage duration reaches the flow stoppage high-risk duration threshold; the absolute value of the cumulative drainage deviation reaches the cumulative deviation high-risk threshold; the abnormal state persists in multiple consecutive monitoring tasks.
[0164] Illustratively, after determining that the abnormality monitoring result is an abnormal state, the processor may further determine whether the post-cardiac surgery drainage state corresponding to the current monitoring task meets a preset high-risk condition. When the preset high-risk condition is met, the processor no longer determines the warning level step by step according to the abnormality degree interval to which the drainage abnormality degree value belongs, but directly determines the warning level corresponding to the current monitoring task as the highest-level warning. Thereby, the high-risk abnormal state can be quickly upgraded to the highest-level warning, which is convenient for medical staff to handle in time.
[0165] Step 705: when the abnormality monitoring result is an abnormal state and the post-cardiac surgery drainage state corresponding to the current monitoring task does not meet the preset high-risk condition, determine a target warning level corresponding to the current monitoring task according to a preset warning rule and a target abnormality degree interval to which the drainage abnormality degree value belongs.
[0166] The preset warning rule includes a correspondence between a plurality of preset abnormality degree intervals and a plurality of warning levels. The plurality of warning levels are set in ascending order of corresponding warning risk degrees, and the highest-level warning is the warning level with the highest warning risk degree among the plurality of warning levels. The target abnormality degree interval is a preset abnormality degree interval to which the drainage abnormality degree value belongs.
[0167] Illustratively, when the abnormality monitoring result is an abnormal state and the post-cardiac surgery drainage state corresponding to the current monitoring task does not meet the preset high-risk condition, the processor may determine, from the plurality of preset abnormality degree intervals, the target abnormality degree interval to which the drainage abnormality degree value belongs, and determine, according to the preset warning rule, a warning level corresponding to the target abnormality degree interval as the target warning level corresponding to the current monitoring task.
[0168] For example, the preset abnormality determination threshold is Tbin, the first-level threshold is T2, the second-level threshold is T3, and Tbin<T2<T3. When Tbin≤R(t)<T2, the processor determines that the target warning level is a first-level warning; when T2≤R(t)<T3, the processor determines that the target warning level is a second-level warning; when R(t)≥T3, the processor determines that the target warning level is a third-level warning. The third-level warning may be the highest-level warning.
[0169] In this embodiment, the processor first determines multiple abnormality sub-values based on the drainage deviation characteristics corresponding to different time windows. Then, it determines the drainage abnormality value corresponding to the current monitoring task based on the available abnormality sub-value set, and determines the abnormal monitoring result based on the drainage abnormality value. For abnormal states, the processor further determines the target warning level based on preset high-risk conditions and preset warning rules. Thus, short-term mutations, medium-term trends, cessation of flow, and cumulative deviations can be unified into processable data results, and the highest-level warning can be directly triggered when a high-risk abnormality exists, thereby improving the accuracy of postoperative cardiac drainage abnormality monitoring and warning grading.
[0170] In some embodiments, the audible and visual alarm module 204 can output a corresponding audible and visual alarm signal based on the target warning level corresponding to the abnormal monitoring result.
[0171] Under normal conditions, the light-emitting unit 2041 can output a normal status indication, and the sound-emitting unit 2042 can remain silent. During a Level 1 warning, the light-emitting unit 2041 outputs the first alarm mode, and the sound-emitting unit 2042 outputs the first audible alarm mode. During a Level 2 warning, the light-emitting unit 2041 outputs the second alarm mode, and the sound-emitting unit 2042 outputs the second audible alarm mode. During a Level 3 warning, the light-emitting unit 2041 outputs the third alarm mode, and the sound-emitting unit 2042 outputs the third audible alarm mode.
[0172] Different warning levels can be distinguished by at least one of the following: light color, flashing frequency, sound frequency, sound intensity, sound duration, and sound interval. For example, a level one warning corresponds to a slow yellow flash and an intermittent low-frequency alert; a level two warning corresponds to a slow red flash and an intermittent medium-frequency alert; and a level three warning corresponds to a rapid red flash and a continuous high-frequency alert. The above-described audible and visual alarm modes are merely examples. In other embodiments, other audible and visual alarm modes can be set according to hospital management regulations, equipment placement, environmental noise, or the usage habits of medical staff.
[0173] In some embodiments, the processor 203 writes each status determination result, anomaly type, drainage anomaly severity value, warning level, alarm time, and communication status into the memory 202 for subsequent querying and tracing. Anomaly types may include at least one of drainage increase anomaly, drainage decrease anomaly, drainage flow rate trend anomaly, flow cessation anomaly, cumulative deviation anomaly, and communication anomaly. It should be noted that communication anomalies may be recorded as device communication status or data continuity status, but are not considered a third category of post-cardiac drainage status.
[0174] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0175] Based on the same inventive concept, this application also provides a cardiac postoperative drainage abnormality monitoring device for implementing the above-described cardiac postoperative drainage abnormality monitoring method. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more cardiac postoperative drainage abnormality monitoring device embodiments provided below can be found in the limitations of the cardiac postoperative drainage abnormality monitoring method described above, and will not be repeated here.
[0176] In one exemplary embodiment, such as Figure 8 As shown, a postoperative cardiac drainage abnormality monitoring device is provided, comprising: a receiving module 801, a first module 802, a second module 803, and a monitoring module 804, wherein: The receiving module 801 is used to receive postoperative cardiac drainage time-series data corresponding to the current monitoring task; the drainage time-series data includes multiple acquisition times within the monitoring period corresponding to the current monitoring task and drainage parameter values corresponding to each acquisition time; the drainage parameter values include at least parameter values related to the postoperative cardiac drainage flow rate.
[0177] The first module 802 is used to determine, from the drainage time series data, the first time series data whose acquisition time is within the first time window, and to determine the first drainage deviation feature based on the first time series data; the first drainage deviation feature is used to characterize the degree of change in drainage flow rate in the postoperative drainage state under the current monitoring task.
[0178] The second module 803 is used to determine, from the drainage time series data, the second time series data whose acquisition time is within the second time window, and to determine the second drainage deviation feature based on the second time series data; the second drainage deviation feature is used to characterize the drainage flow rate change trend and / or drainage patency under the current monitoring task; the time length of the second time window is greater than the time length of the first time window.
[0179] The monitoring module 804 is used to combine the first drainage deviation feature and the second drainage deviation feature to determine the abnormal monitoring result of the current monitoring task.
[0180] Each module in the aforementioned postoperative cardiac drainage abnormality monitoring device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.
[0181] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and databases. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for monitoring abnormal drainage after cardiac surgery.
[0182] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0183] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for monitoring abnormal drainage after cardiac surgery provided in the first aspect of the present application.
[0184] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the postoperative cardiac drainage abnormality monitoring method provided in the first aspect of the present application.
[0185] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the method for monitoring abnormal cardiac drainage after surgery provided in the first aspect of the present application.
[0186] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0187] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0188] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0189] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for monitoring abnormal drainage after cardiac surgery, characterized in that, The method includes: Receive postoperative cardiac drainage time-series data corresponding to the current monitoring task; the drainage time-series data includes multiple acquisition times within the monitoring period corresponding to the current monitoring task and drainage parameter values corresponding to each acquisition time; the drainage parameter values include at least parameter values related to the postoperative cardiac drainage flow rate; From the drainage time series data, the first time series data whose acquisition time is within the first time window is determined, and the first drainage deviation feature is determined based on the first time series data; the first drainage deviation feature is used to characterize the degree of change in drainage flow rate in the postoperative drainage state under the current monitoring task; From the drainage time-series data, a second time-series data point is determined where the acquisition time falls within a second time window, and a second drainage deviation feature is determined based on the second time-series data. The second drainage deviation feature is used to characterize the drainage rate change trend and / or drainage patency under the current monitoring task after cardiac surgery. The duration of the second time window is longer than that of the first time window. By combining the first drainage deviation feature and the second drainage deviation feature, the abnormal monitoring result of the current monitoring task is determined.
2. The method according to claim 1, characterized in that, The first drainage deviation feature includes a first drainage flow rate deviation; determining the first drainage deviation feature based on the first time-series data includes: Based on the first time series data, determine the first drainage rate of the postoperative cardiac drainage status within the first time window; Obtain the current postoperative stage corresponding to the current monitoring task and the historical drainage time series data corresponding to the current postoperative stage; If the amount of historical drainage time series data is less than the preset amount of data, the initial drainage reference flow rate corresponding to the current postoperative stage will be determined as the target drainage reference flow rate. If the amount of historical drainage time series data is greater than or equal to the preset amount of data, the initial drainage reference flow rate corresponding to the current postoperative stage is adjusted using the historical drainage time series data to obtain the target drainage reference flow rate. The deviation of the first drainage flow rate is determined based on the degree of difference between the first drainage flow rate and the target drainage reference flow rate.
3. The method according to claim 1, characterized in that, The second drainage deviation feature includes the deviation of drainage flow rate trend and / or the deviation of drainage patency; determining the second drainage deviation feature based on the second time series data includes: Based on the second time-series data, determine the drainage rate change characterization value and / or cessation characterization value of the postoperative cardiac drainage status within the second time window; the cessation characterization value includes at least one of the number of intermittent cessation and the duration of continuous cessation. Obtain the target drainage flow rate change baseline value and / or the target cessation baseline value under the current postoperative stage corresponding to the current monitoring task; the target cessation baseline value includes at least one of the following: intermittent cessation number threshold, continuous cessation duration threshold, and baseline cessation interval; The deviation of the drainage flow rate trend is determined based on the degree of difference between the drainage flow rate change characterization value and the target drainage flow rate change benchmark value; and / or, the deviation of the drainage flow smoothness is determined based on the degree of difference between the flow cessation characterization value and the target flow cessation benchmark value.
4. The method according to claim 3, characterized in that, After receiving the postoperative cardiac drainage time-series data corresponding to the current monitoring task, the method further includes: The multiple collection times included in the drainage time series data are sorted in time series, and the time interval between two adjacent collection times after sorting is determined. If the time interval is greater than the preset communication interval, the time period between two adjacent collection times is determined as the communication abnormal period, and a communication abnormality identifier corresponding to the communication abnormal period is generated. The step of determining the drainage rate change and / or cessation value within the second time window based on the second time-series data includes: If the second time window overlaps with the communication anomaly period, the second time window is divided into at least one valid continuous monitoring sub-period based on the communication anomaly period. For each effective continuous monitoring sub-period, the sub-period drainage flow rate change characterization value and / or sub-period flow cessation characterization value corresponding to the effective continuous monitoring sub-period are determined based on the second time series data within the effective continuous monitoring sub-period. By combining the characteristic values of the change in drainage velocity and / or the characteristic value of the cessation of flow in each of the effective continuous monitoring sub-time periods, the characteristic values of the change in drainage velocity and / or the characteristic value of the cessation of flow in the second time window are determined.
5. The method according to claim 1, characterized in that, After receiving the postoperative cardiac drainage time-series data corresponding to the current monitoring task, the method further includes: From the traffic diversion time series data, determine the third time series data whose collection time is within the third time window; the time length of the third time window is greater than the time length of the second time window; Based on the third time-series data, the current cumulative drainage volume of the postoperative cardiac drainage status within the third time window is determined; the current cumulative drainage volume is used to characterize the actual cumulative drainage level of the postoperative cardiac drainage status under the current monitoring task. Obtain the target cumulative drainage baseline value for the current postoperative stage corresponding to the current monitoring task; A third drainage deviation feature is determined based on the degree of difference between the current cumulative drainage volume and the target cumulative drainage baseline value; wherein, the third drainage deviation feature is used to characterize the degree of cumulative drainage deviation of the postoperative cardiac drainage status under the current monitoring task; The step of combining the first drainage deviation feature and the second drainage deviation feature to determine the abnormal monitoring result of the current monitoring task includes: By combining the first drainage deviation feature, the second drainage deviation feature, and the third drainage deviation feature, the abnormal monitoring result of the current monitoring task is determined.
6. The method according to any one of claims 1 to 5, characterized in that, The step of combining the first drainage deviation feature and the second drainage deviation feature to determine the abnormal monitoring result of the current monitoring task includes: Based on the first drainage deviation feature and the second drainage deviation feature, determine the drainage abnormality level value corresponding to the current monitoring task; If the abnormality level of the drainage is less than the preset abnormality judgment threshold, the abnormal monitoring result of the current monitoring task is determined to be normal. If the abnormality level of the drainage is greater than or equal to the preset abnormality determination threshold, the abnormal monitoring result of the current monitoring task is determined to be an abnormal state. If the abnormal monitoring result is an abnormal state, and the postoperative drainage status of the heart corresponding to the current monitoring task meets the preset high-risk conditions, the warning level corresponding to the current monitoring task will be determined as the highest level warning. If the abnormal monitoring result is an abnormal state, and the postoperative drainage status of the heart corresponding to the current monitoring task does not meet the preset high-risk conditions, the target warning level corresponding to the current monitoring task is determined according to the preset warning rules and the target abnormality range to which the drainage abnormality value belongs. The preset early warning rules include the correspondence between multiple preset abnormality ranges and multiple early warning levels. The multiple early warning levels are set from low to high according to the corresponding early warning risk level, and the highest level early warning is the early warning level with the highest early warning risk level among the multiple early warning levels.
7. A device for monitoring abnormal drainage after cardiac surgery, characterized in that, The device includes: The receiving module is used to receive postoperative cardiac drainage time-series data corresponding to the current monitoring task; the drainage time-series data includes multiple acquisition times within the monitoring period corresponding to the current monitoring task and drainage parameter values corresponding to each acquisition time; the drainage parameter values include at least parameter values related to the postoperative cardiac drainage flow rate; The first module is used to determine, from the drainage time series data, the first time series data whose acquisition time is within a first time window, and to determine the first drainage deviation feature based on the first time series data; the first drainage deviation feature is used to characterize the degree of change in drainage flow rate in the postoperative drainage state under the current monitoring task; The second module is used to determine, from the drainage time series data, the second time series data whose acquisition time is within the second time window, and to determine the second drainage deviation feature based on the second time series data; the second drainage deviation feature is used to characterize the drainage flow rate change trend and / or drainage patency under the current monitoring task; the time length of the second time window is greater than the time length of the first time window; The monitoring module is used to combine the first drainage deviation feature and the second drainage deviation feature to determine the abnormal monitoring results of the current monitoring task.
8. A postoperative cardiac drainage abnormality monitoring system, characterized in that, The postoperative cardiac drainage abnormality monitoring system includes an acoustic-optical monitoring device, which is connected to an external drainage detection device. The acoustic-optical monitoring device includes: A communication module, connected to the external drainage detection device, is used to receive postoperative cardiac drainage timing data sent by the external drainage detection device; A memory, connected to the communication module, is used to store the drainage timing data and computer program; A processor, connected to the memory, which executes the computer program to implement the steps of the method according to any one of claims 1 to 6; An audible and visual alarm module is connected to the processor. The audible and visual alarm module includes a light-emitting unit and a sound-emitting unit. The light-emitting unit is used to output a corresponding light alarm signal according to the target warning level corresponding to the abnormal monitoring result. The sound-emitting unit is used to output a corresponding sound alarm signal according to the target warning level corresponding to the abnormal monitoring result.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
