Loop leakage test method and device of medical device and storage medium

By determining the compliance characteristics of the airbag, adjusting the waiting time, and monitoring air pressure changes, the accuracy problem of loop leakage testing for medical devices was solved, enabling precise testing of different airbags and ensuring the robustness and safety of the test results.

CN121678059APending Publication Date: 2026-03-17GE PRECISION HEALTHCARE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing methods for testing loop leaks in medical devices are inaccurate due to differences in the compliance characteristics of gas bags, making them ineffective in detecting loop leaks.

Method used

The circuit is tested for leaks by determining the compliance characteristics of the airbag, adjusting the waiting time of the circuit, and monitoring changes in air pressure.

Benefits of technology

It improves the accuracy and reliability of loop leakage testing, adapts to different types and sizes of gas bags, and ensures the consistency and robustness of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121678059A_ABST
    Figure CN121678059A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medical equipment, in particular to a loop leakage testing method and equipment of medical equipment and a storage medium, a loop comprises an air bag, and the method comprises the steps that the loop is pressurized; determining compliance characteristics of the air bag; stopping pressurizing the loop, and determining the waiting time of the loop based on the compliance characteristic of the air bag; and determining the air pressure change of the loop before and after the waiting time so as to test whether the loop leaks or not. According to the embodiment of the invention, the waiting time of the loop is determined according to the compliance characteristics of the air bags, so that the leakage condition of the loop is deduced, accurate testing of the air bags of various types and sizes is realized, the accuracy and reliability of the loop leakage test are greatly improved, the need of extra configuration of system software is avoided, and the reliability of the loop leakage test is improved. And the robustness of a test result is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of medical device technology, and in particular to a method, device and storage medium for testing loop leakage in medical devices. Background Technology

[0002] In the system inspection of medical devices, loop leakage testing is a crucial leak detection method. Loop leakage problems can reduce treatment effectiveness and even endanger patient lives. Therefore, ensuring that medical devices pass rigorous loop leakage testing before being put into use is of paramount importance.

[0003] Currently, many medical devices use the pressure decay method for loop leakage testing. This method infers leakage by measuring the decrease in loop pressure over time after pressurizing the loop. Summary of the Invention

[0004] The inventors discovered that the accuracy of test results is often uncertain when using the pressure decay method to conduct leak tests on different circuits. Further research revealed that this uncertainty frequently occurs in circuits involving gas bags. This is because, as gas-containing devices capable of expanding under pressure, different gas bags exhibit different deformation characteristics (or compliance characteristics) after pressurization. Therefore, gas bags with varying compliance characteristics have different effects on the pressure changes in the circuit during the pressure decay process, potentially leading to biased results.

[0005] In view of this, this disclosure proposes a method, apparatus and storage medium for testing loop leakage in medical devices, which can be adapted to air bags of different types and sizes, thereby improving the accuracy and reliability of the test.

[0006] According to one aspect of this disclosure, a method for testing loop leakage in a medical device is provided, the loop comprising an air bag, the method comprising:

[0007] Pressurize the circuit;

[0008] Determine the compliance characteristics of the air bag;

[0009] Stop pressurizing the circuit, and determine the waiting time for the circuit based on the compliance characteristics of the air bag; and

[0010] The pressure change in the circuit before and after the waiting time is determined to test whether the circuit is leaking.

[0011] In one possible implementation, determining the compliance characteristics of the airbag includes:

[0012] Test the compliance of the airbag;

[0013] Obtain the compliance of standard airbags;

[0014] The compliance magnitude and / or compliance similarity of the air bag and the standard air bag are compared, and the comparison result is used as the compliance feature of the air bag.

[0015] In another possible implementation, determining the loop's waiting time based on the compliance characteristics of the airbag includes:

[0016] Obtain the standard waiting time corresponding to the standard air bag;

[0017] Based on the compliance similarity between the air bag and the standard air bag, a preset mapping model is used to determine the corresponding adjustment factor, wherein the mapping model is used to indicate the correspondence between the compliance similarity and the adjustment factor;

[0018] The standard waiting time is adjusted according to the adjustment factor, and the adjusted standard waiting time is determined as the waiting time of the circuit.

[0019] In another possible implementation, determining the loop's waiting time based on the compliance characteristics of the airbag includes:

[0020] Obtain the standard waiting time corresponding to the standard air bag, adjust the standard waiting time according to the adjustment factor, and determine the adjusted standard waiting time as the waiting time of the loop, and:

[0021] When the compliance magnitude indicates that the stiffness of the air bag is higher than that of the standard air bag, the standard waiting time is shortened according to the adjustment factor;

[0022] When the compliance magnitude indicates that the stiffness of the air bag is lower than that of the standard air bag, the standard waiting time is extended according to the adjustment factor;

[0023] When the compliance magnitude indicates that the stiffness of the air bag is equal to the stiffness of the standard air bag, the standard waiting time remains unchanged.

[0024] In another possible implementation, determining the loop's waiting time based on the compliance characteristics of the airbag includes:

[0025] Obtain the standard waiting time corresponding to the standard air bag;

[0026] When the compliance magnitude indicates that the hardness of the air bag is higher than that of the standard air bag, a first adjustment factor is determined by using a preset first mapping model based on the compliance similarity. The standard waiting time is shortened according to the first adjustment factor, and the shortened standard waiting time is determined as the waiting time of the loop.

[0027] When the compliance magnitude indicates that the hardness of the air bag is lower than that of the standard air bag, a corresponding second adjustment factor is determined by a preset second mapping model based on the compliance similarity. The standard waiting time is extended according to the second adjustment factor, and the extended standard waiting time is determined as the waiting time of the loop. The second mapping model is different from the first mapping model.

[0028] When the compliance magnitude indicates that the stiffness of the air bag is equal to the stiffness of the standard air bag, the standard waiting time is kept unchanged and is determined as the waiting time of the loop.

[0029] In another possible implementation, testing the compliance of the airbag includes:

[0030] The internal pressure of the air bag is monitored during the pressurization process of the circuit;

[0031] The internal pressure of the airbag is obtained as a curve over time to test the compliance of the airbag.

[0032] In another possible implementation, comparing the compliance magnitude and / or compliance similarity between the airbag and the standard airbag includes:

[0033] Based on the compliance of the air bag and the compliance of the standard air bag, determine the degree of compliance between the air bag and the standard air bag; and / or,

[0034] The compliance similarity between the air bag and the standard air bag is determined based on the rate of change of pressure of the air bag over time and the rate of change of pressure of the standard air bag over time.

[0035] In another possible implementation, the pressure change rate of the airbag over time includes multiple measured values, and the pressure change rate of the standard airbag over time includes multiple standard values. Determining the compliance similarity between the airbag and the standard airbag based on their respective pressure change rates over time includes:

[0036] Determine the standard value corresponding to each of the plurality of measured values ​​from the plurality of standard values;

[0037] Based on the multiple measured values ​​and their corresponding standard values, a preset similarity calculation model is used to determine the compliance similarity between the air bag and the standard air bag.

[0038] In another possible implementation, the compliance is negatively correlated with the airbag stiffness, and:

[0039] When the compliance of the air bag is less than that of the standard air bag, the compliance level indicates that the stiffness of the air bag is higher than that of the standard air bag.

[0040] When the compliance of the air bag is greater than that of the standard air bag, the compliance magnitude indicates that the stiffness of the air bag is lower than that of the standard air bag.

[0041] When the compliance of the air bag is equal to the compliance of the standard air bag, the magnitude of the compliance indicates that the stiffness of the air bag is equal to the stiffness of the standard air bag.

[0042] In another possible implementation, the medical device includes a ventilator or anesthesia machine.

[0043] According to another aspect of this disclosure, a medical device is provided, the device comprising:

[0044] processor;

[0045] Memory used to store processor-executable instructions;

[0046] The processor is configured to implement the method provided by the first aspect or any possible implementation of the first aspect when executing instructions stored in the memory.

[0047] According to another aspect of this disclosure, a non-volatile computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the method provided by the first aspect or any possible implementation thereof.

[0048] According to another aspect of this disclosure, a computer program product is provided, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of a medical device, the processor in the medical device performs the method provided by the first aspect or any possible implementation thereof.

[0049] This disclosure provides a method for testing loop leakage in medical devices. The method involves pressurizing the loop, determining the compliance characteristics of the airbag included in the loop, and after stopping pressurization, determining the loop's waiting time based on the airbag's compliance characteristics, as well as determining the pressure change before and after the waiting time, thereby testing whether the loop leaks. This results in the following technical advantages: 1. Adaptability: This method can automatically adapt to different types and sizes of airbags without requiring additional configuration of the system software, simplifying the testing process. 2. Accuracy and High Reliability: The waiting time determined based on the airbag's compliance characteristics, combined with the pressure change before and after the waiting time, ensures the accuracy and reliability of the loop leakage test results. 3. Robustness: This method can adapt to various airbags, ensuring the consistency and robustness of test results under different conditions, providing strong protection for the safe operation of medical devices.

[0050] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0051] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.

[0052] Figure 1 This is a schematic diagram of the structure of an anesthesia ventilator device according to an embodiment of the present disclosure.

[0053] Figure 2 A flowchart illustrating a loop leakage test method for a medical device provided in an exemplary embodiment of this disclosure is shown.

[0054] Figure 3 A graph showing the change of the pressure value of the circuit over time during a test process provided in an exemplary embodiment of this disclosure is shown.

[0055] Figure 4 A flowchart illustrating a loop leakage test method for a medical device provided in another exemplary embodiment of this disclosure is shown.

[0056] Figure 5 A flowchart illustrating a loop leakage test method for a medical device provided in another exemplary embodiment of this disclosure is shown.

[0057] Figure 6 A flowchart illustrating a loop leakage test method for a medical device provided in another exemplary embodiment of this disclosure is shown. Detailed Implementation

[0058] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0059] In the embodiments of this application, the terms "first," "second," etc., are used to distinguish different elements by name, but do not indicate the spatial arrangement or temporal order of these elements, and these elements should not be limited by these terms. The term "and / or" includes any one or more of the associated listed terms and all combinations thereof. The terms "comprising," "including," "having," etc., refer to the presence of the stated features, elements, components, or assemblies, but do not exclude the presence or addition of one or more other features, elements, components, or assemblies. The terms "pixel" and "voxel" are used interchangeably.

[0060] In the embodiments of this application, the singular forms "a," "the," etc., including the plural forms, should be broadly understood as "a kind" or "a class" and not limited to the meaning of "an." Furthermore, the term "described" should be understood to include both the singular and plural forms unless the context clearly indicates otherwise. Additionally, the term "according to" should be understood as "at least partially based on…," and the term "based on" should be understood as "at least partially based on…," unless the context clearly indicates otherwise. The specific term "exemplary" used herein means "serving as an example, embodiment, or illustration." Any embodiment illustrated herein as "exemplary" is not necessarily to be construed as superior to or better than other embodiments.

[0061] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.

[0062] First, the implementing entity of this disclosure will be introduced. The circuit leakage testing method for medical devices provided in this disclosure can be applied to medical devices. Medical devices may include ventilators or anesthesia machines, or may include anesthesia ventilators. Anesthesia ventilators possess the functions of both anesthesia machines and ventilators, and are a type of medical device that integrates the characteristics of both. The following description uses anesthesia ventilators as an example to illustrate this medical device.

[0063] Figure 1 This is a schematic diagram of the structure of the anesthesia ventilator device 10 according to an embodiment of this disclosure, as shown below. Figure 1As shown, the anesthesia ventilator includes: a driving gas source 11, a ventilation engine 12, a bellows 13, an exhaust system 14, a breathing gas source 15, an anesthetic source 16, a mixer 17, an intake flow control valve 18, an expiratory flow control valve 19, a circuit 110, and tubing (not shown) connecting the various components.

[0064] Optionally, the breathing gas source 15 is connected to the mixer 17. The breathing gas source 15 provides fresh gas, such as oxygen, air, nitrous oxide, etc., which is mixed in the mixer 17. The mixer 17 is also connected to the anesthetic source 16. After adding anesthetic to the mixed gas, it flows into the interior of the bellows 13, and the interior of the bellows is connected to the subject's airway.

[0065] Optionally, the ventilation engine 12 is connected to the driving gas source 11. The ventilation engine 12 may include (not shown) a pressure reducing valve, a flow valve, a flow sensor, and a check valve connected in sequence. The driving gas (e.g., air) from the driving gas source 11 flows into the check valve via the flow valve and the flow sensor. The pressure sensor may be integrated into the flow sensor or exist as a separate component in the ventilation engine 12.

[0066] Optionally, the one-way valve is connected to the bellows 13. The pressurized airflow (driving gas) flowing out of the vent of the valve body of the one-way valve pushes the outer wall of the bellows 13 at the rear end. After the outer wall of the bellows 13 receives pressure, it is equivalent to providing driving force, driving the gas inside the bellows 13 into the respiratory tract of the object. Since the one-way valve is equipped with a magnetic damper, the vent can be opened and closed gently to prevent the pressurized airflow from impacting the bellows 13 and causing vibration.

