A medical gas monitoring alarm method and system

By analyzing the data of medical gas storage equipment and pipelines, establishing a flow function and scoring system, the problems of insufficient supply of medical gas and inconvenient use are solved, accurate judgment and timely supplementation of gas supply are achieved, and the convenience of use is improved.

CN118687628BActive Publication Date: 2024-11-08XIAMEN DOSING MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411162516.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-08
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

The existing medical gas monitoring system cannot effectively analyze whether the gas meets the needs during use, resulting in insufficient gas supply and inconvenient use.

Method used

By obtaining the gas pressure data in the medical gas gas storage equipment and the gas flow data in the pipeline, a gas flow function is established, and the flow demand matching degree and air pressure adequacy score are calculated. If the score is below the threshold, an alarm message will be generated to replenish the gas in a timely manner. .

Benefits of technology

Accurately judge whether the medical gas supply is sufficient, improve the convenience and efficiency of gas use, and ensure that the gas pipeline matches the needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118687628B_ABST
    Figure CN118687628B_ABST
Patent Text Reader

Abstract

The present invention provides a medical gas monitoring alarm method and system, which relates to the field of monitoring and early warning technology. The method includes: obtaining gas pressure data and first gas flow data; obtaining historical opening data and second gas flow data of historical monitoring cycles, and determining the medical gas flow function; determining the medical gas theoretical flow data according to the medical gas flow function and the opening data; determining the flow demand matching score according to the medical gas theoretical flow data and the first gas flow data; if the flow demand matching score is lower than or equal to the first scoring threshold, determining the gas pressure adequacy score of the gas storage device according to the gas pressure data, the opening data and the first gas flow data; if the gas pressure adequacy score is lower than or equal to the second scoring threshold, generating a gas monitoring alarm message. According to the present invention, it can be determined whether the flow of medical gas can match the demand for medical gas, so as to generate a gas monitoring alarm message when the gas supply is insufficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of monitoring and early warning technology, and in particular to a medical gas monitoring and alarm method and system. Background Art

[0002] CN118097909A discloses a medical gas alarm system, which can monitor the gas component content in the area where the device is located, and when the gas content does not meet the requirements, it will sound an alarm to promptly remind staff to go and check, and it can also realize a broadcast function to remind people nearby to go and check. Through the air pressure monitoring system, the air pressure between the suction cup and the wall can be monitored in real time. When the air pressure changes, an alarm will be issued to remind people to come and check.

[0003] CN118230518A discloses an oxygen compression chamber environment intelligent early warning system based on data analysis, which is used to solve the problem that traditional oxygen compression chamber monitoring systems usually only have simple data collection functions, lack the ability to deeply analyze data, cannot timely discover potential abnormal situations and issue early warnings, and cannot ensure the comfort and safety of patients during treatment; the oxygen compression chamber environment intelligent early warning system includes the following modules: an environmental early warning platform, a status monitoring module, a data analysis module, an abnormal alarm module and an environmental monitoring module; the oxygen compression chamber environment intelligent early warning system realizes all-round monitoring and early warning of the oxygen compression chamber status and environment by combining real-time monitoring and data analysis technology, improves the response speed and processing ability of medical personnel to abnormal situations, and provides strong protection for the safety and comfort of patient treatment.

[0004] Therefore, in the relevant technology, although it is possible to detect various data of medical gas and issue an alarm when the data is abnormal, it is difficult to analyze whether the use of medical gas meets the use requirements, and it is also impossible to analyze whether the gas pressure of the medical gas is sufficient, which may lead to technical problems such as insufficient supply of medical gas and inconvenience in use.

[0005] The information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to those skilled in the art. Summary of the invention

[0006] The present invention provides a medical gas monitoring alarm method and system, which can solve the technical problems of insufficient medical gas supply and inconvenience in use that may arise in related technologies.

[0007] According to a first aspect of the present invention, a medical gas monitoring and alarm method is provided, comprising:

[0008] At multiple moments in the current monitoring cycle, obtaining gas pressure data in a gas storage device for medical gas and first gas flow data in multiple medical gas pipelines;

[0009] Acquire historical opening data of the regulating valve of each medical gas pipeline and second gas flow data in each medical gas pipeline at multiple moments in a historical monitoring cycle;

[0010] Obtaining a medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data, wherein the medical gas flow function is used to represent the relationship between the opening data of each medical gas pipeline and the gas flow data in the medical gas pipeline;

[0011] Determine the medical gas theoretical flow data of each medical gas pipeline at each moment in the current monitoring cycle according to the medical gas flow function and the opening data of the medical gas pipeline at multiple moments in the current monitoring cycle;

[0012] Determine the flow demand matching score according to the theoretical flow data of the medical gas at each moment and the flow data of the first gas;

[0013] Determine whether the traffic demand matching score is lower than or equal to a preset first scoring threshold;

[0014] If the flow demand matching score is lower than or equal to a preset first scoring threshold, determining the gas pressure adequacy score of the gas storage device according to the gas pressure data, the opening data and the first gas flow data in the gas storage device;

[0015] If the gas pressure adequacy score of the gas storage device is lower than or equal to a preset second score threshold, a gas monitoring alarm message is generated.

[0016] According to a second aspect of the present invention, there is provided a medical gas monitoring and alarm system, comprising:

[0017] A first acquisition module, used to acquire gas pressure data in a gas storage device of a medical gas and first gas flow data in a plurality of medical gas pipelines at a plurality of moments in a current monitoring cycle;

[0018] A second acquisition module is used to acquire historical opening data of the regulating valve of each medical gas pipeline and second gas flow data in each medical gas pipeline at multiple moments in a historical monitoring period;

[0019] a medical gas flow function module, used for obtaining a medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data, wherein the medical gas flow function is used for representing the relationship between the opening data of each medical gas pipeline and the gas flow data in the medical gas pipeline;

[0020] A medical gas theoretical flow data module, used to determine the medical gas theoretical flow data of each medical gas pipeline at each moment in the current monitoring cycle according to the medical gas flow function and the opening data of the medical gas pipeline at multiple moments in the current monitoring cycle;

