A data storage method and system based on intelligent detection platform

Through edge intelligent analysis and spatio-temporal relationship graph construction, combined with dynamic prediction and storage optimization, the problem of low data storage performance of intelligent detection platforms in traditional storage methods is solved, and efficient and flexible data management and storage structures are achieved.

CN118331968BActive Publication Date: 2024-09-03ZHEJIANG ALLIANZ TESTING TECH SERVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410759251.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-03
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

Traditional data storage methods are difficult to provide sufficient storage performance and data access speed in large-scale intelligent detection platforms, resulting in low data processing and analysis efficiency, and the rigidity of the storage structure makes it difficult to adapt to changes and expansion of data requirements.

Method used

By acquiring intelligent detection platform data for edge intelligence analysis, we build real-time sensing data flow and spatio-temporal relationship diagrams, use historical data for dynamic prediction and reserved storage structure design, combine storage simulation and reserved field time monitoring, and optimize the storage structure to improve efficiency and performance.

Benefits of technology

It achieves effective management and utilization of intelligent detection platform data, improves data processing efficiency and quality, adapts to changes in data requirements, reduces resource waste, and improves the flexibility and scalability of the storage system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118331968B
    Figure CN118331968B
Patent Text Reader

Abstract

The present invention relates to the field of data storage technology, and in particular to a data storage method and system based on an intelligent detection platform. The method comprises the following steps: acquiring intelligent detection platform data and performing edge intelligent analysis to obtain real-time perception data streams and feature nodes. Performing spatiotemporal flow relationship analysis, generating data stream dependency data and constructing a data spatiotemporal relationship graph. Using historical data to predict dynamic platform data, and generating predictive detection platform data. Constructing a reserved storage structure based on the data spatiotemporal relationship graph, performing storage simulation and reserved field time monitoring. Comparing the reserved time threshold and the reserved empty field time data, optimizing the reserved storage structure and executing the data storage method of the intelligent detection platform. The present invention improves the data storage efficiency and performance of the intelligent detection platform through data analysis, prediction and database design optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data storage, and in particular to a data storage method and system based on an intelligent detection platform. Background Art

[0002] In the early stage, data storage mainly adopts centralized storage architecture, storing data on a single server or storage device. However, since data is stored on a single device, device failure will cause data loss or unavailability, and the scalability of storage capacity and performance is limited, which cannot meet the storage needs of large-scale data. In order to solve the limitations of traditional centralized storage, distributed storage technology was introduced. Data is divided into multiple fragments and stored on multiple nodes to improve capacity and performance. However, in a distributed environment, data consistency becomes more complicated, and it is difficult to ensure that data on all nodes are always consistent. In addition, the distributed storage of data requires frequent network communication, which increases latency and bandwidth consumption. In order to improve data reliability and fault tolerance, redundant backup and data recovery mechanisms are introduced. Data is copied to multiple nodes to prevent data loss. Redundant backup increases storage costs, especially for large-scale data sets. In the case of data loss or damage, data recovery takes a long time and resources. In addition, the storage structure is too rigid and does not adapt to changes and expansions in data requirements. It is difficult to flexibly adjust and optimize the storage structure. For large-scale intelligent detection platform data, traditional data storage methods may not provide sufficient storage performance and data access speed, resulting in low efficiency in data processing and analysis. Summary of the invention

[0003] Based on this, it is necessary to provide a data storage method and system based on an intelligent detection platform to solve at least one of the above technical problems.

[0004] To achieve the above purpose, a data storage method based on an intelligent detection platform includes the following steps:

[0005] Step S1: Acquire intelligent detection platform data; perform edge intelligent analysis on the real-time intelligent detection platform data to obtain a real-time perception data stream; construct feature nodes on the real-time perception data stream to obtain a real-time perception data node;

[0006] Step S2: Analyze the spatiotemporal flow relationship of the intelligent detection platform data to obtain data flow dependency data; perform edge connection on the real-time perception data nodes based on the data flow dependency data to generate a data spatiotemporal relationship graph;

[0007] Step S3: Collect historical detection platform data; perform dynamic platform data prediction on the data time-space relationship diagram according to the historical detection platform data to generate predicted detection platform data; construct a reserved storage structure for the predicted detection platform data and the intelligent detection platform data based on the data time-space relationship diagram to obtain reserved storage structure data;

[0008] Step S4: perform storage simulation on the reserved storage structure data and monitor the reserved field retention time to obtain reserved empty field time data; perform data comparison on the preset reserved time threshold and the reserved empty field time data, and when the reserved empty field time data is greater than the preset reserved time threshold, define the comparison result data as reserved too long result data, and optimize the database construction of the reserved storage structure data based on the reserved too long result data to execute the data storage method based on the intelligent detection platform.

[0009] The present invention obtains data from an intelligent detection platform and performs intelligent analysis at the edge to generate a real-time perception data stream. The advantage of doing so is that data can be processed and analyzed in a timely manner to obtain real-time information and insights, which helps to make quick decisions and respond to changes. The spatiotemporal flow relationship analysis of data can help understand the dependencies and flow patterns between data. Doing so helps to optimize the data processing process and improve data utilization efficiency. Using historical detection platform data for prediction can help predict future data trends and patterns. At the same time, constructing a reserved storage structure can effectively manage and store data for subsequent analysis and application. By storing simulations and monitoring the retention time of reserved fields, the effectiveness and performance of the storage structure can be evaluated. When the reserved empty field time exceeds the preset threshold, data comparison and optimization are performed to improve storage efficiency and reduce resource waste. It helps to achieve effective management, analysis and utilization of intelligent detection platform data, improve data processing efficiency and quality, and provide support for subsequent decision-making and application. Therefore, the present invention improves the data storage efficiency and performance of the intelligent detection platform through data analysis, prediction and database design optimization.

[0010] In this specification, a data storage system based on an intelligent detection platform is provided, which is used to execute the data storage method based on the intelligent detection platform as described above. The data storage system based on the intelligent detection platform includes:

[0011] The data preprocessing module is used to obtain the data of the intelligent detection platform; perform edge intelligent analysis on the real-time intelligent detection platform data to obtain the real-time perception data stream; construct feature nodes on the real-time perception data stream to obtain the real-time perception data node;

[0012] The data spatiotemporal analysis module is used to analyze the spatiotemporal flow relationship of the intelligent detection platform data to obtain data flow dependency data; based on the data flow dependency data, edge connections are made to the real-time perception data nodes to generate a data spatiotemporal relationship diagram;

[0013] The storage structure design module is used to collect historical detection platform data; perform dynamic platform data prediction on the data time-space relationship diagram based on the historical detection platform data to generate predicted detection platform data; and construct a reserved storage structure for the predicted detection platform data and the intelligent detection platform data based on the data time-space relationship diagram to obtain reserved storage structure data;

[0014] The storage optimization module is used to perform storage simulation on the reserved storage structure data and monitor the reserved field retention time to obtain the reserved empty field time data; compare the preset reserved time threshold and the reserved empty field time data, and when the reserved empty field time data is greater than the preset reserved time threshold, define the comparison result data as reserved too long result data, and optimize the reserved storage structure data based on the reserved too long result data to construct a database to execute the data storage method based on the intelligent detection platform.

[0015] The benefit of the present invention is that by acquiring the intelligent detection platform data, real-time detection information can be obtained. These data can be used for subsequent analysis and processing to help understand the current environment and conditions. Through the analysis of the spatiotemporal flow relationship and the construction of the data spatiotemporal relationship diagram, the association and dependency between the data can be revealed. This helps to deeply understand the flow law of data and provide a basis for subsequent data processing and decision-making. Through the dynamic platform data prediction and reserved storage structure construction, historical data can be used to predict future detection platform data. This helps to make accurate predictions and plans, and provides guidance for the construction of data storage structures. Through storage simulation and reserved field retention time monitoring, the performance and space utilization of the reserved storage structure can be evaluated. This helps to discover problems and bottlenecks in the storage structure and provide optimization directions. It is possible to better understand the data flow law and spatiotemporal relationship, and provide support and guidance for subsequent data analysis and decision-making. Therefore, the present invention improves the data storage efficiency and performance of the intelligent detection platform through data analysis, prediction and database design optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of the steps of a data storage method based on an intelligent detection platform;

[0017] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;

[0018] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.

[0019] Figure 4 for Figure 1 Detailed implementation steps of step S4 in FIG.

