Fuel gas safety management system
By using 6LoWPAN wireless sensor network and multiple algorithm screening factors in the gas safety management system, the safety of the gas safety management sub-region is evaluated in real time, and the problem of existing systems being difficult to adapt to structural parameter changes and failing to evaluate the carrying capacity of safety accidents is solved. , realize accurate dynamic assessment of the gas safety management sub-region and timely response to safety hazards.
Patent Information
- Application Number
- CN202411077139.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-22
AI Technical Summary
Due to the strong customization of the existing gas safety management system, it is difficult to adapt to changes in structural parameters, and it is unable to evaluate the safety accident carrying capacity of each gas safety management sub-region in real time. The evaluation results are too one-sided and it is difficult to formulate a comprehensive operation and maintenance plan.
A gas safety management system was designed, including a data acquisition system, a gas safety assessment system and an alarm module. Dynamic sample data was collected through the 6LoWPAN wireless sensor network, combined with static sample data to calculate a comprehensive safety score, and screen dynamic factors based on multiple algorithms. , dynamically evaluate the safety of each gas safety management sub-region in real time.
Accurate and dynamic evaluation of each gas safety management sub-region has been achieved, and the accuracy and applicability of the evaluation has been improved. Users can formulate reasonable maintenance plans based on the scores and promptly respond to safety hazards through early warning and alarm mechanisms.
Smart Images

