A multi-source data visualization analysis method and system based on smart city

By acquiring and integrating multi-source data in smart cities, we can build characteristic portraits and decision-making models, solve the problem of multi-source data interoperability, and achieve coordinated development and improvement of public services between cities.

CN117436724BActive Publication Date: 2024-08-27ZHONGKE ADVANCED TECH RES CENT (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311462515.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-06
Publication Date
2024-08-27
Estimated Expiration
2043-11-06

AI Technical Summary

Technical Problem

In the construction of smart cities, how to effectively conduct visual analysis of multi-source interoperable data between cities and achieve data integration and collaborative development.

Method used

By obtaining the urban layout data of the target city for regional division, extracting global multi-source data and local multi-source data for data fusion, using characteristic portraits to match collaborative cities, building an urban service decision-making model, conducting multi-dimensional evaluation and decision-making analysis, and through information visualization Handle updates and warning mechanisms.

Benefits of technology

It realizes data interoperability and sharing, provides auxiliary decision-making, improves the informatization level and role of smart city public services, and promotes coordinated development between cities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117436724B
    Figure CN117436724B
Patent Text Reader

Abstract

The present invention discloses a multi-source data visualization analysis method and system based on smart city, including: obtaining the urban layout data of the target city for regional division, extracting global multi-source data and local multi-source data for data fusion; extracting characteristic portraits of different urban service scenarios, matching cooperative cities for the target city, extracting urban service data corresponding to the cooperative cities for multi-dimensional evaluation; constructing an urban service decision model, obtaining decision analysis of the current urban service scenario; screening the available data of the current scenario according to the decision analysis, updating data for urban service decision through data sharing, and processing service data and early warning information through information visualization. The present invention provides a data basis for the development of the target city by drawing on the development experience of the collaborative city through data interaction, generates auxiliary decisions for different urban services based on existing experience information, and uses information visualization processing to improve the level and role of informatization of public services in smart cities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart city technology, and more specifically, to a multi-source data visualization analysis method and system based on a smart city. Background Art

[0002] In today's era, urban construction is gradually developing in the direction of modernization and intelligence. Big data and cloud computing technologies have been widely used, further promoting the construction and development of smart cities and providing a good environment for people's daily lives. In the process of smart city construction planning, we combine big data technology and cloud computing technology, draw on the resources of fast-growing cities such as first-tier cities, and promote the comprehensive construction and development of cities. In order to achieve the goals of urban development and rural revitalization, promote the economic development of cities; promote the development of enterprise technology; improve local infrastructure; improve the level of urban economic development, and at the same time create a smart transaction cloud and operation platform to promote local famous and high-quality products.

[0003] As the data foundation for smart city management, the big data management system supports the aggregation and governance of all data for smart city applications, provides real-time and full data for the construction of upper-level smart application systems, builds a smart dual-center system, and systematically connects the collaborative regions with first-tier cities, so that the collaborative regions can leverage first-tier cities in the long term and achieve high-quality development in the collaborative regions. Through the installation and configuration of the dual-center system, the comprehensive status of local development and the overall picture of industrial development can be intelligently displayed in a digital way, industrial data resources can be integrated, industrial capital can be introduced, and local economic development can be promoted. Therefore, how to visualize and analyze multi-source interoperable data between cities in the collaborative development of smart cities is an urgent problem to be solved. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a multi-source data visualization analysis method and system based on smart city.

[0005] A first aspect of the present invention provides a multi-source data visualization analysis method based on a smart city, comprising:

[0006] Acquire urban layout data of a target city, divide the target city into regions according to the urban layout data, extract global multi-source data and local multi-source data of different regions through the regional division results, and fuse the global multi-source data and the local multi-source data;

[0007] Extract characteristic portraits of different urban service scenarios based on multi-source data after data fusion, use the characteristic portraits to match cooperative cities for the target city, extract urban service data corresponding to the cooperative cities, and conduct multi-dimensional evaluation of the urban service data;

[0008] Select urban service data that meets preset standards to generate candidate data sets, build an urban service decision model based on the knowledge graph, and obtain decision analysis for the current scenario based on the candidate data sets;

[0009] Based on decision analysis, available data in the current scenario are screened, structured, and uploaded to the cloud platform through data sharing to update data for urban service decisions. In addition, early warning mechanisms are formulated in different urban service scenarios, and service data and early warning information are processed through information visualization.

[0010] In this solution, the urban layout data of the target city is obtained, and the target city is divided into regions according to the urban layout data, specifically:

[0011] Obtain the current land use data, urban form data and traffic-related data within the preset range of the target city, generate the urban layout data of the target city based on the acquired data, and divide the preset area into grids;

[0012] Normalizing the city layout data, performing data conversion on the normalized city layout data, matching the transformed city layout data with the divided grids by data matching, and generating data labels for the grids;

[0013] Obtaining a neighborhood window of the grid by presetting the neighborhood size, traversing the grids in the preset range of the target city by using the neighborhood window, clustering the grids in the neighborhood window, obtaining neighborhood grids similar to the central grid, and classifying them into the same category;

[0014] When the neighborhood window completes the neighborhood clustering of all grids, the categories corresponding to each grid are clustered again to reduce category redundancy. According to the secondary clustering results, category labels are added to the grid areas of the target city to obtain the regional division results.

[0015] In this solution, global multi-source data and local multi-source data of different regions are extracted through the regional division results, and the global multi-source data and local multi-source data are fused, specifically:

[0016] Obtain the smart city management needs of the target city, use digital twins to obtain the corresponding city service scenarios based on the smart city management needs, and use big data retrieval to obtain the corresponding multi-source data perception indicators based on different smart city management needs;

[0017] Calculate the Pearson correlation coefficient of the multi-source data perception indicators for preliminary screening of the indicators, obtain the normalized mutual information between the multi-source data perception indicators based on the preliminary screening results, and select the multi-source data perception indicators that meet the preset standards as the relevant indicators for smart city management needs;

[0018] According to the relevant indicators corresponding to different smart city management needs, global multi-source data within the preset range of the target city and local multi-source data in the target grid area are obtained through data perception, and data simulation is performed according to the constructed urban service scenario to obtain twin data and perform data enhancement on multi-source data;

[0019] The category label corresponding to the target grid area is obtained, the proportion of the category label is calculated, and the initial weight is obtained according to the proportion. The attention mechanism is introduced to obtain the attention weight of the local multi-source data of the global multi-source data set and combine it with the initial weight of the target grid area to realize data fusion.

[0020] In this solution, feature portraits of different city service scenarios are extracted based on multi-source data after data fusion, and the feature portraits are used to match cooperative cities for the target city, specifically:

[0021] Obtain multi-source data after data fusion corresponding to different grid areas under the current smart city management requirements, perform feature encoding according to the multi-source data, generate corresponding spatiotemporal feature vectors according to data attributes, import the spatiotemporal feature vectors into a multi-layer perceptron, and generate spatiotemporal feature vectors of fixed length;

[0022] The fixed-length spatiotemporal feature vector is imported into the sparse convolutional network for deep feature extraction to characterize the first global feature of the target city;

[0023] At the same time, the self-attention network is used to obtain the self-attention weights of the local features corresponding to the local multi-source data in different grid areas, and the local features are weighted by self-attention to perform feature fusion to construct the second global features of the target city;

[0024] The first global feature and the second global feature are concatenated to obtain feature portraits of the target city in different city service scenarios, a K nearest neighbor classifier is trained based on the feature portraits, and similarity calculation is used to obtain the collaborative city with the highest similarity to the target city under the current smart city management needs.

[0025] In this solution, urban service data that meets the preset standards is selected to generate candidate data sets, specifically:

[0026] Construct search tags according to the current smart city management needs of the target city, perform data search in the corresponding database of the collaborative city, extract the city service data corresponding to the collaborative city, and clean the city service data;

[0027] Obtain the maximum information coefficient between the city service data after data cleaning and the current smart city management needs, construct a maximum information coefficient matrix, screen the city service data that is greater than the preset coefficient threshold, and obtain the initial screening city service data set;

[0028] Obtain evaluation indicators of urban service data through big data retrieval, obtain the importance of the evaluation indicators through fold cross validation and random algorithms, construct several training subsets based on the evaluation indicators, and represent the training subsets through a random forest model;

[0029] The importance of the evaluation indicators is evaluated by the average decrease in accuracy during the training process, and the evaluation indicators whose importance does not meet the preset threshold are deleted. The training subset is updated, and the evaluation indicators in all feature subsets are traversed to obtain the importance ranking;

[0030] A preset number of evaluation indicators are selected to construct an evaluation system for multi-dimensional evaluation of urban service data, and urban service data that meets the preset standards are selected based on the evaluation results to generate candidate data sets.

[0031] In this solution, a city service decision model is constructed based on the knowledge graph, and the decision analysis of the current scenario is obtained according to the candidate data set, specifically:

[0032] Standardize the smart city data of the collaborative city to build a relevant knowledge graph, classify the relationships of multi-source city service data corresponding to different smart city management needs based on the knowledge graph, and build a city service decision model by learning the representation of the knowledge graph through a graph convolutional network;

[0033] Locate and obtain the target node in the knowledge graph according to the candidate data set, determine the importance of the target node according to the centrality of the target node, generate an initial weight using the importance, and obtain the neighbor nodes of the target node;

[0034] The self-attention mechanism is introduced to obtain the self-attention weight of the node, and the initial weight of the target node is updated by weighted aggregation of neighbor nodes combined with the self-attention weight;

[0035] Random walk is performed with the target node as the sampling starting point. The meta-path containing the target node is obtained according to the relationship path. The target nodes contained in different meta-paths are sorted by the sum of their initial weights. The decision analysis of the current smart city management needs of the target city is obtained according to the corresponding entity nodes in the meta-path with the highest sum of initial weights.

[0036] The second aspect of the present invention further provides a multi-source data visualization analysis system based on a smart city, the system comprising: a memory, a processor, the memory comprising a multi-source data visualization analysis method program based on a smart city, the multi-source data visualization analysis method program based on a smart city when executed by the processor implements the following steps:

[0037] Acquire urban layout data of a target city, divide the target city into regions according to the urban layout data, extract global multi-source data and local multi-source data of different regions through the regional division results, and fuse the global multi-source data and the local multi-source data;

[0038] Extract characteristic portraits of different urban service scenarios based on multi-source data after data fusion, use the characteristic portraits to match cooperative cities for the target city, extract urban service data corresponding to the cooperative cities, and conduct multi-dimensional evaluation of the urban service data;

[0039] Select urban service data that meets preset standards to generate candidate data sets, build an urban service decision model based on the knowledge graph, and obtain decision analysis for the current scenario based on the candidate data sets;

[0040] Based on decision analysis, available data in the current scenario are screened, structured, and uploaded to the cloud platform through data sharing to update data for urban service decisions. In addition, early warning mechanisms are formulated in different urban service scenarios, and service data and early warning information are processed through information visualization.

[0041] The present invention discloses a multi-source data visualization analysis method and system based on smart city, including: obtaining the urban layout data of the target city for regional division, extracting global multi-source data and local multi-source data for data fusion; extracting characteristic portraits of different urban service scenarios, matching cooperative cities for the target city, extracting urban service data corresponding to the cooperative cities for multi-dimensional evaluation; constructing an urban service decision model, obtaining decision analysis of the current urban service scenario; screening the available data of the current scenario according to the decision analysis, updating data for urban service decision through data sharing, and processing service data and early warning information through information visualization. The present invention provides a data basis for the development of the target city by drawing on the development experience of the collaborative city through data interaction, generates auxiliary decisions for different urban services based on existing experience information, and uses information visualization processing to improve the level and role of informatization of public services in smart cities. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A flow chart of a multi-source data visualization analysis method based on smart city of the present invention is shown;

[0043] Figure 2 A flow chart showing the present invention using feature portraits to match a target city with a cooperative city;

[0044] Figure 3 The flow chart of constructing the city service decision model and generating decision analysis according to the present invention is shown;

[0045] Figure 4A block diagram of a multi-source data visualization analysis system based on a smart city of the present invention is shown. DETAILED DESCRIPTION

[0046] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0047] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0048] Figure 1 A flow chart of the multi-source data visualization analysis method based on smart city of the present invention is shown.