[0020] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0021] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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 technicians in this field without creative work are within the scope of protection of the present invention.

[0022] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0023] It should be understood that, although the terms "first" and "second" are used here to describe each unit, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiment, the first unit can be referred to as the second unit, and similarly the second unit can be referred to as the first unit. The term "and / or" used here includes any and all combinations of one or more of the listed associated items.

[0024] To achieve this, please refer to Figures 1 to 4 , a data storage method based on an intelligent detection platform, comprising the following steps:

[0025] Step S1: Acquire intelligent detection platform data; perform edge intelligent analysis on the real-time intelligent detection platform data to obtain a real-time perception data stream; construct feature nodes on the real-time perception data stream to obtain a real-time perception data node;

[0026] Step S2: Analyze the spatiotemporal flow relationship of the intelligent detection platform data to obtain data flow dependency data; perform edge connection on the real-time perception data nodes based on the data flow dependency data to generate a data spatiotemporal relationship graph;

[0027] Step S3: Collect historical detection platform data; perform dynamic platform data prediction on the data time-space relationship diagram according to the historical detection platform data to generate predicted detection platform data; construct a reserved storage structure for the predicted detection platform data and the intelligent detection platform data based on the data time-space relationship diagram to obtain reserved storage structure data;

[0028] Step S4: perform storage simulation on the reserved storage structure data and monitor the reserved field retention time to obtain reserved empty field time data; perform data comparison on the preset reserved time threshold and the reserved empty field time data, and when the reserved empty field time data is greater than the preset reserved time threshold, define the comparison result data as reserved too long result data, and optimize the database construction of the reserved storage structure data based on the reserved too long result data to execute the data storage method based on the intelligent detection platform.

[0029] The present invention obtains data from an intelligent detection platform and performs intelligent analysis at the edge to generate a real-time perception data stream. The advantage of doing so is that data can be processed and analyzed in a timely manner to obtain real-time information and insights, which helps to make quick decisions and respond to changes. The spatiotemporal flow relationship analysis of data can help understand the dependencies and flow patterns between data. Doing so helps to optimize the data processing process and improve data utilization efficiency. Using historical detection platform data for prediction can help predict future data trends and patterns. At the same time, constructing a reserved storage structure can effectively manage and store data for subsequent analysis and application. By storing simulations and monitoring the retention time of reserved fields, the effectiveness and performance of the storage structure can be evaluated. When the reserved empty field time exceeds the preset threshold, data comparison and optimization are performed to improve storage efficiency and reduce resource waste. It helps to achieve effective management, analysis and utilization of intelligent detection platform data, improve data processing efficiency and quality, and provide support for subsequent decision-making and application. Therefore, the present invention improves the data storage efficiency and performance of the intelligent detection platform through data analysis, prediction and database design optimization.

[0030] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of a data storage method based on an intelligent detection platform of the present invention. In this example, the data storage method based on the intelligent detection platform includes the following steps:

[0031] Step S1: Acquire intelligent detection platform data; perform edge intelligent analysis on the real-time intelligent detection platform data to obtain a real-time perception data stream; construct feature nodes on the real-time perception data stream to obtain a real-time perception data node;

[0032] In the embodiment of the present invention, a distributed sensor network based on edge computing is used to collect monitoring data from multi-source heterogeneous devices in real time, such as urban road monitoring data, high-definition video data collected by surveillance cameras, including timestamps, geographic coordinates, number of pedestrians / vehicles, violation information and temperature, humidity, light, and noise data collected by road environment sensors. The sensor node uses a low-power embedded processor and is equipped with a high-precision sensor, which can complete preliminary data preprocessing and filtering on the edge side. The sensor data is uploaded to the cloud aggregation node in real time through low-power wireless communication technology (such as LoRaWAN, NB-IoT). An edge intelligent analysis engine based on deep learning is used to perform real-time anomaly detection and event recognition on the real-time collected sensor data. The engine is deployed on the cloud aggregation node and can use distributed computing resources to quickly process massive sensor data streams. The analysis results are encoded into a structured real-time perception data stream, including timestamps, geographic locations, and event type metadata. A feature extraction model based on knowledge graph is used to extract and structure key information in the real-time perception data stream. The extracted features include: spatiotemporal coordinates, physical quantity measurement values, and device status, forming standardized real-time perception data nodes. The data nodes are encoded in JSON / XML format to facilitate subsequent storage and analysis processing.

[0033] Step S2: Analyze the spatiotemporal flow relationship of the intelligent detection platform data to obtain data flow dependency data; perform edge connection on the real-time perception data nodes based on the data flow dependency data to generate a data spatiotemporal relationship graph;

[0034] In an embodiment of the present invention, a graph neural network model based on spatiotemporal information is used to analyze the real-time perception data stream obtained from the cloud aggregation node to extract the temporal sequence and geographic spatial dependency between the data streams. Specifically, the model analyzes the timestamp and geographic coordinate meta-information in the perception data to identify the causal relationship and correlation between data generated at different locations and times. For example, the abnormal behavior of a person detected by a surveillance camera is highly correlated with the abnormal noise detected by the nearby environmental sensor. Based on the above data stream dependency analysis results, the cloud aggregation node constructs a dynamic data spatiotemporal relationship map. The nodes in the map represent standardized real-time perception data nodes, and the edges represent the temporal sequence and geographic location dependency between them. For example, there will be highly correlated edges between the urban road monitoring data node and the adjacent environmental sensor data node, while there will be no direct connection between the nodes that are far apart. This spatiotemporal relationship map can intuitively reflect the intrinsic connection between different types of perception data. After constructing the spatiotemporal relationship map, the cloud aggregation node will perform edge connection and data fusion on the associated perception data nodes. Specifically, different types of sensor data (such as video surveillance, environmental monitoring, and equipment operation status) at the same geographical location and similar time will be semantically fused to generate a comprehensive spatiotemporal perception data node. This data fusion process will enrich the information contained in each node and provide more comprehensive data support for subsequent analysis applications.

[0035] Step S3: Collect historical detection platform data; perform dynamic platform data prediction on the data time-space relationship diagram according to the historical detection platform data to generate predicted detection platform data; construct a reserved storage structure for the predicted detection platform data and the intelligent detection platform data based on the data time-space relationship diagram to obtain reserved storage structure data;

[0036] In an embodiment of the present invention, a data acquisition gateway is used to regularly pull historical data from various detection devices and systems. Specifically, the gateway will batch download the original detection data within a certain time range (such as 3 months) in the past for the connected surveillance cameras, environmental sensors, and equipment status monitoring systems at fixed intervals (such as every hour). Based on the collected historical detection data, the previously constructed data spatiotemporal relationship graph is dynamically predicted using time series analysis and deep learning models. Specifically, a time series prediction model based on LSTM and GRU is deployed on the cloud aggregation node, which can analyze the historical change trend of each data node and predict the value within a period of time in the future (such as 1 hour). Combining real-time perception data and predicted data, the cloud aggregation node constructs a unified reserved storage structure. Specifically, each data node in the spatiotemporal relationship graph is mapped to a unified data structure, including the node's geographic location, timestamp, and various detection data (existing and predicted) information.

[0037] Step S4: perform storage simulation on the reserved storage structure data and monitor the reserved field retention time to obtain reserved empty field time data; perform data comparison on the preset reserved time threshold and the reserved empty field time data, and when the reserved empty field time data is greater than the preset reserved time threshold, define the comparison result data as reserved too long result data, and optimize the database construction of the reserved storage structure data based on the reserved too long result data to execute the data storage method based on the intelligent detection platform.

[0038] In an embodiment of the present invention, the cloud aggregation node will regularly perform storage simulation on the data in the reserved storage structure to simulate the actual writing and reading process of the data. Specifically, the system will randomly select a part of the reserved data, write it into the MongoDB database, and read and verify it in time. During the storage simulation process, the system will continuously monitor the retention time of each reserved data field. Specifically, the entire life cycle of each reserved data from writing to being deleted will be recorded, and the average retention time of each field will be calculated based on this. The retention time data of the reserved field obtained by monitoring will be compared with the preset time threshold. If it is found that the retention time of some fields exceeds the threshold (for example, 1 year), it is defined as "reserved too long", and the system will trigger the optimization process. First, the reserved storage structure will be reconstructed, and those fields that have not been used for a long time will be deleted to release storage space; secondly, the data writing strategy will be adjusted to set different reservation periods for data of different importance.

[0039] Preferably, step S1 comprises the following steps:

[0040] Step S11: monitoring the data of the intelligent detection platform to obtain the data of the intelligent detection platform;

[0041] Step S12: Perform edge real-time analysis on the intelligent detection platform data to generate an edge perception data stream; perform outlier cleaning on the edge perception data stream to obtain a real-time perception data stream;

[0042] Step S13: extracting features from the real-time perception data stream to obtain real-time perception feature data;

[0043] Step S14: Perform node modeling on the real-time perception feature data to obtain real-time perception data nodes.

[0044] The benefit of the present invention is that by real-time monitoring and edge analysis of the data of the intelligent detection platform, various types of perception data generated by the platform can be obtained in time, and outliers can be cleaned to ensure the accuracy and reliability of the data. This helps to discover and handle abnormal situations in a timely manner, and feature extraction and node modeling are performed on the cleaned real-time perception data, so that the original data can be converted into more valuable perception features and node data. This lays the foundation for subsequent data analysis and decision support applications. Real-time monitoring and analysis of the data of the intelligent detection platform are realized, and abnormal situations can be quickly responded to and handled, thereby improving the timely response capability of the entire detection system. At the same time, through continuous data collection and analysis, continuous perception data can be obtained to enhance the reliability of decision support. Through the outlier cleaning step, the data quality can be effectively improved to ensure the accuracy and effectiveness of subsequent analysis and application. This is crucial for intelligent applications that rely on high-quality data. The importance of real-time monitoring, cleaning, feature extraction and modeling of the intelligent detection platform data helps to enhance the real-time, accuracy and reliability of the entire detection system.

[0045] In the embodiment of the present invention, data monitoring is performed on the intelligent detection platform, for example, multi-dimensional data including timestamp, geographic coordinates, number of pedestrians / vehicles, violation information, temperature, humidity, light, and noise are collected from the urban road monitoring system, video monitoring system, and intelligent detection equipment of road environment sensors. Real-time data collection technology, such as MQTT and WebSocket, is used to upload the data stream collected by the detection equipment to the data center in real time, establish a data warehouse, and use time series database and distributed file system technology to store and manage massive intelligent detection platform data. An edge computing unit is deployed at the detection device end, and a machine learning model is used to analyze and preprocess the real-time data. Anomaly detection algorithms, such as the statistical 3σ criterion and the density-based DBSCAN algorithm, are used to identify and eliminate abnormal noise points, generate edge perception data streams, and transmit the cleaned high-quality edge perception data streams to the cloud data center in real time through the edge gateway to form real-time perception data streams. For different types of perception data, such as video images, environmental sensing, and traffic conditions, we design and implement feature extraction algorithms based on deep learning, including convolutional neural networks and recurrent neural network models. For video image data, we extract high-level semantic features for target detection and image classification; for environmental sensing data, we extract statistical features of time series such as mean, variance, and extreme values; for traffic condition data, we extract spatial correlation features such as data distribution in neighboring areas, normalize the extracted multidimensional features, compress and encode them, and store them as structured real-time perception feature data to provide high-quality data support for subsequent node modeling. Based on geographic spatial information, we construct node entities containing location coordinates and road topology attributes for perception data. Using time series features, we add timestamps and event type time dimension attributes to nodes. Based on the correlation between perception data, we establish associations between nodes to form a dynamic perception data network topology. We store the constructed perception data node entities and their relationships persistently in a storage system based on a graph database to support complex query and analysis applications.

[0046] Preferably, step S2 comprises the following steps:

[0047] Step S21: performing flow analysis on the intelligent detection platform data to obtain flow pattern data;

[0048] Step S22: performing spatiotemporal dependency analysis on the intelligent detection platform data and the flow pattern data to obtain data flow dependency data;

[0049] Step S23: performing node relationship analysis on the real-time sensing data nodes based on the data flow dependency data to obtain node connection data;

[0050] Step S24: edge-connect the real-time perception data nodes according to the node contact data to generate a data spatiotemporal relationship diagram.

[0051] The benefit of the present invention is that by analyzing the flow pattern and spatiotemporal dependency of data, the intrinsic connections and interactions between data can be deeply explored, and the understanding and insight into the data can be enhanced. This lays the foundation for subsequent node relationship analysis and spatiotemporal relationship modeling. Based on the above analysis results, node relationship analysis and edge connection are performed on real-time perception data nodes to generate a data spatiotemporal relationship graph. This visual method can more intuitively display the connection and interaction between data, which helps to better understand and analyze the inherent logic of data. By constructing a data spatiotemporal relationship graph, complex intelligent detection systems can be more comprehensively recognized and analyzed, and hidden patterns and laws can be discovered. This is very important for improving the interpretability and predictability of the entire system. Based on a deep understanding of spatiotemporal relationships, more valuable data support can be provided for subsequent intelligent decision-making, improving the accuracy and pertinence of decisions. This is particularly critical in complex intelligent application scenarios.

[0052] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:

[0053] Step S21: performing flow analysis on the intelligent detection platform data to obtain flow pattern data;

[0054] In an embodiment of the present invention, based on the vehicle trajectory data collected by the urban road monitoring system, the original trajectory data is clustered using a dense sub-trajectory clustering algorithm to identify the main flow paths of vehicles in the urban road network. A spatiotemporal modeling method is used to combine the road network topology, traffic flow, and weather multi-source data to perform time series analysis on the identified main flow paths, and flow pattern characteristics including flow peak time and flow distribution characteristics are extracted. For pedestrian trajectory data collected by monitoring cameras, the density-based DBSCAN algorithm is used to cluster pedestrian flow paths to identify the main pedestrian flow channels in the urban road network. Combined with pedestrian flow data and road environment data, the passenger flow characteristics of pedestrian flow channels in different time periods and weather conditions are analyzed, and pedestrian flow patterns including passenger flow peak time and passenger flow distribution patterns are extracted. The extracted vehicle flow pattern data and pedestrian flow pattern data are integrated into comprehensive urban road network flow pattern data.

[0055] Step S22: performing spatiotemporal dependency analysis on the intelligent detection platform data and the flow pattern data to obtain data flow dependency data;

[0056] In an embodiment of the present invention, a spatiotemporal graph model is constructed based on multi-source sensory data collected by an urban road monitoring system, including vehicle trajectories, pedestrian trajectories, and environmental monitoring. In the graph model, the spatiotemporal nodes and edge relationships corresponding to the sensory data are modeled to represent the spatiotemporal dependency between different sensory data. A deep learning graph neural network model, such as a graph convolutional network (GCN) and a graph attention network (GAT), is used to perform end-to-end endpoint prediction and edge relationship prediction on the constructed spatiotemporal graph model. Combined with vehicle flow patterns and pedestrian flow pattern data, the spatiotemporal coupling relationship between sensory data and flow patterns is further analyzed. For example, by comparing and analyzing the related changes in surrounding environment monitoring data and pedestrian and vehicle flow data when a traffic congestion event occurs, the dependency law between flow patterns and sensory data is mined, and the analyzed spatiotemporal dependency is represented as a directed graph edge with timestamps and confidence levels, thereby constructing a comprehensive data flow dependency network.

[0057] Step S23: performing node relationship analysis on the real-time sensing data nodes based on the data flow dependency data to obtain node connection data;

[0058] In an embodiment of the present invention, the constructed data flow dependency network is used to monitor each perception data node in the urban road network in real time, including vehicle detectors, cameras, and environmental sensors. For each perception data node, its spatiotemporal dependency with the surrounding nodes is analyzed, including the strength of the dependency, propagation delay, and causal direction. For each perception data node, based on the data flow characteristics of the neighboring nodes, such as data update frequency and data fluctuation amplitude, an abnormal detection algorithm is used to identify the node in the abnormal state. At the same time, the mutual dependence between the nodes is analyzed to find the existing data isolated nodes or key nodes. The contact data of each perception data node obtained by analysis, as well as the node abnormal state information, are organized into structured data to form complete node contact data. In order to improve the real-time and robustness of node relationship analysis, a streaming computing framework such as Apache Spark Streaming and Apache Flink can be used to process massive perception data in real time and dynamically update node contact data. At the same time, with the help of distributed storage systems such as Hadoop HDFS, historical node relationship data can be stored and analyzed for a long time.

[0059] Step S24: edge-connect the real-time perception data nodes according to the node contact data to generate a data spatiotemporal relationship diagram.

