Intelligent infusion control method, system, storage medium and program product

By generating a compatibility matrix and establishing an infusion clamp group control model, the problem of coordinated management of multiple drug infusions was solved, the precise control and safety of the drug infusion process were achieved, and the infusion efficiency and reliability were improved.

CN119746205BActive Publication Date: 2025-09-30SHENZHEN HAORAN YINGKE COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411927600.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-09-30
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

Existing technologies make it difficult to achieve coordinated management of the infusion of multiple drugs in a specific order and time intervals, which can easily lead to confusion in the infusion order and reduce the safety and efficiency of patient infusion.

Method used

By obtaining drug information and infusion strategies, a compatibility matrix is ​​generated, the infusion time window groups are divided, and an infusion clamp is assigned to each group. An infusion clamp group control model is established, the drip rate and cumulative amount are monitored in real time, the drug infusion sequence and time interval are automatically coordinated, and the switching time is calculated in advance.

Benefits of technology

It achieves precise control of the infusion process of multiple drugs, reduces human errors, ensures the accuracy and safety of drug infusion, and improves infusion efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119746205B_ABST
    Figure CN119746205B_ABST
Patent Text Reader

Abstract

An intelligent infusion control method, system, storage medium and program product, in which a compatibility matrix of drugs to be infused is generated based on physical and chemical properties; each drug to be infused is divided into a number of infusion time window groups based on the compatibility matrix and the compatibility interval duration; a corresponding number of infusion clamps are allocated to each infusion time window group, and an infusion clamp group control model is established; the instantaneous drip rate and cumulative infusion volume of each infusion clamp are collected; the real-time infusion rate of each drug to be infused is calculated based on the instantaneous drip rate, and the remaining amount of each drug to be infused is determined based on the cumulative infusion volume; when it is detected that the remaining amount of the drug to be infused in any infusion time window group is less than a preset threshold, the start time of the next infusion time window group is calculated according to the infusion clamp group control model; at the start time, the infusion clamp corresponding to the current infusion time window group is controlled to be closed, and the infusion clamp corresponding to the next infusion time window group is controlled to be opened, thereby improving the safety of the patient's infusion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of infusion control, and in particular to an intelligent infusion control method, system, storage medium and program product. Background Art

[0002] Infusion therapy, a common treatment method, is widely used in clinical practice to deliver essential medications or nutrients to patients. Failure to accurately control the infusion rate or to promptly change the infusion medication during the infusion process can increase the risk of infection and safety. In particular, uneven drip rates or untimely treatment of drug depletion can lead to air ingress or blood reflux, posing a threat to the patient's life and health.

[0003] In the related art, drug information, infusion information and patient information can be obtained, wherein the drug information includes the total amount of drugs to be infused, and the infusion information includes the start time of infusion and the infusion drip rate. Based on the infusion information, the amount of drugs already infused is determined and the remaining amount of drugs is calculated. When the remaining amount of drugs is lower than the preset standard amount of drugs, a prompt message is generated based on the remaining amount of drugs and the patient information. When no response information is received within a preset time period, the closing time of the infusion clamp is determined according to the infusion drip rate and the remaining amount of drugs, and a closing instruction is generated.

[0004] However, when faced with complex treatment plans that require multiple drugs to be infused in a specific order and time intervals, it is difficult to achieve coordinated management and intelligent regulation of multiple infusions, which can easily cause confusion in the infusion order or improper control of time intervals between multiple drugs, which may reduce the efficacy and thus reduce the safety of patient infusions. Summary of the Invention

[0005] The present application provides an intelligent infusion control method, system, storage medium and program product for improving the safety of patient infusion.

[0006] In a first aspect, the present application provides an intelligent infusion control method for obtaining drug information of several drugs to be infused and an infusion strategy for each drug to be infused, wherein the drug information includes the physical and chemical properties of each drug to be infused and the total amount of drug to be infused, and the infusion strategy includes the compatibility interval between each drug to be infused;

[0007] Compatibility analysis is performed on each drug to be delivered based on its physical and chemical properties to generate a compatibility matrix of the drugs to be delivered. The compatibility matrix indicates whether there are any incompatibilities between the drugs to be delivered;

[0008] Based on the compatibility matrix and the compatibility interval, each drug to be infused is divided into several infusion time window groups, each of which contains several drugs to be infused that can be infused in parallel;

[0009] Assign a corresponding number of infusion clamps to each infusion time window group, and establish an infusion clamp group control model based on the total amount of drugs to be infused and the infusion rate requirements within each infusion time window group. The infusion clamp group control model includes coordinated control parameters for each infusion clamp;

[0010] During the infusion process of each infusion time window group, the instantaneous drip rate and cumulative infusion volume of each infusion clamp tube were collected;

[0011] Calculate the real-time infusion rate of each drug to be infused based on the instantaneous drip rate, and determine the remaining amount of each drug to be infused based on the cumulative infusion volume;

[0012] When it is detected that the remaining amount of the drug to be infused in any infusion time window group is less than a preset threshold, the start time of the next infusion time window group is calculated according to the infusion clamp group control model;

[0013] At the start-up moment, the infusion clamp tube corresponding to the current infusion time window group is controlled to be closed, and the infusion clamp tube corresponding to the next infusion time window group is controlled to be opened.