[0049] like Figure 1 As shown, the first aspect of the present invention provides a multi-source data visualization analysis method based on a smart city, comprising:

[0050] S102, obtaining urban layout data of a target city, dividing the target city into regions according to the urban layout data, extracting global multi-source data and local multi-source data of different regions based on the regional division results, and fusing the global multi-source data and the local multi-source data;

[0051] S104, extracting characteristic portraits of different city service scenarios based on the multi-source data after data fusion, matching the target city with cooperative cities by using the characteristic portraits, extracting city service data corresponding to the cooperative cities, and performing multi-dimensional evaluation on the city service data;

[0052] S106, selecting city service data that meets preset standards to generate a candidate data set, building a city service decision model based on the knowledge graph, and obtaining a decision analysis of the current scenario based on the candidate data set;

[0053] S108, based on decision analysis, filter the available data in the current scenario, structure the available data, upload it to the cloud platform through data sharing to update the data for urban service decision-making, and formulate early warning mechanisms in different urban service scenarios, and process the service data and early warning information through information visualization.

[0054] It should be noted that the current land use data, urban morphology data and traffic-related data within the preset range of the target city are obtained, the urban layout data of the target city is generated according to the obtained data, and the preset area is divided into grids; the urban layout data is normalized, and the normalized urban layout data is transformed using methods such as unique hot encoding and level mapping, and the transformed urban layout data is matched with the divided grids using data matching to generate data labels for the grids; a neighborhood window of the grid is obtained by a preset neighborhood size such as 3×3 or 5×5, the grids within the preset range of the target city are traversed using the neighborhood window, grid clustering is performed in the neighborhood window, neighborhood grids similar to the central grid are obtained, and the neighborhood grids and the central grid are classified into the same category, and when the neighborhood window completes the neighborhood clustering of all grids, the category corresponding to each grid is secondary clustered, similar categories are classified into the same category, and category redundancy is reduced, and category labels are added to the grid area of ​​the target city according to the secondary clustering result to obtain the regional division result.

