Monitoring Method, Device, Electronic Device and Storage Medium for Thoracic Air Leakage Flow

By using pressure sensors and pressure negative pressure pumps in the chest drainage equipment, combined with the leakage flow matrix and slope tween operation, the problems of low accuracy and dependence on experience in the prior art are solved, and efficient and accurate air leakage flow monitoring are achieved.

CN119564959BActive Publication Date: 2025-06-10HAINING LVJIAN MEDICAL PROD CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510138383.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-06-10
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

By using a pressure sensor and a pressure negative pressure pump in a chest drainage device, the pressure and duty cycle of the leaky gas are obtained, and the leakage flow matrix is ​​queried to calculate the current leaky air flow. If the pressure and duty cycle fall on the coordinates of the matrix as soon as possible, check the matrix directly; otherwise, combine the reference leakage flow rate and leakage flow-pressure slope of the adjacent point for tween operation.

Benefits of technology

It realizes accurate monitoring of chest air leakage flow, high accuracy, does not rely on medical experience, improves computing efficiency and accuracy, can meet the needs of diagnosis and treatment scenarios, and provides a strong foundation for subsequent treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119564959B_ABST
    Figure CN119564959B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and storage medium for monitoring the thoracic leakage gas flow rate. This method is applicable to thoracic drainage devices, which include a pressure sensor and a pressure negative pressure pump. The pressure negative pressure pump is connected to the thoracic leakage gas after surgery. When monitoring the thoracic leakage gas flow rate, first, the current pressure of the thoracic leakage gas is obtained through the pressure sensor, and the current duty cycle corresponding to the current power of the driving pressure negative pressure pump is obtained. Then, the leakage gas flow rate matrix is queried according to the current pressure and the current duty cycle to determine whether any reference pressure is equal to the current pressure. If so, the current leakage gas flow rate of the thorax is directly found from the matrix. If not, the current leakage gas flow rate of the thorax is obtained through interpolation calculation by combining the reference leakage gas flow rate corresponding to the adjacent pressure points and the leakage gas flow rate-pressure slope corresponding to the current duty cycle. The present application can accurately calculate and monitor the current leakage gas flow rate of the thorax 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 technologies, and in particular, to a method, device, electronic device, and storage medium for monitoring the leakage flow rate of the chest cavity. Background Art

[0002] Persistent pulmonary air leakage is a common complication after thoracic surgery. Clinically, it is necessary to observe the leakage volume to determine the subsequent treatment plan. Currently, a mechanical water seal bottle device is mostly connected to the chest cavity, and artificial observation of the number of gas bubbles in the liquid in the bottle is used to observe the air leakage. However, this solution has many problems such as low accuracy, dependence on experience, and low efficiency, resulting in poor observation effects and inability to provide sufficient basis for subsequent treatment. Summary of the Invention

[0003] Embodiments of the present application provide a method, device, electronic device, and storage medium for monitoring the leakage flow rate of the chest cavity, so as to alleviate technical problems such as low accuracy, dependence on experience, and low efficiency when artificially observing the leakage volume of the chest cavity.

[0004] To solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0005] The present application provides a method for monitoring the leakage flow rate of the chest cavity, which is applicable to a chest cavity drainage device. The chest cavity drainage device includes a pressure sensor and a pressure negative pressure pump. The pressure negative pressure pump is connected to the leaked gas from the chest cavity after surgery. The method includes:

[0006] Obtaining the current pressure of the leaked gas from the chest cavity through the pressure sensor;

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

[0008] Querying a leakage flow rate matrix according to the current pressure and the current duty cycle. The leakage flow rate matrix is a two-dimensional matrix including 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 rate 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 result, it is judged whether there is any reference pressure equal to the current pressure;

[0009] If so, determining the reference pressure equal to the current pressure as the first target reference pressure, determining the reference duty cycle equal to the current duty cycle as the first target reference duty cycle, obtaining the first target reference leakage flow rate of the chest cavity under the first target reference pressure and the first target reference duty cycle from the leakage flow rate matrix, and determining the first target reference leakage flow rate as the current leakage flow rate of the chest cavity;

[0010] Otherwise, determine the reference pressure with the smallest difference from the current pressure difference 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 air leakage flow rate of the chest cavity under the second target reference pressure and the second target reference duty cycle, and obtain the air leakage flow rate - pressure slope corresponding to the second target reference duty cycle. Based on the second target reference air leakage flow rate and the air leakage flow rate - pressure slope, obtain the current air leakage flow rate of the chest cavity.

[0011] In one embodiment, the m reference pressure values increase sequentially, and the n reference duty cycle values increase sequentially. Before the step of querying the air leakage flow rate matrix, it further includes:

[0012] Control the gas pressure of the simulated chest cavity system to make the gas pressure equal to the i-th reference pressure, control the pressure negative pressure pump connected to the simulated chest cavity system to make the duty cycle corresponding to the pressure negative pressure pump equal to the 1st reference duty cycle to the n-th reference duty cycle in sequence, and sequentially obtain the n reference air leakage flow rates under the i-th reference pressure, where i is initially 1;

[0013] Let i be equal to i + 1, and loop to execute the operation of controlling the gas pressure 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 n-th reference duty cycle in sequence, the operation of sequentially obtaining the n reference air leakage flow rates under the i-th reference pressure, and the operation of letting i be equal to i + 1 until i is equal to m, to obtain m * n reference air leakage flow rates;

[0014] Generate the m * n data points based on the m * n reference air leakage flow rates to obtain the air leakage flow rate matrix.