[0060] In an embodiment of the present invention, node connection data, including the spatiotemporal dependency between each perception data node, data propagation delay, and abnormal state information, are used to model the real-time perception data nodes in the urban road network. Specifically, the perception data nodes are modeled as vertices in the graph, and the spatiotemporal dependency between nodes is modeled as directed edges. For each perception data node, a corresponding directed edge connection is dynamically established in the graph based on its spatiotemporal dependency with the surrounding nodes. The weight of the edge can be assigned according to the strength and delay of the dependency. At the same time, for nodes identified as abnormal states, they are marked with special marks in the graph, and by continuously updating the edge connection relationship between the perception data nodes, a dynamic graph that reflects the spatiotemporal state of the urban road network in real time is generated.

[0061] Preferably, step S22 includes the following steps:

[0062] Step S221: constructing a spatiotemporal index for the intelligent detection platform data and the flow pattern data to obtain a spatiotemporal index block;

[0063] Step S222: Encode the multi-dimensional spatiotemporal features of the spatiotemporal index block to obtain a spatiotemporal encoding feature vector;

[0064] Step S223: performing association pattern mining on the spatiotemporal coding feature vector to obtain spatiotemporal association pattern data;

[0065] Step S224: construct a spatiotemporal dependency network for the spatiotemporal correlation pattern data to generate data flow dependency data.

[0066] The benefit of the present invention is that by constructing a spatiotemporal index for the intelligent detection platform data and the flow pattern data, the storage and retrieval efficiency of the data can be improved, and the foundation for the subsequent spatiotemporal feature coding and association pattern mining is laid. This is crucial for processing large-scale complex spatiotemporal data. Multi-dimensional spatiotemporal feature coding of the spatiotemporal index block can capture the spatiotemporal characteristics of the data more comprehensively, and provide richer input features for subsequent association pattern mining. This helps to improve the accuracy and interpretability of pattern mining. Based on the spatiotemporal coding feature vector, the potential spatiotemporal association pattern between the data can be discovered through the association pattern mining technology. Further constructing a spatiotemporal dependency network can more clearly represent these spatiotemporal association relationships. This is very helpful for a deep understanding of the spatiotemporal dynamic characteristics of complex systems. The spatiotemporal association patterns and dependency networks obtained by mining can provide more abundant and reliable data support for subsequent intelligent decision-making. This helps to improve the accuracy and pertinence of decision-making and plays an important role in complex intelligent application scenarios. The importance of spatiotemporal indexing, feature coding and association pattern mining for intelligent detection platform data helps to improve the efficiency of data processing and the depth of analysis, and provides a strong guarantee for the spatiotemporal dynamic modeling and intelligent decision support of complex systems.

[0067] In an embodiment of the present invention, various types of perception data collected from an intelligent detection platform, such as vehicle detection, traffic light monitoring, environmental monitoring, and pedestrian and vehicle flow data obtained from flow pattern analysis, are organized into a spatiotemporal data set. For these data, a four-dimensional indexing technology (three-dimensional space + time dimension) is used to construct an efficient spatiotemporal index structure based on Quadtree and Octree, and the original data is divided into multiple spatiotemporal index blocks. For each spatiotemporal index block, in addition to recording the spatial range and time range of the data in the block, it is also necessary to store the statistical characteristics of the data in the block, such as data volume, mean value, and variance. For each spatiotemporal index block, its time, space, and data multi-dimensional features, such as timestamp, spatial coordinates, data volume, and data change trend, are extracted to construct a high-dimensional feature vector, and the principal component analysis (PCA) and independent component analysis (ICA) dimensionality reduction techniques are used to encode and compress the original feature vector to obtain a lower-dimensional spatiotemporal encoding feature vector. The encoded spatiotemporal feature vectors are input into association rule mining algorithms, such as the Apriori algorithm and the FP-growth algorithm, to discover the co-occurrence patterns and association rules between spatiotemporal index blocks. The association rule mining method based on graph neural network is adopted. The spatiotemporal encoded feature vectors are used to construct the graph structure and the pattern discovery is performed on the graph. The complex associations between nodes can be better captured. The spatiotemporal association patterns mined, such as the delay relationship and traffic correlation between data nodes, are organized into structured spatiotemporal association pattern data. Based on the spatiotemporal association pattern data, the spatiotemporal dependency network between the perception data nodes in the urban road network is constructed. Each perception data node is modeled as a vertex in the graph, and the spatiotemporal dependency between nodes is modeled as a directed edge. For each directed edge, the corresponding weight is assigned to the edge according to the corresponding spatiotemporal association pattern, such as data propagation delay and traffic correlation. At the same time, for the perception nodes in abnormal state, they are marked with special marks in the graph. By continuously integrating the spatiotemporal association pattern data, the spatiotemporal dependency network graph is dynamically maintained and updated to reflect the complex dependency of real-time perception data in the urban road network.

[0068] Preferably, step S3 comprises the following steps:

[0069] Step S31: Obtain historical detection platform data;

[0070] Step S32: arranging the historical detection platform data in time series to obtain time series historical detection platform data;

[0071] Step S33: performing progressive platform data prediction on the intelligent detection platform data according to the time series historical detection platform data to generate predicted detection platform data;

[0072] Step S34: constructing a storage structure for the intelligent detection platform data based on the data spatiotemporal relationship diagram to obtain initial storage platform data;

[0073] Step S35: Using the predicted detection platform data, the initial storage structure data is adjusted for pre-storage space to generate reserved storage platform data.

[0074] The benefit of the present invention is that by acquiring and arranging the historical detection platform data in time series, a complete time series data can be established to provide a basis for subsequent data prediction. This helps to capture the time dynamic characteristics of the data more accurately. Based on the time series historical data, the intelligent detection platform data is predicted using a progressive prediction method, and the predicted data for a certain period of time in the future can be generated. This provides an important reference for building a storage structure and reserving storage space. According to the data time-space relationship diagram, the storage structure of the intelligent detection platform data is constructed, and the time-space dependency between the data can be fully considered to achieve a more optimized storage organization. This is conducive to improving the efficiency of data access and management. By using the predicted detection platform data, the initial storage structure is adjusted to reserve storage space, which can more effectively meet the data storage needs in a certain period of time in the future. This method of organically combining prediction and storage can improve the elasticity and scalability of the storage system. The importance of time series analysis of historical data, intelligent prediction, and optimized design of storage structure is conducive to improving the performance and scalability of the intelligent detection platform data storage system, ensuring that the data storage needs in a certain period of time in the future are effectively met.

[0075] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:

[0076] Step S31: Obtain historical detection platform data;

[0077] In the embodiment of the present invention, various types of perception data of historical periods are collected from multiple intelligent detection platforms of urban road traffic monitoring systems and environmental monitoring systems. These data include, but are not limited to: vehicle detection data (such as vehicle flow, vehicle speed, vehicle model), signal light monitoring data (such as signal light status, waiting time), environmental monitoring data (such as PM2.5 concentration, noise), weather data (such as temperature, humidity, precipitation), and for perception data from different sources, the data format is unified, such as converting the original CSV, JSON, and XML formats into a unified spatiotemporal data format, including timestamps, spatial coordinates, and numerical measurement fields. At the same time, the data is subjected to preliminary quality inspection and cleaning, and data records with obvious errors or missing data are eliminated.

[0078] Step S32: arranging the historical detection platform data in time series to obtain time series historical detection platform data;

[0079] In an embodiment of the present invention, historical detection platform data are read and acquired, including vehicle detection data (traffic flow, vehicle speed), signal light monitoring data (signal light status, waiting time), and environmental monitoring data (PM2.5 concentration, noise). These data all contain a timestamp field. For each type of data record read, the timestamp field is used as a keyword, and the data records in each data source are sorted in ascending order of time using Spark's DataFrame API or InfluxDB's time series query language to ensure that the data records in each data source are arranged in chronological order. For each sorted data source, a Spark application or InfluxDB query is written, and according to the timestamp field, data records from different data sources but with the same or similar timestamps are merged into the same time series to generate a comprehensive time series historical detection platform data. In the process of merging time series, a linear interpolation algorithm is used to supplement the missing data records according to the numerical change trend of adjacent time points.

[0080] Step S33: performing progressive platform data prediction on the intelligent detection platform data according to the time series historical detection platform data to generate predicted detection platform data;

