Pressure adjusting method, device and equipment for breathing mask, storage medium and program product

By monitoring the gas information of the breathing mask to determine the breathing status and using different control strategies to adjust the pressure, the problem of inaccurate adjustment of existing breathing masks has been solved, realizing personalized and precise pressure adjustment, and improving the effectiveness of breathing equipment and health protection.

CN120837792APending Publication Date: 2025-10-28SHENZHEN SUNNYGRAND HEALTHCARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511040105.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-28
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

Existing methods for regulating the pressure of breathing masks have problems with inaccurate adjustment, especially when the mask leaks air, which makes it impossible to adjust the pressure accurately, affecting the effectiveness of breathing equipment and respiratory health.

Method used

By acquiring gas information monitored by the breathing mask within a preset time period, the respiratory status of the target object is determined based on the gas information, and different control strategies are adopted to adjust the mask pressure: a first control strategy with small pressure increment is adopted in a stable state, and a second control strategy with large pressure increment is adopted in an unstable state, so as to achieve personalized and precise pressure adjustment.

Benefits of technology

It achieves precise pressure regulation under different breathing conditions, improves the respiratory assistance effect, ensures breathing comfort, gradually trains respiratory function, corrects breathing disorders in a timely manner, and meets individual needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120837792A_ABST
    Figure CN120837792A_ABST
Patent Text Reader

Abstract

The invention relates to a pressure adjusting method and device for a breathing mask, equipment, a storage medium and a program product, and the method comprises the steps that gas information of gas output by a target object monitored by the breathing mask within a preset time period is obtained, and then the breathing change state of the target object within the preset time period is determined according to the gas information; if the breathing change state indicates that the target object is in a stable breathing state, the pressure of the breathing mask is adjusted according to a first control strategy, and if the breathing change state indicates that the target object is in an unstable breathing state, the pressure of the breathing mask is adjusted according to a second control strategy. According to the method, the first control strategy and the second control strategy are adopted to adjust the pressure of the breathing mask according to different states, personalized and precise pressure adjustment is achieved, the requirements of the target object in different breathing states can be better met, and the breathing assisting effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things (IoT) technology, and in particular to a method, apparatus, device, storage medium, and program product for regulating the pressure of a breathing mask. Background Technology

[0002] In the modern medical field, respiratory equipment, as a crucial medical device, is used not only in professional settings such as hospitals but also in countless homes. At home, it can create a stable sleep environment for patients with chronic obstructive pulmonary disease (COPD) and alleviate symptoms for asthma sufferers. Due to differences in usage scenarios and user conditions, respiratory equipment requires pressure regulation; accurate and flexible pressure adjustment is key to the effectiveness of respiratory equipment and ensuring respiratory health.

[0003] However, existing methods for adjusting the pressure of breathing masks are inaccurate when there is leakage. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, device, storage medium, and program product for regulating the pressure of a breathing mask that can improve the accuracy of breathing mask pressure regulation, in order to address the above-mentioned technical problems.

[0005] In a first aspect, this application provides a method for adjusting the pressure of a breathing mask, the method comprising:

[0006] Acquire gas information of the target object as monitored by the breathing mask within a preset time period;

[0007] Determine the respiratory status of the target object within a preset time period based on gas information;

[0008] If the change in breathing status indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy;

[0009] If the breathing status indicates that the target is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0010] In some embodiments, determining the respiratory status of the target object within a preset time period based on gas information includes:

[0011] Target information is determined based on gas information; target information includes at least one of the following: gas flow rate at each time point within a preset time period, respiratory rate of the target subject within a preset time period, tidal volume within a preset time period, and minute ventilation within a preset time period;

[0012] Determine the current respiratory state of the target object based on the target information, and determine the respiratory change state based on the current respiratory state.

[0013] In some embodiments, determining the current respiratory state of the target object based on target information includes:

[0014] If the gas flow rate is less than the preset flow rate threshold at each time point in the first consecutive time period, the current breathing state of the target object is determined to be a high-level adverse state.

[0015] If the tidal volume is less than the preset tidal volume threshold at each time point within a consecutive first preset number of times, and the rate of decrease of minute ventilation at each time point within a consecutive second time period exceeds the preset rate of decrease threshold, then the current respiratory status of the target object is determined to be a moderately poor state.

[0016] If the minute ventilation is greater than the preset ventilation threshold at each time point in the third consecutive time period, the target object's current respiratory status is determined to be a low-level adverse state.

[0017] If the respiratory rate, tidal volume, and minute ventilation all meet the corresponding threshold conditions within the preset time period, then the current respiratory status of the target object is determined to be good.

[0018] In some embodiments, determining the respiratory change state based on the current respiratory state includes:

[0019] Based on the target subject's current respiratory status, the system detects the first number of times the target subject experienced a high-level adverse condition, the second number of times the target subject experienced a medium-level adverse condition, and the third number of times the target subject experienced a low-level adverse condition within a continuous fourth time period.

[0020] If the first, second, and third counts all do not exceed the second preset number of times, then the respiratory state of the target object is determined to be in a stable state.

[0021] If any one of the first, second, or third counts exceeds the second preset count, then the target object's respiratory state is determined to be unstable.

[0022] In some embodiments, adjusting the pressure of the breathing mask according to a first control strategy includes:

[0023] Determine the rate of change of the pressure error of the breathing mask, the rate of change of the breathing rate error of the target object, and the rate of change of the tidal volume error of the target object based on the gas information.

[0024] The first target adjustment pressure is determined based on the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target subject, and the rate of change of the tidal volume error of the target subject, and the pressure of the breathing mask is adjusted according to the first target adjustment pressure.

[0025] In some embodiments, adjusting the pressure of the breathing mask according to a second control strategy includes:

[0026] The gas pressure output by the breathing mask within a preset time period is input to the initial controller for prediction, the predicted pressure is obtained, and the pressure error is determined based on the predicted pressure and the standard pressure.

[0027] If the pressure error is not within the preset error range, the parameters of the initial controller are adjusted according to the current breathing state of the target object, and the controller after parameter adjustment is used as the initial controller. Then, the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller is returned.

[0028] If the pressure error is within the preset error range, the predicted pressure will be used as the second target adjustment pressure, and the pressure of the breathing mask will be adjusted according to the second target adjustment pressure.

[0029] Secondly, this application also provides a pressure regulating device for a breathing mask, the device comprising:

[0030] The monitoring module is used to acquire gas information of the target object output by the breathing mask within a preset time period;

[0031] The determination module is used to determine the respiratory change status of the target object within a preset time period based on gas information.

[0032] The first adjustment module is used to adjust the pressure of the breathing mask according to the first control strategy if the breathing change indicates that the target object is in a stable breathing state.

[0033] The second adjustment module is used to adjust the pressure of the breathing mask according to the second control strategy if the breathing change state indicates that the target object is in an unstable breathing state; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0034] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0035] Acquire gas information of the target object as monitored by the breathing mask within a preset time period;

[0036] Determine the respiratory status of the target object within a preset time period based on gas information;

[0037] If the change in breathing status indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy;

[0038] If the breathing status indicates that the target is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0039] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0040] Acquire gas information of the target object as monitored by the breathing mask within a preset time period;

[0041] Determine the respiratory status of the target object within a preset time period based on gas information;

[0042] If the change in breathing status indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy;

[0043] If the breathing status indicates that the target is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0044] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, performs the following steps:

[0045] Acquire gas information of the target object as monitored by the breathing mask within a preset time period;

[0046] Determine the respiratory status of the target object within a preset time period based on gas information;

[0047] If the change in breathing status indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy;

[0048] If the breathing status indicates that the target is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0049] The aforementioned method, apparatus, device, storage medium, and program product for regulating the pressure of a breathing mask involve acquiring gas information of the target object's output gas monitored by the breathing mask within a preset time period. Based on this gas information, the method determines the target object's respiratory state within the preset time period. If the respiratory state indicates a stable respiratory state, the pressure of the breathing mask is adjusted according to a first control strategy. If the respiratory state indicates an unstable respiratory state, the pressure of the breathing mask is adjusted according to a second control strategy. The pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy. By acquiring the gas information of the target object's output gas monitored by the breathing mask, the method can accurately determine the target object's respiratory state within a preset time period, distinguishing between stable and unstable states. In a stable state, the first control strategy is used for fine-tuning the pressure, ensuring breathing comfort while gradually improving respiratory function. In an unstable state, rapid pressure adjustment can promptly correct respiratory disturbances, creating favorable conditions for the recovery of respiratory function. The above method uses a first control strategy and a second control strategy to adjust the pressure of the breathing mask according to different states, realizing personalized and precise pressure adjustment, which can better meet the needs of the target object in different breathing states and improve the effect of breathing assistance. Attached Figure Description

[0050] Figure 1 These are internal structural diagrams of the breathing device in some embodiments;

[0051] Figure 2 This is one of the flowcharts illustrating the pressure adjustment method of a breathing mask in some embodiments;

[0052] Figure 3 This is a second schematic flowchart of the pressure adjustment method for a breathing mask in some embodiments;

[0053] Figure 4 This is the third flowchart illustrating the pressure adjustment method of the breathing mask in some embodiments;

[0054] Figure 5 This is the fourth flowchart illustrating the pressure adjustment method of the breathing mask in some embodiments;

[0055] Figure 6 This is a structural block diagram of the pressure regulating device of the breathing mask in some embodiments. Detailed Implementation

[0056] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.

[0057] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.

[0058] In the embodiments of this application, the term "at least one" means one or more. For example, at least one of A, B and C can represent six situations: A exists alone, B exists alone, C exists alone, A and B exist simultaneously, A and C exist simultaneously, B and C exist simultaneously, and A, B and C exist simultaneously.

[0059] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0060] In the modern medical field, respiratory equipment, as a crucial medical device, is used not only in professional settings such as hospitals but also in countless homes. At home, it can create a stable sleep environment for patients with chronic obstructive pulmonary disease (COPD) and alleviate symptoms for asthma attacks. Due to varying usage scenarios and user conditions, respiratory equipment requires pressure regulation; accurate and flexible pressure adjustment is key to the effectiveness of the equipment and ensuring respiratory health. However, existing pressure adjustment methods for breathing masks suffer from inaccuracies when leaks occur.

[0061] In view of this, embodiments of this application propose a method, apparatus, device, storage medium, and program product for adjusting the pressure of a breathing mask, which can adjust the pressure of the breathing mask according to different states by adopting a first control strategy and a second control strategy respectively, thereby realizing personalized and precise pressure adjustment.

[0062] It should be noted that the beneficial effects or technical problems solved by the embodiments of this application are not limited to this one, but may also be other implicit or related problems. For details, please refer to the description of the embodiments below.

[0063] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0064] In some embodiments, the pressure adjustment method of the breathing mask provided in this application can be applied to, for example... Figure 1 The breathing device shown includes a breathing mask, and the pressure of the breathing mask is regulated by the breathing device. This breathing device can be a terminal or a server, and its internal structure diagram can be shown below. Figure 1 As shown, the respiratory device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a data analysis method for a respiratory mask. The display unit is used to generate a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the breathing device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the outer shell of the breathing device, or an external keyboard, touchpad, or mouse, etc.

[0065] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the respiratory device to which the present application is applied. A specific respiratory device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0066] In some embodiments, such as Figure 2 As shown, a pressure regulation method for a breathing mask is provided, which can be applied to... Figure 1 Taking a respiratory device as an example, the explanation includes the following steps:

[0067] S201, acquire gas information of the target object output by the breathing mask within a preset time period.

[0068] The gas information includes at least one of the following: gas pressure inside the mask, gas flow rate inside the mask, output pressure of the breathing device, and output flow rate of the breathing device.

[0069] In this embodiment, various sensors can be pre-configured on the breathing mask and breathing device to monitor relevant information of the gas output from the target object within a preset time period. Specifically, a pressure sensor installed inside the breathing mask can measure the pressure of the gas inside the mask in real time and record the data to obtain the gas pressure inside the mask within the preset time period; a flow rate sensor can be used to monitor the flow velocity of the gas inside the mask, obtaining flow rate data at each time point to obtain the gas flow rate inside the mask within the preset time period; a pressure sensor can be installed at the gas output end of the breathing device to measure the pressure of the gas output from the breathing device to obtain the output pressure of the breathing device within the preset time period; and a flow rate sensor can be installed at the output end of the breathing device to record the flow rate of the output gas to obtain the output flow rate of the breathing device within the preset time period.

[0070] Optionally, to ensure the accuracy and authenticity of the gas information acquired by the breathing device, filtering can be performed on each gas information to achieve noise reduction. Specifically, after acquiring the gas information of the target object's output gas within a preset time period, the breathing device can first determine the gas flow rate state of the target object within the preset time period based on the gas flow rate inside the mask. Then, it filters each gas information based on the gas flow rate state of the target object within the preset time period to obtain filtered gas information. Subsequent analysis is based on the filtered gas information. For example, when the gas flow rate inside the mask is greater than a preset speed threshold, it indicates a high flow rate state; when the gas flow rate inside the mask is less than or equal to the preset speed threshold, it indicates a low flow rate state. If the gas flow rate state is high, the gas information is filtered according to a first filtering threshold corresponding to each gas information to obtain filtered gas information; if the gas flow rate state is low, the gas information is filtered according to a second filtering threshold corresponding to each gas information to obtain filtered gas information.

[0071] S202, determine the respiratory status of the target object within a preset time period based on gas information.

[0072] Among them, respiratory changes include stable state and unstable state.

