Disclosure of Invention
The invention mainly aims to provide a mask type parameter adjusting method, a breathing assistance device and a storage medium, and aims to realize the self-adaptive adjustment of mask parameters of the breathing assistance device and enable a user to obtain better breathing experience.
In order to achieve the above object, the present invention provides a method for adjusting a mask type parameter, which is used for a breathing assistance device, the breathing assistance device being communicated with a mask, the method for adjusting the mask type parameter comprising:
detecting whether a treatment starting instruction is received;
if the treatment starting instruction is received, acquiring output flow data, wherein the output flow data is acquired by a flow monitoring sensor arranged in the breathing assistance device;
calculating air leakage data of the mask according to the output flow data and the respiratory frequency of the user, wherein the air leakage data is the air flow data exhausted by the mask in unit time after the user wears the mask;
and adjusting the mask type parameter according to the air leakage data and a preset relationship, wherein the preset relationship is the corresponding relationship between the air leakage data and the mask type parameter.
Preferably, the breathing assistance device is provided with a treatment starting button, and the detecting whether a treatment starting instruction is received comprises:
detecting whether the start therapy button is triggered;
and if the treatment starting button is triggered, judging that the treatment starting instruction is received.
Preferably, said calculating the air leakage data of the mask from the output flow data and the user's breathing frequency comprises:
acquiring respiratory frequency data preset by the user;
calculating the gas flow data absorbed by the user in unit time according to the respiratory frequency data;
calculating the air leakage data of the mask from the output flow data and the inspiratory flow data.
Preferably, calculating the air leakage data of the mask from the output flow data and the user's breathing frequency comprises:
acquiring the current respiratory frequency data of the user;
calculating the gas flow data absorbed by the user in unit time according to the respiratory frequency data;
calculating the air leakage data of the mask from the output flow data and the inspiratory flow data.
Preferably, the acquiring current respiratory rate data of the user includes:
acquiring a current heart rate parameter of the user;
and calculating the current respiratory rate data of the user according to the heart rate parameters.
Preferably, the acquiring current respiratory rate data of the user includes:
acquiring the current pulse parameters of the user;
and calculating the current respiratory frequency data of the user according to the pulse parameters.
The present invention also provides a breathing assistance apparatus, the breathing assistance apparatus being in communication with a mask, the breathing assistance apparatus comprising:
the instruction detection module is used for detecting whether a treatment starting instruction is received or not;
the flow sensing module is used for acquiring output flow data if the treatment starting instruction is received, wherein the output flow data is acquired by a flow monitoring sensor arranged in the breathing assistance device;
the air leakage calculation module is used for calculating air leakage data of the mask according to the output flow data and the respiratory frequency of the user, wherein the air leakage data is the air flow data exhausted by the mask in unit time after the user wears the mask;
and the parameter adjusting module is used for adjusting the mask type parameter according to the air leakage data and a preset relationship, wherein the preset relationship is the corresponding relationship between the air leakage data and the mask type parameter.
Preferably, the breathing assistance device is provided with a treatment starting button, and the instruction detection module is further configured to:
detecting whether the start therapy button is triggered;
and if the treatment starting button is triggered, judging that the treatment starting instruction is received.
The present application further provides a breathing assistance apparatus, breathing assistance apparatus and face guard intercommunication, breathing assistance apparatus includes:
a memory for storing a computer executable mask-type parameter adjustment program; and
and the processor is used for calling the executable mask type parameter adjusting program stored in the memory so as to execute the mask type parameter adjusting method.
The present invention also provides a storage medium characterized in that: the storage medium stores an executable mask type parameter adjusting program which can be called by one or more processors to realize the mask type parameter adjusting method
Compared with the prior art, the mask type parameter adjusting method provided by the invention is used for a breathing auxiliary device, the breathing auxiliary device is communicated with a mask, and the mask type parameter adjusting method detects whether a treatment starting instruction is received or not; if the treatment starting instruction is received, acquiring output flow data, wherein the output flow data is acquired by a flow monitoring sensor arranged in the breathing assistance device; calculating air leakage data of the mask according to the output flow data and the respiratory frequency of the user, wherein the air leakage data is the air flow data exhausted by the mask in unit time after the user wears the mask; and adjusting the mask type parameter according to the air leakage data and a preset relationship, wherein the preset relationship is the corresponding relationship between the air leakage data and the mask type parameter.
Namely, the output flow data of the breathing assistance device during treatment is obtained, and the mask air leakage is calculated through the output flow data, so that the mask parameters corresponding to the mask can be automatically adjusted according to the mask air leakage, the self-adaptive adjustment of the mask parameters is realized, and a user can obtain better breathing experience.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a mask type parameter adjusting method, a breathing assistance device and a storage medium, wherein the mask type parameter adjusting method is used for the breathing assistance device, the breathing assistance device is communicated with a mask, and the mask type parameter adjusting method detects whether a treatment starting instruction is received or not; if the treatment starting instruction is received, acquiring output flow data, wherein the output flow data is acquired by a flow monitoring sensor arranged in the breathing assistance device; calculating air leakage data of the mask according to the output flow data and the respiratory frequency of the user, wherein the air leakage data is the air flow data exhausted by the mask in unit time after the user wears the mask; and adjusting the mask type parameter according to the air leakage data and a preset relationship, wherein the preset relationship is the corresponding relationship between the air leakage data and the mask type parameter.
Namely, the output flow data of the breathing assistance device during treatment is obtained, and the mask air leakage is calculated through the output flow data, so that the mask parameters corresponding to the mask can be automatically adjusted according to the mask air leakage, the self-adaptive adjustment of the mask parameters is realized, and a user can obtain better breathing experience.
Referring to fig. 1, thebreathing assistance apparatus 10 includes a mask-typeparameter setting assembly 101, anairflow output assembly 102 and an airflow monitoring assembly (not shown), wherein theairflow output assembly 102 is in communication with themask 20 via an airway for delivering an airflow to themask 20 to assist a user in breathing. Theparameter setting assembly 101 is electrically connected to theairflow output assembly 102, and is configured to control the magnitude of the airflow output by theairflow output assembly 102. The airflow monitoring assembly includes a flow monitoring sensor for monitoring the amount of airflow delivered by thebreathing assistance apparatus 10 to themask 20 so that the user can adjust the delivered airflow as desired.
When the user wears themask 20 on the mouth or nose, thestart therapy button 103 provided on thebreathing assistance device 10 is triggered, so that theairflow output component 102 of thebreathing assistance device 10 operates to output airflow to themask 20.
After thebreathing assistance device 10 outputs airflow, the airflow monitoring component detects the magnitude of the output airflow, and the current parameter of theparameter setting component 101 of thebreathing assistance device 10 is adjusted according to the detected airflow and the inhaled airflow during the breathing of the user, so that the current airflow output of theairflow output component 102 is adjusted, and thebreathing assistance device 10 realizes the adaptive adjustment of the airflow output according to the type of themask 20.
Fig. 2 is a mask type parameter adjustment method provided in an embodiment of the present invention, for abreathing assistance device 10, where thebreathing assistance device 10 is in communication with amask 20, and the mask type parameter adjustment method includes:
step S1: it is detected whether a start therapy instruction is received.
Thebreathing assistance apparatus 10 detects whether a start therapy instruction is received, where the start therapy instruction is issued by a user by triggering a start therapy button provided on thebreathing assistance apparatus 10, or a corresponding start therapy instruction is issued to thebreathing assistance apparatus 10 by a remote controller communicatively connected to thebreathing assistance apparatus 10, so that thebreathing assistance apparatus 10 delivers an airflow to themask 20 in response to the start therapy instruction.
In some embodiments, thebreathing assistance device 10 is provided with atherapy activation button 103, and the detecting whether a therapy activation instruction is received includes:
detecting whether the start therapy button is triggered;
and if the treatment starting button is triggered, judging that the treatment starting instruction is received.
Step S2: and if the treatment starting instruction is received, acquiring output flow data, wherein the output flow data is acquired by a flow monitoring sensor arranged in the breathing assistance device.
And step S3: and calculating air leakage data of the mask according to the output flow data and the respiratory frequency of the user, wherein the air leakage data is the air flow data exhausted by the mask in unit time after the user wears the mask.
Referring to fig. 3A, in some embodiments, the calculating the air leakage data of the mask according to the output flow data and the breathing frequency of the user includes:
step S31a: acquiring respiratory frequency data preset by the user;
step S32a: calculating the gas flow data absorbed by the user in unit time according to the respiratory frequency data;
step S33a: calculating the air leakage data of the mask from the output flow data and the inspiratory flow data.
Illustratively, the output flow data detected by the flow monitoring sensor is the sum of the air leakage from themask 20 and the user inhalation flow.
If the output flow data detected by the flow monitoring sensor is detected to be a and the user inhales the gas flow B, the current actual gas leakage C = a-B of themask 20.
Taking the unit time as one minute as an example, the breathing rate of the user is usually 2 to 40 times/minute in a normal state. The respiratory volume of the user, namely the volume of gas inhaled and exhaled each time, is about 500 ml, so that the data of the gas flow inhaled by the user in unit time can be calculated according to the respiratory frequency data of the user.
If the user's breathing rate is preset to 2 breaths/min, the user's breath volume, i.e. the volume of gas inhaled per time, is about 2 x 500 ml. If the output flow data detected by the flow monitoring sensor is 500 ml, the air leakage of themask 20 currently worn by the user is 500 ml.
Referring to fig. 3B, in some embodiments, calculating the air leakage data of the mask according to the output flow data and the breathing frequency of the user includes:
step S31b: acquiring current respiratory frequency data of the user;
step S32b: calculating the gas flow data absorbed by the user in unit time according to the respiratory frequency data;
step S33b: calculating the air leakage data of the mask from the output flow data and the inspiratory flow data.
For example, in order to more accurately obtain the air leakage of the mask, the current respiratory rate data of the user may be detected in real time, and the respiratory rate of the user may be obtained by detecting the pulse or heartbeat rate of the user and converting the pulse or heartbeat rate according to a preset formula.
Calculating inhalation gas flow data of the user to the current respiratory frequency in unit time according to the obtained current respiratory frequency data of the user, and calculating air leakage data of theface mask 20 according to the detected output flow data and the current inhalation gas flow data of the user.
In some embodiments, the acquiring current respiratory rate data of the user includes:
acquiring a current heart rate parameter of the user;
and calculating the current respiratory frequency data of the user according to the heart rate parameters.
Illustratively, the current heart rate data of the user is acquired through the wearable device, the wearable device is in communication connection with thebreathing assistance apparatus 10, and the wearable device sends the acquired current heart rate data of the user to thebreathing assistance apparatus 10. Thebreathing assistance device 10 calculates the breathing rate corresponding to the current heart rate parameter according to the received heart rate parameter and the preset association relationship.
In some embodiments, the acquiring current respiratory rate data of the user includes:
acquiring the current pulse parameters of the user;
and calculating the current respiratory frequency data of the user according to the pulse parameters.
Illustratively, the current pulse data of the user is acquired through a wearable device, the wearable device is in communication connection with thebreathing assistance apparatus 10, and the wearable device transmits the acquired current pulse data of the user to thebreathing assistance apparatus 10. Thebreathing assistance device 10 calculates the breathing frequency corresponding to the current pulse parameter according to the received pulse parameter and the preset association relationship.
And step S4: and adjusting the mask type parameter according to the air leakage data and a preset relationship, wherein the preset relationship is the corresponding relationship between the air leakage data and the mask type parameter.
Thebreathing assistance device 10 adjusts a mask type parameter according to the actual air leakage data of thecurrent mask 20 and a preset relationship, wherein the preset relationship is a corresponding relationship between the air leakage data and the mask type parameter, and the mask type parameter is used for controlling the size of the air flow output by the airflow output component 102, so that the mask parameter is adaptively adjusted, and a user obtains better breathing experience.
Referring to fig. 4, the present invention further provides abreathing assistance device 30, thebreathing assistance device 30 is in communication with a mask, thebreathing assistance device 30 includes:
theinstruction detection module 301 is used for detecting whether a treatment starting instruction is received;
aflow sensing module 302, configured to obtain output flow data if the treatment starting instruction is received, where the output flow data is data collected by a flow monitoring sensor disposed in the breathing assistance device;
a gasleakage calculation module 303, configured to calculate gas leakage data of the mask according to the output flow data and a respiratory frequency of a user, where the gas leakage data is data of a gas flow discharged by the mask within a unit time after the user wears the mask;
and theparameter adjusting module 304 is configured to adjust a mask type parameter according to the air leakage data and a preset relationship, where the preset relationship is a corresponding relationship between the air leakage data and the mask type parameter.
In some embodiments, the breathing assistance device is provided with a treatment starting button, and theinstruction detection module 301 is further configured to:
detecting whether the start therapy button is triggered;
and if the treatment starting button is triggered, judging that the treatment starting instruction is received.
In some embodiments,leak calculation module 303 is further configured to:
acquiring respiratory frequency data preset by the user;
calculating the gas flow data absorbed by the user in unit time according to the respiratory frequency data;
calculating the air leakage data of the mask from the output flow data and the inspiratory flow data.
In some embodiments, the leakageair calculation module 303 is further configured to:
acquiring the current respiratory frequency data of the user;
calculating the gas flow data absorbed by the user in unit time according to the respiratory frequency data;
calculating the air leakage data of the mask from the output flow data and the inspiratory flow data.
In some embodiments,leak calculation module 303 is further configured to:
acquiring a current heart rate parameter of the user;
and calculating the current respiratory rate data of the user according to the heart rate parameters.
In some embodiments,leak calculation module 303 is further configured to:
acquiring the current pulse parameters of the user;
and calculating the current respiratory frequency data of the user according to the pulse parameters.
Referring to fig. 5, the present invention further provides abreathing assistance apparatus 40, wherein thebreathing assistance apparatus 40 includes a processor 401 and a memory 402, and the memory 402 is communicatively connected to the processor 401.
The memory 402 includes at least one type of readable storage medium, which includes flash memory, hard disk, multi-media card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. The memory 402 may in some embodiments be an internal storage unit of thebreathing assistance apparatus 40, such as a hard disk of thebreathing assistance apparatus 40. The memory 402 may also be an external storage device of thebreathing assistance apparatus 40 in other embodiments, such as a plug-in hard disk provided on thebreathing assistance apparatus 40, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so on. The memory 402 may be used not only to store application software installed in thebreathing assistance apparatus 40 and various types of data, such as codes of a computer-readable mask-type parameter adjustment program, etc., but also to temporarily store data that has been output or is to be output.
Processor 401, which in some embodiments may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip, may invoke program code or process data stored in memory 402 to perform the aforementioned mask type parameter adjustment methods by processor 401.
The invention also provides a storage medium, wherein the storage medium stores an executable mask type parameter adjusting program, and the executable mask type parameter adjusting program can be called by one or more processors to realize the mask type parameter adjusting method
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.