[0021] A flow demand matching degree scoring module, used to determine a flow demand matching degree score according to the theoretical flow data of the medical gas at each moment and the first gas flow data;

[0022] A first judgment module is used to determine whether the traffic demand matching score is lower than or equal to a preset first scoring threshold;

[0023] A gas pressure adequacy scoring module for a gas storage device, configured to determine a gas pressure adequacy score for the gas storage device based on the gas pressure data, the opening data and the first gas flow data in the gas storage device if the flow demand matching score is lower than or equal to a preset first scoring threshold;

[0024] The alarm module is used to generate a gas monitoring alarm message if the gas pressure adequacy score of the gas storage device is lower than or equal to a preset second score threshold.

[0025] According to a third aspect of the present invention, a medical gas monitoring alarm device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the medical gas monitoring alarm method.

[0026] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions implement the medical gas monitoring and alarm method when executed by a processor.

[0027] Technical effect: According to the present invention, the demand for medical gas can be determined based on the gas flow data in the medical gas pipeline and the gas pressure data in the gas storage device of the medical gas, so as to determine whether the flow of medical gas can match the demand for medical gas, and whether the gas pressure of the gas storage device is sufficient can be determined based on the gas pressure data, so as to accurately judge whether the medical gas supply is sufficient, so as to generate a gas monitoring alarm message in time when the gas supply is insufficient, replenish the medical gas in time, and improve the convenience of use. When determining the medical gas flow function, the position of the first coefficient to be fitted can be accurately set based on the law that the historical opening data of the medical gas pipeline is positively correlated with the second gas flow data, but not a simple linear relationship, so as to improve the accuracy of the fitting and the accuracy of the relationship between the opening data of the medical gas pipeline and the gas flow data. When determining the medical gas flow matching score, the medical gas flow matching score can be solved from two aspects: the matching degree between the total amount of medical gas in the current monitoring period and the expected matching degree, and the matching degree between the medical gas flow at a single moment and the expected matching degree. The minimum value of the matching degree is used to indicate the maximum deviation between the actual gas flow and the user's expectation, thereby reflecting the overall matching degree between the actual gas flow of each medical gas pipeline and the user's expectation, and improving the accuracy and objectivity of the medical gas flow matching score. When determining the medical gas flow change matching score, the medical gas flow change matching score can be determined by the minimum value of the matching degree between the actual change rate of each medical gas pipeline at each moment and the expected flow change rate, and the time required for the gas flow to change is considered when solving, thereby improving the accuracy of the medical gas flow change matching score, and enabling the medical gas flow change matching score to accurately reflect the overall matching degree between the actual flow change rate of the medical gas pipeline and the user's expectation of the medical gas flow change rate. When determining the pressure flow function, the second equation to be fitted can be set by considering the influence of the test gas pressure data and the distance data between the output end of the medical gas pipeline and the gas storage device on the test gas flow data. After solving, the pressure flow function can accurately and objectively describe the relationship between the test gas pressure data and the test gas flow data. When determining the gas pressure adequacy score, the ratio between the theoretical medical gas flow data and the expected medical gas flow data can be used to describe the matching degree between the medical gas flow that the gas storage device can provide for each medical gas pipeline and the user's expectation of the medical gas flow, and the minimum value of the matching degree is used as the gas pressure adequacy score of the gas storage device, so as to accurately describe the overall adequacy of the gas pressure in the gas storage device and whether the gas storage device can provide sufficient medical gas flow for all medical gas pipelines.

[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and do not limit the present invention. Other features and aspects of the present invention will become more apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without creative work.

[0030] Figure 1 A schematic diagram of a process flow of a medical gas monitoring and alarm method according to an embodiment of the present invention is exemplarily shown;

[0031] Figure 2 A block diagram of a medical gas monitoring alarm system according to an embodiment of the present invention is exemplarily shown. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0034] Figure 1 A schematic flow chart of a medical gas monitoring and alarm method according to an embodiment of the present invention is exemplarily shown, wherein the method comprises:

[0035] Step S101, obtaining gas pressure data in a gas storage device for medical gas and first gas flow data in multiple medical gas pipelines at multiple moments in a current monitoring cycle;

[0036] Step S102, obtaining historical opening data of the regulating valve of each medical gas pipeline and second gas flow data in each gas pipeline at multiple moments in the historical monitoring cycle;

[0037] Step S103, obtaining a medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data, wherein the medical gas flow function is used to represent the relationship between the opening data of each medical gas pipeline and the gas flow data in the medical gas pipeline;

[0038] Step S104, determining the medical gas theoretical flow data of each medical gas pipeline at each moment in the current monitoring cycle according to the medical gas flow function and the opening data of the medical gas pipeline at multiple moments in the current monitoring cycle;

[0039] Step S105, determining a flow demand matching score according to the theoretical flow data of the medical gas at each moment and the flow data of the first gas;

[0040] Step S106, determining whether the traffic demand matching score is lower than or equal to a preset first scoring threshold;

[0041] Step S107, if the flow demand matching score is lower than or equal to a preset first scoring threshold, determining the gas pressure adequacy score of the gas storage device according to the gas pressure data, the opening data and the first gas flow data in the gas storage device;

[0042] Step S108: If the gas pressure adequacy score of the gas storage equipment is lower than or equal to a preset second score threshold, a gas monitoring alarm message is generated.

[0043] According to the medical gas monitoring and alarm method of an embodiment of the present invention, the demand for medical gas can be determined based on the gas flow data in the medical gas pipeline and the gas pressure data in the medical gas storage device, thereby determining whether the flow of medical gas can match the demand for medical gas, and whether the gas pressure of the gas storage device is sufficient based on the gas pressure data, thereby accurately judging whether the medical gas supply is sufficient, thereby generating a gas monitoring alarm message in time when the gas supply is insufficient, replenishing the medical gas in time, and improving the convenience of use.

