A wisdom-driven statistical data spatio-temporal correlation analysis and trend prediction system
By combining spatiotemporal indexing technology and reinforcement learning algorithms with knowledge graphs, and dynamically selecting analysis algorithms, the problems of adaptability and module independence in traditional methods are solved, and high-precision, real-time intelligent-driven spatiotemporal correlation analysis and trend prediction are achieved.
Patent Information
- Application Number
- CN202510978988.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2026-03-03
- Estimated Expiration
- 2045-07-16
AI Technical Summary
Traditional spatiotemporal correlation analysis and trend prediction methods lack adaptability, struggle to handle complex nonlinear data, fail to discover multi-level indirect correlations, and lack dynamic feedback as each module operates independently, resulting in insufficient analysis accuracy and efficiency.
By employing spatiotemporal indexing technology combined with dynamic algorithm selection, an interactive architecture between reinforcement learning algorithms and knowledge graphs is constructed. Through spatiotemporal autocorrelation analysis, cluster analysis, and deep learning to mine data associations, cross-module optimization and feedback are achieved.
It improves the dynamic adaptability and accuracy of spatiotemporal data analysis, enhances the fault tolerance of abnormal data, improves the matching between analysis strategies and data characteristics, and realizes high-precision, real-time intelligent analysis.
Smart Images

