Disclosure of Invention
The invention aims to provide a method, a device and a storage medium for monitoring the use abnormality of nasal high flow, which are used for solving the problem of misjudgment on a method for monitoring respiratory rate by using respiratory flow signals or pressure signals caused by the use abnormality of nasal high flow in the prior art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
in a first aspect, embodiments of the present invention provide a method of monitoring for nasal high flow usage anomalies, the method comprising:
acquiring a first gas flow output when the nasal high flow is abnormal in use and a corresponding maximum first output pressure;
fitting according to the first gas flow and the corresponding maximum first output pressure to obtain a fitting formula: f (F) max =ω 2 *flow 2 +ω 1 *flow+ω 0 The method comprises the steps of carrying out a first treatment on the surface of the Wherein F is max Represents the maximum pressure value omega 2 、ω 1 、ω 0 Representing fitting parameters, and the flow represents the first gas flow;
acquiring a second gas flow preset during nasal high flow use and a plurality of corresponding second output pressures;
obtaining a second average output pressure F according to a plurality of the second output pressures μ ;
Substituting the second gas flow into a fitting formula to obtain F max ;
Will F μ Heel F max Comparison is performedTo realize the monitoring of the abnormal use of the nasal high flow.
In one possible embodiment, F μ Heel F max Comparing to enable monitoring of nasal high flow usage anomalies, comprising:
if F μ Greater than F max Determining that the nasal high flow rate is not abnormal in use; otherwise, it is determined that there is an abnormal use of the nasal high flow.
In one possible embodiment, fitting is performed according to the first gas flow rate and the corresponding maximum first output pressure, so as to obtain a fitting formula: f (F) max =ω 2 *flow 2 +ω 1 *flow+ω 0 Comprising:
taking the root mean square of the fitting formula as a loss function, calculating the deviation of the loss function, and obtaining omega 2 、ω 1 、ω 0 。
In one possible implementation, the loss function is:
wherein (1)>Representing a correction coefficient, i representing the number of fitted values, j representing the order of the fitting formula, L (ω) representing the loss function.
In one possible embodiment, a plurality of said second output pressures are obtained by collecting pressure data from 64-128 pressure sensors.
In one possible embodiment, the abnormal use includes the patient not wearing a nasal obstruction catheter and the worn nasal obstruction catheter loosening.
In one possible embodiment, the first gas flow rate and the second gas flow rate are each 10-80L/min;
the first output pressure F max 1-15cmH 2 O;
The second average output pressureF μ 1-28cmH 2 O。
In a second aspect, an embodiment of the present invention further provides an apparatus for monitoring for abnormal use of nasal high flow, including:
the acquisition module is used for acquiring the first gas flow, the second gas flow, the maximum first output pressure and the second output pressure;
the processing module is used for fitting according to the first gas flow and the corresponding maximum first output pressure, and calculating a second average output pressure F according to a plurality of second output pressures μ And is also used for substituting the second gas flow into a fitting formula to obtain F max ;
A determining module for determining F μ Heel F max The comparison is performed to achieve monitoring of the nasal high flow usage anomalies.
In one possible embodiment, the apparatus further comprises:
and the prompt module is used for giving a prompt when the use abnormality of the nasal high flow is determined.
In a third aspect, the present embodiments also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of the embodiments described above when run.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
firstly, acquiring data during abnormal nasal high flow use, and fitting according to the data; then obtaining preset data when the nasal high flow is used, and obtaining a second average output pressure F according to the preset data μ Substituting the preset flow value into a fitting formula to calculate a maximum pressure value F max The method comprises the steps of carrying out a first treatment on the surface of the Finally, F μ Heel F max By comparing, whether the nasal high flow is abnormal or not can be objectively and accurately determined, and therefore misjudgment phenomenon caused by abnormal nasal high flow is avoided.
Detailed description of the preferred embodiments
In this specification, each example or embodiment is described in a progressive manner, and each example is mainly described as different from other examples, and identical similar parts of each example are mutually referred to.
In the description of the present specification, the descriptions of the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the fuel tank of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Referring to fig. 1, an embodiment of the present invention provides a method for monitoring nasal high flow usage anomalies, which includes the following steps:
step S101: acquiring a first gas flow output when the nasal high flow is abnormal in use and a corresponding maximum first output pressure;
the abnormal use of the nasal high flow comprises the loosening of the nasal obstruction catheter which is not worn or the nasal obstruction catheter which is worn, and the respiratory frequency is not displayed as 0 at the moment, so that misjudgment can be caused by judging the respiratory frequency. In the embodiment provided by the invention, the first gas flow which is output to the patient through the nasal high flow and the corresponding maximum first output pressure are obtained, wherein the nasal high flow is not worn by the nasal obstruction catheter, and it can be understood that the first output pressure can fluctuate within a certain range when the first gas flow is output, so that the numerical value of the maximum first output pressure can be acquired in order to accurately judge the abnormal use of the nasal high flow.
The first gas is usually air-oxygen mixed gas with a certain oxygen concentration, and the flow rate of the air-oxygen mixed gas is set at 10-80L/min. By way of example, the first gas flow rate may be, but is not limited to, 10L/min, 15L/min, 20L/min, 25L/min, 30L/min, 35L/min, 40L/min, 45L/min, 50L/min, 55L/min, 60L/min, 65L/min, 70L/min, 75L/min, 80L/min. In addition, the maximum first output pressure corresponding to the first gas flow is 1-15cmH 2 O. Specifically, reference may be made to table 1.
TABLE 1
| Set flow (L/min)
|
First gas flow (L/min)
|
F max (cmH 2 O)
|
| 10
|
10.80
|
1.30
|
| 15
|
14.79
|
1.70
|
| 20
|
20.24
|
2.10
|
| 25
|
24.85
|
2.70
|
| 30
|
30.30
|
3.40
|
| 35
|
35.36
|
3.80
|
| 40
|
40.44
|
4.60
|
| 45
|
45.02
|
5.70
|
| 50
|
50.19
|
6.90
|
| 55
|
55.14
|
8.30
|
| 60
|
60.21
|
9.70
|
| 65
|
65.28
|
11.10
|
| 70
|
70.15
|
12.80
|
| 75
|
75.20
|
13.5
|
| 80
|
80.11
|
15.0 |
It should be noted that the duration and the data amount for each data acquisition can be adjusted according to the actual sampling frequency. For example, in the embodiment provided by the invention, the acquired data amount is 128, and the duration of each data acquisition is 12s, if the frequency is fast, the data amount can be increased appropriately; otherwise, the amount of data is reduced.
Step S102: fitting according to the first gas flow and the corresponding maximum first output pressure to obtain a fitting formula: f (F) max =ω 2 *flow 2 +ω 1 *flow+ω 0 The method comprises the steps of carrying out a first treatment on the surface of the Wherein F is max Represents the maximum pressure value omega 2 、ω 1 、ω 0 Representing fitting parameters, and the flow represents the first gas flow;
the step S102 specifically includes:
1) Fitting according to the first gas flow and the corresponding maximum first output pressure to obtain a fitting formula F max =ω 2 *flow 2 +ω 1 *flow+ω 0 ;
2) The root mean square of the fitting formula is taken as a loss function, and the loss function isWherein (1)>Representing a correction coefficient which is a coefficient increased for calculation convenience, i representing the number of fitting values, j representing the order of the fitting formula, and L (ω) representing the loss function;
3) Deviation of the loss function, i.e.The following formula can be further derived:
the formula is that 8 data are collected and respectively substituted into the loss function of the deviation obtaining function to calculate omega 2 、ω 1 、ω 0 。
In a specific embodiment, ω is calculated 2 、ω 1 、ω 0 Then the fitting formula is F max =0.002*flow 2 +0.0268 flow+0.7606, curve asShown in fig. 3.
It should be noted that the measured gas flow and the maximum pressure value corresponding to the measured gas flow cannot be identical each time due to the influence of factors such as equipment, environment and the like, but R of the obtained fitting formula 2 (goodness of fit) is greater than 99%.
Step S103: and obtaining a second gas flow preset during nasal high flow use and a plurality of corresponding second output pressures.
In the embodiments provided herein, nasal obstruction catheters are worn by patients when used at high nasal flows. Then, the gas flow rate set in advance to the patient and the output pressure corresponding to the gas flow rate are acquired. As described above, since the second output pressure fluctuates within a certain range when the second gas flow rate is output, a plurality of second output pressures are collected so that the use abnormality of the transnasal high flow rate can be accurately determined. In one possible embodiment, 64 second output pressure values are collected and the sampling duration is about 5.5s (sampling frequency 90 ms).
The second gas is usually air-oxygen mixed gas with a certain oxygen concentration, and the flow rate of the second gas is set to be 10-80L/min. By way of example, the second gas flow may be, but is not limited to, 10L/min, 15L/min, 20L/min, 25L/min, 30L/min, 35L/min, 40L/min, 45L/min, 50L/min, 55L/min, 60L/min, 65L/min, 70L/min, 75L/min, 80L/min. In addition, the second output pressure corresponding to the second gas flow is 1-28cmH 2 O。
Step S104: obtaining a second average output pressure F from the plurality of second output pressures μ Reference may be made to table 2.
TABLE 2
It should be noted here that the simulation isThe maximum first output pressure is selected from the equation and the average output pressure is calculated in this step, mainly because: if the fitting formula and the actual value have certain difference values, the fitting and the subsequent calculation result are obtained through average pressure values, and when the numerical value obtained by the fitting formula is smaller than the actual value, erroneous judgment on the nasal high flow is easily caused, namely, the nasal high flow is abnormal in use, but the respiratory frequency is not 0. Therefore, in the embodiment provided by the invention, the maximum first output value is adopted in the fitting formula, and in the process of using the nasal high flow, the second average output pressure F is calculated by a plurality of second output pressures μ 。
Step S105: substituting the second gas flow into a fitting formula to obtain F max The results are shown in Table 1.
Step S106: will F μ Heel F max The comparison is performed to achieve monitoring of the nasal high flow usage anomalies.
In the examples provided in the present invention, if F μ Greater than F max Determining that the nasal high flow rate is not abnormal in use; otherwise, it is determined that there is an abnormal use of the nasal high flow.
Based on the same inventive concept, the embodiment of the present invention further provides a device for monitoring the usage abnormality of the nasal high flow, which can be used for implementing any one of the methods for monitoring the usage abnormality of the nasal high flow in the above embodiments, and will not be described herein.
Referring to fig. 2, the apparatus includes:
an acquisition module 11 for acquiring a first gas flow rate, a second gas flow rate, a maximum first output pressure and a second output pressure;
the processing module 12 is configured to perform fitting according to the first gas flow and the corresponding maximum first output pressure, and calculate a second average output pressure F according to the plurality of second output pressures μ And is also used for substituting the second gas flow into the fitting formula to obtain F max ;
A determining module 13 for determining F μ Heel F max Comparing to achieve high nasal flowMonitoring with anomalies.
In one possible embodiment, the acquisition module 11 is specifically configured to: 1) Acquiring a first gas flow output when the nasal high flow is abnormal in use and a corresponding maximum first output pressure; 2) And obtaining a second gas flow preset during nasal high flow use and a plurality of corresponding second output pressures.
In one possible embodiment, the processing module 12 is specifically configured to: 1) Fitting according to the first gas flow and the corresponding maximum first output pressure; 2) Obtaining a second average output pressure F from the plurality of second output pressures μ The method comprises the steps of carrying out a first treatment on the surface of the 3) Substituting the second gas flow into the fitting formula to obtain F max 。
In one possible embodiment, the determining module 13 is specifically configured to: will F μ Heel F max Comparing if F μ Greater than F max Determining that the nasal high flow rate is not abnormal in use; otherwise, it is determined that there is an abnormal use of the nasal high flow.
In one possible embodiment, referring to fig. 3, the apparatus further comprises:
and the prompt module is used for giving a prompt when the use abnormality of the nasal high flow is determined.
Based on the same inventive concept, the present embodiment also provides a storage medium having a computer program stored therein, wherein the computer program is configured to perform the method of monitoring for a transnasal high flow usage abnormality described in any of the above embodiments at run-time.
The storage medium may include a high-speed RAM memory and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. It is understood that the storage medium may be a random access memory (Random Access Memory, RAM), a magnetic disk, a hard disk, a Solid State Disk (SSD), or a nonvolatile memory, or the like, which may be a variety of machine readable media that can store the program code.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or storage medium. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme recorded in the foregoing embodiments can be modified, or the technical features of the parts or all parts can be replaced equivalently; such modifications and substitutions do not depart from the spirit of the invention.