[0055] Figure 2 A flow chart of the present invention for matching a target city with a cooperative city using feature portraits is shown.

[0056] According to an embodiment of the present invention, feature portraits of different city service scenarios are extracted based on multi-source data after data fusion, and the feature portraits are used to match cooperative cities for the target city, specifically:

[0057] S202, obtaining multi-source data corresponding to different grid areas under the current smart city management requirements after data fusion, performing feature encoding according to the multi-source data, generating corresponding spatiotemporal feature vectors according to data attributes, and importing the spatiotemporal feature vectors into a multi-layer perceptron to generate spatiotemporal feature vectors of fixed length;

[0058] S204, importing the spatiotemporal feature vector of a fixed length into a sparse convolutional network for deep feature extraction to characterize the first global feature of the target city;

[0059] S206, at the same time, using the self-attention network to obtain the self-attention weights of the local features corresponding to the local multi-source data in different grid areas, and perform self-attention weighting on the local features to perform feature fusion to construct the second global features of the target city;

[0060] S208, concatenating the first global feature and the second global feature to obtain a feature portrait of the target city in different city service scenarios, training a K nearest neighbor classifier based on the feature portrait, and using similarity calculation to obtain a collaborative city with the highest similarity to the target city under the current smart city management needs.

[0061] It should be noted that the smart city management needs such as traffic, urban management, government affairs, emergency, and environmental pollution monitoring of the target city are obtained, and the corresponding urban service scenarios are obtained by using digital twins according to the smart city management needs, such as real-time detection of urban traffic conditions, collection of various data information to grasp the traffic conditions in various areas and time periods, and flexible adjustment of traffic lights. The corresponding multi-source data perception indicators are obtained by big data retrieval according to different smart city management needs; the Pearson correlation coefficient of the multi-source data perception indicators is calculated for preliminary screening of indicators, and the normalized mutual information between the multi-source data perception indicators is obtained according to the preliminary screening results of the indicators, and the multi-source data perception indicators that meet the preset standards are selected as the relevant indicators of smart city management needs; according to the relevant indicators corresponding to different smart city management needs, the global multi-source data within the preset range of the target city and the local multi-source data of the target grid area are obtained through data perception, and data simulation is performed according to the constructed urban service scenarios to obtain twin data, and data enhancement of multi-source data is performed; the category labels corresponding to the target grid area are obtained, the proportion of the category labels is calculated, and the initial weight is obtained according to the proportion, and the attention mechanism is introduced to obtain the attention weight of the local multi-source data in the global multi-source data set and the initial weight of the target grid area is combined to realize data fusion.