[0073] In this embodiment, after obtaining various gas information of the target object's output gas within a preset time period based on the above steps, the respiratory device can calculate multiple respiratory parameters based on each gas information, such as respiratory rate (the number of breaths per unit time), tidal volume (the amount of gas inhaled or exhaled with each breath), and minute ventilation (the product of tidal volume and respiratory rate). Then, these multiple respiratory parameters are compared with preset normal threshold ranges. If any respiratory parameter frequently exceeds the normal threshold range within the preset time period, or fluctuates significantly, it indicates that the respiratory state is unstable. For example, a sudden and significant increase or decrease in respiratory rate, or a tidal volume significantly lower or higher than normal levels. If all respiratory parameters are within the normal threshold range within the preset time period, it indicates that the respiratory state is stable. It should be noted that the normal threshold range can be determined based on preset medical standards and the individual characteristics of the target object (such as age, gender, and physical condition).

[0074] S203, if the breathing change indicates that the target object is in a stable breathing state, then adjust the pressure of the breathing mask according to the first control strategy.

[0075] The first control strategy refers to pressure regulation using small pressure increments.

[0076] In this embodiment, if the breathing device determines, based on the above steps, that the breathing change indicates the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy. Specifically, firstly, a suitable target pressure can be determined by referring to the target object's normal breathing parameters and medical advice. This target pressure should provide comfortable and effective breathing support for the target object. Secondly, the current pressure of the breathing mask is fine-tuned with relatively small pressure increments to gradually approach the target pressure. This fine-tuning method can avoid discomfort caused by sudden pressure changes and ensure a smooth transition in the breathing process. Finally, during the adjustment process, the target object's breathing parameters and gas information are continuously monitored, and the pressure of the breathing mask is further adjusted based on the monitoring results to ensure that the pressure of the breathing mask always matches the target object's breathing needs.

[0077] S204, if the breathing change status indicates that the target object is in an unstable breathing state, then adjust the pressure of the breathing mask according to the second control strategy.

[0078] The second control strategy refers to pressure regulation using a large pressure increment. The pressure increment regulated by the second control strategy is greater than the pressure increment regulated by the first control strategy.

[0079] In this embodiment, if the breathing device determines, based on the above steps, that the breathing change indicates the target object is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy. Specifically, because the target object's breathing is unstable, the pressure of the breathing mask needs to be adjusted more quickly to meet its breathing needs. Therefore, the second control strategy uses a larger pressure increment for adjustment, allowing the breathing mask pressure to reach a level that may help stabilize breathing more quickly. Furthermore, while adjusting the pressure, the real-time changes in the target object's breathing parameters and gas information are closely monitored. Based on these changes, the amplitude and direction of the pressure adjustment are continuously adjusted to adapt to the dynamic changes in the target object's breathing state. For example, if the respiratory rate is found to be persistently too fast, the pressure may need to be appropriately increased; if the tidal volume is too low, the pressure may need to be further increased to improve ventilation. Finally, after each pressure adjustment, the target object's breathing state is evaluated to see if it has improved. If breathing gradually stabilizes, fine-tuning continues according to the current adjustment strategy; if the breathing condition still does not improve effectively, the pressure adjustment scheme may need to be re-evaluated or other auxiliary measures may need to be taken.

[0080] The pressure adjustment method for a breathing mask provided in this application acquires gas information of the target object's output gas monitored by the breathing mask within a preset time period. Then, based on the gas information, it determines the target object's respiratory state within the preset time period. If the respiratory state indicates that the target object is in a stable respiratory state, the pressure of the breathing mask is adjusted according to a first control strategy. If the respiratory state indicates that the target object is in an unstable respiratory state, the pressure of the breathing mask is adjusted according to a second control strategy. The pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy. In this method, by acquiring gas information of the target object's output gas monitored by the breathing mask, the respiratory state of the target object within a preset time period can be accurately determined, distinguishing between stable and unstable states. Fine pressure adjustment using the first control strategy in a stable state can gradually train respiratory function while ensuring breathing comfort; while rapid pressure adjustment in an unstable state can promptly correct respiratory disturbances, creating favorable conditions for the recovery of respiratory function. The above method adjusts the pressure of the breathing mask using the first and second control strategies according to different states, achieving personalized and precise pressure adjustment, which can better meet the needs of the target object in different respiratory states and improve the effectiveness of respiratory assistance.

[0081] In some embodiments, a specific implementation method is also provided for determining the respiratory change state of a target object within a preset time period based on gas information, such as... Figure 3 As shown, the "determining the respiratory status of the target object within a preset time period based on gas information" in S202 above includes:

[0082] S301, determine target information based on gas information.

[0083] The target information includes at least one of the following: gas flow rate at each time point within a preset time period, respiratory rate of the target subject within a preset time period, tidal volume within a preset time period, and minute ventilation within a preset time period. Respiratory rate refers to the number of breaths per minute, tidal volume refers to the amount of gas inhaled or exhaled with each breath, and minute ventilation refers to the total amount of gas inhaled or exhaled per unit time (per minute).

[0084] In this embodiment of the application, after obtaining gas information including the gas pressure inside the mask, the gas flow rate inside the mask, the output pressure of the breathing device, and the output flow rate of the breathing device, the breathing device can obtain the target information through corresponding calculations and analyses, as follows:

[0085] The calculation method for gas flow velocity at each time point within a preset time period is as follows: If the acquired gas information directly includes the gas flow velocity inside the mask, then the flow velocity value corresponding to each time point can be directly recorded to form gas flow velocity data at each time point within the preset time period; if there is no direct flow velocity data but there is pressure data, the gas flow velocity at each time point can be indirectly obtained by calculation based on the principle of fluid mechanics, the relationship between pressure and flow velocity (such as Bernoulli's equation), and relevant parameters of the breathing mask and breathing equipment (such as pipe diameter, gas density, etc.).

[0086] The method for calculating the respiratory rate of a target subject within a preset time period is as follows: Observe the gas flow rate curve. A complete cycle of the flow rate from a trough to a peak and back to a trough can be considered as one breath. Count the number of such complete cycles within the preset time period, and then divide the number of cycles by the duration of the preset time period (converted to minutes) to obtain the respiratory rate of the target subject within that time period (unit: breaths / minute). Changes in gas pressure within the mask can also be used to assist in determining the respiratory cycle. The periodic fluctuation of pressure corresponds to the breathing process. By identifying the period of pressure fluctuation, the number of breaths can be determined, and thus the respiratory rate can be calculated. Specifically, from the acquired current gas flow rate data within the mask, identify the start and end points of each breath. The gas flow rate is positive during inhalation and negative during exhalation. The moment the gas flow rate changes from negative to positive can be considered the start of a breath, and the moment it changes from positive to negative can be considered the end of a breath. Count the number of breaths identified within one minute, which is the respiratory rate. For example, if 20 breaths are detected at the start and end within one minute, the respiratory rate is 20 breaths / minute.

[0087] The method for calculating tidal volume within a preset time period is as follows: Integrate the gas flow rate at each time point within the preset time period. Integrate the flow rate versus time curve over a complete respiratory cycle (from the start of an inhalation to the end of an exhalation). The integral value is the tidal volume for that breath. Summing up the tidal volumes of each breath within the preset time period yields the total tidal volume for that period. If flow rate data is unavailable, tidal volume can also be calculated using the pressure-volume curve based on the relationship between pressure changes and the volume change of the breathing mask. However, this method is more complex and requires more precise equipment and models. Specifically, for a complete breathing process (from the start of inhalation to the end of exhalation), integrate the gas flow rate versus time curve. Mathematically, the gas flow rate-time curve can be divided into many small time intervals. The gas flow rate within each interval can be approximated as a constant value. Then, multiply the gas flow rate within each interval by the duration of that interval, and sum the results of all intervals to obtain the tidal volume for one breath. In practical calculations, numerical integration methods, such as the trapezoidal rule, can be used.

[0088] The minute ventilation within a preset time period is calculated as follows: divide the tidal volume within the preset time period by the duration of that time period (converted to minutes) to obtain the average minute ventilation, which is the minute ventilation within the preset time period. Optionally, the minute ventilation can be calculated by multiplying the tidal volume by the respiratory rate.

[0089] S302, determine the current breathing state of the target object based on the target information, and determine the breathing change state based on the current breathing state.

[0090] The current respiratory status includes both poor and good status. Poor status is further divided into high-level poor status, medium-level poor status, and low-level poor status.

[0091] In this embodiment, normal reference ranges for respiratory rate, tidal volume, and minute ventilation can be pre-set for people of different ages, genders, and physical conditions. After the respiratory device calculates the respiratory rate, tidal volume, and minute ventilation of the target subject within a preset time period based on the above steps, these parameters can be compared with the set normal reference ranges. If these parameters are all within the normal range and the fluctuations are small, the target subject's current respiratory state is determined to be good. If one or more parameters exceed the normal range, or the parameter fluctuations are large, the current respiratory state is considered poor. Furthermore, based on more refined normal reference ranges, the specific level of the poor state can be determined as high-level, medium-level, or low-level poor state.

[0092] Specifically, "determining the current respiratory state of the target object based on the target information" in S302 above may include:

[0093] S3021, if the gas flow rate at each time point in the first consecutive time period is less than the preset flow rate threshold, then the current breathing state of the target object is determined to be a high-level adverse state.

[0094] The highest level of adverse condition is sleep apnea. The first time period and the preset flow rate threshold can be determined based on preset medical standards and the individual characteristics of the target subject (such as age, gender, physical condition, etc.). For example, the first time period is 10 seconds, and the preset flow rate threshold is 5 ml / second.

[0095] In this embodiment of the application, the breathing device continuously monitors the gas flow rate signal. When the absolute value of the gas flow rate signal (i.e., the amplitude of the flow rate signal) is less than 5 mL / s, timing begins. If this low flow rate state continues for more than 10 seconds, the current breathing state of the target object is determined to be a high-level adverse state.

[0096] S3022, if the tidal volume at each time point within a consecutive first preset number of times is less than the preset tidal volume threshold, and the rate of decrease of minute ventilation at each time point within a consecutive second time period exceeds the preset rate of decrease threshold, then the current respiratory state of the target object is determined to be a medium-level poor state.

[0097] The intermediate-level adverse condition is hypoventilation. The first preset number of breaths, the preset tidal volume threshold, the second time period, and the preset descent rate can be determined based on preset medical standards and the individual characteristics of the target subject (such as age, gender, physical condition, etc.). For example, the first preset number of breaths is 3, the preset tidal volume threshold is weight (kg) * 4 ml / kg, the second time period is 1 minute, and the preset descent rate threshold is 30%.

[0098] In this embodiment, firstly, the tidal volume and minute ventilation per minute are calculated using the method described above. Then, it is determined whether the tidal volume of three consecutive breaths is less than a preset threshold (e.g., ≤ weight (kg) * 4 mL / kg), and whether the minute ventilation has decreased by more than 30% compared to the previous average. If both conditions are met, the target subject's current respiratory state is determined to be a low-level adverse condition. For example, if the target subject weighs 60 kg, the preset threshold is 4 × 60 = 240 mL, and the tidal volumes of three consecutive breaths are 200 mL, 220 mL, and 230 mL respectively, and the minute ventilation has decreased by 35% compared to the previous value, then it can be determined to be a low-level adverse condition.

[0099] S3023, If the minute ventilation at each time point in the third consecutive time period is greater than the preset ventilation threshold, then the current respiratory status of the target object is determined to be a low-level adverse state.

[0100] The lowest level of adverse condition is considered a hyperventilation state. The third time period and the preset ventilation threshold can be determined based on preset medical standards and the individual characteristics of the target subject (such as age, gender, physical condition, etc.). For example, the third time period is 5 minutes, and the preset ventilation threshold is 12 L / min.

[0101] In this embodiment, the current minute ventilation is calculated and compared with the normal range. If the minute ventilation exceeds the upper limit of the normal range (e.g., the normal range is 4-10 L / min, and the upper limit is set to 12 L / min) and continues for a period of time (e.g., more than 5 minutes), the target subject's current respiratory status is determined to be a low-level adverse condition. For example, if the target subject's minute ventilation reaches 13 L / min and continues for 6 minutes, it can be determined to be a low-level adverse condition.

[0102] S3024, if the respiratory rate, tidal volume and minute ventilation all meet the corresponding threshold conditions within the preset time period, then the current respiratory status of the target object is determined to be good.

[0103] The preset time period can be determined based on preset medical standards and the individual characteristics of the target group (such as age, gender, physical condition, etc.). For example, the preset time period is 15 minutes.

[0104] Specifically, "determining the respiratory change state based on the current respiratory state" in S302 above may include:

[0105] S3025, based on the target object's current respiratory status, detect the target object's first occurrence of a high-level adverse state, the second occurrence of a medium-level adverse state, and the third occurrence of a low-level adverse state within a continuous fourth time period.

[0106] The fourth time period, the first count, the second count, and the third count can be determined based on preset medical standards and the individual characteristics of the target group (such as age, gender, physical condition, etc.). For example, the fourth time period is 15 minutes.

[0107] In this embodiment, the breathing device can continuously monitor the frequency and duration of abnormal breathing events, such as high-level adverse conditions, medium-level adverse conditions, and low-level adverse conditions, based on the target object's current breathing status. Specifically, it can detect the first occurrence of a high-level adverse condition, the second occurrence of a medium-level adverse condition, and the third occurrence of a low-level adverse condition within a short period of time (e.g., within 15 minutes).

[0108] S3026, if the first count, the second count, and the third count all do not exceed the second preset number of times, then the respiratory change state of the target object is determined to be in a stable state.

[0109] The second preset number of times is determined based on preset medical standards and the individual characteristics of the target object (such as age, gender, physical condition, etc.). For example, the second preset number of times is 3.

[0110] S3027, if any of the first, second, or third counts exceeds the second preset count, then it is determined that the respiratory change state of the target object is not in a stable state.

[0111] The method described in this application comprehensively assesses the respiratory function of a target subject from different perspectives by considering multiple target information such as gas flow rate, respiratory rate, tidal volume, and minute ventilation at various time points within a preset time period. Different target information reflects different aspects of the respiratory process; for example, gas flow rate reflects the speed of gas flow, tidal volume reflects the volume of air in each breath, and minute ventilation is the total ventilation per unit time. Utilizing this multi-dimensional information avoids the limitations of single-indicator assessment, making the assessment of the target subject's current respiratory state more accurate and reliable.

[0112] Furthermore, the respiratory distress is categorized into three levels: high, moderate, and low, with specific criteria for each level. This grading system allows for a more detailed description of the severity of the respiratory condition, leading to more accurate pressure regulation.

[0113] In some embodiments, a specific implementation of adjusting the pressure of the breathing mask according to a first control strategy is also provided, such as... Figure 4 As shown, "adjusting the pressure of the breathing mask according to the first control strategy" in S204 above includes:

[0114] S401, determine the rate of change of pressure error of the breathing mask, the rate of change of respiratory rate error of the target object, and the rate of change of tidal volume error of the target object based on gas information.

[0115] The pressure error rate of change describes how the pressure error changes over time. The respiratory rate error rate of change reflects how quickly the respiratory rate error changes. The tidal volume error rate of change represents the rate at which the tidal volume error changes.

[0116] In this embodiment, after obtaining gas information, the breathing device can calculate the pressure error of the breathing mask based on the current (time period or moment) gas pressure and the standard pressure; for example, pressure error = current gas pressure - standard pressure. It can also calculate the respiratory rate error of the target subject based on the respiratory rate of the target subject and the standard respiratory rate; for example, respiratory rate error = target subject respiratory rate - standard respiratory rate. Finally, it can calculate the tidal volume error of the target subject based on the tidal volume of the target subject and the standard tidal volume; for example, tidal volume error = target subject tidal volume - standard tidal volume.

[0117] After obtaining the pressure error, respiratory rate error, and tidal volume error, the breathing equipment can calculate the rate of change of the mask's pressure error by subtracting the previous pressure error from the current pressure error and then dividing by the time interval from the previous moment to the current moment; for example, the rate of change of pressure error = (current pressure error - previous pressure error) / time interval. Similarly, the rate of change of the target's respiratory rate error can be calculated by subtracting the previous respiratory rate error from the current respiratory rate error and then dividing by the time interval from the previous moment; for example, the rate of change of respiratory rate error = (current respiratory rate error - previous respiratory rate error) / time interval. Finally, the rate of change of the target's tidal volume error can be calculated by subtracting the previous tidal volume error from the current tidal volume error and then dividing by the time interval from the previous moment to the current moment; for example, the rate of change of tidal volume error = (current tidal volume error - previous tidal volume error) / time interval.

[0118] S402, the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target object, and the rate of change of the tidal volume error of the target object are used to determine the first target adjustment pressure, and the pressure of the breathing mask is adjusted according to the first target adjustment pressure.

[0119] In this embodiment, the breathing device can use a weighted summation method, that is, assign different weights to the pressure error change rate, respiratory rate error change rate, and tidal volume error change rate, then multiply each error change rate by its corresponding weight and add them together, and add the current baseline pressure to obtain the first target adjustment pressure. The calculated first target adjustment pressure is then sent to the pressure adjustment module of the breathing mask. The module will automatically adjust the gas pressure in the breathing mask according to the target adjustment pressure so that the pressure of the breathing mask reaches the first target adjustment pressure.

[0120] The method described in this application, by calculating the rate of change of pressure error, respiratory rate error, and tidal volume error of the breathing mask, can capture the dynamic changes of these physiological parameters in real time. The first target adjustment pressure determined based on these rates of change can then be adjusted promptly, providing pressure support more closely aligned with the target individual's current breathing needs, thus achieving precise pressure regulation. Traditional respiratory support methods adjust pressure based on fixed parameters, failing to respond promptly to dynamic changes in respiratory parameters and easily leading to error accumulation. However, by monitoring the rate of change of errors, adjustments can be made before errors accumulate significantly, ensuring that the pressure output by the breathing mask always matches the actual breathing needs of the target individual, improving the accuracy of respiratory support.

[0121] In some embodiments, a specific implementation of adjusting the pressure of the breathing mask according to a second control strategy is also provided, such as... Figure 5 As shown, "adjusting the pressure of the breathing mask according to the second control strategy" in S204 above includes:

[0122] S501 inputs the gas pressure output by the breathing mask within a preset time period to the initial controller for prediction, obtains the predicted pressure, and determines the pressure error based on the predicted pressure and the standard pressure.

[0123] The initial controller can be a mathematical model built based on a certain algorithm (such as neural network, PID control algorithm, etc.), which can predict future pressure based on the input historical pressure data and obtain the predicted pressure.

[0124] In this embodiment, the breathing device can input the gas pressure output from the breathing mask within a preset time period into an initial controller. The initial controller uses internal algorithms and models to analyze and process the input gas pressure data, outputs a predicted pressure, and then compares the predicted pressure with a preset standard pressure, calculating the difference between the two to obtain the pressure error. Furthermore, the breathing device can compare the calculated pressure error with a preset error range. If the absolute value of the pressure error is less than or equal to the upper limit of the preset error range, the pressure error is considered to be within the preset error range; otherwise, the pressure error is considered to be outside the preset error range.

[0125] S502, if the pressure error is not within the preset error range, adjust the parameters of the initial controller according to the current breathing state of the target object, and use the controller after parameter adjustment as the initial controller, and return to the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller.

[0126] The initial controller parameters include the proportional gain, integral gain, and derivative gain. The preset error range indicates the permissible deviation between the predicted pressure and the standard pressure.

[0127] In this embodiment, if the breathing device determines that the pressure error is not within a preset error range, the parameters of the initial controller can be adjusted according to the current breathing state of the target object. The controller with the adjusted parameters is then used as the initial controller, and the process returns to the step of inputting the gas pressure output by the breathing mask within a preset time period into the initial controller, i.e., returning to step S501. Specifically, the method for adjusting the parameters of the initial controller according to the current breathing state of the target object includes: if the target object is in a high-level unfavorable state in the current breathing state, the proportional coefficient is significantly increased, the integral coefficient is slightly increased, and the derivative coefficient is slightly increased; if the target object is in a medium-level unfavorable state in the current breathing state, the proportional coefficient, the integral coefficient, and the derivative coefficient are slightly increased; if the target object is in a low-level unfavorable state in the current breathing state, the proportional coefficient is slightly increased, the integral coefficient is slightly decreased, and the derivative coefficient is slightly increased; if the target object is in a good state in the current breathing state, the proportional parameter is not adjusted, and the integral coefficient and the derivative coefficient are slightly decreased.

[0128] S503, if the pressure error is within the preset error range, the predicted pressure is used as the second target adjustment pressure, and the pressure of the breathing mask is adjusted according to the second target adjustment pressure.

[0129] In this embodiment, if the breathing device determines that the pressure error is within a preset error range, the predicted pressure can be used as the second target adjustment pressure. This pressure value is considered to be the pressure closest to the standard pressure under the current conditions and capable of meeting the breathing needs of the target subject. The calculated second target adjustment pressure is then sent to the pressure adjustment module of the breathing mask. This module automatically adjusts the gas pressure inside the breathing mask according to the target adjustment pressure, so that the pressure of the breathing mask reaches the second target adjustment pressure.

[0130] The method described in this application, by continuously predicting pressure and adjusting according to errors, enables the pressure output by the breathing mask to more accurately approach the standard pressure, meeting the personalized breathing needs of the target individual. Furthermore, by adjusting the controller parameters in real time based on the target individual's current breathing state, the system can adapt to changes in the target individual's breathing under different conditions and promptly adjust the pressure of the breathing mask, ensuring the stability and effectiveness of respiratory support.

[0131] In summary, based on all the above embodiments, a method for adjusting the pressure of a breathing mask is also provided, the method comprising:

[0132] S601, acquire gas information of the gas output from the target object monitored by the breathing mask within a preset time period.

[0133] S602, determine target information based on gas information. The target information includes at least one of the following: gas flow rate at each time point within a preset time period, respiratory rate of the target subject within the preset time period, tidal volume within the preset time period, and minute ventilation within the preset time period.

[0134] S603, if the gas flow rate at each time point in the first consecutive time period is less than the preset flow rate threshold, then the current breathing state of the target object is determined to be a high-level adverse state.

[0135] S604. If the tidal volume at each time point within a consecutive first preset number of times is less than the preset tidal volume threshold, and the rate of decrease in minute ventilation at each time point within a consecutive second time period exceeds the preset rate of decrease threshold, then the current respiratory status of the target object is determined to be a moderately poor state.

[0136] S605, if the minute ventilation at each time point in the third consecutive time period is greater than the preset ventilation threshold, then the current respiratory status of the target object is determined to be a low-level adverse state.

[0137] S606 If the respiratory rate, tidal volume and minute ventilation all meet the corresponding threshold conditions within a preset time period, then the current respiratory status of the target object is determined to be good.

[0138] S607, based on the target object's current respiratory status, detect the target object's first occurrence of a high-level adverse state, the second occurrence of a medium-level adverse state, and the third occurrence of a low-level adverse state within a continuous fourth time period.

[0139] S608, if the first, second, and third counts do not exceed the second preset number of times, then the respiratory change state of the target object is determined to be in a stable state.

[0140] S609, if any one of the first, second, or third counts exceeds the second preset count, then it is determined that the respiratory change state of the target object is not in a stable state.

[0141] S610, if the breathing change indicates that the target object is in a stable breathing state, then determine the rate of change of the breathing mask pressure error, the rate of change of the target object's breathing frequency error, and the rate of change of the target object's tidal volume error based on the gas information.

[0142] S611, determine the first target adjustment pressure based on the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target object, and the rate of change of the tidal volume error of the target object, and adjust the pressure of the breathing mask according to the first target adjustment pressure.

[0143] S612, if the breathing change state indicates that the target object is in an unstable breathing state, the gas pressure output by the breathing mask within a preset time period is input to the initial controller for prediction, the predicted pressure is obtained, and the pressure error is determined based on the predicted pressure and the standard pressure.

[0144] S613, if the pressure error is not within the preset error range, adjust the parameters of the initial controller according to the current breathing state of the target object, and use the controller after parameter adjustment as the initial controller, and return to execute the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller.

[0145] S614, if the pressure error is within a preset error range, the predicted pressure is used as the second target adjustment pressure, and the pressure of the breathing mask is adjusted according to the second target adjustment pressure. The pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0146] The methods described in each of the above steps have been described in the foregoing embodiments. For details, please refer to the foregoing descriptions. They will not be repeated here.