[0044] According to one embodiment of the present invention, the medical gas monitoring and alarm method can be performed by a medical gas monitoring and alarm device, which is mainly composed of a monitoring alarm, a variety of sensors (for example, gas pressure sensors, flow sensors, etc.) and a controller. The monitoring alarm includes a power module, a liquid crystal digital display module, an alarm and a shell, and the parameter sensor includes a gas pressure sensor, a flow meter, an oxygen concentration analyzer, etc. The controller can monitor and alarm the gas pressure, flow, etc. of medical oxygen, medical vacuum, medical air and other gases in the gas supply system of the medical institution, and monitor the concentration, real-time flow and cumulative flow of medical oxygen. The power module may include an AC power supply of 100V-220V, 50Hz, and the number of air pressure monitoring points is 6, which can monitor the gas pressure data of 6 gas storage devices. The monitoring alarm can be controlled by a switch signal to output a gas monitoring alarm message. The communication between the sensor, the controller and the components such as the liquid crystal digital display module is carried out through the RS-485 bus and the Modbus protocol. In addition, the controller supports custom air pressure units, custom sensor pressure ranges and free selection of gas identifiers, supports historical record query, supports sensor online status detection, the LCD digital display module supports integrated flow meter display (instantaneous flow and cumulative flow), supports screen brightness adjustment, the alarm supports sound and light alarm, and supports buzzer volume adjustment.

[0045] According to one embodiment of the present invention, the medical gas storage device may include a gas storage tank capable of monitoring internal gas pressure data, and may provide medical gas to a plurality of medical gas pipelines for use by doctors, patients, and other personnel.

[0046] According to one embodiment of the present invention, in step S101, the duration of the monitoring cycle can be set to 10 minutes, and the time interval between adjacent moments in the monitoring cycle can be 1 minute, 30 seconds, 10 seconds, etc. The present invention does not limit the duration of the monitoring cycle and the time interval between adjacent moments. The gas pressure data in the gas storage device of the medical gas and the first gas flow data in multiple medical gas pipelines can be obtained at multiple moments in the current monitoring cycle.

[0047] According to one embodiment of the present invention, in step S102, the second gas flow data of each gas pipeline at multiple moments in a historical monitoring cycle and the historical opening data of the regulating valve of each medical gas pipeline may be obtained for reference.

[0048] According to one embodiment of the present invention, in step S103, the relationship between the opening degree of the pipeline and the gas flow data can be determined based on the historical opening data and the second gas flow data obtained in the historical monitoring cycle to obtain the medical gas flow function.

[0049] According to one embodiment of the present invention, obtaining the medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data includes: obtaining a first equation to be fitted of the medical gas flow function of the i-th medical gas pipeline according to formula (1);

[0050] (1)

[0051] in, is the second gas flow data of the i-th medical gas pipeline at the j-th moment in the historical monitoring cycle, is the historical opening data of the i-th medical gas pipeline at the j-th moment in the historical monitoring cycle, , and is the first coefficient to be fitted of the first equation to be fitted of the ith medical gas pipeline; according to the historical opening data and the second gas flow data, the first coefficient to be fitted is solved to obtain the solved value of the first coefficient to be fitted of each medical gas pipeline; according to the solved value of the first coefficient to be fitted of each medical gas pipeline and the first equation to be fitted of each medical gas pipeline, the medical gas flow function of each medical gas pipeline is obtained.

[0052] According to one embodiment of the present invention, in formula (1), the historical opening data of the medical gas pipeline is positively correlated with the second gas flow data, but not a simple linear relationship. Therefore, in order to improve the accuracy of fitting, the first coefficient to be fitted can be set at the index position and coefficient position of the historical opening data, and the first coefficient to be fitted can be set As the residual term, the first equation to be fitted of the medical gas flow function of the ith medical gas pipeline is obtained. Similarly, the first equation to be fitted of the medical gas flow function of each medical gas pipeline can be obtained using formula (1).

[0053] According to one embodiment of the present invention, the historical opening data and the second gas flow data of each medical gas pipeline can be used to fit and solve the first equation to be fitted of each medical gas flow function, and the solved value of the first coefficient to be fitted of each medical gas pipeline can be obtained. Then, the solved value of the first coefficient to be fitted of each medical gas pipeline can be substituted into the first equation to be fitted of each other medical pipeline to obtain the medical gas flow function of each medical gas pipeline, so as to describe the relationship between the opening data and the gas flow data of each medical gas pipeline.

[0054] In this way, based on the fact that the historical opening data of the medical gas pipeline is positively correlated with the second gas flow data, but not a simple linear relationship, the position of the first coefficient to be fitted can be accurately set, thereby improving the accuracy of the fitting and the accuracy of the relationship between the opening data of the medical gas pipeline and the gas flow data.

[0055] According to one embodiment of the present invention, in step S104, as described above, the medical gas flow function of each medical gas pipeline can be used to describe the relationship between the opening data and the gas flow data of each medical gas pipeline. In the example, the historical monitoring period can be a monitoring period when the medical gas in the gas storage device is sufficient, for example, within the monitoring period when the gas storage device has just added medical gas. In this case, the medical gas flow function of each medical gas pipeline can be used to describe the relationship between the opening data and the gas flow data of each medical gas pipeline when the medical gas supply is sufficient. In this case, the opening data of the medical gas pipeline at multiple moments in the current monitoring period are substituted into the medical gas flow function, and the medical gas flow data in the medical gas pipeline when the opening of the medical gas pipeline is equal to the opening data when the medical gas supply is sufficient, that is, the medical gas theoretical flow data, can be obtained.

[0056] According to one embodiment of the present invention, in step S105, the opening data of the medical gas pipeline is data adjusted by the user of the medical gas, which can reflect the user's demand for the use of the medical gas to a certain extent. For example, when the opening data is large, the user's demand for the use of the medical gas is large, and the user's expectation for the flow data of the medical gas is also high. The above medical gas theoretical flow data can be used to represent the user's expectation of the flow data of the medical gas. If the gas supply is insufficient, the actual gas flow data in the medical gas pipeline (i.e., the first gas flow data) will have a certain deviation from the medical gas theoretical flow data. The greater the deviation, the more the medical gas theoretical flow data does not match the user's expectations. The flow demand matching score can be used to describe whether the first gas flow data matches the user's expectations.