[0062] By performing feature encoding on the multi-source data, the spatial and temporal associations of the multi-source data are obtained, and the data attributes and data attributes are encoded into new feature vectors, which provides rich information for the subsequent sparse convolutional network. Adding residual connections in the sparse convolutional network improves the feature extraction capability, and improves the network accuracy by increasing the network depth, accelerating the network convergence speed and fully mining the deep-level semantic features. The input data is subjected to feature extraction through a sparse convolutional layer, and the features are sent to the stacked residual modules after downsampling. The outputs of the modules are then used as the inputs of the next module. The outputs of the residual modules are channel-fused to obtain the first global feature representing the target city.

[0063] Figure 3 The flowchart of the present invention for constructing a city service decision model to generate a decision analysis is shown.

[0064] According to an embodiment of the present invention, a city service decision model is constructed based on a knowledge graph, and a decision analysis of the current scenario is obtained according to the candidate data set, specifically:

[0065] S302, constructing a relevant knowledge graph based on the standardized processing of the smart city data of the collaborative city, classifying the relationships of multi-source city service data corresponding to different smart city management needs based on the knowledge graph, and constructing a city service decision model by performing representation learning on the knowledge graph through a graph convolutional network;

[0066] S304, locating and acquiring a target node in the knowledge graph according to the candidate data set, determining the importance of the target node according to the centrality of the target node, generating an initial weight using the importance, and acquiring neighbor nodes of the target node;

[0067] S308, introduce a self-attention mechanism to obtain the self-attention weight of the node, and update the initial weight of the target node by weighted aggregation through neighbor nodes combined with the self-attention weight;

[0068] S310, taking the target node as the sampling starting point for random walk, obtaining a meta-path including the target node according to the relationship path, sorting the target nodes included in different meta-paths by the sum of their initial weights, and obtaining a decision analysis of the current smart city management needs of the target city according to the corresponding entity nodes in the meta-path with the highest sum of initial weights;

[0069] It should be noted that, according to the current smart city management needs of the target city, a search tag is constructed, data is searched in the corresponding database of the collaborative city, the urban service data corresponding to the collaborative city is extracted, and the urban service data is cleaned; the maximum information coefficient between the urban service data after data cleaning and the current smart city management needs is obtained, and a maximum information coefficient matrix is ​​constructed, and urban service data greater than a preset coefficient threshold is screened to obtain a preliminary screening urban service data set; the maximum information coefficient is a data analysis based on mutual information. The higher the similarity of two random variables, the greater the mutual information. The mutual information can be obtained by calculating the relative entropy through the joint distribution and marginal distribution of the random variables. The values ​​are divided into and In the grid, get The grid mesh division falls on The frequency of the data points in the grid is taken as the joint distribution , falling in The frequency of the data points of the row as the marginal distribution , falling in The frequency of the data points of the column as the marginal distribution , traversing different The grid is divided, and the maximum value of the mutual information is obtained as the maximum information coefficient. The calculation formula of the maximum information coefficient is:

[0070] ;

[0071] in, is a random variable The maximum information coefficient of and is the number of grid divisions, is the upper limit of the number of grid networks, is a random variable The mutual information of

[0072] The evaluation index of urban service data is obtained through big data retrieval, the importance of the evaluation index is obtained through cross-validation and random algorithm, several training subsets are constructed according to the evaluation index, and the training subsets are represented by random forest model; the importance of the evaluation index is evaluated by the average decrease in accuracy during the training process, the evaluation index whose importance does not meet the preset threshold is deleted, the training subset is updated, and the evaluation index in all feature subsets is traversed to obtain the importance ranking; a preset number of evaluation indicators are selected to construct an evaluation system for multi-dimensional evaluation of urban service data, and urban service data that meets the preset standards are selected according to the evaluation results to generate a candidate data set;