[0147] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0148] Based on the same inventive concept, this application also provides a pressure regulating device for a breathing mask that implements the pressure regulating method of the breathing mask described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more breathing mask pressure regulating device embodiments provided below can be found in the limitations of the breathing mask pressure regulating method above, and will not be repeated here.

[0149] In some embodiments, such as Figure 6 As shown, a pressure regulating device for a breathing mask is provided, comprising:

[0150] The monitoring module 11 is used to acquire gas information of the gas output by the target object monitored by the breathing mask within a preset time period.

[0151] The determination module 12 is used to determine the respiratory change status of the target object within a preset time period based on gas information.

[0152] The first adjustment module 13 is used to adjust the pressure of the breathing mask according to the first control strategy if the breathing change indicates that the target object is in a stable breathing state.

[0153] The second adjustment module 14 is used to adjust the pressure of the breathing mask according to the second control strategy if the breathing change state indicates that the target object is in an unstable breathing state; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0154] In some embodiments, the determining module includes:

[0155] The first determining unit is used to determine target information based on gas information; the target information includes at least one of the following: gas flow rate at each time point within a preset time period, respiratory rate of the target object within a preset time period, tidal volume within a preset time period, and minute ventilation within a preset time period.

[0156] The second determining unit is used to determine the current respiratory state of the target object based on the target information, and to determine the respiratory change state based on the current respiratory state.

