A traffic monitoring system based on intelligent traffic internet of things
By using machine learning to select the optimal route for timeliness and optimize the routes of high-urgent monitoring points, the delay problem of the existing system when facing high-urgent-demand changes is solved, and more efficient route planning and accurate vehicle arrival time are achieved.
Patent Information
- Application Number
- CN202610468387.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-10
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-04-10
AI Technical Summary
Existing route planning systems are unable to effectively identify and reserve time buffers when faced with monitoring points with high urgency and changing demands, leading to temporary route adjustments that cause a chain of delays.
By using a time-matching evaluation model based on machine learning, the optimal route for timeliness matching of historical driving routes is selected, monitoring points with high urgency changes are identified, and routes to be optimized are optimized by comparing arrival time and urgency satisfaction analysis to reserve time buffer.
It improved the accuracy of vehicle arrival times, reduced delays and task backlogs caused by sudden emergencies, and enhanced the overall operational efficiency and route planning accuracy of the driving chain.
Smart Images

Figure CN122050185B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent transportation Internet of Things (IoT) application service technology, specifically a traffic monitoring system based on intelligent transportation IoT. Background Technology
[0002] With the rapid development of intelligent transportation and IoT technologies, traffic monitoring systems (especially logistics vehicle dispatching systems) are placing higher demands on the accuracy and timeliness of route planning. Existing route planning methods are typically based on shortest path algorithms or real-time traffic flow data to plan routes for vehicles from their origin to multiple target monitoring points. These methods primarily focus on reducing the total travel distance or estimated travel time to improve the efficiency of a single transportation task.
[0003] However, in actual vehicle scheduling and route control, especially in complex scenarios where vehicles need to pass through multiple target monitoring points sequentially and undertake task transfers (e.g., logistics vehicles need to unload, hand over, or receive new tasks at specific monitoring points), existing technologies still have the following shortcomings: Most existing route planning systems adopt a uniform planning logic for all monitoring points, failing to effectively identify and distinguish which monitoring points have historically experienced frequent sudden and urgent needs (such as temporarily adding urgent shipments or requiring early delivery). This results in the system being unable to allocate time buffers for monitoring points facing highly urgent and changing needs. Once an emergency occurs, the system often needs to temporarily adjust the route, but such temporary adjustments can easily disrupt the overall driving rhythm and cause chain delays. Summary of the Invention
[0004] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.
[0005] The technical solution adopted by this invention to solve its technical problem is: a traffic monitoring system based on the Internet of Things for intelligent transportation, comprising: Historical monitoring route analysis module: Based on the multiple target monitoring points that the traffic monitoring vehicle needs to monitor, the module obtains historical monitoring routes and trains a time matching evaluation model through machine learning. The model outputs the time matching value of each historical monitoring route based on the actual monitoring arrival time recorded each time the route is executed. The path with the highest time matching value is extracted as the candidate analysis path. Monitoring Point Urgency and Comparison Time Module: Based on historical monitoring data of target monitoring points, analyze the demand for changes in historical monitoring urgency, extract monitoring points with high demand for changes in urgency, and calculate the advance arrival time corresponding to the monitoring points with high demand for changes in urgency based on candidate analysis paths, which is used as the comparison arrival time. Urgency Satisfaction Comparison Module: Obtain the historical monitoring target change time of high urgency change demand monitoring points, compare and analyze the historical monitoring target change time with the comparison arrival time, and identify the satisfaction of urgency processing; The optimization module for extracting routes to be optimized: If the urgency requirement is low, the module extracts the route between the high-urgency-change-demand monitoring point and the upstream monitoring point of the candidate analysis path as the route to be optimized, and performs path control optimization on the route to be optimized.
[0006] As a further technical solution of the present invention: the process of obtaining the time matching evaluation model is as follows: To obtain the multiple target monitoring points that the traffic monitoring vehicles need to cover in the current monitoring task; Obtain historical monitoring routes covering the target monitoring points, and acquire historical monitoring route data; Select a machine learning algorithm to extract input features, including: path features, environmental features, and vehicle features; Using the timeliness matching value of a single historical monitoring route as a label, obtain the timeliness-compliant routes within a preset historical time period; The data corresponding to routes with timeliness within a preset historical time period are divided into training set and test set according to a 7:3 ratio. Set the initial parameters for the random forest model; By using grid search to traverse the number of trees and the maximum tree depth, and taking the mean squared error and mean absolute error of the test set as optimization indicators, the optimal parameter combination is determined. If the performance is satisfactory, a time-matching evaluation model is obtained.
[0007] As a further technical solution of the present invention: the process of obtaining the timeliness matching value is as follows: Calculate the difference between the arrival time of the target and the actual arrival time of each target monitoring point during each execution of the historical monitoring route, and use it as the monitoring time difference; extract routes where the monitoring time difference of multiple target monitoring points is positive, and use them as time-compliant routes; calculate the mean of all monitoring time differences corresponding to the time-compliant routes, and use it as the time difference mean; normalize the time difference mean corresponding to all time-compliant routes to obtain the time-matching value.
[0008] As a further technical solution of the present invention: the process of extracting high monitoring points for changes in urgency is as follows: For any target monitoring point, count the number of times a sudden emergency demand occurs, and calculate the proportion of the number of times a sudden emergency demand occurs to the total number of monitoring times, which is the sudden emergency percentage. If the proportion of sudden emergencies exceeds the threshold, it is marked as a high-level monitoring point for changes in urgency.
[0009] As a further technical solution of the present invention: the process of obtaining the comparison arrival time is as follows: Based on candidate analysis paths, identify monitoring points marked with high urgency changes; Obtain the monitoring time difference of the monitoring points during each historical execution of the candidate analysis path; The average value of all monitoring time differences is calculated and used as the comparison arrival time of the monitoring points.
[0010] As a further technical solution of the present invention: the process of identifying the satisfaction of urgency processing is as follows: Acquire the target achievement time and emergency demand duration corresponding to sudden emergency demands at high urgency monitoring points; The difference between the time to achieve the target and the time of urgent need is calculated to obtain the target change time; The number of monitoring times where the target change time is greater than the comparison arrival time is extracted as the number of times that need optimization. The proportion of the number of times that need optimization to the number of times sudden and urgent needs occur is calculated as the urgency satisfaction level. If the urgency satisfaction level is greater than the satisfaction threshold, then the urgency processing is marked as low.
[0011] As a further technical solution of the present invention: the process of obtaining the route to be optimized is as follows: Extract high-urgency-change-demand monitoring points from candidate analysis paths and use them as anchor points. In the execution order of candidate analysis paths, lock the direct upstream monitoring points of the anchor points. The direct upstream monitoring point refers to the monitoring point that is adjacent to and precedes the anchor point in the path sequence; The continuous road segment between the departure node of the directly upstream monitoring point and the vehicle entry node of the anchor point is defined as the route to be optimized.
[0012] As a further technical solution of the present invention: the process of performing path control optimization on the route to be optimized includes: For any route to be selected, obtain the travel time of the route in each historical execution, calculate the average, and obtain the second average travel time. When a sudden emergency demand occurs at a high-urgency monitoring point, the target change time data is obtained, and the maximum value in the target change time data is extracted as the target change time maximum value. The difference between the first average travel time and the second average travel time is calculated to obtain the travel time that can be arrived earlier. Extract candidate routes that can reach the destination ahead of time with a travel duration greater than the maximum target change time, and use them as monitoring replacement routes.
[0013] As a further technical solution of the present invention: obtain the travel time of the route to be optimized in each historical execution, calculate its average value, and obtain the first average travel time value; From other historical monitoring routes besides the candidate analysis paths, extract road segments with the same start and end points as the route to be optimized, and use them as the routes to be selected.
[0014] As a further technical solution of the present invention: the process of performing path control optimization on the route to be optimized also includes: If there are multiple monitoring replacement routes, calculate the coefficient of variation of the travel time data corresponding to each monitoring replacement route, and select the monitoring replacement route with the smallest coefficient of variation.
[0015] The beneficial effects of this invention are as follows: This invention selects historical travel routes with the smallest difference between the arrival time of the target and the actual arrival time, which means that the accuracy of the arrival time is optimal. When the target monitoring point needs to undertake the task of transferring to other monitoring points, the accurate arrival time can ensure more efficient connection between vehicles and tasks. This avoids the idle capacity of vehicles waiting for tasks due to vehicles arriving too early, and also prevents the backlog of tasks waiting for vehicles due to vehicle delays. By optimizing the timeliness and stability of the basic route, the connection loss of the transfer link is reduced from the source, and the overall operating efficiency of the travel link is improved. This invention identifies monitoring points that frequently experience sudden and urgent needs during historical driving processes, providing targeted targets for subsequent analysis. It also provides time tolerance for these monitoring points during path planning and control, allowing subsequent actions such as urgency satisfaction comparison and route optimization to focus on high-urgency monitoring points rather than generalizing to all monitoring points. This improves analysis efficiency and accuracy. By analyzing these high-urgency monitoring points in advance, subsequent path planning can allocate time buffers specifically for them, reducing the disruption to the overall driving rhythm caused by temporary route adjustments due to sudden and urgent needs. When selecting alternative routes, this invention first reuses historical routes that have been verified by actual driving. Compared with planning a new route from scratch, this can reduce the risk of optimization failure due to unknown road sections, and at the same time reduce the additional resources invested in verifying the feasibility of the new route. When controlling traffic routes, this invention takes into account the problem that existing route planning systems, when dealing with sudden emergency needs, may cause large-scale delays in global driving due to the decision logic of prioritizing single points, which leads to local satisfaction of emergency needs. It can meet the sudden emergency driving needs of high-level monitoring points with changing urgency, as well as the timeliness and compliance requirements of global driving tasks. Attached Figure Description
[0016] The invention will now be further described with reference to the accompanying drawings.
[0017] Figure 1 This is an architecture diagram of a traffic monitoring system based on the Internet of Things for intelligent transportation according to the present invention. Detailed Implementation
[0018] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments. Example 1
[0019] Please see Figure 1 As shown in the figure, a traffic monitoring system based on the Internet of Things for intelligent transportation according to an embodiment of the present invention includes: Historical driving route analysis module: Based on the multiple target monitoring points that the traffic monitoring vehicle needs to travel to, it obtains historical driving routes, trains a time matching evaluation model through machine learning, and outputs the time matching prediction value of each historical driving route based on the corresponding driving arrival time for each execution of the historical driving route. The path with the highest time matching prediction value is extracted as the candidate analysis path; among them, the traffic monitoring vehicles are mainly logistics vehicles. In this module, firstly, the multiple target monitoring points that the traffic monitoring vehicle needs to cover during the current driving task are obtained, including but not limited to: the geographical location of the target monitoring points; Obtain historical driving routes covering the target monitoring points, and acquire historical driving route data, including: Historical driving routes include the execution order of target monitoring points, the road segments traversed, the specific arrival time of the corresponding target monitoring points during actual execution, and the environmental characteristics and vehicle attributes during route execution. Among them, environmental characteristics include, but are not limited to: weather, time of day, and traffic flow; vehicle attributes include, but are not limited to: vehicle type and load capacity. All acquired data are preprocessed, including at least cleaning and removing outliers.
[0020] In this module, the process of training a time-matching evaluation model through machine learning and extracting candidate analysis paths is as follows: Choose a machine learning model, specifically the gradient boosting tree algorithm or the random forest algorithm. This embodiment uses the random forest algorithm as an example; Specifically, based on the preprocessed data, input features are extracted, including: path features, environmental features, and vehicle features; The path features include: the sequence encoding of target monitoring points (such as One-Hot encoding of adjacent point connections), the length of the road segment traversed / speed limit, and the actual distance between adjacent monitoring points; Environmental characteristics include: weather (label encoding is numerical), time period (morning / noon / evening peak hours encoding), and traffic flow (0-10 level congestion index); Vehicle characteristics include: vehicle type (classification code) and load ratio (actual load / maximum load, normalized to 0-1). Using the timeliness matching of a single historical driving route as a label, the difference between the target arrival time and the actual arrival time of each target monitoring point is calculated for each execution of the historical driving route, and this difference is taken as the driving time difference. Routes with positive driving time differences for multiple target monitoring points are extracted as timeliness-compliant routes. The mean of all driving time differences corresponding to the timeliness-compliant routes is calculated as the mean time difference. The mean time difference corresponding to all timeliness-compliant routes is normalized (maximum value minus minimum value normalization) to obtain the timeliness matching value. Among them, the larger the timeliness matching value, the stronger the timeliness matching; The data corresponding to routes with timeliness within a preset historical time period are divided into training set and test set according to a 7:3 ratio. Set the initial parameters for the random forest model, including setting the number of decision trees to 150, the maximum tree depth to 15, and the minimum number of split samples to 20; The optimal parameter combination is determined by using the number of trees traversed in a grid search (100-200) and the maximum tree depth (10-20), with the mean squared error (MSE) and mean absolute error (MAE) of the test set as optimization metrics (the smaller the two, the better). If both the mean squared error (MSE) and the mean absolute error (MAE) are less than or equal to the corresponding standard values, then the performance is satisfied, and the time matching evaluation model is obtained. If the requirements are not met, expand the parameter range of the grid search (e.g., number of trees 50-250, maximum tree depth 8-25), supplement path features (e.g., historical delay rate of road segments), and re-execute training and evaluation until the indicators are met. The obtained time-matching evaluation model is applied to all historical time-matching routes (including the training set and routes outside the preset historical time period). The path characteristics, environmental characteristics, and vehicle characteristics of each time-matching route are input, and the model outputs the corresponding predicted time-matching value. The route with the highest predicted timeliness matching value is extracted as the candidate analysis path.
[0021] The advantages of using machine learning are threefold: First, it corrects random errors and achieves reliable, pattern-driven evaluation. The model can identify the interference of extreme events on historical data (such as abnormal time differences caused by a rainstorm) and correct scores based on the general patterns of similar features, making the selected candidate routes more in line with the stability requirements of normal driving scenarios. Second, it integrates multiple features to achieve accurate ranking. The model transforms scattered features such as driving order, weather, and traffic into comprehensive quantitative scores, optimizing the one-sidedness of directly calculated single indicators. It can distinguish the priority of routes with similar means but large differences in features (e.g., routes passing through off-peak sections score higher, even with the same 4-minute average). Third, it supports dynamic expansion and subsequent optimization. The model's generalization ability can directly evaluate new routes without historical data, and by outputting feature importance (e.g., traffic flow has the highest weight), it provides direction for the precise adjustment of routes to be optimized. At the same time, it can quickly adapt to changes in scenarios through incremental training (e.g., adding expressways, peak-hour shifts), ensuring that the evaluation logic is always synchronized with actual business.
[0022] The purpose of screening candidate analysis routes is to select historical driving routes with the smallest difference between the arrival time of the driving target and the actual arrival time, which means that the accuracy of the arrival time is optimal. This precision can be directly applied to transit scenarios: when a target monitoring point needs to transfer tasks to other monitoring points, accurate arrival time can ensure more efficient connection between vehicles and tasks. This avoids vehicles arriving too early and causing idle capacity while waiting for tasks, and also prevents vehicle delays from causing task backlogs while waiting for vehicles. By optimizing the timeliness and stability of the basic route, the connection loss in transit links can be reduced from the source, thereby improving the overall operational efficiency of the travel chain.
[0023] Monitoring point urgency and comparison time module: Based on the historical driving data of the target monitoring point, analyze the demand for changes in the urgency of historical driving, extract the monitoring points with high demand for changes in urgency, and calculate the advance arrival time corresponding to the monitoring points with high demand for changes in urgency based on the candidate analysis path, as the comparison arrival time. This module acquires historical driving data corresponding to the target monitoring point, including: target arrival time and emergency demand time. For any target monitoring point, count the number of times a sudden emergency demand occurs, and calculate the proportion of the number of times a sudden emergency demand occurs to the total number of trips, which is the sudden emergency percentage. If the proportion of sudden emergencies is greater than the proportion threshold, it indicates that the corresponding target monitoring point has a high demand for changes in urgency and is marked as a monitoring point with a high demand for changes in urgency. If the proportion of sudden emergencies is less than or equal to the proportion threshold, it indicates that the corresponding target monitoring point has a low demand for changes in urgency and is marked as a monitoring point with low demand for changes in urgency. The percentage threshold is set by those skilled in the art based on historical data. The setting process is as follows: based on the statistical distribution of the percentage of sudden emergencies among all target monitoring points, the percentage of sudden emergencies among all historical monitoring points is statistically analyzed to generate a data distribution curve, and an initial threshold is determined (e.g., taking the 75th quantile of the distribution, corresponding to approximately 25% of monitoring points being marked as high demand). The accuracy of the marking results is verified using historical data from the past 3 months (the proportion of points marked as high demand that subsequently experience frequent sudden emergencies). If the accuracy is lower than 80%, the threshold is fine-tuned until the accuracy reaches the target (e.g., ≥85%), and finally the percentage threshold is determined.
[0024] Based on candidate analysis paths, high-urgency monitoring points are marked. The travel time difference between high-urgency monitoring points and candidate analysis paths during each historical execution is obtained and averaged. The calculated average value is used as the comparison arrival time.
[0025] This module identifies monitoring points that frequently experience sudden and urgent needs during historical driving processes, providing targeted targets for subsequent analysis and offering time tolerance for these target monitoring points during path planning and control. This allows subsequent actions such as urgency satisfaction comparison and route optimization to avoid generalizing to all monitoring points. Instead, it focuses on monitoring points with high urgency changes, improving analysis efficiency and accuracy. By analyzing these high urgency changes in monitoring points in advance, time buffers can be reserved for them during subsequent route planning, reducing the problem of disrupting the overall driving rhythm due to temporary route adjustments caused by sudden emergency needs.
[0026] Urgency Satisfaction Comparison Module: Obtains the historical driving target change time of high urgency change demand monitoring points, compares and analyzes them with the comparison arrival time, and identifies the satisfaction of urgency processing; This module acquires high monitoring points for changes in urgency, and obtains the target achievement time and emergency demand time corresponding to the occurrence of sudden emergency demands. The difference between the time to achieve the target and the time of urgent need is calculated to obtain the target change time; Compare the target change time with the comparison arrival time respectively; Extract the number of trips where the target change time is greater than the comparison arrival time, and use this as the number of trips that need optimization. Calculate the proportion of the number of trips that need optimization to the number of trips that have sudden and urgent needs, and use this as the urgency satisfaction level. If the urgency satisfaction level is greater than the satisfaction level threshold, it means that the early arrival time (i.e., comparison arrival time) provided by the candidate analysis path is insufficient in the historical records to meet the earlier delivery time required by the high monitoring point in most sudden emergency situations, so it is marked as low urgency satisfaction. If the urgency satisfaction level is less than or equal to the satisfaction level threshold, it means that the early arrival time of the candidate analysis path is sufficient to meet most of the sudden emergency needs in the history of this monitoring point, and therefore it is marked as high urgency satisfaction.
[0027] The satisfaction threshold is set by those skilled in the art based on historical data from high-level monitoring points of emergency demand changes across the entire dataset. The setting process is as follows: Based on statistical data of all high-level monitoring points of emergency demand changes (number of optimizations required / number of sudden emergency demands), a distribution curve is generated. The data inflection point is used as the core reference. That is, after the satisfaction exceeds this point, the emergency demand non-satisfaction rate and the global travel delay rate will increase significantly, which is in line with the actual emergency response pattern. If the statistics show that 20% is the inflection point in the distribution of emergency satisfaction of all high-demand points, that is, when the emergency satisfaction is ≤20%, 90% of emergency demands can be covered by the existing comparison arrival time, and the global delay rate is only 4%; when the emergency satisfaction is >20%, the emergency demand satisfaction rate drops sharply to 70%, and the global delay rate rises to 9%. Then 20% can be used as the benchmark threshold. The specific value needs to be determined after verification in combination with the distribution characteristics of actual historical data and business constraints.
[0028] This module compares the time requirements in historical emergency scenarios with the actual advance capability of candidate paths to determine whether the timeliness of candidate analysis paths can meet the emergency response needs of monitoring points with high urgency and change requirements. By calculating the difference between the target change time (the amount of delivery time compression caused by sudden emergency needs) and the comparison arrival time (the amount of early delivery that the candidate path can achieve), the proportion of sudden needs that need to be optimized (urgency satisfaction) is statistically analyzed, and satisfaction is marked by combining the satisfaction threshold. If it is marked as high urgency satisfaction, it means that the early arrival time of the candidate path is sufficient to cover the time compression requirements of most sudden emergency needs in history, and the path has high reliability in dealing with similar emergency scenarios in subsequent execution. If it is marked as low satisfaction, it means that the early arrival capability of the candidate path cannot match the time requirements of high frequency sudden emergencies, and there is a risk that the emergency needs cannot be met due to insufficient advance, or even that the route needs to be adjusted temporarily, causing global delays. This provides direction for subsequent optimization, eliminating the need to adjust all candidate paths and focusing only on optimizations with low satisfaction, thus laying the core decision-making basis for balancing local emergency response and overall driving efficiency.
[0029] The optimization module for extracting routes to be optimized: If the urgency handling satisfaction is low, the route between the high urgency change demand monitoring point and the upstream monitoring point of the route is extracted from the candidate analysis path as the route to be optimized, and the route to be optimized is optimized by path control. In this module, based on the urgency level, the satisfaction level is low, and high monitoring points with urgency level changes are extracted from the candidate analysis paths; Using high-demand points with low urgency as anchors, the direct upstream monitoring points (i.e., the points that are adjacent to the high-demand points and executed first in the original path order) are locked in the execution order of the candidate analysis paths. It should be noted that if the high-demand point is the first point of the route, then the vehicle's departure point or the first transfer point will be regarded as a virtual upstream point. The continuous road segment between the exit node of the direct upstream monitoring point and the entry node of the high demand point is defined as the route to be optimized. The travel time of the route to be optimized in each historical execution is obtained and averaged to obtain the first average travel time.
[0030] For the route to be optimized, extract the historical driving routes other than the candidate analysis routes as the remaining historical driving routes; In the remaining historical driving routes, segments with the same start and end points as the route to be optimized are selected as the routes to be chosen. For any given route to choose from; Obtain the historical travel time of each execution of the route to be selected, and average it to obtain the second average travel time. When a sudden emergency demand occurs at a high-urgency monitoring point, the target change time data is obtained, and the maximum value in the target change time data is extracted as the target change time maximum value. The reason for selecting the maximum target change time is to use the most stringent emergency time requirements in history as a benchmark, so that the selected alternative driving routes have adaptability and absolute reliability. The difference between the first average travel time and the second average travel time is calculated to obtain the travel time that can be arrived earlier. Extract alternative routes that can be reached ahead of time with a travel duration greater than the maximum target change time, and use them as alternative routes for driving; It should be noted that if there are multiple alternative routes, the coefficient of variation of the travel time data for each alternative route is calculated, and the alternative route with the smallest coefficient of variation is selected, since the smaller the coefficient of variation, the more stable the travel time. Simply send the alternative driving route to the driver for execution.
[0031] It is worth noting that if there is no alternative route that can reach the destination earlier with a travel time longer than the maximum target change time, then alternative optimization strategies will be activated, including but not limited to: if the overall timeliness allows, shifting the travel order of the directly upstream monitoring points (non-emergency points) to the back to shorten the waiting time of high-demand points.
[0032] When selecting alternative routes, this module first reuses historical routes that have been verified by actual driving. Compared with planning new routes from scratch, this can reduce the risk of optimization failure due to unknown road sections (such as hidden traffic restrictions or sudden congestion points), and at the same time reduce the need to invest additional resources to verify the feasibility of new routes. Instead of reconstructing the entire candidate analysis path, the method extracts road segments with consistent start and end points from historical routes. This approach not only addresses the pain point of insufficient urgency of high-demand points (by screening routes that can exceed the target maximum time) but also ensures the timeliness stability of replacement road segments through the selection criterion of minimum coefficient of variation, thus achieving a balance between local optimization and global efficiency.
[0033] In controlling traffic routes, this implementation takes into account the problem that existing route planning systems, when dealing with sudden emergency needs, may cause large-scale delays in global travel due to the decision-making logic of prioritizing single points, which leads to the partial satisfaction of emergency needs. It can both meet the sudden emergency travel needs of monitoring points with high urgency (by locking high demand points and selecting stable alternative routes based on the maximum target change time, ensuring coverage of the most stringent time compression requirements in history) and meet the timeliness compliance requirements of global travel tasks (optimizing only local road segments with low satisfaction, rather than reconstructing the entire route, and ensuring the stability of alternative road segments through methods such as coefficient of variation screening, avoiding local adjustments from disrupting the timeliness window of non-emergency monitoring points). Example 2
[0034] Based on the same inventive concept as the machine learning-based traffic route control system described in the foregoing embodiments, this application provides a machine learning-based traffic route control method, which specifically includes the following steps: Step S10: Based on the multiple target monitoring points that the traffic monitoring vehicle needs to travel to, obtain historical travel routes, train a time matching evaluation model through machine learning, output the time matching prediction value of each historical travel route based on the corresponding travel arrival time of each historical travel route, and extract the path with the highest time matching prediction value as the candidate analysis path. Step S20: Based on the historical driving data of the target monitoring points, analyze the historical driving urgency change demand, extract the high urgency change demand monitoring points, and calculate the advance arrival time corresponding to the high urgency change demand monitoring points based on the candidate analysis path, as the comparison arrival time. Step S30: Obtain the historical driving target change time of high urgency change monitoring points, compare and analyze them with the comparison arrival time, and identify the sufficiency of urgency handling; Step S40: If the urgency requirement is low, extract the route between the high urgency change monitoring point and the upstream monitoring point in the candidate analysis path as the route to be optimized, and perform path control optimization on the route to be optimized.
[0035] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A traffic monitoring system based on the Internet of Things for intelligent transportation, characterized in that: include: Historical monitoring route analysis module: Based on the multiple target monitoring points that the traffic monitoring vehicle needs to monitor, the module obtains historical monitoring routes and trains a time matching evaluation model through machine learning. The model outputs the time matching value of each historical monitoring route based on the actual monitoring arrival time recorded each time the route is executed. The path with the highest time matching value is extracted as the candidate analysis path. Monitoring Point Urgency and Comparison Time Module: Based on historical monitoring data of target monitoring points, analyze the demand for changes in historical monitoring urgency, extract monitoring points with high demand for changes in urgency, and calculate the advance arrival time corresponding to the monitoring points with high demand for changes in urgency based on candidate analysis paths, which is used as the comparison arrival time. Urgency Satisfaction Comparison Module: Obtain the historical monitoring target change time of high urgency change demand monitoring points, compare and analyze the historical monitoring target change time with the comparison arrival time, and identify the satisfaction of urgency processing; The optimization module for extracting routes to be optimized: If the urgency requirement is low, the route between the high urgency change requirement monitoring point and the upstream monitoring point of the route is extracted from the candidate analysis path and used as the route to be optimized. The route to be optimized is then optimized by path control. The process of obtaining the time matching evaluation model is as follows: To obtain the multiple target monitoring points that the traffic monitoring vehicles need to cover in the current monitoring task; Obtain historical monitoring routes covering the target monitoring points, and acquire historical monitoring route data; Select a machine learning algorithm to extract input features, including: path features, environmental features, and vehicle features; Using the timeliness matching value of a single historical monitoring route as a label, obtain the timeliness-compliant routes within a preset historical time period; The data corresponding to routes with timeliness within a preset historical time period are divided into training set and test set according to a 7:3 ratio. Set the initial parameters for the random forest model; The optimal parameter combination is determined by using the number of trees traversed and the maximum tree depth through grid search, with the mean square error and mean absolute error of the test set as optimization indicators. If the performance is satisfactory, the time-matching evaluation model is obtained. The process for obtaining the timeliness matching value is as follows: Calculate the difference between the arrival time of the target and the actual arrival time of each target monitoring point during each execution of the historical monitoring route, and use it as the monitoring time difference; extract routes where the monitoring time difference of multiple target monitoring points is positive, and use them as time-compliant routes; calculate the mean of all monitoring time differences corresponding to the time-compliant routes, and use it as the time difference mean; normalize the time difference mean corresponding to all time-compliant routes to obtain the time-matching value.
2. The traffic monitoring system based on the Internet of Things for intelligent transportation according to claim 1, characterized in that: The process of extracting high monitoring points for changes in urgency is as follows: For any target monitoring point, count the number of times a sudden emergency demand occurs, and calculate the proportion of the number of times a sudden emergency demand occurs to the total number of monitoring times, which is the sudden emergency percentage. If the proportion of sudden emergencies exceeds the threshold, it is marked as a high-level monitoring point for changes in urgency.
3. The traffic monitoring system based on the Internet of Things for intelligent transportation according to claim 1, characterized in that: The process of obtaining the comparison arrival time is as follows: Based on candidate analysis paths, identify monitoring points marked with high urgency changes; Obtain the monitoring time difference of the monitoring points during each historical execution of the candidate analysis path; The average value of all monitoring time differences is calculated and used as the comparison arrival time of the monitoring points.
4. A traffic monitoring system based on the Internet of Things for intelligent transportation according to claim 1, characterized in that: The process of identifying the satisfaction of urgency processing is as follows: Acquire the target achievement time and emergency demand duration corresponding to sudden emergency demands at high urgency monitoring points; The difference between the time to achieve the target and the time of urgent need is calculated to obtain the target change time; The number of monitoring times where the target change time is greater than the comparison arrival time is extracted as the number of times that need optimization. The proportion of the number of times that need optimization to the number of times sudden and urgent needs occur is calculated as the urgency satisfaction level. If the urgency satisfaction level is greater than the satisfaction threshold, then the urgency processing is marked as low.
5. A traffic monitoring system based on the Internet of Things for intelligent transportation according to claim 1, characterized in that: The process of obtaining the route to be optimized is as follows: Extract high-urgency-change-demand monitoring points from candidate analysis paths and use them as anchor points. In the execution order of candidate analysis paths, lock the direct upstream monitoring points of the anchor points. The direct upstream monitoring point refers to the monitoring point that is adjacent to and precedes the anchor point in the path sequence; The continuous road segment between the departure node of the directly upstream monitoring point and the vehicle entry node of the anchor point is defined as the route to be optimized.
6. A traffic monitoring system based on the Internet of Things for intelligent transportation according to claim 1, characterized in that: The process of performing path control optimization on the route to be optimized includes: For any route to be selected, obtain the travel time of the route in each historical execution, calculate the average, and obtain the second average travel time. When a sudden emergency demand occurs at a high-urgency monitoring point, the target change time data is obtained, and the maximum value in the target change time data is extracted as the target change time maximum value. The difference between the first average travel time and the second average travel time is calculated to obtain the travel time that can be arrived earlier. Extract candidate routes that can reach the destination ahead of time with a travel duration greater than the maximum target change time, and use them as monitoring replacement routes.
7. A traffic monitoring system based on the Internet of Things for intelligent transportation according to claim 1, characterized in that: Obtain the travel time of the route to be optimized in each historical execution, calculate its average, and obtain the first average travel time. From other historical monitoring routes besides the candidate analysis paths, extract road segments with the same start and end points as the route to be optimized, and use them as the routes to be selected.
8. A traffic monitoring system based on the Internet of Things for intelligent transportation according to claim 1, characterized in that: The process of performing path control optimization on the route to be optimized also includes: If there are multiple monitoring replacement routes, calculate the coefficient of variation of the travel time data corresponding to each monitoring replacement route, and select the monitoring replacement route with the smallest coefficient of variation.
Citation Information
Patent Citations
Artificial intelligence-based cargo transportation path planning method for automatic warehouse logistics
CN120297849A
AGV (Automatic Guided Vehicle) scheduling method integrating path planning and traffic control and related equipment
CN121232808A