[0015] In one embodiment, the m reference pressure values increase sequentially, and the n reference duty cycle values increase sequentially. Before the step of querying the air leakage flow rate matrix, it further includes:

[0016] Control the pressure negative pressure pump connected to the simulated chest cavity system to make the duty cycle corresponding to the pressure negative pressure pump equal to the j-th reference duty cycle, control the gas pressure of the simulated chest cavity system to make the gas pressure equal to the 1st reference pressure to the m-th reference pressure in sequence, and sequentially obtain the m reference air leakage flow rates under the j-th reference pressure, where j is initially 1;

[0017] Let j equal j + 1, and loop to perform the operations of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the j-th reference duty cycle, controlling the pressure of the gas to be equal to the 1st reference pressure to the m-th reference pressure in sequence, obtaining m reference leakage flow rates at the j-th reference pressure in sequence, and the operation of letting j equal j + 1 until j equals n, to obtain m * n reference leakage flow rates;

[0018] Generate the m * n data points based on the m * n reference leakage flow rates to obtain the leakage flow rate matrix.

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

[0020] Perform linear fitting on the m reference leakage flow rates at the j-th reference duty cycle to obtain the leakage flow rate - pressure slope at the j-th reference duty cycle, with j initially being 1;

[0021] Let j equal j + 1, and loop to perform the operation of obtaining the leakage flow rate - pressure slope at the j-th reference duty cycle and the operation of letting j equal j + 1 until j equals n, to obtain n leakage flow rate - pressure slopes.

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

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

[0024] Multiply the first difference by the leakage flow rate - pressure slope, and determine the second difference between the second target reference leakage flow rate and the corresponding product as the current leakage flow rate of the chest cavity.

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

[0026] Obtain the preset working pressure;

[0027] Determine the current duty cycle corresponding to the current power for driving the pressure negative pressure pump according to the pressure difference between the current pressure and the preset working pressure.

[0028] In one embodiment, the monitoring of the current leakage flow rate of the chest cavity is performed periodically. After the step of obtaining the current leakage flow rate of the chest cavity, it further includes:

[0029] Generate a leakage flow rate trend chart of the chest cavity based on the current leakage flow rate obtained in the current cycle and the historical leakage flow rate obtained in the historical cycle;

[0030] Display the air leakage flow trend chart through the thoracic drainage device.

[0031] Meanwhile, an embodiment of the present application also provides a monitoring device for thoracic air leakage flow. The device is arranged in a thoracic drainage device, and the thoracic drainage device includes a pressure sensor and a pressure negative pressure pump. The pressure negative pressure pump accesses the thoracic leakage gas after surgery. The device includes:

[0032] A first acquisition module, configured to acquire the current pressure of the thoracic leakage gas through the pressure sensor;

[0033] A second acquisition module, configured to acquire the current duty ratio corresponding to the current power of driving the pressure negative pressure pump;

[0034] A query module, configured to query an air leakage flow matrix according to the current pressure and the current duty ratio. The air leakage flow matrix is a two-dimensional matrix including m*n data points. The data point located in the i-th row and j-th column of the two-dimensional matrix is the reference air leakage flow of the chest cavity under the i-th reference pressure and the j-th reference duty ratio. 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, determine whether there is any reference pressure equal to the current pressure;

[0035] A first obtaining module, configured to, if so, determine the reference pressure equal to the current pressure as the first target reference pressure, determine the reference duty ratio equal to the current duty ratio as the first target reference duty ratio, obtain the first target reference air leakage flow of the chest cavity under the first target reference pressure and the first target reference duty ratio from the air leakage flow matrix, and determine the first target reference air leakage flow as the current air leakage flow of the chest cavity;

[0036] A second obtaining module, configured to, if not, determine the reference pressure with the smallest difference from the current pressure as the second target reference pressure, determine the reference duty ratio equal to the current duty ratio as the second target reference duty ratio, obtain the second target reference air leakage flow of the chest cavity under the second target reference pressure and the second target reference duty ratio, and obtain the air leakage flow-pressure slope corresponding to the second target reference duty ratio. According to the second target reference air leakage flow and the air leakage flow-pressure slope, obtain the current air leakage flow of the chest cavity.

[0037] The present application also provides an electronic device, including a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory to execute the steps in the monitoring method for thoracic air leakage flow described in any one of the above.

[0038] An embodiment of the present application provides a computer-readable storage medium storing multiple instructions adapted to be loaded by a processor to execute the steps in the above-mentioned method for monitoring the thoracic leakage air flow.

[0039] Beneficial effects: The present application provides a method, a device, an electronic device, and a storage medium for monitoring the thoracic leakage air flow. The method is applicable to a thoracic drainage device, which includes a pressure sensor and a pressure negative pressure pump. The pressure negative pressure pump accesses the thoracic leakage gas after surgery. When monitoring the thoracic leakage air flow, first, the current pressure of the thoracic leakage gas is obtained through the pressure sensor, and the current duty cycle corresponding to the current power of the driving pressure negative pressure pump is obtained. Then, the leakage air flow matrix is queried according to the current pressure and the current duty cycle to determine whether any reference pressure is equal to the current pressure. If so, the current leakage air flow of the chest is directly found from the matrix. If not, the current leakage air flow of the chest is obtained through interpolation operation by combining the reference leakage air flow corresponding to the adjacent pressure points and the leakage air flow-pressure slope corresponding to the current duty cycle. Through the above process, the present application can accurately calculate and monitor the current leakage air flow of the chest in real time, with high accuracy and without relying on medical staff experience. Further, when the current pressure is at the integral point coordinates of the matrix, the current leakage air flow can be directly obtained by querying the matrix. Otherwise, the current leakage air flow is obtained by combining the matrix query and the slope interpolation operation. This method can improve the calculation efficiency, reduce the operation load, and ensure the accuracy, meeting the requirements of the diagnosis and treatment scenario and providing a strong foundation for subsequent treatment. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The technical solutions and other beneficial effects of the present application will become obvious by describing the specific embodiments of the present application in detail with reference to the accompanying drawings.

