Thoracic cavity leakage flow monitoring method and device, electronic equipment and storage medium

By using pressure sensors and pressure negative pressure pumps in the chest drainage equipment, combined with the air leakage flow matrix, the problem of low accuracy in the chest leakage monitoring in the prior art is solved, and efficient and accurate air leakage flow monitoring is achieved, providing a reliable basis for treatment.

CN119564959AActive Publication Date: 2025-03-07HAINING LVJIAN MEDICAL PROD CO LTD +1

Patent Information

Application Number
CN202510138383.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-03-07
Estimated Expiration
2045-02-08

AI Technical Summary

Technical Problem

The prior art has low accuracy, experience-dependent and inefficient monitoring of chest air leakage, and cannot provide sufficient treatment basis.

Method used

Using a chest drainage device including a pressure sensor and a pressure negative pressure pump, the current pressure is obtained through the pressure sensor and the duty cycle corresponding to the current power of the pressure negative pressure pump is obtained, and the leakage air flow matrix is ​​queried to calculate the current leakage air flow.

Benefits of technology

It realizes accurate monitoring of chest air leakage flow, with high accuracy and no dependence on medical experience, improves computing efficiency and accuracy, and provides a strong foundation for subsequent treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119564959A_ABST
    Figure CN119564959A_ABST
Patent Text Reader

Abstract

The invention provides a thoracic cavity leakage flow monitoring method and device, electronic equipment and a storage medium, the method is suitable for thoracic cavity drainage equipment, the thoracic cavity drainage equipment comprises a pressure sensor and a pressure negative pressure pump, the pressure negative pressure pump is connected with postoperative thoracic cavity leakage gas, and when the thoracic cavity leakage flow is monitored, the pressure sensor is connected with the pressure negative pressure pump. The method comprises the following steps: firstly, acquiring the current pressure of thoracic cavity leakage gas through a pressure sensor, acquiring the current duty ratio corresponding to the current power of a driving pressure negative pressure pump, then inquiring a leakage flow matrix according to the current pressure and the current duty ratio, judging whether any reference pressure is equal to the current pressure, and if yes, executing the next step; if yes, the current air leakage flow of the thoracic cavity is directly searched for from the matrix, and if not, the reference air leakage flow corresponding to the adjacent pressure point and the air leakage flow-pressure slope corresponding to the current duty ratio are combined to conduct complement operation to obtain the current air leakage flow of the thoracic cavity. According to the invention, the current air leakage flow of the thoracic cavity can be accurately calculated and monitored in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical technology, and in particular to a method, device, electronic equipment and storage medium for monitoring chest leakage airflow. Background Art

[0002] Persistent pulmonary air leakage is a common complication after thoracic surgery. Clinically, the amount of air leakage needs to be observed to determine the subsequent treatment plan. Currently, the chest cavity is connected to a mechanical water-sealed bottle device, and the air leakage is observed by manually observing the number of bubbles of gas in the liquid in the bottle. However, this solution has many problems such as low accuracy, reliance on experience, and low efficiency, resulting in poor observation results and unable to provide sufficient basis for subsequent treatment. Summary of the invention

[0003] The embodiments of the present application provide a method, device, electronic device and storage medium for monitoring chest leakage flow, so as to alleviate the technical problems such as low accuracy, reliance on experience and low efficiency in the current manual observation of chest leakage.

[0004] To solve the above technical problems, the present application provides the following technical solutions:

[0005] The present application provides a method for monitoring chest leakage flow, which is applicable to a chest drainage device, wherein the chest drainage device comprises a pressure sensor and a pressure negative pressure pump, wherein the pressure negative pressure pump is connected to the chest leakage gas after surgery, and the method comprises:

[0006] Acquiring the current pressure of the gas leaking from the chest cavity through the pressure sensor;

[0007] Obtaining a current duty cycle corresponding to a current power for driving the negative pressure pump;

[0008] Querying a leakage flow matrix according to the current pressure and the current duty cycle, the leakage flow matrix being a two-dimensional matrix containing m*n data points, the data point located in the i-th row and the j-th column in the two-dimensional matrix being a reference leakage flow of the thorax under the i-th reference pressure and the j-th reference duty cycle, m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n; judging whether there is any reference pressure equal to the current pressure according to the query result;

[0009] If so, a reference pressure equal to the current pressure is determined as a first target reference pressure, a reference duty cycle equal to the current duty cycle is determined as a first target reference duty cycle, a first target reference leakage flow of the thorax under the first target reference pressure and the first target reference duty cycle is obtained from the leakage flow matrix, and the first target reference leakage flow is determined as the current leakage flow of the thorax;

[0010] If not, the reference pressure with the smallest difference from the current pressure is determined as the second target reference pressure, and the reference duty cycle equal to the current duty cycle is determined as the second target reference duty cycle, and the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle is obtained, and the leakage flow-pressure slope corresponding to the second target reference duty cycle is obtained, and the current leakage flow of the chest cavity is obtained according to the second target reference leakage flow and the leakage flow-pressure slope.

[0011] In one embodiment, the m reference pressure values ​​are increased in sequence, and the n reference duty cycle values ​​are increased in sequence. Before the step of querying the leakage flow matrix, the following step is further included:

[0012] The gas pressure passing through the simulated chest system is controlled so that the gas pressure is equal to the i-th reference pressure, and the pressure-negative pressure pump connected to the simulated chest system is controlled so that the duty cycle corresponding to the pressure-negative pressure pump is successively equal to the first reference duty cycle to the n-th reference duty cycle, and n reference leakage flow rates under the i-th reference pressure are successively obtained, where i is initially 1;

[0013] Let i be equal to i+1, and cyclically execute the operation of controlling the pressure of the gas to be equal to the i-th reference pressure, the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the first reference duty cycle to the n-th reference duty cycle in sequence, the operation of sequentially obtaining n reference leakage flow rates under the i-th reference pressure, and the operation of setting i to be equal to i+1, until i is equal to m, and obtaining m*n reference leakage flow rates;

[0014] The m*n data points are generated according to the m*n reference leakage flows to obtain the leakage flow matrix.

[0015] In one embodiment, the m reference pressure values ​​are increased in sequence, and the n reference duty cycle values ​​are increased in sequence. Before the step of querying the leakage flow matrix, the following step is further included:

[0016] Controlling a pressure-negative pressure pump connected to the simulated chest system so that the duty cycle corresponding to the pressure-negative pressure pump is equal to the jth reference duty cycle, controlling the gas pressure passing through the simulated chest system so that the pressure of the gas is equal to the first reference pressure to the mth reference pressure in sequence, and obtaining m reference leakage flow rates under the jth reference pressure in sequence, where j is initially 1;

[0017] Set j equal to j+1, and cyclically execute the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the jth reference duty cycle, the operation of controlling the pressure of the gas to be equal to the first reference pressure to the mth reference pressure in sequence, the operation of sequentially obtaining m reference leakage flow rates under the jth reference pressure, and the operation of setting j equal to j+1, until j is equal to n, to obtain m*n reference leakage flow rates;

[0018] The m*n data points are generated according to the m*n reference leakage flows to obtain the leakage flow matrix.

[0019] In one embodiment, before the step of obtaining the leakage flow matrix, the method further includes:

[0020] Performing linear fitting on m reference leakage flows under the j-th reference duty cycle to obtain the leakage flow-pressure slope under the j-th reference duty cycle, where j is initially 1;

