A method of urban construction planning based on big data
Optimizing big data storage and analysis through signature-based lossless compression and adaptive machine learning, combined with urban planning simulation of adversarial generative networks, solves big data management and analysis problems, improves the automation and depth of urban planning, and provides intuitive simulation feedback.
Patent Information
- Application Number
- CN202311479103.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-08
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-11-08
AI Technical Summary
Among the existing urban construction planning methods based on big data, big data storage and management are complex and difficult, affecting efficiency and accuracy. Manual analysis is difficult and accurate, and there is a lack of intuitive image-based urban planning simulation methods.
A signature-based lossless compression method is used to optimize big data storage management, adaptive enhanced machine learning is combined for data analysis and prediction, and an adversarial generative network is used for urban planning simulation, and numerical and image data are combined for collaborative analysis.
It improves the efficiency and accuracy of big data storage and analysis, achieves the degree and depth of automation, provides intuitive urban planning simulation feedback, and promotes the automation and depth of urban planning and construction plans.
Smart Images

Figure CN117473300B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of urban planning and construction, and in particular to an urban construction planning method based on big data. Background Art
[0002] Urban construction planning based on big data refers to the use of big data technology and methods to make data-driven decisions and designs for urban planning. It collects, integrates and analyzes large-scale urban data, including data on population, transportation, environment, facilities, etc., to support the sustainable development of cities and optimize urban construction planning. It can provide support for the sustainable development of cities through the advantages of data-driven decision-making, efficient resource utilization and real-time response prediction.
[0003] However, in the existing urban construction planning methods based on big data, there are technical problems such as complicated and difficult storage and management of big data, which affects the efficiency, accuracy and availability of subsequent big data analysis and urban planning and construction tasks; in the existing urban construction planning methods based on big data, there are technical problems such as the huge amount of urban big data, high difficulty and low accuracy in manual analysis, and difficulty in effectively and automatically predicting changes in urban big data based on numerical data; in the existing urban construction planning methods based on big data, there is a technical problem of lack of an intuitive urban planning simulation method combined with images. Summary of the invention
[0004] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a city construction planning method based on big data. In view of the technical problems that the storage and management of big data are complicated and difficult in the existing city construction planning methods based on big data, which affects the efficiency, accuracy and availability of subsequent big data analysis and city planning and construction tasks, this solution creatively adopts a signature-based lossless compression method to optimize the process and effect of big data storage management, better compress data, and provide a good data foundation for subsequent analysis, prediction and simulation tasks; in view of the technical problems that the existing city construction planning methods based on big data have complex amounts of urban big data, high difficulty and low accuracy in manual analysis, and difficulty in effectively and automatically predicting changes in urban big data based on numerical data, this solution creatively adopts a signature-based lossless compression method to optimize the process and effect of big data storage management, better compress data, and provide a good data foundation for subsequent analysis, prediction and simulation tasks; in view of the technical problems that the existing city construction planning methods based on big data have complex amounts of urban big data, high difficulty and low accuracy in manual analysis, and difficulty in effectively and automatically predicting changes in urban big data based on numerical data, this solution The scheme creatively adopts an adaptive enhanced machine learning method to analyze and predict urban big data, and uses the characteristics of machine learning to discover rules and extract features from historical data to automatically predict urban big data in the direction of urban construction planning, thereby improving the overall accuracy and usability of the method. In view of the technical problem that there is a lack of an intuitive urban planning simulation method combined with images in the existing urban construction planning methods based on big data, this scheme creatively adopts an urban planning simulation method based on adversarial generative networks, based on urban satellite images, combined with the numerical data and image data of urban big data, to collaboratively carry out an intuitive urban construction planning simulation process, so that the entire method steps have a clearer and more specific intuitive feedback, which effectively promotes the automation level and depth of urban planning and construction plans.
[0005] The technical solution adopted by the present invention is as follows: The present invention provides a method for urban construction planning based on big data, which comprises the following steps:
[0006] Step S1: data collection;
[0007] Step S2: data preprocessing;
[0008] Step S3: Data storage management optimization;
[0009] Step S4: city big data analysis;
[0010] Step S5: urban planning simulation;
[0011] Step S6: Urban planning decision.
[0012] Furthermore, in step S1, the data collection is used to collect urban big data, specifically by collecting and collating a variety of city-related data to obtain an original data set of urban big data, wherein the original data set of urban big data includes numerical data and image data, wherein the numerical data includes urban geographic information data, urban demographic data, urban traffic flow data and environmental monitoring data, and the image data is urban satellite image data.
[0013] Furthermore, in step S2, the data preprocessing is used to clean and integrate the numerical data in the urban big data original data set, and to enhance the image data in the urban big data original data set, specifically, performing data cleaning and integration operations on the numerical data, filtering invalid data to obtain the urban big data basic data set, and performing segmentation, filtering and stacking operations on the image data to obtain the urban big data enhanced image data set.
[0014] Further, in step S3, the data storage management optimization is used to establish an optimized data warehouse and store and manage the basic data set of the city big data, specifically including the following steps:
[0015] Step S31: data partitioning and compression, which is used to divide the basic data set of the city big data into data blocks and compress them, specifically using a signature-based lossless compression method to compress the basic data set of the city big data to obtain a compressed data set of the city big data, including the following steps:
[0016] Step S311: compatible column detection, used to determine whether each data column in the basic data set of the city big data can be compressed, specifically using the source code coding theorem to perform compatible column detection to obtain a data set entropy value table, wherein the data set entropy value table includes the entropy value of each data column;
[0017] Step S312: grouping rows and columns based on similar signatures, for grouping data rows and columns with similar signatures, specifically setting an entropy threshold M ENT , and using the grouping function G, according to the data set entropy value table, each data column with similar entropy value is grouped to obtain the urban big data grouping data set. The calculation formula of the grouping function G is:
[0018] ;
[0019] In the formula, is the grouping function, a i is the i-th data column, i is the data column index, Set1 is the first data set, Set2 is the second data set, is the entropy value of the ith data column, M ENT is the entropy threshold, is the threshold bias parameter;
[0020] Step S313: data lossless compression, for selecting a compression algorithm for data compression, specifically adopting the LZMA algorithm for data compression, the LZMA algorithm adopts a data dictionary to construct a data index, and adopts the data index to replace the original data, and encodes the data index by using arithmetic logic coding to obtain a compressed data set of urban big data;
[0021] Step S32: data indexing, which is used to create a data index for the city big data partition data set, specifically, creating a structured data index based on the data index in the city big data compressed data set to obtain the city big data partition index;
[0022] Step S33: data aggregation, which is used to create a city big data summary table, specifically, according to the city big data partition index, the city big data compressed data set is aggregated and summarized to obtain the city big data summary data table;
[0023] Step S34: Duplicate data filtering is used to delete duplicate data, reduce storage space and improve data quality. Specifically, based on the city big data summary data table, duplicate data in the big data partition data set is deleted, and the city big data compressed data set, the city big data partition index and the city big data summary data table are updated to obtain the city big data update data set, and the city big data update data set includes the update partition data set, the update partition index and the update summary data table;
[0024] Step S35: Data encryption is used to encode data to provide data protection, specifically using a key to encode the city big data update data set to obtain a city big data encrypted data set and a key.
[0025] Further, in step S4, the urban big data analysis is used to extract key information from the urban big data encrypted data set, perform urban planning analysis and prediction, and generate a planning scheme based on the prediction results, specifically using an adaptive enhanced machine learning method to perform urban planning analysis and prediction, including the following steps:
[0026] Step S41: weight allocation, specifically, randomly selecting 70% of the data from the encrypted urban big data set as a training sample set, and assigning an equal weight to each training sample in the training sample set according to the urban big data partition index, and the calculation formula is:
[0027] ;
[0028] In the formula, is the weight of the i-th training sample, i is the sample index, and N is the total weight of the training samples;
[0029] Step S42: weak classifier training is used to perform simple preliminary classification of data. Specifically, a decision tree algorithm is used to obtain weak classifiers H through training. T ;
[0030] Step S43: construct a model loss function for optimizing model training. The model loss function L M The calculation formula is:
[0031] ;
[0032] Where, L M is the model loss function, y i is the true label of the i-th sample, i is the sample index, is the weak classifier H T The predicted label, x i is the i-th sample;
[0033] Step S44: Calculate the average loss, the calculation formula is as follows:
[0034] ;
[0035] In the formula, is the average loss, n is the total number of samples, i is the sample index, and L M is the model loss function, is the weight of the i-th training sample;
[0036] Step S45: updating the weight value for cumulative training, specifically including the following steps:
[0037] Step S451: Calculate and update weight parameters , the calculation formula is:
[0038] ;
[0039] In the formula, is the updated weight parameter, is the average loss;
[0040] Step S452: Calculate and update weight value , the calculation formula is:
[0041] ;
[0042] In the formula, is the updated weight value of the i-th training sample, is the weight of the i-th training sample, is to update the weight parameter;
[0043] Step S46: weighted voting is used to determine the final prediction result, specifically combining the weak classifier H T The preliminary classification results and the updated weight values , get the data prediction result;
[0044] Step S47: Model training, specifically, performing model training through weight allocation, weak classifier training, model loss function construction, average loss calculation, weight value update and weighted voting to obtain the urban big data analysis prediction model Model P ;
[0045] Step S48: Urban planning prediction, specifically using the urban big data analysis prediction model Model P Data analysis and prediction are performed on the encrypted urban big data dataset to obtain urban big data prediction data.
[0046] Further, in step S5, the urban planning simulation is used to construct an urban planning model and simulate and evaluate the effect of the planning scheme, specifically using a generative adversarial network method to perform urban planning simulation on the urban big data enhanced image dataset, including the following steps:
[0047] Step S51: training a discriminator network to assign a probability value to the generated urban planning simulation image to indicate the degree of closeness between the generated urban planning simulation image and the real urban planning image, specifically, training the discriminator network using a convolutional neural network and activating the convolutional layer using a rectified linear unit;
[0048] Step S52: training a generator network to generate a predicted urban planning simulation image based on the urban big data enhanced image dataset, specifically using a multi-scale model to train a convolutional image generator network;
[0049] Step S53: construct multiple loss functions to optimize model training, including the following steps:
[0050] Step S531: Construct the generator adversarial loss function L GRA , which is used to optimize the quality of the generator network to generate predicted urban planning simulation images. The generator adversarial loss function L GRA The calculation formula is:
[0051] ;
[0052] Where, L GRA is the generator adversarial loss function, is the mathematical expectation of the real data, is the discriminator network identification function, where The part is used to represent the probability that the generator network identifies real data as fake, is the mathematical expectation of the generated data, where The part is used to represent the probability that the generator network identifies the generated data as true, x r is the real data, x f is to generate data;
[0053] Step S532: Construct the generator ontology loss function L G , used to measure the performance of the generator, the generator ontology loss function L G The calculation formula is:
[0054] ;
[0055] Where, L G is the generator ontology loss function, L pr is the perceptual loss function, is the adversarial loss balance parameter, L GRA is the generator adversarial loss function, is the content loss balance parameter, L con is the content loss function;
[0056] Step S533: Construct the discriminator adversarial loss function L D , used to optimize the identification performance of the discriminator, the discriminator is adversarial to the loss function L D The calculation formula is:
[0057] ;
[0058] Where, L GRA is the generator adversarial loss function, is the mathematical expectation of the real data, is the discriminator network identification function, is the discriminator network identification function, where The part is used to represent the probability that the generator network identifies the real data as true, is the mathematical expectation of the generated data, where The part is used to represent the probability that the generator network identifies the generated data as fake, x r is the real data, x f is to generate data;
[0059] Step S54: Model training, specifically, training the discriminator network, training the generator network and constructing multiple loss functions to obtain the urban planning simulation model Model IM ;
[0060] Step S55: city planning simulation, specifically using the city planning simulation model Model IM , urban planning simulation is performed based on the urban big data enhanced image data set to obtain an urban planning simulation image set.
[0061] Furthermore, in step S6, the urban planning decision is used to make a planning decision based on the urban planning simulation results, specifically based on the urban planning simulation image set, combined with the urban big data prediction data to make an urban planning decision and obtain an urban construction planning scheme.
[0062] The beneficial effects achieved by the present invention using the above scheme are as follows:
[0063] (1) In view of the technical problems in the existing urban construction planning methods based on big data, such as complicated and difficult big data storage and management, which affects the efficiency, accuracy and availability of subsequent big data analysis and urban planning and construction tasks, this solution creatively adopts a signature-based lossless compression method to optimize the process and effect of big data storage and management, better compress data, and provide a good data foundation for subsequent analysis, prediction and simulation tasks;
[0064] (2) In view of the technical problems in the existing urban construction planning methods based on big data, such as the large amount of urban big data, the high difficulty of manual analysis and low accuracy, and the difficulty of effectively and automatically predicting the changes of urban big data based on numerical data, this solution creatively adopts an adaptive enhanced machine learning method to analyze and predict urban big data, and uses the characteristics of machine learning to discover patterns and extract features from historical data to automatically predict urban big data in the direction of urban construction planning, thereby improving the overall accuracy and usability of the method;
[0065] (3) In view of the technical problem that the existing urban construction planning methods based on big data lack an intuitive urban planning simulation method combined with images, this scheme creatively adopts an urban planning simulation method based on a generative adversarial network. Based on urban satellite images, it combines the numerical data and image data of urban big data to collaboratively carry out an intuitive urban construction planning simulation process, so that the entire method steps have a clearer and more specific intuitive feedback, which effectively promotes the automation level and depth of urban planning and construction schemes. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A schematic diagram of a process flow of a city construction planning method based on big data provided by the present invention;
[0067] Figure 2A data flow diagram of a city construction planning method based on big data provided by the present invention;
[0068] Figure 3 is a schematic flow chart of step S3;
[0069] Figure 4 is a schematic flow chart of step S4;
[0070] Figure 5 It is a flowchart diagram of step S5.
[0071] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION
[0072] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0073] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying 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 direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.
[0074] Example 1, see Figure 1 The present invention provides a method for urban construction planning based on big data, which comprises the following steps:
[0075] Step S1: data collection;
[0076] Step S2: data preprocessing;
[0077] Step S3: Data storage management optimization;
[0078] Step S4: city big data analysis;
[0079] Step S5: urban planning simulation;
[0080] Step S6: Urban planning decision.
[0081] Example 2, see Figure 1 and Figure 2In step S1, the data collection is used to collect urban big data, specifically by collecting and collating a variety of city-related data to obtain an original data set of urban big data, wherein the original data set of urban big data includes numerical data and image data, wherein the numerical data includes urban geographic information data, urban demographic data, urban traffic flow data and environmental monitoring data, and the image data is urban satellite image data.
[0082] Example 3, see Figure 1 and Figure 2 This embodiment is based on the above embodiment. In step S2, the data preprocessing is used to clean and integrate the numerical data in the original urban big data set, and to enhance the image data in the original urban big data set. Specifically, the numerical data is cleaned and integrated, invalid data is filtered out, and a basic urban big data set is obtained. The image data is segmented, filtered, and stacked to obtain an enhanced urban big data image data set.
[0083] Example 4, see Figure 1 , Figure 2 and Figure 3 This embodiment is based on the above embodiment. In step S3, the data storage management is optimized to establish an optimized data warehouse and store and manage the basic data set of the city big data, specifically including the following steps:
[0084] Step S31: data partitioning and compression, which is used to divide the basic data set of the city big data into data blocks and compress them, specifically using a signature-based lossless compression method to compress the basic data set of the city big data to obtain a compressed data set of the city big data, including the following steps:
[0085] Step S311: compatible column detection, used to determine whether each data column in the basic data set of the city big data can be compressed, specifically using the source code coding theorem to perform compatible column detection to obtain a data set entropy value table, wherein the data set entropy value table includes the entropy value of each data column;
[0086] Step S312: grouping rows and columns based on similar signatures, for grouping data rows and columns with similar signatures, specifically setting an entropy threshold M ENT , and using the grouping function G, according to the data set entropy value table, each data column with similar entropy value is grouped to obtain the urban big data grouping data set. The calculation formula of the grouping function G is:
[0087] ;
[0088] In the formula, is the grouping function, a iis the i-th data column, i is the data column index, Set1 is the first data set, Set2 is the second data set, is the entropy value of the ith data column, M ENT is the entropy threshold, is the threshold bias parameter;
[0089] Step S313: data lossless compression, for selecting a compression algorithm for data compression, specifically adopting the LZMA algorithm for data compression, the LZMA algorithm adopts a data dictionary to construct a data index, and adopts the data index to replace the original data, and encodes the data index by using arithmetic logic coding to obtain a compressed data set of urban big data;
[0090] Step S32: data indexing, which is used to create a data index for the city big data partition data set, specifically, creating a structured data index based on the data index in the city big data compressed data set to obtain the city big data partition index;
[0091] Step S33: data aggregation, which is used to create a city big data summary table, specifically, according to the city big data partition index, the city big data compressed data set is aggregated and summarized to obtain the city big data summary data table;
[0092] Step S34: duplicate data filtering, used to delete duplicate data, specifically, according to the city big data summary data table, delete the duplicate data in the big data partition data set, and update the city big data compressed data set, the city big data partition index and the city big data summary data table to obtain the city big data update data set, the city big data update data set includes the update partition data set, the update partition index and the update summary data table;
[0093] Step S35: data encryption, which is used to encode the data to provide data protection, specifically, using a key to encode the city big data update data set to obtain a city big data encrypted data set and a key;
[0094] By performing the above operations, in order to address the technical problems in the existing urban construction planning methods based on big data, such as complicated and difficult big data storage and management, which affects the efficiency, accuracy and availability of subsequent big data analysis and urban planning and construction tasks, this solution creatively adopts a signature-based lossless compression method to optimize the process and effect of big data storage management, better compress data, and provide a good data foundation for subsequent analysis, prediction and simulation tasks.
[0095] Example 5, see Figure 1 , Figure 2 and Figure 4This embodiment is based on the above embodiment. In step S4, the urban big data analysis is used to extract key information from the urban big data encrypted data set, perform urban planning analysis and prediction, and generate a planning scheme based on the prediction results. Specifically, the urban planning analysis and prediction are performed using an adaptive enhanced machine learning method, including the following steps:
[0096] Step S41: weight allocation, specifically, randomly selecting 70% of the data from the encrypted urban big data set as a training sample set, and assigning an equal weight to each training sample in the training sample set according to the urban big data partition index, and the calculation formula is:
[0097] ;
[0098] In the formula, is the weight of the i-th training sample, i is the sample index, and N is the total weight of the training samples;
[0099] Step S42: weak classifier training is used to perform simple preliminary classification of data. Specifically, a decision tree algorithm is used to obtain weak classifiers H through training. T ;
[0100] Step S43: construct a model loss function for optimizing model training. The model loss function L M The calculation formula is:
[0101] ;
[0102] Where, L M is the model loss function, y i is the true label of the i-th sample, i is the sample index, is the weak classifier H T The predicted label, x i is the i-th sample;
[0103] Step S44: Calculate the average loss, the calculation formula is as follows:
[0104] ;
[0105] In the formula, is the average loss, n is the total number of samples, i is the sample index, and L M is the model loss function, is the weight of the i-th training sample;
[0106] Step S45: updating the weight value for cumulative training, specifically including the following steps:
[0107] Step S451: Calculate and update weight parameters , the calculation formula is:
[0108] ;
[0109] In the formula, is the updated weight parameter, is the average loss;
[0110] Step S452: Calculate and update weight value , the calculation formula is:
[0111] ;
[0112] In the formula, is the updated weight value of the i-th training sample, is the weight of the i-th training sample, is to update the weight parameter;
[0113] Step S46: weighted voting is used to determine the final prediction result, specifically combining the weak classifier H T The preliminary classification results and the updated weight values , get the data prediction result;
[0114] Step S47: Model training, specifically, performing model training through weight allocation, weak classifier training, model loss function construction, average loss calculation, weight value update and weighted voting to obtain the urban big data analysis prediction model Model P ;
[0115] Step S48: Urban planning prediction, specifically using the urban big data analysis prediction model Model P Performing data analysis and prediction on the encrypted urban big data data set to obtain urban big data prediction data;
[0116] By performing the above operations, in order to address the technical problems in the existing urban construction planning methods based on big data, such as the huge amount of urban big data, high difficulty and low accuracy in manual analysis, and difficulty in effectively and automatically predicting changes in urban big data based on numerical data, this solution creatively adopts an adaptive enhanced machine learning method to analyze and predict urban big data, and uses the characteristics of machine learning to discover rules and extract features from historical data to automatically predict urban big data in the direction of urban construction planning, thereby improving the overall accuracy and usability of the method.
[0117] Example 6, see Figure 1 , Figure 2 and Figure 5This embodiment is based on the above embodiment. In step S5, the urban planning simulation is used to construct an urban planning model and simulate and evaluate the effect of the planning scheme. Specifically, the method of adversarial generative network is used to perform urban planning simulation on the urban big data enhanced image dataset, including the following steps:
[0118] Step S51: training a discriminator network to assign a probability value to the generated urban planning simulation image to indicate the degree of closeness between the generated urban planning simulation image and the real urban planning image, specifically, training the discriminator network using a convolutional neural network and activating the convolutional layer using a rectified linear unit;
[0119] Step S52: training a generator network to generate a predicted urban planning simulation image based on the urban big data enhanced image dataset, specifically using a multi-scale model to train a convolutional image generator network;
[0120] Step S53: construct multiple loss functions to optimize model training, including the following steps:
[0121] Step S531: Construct the generator adversarial loss function L GRA , which is used to optimize the quality of the generator network to generate predicted urban planning simulation images. The generator adversarial loss function L GRA The calculation formula is:
[0122] ;
[0123] Where, L GRA is the generator adversarial loss function, is the mathematical expectation of the real data, is the discriminator network identification function, where The part is used to represent the probability that the generator network identifies real data as fake, is the mathematical expectation of the generated data, where The part is used to represent the probability that the generator network identifies the generated data as true, x r is the real data, x f is to generate data;
[0124] Step S532: Construct the generator ontology loss function L G , used to measure the performance of the generator, the generator ontology loss function L G The calculation formula is:
[0125] ;
[0126] Where, L G is the generator ontology loss function, L pris the perceptual loss function, is the adversarial loss balance parameter, L GRA is the generator adversarial loss function, is the content loss balance parameter, L con is the content loss function;
[0127] Step S533: Construct the discriminator adversarial loss function L D , used to optimize the identification performance of the discriminator, the discriminator is adversarial to the loss function L D The calculation formula is:
[0128] ;
[0129] Where, L GRA is the generator adversarial loss function, is the mathematical expectation of the real data, is the discriminator network identification function, is the discriminator network identification function, where The part is used to represent the probability that the generator network identifies the real data as true, is the mathematical expectation of the generated data, where The part is used to represent the probability that the generator network identifies the generated data as fake, x r is the real data, x f is to generate data;
[0130] Step S54: Model training, specifically, training the discriminator network, training the generator network and constructing multiple loss functions to obtain the urban planning simulation model Model IM ;
[0131] Step S55: city planning simulation, specifically using the city planning simulation model Model IM , performing urban planning simulation based on the urban big data enhanced image data set to obtain an urban planning simulation image set;
[0132] By performing the above operations, in order to address the technical problem that in the existing urban construction planning methods based on big data, there is a lack of an intuitive urban planning simulation method combined with images, this solution creatively adopts an urban planning simulation method based on a generative adversarial network, based on urban satellite images, combined with the numerical data and image data of urban big data, to collaboratively carry out an intuitive urban construction planning simulation process, so that the entire method steps have a clearer and more specific intuitive feedback, which effectively promotes the degree of automation and depth of urban planning and construction plans.
[0133] Embodiment 7, see Figure 1 and Figure 2This embodiment is based on the above embodiment. In step S6, the urban planning decision is used to make a planning scheme decision based on the urban planning simulation results. Specifically, the urban planning decision is made based on the urban planning simulation image set and combined with the urban big data prediction data to obtain an urban construction planning scheme.
[0134] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0135] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
[0136] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.
Claims
1. A method for urban construction planning based on big data, characterized by: The method comprises the following steps: Step S1: data collection, which is used to collect urban big data, specifically, by collecting and collating a variety of city-related data to obtain an original urban big data set, wherein the original urban big data set includes numerical data and image data, wherein the numerical data includes urban geographic information data, urban demographic data, urban traffic flow data and environmental monitoring data, and the image data is urban satellite image data; Step S2: data preprocessing, which is used to clean and integrate the numerical data in the original urban big data set, and to enhance the image data in the original urban big data set, so as to obtain an urban big data basic data set and an urban big data enhanced image data set; Step S3: Data storage management optimization, used to establish an optimized data warehouse, and store and manage the basic data set of the city big data, specifically including the following steps: Step S31: data partitioning and compression; Step S32: data indexing; Step S33: data aggregation; Step S34: duplicate data filtering; Step S35: data encryption; The data partitioning and compression is used to divide the city big data basic data set into data blocks and compress them, specifically using a signature-based lossless compression method to compress the city big data basic data set to obtain a city big data compressed data set, including the following steps: Step S311: compatible column detection, used to determine whether each data column in the basic data set of the city big data can be compressed, specifically using the source code coding theorem to perform compatible column detection to obtain a data set entropy value table, wherein the data set entropy value table includes the entropy value of each data column; Step S312: grouping rows and columns based on similar signatures, for grouping data rows and columns with similar signatures, specifically setting an entropy threshold M ENT , and using the grouping function G, according to the data set entropy value table, each data column with similar entropy value is grouped to obtain the urban big data grouping data set. The calculation formula of the grouping function G is: In the formula, G(·) is the grouping function, a i is the i-th data column, i is the data column index, Set1 is the first data set, Set2 is the second data set, ENT(a i ) is the entropy value of the i-th data column, M ENT is the entropy threshold, θ is the threshold bias parameter; Step S313: data lossless compression, for selecting a compression algorithm for data compression, specifically adopting the LZMA algorithm for data compression, the LZMA algorithm adopts a data dictionary to construct a data index, and adopts the data index to replace the original data, and encodes the data index by using arithmetic logic coding to obtain a compressed data set of urban big data; In step S32, the data index is used to create a data index for the city big data compressed data set, specifically, to create a structured data index based on the data index in the city big data compressed data set to obtain a city big data partition index; In step S33, the data is summarized to create a city big data summary table, specifically, data aggregation and summary are performed on the city big data compressed data set according to the city big data partition index to obtain a city big data summary data table; In step S34, the duplicate data filtering is used to delete duplicate data, specifically, according to the city big data summary data table, delete the duplicate data in the big data partition data set, and update the city big data compressed data set, the city big data partition index and the city big data summary data table to obtain the city big data update data set, the city big data update data set includes the updated big data partition data set, the updated city big data partition index and the updated city big data summary data table; In step S35, the data encryption is used to encode the data to provide data protection, specifically, the city big data update data set is encoded using a key to obtain a city big data encrypted data set and a key; Step S4: city big data analysis, used to extract key information from the encrypted data set of city big data, conduct city planning analysis and prediction, and generate a planning scheme based on the prediction results, specifically using an adaptive enhanced machine learning method to conduct city planning analysis and prediction, including the following steps: step S41: weight allocation; step S42: weak classifier training; step S43: constructing a model loss function; step S44: calculating the average loss; step S45: updating the weight value; step S46: weighted voting; step S47: model training; step S48: city planning prediction; The weight value update is used for cumulative training, and specifically includes the following steps: Step S451: Calculate and update the weight parameter β, the calculation formula is: Where β is the update weight parameter, is the average loss; Step S452: Calculate and update weight value ω i ′, the calculation formula is: oh' i =ω i b; In the formula, ω i ′ is the updated weight value of the i-th training sample, ω i is the weight of the i-th training sample, and β is the update weight parameter; In step S47, the model training is specifically performed by weight allocation, weak classifier training, model loss function construction, average loss calculation, weight value update and weighted voting to obtain the urban big data analysis prediction model Model P ; Step S5: urban planning simulation, which is used to construct an urban planning model, and simulate and evaluate the effect of the planning scheme, specifically, using a generative adversarial network method to perform urban planning simulation on the urban big data enhanced image dataset to obtain an urban planning simulation image set; Step S6: Urban planning decision, which is used to make planning decisions based on the urban planning simulation results, specifically, making urban planning decisions based on the urban planning simulation image set in combination with the urban big data prediction data to obtain an urban construction planning scheme.
2. The urban construction planning method based on big data according to claim 1 is characterized by: In step S4, the urban big data analysis, specifically using an adaptive enhanced machine learning method to perform urban planning analysis and prediction, includes the following steps: Step S41: Weight allocation, specifically, randomly selecting 70% of the data from the encrypted urban big data set as a training sample set, and assigning an equal weight to each training sample in the training sample set according to the urban big data partition index, and the calculation formula is: {oh} i =1 / N}; In the formula, ω i is the weight of the i-th training sample, i is the sample index, and N is the total weight of the training samples; Step S42: weak classifier training is used to perform simple preliminary classification of data. Specifically, a decision tree algorithm is used to obtain weak classifiers H through training. T ; Step S43: construct a model loss function for optimizing model training. The model loss function L M The calculation formula is: Where, L M is the model loss function, y i is the true label of the i-th sample, i is the sample index, is the weak classifier H T The predicted label, x i is the i-th sample; Step S44: Calculate the average loss, the calculation formula is as follows: In the formula, is the average loss, n is the total number of samples, i is the sample index, and L M is the model loss function, ω i is the weight of the i-th training sample; Step S45: updating the weight value for cumulative training; Step S46: weighted voting is used to determine the final prediction result, specifically combining the weak classifier H T The preliminary classification results and the updated weight value ω′ i , get the data prediction result; Step S47: model training; Step S48: Urban planning prediction, specifically using the urban big data analysis prediction model Model P Data analysis and prediction are performed on the encrypted urban big data dataset to obtain urban big data prediction data.
3. The urban construction planning method based on big data according to claim 2 is characterized by: In step S5, the urban planning simulation is used to construct an urban planning model and simulate and evaluate the effect of the planning scheme, specifically using a generative adversarial network method to perform urban planning simulation on the urban big data enhanced image dataset, including the following steps: Step S51: training a discriminator network to assign a probability value to the generated urban planning simulation image to indicate the degree of closeness between the generated urban planning simulation image and the real urban planning image, specifically, training the discriminator network using a convolutional neural network and activating the convolutional layer using a rectified linear unit; Step S52: training a generator network to generate a predicted urban planning simulation image based on the urban big data enhanced image dataset, specifically using a multi-scale model to train a convolutional image generator network; Step S53: construct multiple loss functions to optimize model training; Step S54: Model training, specifically, training the discriminator network, training the generator network and constructing multiple loss functions to obtain the urban planning simulation model Model IM ; Step S55: city planning simulation, specifically using the city planning simulation model Model IM , urban planning simulation is performed based on the urban big data enhanced image data set to obtain an urban planning simulation image set.
4. The urban construction planning method based on big data according to claim 3 is characterized by: In step S53, the construction of multiple loss functions and optimization of model training specifically includes the following steps: Step S531: Construct the generator adversarial loss function L GRA , used to optimize the quality of the generator network’s generated predictive urban planning simulation images; Step S532: Construct the generator ontology loss function L G , used to measure the performance of the generator, the generator ontology loss function L G The calculation formula is: L G =L pr +αL GRA +b con L con ; Where, L G is the generator ontology loss function, L pr is the perceptual loss function, α is the adversarial loss balance parameter, and L GRA is the generator adversarial loss function, β con is the content loss balance parameter, L con is the content loss function; Step S533: Construct the discriminator adversarial loss function L D , which is used to optimize the identification performance of the discriminator.
5. The urban construction planning method based on big data according to claim 4 is characterized by: In step S6, the urban planning decision is specifically made based on the urban planning simulation image set and combined with the urban big data prediction data to obtain an urban construction planning scheme.
6. The urban construction planning method based on big data according to claim 5 is characterized by: In step S2, the data preprocessing is used to clean and integrate the numerical data in the original urban big data set, and to enhance the image data in the original urban big data set. Specifically, the numerical data is cleaned and integrated, invalid data is filtered out, and a basic urban big data set is obtained. The image data is segmented, filtered and stacked to obtain an enhanced urban big data image data set.
Citation Information
Patent Citations
Compression method and system, electronic equipment and storage medium
CN112181919A
Passenger flow prediction method and system for large traffic station
CN113159364A
Cross-city time series data migration prediction method and system
CN115422994A
Multi-modal data driven urban road layout design automation method
CN115544613A
Intelligent city planning system and method based on big data analysis
CN116823578A