[0014] By employing the above technical solution, drug information and infusion strategies for the drugs to be infused are acquired. Compatibility analysis is then performed based on the drug's physical and chemical properties, generating a compatibility matrix. This allows the drugs to be scientifically divided into multiple infusion time window groups. Each infusion time window group is assigned an infusion clamp and a control model is established. During the infusion process, the drip rate and cumulative volume are monitored in real time, enabling the system to accurately control the infusion progress of each drug. When a drug is about to be completed, the system pre-calculates the start time of the next time window, ensuring smooth infusion switching. This keeps the infusion process of multiple drugs under control, reduces errors that can be caused by manual judgment and manipulation, and ensures the accuracy and safety of drug infusion. The system also automatically coordinates the infusion sequence and time intervals between different drugs, reducing staff workload and improving infusion efficiency. By establishing an infusion clamp group control model, coordinated control of multiple drugs is achieved, ensuring stable infusion of each drug at the expected rate, improving the accuracy and reliability of the infusion process.

[0015] In conjunction with some embodiments of the first aspect, in some embodiments, compatibility analysis is performed on each drug to be delivered based on physical and chemical properties to generate a compatibility matrix of the drugs to be delivered, specifically including:

[0016] Obtaining the pH range, solubility parameters, and redox potential of each drug to be delivered;

[0017] Calculating a pH value overlap interval based on the pH value range of each drug to be delivered, and determining a first compatibility index based on the pH value overlap interval;

[0018] Calculating a solubility difference value based on the solubility parameters of each drug to be delivered, and determining a second compatibility index based on the solubility difference value;

[0019] calculating a potential difference value according to the redox potential of each drug to be delivered, and determining a third compatibility index based on the potential difference value;

[0020] The first compatibility index, the second compatibility index and the third compatibility index are weighted and calculated to obtain a comprehensive compatibility index;

[0021] A compatibility matrix of drugs to be delivered is generated based on the comprehensive compatibility index.

[0022] By adopting the above technical solution, multiple physical and chemical indicators such as the pH range, solubility parameters and redox potential of the drugs to be infused are analyzed. The first compatibility index is obtained by calculating the overlapping pH value intervals, the second compatibility index is determined based on the solubility difference value, and the third compatibility index is obtained according to the potential difference value. These three indices are weighted to obtain a comprehensive compatibility index, which can comprehensively evaluate the compatibility between drugs. The generated compatibility matrix accurately reflects the interaction relationship between each drug, improves the accuracy of predicting the possible reactions of drug compatibility, reduces adverse phenomena such as precipitation and crystallization caused by drug interactions, and improves the safety of infusion medication.

[0023] In conjunction with some embodiments of the first aspect, in some embodiments, based on the compatibility matrix and the compatibility interval duration, each drug to be infused is divided into several infusion time window groups, specifically including:

[0024] A drug association graph to be delivered is constructed based on the compatibility matrix. Each node in the drug association graph represents a drug to be delivered, and the lines between the nodes represent the compatibility relationship between the drugs to be delivered.

[0025] Nodes with the same color in the association graph of drugs to be infused form a parallel infusion group;

[0026] Calculate the minimum time interval between each parallel infusion group based on the compatibility interval length;

[0027] The parallel infusion groups are arranged in time sequence based on the minimum time interval to obtain an infusion time window group.

[0028] By adopting the above technical solution, the compatibility relationship of drugs is visualized, and the compatibility relationship is identified by node color, making the drug grouping more intuitive and clear. The system organizes nodes of the same color into parallel infusion groups, and calculates the minimum time interval between each parallel infusion group based on the compatibility interval duration. The final infusion time window group is obtained through time sequence arrangement, which can maximize the possibility of parallel infusion while ensuring drug safety and improve infusion efficiency. By calculating the minimum time interval for time sequence arrangement, sufficient time interval is ensured between incompatible drugs, reducing mutual interference between drugs and the complexity of infusion time scheduling, enabling the system to quickly find the optimal infusion time combination plan, improving the efficiency and accuracy of infusion scheduling.

[0029] In conjunction with some embodiments of the first aspect, in some embodiments, before establishing the infusion clamp group control model based on the total amount of the drug to be infused and the infusion rate requirement in each infusion time window group, the method further includes:

[0030] Obtain the infusion pressure range and pipeline viscosity coefficient of each drug to be infused;

[0031] Calculate the opening adjustment range of the infusion clamp according to the infusion pressure range of each drug to be infused and the viscosity coefficient of the pipeline;

[0032] The corresponding relationship between the opening and dripping rate of each infusion clamp is calibrated based on the opening adjustment range;

[0033] The corresponding relationship between the opening and the dripping rate is input as a parameter into the control model of the infusion clamp group.

[0034] By adopting the above technical solution, the drug infusion pressure range and tubing viscosity coefficient are obtained, the opening adjustment range of the infusion clamp is calculated, and the relationship between the opening and drip rate of each infusion clamp is calibrated, establishing a precise correspondence between the infusion clamp opening and the actual infusion rate. By considering factors such as infusion pressure and tubing viscosity, the system can accurately predict the actual drip rate at different openings, providing a data basis for precise control of the infusion clamp, reducing the control deviation caused by ignoring the physical properties of the drug and the characteristics of the equipment in traditional infusion control, and improving the accuracy of infusion rate control. The calibration results are input as parameters into the control model, enabling the model to adaptively adjust the control strategy according to the characteristics of different drugs, improving the stability and controllability of the infusion process.

[0035] In conjunction with some embodiments of the first aspect, in some embodiments, an infusion clamp group control model is established based on the total amount of the drug to be infused and the infusion rate requirements within each infusion time window group, specifically including:

[0036] Obtain the administration time requirements of the drugs to be infused within each infusion time window group;

[0037] Calculate the target infusion rate based on the total amount of each drug to be infused and the administration time requirements;