Figure CN120952136B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer data statistics, and in particular to an intelligent-driven system for spatiotemporal correlation analysis and trend prediction of statistical data. Background Technology
[0002] Spatiotemporal correlation analysis and trend prediction of statistical data are core technologies in fields such as intelligent transportation, smart healthcare, and environmental monitoring. In intelligent transportation, it is necessary to predict congestion trends by analyzing the spatiotemporal distribution of road network traffic; in smart healthcare, it is necessary to mine the spatiotemporal clustering characteristics of infectious disease cases to optimize prevention and control strategies; and in environmental monitoring, it is necessary to combine spatiotemporal data to predict pollutant diffusion paths.
[0003] Traditional spatiotemporal correlation analysis primarily relies on static algorithms, such as the global Moran index and DBSCAN clustering, to analyze data using preset parameters. This approach lacks the ability to adaptively adjust to the characteristics of the data distribution. For example, when dealing with complex nonlinear spatiotemporal data (such as the weekend cyclical fluctuations in pedestrian traffic in urban commercial districts), traditional statistical methods are still used, making it difficult to capture high-order correlation patterns. In trend prediction, traditional solutions are often based on a single model (such as the ARIMA time series model), failing to integrate domain knowledge, resulting in insufficient model interpretability and an inability to handle implicit causal relationships in the data (such as the indirect correlation between "sports events" and "surrounding road congestion"). Furthermore, the modules of traditional technologies are relatively independent, lacking a dynamic feedback mechanism across modules. For instance, spatiotemporal correlation analysis and prediction models cannot form an effective linkage, making it difficult to optimize the front-end analysis process based on prediction errors.
[0004] Traditional static algorithms cannot dynamically select analysis strategies based on data characteristics, leading to "overcomputation" in simple data scenarios and "feature omission" in complex scenarios. For example, using deep learning models for regularly distributed traffic flow data increases computational costs but provides limited improvement in accuracy; using the traditional Moran's index for non-linearly distributed medical data may miss local clustering patterns.
[0005] Traditional methods rely on a single, data-driven logic, lacking the guidance of domain knowledge, and struggle to discover multi-level indirect relationships. Furthermore, traditional technologies operate with independent modules, making it impossible to backtrack and optimize the front-end process based on analysis results. For instance, when global autocorrelation analysis fails to identify significant correlations, traditional solutions cannot automatically adjust the spatiotemporal index structure, leading to subsequent analyses continuing to rely on inefficient data organization methods.
[0006] In summary, traditional technologies have significant shortcomings in terms of the dynamic adaptability of spatiotemporal data, the depth of complex relationship mining, model interpretability, and system collaborative optimization, making it difficult to meet the needs of intelligent scenarios for high-precision, interpretable, and real-time analysis. Therefore, an intelligent-driven spatiotemporal correlation analysis and trend prediction system for statistical data is proposed. Summary of the Invention
[0007] The purpose of this invention is to solve the problems in the prior art by proposing an intelligent-driven statistical data spatiotemporal correlation analysis and trend prediction system.
[0008] A smart-driven statistical data spatiotemporal correlation analysis and trend prediction system includes a data acquisition module, a data preprocessing module, a spatiotemporal correlation analysis module, a smart-driven analysis module, a trend prediction module, and a result output module.
[0009] The data acquisition module is used to collect statistical data from multiple data sources, initially store the collected data in its original format, classify and package the data according to preset rules, and send it to the data preprocessing module.
[0010] The data preprocessing module is used to receive data sent by the data acquisition module, preprocess the data, and send the data to the spatiotemporal correlation analysis module after processing.
[0011] The spatiotemporal correlation analysis module is used to receive the data processed by the data preprocessing module, organize and manage the data based on spatiotemporal coordinate information using spatiotemporal indexing technology, and mine the correlation between the data in the time and space dimensions through spatiotemporal autocorrelation analysis and spatiotemporal clustering analysis methods, and send the spatiotemporal correlation data obtained from the analysis to the intelligent driving analysis module.
[0012] The intelligent driving analysis module is used to receive spatiotemporal correlation data sent by the spatiotemporal correlation analysis module. It has a built-in reinforcement learning algorithm model based on deep learning, and constructs a knowledge graph by combining domain knowledge and expert experience. Through the interaction between the reinforcement learning algorithm and the knowledge graph, it performs in-depth analysis on the spatiotemporal correlation data, mines the potential complex relationships and patterns in the data, generates intelligent analysis results, and sends them to the trend prediction module.
[0013] The trend prediction module is used to receive the intelligent analysis results sent by the intelligent driving analysis module, and use time series analysis algorithm, regression analysis algorithm or machine learning prediction algorithm, combined with spatiotemporal correlation information and intelligent analysis results, to predict the future trend of statistical data, generate prediction results, and send the prediction results to the result output module.
[0014] The result output module is used to receive the prediction results sent by the trend prediction module, display the prediction results in the form of visual charts and reports, and also provides data export function.
[0015] Preferably, the spatiotemporal correlation analysis module is implemented using the following steps:
[0016] S1. Receive the data processed by the data preprocessing module, extract the spatiotemporal coordinate information from the data, and record the statistical characteristics of the data;
[0017] S2. Use spatiotemporal indexing technology to organize and manage data, divide the data into corresponding index nodes according to spatiotemporal coordinates, and establish a mapping relationship between data and index nodes;
[0018] S3. Based on the statistical characteristics of the data recorded in S1, dynamically select a spatiotemporal autocorrelation analysis algorithm to perform spatiotemporal autocorrelation analysis;
[0019] S4. Based on the statistical characteristics of the data, dynamically select a local autocorrelation analysis method to conduct further spatiotemporal autocorrelation analysis;
[0020] S5. Based on the data distribution density and data volume characteristics, dynamically select clustering algorithms for spatiotemporal clustering analysis;
[0021] S6. Integrate the spatiotemporal correlation data obtained from spatiotemporal autocorrelation analysis and spatiotemporal clustering analysis, and package the algorithm types and parameter settings used in the analysis process together, and send them to the intelligent driving analysis module.
[0022] Preferably, in step S1, the spatiotemporal coordinate information includes timestamps and geographic location coordinates, and the statistical characteristics of the data include data type, data volume, and data distribution pattern.
[0023] Preferably, in step S3, dynamically selecting a spatiotemporal autocorrelation analysis algorithm for spatiotemporal autocorrelation analysis includes: if the data has a simple and regular spatiotemporal distribution, the global Moran index calculation method is used to initially determine the degree of autocorrelation of the data within the overall spatiotemporal range; if the data exhibits complex and nonlinear spatiotemporal distribution characteristics, a spatiotemporal graph convolutional network algorithm based on deep learning is used for autocorrelation analysis; when using the global Moran index calculation, if the global Moran index does not reach the set threshold, return to step S2 and readjust the spatiotemporal index structure; if the threshold is reached, proceed to step S4.
[0024] Preferably, the step S4 of dynamically selecting a local autocorrelation analysis method for further spatiotemporal autocorrelation analysis includes: for discrete data, using the local Geary's C coefficient to analyze the autocorrelation characteristics within the local spatiotemporal region; for continuous data, based on the calculation of the local Moran index, combining the kernel density estimation method to more precisely determine the local correlation patterns of the data, such as high-high clustering and low-low clustering.
[0025] Preferably, in step S5, dynamically selecting a clustering algorithm for spatiotemporal clustering analysis includes: if the data distribution is relatively dense and there is noise, an improved DBSCAN algorithm is selected, and its density threshold and neighborhood radius are optimized by a genetic algorithm; if the data presents a hierarchical clustering structure, a hierarchical partitioning-based clustering algorithm is adopted; based on spatiotemporal coordinates, the selected clustering algorithm is used to perform clustering operations on the data to identify clustering regions in the spatiotemporal data;
[0026] When using the improved DBSCAN algorithm for spatiotemporal clustering analysis, the density threshold is optimized using a genetic algorithm. and neighborhood radius The specific optimization process is as follows:
[0027] Density threshold and neighborhood radius Chromosomes encoded as genetic algorithms and through the following fitness function Assessing the quality of chromosomes:
[0028]
[0029] in, To use parameters The silhouette coefficient of the clustering results obtained by the DBSCAN algorithm is used to measure the compactness and separation of the clusters. This represents the maximum profile coefficient obtained during the historical optimization process. The number of noise points in the clustering results. and These are the weighting coefficients, and The ratio of the two is adjusted according to the characteristics of the actual data in order to balance the clustering quality and the noise processing effect;
[0030] During the iterative process of the genetic algorithm, the chromosome population is updated through selection, crossover, and mutation operations. When continuous When the rate of change of the fitness function is less than the set threshold δ, the iteration stops, and the chromosome parameters at this time are used as the optimal density threshold and neighborhood radius of the improved DBSCAN algorithm for spatiotemporal data clustering.
[0031] Preferably, the intelligent drive analysis module is implemented using the following steps:
[0032] S1. Receive spatiotemporal correlation data sent by the spatiotemporal correlation analysis module, parse the data and convert its format to meet the input requirements of the built-in algorithm model;
[0033] S2. Utilize domain knowledge and expert experience to extract key knowledge from relevant documents and databases through knowledge extraction technology, and integrate the extracted knowledge using knowledge fusion technology to construct a knowledge graph;
[0034] S3. Construct a reinforcement learning algorithm model based on deep learning, initialize model parameters, and set a reward mechanism;
[0035] S4. Input the spatiotemporal correlation data into the reinforcement learning algorithm model. The model selects an action based on the current state, obtains relevant knowledge and constraints through interaction with the knowledge graph, and evaluates and adjusts the action.
[0036] S5. Based on the results of the action execution, calculate the reward value. Then, using the reward value and optimization methods such as the policy gradient algorithm, adjust the parameters of the reinforcement learning algorithm model to maximize long-term rewards.
[0037] S6. Repeat steps S4 and S5 to iteratively train the model, conduct in-depth analysis of spatiotemporal correlation data, and uncover potential complex relationships and patterns in the data.
[0038] S7. When the model reaches the set number of training iterations or meets the convergence condition, generate intelligent analysis results and send them to the trend prediction module.
[0039] Compared with existing technologies, the advantages of this invention are:
[0040] 1. In this invention, the spatiotemporal correlation analysis module uses spatiotemporal indexing technology to manage data in a structured manner and combines a dynamic algorithm selection mechanism to achieve multi-dimensional analysis: for simple regular distribution data, the global Moran index is used to quickly locate the overall correlation trend; for complex nonlinear data, a spatiotemporal graph convolutional network is introduced to mine deep patterns; and at the same time, spatiotemporal clustering regions and correlation rules are accurately identified through local autocorrelation analysis and intelligent clustering algorithms.
[0041] 2. The intelligent-driven analysis module in this invention constructs a two-way interactive architecture of "reinforcement learning algorithm + knowledge graph", realizing the leap from surface data correlation to potential causal relationship: the knowledge graph provides domain constraints and prior knowledge, guiding the reinforcement learning model to filter invalid actions and focus on high-value analysis directions; reinforcement learning mines implicit relationships through iterative training and feeds back the newly discovered knowledge to update the knowledge graph in real time.
[0042] 3. In this invention, the spatiotemporal correlation analysis module and the intelligent driving analysis module form a dynamic optimization closed loop through two-way feedback of data and knowledge: the former provides spatiotemporal features to the latter, and the latter triggers the former to adjust the analysis strategy through the knowledge reasoning results; when the global Moran index does not reach the threshold, the system automatically backtracks to optimize the spatiotemporal index structure. This collaborative mechanism significantly enhances the system's fault tolerance for abnormal data and reduces the misjudgment rate. At the same time, through cross-module parameter linkage, it realizes the dynamic matching of analysis strategy and data characteristics, and improves the accuracy and efficiency of the whole process analysis. Attached Figure Description
[0043] Figure 1 This is a schematic diagram of the trend prediction structure in this invention.
[0044] Figure 2 This is a flowchart of the dynamic algorithm selection process for spatiotemporal correlation analysis in this invention.
[0045] Figure 3 This is a timing diagram of the workflow of the intelligent drive analysis module in this invention.
[0046] Figure 4 This is a simplified training cycle diagram of the application of the intelligent driving analysis module in intelligent medical management in this invention. Detailed Implementation
[0047] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments.
[0048] Reference Figure 1-3 As shown, a smart-driven statistical data spatiotemporal correlation analysis and trend prediction system includes a data acquisition module, a data preprocessing module, a spatiotemporal correlation analysis module, a smart-driven analysis module, a trend prediction module, and a result output module.
[0049] The data acquisition module is used to collect statistical data from multiple data sources, including but not limited to historical data and real-time data. The data sources include databases, sensor networks, web page data obtained by web crawlers, etc. The collected data is initially stored in its original format, and then classified and packaged according to preset rules before being sent to the data preprocessing module.
[0050] The data preprocessing module is used to receive data sent by the data acquisition module and preprocess the data. After processing, the data is sent to the spatiotemporal correlation analysis module. The preprocessing includes: first, handling missing values in the data by filling in missing data through interpolation, multiple imputation, and other methods; then, detecting and correcting outliers by using statistical methods or machine learning-based anomaly detection algorithms to identify outlier data and correcting or removing it in a reasonable way; and finally, standardizing the data to convert data of different dimensions to the same scale.
[0051] The spatiotemporal correlation analysis module is used to receive the data processed by the data preprocessing module, organize and manage the data based on spatiotemporal coordinate information using spatiotemporal indexing technology, and mine the correlation between the data in the time and space dimensions through spatiotemporal autocorrelation analysis and spatiotemporal clustering analysis methods, and send the spatiotemporal correlation data obtained from the analysis to the intelligent driving analysis module.
[0052] The intelligent driving analysis module is used to receive spatiotemporal correlation data sent by the spatiotemporal correlation analysis module. It has a built-in reinforcement learning algorithm model based on deep learning, and constructs a knowledge graph by combining domain knowledge and expert experience. Through the interaction between the reinforcement learning algorithm and the knowledge graph, it performs in-depth analysis on the spatiotemporal correlation data, mines the potential complex relationships and patterns in the data, generates intelligent analysis results, and sends them to the trend prediction module.
[0053] The trend prediction module is used to receive the intelligent analysis results sent by the intelligent driving analysis module, and use time series analysis algorithm, regression analysis algorithm or machine learning prediction algorithm, combined with spatiotemporal correlation information and intelligent analysis results, to predict the future trend of statistical data, generate prediction results, and send the prediction results to the result output module.
[0054] The result output module is used to receive the prediction results sent by the trend prediction module, and display the prediction results in the form of visual charts and reports. It also provides a data export function to facilitate users to further process and analyze the prediction results.
[0055] The data acquisition module, data preprocessing module, spatiotemporal correlation analysis module, intelligent driving analysis module, trend prediction module, and result output module are connected in sequence, with the data processed by the previous module serving as the input data for the next module.
[0056] The spatiotemporal correlation analysis module is implemented in the following steps:
[0057] S1. Receive the data processed by the data preprocessing module, extract the spatiotemporal coordinate information from the data, and record the statistical characteristics of the data. The spatiotemporal coordinate information includes timestamps and geographic location coordinates. The statistical characteristics of the data include the data type (such as discrete, continuous, time-series, etc.), the data volume, and the data distribution pattern (such as normal distribution, skewed distribution, etc.).
[0058] S2. Use spatiotemporal indexing technology (such as R-tree, quadtree, etc.) to organize and manage the data, divide the data into corresponding index nodes according to spatiotemporal coordinates, and establish a mapping relationship between the data and the index nodes. In this process, if the data volume is too large, the spatiotemporal indexing optimization strategy based on distributed storage will be automatically enabled, such as storing the data in blocks on multiple nodes and building a distributed index structure.
[0059] S3. Based on the statistical characteristics of the data recorded in S1, dynamically select a spatiotemporal autocorrelation analysis algorithm to perform spatiotemporal autocorrelation analysis. If the data has a simple and regular spatiotemporal distribution, use the traditional global Moran's index calculation method to preliminarily determine the degree of autocorrelation of the data within the overall spatiotemporal range. If the data exhibits complex and nonlinear spatiotemporal distribution characteristics, use a spatiotemporal graph convolutional network algorithm based on deep learning for autocorrelation analysis. When using the global Moran's index calculation, if the global Moran's index does not reach the set threshold, return to step S2 and readjust the spatiotemporal index structure. If the threshold is reached, proceed to step S4.
[0060] S4. Based on the statistical characteristics of the data, dynamically select local autocorrelation analysis methods for further spatiotemporal autocorrelation analysis; for discrete data, use local Geary's C coefficient to analyze the autocorrelation characteristics in local spatiotemporal regions; for continuous data, based on the calculation of local Moran's index, combine kernel density estimation methods to more precisely determine local correlation patterns such as high-high clustering and low-low clustering of the data.
[0061] S5. Based on the data distribution density and data volume characteristics, dynamically select clustering algorithms for spatiotemporal clustering analysis;
[0062] If the data distribution is relatively dense and there is noise, the improved DBSCAN algorithm is selected, and its density threshold and neighborhood radius are optimized by genetic algorithm; if the data presents a hierarchical clustering structure, a hierarchical partitioning-based clustering algorithm is adopted; based on spatiotemporal coordinates, the selected clustering algorithm is used to perform clustering operations on the data, such as the BIRCH algorithm, to identify the clustering regions in the spatiotemporal data.
[0063] When using the improved DBSCAN algorithm for spatiotemporal clustering analysis, the density threshold is optimized using a genetic algorithm. and neighborhood radius The specific optimization process is as follows:
[0064] Density threshold and neighborhood radius Chromosomes encoded as genetic algorithms and through the following fitness function Assessing the quality of chromosomes:
[0065]
[0066] in, To use parameters The silhouette coefficient of the clustering results obtained by the DBSCAN algorithm is used to measure the compactness and separation of the clusters. This represents the maximum profile coefficient obtained during the historical optimization process. The number of noise points in the clustering results. and These are the weighting coefficients, and The ratio of the two is adjusted according to the characteristics of the actual data to balance the clustering quality and noise processing effect. This fitness function aims to reduce noise interference while improving the clustering quality, so that the clustering results can better reflect the true distribution of spatiotemporal data.
[0067] During the iterative process of the genetic algorithm, the chromosome population is updated through selection, crossover, and mutation operations. When continuous When the rate of change of the fitness function is less than the set threshold δ, the iteration stops, and the chromosome parameters at this time are used as the optimal density threshold and neighborhood radius of the improved DBSCAN algorithm for spatiotemporal data clustering. Through the above optimization process, compared with the traditional DBSCAN algorithm, this method can improve the clustering accuracy by more than 20% when processing noisy dense spatiotemporal data.
[0068] S6. Integrate the spatiotemporal correlation data obtained from spatiotemporal autocorrelation analysis and spatiotemporal clustering analysis, and package the algorithm types and parameter settings used in the analysis process together, and send them to the intelligent driving analysis module for subsequent traceability and algorithm optimization.
[0069] The intelligent drive analysis module is implemented in the following steps:
[0070] S1. Receive spatiotemporal correlation data sent by the spatiotemporal correlation analysis module, parse the data and convert its format to meet the input requirements of the built-in algorithm model;
[0071] S2. Utilize domain knowledge and expert experience to extract key knowledge from relevant documents and databases through knowledge extraction technology, and integrate the extracted knowledge using knowledge fusion technology to construct a knowledge graph;
[0072] S3. Build a reinforcement learning algorithm model based on deep learning, initialize the model parameters, and set a reward mechanism (such as giving positive rewards for improved prediction accuracy and negative rewards for incorrect predictions).
[0073] S4. Input the spatiotemporal correlation data into the reinforcement learning algorithm model. The model selects an action (such as performing a certain feature extraction or analysis operation on the data) based on the current state (the characteristics of the input data). It obtains relevant knowledge and constraints by interacting with the knowledge graph and evaluates and adjusts the action.
[0074] S5. Based on the results after the action is executed (such as a data relationship or pattern obtained from analysis), calculate the reward value. Then, based on the reward value and optimization methods such as the policy gradient algorithm, adjust the parameters of the reinforcement learning algorithm model to optimize the analysis process with the goal of maximizing long-term rewards.
[0075] S6. Repeat steps S4 and S5 to iteratively train the model, conduct in-depth analysis of spatiotemporal correlation data, and uncover potential complex relationships and patterns in the data.
[0076] S7. When the model reaches the set number of training iterations or meets the convergence condition (such as the reward value change tending to stabilize), generate the intelligent analysis results and send them to the trend prediction module.
[0077] As a preliminary step, the spatiotemporal correlation analysis module mines explicit correlation patterns (such as clustering areas and diffusion trends) in the time and space dimensions of data based on spatiotemporal coordinate information. The spatiotemporal correlation data output is the direct input of the intelligent driving analysis module. After receiving the spatiotemporal correlation data, the intelligent driving analysis module does not stop at the surface correlation relationship, but through the interaction of reinforcement learning and knowledge graph, it mines the complex causal relationships and domain knowledge hidden behind the data, realizing the process from data correlation to knowledge reasoning.
[0078] In smart healthcare management scenarios, taking hospital patient condition monitoring and treatment prediction as an example, the various steps of the smart-driven analysis module are integrated, clearly demonstrating how data processing enables in-depth analysis and effective application of medical data. Figure 4 As shown, in a smart healthcare management scenario, the goal is to achieve accurate prediction of disease progression and optimization of treatment plans by analyzing patients' medical data. The specific steps are as follows:
[0079] Step 101: Data Input and Status Representation
[0080] Spatiotemporal correlation data: Output from the spatiotemporal correlation analysis module, including:
[0081] Spatial characteristics: the patient's department (e.g., cardiology, respiratory medicine), ward location, and hospital area distribution.
[0082] Time characteristics: date of visit, length of hospital stay, medication interval, and timestamps of vital sign monitoring.
[0083] Association patterns: clustering of infections among patients in the same ward; increase in patients with a certain type of disease within a specific time period.
[0084] State encoding: converting the above features into a vector representation that the model can process.
[0085] state = [Patient ID, Department Code, Length of Stay, Temperature Sequence Code, Blood Pressure Fluctuation Index, Medication Record Code, Association Pattern Type]
[0086] Step 102: Action Selection and Execution
[0087] Action space: The set of operations that the model can perform, for example:
[0088] action_1: Analyze the correlation between specific drugs and changes in patients' vital signs.
[0089] Action 2: Investigating the transmission route of infection among patients in the same ward.
[0090] Action 3: Explore potential factors that exacerbate the condition of patients with a certain type of disease.
[0091] Policy network decision-making: Based on the current state, the policy network outputs an action probability distribution:
[0092] P(action_1) = 0.4, P(action_2) = 0.3, P(action_3) = 0.3
[0093] ε- Greedy Selection: Explore randomly with a probability of ε=0.1, and finally select action_1.
[0094] Step 103: Knowledge Graph Interaction and Constraint Verification
[0095] Knowledge retrieval: The model queries the knowledge graph for domain knowledge related to action_1.
[0096] Search path: [Drug - Impact on Vital Signs] → [Patient Allergy History Constraints] → [Drug Contraindications]
[0097] Constraints:
[0098] Knowledge graph return: "Drugs containing a β-lactam structure are contraindicated in patients with penicillin allergy."
[0099] The patient currently has a history of penicillin allergy. If action_1 involves related drugs, the analysis direction needs to be adjusted, and a suitable drug should be selected for correlation analysis.
[0100] Step 104: Action Execution and Result Evaluation
[0101] Execution analysis: Regression analysis was performed on the selected drugs and patient vital signs, and the results showed that:
[0102] After using a certain antihypertensive drug, the patient's blood pressure dropped by an average of 15 mmHg within 2 hours of administration.
[0103] The drug's effectiveness was weakly negatively correlated with the patient's age (correlation coefficient -0.2).
[0104] Reward Calculation:
[0105] Improved prediction accuracy: +6 points (based on clinical data validation)
[0106] Discover new knowledge: +4 points (The knowledge graph does not contain records of the drug's effects on a specific age group)
[0107] Analytical value: +2 points (The results provide guidance for adjusting subsequent medication regimens)
[0108] Total reward points: 12
[0109] Step 105: Parameter Update and Experience Replay
[0110] Gradient calculation: Parameter update direction is calculated based on the policy gradient algorithm.
[0111]
[0112] in: It is a policy network. It is an action value function, approximated by reward value;
[0113] Experience storage: storing quadruples Store in the experience replay buffer:
[0114] (Current state, action_1, 12, next state)
[0115] Batch Update: Sample multiple experiences from the buffer and update the policy network parameters using the Adam optimizer.
[0116] Step 106: Knowledge Graph Update
[0117] New knowledge added: "Differences in the antihypertensive effect of a certain antihypertensive drug on patients of different age groups" has been added as a new fact to the knowledge graph.
[0118] Relationship weight adjustment:
[0119] Weighting of the relationship between "specific drugs" and "changes in vital signs in patients of different age groups".
[0120] Update the probability distribution parameters of factors influencing drug efficacy
[0121] Step 107: Termination Condition Determination
[0122] Convergence check:
[0123] The average reward fluctuation over 10 consecutive episodes is <0.5%.
[0124] Policy network parameter update magnitude < 1e-4
[0125] Maximum number of iterations reached: 800 training iterations completed.
[0126] This solution utilizes multi-threaded parallel acquisition technology in the data acquisition module to efficiently acquire historical and real-time data, and dynamically adjusts the acquisition frequency based on the characteristics of the data source. After intelligent missing value imputation (e.g., automatically selecting interpolation or multiple imputation methods based on data type), outlier joint detection using multiple algorithms (combining statistical methods and machine learning algorithms), and standardization processing in the data preprocessing module, the data enters the spatiotemporal correlation analysis module. This module uses spatiotemporal indexing techniques (such as R-trees and quadtrees) to structure the data and designs a dynamic algorithm selection mechanism based on the data distribution characteristics: for simple regular distribution data, a global Moran's index is used for spatiotemporal autocorrelation analysis; for complex nonlinear data, a spatiotemporal graph convolutional network (GCN) is introduced. In the local analysis stage, discrete data uses Geary's C coefficient, and continuous data is optimized by combining kernel density estimation with the Moran's index. Finally, spatiotemporal clustering is achieved through DBSCAN (including genetic algorithm parameter optimization) or the BIRCH algorithm. This process, through the combination of "global-local" and "linear-nonlinear" algorithms, accurately captures the explicit correlation patterns of data in the spatiotemporal dimension.
[0127] As is known from common technical knowledge, this invention can be implemented through other embodiments that do not depart from its spirit or essential characteristics. Therefore, the disclosed embodiments described above are merely illustrative in all respects and are not the only ones. All modifications within the scope of this invention or equivalent to the scope of this invention are included in this invention.
Claims
1. A wisdom-driven spatio-temporal correlation analysis and trend prediction system for statistical data, characterized in that: The system comprises a data collection module, a data preprocessing module, a space-time correlation analysis module, a wisdom-driven analysis module, a trend prediction module, and a result output module. The data collection module is configured to collect statistical data from various data sources, store the collected data in a raw format, classify and package the data according to preset rules, and send the data to the data preprocessing module. The data preprocessing module is configured to receive the data sent by the data collection module, preprocess the data, and send the processed data to the space-time correlation analysis module. The space-time correlation analysis module is configured to receive the data processed by the data preprocessing module, organize and manage the data based on space-time coordinate information using a space-time indexing technology, mine the correlation between the data in the time and space dimensions through space-time autocorrelation analysis and space-time clustering analysis, and send the analyzed space-time correlation data to the wisdom-driven analysis module. The wisdom-driven analysis module is configured to receive the space-time correlation data sent by the space-time correlation analysis module, build a knowledge graph based on deep learning and reinforcement learning algorithm models, combine domain knowledge and expert experience, interact with the knowledge graph through the reinforcement learning algorithm, analyze the space-time correlation data in depth, mine potential complex relationships and patterns in the data, generate wisdom analysis results, and send the results to the trend prediction module. The trend prediction module is configured to receive the wisdom analysis results sent by the wisdom-driven analysis module, use time series analysis algorithms, regression analysis algorithms, or machine learning prediction algorithms, combine the space-time correlation information and the wisdom analysis results, predict the future trend of the statistical data, generate prediction results, and send the results to the result output module. The result output module is configured to receive the prediction results sent by the trend prediction module, display the results in the form of visual charts and reports, and provide a data export function. The space-time correlation analysis module implements the following steps: S1, receive the data processed by the data preprocessing module, extract the space-time coordinate information in the data, and record the statistical characteristics of the data; S2, organize and manage the data using a space-time indexing technology, divide the data into corresponding index nodes according to the space-time coordinates, and establish a mapping relationship between the data and the index nodes; S3, dynamically select a space-time autocorrelation analysis algorithm based on the statistical characteristics of the data recorded in S1; S4, dynamically select a local autocorrelation analysis method based on the statistical characteristics of the data for further space-time autocorrelation analysis; S5, dynamically select a clustering algorithm based on the distribution density and data volume characteristics of the data for space-time clustering analysis; S6, integrate the space-time correlation data obtained through the space-time autocorrelation analysis and the space-time clustering analysis, package the algorithm types and parameter settings used in the analysis process, and send the data to the wisdom-driven analysis module. 2.The system of claim 1, wherein: In step S1, the space-time coordinate information includes a timestamp and geographic location coordinate information, and the statistical characteristics of the data include the type, size, and distribution of the data. 3.The system of claim 1, wherein: In the step S3, the dynamic selection of the spatio-temporal autocorrelation analysis algorithm for spatio-temporal autocorrelation analysis includes: if the data is a simple regular spatio-temporal distribution, a global Moran's index calculation method is used to preliminarily judge the autocorrelation degree of the data in the overall spatio-temporal range; if the data presents a complex nonlinear spatio-temporal distribution characteristic, a spatio-temporal graph convolution network algorithm based on deep learning is used for autocorrelation analysis; when the global Moran's index calculation is used, if the global Moran's index does not reach the set threshold, return to step S2 to re-adjust the spatio-temporal index structure; if the threshold is reached, proceed to step S4. 4.The system of claim 1, wherein: The dynamic selection of the local autocorrelation analysis method for further spatio-temporal autocorrelation analysis in step S4 includes: for discrete data, a local Geary's C coefficient is used to analyze the autocorrelation characteristics in the local spatio-temporal region; for continuous data, on the basis of calculating the local Moran's index, a kernel density estimation method is used to more finely determine the local correlation patterns such as high-high aggregation and low-low aggregation of the data. 5.The wisdom-driven spatio-temporal correlation analysis and trend prediction system according to claim 1, characterized in that: In step S5, the dynamic selection of the clustering algorithm for spatio-temporal clustering analysis includes: if the data distribution is relatively dense and there is noise, an improved DBSCAN algorithm is selected, and the density threshold and neighborhood radius parameters are optimized through a genetic algorithm; if the data presents a hierarchical clustering structure, a clustering algorithm based on hierarchical division is used; based on the spatio-temporal coordinates, the selected clustering algorithm is used to cluster the data, and the clustering regions in the spatio-temporal data are identified; When the improved DBSCAN algorithm is used for spatiotemporal clustering analysis, the density threshold value is optimized by genetic algorithm and neighborhood radius The specific optimization process is as follows: density threshold and neighborhood radius encoding as chromosomes of genetic algorithm and evaluating the chromosomes by the following fitness function : wherein, is the silhouette coefficient of the clustering result obtained by the DBSCAN algorithm when the parameter is adopted, is the maximum silhouette coefficient obtained in the historical optimization process, is the number of noise points in the clustering result, and is a weight coefficient, and the proportion of the two is adjusted according to the actual data characteristics to balance the clustering quality and the noise processing effect. During the iterative process of the genetic algorithm, the chromosome population is updated through selection, crossover, and mutation operations. When continuous When the rate of change of the fitness function is less than the set threshold δ, the iteration stops, and the chromosome parameters at this time are used as the optimal density threshold and neighborhood radius of the improved DBSCAN algorithm for spatiotemporal data clustering. 6.The system of claim 1, wherein: The intelligent driving analysis module realizes the following steps: S1, receiving the spatio-temporal correlation data sent by the spatio-temporal correlation analysis module, analyzing and converting the data to meet the input requirements of the built-in algorithm model; S2, using domain knowledge and expert experience, extracting key knowledge from relevant documents and databases through knowledge extraction technology, integrating the extracted knowledge using knowledge fusion technology, and constructing a knowledge graph; S3, constructing a reinforcement learning algorithm model based on deep learning, initializing the model parameters, and setting a reward mechanism; S4, inputting the spatio-temporal correlation data into the reinforcement learning algorithm model, the model selecting an action based on the current state, obtaining relevant knowledge and constraints by interacting with the knowledge graph, and evaluating and adjusting the action; S5, calculating the reward value according to the result of the action execution, adjusting the parameters of the reinforcement learning algorithm model according to the reward value and policy gradient algorithm, and optimizing the analysis process to maximize the long-term reward S6, repeating steps S4 and S5 to iteratively train the model and perform deep analysis on the spatio-temporal correlation data to mine potential complex relationships and patterns in the data; S7, when the model reaches the set number of training times or meets the convergence condition, generating an intelligent analysis result and sending it to the trend prediction module.
Citation Information
Patent Citations
Multi-level information security policy generation method based on knowledge graph
CN119728302A
Intelligent prediction system and method for groundwater reserve change based on space-time sequence analysis
CN120069182A