[0057] According to one embodiment of the present invention, a flow demand matching score is determined based on the medical gas theoretical flow data at each moment and the first gas flow data, including: fitting the medical gas theoretical flow data at each moment to obtain a theoretical flow function; fitting the first gas flow data to obtain an actual flow function; deriving the theoretical flow function to obtain a theoretical flow derivative function; obtaining the theoretical flow change rate at each moment based on the theoretical flow derivative function; deriving the actual flow function to obtain an actual flow derivative function; obtaining the actual flow change rate at each moment based on the actual flow derivative function; determining the medical gas flow matching score based on the theoretical flow function and the actual flow function; determining the medical gas flow change matching score based on the theoretical flow change rate and the actual flow change rate; determining the flow demand matching score based on the medical gas flow matching score and the medical gas flow change matching score.

[0058] According to one embodiment of the present invention, the theoretical flow function may represent the relationship between the theoretical flow data of the medical gas and the time, and is used to represent the change of the theoretical flow data of the medical gas over time. The actual flow function may represent the relationship between the first gas flow data and the time, and is used to represent the change of the first gas flow data over time. The theoretical flow function is differentiated to obtain the theoretical flow derivative function, and then each moment is substituted into the theoretical flow derivative function to obtain the theoretical flow change rate at each moment. Similarly, the actual flow function is differentiated to obtain the actual flow derivative function, and each moment is substituted into the actual flow derivative function to obtain the actual flow change rate at each moment.

[0059] According to one embodiment of the present invention, determining the medical gas flow matching score according to the theoretical flow function and the actual flow function includes: determining the medical gas flow matching score according to formula (2): ,

[0060] (2)

[0061] in, is the actual flow function of the ith medical gas pipeline, is the theoretical flow function of the ith medical gas pipeline, is the first moment in the current monitoring cycle, is the last moment in the current monitoring cycle, N is the number of moments in the current monitoring cycle, , n is the number of medical gas pipelines, is the theoretical flow data of medical gas of the i-th medical gas pipeline at the j-th moment in the current monitoring cycle, is the theoretical flow data of medical gas of the ith medical gas pipeline at the j+1th moment in the current monitoring cycle, is the first gas flow data of the i-th medical gas pipeline at the j+1-th moment in the current monitoring cycle, is the first gas flow data of the i-th medical gas pipeline at the j+2-th moment in the current monitoring cycle, min is the minimum value function, max is the maximum value function, if is the conditional function, i≤n, j≤N-1, and i, j, n and N are all positive integers.

[0062] According to one embodiment of the present invention, in formula (2), Indicates the total amount of medical gas flowing through the ith medical gas pipeline during the current monitoring period, Indicates the total amount of medical gas theoretically flowing through the ith medical gas pipeline during the current monitoring period. It can be used to indicate the user's expectation of the total amount of medical gas. The ratio of the two It can represent the matching degree between the total amount of medical gas actually flowing through the ith medical gas pipeline and the user's expectation of the total amount of medical gas. The greater the matching degree, the more the total amount of medical gas actually flowing through the ith medical gas pipeline is consistent with the expectation. The minimum value representing the degree of match between the total amount of medical gas actually flowing through each medical gas pipeline and the user's expectation of the total amount of medical gas can be used to represent the situation with the lowest degree of match with the expectation of the total amount of medical gas. The medical gas flow matching score calculated based on the minimum value can help the monitor understand the maximum degree of deviation between the total amount of medical gas actually flowing through the medical gas pipeline and the user's expectation of the total amount of medical gas.

[0063] According to one embodiment of the present invention, on the other hand, the conditional function The function value satisfies the condition In the case of , if the condition is not met In the case of . The conditional function can represent that if the theoretical medical gas flow data at the j+1th moment changes relative to the theoretical medical gas flow data at the jth moment, that is, the user adjusts the opening data of the medical gas pipeline and the expectation of the medical gas flow rate changes, then it can be determined whether the actual first gas flow data matches the expected theoretical medical gas flow data after the opening data is adjusted, and that after the opening data is adjusted, the actual change in the medical gas flow rate may take a certain amount of time. Therefore, for example, a time interval between adjacent moments can be given as the time of gas flow change, that is, the first gas flow data at the j+2th moment is used as the gas flow data after the gas flow change, and the ratio between the first gas flow data at the j+2th moment and the theoretical medical gas flow data at the j+1th moment is used as a candidate value for the matching degree between the actual first gas flow data and the expected theoretical medical gas flow data. If used The moment when the opening data of the medical gas pipeline is adjusted does not occur at the j+1th moment, but occurs between the jth moment and the j+1th moment, which will also cause the medical gas theoretical flow data at the j+1th moment to change relative to the medical gas theoretical flow data at the jth moment, and in the time period from the moment of adjusting the opening data to the j+1th moment, the medical gas flow has changed. The ratio between the first gas flow data at the j+1th moment and the medical gas theoretical flow data at the j+1th moment can be directly used as a candidate value for the matching degree between the actual first gas flow data and the expected medical gas theoretical flow data. The maximum value of the above two candidate values ​​can be selected as the matching degree between the actual first gas flow data and the expected medical gas theoretical flow data when the expected medical gas flow changes, thereby obtaining a more accurate matching degree while considering the time required for the gas flow to change. If the expected medical gas flow rate has not changed, the ratio between the first gas flow rate data at the j+1th moment and the medical gas theoretical flow rate data at the j+1th moment is directly used as the matching degree between the actual first gas flow rate data and the expected medical gas theoretical flow rate data. Furthermore, the minimum value of the matching degree between the actual first gas flow rate data and the expected medical gas theoretical flow rate data of each medical gas pipeline at each moment can be selected to represent the lowest matching degree between the actual medical gas flow rate at a single moment and the expected value of the medical gas flow rate. The medical gas flow matching score calculated by the minimum value can help the monitor understand the maximum deviation between the actual flow data of the medical gas pipeline and the user's expectation of the medical gas flow rate.

[0064] According to one embodiment of the present invention, the above two items are multiplied to obtain a medical gas flow matching score, which can be used to indicate the maximum deviation between the actual gas flow of the medical gas pipeline and the user's expectations, or the minimum matching degree, so that the monitor can understand the extent to which the medical gas pipeline supply flow is lower than expected, so that an alarm can be issued in time when the medical gas supply is insufficient. If the medical gas flow matching score is high, it means that the overall matching degree between the actual gas flow of the medical gas pipeline and the user's expectations is high, and the medical gas supply is generally sufficient.

[0065] In this way, the medical gas flow matching score can be solved from two aspects: the matching degree between the total amount of medical gas in the current monitoring period and the expected one, and the matching degree between the flow rate of medical gas at a single moment and the expected one. The minimum value of the matching degree is used to represent the maximum deviation between the actual gas flow rate and the user's expectation, thereby reflecting the overall matching degree between the actual gas flow rate of each medical gas pipeline and the user's expectation, and improving the accuracy and objectivity of the medical gas flow matching score.

[0066] According to one embodiment of the present invention, determining the medical gas flow change matching score according to the theoretical flow change rate and the actual flow change rate includes: determining the medical gas flow change matching score according to formula (3): ,

[0067] (3)

[0068] in, is the actual flow function of the ith medical gas pipeline, is the theoretical flow function of the ith medical gas pipeline, is the theoretical flow rate change rate of the i-th medical gas pipeline at the j-th moment in the current monitoring cycle, is the actual flow rate change rate of the ith medical gas pipeline at time t in the current monitoring cycle, is the jth moment in the current monitoring cycle, is the j+1th moment in the current monitoring cycle, , n is the number of medical gas pipelines, N is the number of moments in the current monitoring cycle, min is the minimum value function, max is the maximum value function, if is the conditional function, i≤n, j≤N-1, and i, j, n and N are all positive integers.

[0069] According to one embodiment of the present invention, in formula (3), the function value of the conditional function satisfies the condition In the case of , otherwise 1. As mentioned above, if the user adjusts the opening data of the medical gas pipeline, the actual change of the medical gas flow rate may take a certain amount of time. Therefore, if the theoretical flow rate change rate at a certain moment is not zero, it means that the user has adjusted the opening data of the medical gas pipeline at that moment, but the change of the actual flow rate of the medical gas pipeline may have a certain time difference from that moment. Therefore, the maximum change rate of the actual flow rate of the medical gas pipeline in the time period between that moment and the next moment, that is, the maximum value of the actual flow rate change rate between that moment and the next moment, can be selected as the actual change rate of the medical gas pipeline in response to the user adjusting the opening data of the medical gas pipeline. It can be used as the expected flow rate change rate for users to adjust the opening data of the medical gas pipeline. The ratio of the two That is, the matching degree between the actual change rate and the expected flow rate change rate, so as to obtain a more accurate matching degree by considering the time required for the gas flow rate to change. On the other hand, if the user does not adjust the opening data of the medical gas pipeline at this moment, then In this case, the value of the conditional function can be directly set to 1. Furthermore, the minimum value of the matching degree between the actual change rate of each medical gas pipeline at each moment and the expected flow rate change rate can be taken, indicating the lowest matching degree between the actual medical gas flow rate change rate at a single moment and the expected value of the medical gas flow rate change rate. This minimum value can be used as the medical gas flow rate change matching score, which can help the monitor understand the maximum deviation between the actual flow rate change rate of the medical gas pipeline and the user's expectation of the medical gas flow rate change rate.

[0070] In this way, the medical gas flow change matching score can be determined by the minimum value of the matching degree between the actual change rate of each medical gas pipeline at each moment and the expected flow change rate, and the time required for the gas flow to change is taken into account when solving the problem, thereby improving the accuracy of the medical gas flow change matching score and enabling the medical gas flow change matching score to accurately reflect the overall matching degree between the actual flow change rate of the medical gas pipeline and the user's expectation of the medical gas flow change rate.

[0071] According to one embodiment of the present invention, after obtaining the medical gas flow matching score and the medical gas flow change matching score, the medical gas flow matching score and the medical gas flow change matching score may be weighted and summed to obtain a flow demand matching score, thereby accurately describing the overall matching degree between the actual flow of the medical gas in the medical gas pipeline and the user's expectation of the flow.

[0072] According to one embodiment of the present invention, in step S106, it can be determined whether the flow demand matching score is lower than or equal to the preset first scoring threshold. If the flow demand matching score is lower than or equal to the preset first scoring threshold, it indicates that the actual flow of the medical gas in the medical gas pipeline is significantly different from the user's expectation of the flow.

[0073] According to one embodiment of the present invention, in step S107, if the actual flow rate of the medical gas in the medical gas pipeline is significantly different from the user's expected flow rate, the gas pressure adequacy score of the gas storage device can be further determined to determine whether the gas pressure of the gas storage device is sufficient and whether the supply of medical gas is sufficient.

[0074] According to one embodiment of the present invention, if the flow demand matching score is lower than or equal to a preset first scoring threshold, the gas pressure adequacy score of the gas storage device is determined based on the gas pressure data, opening data and the first gas flow data in the gas storage device, including: during the test process, determining the pressure-flow function between the test gas pressure data in the medical gas storage device and the test gas flow data in each medical gas pipeline when the opening data is 1; determining the gas pressure adequacy score of the gas storage device based on the pressure-flow function, the gas pressure data, opening data and the first gas flow data in the medical gas storage device.

[0075] According to one embodiment of the present invention, the test process may be a process of a certain period of time during the installation and commissioning phase of a medical gas pipeline. During this test process, the opening data of each medical gas pipeline may be adjusted to 1, that is, maintaining 100% opening, and determining the relationship between the test gas pressure data in the medical gas storage device and the test gas flow data in each medical gas pipeline, that is, the pressure-flow function.

[0076] According to one embodiment of the present invention, during the test process, determining the pressure flow function between the test gas pressure data in the gas storage device of the medical gas and the test gas flow data in each medical gas pipeline when the opening data is 1 includes: obtaining a second equation to be fitted for the pressure flow function of the i-th medical gas pipeline according to formula (4),

