A vehicle group travel time abnormal value filtering system and filtering method

By preprocessing the traffic stop data and determining the statistical time window in the vehicle group travel time outlier filtering system, and using a statistical method to filter the vehicle group travel time outliers, the problem of vehicle group travel in the existing technology is solved. The problem of poor time outlier filtering effect is achieved, and accurate filtering of urban road vehicle travel time is achieved.

CN117133117BActive Publication Date: 2024-08-23SOUTH CHINA UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311002516.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-09
Publication Date
2024-08-23
Estimated Expiration
2043-08-09

AI Technical Summary

Technical Problem

Existing vehicle group travel time outlier filtering methods are difficult to achieve comprehensive and accurate results on urban roads because vehicle travel times do not obey a normal distribution and outliers caused by parking activities are difficult to effectively filter.

Method used

A vehicle group travel time outlier filtering system is designed, including a traffic stop data preprocessing module, a vehicle group travel time acquisition module, a statistical time window determination module and a vehicle group travel time outlier filtering module. By filtering the traffic stop data Preprocessing is performed to calculate the road section travel time, determine the statistical time window based on the traffic time distribution characteristics, and use statistics-based methods to filter travel time outliers.

Benefits of technology

It achieves comprehensive and accurate filtering of vehicle group travel time, provides reliable data basis, and provides accurate data support for urban traffic research.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117133117B
    Figure CN117133117B
Patent Text Reader

Abstract

A vehicle group travel time abnormal value filtering system and filtering method, the present invention relates to a vehicle group travel time abnormal value filtering system and filtering method. The purpose of the present invention is to solve the problem that the traditional abnormal value filtering method is difficult to obtain comprehensive and accurate vehicle group travel time. The process is: 1. Preprocess the traffic checkpoint data to obtain the preprocessed traffic checkpoint data; 2. Process the preprocessed traffic checkpoint data to obtain the travel chain of each vehicle, and then extract the time difference between adjacent intersections in the travel chain of each vehicle; 3. Statistic the flow time distribution of the traffic checkpoint data throughout the day, and set the statistical time window according to the flow time distribution characteristics of the whole day; 4. Filter the vehicle group travel time abnormal values ​​to obtain the travel time sample set of all time windows. The present invention is used in the field of checkpoint data information recognition of traffic big data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of checkpoint data information recognition of traffic big data, and specifically relates to a vehicle group travel time abnormal value filtering system and a filtering method, which are mainly used for vehicle group travel time abnormal value filtering in urban road networks. Background Art

[0002] With the rapid development of intelligent transportation systems, traffic monitoring systems have become more mature. Traffic checkpoint data collected using video detection technology and license plate recognition technology contains travel time information for all vehicles passing through. How to extract accurate vehicle group travel time from it is one of the keys to analyzing urban travel characteristics. It is of great significance to study the travel patterns of urban vehicles and can provide complete and accurate data basis for urban construction, management and control.

[0003] Traffic checkpoint data has the advantages of mature collection methods, low additional costs, high data accuracy, and wide application range. These data contain a lot of traffic information, including vehicle travel time and other information. The travel time of all passing vehicles can be calculated through the checkpoint data, but due to the influence of various factors such as environment, equipment, and vehicle parking activities, there are often many outliers in the travel time data. The existing outlier filtering methods often assume that the travel time obeys a unimodal normal distribution, and then use the mean and standard deviation to filter the travel time outliers. However, the vehicle travel time on urban roads often does not obey the normal distribution, and due to the large number of parking activities, large outliers will appear. Filtering only by the mean and standard deviation often cannot achieve a good filtering effect. Therefore, a method is needed to effectively filter the outliers of the vehicle group travel time. Summary of the invention

[0004] The purpose of the present invention is to solve the problem that the traditional outlier filtering method is difficult to obtain comprehensive and accurate vehicle group travel time, and to propose a vehicle group travel time outlier filtering system and filtering method.

[0005] A vehicle group travel time outlier filtering system comprises:

[0006] Traffic checkpoint data preprocessing module, vehicle group travel time acquisition module, statistical time window determination module, vehicle group travel time abnormal value filtering module;