[0157] In some embodiments, the second determining unit includes:

[0158] The first determining subunit is used to determine that the current breathing state of the target object is a high-level adverse state if the gas flow rate at each time point in a continuous first time period is less than a preset flow rate threshold.

[0159] The second determining subunit is used to determine the current respiratory status of the target object as a medium-level poor state if the tidal volume at each time point within a consecutive first preset number of times is less than a preset tidal volume threshold, and the rate of decrease of minute ventilation at each time point within a consecutive second time period exceeds a preset rate of decrease threshold.

[0160] The third determining subunit is used to determine the target object's current respiratory status as a low-level adverse state if the minute ventilation at each time point in a continuous third time period is greater than the preset ventilation threshold.

[0161] The fourth determining subunit is used to determine the current respiratory state of the target object as good if the respiratory rate, tidal volume and minute ventilation all meet the corresponding threshold conditions within a preset time period.

[0162] In some embodiments, the second determining unit further includes:

[0163] The detection subunit is used to detect, based on the target object's current respiratory status, the first number of times the target object experiences a high-level adverse condition, the second number of times it experiences a medium-level adverse condition, and the third number of times it experiences a low-level adverse condition within a continuous fourth time period.

[0164] The fifth determining subunit is used to determine that the respiratory change state of the target object is in a stable state if the first count, the second count, and the third count all do not exceed the second preset number of times.

[0165] The sixth determining subunit is used to determine that the respiratory change state of the target object is not in a stable state if any of the first, second, or third counts exceeds the second preset count.

[0166] In some embodiments, the first adjustment module includes:

[0167] The third determining unit is used to determine the rate of change of the pressure error of the breathing mask, the rate of change of the breathing rate error of the target object, and the rate of change of the tidal volume error of the target object based on the gas information.