[0077] (4)

[0078] in, is the test gas flow data of the i-th medical gas pipeline at the k-th test time, is the test gas pressure data at the kth test moment, is the distance data between the output end of the i-th medical gas pipeline and the gas storage equipment, , and is the second coefficient to be fitted of the second equation to be fitted of the ith medical gas pipeline; according to the test gas pressure data in the medical gas storage device, the test gas flow data in each medical gas pipeline, and the distance data between the output end of each medical gas pipeline and the gas storage device, the second coefficient to be fitted is solved to obtain the solved value of the second coefficient to be fitted of each medical gas pipeline; according to the solved value of the second coefficient to be fitted of each medical gas pipeline and the second equation to be fitted of each medical gas pipeline, the pressure flow function of each medical gas pipeline is obtained.

[0079] According to one embodiment of the present invention, in formula (4), in addition to being positively correlated with the test gas pressure data, the test gas flow data is also correlated with the distance data between the output end of the medical gas pipeline and the gas storage device. The greater the distance between the output end of the medical gas pipeline and the gas storage device, the greater the energy loss of the medical gas when it is transported in the pipeline, and the greater the flow rate reduction, resulting in a smaller flow rate. Therefore, the test gas flow data is negatively correlated with the distance data between the output end of the medical gas pipeline and the gas storage device, and the test gas flow data and the distance data are not in a simple inverse relationship. Therefore, the exponent of the distance data can be set by the second coefficient to be fitted, thereby obtaining the second equation to be fitted. Furthermore, based on the test gas pressure data in the medical gas storage device, the test gas flow data in each medical gas pipeline, and the distance data between the output end of each medical gas pipeline and the gas storage device, the second coefficient to be fitted in the second equation to be fitted of the pressure flow function of each medical gas pipeline can be solved to obtain the solved value of the second coefficient to be fitted of each medical gas pipeline, and the solved value of the second coefficient to be fitted is substituted into the second equation to be fitted of the pressure flow function of each medical gas pipeline to obtain the pressure flow function of each medical gas pipeline.

[0080] In this way, the second equation to be fitted can be set up considering the influence of the test gas pressure data and the distance data between the output end of the medical gas pipeline and the gas storage equipment on the test gas flow data. After solving the equation, the pressure flow function can accurately and objectively describe the relationship between the test gas pressure data and the test gas flow data.

[0081] According to one embodiment of the present invention, the gas pressure adequacy score of the gas storage device is determined according to the pressure flow function, the gas pressure data in the gas storage device of the medical gas, the opening data and the first gas flow data, including: determining the gas pressure adequacy score of the gas storage device according to formula (5): ,

[0082] (5)

[0083] in, It is the gas pressure data of the gas storage equipment at the last moment in the current monitoring cycle. is the first gas flow data of the ith medical gas pipeline at the last moment in the current monitoring cycle, is the opening data of the i-th medical gas pipeline at the j-th moment in the current monitoring cycle, for The solution value of for The solution value of for The solution value of , N is the number of moments in the current monitoring cycle, min is the minimum value function, i≤n, and i, n and N are all positive integers.

[0084] According to one embodiment of the present invention, in formula (5), under the influence of the gas pressure data of the gas storage device at the last moment in the current monitoring cycle, if the opening data of the i-th medical gas pipeline is adjusted to 1, then its theoretical flow data is ,and It can be said that if the user adjusts the opening data of i medical gas pipelines to 1, the user's expected flow data, the ratio of the two is the matching degree between the theoretical flow data and the expected flow data. If the matching degree is low, it means that the gas pressure in the medical gas storage device is insufficient and cannot provide the expected medical gas flow. Furthermore, the minimum value of the above matching degree corresponding to each medical gas pipeline can be taken as the gas pressure adequacy score of the gas storage device, so as to objectively describe the overall adequacy of the gas pressure in the medical gas storage device, that is, whether sufficient medical gas flow can be provided for all medical gas pipelines.

[0085] In this way, the ratio between the theoretical medical gas flow data and the expected medical gas flow data can be used to describe the degree of match between the medical gas flow that the gas storage device can provide for each medical gas pipeline and the user's expectation of the medical gas flow, and the minimum value of the matching degree is used as the gas pressure adequacy score of the gas storage device, thereby accurately describing the overall adequacy of the gas pressure in the gas storage device and whether the gas storage device can provide sufficient medical gas flow for all medical gas pipelines.

[0086] According to one embodiment of the present invention, in step S108, if the gas pressure adequacy score of the gas storage device is lower than or equal to a preset second score threshold, it indicates that the gas pressure in the gas storage device is insufficient, and medical gas needs to be supplemented to increase the gas pressure so as to provide sufficient gas flow for each medical gas pipeline.

[0087] According to the medical gas monitoring and alarm method of the embodiment of the present invention, the demand for medical gas can be determined based on the gas flow data in the medical gas pipeline and the gas pressure data in the gas storage device of the medical gas, so as to determine whether the flow of medical gas can match the demand for medical gas, and whether the gas pressure of the gas storage device is sufficient based on the gas pressure data, so as to accurately judge whether the medical gas supply is sufficient, so as to generate a gas monitoring alarm message in time when the gas supply is insufficient, replenish the medical gas in time, and improve the convenience of use. When determining the medical gas flow function, the position of the first coefficient to be fitted can be accurately set based on the law that the historical opening data of the medical gas pipeline is positively correlated with the second gas flow data, but not a simple linear relationship, so as to improve the accuracy of the fitting and the accuracy of the relationship between the opening data of the medical gas pipeline and the gas flow data. When determining the medical gas flow matching score, the medical gas flow matching score can be solved from two aspects: the matching degree between the total amount of medical gas in the current monitoring period and the expected matching degree, and the matching degree between the medical gas flow at a single moment and the expected matching degree. The minimum value of the matching degree is used to indicate the maximum deviation between the actual gas flow and the user's expectation, thereby reflecting the overall matching degree between the actual gas flow of each medical gas pipeline and the user's expectation, and improving the accuracy and objectivity of the medical gas flow matching score. When determining the medical gas flow change matching score, the medical gas flow change matching score can be determined by the minimum value of the matching degree between the actual change rate of each medical gas pipeline at each moment and the expected flow change rate, and the time required for the gas flow to change is considered when solving, thereby improving the accuracy of the medical gas flow change matching score, and enabling the medical gas flow change matching score to accurately reflect the overall matching degree between the actual flow change rate of the medical gas pipeline and the user's expectation of the medical gas flow change rate. When determining the pressure flow function, the second equation to be fitted can be set by considering the influence of the test gas pressure data and the distance data between the output end of the medical gas pipeline and the gas storage device on the test gas flow data. After solving, the pressure flow function can accurately and objectively describe the relationship between the test gas pressure data and the test gas flow data. When determining the gas pressure adequacy score, the ratio between the theoretical medical gas flow data and the expected medical gas flow data can be used to describe the matching degree between the medical gas flow that the gas storage device can provide for each medical gas pipeline and the user's expectation of the medical gas flow, and the minimum value of the matching degree is used as the gas pressure adequacy score of the gas storage device, so as to accurately describe the overall adequacy of the gas pressure in the gas storage device and whether the gas storage device can provide sufficient medical gas flow for all medical gas pipelines.