[0073] According to decision analysis, available data from multi-source data corresponding to the current scenario is screened, the available data is structured, and uploaded to the cloud platform through data sharing to update data for urban service decision-making, and early warning mechanisms are formulated in different urban service scenarios, such as pollution monitoring early warning, urban road congestion early warning, etc., and service data and early warning information are processed by using visual factors such as patterns and colors. In addition, the target city can obtain the resources of the cooperative city through data sharing, open to enterprises and parks, and users such as enterprises and parks can carry out publicity and promotion. The product characteristics are obtained according to the information of the products to be sold in the target city, and the product related information is obtained in the collaborative city database through the product characteristics. The bipartite graph of the product and the customer is obtained according to the multi-source information of the product. The implicit relationship of the interaction between the customer and the product is extracted by using the bipartite graph through the city service decision model, and the neighborhood characteristic information with weights of the product nodes and the customer nodes is obtained, and the customer node embedding representation and the product node embedding representation in different implicit relationships are generated; the customer node embedding representation and the product node embedding representation are used to perform inner product calculation to generate scoring information, and the customer's product information of interest is obtained. The market forecast information is generated according to the product information of interest, and the product characteristics of the market forecast information and the product information of the products to be sold are analyzed for similarity to obtain the product deviation, and the optimization direction of the products to be sold is obtained according to the product deviation, such as deep processing of agricultural and sideline products as food.

[0074] Figure 4 A block diagram of a multi-source data visualization analysis system based on a smart city of the present invention is shown.

[0075] The second aspect of the present invention further provides a multi-source data visualization analysis system 4 based on a smart city, the system comprising: a memory 41, a processor 42, the memory comprising a multi-source data visualization analysis method program based on a smart city, the multi-source data visualization analysis method program based on a smart city when executed by the processor implements the following steps:

[0076] Acquire urban layout data of a target city, divide the target city into regions according to the urban layout data, extract global multi-source data and local multi-source data of different regions through the regional division results, and fuse the global multi-source data and the local multi-source data;

[0077] Extract characteristic portraits of different urban service scenarios based on multi-source data after data fusion, use the characteristic portraits to match cooperative cities for the target city, extract urban service data corresponding to the cooperative cities, and conduct multi-dimensional evaluation of the urban service data;

[0078] Select urban service data that meets preset standards to generate candidate data sets, build an urban service decision model based on the knowledge graph, and obtain decision analysis for the current scenario based on the candidate data sets;

[0079] Based on decision analysis, available data in the current scenario are screened, structured, and uploaded to the cloud platform through data sharing to update data for urban service decisions. In addition, early warning mechanisms are formulated in different urban service scenarios, and service data and early warning information are processed through information visualization.

[0080] According to an embodiment of the present invention, feature portraits of different city service scenarios are extracted based on multi-source data after data fusion, and the feature portraits are used to match cooperative cities for the target city, specifically:

[0081] Obtain multi-source data after data fusion corresponding to different grid areas under the current smart city management requirements, perform feature encoding according to the multi-source data, generate corresponding spatiotemporal feature vectors according to data attributes, import the spatiotemporal feature vectors into a multi-layer perceptron, and generate spatiotemporal feature vectors of fixed length;

[0082] The fixed-length spatiotemporal feature vector is imported into the sparse convolutional network for deep feature extraction to characterize the first global feature of the target city;

[0083] At the same time, the self-attention network is used to obtain the self-attention weights of the local features corresponding to the local multi-source data in different grid areas, and the local features are weighted by self-attention to perform feature fusion to construct the second global features of the target city;

[0084] The first global feature and the second global feature are concatenated to obtain feature portraits of the target city in different city service scenarios, a K nearest neighbor classifier is trained based on the feature portraits, and similarity calculation is used to obtain the collaborative city with the highest similarity to the target city under the current smart city management needs.

[0085] It should be noted that the smart city management needs such as traffic, urban management, government affairs, emergency, and environmental pollution monitoring of the target city are obtained, and the corresponding urban service scenarios are obtained by using digital twins according to the smart city management needs, such as real-time detection of urban traffic conditions, collection of various data information to grasp the traffic conditions in various areas and time periods, and flexible adjustment of traffic lights. The corresponding multi-source data perception indicators are obtained by big data retrieval according to different smart city management needs; the Pearson correlation coefficient of the multi-source data perception indicators is calculated for preliminary screening of indicators, and the normalized mutual information between the multi-source data perception indicators is obtained according to the preliminary screening results of the indicators, and the multi-source data perception indicators that meet the preset standards are selected as the relevant indicators of smart city management needs; according to the relevant indicators corresponding to different smart city management needs, the global multi-source data within the preset range of the target city and the local multi-source data of the target grid area are obtained through data perception, and data simulation is performed according to the constructed urban service scenarios to obtain twin data, and data enhancement of multi-source data is performed; the category labels corresponding to the target grid area are obtained, the proportion of the category labels is calculated, and the initial weight is obtained according to the proportion, and the attention mechanism is introduced to obtain the attention weight of the local multi-source data in the global multi-source data set and the initial weight of the target grid area is combined to realize data fusion.

