CN110780948B - Method for adjusting air quantity in mask and mask - Google Patents

Method for adjusting air quantity in mask and mask Download PDF

Info

Publication number
CN110780948B
CN110780948B CN201911012349.6A CN201911012349A CN110780948B CN 110780948 B CN110780948 B CN 110780948B CN 201911012349 A CN201911012349 A CN 201911012349A CN 110780948 B CN110780948 B CN 110780948B
Authority
CN
China
Prior art keywords
mask
preset
state
pressure value
air
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911012349.6A
Other languages
Chinese (zh)
Other versions
CN110780948A (en
Inventor
钟孝条
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Everbest Machinery Industry Co ltd
Original Assignee
Shenzhen Everbest Machinery Industry Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Everbest Machinery Industry Co ltd filed Critical Shenzhen Everbest Machinery Industry Co ltd
Priority to CN201911012349.6A priority Critical patent/CN110780948B/en
Publication of CN110780948A publication Critical patent/CN110780948A/en
Application granted granted Critical
Publication of CN110780948B publication Critical patent/CN110780948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • AHUMAN NECESSITIES
    • A41WEARING APPAREL
    • A41DOUTERWEAR; PROTECTIVE GARMENTS; ACCESSORIES
    • A41D13/00Professional, industrial or sporting protective garments, e.g. surgeons' gowns or garments protecting against blows or punches
    • A41D13/05Professional, industrial or sporting protective garments, e.g. surgeons' gowns or garments protecting against blows or punches protecting only a particular body part
    • A41D13/11Protective face masks, e.g. for surgical use, or for use in foul atmospheres

Abstract

The application is applicable to the technical field of computers, and provides a method for adjusting air quantity in a mask and the mask, comprising the following steps: acquiring an air pressure value generated by breathing of a user wearing the mask; determining a current smooth breathing state of the user based on the air pressure value, a preset expiration pressure value and a preset inspiration pressure value; and adjusting the current air quantity in the mask based on the smooth breathing state. According to the mode, the air pressure value generated by breathing of the mask worn by the user is obtained, the air pressure value is judged, the current smooth breathing state of the user is obtained, and then the air quantity in the current mask is adjusted according to the smooth breathing state, so that the air quantity in the mask can be adjusted according to different pressure values generated by breathing of the user, the user can wear the mask in any occasion without being choked, and wearing comfort is improved.

Description

Method for adjusting air quantity in mask and mask
Technical Field
The application belongs to the technical field of computers, and particularly relates to a method for adjusting air quantity in a mask and the mask.
Background
Along with the development of modern industry, the clothes and food residence of people are greatly improved, but at the same time, the environmental problem is also accompanied, and the respiratory safety of people is seriously affected.
Therefore, in order to solve the problem of travel breathing safety, the mask becomes a necessary product for people to travel. However, the air quantity in the mask can not be regulated by the traditional mask, so that users feel suffocation when wearing the mask in different occasions, and wearing comfort is extremely poor.
Disclosure of Invention
In view of the above, the embodiment of the application provides a method for adjusting air quantity in a mask and the mask, so as to solve the problem that a user feels choked when wearing the mask in different occasions due to the fact that the air quantity in the mask cannot be adjusted by the traditional mask, and wearing comfort is extremely poor.
A first aspect of an embodiment of the present application provides a method for adjusting an air volume in a mask, including:
acquiring an air pressure value generated by breathing of a user wearing the mask;
determining a current smooth breathing state of the user based on the air pressure value, a preset expiration pressure value and a preset inspiration pressure value; the preset expiration pressure value represents a corresponding pressure value when the user wears the mask to exhale normally; the preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally;
and adjusting the current air quantity in the mask based on the smooth breathing state.
Further, in order to accurately determine the current smooth breathing state of the user, so as to accurately adjust the air volume in the current mask, determining the current smooth breathing state of the user based on the air pressure value, the preset expiratory pressure value and the preset inspiratory pressure value may include:
Comparing the air pressure value with a preset air pressure average value to obtain a first comparison result; the preset air pressure average value is an average value of air pressure values generated when the user wears the mask for breathing in a preset period;
determining a respiration state corresponding to the first comparison result based on a preset corresponding relation between the air pressure comparison result and a preset respiration state; the preset respiratory state comprises an expiration state and an inspiration state;
when the breathing state is the expiration state, comparing the air pressure value with the preset expiration pressure value to obtain a second comparison result;
determining a respiratory smoothness state corresponding to the second comparison result based on a preset corresponding relation between the respiratory smoothness state and the expiratory pressure comparison result; the preset smooth breathing state comprises a breath holding state and a choke state.
Further, determining the respiratory state corresponding to the first comparison result based on the preset corresponding relation between the air pressure comparison result and the preset respiratory state further comprises:
when the breathing state is the inspiration state, comparing the air pressure value with the preset inspiration pressure value to obtain a third comparison result;
and determining the respiratory smoothness state corresponding to the third comparison result based on a preset corresponding relation between the respiratory smoothness state and the inhalation pressure comparison result.
Further, in order to accurately adjust the air volume in the mask, to improve the comfort level of the user wearing the mask, adjusting the current air volume in the mask based on the smooth breathing state may include:
when the smooth breathing state is a breath holding state, reducing the air quantity in the mask;
when the smooth breathing state is a choke state, the air quantity in the mask is increased.
Further, in order to accurately and rapidly adjust the air quantity in the mask and improve the comfort level of a user wearing the mask, the application can further comprise:
when the smooth breathing state is a breath holding state, calculating a first difference value between the air pressure value and the preset expiration pressure value, and acquiring a breath holding degree value corresponding to the first difference value;
acquiring a first air volume adjusting speed corresponding to the breath holding degree value and acquiring a first air volume range corresponding to the air pressure value;
the adjusting the current air volume in the mask based on the breathing smoothness state comprises: and regulating the current air quantity in the mask to be within the first air quantity range at the first air quantity regulating speed.
Further, in order to accurately and rapidly adjust the air quantity in the mask and improve the comfort level of a user wearing the mask, the application can further comprise:
When the smooth breathing state is a stuffy state, calculating a second difference value between the air pressure value and the preset inhalation pressure value, and obtaining a stuffy degree value corresponding to the second difference value;
acquiring a second air volume adjusting speed corresponding to the choke valve and a second air volume range corresponding to the air pressure value;
the adjusting the current air volume in the mask based on the breathing smoothness state comprises:
and regulating the current air quantity in the mask to be within the second air quantity range at the second air quantity regulating speed.
Further, in order to determine whether the user wears the mask currently, the air volume in the current mask is accurately adjusted for the user when the user wears the mask, and when the user is detected that the user does not wear the mask currently, the operation state of the mask is stopped in time so as to save the electric quantity, and the application can further comprise:
acquiring a first preset number of mask air pressure values based on a preset sampling period; the air pressure value of the mask is the air pressure value in the mask;
determining the data type of each mask air pressure value based on a preset mask air pressure average value, each mask air pressure value and a preset data type; the preset data type comprises expiration data and inspiration data;
When a state of increasing the second preset number of expiration data is detected, and the state of decreasing the second preset number of inspiration data is detected, judging that the user wears the mask currently; the second predetermined number is a predetermined percentage of the first predetermined number.
Further, in order to facilitate the user to know the electricity consumption condition of the current mask in real time, the application may further include:
when the electric quantity of the mask is detected to be smaller than a first preset electric quantity, a first indicator lamp on the mask is lightened; the first indicator lamp is used for reminding the user to charge the mask;
when the electric quantity of the mask is detected to be larger than or equal to a second preset electric quantity, a second indicator lamp on the mask is lightened; the second indicator lamp is used for reminding the user that the electric quantity of the mask is sufficient; the first preset electric quantity is smaller than the second preset electric quantity.
A second aspect of an embodiment of the present application provides a mask, including:
the acquisition unit is used for acquiring an air pressure value generated by breathing of a user wearing the mask;
a determining unit, configured to determine a current smooth breathing state of the user based on the air pressure value, a preset exhalation pressure value, and a preset inhalation pressure value; the preset expiration pressure value represents a corresponding pressure value when the user wears the mask to exhale normally; the preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally;
And the adjusting unit is used for adjusting the current air quantity in the mask based on the smooth breathing state.
Further, the determining unit is specifically configured to:
comparing the air pressure value with a preset air pressure average value to obtain a first comparison result; the preset air pressure average value is an average value of air pressure values generated when the user wears the mask for breathing in a preset period;
determining a respiration state corresponding to the first comparison result based on a preset corresponding relation between the air pressure comparison result and a preset respiration state; the preset respiratory state comprises an expiration state and an inspiration state;
when the breathing state is the expiration state, comparing the air pressure value with the preset expiration pressure value to obtain a second comparison result;
determining a respiratory smoothness state corresponding to the second comparison result based on a preset corresponding relation between the respiratory smoothness state and the expiratory pressure comparison result; the preset smooth breathing state comprises a breath holding state and a choke state.
Further, the mask further includes:
the comparison unit is used for comparing the air pressure value with the preset inhalation pressure value when the breathing state is the inhalation state, so as to obtain a third comparison result;
And the state determining unit is used for determining the breathing smoothness state corresponding to the third comparison result based on a preset corresponding relation between the inhalation pressure comparison result and the preset breathing smoothness state.
Further, the adjusting unit is specifically configured to:
when the smooth breathing state is a breath holding state, reducing the air quantity in the mask;
when the smooth breathing state is a choke state, the air quantity in the mask is increased.
Further, the mask further includes:
the first calculating unit is used for calculating a first difference value between the air pressure value and the preset expiration pressure value when the smooth breathing state is the breath holding state, and acquiring a breath holding degree value corresponding to the first difference value;
the first speed acquisition unit is used for acquiring a first air volume adjusting speed corresponding to the suffocation degree value and acquiring a first air volume range corresponding to the air pressure value;
the adjusting unit is specifically used for: and regulating the current air quantity in the mask to be within the first air quantity range at the first air quantity regulating speed.
Further, the mask further includes:
the second calculating unit is used for calculating a second difference value between the air pressure value and the preset inhalation pressure value when the smooth breathing state is a stuffiness state, and obtaining a stuffiness degree value corresponding to the second difference value;
The second speed acquisition unit is used for acquiring a second air volume adjusting speed corresponding to the choke plug degree value and acquiring a second air volume range corresponding to the air pressure value;
the adjusting unit is specifically used for: and regulating the current air quantity in the mask to be within the second air quantity range at the second air quantity regulating speed.
Further, the mask further includes:
the sampling unit is used for acquiring a first preset number of mask air pressure values based on a preset sampling period; the air pressure value of the mask is the air pressure value in the mask;
the data type determining unit is used for determining the data type of each mask air pressure value based on a preset mask air pressure average value, each mask air pressure value and a preset data type; the preset data type comprises expiration data and inspiration data;
the judging unit is used for judging that the user currently wears the mask when the second preset number of expiration data are detected to be in an increasing state and the second preset number of inspiration data are detected to be in a decreasing state; the second predetermined number is a predetermined percentage of the first predetermined number.
Further, the mask further includes:
The first lighting unit is used for lighting a first indicator lamp on the mask when the electric quantity of the mask is detected to be smaller than a first preset electric quantity; the first indicator lamp is used for reminding the user to charge the mask;
the second lighting unit is used for lighting a second indicator lamp on the mask when the electric quantity of the mask is detected to be larger than or equal to a second preset electric quantity; the second indicator lamp is used for reminding the user that the electric quantity of the mask is sufficient; the first preset electric quantity is smaller than the second preset electric quantity.
A third aspect of an embodiment of the present invention provides another mask, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, and the memory is configured to store a computer program supporting a terminal to execute the above method, where the computer program includes program instructions, and the processor is configured to call the program instructions to perform the following steps:
acquiring an air pressure value generated by breathing of a user wearing the mask;
determining a current smooth breathing state of the user based on the air pressure value, a preset expiration pressure value and a preset inspiration pressure value; the preset expiration pressure value represents a corresponding pressure value when the user wears the mask to exhale normally; the preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally;
And adjusting the current air quantity in the mask based on the smooth breathing state.
A fourth aspect of embodiments of the present application provides a computer readable storage medium storing a computer program which when executed by a processor performs the steps of:
acquiring an air pressure value generated by breathing of a user wearing the mask;
determining a current smooth breathing state of the user based on the air pressure value, a preset expiration pressure value and a preset inspiration pressure value; the preset expiration pressure value represents a corresponding pressure value when the user wears the mask to exhale normally; the preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally;
and adjusting the current air quantity in the mask based on the smooth breathing state.
The method for adjusting the air quantity in the mask and the mask provided by the embodiment of the application have the following beneficial effects:
according to the embodiment of the application, the mask acquires the air pressure value generated by breathing of the user wearing the mask, and judges the air pressure value to obtain the current smooth breathing state of the user, so that the air quantity in the current mask is regulated according to the smooth breathing state. The air quantity in the mask can be adjusted according to different pressure values generated by the breathing of the user wearing the mask, so that the air quantity in the mask is in a quantity which enables the user to breathe smoothly, and further the user cannot feel choked no matter what occasion the user wears the mask, and wearing comfort is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for adjusting air volume in a mask according to an embodiment of the present application;
fig. 2 is a flowchart of a method for adjusting an air volume in a mask according to another embodiment of the present application;
fig. 3 is a flowchart of a method for adjusting an air volume in a mask according to another embodiment of the present application;
fig. 4 is a schematic view of a mask according to an embodiment of the present application;
fig. 5 is a schematic view of a mask according to another embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for adjusting air volume in a mask according to an embodiment of the invention. In this embodiment, the main body of the method for adjusting the air volume in the mask is a mask, such as an intelligent mask, and the method is not limited thereto. The method for adjusting the air quantity in the mask shown in fig. 1 can comprise the following steps:
s101: and acquiring the air pressure value generated by the breathing of the mask worn by the user.
The mask acquires an air pressure value generated when a user wears the mask to breathe. Specifically, the mask may include a plurality of processing units such as a data acquisition unit, an air volume control unit, a respiratory state analysis unit, a state indication unit, an air pressure data processing unit, a core system unit, and the like. The data acquisition unit is used for acquiring the air pressure value in the mask, and comprises the steps of acquiring the air pressure value generated when a user wears the mask to breathe and acquiring the air pressure value in the mask when the user does not wear the mask; the air quantity control unit is used for controlling the air quantity in the mask; the respiratory element analysis unit is used for analyzing the current respiratory state and the smooth respiratory state of the user; such as specifically analyzing whether the user currently belongs to an expiration state or an inspiration state, and analyzing whether the current smooth breathing state of the user is a breath hold state or a choke state. The breath holding state means that the air quantity flowing into the mask from the outside is relatively large, so that the user breathes unevenly, and the air quantity in the mask needs to be reduced at the moment; the choke state means that the air quantity flowing into the mask from the outside is relatively small, so that the breathing of a user is not smooth, and the air quantity in the mask needs to be increased at the moment.
The state indicating unit can be used for indicating whether the mask is in a power-on running state or a standby state or a power-off state currently, and also can be used for indicating the current electric quantity using state of the mask, analyzing the using time of the mask and reminding a user to replace a filter element of the mask. The air pressure data processing unit is used for processing the collected air pressure values, such as averaging operation can be carried out on the collected air pressure values, the air pressure values are compared, and the like; the core system unit can perform data interaction with other units, send various instruction information to other units, and timely execute various control instructions triggered by a user, such as instructions triggered by the user, such as startup and shutdown.
Further, in order to accurately judge the current smooth breathing state of the user according to the collected air pressure value, the follow-up air quantity in the mask can be accurately regulated, and the air pressure value can be collected according to the preset cycle time when being collected. If the air pressure value in the mask is collected every second or every two seconds when the user wears the mask, the user can set and adjust the cycle time according to the actual situation, which is not limited.
S102: determining a current smooth breathing state of the user based on the air pressure value, a preset expiration pressure value and a preset inspiration pressure value; the preset expiration pressure value represents a corresponding pressure value when the user wears the mask to exhale normally; the preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally.
The mask determines the current smooth breathing state of the user according to the acquired air pressure value, the preset expiration pressure value and the preset inspiration pressure value generated when the user wears the mask to breathe. The smooth breathing state can be a breath holding state or a choke state, and is used for indicating the specific state when the user currently wears the mask to breathe.
The preset exhalation pressure value represents a pressure value corresponding to the normal breathing of the mask worn by the user. In order to adapt to various occasions, various people can use the mask comfortably, when the preset expiration pressure value is set, the user can set the expiration pressure value in the mask when wearing the mask to breathe normally, or the mask can acquire the expiration pressure value in the mask in a preset period when the user wears the mask to breathe first, average the expiration pressure value acquired in the preset period, and the calculated average value is taken as the preset expiration pressure value. The preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally. Accordingly, in order to adapt to various occasions, various people can use the mask comfortably, when the preset inhalation pressure value is set, the inhalation pressure value in the mask can be set by a user when the user wears the mask to breathe normally, or the inhalation pressure value in the mask can be acquired by the mask in a preset time period when the user wears the mask to breathe, the inhalation pressure value acquired in the preset time period is averaged, and the calculated average value is taken as the preset inhalation pressure value. The preset time period is the same as the corresponding preset time period when the expiratory pressure value is acquired, and the specific value can be set and adjusted by a user according to actual conditions, which is not limited.
Specifically, the mask acquires air pressure values generated by breathing of a user wearing the mask in a preset period, wherein the air pressure values comprise an expiration pressure value and an inspiration pressure value, an average value of the air pressure values is calculated, and the calculated average value is recorded as a preset air pressure average value; the obtained air pressure value generated by the breathing of the user wearing the mask is compared with the preset air pressure average value, so that whether the air pressure value belongs to the air pressure value corresponding to the breathing state or the air pressure value corresponding to the inspiration state can be determined. When the air pressure value is the air pressure value corresponding to the expiration state, comparing the air pressure value with a preset expiration pressure value, and determining the current breathing smoothness state of the user according to the comparison result. When the air pressure value is the air pressure value corresponding to the air suction state, comparing the air pressure value with a preset air suction pressure value, and determining the current smooth breathing state of the user according to the comparison result.
Further, in order to accurately determine the current smooth breathing state of the user, so as to accurately adjust the air volume in the current mask, S102 may include S1021-1026, which specifically includes:
s1021: comparing the air pressure value with a preset air pressure average value to obtain a first comparison result; the preset air pressure average value is an average value of air pressure values generated when the user wears the mask to breathe in a preset period.
The preset air pressure average value is an average value of air pressure values generated when a user wears the mask for breathing in a preset period. Specifically, the mask acquires an air pressure value generated by breathing of a user wearing the mask in a preset period, wherein the air pressure value comprises an expiration pressure value and an inspiration pressure value, calculates an average value of the expiration pressure value and the inspiration pressure value, and marks the calculated average value as a preset air pressure average value. And comparing the obtained air pressure value generated when the user wears the mask to breathe with the preset air pressure average value to obtain a first comparison result. For example, the first comparison result may be that the air pressure value generated by the breathing of the user wearing the mask is greater than the preset air pressure average value; or the air pressure value generated by breathing the mask worn by the user is smaller than the preset air pressure average value; the air pressure value generated by breathing the mask can be equal to the preset air pressure average value.
S1022: determining a respiration state corresponding to the first comparison result based on a preset corresponding relation between the air pressure comparison result and a preset respiration state; the preset respiratory state includes an exhalation state and an inhalation state.
Determining a respiration state corresponding to the first comparison result according to a preset corresponding relation between the air pressure comparison result and a preset respiration state; the breathing state corresponding to the first comparison result is determined according to the obtained comparison result between the air pressure value generated by the breathing of the user wearing the mask and the preset air pressure average value and the preset corresponding relation between the air pressure value and the preset breathing state. The preset breathing state may include an exhalation state and an inhalation state. The preset correspondence between the air pressure comparison result and the preset breathing state is preset by the user, for example, when the air pressure value generated by the breathing of the user wearing the mask is greater than or equal to the preset air pressure average value, the breathing state corresponding to the comparison result is the breathing state at this time, and the pressure value at this time can be understood to be the breathing pressure value at this time; when the air pressure value generated by the breathing of the user wearing the mask is smaller than the preset air pressure average value, the breathing state corresponding to the comparison result is the inspiration state, and the pressure value is understood to be the inspiration pressure value at the moment.
S1023: and when the breathing state is the expiration state, comparing the air pressure value with the preset expiration pressure value to obtain a second comparison result.
And when the breathing state is the expiration state, comparing the air pressure value with a preset expiration pressure value to obtain a second comparison result. Specifically, when the air pressure value generated by the breathing of the user wearing the mask is greater than or equal to the preset air pressure average value, the breathing state corresponding to the comparison result is the expiratory state, and the pressure value at the moment can be understood to be the expiratory pressure value. At this time, comparing the magnitude of the air pressure value with a preset expiration pressure value to obtain a second comparison result; if the user wears the mask to breathe, the air pressure value generated is larger than the preset expiration pressure value.
S1024: determining a respiratory smoothness state corresponding to the second comparison result based on a preset corresponding relation between the respiratory smoothness state and the expiratory pressure comparison result; the preset smooth breathing state comprises a breath holding state and a choke state.
And determining the breathing smoothness state corresponding to the second comparison result according to the preset corresponding relation between the expiratory pressure comparison result and the preset breathing smoothness state. And determining a respiratory smoothness state corresponding to the second comparison result according to the obtained comparison result between the air pressure value generated by the breathing of the user wearing the mask and the preset expiratory pressure value and the preset respiratory smoothness state. The preset smooth breathing state comprises a breath holding state and a choke state. The preset corresponding relation between the expiratory pressure comparison result and the preset breathing smooth state is preset by a user, if the air pressure value generated by the breathing of the user wearing the mask is larger than the preset expiratory pressure value, the breathing smooth state corresponding to the comparison result is the breath holding state, and the fact that the air quantity flowing into the mask from the outside is relatively large can be understood, so that the user exhales unsmoothly is caused.
Further, when the respiratory state is the inhalation state, S1025-S1026 may be further included, and it should be noted that S1023-S1024 is juxtaposed with S1025-S1026, and that S1025-S1026 is not performed after S1023-S1024. And S1023-S1024 or S1025-S1026 are selectively executed according to different execution results of S1022, and the actual situation is subject to no limitation.
S1025: and when the breathing state is the inspiration state, comparing the air pressure value with the preset inspiration pressure value to obtain a third comparison result.
And when the breathing state is the inspiration state, comparing the air pressure value with a preset inspiration pressure value to obtain a third comparison result. Specifically, when the air pressure value generated by the breathing of the user wearing the mask is smaller than the preset air pressure average value, the breathing state corresponding to the comparison result is the inspiration state, and the pressure value is understood to be the inspiration pressure value at the moment. At this time, comparing the magnitude of the air pressure value with a preset air suction pressure value to obtain a third comparison result; if the user wears the mask to breathe, the air pressure value generated is smaller than the preset expiration pressure value.
S1026: and determining the respiratory smoothness state corresponding to the third comparison result based on a preset corresponding relation between the respiratory smoothness state and the inhalation pressure comparison result.
And determining the breathing smoothness state corresponding to the third comparison result according to the preset corresponding relation between the inhalation pressure comparison result and the preset breathing smoothness state. And determining a respiratory smoothness state corresponding to the third comparison result according to the obtained comparison result between the air pressure value generated by the breathing of the user wearing the mask and the preset inhalation pressure value and the preset corresponding relation between the respiratory smoothness state and the preset respiratory smoothness state. The preset smooth breathing state comprises a breath holding state and a choke state. The preset corresponding relation between the inhalation pressure comparison result and the preset breathing smooth state is preset by a user, if the air pressure value generated by the breathing of the user wearing the mask is smaller than the preset inhalation pressure value, the breathing smooth state corresponding to the comparison result is a choke state, and the fact that the air quantity flowing into the mask from the outside is smaller can be understood, so that the inhalation of the user is not smooth is caused.
S103: and adjusting the current air quantity in the mask based on the smooth breathing state.
The air quantity in the current mask is regulated by the mask according to the smooth breathing state. Specifically, the air quantity in the current mask can be adjusted by the air quantity control unit. For example, when the smooth breathing state is the breath holding state, the current air quantity in the mask is reduced; when the smooth breathing state is a stuffy state, the current air quantity in the mask is increased.
Further, in order to accurately adjust the air volume in the mask and improve the comfort level when the user wears the mask, S103 may include S1031-S1032, which specifically includes:
s1031: and when the smooth breathing state is the breath holding state, reducing the air quantity in the mask.
Specifically, when the current smooth breathing state of the user is a suffocating state, the air quantity flowing into the mask from the outside is relatively large at the moment, so that the user exhales unsmoothly, and the air quantity in the current mask is reduced by the mask through the air quantity control unit, so that the user exhales smoothly.
S1032: when the smooth breathing state is a choke state, the air quantity in the mask is increased.
Specifically, when the current smooth breathing state of the user is a choke state, the air quantity flowing into the mask from the outside is relatively small, so that the user inhales unevenly, and the air quantity in the current mask is increased by the air quantity control unit, so that the user inhales smoothly.
According to the embodiment of the application, the mask acquires the air pressure value generated by breathing of the user wearing the mask, and judges the air pressure value to obtain the current smooth breathing state of the user, so that the air quantity in the current mask is regulated according to the smooth breathing state. The air quantity in the mask can be adjusted according to different pressure values generated by the breathing of the user wearing the mask, so that the air quantity in the mask is in a quantity which enables the user to breathe smoothly, and further the user cannot feel choked no matter what occasion the user wears the mask, and wearing comfort is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for adjusting air volume in a mask according to another embodiment of the invention. In this embodiment, the main body of the method for adjusting the air volume in the mask is a mask, such as an intelligent mask, and the method is not limited thereto.
The differences between the present embodiment and the previous embodiment are S201-S203, S206-S211, and in this embodiment S204-S205 are identical to S101-S102 in the previous embodiment, and specific reference is made to the description related to S101-S102 in the previous embodiment, which is not repeated here. In order to judge whether the user wears the mask currently, the air quantity in the current mask is accurately regulated for the user when the user wears the mask, and when the user is detected that the user does not wear the mask currently, the operation state of the mask is stopped in time, so that the electric quantity is saved. The embodiment may further include S201 to S203, which are specifically as follows:
s201: acquiring a first preset number of mask air pressure values based on a preset sampling period; the air pressure value of the mask is the air pressure value in the mask.
The mask acquires a first preset number of mask air pressure values based on a preset sampling period. The preset sampling period and the first preset number are set by the user according to the actual situation, and are not limited. For example, the mask may collect air pressure values in the mask once every two seconds for a total of 15 mask air pressure values; the air pressure value in the mask can be collected once every second, and 10 mask air pressure values can be collected in total. The air pressure value of the mask is the air pressure value in the mask, and the air pressure value of the mask obtained here can be the air pressure value generated when the user wears the mask to breathe, or the air pressure value in the mask when the user does not wear the mask; in S101, the air pressure value generated when the user wears the mask and breathes is acquired, and the air pressure value must be the air pressure value generated when the user wears the mask and breathes.
S202: determining the data type of each mask air pressure value based on a preset mask air pressure average value, each mask air pressure value and a preset data type; the preset data type comprises expiration data and inspiration data.
The air pressure average value of the mask is an average value of air pressure values of the mask, which are obtained in a preset period, the air pressure values of the mask in the preset period are obtained by the mask, the average value of the air pressure values is calculated, and the calculated average value is recorded as the air pressure average value of the mask. The preset period is the same as the preset period used for calculating the preset air pressure average value, and is set by a user according to actual conditions, and is not limited. The preset data types comprise expiration data and inspiration data, and are data types corresponding to the air pressure values of each mask, namely whether the air pressure values of the mask belong to expiration data or inspiration data.
Specifically, the air pressure data processing unit in the mask compares the acquired air pressure value of each mask with a preset air pressure average value of the mask to obtain a corresponding comparison result; and determining the data type of each mask air pressure value according to the preset corresponding relation between the comparison result and the preset data type. If the mask air pressure value is larger than or equal to the preset mask air pressure average value, marking the mask air pressure value as expiration data; and when the mask air pressure value is smaller than the preset mask air pressure average value, marking the mask air pressure value as inhalation data.
S203: when a state of increasing the second preset number of expiration data is detected, and the state of decreasing the second preset number of inspiration data is detected, judging that the user wears the mask currently; the second predetermined number is a predetermined percentage of the first predetermined number.
The mask detects whether the mask air pressure value corresponding to each expiration data is increased or decreased relative to the mask air pressure value corresponding to the adjacent previous expiration data, and then judges whether the expiration data are in an incremental state. For example, 20 mask air pressure values are obtained, wherein 10 pieces of exhalation data are respectively 20, 22, 24, 26, 25, 30, 32, 27, 29 and 31 (the units of the mask air pressure values are hundred Pa: hpa), the mask compares the second piece of exhalation data with the adjacent first piece of exhalation data, compares the third piece of exhalation data with the adjacent second piece of exhalation data, and the like, so that the first to fourth pieces of exhalation data, the sixth seventh piece of exhalation data and the ninth piece of exhalation data are respectively presented in an increasing state, and the fifth piece of exhalation data and the eighth piece of exhalation data are respectively reduced, namely 8 pieces of exhalation data in the increasing state.
Similarly, the mask detects whether the mask air pressure value corresponding to each inhalation data is increased or decreased relative to the mask air pressure value corresponding to the previous inhalation data adjacent to the mask air pressure value, and further judges whether the inhalation data are in a descending state. For example, of the 20 mask pressure values obtained, the remaining 10 inhalation data are-22, -24, -26, -27, -28, -26, -25, -29, -31, and-33, respectively. The mask compares the second inhalation data with the adjacent first inhalation data, compares the third inhalation data with the adjacent second inhalation data, and the like, so that the inhalation data in the sequence from the first to the fifth and the eighth to the tenth are in a descending state, and the inhalation data in the sequence from the fifth to the seventh are in an ascending state, namely 8 inhalation data in the batch of inhalation data are in a descending state.
The first preset number, the second preset number and the preset percentage are set by the user, and the second preset number can be adjusted according to the first preset number, the second preset number occupies the preset percentage of the first preset number, and the method is not limited. And when the mask detects that the second preset number of expiration data is in a state of increasing presentation and the second preset number of inspiration data is in a state of decreasing presentation, judging that the user wears the mask at the moment. For example, the air pressure values of the 20 masks are in an increasing state, 8 data in expiration data are in a decreasing state, the pressure values of the 8 data in inspiration data are in accordance with the pressure value change condition generated by breathing of the user when the user wears the masks, and the current user is judged to wear the masks. If the user does not wear the mask, the obtained mask air pressure value basically does not change, and the mask can judge that the user does not wear the mask currently.
Further, when it is determined that the current user wears the mask, S204-S205 are executed after S203, in this embodiment, S204-S205 are identical to S101-S102 in the previous embodiment, and detailed descriptions of S101-S102 in the previous embodiment are omitted herein.
Further, in order to accurately and rapidly adjust the air volume in the mask, and improve the comfort level when the user wears the mask, S206-S208 may be further included after S205, which specifically includes the following steps:
s206: and when the smooth breathing state is a breath holding state, calculating a first difference value between the air pressure value and the preset expiration pressure value, and acquiring a breath holding degree value corresponding to the first difference value.
When the smooth breathing state of the user is the breath holding state, the mask calculates a first difference value between the air pressure value and a preset expiration pressure value at the moment, and acquires a breath holding degree value corresponding to the first difference value. The core system unit in the mask stores a file related to the breath holding state, different difference values and corresponding breath holding degree values thereof are stored in the file in advance, and the different difference values can correspond to the same breath holding degree value, for example, the breath holding degree values corresponding to the difference values 1 and 2 can be 1, and the breath holding degree values corresponding to the difference values 3 and 4 can be 2, which is not limited. When the smooth breathing state is the breath holding state, the file is found first, and then the breath holding degree value corresponding to the first difference value is found. For example, when the smooth breathing state of the user is a breath holding state, the preset expiration pressure value is 20, and when the air pressure value at the moment is 22, a first difference value between the air pressure value and the preset expiration pressure value is calculated to be 2, and a breath holding degree value corresponding to the first difference value is obtained by searching to be 1; when the smooth breathing state of the user is the breath holding state, the preset expiration pressure value is 20, and when the air pressure value at the moment is 24, a first difference value between the air pressure value and the preset expiration pressure value is 4, and the breath holding degree value corresponding to the difference value is 2 through searching.
S207: and acquiring a first air volume adjusting speed corresponding to the breath holding degree value and acquiring a first air volume range corresponding to the air pressure value.
The mask is pre-stored with an air volume adjusting speed corresponding to each breath holding degree value and an air volume range corresponding to each air pressure value. The mask acquires a first air volume adjusting speed corresponding to the breath holding degree value, and acquires a first air volume range corresponding to the air pressure value at the moment. For example, when the air-holding degree value is 1, searching to obtain a first air volume adjusting speed corresponding to the air-holding degree value as 1, and further obtaining a first air volume range corresponding to the air pressure value as A-B; when the air-holding degree value is 2, searching to obtain a first air volume adjusting speed corresponding to the air-holding degree value to be 2, and further obtaining a first air volume range corresponding to the air pressure value to be C-D. Further, in order to reduce the pressure of the mask storage data, a first air volume range corresponding to the air pressure value in the preset range can be set, the mask can judge in which preset range the air pressure value is in, and the first air volume range corresponding to the preset range can be further searched.
S208: and regulating the current air quantity in the mask to be within the first air quantity range at the first air quantity regulating speed.
The mask adjusts the current air quantity in the mask to be within a first air quantity range at a first air quantity adjusting speed. Specifically, the mask is provided with a fan, and the air quantity control unit can control the rotating speed of the fan and control the air inlet or the air outlet of the fan, which is equivalent to controlling whether the mask increases the air quantity or decreases the air quantity; the speed of increasing or decreasing the air quantity can also be adjusted. For example, when the first air volume adjusting speed is 1 and the first air volume range corresponding to the current air pressure value is A-B, the mask controls the fan to perform air exhaust operation through the air volume control unit, the rotating speed of the fan is adjusted to be 1, the air volume in the mask is reduced at the speed, and the current air volume in the mask is adjusted to be A-B; when the first air volume adjusting speed is 2 and the first air volume range corresponding to the current air pressure value is C-D, the mask adjusts the rotating speed of the fan to be 2 through the air volume control unit, reduces the air volume in the mask at the speed, and adjusts the current air volume in the mask to be C-D. This is merely illustrative and is not limiting.
Further, in order to accurately and rapidly adjust the air volume in the mask and improve the comfort level when the user wears the mask, S209-S211 may be further included after S205, and it should be noted that S209-S211 are not executed after S208, but after S205 are executed, S206-S208 or S209-S211 are selectively executed according to different execution results, which is specific to the actual situation. S209 to S211 are specifically as follows:
S209: and when the smooth breathing state is a stuffy state, calculating a second difference value between the air pressure value and the preset inhalation pressure value, and obtaining a stuffy degree value corresponding to the second difference value.
When the smooth breathing state of the user is a choke state, the mask calculates a second difference value between the air pressure value and the preset inhalation pressure value at the moment, and obtains a choke degree value corresponding to the second difference value. The core system unit in the mask stores a file related to the choke status, and the file stores different difference values and corresponding choke values in advance, and the different difference values can correspond to the same choke value, which is not limited. When the smooth breathing state is a stuffy state, the file is found first, and then the stuffy degree value corresponding to the second difference value is found. For example, when the smooth breathing state of the user is a choke state, the preset inhalation pressure value is-25, and the air pressure value at the moment is-31, a second difference value between the air pressure value and the preset inhalation pressure value is calculated to be 6, and a choke degree value corresponding to the second difference value is obtained by searching for 3.
S210: and obtaining a second air volume adjusting speed corresponding to the choke valve and a second air volume range corresponding to the air pressure value.
The mask is stored with air volume adjusting speed corresponding to each choke valve and air volume range corresponding to each air pressure valve. The mask acquires a second air volume adjusting speed corresponding to the choke valve and acquires a second air volume range corresponding to the air pressure value at the moment. The first air volume adjustment speed and the second air volume adjustment speed may be the same or different, and are not limited in terms of actual conditions. For example, when the choke valve is 3, the second air volume adjusting speed corresponding to the choke valve is found to be 3, and the second air volume range corresponding to the air pressure value at this time is obtained to be E-F. This is merely illustrative and is not limiting.
S211: and regulating the current air quantity in the mask to be within the second air quantity range at the second air quantity regulating speed.
The mask adjusts the current air quantity in the mask to be within a second air quantity range at a second air quantity adjusting speed. Specifically, the air quantity control unit can control the fan to perform air inlet operation and adjust the air quantity in the current mask. For example, when the second air volume adjusting speed is 3 and the second air volume range corresponding to the current air pressure value is E-F, the mask adjusts the rotating speed of the fan to be 3 through the air volume control unit, and the air volume in the mask is increased at the speed, so that the current air volume in the mask is adjusted to be E-F. This is merely illustrative and is not limiting.
According to the embodiment of the application, the mask acquires the air pressure value generated by breathing of the user wearing the mask, and judges the air pressure value to obtain the current smooth breathing state of the user, so that the air quantity in the current mask is regulated according to the smooth breathing state. The air quantity in the mask can be adjusted according to different pressure values generated by the breathing of the user wearing the mask, so that the air quantity in the mask is in a quantity which enables the user to breathe smoothly, and further the user cannot feel choked no matter what occasion the user wears the mask, and wearing comfort is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of a method for adjusting air volume in a mask according to another embodiment of the application. In this embodiment, the main body of the method for adjusting the air volume in the mask is a mask, such as an intelligent mask, and the method is not limited thereto.
The difference between the embodiment and the embodiment corresponding to fig. 1 is S304-S305, in which S301-S303 are identical to S101-S103 in the embodiment corresponding to fig. 1, and specific reference is made to the description related to S101-S103 in the embodiment corresponding to fig. 1, which is not repeated here.
Further, in order to facilitate the user to know the current power usage situation of the mask in real time, the embodiment may further include S304-S305, which is specifically as follows:
S304: when the electric quantity of the mask is detected to be smaller than a first preset electric quantity, a first indicator lamp on the mask is lightened; the first indicator light is used for reminding the user of charging the mask.
A plurality of indicator lamps are arranged on the mask, each indicator lamp has different functions, and a user can set the corresponding function for each indicator lamp. For example, the first indicator light is used to remind the user to charge the mask. Specifically, the electric quantity of the current mask is detected by the mask, when the electric quantity of the current mask is detected to be smaller than the first preset electric quantity, a first indicator lamp on the mask is lightened, the indicator lamp can be a red indicator lamp, the specific color is set by a user, and the method is not limited. The first indicator lamp is used for reminding a user that the current electric quantity of the mask is insufficient, and the mask needs to be charged. The first preset electric quantity is set by the user according to actual conditions, and is not limited.
S305: when the electric quantity of the mask is detected to be larger than or equal to a second preset electric quantity, a second indicator lamp on the mask is lightened; the second indicator lamp is used for reminding the user that the electric quantity of the mask is sufficient; the first preset electric quantity is smaller than the second preset electric quantity.
The second indicator lamp is used for reminding a user that the current electric quantity of the mask is sufficient, and the mask can be started and operated normally. Specifically, the electric quantity of the current mask is detected by the mask, when the electric quantity of the current mask is detected to be larger than or equal to the second preset electric quantity, a second indicator lamp on the mask is lightened, the indicator lamp can be a blue indicator lamp, the specific color is set by a user, and the mask is not limited. The second indicator lamp can remind the user that the current electric quantity of the mask is sufficient, and the mask can be started for use. The second preset electric quantity is set by a user according to actual conditions, and the first preset electric quantity is smaller than the second preset electric quantity.
Further, in order to ensure the physical health of the user, the comfort of the user using the mask is improved, and the filter element is arranged in the mask and can be used for filtering dust and other particles in the air. The mask can detect the using time of the mask, when the using time of the mask exceeds the preset time, a third indicator lamp on the mask is lightened, the indicator lamp can be a green indicator lamp, the specific color is set by a user, and the mask is not limited. The third indicator light is used for reminding a user to replace the filter element for the mask. Further, in order to ensure that the use time length detected later is accurate, after a user changes the filter element, the mask can clear the use time length recorded before and start to count time again, so that the user can be reminded of changing the filter element accurately and timely next time.
It should be noted that, in this embodiment, S304 and S305 may be performed before or after any of S301, S302 and S303, which is not limited. And S304 and S305 in the present embodiment may be performed before or after any step in the embodiment corresponding to fig. 2, which is not limited. When the mask detects insufficient electric quantity or sufficient electric quantity, the corresponding indicator lamp can be lightened to remind a user, so that the user can know the current electric quantity of the mask in time.
According to the embodiment of the application, the mask acquires the air pressure value generated by breathing of the user wearing the mask, and judges the air pressure value to obtain the current smooth breathing state of the user, so that the air quantity in the current mask is regulated according to the smooth breathing state. The air quantity in the mask can be adjusted according to different pressure values generated by the breathing of the user wearing the mask, so that the air quantity in the mask is in a quantity which enables the user to breathe smoothly, and further the user cannot feel choked no matter what occasion the user wears the mask, and wearing comfort is improved.
Referring to fig. 4, fig. 4 is a schematic view of a mask according to an embodiment of the application. The mask includes units for performing the steps in the embodiments corresponding to fig. 1, 2, and 3. Refer specifically to the related descriptions in the embodiments corresponding to fig. 1, fig. 2, and fig. 3. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 4, the mask 4 includes:
An acquiring unit 410, configured to acquire an air pressure value generated when a user wears the mask to breathe;
a determining unit 420, configured to determine a current respiratory smoothness state of the user based on the air pressure value, a preset exhalation pressure value, and a preset inhalation pressure value; the preset expiration pressure value represents a corresponding pressure value when the user wears the mask to exhale normally; the preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally;
and an adjusting unit 430, configured to adjust the current air volume in the mask based on the respiratory smoothness state.
Further, the determining unit 420 is specifically configured to:
comparing the air pressure value with a preset air pressure average value to obtain a first comparison result; the preset air pressure average value is an average value of air pressure values generated when the user wears the mask for breathing in a preset period;
determining a respiration state corresponding to the first comparison result based on a preset corresponding relation between the air pressure comparison result and a preset respiration state; the preset respiratory state comprises an expiration state and an inspiration state;
when the breathing state is the expiration state, comparing the air pressure value with the preset expiration pressure value to obtain a second comparison result;
Determining a respiratory smoothness state corresponding to the second comparison result based on a preset corresponding relation between the respiratory smoothness state and the expiratory pressure comparison result; the preset smooth breathing state comprises a breath holding state and a choke state.
Further, the mask further includes:
the comparison unit is used for comparing the air pressure value with the preset inhalation pressure value when the breathing state is the inhalation state, so as to obtain a third comparison result;
and the state determining unit is used for determining the breathing smoothness state corresponding to the third comparison result based on a preset corresponding relation between the inhalation pressure comparison result and the preset breathing smoothness state.
Further, the adjusting unit 430 is specifically configured to:
when the smooth breathing state is a breath holding state, reducing the air quantity in the mask;
when the smooth breathing state is a choke state, the air quantity in the mask is increased.
Further, the mask further includes:
the first calculating unit is used for calculating a first difference value between the air pressure value and the preset expiration pressure value when the smooth breathing state is the breath holding state, and acquiring a breath holding degree value corresponding to the first difference value;
The first speed acquisition unit is used for acquiring a first air volume adjusting speed corresponding to the suffocation degree value and acquiring a first air volume range corresponding to the air pressure value;
the adjusting unit 430 is specifically configured to: and regulating the current air quantity in the mask to be within the first air quantity range at the first air quantity regulating speed.
Further, the mask further includes:
the second calculating unit is used for calculating a second difference value between the air pressure value and the preset inhalation pressure value when the smooth breathing state is a stuffiness state, and obtaining a stuffiness degree value corresponding to the second difference value;
the second speed acquisition unit is used for acquiring a second air volume adjusting speed corresponding to the choke plug degree value and acquiring a second air volume range corresponding to the air pressure value;
the adjusting unit 430 is specifically configured to: and regulating the current air quantity in the mask to be within the second air quantity range at the second air quantity regulating speed.
Further, the mask further includes:
the sampling unit is used for acquiring a first preset number of mask air pressure values based on a preset sampling period; the air pressure value of the mask is the air pressure value in the mask;
the data type determining unit is used for determining the data type of each mask air pressure value based on a preset mask air pressure average value, each mask air pressure value and a preset data type; the preset data type comprises expiration data and inspiration data;
The judging unit is used for judging that the user currently wears the mask when the second preset number of expiration data are detected to be in an increasing state and the second preset number of inspiration data are detected to be in a decreasing state; the second predetermined number is a predetermined percentage of the first predetermined number.
Further, the mask further includes:
the first lighting unit is used for lighting a first indicator lamp on the mask when the electric quantity of the mask is detected to be smaller than a first preset electric quantity; the first indicator lamp is used for reminding the user to charge the mask;
the second lighting unit is used for lighting a second indicator lamp on the mask when the electric quantity of the mask is detected to be larger than or equal to a second preset electric quantity; the second indicator lamp is used for reminding the user that the electric quantity of the mask is sufficient; the first preset electric quantity is smaller than the second preset electric quantity.
Referring to fig. 5, fig. 5 is a schematic view of a mask according to another embodiment of the present invention. As shown in fig. 5, the mask 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The steps of the method embodiment for adjusting the air volume in the mask described above, such as S101 to S103 shown in fig. 1, are implemented when the processor 50 executes the computer program 52. Alternatively, the processor 50, when executing the computer program 52, performs the functions of the units in the above-described device embodiments, for example, the functions of the units 410 to 430 shown in fig. 4.
By way of example, the computer program 52 may be partitioned into one or more units that are stored in the memory 51 and executed by the processor 50 to complete the present invention. The one or more elements may be a series of computer program instruction segments capable of performing a specific function describing the execution of the computer program 52 in the mask 5. For example, the computer program 52 may be divided into an acquisition unit, a determination unit and an adjustment unit, each unit functioning specifically as described above.
The mask includes, but is not limited to, a processor 50, a memory 51. It will be appreciated by those skilled in the art that fig. 5 is merely an example of a mask 5 and is not intended to be limiting of the mask 5, and may include more or fewer components than shown, or may be combined with certain components, or different components, such as the mask may also include an input-output mask, a network access mask, a bus, etc.
The processor 50 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the mask 5, for example, a hard disk or a memory of the mask 5. The memory 51 may be an external storage mask of the mask 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the mask 5. Further, the storage 51 may further include both an internal storage unit of the mask 5 and an external storage mask. The memory 51 is used for storing the computer program and other programs and data required for the mask. The memory 51 may also be used to temporarily store data that has been output or is to be output.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (7)

1. A method of regulating the amount of air in a mask, comprising:
acquiring an air pressure value generated by breathing of a user wearing the mask;
determining a current smooth breathing state of the user based on the air pressure value, a preset expiration pressure value and a preset inspiration pressure value; the preset expiration pressure value represents a corresponding pressure value when the user wears the mask to exhale normally; the preset inhalation pressure value represents a corresponding pressure value when the user wears the mask to inhale normally; the smooth breathing state comprises a breath holding state and a choke state, wherein the breath holding state refers to a state that the air quantity flowing into the mask from the outside is large, and the choke state refers to a state that the air quantity flowing into the mask from the outside is small;
adjusting the current air quantity in the mask based on the smooth breathing state;
the determining the current smooth breathing state of the user based on the air pressure value, the preset expiration pressure value and the preset inspiration pressure value comprises:
comparing the air pressure value with a preset air pressure average value to obtain a first comparison result; the preset air pressure average value is an average value of air pressure values generated when the user wears the mask for breathing in a preset period;
determining a respiration state corresponding to the first comparison result based on a preset corresponding relation between the air pressure comparison result and a preset respiration state; the preset respiratory state comprises an expiration state and an inspiration state;
When the breathing state is the expiration state, comparing the air pressure value with the preset expiration pressure value to obtain a second comparison result;
determining a respiratory smoothness state corresponding to the second comparison result based on a preset corresponding relation between the respiratory smoothness state and the expiratory pressure comparison result;
the method further comprises the steps of after determining the respiration state corresponding to the first comparison result based on the preset corresponding relation between the air pressure comparison result and the preset respiration state, wherein the method comprises the following steps:
when the breathing state is the inspiration state, comparing the air pressure value with the preset inspiration pressure value to obtain a third comparison result;
determining a respiratory smoothing state corresponding to the third comparison result based on a preset corresponding relation between the respiratory smoothing state and the respiratory smoothing state;
the adjusting the current air quantity in the mask based on the breathing smoothness state comprises;
when the smooth breathing state is a breath holding state, reducing the air quantity in the mask;
when the smooth breathing state is a choke state, the air quantity in the mask is increased.
2. The method of claim 1, wherein after determining the current smooth breathing state of the user based on the barometric pressure value, a preset expiratory pressure value, and a preset inspiratory pressure value, further comprising:
When the smooth breathing state is a breath holding state, calculating a first difference value between the air pressure value and the preset expiration pressure value, and acquiring a breath holding degree value corresponding to the first difference value;
acquiring a first air volume adjusting speed corresponding to the breath holding degree value and acquiring a first air volume range corresponding to the air pressure value;
the adjusting the current air volume in the mask based on the breathing smoothness state comprises: and regulating the current air quantity in the mask to be within the first air quantity range at the first air quantity regulating speed.
3. The method of claim 1, wherein after determining the current smooth breathing state of the user based on the barometric pressure value, a preset expiratory pressure value, and a preset inspiratory pressure value, further comprising:
when the smooth breathing state is a stuffy state, calculating a second difference value between the air pressure value and the preset inhalation pressure value, and obtaining a stuffy degree value corresponding to the second difference value;
acquiring a second air volume adjusting speed corresponding to the choke valve and a second air volume range corresponding to the air pressure value;
the adjusting the current air volume in the mask based on the breathing smoothness state comprises:
And regulating the current air quantity in the mask to be within the second air quantity range at the second air quantity regulating speed.
4. The method of claim 1, wherein prior to obtaining the air pressure value generated by the breathing of the mask worn by the user, further comprising:
acquiring a first preset number of mask air pressure values based on a preset sampling period; the air pressure value of the mask is the air pressure value in the mask;
determining the data type of each mask air pressure value based on a preset mask air pressure average value, each mask air pressure value and a preset data type; the preset data type comprises expiration data and inspiration data;
when a state of increasing the second preset number of expiration data is detected, and the state of decreasing the second preset number of inspiration data is detected, judging that the user wears the mask currently; the second predetermined number is a predetermined percentage of the first predetermined number.
5. The method of any one of claims 1 to 4, further comprising:
when the electric quantity of the mask is detected to be smaller than a first preset electric quantity, a first indicator lamp on the mask is lightened; the first indicator lamp is used for reminding the user to charge the mask;
When the electric quantity of the mask is detected to be larger than or equal to a second preset electric quantity, a second indicator lamp on the mask is lightened; the second indicator lamp is used for reminding the user that the electric quantity of the mask is sufficient; the first preset electric quantity is smaller than the second preset electric quantity.
6. A mask comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor, when executing the computer readable instructions, implements the method of any one of claims 1 to 5.
7. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 5.
CN201911012349.6A 2019-10-23 2019-10-23 Method for adjusting air quantity in mask and mask Active CN110780948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911012349.6A CN110780948B (en) 2019-10-23 2019-10-23 Method for adjusting air quantity in mask and mask

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911012349.6A CN110780948B (en) 2019-10-23 2019-10-23 Method for adjusting air quantity in mask and mask

Publications (2)

Publication Number Publication Date
CN110780948A CN110780948A (en) 2020-02-11
CN110780948B true CN110780948B (en) 2023-12-08

Family

ID=69386584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911012349.6A Active CN110780948B (en) 2019-10-23 2019-10-23 Method for adjusting air quantity in mask and mask

Country Status (1)

Country Link
CN (1) CN110780948B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111528547A (en) * 2020-04-30 2020-08-14 深圳市瑞源祥橡塑制品有限公司 Method for keeping smooth breathing inside protective device and protective device
CN112773023A (en) * 2021-02-07 2021-05-11 昆山宝创新能源科技有限公司 Mask

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102078655A (en) * 2003-06-20 2011-06-01 雷斯梅德有限公司 Method and apparatus for improving the comfort of cpap
CN106618578A (en) * 2017-02-13 2017-05-10 深圳市沃特沃德股份有限公司 Breath state monitoring method and breath state monitoring device
CN106901420A (en) * 2017-04-05 2017-06-30 深圳市美好创亿医疗科技有限公司 The method and system of regulation air-supply mask air-supply air quantity
CN108635691A (en) * 2018-06-08 2018-10-12 深圳市华盛昌科技实业股份有限公司 A kind of intelligence mask and its control circuit
CN109283840A (en) * 2018-10-31 2019-01-29 广东小天才科技有限公司 A kind of portable device and its wearing state detection method and device
CN109316655A (en) * 2017-07-31 2019-02-12 深圳市美好创亿医疗科技有限公司 Air-supply mask system and air blowing control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10161057A1 (en) * 2001-12-12 2003-07-10 Heptec Gmbh Process for controlling the differential pressure in a CPAP device and CPAP device
US10449320B2 (en) * 2013-10-15 2019-10-22 Fisher & Paykel Healthcare Limited Sensing and control arrangements for respiratory device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102078655A (en) * 2003-06-20 2011-06-01 雷斯梅德有限公司 Method and apparatus for improving the comfort of cpap
CN106618578A (en) * 2017-02-13 2017-05-10 深圳市沃特沃德股份有限公司 Breath state monitoring method and breath state monitoring device
CN106901420A (en) * 2017-04-05 2017-06-30 深圳市美好创亿医疗科技有限公司 The method and system of regulation air-supply mask air-supply air quantity
CN109316655A (en) * 2017-07-31 2019-02-12 深圳市美好创亿医疗科技有限公司 Air-supply mask system and air blowing control method
CN108635691A (en) * 2018-06-08 2018-10-12 深圳市华盛昌科技实业股份有限公司 A kind of intelligence mask and its control circuit
CN109283840A (en) * 2018-10-31 2019-01-29 广东小天才科技有限公司 A kind of portable device and its wearing state detection method and device

Also Published As

Publication number Publication date
CN110780948A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN110780948B (en) Method for adjusting air quantity in mask and mask
JP2023002586A (en) Methods of determining whether high flow therapy apparatus is being used by patient, method for remote processor of them, apparatus for delivering high flow therapy to patient, and high flow therapy system
EP3912554A1 (en) Methods and apparatus for treating respiratory disorders
CN103379854B (en) For determining the system and method for one or more respiration parameters of object
CN103501690B (en) The detection of ventilation sufficiency
CN108245131B (en) Detecting mouth breathing in early expiration
US8746248B2 (en) Determination of patient circuit disconnect in leak-compensated ventilatory support
RU2515401C2 (en) System and method of identifying respiratory insufficiency of subject's respiration
JP5997175B2 (en) System and method for identifying respiration based solely on capnographic information
CN103330979A (en) Breathing machine control method and breathing machine apply control method
KR20160132159A (en) Pressure sensor-based electric respiratory system with real-time breath control function
WO2022242139A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
CN112368042A (en) Ventilation detection method and device, ventilation equipment and storage medium
CN113304409B (en) Portable personal respirator
US6475156B1 (en) Apparatus for the diagnosis or treatment of respiratory sleep disorders and operating process
CN105854141A (en) Respiratory triggering conversion method and device
WO2019080090A1 (en) Anesthesia machine, anesthetic output concentration monitoring method, system, and device, and storage medium
CN110537917A (en) mechanical ventilation intelligent monitoring system and monitoring method based on respiratory mechanics
CN116262162A (en) Apparatus and method for optimizing airflow in respiratory protection devices
CN106618578A (en) Breath state monitoring method and breath state monitoring device
EP3658239A1 (en) A mask and control method
EP3675964B1 (en) A mask-based breathing apparatus and control method
EP3768392B1 (en) Breathing assistance face mask and method of its control
CN108113678A (en) A kind of respiratory air flow detection method
EP2368593A1 (en) Estimating a leakage flow

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant