Monitoring analysis method based on safety management
By using Netty and Hadoop clusters on the fire protection big data platform for data collection and storage optimization, and combining AHP and ARIMA for security assessment, the problem of inefficiency of traditional platforms in processing massive data has been solved, and efficient data processing and real-time performance have been achieved. , which improves the performance and scalability of the fire protection big data platform.
Patent Information
- Application Number
- CN202410778765.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional fire safety platforms are inefficient when processing massive amounts of data and have slow query speeds, making it difficult to effectively analyze and manage data from thousands of IoT devices, resulting in low data processing efficiency.
Netty is used to collect and push device information data, Hadoop cluster is used for data storage optimization, AHP analytic hierarchy process and ARIMA time series are used for fire safety assessment, Kafka and Spark Streaming are combined to realize real-time data processing and stream computing, and support distributed deploy.
It greatly improves the efficiency of data collection and processing, realizes millisecond-level stream computing functions, improves the real-time and scalability of the platform, and ensures high maintainability and synchronization of the system.
Smart Images

Figure CN118869734A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of monitoring and analysis, and in particular to a monitoring and analysis method based on safety management. Background Art
[0002] With the rapid development of cities, in the context of big data, traditional firefighting platforms can no longer meet the current fire prevention and control requirements. Compared with big data technology, traditional information technology has great deficiencies. In traditional fire safety platforms, cameras are generally used or data in the collection equipment is collected to monitor fire information, and then all the collection results are stored in a relational database. However, as time goes by, the data in the database becomes more and more. This non-clustered data processing mode will expose problems such as low data processing efficiency and slow query speed when processing massive data. In addition, traditional firefighting platforms need to receive data from thousands of IoT devices at all times. The data structure is diverse and the data volume is very large, making it difficult to conduct effective analysis, monitoring and management. Therefore, it is necessary to design a monitoring and analysis method based on security management with intelligent management control and high processing efficiency. Summary of the invention
[0003] The purpose of the present invention is to provide a monitoring and analysis method based on security management to solve the problems raised in the above background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a monitoring and analysis method based on security management, comprising: Carry out data collection and management on the fire protection big data platform; Carry out data processing and storage optimization for fire protection data information; Conduct fire safety assessment, analysis, control and processing; Carry out access and transmission control of the fire protection big data platform.
[0005] According to the above technical solution, the data collection and management of the fire protection big data platform includes: Netty is used in the fire protection big data platform to collect and push equipment information data.
[0006] According to the above technical solution, the data processing and storage optimization of fire data information includes: After obtaining the collection and processing results of fire data information, perform data preprocessing on it; After completing the preprocessing of fire data information, the data information is stored by establishing a Hadoop cluster.
[0007] According to the above technical solution, the fire safety assessment analysis control process includes: The AHP hierarchical analysis method is used to construct a hierarchical model of target layer, criterion layer and scheme layer according to the relationship between elements, and the weight of each fire safety assessment index is determined; Use ARIMA time series to predict current fire data and obtain the current fire safety level; Based on the results of fire data prediction and processing, the fire safety assessment level is ultimately determined based on the input of actual evaluation and assessment information of the unit.
[0008] According to the above technical solution, the access transmission control of the fire big data platform includes: When a user accesses the fire protection big data platform, after registration and authentication on the big data platform, the current prediction and evaluation data will be displayed to the user in a table format; After obtaining the security assessment level data information and performing identification and analysis, the management personnel will be notified of the transmission warning.
[0009] According to the above technical solution, a monitoring and analysis system based on security management includes: Collection and processing module, used for collection and management of fire data information; Analysis and processing module, used for fire safety assessment analysis and control processing; The access transmission module is used to control the access transmission of the fire protection big data platform.
[0010] According to the above technical solution, the acquisition and processing module includes: Data acquisition module, used for collecting fire data information; Data processing module, used for preprocessing fire data information; The storage management module is used to control and manage data storage.
[0011] According to the above technical solution, the analysis and processing module includes: Hierarchical analysis module, used to perform hierarchical analysis on fire data information; A prediction processing module is used to perform prediction control processing of data information; The security assessment module is used to perform security assessment management of data information.
[0012] According to the above technical solution, the access transmission module includes: Access control module, used for user access control management; The transmission warning module is used for transmission warning management of data information.
[0013] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention, by providing an acquisition and processing module, an analysis and processing module and an access and transmission module, can ensure that no context switching occurs during the entire data acquisition and processing process, greatly saving the resource overhead of data acquisition, and using the message queue Kafka to achieve the decoupling of real-time acquisition and business applications of the smart firefighting Internet of Things, improve the maintainability of the firefighting big data platform, realize millisecond-level stream computing functions, greatly improve the real-time performance of the platform, and enable the entire platform framework to support distributed deployment, with good scalability, maintain and monitor the status changes of storage nodes, and ensure synchronization between various servers. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 is a flow chart of a monitoring and analysis method based on security management provided in Embodiment 1 of the present invention; Figure 2 This is a module structure diagram of a monitoring and analysis system based on security management provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0016] Embodiment 1: Figure 1 This is a flowchart of a monitoring and analysis method based on security management provided in the first embodiment of the present invention. This embodiment can be applied to a monitoring and analysis system. The method can be executed by a monitoring and analysis system based on security management provided in the embodiment of the present invention. The system is composed of multiple software and hardware modules, such as Figure 1 As shown, the method specifically comprises the following steps: S101. Collect and manage data on the fire protection big data platform; Exemplarily, in an embodiment of the present invention, Netty is used in the fire big data platform to collect and push device information data; since the fire big data platform receives tens of thousands of data information of IoT devices every day, with the passage of time, the number of devices is increasing, and the amount of data is also increasing. The usual multi-threaded processing method is to create threads on demand or start new threads, but in a high-load environment, the performance of this processing method is poor. In order to improve performance, thread pool technology is used to save system resource overhead by reducing the continuous creation and destruction of threads, but it cannot effectively solve the problem of resource waste caused by thread context switching. Therefore, through this step, the Netty framework is used to receive and communicate data, and the multiplexing mechanism and asynchronous transmission method are used. The network abstract class Channel is used to perform input and output operations. When the server successfully receives the response from the client, a new Channel is created for port binding, so that no context switching occurs during the entire data collection and processing process, which greatly saves data collection resource overhead.
[0017] S102, performing data processing and storage optimization on fire protection data information; Exemplarily, in an embodiment of the present invention, after obtaining the collection and processing results of fire data information, data preprocessing is performed on it; after data cleaning (data filtering, deduplication and verification) of the collected data information, since in the fire big data platform, the collected hexadecimal message segment data such as equipment heartbeat, fault, alarm, temperature, overcurrent and other real-time data cannot be used directly, it needs to be parsed into a Json format that can be supported by the big data platform. Therefore, the control platform distributes the data to different Kafka topics or Redis according to different data types, determines the equipment offline fault according to the equipment heartbeat, monitors the fire alarm upgrade in combination with the equipment alarm and fire alarm processing results, and further uses Spark Streaming technology to continuously obtain data from Kafka and perform business logic processing. Through this processing, the message queue Kafka is used to realize the decoupling of real-time collection and business applications of the smart fire Internet of Things, improve the maintainability of the fire big data platform, realize millisecond-level stream computing functions, greatly improve the real-time performance of the platform, and enable the entire platform framework to support distributed deployment with good scalability.
[0018] After completing the preprocessing of the fire data information, the data information is stored by establishing a Hadoop cluster. In this step, 2N+1 nodes are established through the cluster to store the data information, ensuring that the cluster is still available when up to N servers fail. Zookeeper is used in the Hadoop cluster to coordinate and manage, maintain and monitor the status changes of the storage nodes, and ensure synchronization between the servers.
[0019] S103, conduct fire safety assessment analysis and control processing; Exemplarily, in an embodiment of the present invention, the AHP hierarchical analysis method is used to construct a hierarchical model of the target layer, the criterion layer and the scheme layer according to the relationship between the elements, and the weight of each fire safety assessment indicator is determined; since the fire safety assessment indicator involves many factors, in order to better objectively and scientifically evaluate each factor, through this step, the hierarchical model is first established, and the fire safety assessment indicator information and decision factors entered into the system are obtained and classified, and after the hierarchical model is established, a paired comparison matrix is constructed. If many indicator factors of the same layer are subordinate to a factor of the upper layer, the relative importance of these indicator factors is compared, and a paired comparison matrix is constructed using the paired comparison method. The weight of each indicator is calculated, and the maximum eigenvalue root and eigenvector of each paired comparison matrix are analyzed and then a consistency check is performed. If the check fails, the paired comparison matrix needs to be modified and reconstructed. If the check passes, the eigenvector is the required weight vector. Through this processing, the fire safety assessment indicator can be made more efficient and accurate.
[0020] ARIMA time series is used to predict the current fire data to obtain the current fire safety level; since the fire safety assessment data is a non-stationary time series, and for fire safety assessment, the factors affecting the assessment are diverse, and some influencing factors are not simply determined by a certain point in time, but are determined by a period of comprehensive accumulation, so through this processing, the ARIMA time series prediction algorithm is used for prediction processing, the fire data fitting degree and prediction accuracy are analyzed, and the original time series graph is obtained by combining the unit's historical fire safety assessment simulation data table, where the y-axis represents the unit's fire safety assessment score, and the x-axis represents the unit's assessment time, so that the fire data can be displayed intuitively.
[0021] Based on the fire data prediction processing results, the fire safety assessment level is finally determined in combination with the actual evaluation and assessment information of the unit entered; in this step, the fire safety score is based on a percentage system, which can reflect the fire safety status of the unit in a detailed and clear manner. The higher the score, the lower the risk level of the unit or enterprise, and the higher the safety reliability. The risk level is divided into four levels, from low to high, namely low risk, general risk, greater risk and major risk.
[0022] S104, performing access transmission control on the fire protection big data platform; Exemplarily, in an embodiment of the present invention, when a user accesses the fire protection big data platform, after registration and authentication on the big data platform, the current prediction and evaluation data is displayed to the user in a table form; After obtaining the security assessment level data information and performing identification and analysis, the management personnel will be notified of the transmission warning.
[0023] Embodiment 2: Embodiment 2 of the present invention provides a monitoring and analysis system based on security management. Figure 2 A schematic diagram of the module structure of a monitoring and analysis system based on security management provided in the second embodiment, such as Figure 2 As shown, the system includes: Collection and processing module, used for collection and management of fire data information; Analysis and processing module, used for fire safety assessment analysis and control processing; The access transmission module is used to control the access transmission of the fire protection big data platform.
[0024] In some embodiments of the present invention, the acquisition processing module includes: Data acquisition module, used for collecting fire data information; Data processing module, used for preprocessing fire data information; The storage management module is used to control and manage data storage.
[0025] In some embodiments of the present invention, the analysis and processing module includes: Hierarchical analysis module, used to perform hierarchical analysis on fire data information; A prediction processing module, used for predictive control processing of data information; The security assessment module is used to perform security assessment management of data information.
[0026] In some embodiments of the present invention, accessing the transmission module includes: Access control module, used for user access control management; The transmission warning module is used for transmission warning management of data information.
[0027] It should be noted that, in this article, 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 "include", "comprise" 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.
[0028] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A monitoring and analysis method based on safety management, Features: include: Carry out data collection and management on the fire protection big data platform; Carry out data processing and storage optimization for fire protection data information; Conduct fire safety assessment, analysis, control and processing; Carry out access and transmission control of the fire protection big data platform.
2. According to the monitoring and analysis method based on security management according to claim 1, Features: The data collection and management of the fire protection big data platform includes: Netty is used in the fire protection big data platform to collect and push equipment information data.
3. According to the monitoring and analysis method based on security management as described in claim 1, Features: The data processing and storage optimization of fire protection data information includes: After obtaining the collection and processing results of fire data information, perform data preprocessing on it; After completing the preprocessing of fire data information, the data information is stored by establishing a Hadoop cluster.
4. According to the monitoring and analysis method based on security management according to claim 1, Features: The fire safety assessment analysis control process includes: The AHP hierarchical analysis method is used to construct a hierarchical structure model of the target layer, the criterion layer and the scheme layer according to the relationship between the elements, and the weight of each fire safety assessment index is determined; Use ARIMA time series to predict current fire data and obtain the current fire safety level; Based on the results of data prediction and processing, the fire safety assessment level is ultimately determined based on the input of actual evaluation and assessment information of the unit.
5. According to the monitoring and analysis method based on security management according to claim 1, Features: The access transmission control of the fire protection big data platform includes: When a user accesses the fire protection big data platform, after registration and authentication on the big data platform, the current prediction and evaluation data will be displayed to the user in a table format; After obtaining the security assessment level data information and performing identification and analysis, the management personnel will be notified of the transmission warning.
6. A monitoring and analysis system based on safety management, Features: include: Collection and processing module, used for collection and management of fire data information; Analysis and processing module, used for fire safety assessment analysis and control processing; The access transmission module is used to control the access transmission of the fire protection big data platform.
7. A monitoring and analysis system based on security management according to claim 6, Features: The acquisition processing module includes: Data acquisition module, used for collecting fire data information; Data processing module, used for preprocessing fire data information; The storage management module is used to control and manage data storage.
8. A monitoring and analysis system based on security management according to claim 6, Features: The analysis and processing module comprises: Hierarchical analysis module, used to perform hierarchical analysis on fire data information; A prediction processing module, used for predictive control processing of data information; The security assessment module is used to perform security assessment management of data information.
9. A monitoring and analysis system based on security management according to claim 6, Features: The access transmission module includes: Access control module, used for user access control management; The transmission warning module is used for transmission warning management of data information.
Citation Information
Patent Citations
Building fire control safety big data health degree assessment method based on AHP (Analytic Hierarchy Process)
CN108053121A
Internet of Things data real-time calculation service system and construction method
CN115203184A
Fire-fighting internet-of-things big data real-time data warehouse building system based on Flink real-time calculation
CN118193483A
Intelligent remote monitoring method for fire-fighting
US20220035818A1