[0038] Determining the opening of the infusion clamp corresponding to the target infusion rate based on the corresponding relationship between the opening and the dripping rate;

[0039] A dynamic compensation mechanism for the opening of each infusion clamp tube is established based on the opening of the infusion clamp tube corresponding to each infusion clamp tube, and an infusion clamp tube group control model is established based on the dynamic compensation mechanism.

[0040] By adopting the above technical solution, the administration time requirements of the drugs to be infused within the infusion time window group are obtained, the target infusion rate is calculated based on the total amount of drugs, and then the opening of the infusion clamp is determined based on the correspondence between the opening and the drip rate. A dynamic compensation mechanism is established, which can adjust the opening parameters of each infusion clamp in real time according to the drip rate fluctuations during the actual infusion process, so that the infusion rate is always maintained within the target range, thereby improving the stability and accuracy of the infusion process, thereby enhancing the accuracy and safety of infusion therapy.

[0041] In conjunction with some embodiments of the first aspect, in some embodiments, before collecting the instantaneous drip rate and cumulative infusion volume of each infusion clamp during the infusion process of each infusion time window group, the method further includes:

[0042] When bubbles are detected in the infusion clamp tube, the bubble volume and movement speed of the bubbles are calculated;

[0043] Determine the arrival time of the bubble at the infusion clamp tube according to the volume and movement speed of the bubble;

[0044] Adjust the opening of the infusion clamp before the arrival time to eliminate the influence of bubbles on the infusion rate.

[0045] By employing this technical solution, bubbles in the infusion line are detected in real time, their volume and velocity are calculated, the moment they reach the infusion clamp is predicted, and the clamp opening is adjusted in advance, thus reducing the interference of bubbles on the infusion rate. This early prediction and adjustment enables the system to take compensatory measures before bubbles affect the infusion rate, reducing fluctuations in the infusion rate, improving the continuity and smoothness of the infusion process, and ultimately enhancing the accuracy and reliability of infusion control.

[0046] In conjunction with some embodiments of the first aspect, in some embodiments, calculating the bubble volume and movement speed of the bubble specifically includes:

[0047] Collect bubble image sequences in the infusion tube, perform threshold segmentation on the bubble image sequences, and extract bubble contours;

[0048] Calculate the major axis length and minor axis length of the bubble based on the bubble outline;

[0049] Calculate the bubble volume based on the major axis length and minor axis length;

[0050] The center of mass of the bubble is determined, and the bubble velocity is calculated based on the center of mass position.

[0051] By employing this technical solution, a bubble image sequence is captured and threshold segmented to extract bubble contours. The major and minor axis lengths of the bubbles are calculated, accurately capturing key parameters such as bubble volume and velocity. Velocity is determined by calculating the change in the bubble's center of mass, reducing velocity calculation errors caused by bubble deformation and improving the system's control over bubble interference. This precise acquisition of bubble parameters provides a reliable basis for pre-emptive adjustment of the infusion clamp opening, thereby enhancing the stability and safety of the infusion process.

[0052] In a second aspect, an embodiment of the present application provides an intelligent infusion control system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the system to execute the method described in the first aspect and any possible implementation method of the first aspect.

[0053] In a third aspect, an embodiment of the present application provides a computer-readable storage medium comprising instructions, which, when executed on a system, enables the system to execute the method described in the first aspect and any possible implementation of the first aspect.

[0054] In a fourth aspect, an embodiment of the present application provides a computer program product, characterized in that when the computer program product is run on a system, the system executes the method described in any possible implementation manner in the first aspect.

[0055] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0056] 1. The present application provides an intelligent infusion control method that obtains drug information and infusion strategies of the drugs to be infused, performs compatibility analysis based on the physical and chemical properties of the drugs, and generates a compatibility matrix, thereby scientifically dividing the drugs into multiple infusion time window groups. An infusion clamp is assigned to each infusion time window group and a control model is established. The drip rate and cumulative amount are monitored in real time during the infusion process, so that the system can accurately control the infusion progress of each drug. When a drug is about to be infused, the system calculates the start time of the next time window in advance to achieve smooth switching of the infusion process, so that the infusion process of multiple drugs is always in a controllable state, reducing the errors that may be caused by manual judgment and operation, and ensuring the accuracy and safety of drug infusion. At the same time, the system can automatically coordinate the infusion sequence and time intervals between different drugs, reducing the workload of staff and improving infusion efficiency. By establishing an infusion clamp group control model, the coordinated control of multiple drugs is achieved, ensuring that each drug is stably infused at the expected rate, and improving the accuracy and reliability of the infusion process.

[0057] 2. The present application provides an intelligent infusion control method, which obtains the infusion pressure range and pipeline viscosity coefficient of the drug, calculates the opening adjustment range of the infusion clamp, and calibrates the relationship between the opening and drip rate of each infusion clamp, thereby establishing an accurate correspondence between the opening of the infusion clamp and the actual infusion rate. By considering influencing factors such as infusion pressure and pipeline viscosity, the system can accurately predict the actual drip rate under different openings, providing a data basis for the precise control of the infusion clamp, reducing the control deviation caused by ignoring the physical properties of the drug and the characteristics of the equipment in traditional infusion control, and improving the accuracy of infusion rate control. The calibration results are input as parameters into the control model, so that the model can adaptively adjust the control strategy according to the characteristics of different drugs, thereby improving the stability and controllability of the infusion process.