[0007] The traffic checkpoint data preprocessing module is used to perform data preprocessing on the traffic checkpoint data, obtain the preprocessed traffic checkpoint data, and send the preprocessed traffic checkpoint data to the vehicle group travel time acquisition module;

[0008] The traffic checkpoint data is the data of passing vehicles captured in real time at urban intersections, including the vehicle's license plate number, license plate type, capture time, and capture location;

[0009] The license plate type represents the vehicle type;

[0010] The capture time represents the time when the vehicle passes through the intersection;

[0011] The capture location represents the location of the intersection;

[0012] The vehicle group travel time acquisition module is used to obtain the travel chain of each vehicle based on the pre-processed traffic checkpoint data, and then extract the time difference between adjacent intersections in the travel chain of each vehicle, and send the time difference between adjacent intersections to the vehicle group travel time abnormal value filtering module;

[0013] The statistical time window determination module is used to count the flow time distribution of the whole day according to the traffic checkpoint data, set the statistical time window according to the flow time distribution characteristics of the whole day, and send the statistical time window to the vehicle group travel time abnormal value filtering module;

[0014] The vehicle group travel time abnormal value filtering module is used to filter the vehicle group travel time abnormal values ​​to obtain the travel time sample sets of all time windows.

[0015] A filtering method of a vehicle group travel time abnormal value filtering system has the following specific processes:

[0016] Step 1: preprocess the traffic checkpoint data using a traffic checkpoint data preprocessing module to obtain preprocessed traffic checkpoint data;

[0017] The traffic checkpoint data is the data of passing vehicles captured in real time at urban intersections, including the vehicle's license plate number, license plate type, capture time, and capture location;

[0018] The license plate type represents the vehicle type;

[0019] The capture time represents the time when the vehicle passes through the intersection;

[0020] The capture location represents the location of the intersection;

[0021] Step 2: Use the vehicle group travel time acquisition module to process the pre-processed traffic checkpoint data to obtain the travel chain of each vehicle, and then extract the time difference between adjacent intersections in the travel chain of each vehicle;

[0022] Step 3: Use the statistical time window determination module to calculate the flow time distribution of traffic checkpoint data throughout the day, and set the statistical time window according to the flow time distribution characteristics throughout the day;

[0023] Step 4: Use the vehicle group travel time outlier filtering module to filter out the vehicle group travel time outliers to obtain the travel time sample set of all time windows.

[0024] The beneficial effects of the present invention are:

[0025] Based on large-scale traffic checkpoint data, the present invention proposes an improved vehicle group travel time outlier filtering method to solve the problem that the existing traditional outlier filtering method or other means cannot obtain accurate vehicle group travel time. The present invention first pre-processes the traffic checkpoint data to calculate the section travel time, then determines the statistical time window according to the time distribution characteristics of the traffic flow, and then uses a statistical method to filter the travel time outliers to obtain comprehensive and accurate vehicle group travel time data, providing a reliable data basis for urban traffic related research. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of the present invention;

[0027] Figure 2 It is the distribution diagram of travel time data;

[0028] Figure 3 The figure is a comparison chart of the filtering effects of different methods on travel time outliers, where (a) is the filtering effect of the method proposed in the present invention on travel time outliers, (b), (c), and (d) are the filtering effects of three methods based on K-Means clustering, DBSCAN clustering, and hierarchical clustering method, respectively. DETAILED DESCRIPTION

[0029] Specific implementation method 1: In this implementation method, a vehicle group travel time abnormal value filtering system includes:

[0030] The purpose of the present invention is to solve the problem that traditional outlier filtering is difficult to obtain comprehensive and accurate vehicle group travel time, and an improved vehicle group travel time outlier filtering method is proposed. The present invention first pre-processes the traffic checkpoint data to calculate the road section travel time, then determines the statistical time window according to the time distribution characteristics of the traffic flow, and then uses a statistical method to filter the travel time outliers to obtain valid travel time data.

[0031] Traffic checkpoint data preprocessing module, vehicle group travel time acquisition module, statistical time window determination module, vehicle group travel time abnormal value filtering module;