[0067] Optionally, the interior of the bellows 13 is also connected to the exhaust system 14, which is used to recover anesthetic waste gas. The implementation of the exhaust system 14 (e.g., AGSS) can be referred to the prior art, and will not be described in detail here.

[0068] Optionally, the intake flow control valve 18 and the exhalation flow control valve 19 (e.g., diaphragm or balloon valve) are respectively installed in the conduit near the intake port and the conduit near the exhalation port to control the gas flow and pressure of intake and exhalation. The intake flow control valve can be a solenoid valve.

[0069] During most of the patient's inspiratory phase, gas from the anesthesia machine is delivered to the catheter via the inlet flow control valve 18 and ultimately reaches the patient via the ventilation motor 12. During most of the patient's expiratory phase, the one-way valve closes, and the exhaled gas travels through the catheter to the expiratory flow control valve 19 and is then discharged to the exhaust system 14.

[0070] Medical equipment may also include monitoring equipment 100 for monitoring vital signs (respiratory rate), gas pressure, etc., as well as carbon dioxide absorber 101, hand-controlled devices such as air bag 102, etc. Fresh gas from the anesthesia machine (driven by the driving gas) enters the lungs of the subject through circuit 110. After the diaphragm contracts, carbon dioxide is expelled in circuit 110 and absorbed by carbon dioxide absorber 101. Air bag 102 plays a similar role to ventilation engine 12. Medical equipment does not necessarily include these features. Figure 1 All components shown; in addition, medical devices may also include Figure 1 Components not shown in the diagram are configured according to actual needs and will not be listed here.

[0071] Circuit 110 typically refers to the airway system directly connected to the patient, including components such as the air bag 102. The air bag is part of the circuit of a medical device, used to store and distribute gas, assist the patient's breathing process, and ensure gas flow and circulation. In the embodiments of this disclosure, the circuit leakage test method for the medical device includes: pressurizing circuit 110; determining the compliance characteristics of the air bag; stopping pressurization of circuit 110, determining a waiting time for circuit 110 based on the compliance characteristics of the air bag; and determining the pressure change of circuit 110 before and after the waiting time, thereby testing whether circuit 110 leaks. In other words, in the above embodiments of this application, based on the inventors' discovery that the classic circuit leakage test may be inaccurate due to differences in the compliance characteristics of the air bag, the influence of the air bag compliance characteristics on the test is comprehensively considered, and the test is adjusted to improve accuracy.

[0072] The following describes a circuit leakage testing method for medical devices provided in this disclosure using several exemplary embodiments.

[0073] Please refer to Figure 2 This document illustrates a flowchart of a loop leakage test method for a medical device provided in an exemplary embodiment of the present disclosure. This embodiment uses the method in a medical device as an example for illustration. The method includes the following steps.

[0074] Step 201: Pressurize the circuit.

[0075] When pressurizing the circuits of medical devices, ensuring that the required pressure level is reached is a critical step before conducting leak tests. The pressurization process can be performed manually or automatically to accommodate different operating environments and safety standards.

[0076] Manual pressurization allows operators to achieve immediate control and precise adjustment of pressure through physical means, such as manually operating pressurization equipment. The manual pressurization equipment can be any device available in the prior art. This method provides direct pressure feedback, enabling operators to gradually increase the pressure within the loop as needed.

[0077] For applications requiring high-precision control, the target pressure value can be set through the medical device's operating interface. The medical device will automatically adjust to ensure that the pressure within the circuit reaches the preset target pressure value, such as 20 centimeters of water column (cmH2O).

[0078] In addition, pressurization can be automated, for example, by connecting a driving gas source to the circuit via pipes and valves. This typically involves opening the driving gas inlet valve to allow the required gas (such as an external gas source) to flow into the circuit. The rate or flow of gas into the circuit is then regulated by adjusting valves such as flow control valves. Throughout the pressurization process, pressure changes within the circuit can be monitored and fed back in real time by pressure sensors to ensure that the pressure increases as expected and remains within a safe range. When medical devices are... Figure 1 In the aforementioned device, the driving gas inlet valve can be the flow valve in the ventilation engine 12, and the flow control valve can be the intake flow control valve 18 and / or the exhalation flow control valve 19.

[0079] Different strategies can be selected during the pressurization process to the preset target pressure value. In one embodiment, the pressure can be directly increased to the target pressure value. This method is simple and direct, suitable for scenarios where pressure setting needs to be completed quickly. In another embodiment, pressurization can be carried out in stages. For example, the pressure can first be increased to a lower first-level pressure value, then pressurization can be paused and the pressure can be allowed to stabilize. After confirming that the first-level pressure value has stabilized, the pressure can be gradually increased to the target pressure value. Staged pressurization helps ensure the stability of the system at different pressure stages, while providing accurate measurement conditions for the compliance characteristics of the airbag. This disclosure does not limit the scope of the embodiments.

[0080] Step 202: Determine the compliance characteristics of the air bag.

[0081] During the pressurization of the loop, the internal pressure of the airbag is monitored. As the internal pressure increases, data points of pressure versus time are recorded to form a curve showing the change of the airbag's internal pressure over time. By obtaining this curve, the compliance of the airbag can be determined, thus obtaining its compliance characteristics.

[0082] The compliance of an airbag refers to its expandability under external forces, such as inflation. It qualitatively and intuitively reflects the "softness" or "rigidity" of the airbag. Compliance can also be described quantitatively, for example, by measuring the change in airbag volume per unit pressure change; that is, compliance is the ratio of the volume change to the pressure change. Airbag compliance is negatively correlated with airbag stiffness; the greater the compliance, the greater the volume change per unit pressure change, which usually indicates lower airbag stiffness. Conversely, the smaller the compliance, the smaller the volume change per unit pressure change, which usually indicates higher airbag stiffness. Alternatively, airbag compliance can also be described by its pressure change characteristics. For example, when inflating an airbag (or the air passage containing the airbag) at a constant rate, compliance is described by the rate of change of pressure over time within the airbag. A smaller rate of pressure change over time indicates a greater change in the airbag volume after a unit amount of gas is injected; that is, a lower airbag stiffness and greater compliance. Conversely, a larger rate of pressure change over time indicates greater difficulty in airbag deformation and lower compliance.

[0083] Compliance features include the airbag's compliance (e.g., numerical value), or a comparison between the airbag and a standard airbag. This comparison involves the magnitude and / or similarity of the airbag's compliance with the standard airbag. The compliance similarity is the degree of similarity between the airbag's compliance and that of a preset standard airbag. It should be noted that the definition of a standard airbag and the method for determining its compliance are described in the following embodiments and will not be elaborated upon here.

[0084] Step 203: Stop pressurizing the circuit and determine the waiting time of the circuit based on the compliance characteristics of the air bag.

[0085] Once the pressure within the loop reaches the target pressure value, close the drive gas inlet valve to cut off the drive gas flow to the loop and stop pressurizing the loop. Wait for the pressure to stabilize, ensuring a uniform pressure distribution within the loop. Determine the loop's waiting time based on the gas bag's compliance characteristics to monitor pressure changes in step 204.

[0086] The pressurization phase of the circuit refers to the stage where the internal pressure is increased to a preset target pressure value by pressurizing the air bag. The leakage calculation phase refers to the stage after the pressurization phase, when pressurization of the circuit is stopped, and the pressure drop caused by leakage in the circuit within a specific time period is observed and calculated.

[0087] The waiting time of the loop is the waiting time of the leakage calculation phase, also known as the measurement time interval. The waiting time of the loop is the time period from the first moment to the second moment. The first moment is the moment when the pressure change of the loop begins to be measured at the beginning of the waiting time, and the second moment is the moment when the pressure change of the loop ends at the end of the waiting time.

[0088] In the leakage test algorithm, after the pressure in the loop reaches the target pressure value and a preset stabilization time period has elapsed, the pressure change in the loop is measured. That is, the first moment can be the time after the pressure in the loop reaches the target pressure value, plus the preset stabilization time period. This stabilization time period refers to the time required for the loop to reach a stable state from the time the pressure in the loop reaches the target pressure value. The stable state of the loop indicates that the pressure, volume, or other relevant parameters inside the loop have reached a stable state. For example, the preset stabilization time period is 3.5 seconds. This disclosure does not limit the specific value of the stabilization time period.

[0089] Optionally, the waiting time of the loop can be determined based on the compliance characteristics of the airbag. Two strategies can be selected: one is to directly determine the waiting time of the loop based on the compliance of the airbag, and the other is to adjust the standard waiting time corresponding to the standard airbag based on the comparison results of the airbag and the standard airbag (including compliance size and / or compliance similarity) to obtain the waiting time of the loop.

[0090] It should be noted that the method for determining the waiting time is not limited to the methods described above. Instead, different methods can be flexibly selected or combined to determine the waiting time based on specific circumstances and needs. Details regarding the methods for determining the waiting time can be found in the relevant descriptions in the embodiments below, and will not be elaborated upon here.

[0091] Step 204: Determine the pressure change in the circuit before and after the waiting time to test whether the circuit is leaking.

[0092] By analyzing the pressure changes in the circuit before and after the waiting time, the presence of leaks in the circuit can be accurately detected. This test process, based on the measurement of pressure changes, provides a scientific method to determine the integrity of the circuit's seal.

[0093] In this process, based on the waiting time determined in the previous step—starting from the first moment and ending at the second moment—the initial gas pressure of the circuit is measured and recorded as the first pressure value at the beginning of the waiting time (i.e., the first moment). At the end of the waiting time (i.e., the second moment), the gas pressure of the circuit is measured again and recorded as the second pressure value. By calculating the difference between the first and second pressure values, the change in gas pressure in the circuit before and after the waiting time can be obtained; that is, the change in gas pressure is the difference between the first and second pressure values. This change in gas pressure reflects the change in gas pressure in the circuit before and after the waiting time. If the first pressure value is greater than the second pressure value, it indicates that the gas pressure in the circuit has decreased during the waiting time, which may be due to a leak. This method provides a simple and quick qualitative analysis result for determining circuit leaks.

[0094] Optionally, the leakage rate of the circuit is determined based on the measured compliance of the gas bag, the waiting time, and the pressure change of the circuit before and after the waiting time. The leakage rate indicates whether the circuit leaks and the severity of the leak. The leakage rate is an indicator of the severity of the leak; it combines compliance, pressure change, and time factors to provide a comprehensive assessment. Illustratively, the ratio of the pressure change of the circuit before and after the waiting time to the waiting time is determined, and the product of this ratio and the measured compliance of the gas bag is determined as the leakage rate of the circuit. This method can provide accurate quantitative analysis results for the leakage rate of the circuit. It should be noted that the specific calculation method of the leakage rate of the circuit in this embodiment is not limited.

[0095] In an illustrative example, such as Figure 3 As shown, a graph illustrates the change in pressure value of the circuit over time during a test process provided by an exemplary embodiment of this disclosure. It can be seen that the circuit leakage test method for medical devices provided by this embodiment includes the following stages: Stage 1, pressurizing the circuit of the medical device to 10 cmH2O; Stage 2, waiting for a period of time until the pressure stabilizes; Stage 3, pressurizing the circuit to 20 cmH2O and determining the compliance characteristics of the circuit; Stage 4, stopping pressurization of the circuit and waiting 3.5 seconds for the pressure to stabilize; Stage 5, determining the waiting time of the circuit based on the compliance characteristics of the air bag, and monitoring the pressure change of the circuit before and after the waiting time, thereby testing whether the circuit leaks. For example, the leakage rate L of the circuit can be determined by the following formula based on the compliance C of the air bag, the waiting time Δt, and the pressure change Δp of the circuit before and after the waiting time:

[0096]

[0097] Where p1 is the first pressure value of the circuit at the start of the waiting time (i.e., t2+3.5), p2 is the second pressure value of the circuit at the end of the waiting time (i.e., t2+y), and y is a value greater than 3.5.

[0098] In summary, this disclosure provides a method for testing loop leakage in medical devices. By pressurizing the loop, the compliance characteristics of the airbags included in the loop are determined. After pressurization is stopped, a waiting time for the loop is determined based on the airbag compliance characteristics, and the pressure change of the loop before and after the waiting time is also determined. This allows for testing whether the loop leaks. By adapting to the compliance characteristics of different airbags, accurate testing of various types and sizes of airbags is achieved, greatly improving the accuracy and reliability of the test. This adaptive design not only avoids the need for additional configuration of the system software but also ensures the robustness of the test results. For users, they can freely choose the required airbags and perform tests without any additional configuration before using a specific airbag, ensuring the safety and performance of the medical device.

[0099] In one possible implementation, the loop leakage test method for medical devices provided in this disclosure compares the compliance magnitude and / or compliance similarity between an air bag in use and a preset standard air bag. Figure 4 A flowchart providing an intuitive example is provided. This scheme first identifies a standard airbag as a reference, then determines the airbag's compliance characteristics by comparing the compliance magnitude and / or compliance similarity between the airbag and the standard airbag. Next, an adjustment factor is calculated based on the airbag's compliance characteristics, and this adjustment factor is used to adjust the loop's latency. To further illustrate the detailed process of this testing method and to more clearly understand the specific content and purpose of each step, please refer to [link to documentation]. Figure 5 This document illustrates a flowchart of a loop leakage test method for a medical device provided in another exemplary embodiment of the present disclosure. This embodiment uses the method in a medical device as an example for illustration. The method includes the following steps.