[0058] 3. This application provides an intelligent infusion control method that detects bubbles in the infusion line in real time, calculates the bubble volume and movement speed, predicts the moment when the bubble reaches the infusion clamp, and adjusts the opening of the infusion clamp in advance, thereby reducing the interference of bubbles on the infusion rate. By predicting and adjusting in advance, the system can take compensatory measures before bubbles affect the infusion rate, reducing fluctuations in the infusion rate, improving the continuity and smoothness of the infusion process, and thus improving the accuracy and reliability of infusion control. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 This is a flow chart of an intelligent infusion control method in an embodiment of the present application.

[0060] Figure 2 This is another flow chart of an intelligent infusion control method in an embodiment of the present application.

[0061] Figure 3 This is a schematic diagram of the physical device structure of an intelligent infusion control system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] The terms used in the following examples of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of this application, the singular expressions "a," "an," "said," "above," "the," and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in this application refers to any or all possible combinations comprising one or more of the listed items.

[0063] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0064] The following uses an embodiment and combines Figure 1 , an intelligent infusion control method in an embodiment of the present application is described:

[0065] See also Figure 1 , which is a flow chart of an intelligent infusion control method in an embodiment of the present application.

[0066] S101, obtaining drug information of several drugs to be delivered and an infusion strategy for each drug to be delivered, performing compatibility analysis on each drug to be delivered based on physical and chemical properties, and generating a compatibility matrix of the drugs to be delivered;

[0067] The system first obtains drug information for several drugs to be infused and the infusion strategy for each drug to be infused. The drug information includes the physical and chemical properties of each drug to be infused and the total amount of drug to be infused. The infusion strategy includes the compatibility interval between each drug to be infused. Then, the system performs a compatibility analysis on each drug to be infused based on the physical and chemical properties and generates a compatibility matrix for each drug to be infused. The compatibility matrix indicates whether there are any incompatibilities between the drugs to be infused. Specifically: the pH range, solubility parameter, and redox potential of each drug to be infused are obtained;

[0068] Calculating a pH value overlap interval based on the pH value range of each drug to be delivered, and determining a first compatibility index based on the pH value overlap interval;

[0069] Calculating a solubility difference value based on the solubility parameters of each drug to be delivered, and determining a second compatibility index based on the solubility difference value;

[0070] calculating a potential difference value according to the redox potential of each drug to be delivered, and determining a third compatibility index based on the potential difference value;

[0071] The first compatibility index, the second compatibility index and the third compatibility index are weighted and calculated to obtain a comprehensive compatibility index;

[0072] A compatibility matrix of drugs to be delivered is generated based on the comprehensive compatibility index.

[0073] The system first obtains the basic information and infusion strategy of the various drugs to be injected into the patient. Drug information includes the physical and chemical properties of each drug, such as pH range, solubility parameters, redox potential, etc., as well as the total amount of each drug that needs to be injected. The infusion strategy stipulates the required compatibility interval between different drugs. After obtaining the above information, the system analyzes whether there are incompatibility contraindications between different drugs based on the physical and chemical properties of the drugs, that is, certain drugs cannot be injected into the patient's body at the same time or successively, and generates a drug compatibility matrix, which indicates the compatibility relationship between each drug.

[0074] In specific implementation, the system can automatically obtain prescription information for the medication to be infused by connecting to the hospital information system, extracting drug information and infusion strategies. Based on the physiochemical properties of the medications, the system can establish a database of the physiochemical properties of the medications, recording the various parameters of commonly used medications. When analyzing drug compatibility, the system can calculate the overlap and difference between the physiochemical parameters of different drugs, deriving multiple compatibility indices reflecting the degree of compatibility between the two drugs. This is then weighted averaged to obtain a comprehensive compatibility index, which is then used to generate a drug compatibility matrix.

[0075] It's important to note that the physical and chemical parameters of different drugs may vary depending on their concentration, temperature, and other usage conditions. Therefore, when analyzing compatibility, it's important to consider the actual state of drug use. Furthermore, some specialized drugs may be incompatible with most common medications. The system can set special markers to identify these in the drug compatibility matrix. The system can also set a threshold for drug compatibility. When the combined compatibility index of two drugs falls below the threshold, the two drugs are considered incompatible.

[0076] S102, dividing each drug to be infused into a number of infusion time window groups based on the compatibility matrix and the compatibility interval duration;

[0077] Based on the compatibility matrix and the duration of the compatibility interval, the system divides each drug to be infused into several infusion time window groups. Each infusion time window group contains several drugs to be infused in parallel. Specifically, a drug association graph is constructed based on the compatibility matrix. Each node in the drug association graph represents a drug to be infused, and the lines between the nodes represent the compatibility relationship between the drugs to be infused.

[0078] Nodes with the same color in the association graph of drugs to be infused form a parallel infusion group;

[0079] Calculate the minimum time interval between each parallel infusion group based on the compatibility interval length;

[0080] The parallel infusion groups are arranged in time sequence based on the minimum time interval to obtain an infusion time window group.

[0081] The drug compatibility matrix indicates whether drugs are compatible with each other, while the compatibility interval specifies the intervals between drug administrations. The system considers both of these factors and categorizes drugs into groups. Drugs within a group can be administered concurrently, while drugs between groups must be administered sequentially, ensuring the safety and effectiveness of the drug administration process.

[0082] During implementation, the system can construct a drug association graph based on the drug compatibility matrix. Each node in the graph represents a drug, and the lines between the nodes represent the compatibility relationship between the drugs. The system can use the graph coloring algorithm to divide the association graph into several independent subgraphs. The nodes in the subgraph represent a group of drugs that can be input in parallel. Next, the system can calculate the compatibility interval between different groups of drugs and select the minimum value as the minimum interval between the infusion time windows of the two groups of drugs. Finally, the system arranges each group of drugs in the order of the time window according to the compatibility interval, forming a sequence of infusion time windows.

