Large-piece transportation supervision and early warning method, system and device based on driving trajectory
By preprocessing and identifying abnormal behaviors of real-time trajectory data of large-scale transport vehicles, and conducting spatio-temporal correlation analysis based on environmental perception data, a driving trajectory supervision and early warning architecture is constructed, which solves the problem of insufficient abnormal trajectory detection in large-scale transport in the existing technology. , improving the accuracy and efficiency of regulatory warnings.
Patent Information
- Application Number
- CN202410695403.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The existing technology lacks effective abnormal trajectory detection methods during the transportation of large items, resulting in poor accuracy and efficiency of supervisory warnings. Environmental sensing data is not fully utilized, making it difficult to timely detect and prevent potential safety hazards during transportation.
By obtaining real-time trajectory data of large transport vehicles for pre-processing and segmentation analysis, and combining transportation environment perception data for abnormal behavior identification and spatio-temporal correlation analysis, abnormal trajectory prediction data is generated, and a driving trajectory supervision and early warning architecture is constructed to realize abnormal situations. Timely detection and early warning.
It improves the safety and efficiency of the transportation process, detects potential problems in time, reduces the possibility of accidents, optimizes the transportation process and reduces costs.
Smart Images

Figure CN118278841B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of transportation early warning technology, and in particular to a large-scale transportation supervision and early warning method, system and device based on driving trajectory. Background Art
[0002] The transportation of large-scale goods mainly relies on manual experience and simple logistics management systems, lacking scientific and intelligent supervision methods. With the continuous development of information technology, big data analysis and Internet of Things technology are gradually applied to the field of logistics, providing new ideas and technical support for the supervision of large-scale transportation. In terms of big data analysis, the development of various sensor technologies has provided a wealth of data collection methods for transportation vehicles, such as GPS positioning and vehicle driving status monitoring. These data are processed and mined through cloud computing and big data analysis technology, which can realize real-time monitoring and analysis of the driving trajectory, transportation speed, road conditions and other information of large-scale transportation vehicles, providing more comprehensive and accurate data support for regulatory authorities. Early warning systems based on artificial intelligence are also gradually maturing. Through the analysis of historical data and the training of machine learning algorithms, an early warning model for large-scale transportation safety can be constructed to timely discover safety hazards and abnormal situations in the transportation process, and take corresponding preventive and response measures, thereby improving the safety and efficiency of large-scale transportation. However, current traditional technologies usually lack effective detection methods for abnormal trajectories, resulting in the inability to detect abnormal situations in a timely manner during transportation. At the same time, abnormal behaviors during large-scale transportation are affected by environmental factors, such as traffic congestion, weather changes, etc., but existing technologies often lack full utilization of environmental perception data, resulting in poor accuracy and efficiency of regulatory warnings for abnormal driving. Summary of the invention
[0003] Based on this, it is necessary to provide a large-scale transportation supervision and early warning method, system and device based on driving trajectory to solve at least one of the above technical problems.
[0004] To achieve the above purpose, a large-scale transportation supervision and early warning method based on driving trajectory is provided, and the method comprises the following steps:
[0005] Step S1: Acquire real-time trajectory data of large-scale transport vehicles; perform data preprocessing on the real-time trajectory data of large-scale transport vehicles to generate standard large-scale transport vehicle trajectory data;
[0006] Step S2: segmenting the standard large-cargo transport vehicle trajectory data into large-cargo transport trajectory behavior segments; calculating the trajectory deviation of the large-cargo transport trajectory behavior segments to obtain trajectory deviation data; comparing the driving trajectory deviation data with a preset driving trajectory deviation degree threshold to generate abnormal trajectory segments and normal trajectory segments;
[0007] Step S3: Acquire transportation environment perception data; identify abnormal transportation behaviors of abnormal trajectory segments based on the transportation environment perception data to generate abnormal transportation behavior data; perform abnormal label processing on the abnormal transportation behavior data to generate abnormal transportation trajectory classification labels;
[0008] Step S4: performing spatiotemporal correlation analysis based on the abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; performing abnormal driving trajectory prediction on the spatiotemporal correlation data of abnormal transportation behavior to generate abnormal driving trajectory prediction data;
[0009] Step S5: Perform vehicle information supervision on normal trajectory segments to generate normal trajectory vehicle driving supervision data; perform vehicle warning based on abnormal trajectory segments to generate abnormal trajectory vehicle driving warning data; integrate normal trajectory vehicle driving supervision data and abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision and warning framework; use abnormal driving trajectory prediction data to supervise and push warnings on the driving trajectory supervision and warning framework to perform large-scale transportation supervision and warning operations on the driving trajectory.
[0010] The present invention can ensure the accuracy and consistency of data by preprocessing real-time trajectory data, and provide a reliable data basis for subsequent analysis and processing. By analyzing the trajectory behavior fragments and environmental perception data, abnormal transportation behavior can be identified, and abnormal trajectories can be classified and marked, so as to timely discover potential problems and safety risks. Through spatiotemporal correlation analysis and abnormal driving trajectory prediction, the spatiotemporal characteristics of abnormal behavior can be deeply understood, and the abnormal driving trajectory that occurs can be predicted, providing a basis for formulating corresponding supervision and early warning strategies. By supervising the normal trajectory and giving early warning for the abnormal trajectory, measures can be taken in time to avoid potential safety accidents and ensure the safety and smooth progress of the transportation process. The normal trajectory supervision data and the abnormal trajectory early warning data are integrated to construct a driving trajectory supervision and early warning architecture, which improves the comprehensive supervision and early warning capabilities of the driving trajectory and enhances the effect of transportation safety management. Therefore, the present invention improves the accuracy and efficiency of supervision and early warning through data processing, anomaly detection, environmental perception and spatiotemporal correlation analysis.
[0011] The present invention provides a large-scale transport supervision and early warning device based on a driving trajectory, and the large-scale transport supervision and early warning device based on a driving trajectory comprises:
[0012] GPS positioning devices, Beidou positioning devices, vehicle-mounted sensors, location sensing devices, vehicle-mounted cameras, lidar and ultrasonic sensors;
[0013] and at least one processor;
[0014] A memory and a plurality of sensor modules communicatively connected to the at least one processor, wherein the sensor modules include a Beidou positioning module, a vehicle-mounted sensor module, an environment perception module, and a data acquisition module;
[0015] Among them, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute any of the large-scale transportation supervision and early warning methods based on driving trajectories as described above.
[0016] The present invention also provides a large-scale transport supervision and early warning system based on driving trajectory, which is used to execute the large-scale transport supervision and early warning method based on driving trajectory as described above. The large-scale transport supervision and early warning system based on driving trajectory includes:
[0017] The data processing module is used to obtain the real-time trajectory data of large-scale transport vehicles; perform data preprocessing on the real-time trajectory data of large-scale transport vehicles to generate standard large-scale transport vehicle trajectory data;
[0018] The trajectory segmentation module is used to segment the standard large-scale transport vehicle trajectory data into large-scale transport trajectory segments; calculate the trajectory deviation of the large-scale transport trajectory segments to obtain trajectory deviation data; compare the driving trajectory deviation data with a preset driving trajectory deviation degree threshold to generate abnormal trajectory segments and normal trajectory segments;
[0019] The abnormal behavior recognition module is used to obtain the transport environment perception data; based on the transport environment perception data, the abnormal transport behavior of the abnormal trajectory segment is recognized to generate the abnormal transport behavior data; the abnormal transport behavior data is processed with abnormal labels to generate abnormal transport trajectory classification labels;
[0020] The abnormal trajectory prediction module is used to perform spatiotemporal correlation analysis based on abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; perform abnormal driving trajectory prediction on the spatiotemporal correlation data of abnormal transportation behavior to generate abnormal driving trajectory prediction data;
[0021] The supervision and warning module is used to supervise the vehicle information of normal trajectory segments and generate normal trajectory vehicle driving supervision data; to carry out vehicle warning based on abnormal trajectory segments and generate abnormal trajectory vehicle driving warning data; to integrate the normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision and warning framework; to use the abnormal driving trajectory prediction data to supervise and push warnings to the driving trajectory supervision and warning framework, so as to perform large-scale transportation supervision and warning operations on the driving trajectory.
[0022] The beneficial effect of the present invention is that by acquiring the real-time trajectory data of large-scale transport vehicles and processing and analyzing them, it is possible to realize real-time supervision and abnormal warning of the large-scale transportation process, discover problems in time and take measures. By using the transportation environment perception data to identify abnormal transportation behaviors of abnormal trajectory segments, it is possible to accurately identify abnormal transportation behaviors and help prevent accidents and losses. Through spatiotemporal correlation analysis, the occurrence mechanism and law of abnormal transportation behaviors can be deeply understood, which helps to improve the understanding and response capabilities of abnormal situations. Based on the abnormal transportation behavior data, spatiotemporal correlation analysis is performed, and abnormal driving trajectory prediction data is generated, which can warn potential abnormal situations in advance and effectively reduce the possibility of accidents. The normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data are integrated to form a comprehensive driving trajectory supervision and warning framework, making the supervision work more comprehensive and effective. Through supervision and warning, the safety and efficiency of large-scale transportation can be improved, the safety of goods and personnel can be guaranteed, and the transportation process can be optimized and the cost can be reduced. Therefore, the present invention improves the accuracy and efficiency of supervision and warning through data processing, anomaly detection, environmental perception and spatiotemporal correlation analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of the steps of a large-scale transportation supervision and early warning method based on driving trajectory;
[0024] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;
[0025] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0026] Figure 4 for Figure 3 Detailed implementation steps of step S32;
[0027] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0028] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0029] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0030] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0031] To achieve this, please refer to Figures 1 to 4 A large-scale transportation supervision and early warning method based on driving trajectory, the method comprises the following steps:
[0032] Step S1: Acquire real-time trajectory data of large-scale transport vehicles; perform data preprocessing on the real-time trajectory data of large-scale transport vehicles to generate standard large-scale transport vehicle trajectory data;
[0033] Step S2: segmenting the standard large-cargo transport vehicle trajectory data into large-cargo transport trajectory behavior segments; calculating the trajectory deviation of the large-cargo transport trajectory behavior segments to obtain trajectory deviation data; comparing the driving trajectory deviation data with a preset driving trajectory deviation degree threshold to generate abnormal trajectory segments and normal trajectory segments;
[0034] Step S3: Acquire transportation environment perception data; identify abnormal transportation behaviors of abnormal trajectory segments based on the transportation environment perception data to generate abnormal transportation behavior data; perform abnormal label processing on the abnormal transportation behavior data to generate abnormal transportation trajectory classification labels;
[0035] Step S4: performing spatiotemporal correlation analysis based on the abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; performing abnormal driving trajectory prediction on the spatiotemporal correlation data of abnormal transportation behavior to generate abnormal driving trajectory prediction data;
[0036] Step S5: Perform vehicle information supervision on normal trajectory segments to generate normal trajectory vehicle driving supervision data; perform vehicle warning based on abnormal trajectory segments to generate abnormal trajectory vehicle driving warning data; integrate normal trajectory vehicle driving supervision data and abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision and warning framework; use abnormal driving trajectory prediction data to supervise and push warnings on the driving trajectory supervision and warning framework to perform large-scale transportation supervision and warning operations on the driving trajectory.
[0037] The present invention can ensure the accuracy and consistency of data by preprocessing real-time trajectory data, and provide a reliable data basis for subsequent analysis and processing. By analyzing the trajectory behavior fragments and environmental perception data, abnormal transportation behavior can be identified, and abnormal trajectories can be classified and marked, so as to timely discover potential problems and safety risks. Through spatiotemporal correlation analysis and abnormal driving trajectory prediction, the spatiotemporal characteristics of abnormal behavior can be deeply understood, and the abnormal driving trajectory that occurs can be predicted, providing a basis for formulating corresponding supervision and early warning strategies. By supervising the normal trajectory and giving early warning for the abnormal trajectory, measures can be taken in time to avoid potential safety accidents and ensure the safety and smooth progress of the transportation process. The normal trajectory supervision data and the abnormal trajectory early warning data are integrated to construct a driving trajectory supervision and early warning architecture, which improves the comprehensive supervision and early warning capabilities of the driving trajectory and enhances the effect of transportation safety management. Therefore, the present invention improves the accuracy and efficiency of supervision and early warning through data processing, anomaly detection, environmental perception and spatiotemporal correlation analysis.
[0038] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of a large-scale transportation supervision and early warning method based on a driving trajectory of the present invention. In this example, the large-scale transportation supervision and early warning method based on a driving trajectory includes the following steps:
[0039] Step S1: Acquire real-time trajectory data of large-scale transport vehicles; perform data preprocessing on the real-time trajectory data of large-scale transport vehicles to generate standard large-scale transport vehicle trajectory data;
[0040] In the embodiment of the present invention, the location information and trajectory data of large-scale transport vehicles are collected in real time by using devices such as GPS devices or vehicle-mounted sensors. The transport company or relevant agency establishes a data collection system to ensure timely and accurate acquisition of vehicle trajectory data. The raw data is cleaned and filtered to remove existing errors, abnormalities or incomplete data. The data is time-stamped and calibrated as needed to ensure the consistency and accuracy of the data. The raw data is converted into a unified data format for subsequent processing and analysis. Ensure that the data format meets the standard to facilitate subsequent data preprocessing and analysis. De-noise the trajectory data to filter out noise or abnormal points. Smooth the trajectory data to eliminate jitter or discontinuity in the data and improve the readability and stability of the data. Standardize the format and unit of the trajectory data to ensure the consistency and comparability of the data. Perform spatial correction on the trajectory data as needed to eliminate deviations or errors. The preprocessed standard trajectory data is stored in a database or data warehouse for subsequent analysis and application. Ensure the security and reliability of data storage and management to prevent data loss or leakage.
[0041] Step S2: segmenting the standard large-cargo transport vehicle trajectory data into large-cargo transport trajectory behavior segments; calculating the trajectory deviation of the large-cargo transport trajectory behavior segments to obtain trajectory deviation data; comparing the driving trajectory deviation data with a preset driving trajectory deviation degree threshold to generate abnormal trajectory segments and normal trajectory segments;
[0042] In an embodiment of the present invention, the trajectory data of a standard large-scale transport vehicle is segmented according to a certain time or distance interval to form a continuous transport driving trajectory segment. The trajectory segmentation technology, such as segment clustering, segment cutting and other methods, is used to segment the trajectory data into sub-segments with a certain length. The trajectory deviation is calculated for each transport driving trajectory segment to evaluate the difference between the vehicle driving trajectory and the expected driving trajectory. Common deviation calculation methods include distance deviation, angle deviation, speed deviation, etc., and a suitable calculation method is selected according to the specific situation. The trajectory deviation data is compared with a preset driving trajectory deviation degree threshold to determine whether each trajectory segment is abnormal. An appropriate threshold is set, and the trajectory segment exceeding the threshold is regarded as abnormal, otherwise it is normal. The trajectory segment identified as abnormal is extracted to form an abnormal trajectory segment set. The extraction of abnormal trajectory segments specifically adopts a threshold-based method or a machine learning-based method. The trajectory segment that is not identified as abnormal is extracted to form a normal trajectory segment set. The extraction of normal trajectory segments is a supplement to abnormality detection and helps to fully understand the driving condition of the vehicle.
[0043] Step S3: Acquire transportation environment perception data; identify abnormal transportation behaviors of abnormal trajectory segments based on the transportation environment perception data to generate abnormal transportation behavior data; perform abnormal label processing on the abnormal transportation behavior data to generate abnormal transportation trajectory classification labels;
[0044] In the embodiment of the present invention, by deploying a sensor network or installing an environmental perception device, the environmental factors in the transportation process, such as road conditions, weather conditions, traffic conditions, etc., are monitored in real time. Relevant environmental perception data is obtained by using existing traffic monitoring systems, weather stations, road condition information services and other channels. The abnormal trajectory fragments are associated with the transportation environment perception data to find out the correlation between abnormal behavior and environmental factors. Based on machine learning algorithms, such as classification algorithms and clustering algorithms, abnormal transportation behaviors are identified and classified for abnormal trajectory fragments. The identified abnormal transportation behavior data is labeled to distinguish different types of abnormal behaviors, such as sudden acceleration, sudden braking, speeding, etc. According to the nature and degree of abnormal behavior, corresponding abnormal labels are generated for each abnormal trajectory fragment for subsequent analysis and application. Statistical analysis and visualization of abnormal transportation behavior data are performed to deeply understand the distribution and trend of abnormal behavior and discover potential safety hazards and problem points. Data mining and visualization technology are used to explore the laws and causes behind abnormal behavior, providing reference for the formulation of targeted supervision and preventive measures.
[0045] Step S4: performing spatiotemporal correlation analysis based on the abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; performing abnormal driving trajectory prediction on the spatiotemporal correlation data of abnormal transportation behavior to generate abnormal driving trajectory prediction data;
[0046] In an embodiment of the present invention, the abnormal transportation behavior data is analyzed by associating with spatiotemporal factors, such as time, location, transportation route, etc. Spatiotemporal data mining techniques, such as spatiotemporal clustering, spatiotemporal association rule mining, etc., are used to discover the distribution and association relationship of abnormal transportation behaviors in the spatiotemporal dimension. Based on the identified spatiotemporal association data of abnormal transportation behaviors, machine learning or statistical models are used to predict abnormal driving trajectories. Specifically, time series analysis, regression analysis, neural network and other methods are used to predict trajectories, considering the influence of spatiotemporal factors on trajectories. Historical data are used to train the model, including abnormal transportation behavior data and related spatiotemporal factor data. The model is evaluated using cross-validation and other techniques to ensure the prediction performance and generalization ability of the model. According to the trained prediction model, the current abnormal transportation behavior data is predicted to generate abnormal driving trajectory prediction data. The prediction data specifically includes information such as trajectory path, time point of abnormality, degree of abnormality, etc. The generated abnormal driving trajectory prediction data is stored in a database or data file for subsequent analysis and application.
[0047] Step S5: Perform vehicle information supervision on normal trajectory segments to generate normal trajectory vehicle driving supervision data; perform vehicle warning based on abnormal trajectory segments to generate abnormal trajectory vehicle driving warning data; integrate normal trajectory vehicle driving supervision data and abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision and warning framework; use abnormal driving trajectory prediction data to supervise and push warnings on the driving trajectory supervision and warning framework to perform large-scale transportation supervision and warning operations on the driving trajectory.
[0048] In the embodiment of the present invention, vehicle information supervision is performed on normal trajectory segments, including monitoring and recording of vehicle location, speed, driving time and other information. According to regulatory requirements and standards, normal trajectory vehicle driving supervision data is generated so that the regulatory department can supervise and manage. Vehicle warning is performed based on abnormal trajectory segments to identify vehicles and driving conditions with safety hazards. According to the characteristics and severity of the abnormal trajectory, corresponding abnormal trajectory vehicle driving warning data is generated, including warning information and recommended measures. The normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data are integrated to form a comprehensive driving trajectory supervision and warning framework. Using data integration technology, data from different sources and types are integrated to achieve unified data management and comprehensive analysis. The driving trajectory supervision and warning framework is supervised and warned using abnormal driving trajectory prediction data. Based on the prediction results and regulatory standards, supervision notices, warning alarms or recommended measures are sent to relevant departments or personnel in a timely manner to perform supervision and warning operations for large-scale transportation. A supervision and warning platform is established to integrate data processing, analysis and push functions to realize an automated supervision and warning process. Advanced technical means, such as artificial intelligence and big data analysis, are used to improve the accuracy and efficiency of supervision and warning.
[0049] Preferably, step S1 comprises the following steps:
[0050] Step S11: using sensors to obtain real-time trajectory data of large-scale transport vehicles;
[0051] Step S12: filtering the data noise of the real-time trajectory data of the large-scale transport vehicle to generate the large-scale transport vehicle filtering data;
[0052] Step S13: smoothing the filtered data of large-scale transport vehicles to generate smoothed data of large-scale transport vehicles;
[0053] Step S14: using the Z-score standardization method to standardize the smoothed data of the large-scale transport vehicle to generate standard large-scale transport vehicle trajectory data.
[0054] The present invention provides real-time data support for subsequent supervision and early warning by acquiring the trajectory data of large-scale transport vehicles in real time, which helps to timely discover abnormal situations and safety hazards. Remove noise and outliers in trajectory data, improve data quality and reliability, reduce misjudgments and deviations, and ensure the accuracy of subsequent analysis. Smooth trajectory data, eliminate jitter and discontinuity in the data, make trajectory information clearer and more coherent, and facilitate subsequent analysis and understanding. Standardize the format and unit of trajectory data so that the data has a unified scale and magnitude, facilitate comparison and integration of data from different sources, and improve data comparability and availability.
[0055] In an embodiment of the present invention, by deploying a global positioning system (GPS) sensor or other location sensing device on a large transport vehicle, the location information of the vehicle is collected in real time. The real-time trajectory data is transmitted to a data center or a monitoring center using on-board sensors, wireless communication technology and other equipment. The real-time trajectory data is filtered for noise using filtering algorithms, such as mean filtering, median filtering, etc., to remove outliers and errors. Thresholds or rules are set to exclude abnormal position points or speed points to ensure the accuracy and reliability of the data. Smoothing algorithms, such as moving average method, exponential smoothing method, etc., are applied to smooth the filtered trajectory data to eliminate jitter and fluctuations in the data. It is ensured that the smoothed data maintains the original characteristics and has a certain degree of continuity and stability. The Z-score standardization method is used to standardize the smoothed trajectory data and convert the data into a standard distribution with zero mean and unit standard deviation. It is ensured that the standardized data has a uniform scale and magnitude to facilitate subsequent analysis and comparison.
[0056] Preferably, step S2 comprises the following steps:
[0057] Step S21: segmenting the standard large-scale transport vehicle trajectory data into large-scale transport trajectory behavior segments;
[0058] Step S22: extracting driving features from the large-scale transport trajectory behavior segment to obtain a trajectory segment feature vector, wherein the form feature extraction includes driving speed extraction, acceleration change extraction and turning angle extraction;
[0059] Step S23: using a trajectory deviation calculation formula to calculate the trajectory deviation of the trajectory segment feature vector to obtain trajectory deviation data;
[0060] Step S24: Compare the driving trajectory deviation data with the preset driving trajectory deviation degree threshold. When the driving trajectory deviation degree is greater than or equal to the preset driving trajectory deviation degree threshold, the corresponding trajectory segment feature vector is marked as an abnormal trajectory segment; when the driving trajectory deviation degree is less than the preset driving trajectory deviation degree threshold, the corresponding trajectory segment feature vector is marked as a normal trajectory segment.
[0061] The present invention divides the overall trajectory data into multiple segments, which helps to analyze and process the behavioral characteristics of different driving stages and improve the detection and identification capabilities of abnormal behaviors. By extracting the feature vectors of the trajectory segments, the trajectory behavior can be described more comprehensively, providing a richer data basis for subsequent trajectory deviation calculations and anomaly detection. By calculating the trajectory deviation data, the degree of deviation of the trajectory segments can be quantified, providing a basis for subsequent anomaly identification and early warning. By comparing the trajectory deviation data with the preset deviation degree threshold to determine whether the trajectory segment is abnormal or not, abnormal trajectory segments can be identified in a timely manner, improving the efficiency of abnormal behavior detection and early warning, and ensuring transportation safety.
[0062] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:
[0063] Step S21: segmenting the standard large-scale transport vehicle trajectory data into large-scale transport trajectory behavior segments;
[0064] In an embodiment of the present invention, by determining a data segmentation strategy, segmentation is specifically performed based on a time interval or a distance interval. The time interval is fixed, such as segmenting once every one minute or every five minutes; the distance interval is specifically set according to the actual situation, such as segmenting once every one kilometer or every ten kilometers. The trajectory data of standard large-scale transport vehicles is processed to ensure the consistency and accuracy of the data format. The data needs to be cleaned and preprocessed, including removing duplicate data, repairing missing data, and processing abnormal data. Select a suitable segmentation algorithm to determine how to divide the trajectory data according to the driving characteristics of the vehicle and the distribution of the trajectory data. Common segmentation algorithms include time-based segmentation, distance-based segmentation, and speed-change-based segmentation. According to the selected segmentation strategy and segmentation algorithm, the trajectory data of the standard large-scale transport vehicle is segmented to obtain large-scale transport trajectory behavior segments. Each segment represents the driving condition of the vehicle within a period of time or a distance. The segmented trajectory data is stored in a database or a data file for subsequent analysis and application. Ensure the security and reliability of data storage and management to prevent data loss or leakage.
[0065] Step S22: extracting driving features from the large-scale transport trajectory behavior segment to obtain a trajectory segment feature vector, wherein the form feature extraction includes driving speed extraction, acceleration change extraction and turning angle extraction;
[0066] In an embodiment of the present invention, the average driving speed of the vehicle in each trajectory segment is calculated by using the position information and timestamp in the trajectory data. Specifically, a simple method is used, such as calculating the distance between two consecutive position points and dividing it by the time interval to obtain the average speed. According to the speed information and timestamp in the trajectory data, the acceleration change of the vehicle in each trajectory segment is calculated. Specifically, the acceleration is approximately estimated by calculating the rate of change of the speed, or the acceleration is accurately calculated using methods such as numerical differentiation. Using the position information in the trajectory data, the turning angle of the vehicle in each trajectory segment is calculated. Specifically, vector operations or trigonometric functions are used to calculate the angle of change in the direction of movement of the vehicle, which is used as an estimate of the turning angle. The extracted driving features (such as speed, acceleration change, turning angle, etc.) are combined into a feature vector. Each dimension of the feature vector corresponds to a driving feature, and the values of different features can be normalized to ensure that they have the same dimension and importance.
[0067] Step S23: using a trajectory deviation calculation formula to calculate the trajectory deviation of the trajectory segment feature vector to obtain trajectory deviation data;
[0068] In an embodiment of the present invention, a suitable trajectory deviation calculation formula is selected according to specific needs and application scenarios. The formula is specifically based on the characteristic vector of the trajectory segment for calculation to measure the degree of deviation between the actual trajectory and the ideal trajectory. According to the selected calculation formula, the characteristic vector of the trajectory segment is substituted to calculate the deviation value of the trajectory segment. The deviation value specifically indicates the degree of difference between the trajectory segment and the expected driving trajectory in terms of speed, acceleration change, turning angle, etc. The calculated trajectory deviation value is composed of trajectory deviation data. Each trajectory segment corresponds to a trajectory deviation value, which is used to describe the deviation of the segment from the expected trajectory.
[0069] Step S24: Compare the driving trajectory deviation data with the preset driving trajectory deviation degree threshold. When the driving trajectory deviation degree is greater than or equal to the preset driving trajectory deviation degree threshold, the corresponding trajectory segment feature vector is marked as an abnormal trajectory segment; when the driving trajectory deviation degree is less than the preset driving trajectory deviation degree threshold, the corresponding trajectory segment feature vector is marked as a normal trajectory segment.
[0070] In an embodiment of the present invention, by setting a threshold value of the driving trajectory deviation degree, the threshold value is specifically a pre-set fixed value, and can also be obtained based on historical data or model prediction. The trajectory deviation data obtained in step S23 is compared with the set driving trajectory deviation degree threshold value. If the trajectory deviation data is greater than or equal to the preset threshold value, it means that the trajectory segment is abnormal and should be marked as an abnormal trajectory segment. If the trajectory deviation data is less than the preset threshold value, it means that the trajectory segment is normal and should be marked as a normal trajectory segment. The abnormal trajectory segments and normal trajectory segments marked according to the comparison results are recorded to form a list or data set of abnormal trajectory segments and normal trajectory segments.
[0071] Preferably, the trajectory deviation calculation formula in step S23 is as follows:
[0072] ;
[0073] In the formula, Represented as the first trajectory segment and the second trajectory segment The deviation between Represented as the first trajectory segment at the first time point location, Represented as the second trajectory segment at the first time point location, is the start time of the trajectory segment, is the end time of the trajectory segment, Expressed as the number of features in the trajectory feature vector, It is expressed as a parameter used to adjust the contribution of each feature to the total deviation. It is expressed as a parameter used to adjust the influence of each feature on the total deviation. Represented as the first trajectory segment feature vector Features at the first time point The value of Represented as the first Features at the first time point The value of Expressed as a parameter used to adjust the contribution of the integral term to the total deviation, It is expressed as a parameter used to adjust the influence of the integral term on the total deviation. Represented as the first trajectory segment at the second time point The speed characteristic parameters, Represented as the second trajectory segment at the second time point Speed characteristic parameters.
[0074] The present invention analyzes and integrates a trajectory deviation calculation formula, which describes the deviation calculation method between two trajectory segments. Its main purpose is to measure the similarity or difference between the two trajectory segments. The overall deviation calculation in the formula (the external part of the entire formula): This part includes the comprehensive calculation of the position deviation and speed characteristic deviation between the trajectory segments. The deviation calculation uses the difference in position and speed between the two trajectory segments, and comprehensively measures the difference between the two through weighted summation. The difference in position between the two trajectory segments at each time point is calculated. The difference in each feature is weighed and adjusted so that the impact of different features on the overall deviation can be adjusted. The parameter is used to adjust the contribution of each feature to the total deviation. The parameters are used to adjust the influence of each characteristic on the total deviation. The speed characteristic deviation calculation formula The difference in the velocity characteristics of the two trajectory segments is calculated. This part quantifies the overall difference in the velocity characteristics by integrating the velocity. The parameter is used to adjust the contribution of the integral term to the total deviation. The parameter is used to adjust the degree of influence of the integral term on the total deviation. The overall parameter of the formula , The calculation method of position deviation is controlled, allowing different features to contribute and influence the overall deviation to different degrees. , The calculation method of speed characteristic deviation is controlled to allow different contributions and influences of speed characteristics on the overall deviation. When using the conventional trajectory deviation calculation formula in the field, the first trajectory segment can be obtained and the second trajectory segment By applying the trajectory deviation calculation formula provided by the present invention, the first trajectory segment can be calculated more accurately. and the second trajectory segment The formula comprehensively considers the differences in position and speed characteristics of trajectory segments, and comprehensively considers the overall deviation of the trajectory. This comprehensiveness can more comprehensively describe the similarities or differences between trajectories, providing a more comprehensive basis for comparison. The formula can be applied to different types of trajectory data, including but not limited to motion trajectories, path planning, vehicle trajectories, etc. Its wide applicability allows the formula to be applied to multiple fields, including traffic management, geographic information systems, mobile applications, etc. By quantifying the differences in trajectory segments into numerical values, the formula provides a quantifiable way to compare and evaluate the degree of difference between trajectories, which helps to perform more accurate trajectory matching, classification, or anomaly detection.
[0075] Preferably, step S3 comprises the following steps:
[0076] Step S31: using the vehicle-mounted camera to obtain transportation environment perception data;
[0077] Step S32: identifying abnormal transportation behaviors of abnormal trajectory segments based on the transportation environment perception data, and generating abnormal transportation behavior data;
[0078] Step S33: classifying the abnormal transport behavior data into abnormal patterns to generate abnormal transport pattern classification data;
[0079] Step S34: Perform abnormal label processing on the abnormal transportation mode classification data to generate abnormal transportation trajectory classification labels.
[0080] The present invention uses the transportation environment perception data acquired by the vehicle-mounted camera, and the system can identify and capture abnormal transportation trajectory fragments, which helps to timely discover and identify trajectory fragments with problems or abnormal behaviors. Based on the acquired abnormal trajectory fragments, the system identifies abnormal transportation behaviors. Abnormal behaviors may include vehicle illegal driving, traffic accidents, abnormal road conditions, etc. By identifying these abnormal behaviors, it can help regulatory authorities or corporate managers take timely measures to reduce accident risks. Classifying and summarizing the identified abnormal transportation behavior data to form abnormal transportation mode classification data helps the system further analyze and understand different types of abnormal behaviors, and provide more targeted information for subsequent processing and management. Abnormal label processing is performed on the abnormal transportation mode classification data to generate abnormal transportation trajectory classification labels. The labels can be used to classify and summarize abnormal trajectories, which is convenient for subsequent data analysis and management.
[0081] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:
[0082] Step S31: using the vehicle-mounted camera to obtain transportation environment perception data;
[0083] In an embodiment of the present invention, a camera is installed at a suitable position on the vehicle to ensure that the transportation environment around the vehicle can be effectively captured. Common installation locations include the front, rear, side and interior of the vehicle. Configure the parameters of the camera, such as resolution, frame rate, exposure, etc., to obtain clear and stable images. Ensure that the camera can adapt to different lighting conditions and environmental changes to ensure that reliable data can be obtained under various circumstances. The camera should be able to capture image data of the surrounding environment in real time and transmit it to the processing system, which involves the processing and transmission of the video stream. The efficiency and stability of the transmission must be ensured so that the system can obtain and process data in a timely manner. The image data obtained from the camera is processed and analyzed to extract useful information and features, including tasks such as target detection, vehicle recognition, road sign recognition, pedestrian recognition, etc., to obtain perception data about the transportation environment.
[0084] Step S32: identifying abnormal transportation behaviors of abnormal trajectory segments based on the transportation environment perception data, and generating abnormal transportation behavior data;
[0085] In an embodiment of the present invention, features are extracted from the perception data, and the features are specifically information about vehicles, pedestrians, roads, traffic signs, etc., which are used to describe the characteristics of the environment and transportation behavior. Feature extraction specifically uses traditional computer vision methods, and deep learning techniques such as convolutional neural networks (CNN) may also be used. The extracted features are analyzed using machine learning algorithms or deep learning models to detect abnormal transportation behaviors, involving classification, clustering, anomaly detection and other technologies to distinguish between normal and abnormal behaviors. The identified abnormal behaviors need to be marked for subsequent processing and analysis. The marking is specifically based on information such as timestamps and spatial locations to associate abnormal behaviors with specific trajectory segments.
[0086] Step S33: classifying the abnormal transport behavior data into abnormal patterns to generate abnormal transport pattern classification data;
[0087] In the embodiment of the present invention, features are extracted from abnormal transportation behavior data, and the features are specifically information about behavior type, behavior duration, behavior frequency, behavior time period, etc. The process of feature engineering needs to design and apply different feature extraction methods and techniques according to specific circumstances. Select a suitable abnormal pattern classification algorithm, such as a clustering algorithm, a classification algorithm, etc., to classify abnormal transportation behavior data. Common algorithms include K-means clustering, hierarchical clustering, support vector machine (SVM), decision tree, neural network, etc. Use the selected algorithm to train the model for the prepared features. Model parameter tuning, cross-validation and other steps are required to optimize the performance of the model. Use the trained model to classify the abnormal transportation behavior data and classify it into different abnormal patterns. The classification results include category labels for various abnormal behaviors, as well as the probability or confidence of each category. Evaluate the classification results, including the evaluation of indicators such as accuracy, recall, and precision. Analyze the classification results, explain the characteristics and laws of each abnormal pattern, and provide a reference for the subsequent generation of abnormal trajectory classification labels.
[0088] Step S34: Perform abnormal label processing on the abnormal transportation mode classification data to generate abnormal transportation trajectory classification labels.
[0089] In an embodiment of the present invention, a label or category is assigned to each abnormal mode according to the abnormal transportation mode classification data generated in step S33. The label is specifically pre-defined or dynamically generated according to the specific classification result. The abnormal mode label in the abnormal transportation mode classification data is associated with the original trajectory data so that the abnormal behavior mark is applied to the specific trajectory segment, which involves the matching and association of information such as timestamp or spatial position. According to the associated abnormal mode label, the mark of the abnormal transportation behavior is applied to the corresponding trajectory segment, which is specifically achieved by adding additional attributes or tags to the trajectory data. In the case where there are multiple abnormal mode labels for the same trajectory, label integration and conflict resolution are required, and multiple abnormal labels are merged or selected according to certain priorities or rules.
[0090] Preferably, step S32 includes the following steps:
[0091] Step S321: biometrically marking the transport environment sensing data to generate transport environment biological data;
[0092] Step S322: performing non-biological perception marking on the transport environment perception data to generate transport environment non-biological data;
[0093] Step S323: sensing the position of the transport vehicle for the abnormal trajectory segment to generate transport vehicle position information data; performing a sensing range analysis on the transport vehicle position information data through the transport environment sensing data to generate transport vehicle sensing range data;
[0094] Step S324: using a range intrusion detection formula to perform intrusion detection on the sensing range data of the transport vehicle according to the transport environment biological data and the transport environment non-biological data, and generating a range biological intrusion detection value and a range non-biological intrusion detection value;
[0095] Step S325: marking the range biological invasion detection value with a first abnormal behavior to generate first abnormal transportation behavior data; marking the range non-biological invasion detection value with a second abnormal behavior to generate second abnormal transportation behavior data; integrating the first abnormal transportation behavior data with the second abnormal transportation behavior data to generate abnormal transportation behavior data;
[0096] The range intrusion detection formula is as follows:
[0097] ;
[0098] In the formula, Expressed as a range of intrusion detection values, It represents the upper limit of the detection time. Expressed as biological data weight parameter, Expressed as the number of biological data samples, Expressed as The weight of biological data samples, Expressed as The test results of biological data samples, Expressed as the non-biological data weight parameter, Expressed as the number of non-biological data samples, Expressed as The weight of non-biological data samples, Expressed as The test results of non-biological data samples, Represented as non-linear adjustment parameter for non-biological data.
[0099] The present invention distinguishes and classifies different types of information in the environment by marking the transport environment perception data with biological and non-biological perception data, which helps to more accurately identify abnormal transport behaviors. Combining the biological perception data and non-biological perception data in the environment for abnormal behavior identification can provide more comprehensive information, thereby making the identification of abnormal behavior more accurate and reliable. Combining biological perception data and non-biological perception data for abnormal behavior identification can integrate multi-dimensional information, including biological features (such as pedestrians, animals, etc.) and non-biological features (such as vehicles, road conditions, etc.), which helps to improve the accuracy and robustness of identification. By considering both biological and non-biological perception data, the transport environment can be more comprehensively perceived and understood, so as to better discover and identify abnormal situations and improve the system's ability to perceive the environment. Combining biological and non-biological perception data for abnormal behavior identification can make the system better adapt to various complex traffic and environmental situations, thereby improving the system's ability to respond to diverse scenarios, wherein intrusion detection includes biological perception marking (such as pedestrian identification) and non-biological perception marking (such as obstacle detection) of the transport environment perception data to identify potential threats. When unauthorized entry or potential danger is detected, the system will trigger an early warning mechanism to notify the driver and the supervision platform, thereby preventing potential safety accidents and ensuring the safety of the large-scale transportation process.
[0100] As an example of the present invention, refer to Figure 4 As shown, in this example, step S32 includes:
[0101] Step S321: biometrically marking the transport environment sensing data to generate transport environment biological data;
[0102] In the embodiment of the present invention, sensor devices such as vehicle-mounted cameras are used to obtain transport environment perception data, including video images, radar data, infrared images, etc. The acquired perception data is subjected to biological perception feature extraction, such as human pedestrian detection and animal recognition. The biological perception features specifically include information on morphology, color, motion trajectory, etc. The extracted biological perception features are marked or classified to identify biological information in the perception data, which is specifically achieved through computer vision technologies such as target detection and instance segmentation.
[0103] In the embodiment of the present invention, more importantly, the transport environment perception data is compared with adjacent video frames to obtain the transport environment moving object data; the transport environment moving object data is biometrically sensed and marked to generate the transport environment biological data;
[0104] The transport environment moving object data includes first transport environment moving object data and second transport environment moving object data, and the step of comparing adjacent video frames includes:
[0105] Perform convolution calculation on the current transport environment perception data and the previous frame of transport environment perception data in the transport environment perception data to obtain the current transport environment perception convolution layer data and the previous frame of transport environment perception convolution layer data respectively; perform self-attention weighted calculation on the current transport environment perception convolution layer data and the previous frame of transport environment perception convolution layer data to obtain the current transport environment perception self-attention weighted data and the previous frame of transport environment perception self-attention weighted data respectively; perform clustering calculation on the current transport environment perception self-attention weighted data and the previous frame of transport environment perception self-attention weighted data to obtain the current transport environment perception clustering data and the previous frame of transport environment perception clustering data respectively; perform similarity calculation on the current transport environment perception clustering data and the previous frame of transport environment perception clustering data The method comprises the following steps: performing a structure change calculation based on the transportation environment perception matching data to obtain the transportation environment perception structure change data; performing a structure change calculation based on the transportation environment perception matching data to obtain the transportation environment perception structure change data; and determining the transportation environment perception structure change data corresponding to the transportation environment perception structure change data (i.e., the area data in the transportation environment perception data corresponding to the transportation environment perception structure change data) as the first transportation environment moving object data. The structure change calculation is performed by a structure change calculation formula, and the structure change calculation formula is specifically as follows:
[0106] ;
[0107] To sense structural change data for the transportation environment, To match the perception point order, is the number of matching perception points, Perceive and match data for transportation environment, For the The transportation environment perception matching data corresponding to the Matching perception point data, For the The transportation environment perception matching data corresponding to the Matching perception point data, is a small change term, For the transport environment movement frequency data, is the adjustment factor data;
[0108] Acquire vehicle travel speed data and vehicle travel offset angle data; perform image offset scale calculation according to the vehicle travel speed data, the vehicle travel offset angle data and the frame acquisition parameter data corresponding to the preset transport environment perception data to obtain image offset scale data, wherein the image offset scale data includes image pixel offset data and image pixel deformation data; perform deformation processing on the current transport environment perception data in the transport environment perception data according to the image offset scale data to obtain current transport environment perception deformation data; subtract the current transport environment perception deformation data from the previous frame of transport environment perception data to obtain transport environment perception change data; perform data complexity rate calculation on the transport environment perception change data to obtain transport environment perception change complexity rate data; generate second transport environment moving object data according to the transport environment perception change complexity rate data;
[0109] The data complexity rate calculation is specifically as follows: perform hierarchical clustering calculation on the transport environment perception change data to obtain the transport environment perception hierarchical clustering data; perform segmentation processing on the transport environment perception hierarchical clustering data and the transport environment perception data to obtain the transport environment perception area data; perform data complexity rate calculation on the transport environment perception area data to obtain the transport environment perception change complexity rate data.
[0110] Step S322: performing non-biological perception marking on the transport environment perception data to generate transport environment non-biological data;
[0111] In the embodiment of the present invention, the transport environment perception data including video images, radar data, distance sensor data, etc. are obtained by using on-board cameras, laser radars, ultrasonic sensors and other devices. Non-biological perception features are extracted from the acquired perception data, such as vehicle detection, road recognition, traffic sign detection, etc. Non-biological perception features specifically include information on shape, color, texture, position, etc. The extracted non-biological perception features are marked or classified to identify the non-biological information in the perception data, which is specifically achieved through computer vision technologies such as target detection, image segmentation, and image classification.
[0112] Step S323: sensing the position of the transport vehicle for the abnormal trajectory segment to generate transport vehicle position information data; performing a sensing range analysis on the transport vehicle position information data through the transport environment sensing data to generate transport vehicle sensing range data;
[0113] In an embodiment of the present invention, the trajectory data of the transport vehicle is analyzed by using a corresponding trajectory analysis algorithm or a machine learning model to identify abnormal trajectory segments, such as sudden acceleration, deceleration, irregular routes, etc. For the location of the abnormal trajectory segment, the real-time location of the transport vehicle is sensed using on-board sensors, GPS and other devices to generate corresponding location information data. The transport environment perception data is obtained, which includes road traffic conditions, weather information, road conditions, etc. These data can be obtained through sensors, traffic monitoring systems, weather forecasts and other channels. The location information data of the transport vehicle is associated with the transportation environment perception data to analyze the transportation environment conditions at the location of the abnormal trajectory segment. Based on the transportation environment perception data, the location information data of the transport vehicle is subjected to a perception range analysis, including determining the impact range of the abnormal trajectory segment and the potential danger zone. The results of the perception range analysis are organized into data form to generate the perception range data of the transport vehicle.
[0114] Step S324: using a range intrusion detection formula to perform intrusion detection on the sensing range data of the transport vehicle according to the transport environment biological data and the transport environment non-biological data, and generating a range biological intrusion detection value and a range non-biological intrusion detection value;
[0115] In an embodiment of the present invention, a formula for range intrusion detection is formulated based on biological data and non-biological data. This formula is specifically based on a statistical model, a machine learning algorithm, or an expert experience rule, and is used to evaluate changes in the biological and non-biological environments within the perception range of the transport vehicle, thereby determining whether there is an invasion. The perception range data of the transport vehicle generated in step S323 is used as input, and combined with the biological data and non-biological data obtained in step 1, preparation for invasion detection. According to the formulated range intrusion detection formula, the biological and non-biological data within the perception range of the transport vehicle are calculated to obtain a range biological invasion detection value and a range non-biological invasion detection value. Based on the calculated invasion detection value, it is determined whether there is an invasion. If the range biological invasion detection value or the range non-biological invasion detection value exceeds the set threshold, it is considered that an invasion exists, and a corresponding intrusion alarm or record is generated.
[0116] Step S325: marking the range biological invasion detection value with a first abnormal behavior to generate first abnormal transportation behavior data; marking the range non-biological invasion detection value with a second abnormal behavior to generate second abnormal transportation behavior data; integrating the first abnormal transportation behavior data with the second abnormal transportation behavior data to generate abnormal transportation behavior data;
[0117] In an embodiment of the present invention, an abnormal behavior marking rule is formulated based on a range of biological invasion detection values. This can be a threshold-based method. When the biological invasion detection value exceeds a preset threshold, it is marked as abnormal behavior. In addition, a machine learning algorithm can also be used to analyze the biological invasion detection value to identify abnormal patterns. According to the marked abnormal behavior, the abnormal biological invasion detection value and its related information are integrated into the first abnormal transportation behavior data, including the time, location, type of biological invasion, etc. when the abnormality occurs. Similarly, according to the range of non-biological invasion detection values, an abnormal behavior marking rule is formulated, for example, based on a threshold or a machine learning algorithm. According to the marked abnormal behavior, the abnormal non-biological invasion detection value and its related information are integrated into the second abnormal transportation behavior data, including the time, location, type of non-biological invasion, etc. when the abnormality occurs. The first abnormal transportation behavior data and the second abnormal transportation behavior data are integrated, and they can be merged in chronological order or location to ensure the integrity and consistency of the data.
[0118] The range intrusion detection formula is as follows:
[0119] ;
[0120] In the formula, Expressed as a range of intrusion detection values, It represents the upper limit of the detection time. Expressed as biological data weight parameter, Expressed as the number of biological data samples, Expressed as The weight of biological data samples, Expressed as The test results of biological data samples, Expressed as the non-biological data weight parameter, Expressed as the number of non-biological data samples, Expressed as The weight of non-biological data samples, Expressed as The test results of non-biological data samples, Represented as non-linear adjustment parameter for non-biological data.
[0121] The present invention analyzes and integrates a range intrusion detection formula that combines biological data and non-biological data of the transportation environment and comprehensively considers different types of information. This method of integrating multi-dimensional data can improve the accuracy and reliability of intrusion detection because different types of data can provide complementary information. The parameters in the formula (such as weight parameters and non-linear adjustment parameters) can be adjusted according to specific needs. By adjusting these parameters, the importance of different data types in intrusion detection and the degree of influence on the results can be flexibly adjusted to adapt to different scenarios and needs. The formula considers the data within the detection time range through time integration, not just the data at a single moment. This method of integrating the time range can provide an assessment of the overall intrusion situation over a period of time and a more comprehensive understanding of potential intrusion behaviors. The non-linear adjustment term in the formula ( and ) can make the response of intrusion detection more sensitive and adjustable. Through nonlinear adjustment, the details of data changes and nonlinear relationships can be better captured, and the sensitivity and adaptability of intrusion detection can be improved. When using the conventional range intrusion detection formula in the field, a range intrusion detection value can be obtained. By applying the range intrusion detection formula provided by the present invention, the range intrusion detection value can be calculated more accurately. This complex range intrusion detection formula can improve the accuracy, sensitivity and adaptability of intrusion detection by integrating multi-dimensional data, parameter adjustment capability, integral time range and nonlinear adjustment mechanisms, and help effectively monitor and identify potential transport vehicle intrusion behaviors.
[0122] Preferably, step S4 comprises the following steps:
[0123] Step S41: performing spatiotemporal correlation analysis based on the abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior;
[0124] Step S42: dividing the data set of the spatiotemporal correlation data of abnormal transportation behavior to generate a model training set and a model test set; using the support vector machine algorithm to train the model training set to generate an abnormal driving trajectory training model; using the model test set to perform model optimization iteration on the driving trajectory abnormality training model to generate an abnormal driving trajectory prediction model;
[0125] Step S43: Importing the spatiotemporal correlation data of abnormal transportation behavior into the abnormal driving trajectory anomaly detection model to predict the abnormal driving trajectory and generate abnormal driving trajectory prediction data.
[0126] The present invention can find the distribution law and correlation of abnormal transportation behavior in time and space through spatiotemporal correlation analysis, which is helpful to understand the occurrence mechanism of abnormal behavior more deeply and provide important reference for subsequent model training and prediction. Using the spatiotemporal correlation data of abnormal transportation behavior, the model training set and the test set can be divided to train and test the model. The training set is trained by using algorithms such as support vector machines, and the model is evaluated and optimized by the test set to generate a more accurate abnormal driving trajectory prediction model. The spatiotemporal correlation data of abnormal transportation behavior is imported into the trained abnormal driving trajectory prediction model, which can realize the prediction of abnormal driving trajectory, help to discover potential abnormal trajectories in time, and take measures to avoid accidents or strengthen monitoring. By predicting abnormal driving trajectories, preventive measures can be taken before abnormal driving occurs, reduce the possibility of accidents, help improve transportation safety, reduce accident losses, and protect the safety of people and property. By predicting and timely intervening in abnormal driving trajectories, the efficiency and accuracy of transportation management can be improved, traffic flow can be optimized, and congestion can be reduced.
[0127] In an embodiment of the present invention, the abnormal transportation behavior data is collated, and the data is sorted and organized according to time and space information. Statistical analysis or geographic information system (GIS) technology is used to perform spatiotemporal correlation analysis on the abnormal transportation behavior data, specifically including time series analysis, spatial pattern recognition, heat map generation and other methods to discover the spatiotemporal distribution law and correlation of abnormal behavior. The results of the spatiotemporal correlation analysis are visualized, such as drawing a spatiotemporal distribution map, a heat map, etc., so as to intuitively understand the distribution characteristics of abnormal behavior in time and space. The spatiotemporal correlation data is divided into a model training set and a model test set, usually using methods such as cross-validation or retention. The model training set is trained using a support vector machine (SVM) algorithm. SVM is a supervised learning algorithm suitable for classification and regression tasks. The trained model is evaluated through the model test set, and the model is optimized and iterated according to the evaluation results to improve the accuracy and generalization ability of the model. The spatiotemporal correlation data of abnormal transportation behavior is imported into the trained abnormal driving trajectory anomaly detection model to predict the abnormal driving trajectory. Use the trained model to predict abnormal driving trajectories to identify trajectories with abnormal conditions. Generate abnormal driving trajectory prediction data and perform data visualization or further processing and analysis as needed.
[0128] Preferably, step S5 comprises the following steps:
[0129] Step S51: Perform vehicle information supervision on the normal trajectory segment to generate normal trajectory vehicle driving supervision data;
[0130] Step S52: Perform vehicle warning based on the abnormal trajectory segment and generate abnormal trajectory vehicle driving warning data;
[0131] Step S53: integrating the normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision warning framework;
[0132] Step S54: dynamically adjust the warning rules of the driving trajectory supervision and warning framework using the abnormal driving trajectory prediction data to generate warning rule adjustment data; supervise and push warnings to the driving trajectory supervision and warning framework based on the warning rule adjustment data to perform large-scale transportation supervision and warning operations on the driving trajectory.
[0133] The present invention can establish a benchmark for normal vehicle driving by supervising the normal trajectory. Once an abnormal situation occurs, a warning can be issued in time to improve the supervision effect of vehicle driving safety. The normal trajectory supervision data and the abnormal trajectory warning data are integrated to generate a driving trajectory supervision warning framework. The integration allows the supervisor to comprehensively view the driving conditions of the vehicle in one system, thereby improving the efficiency and accuracy of supervision. The supervision warning framework is dynamically adjusted by using the abnormal driving trajectory prediction data, which means that the system can adjust the warning rules according to real-time data, more flexibly adapt to the supervision needs under different circumstances, and improve the intelligent level of supervision. According to the warning rule adjustment data, the supervision warning framework is supervised and the warning is pushed to perform the large-scale transportation supervision and warning operations of the driving trajectory. The steps ensure that the supervision information can be conveyed to the relevant personnel in time so that they can take necessary actions to ensure the safety and smoothness of the vehicle driving. The specific warning types include: Overload warning: detect whether the vehicle exceeds the specified load. Overspeed warning: monitor the vehicle speed to prevent speeding. Driving trajectory deviation warning: detect whether the vehicle deviates from the predetermined route. Environmental risk warning: based on laser radar and camera data, detect potential risks in the surrounding environment. Intrusion warning: Based on biological and non-biological sensing markers, unauthorized entry and potential threats are identified. These warning types clarify the function and purpose of each warning through a unified description to ensure comprehensive safety monitoring of the large-scale transportation process.
[0134] In an embodiment of the present invention, by collecting vehicle information of normal trajectory segments, including vehicle speed, driving path, driving time, etc., the vehicle driving situation is monitored in real time through the vehicle-mounted device or GPS system. The supervision data is processed and sorted, and stored in a database or data warehouse for subsequent analysis and query. Based on the abnormal trajectory segments, abnormal detection is performed using pre-set rules or machine learning algorithms, such as detecting abnormal situations such as speeding, sudden braking, and deviation from the route, and abnormal trajectory vehicle driving warning data is generated. The warning data is processed, including information such as timestamp, vehicle ID, and abnormal type, and stored in a database or data warehouse. The normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data are integrated to form a driving trajectory supervision and warning architecture, integrating supervision and warning functions. The data structure and process of the supervision and warning architecture are designed to ensure the consistency and integrity of the data. The abnormal driving trajectory prediction data is used to dynamically adjust the warning rules in the driving trajectory supervision and warning architecture, including adjusting the weight of the warning rules according to the abnormal probability output by the model. According to the abnormal probability output by the prediction model, warning rule adjustment data is generated, including information such as abnormal type and warning threshold. Adjust data according to the warning rules, supervise and push warnings to the driving trajectory supervision and warning architecture, such as sending warning information to relevant departments, triggering monitoring equipment for real-time monitoring, etc.
[0135] The present invention provides a large-scale transport supervision and early warning device based on a driving trajectory, and the large-scale transport supervision and early warning device based on a driving trajectory comprises:
[0136] GPS positioning devices, Beidou positioning devices, vehicle-mounted sensors, location sensing devices, vehicle-mounted cameras, lidar and ultrasonic sensors;
[0137] and at least one processor;
[0138] A memory and a plurality of sensor modules communicatively connected to the at least one processor, wherein the sensor modules include a Beidou positioning module, a vehicle-mounted sensor module, an environment perception module, and a data acquisition module;
[0139] Among them, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute any of the large-scale transportation supervision and early warning methods based on driving trajectories as described above.
[0140] The present invention also provides a large-scale transport supervision and early warning system based on driving trajectory, which is used to execute the large-scale transport supervision and early warning method based on driving trajectory as described above. The large-scale transport supervision and early warning system based on driving trajectory includes:
[0141] The data processing module is used to obtain the real-time trajectory data of large-scale transport vehicles; perform data preprocessing on the real-time trajectory data of large-scale transport vehicles to generate standard large-scale transport vehicle trajectory data;
[0142] The trajectory segmentation module is used to segment the standard large-scale transport vehicle trajectory data into large-scale transport trajectory segments; calculate the trajectory deviation of the large-scale transport trajectory segments to obtain trajectory deviation data; compare the driving trajectory deviation data with a preset driving trajectory deviation degree threshold to generate abnormal trajectory segments and normal trajectory segments;
[0143] The abnormal behavior recognition module is used to obtain the transport environment perception data; based on the transport environment perception data, the abnormal transport behavior of the abnormal trajectory segment is recognized to generate the abnormal transport behavior data; the abnormal transport behavior data is processed with abnormal labels to generate abnormal transport trajectory classification labels;
[0144] The abnormal trajectory prediction module is used to perform spatiotemporal correlation analysis based on abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; perform abnormal driving trajectory prediction on the spatiotemporal correlation data of abnormal transportation behavior to generate abnormal driving trajectory prediction data;
[0145] The supervision and warning module is used to supervise the vehicle information of normal trajectory segments and generate normal trajectory vehicle driving supervision data; to carry out vehicle warning based on abnormal trajectory segments and generate abnormal trajectory vehicle driving warning data; to integrate the normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision and warning framework; to use the abnormal driving trajectory prediction data to supervise and push warnings to the driving trajectory supervision and warning framework, so as to perform large-scale transportation supervision and warning operations on the driving trajectory.
[0146] The beneficial effect of the present invention is that by acquiring the real-time trajectory data of large-scale transport vehicles and processing and analyzing them, it is possible to realize real-time supervision and abnormal warning of the large-scale transportation process, discover problems in time and take measures. By using the transportation environment perception data to identify abnormal transportation behaviors of abnormal trajectory segments, it is possible to accurately identify abnormal transportation behaviors and help prevent accidents and losses. Through spatiotemporal correlation analysis, the occurrence mechanism and law of abnormal transportation behaviors can be deeply understood, which helps to improve the understanding and response capabilities of abnormal situations. Based on the abnormal transportation behavior data, spatiotemporal correlation analysis is performed, and abnormal driving trajectory prediction data is generated, which can warn potential abnormal situations in advance and effectively reduce the possibility of accidents. The normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data are integrated to form a comprehensive driving trajectory supervision and warning framework, making the supervision work more comprehensive and effective. Through supervision and warning, the safety and efficiency of large-scale transportation can be improved, the safety of goods and personnel can be guaranteed, and the transportation process can be optimized and the cost can be reduced. Therefore, the present invention improves the accuracy and efficiency of supervision and warning through data processing, anomaly detection, environmental perception and spatiotemporal correlation analysis.
[0147] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0148] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A large-scale transportation supervision and early warning method based on driving trajectory, characterized in that: The following steps are involved: Step S1: Obtaining real-time trajectory data of large-scale transport vehicles; Preprocess the real-time trajectory data of large-scale transport vehicles to generate standard large-scale transport vehicle trajectory data; Step S2: segmenting the standard large-scale transport vehicle trajectory data into transport driving trajectory segments to obtain large-scale transport trajectory behavior segments; calculating the trajectory deviation of the large-scale transport trajectory behavior segments to obtain trajectory deviation data; Comparing the driving trajectory deviation data with a preset driving trajectory deviation degree threshold to generate abnormal trajectory segments and normal trajectory segments; Step S3 includes: Step S31: using the vehicle-mounted camera to obtain transportation environment perception data; Step S32 includes: Step S321: biometrically marking the transport environment sensing data to generate transport environment biological data; Step S322: performing non-biological perception marking on the transport environment perception data to generate transport environment non-biological data; Step S323: sensing the position of the transport vehicle for the abnormal trajectory segment to generate transport vehicle position information data; performing a sensing range analysis on the transport vehicle position information data through the transport environment sensing data to generate transport vehicle sensing range data; Step S324: using a range intrusion detection formula to perform intrusion detection on the sensing range data of the transport vehicle according to the transport environment biological data and the transport environment non-biological data, and generating a range biological intrusion detection value and a range non-biological intrusion detection value; Step S325: marking the range biological invasion detection value with a first abnormal behavior to generate first abnormal transportation behavior data; marking the range non-biological invasion detection value with a second abnormal behavior to generate second abnormal transportation behavior data; integrating the first abnormal transportation behavior data with the second abnormal transportation behavior data to generate abnormal transportation behavior data; The range intrusion detection formula is as follows: ; In the formula, Expressed as a range of intrusion detection values, It represents the upper limit of the detection time. Expressed as biological data weight parameter, Expressed as the number of biological data samples, Expressed as The weight of biological data samples, Expressed as The test results of biological data samples, Expressed as the non-biological data weight parameter, Expressed as the number of non-biological data samples, Expressed as The weight of non-biological data samples, Expressed as The test results of non-biological data samples, It is expressed as a non-linear adjustment parameter for non-biological data; Step S33: classifying the abnormal transport behavior data into abnormal patterns to generate abnormal transport pattern classification data; Step S34: performing abnormal label processing on the abnormal transportation mode classification data to generate abnormal transportation trajectory classification labels; Step S4: performing spatiotemporal correlation analysis based on the abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; performing abnormal driving trajectory prediction on the spatiotemporal correlation data of abnormal transportation behavior to generate abnormal driving trajectory prediction data; Step S5: Perform vehicle information supervision on normal trajectory segments to generate normal trajectory vehicle driving supervision data; perform vehicle warning based on abnormal trajectory segments to generate abnormal trajectory vehicle driving warning data; integrate normal trajectory vehicle driving supervision data and abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision and warning framework; use abnormal driving trajectory prediction data to supervise and push warnings on the driving trajectory supervision and warning framework to perform large-scale transportation supervision and warning operations on the driving trajectory.
2. The large-scale transportation supervision and early warning method based on driving trajectory according to claim 1 is characterized in that: Step S1 includes the following steps: Step S11: using sensors to obtain real-time trajectory data of large-scale transport vehicles; Step S12: filtering the data noise of the real-time trajectory data of the large-scale transport vehicle to generate the large-scale transport vehicle filtering data; Step S13: smoothing the filtered data of large-scale transport vehicles to generate smoothed data of large-scale transport vehicles; Step S14: using the Z-score standardization method to standardize the smoothed data of the large-scale transport vehicle to generate standard large-scale transport vehicle trajectory data.
3. The large-scale transportation supervision and early warning method based on driving trajectory according to claim 1 is characterized in that: Step S2 includes the following steps: Step S21: segmenting the standard large-scale transport vehicle trajectory data into large-scale transport trajectory behavior segments; Step S22: extracting driving features from the large-scale transport trajectory behavior segment to obtain a trajectory segment feature vector, wherein the form feature extraction includes driving speed extraction, acceleration change extraction and turning angle extraction; Step S23: using a trajectory deviation calculation formula to calculate the trajectory deviation of the trajectory segment feature vector to obtain trajectory deviation data; Step S24: Compare the driving trajectory deviation data with the preset driving trajectory deviation degree threshold. When the driving trajectory deviation degree is greater than or equal to the preset driving trajectory deviation degree threshold, the corresponding trajectory segment feature vector is marked as an abnormal trajectory segment; when the driving trajectory deviation degree is less than the preset driving trajectory deviation degree threshold, the corresponding trajectory segment feature vector is marked as a normal trajectory segment.
4. The large-scale transportation supervision and early warning method based on driving trajectory according to claim 3 is characterized in that: The trajectory deviation calculation formula in step S23 is as follows: ; In the formula, Represented as the first trajectory segment and the second trajectory segment The deviation between Represented as the first trajectory segment at the first time point location, Represented as the second trajectory segment at the first time point location, is the start time of the trajectory segment, Represents the end time of the trajectory segment, Expressed as the number of features in the trajectory feature vector, It is expressed as a parameter used to adjust the contribution of each feature to the total deviation. It is expressed as a parameter used to adjust the influence of each feature on the total deviation. Represented as the first trajectory segment feature vector Features at the first time point The value of Represented as the first Features at the first time point The value of Expressed as a parameter used to adjust the contribution of the integral term to the total deviation, It is expressed as a parameter used to adjust the influence of the integral term on the total deviation. Represented as the first trajectory segment at the second time point The speed characteristic parameters, Represented as the second trajectory segment at the second time point Speed characteristic parameters.
5. The large-scale transportation supervision and early warning method based on driving trajectory according to claim 1 is characterized in that: Step S4 includes the following steps: Step S41: performing spatiotemporal correlation analysis based on the abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; Step S42: dividing the data set of the spatiotemporal correlation data of abnormal transportation behavior to generate a model training set and a model test set; using the support vector machine algorithm to train the model training set to generate an abnormal driving trajectory training model; using the model test set to perform model optimization iteration on the driving trajectory abnormality training model to generate an abnormal driving trajectory prediction model; Step S43: Importing the spatiotemporal correlation data of abnormal transportation behavior into the abnormal driving trajectory anomaly detection model to predict the abnormal driving trajectory and generate abnormal driving trajectory prediction data.
6. The large-scale transportation supervision and early warning method based on driving trajectory according to claim 5 is characterized in that: Step S5 includes the following steps: Step S51: Perform vehicle information supervision on the normal trajectory segment to generate normal trajectory vehicle driving supervision data; Step S52: Perform vehicle warning based on the abnormal trajectory segment and generate abnormal trajectory vehicle driving warning data; Step S53: integrating the normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision warning framework; Step S54: dynamically adjust the warning rules of the driving trajectory supervision and warning framework using the abnormal driving trajectory prediction data to generate warning rule adjustment data; supervise and push warnings to the driving trajectory supervision and warning framework based on the warning rule adjustment data to perform large-scale transportation supervision and warning operations on the driving trajectory.
7. A large-scale transportation supervision and early warning device based on driving trajectory, characterized in that: The large-scale transportation supervision and early warning device based on the driving trajectory includes: GPS positioning devices, Beidou positioning devices, vehicle-mounted sensors, location sensing devices, vehicle-mounted cameras, lidar and ultrasonic sensors; and at least one processor; A memory and a plurality of sensor modules communicatively connected to the at least one processor, wherein the sensor modules include a Beidou positioning module, a vehicle-mounted sensor module, an environment perception module, and a data acquisition module; In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a large-scale transportation supervision and early warning method based on driving trajectory as described in any one of claims 1-6.
8. A large-scale transportation supervision and early warning system based on driving trajectory, characterized in that: Used to execute the large-scale transportation supervision and early warning method based on driving trajectory as claimed in claim 1, the large-scale transportation supervision and early warning system based on driving trajectory includes: The data processing module is used to obtain the real-time trajectory data of large-scale transport vehicles; perform data preprocessing on the real-time trajectory data of large-scale transport vehicles to generate standard large-scale transport vehicle trajectory data; The trajectory segmentation module is used to segment the standard large-scale transport vehicle trajectory data into large-scale transport trajectory segments; calculate the trajectory deviation of the large-scale transport trajectory segments to obtain trajectory deviation data; compare the driving trajectory deviation data with a preset driving trajectory deviation degree threshold to generate abnormal trajectory segments and normal trajectory segments; The abnormal behavior recognition module is used to obtain the transport environment perception data by using the vehicle camera; perform biological perception marking on the transport environment perception data to generate the transport environment biological data; perform non-biological perception marking on the transport environment perception data to generate the transport environment non-biological data; perform transport vehicle position perception on the abnormal trajectory segment to generate the transport vehicle position information data; perform perception range analysis on the transport vehicle position information data through the transport environment perception data to generate the transport vehicle perception range data; perform intrusion detection on the transport vehicle perception range data according to the transport environment biological data and the transport environment non-biological data using the range intrusion detection formula to generate the range biological intrusion detection value and the range non-biological intrusion detection value; perform the first abnormal behavior marking on the range biological intrusion detection value to generate the first abnormal transport behavior data; perform the second abnormal behavior marking on the range non-biological intrusion detection value to generate the second abnormal transport behavior data; perform data integration on the first abnormal transport behavior data and the second abnormal transport behavior data to generate the abnormal transport behavior data; wherein the range intrusion detection formula is as follows: ; In the formula, Expressed as a range of intrusion detection values, It represents the upper limit of the detection time. Expressed as biological data weight parameter, Expressed as the number of biological data samples, Expressed as The weight of biological data samples, Expressed as The test results of biological data samples, Expressed as the non-biological data weight parameter, Expressed as the number of non-biological data samples, Expressed as The weight of non-biological data samples, Expressed as The test results of non-biological data samples, It is expressed as a non-linear adjustment parameter for non-biological data; Perform abnormal mode classification on abnormal transportation behavior data to generate abnormal transportation mode classification data; perform abnormal label processing on abnormal transportation mode classification data to generate abnormal transportation trajectory classification labels; The abnormal trajectory prediction module is used to perform spatiotemporal correlation analysis based on abnormal transportation behavior data to generate spatiotemporal correlation data of abnormal transportation behavior; perform abnormal driving trajectory prediction on the spatiotemporal correlation data of abnormal transportation behavior to generate abnormal driving trajectory prediction data; The supervision and warning module is used to supervise the vehicle information of normal trajectory segments and generate normal trajectory vehicle driving supervision data; to carry out vehicle warning based on abnormal trajectory segments and generate abnormal trajectory vehicle driving warning data; to integrate the normal trajectory vehicle driving supervision data and the abnormal trajectory vehicle driving warning data to generate a driving trajectory supervision and warning framework; to use the abnormal driving trajectory prediction data to supervise and push warnings to the driving trajectory supervision and warning framework, so as to perform large-scale transportation supervision and warning operations on the driving trajectory.