[0032] The traffic checkpoint data preprocessing module is used to perform data preprocessing on the traffic checkpoint data, obtain the preprocessed traffic checkpoint data, and send the preprocessed traffic checkpoint data to the vehicle group travel time acquisition module;

[0033] The traffic checkpoint data is the data of passing vehicles captured in real time by the electronic police system installed at the city intersection, mainly including the vehicle license plate number, license plate type, capture time, and capture location;

[0034] The license plate type represents the vehicle type;

[0035] The capture time represents the time when the vehicle passes through the intersection;

[0036] The capture location represents the location of the intersection;

[0037] The vehicle group travel time acquisition module is used to obtain the travel chain of each vehicle based on the pre-processed traffic checkpoint data, and then extract the time difference between adjacent intersections in the travel chain of each vehicle, and send the time difference between adjacent intersections to the vehicle group travel time abnormal value filtering module;

[0038] The statistical time window determination module is used to count the traffic time distribution of the whole day according to the traffic checkpoint data, set the statistical time window according to the traffic time distribution characteristics of the whole day, ensure that there are enough vehicle group travel time samples in each time window, and send the statistical time window to the vehicle group travel time abnormal value filtering module;

[0039] According to the traffic time distribution characteristics of this embodiment, the statistical time windows T w Set the statistical time window T to 30 minutes, 7:00-22:00 w Set to 5 minutes, that is, one day is divided into 198 time windows.

[0040] The vehicle group travel time abnormal value filtering module is used to filter the vehicle group travel time abnormal values ​​to obtain the travel time sample sets of all time windows.

[0041] Specific implementation method 2: In this implementation method, a filtering method of a vehicle group travel time abnormal value filtering system has the following specific process:

[0042] Step 1: preprocess the traffic checkpoint data using a traffic checkpoint data preprocessing module to obtain preprocessed traffic checkpoint data;

[0043] The traffic checkpoint data is the data of passing vehicles captured in real time by the electronic police system installed at the city intersection, mainly including the vehicle license plate number, license plate type, capture time, and capture location;

[0044] The license plate type represents the vehicle type;

[0045] The capture time represents the time when the vehicle passes through the intersection;

[0046] The capture location represents the location of the intersection;

[0047] Step 2: Use the vehicle group travel time acquisition module to process the pre-processed traffic checkpoint data to obtain the travel chain of each vehicle, and then extract the time difference between adjacent intersections in the travel chain of each vehicle;

[0048] Step 3: Utilize the statistical time window determination module to calculate the traffic flow time distribution of the traffic checkpoint data throughout the day, set the statistical time window according to the traffic flow time distribution characteristics throughout the day, and ensure that there are enough vehicle group travel time samples in each time window; according to the traffic flow time distribution characteristics of this embodiment, the statistical time windows T from 00:00 to 7:00 in the morning and from 22:00 to 24:00 in the evening are set. w Set the statistical time window T to 30 minutes, 7:00-22:00 w Set to 5 minutes, that is, one day is divided into 198 time windows.

[0049] Step 4: Use the vehicle group travel time outlier filtering module to filter out the vehicle group travel time outliers to obtain the travel time sample set of all time windows.

[0050] The other steps and parameters are the same as those in the first embodiment.

[0051] Specific implementation method three: This implementation method is different from specific implementation methods one or two in that: in step one, the traffic checkpoint data preprocessing module is used to preprocess the traffic checkpoint data to obtain the preprocessed traffic checkpoint data; the specific process is:

[0052] Step 11: According to the license plate number character length limit and the condition that illegal characters are not allowed, the missing and erroneous data are directly deleted and step 12 is executed;

[0053] Step 1 and 2: After the traffic checkpoint data are sorted in ascending order according to the license plate number and the capture time, if the license plate number and the capture location of the adjacent data are the same and the capture time interval is less than the set threshold, that is, if equations (1)-(3) are satisfied at the same time, it is judged to be redundant data, and all the data are traversed, the redundant data is deleted, and only the first valid data is retained;

[0054] ID l =ID l+1 (1)

[0055] Sid l =Sid l+1 (2)