[0021] Let j be equal to j+1, and cyclically execute the operation of obtaining the leakage flow-pressure slope under the jth reference duty cycle and the operation of setting j equal to j+1 until j is equal to n, and obtain n leakage flow-pressure slopes.

[0022] In one embodiment, the step of obtaining the current air leakage flow of the thoracic cavity according to the second target reference air leakage flow and the air leakage flow-pressure slope comprises:

[0023] Acquire a first difference between the second target reference pressure and the current pressure;

[0024] The first difference is multiplied by the leakage flow-pressure slope, and a second difference between the second target reference leakage flow and the corresponding product is determined as the current leakage flow of the thorax.

[0025] In one embodiment, before the step of obtaining the current duty cycle corresponding to the current power for driving the negative pressure pump, the method further includes:

[0026] Get the preset working pressure;

[0027] According to the pressure difference between the current pressure and the preset working pressure, a current duty cycle corresponding to the current power for driving the negative pressure pump is determined.

[0028] In one embodiment, the current leakage air flow of the chest cavity is monitored periodically, and after the step of obtaining the current leakage air flow of the chest cavity, the following step is further included:

[0029] Generate a chest air leakage flow trend graph according to the current air leakage flow obtained in the current cycle and the historical air leakage flow obtained in the historical cycle;

[0030] The air leakage flow trend graph is displayed by the chest drainage device.

[0031] At the same time, the embodiment of the present application also provides a monitoring device for chest leakage flow, the device is arranged in a chest drainage device, the chest drainage device includes a pressure sensor and a pressure negative pressure pump, the pressure negative pressure pump is connected to the chest leakage gas after surgery, the device includes:

[0032] A first acquisition module, configured to acquire the current pressure of the gas leaking from the chest cavity through the pressure sensor;

[0033] A second acquisition module is used to acquire a current duty cycle corresponding to a current power driving the negative pressure pump;

[0034] A query module, used for querying a leakage flow matrix according to the current pressure and the current duty cycle, wherein the leakage flow matrix is ​​a two-dimensional matrix containing m*n data points, wherein the data point located in the i-th row and the j-th column in the two-dimensional matrix is ​​a reference leakage flow of the thorax under the i-th reference pressure and the j-th reference duty cycle, wherein m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n; according to the query result, determining whether there is any reference pressure equal to the current pressure;

[0035] A first obtaining module is used for, if yes, determining a reference pressure equal to the current pressure as a first target reference pressure, determining a reference duty cycle equal to the current duty cycle as a first target reference duty cycle, obtaining a first target reference leakage flow of the thorax under the first target reference pressure and the first target reference duty cycle from the leakage flow matrix, and determining the first target reference leakage flow as the current leakage flow of the thorax;

[0036] The second obtaining module is used to, if not, determine the reference pressure with the smallest difference with the current pressure as the second target reference pressure, determine the reference duty cycle equal to the current duty cycle as the second target reference duty cycle, obtain the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle, and obtain the leakage flow-pressure slope corresponding to the second target reference duty cycle, and obtain the current leakage flow of the chest cavity according to the second target reference leakage flow and the leakage flow-pressure slope.

[0037] The present application also provides an electronic device, comprising a memory and a processor; the memory stores an application, and the processor is used to run the application in the memory to execute the steps in any of the above-mentioned methods for monitoring chest leakage flow.

[0038] An embodiment of the present application provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps in the above-mentioned chest leakage airflow monitoring method.

[0039] Beneficial effect: The present application provides a method, device, electronic device and storage medium for monitoring chest leakage flow. The method is applicable to chest drainage equipment, which includes a pressure sensor and a pressure-negative pressure pump. The pressure-negative pressure pump is connected to the chest leakage gas after surgery. When monitoring the chest leakage flow, the current pressure of the chest leakage gas is first obtained through the pressure sensor, and the current duty cycle corresponding to the current power of driving the pressure-negative pressure pump is obtained. Then, the leakage flow matrix is ​​queried according to the current pressure and the current duty cycle to determine whether there is any reference pressure equal to the current pressure. If so, the current chest leakage flow is directly searched from the matrix. If not, the reference leakage flow corresponding to the adjacent pressure point and the leakage flow-pressure slope corresponding to the current duty cycle are combined to perform interpolation operation to obtain the current chest leakage flow. Through the above process, the present application can accurately calculate and monitor the current air leakage flow in the chest cavity in real time with high precision and without relying on medical experience. Furthermore, when the current pressure is at the integer coordinates of the matrix, the current air leakage flow can be directly obtained by looking up the matrix. Otherwise, the current air leakage flow can be obtained by combining matrix lookup with slope interpolation operation. This method can not only improve computing efficiency and reduce computing load, but also ensure accuracy. It can meet the needs of diagnosis and treatment scenarios and provide a strong foundation for subsequent treatment. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0041] Figure 1 A schematic diagram of a scenario of a method for monitoring chest leakage airflow provided in an embodiment of the present application.

[0042] Figure 2 This is a schematic diagram of the architecture used in establishing the leakage flow matrix according to an embodiment of the present application.

[0043] Figure 3 Schematic diagram of the air leakage flow matrix in an embodiment of the present application.

[0044] Figure 4 Schematic diagram of the flow chart of the chest leakage airflow monitoring method provided in the embodiment of the present application.

[0045] Figure 5 Schematic diagram of the corresponding relationship between the reference pressure and the reference leakage flow rate when the reference duty cycle DC=2% in the embodiment of the present application.

[0046] Figure 6This is a second flow chart of the method for monitoring chest leakage flow provided in an embodiment of the present application.

[0047] Figure 7 A schematic diagram of the structure of a chest leakage airflow monitoring device provided in an embodiment of the present application.

[0048] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0049] Description of reference numerals:

[0050] A first acquisition module 10; a second acquisition module 20; a query module 30; a first acquisition module 40; a second acquisition module 50; a radio frequency circuit 101; a memory 102; an input unit 103; a display unit 104; a sensor 105; an audio circuit 106; a WiFi module 107; and a processor 108. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0052] See also Figure 1 , Figure 1 A schematic diagram of a scenario for the application of the method for monitoring chest leakage flow provided in an embodiment of the present application, the scenario includes a chest drainage device, and the chest drainage device includes a pressure sensor, a pressure negative pressure pump, and a control system. The chest drainage device is connected to the human chest cavity. Under normal circumstances, the chest cavity is in a negative pressure environment and will not leak. When there is a problem with the chest cavity or after certain thoracic surgeries, continuous leakage may occur. The chest drainage device can be used to observe the leakage and calculate the leakage flow so that medical staff can use this as a basis to determine the next diagnosis and treatment plan.

[0053] The gas leaked from the chest cavity is connected to a pressure negative pressure pump in the chest drainage device, which generates a current pressure on the pressure negative pressure pump. The current pressure can be sensed by the pressure sensor and obtained by the control system. At the same time, the pressure negative pressure pump has a current power when driven. The current power corresponds to a current duty cycle, which can also be obtained by the control system.