[0041] Figure 1 It is a schematic diagram of the scenario of the method for monitoring the thoracic leakage air flow provided by the embodiment of the present application.

[0042] Figure 2 It is a schematic diagram of the architecture adopted when establishing the leakage air flow matrix in the embodiment of the present application.

[0043] Figure 3 It is a schematic diagram of the leakage air flow matrix in the embodiment of the present application.

[0044] Figure 4 It is a schematic flowchart of the method for monitoring the thoracic leakage air flow provided by the embodiment of the present application.

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

[0046] Figure 6This is the second flowchart of the method for monitoring the thoracic cavity air leakage flow provided in the embodiments of the present application.

[0047] Figure 7 This is a schematic structural diagram of the monitoring device for the thoracic cavity air leakage flow provided in the embodiments of the present application.

[0048] Figure 8 This is a schematic structural diagram of the electronic device provided in the embodiments of the present application.

[0049] Explanation of reference numerals:

[0050] The first acquisition module 10; the second acquisition module 20; the query module 30; the first obtaining module 40; the second obtaining module 50; the radio frequency circuit 101; the memory 102; the input unit 103; the display unit 104; the sensor 105; the audio circuit 106; the WiFi module 107; the processor 108. Detailed implementation manners

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

[0052] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the application scenario of the method for monitoring the thoracic cavity air leakage flow provided in the embodiments of the present application. This scenario includes a thoracic cavity drainage device, which includes a pressure sensor, a pressure negative pressure pump, and a control system. The thoracic cavity drainage device is connected to the human thoracic cavity. Under normal circumstances, the thoracic cavity is in a negative pressure environment and there is no air leakage. When there are problems in the thoracic cavity or after certain thoracic surgeries, continuous air leakage may occur. The air leakage situation can be observed through the thoracic cavity drainage device, and the air leakage flow can be calculated so that medical staff can determine the next diagnosis and treatment plan based on this.

[0053] The gas leaking from the thoracic cavity is connected to the pressure negative pressure pump in the thoracic cavity drainage device, generating a current pressure on the pressure negative pressure pump. This current pressure can be sensed by the pressure sensor and acquired by the control system. At the same time, when the pressure negative pressure pump is driven, it has a current power, and the current power corresponds to a current duty cycle. This value can also be acquired by the control system.

[0054] The chest drainage device pre-stores a leakage gas flow matrix, which is a two-dimensional matrix containing m*n data points. The data point located in the i-th row and j-th column of the two-dimensional matrix is the reference leakage gas flow of the chest under the i-th reference pressure and the j-th reference duty cycle. Before the chest drainage device is actually used, first set m reference pressures for the chest leakage gas and n reference duty cycles for the pressure negative pump. Then, make the chest leakage gas be successively under the 1st to m-th reference pressures, and make the pressure negative pump be successively under the 1st to n-th reference duty cycles, measure the leakage gas flow of the chest under each reference pressure and each reference duty cycle, and a total of m*n reference leakage gas flows are obtained. Fill each reference leakage gas flow as a data point into the two-dimensional matrix, and finally, the leakage gas flow matrix can be obtained. The m reference pressures and n reference duty cycles can be used as the integral coordinates of the matrix. As Figure 3 shown, it is a schematic diagram of the leakage gas flow matrix, where Q 11 represents the reference leakage gas flow of the chest when the pressure of the chest leakage gas is the 1st reference pressure and the duty cycle of the pressure negative pump is the 1st reference duty cycle. Q 32 represents the reference leakage gas flow of the chest when the pressure of the chest leakage gas is the 3rd reference pressure and the duty cycle of the pressure negative pump is the 2nd reference duty cycle, and so on. After the control system obtains the current pressure and the current duty cycle, it can query the leakage gas flow matrix and judge whether there is any reference pressure equal to the current pressure according to the query result. It should be noted that the current duty cycle corresponding to the pressure negative pump is set manually after calculation, and usually it is set to be equal to a certain reference duty cycle, that is, the current duty cycle always falls on the integral coordinates of the leakage gas flow matrix.

[0055] If the judgment result is yes, indicating that the current pressure and the current duty cycle fall on the integral coordinates of the leakage gas flow matrix, then the current leakage gas flow must be a certain data point stored in the leakage gas flow matrix. At this time, determine the reference pressure equal to the current pressure as the first target reference pressure, and determine the reference duty cycle equal to the current duty cycle as the first target reference duty cycle, and directly read the first target reference leakage gas flow of the chest under the first target reference pressure and the first target reference duty cycle from the leakage gas flow matrix, and use it as the current leakage gas flow of the chest.

[0056] If the judgment result is negative, it means that the current pressure does not fall on the integral point coordinates of the air leakage flow matrix, and the current air leakage flow of the chest cavity cannot be directly read from the air 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 air leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle is read from the air leakage flow matrix. At the same time, the air leakage flow-pressure slope corresponding to the second target reference duty cycle stored in advance is read, and interpolation calculation is performed based on the second target reference air leakage flow and the air leakage flow-pressure slope to obtain the current air leakage flow of the chest cavity.