[0088] Figure 2 A block diagram of a medical gas monitoring and alarm system according to an embodiment of the present invention is exemplarily shown, the system comprising:

[0089] A first acquisition module, used to acquire gas pressure data in a gas storage device of a medical gas and first gas flow data in a plurality of medical gas pipelines at a plurality of moments in a current monitoring cycle;

[0090] A second acquisition module is used to acquire historical opening data of the regulating valve of each medical gas pipeline and second gas flow data in each medical gas pipeline at multiple moments in a historical monitoring period;

[0091] a medical gas flow function module, used for obtaining a medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data, wherein the medical gas flow function is used for representing the relationship between the opening data of each medical gas pipeline and the gas flow data in the medical gas pipeline;

[0092] A medical gas theoretical flow data module, used to determine the medical gas theoretical flow data of each medical gas pipeline at each moment in the current monitoring cycle according to the medical gas flow function and the opening data of the medical gas pipeline at multiple moments in the current monitoring cycle;

[0093] A flow demand matching degree scoring module, used to determine a flow demand matching degree score according to the theoretical flow data of the medical gas at each moment and the first gas flow data;

[0094] A first judgment module is used to determine whether the traffic demand matching score is lower than or equal to a preset first scoring threshold;

[0095] A gas pressure adequacy scoring module for a gas storage device, configured to determine a gas pressure adequacy score for the gas storage device based on the gas pressure data, the opening data and the first gas flow data in the gas storage device if the flow demand matching score is lower than or equal to a preset first scoring threshold;

[0096] The alarm module is used to generate a gas monitoring alarm message if the gas pressure adequacy score of the gas storage device is lower than or equal to a preset second score threshold.

[0097] According to one embodiment of the present invention, a medical gas monitoring alarm device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the medical gas monitoring alarm method.

[0098] According to one embodiment of the present invention, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the medical gas monitoring and alarm method is implemented.

[0099] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0100] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The purpose of the present invention has been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.