[0100] Step 501: Determine the standard air bag and obtain the compliance of the standard air bag.

[0101] To ensure the consistency and repeatability of test results, a standard airbag is pre-selected, and its characteristics are defined in the software. This step involves performing routine loop leak tests and comparisons on commonly used airbags in hospitals to determine which airbag provides the most stable and least variable results in the tests.

[0102] Standard airbags possess the characteristic of providing consistent results under different test conditions, ensuring that test results are unaffected by external factors. For example, in multiple tests, the standard airbag provides the least leakage among multiple candidate airbags, meaning that the performance of the standard airbag in repeated tests should be stable and predictable. The standard airbag should represent the type of airbag commonly used in hospitals so that the test results reflect actual usage. The standard airbag is selected from multiple candidate airbags through a series of scientific methods and tests, providing the best test performance among all candidate airbags. The characteristics of the standard airbag should be precisely defined in the software for use in automated testing processes, ensuring that each test is performed to the same standard. In other words, a standard airbag can be understood as an airbag with fixed compliance. This provides a consistent standard for tests at different times and for airbags with different compliance levels. The selection of standard airbags is illustrated below.

[0103] The steps for selecting a standard airbag may include: choosing several candidate airbags most commonly used in the hospital; performing multiple tests (e.g., 10) on each candidate airbag and comparing the results to select a standard airbag; and finally, selecting the airbag that shows the least difference in leakage across multiple tests.

[0104] The steps for defining characteristics in the software may include: performing multiple tests (e.g., 10) on a selected standard airbag. In each test, the pressure change rate of the standard airbag is calculated at fixed time intervals (e.g., every 500 milliseconds). The pressure change rate of the standard airbag refers to the change in internal pressure during the pressurization process. Specifically, the pressure change rate of the standard airbag is determined by measuring the pressure increment from the start to the end of pressurization. The pressure change rate of the standard airbag is the ratio of the pressure change value to the time change value during pressurization, or the ratio of the pressure change value to the volume change value during pressurization (i.e., the reciprocal of compliance). Then, the multiple pressure change rates of the standard airbag obtained from the multiple tests are averaged to obtain multiple sets of standard data for the standard airbag. Taking the pressure change rate as the pressure change rate over time as an example, each set of standard data includes a standard pressure value and a corresponding average of the pressure change rate over time (i.e., the standard value). Compliance can be obtained through the pressure change rate. The compliance of standard airbags obtained from multiple tests is averaged to obtain the final compliance of the standard airbag, thus reducing the impact of random errors and improving data stability and repeatability. In the software, the pressure change rate and compliance of the standard airbag obtained after averaging multiple tests are defined as constants. These average values ​​are used as benchmarks in the software to evaluate the performance of other airbags under test.

[0105] Step 502: Pressurize the circuit and test the compliance of the air bag.

[0106] Pressurizing the loop is fundamental to establishing the test environment. This step ensures that the pressure within the loop reaches a suitable testing level. Next, the compliance of the gasbag is tested, a key indicator for evaluating the gasbag's response to pressure changes. During pressurization, the pressure change inside the gasbag over time is monitored, and a pressure change curve is obtained to test the gasbag's compliance. The compliance is stored as a variable, representing the ratio of the gasbag's volume change to the pressure change. The gasbag's volume change can be determined using a flow sensor; that is, the flow rate of gas entering and leaving the gasbag is measured by the flow sensor to estimate the gasbag's volume change.

[0107] Step 503: Compare the compliance size and / or compliance similarity of the airbag and the standard airbag, and use the comparison result as the compliance feature of the airbag.

[0108] Optionally, the compliance between the airbag and the standard airbag can be determined based on the compliance of the airbag itself and the compliance of the standard airbag; and / or, the compliance similarity between the airbag and the standard airbag can be determined based on the rate of pressure change of the airbag over time and the rate of pressure change of the standard airbag over time. After determining the compliance similarity, the determined compliance similarity can be stored in a variable, which can be used for subsequent analysis and evaluation.

[0109] The compliance similarity between airbags and standard airbags is inferred by comparing their pressure change rates over time. The principle is that stiffer airbags have lower compliance, resulting in a larger pressure rise for the same pressurization time (i.e., a larger pressure change rate over time). Conversely, softer airbags have higher compliance, resulting in a smaller pressure rise for the same pressurization time (i.e., a smaller pressure change rate over time). Therefore, the pressure change rate over time also reflects the stiffness of the airbag and is correlated with compliance. The similarity between pressure change rates over time can reflect the similarity in compliance. Furthermore, using different data points—compliance and pressure change rate over time—to compare airbags with standard airbags avoids bias caused by errors in similar data, improving the accuracy of the comparison results.

[0110] Optionally, the compliance between the airbag and the standard airbag is the difference between their respective compliance values. Compliance is negatively correlated with airbag stiffness. When the airbag's compliance is less than that of the standard airbag, the compliance value is negative, indicating that the airbag's stiffness is higher than that of the standard airbag. When the airbag's compliance is greater than that of the standard airbag, the compliance value is positive, indicating that the airbag's stiffness is lower than that of the standard airbag. When the airbag's compliance is equal to that of the standard airbag, the compliance value is zero, indicating that the airbag's stiffness is equal to that of the standard airbag.

[0111] Optionally, during the pressurization phase of the airbag, the rate of change of airbag pressure over time is measured and recorded at fixed time intervals (e.g., every 500 milliseconds). The measured values ​​are stored in a vector in memory for comparison with data from a standard airbag. That is, the rate of change of airbag pressure over time includes multiple measured values, while the rate of change of pressure in the standard airbag includes multiple standard values. Based on the rate of change of airbag pressure over time and the rate of change of pressure in the standard airbag, the compliance similarity between the airbag and the standard airbag is determined. This includes: determining the standard values ​​corresponding to each of the multiple measured values ​​from among the multiple standard values; and using a pre-defined similarity calculation model to determine the compliance similarity between the airbag and the standard airbag based on the multiple measured values ​​and their corresponding standard values.

[0112] Optionally, multiple sets of standard data for standard air bags are pre-stored. Each set of standard data includes a standard pressure value and a standard value of the corresponding pressure change rate over time. Determining the standard value corresponding to each measurement value from multiple standard values ​​may include: for each measurement value, determining a first pressure value corresponding to the measurement value, finding the standard pressure value that is closest to the first pressure value from the pre-stored multiple sets of standard data, and determining the standard value of the corresponding pressure change rate over time.