[0081] In the embodiment of the present invention, in the time series historical detection platform data, the traffic volume, speed, signal light state, and key environmental monitoring indicators are selected as input data for constructing a time-varying graph. For each input indicator, a Pandas or MatplotLib application is written, with the timestamp as the horizontal coordinate and the indicator value as the vertical coordinate, and a line graph or a heat map of the indicator changing over time is drawn to form a time-varying graph of the historical data of the indicator. The time-varying graphs of multiple indicators are superimposed and drawn in the same coordinate system to form a comprehensive time-varying graph visualization display, and the constructed time-varying graph is saved in the form of a picture or a vector diagram. Computer vision and time series analysis technology are used to extract features from the time-varying graph of historical data, and the extracted time-varying features include: the number and position of peak / valley values, fluctuation amplitude, periodicity, correlation time domain and frequency domain features, and the extracted time-varying features are organized into structured time-varying feature data in the form of vectors for subsequent evolutionary mode analysis. Unsupervised learning algorithms such as cluster analysis are used to group time-varying feature data and discover potential evolution patterns contained in the data. During cluster analysis, K-Means and DBSCAN algorithms are used to divide the data into several evolution pattern clusters based on the similarity of time-varying feature vectors. For each evolution pattern cluster, the coordinates of its center point and the statistical indicators of the degree of dispersion are extracted to form descriptive historical evolution pattern data. The historical evolution pattern data is used as the prior knowledge input of the time series prediction model. Combined with the time series historical detection platform data, the time series prediction model based on deep learning, such as LSTM and TCN, is trained to capture the time-varying evolution law in the data. The trained prediction model is used to predict the input data (traffic flow, speed, signal light status) at the current moment, generate the prediction detection platform data within a certain time range in the future, and store the prediction results in the time series database.

[0082] Step S34: constructing a storage structure for the intelligent detection platform data based on the data spatiotemporal relationship diagram to obtain initial storage platform data;

[0083] In an embodiment of the present invention, the vehicle location, weather, and traffic light data obtained from the intelligent detection platform are imported into a geographic information system (GIS) to generate a spatiotemporal relationship graph reflecting the spatiotemporal distribution relationship of the data. A graph-based data modeling method is used to convert the spatiotemporal relationship graph into a graph database representation, wherein nodes represent data objects and edges represent the spatiotemporal associations between objects. The graph database is analyzed to extract the longitude and latitude coordinates and timestamp spatiotemporal attributes of each data object, to construct a spatiotemporal data topology model, to clarify the spatiotemporal associations between each data object, and to serialize and store the constructed spatiotemporal data topology model. According to the spatiotemporal data topology model, a distributed spatiotemporal index structure based on a quadtree is designed to support retrieval of both spatial and temporal dimensions, to traverse the spatiotemporal data topology model, to extract the longitude and latitude coordinates and timestamp information of each data object, to construct a distributed spatiotemporal index, and during the index construction process, the Hadoop / Spark distributed computing framework is used to segment and disperse the index data on cluster nodes, to provide high-concurrency query access capabilities, to persistently store the constructed distributed spatiotemporal index data, and to generate high-performance distributed spatiotemporal index data. Use the spatiotemporal data topology model to analyze the spatiotemporal correlation between data objects, find out data redundancy and predictability, and design lossless data compression algorithms based on spatiotemporal correlation, such as a hybrid compression method based on predictive coding and transform coding. In the compression coding process, use the spatiotemporal topological relationship to group, predict, and transform data to minimize data redundancy, store the compressed spatiotemporal coded data, and generate spatiotemporal compressed coded data with a high compression ratio. Combined with distributed spatiotemporal index data, design a multi-level hierarchical storage structure based on spatiotemporal attributes, store the original spatiotemporal coded data at the bottom layer, and store the aggregated spatiotemporal coded data at the upper layer. According to the spatiotemporal index value, the spatiotemporal compressed coded data is dispersedly stored on the cluster nodes to form a distributed hierarchical storage structure, record the metadata information of the hierarchical storage structure, including the storage location and spatiotemporal attributes of the data at each level, and generate the initial storage structure data.

[0084] Step S35: Using the predicted detection platform data, the initial storage structure data is adjusted for pre-storage space to generate reserved storage platform data.

[0085] In an embodiment of the present invention, the traffic flow prediction data provided by the prediction and detection platform and the real-time vehicle detection data of the intelligent detection platform are imported into the system, a time-space correspondence is established, and a correlation analysis algorithm, such as the Pearson correlation coefficient, is used to calculate the correlation between the prediction data and the real-time detection data in the time and space dimensions, and obtain the correlation index of the two types of data. The correlation between the prediction data and the real-time data at different time and space granularities is analyzed, and a correlation matrix is ​​constructed to provide a basis for subsequent storage simulation. Combined with the data correlation index, the degree of overlap between the prediction data and the real-time data in time and space is analyzed. According to the initial storage structure, the prediction data is simulated to be stored according to the correlation with the real-time data, and a simulated storage location of the prediction data is generated. During the simulated storage process, the prediction data with high correlation is preferentially stored in the same storage partition as the real-time data, and the prediction data with low correlation is stored in a separate partition. The simulated storage location information of the prediction data is recorded, and simulated storage location data is generated. Refer to the initial storage structure data, reserve storage fields in the corresponding storage partitions, and prepare for the actual storage of subsequent prediction data. For prediction data that is highly correlated with real-time data, reserve its storage in the real-time data storage partition; for prediction data with low correlation, reserve independent storage fields, record the reserved storage field information, and form reserved storage field data. Combined with the reserved storage field data, allocate storage space for the storage field of the prediction data in the initial storage structure, dynamically adjust the storage space of the storage partition according to the spatiotemporal attributes and correlation degree of the prediction data, ensure that there is enough space to accommodate the prediction data, modify the initial storage structure, add storage partitions and fields for the prediction data, and generate reserved storage platform data.

[0086] Preferably, step S33 includes the following steps:

[0087] Step S331: construct a time-varying graph for the time series historical detection platform data to obtain a time-varying graph of historical data;

[0088] Step S332: extracting time-varying features from the time-varying graph of historical data to generate time-varying feature data;

[0089] Step S333: performing evolution pattern analysis on the time-varying feature data to obtain historical evolution pattern data;

[0090] Step S334: Perform progressive platform data prediction on the intelligent detection platform data based on the historical evolution pattern data to generate predicted detection platform data.

[0091] The benefit of the present invention is that by constructing a time-varying graph for the time-series historical detection data, the changing trend and pattern of the data over time can be more intuitively reflected. This lays the foundation for the subsequent time-varying feature extraction and evolutionary pattern analysis. The time-varying feature extraction of the constructed time-varying graph, such as trend, periodicity, and burstiness, can more comprehensively characterize the dynamic characteristics of the data. These features provide valuable input for evolutionary pattern analysis. Based on the time-varying feature data, through evolutionary pattern analysis, the evolutionary laws and patterns of the data in the time dimension can be found. This in-depth understanding of the historical evolution process is crucial for predicting future changes in detection platform data. Finally, the historical evolutionary pattern data obtained by analysis is used to perform progressive prediction of the intelligent detection platform data to generate predicted detection platform data within a certain period in the future. This progressive prediction method based on time-varying features and evolutionary patterns can more accurately capture the dynamic change trend of data. These steps reflect the importance of in-depth analysis and modeling of time-series historical data. Through time-varying feature extraction and evolutionary pattern analysis, the dynamic evolution laws of data can be better understood, thereby providing a reliable basis for predicting future detection platform data. This is of great significance for improving the prediction accuracy and adaptability of the data storage system of the intelligent detection platform.

[0092] In the embodiment of the present invention, in the time series historical detection platform data, the traffic volume, speed, signal light state, and key environmental monitoring indicators are selected as input data for constructing a time-varying graph. For each input indicator, a Pandas or MatplotLib application is written, with the timestamp as the horizontal coordinate and the indicator value as the vertical coordinate, and a line graph or a heat map of the indicator changing over time is drawn to form a time-varying graph of the historical data of the indicator. The time-varying graphs of multiple indicators are superimposed and drawn in the same coordinate system to form a comprehensive time-varying graph visualization display, and the constructed time-varying graph is saved in the form of a picture or a vector diagram. Computer vision and time series analysis technology are used to extract features from the time-varying graph of historical data, and the extracted time-varying features include: the number and position of peak / valley values, fluctuation amplitude, periodicity, correlation time domain and frequency domain features, and the extracted time-varying features are organized into structured time-varying feature data in the form of vectors for subsequent evolutionary mode analysis. Unsupervised learning algorithms such as cluster analysis are used to group time-varying feature data and discover potential evolution patterns contained in the data. During cluster analysis, K-Means and DBSCAN algorithms are used to divide the data into several evolution pattern clusters based on the similarity of time-varying feature vectors. For each evolution pattern cluster, the coordinates of its center point and the statistical indicators of the degree of dispersion are extracted to form descriptive historical evolution pattern data. The historical evolution pattern data is used as the prior knowledge input of the time series prediction model. Combined with the time series historical detection platform data, the time series prediction model based on deep learning, such as LSTM and TCN, is trained to capture the time-varying evolution law in the data. The trained prediction model is used to predict the input data (traffic flow, speed, signal light status) at the current moment, generate the prediction detection platform data within a certain time range in the future, and store the prediction results in the time series database.