[0168] The first adjustment unit is used to determine the first target adjustment pressure based on the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target object, and the rate of change of the tidal volume error of the target object, and adjust the pressure of the breathing mask according to the first target adjustment pressure.

[0169] In some embodiments, the second adjustment module includes:

[0170] The prediction unit is used to input the gas pressure output by the breathing mask within a preset time period into the initial controller for prediction, obtain the predicted pressure, and determine the pressure error based on the predicted pressure and the standard pressure.

[0171] The loop unit is used to adjust the parameters of the initial controller according to the current breathing state of the target object if the pressure error is not within the preset error range, and use the controller after parameter adjustment as the initial controller, and return to execute the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller.

[0172] The second adjustment unit is used to adjust the pressure of the breathing mask according to the predicted pressure as the second target adjustment pressure if the pressure error is within the preset error range.

[0173] The various modules in the pressure regulating device of the aforementioned breathing mask can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0174] In some embodiments, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0175] Acquire gas information of the target object as monitored by the breathing mask within a preset time period;

[0176] Determine the respiratory status of the target object within a preset time period based on gas information;

[0177] If the change in breathing status indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy;

[0178] If the breathing status indicates that the target is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0179] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0180] Target information is determined based on gas information; target information includes at least one of the following: gas flow rate at each time point within a preset time period, respiratory rate of the target subject within a preset time period, tidal volume within a preset time period, and minute ventilation within a preset time period;

[0181] Determine the current respiratory state of the target object based on the target information, and determine the respiratory change state based on the current respiratory state.

[0182] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0183] If the gas flow rate is less than the preset flow rate threshold at each time point in the first consecutive time period, the current breathing state of the target object is determined to be a high-level adverse state.

[0184] If the tidal volume is less than the preset tidal volume threshold at each time point within a consecutive first preset number of times, and the rate of decrease of minute ventilation at each time point within a consecutive second time period exceeds the preset rate of decrease threshold, then the current respiratory status of the target object is determined to be a moderately poor state.

[0185] If the minute ventilation is greater than the preset ventilation threshold at each time point in the third consecutive time period, the target object's current respiratory status is determined to be a low-level adverse state.

[0186] If the respiratory rate, tidal volume, and minute ventilation all meet the corresponding threshold conditions within a preset time period, then in some embodiments, the processor, when executing the computer program, further implements the following steps:

[0187] Based on the target subject's current respiratory status, the system detects the first number of times the target subject experienced a high-level adverse condition, the second number of times the target subject experienced a medium-level adverse condition, and the third number of times the target subject experienced a low-level adverse condition within a continuous fourth time period.

[0188] If the first, second, and third counts all do not exceed the second preset number of times, then the respiratory state of the target object is determined to be in a stable state.

[0189] If any one of the first, second, or third counts exceeds the second preset count, then the target object's respiratory state is determined to be unstable.

[0190] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0191] Determine the rate of change of the pressure error of the breathing mask, the rate of change of the breathing rate error of the target object, and the rate of change of the tidal volume error of the target object based on the gas information.

[0192] The first target adjustment pressure is determined based on the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target subject, and the rate of change of the tidal volume error of the target subject, and the pressure of the breathing mask is adjusted according to the first target adjustment pressure.

[0193] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0194] The gas pressure output by the breathing mask within a preset time period is input to the initial controller for prediction, the predicted pressure is obtained, and the pressure error is determined based on the predicted pressure and the standard pressure.

[0195] If the pressure error is not within the preset error range, the parameters of the initial controller are adjusted according to the current breathing state of the target object, and the controller after parameter adjustment is used as the initial controller. Then, the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller is returned.

[0196] If the pressure error is within the preset error range, the predicted pressure will be used as the second target adjustment pressure, and the pressure of the breathing mask will be adjusted according to the second target adjustment pressure.

[0197] The computer device provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.

[0198] In some embodiments, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0199] Acquire gas information of the target object as monitored by the breathing mask within a preset time period;

[0200] Determine the respiratory status of the target object within a preset time period based on gas information;

[0201] If the change in breathing status indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy;

[0202] If the breathing status indicates that the target is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0203] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0204] Target information is determined based on gas information; target information includes at least one of the following: gas flow rate at each time point within a preset time period, respiratory rate of the target subject within a preset time period, tidal volume within a preset time period, and minute ventilation within a preset time period;

[0205] Determine the current respiratory state of the target object based on the target information, and determine the respiratory change state based on the current respiratory state.

[0206] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0207] If the gas flow rate is less than the preset flow rate threshold at each time point in the first consecutive time period, the current breathing state of the target object is determined to be a high-level adverse state.

[0208] If the tidal volume is less than the preset tidal volume threshold at each time point within a consecutive first preset number of times, and the rate of decrease of minute ventilation at each time point within a consecutive second time period exceeds the preset rate of decrease threshold, then the current respiratory status of the target object is determined to be a moderately poor state.

[0209] If the minute ventilation is greater than the preset ventilation threshold at each time point in the third consecutive time period, the target object's current respiratory status is determined to be a low-level adverse state.

[0210] If the respiratory rate, tidal volume, and minute ventilation all meet the corresponding threshold conditions within the preset time period, then the current respiratory status of the target object is determined to be good.

[0211] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0212] Based on the target subject's current respiratory status, the system detects the first number of times the target subject experienced a high-level adverse condition, the second number of times the target subject experienced a medium-level adverse condition, and the third number of times the target subject experienced a low-level adverse condition within a continuous fourth time period.

[0213] If the first, second, and third counts all do not exceed the second preset number of times, then the respiratory state of the target object is determined to be in a stable state.

[0214] If any one of the first, second, or third counts exceeds the second preset count, then the target object's respiratory state is determined to be unstable.

[0215] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0216] Determine the rate of change of the pressure error of the breathing mask, the rate of change of the breathing rate error of the target object, and the rate of change of the tidal volume error of the target object based on the gas information.

[0217] The first target adjustment pressure is determined based on the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target subject, and the rate of change of the tidal volume error of the target subject, and the pressure of the breathing mask is adjusted according to the first target adjustment pressure.

[0218] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0219] The gas pressure output by the breathing mask within a preset time period is input to the initial controller for prediction, the predicted pressure is obtained, and the pressure error is determined based on the predicted pressure and the standard pressure.

[0220] If the pressure error is not within the preset error range, the parameters of the initial controller are adjusted according to the current breathing state of the target object, and the controller after parameter adjustment is used as the initial controller. Then, the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller is returned.

[0221] If the pressure error is within the preset error range, the predicted pressure will be used as the second target adjustment pressure, and the pressure of the breathing mask will be adjusted according to the second target adjustment pressure.

[0222] The computer-readable storage medium provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.

[0223] In some embodiments, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0224] Acquire gas information of the target object as monitored by the breathing mask within a preset time period;

[0225] Determine the respiratory status of the target object within a preset time period based on gas information;

