Smart city operation decision-making method and system based on big data and AI big model
Through big data and AI large model technology, including generative adversarial networks, Bayesian networks and multi-objective optimization algorithms, the problem of insufficient data integration and decision-making strategies in smart city operations is solved, and efficient and intelligent city operation management and decision-making are achieved. support.
Patent Information
- Application Number
- CN202410733430.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Due to its reliance on dispersed data sources and a single analysis model, the existing smart city operation management system is difficult to effectively integrate multi-source data and cannot comprehensively and real-time reflect the city's operational status, resulting in low management efficiency and insufficient decision-making strategies.
Using methods based on big data and AI large models, data enhancement is performed through generative adversarial networks, data fusion is performed using Bayesian networks, proximal strategy optimization algorithms and multi-objective optimization algorithms are used for decision-making strategy analysis and optimization, and urban operation plans are generated. Presented through visual charts.
It improves the quality and representativeness of data, realizes the in-depth integration of multi-source data and the intelligence and optimization of decision-making strategies, and improves the efficiency of urban operation management and the scientificity and timeliness of decision-making.
Smart Images

Figure CN118333430B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data technology, and in particular to a smart city operation decision-making method and system based on big data and AI big model. Background Art
[0002] Existing smart city operation and management systems usually rely on scattered data sources and a single analysis model, which makes it difficult to effectively integrate data and cannot fully and real-time reflect the city's operation status. These systems usually use traditional data processing and analysis methods, lack the ability to deeply integrate and intelligently analyze multi-source data, and cannot provide comprehensive operational decision support.
[0003] However, existing technologies have obvious deficiencies in coping with complex and changing urban environments, real-time monitoring, and optimizing resource allocation. In particular, when processing data on traffic flow, environmental monitoring, and energy consumption, there is a lack of effective integration and analysis methods, resulting in inefficient urban management, and the inability to respond to emergencies and optimize urban operation strategies in a timely manner. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a smart city operation decision-making method and system based on big data and AI big models, which are used to improve the accuracy of smart city operation decisions based on big data and AI big models.
[0005] The present invention provides a smart city operation decision-making method based on big data and AI big model, comprising: inputting the acquired multi-source data set into a generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data and energy consumption data;
[0006] Inputting the target data set into a Bayesian network for data fusion to obtain fused data;
[0007] Inputting the fused data into a proximal strategy optimization algorithm to perform decision strategy analysis to obtain multiple decision strategy data sets;
[0008] Inputting the multiple decision strategy data sets into a multi-objective optimization algorithm for strategy optimization to obtain multiple optimization strategy data sets, and generating a city operation plan based on the multiple optimization strategy data sets;
[0009] A visualization chart is constructed for the city operation plan to obtain visualization chart data, and the visualization chart data is transmitted to a preset data display terminal.
[0010] In the present invention, the generative adversarial network includes: a generator and a discriminator. The step of inputting the acquired multi-source data set into the generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data and energy consumption data, includes:
[0011] Inputting the acquired multi-source data set into the input layer of the generator to extract the noise vector, thereby obtaining the noise vector;
[0012] Inputting the noise vector into the hidden layer of the generator to extract noise features, thereby obtaining a noise feature set;
[0013] Inputting the noise feature set into the output layer of the generator for data enhancement to obtain an enhanced data set;
[0014] Inputting the enhanced data set into the input layer of the discriminator to perform data format conversion to obtain a converted data set;
[0015] Inputting the transformed data set into the hidden layer of the discriminator for feature extraction to obtain an enhanced feature set;
[0016] Inputting the enhanced feature set into the output layer of the discriminator to perform scalar probability analysis to obtain a scalar probability value;
[0017] The scalar probability value is analyzed, and when the scalar probability value meets a preset threshold interval, the target data set is output, wherein the target data set includes traffic flow data, environmental monitoring data, and energy consumption data.
[0018] In the present invention, the step of inputting the target data set into the Bayesian network for data fusion to obtain fused data includes:
[0019] Performing mapping relationship analysis on the traffic flow data, the environmental monitoring data, and the energy consumption data to obtain mapping relationship data;
[0020] Inputting the mapping relationship data and the target data set into the Bayesian network to define network nodes to obtain a plurality of nodes, wherein each node represents a variable, and the variables include traffic flow, air quality index, and energy consumption;
[0021] Define node connection edges for the multiple nodes using the mapping relationship data to obtain edges between every two nodes;
[0022] Constructing a Bayesian network node graph through the multiple nodes and the edges between every two nodes, and performing conditional probability distribution calculation on each node of the Bayesian network node graph to obtain conditional probability distribution data of each node;
[0023] Based on the conditional probability distribution data of each node, information propagation is performed on the Bayesian network node graph and the posterior probability of each node is calculated to obtain the posterior probability data of each node;
[0024] The variable data of the multiple nodes are fused using the posterior probability data of each node to obtain the fused data.
[0025] In the present invention, the proximal strategy optimization algorithm includes: a strategy network and a value network. The step of inputting the fusion data into the proximal strategy optimization algorithm for decision strategy analysis to obtain multiple decision strategy data sets includes:
[0026] Dividing the fused data into regions to obtain sub-fused data of multiple regions;
[0027] Perform time series analysis on the sub-fusion data of each region respectively to obtain the time series fusion data corresponding to each sub-fusion data;
[0028] Extracting state information of each time series fusion data to obtain state information of each time series fusion data;
[0029] Inputting the state information of each time series fusion data into the strategy network to calculate the action probability distribution, and obtaining the action probability distribution data corresponding to each time series fusion data;
[0030] Inputting the state information of each time series fusion data into the value network to calculate the state value, and obtaining the state value data corresponding to each time series fusion data;
[0031] A decision strategy analysis is performed based on the action probability distribution data corresponding to each time series fusion data and the state value data corresponding to each time series fusion data to obtain multiple decision strategy data sets.
[0032] In the present invention, the step of inputting the multiple decision strategy data sets into a multi-objective optimization algorithm for strategy optimization to obtain multiple optimization strategy data sets, and generating a city operation plan according to the multiple optimization strategy data sets includes:
[0033] Extracting strategy features from each decision strategy data set to obtain a strategy feature set for each decision strategy data set;
[0034] Inputting the strategy feature set of each decision strategy data set into the multi-objective optimization algorithm for optimization target matching to obtain an optimization target set, wherein the optimization target set includes: traffic flow optimization target, environmental quality optimization target and energy efficiency optimization target;
[0035] Performing optimization variable matching on the optimization target set to obtain an optimization variable set;
[0036] Based on the optimization variable set, feature encoding is performed on the strategy feature set of each decision strategy data set by using the multi-objective optimization algorithm to obtain the encoded feature set of each decision strategy data set;
[0037] According to the multi-objective optimization algorithm, the coded feature set of each decision strategy data set is iteratively optimized to obtain multiple optimized strategy data sets, and an urban operation plan is generated based on the multiple optimized strategy data sets.
[0038] In the present invention, the step of iteratively optimizing the coding feature set of each decision strategy data set according to the multi-objective optimization algorithm to obtain multiple optimized strategy data sets, and generating a city operation plan according to the multiple optimized strategy data sets includes:
[0039] According to the multi-objective optimization algorithm, a population individual is constructed for the coded feature set of each decision strategy data set to obtain a population individual corresponding to each decision strategy data set;
[0040] Based on the optimization target set, the fitness of the population individuals corresponding to each decision strategy data set is evaluated to obtain the fitness value corresponding to each decision strategy data set;
[0041] Through the fitness value corresponding to each decision strategy data set, the population individuals corresponding to each decision strategy data set are screened to obtain multiple excellent individuals;
[0042] Perform individual crossover on multiple excellent individuals to obtain multiple crossover individuals;
[0043] Performing individual mutation on the multiple crossover individuals to obtain multiple mutant individuals;
[0044] Screening the multiple variant individuals for target equilibrium solutions to obtain multiple target individuals having target equilibrium solutions;
[0045] A plurality of target individuals having target equilibrium solutions are mapped to the plurality of optimization strategy data sets, and an urban operation plan is generated according to the plurality of optimization strategy data sets.
[0046] In the present invention, the step of constructing a visual chart of the city operation plan to obtain visual chart data, and transmitting the visual chart data to a preset data display terminal includes:
[0047] Classifying the urban operation plan to obtain multiple groups of classified sub-data;
[0048] Construct a display chart for each group of classified sub-data to obtain multiple sub-display charts;
[0049] The plurality of sub-display charts are fused to obtain the visualized chart data, and the visualized chart data is transmitted to a preset data display terminal.
[0050] The present invention also provides a smart city operation decision-making system based on big data and AI big model, including:
[0051] An input module is used to input the acquired multi-source data set into the generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data, and energy consumption data;
[0052] A fusion module is used to input the target data set into a Bayesian network for data fusion to obtain fused data;
[0053] An analysis module, used for inputting the fusion data into a proximal strategy optimization algorithm to perform decision strategy analysis to obtain multiple decision strategy data sets;
[0054] An optimization module, used for inputting the plurality of decision strategy data sets into a multi-objective optimization algorithm for strategy optimization, obtaining a plurality of optimized strategy data sets, and generating a city operation plan according to the plurality of optimized strategy data sets;
[0055] The display module is used to construct a visual chart of the city operation plan, obtain visual chart data, and transmit the visual chart data to a preset data display terminal.
[0056] In the technical solution provided by the present invention, the acquired multi-source data set is input into the generative adversarial network (GAN) for data enhancement, which solves the problem of insufficient data quality and representativeness in the prior art. The generative adversarial network generates high-quality enhanced data sets, including traffic flow data, environmental monitoring data and energy consumption data, through adversarial training of the generator and the discriminator. By inputting the target data set into the Bayesian network for data fusion, the problem of insufficient data fusion depth and accuracy in the prior art is further solved. The Bayesian network defines nodes and edges, establishes mapping relationships and conditional probability distributions between variables, and realizes the deep fusion of multi-source data. By calculating the posterior probability of each node, the Bayesian network can reveal the complex associations between different data sources and generate comprehensive fusion data. In the decision strategy analysis stage, by inputting the fused data into the proximal policy optimization algorithm (PPO), the problem of insufficient intelligence and accuracy of decision strategies in the prior art is effectively solved. The PPO algorithm combines the policy network and the value network to perform regional division, time series analysis, state information extraction and action probability distribution calculation to generate multiple optimized decision strategy data sets. In order to further optimize the decision strategy data set, multiple decision strategy data sets are input into the multi-objective optimization algorithm to optimize the strategy and generate the urban operation plan, which effectively solves the problem of insufficient comprehensiveness and balance of the optimization results in the existing technology. The multi-objective optimization algorithm generates multiple optimization strategy data sets through the steps of strategy feature extraction, optimization target matching, feature encoding and iterative optimization. Through population individual construction and fitness evaluation, the algorithm can find the best balance between different optimization targets and generate a comprehensive optimized urban operation plan. Finally, by constructing a visual chart of the urban operation plan, the complex operation data is converted into an intuitive and easy-to-understand chart display, which effectively solves the problem of insufficient visualization effect and interactivity in the existing technology. Through data classification, chart construction and chart fusion, the generated visualization chart data can not only fully display the operation status of the city, but also has high real-time and interactivity. By transmitting the visualization chart data to the preset data display terminal, managers and relevant personnel can intuitively understand and analyze the urban operation situation and make scientific and timely decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1This is a flow chart of a smart city operation decision-making method based on big data and AI big model in an embodiment of the present invention;
[0059] Figure 2 This is a schematic diagram of a smart city operation decision-making system based on big data and AI big model in an embodiment of the present invention. DETAILED DESCRIPTION
[0060] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0062] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0063] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , Figure 1 is a flow chart of a smart city operation decision-making method based on big data and AI big model in an embodiment of the present invention, such as Figure 1 As shown, the following steps are included:
[0064] S101, inputting the acquired multi-source data set into a generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data, and energy consumption data;
[0065] S102, inputting the target data set into the Bayesian network for data fusion to obtain fused data;
[0066] S103, inputting the fused data into the proximal strategy optimization algorithm to perform decision strategy analysis, and obtaining multiple decision strategy data sets;
[0067] S104, inputting multiple decision strategy data sets into a multi-objective optimization algorithm to perform strategy optimization, obtaining multiple optimization strategy data sets, and generating a city operation plan based on the multiple optimization strategy data sets;
[0068] S105 , constructing a visualization chart for the city operation plan, obtaining visualization chart data, and transmitting the visualization chart data to a preset data display terminal.
[0069] It should be noted that through various sensors, cameras and IoT devices in smart cities, multi-source data sets are collected in real time. These data sets include traffic flow data, environmental monitoring data and energy consumption data. After collection, these data usually have problems such as missing data and more noise, so data preprocessing is required. In this process, the acquired multi-source data set is input into the generative adversarial network (GAN) for data enhancement. The generative adversarial network consists of a generator and a discriminator. The generator generates high-quality enhanced data, and the discriminator verifies the authenticity and consistency of the data. The generator accepts the input of the noise vector and extracts the noise features through a multi-layer neural network to generate samples similar to the distribution of the real data. These samples include data such as traffic flow, environmental monitoring and energy consumption. Then, these generated enhanced data are input into the discriminator for data format conversion and feature extraction. Finally, the scalar probability analysis of the discriminator is used to verify whether the data meets the preset threshold interval to ensure the quality and representativeness of the data. Through such adversarial training, a high-quality target data set including traffic flow data, environmental monitoring data and energy consumption data is finally obtained. Next, the obtained target data set is input into the Bayesian network for data fusion. The Bayesian network defines nodes and edges to establish mapping relationships and conditional probability distributions between different data variables. In this process, the mapping relationship analysis is first performed on traffic flow data, environmental monitoring data, and energy consumption data to obtain the association information between these data. Then, these mapping relationship data and the target data set are input into the Bayesian network to define network nodes and edges. Each node represents a variable, such as traffic flow, air quality index, and energy consumption. Next, the node connection edges of these nodes are defined through the mapping relationship data to form a causal relationship network diagram between the nodes. By calculating the conditional probability distribution of each node, the Bayesian network node diagram is constructed, and information propagation and posterior probability calculation are performed, and finally the deep fusion of different variable data is achieved to obtain fused data. For example, the fused data can reveal how the increase in traffic flow in a certain area affects the ambient air quality, and how the change in energy consumption is related to these two factors. Then, the fused data is input into the proximal policy optimization algorithm (PPO) for decision strategy analysis. The PPO algorithm uses a policy network and a value network based on a deep learning method to optimize decisions in complex environments. First, the fused data is divided into regions to obtain sub-fused data of multiple regions. Then, the sub-fusion data of each region is analyzed in time series, and the data change trend of each region in different time periods is extracted to obtain the time series fusion data. Next, the state information of each time series fusion data is extracted to obtain the key features and state information of each time series data. This state information is input into the policy network, and the action probability distribution under each state is calculated to obtain the action probability distribution data corresponding to each time series fusion data.At the same time, the state information is input into the value network, the expected return value of each state is calculated, and the state value data of each time series fusion data is obtained. Finally, according to the action probability distribution data and the state value data, the decision strategy analysis is performed to generate multiple decision strategy data sets. These strategies can cover different urban operation scenarios, such as traffic flow control strategies, air quality improvement measures, and energy allocation optimization schemes in a certain area. Subsequently, multiple decision strategy data sets are input into the multi-objective optimization algorithm for strategy optimization. The multi-objective optimization algorithm finds the best balance between the various objectives by comprehensively considering multiple optimization objectives, such as traffic flow optimization, environmental quality optimization, and energy utilization efficiency optimization. Specifically, when multiple decision strategy data sets are input into the multi-objective optimization algorithm for strategy optimization, the multi-objective optimization algorithm of the present invention specifically refers to the particle swarm optimization algorithm.
[0070] In the smart city operation decision-making, the particle swarm optimization algorithm can be used to optimize multiple decision strategy data sets to find the best balance between traffic flow optimization, environmental quality optimization and energy efficiency optimization. Specifically, each decision strategy data set contains optimization goals and implementation plans in multiple dimensions. For example, the characteristics of traffic management strategies can include traffic flow reduction rate, average vehicle speed improvement rate, etc.; the characteristics of environmental protection strategies can include pollutant reduction, green coverage rate improvement, etc. The strategy feature set of each decision strategy data set is input into the particle swarm optimization algorithm for optimization target matching to generate an optimization target set. The optimization target set includes traffic flow optimization target, environmental quality optimization target and energy efficiency optimization target. The optimization target set is matched with optimization variables to form an optimization variable set. The optimization variable is a specific measure and means to achieve the optimization target, such as signal light time adjustment, lane allocation optimization, industrial emission reduction, and energy-saving equipment promotion. Through the optimization variable set, the strategy feature set is converted into a numerical form that the algorithm can handle. For example, the characteristics such as traffic flow reduction rate and air quality index improvement are encoded as specific numerical parameters. Initialize the particle swarm and set the initial position and speed of the particle. Each particle represents a possible solution, containing a set of encoded features of multiple decision strategy data sets. Each particle is evaluated for fitness and its performance in achieving the optimization goal is calculated. Particles with higher fitness values are better at achieving the optimization goal. Update particle speed and position Update the speed and position of the particle according to the current speed, position, global optimal solution and individual optimal solution of the particle. Through continuous iteration, the speed and position of the particle are updated until the termination condition is met (such as reaching the maximum number of iterations or the fitness value reaches the preset threshold). Generate optimization strategy data sets Based on the optimal solution obtained by the particle swarm optimization algorithm, multiple optimization strategy data sets are generated. These strategies achieve the best balance between multiple optimization goals such as traffic flow, environmental quality and energy efficiency. For example, through optimization, it can be determined how to adjust the timing of traffic lights during a peak period to reduce traffic congestion while improving air quality and energy efficiency.
[0071] For example, in the operational decision-making of a smart city, a certain area often has traffic congestion problems, and the air quality in the area is poor and the energy consumption is high. Through the above steps, the decision strategy feature set of the area can be extracted, including the traffic flow reduction rate, the improvement of the air quality index, the energy consumption reduction, etc. These feature sets are input into the particle swarm optimization algorithm for optimization target matching, and the optimization variables on multiple targets such as traffic, environment and energy are determined. Through feature encoding, these variables are converted into numerical parameters, and iterative optimization is performed through the particle swarm optimization algorithm, and finally a series of optimization strategy data sets are obtained. These strategies may include optimizing traffic light time during peak hours, increasing bus routes and frequencies, promoting clean energy buses, adjusting power supply time periods, and other measures. These optimization strategy data sets are combined to form a comprehensive city operation plan.
[0072] The strategy feature extraction is performed on each decision strategy data set to obtain a strategy feature set. Then, these strategy feature sets are input into the multi-objective optimization algorithm for optimization target matching to generate an optimization target set. Next, the optimization target set is matched with optimization variables to form an optimization variable set. Based on the optimization variable set, the strategy feature set of each decision strategy data set is feature encoded by the multi-objective optimization algorithm, and iterative optimization is performed to finally obtain multiple optimization strategy data sets. For example, through optimization, it can be determined how to adjust the timing of traffic lights during a peak period to reduce traffic congestion while improving air quality and energy efficiency. Based on these optimization strategy data sets, a comprehensive urban operation plan is generated, covering multiple aspects such as traffic management, environmental protection, and energy management. Finally, a visualization chart is constructed for the generated urban operation plan to transform complex operation data into an intuitive and easy-to-understand chart display. First, the urban operation plan is classified to obtain multiple groups of classified sub-data. Then, a display chart is constructed for each group of classified sub-data to generate multiple sub-display charts, such as a line chart to display the trend of traffic flow changes, a heat map to display air quality distribution, and a pie chart to display energy consumption distribution. Next, multiple sub-display charts are fused to form comprehensive visualization chart data. These visualization chart data are transmitted to the preset data display terminal through the network. The terminal device can be a PC, tablet computer or large-screen display, configured with appropriate display software to parse and display the received chart data. Managers and relevant personnel can monitor and analyze the city operation in real time through the intuitive chart interface and make scientific and timely decisions. For example, managers can see the changing trends of traffic flow peak hours and air quality in a certain area through charts, and adjust traffic management measures in time to improve environmental quality.
[0073] By executing the above steps, the acquired multi-source data set is input into the generative adversarial network (GAN) for data enhancement, which solves the problem of insufficient data quality and representativeness in the prior art. The generative adversarial network generates high-quality enhanced data sets, including traffic flow data, environmental monitoring data, and energy consumption data, through adversarial training of the generator and the discriminator. By inputting the target data set into the Bayesian network for data fusion, the problem of insufficient data fusion depth and accuracy in the prior art is further solved. The Bayesian network defines nodes and edges, establishes mapping relationships and conditional probability distributions between variables, and realizes the deep fusion of multi-source data. By calculating the posterior probability of each node, the Bayesian network can reveal the complex associations between different data sources and generate comprehensive fusion data. In the decision strategy analysis stage, by inputting the fused data into the proximal policy optimization algorithm (PPO), the problem of insufficient intelligence and accuracy of decision strategies in the prior art is effectively solved. The PPO algorithm combines the policy network and the value network to perform regional division, time series analysis, state information extraction, and action probability distribution calculation to generate multiple optimized decision strategy data sets. In order to further optimize the decision strategy data set, multiple decision strategy data sets are input into the multi-objective optimization algorithm to optimize the strategy and generate the urban operation plan, which effectively solves the problem of insufficient comprehensiveness and balance of the optimization results in the existing technology. The multi-objective optimization algorithm generates multiple optimization strategy data sets through the steps of strategy feature extraction, optimization target matching, feature encoding and iterative optimization. Through population individual construction and fitness evaluation, the algorithm can find the best balance between different optimization targets and generate a comprehensive optimized urban operation plan. Finally, by constructing a visual chart of the urban operation plan, the complex operation data is converted into an intuitive and easy-to-understand chart display, which effectively solves the problem of insufficient visualization effect and interactivity in the existing technology. Through data classification, chart construction and chart fusion, the generated visualization chart data can not only fully display the operation status of the city, but also has high real-time and interactivity. By transmitting the visualization chart data to the preset data display terminal, managers and relevant personnel can intuitively understand and analyze the urban operation situation and make scientific and timely decisions.
[0074] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0075] (1) Input the acquired multi-source dataset into the input layer of the generator to extract the noise vector and obtain the noise vector;
[0076] (2) Input the noise vector into the hidden layer of the generator to extract noise features and obtain a noise feature set;
[0077] (3) Input the noise feature set into the output layer of the generator for data augmentation to obtain an augmented data set;
[0078] (4) Input the enhanced data set into the input layer of the discriminator to convert the data format to obtain the converted data set;
[0079] (5) Input the transformed data set into the hidden layer of the discriminator for feature extraction to obtain an enhanced feature set;
[0080] (6) Input the enhanced feature set into the output layer of the discriminator for scalar probability analysis to obtain a scalar probability value;
[0081] (7) Analyze the scalar probability value. When the scalar probability value meets a preset threshold range, output a target data set, where the target data set includes traffic flow data, environmental monitoring data, and energy consumption data.
[0082] Specifically, first, in the operational decision-making of smart cities, in order to obtain comprehensive and accurate multi-source data sets, we collect traffic flow data, environmental monitoring data, and energy consumption data in real time from various data sources such as sensors, cameras, and IoT devices. However, these data will inevitably have problems such as missing data, noise, and inconsistency during the collection process. Directly using these data for analysis may lead to inaccurate results. Therefore, we need to use data enhancement technology to improve the quality and representativeness of the data. In this step, we use generative adversarial networks (GANs) to achieve data enhancement. Generative adversarial networks include two parts: generators and discriminators. The acquired multi-source data set is input into the input layer of the generator for noise vector extraction. The input layer of the generator receives these data and converts the original data into noise vectors through a series of preprocessing operations. These noise vectors contain the basic features in the original data, but remove the noise and inconsistency, thus laying the foundation for subsequent feature extraction and data enhancement. For example, traffic flow data may have obvious change patterns in different time periods and different regions. Through noise vector extraction, these change patterns can be extracted and random noise in the data can be removed. Then, the noise vector is input into the hidden layer of the generator for noise feature extraction. The hidden layer of the generator consists of multiple layers of neural networks, each of which can extract deeper features from the noise vector. For example, the first layer of the neural network may extract the time series features of the traffic flow data, and the second layer of the neural network may extract the spatial correlation features between different regions. Through the step-by-step extraction of the multi-layer network, the noise feature set is finally obtained. These noise feature sets not only retain the key information in the original data, but also remove the noise and inconsistency in it, thereby improving the quality of the data. Then, the noise feature set is input into the output layer of the generator for data enhancement. The output layer of the generator generates an enhanced data set similar to the distribution of the real data by further processing the noise feature set. These enhanced data sets contain a variety of data types such as traffic flow, environmental monitoring, and energy consumption, with high quality and high representativeness. For example, through data enhancement, traffic flow data during peak traffic hours, environmental monitoring data during severe pollution, and energy consumption data during high energy consumption periods can be generated, thereby providing more diverse data samples for subsequent data analysis. The enhanced data set is input into the input layer of the discriminator for data format conversion. The input layer of the discriminator receives the enhanced data set and converts it into a format that the discriminator can process. For example, traffic flow data is converted into a time series format, environmental monitoring data is converted into a spatial distribution format, and energy consumption data is converted into an energy consumption curve format. Through data format conversion, the enhanced dataset can be input into the subsequent layers of the discriminator in an appropriate format for further processing. The converted dataset is input into the hidden layer of the discriminator for feature extraction.The hidden layer of the discriminator is composed of multiple layers of neural networks, each of which can extract deeper features from the transformed data set. For example, the first layer of the neural network of the discriminator may extract the time series pattern of traffic flow data, and the second layer of the neural network may extract the spatial distribution pattern of environmental monitoring data. Through the step-by-step extraction of the multi-layer network, an enhanced feature set is finally obtained. These enhanced feature sets not only retain the key information in the original data, but also remove the noise and inconsistency therein, thereby improving the quality and representativeness of the data. The enhanced feature set is input into the output layer of the discriminator for scalar probability analysis. The output layer of the discriminator further processes the enhanced feature set to calculate the scalar probability value of each data sample, which represents the probability that the data sample is the real data. For example, through scalar probability analysis, the probability of a traffic flow data sample appearing during peak traffic hours can be determined, the probability of an environmental monitoring data sample appearing during severe pollution can be determined, and the probability of an energy consumption data sample appearing during high energy consumption can be determined. Through scalar probability analysis, the authenticity and representativeness of the data samples can be evaluated. The scalar probability value is analyzed, and when the scalar probability value meets the preset threshold interval, the target data set is output. The preset threshold interval is used to determine whether the data sample has sufficient authenticity and representativeness. If the scalar probability value is within the preset threshold interval, it means that the data sample has high authenticity and representativeness and can be output as the target data set. For example, the scalar probability value of the traffic flow data sample exceeds the threshold, which means that the data sample is highly representative during peak traffic hours and can be output as part of the target data set. The scalar probability value of the environmental monitoring data sample exceeds the threshold, which means that the data sample is highly representative when pollution is severe and can be output as part of the target data set. The scalar probability value of the energy consumption data sample exceeds the threshold, which means that the data sample is highly representative during periods of high energy consumption and can be output as part of the target data set.
[0083] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0084] (1) Analyze the mapping relationship between traffic flow data, environmental monitoring data, and energy consumption data to obtain mapping relationship data;
[0085] (2) Inputting the mapping relationship data and the target data set into the Bayesian network to define the network nodes and obtain multiple nodes, where each node represents a variable, including traffic flow, air quality index, and energy consumption;
[0086] (3) Define the node connection edges of multiple nodes by mapping the relationship data to obtain the edges between every two nodes;
[0087] (4) Construct a Bayesian network node graph through multiple nodes and the edges between every two nodes, and perform conditional probability distribution calculation on each node of the Bayesian network node graph to obtain the conditional probability distribution data of each node;
[0088] (5) Based on the conditional probability distribution data of each node, information is propagated on the Bayesian network node graph and the posterior probability of each node is calculated to obtain the posterior probability data of each node;
[0089] (6) The variable data of multiple nodes are fused through the posterior probability data of each node to obtain fused data.
[0090] Specifically, first, collect and preprocess multi-source data in smart cities, including traffic flow data, environmental monitoring data, and energy consumption data. In order to perform effective data fusion, it is necessary to first analyze the mapping relationship of these data. In this step, statistical analysis and data mining techniques are used to analyze the correlation between various types of data. For example, by analyzing the relationship between traffic flow data and air quality index, it can be found that the air quality index of a certain area may deteriorate during peak traffic flow; at the same time, energy consumption may be affected by traffic flow and environmental conditions in different time periods. Through these analyses, mapping relationship data between various types of data are obtained, which reveal the mutual dependence and influence between different variables. Next, these mapping relationship data and the target data set are input into the Bayesian network for network node definition. The Bayesian network represents the causal relationship between variables in the form of nodes and edges. When defining network nodes, each node represents a variable, including traffic flow, air quality index, and energy consumption. For example, one node can represent the traffic flow in a certain area, another node can represent the air quality index of the area, and the third node can represent the energy consumption of the area. Through such a definition, each node in the Bayesian network corresponds to a specific variable, which reflects the operational data of various aspects in the smart city. By mapping the relationship data, the node connection edges of these nodes are defined to obtain the edges between each two nodes. The edges between nodes represent the causal relationship and dependency between variables. For example, if the mapping relationship data shows that traffic flow has a significant impact on air quality, then in the Bayesian network, it is necessary to define an edge from the traffic flow node to the air quality index node; if energy consumption is affected by both traffic flow and air quality, it is necessary to define an edge from the traffic flow and air quality index nodes to the energy consumption node. Through such a node connection edge definition, the basic structure of the Bayesian network is constructed, reflecting the complex relationship between the variables. Next, through these nodes and the edges between nodes, the Bayesian network node graph is constructed. The Bayesian network node graph is a directed acyclic graph (DAG), in which each node and edge represents the causal relationship between variables. In the process of constructing the node graph, it is necessary to consider the conditional independence and dependency between variables to ensure the rationality and accuracy of the graph structure. For example, when constructing a node graph, it can be found that the traffic flow in a certain area not only directly affects the air quality index of the area, but also indirectly affects the air quality index of the surrounding areas by affecting the traffic flow in the surrounding areas; similarly, energy consumption is not only directly affected by the traffic flow and air quality in the area, but also indirectly affected by the impact on energy demand in other areas. After constructing the Bayesian network node graph, the conditional probability distribution is calculated for each node. The conditional probability distribution reflects the probability distribution of a node given a parent node.For example, by calculating the conditional probability distribution of the air quality index of a certain area under different traffic flow conditions, it can be found that when the traffic flow is high, the probability of poor air quality is higher; when the traffic flow is low, the probability of good air quality is higher. Through the conditional probability distribution calculation, the dependencies between nodes can be quantified to obtain the conditional probability distribution data of each node. Based on the conditional probability distribution data of each node, information propagation is performed on the Bayesian network node graph to calculate the posterior probability of each node. The information propagation process updates the probability distribution of each node through the Bayesian formula, combining the conditional probability distribution data and the observation data. For example, if the traffic flow in a certain area is observed to be high, the posterior probability of the air quality index and energy consumption in the area can be calculated through information propagation. Through information propagation, the influence of the observation data can be transmitted to the entire network to obtain the posterior probability data of each node. Finally, through the posterior probability data of each node, variable data fusion is performed on multiple nodes to obtain fused data. The process of variable data fusion combines data from different sources to form a unified and comprehensive view. For example, through the posterior probability data of traffic flow, air quality and energy consumption, the comprehensive operation status of a certain area in different time periods can be obtained. These fused data not only contain the independent information of each variable, but also reflect the interrelationships and combined impacts between them. For example, in a smart city management system, if the traffic flow data of a certain area shows that the area has a large flow during peak hours in the morning and evening, it can be found through mapping relationship analysis that this situation usually leads to a decrease in the air quality index and an increase in the energy consumption of the area. In the Bayesian network, these variables are defined as nodes, and the edges between the nodes are established through mapping relationship data. After observing an increase in traffic flow during peak hours, the Bayesian network will calculate the posterior probability of the air quality index and energy consumption in the area through information propagation to obtain comprehensive fused data. These data can be used to predict and manage the traffic, environmental and energy problems in the area, providing a scientific basis for the efficient operation of smart cities.
[0091] In a specific embodiment, the process of executing step S103 may specifically include the following steps:
[0092] (1) Divide the fused data into regions to obtain sub-fused data of multiple regions;
[0093] (2) Perform time series analysis on the sub-fusion data of each region respectively to obtain the time series fusion data corresponding to each sub-fusion data;
[0094] (3) Extracting state information of each time series fusion data to obtain the state information of each time series fusion data;
[0095] (4) Input the state information of each time series fusion data into the strategy network to calculate the action probability distribution, and obtain the action probability distribution data corresponding to each time series fusion data;
[0096] (5) Input the state information of each time series fusion data into the value network to calculate the state value, and obtain the state value data corresponding to each time series fusion data;
[0097] (6) Decision strategy analysis is performed based on the action probability distribution data corresponding to each time series fusion data and the state value data corresponding to each time series fusion data to obtain multiple decision strategy data sets.
[0098] Specifically, the fused data obtained from the Bayesian network is divided into regions. The fused data includes multi-source data such as traffic flow, environmental monitoring and energy consumption, which cover all areas of the entire city. Through the Geographic Information System (GIS) or other spatial division technology, the entire city is divided into multiple regions, each of which contains corresponding sub-fusion data. For example, a city can be divided according to administrative divisions or functional divisions (such as commercial areas, residential areas, industrial areas, etc.), and the sub-fusion data in each region includes information such as traffic flow, air quality and energy consumption in the region. Next, the sub-fusion data of each region is analyzed in time series to obtain the time series fusion data corresponding to each sub-fusion data. Time series analysis analyzes the data change trend of each region through statistical and time series models (such as ARIMA, LSTM, etc.). For example, by performing time series analysis on the traffic flow data of a certain area, the flow change law of the area during the morning peak and evening peak can be found; the time series analysis of air quality data can reveal the change trend of pollutant concentration in different time periods of the day; the time series analysis of energy consumption data can understand the energy consumption of the area in different seasons and time periods. Through time series analysis, the time series fusion data of each sub-fusion data is obtained. These data not only contain the current state information, but also reflect the historical changes and predicted trends of the data. Then, the state information of each time series fusion data is extracted to obtain the state information of each time series fusion data. State information extraction is to convert the time series fusion data into feature information that can be used for decision analysis. For example, for traffic flow data, state information such as peak flow, average flow, and flow change rate can be extracted; for air quality data, state information such as the concentration of major pollutants and the daily change trend of the air quality index can be extracted; for energy consumption data, state information such as peak energy consumption, average energy consumption, and energy consumption change trend can be extracted. Through state information extraction, the key features of each time series fusion data are obtained, which provides a basis for subsequent strategy network and value network calculations. The state information of each time series fusion data is input into the strategy network for action probability distribution calculation to obtain the action probability distribution data corresponding to each time series fusion data. The strategy network is a neural network model based on deep learning. By learning the decision-making mode in historical data, it calculates the possible actions and their probability distribution under each state. For example, for traffic flow data, the strategy network can calculate the probability distribution of actions such as adjusting the signal light time and diversion measures under different traffic conditions; for air quality data, it can calculate the probability distribution of measures such as reducing emissions and increasing greening under different pollution conditions; for energy consumption data, it can calculate the probability distribution of actions such as adjusting power supply strategies and promoting energy-saving measures under different energy consumption conditions. Through the calculation of the strategy network, the action probability distribution data corresponding to each time series fusion data is obtained, providing multiple possible options for decision-making.The state information of each time series fusion data is input into the value network for state value calculation to obtain the state value data corresponding to each time series fusion data. The value network is also a neural network model based on deep learning. It calculates the expected value of each state by learning the effect evaluation in historical data. For example, for traffic flow data, the value network can calculate the expected congestion degree and traffic efficiency after taking specific measures under different traffic conditions; for air quality data, it can calculate the degree of improvement of air quality after taking specific measures under different pollution conditions; for energy consumption data, it can calculate the energy saving effect after taking specific measures under different energy consumption conditions. Through the calculation of the value network, the state value data of each time series fusion data is obtained, which provides a basis for the effect evaluation of each decision. According to the action probability distribution data and state value data corresponding to each time series fusion data, the decision strategy analysis is carried out to obtain multiple decision strategy data sets. The analysis of the decision strategy data set selects the optimal decision plan by comprehensively considering the action probability distribution and state value. For example, for the traffic flow data of a certain area, by comprehensively analyzing the probability distribution of adjusting the signal light time and diversion measures and their expected effects, the optimal decision strategy data set for reducing congestion during peak hours can be obtained; for air quality data, by analyzing the probability distribution of reducing emissions and increasing greening measures and their expected effects, the optimal decision strategy data set for improving air quality during pollution peak hours can be obtained; for energy consumption data, by analyzing the probability distribution of adjusting power supply strategies and promoting energy-saving measures and their expected effects, the optimal decision strategy data set for reducing energy consumption during high energy consumption periods can be obtained. Through this comprehensive analysis, the generated decision strategy data set not only considers multiple possible action plans, but also evaluates the expected effects of each plan to ensure the scientificity and effectiveness of the decision. For example, in a smart city management system, the traffic flow in a certain area often experiences severe congestion during the morning and evening peak hours. Through regional division and time series analysis, the time series fusion data of the traffic flow in the area is obtained, and state information such as peak flow and flow change rate is extracted. The state information is input into the strategy network to calculate the probability distribution of actions such as adjusting the signal time and setting temporary diversion routes during peak hours; at the same time, the state information is input into the value network to calculate the expected congestion level and traffic efficiency of each measure under different states. A comprehensive analysis of the probability distribution of these actions and the state value yields a decision strategy data set that can significantly reduce congestion during the morning peak hours by optimizing the signal time and setting temporary diversion routes. This strategy is not only based on in-depth data analysis, but also has undergone scientific evaluation of multiple possible action plans to ensure its effectiveness in practical applications.
[0099] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0100] (1) Extracting strategy features from each decision strategy data set to obtain a strategy feature set for each decision strategy data set;
[0101] (2) Inputting the strategy feature set of each decision strategy data set into the multi-objective optimization algorithm for optimization target matching to obtain the optimization target set, where the optimization target set includes: traffic flow optimization target, environmental quality optimization target and energy efficiency optimization target;
[0102] (3) Match the optimization variables of the optimization target set to obtain the optimization variable set;
[0103] (4) Based on the optimization variable set, feature encoding is performed on the strategy feature set of each decision strategy data set through a multi-objective optimization algorithm to obtain the encoded feature set of each decision strategy data set;
[0104] (5) According to the multi-objective optimization algorithm, the coded feature set of each decision strategy data set is iteratively optimized to obtain multiple optimized strategy data sets, and an urban operation plan is generated based on the multiple optimized strategy data sets.
[0105] Specifically, the strategy feature extraction is performed on each decision strategy data set to obtain the strategy feature set of each decision strategy data set. Each decision strategy data set contains optimization goals and implementation plans in multiple dimensions. For example, the traffic management strategy of a certain area may include specific measures such as signal light time optimization and lane allocation adjustment; the environmental protection strategy may include measures such as reducing industrial emissions and increasing greening; the energy management strategy may include measures such as adjusting the power supply period and promoting energy-saving equipment. In the process of strategy feature extraction, the key strategy features are extracted by analyzing the impact and effect of these specific measures. For example, the features of the traffic management strategy may include the traffic flow reduction rate, the average vehicle speed increase rate, etc.; the features of the environmental protection strategy may include the amount of pollutant reduction and the amount of greening coverage increase; the features of the energy management strategy may include the amount of energy consumption reduction and the popularity rate of energy-saving equipment. Through the extraction of these features, the strategy feature set of each decision strategy data set is formed. Next, the strategy feature set of each decision strategy data set is input into the multi-objective optimization algorithm for optimization target matching to obtain the optimization target set. The multi-objective optimization algorithm aims to optimize multiple targets at the same time and find the best balance between different targets. In order to achieve this, it is necessary to first define the optimization target set, including traffic flow optimization target, environmental quality optimization target and energy efficiency optimization target. For example, the traffic flow optimization target can be defined as reducing traffic congestion, increasing average vehicle speed, etc.; the environmental quality optimization target can be defined as reducing air pollution, increasing green coverage, etc.; the energy efficiency optimization target can be defined as reducing energy consumption, improving energy utilization, etc. Through optimization target matching, the strategy feature set of each decision strategy data set is matched with the optimization target set to determine the contribution and influence of each strategy feature on different optimization targets. Then, the optimization target set is matched with optimization variables to obtain the optimization variable set. The optimization variable is the specific measure and means to achieve the optimization target. For example, for the traffic flow optimization target, the optimization variable can include signal light time adjustment, lane allocation optimization, public transportation promotion, etc.; for the environmental quality optimization target, the optimization variable can include reducing industrial emissions, increasing greening, promoting clean energy, etc.; for the energy efficiency optimization target, the optimization variable can include adjusting the power supply period, promoting energy-saving equipment, optimizing energy distribution, etc. Through optimization variable matching, the optimization target is associated with the specific optimization variable to form an optimization variable set. Based on the optimization variable set, the strategy feature set of each decision strategy data set is feature encoded by a multi-objective optimization algorithm to obtain the encoded feature set of each decision strategy data set. Feature encoding is to convert each feature in the strategy feature set into a numerical form that the algorithm can process. For example, features such as the traffic flow reduction rate and the average vehicle speed increase rate are encoded as specific numerical parameters; features such as the pollutant reduction amount and the green coverage rate increase are encoded as specific numerical parameters; features such as the energy consumption reduction amount and the energy-saving equipment penetration rate are encoded as specific numerical parameters.Through feature coding, the strategy feature set of each decision strategy data set is converted into a coded feature set that can be used for optimization algorithm calculation. Then, according to the multi-objective optimization algorithm, the coded feature set of each decision strategy data set is iteratively optimized to obtain multiple optimized strategy data sets. The multi-objective optimization algorithm searches for the best balance point between multiple optimization objectives through iterative calculation. For example, the natural selection process is simulated by the genetic algorithm, and the strategy feature set is gradually optimized through operations such as selection, crossover and mutation; the bird flock foraging process is simulated by the particle swarm optimization algorithm, and the strategy feature set is gradually optimized through the speed and position update of the particles. Through iterative optimization, the numerical parameters of each feature are continuously adjusted, and finally multiple optimized strategy data sets are obtained. These strategies achieve the best balance between multiple optimization objectives such as traffic flow, environmental quality and energy utilization efficiency. Finally, the city operation plan is generated based on multiple optimized strategy data sets. The optimization strategy covers specific measures in multiple aspects such as traffic management, environmental protection and energy management. These measures are interrelated and influence each other. Through scientific optimization calculation, a comprehensive city operation plan is formed. For example, in the traffic management of a certain area, the optimization plan may include measures such as adjusting the signal time during peak hours, increasing bus routes and frequencies, and setting up temporary diversion routes; in terms of environmental protection, the optimization plan may include measures such as reducing industrial emissions, increasing public green space, and promoting clean energy; in terms of energy management, the optimization plan may include measures such as adjusting the power supply period, promoting energy-saving equipment, and optimizing energy distribution. Through the comprehensive application of these optimization measures, a comprehensive urban operation plan is formed to ensure that the best results can be achieved in multiple aspects such as traffic flow, environmental quality, and energy utilization efficiency. For example, in the operation decision-making of a smart city, if a certain area often has traffic congestion problems, and the air quality in the area is poor and the energy consumption is high, through the above steps, the decision strategy feature set of the area can be extracted, including the traffic flow reduction rate, the improvement of the air quality index, the energy consumption reduction, etc. These feature sets are input into the multi-objective optimization algorithm for optimization target matching, and the optimization variables on multiple targets such as traffic, environment, and energy are determined. Through feature encoding, these variables are converted into numerical parameters, and iterative optimization is performed through the multi-objective optimization algorithm, and finally a series of optimization strategy data sets are obtained. These strategies may include adjusting traffic light times and setting up temporary diversion routes in traffic management; increasing greening and promoting clean energy in environmental protection; and adjusting power supply hours and promoting energy-saving equipment in energy management. Combining these optimization strategy data sets to form a comprehensive urban operation plan can reduce traffic congestion, improve air quality, and improve energy efficiency.
[0106] In a specific embodiment, the process of iteratively optimizing the coding feature set of each decision strategy data set according to the multi-objective optimization algorithm to obtain multiple optimized strategy data sets and generating the city operation plan according to the multiple optimized strategy data sets may specifically include the following steps:
[0107] (1) According to the multi-objective optimization algorithm, the encoded feature set of each decision strategy data set is constructed into a population individual to obtain the population individual corresponding to each decision strategy data set;
[0108] (2) Based on the optimization target set, the fitness of the population individuals corresponding to each decision strategy data set is evaluated to obtain the fitness value corresponding to each decision strategy data set;
[0109] (3) Using the fitness value corresponding to each decision strategy data set, the individuals in the population corresponding to each decision strategy data set are screened to obtain multiple excellent individuals;
[0110] (4) Perform individual crossover on multiple excellent individuals to obtain multiple crossover individuals;
[0111] (5) Perform individual mutation on multiple crossover individuals to obtain multiple mutant individuals;
[0112] (6) Screening the target equilibrium solution for multiple variant individuals to obtain multiple target individuals with the target equilibrium solution;
[0113] (7) Mapping multiple target individuals with target equilibrium solutions into multiple optimization strategy data sets, and generating urban operation plans based on the multiple optimization strategy data sets.
[0114] Specifically, according to the multi-objective optimization algorithm, the encoded feature set of each decision strategy data set is constructed into population individuals to obtain the population individuals corresponding to each decision strategy data set. Population individual construction is a very critical step in the multi-objective optimization algorithm, especially in the genetic algorithm, where the construction of population individuals determines the starting point of the optimization process. Each population individual represents a specific decision strategy encoded feature set, which includes features of multiple dimensions such as traffic flow, environmental quality, and energy utilization. By initializing population individuals, we can create a set of diverse solutions, each of which represents a possible combination of urban operation strategies. For example, for traffic management in a specific area, multiple population individuals can be initialized, each of which contains different signal time adjustment schemes, lane allocation strategies, and public transportation optimization measures. Next, based on the optimization target set, the fitness of the population individuals corresponding to each decision strategy data set is evaluated to obtain the fitness value corresponding to each decision strategy data set. Fitness evaluation is a key step in measuring the performance of each population individual in achieving the optimization target. The optimization target set includes multiple aspects such as traffic flow optimization target, environmental quality optimization target, and energy efficiency optimization target. By evaluating the fitness of each population individual, the performance of each individual in achieving these optimization goals can be calculated, such as reducing traffic congestion, improving air quality, and improving energy efficiency. The higher the fitness value of an individual, the better its effect in achieving the optimization goal. For example, if the decision strategy data set of a population individual successfully reduces traffic flow during peak hours, significantly improves air quality and reduces energy consumption, then its fitness value will be very high. According to the fitness value corresponding to each decision strategy data set, the population individuals corresponding to each decision strategy data set are screened to obtain multiple excellent individuals. Individual screening is to ensure the transmission of excellent genes by selecting individuals with higher fitness values. In genetic algorithms, commonly used screening methods include roulette selection, tournament selection, etc. Through these methods, a group of excellent individuals with higher fitness values can be selected, which will play a key role in the subsequent crossover and mutation process. For example, through the roulette selection method, individuals can be selected in a probabilistic manner according to the size of the fitness value to ensure that individuals with high fitness values have a higher chance of being selected. Then, multiple excellent individuals are crossovered to obtain multiple crossover individuals. Individual crossover is to generate new individuals by exchanging some genes of excellent individuals. The crossover operation can simulate the gene recombination process in biological inheritance. Through the crossover operation, the new individual will inherit the excellent characteristics of the parent individual and may produce new characteristics. For example, two excellent individuals represent different traffic light time adjustment strategies and lane allocation schemes. Through the crossover operation, a new individual can be generated, whose traffic light time adjustment strategy comes from the first individual and the lane allocation scheme comes from the second individual, thus generating a new decision combination.Next, multiple crossover individuals are subjected to individual mutation to obtain multiple mutant individuals. Mutation is the process of introducing new gene diversity by randomly changing some genes of individuals. Mutation operation can simulate the process of biological gene mutation. Through mutation operation, the algorithm can avoid falling into the local optimal solution and enhance the diversity of the population. For example, in the process of mutation, the signal light time can be randomly adjusted or the lane allocation strategy can be changed to generate new individuals. These mutant individuals will help to explore new solution spaces and find better solutions. Target balance solution screening is performed on multiple mutant individuals to obtain multiple target individuals with target balance solutions. Target balance solution screening is to find the solution that achieves the best balance between multiple optimization objectives by performing multi-objective optimization on mutant individuals. For example, among multiple objectives such as traffic management, environmental protection and energy efficiency, by calculating and comparing the comprehensive performance of each mutant individual, those individuals that perform well on multiple objectives are screened out. Through this screening, it can be ensured that the final optimization strategy data set not only performs well on a certain objective, but also achieves a good balance on all objectives. Finally, multiple target individuals with target balance solutions are mapped to multiple optimization strategy data sets, and urban operation plans are generated based on these optimization strategy data sets. Each optimization strategy data set includes specific action plans and implementation steps. These plans and steps are calculated by multi-objective optimization algorithms to ensure that the best results can be achieved in terms of traffic flow, environmental quality and energy efficiency. For example, in terms of traffic management, the optimization strategy data set may include adjusting the signal time, setting up temporary diversion routes, increasing bus routes and frequencies, etc.; in terms of environmental protection, the optimization strategy data set may include reducing industrial emissions, increasing public green space, promoting clean energy, etc.; in terms of energy management, the optimization strategy data set may include adjusting the power supply period, promoting energy-saving equipment, optimizing energy distribution, etc. These optimization strategy data sets have been scientifically calculated and comprehensively evaluated to ensure that they can effectively improve urban operation efficiency, improve the urban environment, and save energy consumption in practical applications. For example, in the operational decision-making of a smart city, the traffic management of a certain area needs to consider reducing congestion, improving air quality and reducing energy consumption at the same time. Through the above steps, the population individuals can be first constructed, including different signal time adjustment schemes, lane allocation strategies and public transportation optimization measures. Through fitness evaluation, those individuals that perform well in reducing traffic congestion, improving air quality and reducing energy consumption are screened out. Through crossover and mutation operations, new individuals are generated, and the target balance solution is screened through a multi-objective optimization algorithm, and finally a set of optimization strategy data sets are obtained. These strategies may include optimizing traffic light time during peak hours, increasing bus routes and frequencies, promoting clean energy buses, adjusting power supply periods, etc. Combining these optimization strategy data sets, a comprehensive urban operation plan is formed, which can effectively reduce traffic congestion, improve air quality, and improve energy efficiency, ensuring the sustainable development of the city.
[0115] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0116] (1) Classify the data of the urban operation plan to obtain multiple groups of classified sub-data;
[0117] (2) constructing a display chart for each group of classified sub-data to obtain multiple sub-display charts;
[0118] (3) Multiple sub-display charts are merged to obtain visualized chart data, and the visualized chart data is transmitted to a preset data display terminal.
[0119] Specifically, various data are extracted from the generated urban operation plan, which may cover multiple aspects, such as traffic management, environmental protection, and energy utilization. There are many types of these data, and each type of data corresponds to different decision-making plans and actual operations. In order to facilitate subsequent analysis and display, it is first necessary to classify the data of the urban operation plan to obtain multiple groups of classified sub-data. The classification standard can be determined according to specific management needs and data types. For example, the data can be divided into multiple categories such as traffic flow data, air quality data, and energy consumption data. Each category of data represents specific information about urban management. Through classification, these data can be organized in an orderly manner for subsequent processing. Next, a display chart is constructed for each group of classified sub-data to obtain multiple sub-display charts. In this process, suitable data visualization tools and technologies (such as D3.js, Tableau, Power BI, etc.) are selected to design corresponding chart types according to the characteristics of the data and analysis needs. For traffic flow data, line charts and bar charts can be used to show the changes in traffic flow in different periods and regions; for air quality data, heat maps and geographic information system (GIS) maps can be used to show the distribution and change trends of air quality in different regions; for energy consumption data, pie charts and bar charts can be used to show the distribution and change of energy consumption. Through these charts, the changing rules and trends of various types of data can be intuitively displayed, providing managers with intuitive and easy-to-understand data display. Then, multiple sub-display charts are fused to obtain comprehensive visual chart data. The purpose of chart fusion is to integrate different categories of data into a unified display interface, which is convenient for managers to conduct comprehensive analysis and decision-making. For example, sub-display charts of different categories such as traffic flow, air quality and energy consumption are integrated into a large-screen display interface, and the changes and correlations of various types of data are displayed through different chart areas. In this process, dashboard technology can be used to integrate multiple sub-display charts into a unified interface through layout and design. Through chart fusion, not only can the independent information of various types of data be displayed, but also the correlation and mutual influence between them can be revealed. For example, there may be a significant correlation between changes in traffic flow and changes in air quality during peak hours. Through fusion display, this correlation can be intuitively displayed, which is convenient for managers to take corresponding management measures. Finally, the visualization chart data is transmitted to the preset data display terminal. The data display terminal can be a large-screen display, tablet computer or other device with display function, and the visualization chart data is transmitted to these terminal devices in real time through network transmission protocols (such as HTTP, WebSocket, etc.). During the data transmission process, it is necessary to ensure the real-time and accuracy of the data, and transmit it through appropriate communication protocols and data formats (such as JSON, XML, etc.) to ensure that the data display terminal can accurately receive and parse the visualization chart data.For example, in a smart city management system, managers need to monitor and analyze the city's traffic flow, air quality, energy consumption and other data in real time. First, by classifying the data of the city operation plan, the traffic flow data, air quality data and energy consumption data are extracted separately to form multiple classified sub-data. Then, using data visualization tools such as D3.js, a line chart of traffic flow, a heat map of air quality and a pie chart of energy consumption are constructed respectively. These charts show the changes in traffic flow, air quality distribution and energy consumption in different time periods and different regions. Then, through the dashboard technology, these sub-display charts are integrated into a large-screen display interface, and the changes and correlations of various data are displayed through different chart areas. For example, during peak hours, the peak changes in traffic flow can be seen through the line chart, the downward trend of air quality can be seen through the heat map, and the increase in energy consumption can be seen through the pie chart. Through such a fusion display, managers can intuitively see the relationship between traffic flow, air quality and energy consumption, and thus take corresponding management measures, such as adjusting the signal light time, adding bus routes, and promoting energy-saving equipment.
[0120] The embodiment of the present invention also provides a smart city operation decision-making system based on big data and AI big model, such as Figure 2 As shown in the figure, a smart city operation decision-making system based on big data and AI big model specifically includes:
[0121] An input module 201 is used to input the acquired multi-source data set into a generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data, and energy consumption data;
[0122] A fusion module 202 is used to input the target data set into a Bayesian network for data fusion to obtain fused data;
[0123] An analysis module 203 is used to input the fusion data into a proximal strategy optimization algorithm to perform decision strategy analysis to obtain multiple decision strategy data sets;
[0124] The optimization module 204 is used to input the multiple decision strategy data sets into a multi-objective optimization algorithm to perform strategy optimization, obtain multiple optimization strategy data sets, and generate a city operation plan according to the multiple optimization strategy data sets;
[0125] The display module 205 is used to construct a visual chart for the city operation plan, obtain visual chart data, and transmit the visual chart data to a preset data display terminal.
[0126] Through the collaborative work of the above modules, the acquired multi-source data sets are input into the generative adversarial network (GAN) for data enhancement, which solves the problem of insufficient data quality and representativeness in the existing technology. The generative adversarial network generates high-quality enhanced data sets, including traffic flow data, environmental monitoring data and energy consumption data, through adversarial training of the generator and the discriminator. By inputting the target data set into the Bayesian network for data fusion, the problem of insufficient data fusion depth and accuracy in the existing technology is further solved. The Bayesian network defines nodes and edges, establishes mapping relationships and conditional probability distributions between variables, and realizes the deep fusion of multi-source data. By calculating the posterior probability of each node, the Bayesian network can reveal the complex associations between different data sources and generate comprehensive fusion data. In the decision strategy analysis stage, by inputting the fused data into the proximal policy optimization algorithm (PPO), the problem of insufficient intelligence and accuracy of decision strategies in the existing technology is effectively solved. The PPO algorithm combines the policy network and the value network to perform regional division, time series analysis, state information extraction and action probability distribution calculation to generate multiple optimized decision strategy data sets. In order to further optimize the decision strategy data set, multiple decision strategy data sets are input into the multi-objective optimization algorithm to optimize the strategy and generate the urban operation plan, which effectively solves the problem of insufficient comprehensiveness and balance of the optimization results in the existing technology. The multi-objective optimization algorithm generates multiple optimization strategy data sets through the steps of strategy feature extraction, optimization target matching, feature encoding and iterative optimization. Through population individual construction and fitness evaluation, the algorithm can find the best balance between different optimization targets and generate a comprehensive optimized urban operation plan. Finally, by constructing a visual chart of the urban operation plan, the complex operation data is converted into an intuitive and easy-to-understand chart display, which effectively solves the problem of insufficient visualization effect and interactivity in the existing technology. Through data classification, chart construction and chart fusion, the generated visualization chart data can not only fully display the operation status of the city, but also has high real-time and interactivity. By transmitting the visualization chart data to the preset data display terminal, managers and relevant personnel can intuitively understand and analyze the urban operation situation and make scientific and timely decisions.
[0127] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the embodiments, a person skilled in the art should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A smart city operation decision-making method based on big data and AI big model, It is characterized in that include: Inputting the acquired multi-source data set into a generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data, and energy consumption data; Inputting the target data set into the Bayesian network for data fusion to obtain fused data, specifically including: performing mapping relationship analysis on the traffic flow data, the environmental monitoring data and the energy consumption data to obtain mapping relationship data; inputting the mapping relationship data and the target data set into the Bayesian network for network node definition to obtain multiple nodes, wherein each node represents a variable, and the variables include traffic flow, air quality index and energy consumption; defining node connection edges for the multiple nodes through the mapping relationship data to obtain edges between every two nodes; constructing a Bayesian network node graph through the multiple nodes and the edges between every two nodes, and performing conditional probability distribution calculation on each node of the Bayesian network node graph to obtain conditional probability distribution data of each node; based on the conditional probability distribution data of each node, performing information propagation on the Bayesian network node graph and calculating the posterior probability of each node to obtain the posterior probability data of each node; performing variable data fusion on the multiple nodes through the posterior probability data of each node to obtain the fused data; Input the fused data into the proximal strategy optimization algorithm for decision strategy analysis to obtain multiple decision strategy data sets. The proximal strategy optimization algorithm includes: a strategy network and a value network. The step of inputting the fused data into the proximal strategy optimization algorithm for decision strategy analysis to obtain multiple decision strategy data sets includes: dividing the fused data into regions to obtain sub-fusion data of multiple regions; performing time series analysis on the sub-fusion data of each region respectively to obtain time series fusion data corresponding to each sub-fusion data; extracting state information of each time series fusion data to obtain state information of each time series fusion data; inputting the state information of each time series fusion data into the strategy network for action probability distribution calculation to obtain action probability distribution data corresponding to each time series fusion data; inputting the state information of each time series fusion data into the value network for state value calculation to obtain state value data corresponding to each time series fusion data; performing decision strategy analysis according to the action probability distribution data corresponding to each time series fusion data and the state value data corresponding to each time series fusion data to obtain multiple decision strategy data sets; Inputting the multiple decision strategy data sets into a multi-objective optimization algorithm for strategy optimization to obtain multiple optimization strategy data sets, and generating a city operation plan based on the multiple optimization strategy data sets; Constructing a visual chart of the city operation plan to obtain visual chart data, and transmitting the visual chart data to a preset data display terminal; The step of inputting the multiple decision strategy data sets into a multi-objective optimization algorithm for strategy optimization to obtain multiple optimization strategy data sets, and generating a city operation plan according to the multiple optimization strategy data sets includes: Extracting strategy features from each decision strategy data set to obtain a strategy feature set for each decision strategy data set; Inputting the strategy feature set of each decision strategy data set into the multi-objective optimization algorithm for optimization target matching to obtain an optimization target set, wherein the optimization target set includes: traffic flow optimization target, environmental quality optimization target and energy efficiency optimization target; Performing optimization variable matching on the optimization target set to obtain an optimization variable set; Based on the optimization variable set, feature encoding is performed on the strategy feature set of each decision strategy data set by using the multi-objective optimization algorithm to obtain the encoded feature set of each decision strategy data set; According to the multi-objective optimization algorithm, the coded feature set of each decision strategy data set is iteratively optimized to obtain multiple optimized strategy data sets, and a city operation plan is generated according to the multiple optimized strategy data sets; The step of iteratively optimizing the coding feature set of each decision strategy data set according to the multi-objective optimization algorithm to obtain multiple optimized strategy data sets, and generating a city operation plan according to the multiple optimized strategy data sets includes: According to the multi-objective optimization algorithm, a population individual is constructed for the coded feature set of each decision strategy data set to obtain a population individual corresponding to each decision strategy data set; Based on the optimization target set, the fitness of the population individuals corresponding to each decision strategy data set is evaluated to obtain the fitness value corresponding to each decision strategy data set; Through the fitness value corresponding to each decision strategy data set, the population individuals corresponding to each decision strategy data set are screened to obtain multiple excellent individuals; Perform individual crossover on multiple excellent individuals to obtain multiple crossover individuals; Performing individual mutation on the multiple crossover individuals to obtain multiple mutant individuals; Screening the multiple variant individuals for target equilibrium solutions to obtain multiple target individuals having target equilibrium solutions; A plurality of target individuals having target equilibrium solutions are mapped to the plurality of optimization strategy data sets, and an urban operation plan is generated according to the plurality of optimization strategy data sets.
2. According to the smart city operation decision-making method based on big data and AI big model according to claim 1, It is characterized in that The generative adversarial network includes: a generator and a discriminator. The step of inputting the acquired multi-source data set into the generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data and energy consumption data, includes: Inputting the acquired multi-source data set into the input layer of the generator to extract the noise vector, thereby obtaining the noise vector; Inputting the noise vector into the hidden layer of the generator to extract noise features, thereby obtaining a noise feature set; Inputting the noise feature set into the output layer of the generator for data enhancement to obtain an enhanced data set; Inputting the enhanced data set into the input layer of the discriminator to perform data format conversion to obtain a converted data set; Inputting the transformed data set into the hidden layer of the discriminator for feature extraction to obtain an enhanced feature set; Inputting the enhanced feature set into the output layer of the discriminator to perform scalar probability analysis to obtain a scalar probability value; The scalar probability value is analyzed, and when the scalar probability value meets a preset threshold interval, the target data set is output, wherein the target data set includes traffic flow data, environmental monitoring data, and energy consumption data.
3. According to the smart city operation decision-making method based on big data and AI big model according to claim 2, It is characterized in that The step of constructing a visual chart of the city operation plan to obtain visual chart data, and transmitting the visual chart data to a preset data display terminal includes: Classifying the urban operation plan to obtain multiple groups of classified sub-data; Construct a display chart for each group of classified sub-data to obtain multiple sub-display charts; The plurality of sub-display charts are fused to obtain the visualized chart data, and the visualized chart data is transmitted to a preset data display terminal.
4. A smart city operation decision system based on big data and AI big model, used to execute the smart city operation decision method based on big data and AI big model as described in any one of claims 1 to 3, It is characterized in that include: An input module is used to input the acquired multi-source data set into the generative adversarial network for data enhancement to obtain a target data set, wherein the target data set includes traffic flow data, environmental monitoring data, and energy consumption data; A fusion module is used to input the target data set into a Bayesian network for data fusion to obtain fused data, which specifically includes: performing mapping relationship analysis on the traffic flow data, the environmental monitoring data and the energy consumption data to obtain mapping relationship data; inputting the mapping relationship data and the target data set into the Bayesian network to define network nodes to obtain multiple nodes, wherein each node represents a variable, and the variables include traffic flow, air quality index and energy consumption; defining node connection edges for the multiple nodes through the mapping relationship data to obtain edges between every two nodes; constructing a Bayesian network node graph through the multiple nodes and the edges between every two nodes, and performing conditional probability distribution calculation on each node of the Bayesian network node graph to obtain conditional probability distribution data of each node; based on the conditional probability distribution data of each node, performing information propagation on the Bayesian network node graph and calculating the posterior probability of each node to obtain the posterior probability data of each node; performing variable data fusion on the multiple nodes through the posterior probability data of each node to obtain the fused data; An analysis module is used to input the fused data into a proximal strategy optimization algorithm for decision strategy analysis to obtain multiple decision strategy data sets. The proximal strategy optimization algorithm includes: a strategy network and a value network. The step of inputting the fused data into the proximal strategy optimization algorithm for decision strategy analysis to obtain multiple decision strategy data sets includes: dividing the fused data into regions to obtain sub-fusion data of multiple regions; performing time series analysis on the sub-fusion data of each region respectively to obtain time series fusion data corresponding to each sub-fusion data; extracting state information of each time series fusion data to obtain state information of each time series fusion data; inputting the state information of each time series fusion data into the strategy network for action probability distribution calculation to obtain action probability distribution data corresponding to each time series fusion data; inputting the state information of each time series fusion data into the value network for state value calculation to obtain state value data corresponding to each time series fusion data; performing decision strategy analysis according to the action probability distribution data corresponding to each time series fusion data and the state value data corresponding to each time series fusion data to obtain multiple decision strategy data sets; An optimization module, used for inputting the multiple decision strategy data sets into a multi-objective optimization algorithm for strategy optimization, obtaining multiple optimization strategy data sets, and generating a city operation plan according to the multiple optimization strategy data sets; A display module, used to construct a visual chart of the city operation plan, obtain visual chart data, and transmit the visual chart data to a preset data display terminal; The step of inputting the multiple decision strategy data sets into a multi-objective optimization algorithm for strategy optimization to obtain multiple optimization strategy data sets, and generating a city operation plan according to the multiple optimization strategy data sets includes: Extracting strategy features from each decision strategy data set to obtain a strategy feature set for each decision strategy data set; Inputting the strategy feature set of each decision strategy data set into the multi-objective optimization algorithm for optimization target matching to obtain an optimization target set, wherein the optimization target set includes: traffic flow optimization target, environmental quality optimization target and energy efficiency optimization target; Performing optimization variable matching on the optimization target set to obtain an optimization variable set; Based on the optimization variable set, feature encoding is performed on the strategy feature set of each decision strategy data set by using the multi-objective optimization algorithm to obtain the encoded feature set of each decision strategy data set; According to the multi-objective optimization algorithm, the coded feature set of each decision strategy data set is iteratively optimized to obtain multiple optimized strategy data sets, and a city operation plan is generated according to the multiple optimized strategy data sets; The step of iteratively optimizing the coding feature set of each decision strategy data set according to the multi-objective optimization algorithm to obtain multiple optimized strategy data sets, and generating a city operation plan according to the multiple optimized strategy data sets includes: According to the multi-objective optimization algorithm, a population individual is constructed for the coded feature set of each decision strategy data set to obtain a population individual corresponding to each decision strategy data set; Based on the optimization target set, the fitness of the population individuals corresponding to each decision strategy data set is evaluated to obtain the fitness value corresponding to each decision strategy data set; Through the fitness value corresponding to each decision strategy data set, the population individuals corresponding to each decision strategy data set are screened to obtain multiple excellent individuals; Perform individual crossover on multiple excellent individuals to obtain multiple crossover individuals; Performing individual mutation on the multiple crossover individuals to obtain multiple mutant individuals; Screening the multiple variant individuals for target equilibrium solutions to obtain multiple target individuals having target equilibrium solutions; A plurality of target individuals having target equilibrium solutions are mapped to the plurality of optimization strategy data sets, and an urban operation plan is generated according to the plurality of optimization strategy data sets.