[0056] t l+1 -t l <λ(3)

[0057] Where, ID lis the license plate number of the lth row of data (each row of data includes: license plate number, intersection number, capture time, license plate type), ID l+1 is the license plate number of the l+1th row of data, Sid l is the intersection number of the data in row l, Sid l+1 is the intersection number of the l+1th row of data, t l is the capture time of the lth row of data, t l+1 is the capture time of the l+1th row of data, and λ is the time interval threshold.

[0058] First, the traffic checkpoint data involved in the present invention is analyzed. The traffic checkpoint data is the data captured in real time by the electronic police system installed at the intersection, which mainly includes the license plate number, license plate type, capture time, and capture location. The meaning of each field is shown in Table 1.

[0059] Table 1 Main fields of traffic checkpoint data

[0060]

[0061] Due to the limitation of the sampling rate of the equipment and the interference of factors such as climate environment and unlicensed vehicles, there is a certain amount of data noise in the original collected traffic checkpoint data. Through preliminary research and analysis of the data, the original traffic checkpoint data has the following three problems, as shown in Table 2. The data may be abnormal due to reasons such as license plate obstruction, unlicensed vehicles, bad weather or vehicle lane changes. The abnormal situations are mainly divided into data missing, data error and data redundancy.

[0062] Table 2 Abnormal situations of traffic checkpoints

[0063]

[0064] The other steps and parameters are the same as those in the second specific implementation manner.

[0065] Specific implementation method 4: This implementation method is different from specific implementation method 2 or 3 in that: in step 2, the pre-processed traffic checkpoint data is processed by using the vehicle group travel time acquisition module to obtain the travel chain of each vehicle, and then the time difference between adjacent intersections in the travel chain of each vehicle is extracted; the specific method is as follows:

[0066] Based on the pre-processed traffic checkpoint data, the data is sorted according to the license plate number and the capture time to obtain the travel chain of each vehicle, and then the time difference t between adjacent intersections in each vehicle travel chain is extracted. ij , which is the travel time;

[0067] t ij =t j -t i (4)

[0068] Where, t j For intersection Sid j The capture time, t i For intersection Sid i The capture time.

[0069] In this embodiment, the travel time between two intersections is taken as an example. The length of the road section is about 376.54 m. A total of 11,335 travel time samples are calculated and counted. The travel time data is as follows: Figure 2 shown.

[0070] The other steps and parameters are the same as those in the second or third embodiment.

[0071] Specific implementation method 5: This implementation method is different from any one of specific implementation methods 2 to 4 in that: in step 4, the vehicle group travel time abnormal value filtering module is used to filter the vehicle group travel time abnormal value to obtain the travel time sample set of all time windows; the specific process is:

[0072] Step 4: Extract the travel time sample sets in different time windows, and set the travel time sample set in the i-th time window as TT wi , the jth travel time in the travel time sample set in the i-th time window is TT wij ;

[0073] Step 42: Based on the logarithm of the travel time in the travel time sample set, the mean of the logarithm of the travel time sample set and the standard deviation of the logarithm of the travel time sample set, filter out the data beyond the mean of the logarithm of the travel time sample set by 2 times the standard deviation to obtain the updated travel time sample set TT wi 1 ;

[0074] Step 4. TT wi 1 Arrange the travel times in ascending order and calculate the median travel time TT wi 1 The median value is divided into upper and lower parts, respectively denoted as TT wi 1u , TT wi 1d , the number of travel time samples in these two parts is recorded as n;

[0075] Step 4. Calculate TT separately wi 1u TT wi 1d The average Euclidean distance from the median value D wi 1u , D wi1d , filtering based on the average Euclidean distance, and obtaining the further updated travel time sample set TT wi 2 ;

[0076] Step 45: Repeat step 41 to step 44 until the number of travel time samples no longer changes, and finally obtain the travel time sample set TT of all time windows. w .

[0077] The other steps and parameters are the same as those in Specific Embodiments 2 to 4 to 1.