[0086] By performing feature encoding on the multi-source data, the spatial and temporal associations of the multi-source data are obtained, and the data attributes and data attributes are encoded into new feature vectors, which provides rich information for the subsequent sparse convolutional network. Adding residual connections in the sparse convolutional network improves the feature extraction capability, and improves the network accuracy by increasing the network depth, accelerating the network convergence speed and fully mining the deep-level semantic features. The input data is subjected to feature extraction through a sparse convolutional layer, and the features are sent to the stacked residual modules after downsampling. The outputs of the modules are then used as the inputs of the next module. The outputs of the residual modules are channel-fused to obtain the first global feature representing the target city.

[0087] According to an embodiment of the present invention, a city service decision model is constructed based on a knowledge graph, and a decision analysis of the current scenario is obtained according to the candidate data set, specifically:

[0088] Standardize the smart city data of the collaborative city to build a relevant knowledge graph, classify the relationships of multi-source city service data corresponding to different smart city management needs based on the knowledge graph, and build a city service decision model by learning the representation of the knowledge graph through a graph convolutional network;

[0089] Locate and obtain the target node in the knowledge graph according to the candidate data set, determine the importance of the target node according to the centrality of the target node, generate an initial weight using the importance, and obtain the neighbor nodes of the target node;

[0090] The self-attention mechanism is introduced to obtain the self-attention weight of the node, and the initial weight of the target node is updated by weighted aggregation of neighbor nodes combined with the self-attention weight;

[0091] Random walk is performed with the target node as the sampling starting point. The meta-path containing the target node is obtained according to the relationship path. The target nodes contained in different meta-paths are sorted by the sum of their initial weights. The decision analysis of the current smart city management needs of the target city is obtained according to the corresponding entity nodes in the meta-path with the highest sum of initial weights.

[0092] It should be noted that, according to the current smart city management needs of the target city, a search tag is constructed, data is searched in the corresponding database of the collaborative city, the urban service data corresponding to the collaborative city is extracted, and the urban service data is cleaned; the maximum information coefficient between the urban service data after data cleaning and the current smart city management needs is obtained, and a maximum information coefficient matrix is ​​constructed, and urban service data greater than a preset coefficient threshold is screened to obtain a preliminary screening urban service data set; the maximum information coefficient is a data analysis based on mutual information. The higher the similarity of two random variables, the greater the mutual information. The mutual information can be obtained by calculating the relative entropy through the joint distribution and marginal distribution of the random variables. The values ​​are divided into and In the grid, get The grid mesh division falls on The frequency of the data points in the grid is taken as the joint distribution , falling in The frequency of the data points of the row as the marginal distribution , falling in The frequency of the data points of the column as the marginal distribution , traversing different The grid is divided, and the maximum value of the mutual information is obtained as the maximum information coefficient. The calculation formula of the maximum information coefficient is:

[0093] ;

[0094] in, is a random variable The maximum information coefficient of and is the number of grid divisions, is the upper limit of the number of grid networks, is a random variable The mutual information of .

[0095] The evaluation index of urban service data is obtained through big data retrieval, the importance of the evaluation index is obtained through fold cross validation and random algorithm, several training subsets are constructed according to the evaluation index, and the training subsets are represented by random forest model; the importance of the evaluation index is evaluated by the average decrease of accuracy during the training process, the evaluation index whose importance does not meet the preset threshold is deleted, the training subset is updated, and the evaluation index in all feature subsets is traversed to obtain the importance ranking; a preset number of evaluation indicators are selected to construct an evaluation system for multi-dimensional evaluation of urban service data, and urban service data that meets the preset standards are selected according to the evaluation results to generate a candidate data set.

[0096] The third aspect of the present invention also provides a computer-readable storage medium, which includes a multi-source data visualization analysis method program based on a smart city. When the multi-source data visualization analysis method program based on a smart city is executed by a processor, the steps of the multi-source data visualization analysis method based on a smart city as described in any one of the above items are implemented.

[0097] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0098] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment;

[0099] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units;