[0083] Before executing step S103, in one embodiment, the system obtains the infusion pressure range and tubing viscosity coefficient for each medication to be infused. Specifically, the infusion pressure range refers to the pressure range required for the medication to flow through the infusion tubing during infusion. This pressure range is related to the medication's physical properties, such as viscosity and density. The tubing viscosity coefficient refers to the viscosity characteristic parameter of the infusion tubing material, which affects the degree of tubing deformation.

[0084] The system calculates the adjustable opening range of the infusion clamp based on the acquired infusion pressure range and tubing viscosity coefficient. Because different medications have different infusion pressure ranges, and the viscosity of the tubing material can affect the actual infusion effect, the adjustable opening range of the infusion clamp needs to be determined based on these parameters to ensure controllability of the infusion process.

[0085] Based on the calculated opening adjustment range, the system calibrates the relationship between the opening and drip rate of each infusion clamp. The calibration process involves measuring the corresponding drip rate at different openings and establishing an opening-drip rate mapping relationship. This relationship reflects the regulatory effect of the infusion clamp opening on the infusion drip rate.

[0086] The system obtains the administration time requirements for each medication within each infusion time window group. The administration time requirement refers to the time limit within which each medication must be infused, and this time requirement is determined by the doctor's order.

[0087] The system calculates the target infusion rate based on the total amount of each drug to be infused and the administration time requirement. Specifically, the total amount of the drug to be infused is divided by the administration time to obtain the target infusion rate required for the drug.

[0088] Based on the calibrated relationship between opening and drip rate, the system determines the opening of the infusion clamp corresponding to the target infusion rate. By finding the opening-drip rate mapping relationship, the system selects the appropriate opening value that can achieve the target infusion rate.

[0089] The system establishes a dynamic compensation mechanism for each infusion clamp opening based on its corresponding opening. This compensation mechanism takes into account various influencing factors that may occur during the infusion process, such as changes in the liquid level of the infusion bottle and tubing deformation, and maintains a stable infusion rate by adjusting the infusion clamp opening in real time.

[0090] The system uses the calibrated relationship between opening and drip rate as parameters to input into the infusion clamp control model. These parameters are used for real-time calculation and control of the model, ensuring the accuracy and reliability of the infusion process.

[0091] S103, allocating a corresponding number of infusion clamps to each infusion time window group, and establishing an infusion clamp group control model based on the total amount of drugs to be infused and the infusion rate requirements in each infusion time window group;

[0092] The system allocates a corresponding number of infusion clamps to each infusion time window group, and establishes an infusion clamp group control model based on the total amount of drugs to be infused and the infusion rate requirements in each infusion time window group. The infusion clamp group control model includes the coordinated control parameters of each infusion clamp.

[0093] The system first allocates an equal number of infusion clamps based on the number of concurrently infused medications within each time window group, ensuring independent control of the infusion rate for each medication. Then, based on the total infusion volume for each medication group and the prescribed infusion rate, the system calculates the theoretical opening curves for each infusion clamp at different time periods, forming an infusion clamp group control model. This model comprehensively considers multiple factors, including drug compatibility, infusion volume, and infusion rate, to guide the dynamic adjustment of the infusion clamps, ensuring a safe and orderly infusion process.

[0094] S104, collecting the instantaneous dripping rate and cumulative infusion volume of each infusion clamp during the infusion process of each infusion time window group;

[0095] During each infusion time window, the system collects real-time data on the instantaneous drip rate and cumulative infusion volume of each infusion tube. Specifically, the system can install flow sensors or drip rate sensors on the infusion lines to monitor the flow of the drug solution in real time and convert the collected signals into digital quantities for recording and analysis.

[0096] To collect instantaneous drip rate data, the system can utilize highly sensitive components such as photoelectric sensors or capacitive sensors to detect the frequency of droplets passing through the infusion line. By setting a reasonable sampling frequency and time window, the system can generate a dynamic curve of the drug drip rate, reflecting the real-time fluctuations in the infusion rate.

[0097] To collect cumulative infusion volume, the system can install a flow meter at the downstream port of the infusion line to accumulate and count the volume of liquid medicine passing through. The flow meter can use a high-precision sensor such as an electromagnetic flowmeter or ultrasonic flowmeter to ensure the accuracy of cumulative measurement. Furthermore, the system can monitor the mass changes of the infusion bag using a weight sensor, indirectly determining the changing trend of liquid medicine consumption and comparing it with the flow meter reading for calibration.

[0098] S105, calculating the real-time infusion rate of each drug to be infused based on the instantaneous dripping rate, and determining the remaining amount of each drug to be infused based on the accumulated infusion volume;

[0099] After obtaining the instantaneous drip rate data for each infusion tubing, the system can further calculate the real-time infusion rate for each medication to be infused. Let fi be the instantaneous drip rate of the infusion tubing corresponding to the i-th medication, and di be the number of drops per unit volume of that medication. The real-time infusion rate vi can be expressed as: vi = fi / di.

[0100] Through these calculations, the system can monitor the dynamic infusion rate of each drug in real time. By comparing the real-time rate curve with the preset target infusion curve, the system can determine whether the current infusion process meets expectations. Based on any deviations, the system can provide feedback control of the infusion clamp and dynamically adjust the infusion rate to ensure the stability and accuracy of the drug infusion process.