[0113] A similarity calculation model is a mathematical or empirical model used to indicate the mapping relationship between multiple measurements, multiple standard values, and compliance similarity. Specifically, it's a mathematical or empirical model used to convert multiple measurements or standard values ​​into compliance similarity. In the case of airbag testing, the similarity calculation model defines the quantitative relationship between multiple measurements, multiple standard values, and compliance similarity. This similarity calculation model can be built based on historical data, experimental results, or theoretical analysis, with the aim of providing an accurate and repeatable method to determine the compliance similarity between an airbag and a standard airbag.

[0114] In one possible implementation, the compliance similarity between the airbag and the standard airbag is determined using the generalized Jaccard similarity coefficient formula. The formula is as follows:

[0115]

[0116] Here, a and b are two vectors, a = [a1, a2, ..., ab] n ], b = [b1, b2, ... b n ], a i b is a measurement of the pressure change characteristics (e.g., rate of pressure change) of the airbag at time point i. i Is with a i The standard value corresponding to the standard airbag, where i is a positive integer, ranging from 1 to n, and n is a positive integer greater than 1, J g (a,b) represents the compliance similarity between the air bag and the standard air bag.

[0117] It should be noted that, in addition to the generalized Jaccard similarity coefficient formula mentioned above, other similarity calculation methods can also be considered, such as Euclidean distance and cosine similarity, to adapt to different evaluation needs and scenarios. This disclosure does not limit these methods.

[0118] When calculating the compliance similarity between an airbag and a standard airbag, additional sampling values ​​can be added to improve the accuracy of the assessment. These sampling values ​​can include the rate of pressure change from the moment the pressure in the loop reaches the target pressure value to the first moment (i.e., the moment when the pressure change in the loop begins to be measured). This approach provides a more comprehensive dataset, which helps to more accurately evaluate the performance of the airbag.

[0119] Step 504: Stop pressurizing the circuit and determine the waiting time of the circuit based on the compliance characteristics of the air bag.

[0120] Once the pressure within the loop reaches the target pressure value, pressurization of the loop is stopped. In one example, the standard waiting time corresponding to the standard airbag can be adjusted based on the compliance characteristics of the airbag, i.e., a comparison of the compliance magnitude and / or compliance similarity between the airbag and the standard airbag. The adjusted standard waiting time is then determined as the loop waiting time. The loop waiting time can be determined solely based on the compliance similarity between the airbag and the standard airbag, solely based on the compliance magnitude between the airbag and the standard airbag, or by comprehensively considering both the compliance magnitude and compliance similarity between the airbag and the standard airbag. These three methods will be further described below.

[0121] In one possible implementation, the loop waiting time is determined solely based on the compliance similarity between the airbag and the standard airbag, including the following steps: determining the corresponding adjustment factor using a preset mapping model based on the compliance similarity between the airbag and the standard airbag, wherein the mapping model is used to indicate the correspondence between compliance similarity and adjustment factor; adjusting the standard waiting time corresponding to the standard airbag according to the adjustment factor, and determining the adjusted standard waiting time as the loop waiting time.

[0122] The standard waiting time is a pre-set reference time value for a standard airbag, serving as a baseline for the waiting time in loop leak testing. Standard waiting times are typically based on extensive testing and validation to ensure accuracy and consistency under normal testing conditions.

[0123] A mapping model is a mathematical or empirical model used to map or convert the compliance similarity of airbags into an adjustment factor for waiting time. In the case of airbag testing, the mapping model defines the mapping relationship between compliance similarity and the adjustment factor. This model can be built based on historical data, experimental results, or theoretical analysis, with the aim of providing an accurate and repeatable method to predict and adjust standard waiting times. Optionally, the compliance similarity between the airbag and the standard airbag is positively correlated with the adjustment factor; that is, the greater the compliance similarity between the airbag and the standard airbag, the larger the value of the adjustment factor.

[0124] In this implementation, the adjustment factor is the output of the mapping model; it is a numerical value used to adjust the standard waiting time. Optionally, the product of the adjustment factor and the standard waiting time is used to determine the loop's waiting time. For example, if the standard waiting time is 10 seconds and the adjustment factor is 0.8, then the loop's waiting time is 10 * 0.8 = 8 seconds.

[0125] In another possible implementation, the loop waiting time is determined solely based on the compliance of the airbag and the standard airbag. This involves the following steps: When the airbag's compliance is less than the standard airbag's compliance (i.e., the compliance indicates the airbag's stiffness is higher than the standard airbag's stiffness), the standard waiting time is shortened according to an adjustment factor. When the airbag's compliance is greater than the standard airbag's compliance (i.e., the compliance indicates the airbag's stiffness is lower than the standard airbag's stiffness), the standard waiting time is extended according to an adjustment factor. When the airbag's compliance is equal to the standard airbag's compliance (i.e., the compliance indicates the airbag's stiffness is equal to the standard airbag's stiffness), the standard waiting time remains unchanged. After adjusting the standard waiting time, this adjusted standard waiting time is determined as the loop waiting time.

[0126] In this implementation, the adjustment factor can be a preset value, a default setting, or a custom setting. The adjustment factor can be a preset value or one of multiple preset values, used to adjust the standard waiting time. Optionally, when the compliance of the airbag is less than the compliance of the standard airbag, the difference between the standard waiting time and the first adjustment value is determined as the loop waiting time; when the compliance of the airbag is greater than the compliance of the standard airbag, the sum of the standard waiting time and the first adjustment value is determined as the loop waiting time, where the first adjustment value is the product of the adjustment factor and the standard waiting time. For example, if the standard waiting time is 10 seconds and the preset adjustment factor is 0.1, when the compliance of the airbag is less than the compliance of the standard airbag, the loop waiting time is 10 - 10 * 0.1 = 9 seconds; when the compliance of the airbag is greater than the compliance of the standard airbag, the loop waiting time is 10 + 10 * 0.1 = 11 seconds.

[0127] In another possible implementation, the loop waiting time is determined by comprehensively considering the compliance magnitude and compliance similarity of the airbag and the standard airbag, including the following steps: When the compliance of the airbag is less than that of the standard airbag, i.e., the compliance magnitude indicates that the stiffness of the airbag is higher than that of the standard airbag, a first adjustment factor is determined using a preset first mapping model based on the compliance similarity. The standard waiting time is shortened based on the first adjustment factor, and the shortened standard waiting time is determined as the loop waiting time. When the compliance of the airbag is greater than that of the standard airbag, i.e., the compliance magnitude indicates that the stiffness of the airbag is lower than that of the standard airbag, a second adjustment factor is determined using a preset second mapping model based on the compliance similarity. The standard waiting time is extended based on the second adjustment factor, and the extended standard waiting time is determined as the loop waiting time. The second mapping model is different from the first mapping model. When the compliance of the airbag is equal to that of the standard airbag, i.e., the compliance magnitude indicates that the stiffness of the airbag is equal to that of the standard airbag, the standard waiting time is kept unchanged, and the standard waiting time is determined as the loop waiting time.