[0093] Preferably, step S34 includes the following steps:

[0094] Step S341: Perform data modeling on the data spatiotemporal relationship graph to generate a spatiotemporal data topology model;

[0095] Step S342: constructing a distributed spatiotemporal index for the intelligent detection platform data using the spatiotemporal data topology model to obtain distributed spatiotemporal index data;

[0096] Step S343: compressing and encoding the intelligent detection platform data based on the spatiotemporal data topology model to generate spatiotemporal compressed encoding data;

[0097] Step S344: construct a hierarchical storage structure for the spatiotemporal compression coded data according to the distributed spatiotemporal index data to generate initial storage structure data.

[0098] The benefit of the present invention is that by modeling the data spatiotemporal relationship graph, a topological structure model of spatiotemporal data can be constructed. This is conducive to better understanding and expressing the spatiotemporal dependency between data, providing a basis for subsequent index construction and compression coding, and based on the spatiotemporal data topological model, distributed spatiotemporal index construction is performed on the intelligent detection platform data. This spatiotemporal index can efficiently support data query and access based on time and space dimensions, greatly improving the performance of data access, and using the spatiotemporal data topological model, the intelligent detection platform data is subjected to spatiotemporal compression coding. This encoding method based on spatiotemporal relationship can effectively reduce data storage space and improve data storage efficiency. According to the distributed spatiotemporal index data, a hierarchical storage structure is constructed for the data after spatiotemporal compression coding. This multi-level storage organization can better meet the storage requirements of data of different time granularities and heat, improve the overall storage management efficiency, make full use of the spatiotemporal relationship characteristics of data, and realize efficient storage and management of intelligent detection platform data through spatiotemporal data topological modeling, distributed spatiotemporal index construction, spatiotemporal compression coding and hierarchical storage structure construction methods. This is of great significance for improving data access performance, reducing storage costs and meeting data requirements of different time granularities.

[0099] In an embodiment of the present invention, the vehicle location, weather, and traffic light data obtained from the intelligent detection platform are imported into a geographic information system (GIS) to generate a spatiotemporal relationship graph reflecting the spatiotemporal distribution relationship of the data. A graph-based data modeling method is used to convert the spatiotemporal relationship graph into a graph database representation, wherein nodes represent data objects and edges represent the spatiotemporal associations between objects. The graph database is analyzed to extract the longitude and latitude coordinates and timestamp spatiotemporal attributes of each data object, to construct a spatiotemporal data topology model, to clarify the spatiotemporal associations between each data object, and to serialize and store the constructed spatiotemporal data topology model. According to the spatiotemporal data topology model, a distributed spatiotemporal index structure based on a quadtree is designed to support retrieval of both spatial and temporal dimensions, to traverse the spatiotemporal data topology model, to extract the longitude and latitude coordinates and timestamp information of each data object, to construct a distributed spatiotemporal index, and during the index construction process, the Hadoop / Spark distributed computing framework is used to segment and disperse the index data on cluster nodes, to provide high-concurrency query access capabilities, to persistently store the constructed distributed spatiotemporal index data, and to generate high-performance distributed spatiotemporal index data. Use the spatiotemporal data topology model to analyze the spatiotemporal correlation between data objects, find out data redundancy and predictability, and design lossless data compression algorithms based on spatiotemporal correlation, such as a hybrid compression method based on predictive coding and transform coding. In the compression coding process, use the spatiotemporal topological relationship to group, predict, and transform data to minimize data redundancy, store the compressed spatiotemporal coded data, and generate spatiotemporal compressed coded data with a high compression ratio. Combined with distributed spatiotemporal index data, design a multi-level hierarchical storage structure based on spatiotemporal attributes, store the original spatiotemporal coded data at the bottom layer, and store the aggregated spatiotemporal coded data at the upper layer. According to the spatiotemporal index value, the spatiotemporal compressed coded data is dispersedly stored on the cluster nodes to form a distributed hierarchical storage structure, record the metadata information of the hierarchical storage structure, including the storage location and spatiotemporal attributes of the data at each level, and generate the initial storage structure data.

[0100] Preferably, step S35 includes the following steps:

[0101] Step S351: Analyze the correlation between the prediction detection platform data and the intelligent detection platform data to obtain the data correlation degree;

[0102] Step S352: performing storage simulation on the prediction detection platform data according to the data association degree and the initial storage structure data to generate simulated storage location data;

[0103] Step S353: reserving storage fields for the initial storage structure data based on the simulated storage location data to obtain reserved storage field data;

[0104] Step S354: adjusting the initial storage structure data to a reserved storage space according to the reserved storage field data to generate reserved storage platform data.

[0105] The present invention is beneficial in that by analyzing the correlation degree of the prediction detection platform data and the intelligent detection platform data, the relationship and dependency between the two can be better understood. This helps to improve the accuracy of subsequent storage simulation and space reservation. Based on the data correlation degree analysis results, the prediction detection platform data is stored simulated, and the corresponding storage fields are reserved in the initial storage structure data according to the simulation results. This method of reserving storage space in advance can make adequate preparations for the storage of future prediction data. After completing the storage field reservation, the initial storage structure data is further adjusted for pre-storage space. This targeted space adjustment can better meet the storage requirements of future prediction data, avoid affecting the performance of the overall storage system due to insufficient space, and achieve targeted optimization of the storage structure by analyzing the correlation between the prediction data and the actual data, combining storage simulation and space reservation. This storage method based on data association and prediction can better adapt to the dynamic changes of the intelligent detection platform data, improve the performance and scalability of the overall storage system, fully consider the relationship between the prediction data and the actual data, and take a series of forward-looking storage optimization measures to make adequate preparations for the storage of future prediction data and improve the overall performance and adaptability of the intelligent detection platform data storage system.

[0106] In an embodiment of the present invention, the traffic flow prediction data provided by the prediction and detection platform and the real-time vehicle detection data of the intelligent detection platform are imported into the system, a time-space correspondence is established, and a correlation analysis algorithm, such as the Pearson correlation coefficient, is used to calculate the correlation between the prediction data and the real-time detection data in the time and space dimensions, and obtain the correlation index of the two types of data. The correlation between the prediction data and the real-time data at different time and space granularities is analyzed, and a correlation matrix is ​​constructed to provide a basis for subsequent storage simulation. Combined with the data correlation index, the degree of overlap between the prediction data and the real-time data in time and space is analyzed. According to the initial storage structure, the prediction data is simulated to be stored according to the correlation with the real-time data, and a simulated storage location of the prediction data is generated. During the simulated storage process, the prediction data with high correlation is preferentially stored in the same storage partition as the real-time data, and the prediction data with low correlation is stored in a separate partition. The simulated storage location information of the prediction data is recorded, and simulated storage location data is generated. Refer to the initial storage structure data, reserve storage fields in the corresponding storage partitions, and prepare for the actual storage of subsequent prediction data. For prediction data that is highly correlated with real-time data, reserve its storage in the real-time data storage partition; for prediction data with low correlation, reserve independent storage fields, record the reserved storage field information, and form reserved storage field data. Combined with the reserved storage field data, allocate storage space for the storage field of the prediction data in the initial storage structure, dynamically adjust the storage space of the storage partition according to the spatiotemporal attributes and correlation degree of the prediction data, ensure that there is enough space to accommodate the prediction data, modify the initial storage structure, add storage partitions and fields for the prediction data, and generate reserved storage platform data.

[0107] Preferably, step S4 comprises the following steps:

[0108] Step S41: Perform data storage simulation on the reserved storage structure data to obtain simulated reserved storage data;

[0109] Step S42: monitoring the reserved field retention time of the simulated reserved storage data to obtain reserved empty field time data;

