An intelligent tunnel fire protection system based on the Internet of Things
By deploying IoT sensors in the tunnel and building LSTM and autoregressive models to monitor the tunnel environment and fire equipment data in real time, it solves the problems of inaccurate detection accuracy and equipment status monitoring in the existing technology, and achieves efficient fire safety detection and Equipment maintenance.
Patent Information
- Application Number
- CN202410835869.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-26
AI Technical Summary
In the existing technology, the data processing and analysis technology of the tunnel fire protection system is simple and cannot build a comprehensive fire safety detection model, resulting in insufficient detection accuracy and reliability, and the status monitoring of fire protection equipment is not accurate and efficient enough.
A tunnel intelligent fire protection system based on the Internet of Things is designed, including a data collection module, a fire safety detection module, a fire equipment monitoring module, a data storage module and a central control module. It monitors the tunnel environment and fire equipment data in real time through sensors, and builds LSTM and Autoregressive models perform data analysis to achieve real-time monitoring and processing.
It has greatly improved the fire safety in the tunnel, achieved accurate fire safety detection and equipment status monitoring, reduced equipment failure rates, and ensured the normal operation of fire equipment.
Smart Images

Figure CN118384466B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cold chain storage technology, and in particular to an intelligent tunnel fire fighting system based on the Internet of Things. Background Art
[0002] The rapid development of Internet of Things (IoT) technology has profoundly changed all walks of life, especially in the field of security and monitoring, bringing revolutionary progress. With the continuous expansion of global infrastructure construction, tunnels, as important traffic and transportation channels, are increasingly valued for their safety issues. Traditional tunnel fire protection systems mainly rely on manual monitoring and mechanical equipment. This model is not only inefficient, but also has great safety hazards. In recent years, intelligent and automated fire protection systems have gradually become a research hotspot. Among them, intelligent fire protection systems based on IoT technology have shown great application potential. Through IoT technology, sensor networks can monitor environmental parameters in tunnels in real time, such as temperature, humidity, smoke concentration, etc., so as to achieve timely warning and treatment of fire hazards in tunnels. However, there are still deficiencies in existing technologies. The data processing and analysis technologies in existing technologies are relatively simple, and it is impossible to efficiently build a comprehensive fire safety detection model, resulting in insufficient detection accuracy and reliability, and the status monitoring of fire protection equipment is not accurate and efficient enough. Summary of the invention
[0003] The purpose of the present invention is to provide a tunnel intelligent fire protection system based on the Internet of Things to solve the above problems.
[0004] The present invention is achieved through the following technical solutions:
[0005] An intelligent tunnel fire fighting system based on the Internet of Things, comprising:
[0006] Data collection module, used to deploy sensors to monitor tunnel environment data and fire equipment data and perform pre-processing;
[0007] The fire safety detection module is used to build a tunnel detection model based on the collected tunnel environment data to detect the fire safety in the tunnel, and implement tunnel fire safety treatment measures based on the detection results;
[0008] Fire equipment monitoring module, used to analyze the collected fire equipment data and monitor the status of fire equipment in the tunnel in real time;
[0009] A data storage module is used to store the data collected and analyzed, and to apply security protection to the stored data;
[0010] The central control module is used to comprehensively control the operation of all modules and remotely connect to the user terminal for data transmission and display.
[0011] As a preferred solution of the tunnel intelligent fire protection system based on the Internet of Things described in the present invention, the deployment of sensors to monitor tunnel environmental data and fire protection equipment data and pre-processing refers to evenly deploying environmental sensors in the tunnel according to the length and structure of the tunnel, and installing equipment sensors on the fire protection equipment in the tunnel to collect tunnel environmental data and fire protection equipment data in real time. The tunnel environmental data includes tunnel length, width, height, temperature, humidity, smoke concentration and gas composition data in the tunnel. The collected data is cleaned and filtered, and recorded according to timestamps to form time series format data.
[0012] As a preferred solution of the tunnel intelligent fire protection system based on the Internet of Things of the present invention, wherein: the construction of a tunnel detection model based on the collected tunnel environment data to detect the fire safety in the tunnel refers to smoothing the pre-processed tunnel environment data using a sliding window averaging method, and forming an environment data vector according to the time series of the environment data;
[0013] The tunnel detection model is constructed including input layer, LSTM layer, attention weight layer and output layer;
[0014] Set the input layer input data format to the tunnel environment data vector format after smoothing;
[0015] The LSTM layer is set to contain two hidden layers, each hidden layer contains 50 hidden units, and the sigmoid function is used as the activation function to output the processing result of the last hidden layer;
[0016] The attention weight layer processes the output of the LSTM layer and calculates the attention weight of the LSTM layer output
[0017] The LSTM layer output is weighted and summed according to the attention weight to obtain the context vector:
[0018] ,
[0019] Where c is the context vector, is the attention weight at time t, Output of LSTM layer;
[0020] The output layer outputs the context vector c output by the attention weight layer:
[0021] ,
[0022] Where y is the output layer output, i.e., the tunnel fire safety score, is the output layer weight, is the output layer bias;
[0023] Use the training data set to perform iterative model training, define the mean square error as the model training loss function, use the Adam optimizer to update the model parameters, update the model parameters after each iteration and calculate the model training loss. If the model loss no longer decreases significantly during the continuous iteration process, use the updated model parameters to update the tunnel detection model.
[0024] The tunnel environment data vector is input into the tunnel detection model to obtain the tunnel fire safety score y, and the safety threshold is defined as:
[0025] ,
[0026] Where T is the safety threshold, is the average value of tunnel fire safety score in historical data, is the standard deviation of tunnel fire safety scores in historical data, and r is the adjustment coefficient;
[0027] The tunnel fire safety score y is compared with the safety threshold. If the tunnel fire safety score y is less than the safety threshold, it is judged that there is no fire safety hazard in the tunnel. If the tunnel fire safety score y is greater than or equal to the safety threshold, it is judged that there is a fire safety hazard in the tunnel.
[0028] As a preferred solution of the tunnel intelligent fire protection system based on the Internet of Things described in the present invention, wherein: the implementation of tunnel fire safety treatment measures based on the detection results means that if there is no fire safety hazard in the tunnel, real-time monitoring and collection of environmental data in the tunnel is maintained, and the tunnel detection model is input to obtain the fire safety score y and compare it with the safety threshold to monitor tunnel fire safety, and a tunnel fire safety monitoring report is generated regularly. If there is a fire safety hazard in the tunnel, the location of the fire safety hazard is located through the environmental sensors deployed in the tunnel, and the fire safety hazard location and fire safety hazard data are sent to the staff and firefighters for fire safety treatment.
[0029] As a preferred solution of the tunnel intelligent fire protection system based on the Internet of Things described in the present invention, wherein: the analysis of the collected fire protection equipment data and real-time monitoring of the status of the fire protection equipment in the tunnel refers to collecting the historical data of the fire protection equipment to construct a historical data set, drawing the autocorrelation function and the partial autocorrelation function graph through the historical data set to identify the autoregressive term order and the moving average term order, and establishing an autoregressive model;
[0030] Initialize the autoregressive model parameters, use the gradient descent method to iteratively update the model parameters, calculate the likelihood function value after each update, stop iteration after maximizing the likelihood function, and output the model parameters to update the autoregressive model;
[0031] The collected fire equipment data is input into the autoregressive model to obtain the fire equipment status value ;
[0032] Define the Kalman filter to optimize the state value of fire equipment:
[0033] ,
[0034] ,
[0035] in is the state optimization value, A is the state transfer matrix, B is the control matrix, For fire equipment control input, is the process noise, H is the observation matrix, is the final optimized value, is the observation noise;
[0036] Based on the historical data set of fire equipment, multi-source linear regression is used to fit the state transfer matrix A and the control matrix B, and the observation matrix H is defined as the unit matrix, as shown below:
[0037] ,
[0038] Use the historical data of fire equipment and the autoregressive model to calculate the residuals for each data time :
[0039] ,
[0040] Compute the variance of the residuals to estimate process noise:
[0041] ,
[0042] in is the variance of process noise, N is the total number of residuals, is the residual mean;
[0043] Collect the measurement error data of the sensor, obtain error samples by measuring the same state multiple times, and calculate the variance of the measurement error to estimate the observation noise:
[0044] ,
[0045] in is the observation noise variance, is the i-th measurement error, M is the total number of measurement errors, is the mean value of measurement error;
[0046] Define the device status threshold. If the final optimization value If it is greater than or equal to the equipment status threshold, it is judged that the fire-fighting equipment is abnormal, the abnormal fire-fighting equipment is marked and the staff is notified to inspect and maintain the fire-fighting equipment.
[0047] As a preferred solution of the tunnel intelligent fire protection system based on the Internet of Things described in the present invention, wherein: the storage of the data collected and analyzed, and applying security protection to the stored data means storing the collected data and the data generated by the analysis in a database, and adding security protection measures. The database performs cloud backup of the stored data, and regularly performs security and integrity checks on the stored data and the backup data, and generates a test report from the test results and stores it synchronously.
[0048] As a preferred solution of the tunnel intelligent fire protection system based on the Internet of Things described in the present invention, wherein: the comprehensive control of the operation of all modules refers to the central control module being connected to all other modules through the Internet of Things, and collecting the data collected and generated by the other modules through the Internet of Things for comprehensive management, and the central control module generating module control instructions and sending them to the corresponding modules for remote control of the model.
[0049] As a preferred solution of the tunnel intelligent fire protection system based on the Internet of Things described in the present invention, wherein: the remote connection to the user terminal for data transmission and display refers to the central control module remotely connecting with the user terminal through the Internet of Things to transmit data, and organizing the data into a visual chart for display on the user terminal, and the user terminal remotely controls the central control module through the Internet of Things.
[0050] A computer device comprises: a memory and a processor; the memory stores a computer program, and the processor implements the steps of the above-mentioned tunnel intelligent fire protection system based on the Internet of Things when executing the computer program.
[0051] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned tunnel intelligent fire protection system based on the Internet of Things.
[0052] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0053] The present invention collects tunnel environment data and fire-fighting equipment data for pre-processing, builds a tunnel detection model based on the tunnel environment data to monitor and process the fire safety in the tunnel in real time, and simultaneously analyzes the tunnel fire-fighting equipment data based on the autoregressive model and Kalman filter to determine the equipment status, thereby greatly improving the fire safety in the tunnel. In addition, remote monitoring of the equipment status for equipment maintenance reduces the equipment failure rate, realizes accurate fire safety detection and processing, and ensures the normal operation of the fire-fighting equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0055] Figure 1 It is a structural schematic diagram of the present invention;
[0056] Figure 2 It is a schematic diagram of the implementation process of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and drawings. The schematic implementation modes and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention. It should be noted that the present invention is already in the actual development and use stage.
[0058] Example 1
[0059] like Figure 1 and Figure 2 As shown, it is the first embodiment of the present invention, which provides a tunnel intelligent fire fighting system based on the Internet of Things. The tunnel intelligent fire fighting system based on the Internet of Things includes:
[0060] S1, data collection module, used to deploy sensors to monitor tunnel environment data and fire equipment data and perform pre-processing;
[0061] Specifically, deploying sensors to monitor tunnel environmental data and fire-fighting equipment data and performing preprocessing means evenly deploying environmental sensors in the tunnel according to the length and structure of the tunnel, and installing equipment sensors on the fire-fighting equipment in the tunnel to collect tunnel environmental data and fire-fighting equipment data in real time. The tunnel environmental data includes tunnel length, width, height, temperature, humidity, smoke concentration and gas composition data in the tunnel. The collected data is cleaned and filtered, and recorded according to timestamps to form time series format data.
[0062] Environmental sensors are evenly deployed in the tunnel according to the length and structure of the tunnel, which can ensure that the environmental parameters of each area of the tunnel are fully monitored, avoiding the blind spot problem of traditional monitoring methods. Uniform deployment can also improve the representativeness and accuracy of the data, and provide a reliable data basis for subsequent data analysis and model building. Equipment sensors are installed on the fire-fighting equipment in the tunnel, which can monitor the working status and performance of the fire-fighting equipment in real time, which helps to promptly detect equipment failures or performance degradation, avoid equipment failure at critical moments, and improve the reliability and emergency response capabilities of the system. Cleaning and filtering the collected data can remove noise and erroneous data, and improve the accuracy and completeness of the data. This step ensures data quality and provides a reliable basis for subsequent data analysis and processing.
[0063] S2, fire safety detection module, used to build a tunnel detection model based on the collected tunnel environment data to detect the fire safety in the tunnel, and implement tunnel fire safety treatment measures based on the detection results;
[0064] Specifically, constructing a tunnel detection model based on the collected tunnel environment data to detect the fire safety in the tunnel means smoothing the pre-processed tunnel environment data using a sliding window average method:
[0065] ,
[0066] Among them is After smoothing, The preprocessed tunnel environment data is used to form an environment data vector according to the time series of the environment data;
[0067] The tunnel detection model is constructed including input layer, LSTM layer, attention weight layer and output layer;
[0068] Set the input layer input data format to the tunnel environment data vector format after smoothing;
[0069] The LSTM layer is set to contain two hidden layers, each hidden layer contains 50 hidden units, and the sigmoid function is used as the activation function to output the processing result of the last hidden layer;
[0070] The attention weight layer processes the output of the LSTM layer and calculates the attention weight of the LSTM layer output:
[0071] ,
[0072] ,
[0073] in is the attention weight at time t, is the output of the LSTM layer, is the intermediate variable, is the weight of the LSTM layer output, is the bias of the LSTM layer output, is the hyperbolic tangent activation function, For time The intermediate variable of
[0074] The LSTM layer output is weighted and summed according to the attention weight to obtain the context vector:
[0075] ,
[0076] Where c is the context vector;
[0077] The output layer outputs the context vector c output by the attention weight layer:
[0078] ,
[0079] Where y is the output layer output, i.e., the tunnel fire safety score, is the output layer weight, is the output layer bias;
[0080] Use the training data set to perform iterative model training, define the mean square error as the model training loss function, use the Adam optimizer to update the model parameters, update the model parameters after each iteration and calculate the model training loss. If the model loss no longer decreases significantly during the continuous iteration process, use the updated model parameters to update the tunnel detection model.
[0081] The tunnel environment data vector is input into the tunnel detection model to obtain the tunnel fire safety score y, and the safety threshold is defined as:
[0082] ,
[0083] Where T is the safety threshold, is the average value of tunnel fire safety score in historical data, is the standard deviation of the tunnel fire safety score of historical data, r is the adjustment coefficient, usually 2 or 3;
[0084] The tunnel fire safety score y is compared with the safety threshold. If the tunnel fire safety score y is less than the safety threshold, it is judged that there is no fire safety hazard in the tunnel. If the tunnel fire safety score y is greater than or equal to the safety threshold, it is judged that there is a fire safety hazard in the tunnel.
[0085] The pre-processed tunnel environment data is smoothed by the sliding window averaging method, which can reduce data fluctuations, remove noise, and improve data stability, which helps to improve the training effect and detection accuracy of subsequent models. The tunnel detection model consists of an input layer, an LSTM layer, an attention weight layer, and an output layer. It can efficiently process and analyze time series data. The LSTM layer can capture long-term dependencies in tunnel environment data. The attention weight layer dynamically adjusts the focus of the model to improve the detection accuracy and interpretability of the model. The LSTM layer is set to contain two hidden layers, each of which contains 50 hidden units. The sigmoid function is used as the activation function, which can improve the complexity and expression ability of the model. The two hidden layers The setting can better capture the complex patterns and long-term dependencies in the data. The attention weight layer processes the output of the LSTM layer and calculates the attention weight of each time step. It can dynamically adjust the focus of the model, highlight the data of important time steps, and improve the detection accuracy of the model. The output of the LSTM layer is weighted and summed according to the attention weight to obtain the context vector c. The data at different time steps can be comprehensively considered to improve the global analysis ability of the model. The output layer processes the context vector to obtain the final output y of the tunnel detection model. By defining the mean square error (SE) M as the loss function and using the Adam optimizer to update the model parameters, it can ensure that the model gradually converges during the training process and improve the detection accuracy.
[0086] Furthermore, tunnel fire safety treatment measures are implemented according to the detection results. If there are no fire safety hazards in the tunnel, real-time monitoring and collection of environmental data in the tunnel is maintained, and the fire safety score y is input into the tunnel detection model to compare with the safety threshold to monitor tunnel fire safety, and a tunnel fire safety monitoring report is generated regularly. If there are fire safety hazards in the tunnel, the location of the fire safety hazard is located through the environmental sensors deployed in the tunnel, and the location of the fire safety hazard and the fire safety hazard data are sent to the staff and firefighters for fire safety treatment.
[0087] Environmental sensors are used to monitor the temperature, humidity, smoke concentration and other environmental data in the tunnel in real time to ensure the timeliness and accuracy of the data. This real-time monitoring method can quickly capture environmental changes and provide a reliable data basis for tunnel fire safety. By inputting the real-time monitoring data into the tunnel detection model, machine learning and deep learning technologies can be fully utilized to analyze and predict environmental data. The tunnel detection model can identify abnormal patterns in the data, improve the detection accuracy of the system, set a safety threshold as the judgment standard, and by comparing the model output results and the safety threshold, the system can accurately determine whether there are fire safety hazards in the tunnel. This method can dynamically adjust the early warning standards, improve the flexibility and adaptability of the system, and regularly generate tunnel fire safety monitoring reports to record tunnel environmental data and system detection results. This report can provide detailed historical data and analysis results to help managers understand the safety status of the tunnel and formulate long-term maintenance and management plans. Through the deployed environmental sensors, the system can accurately locate the location of fire safety hazards. This precise positioning can greatly reduce search time, improve emergency response efficiency, and ensure that hazards can be quickly handled.
[0088] S3, fire equipment monitoring module, used to analyze the collected fire equipment data and monitor the status of fire equipment in the tunnel in real time;
[0089] Specifically, the collected fire-fighting equipment data is analyzed, and the real-time monitoring of the status of fire-fighting equipment in the tunnel refers to collecting the historical data of fire-fighting equipment to build a historical data set, and the autocorrelation function and partial autocorrelation function graphs are plotted through the historical data set to identify the order of the autoregressive term and the order of the moving average term. The autocorrelation function ACF graph and the partial autocorrelation function PACF graph are plotted using statistical software. For the autoregressive term part, the PACF is usually truncated after the p-order, and for the moving average term part, the ACF is usually truncated after the q-order. The autoregressive model is established as follows:
[0090] ,
[0091] in is the state value at time step t, p and q are the order of autoregressive term and moving average term respectively, is the error term, is a constant term, is the autoregression coefficient, is the moving average coefficient, is the state value of the previous i time steps, is the error term of the first j time steps;
[0092] The likelihood function L is established based on the autoregressive model:
[0093] ,
[0094] in is the variance of the error term, n is the total number of data in the historical data set, where It is obtained by the difference between the actual value of the state value in the historical data set and the output value of the autoregressive model;
[0095] Initialize the autoregressive model parameters, use the gradient descent method to iteratively update the model parameters, calculate the likelihood function value after each update, stop iteration after maximizing the likelihood function, and output the model parameters to update the autoregressive model;
[0096] The collected fire equipment data is input into the autoregressive model to obtain the fire equipment status value ;
[0097] Define the Kalman filter to optimize the state value of fire equipment:
[0098] ,
[0099] in is the state optimization value, A is the state transfer matrix, B is the control matrix, For fire equipment control input, is the process noise, H is the observation matrix, is the final optimized value, is the observation noise;
[0100] Based on the historical data set of fire equipment, multi-source linear regression is used to fit the state transfer matrix A and the control matrix B. Parameter estimation and optimization are used to determine the parameters of the Kalman filter to improve the accuracy and stability of the model:
[0101] The observation matrix H is defined as the identity matrix as follows:
[0102] ,
[0103] Use historical fire equipment data and autoregressive model fitting to calculate the residuals for each data time step :
[0104] ,
[0105] Compute the variance of the residuals to estimate process noise:
[0106]
[0107] in is the variance of process noise, N is the total number of residuals, is the residual mean;
[0108] Collect the measurement error data of the sensor, obtain error samples by measuring the same state multiple times, and calculate the variance of the measurement error to estimate the observation noise:
[0109]
[0110] in is the observation noise variance, is the i-th measurement error, M is the total number of measurement errors, is the mean value of measurement error;
[0111] Define the equipment status threshold. If the final optimized value is greater than or equal to the equipment status threshold, it is judged that the fire-fighting equipment is abnormal. The abnormal fire-fighting equipment is marked and the staff is notified to inspect and maintain the fire-fighting equipment.
[0112] By collecting historical data of fire-fighting equipment and establishing historical data sets, we can provide rich sample data for subsequent data analysis and model building. Historical data can reflect the operating status and changing rules of equipment in different time periods, and provide a basis for model training and optimization. By drawing autocorrelation function (ACF) graphs and partial autocorrelation function (PACF) graphs through statistical software, we can identify the order of the autoregressive model and determine the model parameters. The truncation characteristics of ACF and PACF graphs help us select appropriate autoregressive terms and moving average terms, improve the accuracy and stability of the model, and establish an autoregressive model. By analyzing and fitting historical data, we can predict the status value of fire-fighting equipment. The autoregressive model can capture the time dependence and trend in the data and improve the prediction accuracy of the equipment status. By defining the likelihood function and using the gradient descent method for parameter estimation and optimization, the likelihood function can be maximized to ensure the optimality of the model parameters. The optimized model parameters improve the prediction accuracy and reliability of the autoregressive model. By optimizing the output of the autoregressive model through the Kalman filter, the prediction accuracy can be improved and noise interference can be reduced. By defining the Kalman filter and optimizing the state value of the fire-fighting equipment through the state transfer matrix and the observation matrix, the Kalman filter can effectively integrate real-time data and historical data, reduce noise, and improve the accuracy of state estimation. By defining the equipment status threshold, the system can automatically determine whether the status of the fire-fighting equipment is normal. The equipment status threshold is based on the mean and standard deviation of the historical data and can be dynamically adjusted to improve the flexibility and adaptability of the system.
[0113] S4, a data storage module, used to store the data collected and analyzed, and to apply security protection to the stored data;
[0114] Specifically, storing the data generated by collection and analysis and applying security protection to the stored data means storing the collected data and the data generated by the analysis in a database and adding security protection measures. The database backs up the stored data in the cloud, and regularly performs security and integrity checks on the stored data and backup data, and generates a test report with the test results and stores it synchronously.
[0115] Storing the collected and analyzed data in a database can efficiently manage and query data and ensure data availability and consistency. The database provides a structured data storage method, making data management more systematic and standardized. Imposing security protection measures on stored data can prevent data leakage and unauthorized access and ensure data security. Security protection measures include data encryption, access control, and firewall settings to effectively resist external attacks and internal abuse. Regularly backing up the data in the database to the cloud can prevent data loss due to equipment failure, natural disasters, etc. Cloud backup provides a reliable data protection method to ensure that data can be recovered under any circumstances.
[0116] S5, central control module, used to comprehensively control the operation of all modules and remotely connect to the user terminal for data transmission and display;
[0117] Specifically, comprehensive control of the operation of all modules means that the central control module is connected to all other modules through the Internet of Things, and collects data collected and generated by other modules through the Internet of Things for comprehensive management. The central control module generates module control instructions and sends them to the corresponding modules for remote control of the model.
[0118] Through the Internet of Things, the central control module can collect the environmental data and equipment status data generated by each functional module in real time. After preprocessing and analysis, these data provide a reliable basis for the decision-making and control of the system. Real-time data collection and processing can improve the response speed and accuracy of the system, ensuring that fire safety in the tunnel is monitored and managed in a timely manner. The central control module is connected to all functional modules through the Internet of Things to achieve information sharing and collaborative work between modules. This connection method can improve the overall efficiency of the system, ensure that the operations and responses of each module can cooperate with each other, and avoid safety hazards caused by information asymmetry. The central control module generates corresponding control instructions based on the collected and processed data to guide each functional module to perform specific operations. These instructions include but are not limited to equipment start and stop, alarm triggering, data recording, etc., to ensure that the system can flexibly respond to various emergencies.
[0119] Furthermore, remotely connecting to a user terminal for data transmission and display means that the central control module remotely connects to the user terminal through the Internet of Things to transmit data, and organizes the data into visual charts for display on the user terminal. The user terminal remotely controls the central control module through the Internet of Things.
[0120] Through the Internet of Things, the central control module can transmit tunnel environment data and fire equipment data to the user terminal in real time. This data transmission method ensures the timeliness and accuracy of the data, allowing users to understand the fire safety status in the tunnel at any time. The central control module organizes and analyzes the collected data and converts the data into visual charts for display. Visual charts make the data more intuitive and easy to understand, helping users to quickly grasp the fire safety status in the tunnel. Visual charts are displayed on the user terminal, allowing users to intuitively view the tunnel environment data and fire equipment status. The user terminal display not only improves the readability of the data, but also facilitates users to remotely monitor and operate. The user terminal is connected to the central control module through the Internet of Things to achieve remote control. Users can send control instructions through the terminal to remotely operate the central control module to manage and regulate fire equipment. This remote control method improves the flexibility and response speed of the system.
[0121] Example 2
[0122] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0123] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0124] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0125] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit with a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit with a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0126] 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 preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. An intelligent tunnel fire protection system based on the Internet of Things, characterized by: include, Data collection module, used to deploy sensors to monitor tunnel environment data and fire equipment data and perform pre-processing; The fire safety detection module is used to build a tunnel detection model based on the collected tunnel environment data to detect the fire safety in the tunnel, and implement tunnel fire safety treatment measures based on the detection results; Fire equipment monitoring module, used to analyze the collected fire equipment data and monitor the status of fire equipment in the tunnel in real time; A data storage module is used to store the data collected and analyzed, and to apply security protection to the stored data; Central control module, used to comprehensively control the operation of all modules and remotely connect to user terminals for data transmission and display; Deploying sensors to monitor tunnel environment data and fire equipment data and preprocessing them means evenly deploying environment sensors in the tunnel according to the length and structure of the tunnel, and installing equipment sensors on the fire equipment in the tunnel to collect tunnel environment data and fire equipment data in real time. The tunnel environment data includes tunnel length, width, height, temperature, humidity, smoke concentration and gas composition data in the tunnel, cleaning and filtering the collected data, and recording them according to timestamps to form time series format data; The construction of a tunnel detection model based on the collected tunnel environment data to detect fire safety in the tunnel refers to smoothing the pre-processed tunnel environment data using a sliding window averaging method, and forming an environment data vector according to the time series of the environment data; The tunnel detection model is constructed including input layer, LSTM layer, attention weight layer and output layer; Set the input layer input data format to the tunnel environment data vector format after smoothing; The LSTM layer is set to contain two hidden layers, each hidden layer contains 50 hidden units, and the sigmoid function is used as the activation function to output the processing result of the last hidden layer; The attention weight layer processes the output of the LSTM layer and calculates the attention weight of the LSTM layer output; The LSTM layer output is weighted and summed according to the attention weight to obtain the context vector: , Where c is the context vector, is the attention weight at time t, Output of LSTM layer; The output layer outputs the context vector c output by the attention weight layer: , Where y is the output layer output, i.e., the tunnel fire safety score, is the output layer weight, is the output layer bias; Use the training data set to perform iterative model training, define the mean square error as the model training loss function, use the Adam optimizer to update the model parameters, update the model parameters after each iteration and calculate the model training loss. If the model loss no longer decreases significantly during the continuous iteration process, use the updated model parameters to update the tunnel detection model. The tunnel environment data vector is input into the tunnel detection model to obtain the tunnel fire safety score y, and the safety threshold is defined as: , Where T is the safety threshold, is the average value of tunnel fire safety score in historical data, is the standard deviation of tunnel fire safety scores in historical data, and r is the adjustment coefficient; Compare the tunnel fire safety score y with the safety threshold. If the tunnel fire safety score y is less than the safety threshold, it is judged that there is no fire safety hazard in the tunnel. If the tunnel fire safety score y is greater than or equal to the safety threshold, it is judged that there is a fire safety hazard in the tunnel. The implementation of tunnel fire safety treatment measures according to the detection results means that if there is no fire safety hazard in the tunnel, real-time monitoring and collection of environmental data in the tunnel is maintained, and the fire safety score y is input into the tunnel detection model to compare with the safety threshold to monitor the tunnel fire safety, and a tunnel fire safety monitoring report is generated regularly. If there is a fire safety hazard in the tunnel, the location of the fire safety hazard is located through the environmental sensors deployed in the tunnel, and the location of the fire safety hazard and the fire safety hazard data are sent to the staff and firefighters for fire safety treatment; The analysis of the collected fire-fighting equipment data and real-time monitoring of the status of the fire-fighting equipment in the tunnel refers to collecting historical data of the fire-fighting equipment to construct a historical data set, drawing autocorrelation function and partial autocorrelation function graphs through the historical data set to identify the order of autoregressive terms and the order of moving average terms, and establishing an autoregressive model; Initialize the autoregressive model parameters, use the gradient descent method to iteratively update the model parameters, calculate the likelihood function value after each update, stop iteration after maximizing the likelihood function, and output the model parameters to update the autoregressive model; The collected fire equipment data is input into the autoregressive model to obtain the fire equipment status value ; Define the Kalman filter to optimize the state value of fire equipment: , in is the state optimization value, A is the state transfer matrix, B is the control matrix, For fire equipment control input, is the process noise, H is the observation matrix, is the final optimized value, is the observation noise; Based on the historical data set of fire equipment, multi-source linear regression is used to fit the state transfer matrix A and the control matrix B, and the observation matrix H is defined as the unit matrix, as shown below: , Use historical fire equipment data and autoregressive model fitting to calculate the residuals for each data time step : , Compute the variance of the residuals to estimate process noise: , in is the variance of process noise, N is the total number of residuals, is the residual mean; Collect the measurement error data of the sensor, obtain error samples by measuring the same state multiple times, and calculate the variance of the measurement error to estimate the observation noise: , in is the observation noise variance, is the i-th measurement error, M is the total number of measurement errors, is the mean value of measurement error; Define the device status threshold. If the final optimization value If the value is greater than or equal to the equipment status threshold, the fire-fighting equipment is judged to be abnormal, the abnormal fire-fighting equipment is marked, and the staff is notified to inspect and maintain the fire-fighting equipment; The storing of the data generated by the collection and analysis and applying security protection to the stored data refers to storing the collected data and the data generated by the analysis in a database and adding security protection measures, the database backs up the stored data in the cloud, and regularly performs security and integrity tests on the stored data and the backup data, and generates a test report based on the test results and stores it synchronously; The comprehensive control of all module operations means that the central control module is connected to all other modules through the Internet of Things, and collects data collected and generated by other modules through the Internet of Things for comprehensive management. The central control module generates module control instructions and sends them to the corresponding modules for remote control of the model.
2. According to the IoT-based tunnel intelligent fire protection system of claim 1, it is characterized by: The remote connection to the user terminal for data transmission and display means that the central control module remotely connects to the user terminal through the Internet of Things to transmit data, and organizes the data into visual charts for display on the user terminal. The user terminal remotely controls the central control module through the Internet of Things.
3. A computer device comprising: Memory and processor; The memory stores a computer program, characterized in that: when the processor executes the computer program, the steps of the tunnel intelligent fire protection system based on the Internet of Things described in any one of claims 1 to 2 are implemented.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the tunnel intelligent fire protection system based on the Internet of Things described in any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Tunnel cloud monitoring system and method based on Internet of Things
CN110568794A
Intelligent logistics service system
CN110661861A
Power utilization information acquisition terminal for fire-fighting equipment
CN116758721A
Cable tunnel comprehensive monitoring system and method based on intelligent Internet of Things
CN116797028A
Tunnel water fire-fighting data acquisition and monitoring system
CN117499424A