Figure CN119005692A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of gas safety, and in particular to a gas safety management system. Background Art
[0002] Gas is an energy resource widely used in life and industrial production, but it has many potential safety hazards during transportation and delivery. To ensure the safety of gas use, effective safety monitoring measures need to be taken in gas use and storage to avoid accidental fires and explosions that may harm people and property.
[0003] However, in the prior art, since the gas safety management sub-area is affected by factors such as the environment, system structure or construction, the structural parameters of the gas safety management sub-area are changing in real time, and the existing gas safety management system is too customizable (such as deep learning algorithm), which not only occupies a high amount of running memory, making it difficult to use in scenarios where multiple gas safety management sub-areas are centrally managed for safety, but also the current recognition model will no longer be applicable after a period of time due to changes in structural parameters; in addition, the existing gas safety management system does not consider the carrying capacity of each gas safety management sub-area for safety accidents, nor does it consider real-time dynamic evaluation of each gas safety management sub-area; finally, the gas safety management system only predicts or identifies faults, and the evaluation results are limited to the parameters or images of a certain device in the gas safety management sub-area, and users cannot formulate operation and maintenance plans for each gas safety management system based on the evaluation results. Summary of the invention
[0004] In view of this, the present invention aims to propose a gas safety management system to solve the problems in the prior art that the gas safety management system occupies a high amount of running memory, is too customizable, is difficult to adapt to scenarios where structural parameters change, does not consider the carrying capacity of each gas safety management sub-area itself for safety accidents, does not consider real-time dynamic evaluation of each gas safety management sub-area, and the evaluation results are too one-sided.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] The present invention provides a gas safety management system, comprising:
[0007] Data acquisition system, gas safety assessment system and alarm module;
[0008] The data collection system is used to collect dynamic sample data of each gas safety management sub-area through a 6LoWPAN-based wireless sensor network, wherein the dynamic sample data includes a plurality of original dynamic factors;
[0009] A gas safety assessment system, for respectively obtaining static sample data of each gas safety management sub-area, wherein the static sample data includes a plurality of static factors; respectively calculating a first comprehensive weight of each static factor in each gas safety management sub-area according to the static sample data; and respectively calculating a basic safety score of each gas safety management sub-area based on the first comprehensive weight of each static factor in each gas safety management sub-area;
[0010] The gas safety assessment system is further used to respectively obtain dynamic sample data of each gas safety management sub-area; in response to a first preset calculation cycle, screen the original dynamic factors of each gas safety management sub-area based on multiple importance ranking algorithms to obtain multiple screened dynamic factors of each gas safety management sub-area; and calculate the second comprehensive weight of each screened dynamic factor in each gas safety management sub-area based on multiple weight calculation algorithms; in response to a second preset calculation cycle, calculate the dynamic safety score of each gas safety management sub-area according to the second comprehensive weight of each screened dynamic factor in each gas safety management sub-area; obtain the comprehensive safety score of each gas safety management sub-area according to the basic safety score and dynamic safety score of each gas safety management sub-area; send the comprehensive safety score of each gas safety management sub-area to the alarm module;
[0011] The alarm module is used to output a warning signal when the comprehensive safety score is less than the preset warning threshold of the corresponding gas safety management sub-area and greater than the preset alarm threshold of the corresponding gas safety management sub-area; and output an alarm signal when the comprehensive safety score is less than the preset alarm threshold of the corresponding gas safety management sub-area.
[0012] Furthermore, the data acquisition system comprises:
[0013] A data acquisition terminal, at least one 6LoWPAN gateway provided in each gas safety management sub-area, and at least one data processing module provided in each gas safety management sub-area;
[0014] The data processing module is used to respond to the first data collection broadcast instruction sent by the 6LoWPAN gateway in the safety management sub-area, collect the first sensor data of each sensor in the safety management sub-area, and send the collected data to the 6LoWPAN gateway in the gas management sub-area through the ZigBee transmission protocol;
[0015] The 6LoWPAN gateway is used to send a first acquisition broadcast instruction to the data processing module in the gas safety management sub-area and / or send a second acquisition broadcast instruction to the sensor with ZigBee transmission protocol in the gas safety management sub-area, obtain the first sensor data sent by each data processing module in the gas safety management sub-area and / or obtain the second sensor data of the sensor with ZigBee transmission protocol to obtain regional sensor data; convert the obtained regional sensor data into Ethernet protocol and upload it to the data acquisition terminal;
[0016] The data acquisition terminal is used to receive regional sensor data uploaded by each 6LoWPAN gateway, extract regional sensor data corresponding to each preset original dynamic factor in each gas safety management sub-area to obtain and store dynamic sample data of each gas safety management sub-area, and the dynamic sample data includes multiple original dynamic factors.
[0017] Furthermore, the data collection terminal stores dynamic sample data of each gas safety management sub-area through a MYSQL database;
[0018] The MYSQL database includes a master database, a slave database and a buffer database;
[0019] The data acquisition terminal writes the dynamic sample data of each gas safety management sub-area into the main database;
[0020] The slave database is used to replicate and store data in the master database, and the slave database only supports read operations;
[0021] The buffer database is used to store data whose access frequency in the main database or the slave database is greater than a preset frequency;
[0022] The MYSQL database is divided into a plurality of data storage sub-areas according to the gas safety management sub-areas, and the data storage sub-areas are used to store dynamic sample data corresponding to the gas safety management sub-areas.
[0023] Furthermore, the data processing module is detachably equipped with a plurality of expansion modules, and the expansion modules are selected from one or more of a 485 communication module, a 232 communication module, and an analog-to-digital conversion module;
[0024] The 485 communication module is used to collect first sensor data of a sensor having a 485 communication protocol;
[0025] The 232 communication module is used to collect first sensor data of a sensor having a 232 communication protocol;
[0026] The analog-to-digital conversion module is used to collect first sensor data of a sensor having an analog output function;
[0027] The 6LoWPAN gateway is provided with an encryption module, and the encryption module is used for asymmetrically encrypting the acquired regional sensor data after the 6LoWPAN gateway converts the data into an Ethernet protocol;
[0028] The data acquisition terminal is provided with a decryption module, and the decryption module is used for decrypting the regional sensor data uploaded by each 6LoWPAN gateway after the data acquisition terminal receives the regional sensor data.
[0029] Furthermore, the static factors include factors related to equipment specifications and models, factors related to design parameters, factors related to geographical location, and factors related to environmental climate;
[0030] The original dynamic factors include real-time operation factors, real-time environment factors, detection factors and external interference factors;
[0031] The external interference factors include water pipe leakage monitoring and electromagnetic interference monitoring.
[0032] Furthermore, the original dynamic factors of each gas safety management sub-area are screened based on multiple importance ranking algorithms to obtain multiple screened dynamic factors of each gas safety management sub-area, including:
[0033] The original dynamic factors of each gas safety management sub-area are processed as follows:
[0034] Based on the random forest algorithm, the original dynamic factors are sorted in descending order of importance, and the first N1 original dynamic factors are obtained as the first candidate factor set; wherein N1 is the first preset screening value;
[0035] Based on the ranking importance algorithm, each original dynamic factor is sorted in order of importance from large to small, and the first N2 original dynamic factors are obtained as the second candidate factor set; wherein N2 is the second preset screening value;
[0036] Based on the SHAP value algorithm, the original dynamic factors are sorted in descending order of importance, and the first N2 original dynamic factors are obtained as the third candidate factor set;
[0037] adding the original dynamic factors that are the same in the second candidate factor set and the third candidate factor set and do not exist in the first candidate factor set to the first candidate factor set to obtain a plurality of screening dynamic factors;
[0038] Wherein N1 is greater than N2 and both N1 and N2 are integers greater than 0.
[0039] Furthermore, the weight calculation algorithm includes the CRITIC method and the entropy weight method;
[0040] The second comprehensive weight of each screening dynamic factor in each gas safety management sub-area calculated based on multiple weight calculation algorithms includes:
[0041] Based on multiple weight calculation algorithms, the dynamic weights of each screening dynamic factor corresponding to each weight calculation algorithm in each gas safety management sub-area are calculated respectively;
[0042] Based on the weighted average method, the dynamic weights of each screening dynamic factor corresponding to each weight calculation algorithm in each gas safety management sub-area are integrated to obtain the second comprehensive weight of each screening dynamic factor in each gas safety management sub-area.
[0043] Further, the first comprehensive weight of each static factor in each gas safety management sub-area is calculated according to the static sample data, including:
[0044] The subjective weight of each static factor is calculated based on the analytic hierarchy process, and the objective weight of each static factor is calculated based on the CRITIC method;
[0045] The subjective weight and objective weight of each static factor are regarded as the membership function of the fuzzy set, and the first comprehensive weight of each static factor is obtained based on the fuzzy comprehensive evaluation method.
[0046] Furthermore, the gas safety management system further comprises an abnormality identification module and camera devices respectively preset at a plurality of preset nodes in each gas safety management sub-area;
[0047] The camera device is used to upload image data including location information corresponding to the camera device;
[0048] The abnormality recognition module is used to receive the image data uploaded by each camera device including the location information of the corresponding camera device, identify the abnormal events of gas leakage, flame detection, pipeline damage and illegal intrusion detection in the image according to the image data, classify each abnormal event, and send it to the alarm module;
[0049] The alarm module receives and outputs the abnormal event and the level of the corresponding abnormal event sent by the abnormal identification module.
[0050] Furthermore, the gas safety management system further comprises an automatic control system respectively arranged in each gas safety management sub-area; the automatic control system is used to send abnormal events of gas control equipment in the corresponding gas safety management sub-area to the abnormal identification module;
[0051] Before the abnormal identification module classifies each abnormal event and sends it to the alarm module, the abnormal identification module is also used to receive abnormal events of gas control equipment in the corresponding gas safety management sub-area sent by the automatic control system of each gas safety management sub-area; and identify abnormal events of each original dynamic factor based on dynamic sample data.
[0052] The beneficial effects of the present invention are as follows:
[0053] In the present invention, the second comprehensive weight of each gas safety management sub-area is calculated in real time and dynamically through the gas safety assessment system according to the dynamic sample data of each gas safety management sub-area, so as to calculate the dynamic safety score of each gas safety management sub-area every second preset calculation period; so as to dynamically evaluate each gas safety management sub-area; the present invention calculates the dynamic safety score so that the score can accurately and dynamically evaluate the safety of each current gas safety management sub-area; on the other hand, the present invention calculates the first comprehensive weight of each gas safety management sub-area through the static sample data of each gas safety management sub-area, so as to calculate the basic safety score of each gas safety management sub-area; the present invention calculates the basic safety score based on the static sample data of each gas safety management sub-area, and fully takes into account that each gas safety management sub-area should have a different initial carrying capacity for safety accidents, thereby improving the accuracy of the evaluation of each gas safety management sub-area by the present invention. Based on the basic safety score of each gas safety management sub-area, users can accurately assess the carrying capacity of the gas safety management sub-area for safety accidents compared with other safety management sub-areas. On this basis, combined with the dynamic safety score of each gas safety management sub-area, users can accurately assess whether each gas safety management sub-area needs maintenance, and formulate a reasonable maintenance plan based on the score. The overall safety of each gas safety management sub-area is accurately assessed through the dynamic safety score and the basic safety score. At the same time, the comprehensive safety score of each gas safety management sub-area is compared with the preset early warning threshold or preset alarm threshold of each gas safety management sub-area to provide preliminary early warning and alarm for the overall safety situation of each gas safety management sub-area.
[0054] The present invention reselects and calculates the weights of the screening factors of each gas safety management sub-area according to the importance of each original dynamic factor every first preset calculation cycle. The evaluation system of the present invention can always be applicable to the current operating environment of the corresponding gas safety management sub-area through the selection of factor weights and re-weight calculation. The present invention calculates the dynamic safety score in real time according to the weight of each screening dynamic factor, and occupies less computer running memory than the prediction process of various prediction models. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0056] Figure 1 A schematic diagram of the structure of a gas safety management system provided by an embodiment of the present invention is shown.
[0057] Figure 2 A schematic diagram of the structure of a data acquisition system provided by an embodiment of the present invention is shown.
[0058] Figure 3 A schematic diagram of the structure of a data processing module provided by an embodiment of the present invention is shown.
[0059] Figure 4 A schematic structural diagram of an embodiment of a 6LoWPAN gateway provided by an embodiment of the present invention is shown.
[0060] Figure 5 A schematic structural diagram of another embodiment of a 6LoWPAN gateway provided by an embodiment of the present invention is shown.
[0061] Figure 6 A schematic diagram showing the structure of a computer system for implementing the apparatus provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0062] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with embodiments and drawings. Similar components in the drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and the protection scope of the present invention should not be limited thereto. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
[0063] In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper", "lower", "inner", "back", etc. are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0064] In addition, in the description of the present invention, unless otherwise clearly defined, the terms "installed", "connected", "connected", and "connector" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in combination with specific circumstances.
[0065] The following will refer to the attached Figures 1 to 6 The present invention is described in detail with reference to embodiments.
[0066] Overall, if Figure 1 As shown, the present invention provides a gas safety management system, comprising:
[0067] Data acquisition system, gas safety assessment system and alarm module;
[0068] The data collection system is used to collect dynamic sample data of each gas safety management sub-area through a 6LoWPAN-based wireless sensor network, wherein the dynamic sample data includes a plurality of original dynamic factors;
[0069] A gas safety assessment system, for respectively obtaining static sample data of each gas safety management sub-area, wherein the static sample data includes a plurality of static factors; respectively calculating a first comprehensive weight of each static factor in each gas safety management sub-area according to the static sample data; and respectively calculating a basic safety score of each gas safety management sub-area based on the first comprehensive weight of each static factor in each gas safety management sub-area;
[0070] The gas safety assessment system is further used to respectively obtain dynamic sample data of each gas safety management sub-area; in response to a first preset calculation cycle, screen the original dynamic factors of each gas safety management sub-area based on multiple importance ranking algorithms to obtain multiple screened dynamic factors of each gas safety management sub-area; and calculate the second comprehensive weight of each screened dynamic factor in each gas safety management sub-area based on multiple weight calculation algorithms; in response to a second preset calculation cycle, calculate the dynamic safety score of each gas safety management sub-area according to the second comprehensive weight of each screened dynamic factor in each gas safety management sub-area; obtain the comprehensive safety score of each gas safety management sub-area according to the basic safety score and dynamic safety score of each gas safety management sub-area; send the comprehensive safety score of each gas safety management sub-area to the alarm module;
[0071] The alarm module is used to output an alarm signal when the comprehensive safety score is less than the preset alarm threshold of the corresponding gas safety management sub-area and greater than the preset alarm threshold of the corresponding gas safety management sub-area; when the comprehensive safety score is less than the preset alarm threshold of the corresponding gas safety management sub-area, output an alarm signal. The alarm signal or warning signal output by the alarm module is displayed on a large screen.
[0072] In a specific embodiment, the time of the second preset calculation cycle is less than the time of the first preset calculation cycle; further, the time of the first preset calculation cycle may be one week, one month or one quarter, and the calculation time of the second preset cycle may be 1 minute, 5 minutes, 10 minutes, half an hour or 1 hour.
[0073] The present invention calculates the second comprehensive weight of each gas safety management sub-region dynamically and in real time through a gas safety assessment system according to the dynamic sample data of each gas safety management sub-region, so as to calculate the dynamic safety score of each gas safety management sub-region every second preset calculation period; so as to dynamically assess each gas safety management sub-region; the present invention calculates the dynamic safety score so that the score can accurately and dynamically assess the safety of each current gas safety management sub-region; on the other hand, the present invention calculates the first comprehensive weight of each gas safety management sub-region through the static sample data of each gas safety management sub-region, so as to calculate the basic safety score of each gas safety management sub-region; the present invention calculates the basic safety score based on the static sample data of each gas safety management sub-region, and fully takes into account that each gas safety management sub-region should have a different initial carrying capacity for safety accidents, thereby improving the accuracy of the assessment of each gas safety management sub-region by the present invention. Based on the basic safety score of each gas safety management sub-area, users can accurately assess the carrying capacity of the gas safety management sub-area for safety accidents compared with other safety management sub-areas (it can also be understood as the possibility of safety accidents, and the probability of safety accidents in different gas safety management sub-areas is different). On this basis, combined with the dynamic safety score of each gas safety management sub-area, it can accurately assess whether each gas safety management sub-area needs maintenance, and formulate a reasonable maintenance plan based on the score. The overall safety of each gas safety management sub-area is accurately assessed through the dynamic safety score and the basic safety score. At the same time, the comprehensive safety score of each gas safety management sub-area is compared with the preset warning threshold or preset alarm threshold of each gas safety management sub-area to provide preliminary warning and alarm for the overall safety situation of each gas safety management sub-area.
[0074] The present invention reselects and calculates the weights of the screening factors of each gas safety management sub-area according to the importance of each original dynamic factor every first preset calculation cycle. Through the selection of factor weights and re-weight calculation, the evaluation system of the present invention can always be applicable to the current operating environment of the corresponding gas safety management sub-area.
[0075] The present invention calculates the dynamic safety score in real time according to the weight of each dynamic screening factor, and occupies less computer running memory compared to the prediction process of various prediction models.
[0076] The present invention screens original dynamic factors by importance to reduce the influence of original dynamic factors of low importance on calculation results.
[0077] In one possible implementation, Figure 2 As shown, the data acquisition system includes:
[0078] A data acquisition terminal, at least one 6LoWPAN gateway provided in each gas safety management sub-area, and at least one data processing module provided in each gas safety management sub-area;
[0079] The data processing module is used to respond to the first data collection broadcast instruction sent by the 6LoWPAN gateway in the safety management sub-area, collect the first sensor data of each sensor in the safety management sub-area, and send the collected data to the 6LoWPAN gateway in the gas management sub-area through the ZigBee transmission protocol;
[0080] The 6LoWPAN gateway is used to send a first acquisition broadcast instruction to the data processing module in the gas safety management sub-area and / or send a second acquisition broadcast instruction to the sensor with ZigBee transmission protocol in the gas safety management sub-area, obtain the first sensor data sent by each data processing module in the gas safety management sub-area and / or obtain the second sensor data of the sensor with ZigBee transmission protocol to obtain regional sensor data; convert the obtained regional sensor data into Ethernet protocol and upload it to the data acquisition terminal;
[0081] The data acquisition terminal is used to receive regional sensor data uploaded by each 6LoWPAN gateway, extract regional sensor data corresponding to each preset original dynamic factor in each gas safety management sub-area to obtain and store dynamic sample data of each gas safety management sub-area, and the dynamic sample data includes multiple original dynamic factors.
[0082] In a specific embodiment, Figure 3 As shown, the data processing module includes an expansion module and a first ZigBee chip. In response to a first data collection broadcast instruction sent by a 6LoWPAN gateway in the safety management sub-area, the expansion module collects first sensor data of each sensor in the safety management sub-area; and the first ZigBee chip sends the collected data to the 6LoWPAN gateway in the gas management sub-area using the ZigBee transmission protocol;
[0083] In a specific embodiment, Figure 4As shown, the 6LoWPAN gateway includes a core module, a second ZigBee chip and an Ethernet module; the core module sends a first acquisition broadcast instruction to the data processing module in the gas safety management sub-area and / or sends a second acquisition broadcast instruction to the sensor with ZigBee transmission protocol in the gas safety management sub-area through the second ZigBee chip, and the second ZigBee chip obtains the first sensor data sent by each data processing module in the gas safety management sub-area and / or obtains the second sensor data of the sensor with ZigBee transmission protocol to obtain the regional sensor data; after being processed by the core module, the obtained regional sensor data is converted into the Ethernet protocol through the Ethernet module and uploaded to the data acquisition terminal.
[0084] In a specific implementation, the data acquisition terminal is used to receive regional sensor data uploaded by each 6LoWPAN gateway, and after extracting the regional sensor data corresponding to each preset original dynamic factor in each gas safety management sub-area, the data acquisition terminal is also used to pre-process the received data, and the pre-processing method includes cleaning, standardization and other work.
[0085] The present invention constructs a wireless sensor network based on 6LoWPAN through a data acquisition terminal, a 6LoWPAN gateway and a data processing module, and the IP network protocol stack architecture is widely recognized, and the LR-WPAN network can be simply and effectively developed based on this architecture. The huge address space of IPv6 meets the needs of deploying large-scale, high-density LR-WPAN network equipment. In addition, LR-WPAN uses IPv6 technology, which makes it easier to access other IP-based networks and the next generation Internet. In addition, many technologies based on IPv6 are relatively mature and widely accepted. Appropriate simplification and trade-offs are made for the characteristics of LR-WPAN, simplifying the process of protocol development; in addition, the present invention realizes monitoring in different environments with different sensors; at the same time, the investment cost of each device is low, the size is small and easy to install, and because the data processing module and the 6LoWPAN gateway have low operating power consumption, they can be powered by batteries, which is suitable for installing them in areas where power supply is inconvenient.
[0086] In a possible implementation, the data collection terminal stores dynamic sample data of each gas safety management sub-area through a MYSQL database;
[0087] The MYSQL database includes a master database, a slave database and a buffer database;
[0088] The data acquisition terminal writes the dynamic sample data of each gas safety management sub-area into the main database;
[0089] The slave database is used to replicate and store data in the master database, and the slave database only supports read operations;
[0090] The buffer database is used to store data whose access frequency in the main database or the slave database is greater than a preset frequency;
[0091] The system's demand for reading databases in the present invention is much greater than its demand for writing databases. Therefore, the database in the present invention uses a master-slave structure to separate read and write operations. This approach greatly improves the system's response and also ensures the reliability of MySOL data.
[0092] In a specific implementation, for frequently accessed hotspot data, the present invention sets a buffer database to reduce the access pressure on the database.
[0093] The buffer database is deployed in an independent service layer, between the application server where the data acquisition terminal or gas safety assessment system is set up and the database server where the MYSQL database is set up. In this way, whether it is the master database or the slave database, data access can be accelerated through the buffer database.
[0094] In a read-write separation architecture, read requests are usually routed to slaves. However, if a cache system is enabled, read requests may be sent to the cache system first. If the cache hits, the data is returned directly from the cache without accessing the database. If the cache misses, the slave or master database is accessed.
[0095] The MYSQL database is divided into a plurality of data storage sub-areas according to the gas safety management sub-areas, and the data storage sub-areas are used to store dynamic sample data corresponding to the gas safety management sub-areas.
[0096] The present invention is divided into multiple data storage sub-areas according to the gas safety management sub-area, and the data storage sub-area is used to store dynamic sample data corresponding to the gas safety management sub-area. Through database partitioning, this can not only improve query efficiency, but also optimize the performance of master-slave replication.
[0097] In a possible implementation, the data processing module is detachably mounted with a plurality of expansion modules, and the expansion modules are selected from one or more of a 485 communication module, a 232 communication module, and an analog-to-digital conversion module;
[0098] The 485 communication module is used to collect first sensor data of a sensor having a 485 communication protocol;
[0099] The 232 communication module is used to collect first sensor data of a sensor having a 232 communication protocol;
[0100] The analog-to-digital conversion module is used to collect first sensor data of a sensor having an analog output function;
[0101] In a specific implementation, each expansion module has a corresponding data acquisition interface. In the present embodiment, each expansion module has four data acquisition interfaces, and a maximum of four expansion modules can be installed on the data processing module. In a gas safety management sub-area, there is one ambient temperature sensor and one ambient humidity sensor, and both sensors support the 485 communication protocol. In addition, one pipeline pressure sensor, one pipeline temperature sensor and one pipeline flow sensor are also provided on the pipeline, and the three sensors support analog quantity transmission, so one 485 communication module and one analog-to-digital conversion module can be selected.
[0102] like Figure 5 As shown, the 6LoWPAN gateway is provided with an encryption module, which is used to asymmetrically encrypt the acquired regional sensor data after the 6LoWPAN gateway converts it into Ethernet protocol; the data acquisition terminal is provided with a decryption module, which is used to decrypt the regional sensor data uploaded by each 6LoWPAN gateway after the data acquisition terminal receives it. Encryption chips can be selected for the encryption module and the decryption module. The data acquisition terminal obtains the regional sensor data uploaded by each 6LoWPAN gateway through the terminal communication module.
[0103] In a specific implementation, the decryption module of the data collection terminal generates a pair of public key and private key, and makes the public key public.
[0104] The encryption module of the 6LoWPAN gateway obtains the public key of the decryption module of the data acquisition terminal and uses the public key to encrypt the information to be sent.
[0105] The encryption module of the 6LoWPAN gateway sends the encrypted information to the decryption module of the data acquisition terminal.
[0106] The decryption module of the data acquisition terminal uses its own private key to decrypt the encrypted information and obtain the regional sensor data.
[0107] The present invention provides a variety of expansion modules, so that the data processing module can collect a variety of sensor data on site, and has strong versatility. At the same time, the expansion module is installed in a detachable manner, and the user can dynamically select the expansion module according to the type of the on-site sensor interface, so as to reduce the equipment investment cost and increase the efficiency of the data processing module in collecting data.
[0108] For security reasons, the source data of the gas safety management system is generally not developed externally and has a high degree of privacy. However, the data security of the existing wireless sensor network based on 6LoWPAN is poor, and the sensor data is easily leaked. The present invention implements data encryption through an encryption module and a decryption module, solves the problem of poor data transmission security of the existing wireless sensor network based on 6LoWPAN, and improves data security.
[0109] In a possible implementation, the static factors include factors related to equipment specifications and models, factors related to design parameters, factors related to geographical locations, and factors related to environmental climate;
[0110] The original dynamic factors include real-time operation factors, real-time environment factors, detection factors and external interference factors;
[0111] The external interference factors include water pipe leakage monitoring and electromagnetic interference monitoring.
[0112] In a specific implementation, static factors generally refer to those parameters or conditions that are relatively stable and not easily changed during the operation of the system. They mainly reflect the inherent properties and design status of the gas system. Among them:
[0113] Equipment specification and model factors include the outer diameter of the gas pipeline and the wall thickness of the gas pipeline.
[0114] Design parameter factors include design pressure, design temperature, design life, etc.
[0115] Geographical location factors include soil type (different soil types may have different probabilities of disasters such as landslides).
[0116] Environmental and climate factors include the climate of the region.
[0117] The present invention selects evaluation factors for basic safety scores from multiple perspectives, including equipment specifications and models, design parameters, environmental climate, soil type and environmental climate, rather than being limited to conventional factors such as gas pipeline wall thickness and diameter, so as to more accurately evaluate the carrying capacity of each gas safety management sub-area for safety accidents.
[0118] In a specific embodiment:
[0119] Real-time operation factors include the pressure in the gas pipeline (abnormal pressure fluctuations in the present invention may indicate leakage or regulating valve failure), the flow rate in the gas pipeline (a sudden increase or decrease in gas flow rate may indicate illegal gas use, leakage or equipment failure); the temperature in the gas pipeline (abnormal gas temperature may cause accidents); this embodiment can use pipeline pressure sensors, pipeline flow sensors (supporting ZigBee protocol transmission) and pipeline temperature sensors for monitoring.
[0120] Detection factors include gas composition (analyzing the components in the gas, such as methane content, oxygen content, etc., to determine whether there is a potential safety risk), methane concentration in the gas pipeline, and oxygen concentration outside the gas pipeline. This embodiment uses an oxygen concentration sensor and a methane concentration sensor for monitoring.
[0121] Real-time environmental factors include ambient temperature (sharp changes in ambient temperature may affect the material properties of gas pipelines and equipment, increasing the risk of leakage or failure) and ambient humidity (high humidity environment may accelerate the corrosion process of gas pipelines and equipment, affecting the overall safety of the system). This embodiment uses ambient temperature and humidity sensors for monitoring.
[0122] In a specific embodiment, when the gas pipeline is located in an integrated pipe gallery, electromagnetic interference between the wires in the integrated pipe gallery and the gas pipeline may cause safety hazards. Therefore, the present invention is provided with an electromagnetic field strength sensor or a Hall effect sensor to monitor the leakage of the electric field or signal of the cable in the integrated pipe gallery.
[0123] In a specific embodiment, the physical proximity of the water pipe and the gas pipeline may increase the risk of gas pipeline leakage. Therefore, the present invention is provided with a water immersion sensor, which detects the impedance change of the electrode after being immersed in water, amplifies, shapes and compares the water immersion input signal through the signal processing circuit, and outputs a dry contact or high and low level change signal, thereby indicating whether there is water leakage to monitor the water pipe leakage.
[0124] The present invention fully considers the influence of other equipment in the gas pipeline, such as cables and water pipes, on the safety of the system, and the consideration is more comprehensive, so the safety evaluation effect is better.
[0125] In a possible implementation, the screening of the original dynamic factors of each gas safety management sub-area based on multiple importance ranking algorithms to obtain multiple screened dynamic factors of each gas safety management sub-area includes:
[0126] The original dynamic factors of each gas safety management sub-area are processed as follows:
[0127] Based on the random forest algorithm, the original dynamic factors are sorted in descending order of importance, and the first N1 original dynamic factors are obtained as the first candidate factor set; wherein N1 is the first preset screening value;
[0128] Based on the ranking importance algorithm, each original dynamic factor is sorted in order of importance from large to small, and the first N2 original dynamic factors are obtained as the second candidate factor set; wherein N2 is the second preset screening value;
[0129] Based on the SHAP value algorithm, the original dynamic factors are sorted in descending order of importance, and the first N2 original dynamic factors are obtained as the third candidate factor set;
[0130] adding the original dynamic factors that are the same in the second candidate factor set and the third candidate factor set and do not exist in the first candidate factor set to the first candidate factor set to obtain a plurality of screening dynamic factors;
[0131] Wherein N1 is greater than N2 and both N1 and N2 are integers greater than 0.
[0132] In a specific embodiment, different feature importance evaluation methods (such as permutation importance, SHAP value, etc.) are used to re-evaluate the features filtered out by random forests. These methods provide different perspectives to examine the importance of features and may reveal useful features that random forests fail to identify.
[0133] In the present invention, the importance of the original dynamic factors is screened by random forest. However, the random forest algorithm is sometimes not comprehensive in the importance evaluation. Therefore, the present invention further evaluates the importance of each factor by a permutation importance algorithm and a SHAP value algorithm, and adds the original dynamic factors with higher importance calculated by the two importance calculation algorithms to the first set of candidate factors screened by the random forest, so as to solve the problem that the random forest algorithm is not comprehensive in the importance evaluation.
[0134] In this embodiment, the random forest algorithm combines the results of multiple decision trees. The random forest can effectively reduce the overfitting risk of a single decision tree and improve the prediction accuracy of the overall model. The random forest has relatively little impact on noise and irrelevant features and has good robustness. In addition, each decision tree can be understood as a series of rules, which makes the random forest relatively good in terms of interpretability. At the same time, the random forest can calculate the importance of each feature to help understand and analyze the data set. Through the methods of self-service sampling and feature selection, the random forest can better handle common problems such as high-dimensional data and missing values.
[0135] Permutation Importance Algorithm
[0136] The calculation process of the permutation importance algorithm is relatively simple, so the calculation speed is fast. It can be applied to various machine learning models to observe the changes in model performance by disrupting the order of features. The results of the permutation importance algorithm are intuitive and easy to understand.
[0137] The SHAP value algorithm can consider the interaction between features: The SHAP value algorithm is based on the concept of Shapley value and can consider the interaction between features, thereby more accurately evaluating the importance of features.
[0138] The SHAP value algorithm can generate a SHAP value for each feature, indicating the degree of influence of the feature on the prediction result of a sample, making the result easy to interpret. The results of the SHAP value algorithm can be displayed in a visual way to help users more intuitively understand the impact of the feature on the model prediction results.
[0139] In one specific implementation, the ranking importance algorithm calculates the importance of features through the following steps:
[0140] Train a baseline model: Train a machine learning model using the original dataset and record baseline performance metrics.
[0141] Shuffle feature values: For each feature in the dataset, the computer will automatically and randomly shuffle its value while keeping the values of other features unchanged.
[0142] Re-evaluate the model: After shuffling the feature values, re-evaluate the performance of the model using a new dataset and record the performance metrics.
[0143] Calculate importance scores: Automatically calculate the importance score for each feature by comparing the difference between the baseline performance and the performance after shuffling the features.
[0144] In one possible implementation, the SHAP value algorithm calculates feature importance as follows:
[0145] Define a baseline value: First, define a baseline value, which is the average or median of all sample prediction values.
[0146] Calculate marginal contribution: For each feature, obtain all possible feature combinations and calculate the marginal contribution of the feature to the prediction result in each combination.
[0147] Assign weights: Assign weights to the marginal contribution of each feature according to the definition of Shapley value, ensuring that the total weight of all features is 1.
[0148] Calculate the SHAP value: Finally, multiply the marginal contribution of each feature by the corresponding weight and sum them up to get the SHAP value of the feature.
[0149] In a specific implementation, the weight calculation algorithm includes the CRITIC method and the entropy weight method;
[0150] The second comprehensive weight of each screening dynamic factor in each gas safety management sub-area calculated based on multiple weight calculation algorithms includes:
[0151] Based on multiple weight calculation algorithms, the dynamic weights of each screening dynamic factor corresponding to each weight calculation algorithm in each gas safety management sub-area are calculated respectively;
[0152] Based on the weighted average method, the dynamic weights of each screening dynamic factor corresponding to each weight calculation algorithm in each gas safety management sub-area are integrated to obtain the second comprehensive weight of each screening dynamic factor in each gas safety management sub-area.
[0153] In a possible implementation, the calculating the first comprehensive weight of each static factor in each gas safety management sub-area according to the static sample data includes:
[0154] The subjective weight of each static factor is calculated based on the analytic hierarchy process, and the objective weight of each static factor is calculated based on the CRITIC method;
[0155] The subjective weight and objective weight of each static factor are regarded as the membership function of the fuzzy set, and the first comprehensive weight of each static factor is obtained based on the fuzzy comprehensive evaluation method.
[0156] In a specific implementation, the subjective weight and objective weight of each static factor are regarded as the membership function of the fuzzy set, and the process of obtaining the first comprehensive weight of each static factor based on the fuzzy comprehensive evaluation method includes:
[0157] Assume that the subjective weight is Ws, the objective weight is Wo, and the fusion coefficient is α (usually α is between 0 and 1, indicating the relative importance of subjective and objective weights), then the comprehensive weight W can be calculated as:
[0158] W=αWs+(1-α)Wo
[0159] The α value here can be determined based on actual conditions and expert opinions.
[0160] The specific values of the evaluation indicators are fuzzified and converted into the value range of the membership function. This step is to convert the qualitative evaluation into a quantitative evaluation to facilitate the subsequent comprehensive calculation.
[0161] Construct a fuzzy relationship matrix: Construct a fuzzy relationship matrix (i.e., membership matrix) based on the results of fuzzification processing and the weights of evaluation indicators.
[0162] Based on the principle of fuzzy comprehensive evaluation method, the fuzzy relationship matrix and weight vector are comprehensively calculated to obtain the comprehensive evaluation result.
[0163] Analyze the calculated comprehensive evaluation results to understand the performance of the evaluation object in various aspects.
[0164] Provide reasonable explanation and description of the evaluation results based on the characteristics of the evaluation results and the evaluation objects.
[0165] This embodiment comprehensively considers the subjective judgment of the user and the objective characteristics of the actual data through the fuzzy comprehensive evaluation method. The subjective weight reflects the professional knowledge and experience of the evaluator, while the objective weight is based on the statistical characteristics and analysis results of the data. The combination of the two makes the evaluation results more comprehensive and reduces the deviation that may be caused by a single method. The fuzzy comprehensive evaluation method can handle the fuzziness and uncertainty in the evaluation process. In actual evaluation, many factors are difficult to describe with precise numerical values, and the fuzzy comprehensive evaluation method can represent these fuzzy information through fuzzy sets and membership functions, thereby more accurately reflecting the actual situation of user evaluation. By integrating subjective weights and objective weights, the fuzzy comprehensive evaluation method can reduce the errors and uncertainties that may be caused by a single method. At the same time, the method can also comprehensively consider the influence of multiple evaluation indicators, making the evaluation results more accurate and reliable. The evaluation process of the fuzzy comprehensive evaluation method is relatively clear and transparent, and the evaluator can clearly understand the weights of each evaluation indicator and the calculation process of the evaluation results. This helps to enhance the acceptability of the evaluation results and makes the evaluation results more easily accepted and recognized by the evaluation object and related parties.
[0166] In a possible implementation, the gas safety management system further includes an abnormality recognition module and camera devices respectively preset at a plurality of preset nodes in each gas safety management sub-area;
[0167] The camera device is used to upload image data including location information corresponding to the camera device;
[0168] The abnormality recognition module is used to receive the image data uploaded by each camera device including the location information of the corresponding camera device, identify the abnormal events of gas leakage, flame detection, pipeline damage and illegal intrusion detection in the image according to the image data, classify each abnormal event, and send it to the alarm module;
[0169] The alarm module receives and outputs the abnormal event and the level of the corresponding abnormal event sent by the abnormal identification module.
[0170] The present invention arranges a camera device at each preset node to grasp the real-time operation status of each node in each gas safety management sub-area in real time, identify abnormal events of each node and evaluate the level of each abnormal event.
[0171] In a specific embodiment, the camera device in this embodiment is generally arranged at the following position:
[0172] The starting and ending points of the gas pipeline, such as gate stations and pressure regulating stations, are the starting and ending points of the gas flow and have high monitoring requirements.
[0173] The pipeline passes through important areas such as rivers, bridges, tunnels, roads, railways, etc. Once a leak occurs in these areas, the consequences may be serious, so enhanced monitoring is needed.
[0174] High-risk areas: In high-risk areas such as flammable and explosive places, densely populated areas, and areas around important facilities along the pipeline, surveillance videos should be installed to monitor the safety status of the pipeline in real time.
[0175] Leakage-prone areas: such as pipeline joints, valves, flanges and other leakage-prone areas. These locations are prone to leakage due to their complex structure and stress concentration, so surveillance videos need to be set up for key monitoring.
[0176] Areas with complex terrain: If the pipeline passes through areas with complex terrain, such as mountains, hills, swamps, etc., the geological conditions in these areas are complex and pose a threat to the safety of the pipeline. Monitoring videos need to be set up to promptly detect and deal with potential safety hazards.
[0177] Environmentally sensitive areas: Environmentally sensitive areas along the pipeline, such as water sources, nature reserves, etc. These areas have high requirements for environmental protection. Once a leak occurs, it may have a serious impact on the ecological environment, so enhanced monitoring is needed.
[0178] Maintenance needs: In locations that are convenient for maintenance, such as pipeline inspection channels and near inspection ports, setting up surveillance videos can assist inspection personnel in performing daily inspections and maintenance work.
[0179] In a specific implementation, the abnormal event includes the following:
[0180] Monitored fault types:
[0181] Leak Detection:
[0182] Leakage is one of the most serious safety hazards in gas pipelines. Video surveillance equipment can detect gas leaks in the form of mist, liquid accumulation or other obvious visual anomalies through image recognition technology.
[0183] Classification: According to the severity and spread of the leak, it can be divided into three levels: high, medium and low. High-level leaks require immediate emergency measures, while low-level leaks allow for longer response time.
[0184] Flame detection:
[0185] Fire is one of the serious consequences of gas leakage. Video surveillance equipment can detect flame features in images in real time, such as color, shape, and dynamic changes.
[0186] Classification: The classification of flames is determined based on their size and spread rate. High-grade flames indicate serious fires and require immediate fire extinguishing and evacuation.
[0187] Broken pipe:
[0188] Pipeline damage is caused by corrosion, external impact or other factors. Video monitoring equipment can capture cracks, dents or other signs of damage on the pipeline surface.
[0189] Classification: The classification of a damage is determined based on its size, location and impact on the integrity of the pipeline. Severe damage requires immediate repair to avoid a larger accident.
[0190] Illegal intrusion detection:
[0191] Illegal intrusion threatens the safety of gas pipelines. Video surveillance equipment can detect people or vehicles entering prohibited areas or performing destructive acts.
[0192] Classification: The classification of illegal intrusion is determined based on the intruder's behavior, intentions and the degree of threat to pipeline safety. For example, an intruder carrying tools is considered a higher level of threat.
[0193] Other anomaly detection:
[0194] Video surveillance equipment can also detect other abnormal phenomena related to gas pipeline safety, such as cable breaks, equipment failures, etc.
[0195] Classification: These anomalies are classified according to their impact on pipeline operations and urgency.
[0196] The present invention combines comprehensive safety scores with video data and abnormal events to enable users to understand the safety of each gas safety management sub-area in more detail.
[0197] In one possible implementation, the gas safety management system also includes an automatic control system respectively arranged in each gas safety management sub-area; the automatic control system is used to send abnormal events of gas control equipment in the corresponding gas safety management sub-area to the abnormal identification module (that is, alarm data identified by the automatic control system, such as a gas pipeline temperature sensor failure, the fault level of which is low, or a valve failure, the fault level of which is high).
[0198] Before the abnormal identification module classifies each abnormal event and sends it to the alarm module, the abnormal identification module is also used to receive abnormal events of gas control equipment in the corresponding gas safety management sub-area sent by the automatic control system of each gas safety management sub-area; and identify abnormal events of each original dynamic factor based on dynamic sample data.
[0199] like Figure 6 As shown, a computer system suitable for implementing the gas safety assessment system provided in the above embodiment includes a central processing module (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage part into a random access memory (RAM). In the RAM, various programs and data required for the operation of the computer system are also stored. The CPU, ROM and RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.
[0200] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0201] In particular, according to this embodiment, the process described in the flowchart above can be implemented as a computer software program. For example, this embodiment includes a computer program product, which includes a computer program tangibly contained on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium.
[0202] The flow chart and schematic diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product of the present embodiment. In this regard, each square box in the flow chart or schematic diagram can represent a part of a module, program segment or code, and a part of the above-mentioned module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the schematic diagram and / or flow chart, and the combination of the square boxes in the schematic diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0203] In the description of the present invention, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0204] It should also be noted that, in the description of the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0205] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the embodiments here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.
[0206] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A gas safety management system, It is characterized in that include: Data acquisition system, gas safety assessment system and alarm module; The data collection system is used to collect dynamic sample data of each gas safety management sub-area through a 6LoWPAN-based wireless sensor network, wherein the dynamic sample data includes a plurality of original dynamic factors; The gas safety assessment system is used to obtain static sample data of each gas safety management sub-area respectively, and the static sample data includes multiple static factors; Calculate the first comprehensive weight of each static factor in each gas safety management sub-area according to the static sample data; calculate the basic safety score of each gas safety management sub-area based on the first comprehensive weight of each static factor in each gas safety management sub-area; The gas safety assessment system is further used to obtain dynamic sample data of each gas safety management sub-area respectively; in response to a first preset calculation cycle, the original dynamic factors of each gas safety management sub-area are screened based on multiple importance ranking algorithms to obtain multiple screened dynamic factors of each gas safety management sub-area; and calculating the second comprehensive weight of each screening dynamic factor in each gas safety management sub-area based on a plurality of weight calculation algorithms; In response to a second preset calculation cycle, a dynamic safety score of each gas safety management sub-area is calculated according to a second comprehensive weight of each screening dynamic factor in each gas safety management sub-area; According to the basic safety score and dynamic safety score of each gas safety management sub-area, a comprehensive safety score of each gas safety management sub-area is obtained; and the comprehensive safety score of each gas safety management sub-area is sent to the alarm module; The alarm module is used to output an early warning signal when the comprehensive safety score is less than a preset early warning threshold of the corresponding gas safety management sub-area and greater than a preset alarm threshold of the corresponding gas safety management sub-area; When the comprehensive safety score is less than the preset alarm threshold of the corresponding gas safety management sub-area, an alarm signal is output.
2. A gas safety management system according to claim 1, Features: The data acquisition system includes A data acquisition terminal, at least one 6LoWPAN gateway provided in each gas safety management sub-area, and at least one data processing module provided in each gas safety management sub-area; The data processing module is used to respond to the first data collection broadcast instruction sent by the 6LoWPAN gateway in the safety management sub-area, collect the first sensor data of each sensor in the safety management sub-area, and send the collected data to the 6LoWPAN gateway in the gas management sub-area through the ZigBee transmission protocol; The 6LoWPAN gateway is used to send a first acquisition broadcast instruction to the data processing module in the gas safety management sub-area and / or send a second acquisition broadcast instruction to the sensor with ZigBee transmission protocol in the gas safety management sub-area, obtain the first sensor data sent by each data processing module in the gas safety management sub-area and / or obtain the second sensor data of the sensor with ZigBee transmission protocol to obtain regional sensor data; convert the obtained regional sensor data into Ethernet protocol and upload it to the data acquisition terminal; The data acquisition terminal is used to receive the regional sensor data uploaded by each 6LoWPAN gateway, extract the regional sensor data corresponding to each preset original dynamic factor in each gas safety management sub-area to obtain and store the dynamic sample data of each gas safety management sub-area, and the dynamic sample data includes multiple original dynamic factors.
3. A gas safety management system according to claim 2, Features: The data collection terminal stores dynamic sample data of each gas safety management sub-area through a MYSQL database; The MYSQL database includes a master database, a slave database and a buffer database; The data acquisition terminal writes the dynamic sample data of each gas safety management sub-area into the main database; The slave database is used to replicate and store data in the master database, and the slave database only supports read operations; The buffer database is used to store data whose access frequency in the main database or the slave database is greater than a preset frequency; The MYSQL database is divided into a plurality of data storage sub-areas according to the gas safety management sub-areas, and the data storage sub-areas are used to store dynamic sample data corresponding to the gas safety management sub-areas.
4. A gas safety management system according to claim 2, Features: The data processing module is detachably provided with a plurality of expansion modules, wherein the expansion modules are selected from one or more of a 485 communication module, a 232 communication module and an analog-to-digital conversion module; The 485 communication module is used to collect first sensor data of a sensor having a 485 communication protocol; The 232 communication module is used to collect first sensor data of a sensor having a 232 communication protocol; The analog-to-digital conversion module is used to collect first sensor data of a sensor having an analog output function; The 6LoWPAN gateway is provided with an encryption module, and the encryption module is used for asymmetrically encrypting the acquired regional sensor data after the 6LoWPAN gateway converts the data into an Ethernet protocol; The data acquisition terminal is provided with a decryption module, and the decryption module is used for decrypting the regional sensor data uploaded by each 6LoWPAN gateway after the data acquisition terminal receives the regional sensor data.
5. A gas safety management system according to claim 1, Features: The static factors include equipment specification and model factors, design parameter factors, geographical location factors and environmental climate factors; The original dynamic factors include real-time operation factors, real-time environment factors, detection factors and external interference factors; The external interference factors include water pipe leakage monitoring and electromagnetic interference monitoring.
6. A gas safety management system according to claim 1, Features: The original dynamic factors of each gas safety management sub-area are screened based on multiple importance ranking algorithms to obtain multiple screened dynamic factors of each gas safety management sub-area, including: The original dynamic factors of each gas safety management sub-area are processed as follows: Based on the random forest algorithm, the original dynamic factors are sorted in descending order of importance, and the first N1 original dynamic factors are obtained as the first candidate factor set; wherein N1 is the first preset screening value; Based on the ranking importance algorithm, each original dynamic factor is sorted in order of importance from large to small, and the first N2 original dynamic factors are obtained as the second candidate factor set; wherein N2 is the second preset screening value; Based on the SHAP value algorithm, the original dynamic factors are sorted in descending order of importance, and the first N2 original dynamic factors are obtained as the third candidate factor set; adding the original dynamic factors that are the same in the second candidate factor set and the third candidate factor set and do not exist in the first candidate factor set to the first candidate factor set to obtain a plurality of screening dynamic factors; Wherein N1 is greater than N2 and both N1 and N2 are integers greater than 0.
7. A gas safety management system according to claim 1, Features: The weight calculation algorithm includes CRITIC method and entropy weight method; The second comprehensive weight of each screening dynamic factor in each gas safety management sub-area is calculated based on multiple weight calculation algorithms, including Based on multiple weight calculation algorithms, the dynamic weights of each screening dynamic factor corresponding to each weight calculation algorithm in each gas safety management sub-area are calculated respectively; Based on the weighted average method, the dynamic weights of each screening dynamic factor corresponding to each weight calculation algorithm in each gas safety management sub-area are integrated to obtain the second comprehensive weight of each screening dynamic factor in each gas safety management sub-area.
8. A gas safety management system according to claim 1, Features: The first comprehensive weight of each static factor in each gas safety management sub-area is calculated according to the static sample data, including The subjective weight of each static factor is calculated based on the analytic hierarchy process, and the objective weight of each static factor is calculated based on the CRITIC method; The subjective weight and objective weight of each static factor are regarded as the membership function of the fuzzy set, and the first comprehensive weight of each static factor is obtained based on the fuzzy comprehensive evaluation method.
9. A gas safety management system according to claim 1, Features: The gas safety management system further includes an abnormality recognition module and camera devices respectively preset at a plurality of preset nodes in each gas safety management sub-area; The camera device is used to upload image data including location information corresponding to the camera device; The abnormality recognition module is used to receive the image data uploaded by each camera device including the location information of the corresponding camera device, identify the abnormal events of gas leakage, flame detection, pipeline damage and illegal intrusion detection in the image according to the image data, classify each abnormal event, and send it to the alarm module; The alarm module receives and outputs the abnormal event and the level of the corresponding abnormal event sent by the abnormal identification module.
10. A gas safety management system according to claim 9, Features: The gas safety management system also includes an automatic control system respectively arranged in each gas safety management sub-area; the automatic control system is used to send abnormal events of gas control equipment in the corresponding gas safety management sub-area to the abnormal identification module; Before the abnormal identification module classifies each abnormal event and sends it to the alarm module, the abnormal identification module is also used to receive abnormal events of gas control equipment in the corresponding gas safety management sub-area sent by the automatic control system of each gas safety management sub-area; and identify abnormal events of each original dynamic factor based on dynamic sample data.
Citation Information
Cited By
Roof leakage point intelligent positioning method and system based on machine vision
CN120563498A