[0054] A leakage flow matrix is ​​pre-stored in the chest drainage device. The leakage flow matrix is ​​a two-dimensional matrix containing m*n data points. The data point located in the i-th row and j-th column in the two-dimensional matrix is ​​the reference leakage flow of the chest cavity under the i-th reference pressure and the j-th reference duty cycle. Before the chest drainage device is actually used, m reference pressures are set for the chest leakage gas, and n reference duty cycles are set for the pressure and negative pressure pumps. Then, the chest leakage gas is placed at the 1st to m-th reference pressures in sequence, and the pressure and negative pressure pumps are placed at the 1st to n-th reference duty cycles in sequence. The chest leakage flow under each reference pressure and each reference duty cycle is measured, and a total of m*n reference leakage flow rates are obtained. Each reference leakage flow rate is filled into the two-dimensional matrix as a data point, and finally the leakage flow matrix is ​​obtained. The m reference pressures and n reference duty cycles can be used as the integer coordinates of the matrix. For example Figure 3 As shown, it is a schematic diagram of the leakage flow matrix, where Q 11 Indicates the reference leakage flow rate of the chest cavity when the pressure of the gas leaking from the chest cavity is the first reference pressure and the duty cycle of the pressure-vacuum pump is the first reference duty cycle, Q 32 Indicates that when the pressure of the gas leaking out of the chest cavity is the third reference pressure and the duty cycle of the pressure-vacuum pump is the second reference duty cycle, the reference leakage flow of the chest cavity, and so on. After obtaining the current pressure and the current duty cycle, the control system can query the leakage flow matrix and determine whether there is any reference pressure equal to the current pressure based on the query results. It should be noted that the current duty cycle corresponding to the pressure-vacuum pump is manually set after calculation, and is usually set to be equal to a reference duty cycle, that is, the current duty cycle will always fall on the integer coordinates of the leakage flow matrix.

[0055] If the judgment result is yes, it means that the current pressure and the current duty cycle fall on the integer coordinates of the leakage flow matrix, then the current leakage flow must be a data point stored in the leakage flow matrix. At this time, the reference pressure equal to the current pressure is determined as the first target reference pressure, and the reference duty cycle equal to the current duty cycle is determined as the first target reference duty cycle. The first target reference leakage flow of the chest cavity under the first target reference pressure and the first target reference duty cycle is read directly from the leakage flow matrix, and it is used as the current leakage flow of the chest cavity.

[0056] If the judgment result is no, it means that the current pressure does not fall on the integral coordinates of the leakage flow matrix, and the current leakage flow of the chest cavity cannot be directly read from the leakage flow matrix. At this time, the reference pressure with the smallest difference from the current pressure can be determined as the second target reference pressure, and the reference duty cycle equal to the current duty cycle can be determined as the second target reference duty cycle. Then, the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle is read from the leakage flow matrix, and the leakage flow-pressure slope corresponding to the pre-stored second target reference duty cycle is read at the same time. The current leakage flow of the chest cavity is obtained by interpolation operation based on the second target reference leakage flow and the leakage flow-pressure slope.

[0057] Through the above process, the current air leakage flow of the chest cavity can be accurately calculated and monitored in real time with high precision and without relying on medical experience. Furthermore, when the current pressure is at the coordinates of the whole point of the matrix, the current air leakage flow can be directly obtained by checking the matrix. Otherwise, the current air leakage flow can be obtained by combining the matrix check and the slope interpolation operation. This method can improve the calculation efficiency, reduce the calculation load, and ensure the accuracy, which can meet the needs of the diagnosis and treatment scene and provide a strong basis for subsequent treatment. In the following embodiments, the specific implementation process of the chest leakage flow monitoring method will be further described.

[0058] See also Figure 4 , Figure 4 This is a first flow chart of a method for monitoring chest leakage flow provided by an embodiment of the present application, the method specifically comprising:

[0059] S1: Obtain the current pressure of the gas leaking from the chest cavity through the pressure sensor.

[0060] The embodiment of the present application measures and calculates the chest air leakage flow rate through a pressure negative pressure pump. During the operation of the pressure negative pressure pump, the main factors affecting the chest air leakage flow rate are pressure and power, where power can be represented by a duty cycle. Specifically, during the operation of the pressure negative pressure pump, under constant pressure conditions, the power is proportional to the flow value, and the greater the power, the greater the flow rate; under constant power conditions, the pressure is inversely proportional to the flow rate, and the greater the pressure, the smaller the flow rate. If the mathematical relationship between the three can be fitted, that is, a related model can be constructed, then when the current pressure and the current duty cycle are known, the current chest air leakage flow rate can be calculated by reverse calculation through the model.

[0061] In this step, the current pressure of the chest leakage gas is first obtained. The chest leakage gas is connected to the pressure negative pressure pump in the chest drainage device, and the pressure generated can be sensed by the pressure sensor in the chest drainage device, and the specific value is obtained by the control system of the chest drainage device.

[0062] S2: Obtain the current duty cycle corresponding to the current power of the driving pressure negative pressure pump.

[0063] The pressure negative pressure pump needs to be driven at a certain power, and the duty cycle is an important parameter for driving the pump power regulation. Therefore, the duty cycle can be used to represent the effect of the power factor on the chest leakage flow. Similarly, this value is obtained by the control system of the chest drainage device.

[0064] In one embodiment, before S2, the method further includes: obtaining a preset working pressure; and determining a current duty cycle corresponding to a current power of the driving pressure negative pressure pump according to a pressure difference between a current pressure and the preset working pressure.

[0065] During the use of the chest drainage device, medical staff will set the required working pressure, which is called the preset working pressure. After setting, the power of the driving pressure negative pressure pump needs to be adjusted so that it can reach the preset working pressure from the current pressure under the drive of the power. After adjustment, the power is the current power of the driving pressure negative pressure pump, and the current power corresponds to the current duty cycle. When calculating the power, the pressure difference between the current pressure and the preset working pressure is calculated first, and then the PID operation is performed to obtain it.

[0066] S3: query the leakage flow matrix according to the current pressure and the current duty cycle. The leakage flow matrix is ​​a two-dimensional matrix containing m*n data points. The data point located in the i-th row and the j-th column in the two-dimensional matrix is ​​the reference leakage flow of the chest cavity under the i-th reference pressure and the j-th reference duty cycle. m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n. According to the query results, determine whether there is any reference pressure equal to the current pressure.

[0067] In an embodiment of the present application, a leakage flow matrix is ​​pre-stored, and there are m*n data points in the leakage flow matrix. m reference pressures and n reference duty cycles are used as integer coordinates of the matrix, and the intersection of every two integer coordinates corresponds to a data point. The data point in the i-th row and the j-th column means the reference leakage flow of the chest cavity measured when the pressure negative pressure pump is at the i-th reference pressure and the driving pressure negative pressure pump is at the j-th reference duty cycle.

[0068] After obtaining the current pressure and the current duty cycle, it is necessary to query the leakage flow matrix. When querying, first check whether there is any reference pressure equal to the current pressure, that is, whether the current pressure falls on the integer coordinates of the matrix. In the above embodiment, it is mentioned that the current duty cycle is obtained and set by PID calculation based on the current pressure and the preset working pressure. The set value is usually equal to a reference duty cycle, that is, the current duty cycle will always fall on the integer coordinates of the matrix. Therefore, this application only needs to judge whether the current pressure falls on the integer coordinates of the matrix, and then choose which solution to execute based on the judgment result.

[0069] In one embodiment, before S3, the method further includes:

[0070] S31a: Control the gas pressure passing through the simulated chest system so that the gas pressure is equal to the i-th reference pressure, and control the pressure negative pressure pump connected to the simulated chest system so that the duty cycle corresponding to the pressure negative pressure pump is equal to the 1st reference duty cycle to the n-th reference duty cycle in sequence, and obtain n reference leakage flow rates under the i-th reference pressure in sequence, where i is initially 1.