[0128] Both the first mapping model and the second mapping model are mathematical or empirical models. The first mapping model is used to indicate the mapping relationship between the compliance similarity of the airbag and the first adjustment factor. The first mapping model is used to map or convert the compliance similarity of the airbag into the first adjustment factor of the waiting time. The second mapping model is used to indicate the mapping relationship between the compliance similarity of the airbag and the second adjustment factor. The second mapping model is used to map or convert the compliance similarity of the airbag into the second adjustment factor of the waiting time. The second mapping model is different from the first mapping model.

[0129] Optionally, the compliance similarity can be a positive number between 0 and 1. The first mapping model indicates that the first adjustment factor equals the compliance similarity of the airbag, and the first adjustment factor is a positive number between 0 and 1. The second mapping model includes a first sub-model or a second sub-model. The first sub-model indicates the difference between the second adjustment factor (2) and the compliance similarity of the airbag, and the second sub-model indicates the ratio between the second adjustment factor (1) and the compliance similarity of the airbag, and the second adjustment factor is a positive number greater than 1. That is, the value of the second adjustment factor obtained by the second sub-model can be much larger than the value of the second adjustment factor obtained by the first sub-model to produce a greater adjustment effect. The specific values ​​above are only examples and can be set as needed.

[0130] The selection of the second mapping model can be as follows: when the compliance of the airbag is greater than that of the standard airbag and the compliance similarity is greater than or equal to a preset similarity threshold (i.e., the difference in hardness between the airbag and the standard airbag is small), the second mapping model used is the first sub-model; when the compliance of the airbag is greater than that of the standard airbag and the compliance similarity is less than the preset similarity threshold (i.e., the difference in hardness between the airbag and the standard airbag is large), a more aggressive adjustment model can be used, that is, the second mapping model used is the second sub-model. This disclosure does not limit the setting method of the first and second mapping models.

[0131] In this implementation, the adjustment factor (either a first adjustment factor or a second adjustment factor) is a numerical value used to adjust the standard waiting time. In some embodiments, the product of the adjustment factor (either a first adjustment factor or a second adjustment factor) and the standard waiting time can be determined as the loop's waiting time. For example, if the standard waiting time is 10 seconds and the second adjustment factor is 1.5, then the loop's waiting time is 10 * 1.5 = 15 seconds.

[0132] In other embodiments, the difference between the second adjustment value and the preset stabilization time period can be determined as the loop waiting time. The second adjustment value is the product of the adjustment factor (i.e., the first adjustment factor or the second adjustment factor) and the standard total waiting time (i.e., the sum of the preset stabilization time period and the standard waiting time). For example, the time when the pressure in the loop reaches the target pressure value is t2, the preset stabilization time period is 3.5 seconds, the time when the pressure change of the loop starts to be measured (i.e., the first moment) is t2+3.5, the second moment is the time when the pressure change of the loop ends to be measured (i.e., the second moment) is t2+13.5*adjustment factor, and the loop waiting time is the difference between the second moment and the first moment, i.e., 13.5*adjustment factor-3.5.

[0133] Step 505: Determine the pressure change in the circuit before and after the waiting time to test whether the circuit is leaking.

[0134] Based on the measured compliance of the airbag, the waiting time, and the pressure change in the circuit before and after the waiting time, the leakage rate of the circuit is determined. The leakage rate is used to indicate whether the circuit is leaking and the severity of the leak. Related details can be found in the descriptions in the above embodiments and will not be repeated here.

[0135] In summary, the loop leakage testing method for medical devices provided in this disclosure, on the one hand, obtains airbag compliance characteristics by testing the compliance of the airbag and comparing it with the compliance of a standard airbag. The technical effect is that it allows for setting more precise waiting times for specific airbag characteristics, thereby improving the accuracy and efficiency of leakage detection. On the other hand, by using a preset mapping model, an adjustment factor is determined based on the similarity of compliance between the airbag and the standard airbag, thereby adjusting the standard waiting time. The technical effect is that it enables adaptive adjustment to airbags with different compliance, optimizing the testing process. Furthermore, the waiting time is intelligently adjusted according to the airbag compliance; if the airbag hardness is higher than the standard airbag, the waiting time is shortened; if the hardness is lower than the standard airbag, the waiting time is extended. The technical effect is that it makes the testing method more flexible and adaptable to airbags of different hardness. Additionally, when the airbag hardness is higher or lower than the standard airbag, different mapping models are used to determine the adjustment factor, thereby adjusting the waiting time. The technical effect is improved adaptability to airbags of different hardness and testing accuracy. On the other hand, monitoring the internal pressure of the airbag during pressurization and obtaining a pressure-time curve allows for testing the airbag's compliance. This technique enables real-time monitoring of the airbag's status, providing data support for compliance testing. Furthermore, by comparing the pressure change rates of the airbag and a standard airbag, a similarity calculation model is used to determine compliance similarity. This technique quantifies the similarity between the airbag and the standard airbag, providing a basis for subsequent testing. Additionally, compliance is negatively correlated with airbag stiffness; higher compliance corresponds to lower stiffness, and vice versa. This technique allows for direct assessment of the airbag's stiffness characteristics based on compliance. Finally, this testing method is applicable to ventilator or anesthesia machine equipment, increasing its applicability and practicality.

[0136] In another possible implementation, the loop leakage testing method for medical devices provided in this disclosure does not compare with a standard air bag, but directly determines the waiting time based on the compliance with the air bag. Please refer to... Figure 6 This document illustrates a flowchart of a loop leakage test method for a medical device provided in another exemplary embodiment of the present disclosure. This embodiment uses the method in a medical device as an example for illustration. The method includes the following steps: Step 601, pressurizing the loop; Step 602, determining the compliance of the air bag; Step 603, stopping pressurizing the loop and determining a waiting time for the loop based on the compliance of the air bag; Step 604, determining the pressure change of the loop before and after the waiting time, thereby testing whether the loop leaks.

[0137] The method for determining the loop waiting time based on the compliance of the air bag in step 603 includes, but is not limited to, the following possible implementation methods:

[0138] In one possible implementation, the loop waiting time is predicted using an empirical formula based on the airbag's compliance. This formula may be based on past experimental data and practical experience, indicating the mapping relationship between airbag compliance and loop waiting time.

[0139] In another possible implementation, based on the airbag's compliance, a pre-trained target prediction model is invoked to output the loop's waiting time. This target prediction model indicates the mapping relationship between the airbag's compliance and the loop's waiting time. The training process for the target prediction model may include: training a pre-set original parameter model based on historical data to obtain the target prediction model. The historical data includes multiple sample groups, each containing the compliance of a sample airbag and the actual loop waiting time. The original parameter model can be a model employing a neural network or other machine learning algorithms.

[0140] It should be noted that the relevant details of other steps in this embodiment can be found in the relevant descriptions in the above embodiments, and will not be repeated here.

[0141] In summary, the circuit leakage testing method for medical devices provided in this disclosure further determines the circuit's waiting time by directly analyzing the compliance of the air bag, thereby judging whether a leakage exists in the circuit. This eliminates the step of comparing with a standard air bag, simplifying the testing process, reducing the total testing time, and improving testing efficiency. Furthermore, by not relying on comparison with a standard air bag, the versatility and flexibility of the testing method are further enhanced.

[0142] This disclosure also proposes a medical device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0143] This disclosure also proposes a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the above-described method. The computer-readable storage medium can be volatile or non-volatile.

[0144] This disclosure also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of a medical device, the processor in the medical device performs the above-described method.

[0145] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.

[0146] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0147] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0148] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0149] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0150] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0151] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0152] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0153] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method of testing a circuit of a medical device for leaks, the circuit comprising a gas bag, characterized in that, The method comprises: pressurizing the circuit; determining a compliance characteristic of the gas bag; stopping pressurizing the circuit, determining a waiting time of the circuit based on the compliance characteristic of the gas bag; and determining a pressure change of the circuit before and after the waiting time, thereby testing whether the circuit leaks.

2. The method of claim 1, wherein, The determining the compliance characteristic of the gas bag comprises: testing the compliance of the gas bag; obtaining a compliance of a standard gas bag; comparing the compliance of the gas bag and the standard gas bag in size and / or similarity, taking the comparison result as the compliance characteristic of the gas bag.

3. The method of claim 2, wherein, The determining the waiting time of the circuit based on the compliance characteristic of the gas bag comprises: obtaining a standard waiting time corresponding to the standard gas bag; determining a corresponding adjustment factor according to the compliance similarity of the gas bag and the standard gas bag, using a preset mapping model, the mapping model being used to indicate a corresponding relationship between the compliance similarity and the adjustment factor; adjusting the standard waiting time according to the adjustment factor, and determining the adjusted standard waiting time as the waiting time of the circuit.

4. The method of claim 2, wherein, The determining the waiting time of the circuit based on the compliance characteristic of the gas bag comprises: obtaining a standard waiting time corresponding to the standard gas bag, adjusting the standard waiting time according to an adjustment factor, and determining the adjusted standard waiting time as the waiting time of the circuit, and: when the compliance size indicates that the hardness of the gas bag is higher than that of the standard gas bag, shortening the standard waiting time according to the adjustment factor; when the compliance size indicates that the hardness of the gas bag is lower than that of the standard gas bag, lengthening the standard waiting time according to the adjustment factor; when the compliance size indicates that the hardness of the gas bag is equal to that of the standard gas bag, keeping the standard waiting time unchanged.

5. The method of claim 2, wherein, The determining the waiting time of the circuit based on the compliance characteristic of the gas bag comprises: obtaining a standard waiting time corresponding to the standard gas bag; when the compliance size indicates that the hardness of the gas bag is higher than that of the standard gas bag, determining a corresponding first adjustment factor according to the compliance similarity, using a preset first mapping model, shortening the standard waiting time according to the first adjustment factor, and determining the shortened standard waiting time as the waiting time of the circuit; when the compliance size indicates that the hardness of the gas bag is lower than that of the standard gas bag, determining a corresponding second adjustment factor according to the compliance similarity, using a preset second mapping model, lengthening the standard waiting time according to the second adjustment factor, and determining the lengthened standard waiting time as the waiting time of the circuit, the second mapping model being different from the first mapping model; when the compliance size indicates that the hardness of the gas bag is equal to that of the standard gas bag, keeping the standard waiting time unchanged, and determining the standard waiting time as the waiting time of the circuit.

6. The method of claim 2, wherein, The testing the compliance of the gas bag comprises: monitoring the internal pressure of the gas bag during pressurization of the circuit; obtaining a curve of the internal pressure of the gas bag over time to test the compliance of the gas bag.

7. The method of claim 6, wherein, the comparing the compliance magnitude and / or the compliance similarity between the gas bag and the standard gas bag comprises: determining the compliance magnitude between the gas bag and the standard gas bag according to the compliance of the gas bag and the compliance of the standard gas bag; and / or, determining the compliance similarity between the gas bag and the standard gas bag according to the rate of change of pressure over time of the gas bag and the rate of change of pressure over time of the standard gas bag.

8. The method of claim 7, wherein, the rate of change of pressure over time of the gas bag comprises a plurality of measured values, the rate of change of pressure over time of the standard gas bag comprises a plurality of standard values, and the determining the compliance similarity between the gas bag and the standard gas bag according to the rate of change of pressure over time of the gas bag and the rate of change of pressure over time of the standard gas bag comprises: determining, in the plurality of standard values, a standard value corresponding to each of the plurality of measured values; determining the compliance similarity between the gas bag and the standard gas bag according to the plurality of measured values and the standard value corresponding to each of the plurality of measured values using a preset similarity calculation model.

9. The method of claim 7, wherein, the compliance is negatively correlated with the rigidity of the gas bag, and when the compliance of the gas bag is less than the compliance of the standard gas bag, determining that the compliance magnitude indicates that the rigidity of the gas bag is higher than the rigidity of the standard gas bag; when the compliance of the gas bag is greater than the compliance of the standard gas bag, determining that the compliance magnitude indicates that the rigidity of the gas bag is lower than the rigidity of the standard gas bag; when the compliance of the gas bag is equal to the compliance of the standard gas bag, determining that the compliance magnitude indicates that the rigidity of the gas bag is equal to the rigidity of the standard gas bag.

10. The method according to any one of claims 1 to 9, characterized in that, the medical device comprises a ventilator device or an anesthesia machine device.

11. A medical device, characterized by the device comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the method of any one of claims 1 to 10 when executing the instructions stored in the memory.

12. A non-transitory computer readable storage medium having stored thereon computer program instructions, wherein, the computer program instructions, when executed by a processor, implement the method of any one of claims 1 to 10.