[0110] Step S43: performing a data comparison on the preset reserved time threshold and the reserved empty field time data to obtain comparison result data;

[0111] Step S44: when the reserved empty field time data is greater than the preset reserved time threshold, the comparison result data is defined as reserved too long result data, and the reserved storage structure data is optimized based on the reserved too long result data to generate optimized reserved storage structure data;

[0112] Step S45: constructing a database for the optimized reserved storage structure data to execute a data storage method based on an intelligent detection platform.

[0113] The benefit of the present invention is that by simulating the reserved storage structure data, the operation of the actual storage system can be better predicted and evaluated. This helps to timely discover potential problems in the storage structure design, provides a basis for subsequent optimization, and monitors the actual retention time of the reserved field for the reserved storage structure. This dynamic monitoring mechanism can accurately grasp the usage of the reserved space, provide a basis for subsequent optimization decisions, and compare and analyze the reserved empty field time data obtained by monitoring with the preset time threshold. This method of actively checking whether the reserved time exceeds the standard helps to timely discover problems and provide a basis for subsequent optimization. When it is found that the reserved time exceeds the standard, the reserved storage structure is optimized in a targeted manner based on the relevant comparison result data. This automated optimization mechanism can effectively improve the performance and resource utilization of the storage system. Finally, the optimized reserved storage structure data is used to build a database. In this way, the optimization results of the aforementioned steps can be applied to the actual data storage system, further improving the storage efficiency and performance of the intelligent detection platform data. The storage simulation, time monitoring, threshold comparison and structure optimization methods are fully utilized to effectively optimize the reserved storage structure and improve the overall performance of the intelligent detection platform data storage system. This automated and dynamic optimization mechanism is of great significance for improving data storage efficiency and resource utilization.

[0114] As an example of the present invention, refer to Figure 4 As shown, in this example, step S4 includes:

[0115] Step S41: Perform data storage simulation on the reserved storage structure data to obtain simulated reserved storage data;

[0116] In the embodiment of the present invention, a high-fidelity storage simulation environment is established based on the reserved storage platform data. In this environment, the storage partitions and fields of the reserved storage structure are strictly designed to simulate the actual data storage process, and the traffic flow prediction data provided by the prediction and detection platform and the real-time vehicle detection data of the intelligent detection platform are imported. According to the reserved storage fields and space allocation, these data are sequentially written into the simulated storage partitions. During the simulation process, the time sequence and writing speed of the data are strictly controlled to ensure consistency with the actual storage process. At the same time, the specific writing location information of the data in each storage partition is recorded, and the data writing location information recorded during the simulation storage process is organized into "simulated reserved storage data".

[0117] Step S42: monitoring the reserved field retention time of the simulated reserved storage data to obtain reserved empty field time data;

[0118] In the embodiment of the present invention, a data monitoring system is established based on the simulated reserved storage data to track the occupancy of each reserved storage field in real time. A retention time threshold is set for each reserved storage field. When the field is continuously vacant and reaches the threshold, the system records it as a reserved empty field. The system periodically scans the simulated reserved storage data and checks the occupancy time of each field against the threshold. For fields exceeding the threshold, the storage partition, field name and continuous vacancy time are recorded to form reserved empty field time data. The reserved empty field time data is stored in a time series to facilitate subsequent analysis of the dynamic changes of the reserved storage structure. The data includes field ID, storage partition, vacancy start time, and vacancy duration.

[0119] Step S43: performing a data comparison on the preset reserved time threshold and the reserved empty field time data to obtain comparison result data;

[0120] In the embodiment of the present invention, a data comparison and analysis module is established based on the reserved empty field time data. The module will read the preset reserved time threshold, compare it with the reserved empty field time data one by one, and analyze whether the vacancy duration of each reserved storage field exceeds the preset threshold. If it exceeds, the field is determined to be a long-term idle reserved field, and the comparison result is recorded as comparison result data, including field ID, storage partition, vacancy start time, vacancy duration, and status identification information of whether the threshold is exceeded. For those fields that are determined to be long-term idle reserved fields, the system will further check their occupancy in the entire reserved storage structure and analyze their impact on storage resources. The analysis results are recorded in the comparison result data, and corresponding optimization suggestions are given for each long-term idle field, such as releasing it, adjusting the threshold, or redesigning the overall storage structure.

[0121] Step S44: when the reserved empty field time data is greater than the preset reserved time threshold, the comparison result data is defined as reserved too long result data, and the reserved storage structure data is optimized based on the reserved too long result data to generate optimized reserved storage structure data;

[0122] In an embodiment of the present invention, the result data is compared, and the fields whose reserved empty field time data is greater than a preset threshold are screened out, and they are defined as reserved too long result data. These fields indicate that they have been idle for a long time, occupying valuable storage resources. The reserved too long result data is deeply analyzed, including statistics on its proportion in the entire reserved storage structure and the degree of impact on storage efficiency. At the same time, the business attributes of these fields are analyzed, and the reasons for their long-term idleness are evaluated. Based on the above analysis results, targeted optimization plans are formulated. For example, these fields that have been reserved for too long are released to free up storage space; or the reserved time threshold is appropriately adjusted to improve the utilization rate of storage resources. The optimization plan is applied to the original reserved storage structure data to generate optimized reserved storage structure data. The optimized reserved storage structure data is fed back to the upstream reserved storage platform.

[0123] Step S45: constructing a database for the optimized reserved storage structure data to execute a data storage method based on an intelligent detection platform.

[0124] In an embodiment of the present invention, the optimized reserved storage structure data is imported into a relational database management system, such as a MySQL database. During the import process, it is necessary to create a corresponding data table in advance, and the field design of the data table needs to fully match the optimized reserved storage structure. For example, if the optimized reserved storage structure contains fields A, B, and C, then the corresponding three fields also need to be created in the data table. When creating a data table, it is necessary to specify a suitable data type for each field, such as a string type, a numeric type, or a date type, and set whether it is allowed to be empty and whether it is a unique attribute according to actual needs, and import the optimized reserved storage structure data one by one into the data table just created. Batch data insertion can be achieved through the INSERT INTO command of the SQL statement. During the insertion process, it is necessary to fill in the data in strict accordance with the order and type requirements of the data table fields to ensure data integrity and consistency. In order to improve the insertion efficiency, a transaction mechanism can be adopted to encapsulate multiple INSERT statements in one transaction, either all of which are successfully submitted or all rolled back. After completing the data import, it is necessary to establish a suitable index for the data table to improve the performance of data query and retrieval. The design of the index needs to be determined according to the actual query requirements. For example, you can create an index for fields that are often used as query conditions. At the same time, you can also create a composite index for the combination of multiple fields to further improve query efficiency.

[0125] In this specification, a data storage system based on an intelligent detection platform is provided, which is used to execute the data storage method based on the intelligent detection platform as described above. The data storage system based on the intelligent detection platform includes:

[0126] The data preprocessing module is used to obtain the data of the intelligent detection platform; perform edge intelligent analysis on the real-time intelligent detection platform data to obtain the real-time perception data stream; construct feature nodes on the real-time perception data stream to obtain the real-time perception data node;

[0127] The data spatiotemporal analysis module is used to analyze the spatiotemporal flow relationship of the intelligent detection platform data to obtain data flow dependency data; based on the data flow dependency data, edge connections are made to the real-time perception data nodes to generate a data spatiotemporal relationship diagram;

[0128] The storage structure design module is used to collect historical detection platform data; perform dynamic platform data prediction on the data time-space relationship diagram based on the historical detection platform data to generate predicted detection platform data; and construct a reserved storage structure for the predicted detection platform data and the intelligent detection platform data based on the data time-space relationship diagram to obtain reserved storage structure data;

[0129] The storage optimization module is used to perform storage simulation on the reserved storage structure data and monitor the reserved field retention time to obtain the reserved empty field time data; compare the preset reserved time threshold and the reserved empty field time data, and when the reserved empty field time data is greater than the preset reserved time threshold, define the comparison result data as reserved too long result data, and optimize the reserved storage structure data based on the reserved too long result data to construct a database to execute the data storage method based on the intelligent detection platform.