[0078] Specific implementation method 6: This implementation method is different from specific implementation methods 2 to 5 in that: in step 42, based on the logarithm of the travel time in the travel time sample set, the mean of the logarithm of the travel time sample set and the standard deviation of the logarithm of the travel time sample set, the data outside the mean of the logarithm of the travel time sample set is filtered out to obtain the updated travel time sample set TT wi 1 ; The specific process is:

[0079] Calculate the travel time sample set TT in the i-th time window wi The logarithm of the j-th travel time lnTT wij , the mean of the logarithm of the travel time sample set (lnTT wi ) mean and the standard deviation of the logarithm of the travel time sample set

[0080] Filter out the mean of the logarithm of the travel time sample set (lnTT wi ) mean 2 times standard deviation The updated travel time sample set TT is obtained by adding the data other than wi 1 ,Right now

[0081]

[0082] The other steps and parameters are the same as those in Specific Embodiments 2 to 5 to 1.

[0083] Specific implementation method 7: This implementation method is different from any one of the specific implementation methods 2 to 6 in that: in step 43, TT wi 1 Arrange the travel times in ascending order and calculate the median travel time TT wi 1 The median value is divided into upper and lower parts, respectively denoted as TT wi 1u , TT wi1d , the number of travel time samples in these two parts is recorded as n; the specific process is:

[0084]

[0085] In the formula, Indicates rounding down; j indicates the sample number of travel time.

[0086] The other steps and parameters are the same as those in Specific Embodiments 2 to 6 to 1.

[0087] Specific implementation eight: This implementation differs from any one of specific implementations two to seven in that: in step four four, TT is calculated respectively wi 1u TT wi 1d The average Euclidean distance from the median value D wi 1u , D wi 1d , filtering based on the average Euclidean distance, and obtaining the further updated travel time sample set TT wi 2 ; The specific process is:

[0088]

[0089]

[0090]

[0091]

[0092] In the formula, λ j is the range coefficient, k is a constant, TT wij′ 1u is the j′th travel time in the upper half of the i-th time window, TT wij″ 1d is the j″th travel time in the lower half of the i-th time window.

[0093] The other steps and parameters are the same as those in Specific Embodiments 2 to 7 to 1.

[0094] The following examples are used to verify the beneficial effects of the present invention:

[0095] Embodiment 1:

[0096] Reference will now be made in detail to embodiments of the invention, examples of which are illustrated in the accompanying drawings.

[0097] An improved vehicle group travel time outlier filtering method provided in this embodiment includes the following steps:

[0098] 1. Traffic checkpoint data preprocessing

[0099] 1) First, the traffic checkpoint data involved in the present invention is analyzed. The traffic checkpoint data is the data captured in real time by the electronic police system installed at the intersection, mainly including the license plate number, license plate type, capture time, and capture location. The meaning of each field is shown in Table 1.

[0100] Table 1 Main fields of traffic checkpoint data

[0101]

[0102] 2) Due to the limitation of the sampling rate of the equipment and the interference of factors such as climate environment and unlicensed vehicles, there is a certain amount of data noise in the original collected traffic checkpoint data. Through preliminary research and analysis of the data, the original traffic checkpoint data has the following three problems, as shown in Table 2. The data may be abnormal due to reasons such as license plate obstruction, unlicensed vehicles, bad weather or vehicle lane changes. The abnormal situations are mainly divided into data missing, data error and data redundancy.

[0103] Table 2 Abnormal situations of traffic checkpoints

[0104]

[0105] The processing process is as follows:

[0106] Step 11: According to the license plate number character length limit and the condition that illegal characters are not allowed, the missing and erroneous data are directly deleted;

[0107] Step 1 and 2: After the traffic checkpoint data are sorted in ascending order according to the license plate number and the capture time, if the license plate number and the capture location of the adjacent data are the same and the capture time interval is less than the set threshold, that is, if equations (1)-(3) are satisfied at the same time, it is judged to be redundant data, and all the data are traversed, the redundant data is deleted, and only the first valid data is retained;

[0108] ID l =ID l+1 (1)

[0109] Sid l =Sid l+1 (2)

[0110] t l+1 -t l <λ(3)