[0100] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0101] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0102] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A multi-source data visualization analysis method for a smart city, characterized in that: The following steps are involved: Acquire urban layout data of a target city, divide the target city into regions according to the urban layout data, extract global multi-source data and local multi-source data of different regions through the regional division results, and fuse the global multi-source data and the local multi-source data; Extract characteristic portraits of different urban service scenarios based on multi-source data after data fusion, use the characteristic portraits to match cooperative cities for the target city, extract urban service data corresponding to the cooperative cities, and conduct multi-dimensional evaluation on the urban service data; Select urban service data that meets preset standards to generate candidate data sets, build an urban service decision model based on the knowledge graph, and obtain decision analysis for the current scenario based on the candidate data sets; Filter available data in the current scenario based on decision analysis, structure the available data, upload it to the cloud platform through data sharing to update data for urban service decision-making, formulate early warning mechanisms in different urban service scenarios, and process service data and early warning information through information visualization; Extract feature portraits of different city service scenarios based on multi-source data after data fusion, and use the feature portraits to match cooperative cities for the target city, specifically: Obtain multi-source data after data fusion corresponding to different grid areas under the current smart city management needs, perform feature encoding according to the multi-source data, generate corresponding spatiotemporal feature vectors according to data attributes, import the spatiotemporal feature vectors into a multi-layer perceptron, and generate spatiotemporal feature vectors of fixed length; The fixed-length spatiotemporal feature vector is imported into the sparse convolutional network for deep feature extraction to characterize the first global feature of the target city; At the same time, the self-attention network is used to obtain the self-attention weights of the local features corresponding to the local multi-source data in different grid areas, and the local features are weighted by self-attention to perform feature fusion to construct the second global features of the target city; The first global feature and the second global feature are concatenated to obtain feature portraits of the target city in different city service scenarios, a K nearest neighbor classifier is trained based on the feature portraits, and similarity calculation is used to obtain the collaborative city with the highest similarity to the target city under the current smart city management requirements; A city service decision model is constructed based on the knowledge graph, and a decision analysis of the current scenario is obtained according to the candidate data set, specifically: Standardize the smart city data of the collaborative city to build a relevant knowledge graph, classify the relationships of multi-source city service data corresponding to different smart city management needs based on the knowledge graph, and build a city service decision model by learning the representation of the knowledge graph through a graph convolutional network; Locate and obtain the target node in the knowledge graph according to the candidate data set, determine the importance of the target node according to the centrality of the target node, generate an initial weight using the importance, and obtain the neighbor nodes of the target node; The self-attention mechanism is introduced to obtain the self-attention weight of the node, and the initial weight of the target node is updated by weighted aggregation of neighbor nodes combined with the self-attention weight; Random walk is performed with the target node as the sampling starting point. The meta-path containing the target node is obtained according to the relationship path. The target nodes contained in different meta-paths are sorted by the sum of their initial weights. The decision analysis of the current smart city management needs of the target city is obtained according to the corresponding entity nodes in the meta-path with the highest sum of initial weights.

2. According to claim 1, a method for visualizing and analyzing multi-source data of a smart city is characterized in that: Obtain the city layout data of the target city, and divide the target city into regions according to the city layout data, specifically: Obtain the current land use data, urban form data and traffic-related data within the preset range of the target city, generate the urban layout data of the target city based on the acquired data, and divide the preset area into grids; Normalizing the city layout data, performing data conversion on the normalized city layout data, matching the transformed city layout data with the divided grids by data matching, and generating data labels for the grids; Obtaining a neighborhood window of the grid by presetting the neighborhood size, traversing the grids in the preset range of the target city by using the neighborhood window, clustering the grids in the neighborhood window, obtaining neighborhood grids similar to the central grid, and classifying them into the same category; When the neighborhood window completes the neighborhood clustering of all grids, the categories corresponding to each grid are clustered again to reduce category redundancy. According to the secondary clustering results, category labels are added to the grid areas of the target city to obtain the regional division results.

3. The multi-source data visualization analysis method for a smart city according to claim 1 is characterized in that: The global multi-source data and the local multi-source data of different regions are extracted through the regional division results, and the global multi-source data and the local multi-source data are fused, specifically: Obtain the smart city management needs of the target city, use digital twins to obtain the corresponding city service scenarios based on the smart city management needs, and use big data retrieval to obtain the corresponding multi-source data perception indicators based on different smart city management needs; Calculate the Pearson correlation coefficient of the multi-source data perception indicators for preliminary screening of the indicators, obtain the normalized mutual information between the multi-source data perception indicators based on the preliminary screening results, and select the multi-source data perception indicators that meet the preset standards as the relevant indicators for smart city management needs; According to the relevant indicators corresponding to different smart city management needs, global multi-source data within the preset range of the target city and local multi-source data in the target grid area are obtained through data perception, and data simulation is performed according to the constructed urban service scenario to obtain twin data and perform data enhancement on multi-source data; The category label corresponding to the target grid area is obtained, the proportion of the category label is calculated, the initial weight is obtained according to the proportion, and the attention mechanism is introduced to obtain the attention weights of the global multi-source data and the local multi-source data, combined with the initial weight of the target grid area to realize data fusion.

4. The method for visualizing and analyzing multi-source data of a smart city according to claim 1, characterized in that: Select urban service data that meets the preset standards to generate candidate data sets, specifically: Construct search tags according to the current smart city management needs of the target city, perform data search in the corresponding database of the collaborative city, extract the city service data corresponding to the collaborative city, and clean the city service data; Obtain the maximum information coefficient between the city service data after data cleaning and the current smart city management needs, construct a maximum information coefficient matrix, screen the city service data that is greater than the preset coefficient threshold, and obtain the initial screening city service data set; Obtain evaluation indicators of urban service data through big data retrieval, obtain the importance of the evaluation indicators through fold cross validation and random algorithms, construct several training subsets based on the evaluation indicators, and represent the training subsets through a random forest model; The importance of the evaluation indicators is evaluated by the average decrease in accuracy during the training process, and the evaluation indicators whose importance does not meet the preset threshold are deleted. The training subset is updated, and the evaluation indicators in all feature subsets are traversed to obtain the importance ranking; A preset number of evaluation indicators are selected to construct an evaluation system for multi-dimensional evaluation of urban service data, and urban service data that meets the preset standards are selected based on the evaluation results to generate candidate data sets.