[0071] Before querying the leakage flow matrix, you need to generate the leakage flow matrix and store it for subsequent calls. This process requires the help of Figure 2 The architecture shown in the figure is completed. Figure 2 As shown, the architecture includes a throttle valve, a solenoid valve, a flow meter, a simulated chest system, a drainage machine, a drainage bottle, a pressure gauge P1, a pressure gauge P2, a pressure negative pressure pump M, a display screen, etc. During operation, the solenoid valve is opened so that the gas provided by the gas source can enter the simulated chest system. The throttle valve can be adjusted to control the pressure of the gas. The flow meter can measure the real-time flow of the gas. After the gas enters the simulated chest system, it is connected to the drainage machine and the drainage bottle. The simulated chest system can simulate the leakage, and the leaked gas will enter the drainage machine. The pressure gauge P1 is used to measure the real-time pressure of the drainage bottle, and the pressure gauge P2 is used to measure the real-time pressure of the gas coming out of the simulated chest system. These measured data can be output to the display screen and presented in the form of charts, so that relevant personnel can obtain these data in real time.

[0072] First, set m reference pressures and n reference duty cycles. The m reference pressure values ​​increase in sequence, and the n reference duty cycle values ​​increase in sequence. The values ​​of m and n can be equal or unequal. The specific values ​​of m and n can be set according to actual scene requirements.

[0073] For n reference duty cycles, you can first set the maximum value of the reference duty cycle. When setting, first find out Figure 2 The maximum value of the duty cycle when the pressure of the structure is the maximum value, and then find the maximum value of the duty cycle when Figure 2 The maximum value of the duty cycle when the flow value of the architecture is the maximum, and the larger of the two maximum values ​​is set as the maximum value of the reference duty cycle, that is, the nth reference duty cycle, using DC max The n reference duty cycle values ​​increase in sequence, specifically they can be arithmetic increments. In this case, the first reference duty cycle is 1 / n*DC max To express, the second reference duty cycle is 2 / n*DC max To express, and so on, let n reference duty cycles be expressed as DC[1....n], then respectively = {1 / n*DCmax , 2 / n*DC max , ..., n / n*DC max}. For example, suppose DC max Equal to 20%, n is 10, then the 10 reference duty cycles are 2%, 4%, 6%, 8%, 10%, 12%, 14%, 16%, 18%, and 20% respectively.

[0074] For the reference pressure, the above method can also be used. First, set a maximum value and use P max To indicate that the m reference pressure values ​​increase in sequence, specifically they can be arithmetic increments. In this case, the first reference pressure is expressed as 1 / m*P max The second reference pressure is expressed as 2 / m*P max To express, and so on, let m reference pressures be expressed as P[1....n], then respectively = {1 / m*P max , 2 / m*P max , ..., m / m*P max}. For example, suppose P max Equal to 10kPa, m is 10, then the 10 reference pressures are 1kPa, 2kPa, 3kPa, 4kPa, 5kPa, 6kPa, 7kPa, 8kPa, 9kPa, and 10kPa.

[0075] There are many ways to generate the matrix. In this embodiment, the gas pressure passing through the simulated chest system is first controlled to make the gas pressure equal to the i-th reference pressure, where i is initially 1. For example, the gas pressure is equal to 1 kPa. Under a constant pressure of 1 kPa, the duty cycle corresponding to the pressure negative pressure pump M is controlled to be equal to 1 / n*DC max , 2 / n*DC max , ..., n / n*DC max , n reference leakage flow rates can be obtained respectively.

[0076] S31b: Let i be equal to i+1, and cyclically execute the operation of controlling the pressure of the control gas to be equal to the i-th reference pressure, the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the 1st reference duty cycle to the nth reference duty cycle in sequence, the operation of successively obtaining n reference leakage flow rates under the i-th reference pressure, and the operation of setting i to be equal to i+1, until i is equal to m, and obtaining m*n reference leakage flow rates.

[0077] Let i equal to i+1, that is, the gas pressure is equal to 2kPa, and the duty cycle of the pressure negative pressure pump M is controlled to be equal to 1 / n*DC max , 2 / n*DC max , ..., n / n*DC max, and n reference leakage flow rates can be obtained respectively; let i equal to i+1, that is, the gas pressure is equal to 3kPa, and the duty cycle corresponding to the pressure negative pressure pump M is controlled to be equal to 1 / n*DC max , 2 / n*DC max , ..., n / n*DC max , and n reference leakage flow rates can be obtained respectively. The above steps are executed cyclically, and n reference leakage flow rates can be obtained each time the reference pressure is changed. After m times, a total of m*n reference leakage flow rates are obtained.

[0078] S31c: Generate m*n data points according to the m*n reference leakage flow rates to obtain a leakage flow matrix.

[0079] Arranging m*n reference leakage flows according to the reference pressure as the behavior and the reference duty cycle as the column can generate m*n data points, which constitute the following: Figure 3 The leakage flow matrix is ​​shown in Figure 2. For ease of explanation, the above process is called power fitting.

[0080] Alternatively, in one embodiment, before S3, the following steps are further included:

[0081] S32a: Control the pressure-negative pressure pump connected to the simulated chest system so that the duty cycle corresponding to the pressure-negative pressure pump is equal to the jth reference duty cycle, and control the gas pressure passing through the simulated chest system so that the gas pressure is successively equal to the 1st reference pressure to the mth reference pressure, and obtain m reference leakage flow rates under the jth reference pressure in sequence, where j is initially 1.

[0082] In the above embodiment, the reference duty cycle is changed in sequence while maintaining a constant reference pressure to obtain a matrix. In this embodiment, the reference pressure can also be changed in sequence while maintaining a constant reference duty cycle to obtain a matrix. Specifically, the duty cycle of the negative pressure pump is first controlled so that the duty cycle is equal to the jth reference duty cycle, where j is initially 1. For example, the duty cycle is equal to 2%. When the duty cycle is constant at 2%, the gas pressure passing through the simulated chest system is controlled to be equal to 1 / m*P in sequence. max , 2 / m*P max , ..., m / m*P max , m reference leakage flow rates can be obtained respectively.

[0083] S32b: Let j equal to j+1, and cyclically execute the operation of controlling the duty cycle corresponding to the negative pressure pump to be equal to the jth reference duty cycle, the operation of controlling the pressure of the gas to be equal to the 1st reference pressure to the mth reference pressure in sequence, the operation of obtaining m reference leakage flow rates under the jth reference pressure in sequence, and the operation of setting j equal to j+1, until j is equal to n, and m*n reference leakage flow rates are obtained.

[0084] Let j equal to j+1, that is, the duty cycle of the negative pressure pump is equal to 4%, and the gas pressure passing through the simulated chest system is controlled to be equal to 1 / m*P max , 2 / m*P max , ..., m / m*P max , and m reference leakage flow rates can be obtained respectively; let j equal to j+1, that is, the duty cycle of the pressure negative pressure pump is equal to 6%, and the gas pressure passing through the simulated chest system is controlled to be equal to 1 / m*P max , 2 / m*P max , ..., m / m*P max , and m reference leakage flow rates can be obtained respectively. The above steps are executed cyclically, and m reference leakage flow rates can be obtained each time the reference duty cycle is changed. After n times, a total of m*n reference leakage flow rates are obtained.

[0085] S32c: Generate m*n data points according to the m*n reference leakage flow rates to obtain a leakage flow matrix.

[0086] Arranging m*n reference leakage flows in the form of reference pressure in the horizontal direction and reference duty cycle in the vertical direction can generate m*n data points, which constitute the following: Figure 3 The leakage flow matrix is ​​shown in Figure 2. For the convenience of explanation, the above process is called pressure fitting.