[0111] Where, ID l The license plate number of the lth row of data, ID l+1 is the license plate number of the l+1th row of data, Sid lis the intersection number of the data in the first row, Sid l+1 is the intersection number of the l+1th row of data, t l is the capture time of the lth row of data, t l+1 is the capture time of the l+1th row of data, λ is the time interval threshold, which is 10s in this embodiment.

[0112] By processing the original traffic checkpoint data, deleting missing and erroneous data, and identifying and deleting redundant data, we can take the traffic checkpoint data of a certain day as an example. The original data contains 1,378,883 records. After filtering out unlicensed vehicles, license plates containing incorrect characters, and duplicate data, 1,227,222 records remain, and the proportion of valid data accounts for 89% of the total data.

[0113] Step 2: Calculate the travel time of the vehicle group; the specific method is as follows:

[0114] Based on the pre-processed traffic checkpoint data, the data is sorted according to the license plate number and the capture time to obtain the travel chain of each vehicle, and then the time difference t between adjacent intersections in each vehicle travel chain is extracted. ij , which is the travel time;

[0115] t ij =t j -t i (4)

[0116] Where, t j For intersection Sid j The capture time, t i For intersection Sid i The capture time.

[0117] In this embodiment, the travel time between two intersections is taken as an example. The length of the road section is about 376.54 m. A total of 11,335 travel time samples are calculated and counted. The travel time data is as follows: Figure 2 shown.

[0118] Step 3: Determine the statistical time window;

[0119] According to the traffic time distribution characteristics of this embodiment, the statistical time windows T w Set the statistical time window T to 30 minutes, 7:00-22:00 w Set to 5 minutes, that is, one day is divided into 198 time windows.

[0120] According to the traffic time distribution characteristics of this embodiment, the statistical time windows T wSet the statistical time window T to 30 minutes, 7:00-22:00 w Set to 5 minutes, that is, one day is divided into 198 time windows.

[0121] Step 4: Filter outliers in vehicle group travel time

[0122] Follow the following algorithm steps to filter outliers in vehicle group travel time.

[0123] Step 4: Extract the travel time sample sets under different time windows. The travel time sample set in the i-th time window is set as TT wi , the jth travel time in the travel time sample set within the i-th time window is TT wij ;

[0124] Step 42: Based on the logarithm of the travel time in the travel time sample set, the mean of the logarithm of the travel time sample set and the standard deviation of the logarithm of the travel time sample set, filter out the data beyond the mean of the logarithm of the travel time sample set by 2 times the standard deviation to obtain the updated travel time sample set TT wi 1 ; The specific process is:

[0125] Calculate the travel time sample set TT in the i-th time window wi The logarithm of the j-th travel time lnTT wij , the mean of the logarithm of the travel time sample set (lnTT wi ) mean and the standard deviation of the logarithm of the travel time sample set

[0126] Filter out the mean of the logarithm of the travel time sample set (lnTT wi ) mean 2 times standard deviation The updated travel time sample set TT is obtained by adding the data other than wi 1 ,Right now

[0127]

[0128] Step 4. TT wi 1 Arrange the travel times in ascending order and calculate the median travel time TT wi 1 The median value is divided into upper and lower parts, respectively denoted as TT wi 1u , TT wi 1d , the number of travel time samples in these two parts is recorded as n;

[0129]

[0130] In the formula, represents rounding down; j represents the travel time sample number;

[0131] Step 4. Calculate the average Euclidean distance D between the upper and lower parts and the median value respectively wi 1u , D wi 1d , filtering based on the average Euclidean distance, and obtaining a further updated travel time sample set TT wi 2 ;

[0132]

[0133]

[0134]

[0135]

[0136] In the formula, λ j is the range coefficient, k is a constant, ranging from 7 to 9, TT wij′ 1u is the j′th travel time in the upper half of the i-th time window, TT wij″ 1d is the j″th travel time in the lower half of the i-th time window;

[0137] Step 45: Repeat step 41 to step 44 until the number of travel time samples no longer changes, and finally obtain the travel time sample set TT of all time windows. w .