[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 no dependence on medical staff experience. Further, when the current pressure is at the integral point coordinates of the matrix, the current air leakage flow can be directly obtained by querying the matrix. Conversely, the current air leakage flow is obtained by combining matrix query and slope interpolation calculation. This method can improve the calculation efficiency, reduce the operation load, and ensure the accuracy, meeting the requirements of the diagnosis and treatment scenario and providing a strong foundation for subsequent treatment. In the following embodiments, the specific implementation process of the monitoring method for the air leakage flow of the chest cavity will be further described.

[0058] Please refer to Figure 4 , Figure 4 FIG. 10 is a first flow schematic diagram of the monitoring method for the air leakage flow of the chest cavity provided by the embodiment of the present application. The method specifically includes:

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

[0060] In the embodiment of the present application, a pressure negative pressure pump is used to measure and calculate the air leakage flow of the chest cavity. During the operation of the pressure negative pressure pump, the main factors affecting the air leakage flow of the chest cavity are pressure and power, where power can be represented by a duty cycle. Specifically, during the operation of the pressure negative pressure pump, under the condition of constant pressure, power is proportional to the flow value, and the greater the power, the greater the flow; under the condition of constant power, pressure is inversely proportional to the flow, and the greater the pressure, the smaller the flow. If the mathematical relationship among the three can be fitted, that is, a relevant model is constructed, then when the current pressure and the current duty cycle are known, the current air leakage flow of the chest cavity can be calculated by inverse deduction through the model.

[0061] In this step, first obtain the current pressure of the gas leaking from the chest cavity. The gas leaking from the chest cavity is connected to the pressure negative pressure pump in the chest drainage device, and the generated pressure 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. The duty cycle is an important parameter for power regulation of the driving pump. Therefore, the duty cycle can be used to represent the influence of the power factor on the thoracic leakage flow rate. Similarly, this value is obtained by the control system of the thoracic drainage device.

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

[0065] During the use of the thoracic drainage device, medical staff will set the required working pressure, and this pressure is called the preset working pressure. After setting, it is necessary to adjust the power of the driving pressure negative pressure pump so that it reaches the preset working pressure from the current pressure under the drive of this power. After adjustment, this power is the current power of the driving pressure negative pressure pump, and this current power corresponds to the current duty cycle. When calculating this power, first calculate the pressure difference between the current pressure and the preset working pressure, and then perform a PID operation to obtain it.

[0066] S3: Query the leakage flow rate matrix according to the current pressure and the current duty cycle. The leakage flow rate matrix is a two-dimensional matrix containing m*n data points. The data point located in the i-th row and j-th column of the two-dimensional matrix is the reference leakage flow rate 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 result, judge whether there is any reference pressure equal to the current pressure.

[0067] In the embodiment of the present application, a leakage flow rate matrix is pre-stored. There are m*n data points in the leakage flow rate matrix. Taking m reference pressures and n reference duty cycles as the integral coordinates of the matrix, then a data point corresponds to the intersection of every two integral coordinates. The meaning of the data point in the i-th row and j-th column is that the pressure negative pressure pump is under the i-th reference pressure, and the driving pressure negative pressure pump is under the j-th reference duty cycle. At this time, the measured reference leakage flow rate of the chest cavity is obtained.

[0068] After obtaining the current pressure and the current duty cycle, it is necessary to query the leakage flow rate 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 integral coordinates of the matrix. As mentioned in the above embodiment, the current duty cycle is obtained and set by performing a PID operation according to the current pressure and the preset working pressure. The set value usually coincides with a certain reference duty cycle, that is, the current duty cycle always falls on the integral coordinates of the matrix. Therefore, the present application only needs to judge whether the current pressure falls on the integral coordinates of the matrix, and then select which scheme to execute according to 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, the maximum value of the reference duty cycle can be set first. When setting, first find the value of 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, assume DC max equals 20%, and n takes the value of 10, then the 10 reference duty cycles are 2%, 4%, 6%, 8%, 10%, 12%, 14%, 16%, 18%, 20% respectively.

[0074] For the reference pressure, the above method can also be adopted. First, set a maximum value, represented by P max . The m reference pressure values increase sequentially, specifically, they can increase arithmetically. At this time, the first reference pressure is represented by 1 / m * P max , the second reference pressure is represented by 2 / m * P max , and so on. Represent the m reference pressures as P[1....n], then they are respectively = {1 / m * P max , 2 / m * P max ,...,, m / m * P max}. For example, assume P max equals 10 kPa, and m takes the value of 10, then the 10 reference pressures are 1 kPa, 2 kPa, 3 kPa, 4 kPa, 5 kPa, 6 kPa, 7 kPa, 8 kPa, 9 kPa, 10 kPa respectively.

[0075] When generating the matrix, there are multiple ways. In this embodiment, first control the gas pressure passing through the simulated thoracic cavity system so that the gas pressure equals the i-th reference pressure, where i is initially 1. For example, make the gas pressure equal to 1 kPa. At a constant pressure of 1 kPa, control the duty cycle of the pressure negative pressure pump M to be equal to 1 / n * DC max 、2 / n * DC max 、...、n / n * DC max in sequence, then n reference leakage flows can be obtained respectively.

[0076] S31b: Let i equal i + 1, and loop to execute the operations of controlling the gas pressure to equal the i-th reference pressure, controlling the duty cycle of the pressure negative pressure pump to be equal to the first reference duty cycle to the n-th reference duty cycle in sequence, obtaining n reference leakage flows under the i-th reference pressure in sequence, and the operation of letting i equal i + 1 until i equals m, obtaining m * n reference leakage flows.

[0077] Let i equal i + 1, that is, make the gas pressure equal to 2 kPa, and again control the duty cycle of the pressure negative pressure pump M 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; let i equal i + 1, that is, make the gas pressure equal to 3 kPa, and then control the duty cycle corresponding to the pressure negative pressure pump M to be equal to 1 / n * DC in sequence max , 2 / n * DC max ,..., n / n * DC max , and n reference leakage flow rates can be obtained respectively. Repeat the above steps. Each time the reference pressure is changed, n reference leakage flow rates can be obtained. After m times, a total of m * n reference leakage flow rates are obtained.

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

[0079] Arrange the m * n reference leakage flow rates in the form of rows being reference pressures and columns being reference duty cycles, and m * n data points can be generated. These data points form a leakage flow rate matrix as shown in Figure 3 . For ease of explanation, the above process is called power fitting.

[0080] Alternatively, in one embodiment, before S3, it further includes:

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

[0082] In the above embodiment, the matrix is obtained by sequentially changing the reference duty cycle while keeping the reference pressure constant. In this embodiment, the matrix can also be obtained by sequentially changing the reference pressure while keeping the reference duty cycle constant. Specifically, first control the duty cycle of the pressure negative pressure pump to make the duty cycle equal to the jth reference duty cycle, where j is initially 1. For example, make the duty cycle equal to 2%. At a constant duty cycle of 2%, control the gas pressure passing through the simulated thoracic cavity system to be equal to 1 / m * P in sequence max , 2 / m * P max ,..., m / m * P max , then m reference leakage flow rates can be obtained respectively.

[0083] S32b: Let j equal j + 1, and repeat the operations of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the jth reference duty cycle, controlling the gas pressure to be equal to the 1st reference pressure to the mth reference pressure in sequence, obtaining m reference leakage flow rates at the jth reference pressure in sequence, and the operation of letting j equal j + 1 until j equals n to obtain m * n reference leakage flow rates.

[0084] Let j equal j + 1, that is, make the duty cycle of the pressure negative pressure pump equal to 4%, and then control the gas pressure passing through the simulated thoracic cavity system to be equal to 1 / m * P in sequence max , 2 / m * P max ,..., m / m * P max , and m reference leakage flows can be obtained respectively; Let j equal j + 1, that is, make the duty cycle of the pressure negative pressure pump equal to 6%, and then control the gas pressure passing through the simulated thoracic cavity system to be equal to 1 / m * P in sequence max , 2 / m * P max ,..., m / m * P max , and m reference leakage flows can be obtained respectively. Execute the above steps in a loop. Each time the reference duty cycle is changed, m reference leakage flows can be obtained. After n times, a total of m * n reference leakage flows are obtained.

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

[0086] Arrange the m * n reference leakage flows in the form of the horizontal axis being the reference pressure and the vertical axis being the reference duty cycle, and m * n data points can be generated. These data points form a leakage flow matrix as shown in Figure 3 . For the sake of easy explanation, the above process is called pressure fitting.

[0087] The above embodiments respectively illustrate the method of generating a matrix from the perspectives of power fitting and pressure fitting. In actual generation, one of the methods can be selected for fitting and generating the matrix.

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

[0089] S33a: Perform linear fitting on the m reference leakage flows corresponding to the jth reference duty cycle to obtain the leakage flow - pressure slope under the jth 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. Taking the reference pressure as the abscissa and the reference leakage flow as the ordinate, fitting the m data points can obtain a curve. The slope of this curve is called the leakage flow - pressure slope k under this reference duty cycle, that is, k = △Q / △P. When j equals 1, the leakage flow - pressure slope k1 under the first reference duty cycle is obtained after fitting.

[0091] S33b: Let j equal j + 1, and loop to execute the operation of obtaining the air leakage flow - pressure slope at the j - th reference duty cycle and the operation of letting j equal j + 1 until j equals n, obtaining n air leakage flow - pressure slopes.

[0092] Let j equal j + 1. For the second reference duty cycle, after changing the reference pressure m times again, m reference air leakage flows are obtained. Similarly, with the reference pressure as the abscissa and the reference air leakage flow as the ordinate, fitting the m data points can obtain the air leakage flow - pressure slope k2 at this reference duty cycle. By analogy, each time of fitting can obtain an air leakage flow - pressure slope. After n times of fitting, a total of n air leakage flow - pressure slopes k1 to kn are obtained. These slope values are also stored and directly called for participation in operations when needed later.

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

[0094] If the judgment result is yes, that is, both the current pressure and the current duty cycle fall on the integral point coordinates of the matrix, then the current air leakage flow of the chest cavity can be directly read from the air leakage flow matrix. Specifically, read the first target reference air leakage flow of the chest cavity at the first target reference pressure and the first target reference duty cycle and use it as the current air leakage flow of the chest cavity. For example, if the current pressure is 2 kPa and the current duty cycle is 6%, there is a first target reference pressure of 2 kPa and a first target reference duty cycle of 6%. The first target reference air leakage flow corresponding to these two in the matrix is Q 23 , then the current air 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 air leakage flow of the chest cavity at the second target reference pressure and the second target reference duty cycle, and obtain the air leakage flow - pressure slope corresponding to the second target reference duty cycle. According to the second target reference air leakage flow and the air leakage flow - pressure slope, obtain the current air leakage flow of the chest cavity.

[0096] Since the pressure in the actual working process can be any value within the working range, and if the air leakage flow rates corresponding to all pressures are put into the matrix, the required workload is huge, which does not meet the requirements of the actual scenario. Therefore, this application adopts a method combining a matrix and a slope. Only the reference air leakage flow rates corresponding to m*n integral point coordinates are set in the matrix. If the currently obtained current pressure and current duty cycle can just fall on the integral point coordinates, the value can be directly obtained by looking up the table without further calculation. On the contrary, if the judgment result is negative, that is, the current pressure does not fall on the integral point coordinates of the matrix. At this time, it is necessary to combine the reference air leakage flow rate Q of the point closest to the current pressure in the matrix and the air leakage flow rate-pressure slope k corresponding to the closest point to perform interpolation calculation to obtain the current air leakage flow rate of the chest cavity.

[0097] As mentioned in the above embodiment, when the current pressure and the current duty cycle are known, the current air leakage flow rate of the chest cavity can be inversely calculated through the constructed model. In this application, two models can be constructed. Model 1 is: Q(P, DC) = P + DC, where P represents the current pressure of the gas leaked 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 rate of the chest cavity under the current pressure and the current duty cycle. This model is used to represent that the current air leakage flow rate 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 rate is directly obtained by looking up the matrix based on this model. Model 2 is: Q(P, DC) = k*P + DC, where P represents the current pressure of the gas leaked 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 air leakage flow rate of the chest cavity under the current pressure and the current duty cycle, and k represents the air leakage flow rate-pressure slope under a constant power. This model is used to represent that the current air leakage flow rate of the chest cavity is related to the current pressure, the air leakage flow rate-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 air leakage flow rate.

[0098] Specifically, if the current pressure does not fall on the integral coordinates of the air 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. Then, the second target reference air leakage flow of the chest at the second target reference pressure and the second target reference duty cycle is read from the air leakage flow matrix, and the air leakage flow-pressure slope corresponding to the second target reference duty cycle stored in advance is read. An interpolation operation is performed based on the second target reference air leakage flow and the air leakage flow-pressure slope to obtain the current air leakage flow of the chest. For example, the current pressure is 1.6 kPa and the current duty cycle is 2%. At this time, the current pressure does not fall on the integral coordinates of the air leakage flow matrix, and the reference pressure with the smallest difference from it is 2 kPa. Then, 2 kPa is determined as the second target reference pressure, and 2% is determined as the second target reference duty cycle. Then, the second target reference air leakage flow Q of the chest at 2 kPa and 2% is read from the air leakage flow matrix 21 , and the air leakage flow-pressure slope k1 corresponding to the second target reference duty cycle of 2% is read from the n air leakage flow-pressure slopes k1 to kn stored in advance. Finally, an interpolation operation is performed based on the second target reference air leakage flow Q 21 and the air leakage flow-pressure slope k1 to obtain the current air leakage flow of the chest.

[0099] In one embodiment, the step of obtaining the current air leakage flow of the chest according to the second target reference air leakage flow and the air 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 air leakage flow-pressure slope, and determining the second difference between the second target reference air leakage flow and the corresponding product as the current air leakage flow of the chest.

[0100] The principle of interpolation operation according to the slope is as Figure 5 shown Figure 5 which shows the reference air leakage flows Q 1 to P m corresponding to each reference pressure P 11 to Q m1 at the reference duty cycle DC = 2%. Assuming that the current duty cycle DC x is 2%, the current pressure P x is 1.6 kPa, the reference pressure P 1 is 1 kPa, the reference pressure P 2 is 2 kPa, and the reference pressure with the smallest difference from the current pressure P x is 2 kPa. 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 air leakage flow of the chest at the second target reference pressure P 2 and 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 as 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 leakage flow Q of the chest cavity can be obtained y = Q 21 - k1 * (P 2 - P x )

[0103] Please refer to Figure 6 , Figure 6 which is the second process schematic diagram of the method for monitoring the leakage flow of the chest cavity provided in the embodiment of the present application. In one embodiment, after S5, it further includes:

[0104] S6: Generate a leakage flow trend chart of the chest cavity according to the current leakage flow obtained in the current cycle and the historical leakage flow obtained in the historical cycle

[0105] The monitoring of the current leakage flow of the chest cavity is carried out periodically. In each cycle, according to the pressure difference between the current pressure and the preset working pressure, calculate the current duty cycle corresponding to the pressure negative pressure pump in the current cycle, and then use this current duty cycle and the current pressure to execute the steps in the above embodiment to obtain the current leakage flow in the current cycle. Since the monitoring is carried out periodically, in each historical cycle, the corresponding historical leakage flow can also be obtained. Store these historical leakage flows and the current leakage flow by cycle, and a leakage flow trend chart of the chest cavity can be generated when needed. This trend chart can reflect the change trend of the leakage flow of the chest cavity

[0106] S7: Display the leakage flow trend chart through the chest drainage device

[0107] After generating the trend chart, it can be displayed on the display screen of the chest drainage device. Medical staff can more clearly understand the chest cavity leakage situation according to this trend chart to determine the further diagnosis and treatment plan

[0108] In the above embodiments, pressure and duty cycle are used as influencing factors for modeling, and a two-dimensional air leakage flow matrix is established for querying and calculation. In one embodiment, pressure, duty cycle, and frequency can also be used as influencing factors for modeling simultaneously. Then, based on the same principle as in the above embodiments, a three-dimensional air leakage flow matrix can be established for querying and calculation. Compared with the two-dimensional matrix, the air leakage flow calculated by the three-dimensional matrix can be more accurate and is applicable to scenarios with higher requirements for data accuracy. Those skilled in the art can choose to establish a two-dimensional or three-dimensional matrix according to needs to flexibly apply to various scenarios.

[0109] As can be seen from the above embodiments, the method for monitoring the thoracic cavity air leakage flow provided by this application can accurately calculate and monitor the current air leakage flow of the thoracic cavity in real time, with high accuracy and without relying on medical staff experience. Further, when the current pressure is at the integral point coordinates of the matrix, the current air leakage flow can be directly obtained by querying the matrix. Otherwise, the current air leakage flow is obtained by combining matrix query and slope interpolation operation. This method can not only improve the calculation efficiency and reduce the operation load but also ensure accuracy, meeting the requirements of the diagnosis and treatment scenario and providing a strong basis for subsequent treatment.

[0110] Based on the method described in the above embodiments, this embodiment will be further described from the perspective of the monitoring device for thoracic cavity air leakage flow. The monitoring device is arranged in the thoracic cavity drainage device, which includes a pressure sensor and a pressure negative pressure pump. The pressure negative pressure pump is connected to the thoracic cavity leakage gas after surgery. Please refer to Figure 7 , the monitoring device for thoracic cavity air leakage flow may include:

[0111] The first acquisition module 10 is configured to acquire the current pressure of the thoracic cavity leakage gas through the pressure sensor;

[0112] The second acquisition module 20 is configured to acquire the current duty cycle corresponding to the current power of driving the pressure negative pressure pump;

[0113] The query module 30 is configured to query the air leakage flow matrix according to the current pressure and the current duty cycle. The air 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 of the two-dimensional matrix is the reference air leakage flow of the thoracic 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 result, it is judged whether there is any reference pressure equal to the current pressure;

[0114] The first obtaining module 40 is configured to, if so, determine the reference pressure equal to the current pressure as the first target reference pressure, determine the reference duty cycle equal to the current duty cycle as the first target reference duty cycle, obtain the first target reference air leakage flow rate of the chest cavity at the first target reference pressure and the first target reference duty cycle from the air leakage flow rate matrix, and determine the first target reference air leakage flow rate as the current air leakage flow rate of the chest cavity;

[0115] The second obtaining module 50 is configured to, 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 air leakage flow rate of the chest cavity at the second target reference pressure and the second target reference duty cycle, and obtain the air leakage flow rate - pressure slope corresponding to the second target reference duty cycle. According to the second target reference air leakage flow rate and the air leakage flow rate - pressure slope, the current air leakage flow rate of the chest cavity is obtained.

[0116] In one embodiment, the m reference pressure values increase sequentially, the n reference duty cycle values increase sequentially, and the device further includes:

[0117] The first control module is configured to control the gas pressure passing through the simulated chest cavity system to make the pressure of the gas equal to the i-th reference pressure, control the pressure negative pressure pump connected to the simulated chest cavity system to make the duty cycle corresponding to the pressure negative pressure pump equal to the 1st reference duty cycle to the n-th reference duty cycle in sequence, and sequentially obtain n reference air leakage flow rates at the i-th reference pressure, where i is initially 1;

[0118] The first loop module is configured to make i equal to i + 1, and loop to execute the operation of controlling the gas pressure 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 n-th reference duty cycle in sequence, the operation of sequentially obtaining n reference air leakage flow rates at the i-th reference pressure, and the operation of making i equal to i + 1 until i is equal to m, to obtain m * n reference air leakage flow rates;

[0119] The third obtaining module is configured to generate the m * n data points according to the m * n reference air leakage flow rates to obtain the air leakage flow rate matrix.

[0120] In one embodiment, the m reference pressure values increase sequentially, the n reference duty cycle values increase sequentially, and the device further includes:

[0121] The second control module is used to control the pressure negative pressure pump connected to the simulated thoracic cavity system, so that the duty cycle corresponding to the pressure negative pressure pump is equal to the j-th reference duty cycle, control the gas pressure passing through the simulated thoracic cavity system, so that the pressure of the gas is successively equal to the first reference pressure to the m-th reference pressure, and successively obtain m reference leakage airflows at the j-th reference pressure, where j is initially 1;

[0122] The second loop module is used to make j equal to j + 1, and loop to execute the operation of controlling the duty cycle corresponding to the pressure negative pressure pump to be equal to the j-th reference duty cycle, the operation of controlling the pressure of the gas to be successively equal to the first reference pressure to the m-th reference pressure, the operation of successively obtaining m reference leakage airflows at the j-th reference pressure, and the operation of making j equal to j + 1, until j is equal to n, to obtain m * n reference leakage airflows;

[0123] The fourth obtaining module is used to generate the m * n data points according to the m * n reference leakage airflows, and obtain the leakage airflow matrix.

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

[0125] The fitting module is used to perform linear fitting on the m reference leakage airflows at the j-th reference duty cycle, and obtain the leakage airflow - pressure slope at the j-th reference duty cycle, where j is initially 1;

[0126] The third loop module is used to make j equal to j + 1, and loop to execute the operation of obtaining the leakage airflow - pressure slope at the j-th reference duty cycle and the operation of making j equal to j + 1, until j is equal to n, to obtain n leakage airflow - pressure slopes.

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

[0128] The obtaining unit is used to obtain the first difference between the second target reference pressure and the current pressure;

[0129] The determining unit is used to multiply the first difference by the leakage airflow - pressure slope, and determine the current leakage airflow of the thoracic cavity as the second difference between the second target reference leakage airflow and the corresponding product.

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

[0131] The third obtaining module is used to obtain a preset working pressure;

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

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

[0134] A generation module, configured to generate a trend chart of the air leakage flow rate of the chest cavity according to the current air leakage flow rate obtained in the current period and the historical air leakage flow rate obtained in the historical period;

[0135] A display module, configured to display the trend chart of the air leakage flow rate through the chest drainage device.

[0136] Different from the prior art, the monitoring device for the air leakage flow rate of the chest cavity provided by the present application can accurately calculate and monitor the current air leakage flow rate of the chest cavity in real time, with high accuracy and no dependence on medical staff experience. Further, when the current pressure is at the integral point coordinates of the matrix, the current air leakage flow rate can be directly obtained by looking up the matrix, and vice versa, the current air leakage flow rate is obtained by combining the method of looking up the matrix and slope interpolation operation. This method can not only improve the calculation efficiency and reduce the operation load, but also ensure the accuracy, which can meet the requirements of the diagnosis and treatment scenario and provide a strong basis for subsequent treatment.

[0137] Correspondingly, an embodiment of the present application further provides an electronic device, as Figure 8 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 and other components. Those skilled in the art can understand that Figure 8 the structure of the electronic device shown in

[0138] 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 have different component arrangements. Among them:

[0139] The display unit 104 can be used to display information input by the customer or information provided to the customer, as well as various graphical customer interfaces of the server. These graphical customer interfaces can be composed of graphics, text, icons, videos, and any combination thereof.

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

[0141] WiFi belongs to wireless transmission technology. The electronic device can help the customer send and receive, browse the web, and follow up on streaming media through the WiFi module 107, which provides the customer with wireless broadband Internet access. Although Figure 8 the WiFi module 107 is shown, it can be understood that it does not belong to an essential component of the electronic device and can be omitted entirely within the scope of not changing the essence of the application as needed.

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

[0143] The electronic device further includes a power source 109 (such as a battery) that powers each component. Preferably, the power source can be logically connected to the processor 108 through a power management system, thereby implementing functions such as management of charging, discharging, and power consumption management through the power management system.

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

[0145] Obtain the current pressure of the pleural effusion gas through the pressure sensor;

[0146] Obtain the current duty cycle corresponding to the current power of the pressure negative pressure pump;

[0147] Query the air leakage flow matrix according to the current pressure and the current duty cycle. The air 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 of the two-dimensional matrix is the reference air 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 result, determine whether there is any reference pressure equal to the current pressure.

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

[0149] 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 air leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle, and obtain the air leakage flow-pressure slope corresponding to the second target reference duty cycle. According to the second target reference air leakage flow and the air leakage flow-pressure slope, obtain the current air leakage flow of the chest cavity.

[0150] The electronic device provided by the present application can accurately calculate and monitor the current air leakage flow of the chest cavity in real time, with high accuracy and no dependence on medical staff experience. Further, when the current pressure is at the integral point coordinates of the matrix, the current air leakage flow can be directly obtained by querying the matrix. Otherwise, the current air leakage flow is obtained by combining the matrix query and the slope interpolation operation. This method can improve the calculation efficiency, reduce the operation load, and ensure the accuracy, meeting the requirements of the diagnosis and treatment scenario and providing a strong foundation for subsequent treatment.

[0151] In the above embodiments, the descriptions of the embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the above detailed description and will not be elaborated here.

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

[0153] Therefore, the embodiments of the present application provide a computer-readable storage medium, in which multiple instructions are stored, and the instructions can be loaded by a processor to implement the following functions:

[0154] Obtain the current pressure of the thoracic leakage gas through the pressure sensor;

[0155] Obtain the current duty cycle corresponding to the current power of the pressure negative pressure pump;

[0156] Query the air leakage flow matrix according to the current pressure and the current duty cycle. The air 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 of the two-dimensional matrix is the reference air 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 result, determine whether there is any reference pressure equal to the current pressure;

[0157] If so, determine the reference pressure equal to the current pressure as the first target reference pressure, determine the reference duty cycle equal to the current duty cycle as the first target reference duty cycle, obtain the first target reference air leakage flow of the chest cavity under the first target reference pressure and the first target reference duty cycle from the air leakage flow matrix, and determine the first target reference air leakage flow as the current air leakage flow of the chest cavity;

[0158] 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 air leakage flow of the chest cavity under the second target reference pressure and the second target reference duty cycle, and obtain the air leakage flow-pressure slope corresponding to the second target reference duty cycle. According to the second target reference air leakage flow and the air leakage flow-pressure slope, obtain the current air leakage flow of the chest cavity.

[0159] The computer-readable storage medium provided by this application can accurately calculate and monitor the current air leakage flow of the chest cavity in real time, with high accuracy and no dependence on medical staff experience. Further, when the current pressure is at the integral point coordinates of the matrix, the current air leakage flow can be directly obtained by querying the matrix. Otherwise, the current air leakage flow is obtained by combining the matrix query and the slope interpolation operation. This method can improve the calculation efficiency, reduce the operation load, and ensure the accuracy, which can meet the needs of the diagnosis and treatment scenario and provide a strong basis for subsequent treatment.

[0160] The above has introduced in detail a method, device, electronic device, and computer-readable storage medium for monitoring the thoracic leakage flow rate provided by the embodiments of the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the technical solution and its core idea of the present application; those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

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 gas pressure is successively equal to the first reference pressure to the mth reference pressure, and successively obtaining m reference leakage flow rates under the jth reference duty cycle, 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 duty cycle, and the operation of setting j equal to j+1, until j is equal to n, 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.

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

  • Multifunction closed drainage device

    CN2136661Y

  • Air leak cause discrimination device and method

    JP2019041780A