[0226] If the change in breathing status indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy;

[0227] If the breathing status indicates that the target is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

[0228] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0229] Target information is determined based on gas information; target information includes at least one of the following: gas flow rate at each time point within a preset time period, respiratory rate of the target subject within a preset time period, tidal volume within a preset time period, and minute ventilation within a preset time period;

[0230] Determine the current respiratory state of the target object based on the target information, and determine the respiratory change state based on the current respiratory state.

[0231] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0232] If the gas flow rate is less than the preset flow rate threshold at each time point in the first consecutive time period, the current breathing state of the target object is determined to be a high-level adverse state.

[0233] If the tidal volume is less than the preset tidal volume threshold at each time point within a consecutive first preset number of times, and the rate of decrease of minute ventilation at each time point within a consecutive second time period exceeds the preset rate of decrease threshold, then the current respiratory status of the target object is determined to be a moderately poor state.

[0234] If the minute ventilation is greater than the preset ventilation threshold at each time point in the third consecutive time period, the target object's current respiratory status is determined to be a low-level adverse state.

[0235] If the respiratory rate, tidal volume, and minute ventilation all meet the corresponding threshold conditions within the preset time period, then the current respiratory status of the target object is determined to be good.

[0236] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0237] Based on the target subject's current respiratory status, the system detects the first number of times the target subject experienced a high-level adverse condition, the second number of times the target subject experienced a medium-level adverse condition, and the third number of times the target subject experienced a low-level adverse condition within a continuous fourth time period.

[0238] If the first, second, and third counts all do not exceed the second preset number of times, then the respiratory state of the target object is determined to be in a stable state.

[0239] If any one of the first, second, or third counts exceeds the second preset count, then the target object's respiratory state is determined to be unstable.

[0240] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0241] Determine the rate of change of the pressure error of the breathing mask, the rate of change of the breathing rate error of the target object, and the rate of change of the tidal volume error of the target object based on the gas information.

[0242] The first target adjustment pressure is determined based on the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target subject, and the rate of change of the tidal volume error of the target subject, and the pressure of the breathing mask is adjusted according to the first target adjustment pressure.

[0243] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0244] The gas pressure output by the breathing mask within a preset time period is input to the initial controller for prediction, the predicted pressure is obtained, and the pressure error is determined based on the predicted pressure and the standard pressure.

[0245] If the pressure error is not within the preset error range, the parameters of the initial controller are adjusted according to the current breathing state of the target object, and the controller after parameter adjustment is used as the initial controller. Then, the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller is returned.

[0246] If the pressure error is within the preset error range, the predicted pressure will be used as the second target adjustment pressure, and the pressure of the breathing mask will be adjusted according to the second target adjustment pressure.

[0247] The computer program product provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.

[0248] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0249] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0250] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for adjusting the pressure of a breathing mask, characterized in that, The method includes: Acquire gas information of the target object as monitored by the breathing mask within a preset time period; The respiratory status of the target object within the preset time period is determined based on the gas information; If the breathing change indicates that the target object is in a stable breathing state, then the pressure of the breathing mask is adjusted according to the first control strategy; If the breathing change indicates that the target object is in an unstable breathing state, the pressure of the breathing mask is adjusted according to the second control strategy; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

2. The method according to claim 1, characterized in that, Determining the respiratory status of the target object within the preset time period based on the gas information includes: Target information is determined based on the gas information; the target information includes at least one of the following: gas flow rate at each time point within the preset time period, respiratory rate of the target object within the preset time period, tidal volume within the preset time period, and minute ventilation within the preset time period; The current breathing state of the target object is determined based on the target information, and the breathing change state is determined based on the current breathing state.

3. The method according to claim 2, characterized in that, Determining the current respiratory state of the target object based on the target information includes: If the gas flow rate is less than the preset flow rate threshold at each time point in the first consecutive time period, then the current breathing state of the target object is determined to be a high-level adverse state. If the tidal volume is less than the preset tidal volume threshold at each time point within a consecutive first preset number of times, and the rate of decrease of minute ventilation at each time point within a consecutive second time period exceeds the preset rate of decrease threshold, then the current respiratory status of the target object is determined to be a medium-level poor state. If the minute ventilation at each time point in a consecutive third time period is greater than the preset ventilation threshold, then the current respiratory status of the target object is determined to be a low-level adverse state. If the respiratory rate, tidal volume, and minute ventilation all meet the corresponding threshold conditions within the preset time period, then the current respiratory state of the target object is determined to be good.

4. The method according to claim 3, characterized in that, Determining the respiratory change state based on the current respiratory state includes: Based on the target object's current respiratory status, the system detects the first number of times the target object experiences a high-level adverse state, the second number of times it experiences a medium-level adverse state, and the third number of times it experiences a low-level adverse state within a continuous fourth time period. If the first number of times, the second number of times, and the third number of times all do not exceed the second preset number of times, then it is determined that the respiratory change state of the target object is in the stable state; If any one of the first count, the second count, or the third count exceeds the second preset count, then it is determined that the respiratory change state of the target object is not in the stable state.

5. The method according to any one of claims 1-4, characterized in that, The step of adjusting the pressure of the breathing mask according to the first control strategy includes: The rate of change of the pressure error of the breathing mask, the rate of change of the breathing rate error of the target object, and the rate of change of the tidal volume error of the target object are determined based on the gas information. A first target adjustment pressure is determined based on the rate of change of the pressure error of the breathing mask, the rate of change of the respiratory rate error of the target object, and the rate of change of the tidal volume error of the target object, and the pressure of the breathing mask is adjusted according to the first target adjustment pressure.

6. The method according to any one of claims 1-4, characterized in that, The step of adjusting the pressure of the breathing mask according to the second control strategy includes: The gas pressure output by the breathing mask within the preset time period is input to the initial controller for prediction, the predicted pressure is obtained, and the pressure error is determined based on the predicted pressure and the standard pressure. If the pressure error is not within the preset error range, the parameters of the initial controller are adjusted according to the current breathing state of the target object, and the controller after parameter adjustment is used as the initial controller. Then, the step of inputting the gas pressure output by the breathing mask within the preset time period into the initial controller is returned. If the pressure error is within the preset error range, the predicted pressure is used as the second target adjustment pressure, and the pressure of the breathing mask is adjusted according to the second target adjustment pressure.

7. A pressure regulating device for a breathing mask, characterized in that, The device includes: The monitoring module is used to acquire gas information of the target object output by the breathing mask within a preset time period; The determination module is used to determine the respiratory change state of the target object within the preset time period based on the gas information; The first adjustment module is used to adjust the pressure of the breathing mask according to a first control strategy if the breathing change indicates that the target object is in a stable breathing state. The second adjustment module is used to adjust the pressure of the breathing mask according to a second control strategy if the breathing change state indicates that the target object is in an unstable breathing state; the pressure increment adjusted by the second control strategy is greater than the pressure increment adjusted by the first control strategy.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.