[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A medical gas monitoring and alarm method, characterized in that: include: At multiple moments in the current monitoring cycle, obtaining gas pressure data in a gas storage device for medical gas and first gas flow data in multiple medical gas pipelines; Acquire historical opening data of the regulating valve of each medical gas pipeline and second gas flow data in each medical gas pipeline at multiple moments in a historical monitoring cycle; Obtaining a medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data, wherein the medical gas flow function is used to represent the relationship between the opening data of each medical gas pipeline and the gas flow data in the medical gas pipeline; Determine the medical gas theoretical flow data of each medical gas pipeline at each moment in the current monitoring cycle according to the medical gas flow function and the opening data of the medical gas pipeline at multiple moments in the current monitoring cycle; Determine the flow demand matching score according to the theoretical flow data of the medical gas at each moment and the flow data of the first gas; Determine whether the traffic demand matching score is lower than or equal to a preset first scoring threshold; If the flow demand matching score is lower than or equal to a preset first scoring threshold, determining the gas pressure adequacy score of the gas storage device according to the gas pressure data, the opening data and the first gas flow data in the gas storage device; If the gas pressure adequacy score of the gas storage device is lower than or equal to a preset second score threshold, generating a gas monitoring alarm message; According to the theoretical flow data of medical gas at each moment and the flow data of the first gas, the flow demand matching score is determined, including: Fitting the theoretical flow data of the medical gas at each moment to obtain a theoretical flow function; Fitting the first gas flow data to obtain an actual flow function; Deriving the theoretical flow function to obtain a theoretical flow derivative function; According to the theoretical flow derivative function, the theoretical flow rate change rate at each moment is obtained; Derivative the actual flow function to obtain an actual flow derivative function; According to the actual flow derivative function, the actual flow rate change rate at each moment is obtained; Determining a medical gas flow matching score according to the theoretical flow function and the actual flow function; Determining a medical gas flow change matching score according to the theoretical flow change rate and the actual flow change rate; A flow requirement matching score is determined according to the medical gas flow matching score and the medical gas flow change matching score.

2. The medical gas monitoring and alarm method according to claim 1, characterized in that: Obtaining a medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data, including: According to the formula The first equation to be fitted of the medical gas flow function of the i-th medical gas pipeline is obtained, wherein, is the second gas flow data of the i-th medical gas pipeline at the j-th moment in the historical monitoring cycle, is the historical opening data of the i-th medical gas pipeline at the j-th moment in the historical monitoring cycle, , and is the first coefficient to be fitted of the first equation to be fitted of the i-th medical gas pipeline; Solving the first coefficient to be fitted according to the historical opening data and the second gas flow data to obtain a solution value of the first coefficient to be fitted of each medical gas pipeline; According to the solved value of the first coefficient to be fitted of each medical gas pipeline and the first equation to be fitted of each medical gas pipeline, the medical gas flow function of each medical gas pipeline is obtained.

3. The medical gas monitoring and alarm method according to claim 1, characterized in that: Determining a medical gas flow matching score according to the theoretical flow function and the actual flow function includes: According to the formula Determining the Medical Gas Flow Matching Score ,in, is the actual flow function of the ith medical gas pipeline, is the theoretical flow function of the ith medical gas pipeline, is the first moment in the current monitoring cycle, is the last moment in the current monitoring cycle, N is the number of moments in the current monitoring cycle, , n is the number of medical gas pipelines, is the theoretical flow data of medical gas of the i-th medical gas pipeline at the j-th moment in the current monitoring cycle, is the theoretical flow data of medical gas of the ith medical gas pipeline at the j+1th moment in the current monitoring cycle, is the first gas flow data of the i-th medical gas pipeline at the j+1-th moment in the current monitoring cycle, is the first gas flow data of the i-th medical gas pipeline at the j+2-th moment in the current monitoring cycle, min is the minimum value function, max is the maximum value function, if is the conditional function, i≤n, j≤N-1, and i, j, n and N are all positive integers.

4. The medical gas monitoring and alarm method according to claim 1, characterized in that: Determining a medical gas flow change matching score according to the theoretical flow change rate and the actual flow change rate includes: According to the formula Determining the Matching Score for Medical Gas Flow Changes ,in, is the actual flow function of the ith medical gas pipeline, is the theoretical flow function of the ith medical gas pipeline, is the theoretical flow rate change rate of the i-th medical gas pipeline at the j-th moment in the current monitoring cycle, is the actual flow rate change rate of the ith medical gas pipeline at time t in the current monitoring cycle, is the jth moment in the current monitoring cycle, is the j+1th moment in the current monitoring cycle, , n is the number of medical gas pipelines, N is the number of moments in the current monitoring cycle, min is the minimum value function, max is the maximum value function, if is the conditional function, i≤n, j≤N-1, and i, j, n and N are all positive integers.

5. The medical gas monitoring and alarm method according to claim 1, characterized in that: If the flow demand matching score is lower than or equal to a preset first scoring threshold, determining the gas pressure adequacy score of the gas storage device according to the gas pressure data, the opening data and the first gas flow data in the gas storage device, including: During the test, determining the pressure-flow function between the test gas pressure data in the gas storage device of the medical gas and the test gas flow data in each medical gas pipeline when the opening data is 1; A gas pressure adequacy score of the gas storage device is determined based on the pressure-flow function, the gas pressure data and the opening data in the gas storage device for the medical gas, and the first gas flow data.

6. The medical gas monitoring and alarm method according to claim 5, characterized in that: During the test, the pressure-flow function between the test gas pressure data in the gas storage device of the medical gas and the test gas flow data in each medical gas pipeline is determined when the opening data is 1, including: According to the formula The second equation to be fitted of the pressure flow function of the i-th medical gas pipeline is obtained, wherein, is the test gas flow data of the i-th medical gas pipeline at the k-th test time, is the test gas pressure data at the kth test moment, is the distance data between the output end of the i-th medical gas pipeline and the gas storage equipment, , and is the second coefficient to be fitted of the second equation to be fitted of the i-th medical gas pipeline; Solving the second coefficient to be fitted according to the test gas pressure data in the gas storage device of the medical gas, the test gas flow data in each medical gas pipeline, and the distance data between the output end of each medical gas pipeline and the gas storage device to obtain the solution value of the second coefficient to be fitted of each medical gas pipeline; According to the solved value of the second coefficient to be fitted of each medical gas pipeline and the second equation to be fitted of each medical gas pipeline, the pressure flow function of each medical gas pipeline is obtained.

7. The medical gas monitoring and alarm method according to claim 6, characterized in that: Determining a gas pressure adequacy score of the gas storage device according to the pressure flow function, the gas pressure data in the gas storage device of the medical gas, the opening data and the first gas flow data, comprising: According to the formula Determine the gas pressure adequacy score of the gas storage facility ,in, It is the gas pressure data of the gas storage equipment at the last moment in the current monitoring cycle. is the first gas flow data of the ith medical gas pipeline at the last moment in the current monitoring cycle, is the opening data of the i-th medical gas pipeline at the j-th moment in the current monitoring cycle, for The solution value of for The solution value of for The solution value of , N is the number of moments in the current monitoring cycle, min is the minimum value function, i≤n, and i, n and N are all positive integers.

8. A medical gas monitoring and alarm system for executing the method according to any one of claims 1 to 7, characterized in that: include: A first acquisition module, used to acquire gas pressure data in a gas storage device of a medical gas and first gas flow data in a plurality of medical gas pipelines at a plurality of moments in a current monitoring cycle; A second acquisition module is used to acquire historical opening data of the regulating valve of each medical gas pipeline and second gas flow data in each medical gas pipeline at multiple moments in a historical monitoring period; a medical gas flow function module, used for obtaining a medical gas flow function of each medical gas pipeline according to the historical opening data and the second gas flow data, wherein the medical gas flow function is used for representing the relationship between the opening data of each medical gas pipeline and the gas flow data in the medical gas pipeline; A medical gas theoretical flow data module, used to determine the medical gas theoretical flow data of each medical gas pipeline at each moment in the current monitoring cycle according to the medical gas flow function and the opening data of the medical gas pipeline at multiple moments in the current monitoring cycle; A flow demand matching degree scoring module, used to determine a flow demand matching degree score according to the theoretical flow data of the medical gas at each moment and the first gas flow data; A first judgment module is used to determine whether the traffic demand matching score is lower than or equal to a preset first scoring threshold; A gas pressure adequacy scoring module for a gas storage device, configured to determine a gas pressure adequacy score for the gas storage device based on the gas pressure data, the opening data and the first gas flow data in the gas storage device if the flow demand matching score is lower than or equal to a preset first scoring threshold; The alarm module is used to generate a gas monitoring alarm message if the gas pressure adequacy score of the gas storage device is lower than or equal to a preset second score threshold.

9. A medical gas monitoring and alarm device, characterized in that: include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the method according to any one of claims 1-7.