[0101] At the same time, the system can also use the cumulative infusion volume data to estimate the remaining amount of each drug. Let the cumulative infusion volume of the i-th drug be Vi and its total volume be Qi. The remaining drug volume Ri can be expressed as: Ri = Qi - Vi.

[0102] By tracking the remaining amount of each medication, the system can predict when the infusion is complete and prepare to replace the bag or switch medications in advance. When the remaining amount falls below a preset threshold, the system can issue an alert to medical staff, requiring timely medication replacement to avoid interruptions in the infusion or patients missing medication.

[0103] S106, when it is detected that the remaining amount of the drug to be infused in any infusion time window group is less than a preset threshold, calculating the start time of the next infusion time window group according to the infusion clamp group control model;

[0104] The system monitors the infusion status of each drug in each infusion time window group in real time. When it finds that the remaining amount of any drug in a group is lower than the preset threshold (for example, 100 ml), it determines that the drug is about to be infused. Then, based on the infusion tube group control model, it calculates the theoretical start time of the next time window group to prepare for seamless switching of each group of drugs.

[0105] In specific implementations, the system can use the control model established in step S103 to pre-calculate the infusion duration for each time window group. When the current medication group is about to run out, the system retrieves the start time for the next infusion group from the control model. The system also verifies that the difference between the start time and the current time is long enough to complete the necessary compatibility interval. If the interval is insufficient, the system will appropriately delay the start time of the next group to ensure the safety of the medication compatibility.

[0106] S107 , at the start time, controlling the infusion clamp tube corresponding to the current infusion time window group to close, and controlling the infusion clamp tube corresponding to the next infusion time window group to open.

[0107] When the start time calculated in step S106 is reached, the system controls all infusion clamps in the current infusion time window group to close simultaneously, blocking the delivery of the drug solution. At the same time, the system opens the infusion clamps corresponding to the next time window group and starts a new round of drug infusion tasks, completing seamless switching between groups.

[0108] The key to achieving this step lies in the precise coordinated control of multiple infusion clamps. The system must simultaneously issue switch commands at the specified moment, actuating all clamps quickly to avoid interruptions in drug delivery or cross-contamination. In specific implementation, the system can utilize industrial control equipment such as PLCs and single-chip microcomputers to achieve unified control of multiple clamps. The system also requires a well-designed hardware driver circuit to ensure that control commands are quickly and reliably transmitted to the actuators of each clamp.

[0109] In the above embodiment, the drug information and infusion strategy of the drug to be infused are obtained, and a compatibility analysis is performed in combination with the physical and chemical properties of the drug to generate a compatibility matrix, thereby scientifically dividing the drug into multiple infusion time window groups. An infusion clamp is assigned to each infusion time window group and a control model is established. The drip rate and cumulative amount are monitored in real time during the infusion process, so that the system can accurately control the infusion progress of each drug. When a certain drug is about to be infused, the system calculates the start time of the next time window in advance to achieve a smooth switching of the infusion process, so that the infusion process of multiple drugs is always in a controllable state, reducing the errors that may be caused by manual judgment and operation, and ensuring the accuracy and safety of drug infusion. At the same time, the system can automatically coordinate the infusion sequence and time intervals between different drugs, reducing the workload of staff and improving infusion efficiency. By establishing an infusion clamp group control model, the coordinated control of multiple drugs is achieved, ensuring that each drug is stably infused at the expected rate, and improving the accuracy and reliability of the infusion process.

[0110] The above embodiments have realized the intelligent control of multiple drug infusion processes from a macroscopic perspective. However, in the actual infusion process, bubbles in the pipeline will also affect the accuracy of drug infusion. In order to further improve the accuracy of infusion control, this application provides another intelligent infusion control method, which eliminates bubble interference by detecting and processing bubbles in the infusion pipeline in real time, thereby ensuring the continuity and stability of drug delivery. Figure 2 , another intelligent infusion control method in the embodiment of the present application is described:

[0111] See also Figure 2 , is another flow chart of an intelligent infusion control method in an embodiment of the present application.

[0112] S201, when bubbles are detected in the infusion tube, collecting a bubble image sequence in the infusion tube, performing threshold segmentation on the bubble image sequence, and extracting bubble contours;

[0113] When the system detects bubbles in the infusion tubing, it activates the image acquisition unit to continuously image the tubing, obtaining a series of image frames containing bubbles. The system then preprocesses the acquired bubble image sequence and extracts the bubble contour features using image processing algorithms such as threshold segmentation.

[0114] In specific implementations, the system can utilize various imaging methods, such as infrared and visible light, to obtain images of bubbles under different lighting conditions. When performing threshold segmentation on images, the system comprehensively considers parameters such as brightness and contrast, adaptively selecting the optimal segmentation threshold to accommodate different shooting environments. For bubble outline extraction, the system utilizes various algorithms, such as edge detection and region growing, to ensure accurate segmentation of bubble regions under varying image quality conditions.

[0115] In some cases, multiple bubbles may appear simultaneously in the infusion line, and there may be adhesion or overlap between the bubbles. To accurately extract the outline of each bubble, the system can also introduce advanced algorithms such as morphological processing to further segment and optimize the bubble area, ultimately obtaining the precise outline of each individual bubble.

[0116] S202, calculating the major axis length and minor axis length of the bubble based on the bubble contour, and calculating the bubble volume according to the major axis length and minor axis length;

[0117] After extracting the bubble outline, the system performs a fitting calculation to determine the bubble's major and minor axis lengths (assuming the bubble is approximately ellipsoidal). Based on these major and minor axis parameters, the system can further calculate the bubble's volume. Volume calculation is a mature technology and will not be further described here.

