Smart city planning and management method based on big data
Through big data analysis and intelligent planning, we can divide road grids, predict traffic and the number of events, and optimize the layout of monitoring equipment, solving the problems of incomplete urban road monitoring and difficulty in accident tracking, and achieving more efficient monitoring and management.
Patent Information
- Application Number
- CN202410864787.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Urban road monitoring has incomplete monitoring and blind spots, making it difficult to track accidents and escapes, and traditional methods are expensive and difficult to achieve full coverage.
Adopting smart city planning and management methods based on big data, by dividing urban road areas into multiple road grids, collecting historical traffic and event records, analyzing correlations, predicting future traffic and event numbers, and optimizing safety monitoring based on mobile topology relationships Plan and formulate the optimal security monitoring plan.
It improves the comprehensiveness and accuracy of monitoring, optimizes resource allocation, achieves more efficient urban planning management, and ensures the efficiency and accuracy of accident tracking.
Smart Images

Figure CN118396196B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data science and technology, specifically to the field of big data technology, and in particular to a smart city planning and management method based on big data. Background Art
[0002] With the acceleration of urbanization and the continuous growth of urban population, urban road monitoring technology has been widely used in many fields. However, with the continuous expansion of urban scale and the complexity of road networks, urban road monitoring faces increasing challenges. Traditional urban road monitoring often has problems such as incomplete monitoring and blind spots, which makes it impossible to track abnormal personnel if they switch routes when traffic accidents occur. In addition, if all roads are equipped with monitoring, the cost will be very high and it will be difficult to achieve full coverage. Summary of the invention
[0003] This application provides a smart city planning and management method based on big data, aiming to solve the technical problem that accident escapes are difficult to track due to incomplete monitoring and blind spots in urban road monitoring.
[0004] In view of the above problems, this application provides a smart city planning and management method based on big data.
[0005] The present application provides a smart city planning and management method based on big data, the method comprising: dividing an urban road area to be subject to security monitoring planning and management to obtain a plurality of road grids; collecting flow records and event records of the urban road area in a plurality of historical time periods to obtain a plurality of grid flow information sequences and a plurality of grid event quantity information sequences; analyzing the correlation between the plurality of grid flow information sequences and the plurality of grid event quantity information sequences to obtain a plurality of basic correlation coefficients; performing future flow prediction and future event quantity prediction respectively according to the plurality of grid flow information sequences and the plurality of grid event quantity information sequences, and combining the predicted grid flow information sequences with the predicted grid flow information sequences to obtain a plurality of basic correlation coefficients; The grid flow information and the grid event quantity information are updated and correlation analysis is performed, and the predicted grid flow information and the grid event quantity information are adjusted until the correlation requirements are met, so as to obtain a plurality of predicted grid flow information and a plurality of predicted grid event quantity information; according to the flow records and in combination with the mobile topological relationship of the urban road area, the passing coefficients of the continuous road grids in the plurality of road grids are analyzed to obtain a plurality of passing coefficients; according to the plurality of predicted grid flow information, the plurality of predicted grid event quantity information and the plurality of passing coefficients, the security monitoring planning of the plurality of road grids is optimized to obtain an optimal security monitoring planning scheme and to perform planning management.
[0006] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0007] The above-mentioned smart city planning and management method based on big data first divides the urban road area to be monitored into multiple small road grids for more refined management and monitoring. Subsequently, the flow records and event records of these road grids in multiple historical time periods are collected to obtain the flow information sequence and event quantity information sequence of each grid in different time periods. By analyzing the correlation between these flow information sequences and event quantity information sequences, multiple basic correlation coefficients are calculated to understand the relationship between flow and event occurrence. Afterwards, based on these flow information sequences and event quantity information sequences, the future flow and event quantity are predicted respectively. Combined with the predicted grid flow information and grid event quantity information, an updated correlation analysis is performed, and the prediction results are adjusted until the predicted flow and event quantity information meet the correlation requirements, and multiple predicted grid flow information and multiple predicted grid event quantity information are obtained. Then, based on these flow records, combined with the mobile topological relationship of the urban road area, the passing coefficients of the continuous road grids in the multiple road grids are analyzed to obtain these passing coefficients. Finally, the predicted grid flow information, the predicted grid event quantity information and the passing coefficient are used to optimize the security monitoring planning of multiple road grids, formulate the optimal security monitoring planning scheme, and carry out planning management. Through these steps, while meeting the security monitoring requirements, we can optimize resource allocation, improve the comprehensiveness and accuracy of monitoring, and thus improve the efficiency and effectiveness of urban planning management.
[0008] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 The figure is a flowchart of a smart city planning and management method based on big data in one embodiment.
[0011] Figure 2 The present invention is a flowchart of an information acquisition sequence of a smart city planning management method based on big data in one embodiment. DETAILED DESCRIPTION
[0012] The embodiments of the present application provide a smart city planning and management method based on big data to solve the technical problem that accident escapes are difficult to track due to incomplete monitoring and blind spots in urban road monitoring.
[0013] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0014] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or inherent to these processes, methods, products or devices.
[0015] Examples, such as Figure 1 As shown, the present application provides a smart city planning management method based on big data, the method comprising:
[0016] The urban road area to be subject to security monitoring planning and management is divided to obtain a plurality of road grids.
[0017] In an embodiment of the present application, for urban road areas that require security monitoring planning and management, the system terminal performs detailed grid division on the entire road area. This process usually involves dividing a larger road area into multiple smaller, relatively independent road grids according to certain standards. Each road grid represents a specific geographical area and has clear boundaries and characteristics. The purpose of grid division is to simplify the complex road network into a series of manageable and monitorable small areas. By doing so, the traffic flow, vehicle and pedestrian activities, and potential safety incidents within each grid can be more accurately monitored. This fine-grained monitoring helps to improve safety and management efficiency. When performing grid division, the system terminal will analyze multiple factors such as road type (main road, secondary road, branch road, etc.), traffic flow, topography, building distribution, etc. These factors will affect the size, shape and layout of the grid. For example, in areas with heavy traffic and frequent accidents, smaller grids may need to be set for more accurate monitoring; while in areas with relatively sparse traffic and complex terrain, larger grids may need to be set to reduce the complexity of monitoring. By setting the grid size and shape that meets current needs, the system terminal can obtain multiple road grids, providing an important foundation for subsequent security monitoring planning and management.
[0018] The flow records and event records of the urban road area in multiple historical time periods are collected to obtain multiple grid flow information sequences and multiple grid event quantity information sequences.
[0019] In one embodiment, when planning the safety monitoring and management of urban roads, in order to accurately track accidents, the system terminal collects traffic flow data of each grid at different times, including the number and speed of vehicles and pedestrians. These data will form multiple grid flow information sequences, through which the traffic flow change trend and law of each grid can be understood. At the same time, various event records occurring in the grid are collected, such as the number, time, location and other information of events such as traffic accidents. These event data will form multiple grid event quantity information sequences, which reflect the distribution of safety events in each grid. By collecting and analyzing these flow and event data, the traffic and safety conditions of urban road areas can be more deeply understood, which helps to identify problem areas with traffic congestion and frequent accidents.
[0020] Further, if Figure 2 As shown, the present application provides a method for collecting flow records and event records of the urban road area in multiple historical time periods, obtaining multiple grid flow information sequences and multiple grid event quantity information sequences, including:
[0021] The flow information and event data of the urban road area at all time points in multiple historical time periods are collected to obtain flow records and event records; based on the flow records and event records, the average flow and total number of events of the multiple road grids in multiple historical time periods are calculated to obtain multiple grid flow information sequences and multiple grid event number information sequences.
[0022] Preferably, in the planning and management of urban road safety monitoring, the system terminal collects traffic information and event data in urban road areas in multiple historical time periods, and these data cover all time points to ensure the comprehensiveness and accuracy of the data. Subsequently, these data are matched with the divided road grids, and the average traffic flow and total number of events in different time periods are calculated for each grid. The average traffic flow reflects the average level of traffic flow in the grid, while the total number of events reveals the overall situation of safety events in the grid. Through this process, traffic flow information sequences and event number information sequences of multiple grids can be obtained. These sequences not only show the changes in traffic flow and events in each grid in different time periods, but also allow comparison of differences between different grids, thereby identifying areas that need to be focused on, such as heavy traffic and frequent accidents.
[0023] The correlation between the plurality of grid flow information sequences and the plurality of grid event quantity information sequences is analyzed to obtain a plurality of basic correlation coefficients.
[0024] In one embodiment, in the planning and management of urban road safety monitoring, after obtaining the flow information sequences and the number of events information sequences of multiple road grids, the system terminal analyzes the correlation between these sequences. Correlation analysis can help understand whether there is a certain correlation between flow and the number of events, and the extent of this correlation. Through correlation analysis, the system terminal calculates the correlation coefficient between the flow information sequence and the number of events information sequence of each grid, and the basic correlation coefficient. These coefficients reflect the synchronization between the flow change and the number of events change.
[0025] Furthermore, the present application provides a method for analyzing the correlation between the plurality of grid flow information sequences and the plurality of grid event quantity information sequences to obtain a plurality of basic correlation coefficients, including:
[0026] The multiple grid flow information sequences are respectively used as multiple active data sequences, and the multiple grid event quantity information sequences are used as multiple influencing data sequences; the correlation between the multiple active data sequences and the multiple influencing data sequences is analyzed and calculated to obtain multiple basic correlation coefficients.
[0027] Preferably, in the planning and management of urban road safety monitoring, in order to analyze the relationship between the flow rate and the number of events of the road grid, the system terminal uses the flow rate information sequence of the grid as an active data sequence to represent the basic traffic conditions of the road. The event number information sequence of the grid is regarded as an influence data sequence, reflecting the number of safety events occurring under specific flow conditions, which may be affected by various factors such as flow, road design, and traffic management. Subsequently, the abnormal values, missing values, or erroneous data in multiple active data sequences and multiple influence data sequences are checked, and the mean value is calculated using five adjacent data points, and the mean value result is used as the abnormal value, missing value, or erroneous data here. Afterwards, the active data sequence and the influence data sequence of each grid are sorted respectively, and the rank of each data point is obtained. For each grid, the difference in the ranks of the corresponding data points in the active data sequence and the influence data sequence, i.e., the difference in ranks, is calculated. Then, the calculated differences in these ranks are used to calculate each grid according to the Spearman rank correlation coefficient to obtain multiple basic correlation coefficients. Through these basic correlation coefficients, the system terminal can understand the relationship between the traffic volume and the number of events at each road grid, which helps to identify which grids are more likely to have safety incidents when the traffic volume increases, thereby guiding the formulation of more accurate and effective safety monitoring planning and management strategies.
[0028] According to the multiple grid flow information sequences and the multiple grid event quantity information sequences, future flow prediction and future event quantity prediction are performed respectively, and the predicted raster flow information and raster event quantity information are combined to perform updated correlation analysis, and the predicted raster flow information and raster event quantity information are adjusted until the correlation requirements are met, thereby obtaining multiple predicted raster flow information and multiple predicted raster event quantity information.
[0029] In one embodiment, the system terminal inputs the obtained flow information sequences and event quantity information sequences of multiple grids into the corresponding pre-trained prediction paths to predict future flow and future event quantity. Subsequently, the same method as above is used to calculate the updated correlation coefficient of each pair of predicted grid flow information and predicted grid event quantity information in the prediction result. After that, the updated correlation coefficient is analyzed for error, and the error between the updated correlation coefficient and the basic correlation coefficient is calculated. If this error is within the required range of the correlation error threshold, the system terminal treats all predicted grid flow information and predicted grid event quantity information as multiple predicted grid flow information and multiple predicted grid event quantity information. Otherwise, the system terminal adjusts the predicted grid flow information and grid event quantity information. This adjustment process involves fine-tuning the parameters of the two prediction branches to improve the accuracy of the prediction. After the adjustment is completed, the system terminal repeats the prediction, correlation analysis and adjustment until the calculated error meets the correlation requirement, that is, meets the requirement of the correlation error threshold. This process ensures that the prediction result not only conforms to the trend of historical data, but also reflects the actual relationship between flow and event quantity to improve the accuracy of the prediction.
[0030] Furthermore, the present application provides a method for respectively performing future flow prediction and future event quantity prediction based on the multiple grid flow information sequences and the multiple grid event quantity information sequences, including:
[0031] According to the characteristic information of the urban road area, similar urban road areas are obtained by indexing, and according to the historical record data of the similar urban road area, a sample grid flow information sequence set and a sample predicted grid flow set, as well as a sample grid event quantity information sequence set and a sample predicted grid event quantity information set are collected; the sample grid flow information sequence set and the sample predicted grid flow set are used as training input and training output to train a grid flow prediction path, and the sample grid event quantity information sequence set and the sample predicted grid event quantity information set are used as training input and training output to train a grid event quantity prediction path; based on the grid flow prediction path and the grid event quantity prediction path, future flow prediction and future event quantity prediction are performed on the multiple grid flow information sequences and the multiple grid event quantity information sequences to obtain multiple first predicted grid flow information and multiple first predicted grid event quantity information.
[0032] Preferably, in order to improve the prediction accuracy of the flow and number of events in the urban road area, the system terminal uses the characteristic information of the urban road area to be planned and managed for safety monitoring as an index, retrieves other urban road areas similar to it, and collects historical data of these areas as samples. These sample data include a sample grid flow information sequence and a corresponding sample prediction grid flow set, as well as a sample grid event number information sequence and a corresponding sample prediction grid event number information set. Subsequently, the system terminal defines the architecture of the long short-term memory network (LSTM) model, including an input layer, an LSTM layer, a fully connected layer, and an output layer. Then, according to the complexity of the problem and the characteristics of the data, the hyperparameters such as the number of layers, the number of hidden units, and the activation function of the LSTM layer are determined. After that, the sample grid flow information sequence set is used as the training input, and the corresponding sample prediction grid flow set is used as the training output. The sample grid flow information sequence set and the sample prediction grid flow set are divided into a training set and a test set to evaluate the performance of the model and adjust the hyperparameters. After obtaining the training set and the test set, the system terminal uses random numbers to initialize the weights and biases of the LSTM model, and then inputs the data in the training set into the LSTM model for model training. In each training iteration, the system terminal randomly extracts a batch of data from the training set and inputs it into the LSTM model to obtain the predicted value grid flow. The mean square error loss is then used to calculate the loss value between the predicted value grid flow and the sample predicted value grid flow, and the Adam optimizer is used to update the weights and biases of the LSTM model to minimize the loss. Repeat the above steps until the preset number of iterations is reached. Then, the trained LSTM model is evaluated using the test set to calculate performance indicators such as accuracy and recall. If the calculated performance indicators meet the expected expectations, the current LSTM model is output as the grid flow prediction path. Otherwise, the hyperparameters of the LSTM model, such as the learning rate, batch size, number of LSTM layers or number of hidden units, are adjusted and retrained. Similarly, the system terminal uses the same training method as above to train the grid event quantity prediction path based on the sample grid event quantity information sequence and the corresponding sample predicted grid event quantity information set. Once the two prediction paths are trained, the system terminal uses the two prediction paths to predict the future flow and number of events for multiple grid flow information sequences and multiple grid event quantity information sequences in the urban road area to be planned and managed for safety monitoring. By inputting these grid flow information sequences and grid event quantity information sequences, the system terminal obtains multiple first prediction grid flow information and multiple first prediction grid event quantity information for subsequent correlation analysis.
[0033] Further, the present application provides combining the predicted grid flow information and the grid event quantity information, performing an update correlation analysis, and adjusting the predicted grid flow information and the grid event quantity information until the correlation requirements are met, including:
[0034] The multiple first predicted grid flow information and the multiple first predicted grid event quantity information are added to the multiple grid flow information sequences and the multiple grid event quantity information sequences, and an updated correlation analysis is performed to obtain multiple updated correlation coefficients; the errors between the multiple updated correlation coefficients and the multiple basic correlation coefficients are calculated to obtain multiple correlation errors.
[0035] Optionally, after obtaining multiple first predicted grid flow information and multiple first predicted grid event quantity information, in order to evaluate the accuracy of these predicted values and the relationship between them and the original observed values, the system terminal adds these predicted values to the original grid flow information sequence and the grid event quantity information sequence to form two new sequences containing predicted values and actual values. Subsequently, using the same method as the aforementioned calculation of multiple basic correlation coefficients, the system terminal calculates multiple updated correlation coefficients based on the two new sequences. These updated correlation coefficients represent the correlation between each pair of predicted grid flow information and predicted grid event quantity information. Afterwards, the calculated multiple updated correlation coefficients are differenced with the corresponding multiple basic correlation coefficients to obtain multiple correlation errors and understand the accuracy of the prediction results.
[0036] Determine whether each correlation error is greater than a correlation error threshold; if not, use the first predicted raster flow information and the first predicted raster event quantity information as the final predicted raster flow information and the predicted raster event quantity information; if so, adjust the first predicted raster flow information and the first predicted raster event quantity information, and re-add them to the multiple raster flow information sequences and the multiple raster event quantity information sequences, and perform updated correlation analysis until the correlation error is less than or equal to the correlation error threshold, and obtain multiple predicted raster flow information and multiple predicted raster event quantity information.
[0037] Optionally, after obtaining multiple correlation errors, the system terminal evaluates these correlation errors in combination with the correlation error threshold. The correlation error threshold is set based on historical experience and actual needs, and represents the expected standard for the accuracy of the prediction results. If each calculated correlation error is less than or equal to this threshold, then the system terminal determines that these prediction results are relatively accurate, and uses multiple first predicted grid flow information and multiple first predicted grid event quantity information as the final predicted grid flow information and predicted grid event quantity information. However, if there is a correlation error greater than the correlation error threshold, it means that the correlation between the prediction result and the actual situation is not strong enough, and there may be problems with the accuracy of the prediction result. At this time, the system terminal extracts the first predicted grid flow information and the first predicted grid event quantity information whose correlation error is less than or equal to the correlation error threshold, and uses them as new training data to train the current grid flow prediction path and the grid event quantity prediction path, fine-tune the internal weights and biases of the grid flow prediction path and the grid event quantity prediction path, and re-predict multiple grid flow information sequences and multiple grid event quantity information sequences in the urban road area to be planned and managed for safety monitoring, and then update the correlation analysis. This process is repeated until each correlation error is less than or equal to the correlation error threshold.
[0038] According to the flow records and in combination with the mobile topological relationship of the urban road area, the passing coefficients of the continuous road grids in the multiple road grids are analyzed to obtain multiple passing coefficients.
[0039] In one embodiment, when analyzing urban road traffic data, the system terminal obtains the mobile topological relationship of the urban road area to be planned and managed for security monitoring, that is, the connection structure of the road. Based on this mobile topological relationship, the impact of the intersection on the flow of people is analyzed, that is, the passing coefficient between continuous road grids, which represents the possibility of people flowing from one grid to another. When an incident occurs on a road, abnormal people usually escape along the road. If the road forks at a certain point to form an intersection, then the abnormal person may choose to enter one or more of the branch roads. In order to quantify this pattern, the system terminal calculates the passing coefficient between multiple groups of road grids connected before and after. Specifically, if there is only one directly connected road between two consecutive road grids (that is, there is no intersection), then the passing coefficient of the subsequent road grid and the road grid connected in front is 1, indicating that the abnormal person will continue to move along this road. However, when there is an intersection, that is, when the previous road grid is connected to multiple subsequent road grids, the system terminal will calculate the passing coefficient based on the traffic record. By looking at how the flow of the previous road grid in the traffic record is distributed to each subsequent road grid, and using this ratio as the passing coefficient. For example, if 60% of the traffic in the previous road grid enters the first subsequent road grid, and 40% of the traffic enters the second subsequent road grid, then the corresponding proportional coefficients of these two road grids are 0.6 and 0.4. In this way, the system terminal can depict the flow pattern of abnormal personnel between different road grids, providing important reference for urban planning, traffic management and emergency response.
[0040] Furthermore, the present application provides a method of analyzing the passing coefficients of continuous road grids in the plurality of road grids according to the flow records and in combination with the mobile topological relationship of the urban road area to obtain a plurality of passing coefficients, including:
[0041] According to the mobile topological relationship of the urban road area, the multiple road grids are divided to obtain multiple groups of continuous road grids, each group of continuous road grids includes a front road grid and at least one rear road grid; according to the flow record, the proportion of the grid flow of the front road grid in each group of continuous road grids dispersed to at least one rear road grid is calculated as the passing coefficient of the at least one rear road grid, and multiple passing coefficients are obtained.
[0042] Preferably, based on the mobile topological relationship of the urban road area to be planned and managed for security monitoring, the system terminal divides multiple road grids. These grids are organized into multiple groups according to the continuity of the road, and each group contains a front road grid and at least one rear road grid. Among them, the front road grid refers to the road grid where abnormal personnel may start from one point and flow to the next point; and the rear road grid is the destination grid where these flows may go. After the road grid division is completed, the system terminal uses traffic flow records to analyze the flow of people or vehicles in each group of continuous road grids, calculates the dispersion ratio of the flow in the front road grid to each rear road grid, and uses the calculated dispersion ratio of each rear road grid as the passing coefficient of the rear road grid. Through this process, the system terminal obtains multiple passing coefficients, which reflect the flow of people or vehicles between different road grids. This has important guiding significance for urban planning, traffic management and emergency response.
[0043] According to the plurality of predicted grid flow information, the plurality of predicted grid event quantity information and the plurality of passing coefficients, the security monitoring planning of the plurality of road grids is optimized to obtain the optimal security monitoring planning scheme and perform planning management.
[0044] In one embodiment, the system terminal optimizes the safety monitoring planning of the road grid based on the obtained multiple predicted grid flow information, the predicted grid event number information and the passing coefficient. This optimization process aims to ensure that the number of safety monitoring equipment in each road grid matches its expected traffic flow and number of events, so as to achieve efficient use of resources and maximize the monitoring effect. The system terminal calculates the planning fitness of the safety monitoring planning scheme based on the safety monitoring planning function and the planning quantity space of the safety monitoring equipment planning of multiple road grids. Subsequently, a safety monitoring planning scheme is obtained again from the planning quantity space of the safety monitoring equipment planning of multiple road grids, and the planning fitness is calculated. This process is repeated until the planning fitness tends to be stable. At this time, the system terminal extracts the safety monitoring planning scheme with the largest planning fitness, and further adjusts this safety monitoring planning scheme in combination with multiple passing coefficients to obtain the optimal safety monitoring planning scheme. This optimal safety monitoring planning scheme not only takes into account the traffic flow and number of events of each road grid, but also fully considers the flow direction and path of the traffic flow, thereby ensuring the reasonable allocation and efficient utilization of the number of safety monitoring equipment. By implementing this optimized safety monitoring planning scheme, better planning and management can be carried out, the efficiency and effectiveness of road safety monitoring can be improved, and the efficiency and accuracy of accident tracking can be ensured.
[0045] Furthermore, the present application provides a method for optimizing the safety monitoring planning of the plurality of road grids according to the plurality of predicted grid flow information, the plurality of predicted grid event quantity information and the plurality of passing coefficients, including:
[0046] A planning quantity space for planning security monitoring equipment for the multiple road grids is obtained; and a security detection planning function is constructed based on improving the monitoring quality of the multiple road grids and reducing the monitoring cost.
[0047] Preferably, the system terminal obtains the planned quantity space for planning security monitoring equipment for multiple road grids, that is, the range of the number of monitoring equipment allocated to each road grid. Subsequently, based on the goal of improving the monitoring quality of multiple road grids and reducing the monitoring cost, the system terminal constructs a security detection planning function. This function evaluates the effect and cost of different planning schemes by comprehensively considering the predicted traffic information, predicted event quantity information and the cost of a single monitoring device of different road grids. The security detection planning function is as follows: ; Among them, SMP is the planning fitness, which represents the overall evaluation index of the planning scheme and is a function value that comprehensively considers the monitoring effect and cost. and is a weight used to balance the importance of monitoring effect and cost in the planning function. The planned number of monitoring devices for the i-th road grid is the main variable in planning decision. is the predicted grid flow information of the i-th road grid, reflecting the traffic congestion in the area. is the predicted grid event quantity information of the i-th road grid, which is used to evaluate the traffic safety of the area. K is the cost of a single monitoring device. Reflects the unit flow rate when an incident occurs. The larger the ratio, the higher the possibility of traffic incidents in the area under the same flow rate, so more security monitoring equipment is needed to improve the comprehensiveness and accuracy of monitoring.
[0048] In the planned quantity space, the planned quantity of safety monitoring equipment is randomly allocated to the multiple road grids to obtain a first safety monitoring planning scheme; and according to the safety monitoring planning function, a first planning fitness of the first safety monitoring planning scheme is calculated and obtained.
[0049] Preferably, when planning the safety monitoring equipment of the road grid, a certain number of safety monitoring equipment is randomly allocated to each road grid within the system terminal planning quantity space, forming a preliminary safety monitoring planning scheme, i.e., the first safety monitoring planning scheme. Subsequently, the first safety monitoring planning scheme is evaluated using the constructed safety detection planning function. This function comprehensively considers the traffic information, event quantity information and monitoring equipment cost of the road grid, and calculates the first planning fitness. This fitness value reflects the trade-off effect of the scheme between monitoring effect and cost.
[0050] Continue to optimize the security monitoring planning of the multiple road grids according to the security monitoring planning function, and obtain a security monitoring planning scheme with the maximum planning fitness as a result security monitoring planning scheme; adjust the result security monitoring planning scheme according to the multiple passing coefficients, obtain multiple optimal planning quantities of the multiple road grids after adjustment, and obtain an optimal security monitoring planning scheme.
[0051] Preferably, in the process of security monitoring planning, the system terminal optimizes the security monitoring equipment planning of multiple road grids based on the constructed security detection planning function. The core of this optimization process is to find the plan with the largest planning fitness by iteratively adjusting the number of monitoring equipment in each road grid. Specifically, the system terminal generates different monitoring equipment allocation combinations from the planning quantity space, and uses the function to calculate the planning fitness of the current combination each time. By comparing the fitness values of different combinations, the optimal solution can be gradually approached. This process will continue until the planning fitness tends to be stable, that is, the planning fitness will not be significantly improved by increasing or decreasing the number of monitoring equipment. After the planning fitness tends to be stable, the system terminal extracts the security monitoring planning scheme with the largest planning fitness from the generated multiple security monitoring planning schemes, and the security monitoring planning scheme results in the security monitoring planning scheme. Subsequently, according to the obtained multiple passing coefficients, the system terminal generates an adjustment coefficient for each road grid, and adjusts and calculates the multiple result planning quantities in the result security monitoring planning scheme according to these adjustment coefficients and rounds them to obtain multiple optimal planning quantities, and generates the optimal security monitoring planning scheme. This solution not only takes into account the monitoring effect and cost, but also fully considers the traffic flow and mutual influence between road grids. Therefore, it can monitor roads more accurately and ensure the efficiency and accuracy of accident tracking.
[0052] Furthermore, the present application provides adjusting the result safety monitoring planning scheme according to the multiple passing coefficients to obtain multiple optimal planning quantities of the multiple road grids after adjustment, including:
[0053] Acquire multiple result planning quantities within the result safety monitoring planning scheme; set and obtain multiple adjustment coefficients according to the multiple passing coefficients, wherein when the passing coefficient is 1, the adjustment coefficient is 0, and when the passing coefficient is not 1, the size of the adjustment coefficient is positively correlated with the size of the passing coefficient; use the multiple adjustment coefficients to adjust and calculate and round the multiple result planning quantities respectively, and obtain multiple optimal planning quantities, wherein the adjusted optimal planning quantity is greater than or equal to 1.
[0054] Optionally, after obtaining the result safety monitoring planning scheme, the system terminal obtains the result planning quantity of multiple road grids. In order to further optimize these planning quantities, multiple passing coefficients are used to obtain corresponding adjustment coefficients. When the passing coefficient is 1, it means that the two grids are directly connected, and the abnormal personnel can only walk along this road, so the subsequent grid can be set with fewer monitoring devices, and the adjustment coefficient is 0 at this time. When the passing coefficient is not 1, the size of the adjustment coefficient is positively correlated with the size of the passing coefficient. If the flow between the two grids is more or the connectivity is stronger, that is, the passing coefficient is larger, the subsequent grid is more likely to become the route of choice for abnormal personnel, so more monitoring equipment needs to be set. On the contrary, if the passing coefficient is small, it means that the flow of the subsequent grid is less or the connectivity is weak, and the planning quantity of monitoring equipment can be reduced accordingly. The specific value of the adjustment coefficient is set according to the actual situation, and can be directly equal to the passing coefficient, or a value greater than the passing coefficient can be set, but it is necessary to ensure that the adjustment coefficient is proportional to the passing coefficient. Subsequently, the system terminal uses the adjustment coefficient to adjust the result planning quantity. The adjustment coefficient is multiplied by the result planning quantity, and rounded to ensure that the planning quantity is an integer. At the same time, the planned number of each grid is guaranteed to be at least 1 to ensure the quality of security monitoring. After the above adjustment and optimization process, the system terminal finally obtains the optimal planned number of multiple road grids, that is, the optimal security monitoring planning scheme. This scheme fully considers the flow and connectivity between road grids, and can achieve a balance between monitoring effect and cost while ensuring the quality of security monitoring.
[0055] In summary, the embodiments of the present application have at least the following technical effects:
[0056] The embodiment of the present application divides the urban road area, obtains multiple road grids, and collects the flow records and event records of these areas in multiple historical time periods to obtain the grid flow information sequence and the grid event number information sequence. By analyzing the correlation of these information sequences, the basic correlation coefficient is obtained. Subsequently, the future flow and event number are predicted according to these information sequences, and the correlation analysis and adjustment are performed in combination with the prediction results until the correlation requirements are met to obtain the predicted grid flow information and event number information. After that, based on the flow record and the mobile topological relationship of the urban road area, the passing coefficient of the continuous road grid is analyzed. Then, according to the predicted grid flow information, event number information and passing coefficient, the security monitoring planning of multiple road grids is optimized to obtain the optimal security monitoring planning scheme, and planning management is performed. Then, according to the flow record and the road topological relationship, the continuous road grid group is divided, and the proportion of the flow of the previous road grid dispersed to the subsequent road grid is calculated to obtain the passing coefficient. Finally, by constructing a planning function, according to the weight, the number of planning equipment, the predicted flow and event number information and the cost of a single monitoring equipment, optimization is performed in the planning quantity space to obtain the optimal security monitoring planning scheme. According to the passing coefficient, the resulting safety monitoring plan is adjusted to obtain the optimal planning quantity and realize efficient safety monitoring planning. These technical effects jointly solve the technical problem that the accident escape is difficult to track due to the incomplete monitoring and blind spots of urban road monitoring, and realize the effect of improving the comprehensiveness and accuracy of monitoring by finely dividing the road grid and dynamically predicting the flow and number of events.
[0057] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. The processes depicted in the accompanying drawings do not necessarily require the specific order and continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0058] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
[0059] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A smart city planning and management method based on big data, characterized in that: The method comprises: The urban road area to be subject to security monitoring planning and management is divided to obtain multiple road grids; Collecting flow records and event records of the urban road area in multiple historical time periods to obtain multiple grid flow information sequences and multiple grid event quantity information sequences; Analyzing the correlation between the plurality of grid flow information sequences and the plurality of grid event quantity information sequences to obtain a plurality of basic correlation coefficients; According to the multiple grid flow information sequences and the multiple grid event quantity information sequences, future flow prediction and future event quantity prediction are respectively performed, and the predicted grid flow information and the grid event quantity information are combined to perform update correlation analysis, and the predicted grid flow information and the grid event quantity information are adjusted until the correlation requirements are met, thereby obtaining multiple predicted grid flow information and multiple predicted grid event quantity information; According to the flow record and in combination with the mobile topological relationship of the urban road area, the passing coefficients of the continuous road grids in the multiple road grids are analyzed to obtain multiple passing coefficients; According to the plurality of predicted grid flow information, the plurality of predicted grid event quantity information and the plurality of passing coefficients, the security monitoring planning of the plurality of road grids is optimized to obtain an optimal security monitoring planning scheme and perform planning management; According to the flow record and in combination with the mobile topological relationship of the urban road area, the passing coefficients of the continuous road grids in the multiple road grids are analyzed to obtain multiple passing coefficients, including: Dividing the plurality of road grids according to the mobile topological relationship of the urban road area to obtain a plurality of groups of continuous road grids, each group of continuous road grids including a front road grid and at least one rear road grid; According to the flow records, a proportion of the grid flow of the front road grid in each group of continuous road grids distributed to at least one rear road grid is calculated as a passing coefficient of the at least one rear road grid, to obtain a plurality of passing coefficients; According to the plurality of predicted grid flow information, the plurality of predicted grid event quantity information and the plurality of passing coefficients, the security monitoring planning optimization of the plurality of road grids includes: Acquire a planning quantity space for planning security monitoring equipment for the plurality of road grids; Based on improving the monitoring quality of the multiple road grids and reducing the monitoring cost, a safety monitoring planning function is constructed as follows: ; Among them, SMP is the planning fitness, and is the weight, Plan the number of monitoring devices for the i-th road grid, is the predicted grid flow information of the i-th road grid, is the predicted grid event quantity information of the i-th road grid, K is the cost of a single monitoring device; In the planned quantity space, randomly assigning the planned quantity of security monitoring equipment to the plurality of road grids to obtain a first security monitoring planning scheme; According to the security monitoring planning function, a first planning fitness of a first security monitoring planning scheme is calculated; Continuing to optimize the security monitoring planning of the multiple road grids according to the security monitoring planning function, obtaining a security monitoring planning scheme with the maximum planning fitness as a result security monitoring planning scheme; According to the multiple passing coefficients, the resulting safety monitoring planning scheme is adjusted to obtain multiple optimal planning quantities of the multiple road grids after adjustment, thereby obtaining an optimal safety monitoring planning scheme.
2. The smart city planning and management method based on big data according to claim 1 is characterized in that: Collecting flow records and event records in the urban road area in multiple historical time periods to obtain multiple grid flow information sequences and multiple grid event quantity information sequences, including: Collecting traffic information and event data of the urban road area at all time points in multiple historical time periods to obtain traffic records and event records; According to the flow records and event records, the average flow and the total number of events of the plurality of road grids in a plurality of historical time periods are calculated to obtain a plurality of grid flow information sequences and a plurality of grid event number information sequences.
3. The smart city planning and management method based on big data according to claim 1 is characterized in that: Analyze the correlation between the multiple grid flow information sequences and the multiple grid event quantity information sequences to obtain multiple basic correlation coefficients, including: Respectively taking the multiple grid flow information sequences as multiple active data sequences, and taking the multiple grid event quantity information sequences as multiple impact data sequences; The correlations between the multiple active data sequences and the multiple influencing data sequences are analyzed and calculated to obtain multiple basic correlation coefficients.
4. The smart city planning and management method based on big data according to claim 1 is characterized in that: According to the plurality of grid flow information sequences and the plurality of grid event quantity information sequences, future flow prediction and future event quantity prediction are performed respectively, including: According to the characteristic information of the urban road area, similar urban road areas are obtained by indexing, and according to the historical record data of similar urban road areas, a sample grid flow information sequence set and a sample predicted grid flow information sequence set, as well as a sample grid event quantity information sequence set and a sample predicted grid event quantity information set are collected; The sample grid flow information sequence set and the sample predicted grid flow set are used as training input and training output to train the grid flow prediction path, and the sample grid event quantity information sequence set and the sample predicted grid event quantity information set are used as training input and training output to train the grid event quantity prediction path; Based on the grid flow prediction path and the grid event quantity prediction path, future flow prediction and future event quantity prediction are performed on the multiple grid flow information sequences and the multiple grid event quantity information sequences to obtain multiple first predicted grid flow information and multiple first predicted grid event quantity information.
5. The smart city planning and management method based on big data according to claim 4 is characterized in that: Combine the predicted grid flow information and grid event quantity information, perform update correlation analysis, and adjust the predicted grid flow information and grid event quantity information until the correlation requirements are met, including: Adding the plurality of first predicted grid flow information and the plurality of first predicted grid event quantity information to the plurality of grid flow information sequences and the plurality of grid event quantity information sequences, performing update correlation analysis, and obtaining a plurality of update correlation coefficients; Calculating errors between the multiple updated correlation coefficients and the multiple basic correlation coefficients to obtain multiple correlation errors; Determine whether each correlation error is greater than a correlation error threshold, and if not, use the first predicted grid flow information and the first predicted grid event quantity information as the final predicted grid flow information and the predicted grid event quantity information; If so, the first predicted raster flow information and the first predicted raster event quantity information are adjusted and re-added to the multiple raster flow information sequences and the multiple raster event quantity information sequences, and an updated correlation analysis is performed until the correlation error is less than or equal to the correlation error threshold, so as to obtain multiple predicted raster flow information and multiple predicted raster event quantity information.
6. The smart city planning and management method based on big data according to claim 1 is characterized in that: According to the multiple passing coefficients, the result safety monitoring planning scheme is adjusted to obtain multiple optimal planning quantities of the multiple road grids after adjustment, including: Obtaining a plurality of result planning quantities within the result safety monitoring planning scheme; According to the multiple passing coefficients, multiple adjustment coefficients are set to obtain, wherein when the passing coefficient is 1, the adjustment coefficient is 0, and when the passing coefficient is not 1, the magnitude of the adjustment coefficient is positively correlated with the magnitude of the passing coefficient; The multiple adjustment coefficients are used to adjust the multiple result planning quantities and perform rounding processing to obtain multiple optimal planning quantities, wherein the adjusted optimal planning quantities are greater than or equal to 1.