[0138] like Figure 3 As shown, Figure 3 (a) shows the effect of filtering outliers in travel time proposed by the present invention. Figure 3 (b) Figure 3 (c) Figure 3 (d) shows the filtering effects of the three methods based on K-Means clustering, DBSCAN clustering, and hierarchical clustering. The extracted effective travel time is statistically analyzed, and its average maximum, average minimum, average range, average value, and average standard deviation are calculated, and the results are shown in Table 3. From the average maximum, average minimum, and average value of the effective travel time, it can be seen that the method of the present invention and the DBSCAN clustering method are more realistic for the extracted effective travel time, but the average range and average standard deviation of the method of the present invention are smaller, indicating that the extracted effective travel time is more concentrated and can better reflect the travel time fluctuations in each time period.

[0139] Table 3 Comparison of different methods for extracting effective travel time

[0140]

[0141] The present invention may also have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art may make various corresponding changes and modifications based on the present invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the present invention.

Claims

1. A filtering method of a vehicle group travel time outlier filtering system, the system comprising: Traffic checkpoint data preprocessing module, vehicle group travel time acquisition module, statistical time window determination module, vehicle group travel time abnormal value filtering module; The traffic checkpoint data preprocessing module is used to perform data preprocessing on the traffic checkpoint data, obtain the preprocessed traffic checkpoint data, and send the preprocessed traffic checkpoint data to the vehicle group travel time acquisition module; The traffic checkpoint data is the data of passing vehicles captured in real time at urban intersections, including the vehicle's license plate number, license plate type, capture time, and capture location; The license plate type represents the vehicle type; The capture time represents the time when the vehicle passes through the intersection; The capture location represents the location of the intersection; The vehicle group travel time acquisition module is used to obtain the travel chain of each vehicle based on the pre-processed traffic checkpoint data, and then extract the time difference between adjacent intersections in the travel chain of each vehicle, and send the time difference between adjacent intersections to the vehicle group travel time abnormal value filtering module; The statistical time window determination module is used to count the flow time distribution of the whole day according to the traffic checkpoint data, set the statistical time window according to the flow time distribution characteristics of the whole day, and send the statistical time window to the vehicle group travel time abnormal value filtering module; The vehicle group travel time outlier filtering module is used to filter the vehicle group travel time outliers to obtain the travel time sample sets of all time windows; It is characterized in that: the specific process of the method is: Step 1: preprocess the traffic checkpoint data using a traffic checkpoint data preprocessing module to obtain preprocessed traffic checkpoint data; The traffic checkpoint data is the data of passing vehicles captured in real time at urban intersections, including the vehicle's license plate number, license plate type, capture time, and capture location; The license plate type represents the vehicle type; The capture time represents the time when the vehicle passes through the intersection; The capture location represents the location of the intersection; Step 2: Use the vehicle group travel time acquisition module to process the pre-processed traffic checkpoint data to obtain the travel chain of each vehicle, and then extract the time difference between adjacent intersections in the travel chain of each vehicle; Step 3: Use the statistical time window determination module to calculate the flow time distribution of traffic checkpoint data throughout the day, and set the statistical time window according to the flow time distribution characteristics throughout the day; Step 4: Filter outliers of vehicle group travel time using a vehicle group travel time outlier filtering module to obtain a travel time sample set of all time windows; In the step 1, the traffic checkpoint data preprocessing module is used to preprocess the traffic checkpoint data to obtain the preprocessed traffic checkpoint data; the specific process is: Step 11: According to the license plate number character length limit and the condition that illegal characters are not allowed, the missing and erroneous data are directly deleted and step 12 is executed; Step 1 and 2: After the traffic checkpoint data are sorted in ascending order according to the license plate number and the capture time, if the license plate number and the capture location of the adjacent data are the same and the capture time interval is less than the set threshold, that is, if equations (1)-(3) are satisfied at the same time, it is judged to be redundant data, and all the data are traversed, the redundant data is deleted, and only the first valid data is retained; ID l ID l+1 (1) Sid l =Sid l+1 (2) t l+1 -t l <λ (3) Where, ID l The license plate number of the lth row of data, ID l+1 is the license plate number of the l+1th row of data, Sid l is the intersection number of the data in row l, Sid l+1 is the intersection number of the l+1th row of data, t l is the capture time of the lth row of data, t l+1 is the capture time of the l+1th row of data, λ is the time interval threshold; In the step 2, the vehicle group travel time acquisition module is used to process the pre-processed traffic checkpoint data to obtain the travel chain of each vehicle, and then the time difference between adjacent intersections in the travel chain of each vehicle is extracted; the specific method is as follows: Based on the pre-processed traffic checkpoint data, the data is sorted according to the license plate number and the capture time to obtain the travel chain of each vehicle, and then the time difference t between adjacent intersections in each vehicle travel chain is extracted. ij , which is the travel time; t ij =t j -t i (4) Where, t j For intersection Sid j The capture time, t i For intersection Sid i The capture time; In the step 4, the vehicle group travel time abnormal value filtering module is used to filter the vehicle group travel time abnormal value to obtain the travel time sample set of all time windows; the specific process is: Step 4: Extract the travel time sample sets in different time windows, and set the travel time sample set in the i-th time window as TT wi , the jth travel time in the travel time sample set in the i-th time window is TT wij ; Step 42: Based on the logarithm of the travel time in the travel time sample set, the mean of the logarithm of the travel time sample set and the standard deviation of the logarithm of the travel time sample set, filter out the data beyond the mean of the logarithm of the travel time sample set by 2 times the standard deviation to obtain the updated travel time sample set TT wi 1 ; Step 4. TT wi 1 Arrange the travel times in ascending order and calculate the median travel time TT wi 1 The median value is divided into upper and lower parts, respectively denoted as TT wi 1u , TT wi 1d , the number of travel time samples in these two parts is recorded as n; Step 4. Calculate TT separately wi 1u TT wi 1d The average Euclidean distance from the median value D wi 1u , D wi 1d , filtering based on the average Euclidean distance, and obtaining the further updated travel time sample set TT wi 2 ; Step 45: Repeat step 41 to step 44 until the number of travel time samples no longer changes, and finally obtain the travel time sample set TT of all time windows. w .