[0118] In actual calculations, the calculated bubble axial length and volume may contain errors due to factors such as image resolution and pixel size. To improve accuracy, the system can calibrate the image before calculation to determine the actual size of each pixel in the image. Furthermore, the system can incorporate sub-pixel edge location algorithms to further improve the accuracy of axial length calculations.

[0119] Furthermore, bubbles in infusion lines may not be completely regular in shape, and the volume calculated using the major and minor axes may deviate from the actual value. To address this, the system can create a three-dimensional model of the bubble shape and, through contour matching and model fitting, obtain a more accurate estimate of the bubble volume. The system can also conduct extensive experiments on bubbles of different shapes and sizes, establish a revised bubble volume model based on the experimental data, and calibrate the calculated results to improve the reliability of the volume estimate.

[0120] S203, determining the center of mass position of the bubble, and calculating the bubble movement speed based on the center of mass position;

[0121] The size of a bubble affects the degree to which it interferes with the flow rate of the liquid as it passes through the clamped tube. However, the bubble's real-time location and speed are also important factors affecting infusion accuracy. Therefore, after calculating the bubble volume, the system also needs to track the bubble's trajectory and speed in real time.

[0122] First, the system calculates the center of mass coordinates of the bubble's outline. By comparing the center of mass positions in consecutive image frames, a time-varying center of mass trajectory is generated. The system then differentiates the displacement of this center of mass trajectory to determine the bubble's velocity vector within the image plane.

[0123] In practical applications, jitter and distortion may occur in the calculation of center of mass position and velocity due to factors such as imaging frame rate and image noise. To obtain a smooth and accurate velocity estimate, the system can apply signal processing algorithms such as Kalman filtering and moving average to the center of mass trajectory to smooth and optimize the velocity curve. Furthermore, the system also needs to calibrate the imaging position of the infusion line and establish a mapping relationship between the image coordinate system and the actual spatial coordinate system to convert the pixel-level velocity estimate into the actual spatial velocity.

[0124] S204: Determine the arrival time of the bubble at the infusion clamp tube according to the bubble volume and movement speed, and adjust the opening of the infusion clamp tube before the arrival time to eliminate the influence of the bubble on the infusion rate.

[0125] Based on the calculation results of the bubble volume and movement speed, the system can predict the time T when the bubble reaches the infusion clamp. Assuming the initial distance between the bubble and the clamp is L and the average movement speed of the bubble is v, the arrival time T = L / v.

[0126] After determining the arrival time of the bubble, the system adjusts the opening of the infusion clamp by a time interval ΔT to offset the effect of the bubble on the flow rate. The amount of this advance adjustment ΔT depends on the transmission delay of the adjustment command and the mechanical response time of the clamp actuator. The system can obtain an empirical value for ΔT through extensive testing and statistical modeling.

[0127] At the moment T-ΔT before the bubble arrives, the system searches the infusion clamp group control model for the corresponding opening adjustment value ΔS based on the bubble volume V and sends an opening adjustment command to the target clamp. Because of this advance compensation, when the bubble actually passes through the clamp, the infusion rate essentially returns to normal, preventing the bubble from affecting infusion accuracy.

[0128] In the above embodiment, real-time detection of bubbles in the infusion line, calculation of bubble volume and velocity, prediction of the moment when bubbles reach the infusion clamp, and preemptive adjustment of the infusion clamp opening reduce the interference of bubbles on the infusion rate. This proactive approach enables the system to take compensatory measures before bubbles affect the infusion rate, reducing fluctuations in the infusion rate and improving the continuity and smoothness of the infusion process, thereby enhancing the accuracy and reliability of infusion control.

[0129] The following describes the system in the embodiment of the present invention from the perspective of hardware processing. Figure 3 , is a schematic diagram of the physical device structure of an intelligent infusion control system provided in an embodiment of the present application.

[0130] It should be noted that Figure 3The structure of the system shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention.

[0131] like Figure 3 As shown, the system includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes, such as the methods described in the above embodiments, based on programs stored in a read-only memory (ROM) 302 or programs loaded from a storage unit 308 into a random access memory (RAM) 303. RAM 303 also stores various programs and data required for system operation. CPU 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to bus 304.

[0132] The following components are connected to the I / O interface 305: an input section 306 including a camera, infrared sensor, and the like; an output section 307 including a liquid crystal display (LCD) and speakers; a storage section 308 including a hard disk and the like; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. Removable media 311, such as a magnetic disk, optical disk, magneto-optical disk, or semiconductor memory, is installed in the drive 310 as needed, so that computer programs read from the media can be installed in the storage section 308 as needed.

[0133] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for executing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 309 and / or installed from removable media 311. When executed by the central processing unit (CPU) 301, the computer program performs the various functions defined in the present invention.

[0134] It should be noted that the computer-readable medium described in the embodiments of the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium may include a data signal transmitted in baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal may take any of a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof.

[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in an order different from that marked in the accompanying drawings. For example, two boxes shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.

[0136] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the system described in the above embodiments, or may exist independently and not incorporated into the system. The storage medium carries one or more computer programs, and when executed by a processor of a system, the system implements the methods provided in the above embodiments.

[0137] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0138] As used in the above embodiments, the term “when” may be interpreted to mean “if” or “after” or “in response to determining that” or “in response to detecting that”, depending on the context. Similarly, the phrases “upon determining that” or “if (stated condition or event) is detected” may be interpreted to mean “if determining that” or “in response to determining that” or “upon detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.