[0087] The above embodiments respectively illustrate the methods of generating matrices from the perspectives of power fitting and pressure fitting. During actual generation, one of the methods may be selected to perform fitting and generate the matrix.

[0088] In one embodiment, before the step of obtaining the leakage flow matrix, the method further includes:

[0089] S33a: Perform linear fitting on the m reference leakage flows corresponding to the j-th reference duty cycle to obtain the leakage flow-pressure slope under the j-th reference duty cycle, where j is initially 1.

[0090] In the above process, for a certain constant reference duty cycle, m reference leakage flows can be obtained after changing the reference pressure m times. With the reference pressure as the horizontal coordinate and the reference leakage flow as the vertical coordinate, m data points are fitted to obtain a curve. The slope of the curve is called the leakage flow-pressure slope k under the reference duty cycle, that is, k=△Q / △P. When j is equal to 1, the leakage flow-pressure slope k1 under the first reference duty cycle is obtained after fitting.

[0091] S33b: Set j equal to j+1, and cyclically execute the operation of obtaining the leakage flow-pressure slope under the jth reference duty cycle and the operation of setting j equal to j+1, until j equals n, and obtain n leakage flow-pressure slopes.

[0092] Let j equal to j+1. For the second reference duty cycle, change the reference pressure m times again to obtain m reference leakage flows. Similarly, use the reference pressure as the horizontal coordinate and the reference leakage flow as the vertical coordinate to fit the m data points, and you can get the leakage flow-pressure slope k2 under the reference duty cycle. By analogy, each time you fit, you can get a leakage flow-pressure slope. After n fits, you can get n leakage flow-pressure slopes k1 to kn. These slope values ​​are also stored, and they can be directly called to participate in the calculation when needed.

[0093] S4: If so, determine a reference pressure equal to the current pressure as the first target reference pressure, determine a reference duty cycle equal to the current duty cycle as the first target reference duty cycle, obtain the first target reference leakage flow of the chest cavity under the first target reference pressure and the first target reference duty cycle from the leakage flow matrix, and determine the first target reference leakage flow as the current leakage flow of the chest cavity.

[0094] If the judgment result is yes, that is, the current pressure and the current duty cycle both fall on the integer coordinates of the matrix, then the current leakage flow of the chest cavity can be directly read from the leakage flow matrix, specifically, the first target reference leakage flow of the chest cavity under the first target reference pressure and the first target reference duty cycle is read and used as the current leakage flow of the chest cavity. For example, if the current pressure is 2kPa and the current duty cycle is 6%, there is a first target reference pressure of 2kPa and a first target reference duty cycle of 6%. The first target reference leakage flow corresponding to these two in the matrix is ​​Q 23 , then the current leakage flow of the chest cavity is also Q 23 .

[0095] S5: If not, determine the reference pressure with the smallest difference from the current pressure as the second target reference pressure, determine the reference duty cycle equal to the current duty cycle as the second target reference duty cycle, obtain the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle, and obtain the leakage flow-pressure slope corresponding to the second target reference duty cycle, and obtain the current leakage flow of the chest cavity according to the second target reference leakage flow and the leakage flow-pressure slope.

[0096] Since the pressure in the actual working process can be any value within the working range, and if the leakage flow corresponding to all pressures is put into the matrix, the required workload is huge and does not meet the needs of the actual scene. Therefore, the present application adopts a combination of matrix and slope, and only sets the reference leakage flow corresponding to m*n integer coordinates in the matrix. If the current pressure and current duty cycle obtained later just fall on the integer coordinates, they can be directly obtained by looking up the table without further calculation. On the contrary, if the judgment result is no, that is, the current pressure does not fall on the integer coordinates of the matrix, at this time, it is necessary to combine the reference leakage flow Q of the closest point to the current pressure in the matrix and the leakage flow-pressure slope k corresponding to the closest point to perform interpolation operations to obtain the current leakage flow of the chest cavity.

[0097] It is mentioned in the above embodiment that when the current pressure and the current duty cycle are known, the current air leakage flow of the chest cavity can be calculated by reverse calculation through the constructed model. In the present application, two models can be constructed, model one is: Q(P, DC)=P+DC, where P represents the current pressure of the gas leaking from the chest cavity, DC represents the current duty cycle corresponding to the current power of the driving pressure negative pressure pump, and Q(P, DC) represents the current air leakage flow of the chest cavity under the current pressure and the current duty cycle. This model is used to indicate that the current air leakage flow of the chest cavity is related to the current pressure and the current duty cycle. This model is applicable to step S4. After obtaining the current pressure and the current duty cycle, the current air leakage flow is obtained by directly querying the matrix based on the model. Model 2 is: Q(P, DC)=k*P + DC, where P represents the current pressure of the gas leaking from the chest cavity, DC represents the current duty cycle corresponding to the current power of the driving pressure negative pressure pump, Q(P, DC) represents the current leakage flow of the chest cavity under the current pressure and the current duty cycle, and k represents the leakage flow-pressure slope under constant power. This model is used to represent that the current leakage flow of the chest cavity is related to the current pressure, the leakage flow-pressure slope, and the current duty cycle. This model is applicable to step S5. After obtaining the current pressure and the current duty cycle, it is also necessary to combine the slope k to jointly calculate the current leakage flow.

[0098] Specifically, if the current pressure does not fall on the integer coordinates of the leakage flow matrix, the second target reference pressure closest to the current pressure can be determined first, and the second target reference duty cycle equal to the current duty cycle can be determined, and then the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle can be read from the leakage flow matrix, and the leakage flow-pressure slope corresponding to the pre-stored second target reference duty cycle can be read at the same time, and the interpolation operation is performed according to the second target reference leakage flow and the leakage flow-pressure slope to obtain the current leakage flow of the chest cavity. For example, the current pressure is 1.6kPa, and the current duty cycle is 2%. At this time, the current pressure does not fall on the integer coordinates of the leakage flow matrix, and the reference pressure with the smallest difference is 2kPa, then 2kPa is determined as the second target reference pressure, and 2% is determined as the second target reference duty cycle. Then, the second target reference leakage flow Q of the chest cavity under 2kPa and 2% is read from the leakage flow matrix. 21 , and read the leakage flow-pressure slope k1 corresponding to the second target reference duty cycle 2% from the pre-stored n leakage flow-pressure slopes k1 to kn, and finally based on the second target reference leakage flow Q 21 The leakage flow-pressure slope k1 is interpolated to obtain the current leakage flow of the chest cavity.

[0099] In one embodiment, the step of obtaining the current leakage flow of the chest cavity according to the second target reference leakage flow and the leakage flow-pressure slope includes: obtaining a first difference between the second target reference pressure and the current pressure; multiplying the first difference by the leakage flow-pressure slope, and determining the second difference between the second target reference leakage flow and the corresponding product as the current leakage flow of the chest cavity.

[0100] The principle of interpolation operation based on slope is as follows Figure 5 As shown, Figure 5 The reference pressure P is shown when the reference duty cycle DC = 2%. 1 To P m The corresponding reference leakage flow Q 11 To Q m1 Assuming the current duty cycle DC x is 2%, the current pressure P x is 1.6kPa, reference pressure P 1 is 1kPa, reference pressure P 2 is 2kPa, which is consistent with the current pressure P x The reference pressure with the smallest difference is 2kPa, then P 2 is determined as the second target reference pressure, 2% is determined as the second target reference duty cycle, and the second target reference pressure P 2 The second target reference air leakage flow rate of the thorax under the second target reference duty cycle of 2% is Q 21Read the leakage flow-pressure slope k1 corresponding to the second target reference duty cycle of 2%, and set the current leakage flow of the chest cavity to Q y , then the above parameters satisfy the following formula:

[0101] (Q 21 -Q y ) / (P 2 -P x )=k1

[0102] Based on this formula, the current chest leakage flow Q can be calculated y =Q 21 -k1*(P 2 -P x ).

[0103] See also Figure 6 , Figure 6 is a second flow chart of the method for monitoring chest leakage flow provided in an embodiment of the present application. In one embodiment, after S5, it also includes:

[0104] S6: Generate a chest air leakage flow trend graph according to the current air leakage flow obtained in the current cycle and the historical air leakage flow obtained in the historical cycle.

[0105] The current leakage flow of the chest cavity is monitored periodically. In each cycle, the current duty cycle corresponding to the negative pressure pump in the current cycle is calculated based on the pressure difference between the current pressure and the preset working pressure, and then the steps in the above embodiment are performed using the current duty cycle and the current pressure to obtain the current leakage flow in the current cycle. Since the monitoring is performed periodically, the corresponding historical leakage flow can also be obtained in each historical cycle, and these historical leakage flows and the current leakage flow are stored periodically. When necessary, a chest leakage flow trend graph can be generated, which can reflect the changing trend of the chest leakage flow.

[0106] S7: Display the leak flow trend graph through the chest drainage device.

[0107] After the trend graph is generated, the graph can be displayed on the display screen of the chest drainage device. Medical staff can understand the chest air leakage more clearly based on the trend graph to determine further diagnosis and treatment plans.

[0108] In the above embodiment, pressure and duty cycle are used as influencing factors for modeling, and a two-dimensional air leakage flow matrix is ​​established for query and calculation. In one embodiment, pressure, duty cycle and frequency can also be used as influencing factors for modeling at the same time. Based on the same principle as in the above embodiment, a three-dimensional air leakage flow matrix can be established for query and calculation. Compared with a two-dimensional matrix, the air leakage flow calculated by the three-dimensional matrix can be more accurate and suitable for scenarios with high data accuracy requirements. Those skilled in the art can choose to establish a two-dimensional or three-dimensional matrix as needed to flexibly apply to various scenarios.

[0109] It can be seen from the above embodiments that the chest leakage flow monitoring method provided in the present application can accurately calculate and monitor the current chest leakage flow in real time with high precision and without relying on medical experience. Furthermore, when the current pressure is located at the integer coordinates of the matrix, the current leakage flow can be directly obtained by looking up the matrix. Otherwise, the current leakage flow can be obtained by combining the matrix lookup with the slope interpolation operation. This method can not only improve the calculation efficiency and reduce the calculation load, but also ensure the accuracy, meet the needs of diagnosis and treatment scenarios, and provide a strong foundation for subsequent treatment.

[0110] Based on the method described in the above embodiment, this embodiment is further described from the perspective of a monitoring device for chest leakage flow. The monitoring device is set in a chest drainage device. The chest drainage device includes a pressure sensor and a pressure negative pressure pump. The pressure negative pressure pump is connected to the chest leakage gas after surgery. Figure 7 , chest leakage airflow monitoring devices may include:

[0111] A first acquisition module 10 is used to acquire the current pressure of the chest cavity leakage gas through the pressure sensor;

[0112] A second acquisition module 20 is used to acquire a current duty cycle corresponding to a current power driving the negative pressure pump;

[0113] A query module 30 is used to query the leakage flow matrix according to the current pressure and the current duty cycle, wherein the leakage flow matrix is ​​a two-dimensional matrix containing m*n data points, and the data point located in the i-th row and the j-th column in the two-dimensional matrix is ​​the reference leakage flow of the thorax under the i-th reference pressure and the j-th reference duty cycle, and m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n; according to the query result, it is determined whether there is any reference pressure equal to the current pressure;

[0114] A first obtaining module 40 is used for, if yes, determining a reference pressure equal to the current pressure as a first target reference pressure, determining a reference duty cycle equal to the current duty cycle as a first target reference duty cycle, obtaining a first target reference leakage flow of the thorax under the first target reference pressure and the first target reference duty cycle from the leakage flow matrix, and determining the first target reference leakage flow as the current leakage flow of the thorax;

[0115] The second obtaining module 50 is used to, if not, determine the reference pressure with the smallest difference with the current pressure as the second target reference pressure, determine the reference duty cycle equal to the current duty cycle as the second target reference duty cycle, obtain the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle, and obtain the leakage flow-pressure slope corresponding to the second target reference duty cycle, and obtain the current leakage flow of the chest cavity according to the second target reference leakage flow and the leakage flow-pressure slope.

[0116] In one embodiment, the m reference pressure values ​​are increased in sequence, the n reference duty cycle values ​​are increased in sequence, and the device further includes:

[0117] A first control module is used to control the gas pressure passing through the simulated chest system so that the gas pressure is equal to the i-th reference pressure, and to control the pressure negative pressure pump connected to the simulated chest system so that the duty cycle corresponding to the pressure negative pressure pump is equal to the first reference duty cycle to the n-th reference duty cycle in sequence, and to obtain n reference leakage flow rates under the i-th reference pressure in sequence, where i is initially 1;

[0118] The first circulation module is used to set i equal to i+1, and cyclically execute the operation of controlling the pressure of the gas to be equal to the i-th reference pressure, the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the first reference duty cycle to the n-th reference duty cycle in sequence, the operation of sequentially obtaining n reference leakage flow rates under the i-th reference pressure, and the operation of setting i equal to i+1, until i is equal to m, and obtaining m*n reference leakage flow rates;

[0119] The third obtaining module is used to generate the m*n data points according to the m*n reference leakage flows to obtain the leakage flow matrix.

[0120] In one embodiment, the m reference pressure values ​​are increased in sequence, the n reference duty cycle values ​​are increased in sequence, and the device further includes:

[0121] A second control module is used to control a pressure-negative pressure pump connected to the simulated chest system so that the duty cycle corresponding to the pressure-negative pressure pump is equal to the jth reference duty cycle, and to control the gas pressure passing through the simulated chest system so that the pressure of the gas is equal to the first reference pressure to the mth reference pressure in sequence, and to obtain m reference leakage flow rates under the jth reference pressure in sequence, where j is initially 1;

[0122] The second loop module is used to set j equal to j+1, and cyclically execute the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the jth reference duty cycle, the operation of controlling the pressure of the gas to be equal to the first reference pressure to the mth reference pressure in sequence, the operation of sequentially obtaining m reference leakage flow rates under the jth reference pressure, and the operation of setting j equal to j+1, until j is equal to n, and m*n reference leakage flow rates are obtained;

[0123] The fourth obtaining module is used to generate the m*n data points according to the m*n reference leakage flows to obtain the leakage flow matrix.

[0124] In one embodiment, the device further comprises:

[0125] A fitting module, used for performing linear fitting on m reference leakage flows under the jth reference duty cycle to obtain a leakage flow-pressure slope under the jth reference duty cycle, where j is initially 1;

[0126] The third loop module is used to set j equal to j+1, and cyclically execute the operation of obtaining the leakage flow-pressure slope under the jth reference duty cycle, and the operation of setting j equal to j+1, until j equals n, to obtain n leakage flow-pressure slopes.

[0127] In one embodiment, the second obtaining module 50 includes:

[0128] an acquisition unit, configured to acquire a first difference between the second target reference pressure and the current pressure;

[0129] A determination unit is used to multiply the first difference by the leakage flow-pressure slope, and determine a second difference between the second target reference leakage flow and the corresponding product as a current leakage flow of the thorax.

[0130] In one embodiment, the device further comprises:

[0131] A third acquisition module is used to obtain a preset working pressure;

[0132] A determination module is used to determine a current duty cycle corresponding to a current power for driving the negative pressure pump according to a pressure difference between the current pressure and the preset working pressure.

[0133] In one embodiment, the monitoring of the current leakage air flow of the chest cavity is performed periodically, and the device further comprises:

[0134] A generating module, used for generating a chest air leakage flow trend graph according to the current air leakage flow obtained in the current cycle and the historical air leakage flow obtained in the historical cycle;

[0135] A display module is used to display the air leakage flow trend graph through the chest drainage device.

[0136] Different from the prior art, the chest leakage flow monitoring device provided in the present application can accurately calculate and monitor the current chest leakage flow in real time with high precision and without relying on medical experience. Furthermore, when the current pressure is at the integer coordinates of the matrix, the current leakage flow can be directly obtained by looking up the matrix. Otherwise, the current leakage flow can be obtained by combining the matrix lookup with the slope interpolation operation. This method can not only improve the calculation efficiency and reduce the calculation load, but also ensure the accuracy. It can meet the needs of diagnosis and treatment scenarios and provide a strong foundation for subsequent treatment.

[0137] Accordingly, the present application also provides an electronic device, such as Figure 8 As shown, the electronic device may include a radio frequency (RF) circuit 101, a memory 102 including one or more computer-readable storage media, an input unit 103, a display unit 104, a sensor 105, an audio circuit 106, a WiFi module 107, a processor 108 including one or more processing cores, and a power supply 109. Those skilled in the art will understand that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0138] The radio frequency circuit 101 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 108 for processing; in addition, the data related to the uplink is sent to the base station. The memory 102 can be used to store software programs and modules. The processor 108 executes various functional applications and monitors the chest leakage flow by running the software programs and modules stored in the memory 102. The input unit 103 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to customer settings and function control.

[0139] The display unit 104 may be used to display information input by a client or information provided to a client and various graphical client interfaces of the server. These graphical client interfaces may be composed of graphics, texts, icons, videos and any combination thereof.

[0140] The electronic device may also include at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. The audio circuit 106 includes a speaker, which may provide an audio interface between the user and the electronic device.

[0141] WiFi is a wireless transmission technology. Electronic devices can help customers send and receive, browse web pages and follow streaming media through WiFi module 107. It provides customers with wireless broadband Internet follow-up. Figure 8 A WiFi module 107 is shown, but it is understandable that it is not an essential component of the electronic device and can be omitted as needed without changing the essence of the application.

[0142] The processor 108 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 102 and calling data stored in the memory 102, thereby monitoring the mobile phone as a whole.

[0143] The electronic device also includes a power source 109 (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor 108 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0144] Although not shown, the electronic device may also include a camera, a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the processor 108 in the server will load the executable files corresponding to the processes of one or more applications into the memory 102 according to the following instructions, and the processor 108 will run the application stored in the memory 102, thereby realizing the following functions:

[0145] Acquiring the current pressure of the gas leaking from the chest cavity through the pressure sensor;

[0146] Obtaining a current duty cycle corresponding to a current power for driving the negative pressure pump;

[0147] Querying a leakage flow matrix according to the current pressure and the current duty cycle, the leakage flow matrix being a two-dimensional matrix containing m*n data points, the data point located in the i-th row and the j-th column in the two-dimensional matrix being a reference leakage flow of the thorax under the i-th reference pressure and the j-th reference duty cycle, m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n; judging whether there is any reference pressure equal to the current pressure according to the query result;

[0148] If so, a reference pressure equal to the current pressure is determined as a first target reference pressure, a reference duty cycle equal to the current duty cycle is determined as a first target reference duty cycle, a first target reference leakage flow of the thorax under the first target reference pressure and the first target reference duty cycle is obtained from the leakage flow matrix, and the first target reference leakage flow is determined as the current leakage flow of the thorax;

[0149] If not, the reference pressure with the smallest difference from the current pressure is determined as the second target reference pressure, and the reference duty cycle equal to the current duty cycle is determined as the second target reference duty cycle, and the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle is obtained, and the leakage flow-pressure slope corresponding to the second target reference duty cycle is obtained, and the current leakage flow of the chest cavity is obtained according to the second target reference leakage flow and the leakage flow-pressure slope.

[0150] The electronic device provided in the present application can accurately calculate and monitor the current air leakage flow in the chest cavity in real time with high precision and without relying on medical experience. Furthermore, when the current pressure is at the integer coordinates of the matrix, the current air leakage flow can be directly obtained by looking up the matrix, and vice versa, the current air leakage flow can be obtained by combining matrix lookup with slope interpolation operation. This method can not only improve computing efficiency and reduce computing load, but also ensure accuracy, meet the needs of diagnosis and treatment scenarios, and provide a strong foundation for subsequent treatment.

[0151] In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the detailed description above and will not be repeated here.

[0152] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0153] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:

[0154] Acquiring the current pressure of the gas leaking from the chest cavity through the pressure sensor;

[0155] Obtaining a current duty cycle corresponding to a current power for driving the negative pressure pump;

[0156] Querying a leakage flow matrix according to the current pressure and the current duty cycle, the leakage flow matrix being a two-dimensional matrix containing m*n data points, the data point located in the i-th row and the j-th column in the two-dimensional matrix being a reference leakage flow of the thorax under the i-th reference pressure and the j-th reference duty cycle, m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n; judging whether there is any reference pressure equal to the current pressure according to the query result;

[0157] If so, a reference pressure equal to the current pressure is determined as a first target reference pressure, a reference duty cycle equal to the current duty cycle is determined as a first target reference duty cycle, a first target reference leakage flow of the thorax under the first target reference pressure and the first target reference duty cycle is obtained from the leakage flow matrix, and the first target reference leakage flow is determined as the current leakage flow of the thorax;

[0158] If not, the reference pressure with the smallest difference from the current pressure is determined as the second target reference pressure, and the reference duty cycle equal to the current duty cycle is determined as the second target reference duty cycle, and the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle is obtained, and the leakage flow-pressure slope corresponding to the second target reference duty cycle is obtained, and the current leakage flow of the chest cavity is obtained according to the second target reference leakage flow and the leakage flow-pressure slope.

[0159] The computer-readable storage medium provided in the present application can accurately calculate and monitor the current air leakage flow in the chest cavity in real time with high precision and without relying on medical experience. Furthermore, when the current pressure is located at the integer coordinates of the matrix, the current air leakage flow can be directly obtained by looking up the matrix, and vice versa, the current air leakage flow can be obtained by combining matrix lookup with slope interpolation operation. This method can not only improve computing efficiency and reduce computing load, but also ensure accuracy, meet the needs of diagnosis and treatment scenarios, and provide a strong foundation for subsequent treatment.