2. The filtering method of the vehicle group travel time abnormal value filtering system according to claim 1, characterized in that: In the step 42, based on the logarithm of the travel time in the travel time sample set, the mean of the logarithm of the travel time sample set and the standard deviation of the logarithm of the travel time sample set, the data outside the mean of the logarithm of the travel time sample set is filtered out to obtain the updated travel time sample set TT. wi 1 ; The specific process is: Calculate the travel time sample set TT in the i-th time window wi The logarithm of the j-th travel time lnTT wij , the mean of the logarithm of the travel time sample set (lnTT wi ) mean and the standard deviation of the logarithm of the travel time sample set Filter out the mean of the logarithm of the travel time sample set (lnTT wi ) mean 2 times standard deviation The updated travel time sample set TT is obtained by adding the data other than wi 1 ,Right now 3. The filtering method of the vehicle group travel time abnormal value filtering system according to claim 2, characterized in that: In step 43, TT wi 1 Arrange the travel times in ascending order and calculate the median travel time TT wi 1 The median value is divided into upper and lower parts, respectively denoted as TT wi 1u , TT wi 1d , the number of travel time samples in these two parts is recorded as n; the specific process is: In the formula, Indicates rounding down; j indicates the sample number of travel time.

4. The filtering method of the vehicle group travel time abnormal value filtering system according to claim 3, characterized in that: In the step 44, TT is calculated respectively. wi 1u TT wi 1d The average Euclidean distance from the median value D wi 1u , D wi 1d , filtering based on the average Euclidean distance, and obtaining the further updated travel time sample set TT wi 2 ; The specific process is: In the formula, λ j is the range coefficient, k is a constant, TT wij′ 1u is the j′th travel time in the upper half of the i-th time window, TT wij″ 1d is the j″th travel time in the lower half of the i-th time window.

Citation Information

Patent Citations

  • Method and system for detecting road traffic anomaly

    CN110164132A

  • Method and device for identifying abnormal behavior of vehicle

    WO2017157119A1