[0139] In the above embodiments, all or part of the embodiments can be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, hard disk, tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive).

[0140] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. An intelligent infusion control system, characterized in that: The system includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the system to execute an intelligent infusion control method, the method including: Obtaining drug information of several drugs to be infused and an infusion strategy for each of the drugs to be infused, wherein the drug information includes the physical and chemical properties of each of the drugs to be infused and the total amount of the drugs to be infused, and the infusion strategy includes the compatibility interval between the drugs to be infused; Performing compatibility analysis on the drugs to be delivered according to the physical and chemical properties to generate a compatibility matrix of the drugs to be delivered, wherein the compatibility matrix indicates whether there are any incompatibilities between the drugs to be delivered; Based on the compatibility matrix and the compatibility interval, the drugs to be infused are divided into a plurality of infusion time window groups, each of the infusion time window groups includes a plurality of drugs to be infused that can be infused in parallel; Allocating a corresponding number of infusion clamps to each of the infusion time window groups, and establishing an infusion clamp group control model based on the total amount of drugs to be infused and the infusion rate requirements within each of the infusion time window groups, the infusion clamp group control model including coordinated control parameters of each of the infusion clamps; During the infusion process of each infusion time window group, the instantaneous dripping rate and the cumulative infusion volume of each infusion clamp are collected; Calculating the real-time infusion rate of each of the drugs to be infused based on the instantaneous dripping rate, and determining the remaining amount of each of the drugs to be infused according to the accumulated infusion volume; When it is detected that the remaining amount of the drug to be infused in any of the infusion time window groups is less than a preset threshold, the start time of the next infusion time window group is calculated according to the infusion clamp group control model; At the start time, the infusion clamp tube corresponding to the current infusion time window group is controlled to be closed, and the infusion clamp tube corresponding to the next infusion time window group is controlled to be opened.

2. The system according to claim 1, wherein: The compatibility analysis of each of the drugs to be delivered is performed based on the physical and chemical properties to generate a compatibility matrix of the drugs to be delivered, specifically including: Obtaining the pH range, solubility parameter, and redox potential of each of the drugs to be delivered; Calculating a pH value overlap interval according to the pH value range of each of the drugs to be delivered, and determining a first compatibility index based on the pH value overlap interval; Calculating a solubility difference value based on the solubility parameters of each of the drugs to be delivered, and determining a second compatibility index according to the solubility difference value; calculating a potential difference value according to the redox potential of each of the drugs to be delivered, and determining a third compatibility index based on the potential difference value; Performing weighted calculation on the first compatibility index, the second compatibility index, and the third compatibility index to obtain a comprehensive compatibility index; A compatibility matrix of the drugs to be delivered is generated according to the comprehensive compatibility index.

3. The system according to claim 1, wherein: The method of dividing the drugs to be infused into a plurality of infusion time window groups based on the compatibility matrix and the compatibility interval duration specifically includes: Constructing a drug association graph based on the compatibility matrix, wherein each node in the drug association graph represents a drug to be delivered, and the lines between the nodes represent the compatibility relationship between the drugs to be delivered; The nodes with the same color in the association graph of the drugs to be infused are formed into a parallel infusion group; Calculate the minimum time interval between each of the parallel infusion groups according to the compatibility interval duration; The parallel infusion groups are arranged in time sequence based on the minimum time interval to obtain an infusion time window group.

4. The system according to claim 1, wherein: Before establishing the infusion clamp group control model according to the total amount of the drug to be infused and the infusion rate requirement within each of the infusion time window groups, the method further includes: Obtaining the infusion pressure range and pipeline viscosity coefficient of each of the drugs to be infused; Calculating the opening adjustment range of the infusion clamp according to the infusion pressure range of each drug to be infused and the viscosity coefficient of the pipeline; Calibrate the corresponding relationship between the opening and the dripping rate of each of the infusion clamps based on the opening adjustment range; The corresponding relationship between the opening and the dripping rate is input as a parameter into the infusion tube clamp group control model.

5. The system according to claim 4, characterized in that The control model for the infusion clamp group is established according to the total amount of the drug to be infused and the infusion rate requirements within each infusion time window group, specifically including: Obtaining the administration time requirements of the drugs to be infused within each of the infusion time window groups; Calculating a target infusion rate based on the total amount of each drug to be infused and the administration time requirement; Determining the infusion clamp opening corresponding to the target infusion rate based on the corresponding relationship between the opening and the dripping rate; A dynamic compensation mechanism for the opening of each infusion clamp tube is established based on the opening of the infusion clamp tube corresponding to each infusion clamp tube, and an infusion clamp tube group control model is established based on the dynamic compensation mechanism.

6. The system according to claim 1, wherein: Before collecting the instantaneous dripping rate and the cumulative infusion volume of each infusion clamp during the infusion process of each infusion time window group, the method further includes: When bubbles are detected in the infusion clamp tube, the bubble volume and movement speed of the bubbles are calculated; determining the arrival time of the bubble at the infusion clamp tube according to the bubble volume and the movement speed; The opening of the infusion clamp is adjusted before the arrival time to eliminate the influence of the air bubbles on the infusion rate.

7. The system according to claim 6, characterized in that The calculating of the bubble volume and movement speed of the bubble specifically includes: Collecting a bubble image sequence in the infusion tube, performing threshold segmentation on the bubble image sequence, and extracting bubble contours; Calculating the major axis length and the minor axis length of the bubble based on the bubble outline; Calculating the bubble volume according to the major axis length and the minor axis length; The center of mass position of the bubble is determined, and the bubble movement speed is calculated based on the center of mass position.