[0130] The benefit of the present invention is that by acquiring the intelligent detection platform data, real-time detection information can be obtained. These data can be used for subsequent analysis and processing to help understand the current environment and conditions. Through the analysis of the spatiotemporal flow relationship and the construction of the data spatiotemporal relationship diagram, the association and dependency between the data can be revealed. This helps to deeply understand the flow law of data and provide a basis for subsequent data processing and decision-making. Through the dynamic platform data prediction and reserved storage structure construction, historical data can be used to predict future detection platform data. This helps to make accurate predictions and plans, and provides guidance for the construction of data storage structures. Through storage simulation and reserved field retention time monitoring, the performance and space utilization of the reserved storage structure can be evaluated. This helps to discover problems and bottlenecks in the storage structure and provide optimization directions. It is possible to better understand the data flow law and spatiotemporal relationship, and provide support and guidance for subsequent data analysis and decision-making. Therefore, the present invention improves the data storage efficiency and performance of the intelligent detection platform through data analysis, prediction and database design optimization.

[0131] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points of view, and the scope of the present invention is limited by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the same elements of the application documents are included in the present invention.

[0132] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A data storage method based on an intelligent detection platform, It is characterized in that The following steps are involved: Step S1: Acquire intelligent detection platform data; Perform edge intelligent analysis on real-time intelligent detection platform data to obtain real-time perception data stream; Constructing feature nodes for the real-time perception data stream to obtain real-time perception data nodes; wherein step S1 includes the following steps: Step S11: monitoring the data of the intelligent detection platform to obtain the data of the intelligent detection platform; Step S12: Perform edge real-time analysis on the intelligent detection platform data to generate an edge perception data stream; perform outlier cleaning on the edge perception data stream to obtain a real-time perception data stream; Step S13: extracting features from the real-time perception data stream to obtain real-time perception feature data; Step S14: Perform node modeling on the real-time sensing feature data to obtain real-time sensing data nodes; Step S2: Analyze the spatiotemporal flow relationship of the intelligent detection platform data to obtain data flow dependency data; perform edge connection on the real-time perception data nodes based on the data flow dependency data to generate a data spatiotemporal relationship graph; Step S3: Collect historical detection platform data; perform dynamic platform data prediction on the data spatiotemporal relationship diagram according to the historical detection platform data to generate predicted detection platform data; construct a reserved storage structure for the predicted detection platform data and the intelligent detection platform data based on the data spatiotemporal relationship diagram to obtain reserved storage structure data, wherein step S3 includes the following steps: Step S31: Obtain historical detection platform data; Step S32: arranging the historical detection platform data in time series to obtain time series historical detection platform data; Step S33: performing progressive platform data prediction on the intelligent detection platform data according to the time series historical detection platform data to generate predicted detection platform data; Step S34: constructing a storage structure for the intelligent detection platform data based on the data spatiotemporal relationship diagram to obtain initial storage platform data; Step S35: using the prediction detection platform data to adjust the initial storage structure data for pre-storage space, generating reserved storage platform data, wherein step S35 includes the following steps: Step S351: Analyze the correlation between the prediction detection platform data and the intelligent detection platform data to obtain the data correlation degree; Step S352: performing storage simulation on the prediction detection platform data according to the data association degree and the initial storage structure data to generate simulated storage location data; Step S353: reserving storage fields for the initial storage structure data based on the simulated storage location data to obtain reserved storage field data; Step S354: adjusting the initial storage structure data according to the reserved storage field data to generate reserved storage platform data; Step S4: perform storage simulation on the reserved storage structure data and monitor the reserved field retention time to obtain reserved empty field time data; perform data comparison on the preset reserved time threshold and the reserved empty field time data, and when the reserved empty field time data is greater than the preset reserved time threshold, define the comparison result data as reserved too long result data, and optimize the database construction of the reserved storage structure data based on the reserved too long result data to execute the data storage method based on the intelligent detection platform.

2. The data storage method based on the intelligent detection platform according to claim 1, It is characterized in that Step S2 includes the following steps: Step S21: performing flow analysis on the intelligent detection platform data to obtain flow pattern data; Step S22: performing spatiotemporal dependency analysis on the intelligent detection platform data and the flow pattern data to obtain data flow dependency data; Step S23: performing node relationship analysis on the real-time sensing data nodes based on the data flow dependency data to obtain node connection data; Step S24: edge-connect the real-time perception data nodes according to the node contact data to generate a data spatiotemporal relationship diagram.

3. The data storage method based on the intelligent detection platform according to claim 2, It is characterized in that Step S22 includes the following steps: Step S221: constructing a spatiotemporal index for the intelligent detection platform data and the flow pattern data to obtain a spatiotemporal index block; Step S222: Encode the multi-dimensional spatiotemporal features of the spatiotemporal index block to obtain a spatiotemporal encoding feature vector; Step S223: performing association pattern mining on the spatiotemporal coding feature vector to obtain spatiotemporal association pattern data; Step S224: construct a spatiotemporal dependency network for the spatiotemporal correlation pattern data to generate data flow dependency data.

4. The data storage method based on the intelligent detection platform according to claim 1, It is characterized in that Step S33 includes the following steps: Step S331: construct a time-varying graph for the time series historical detection platform data to obtain a time-varying graph of historical data; Step S332: extracting time-varying features from the time-varying graph of historical data to generate time-varying feature data; Step S333: performing evolution pattern analysis on the time-varying feature data to obtain historical evolution pattern data; Step S334: Perform progressive platform data prediction on the intelligent detection platform data based on the historical evolution pattern data to generate predicted detection platform data.

5. The data storage method based on the intelligent detection platform according to claim 1, It is characterized in that Step S34 includes the following steps: Step S341: Perform data modeling on the data spatiotemporal relationship graph to generate a spatiotemporal data topology model; Step S342: constructing a distributed spatiotemporal index for the intelligent detection platform data using the spatiotemporal data topology model to obtain distributed spatiotemporal index data; Step S343: compressing and encoding the intelligent detection platform data based on the spatiotemporal data topology model to generate spatiotemporal compressed encoding data; Step S344: construct a hierarchical storage structure for the spatiotemporal compression coded data according to the distributed spatiotemporal index data to generate initial storage structure data.

6. The data storage method based on the intelligent detection platform according to claim 1, It is characterized in that Step S4 includes the following steps: Step S41: Perform data storage simulation on the reserved storage structure data to obtain simulated reserved storage data; Step S42: monitoring the reserved field retention time of the simulated reserved storage data to obtain reserved empty field time data; Step S43: performing a data comparison on the preset reserved time threshold and the reserved empty field time data to obtain comparison result data; Step S44: when the reserved empty field time data is greater than the preset reserved time threshold, the comparison result data is defined as reserved too long result data, and the reserved storage structure data is optimized based on the reserved too long result data to generate optimized reserved storage structure data; Step S45: constructing a database for the optimized reserved storage structure data to execute a data storage method based on an intelligent detection platform.

7. A data storage system based on an intelligent detection platform, It is characterized in that Used to execute the data storage method based on the intelligent detection platform as claimed in claim 1, the data storage system based on the intelligent detection platform comprises: The data preprocessing module is used to obtain the data of the intelligent detection platform; perform edge intelligent analysis on the real-time intelligent detection platform data to obtain the real-time perception data stream; construct feature nodes on the real-time perception data stream to obtain the real-time perception data node; The data spatiotemporal analysis module is used to analyze the spatiotemporal flow relationship of the intelligent detection platform data to obtain data flow dependency data; based on the data flow dependency data, edge connections are made to the real-time perception data nodes to generate a data spatiotemporal relationship diagram; The storage structure design module is used to collect historical detection platform data; perform dynamic platform data prediction on the data time-space relationship diagram based on the historical detection platform data to generate predicted detection platform data; and construct a reserved storage structure for the predicted detection platform data and the intelligent detection platform data based on the data time-space relationship diagram to obtain reserved storage structure data; The storage optimization module is used to perform storage simulation on the reserved storage structure data and monitor the reserved field retention time to obtain the reserved empty field time data; compare the preset reserved time threshold and the reserved empty field time data, and when the reserved empty field time data is greater than the preset reserved time threshold, define the comparison result data as reserved too long result data, and optimize the reserved storage structure data based on the reserved too long result data to construct a database to execute the data storage method based on the intelligent detection platform.

Citation Information

Patent Citations

  • Machine learning method and system

    CN112464569A

  • Feedback method and system of information technology

    CN114579722A

  • Intelligent data analysis method and system

    CN117807425A

  • Data storage prediction method, data storage subsystem and intelligent computing platform

    CN117972367A

  • Construction method and system of intelligent data medium station

    CN118152378A