[0160] The above is a detailed introduction to a chest leakage airflow monitoring method, device, electronic device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for monitoring chest leakage flow, characterized in that: Applicable to a chest drainage device, the chest drainage device includes a pressure sensor and a pressure negative pressure pump, the pressure negative pressure pump is connected to the chest leakage gas after surgery, and the method includes: Acquiring the current pressure of the gas leaking from the chest cavity through the pressure sensor; Obtaining a current duty cycle corresponding to a current power for driving the negative pressure pump; Querying a leakage flow matrix according to the current pressure and the current duty cycle, the leakage flow matrix being a two-dimensional matrix containing m*n data points, the data point located in the i-th row and the j-th column in the two-dimensional matrix being a reference leakage flow of the thorax under the i-th reference pressure and the j-th reference duty cycle, m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n; judging whether there is any reference pressure equal to the current pressure according to the query result; If so, a reference pressure equal to the current pressure is determined as a first target reference pressure, a reference duty cycle equal to the current duty cycle is determined as a first target reference duty cycle, a first target reference leakage flow of the thorax under the first target reference pressure and the first target reference duty cycle is obtained from the leakage flow matrix, and the first target reference leakage flow is determined as the current leakage flow of the thorax; If not, the reference pressure with the smallest difference from the current pressure is determined as the second target reference pressure, and the reference duty cycle equal to the current duty cycle is determined as the second target reference duty cycle, and the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle is obtained, and the leakage flow-pressure slope corresponding to the second target reference duty cycle is obtained, and the current leakage flow of the chest cavity is obtained according to the second target reference leakage flow and the leakage flow-pressure slope.

2. The method for monitoring chest leakage flow according to claim 1, characterized in that: The m reference pressure values ​​are increased in sequence, and the n reference duty cycle values ​​are increased in sequence. Before the step of querying the leakage flow matrix, the method further includes: The gas pressure passing through the simulated chest system is controlled so that the gas pressure is equal to the i-th reference pressure, and the pressure-negative pressure pump connected to the simulated chest system is controlled so that the duty cycle corresponding to the pressure-negative pressure pump is successively equal to the first reference duty cycle to the n-th reference duty cycle, and n reference leakage flow rates under the i-th reference pressure are successively obtained, where i is initially 1; Let i be equal to i+1, and cyclically execute the operation of controlling the pressure of the gas to be equal to the i-th reference pressure, the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the first reference duty cycle to the n-th reference duty cycle in sequence, the operation of sequentially obtaining n reference leakage flow rates under the i-th reference pressure, and the operation of setting i to be equal to i+1, until i is equal to m, and obtaining m*n reference leakage flow rates; The m*n data points are generated according to the m*n reference leakage flows to obtain the leakage flow matrix.

3. The method for monitoring chest leakage flow according to claim 1, characterized in that: The m reference pressure values ​​are increased in sequence, and the n reference duty cycle values ​​are increased in sequence. Before the step of querying the leakage flow matrix, the method further includes: Controlling a pressure-negative pressure pump connected to the simulated chest system so that the duty cycle corresponding to the pressure-negative pressure pump is equal to the jth reference duty cycle, controlling the gas pressure passing through the simulated chest system so that the pressure of the gas is equal to the first reference pressure to the mth reference pressure in sequence, and obtaining m reference leakage flow rates under the jth reference pressure in sequence, where j is initially 1; Set j equal to j+1, and cyclically execute the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the jth reference duty cycle, the operation of controlling the pressure of the gas to be equal to the first reference pressure to the mth reference pressure in sequence, the operation of sequentially obtaining m reference leakage flow rates under the jth reference pressure, and the operation of setting j equal to j+1, until j is equal to n, to obtain m*n reference leakage flow rates; The m*n data points are generated according to the m*n reference leakage flows to obtain the leakage flow matrix.

4. The method for monitoring chest leakage flow according to claim 2 or 3, characterized in that: Before the step of obtaining the leakage flow matrix, the method further includes: Performing linear fitting on m reference leakage flows under the j-th reference duty cycle to obtain the leakage flow-pressure slope under the j-th reference duty cycle, where j is initially 1; Let j be equal to j+1, and cyclically execute the operation of obtaining the leakage flow-pressure slope under the jth reference duty cycle and the operation of setting j equal to j+1 until j is equal to n, and obtain n leakage flow-pressure slopes.

5. The method for monitoring chest leakage flow according to claim 1, characterized in that: The step of obtaining a current air leakage flow of the thoracic cavity according to the second target reference air leakage flow and the air leakage flow-pressure slope comprises: Acquire a first difference between the second target reference pressure and the current pressure; The first difference is multiplied by the leakage flow-pressure slope, and a second difference between the second target reference leakage flow and the corresponding product is determined as the current leakage flow of the thorax.

6. The method for monitoring chest leakage flow according to claim 1, characterized in that: Before the step of obtaining the current duty cycle corresponding to the current power for driving the negative pressure pump, the method further includes: Get the preset working pressure; According to the pressure difference between the current pressure and the preset working pressure, a current duty cycle corresponding to the current power for driving the negative pressure pump is determined.

7. The method for monitoring chest leakage flow according to claim 1, characterized in that: The current leakage flow rate of the chest cavity is monitored periodically. After obtaining the current leakage flow rate of the chest cavity, the method further includes: Generate a chest air leakage flow trend graph according to the current air leakage flow obtained in the current cycle and the historical air leakage flow obtained in the historical cycle; The air leakage flow trend graph is displayed by the chest drainage device.

8. A chest leakage airflow monitoring device, characterized in that: The device is arranged on a chest drainage device, the chest drainage device comprises a pressure sensor and a pressure negative pressure pump, the pressure negative pressure pump is connected to the chest leakage gas after surgery, and the device comprises: A first acquisition module, configured to acquire the current pressure of the gas leaking from the chest cavity through the pressure sensor; A second acquisition module is used to acquire a current duty cycle corresponding to a current power driving the negative pressure pump; A query module, used for querying a leakage flow matrix according to the current pressure and the current duty cycle, wherein the leakage flow matrix is ​​a two-dimensional matrix containing m*n data points, wherein the data point located in the i-th row and the j-th column in the two-dimensional matrix is ​​a reference leakage flow of the thorax under the i-th reference pressure and the j-th reference duty cycle, wherein m, n, i and j are all positive integers, and i is not greater than m, and j is not greater than n; according to the query result, determining whether there is any reference pressure equal to the current pressure; A first obtaining module is used for, if yes, determining a reference pressure equal to the current pressure as a first target reference pressure, determining a reference duty cycle equal to the current duty cycle as a first target reference duty cycle, obtaining a first target reference leakage flow of the thorax under the first target reference pressure and the first target reference duty cycle from the leakage flow matrix, and determining the first target reference leakage flow as the current leakage flow of the thorax; The second obtaining module is used to, if not, determine the reference pressure with the smallest difference with the current pressure as the second target reference pressure, determine the reference duty cycle equal to the current duty cycle as the second target reference duty cycle, obtain the second target reference leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle, and obtain the leakage flow-pressure slope corresponding to the second target reference duty cycle, and obtain the current leakage flow of the chest cavity according to the second target reference leakage flow and the leakage flow-pressure slope.

9. An electronic device, characterized in that: It comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to execute the steps in the method for monitoring chest leakage flow according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps in the method for monitoring chest leakage flow according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Automated control for detection of flow limitation

    CN101842128A

  • Calibration method and calibration system for air-fuel ratio of high-power gas engine

    CN114720133A

  • Air leakage detection method, pneumoperitoneum machine system and pneumoperitoneum machine

    CN117796859A

  • Low-voltage leakage testing device

    CN118706357A

  • Pneumoperitoneum machine safety alarm control method, system and device and storage medium

    CN119279805A

Cited By

  • Thoracic cavity data monitoring method and device, electronic equipment and storage medium

    CN121130199A