5. A multi-source data visualization analysis system for smart cities, characterized in that: The system includes: a memory and a processor, wherein the memory includes a multi-source data visualization analysis method program for a smart city, and when the multi-source data visualization analysis method program for a smart city is executed by the processor, the following steps are implemented: Acquire urban layout data of a target city, divide the target city into regions according to the urban layout data, extract global multi-source data and local multi-source data of different regions through the regional division results, and fuse the global multi-source data and the local multi-source data; Extract characteristic portraits of different urban service scenarios based on multi-source data after data fusion, use the characteristic portraits to match cooperative cities for the target city, extract urban service data corresponding to the cooperative cities, and conduct multi-dimensional evaluation on the urban service data; Select urban service data that meets preset standards to generate candidate data sets, build an urban service decision model based on the knowledge graph, and obtain decision analysis for the current scenario based on the candidate data sets; Filter available data in the current scenario based on decision analysis, structure the available data, upload it to the cloud platform through data sharing to update data for urban service decision-making, formulate early warning mechanisms in different urban service scenarios, and process service data and early warning information through information visualization; Extract feature portraits of different city service scenarios based on multi-source data after data fusion, and use the feature portraits to match cooperative cities for the target city, specifically: Obtain multi-source data after data fusion corresponding to different grid areas under the current smart city management needs, perform feature encoding according to the multi-source data, generate corresponding spatiotemporal feature vectors according to data attributes, import the spatiotemporal feature vectors into a multi-layer perceptron, and generate spatiotemporal feature vectors of fixed length; The fixed-length spatiotemporal feature vector is imported into the sparse convolutional network for deep feature extraction to characterize the first global feature of the target city; At the same time, the self-attention network is used to obtain the self-attention weights of the local features corresponding to the local multi-source data in different grid areas, and the local features are weighted by self-attention to perform feature fusion to construct the second global features of the target city; The first global feature and the second global feature are concatenated to obtain feature portraits of the target city in different city service scenarios, a K nearest neighbor classifier is trained based on the feature portraits, and similarity calculation is used to obtain the collaborative city with the highest similarity to the target city under the current smart city management requirements; A city service decision model is constructed based on the knowledge graph, and a decision analysis of the current scenario is obtained according to the candidate data set, specifically: Standardize the smart city data of the collaborative city to build a relevant knowledge graph, classify the relationships of multi-source city service data corresponding to different smart city management needs based on the knowledge graph, and build a city service decision model by learning the representation of the knowledge graph through a graph convolutional network; Locate and obtain the target node in the knowledge graph according to the candidate data set, determine the importance of the target node according to the centrality of the target node, generate an initial weight using the importance, and obtain the neighbor nodes of the target node; The self-attention mechanism is introduced to obtain the self-attention weight of the node, and the initial weight of the target node is updated by weighted aggregation of neighbor nodes combined with the self-attention weight; Random walk is performed with the target node as the sampling starting point. The meta-path containing the target node is obtained according to the relationship path. The target nodes contained in different meta-paths are sorted by the sum of their initial weights. The decision analysis of the current smart city management needs of the target city is obtained according to the corresponding entity nodes in the meta-path with the highest sum of initial weights.

6. The multi-source data visualization analysis system for a smart city according to claim 5 is characterized in that: Select urban service data that meets the preset standards to generate candidate data sets, specifically: Construct search tags according to the current smart city management needs of the target city, perform data search in the corresponding database of the collaborative city, extract the city service data corresponding to the collaborative city, and clean the city service data; Obtain the maximum information coefficient between the city service data after data cleaning and the current smart city management needs, construct a maximum information coefficient matrix, screen the city service data that is greater than the preset coefficient threshold, and obtain the initial screening city service data set; Obtain evaluation indicators of urban service data through big data retrieval, obtain the importance of the evaluation indicators through fold cross validation and random algorithms, construct several training subsets based on the evaluation indicators, and represent the training subsets through a random forest model; The importance of the evaluation indicators is evaluated by the average decrease in accuracy during the training process, and the evaluation indicators whose importance does not meet the preset threshold are deleted. The training subset is updated, and the evaluation indicators in all feature subsets are traversed to obtain the importance ranking; A preset number of evaluation indicators are selected to construct an evaluation system for multi-dimensional evaluation of urban service data, and urban service data that meets the preset standards are selected based on the evaluation results to generate candidate data sets.

Citation Information

Patent Citations

  • Smart city data system based on big data

    CN113627783A

  • Deep learning-based short video deduplication method

    CN114973098A

  • Knowledge graph fusion method and system based on urban public facility decision case

    CN115495594A

  • Practice-based digital twin city construction system

    CN115545390A

  • Smart city operation and maintenance management method and system based on artificial intelligence, and storage medium

    CN116758744A