Method, device and storage medium for detecting vehicle driving behavior based on driving trajectory
By selecting track points from the vehicle's transportation trajectory, dividing and sorting, the compliance of the vehicle's driving behavior is judged, which solves the problem of inaccurate judgment in the existing technology and improves the accuracy and safety of transportation.
Patent Information
- Application Number
- CN202410827239.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-25
AI Technical Summary
The compliance judgment of vehicle driving behavior in the existing technology is inaccurate, resulting in delays in cargo transportation, and the installation and maintenance costs of monitoring equipment are high, and it is difficult to accurately judge driver compliance after the equipment is damaged or lost.
By selecting multiple trajectory points from the transportation trajectory of the vehicle to be detected, dividing them into trajectory clue groups, and sorting the time points in the trajectory clue group to determine the generation of driving events and evidence trajectory points, and determine whether the vehicle's driving behavior is compliant.
It improves the accuracy of judging the compliance of vehicle driving behavior, reduces the installation and maintenance costs of monitoring equipment, and ensures the timeliness and safety of cargo transportation.
Smart Images

Figure CN118396506B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle safety detection, and in particular to a method, device and storage medium for detecting vehicle driving behavior based on a vehicle trajectory. Background Art
[0002] Drivers drive vehicles to deliver goods to the destination, but due to the lack of effective supervision methods, many drivers often have problems such as fatigue driving, speeding, driving at night, and staying in a certain place without reason in order to complete the cargo transportation task quickly, which leads to delays in cargo transportation.
[0003] In the prior art, in order to ensure the safe transportation of goods and timely delivery to the destination, monitoring equipment is generally installed to monitor the driving behavior of the vehicle in real time. However, in order to monitor the driving behavior of the vehicle in this way, the monitoring equipment needs to be installed before transportation, and the monitoring equipment needs to be removed and returned after arriving at the destination, which requires high costs. If the monitoring equipment is lost or damaged during transportation, the subsequent judgment on the compliance of vehicle driving will be inaccurate, and it will be difficult to promptly remind the driver to deliver the goods at the scheduled time and place, resulting in delays in the transportation of goods. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device and storage medium for detecting vehicle driving behavior based on driving trajectory, so as to solve the problem of inaccurate compliance judgment of vehicle driving in the prior art.
[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for detecting vehicle driving behavior based on driving trajectory, comprising:
[0006] Select one of the multiple undelivered delivery orders corresponding to the vehicle to be inspected as the delivery order to be processed;
[0007] Obtaining the transportation track of the shipping order to be processed, the transportation track includes multiple track points that the vehicle to be detected has passed from the start of transportation to the current transportation time;
[0008] Select N trajectory points to be analyzed from multiple trajectory points, where N is a natural number;
[0009] When the value of N is greater than or equal to a preset value, the N trajectory points to be analyzed are divided into a plurality of trajectory clue groups, each trajectory clue group is composed of the trajectory points to be analyzed at any two adjacent time points;
[0010] The processing order of all trajectory clue groups is sorted according to the trajectory point to be analyzed with the earliest or latest transportation time in each trajectory clue group, and the trajectory clue group with the earlier transportation time belongs to the trajectory point to be analyzed with the earlier transportation time.
[0011] The trajectory clue group that ranks first in the processing order is used as the current clue group;
[0012] Determine a first attribute feature of the current clue group according to the first trajectory data of the trajectory point to be analyzed in the current clue group;
[0013] When it is determined according to the first trajectory data or the first attribute feature that any generation condition of the first type of driving event is met, determining the state of the first type of driving event as a generated state, and determining the first type of driving event in the generated state as a first event to be triggered;
[0014] Determine the to-be-analyzed trajectory point corresponding to the earliest time in the current clue group as the first evidence trajectory point of the first to-be-triggered event;
[0015] Determine the to-be-analyzed trajectory point corresponding to the latest time in the current clue group as the second evidence trajectory point of the first to-be-triggered event;
[0016] Determine whether the driving behavior of the vehicle to be detected is compliant based on the first evidence trajectory point and the second evidence trajectory point.
[0017] A second aspect of the present application provides a device for detecting vehicle driving behavior based on a driving trajectory, comprising:
[0018] a memory configured to store instructions; and
[0019] The processor is configured to call instructions from the memory and implement the above-mentioned method for detecting vehicle driving behavior based on driving trajectory when executing the instructions.
[0020] A third aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the above-mentioned method for detecting vehicle driving behavior based on driving trajectory.
[0021] Through the above technical solution, trajectory points to be analyzed are selected from the transportation trajectory of the shipping order to be processed, and it is judged whether a driving event is generated based on the selected trajectory points to be analyzed. And whether the vehicle driving behavior is compliant is detected based on the evidence trajectory points of the generated driving event, so that the judgment on the compliance of the vehicle driving behavior is more accurate.
[0022] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0024] Figure 1 The flowchart of the method for detecting vehicle driving behavior based on driving trajectory according to an embodiment of the present application is schematically shown;
[0025] Figure 2 The following is a schematic diagram showing a flow chart of a method for detecting vehicle driving behavior based on a driving trajectory according to another embodiment of the present application;
[0026] Figure 3 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0028] It should be noted that if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0029] Figure 1 The flowchart of the method for detecting vehicle driving behavior based on driving trajectory according to an embodiment of the present application is schematically shown. Figure 1 As shown, in one embodiment of the present application, a method for detecting vehicle driving behavior based on driving trajectory is provided, comprising the following steps:
[0030] Step 101: Select one undelivered delivery note from a plurality of undelivered delivery notes corresponding to the vehicle to be inspected as the delivery note to be processed.
[0031] For the goods transported by the vehicle to be detected, when the goods are not transported to the corresponding destination by the vehicle to be detected, there may be a corresponding undelivered delivery note. Each undelivered delivery note includes the transportation track of the vehicle to be detected. The transportation track may include multiple track points that the vehicle to be detected has passed from the delivery time to the current time. When detecting the driving behavior of the vehicle to be detected, multiple undelivered delivery notes corresponding to the vehicle to be detected can be obtained, and one undelivered delivery note can be selected from the multiple undelivered delivery notes as the delivery note to be processed.
[0032] In one embodiment, before obtaining multiple undelivered delivery notes corresponding to the vehicle to be detected, it can also be determined whether the analysis cycle for the driving behavior of the vehicle to be detected reaches a preset timing cycle. If the analysis cycle for the driving behavior of the vehicle to be detected reaches the preset timing cycle, multiple undelivered delivery notes corresponding to the vehicle to be detected can be obtained, and the analysis cycle for the driving behavior of the vehicle to be detected is set to zero. If the analysis cycle for the driving behavior of the vehicle to be detected does not reach the preset timing cycle, the driving behavior of the vehicle to be detected may not be analyzed until the analysis cycle for the driving behavior of the vehicle to be detected reaches the preset timing cycle. Among them, the analysis cycle for the driving behavior of the vehicle to be detected can be obtained by a timer. The preset timing cycle can be customized according to actual conditions. For example, the preset timing cycle can be set to 5min. At this time, the driving behavior of the vehicle to be detected can be confirmed or judged every 5min to ensure the driving safety of the vehicle to be detected.
[0033] Step 102: Obtain the transportation track of the shipping order to be processed, where the transportation track includes a plurality of track points that the vehicle to be detected has passed from the start of transportation to the current transportation time.
[0034] Step 103: Select N trajectory points to be analyzed from the plurality of trajectory points, where N is a natural number.
[0035] After selecting the invoice to be processed, the processor can obtain the transportation track of the invoice to be processed. The transportation track includes multiple track points that the vehicle to be detected passes through from the start of transportation to the current transportation time. The track data included in the track point can be obtained through the GPS positioning device on the vehicle to be detected. The track data may include information such as the time, longitude and latitude corresponding to the vehicle to be detected when passing the corresponding track point. Afterwards, the processor can select N track points to be analyzed from the multiple track points. N is a natural number. The track point to be analyzed refers to the track point used to analyze the driving behavior of the vehicle to be detected.
[0036] In an embodiment of the present application, selecting N trajectory points to be analyzed from multiple trajectory points includes: detecting whether the transportation trajectory is obtained for the first time; if the transportation trajectory is obtained for the first time, taking multiple trajectory points from the start of transportation to the current transportation time as trajectory points to be analyzed, and saving the current trajectory point corresponding to the current transportation time in the record table corresponding to the pending shipment order; if the transportation trajectory is not obtained for the first time, judging whether the current trajectory point corresponding to the current transportation time is consistent with the trajectory point recorded in the record table corresponding to the pending shipment order; if the current trajectory point is consistent with the trajectory point recorded in the record table, returning to the step of selecting one undelivered shipment order from multiple undelivered shipment orders as the pending shipment order; if the current trajectory point is inconsistent with the trajectory point recorded in the record table, taking all trajectory points between the trajectory point recorded in the record table and the current trajectory point as trajectory points to be analyzed, and updating the trajectory point recorded in the record table to the current trajectory point.
[0037] When selecting N trajectory points to be analyzed from multiple trajectory points, the processor can detect whether the transportation trajectory is obtained for the first time. Specifically, for any undelivered invoice, when the undelivered invoice is taken as a pending invoice and the transportation trajectory of the pending invoice is obtained for the first time, a new record table can be created for the pending invoice. Therefore, when detecting whether the transportation trajectory of the pending invoice is obtained for the first time, it can be determined whether there is a corresponding record table for the pending invoice. If there is a corresponding record table for the pending invoice, it can be determined that the transportation trajectory of the pending invoice is not obtained for the first time. If there is no record table corresponding to the invoice id of the pending invoice, it can be determined that the transportation trajectory of the pending invoice is obtained for the first time.
[0038] When the transport track is obtained for the first time, the processor can use multiple track points from the start of the transport to the current transport time as track points to be analyzed, and save the current track point corresponding to the current transport time to the record table corresponding to the shipping order to be processed. When the transport track is not obtained for the first time, the processor can determine whether the current track point corresponding to the current transport time is consistent with the track point recorded in the record table corresponding to the shipping order to be processed.
[0039] If the current track point is consistent with the track point recorded in the record table, it can be explained that the current track point of the vehicle to be detected is consistent with the latest track point in the transportation track obtained last time, and the transportation track of the vehicle to be detected has not changed compared with the transportation track obtained last time. At this time, the vehicle to be detected can be analyzed again. At this time, the processor can return to the step of selecting one of the multiple undelivered delivery orders as the delivery order to be processed.
[0040] If the current track point is inconsistent with the track point recorded in the record table, it can be explained that the current track point of the vehicle to be detected is inconsistent with the latest track point in the transportation track obtained last time, and the transportation track of the vehicle to be detected has changed compared with the transportation track obtained last time. At this time, the processor can use all track points between the track point recorded in the record table and the current track point as the track points to be analyzed, and can update the track point recorded in the record table to the current track point. It can be seen that the track points recorded in the record table of the delivery order will be updated in real time to the actual latest track point of the vehicle to be detected along with the transportation track of the delivery order.
[0041] The above-mentioned scheme of selecting N trajectory points to be analyzed from multiple trajectory points can, when the transportation trajectory is obtained for the first time, use multiple trajectory points from the start of transportation to the current transportation time as trajectory points to be analyzed; when the transportation trajectory is not obtained for the first time and the current trajectory point is inconsistent with the trajectory point recorded in the record table, the newly added trajectory points can be used to analyze the driving behavior of the vehicle to be detected; different trajectory points to be analyzed are selected based on the number of times the transportation trajectory of the same delivery order is obtained and whether the current trajectory point has changed compared with the trajectory point recorded in the record table, so as to avoid repeated analysis of trajectory points and improve the efficiency of subsequent determination of the driving behavior of the vehicle to be detected.
[0042] Step 104: when the value of N is greater than or equal to a preset value, the N trajectory points to be analyzed are divided into a plurality of trajectory clue groups, each trajectory clue group being composed of the trajectory points to be analyzed at any two adjacent time points.
[0043] When N trajectory points to be analyzed are determined, the processor can determine whether the value of N is greater than or equal to a preset value. The preset value can be set according to demand, for example, the preset value can be set to 2. When the value of N is greater than or equal to the preset value, the processor can divide the N trajectory points to be analyzed into multiple trajectory clue groups, wherein each trajectory clue group is composed of trajectory points to be analyzed at any two adjacent time points. For example, if there are 3 trajectory points to be analyzed, they are a, b and c in order from small to large in time, then the 3 trajectory points to be analyzed can be divided into two trajectory clue groups, and the two trajectory clue groups are ab and bc respectively.
[0044] In an embodiment of the present application, if the value of N is less than a preset value, the process can return to the step of selecting one undelivered invoice from multiple undelivered invoices as a pending invoice, until the number of trajectory points to be analyzed determined from the new pending invoice is greater than or equal to the preset value.
[0045] Step 105: sorting the processing order of all trajectory clue groups according to the trajectory point to be analyzed with the earliest or latest transportation time in each trajectory clue group, and the trajectory clue group with the earlier transportation time belongs to the trajectory point to be analyzed with the earlier transportation time.
[0046] The processor can sort the processing order of all trajectory clue groups according to the trajectory points to be analyzed with the earliest or latest transportation time in each trajectory clue group, and the trajectory clue group containing the trajectory points to be analyzed with the earlier transportation time has the first processing order. For example, two trajectory clue groups are ab and bc, where the transportation time of trajectory point a is 9:00 and the transportation time of trajectory point b is 9:30, then it can be determined that the processing order of the trajectory clue group containing the two trajectory points ab is before the trajectory clue group containing the two trajectory points bc.
[0047] Step 106: The trajectory clue group that is ranked first in the processing order is used as the current clue group.
[0048] Step 107: Determine the first attribute feature of the current clue group according to the first trajectory data of the trajectory point to be analyzed in the current clue group.
[0049] The processor may use the trajectory clue group that ranks first in the processing order as the current clue group, and may determine the first attribute feature of the current clue group according to the first trajectory data of the trajectory point to be analyzed in the current clue group. The first trajectory data of each trajectory point to be analyzed may include the transportation time, transportation location, transportation speed of the vehicle to be detected, and the city information where the vehicle to be detected is located. The first attribute feature may include the driving of the vehicle to be detected and the parking of the vehicle to be detected, wherein the attribute feature of the driving of the vehicle to be detected may include the speeding of the vehicle to be detected.
[0050] In an embodiment of the present application, for the current clue group, based on the time difference between the transportation times of two trajectory points to be analyzed in the current clue group, when the time difference is less than the preset duration, the average speed of the vehicle to be detected for the two trajectory points to be analyzed in the current clue group can be determined based on the transportation speed of the vehicle to be detected at the two trajectory points to be analyzed. Among them, the preset duration can be customized according to needs, for example, the preset duration can be 3 minutes. When the average speed is less than the first preset speed, it can be determined that the first attribute feature of the current clue group is that the vehicle to be detected is parked. When the average speed is greater than or equal to the first preset speed, it can be determined that the first attribute feature of the current clue group is that the vehicle to be detected is driving.
[0051] When the average speed is greater than or equal to the first preset speed, it can be determined whether the average speed is greater than the second preset speed. If the average speed is greater than the second preset speed, it is determined that the first attribute characteristic of the current clue group is speeding of the vehicle to be detected. If the average speed is greater than or equal to the first preset speed, and less than the second preset speed, it can be determined that the first attribute characteristic of the current clue group is the driving of the vehicle to be detected. Among them, the first preset speed is less than the second preset speed, and both the first preset speed and the second preset speed can be customized according to needs. For example, the first preset speed can be 1.5m / s, and the second preset speed is 120m / s.
[0052] When the time difference between the transportation time of two trajectory points to be analyzed in the current clue group is greater than or equal to the preset duration, the distance of the vehicle to be detected relative to the two trajectory points to be analyzed can be determined based on the positions of the vehicle to be detected at the two trajectory points to be analyzed in the current clue group. When the distance is less than the preset distance, it can be determined that the first attribute feature of the current clue group is that the vehicle to be detected is parked. When the distance is greater than or equal to the preset distance, it can be determined that the first attribute feature of the current clue group is that the vehicle to be detected is driving. The preset distance can be customized according to needs, for example, the preset distance can be 300m.
[0053] Step 108: When it is determined that the generation condition of any first type of driving event is met according to the first trajectory data or the first attribute feature, the state of the first type of driving event is determined to be a generated state, and the first type of driving event in the generated state is determined as the first event to be triggered.
[0054] Step 109: Determine the trajectory point to be analyzed corresponding to the earliest time in the current clue group as the first evidence trajectory point of the first event to be triggered.
[0055] Step 110: Determine the trajectory point to be analyzed corresponding to the latest time in the current clue group as the second evidence trajectory point of the first event to be triggered.
[0056] Step 111: Determine whether the driving behavior of the vehicle to be detected is compliant based on the first evidence trajectory point and the second evidence trajectory point.
[0057] When it is determined that the generation condition of any first type of driving event is met according to the first trajectory data or the first attribute feature, the processor can determine that the state of the first type of driving event is a generated state, and determine the first type of driving event in the generated state as the first event to be triggered. Wherein, the driving event refers to a basic event that may occur during the driving process of the vehicle to be detected. In an embodiment of the present application, the first type of driving event includes a continuous stay event, a continuous driving event, a speeding driving event, a night driving event, a city stay event, and a non-city stay event.
[0058] The processor may determine the trajectory point to be analyzed corresponding to the earliest time in the current clue group as the first evidence trajectory point of the first event to be triggered. The processor may determine the trajectory point to be analyzed corresponding to the latest time in the current clue group as the second evidence trajectory point of the first event to be triggered. The first evidence trajectory point and the second evidence trajectory point may be used to determine whether the first event to be triggered is triggered.
[0059] In an embodiment of the present application, determining whether the driving behavior of the vehicle to be detected is compliant based on the first evidence trajectory point and the second evidence trajectory point includes: determining the state of the first event to be triggered based on the first evidence trajectory point and the second evidence trajectory point; when the state of the first event to be triggered is an untriggered state, determining the second attribute feature of the next trajectory clue group based on the second trajectory data of the trajectory point to be analyzed in the next trajectory clue group; when it is determined that the evidence collection condition for the first event to be triggered is met based on the second trajectory data or the second attribute feature, updating the second evidence trajectory point based on the trajectory point to be analyzed corresponding to the latest time in the next trajectory clue group; re-determining the state of the first event to be triggered based on the first evidence trajectory point and the updated second evidence trajectory point; when it is re-determined that the state of the first event to be triggered is a triggered state, updating the first event to be triggered to a first triggered event; when the first triggered event is an abnormal event, determining that the driving behavior of the vehicle to be detected from the moment of starting transportation is non-compliant.
[0060] The processor can determine the state of the first event to be triggered according to the first evidence track point and the second evidence track point. Among them, the state of the first event to be triggered includes an untriggered state and a triggered state. In the case where the state of the first event to be triggered is an untriggered state, that is, the triggering condition of the first event to be triggered is not met at this time, the processor can determine the second attribute feature of the next track clue group according to the second track data of the track point to be analyzed in the next track clue group, so as to continue to collect evidence track points that may trigger the triggering of the first event to be triggered. That is, in the case of determining that the evidence collection condition of the first event to be triggered is met according to the second track data or the second attribute feature, the processor can update the second evidence track point according to the track point to be analyzed corresponding to the latest time in the next track clue group. Then, the processor can redetermine the state of the first event to be triggered according to the first evidence track point and the updated second evidence track point. In the case of redetermining that the state of the first event to be triggered is a triggered state, the processor can update the first event to be triggered to the first triggered event. In the case where the first triggered event is an abnormal event, it is determined that the driving behavior of the vehicle to be detected is non-compliant from the moment of starting transportation. Among them, abnormal events include fatigue driving events, overtime stay events, speeding events, night driving events, city stay events, overtime pickup events and abnormal arrival events.
[0061] The above scheme determines whether a driving event is generated based on the trajectory clue group, and after a driving event is generated but not triggered, updates the evidence trajectory point of the generated but not triggered driving event based on the subsequent trajectory clue group, so as to further determine whether the generated but not triggered driving event will be triggered, wherein the evidence trajectory point can be used as evidence that may cause a driving event to be triggered. It can be seen that the above scheme provides a progressively triggered event management mechanism (clue-evidence-event mechanism), which realizes the continuous and segmented proof of event triggering judgment by separating the generation and triggering of events, and ensures timeliness to the greatest extent.
[0062] For example, for the current clue group A1, it includes the trajectory point a to be analyzed and the trajectory point b to be analyzed, wherein the transportation time of the trajectory point a to be analyzed is earlier than the transportation time of the trajectory point b to be analyzed. If it is determined that the first attribute feature of the current clue group A1 is that the vehicle to be detected is parked, it is determined that the generation condition of the continuous retention event is met, and at this time, it can be determined that the continuous retention event is generated, and the trajectory point a to be analyzed can be determined as the retention start trajectory point of the continuous retention event, and the trajectory point b to be analyzed can be determined as the retention end trajectory point of the continuous retention event.
[0063] Next, the time difference and distance between the trajectory point a to be analyzed and the trajectory point b to be analyzed can be determined. If the time difference at this time is less than 15 minutes, and the distance is greater than or equal to the preset distance, it can be determined that the triggering condition of the continuous retention event is not met, and the state of the generated continuous retention event is not triggered. At this time, the next group of trajectory clues group A2 can be analyzed. Trajectory clue group A2 includes trajectory point b to be analyzed and trajectory point c to be analyzed, wherein the transportation time of trajectory point b to be analyzed is earlier than the transportation time of trajectory point c to be analyzed.
[0064] If it is determined that the second attribute feature of the current clue group A2 is still the parking of the vehicle to be detected, that is, the second attribute feature meets the evidence collection conditions of the continuous detention event, then the detention end trajectory point of the continuous detention event can be updated to the trajectory point c to be analyzed. Thereafter, the time difference and distance between the trajectory point a to be analyzed and the trajectory point c to be analyzed can be determined. If the time difference at this time is greater than or equal to 15 minutes, and the distance is less than the preset distance, it can be determined that the triggering conditions of the continuous detention event are met, and it can be determined that the continuous detention event has been triggered. Since the triggered continuous detention event is not an abnormal event, it can be determined that the driving behavior of the vehicle to be detected from the start of transportation is compliant.
[0065] For another example, for the current clue group A1, it includes a trajectory point a to be analyzed and a trajectory point b to be analyzed, wherein the transportation time of the trajectory point a to be analyzed is earlier than the transportation time of the trajectory point b to be analyzed. If it is determined that the first attribute feature of the current clue group A1 is the driving of the vehicle to be detected, it is determined that the generation condition of the continuous driving event is met, and at this time, it can be determined that the continuous driving event is generated, and the trajectory point a to be analyzed can be determined as the driving start trajectory point of the continuous driving event, and the trajectory point b to be analyzed can be determined as the driving end trajectory point of the continuous driving event.
[0066] Next, the time difference between the trajectory point a to be analyzed and the trajectory point b to be analyzed can be determined. If the time difference at this time is less than 15 minutes, it can be determined that the triggering condition of the continuous driving event is not met, and the state of the generated continuous driving event is not triggered. At this time, the next group of trajectory clues group A2 can be analyzed. Trajectory clue group A2 includes trajectory point b to be analyzed and trajectory point c to be analyzed, wherein the transportation time of trajectory point b to be analyzed is earlier than the transportation time of trajectory point c to be analyzed.
[0067] If it is determined that the second attribute feature of the current clue group A2 is still the driving of the vehicle to be detected, that is, the second attribute feature meets the evidence collection conditions of the continuous driving event, then the driving end trajectory point of the continuous driving event can be updated to the trajectory point c to be analyzed. Thereafter, the time difference between the trajectory point a to be analyzed and the trajectory point c to be analyzed can be determined. If the time difference at this time is greater than or equal to 15 minutes, it can be determined that the triggering conditions of the continuous driving event are met, and it can be determined that the continuous driving event has been triggered. Since the triggered continuous driving event is not an abnormal event, it can be determined that the driving behavior of the vehicle to be detected from the start of transportation is compliant.
[0068] For another example, for the current clue group A1, it includes a trajectory point a to be analyzed and a trajectory point b to be analyzed, wherein the transportation time of the trajectory point a to be analyzed is earlier than the transportation time of the trajectory point b to be analyzed. If it is determined that the first attribute feature of the current clue group A1 is that the vehicle to be detected is speeding, it is determined that the generation condition of the driving event of the speeding driving event is met, and at this time, the speeding driving event can be determined to be generated, and the trajectory point a to be analyzed can be determined as the speeding start trajectory point of the speeding driving event, and the trajectory point b to be analyzed can be determined as the speeding end trajectory point of the speeding driving event.
[0069] Next, the time difference and average speed between the trajectory point a to be analyzed and the trajectory point b to be analyzed can be determined. If the average speed at this time does not exceed 120m / s, and the time difference at this time is less than or equal to 3min, it can be determined that the triggering condition of the speeding event is not met, and the state of the generated speeding event is not triggered. At this time, the next group of trajectory clues group A2 can be analyzed. Trajectory clue group A2 includes trajectory point b to be analyzed and trajectory point c to be analyzed, wherein the transportation time of trajectory point b to be analyzed is earlier than the transportation time of trajectory point c to be analyzed.
[0070] If it is determined that the second attribute feature of the current clue group A2 is the driving of the vehicle to be detected, that is, the second attribute feature meets the evidence collection conditions for the speeding driving event, then the speeding end trajectory point of the speeding driving event can be updated to the trajectory point c to be analyzed. Thereafter, the time difference and average speed between the trajectory point a to be analyzed and the trajectory point c to be analyzed can be determined. If the average speed at this time exceeds 120m / s, and the time difference at this time is greater than or equal to 3min, it can be determined that the triggering conditions of the speeding driving event are met, and it can be determined that the speeding driving event has been triggered. Since the triggered speeding driving event is an abnormal event, it can be determined that the driving behavior of the vehicle to be detected from the start of transportation is non-compliant.
[0071] For example, for the current clue group A3, it includes the trajectory point d to be analyzed and the trajectory point e to be analyzed, wherein the transportation time of the trajectory point d to be analyzed is earlier than the transportation time of the trajectory point e to be analyzed. If it is determined that the transportation time of the trajectory point d to be analyzed and the transportation time of the trajectory point e to be analyzed in the current clue group A3 are both in the night driving time period (for example, it can be from 0:00 to 5:00 in the morning), at this time, it can be determined that the generation conditions of the night driving event are met, the generation of the night driving event can be determined, the trajectory point d to be analyzed can be determined as the night driving start trajectory point of the night driving event, and the trajectory point e to be analyzed can be determined as the night driving end trajectory point of the night driving event.
[0072] Next, the distance between the trajectory point d to be analyzed and the trajectory point e to be analyzed can be determined. If the distance at this time does not exceed 500m, it can be determined that the triggering condition of the night driving event is not met, and the state of the generated night driving event is not triggered. At this time, the next group of trajectory clues group A4 can be analyzed. Trajectory clue group A4 includes trajectory point e to be analyzed and trajectory point f to be analyzed, wherein the transportation time of trajectory point e to be analyzed is earlier than the transportation time of trajectory point f to be analyzed.
[0073] If it is determined that the transportation time of the trajectory point e to be analyzed and the transportation time of the trajectory point f to be analyzed in the current clue group A4 are both in the night driving time period, and the second attribute feature of the current clue group A2 is the driving of the vehicle to be detected, that is, the second attribute feature meets the evidence collection conditions of the night driving event, then the night driving end trajectory point of the night driving event can be updated to the trajectory point f to be analyzed. Thereafter, the distance between the trajectory point d to be analyzed and the trajectory point f to be analyzed can be determined. If the distance at this time exceeds 500m, it can be determined that the triggering conditions of the night driving event are met, and it can be determined that the night driving event has been triggered. Since the triggered night driving event is an abnormal event, it can be determined that the driving behavior of the vehicle to be detected from the start of transportation is not compliant.
[0074] For example, for the current clue group A3, it includes a trajectory point d to be analyzed and a trajectory point e to be analyzed. If it is determined that the city information of the vehicle to be detected corresponding to the trajectory point d to be analyzed in the current clue group A3 and the city information of the vehicle to be detected corresponding to the trajectory point e to be analyzed are the same city, then it can be determined that the generation condition of the city residence event is met, the city residence event can be determined to be generated, the trajectory point d to be analyzed can be determined as the city residence start trajectory point of the city residence event, and the trajectory point e to be analyzed can be determined as the city residence end trajectory point of the city residence event.
[0075] Next, the time difference between the trajectory point d to be analyzed and the trajectory point e to be analyzed can be determined. If the time difference at this time is less than 4 hours, it can be determined that the triggering condition of the city residence event is not met, and the state of the generated city residence event is not triggered. At this time, the next group of trajectory clues group A4 can be analyzed. Trajectory clue group A4 includes trajectory points e to be analyzed and trajectory points f to be analyzed.
[0076] If it is determined that the city information of the vehicles to be detected corresponding to the trajectory points e to be analyzed and the trajectory points f to be analyzed in the current clue group A4 are both the city information of the vehicles to be detected corresponding to the trajectory point d to be analyzed, that is, the second trajectory data meets the evidence collection conditions of the city residence event, then the city residence end trajectory point of the city residence event can be updated to the trajectory point f to be analyzed. Thereafter, the time difference between the trajectory points d to be analyzed and the trajectory points f to be analyzed can be determined. If the time difference at this time is greater than or equal to 4h, it can be determined that the triggering conditions of the city residence event are met, and it can be determined that the city residence event has been triggered. Since the triggered city residence event is an abnormal event, it can be determined that the driving behavior of the vehicle to be detected from the moment of starting transportation is not compliant.
[0077] For example, for the current clue group A3, it includes the trajectory point d to be analyzed and the trajectory point e to be analyzed. If it is determined that the city information of the vehicle to be detected corresponding to the trajectory point d to be analyzed in the current clue group A3 and the city information of the vehicle to be detected corresponding to the trajectory point e to be analyzed are non-city, then it can be determined that the generation condition of the non-city residence event is met, the generation of the non-city residence event can be determined, the trajectory point d to be analyzed can be determined as the non-city space start trajectory point of the non-city residence event, and the trajectory point e to be analyzed can be determined as the non-city space end trajectory point of the non-city residence event.
[0078] Next, the time difference between the trajectory point d to be analyzed and the trajectory point e to be analyzed can be determined. If the time difference at this time is less than 10 minutes, it can be determined that the triggering condition of the non-city residence event is not met, and the state of the generated non-city residence event is not triggered. At this time, the next group of trajectory clues group A4 can be analyzed. Trajectory clue group A4 includes trajectory points e to be analyzed and trajectory points f to be analyzed.
[0079] If it is determined that the city information of the vehicles to be detected corresponding to the trajectory points e and f in the current clue group A4 is non-city, that is, the second trajectory data meets the evidence collection conditions of the non-city residence event, then the non-city space end trajectory point of the non-city residence event can be updated to the trajectory point f. After that, the time difference between the trajectory points d and f can be determined. If the time difference is greater than or equal to 10 minutes, it can be determined that the triggering conditions of the non-city residence event are met, and it can be determined that the non-city residence event has been triggered. Since the triggered non-city residence event is not an abnormal event, it can be determined that the driving behavior of the vehicle to be detected is compliant from the moment of starting transportation.
[0080] In an embodiment of the present application, the method also includes: when it is determined that the release condition of the first event to be triggered is met according to the second trajectory data or the second attribute feature, the state of the first event to be triggered is updated to a released state, and the first event to be triggered is cleared; the trajectory clue group whose processing order is after the next trajectory clue group is used as the new current clue group, and the step of determining the first attribute feature of the current clue group according to the first trajectory data of the trajectory point to be analyzed in the current clue group is returned to analyze the re-determined current clue group until multiple trajectory clue groups are analyzed.
[0081] In the case where the release condition of the first event to be triggered is determined to be satisfied according to the second trajectory data or the second attribute feature, the processor may update the state of the first event to be triggered to the release state and clear the first event to be triggered. That is, the event to be triggered that has been generated will not be triggered again at this time, and the processor may use the trajectory clue group that is arranged in the processing order after the next trajectory clue group as the new current clue group, and return to the step of determining the first attribute feature of the current clue group according to the first trajectory data of the trajectory point to be analyzed in the current clue group, so as to analyze the re-determined current clue group until multiple trajectory clue groups are analyzed.
[0082] For example, when it is determined after analyzing the current clue group A1 (including trajectory point a to be analyzed and trajectory point b to be analyzed) that a persistent retention event is generated but not triggered, when analyzing the next group of trajectory clue group A2 (including trajectory point b to be analyzed and trajectory point c to be analyzed), if it is determined that the second attribute feature of the next group of trajectory clue group A2 is the driving of the vehicle to be detected, that is, the second attribute feature meets the release condition of the persistent retention event, then it can be determined that the persistent retention event is released.
[0083] For another example, when it is determined after analyzing the current clue group A1 (including trajectory point a to be analyzed and trajectory point b to be analyzed) that a continuous driving event is generated but not triggered, when analyzing the next group of trajectory clue group A2 (including trajectory point b to be analyzed and trajectory point c to be analyzed), if it is determined that the second attribute feature of the next group of trajectory clue group A2 is that the vehicle to be detected has stopped, that is, the second attribute feature meets the release condition of the continuous driving event, then it can be determined that the continuous driving event is released.
[0084] For another example, when it is determined that a speeding event is generated but not triggered after analyzing the current clue group A1 (including trajectory point a to be analyzed and trajectory point b to be analyzed), when analyzing the next group of trajectory clue group A2 (including trajectory point b to be analyzed and trajectory point c to be analyzed), if it is determined that the average speed between trajectory point b to be analyzed and trajectory point c to be analyzed in the next group of trajectory clue group A2 does not exceed 120m / s, that is, the second trajectory data meets the conditions for releasing the speeding event, then it can be determined that the speeding event is released.
[0085] For example, when it is determined that a night driving event is generated but not triggered after analyzing the current clue group A3 (including trajectory point d to be analyzed and trajectory point e to be analyzed), when analyzing the next group of trajectory clue group A4 (including trajectory point e to be analyzed and trajectory point f to be analyzed), if it is determined that the transportation time of trajectory point e to be analyzed or trajectory point f to be analyzed in the next group of trajectory clue group A4 is not in the night driving time period, that is, the second trajectory data meets the conditions for releasing the night driving event, then it can be determined that the night driving event is released.
[0086] For example, when it is determined that a city residence event is generated but not triggered after analyzing the current clue group A3 (including trajectory point d to be analyzed and trajectory point e to be analyzed), when analyzing the next group of trajectory clue group A4 (including trajectory point e to be analyzed and trajectory point f to be analyzed), if it is determined that the city information of the vehicles to be detected corresponding to the trajectory point e to be analyzed and the trajectory point f to be analyzed in the next group of trajectory clue group A4 is non-city, that is, the second trajectory data meets the release condition of the city residence event, then it can be determined that the city residence event is released.
[0087] When it is determined that a non-city residence event is generated but not triggered after analyzing the current clue group A3 (including the trajectory point d to be analyzed and the trajectory point e to be analyzed), when analyzing the next group of trajectory clue group A4 (including the trajectory point e to be analyzed and the trajectory point f to be analyzed), if it is determined that the city information of the vehicles to be detected corresponding to the trajectory point e to be analyzed and the trajectory point f to be analyzed in the next group of trajectory clue group A4 are both the same city, that is, the second trajectory data meets the release condition of the non-city residence event, then it can be determined that the non-city residence event is released.
[0088] For example, as shown in Table 1 below, a rule table for a first type of driving event is provided.
[0089] Table 1 Rules table for the first type of driving events
[0090] Event Type Generative conditions and accompanying evidence Evidence track points Evidence Collection Conditions Release conditions Trigger conditions Continuing detention incident When the attribute of the currently analyzed trajectory clue is "parking", it is generated; when it is generated, the trajectory point that is earlier in time in the current trajectory clue is recorded as the start trajectory point of the detention Start point of retention and end point of retention The attribute of the current analysis trajectory clue is "parking", and the current end trajectory point is updated to the later trajectory point in the current trajectory clue The attribute of the current analysis trajectory clue is "driving" The time difference between the calculated start trajectory point and the end trajectory point of the retention is greater than or equal to 15 minutes; and the distance between the calculated start trajectory point and the end trajectory point of the retention is less than the error distance. Continuous driving incident When the attribute of the currently analyzed trajectory clue is "driving", it is generated; when it is generated, the trajectory point that is earlier in time in the current trajectory clue is recorded as the driving start trajectory point Driving start point and driving end point The attribute of the current analysis trajectory clue is "driving", and the current driving end trajectory point is updated to the trajectory point with the later time in the current trajectory clue The attribute of the current analysis trajectory clue is "parking" The time difference between the calculated driving start point and the driving end point is greater than or equal to 15 minutes Speeding incidents (abnormal incidents) Generate when the attribute of the currently analyzed trajectory clue is "speeding"; when generating, record the trajectory point that is earlier in time in the current trajectory clue as the driving start trajectory point Overspeed start track point and overspeed end track point The attribute of the current analysis trajectory clue is "driving", and the current speeding end trajectory point is updated to the later trajectory point in the current trajectory clue The speed between the start and end of the speeding trajectory is calculated to be no more than 120m / s. The calculated speed between the speeding start trajectory point and the speeding end trajectory point exceeds 120m / s, and the time difference between the speeding start trajectory point and the speeding end trajectory point exceeds 3 minutes. Night driving incidents (abnormal events) Generate when the time of the two track points of the currently analyzed track clue is both at night (0:00-5:00); when generating, the track point with the earlier time in the current track clue is recorded as the starting track point of night driving, and the track point with the later time is recorded as the ending track point of night driving Night driving start track point and night driving end track point The attribute of the current analysis trajectory clue is "driving", and the two trajectory points in the current analysis trajectory clue are both at night, update the current speeding end trajectory point to the later trajectory point in the current trajectory clue The time of at least one track point in the current track clue is not at night The distance between the night driving start point and the night driving end point exceeds 500m Being in non-urban space (non-urban residency event) The two trajectory points of the currently analyzed trajectory clue are marked as "non-urban space". When generating, the trajectory point with the earlier time in the current trajectory clue is recorded as the starting trajectory point of the non-urban space. Non-urban space starting point and non-urban space ending point Two track points in the currently analyzed track clue are marked as non-urban space at the same time, and the end track point of the non-urban space is updated to the track point with the later time in the current track clue. When the city stay event is triggered The time difference between the start and end points of the non-urban space trajectory is greater than or equal to 10 minutes. City resident events (abnormal events) The two track points of the currently analyzed track clue are marked as the same city information. When generating, the track point with the earlier time in the current track clue is recorded as the starting track point of the city residence. The starting and ending points of the urban stay trajectory The two track points in the currently analyzed track clue are marked with the same city information as the city residence start track point, and the city residence end track point is updated to the track point with the later time in the current track clue. Event trigger in non-urban space The time difference between the start point of the city residence trajectory and the end point of the city residence trajectory is greater than or equal to 4 hours
[0091] In an embodiment of the present application, the method also includes: when it is determined according to the second trajectory data or the second attribute feature that the generation conditions of any other driving events except the driving event are met, determining the status of the other driving events as a generated status, and determining the other driving events in the generated status as second events to be triggered; determining the evidence trajectory points of the second event to be triggered according to the trajectory points to be analyzed in the next trajectory clue group; determining the status of the second event to be triggered according to the evidence trajectory points of the second event to be triggered; when the status of the second event to be triggered is a triggered status, updating the second event to be triggered to a second triggered event; when the second triggered event is an abnormal event, determining that the driving behavior of the vehicle to be detected from the moment of starting transportation is non-compliant.
[0092] After a driving event is generated, there will be other driving events generated in addition to the driving event. In the case of determining that the generation conditions of any other driving events other than the driving event are met according to the second trajectory data or the second attribute feature, the processor can determine that the state of other driving events is a generated state, and determine other driving events in the generated state as the second event to be triggered. For example, after the continuous retention event is generated, any driving event other than the continuous retention may be generated. For example, after the continuous retention event is generated, a continuous driving event is generated. The processor can determine the evidence trajectory point of the second event to be triggered based on the trajectory points to be analyzed in the next trajectory clue group. Specifically, the processor can determine the trajectory point to be analyzed corresponding to the earliest time in the next trajectory clue group as the third evidence trajectory point of the second event to be triggered, and can determine the trajectory point to be analyzed corresponding to the latest time in the next trajectory clue group as the fourth evidence trajectory point of the second event to be triggered.
[0093] The processor may determine the state of the second event to be triggered according to the evidence track point of the second event to be triggered. The state of the second event to be triggered includes a triggered state and an untriggered state. In the case where the state of the second event to be triggered is determined to be a triggered state according to the evidence track point of the second event to be triggered, the second event to be triggered is updated to a second triggered event. In the case where the second triggered event is an abnormal event, the processor may determine that the driving behavior of the vehicle to be detected is non-compliant from the moment of starting transportation.
[0094] In an embodiment of the present application, when it is determined that the state of the second event to be triggered is an untriggered state based on the evidence trajectory points of the second event to be triggered, the process returns to the step of determining the second attribute feature of the next trajectory clue group based on the second trajectory data of the trajectory points to be analyzed in the next trajectory clue group, so as to analyze the trajectory clue group whose processing order is after the next trajectory clue group, until multiple trajectory clue groups are analyzed.
[0095] When it is determined that the state of the second event to be triggered is an untriggered state based on the evidence trajectory points of the second event to be triggered, the processor can return to the step of determining the second attribute characteristics of the next trajectory clue group based on the second trajectory data of the trajectory points to be analyzed in the next trajectory clue group, so as to analyze the trajectory clue group whose processing order is after the next trajectory clue group, until multiple trajectory clue groups are analyzed.
[0096] In an embodiment of the present application, the method also includes: for any one of the first triggered event and the second triggered event, determining whether the generation condition of the associated event corresponding to the triggered event is met; when the generation condition of the associated event is met, determining that the triggered event causes the generation of the associated event, and determining the associated event in the generated state as the third event to be triggered; determining the state of the third event to be triggered based on the evidence trajectory point of the triggered event corresponding to the third event to be triggered; when the state of the third event to be triggered is the triggered state, updating the third event to be triggered to the third triggered event; when the third triggered event is an abnormal event, determining that the driving behavior of the vehicle to be detected from the moment of starting transportation is non-compliant.
[0097] For any one of the first triggered event and the second triggered event, the processor can determine whether the generation condition of the associated event corresponding to the triggered event is met. Among them, when the triggered event is a continuous driving event or a night driving event, the corresponding associated event may be a fatigue driving event. When the triggered event is a continuous retention event, the corresponding associated event may be a residence timeout event. When the generation condition of the associated event is met, the processor can determine that the triggered event triggers the generation of the associated event, and determine the associated event in the generated state as the third event to be triggered.
[0098] The processor can determine the state of the third event to be triggered based on the evidence trajectory point of the triggered event corresponding to the third event to be triggered. Specifically, the processor can use the trajectory point to be analyzed corresponding to the earliest time corresponding to the triggered event as the accompanying evidence trajectory point corresponding to the third event to be triggered, and use the trajectory point to be analyzed corresponding to the latest time in the next trajectory clue group as the evidence collection trajectory point corresponding to the third event to be triggered. In the case where the state of the third event to be triggered is the triggered state, the processor can update the third event to be triggered to the third triggered event. In the case where the third triggered event is an abnormal event, the processor can determine that the driving behavior of the vehicle to be detected is non-compliant from the moment the transportation starts.
[0099] In one embodiment, when the state of the third event to be triggered is not triggered, the trajectory clue group that is in the processing order after the next trajectory clue group can be analyzed. If the trajectory clue group is analyzed to determine that the triggering condition of the corresponding associated event is met, the state of the third event to be triggered can be determined to be triggered, and the driving behavior of the vehicle to be detected can be further determined. If the trajectory clue group is analyzed to determine that the release condition of the corresponding associated event is met, the corresponding associated event can be deleted.
[0100] In the above scheme, for any one of the first triggered event and the second triggered event, the triggered event can trigger the generation of the corresponding associated event, trigger the associated event in the generated state, or release the triggered associated event. It can be seen that the above scheme provides an event chain mechanism, which refers to a mechanism that causes an event to be generated, released or triggered due to the triggering of a certain event.
[0101] For example, as shown in Table 2 below, a rule table for fatigue driving events is provided.
[0102] If the triggered event is a night driving event, the corresponding associated event generated is a fatigue driving event. At this time, the night driving start trajectory point of the night driving event can be determined as the fatigue driving start trajectory point of the fatigue driving event, and the to-be-analyzed trajectory point corresponding to the latest time in the next trajectory clue group can be determined as the fatigue driving end trajectory point of the fatigue driving event. If the triggered event is a continuous driving event, the corresponding associated event generated is a fatigue driving event. At this time, the driving start trajectory point of the continuous driving event can be determined as the fatigue driving start trajectory point of the fatigue driving event, and the to-be-analyzed trajectory point corresponding to the latest time in the next trajectory clue group can be determined as the fatigue driving end trajectory point of the fatigue driving event.
[0103] Afterwards, the time difference between the transportation time of the fatigue driving start trajectory point and the transportation time of the fatigue driving end trajectory point can be determined. If the time difference is greater than or equal to 4 hours, it can be determined that the fatigue driving event is triggered. If the time difference is less than 4 hours, the trajectory clue group after the next trajectory clue group can be analyzed, and if the triggering conditions of the continuous detention event are met and the triggering conditions of the night driving time are not met, it is determined that the conditions for the release of the fatigue driving event are met. At this time, it can be determined that the fatigue driving event is released and the fatigue driving event is deleted.
[0104] Table 2 Rules for fatigue driving events
[0105]
[0106] For example, as shown in Table 3 below, a rule table for a resident timeout event is provided.
[0107] If the triggered event is a continuous retention event, the corresponding associated event generated is a retention timeout event. At this time, the attribute feature of the next trajectory clue group is that the vehicle to be detected is parked, and the two trajectory points to be analyzed in the next trajectory clue group are both parking trajectory points. The retention start trajectory point of the continuous retention event can be determined as the retention start trajectory point of the retention timeout event, and the latest parking trajectory point can be determined as the retention end trajectory point of the retention timeout event. When the error distance between the retention start trajectory point and the retention end trajectory point is greater than the preset error, the parking trajectory point farthest from the retention end trajectory point but not exceeding the error distance in the parking trajectory points can be updated as the retention start trajectory point of the retention timeout event, and all parking trajectory points before the updated retention start trajectory point are deleted.
[0108] Afterwards, the time difference between the transportation time of the residence start trajectory point and the transportation time of the residence end trajectory point, as well as the distance between the transportation position of the residence start trajectory point and the transportation position of the residence end trajectory point can be determined. If the time difference is greater than or equal to 2h and the distance is less than the error distance, it can be determined that the triggering condition of the residence timeout event is met, and the residence timeout event is triggered. If the triggering condition of the residence timeout event is not met, the trajectory clue group after the next trajectory clue group can be analyzed, and when the attribute characteristics of the trajectory clue group after the next trajectory clue group are obtained in the analysis as the driving of the vehicle to be detected, it is determined that the release condition of the residence timeout event is met. At this time, it can be determined that the residence timeout event is released, and the residence timeout event is deleted.
[0109] Table 3 Rules for resident timeout events
[0110] Event Type Generative conditions and accompanying evidence Evidence track points Evidence Collection Conditions Release conditions Trigger conditions Resident timeout (abnormal event) Generated when a continuous retention event is triggered; when generated, the retention start track point in the continuous retention event is recorded as the retention start track point The dwell start track point, the dwell end track point, and the parking track point (all track points in the track clue with the attribute of "parking" between the dwell start track point and the dwell end track point) The attribute of the current analysis trajectory clue is "parking", and the two track points in the trajectory clue are recorded as parking track points, and the dwell end track point is updated to the track point with the latest time among all parking track points. In addition, when the distance between the dwell start track point and the dwell end track point is greater than the error distance, the track point farthest from the dwell end track point but not exceeding the error distance among all parking track points is updated to the latest dwell start track point, and then all parking track points before the new dwell start track point are deleted. The attribute of the current analysis trajectory clue is "driving" The time difference between the calculated dwell start trajectory point and the calculated dwell end trajectory point is greater than or equal to 2 hours; and the distance between the calculated dwell start trajectory point and the calculated dwell end trajectory point is less than the error distance.
[0111] In an embodiment of the present application, the method also includes: after taking the trajectory clue group ranked first in the processing order as the current clue group, obtaining the status of the to-be-processed invoice; when the status of the to-be-processed invoice meets the generation condition of any second-type driving event, determining the status of the second-type driving event as a generated state, and determining the second-type driving event in the generated state as a fourth event to be triggered; determining the evidence trajectory points of the fourth event to be triggered based on the trajectory points to be analyzed in the current clue group; and determining whether the driving behavior of the vehicle to be detected is compliant based on the evidence trajectory points of the fourth event to be triggered.
[0112] After taking the trajectory clue group that ranks first in the processing order as the current clue group, the processor can obtain the status of the pending delivery order. When the status of the pending delivery order meets the generation condition of any second type of driving event, the processor can determine that the status of the second type of driving event is a generated state, and determine the second type of driving event in the generated state as the fourth event to be triggered. In an embodiment of the present application, the second type of driving event includes an overtime pickup event and an abnormal arrival event. The processor can determine the evidence trajectory points of the fourth event to be triggered based on the trajectory points to be analyzed in the current clue group, and can determine whether the driving behavior of the vehicle to be detected is compliant based on the evidence trajectory points of the fourth event to be triggered.
[0113] Specifically, the processor can determine the state of the fourth event to be triggered according to the evidence track point of the fourth event to be triggered. When the state of the fourth event to be triggered is the triggered state, the fourth event to be triggered is updated to the fourth triggered event, and it is determined that the driving behavior of the vehicle to be detected is non-compliant from the moment of starting transportation. When the state of the fourth event to be triggered is the untriggered state, the evidence track point of the fourth event to be triggered is updated until the state of the fourth event to be triggered is determined to be the triggered state according to the evidence track point of the fourth event to be triggered.
[0114] For example, as shown in Table 4 below, a rule table for a second type of driving event is provided.
[0115] For the second type of driving event, which is an overtime pickup event, if the status of the pending delivery order is "not picked up", it is determined that the generation conditions of the overtime pickup event are met, the overtime pickup event is determined to be generated, and the to-be-analyzed trajectory point corresponding to the earliest time in the current clue group is determined as the current trajectory point. Afterwards, if the distance between the position of the current trajectory point and the pickup location indicated in the pending delivery order is less than or equal to the preset distance, or the transportation time of the current trajectory point does not exceed the pickup time indicated in the pending delivery order, it can be determined that the triggering conditions of the overtime pickup event are not met. At this time, the current trajectory point can be updated to the to-be-analyzed trajectory point corresponding to the latest time in the next trajectory clue group, and it is judged again whether the triggering conditions of the overtime pickup event are met.
[0116] If the distance between the updated current track point and the pickup location indicated in the pending delivery order is greater than the preset distance, and the transportation time of the updated current track point exceeds the pickup time indicated in the pending delivery order, it is determined that the triggering conditions of the overdue pickup event are met, and the overdue pickup event is triggered. If the distance between the updated current track point and the pickup location indicated in the pending delivery order is less than the preset distance, and the transportation time of the updated current track point does not exceed the pickup time indicated in the pending delivery order, it is determined that the release conditions of the overdue pickup event are met, and the status of the pending delivery order is updated to "picked up".
[0117] For the second type of driving event, the abnormal arrival event, if the status of the pending delivery order is "not arrived", it is determined that the generation conditions of the abnormal arrival event are met, the abnormal arrival event is determined to be generated, and the trajectory point to be analyzed corresponding to the earliest time in the current clue group is determined as the current trajectory point. After that, if the distance between the position of the current trajectory point and the arrival position indicated in the pending delivery order is less than or equal to the preset distance, or the transportation time of the current trajectory point does not exceed the arrival time indicated in the pending delivery order, it can be determined that the triggering conditions of the abnormal arrival event are not met. At this time, the current trajectory point can be updated to the trajectory point to be analyzed corresponding to the latest time in the next trajectory clue group, and it is judged again whether the triggering conditions of the abnormal arrival event are met. If the distance between the updated position of the current trajectory point and the arrival position indicated in the pending delivery order is greater than the preset distance, and the transportation time of the updated current trajectory point exceeds the arrival time indicated in the pending delivery order, it is determined that the triggering conditions of the abnormal arrival event are met, and the abnormal arrival event is determined to be triggered.
[0118] If the distance between the updated current track point and the arrival location indicated in the pending delivery order is greater than the preset distance, and the transportation time of the updated current track point exceeds the arrival time indicated in the pending delivery order, it is determined that the triggering conditions of the overdue arrival event are met, and the overdue arrival event is triggered. If the distance between the updated current track point and the arrival location indicated in the pending delivery order is less than the preset distance, and the transportation time of the updated current track point does not exceed the arrival time indicated in the pending delivery order, it is determined that the release conditions of the overdue arrival event are met, and the status of the pending delivery order is updated to "arrived".
[0119] Table 4 Rules table for the second type of driving events
[0120] Event Type Generative conditions and accompanying evidence Evidence track points Evidence Collection Conditions Release conditions Trigger conditions Overtime delivery (abnormal event) The status of the shipping order is "Not Picked Up". When generating, the track point with the earlier time in the current track clue will be recorded as the current track point. Current track point Unconditionally, directly update the current track point to the track point later in the current track clue The time of the current track point does not exceed the pickup time specified in the shipping order, and the distance between the current track point and the pickup location indicated in the shipping order is less than the preset distance. When the release is triggered, the status of the shipping order will be changed to "Picked Up" The distance between the current track point and the pickup location indicated in the shipping order is greater than the preset distance, and the time of the current track point exceeds the pickup time specified in the shipping order. Abnormal arrival (abnormal event) The status of the shipping order is "Not Arrived". When generating, the track point with the earlier time in the current track clue will be recorded as the current track point. Current track point Unconditionally, directly update the current track point to the track point later in the current track clue The time of the current track point does not exceed the arrival time specified in the shipping order, and the distance between the current track point and the arrival location indicated in the shipping order is less than the preset distance. When released, the status of the shipping order is changed to "arrived" The distance between the current track point and the destination location indicated in the shipping order is greater than the preset distance, and the time of the current track point exceeds the arrival time specified in the shipping order.
[0121] In an embodiment of the present application, the method also includes: for any one of the first triggered event, the second triggered event and the third triggered event, when the triggered event is an abnormal event, determining whether the triggered event is the first triggering; when the triggered event is the first triggering, or the triggered event is not the first triggering and the triggering duration of the triggered event exceeds the preset duration, executing the preset driving intervention operation; when the triggered event is not the first triggering and the triggering duration does not exceed the preset duration, not executing the preset driving intervention operation.
[0122] For any one of the first triggered event, the second triggered event, and the third triggered event, when the triggered event is an abnormal event, the processor may determine whether the triggered event is triggered for the first time. When the triggered event is triggered for the first time, or when the triggered event is not triggered for the first time and the trigger duration of the triggered event exceeds the preset duration, the processor may execute a preset driving interference operation. When the triggered event is not triggered for the first time and the trigger duration does not exceed the preset duration, the processor may not execute the preset driving interference operation. Among them, the preset driving interference operation may be to write a preset type of triggered event into an abnormal list for recording, and to send the triggered event and its corresponding evidence trajectory point to the transport trajectory map for display, and to generate a notification corresponding to the triggered event in a preset format, and to send the notification to the driver of the vehicle to be detected.
[0123] After a driving event is triggered, it is determined whether the triggered event is the first trigger, and if the triggered event is not the first trigger, it is determined whether the trigger duration of the triggered event exceeds the preset duration, so as to determine whether to execute the preset driving intervention operation based on the judgment result, thereby avoiding repeated triggering of the same driving event and saving resources.
[0124] like Figure 2 As shown, a flow chart of another method for detecting vehicle driving behavior based on driving trajectory is provided.
[0125] The trajectory analysis task for the vehicle to be detected is executed according to the timing cycle. When the timing cycle is reached, the timer is reset and all undelivered shipping orders are obtained. The shipping order records all the trajectory points from the departure trajectory point to the latest trajectory point. The information of each trajectory point (which may include the time, longitude and latitude when the vehicle to be detected arrives at each trajectory point) can be detected by the GPS positioning device installed on the vehicle to be detected. After that, any of the undelivered shipping orders can be analyzed separately. Specifically, the trajectory data of the next shipping order, that is, the selected shipping order, can be obtained. Among them, the trajectory data is a series of trajectory points that are continuous in time. The shipping order records all the trajectory points from the departure trajectory point to the latest trajectory point. Each trajectory point may include the transportation time, location, driving speed and city information corresponding to the vehicle to be detected. After that, it can be detected whether the latest trajectory point is recorded, that is, whether there is a record table corresponding to the shipping order, so as to determine whether the trajectory data is obtained for the first time.
[0126] If it is detected that there is no latest track point recorded, it can be determined that the track data of the shipping order is obtained for the first time. At this time, all track points from the departure track point to the current latest track point can be obtained. If it is detected that the latest track point is recorded, it is determined that the track data of the shipping order is not obtained for the first time. At this time, it can be further determined whether the latest track point in the track data is consistent with the latest track point recorded previously. If the latest track point in the track data is consistent with the latest track point recorded previously, it means that the newly acquired track data has not changed compared with the last acquired track data, and the analysis of the track data of the shipping order can be exited. If the latest track point in the track data is inconsistent with the latest track point recorded previously, all track points between the latest track point and the track point of the last record of the last track data are obtained, and the latest track point recorded previously is updated at the same time. Among them, the latest track point recorded previously refers to the track point recorded in the record table corresponding to the shipping order.
[0127] After selecting the trajectory points, it can be determined whether the number of selected trajectory points is less than two. If the number of selected trajectory points is less than two, the analysis of the trajectory data of the shipping order can be exited. If the number of selected trajectory points is greater than or equal to two, the selected trajectory points can be organized into several trajectory clues in chronological order. Each trajectory clue includes two selected trajectory points that are adjacent in time. For example, if the selected trajectory point is abc, it can be divided into two trajectory clues (ab) and (bc), and when analyzing the trajectory clues, they are analyzed in order of time, that is, the trajectory clue (ab) is analyzed first and then the trajectory clue (bc).
[0128] After organizing into several trajectory clues, one trajectory clue can be selected for analysis in the order of time occurrence, that is, the next trajectory clue is obtained, and the selected trajectory clue is analyzed for its own attributes. Specifically, the basic data such as the time difference, distance, speed, and city between two trajectory points in the selected trajectory clue can be calculated, and then the attributes of the selected trajectory clue can be determined based on the calculated basic data. Among them, the attributes of the trajectory clue can include driving and parking, and driving also includes the special attribute of speeding.
[0129] When calculating the distance between two track points in the selected track clue, the position of each track point (including longitude and latitude) and the distance between two track points can be calculated based on the Determine the distance between two track points in the selected track cue. It refers to the longitude of any track point in the selected track clue. is the longitude of another track point in the selected track clue, It refers to the latitude of any track point in the selected track clue. Refers to the latitude of another track point in the selected track clue.
[0130] When calculating the city information between two track points in the selected track clue, the geographic coordinates of the track point can be compared with the pre-configured electronic fences of each city. If it falls within the electronic fence of the corresponding city, it will be marked as the information of the corresponding city. If it does not fall within the electronic fence of any city, it will be marked as non-urban space.
[0131] For the selected trajectory clue, if the time difference between two trajectory points in the selected trajectory clue is less than 3 minutes, the average speed between the two trajectory points can be determined. If the average speed is less than 1.5m / s, the attribute of the selected trajectory clue can be determined as parking. If the average speed is greater than or equal to 1.5m / s, the attribute of the selected trajectory clue can be determined as driving. If the average speed is greater than or equal to 120m / s, the attribute of the selected trajectory clue can be determined as speeding.
[0132] If the time difference between two track points in the selected track clue exceeds 3 minutes, the distance between the two track points can be determined. If the distance is less than the error distance, the attribute of the selected track clue can be determined to be parking. If the distance is greater than or equal to the error distance, the attribute of the selected track clue can be determined to be driving. The error distance can be 300m.
[0133] After analyzing the properties of the selected trajectory clues, the event evidence collection phase triggered by the trajectory clues can be entered. Specifically, the evidence collection conditions of all existing events can be traversed, and when the selected trajectory clues meet the evidence collection conditions of a certain event, the evidence trajectory points of the hit event are updated to the trajectory points that meet the conditions in the selected trajectory clues. After that, the event generation phase triggered by the trajectory clues can be entered. Specifically, the generation conditions of events that have not yet been generated can be traversed, and when the current trajectory clues meet their generation conditions, the corresponding new events are generated, and the evidence trajectory points of the newly generated events are updated to the trajectory points that meet the conditions in the current trajectory clues.
[0134] For each event, the settlement process can be performed independently. For generated events, the process includes determining whether the current evidence trajectory point meets the triggering conditions, thereby causing the event to be triggered, and whether the current trajectory or current situation meets the release conditions, thereby causing the event to be released. For ungenerated events, the process includes determining whether the current event situation meets the generation conditions, thereby causing the event to be generated. Event generation caused by other events may inherit the evidence trajectory points of the triggering event. If all events obtained based on the current trajectory line have been settled, you can return to the step of obtaining the next trajectory clue. If any of the events obtained based on the current trajectory line has not been settled, continue to settle.
[0135] If an event is generated but not triggered based on the current trajectory clues, the trigger logic may not be executed. If an event is generated and triggered based on the current trajectory clues, the trigger logic corresponding to the trigger event may be called. In order to avoid repeated triggering of the same event in a short period of time, each event will be assigned a unique ID after it is generated and recorded in the event status table. If the same event is triggered for the first time, the trigger logic may be executed. If the same event is not triggered for the first time, it may be determined whether the time from the last trigger exceeds the preset time. If the time from the last trigger exceeds the preset time, the trigger logic may be executed. If the time from the last trigger does not exceed the preset time, the trigger logic may not be executed.
[0136] The above scheme, when using only GPS positioning, fully considers the impact of the instability of GPS positioning itself, as well as the reality that the time interval between track point uploads is long and irregular. In order to ensure the timeliness and effectiveness of abnormal driving events as much as possible under such a restricted environment, this scheme proposes a progressively triggered event management mechanism, namely the clue-evidence-event mechanism. By separating the generation and triggering of events, the continuous and segmented proof of event triggering judgment is achieved, which maximizes the timeliness.
[0137] The above scheme is based on the consideration of GPS errors and discontinuity of trajectory points in judging all events. High-efficiency proof can be achieved in a low-efficiency evidence environment by adjusting the triggering conditions of the events to high standards.
[0138] Since the clue-evidence-event mechanism is an event management mechanism based on continuous evidence collection and segmented proof, it is not necessary to read all the trajectory data when performing real-time analysis. Less data is read each time, and the amount of analysis tasks is small. Each event can reuse the analysis conclusions of the unified trajectory clues to prevent repeated analysis of multiple events, which has high analysis efficiency. At the same time, the event chain mechanism further prevents repeated analysis of events, further improving the reuse rate of analysis. Furthermore, the screening mechanism based on key evidence ensures that each event is facing several pre-screened key evidence trajectory points when triggering verification, without the need for overall analysis and verification of all clue data, thereby reducing the amount of calculation as much as possible and speeding up verification efficiency.
[0139] Through the above technical solution, trajectory points to be analyzed are selected from the transportation trajectory of the shipping order to be processed, and it is judged whether a driving event is generated based on the selected trajectory points to be analyzed. And whether the vehicle driving behavior is compliant is detected based on the evidence trajectory points of the generated driving event, so that the judgment on the compliance of the vehicle driving behavior is more accurate.
[0140] Figure 1 and 2 FIG. 1 is a flow chart of a method for detecting vehicle driving behavior based on vehicle trajectory in one embodiment. Figure 1 and 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 and 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0141] In one embodiment, a device for detecting vehicle driving behavior based on driving trajectory is provided, comprising:
[0142] a memory configured to store instructions; and
[0143] The processor is configured to call instructions from the memory and implement the above-mentioned method for detecting vehicle driving behavior based on driving trajectory when executing the instructions.
[0144] In one embodiment, a storage medium is provided, on which a program is stored, and when the program is executed by a processor, the method for detecting vehicle driving behavior based on driving trajectory is implemented.
[0145] In one embodiment, a processor is provided, and the processor is used to run a program, wherein the program executes the above-mentioned method for detecting vehicle driving behavior based on driving trajectory when running.
[0146] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store data such as the judgment results of whether the driving behavior of the vehicle to be detected is compliant. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a method for detecting vehicle driving behavior based on driving trajectory is implemented.
[0147] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0148] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the step of detecting vehicle driving behavior based on driving trajectory is implemented.
[0149] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the method steps of detecting vehicle driving behavior based on driving trajectory.
[0150] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0151] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0152] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0153] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0154] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0155] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0156] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0157] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0158] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for detecting vehicle driving behavior based on driving trajectory, characterized in that: The method comprises: Select one of the multiple undelivered delivery orders corresponding to the vehicle to be inspected as the delivery order to be processed; Acquire the transportation track of the to-be-processed delivery order, wherein the transportation track includes a plurality of track points that the to-be-detected vehicle passes through from the start of transportation to the current transportation time; Selecting N trajectory points to be analyzed from the plurality of trajectory points, where N is a natural number; When the value of N is greater than or equal to a preset value, the N trajectory points to be analyzed are divided into a plurality of trajectory clue groups, each trajectory clue group is composed of the trajectory points to be analyzed at any two adjacent time points; The processing order of all trajectory clue groups is sorted according to the trajectory point to be analyzed with the earliest or latest transportation time in each trajectory clue group, and the trajectory clue group with the earlier transportation time belongs to the trajectory point to be analyzed with the earlier transportation time; The trajectory clue group ranked first in the processing order is used as the current clue group; Determine a first attribute feature of the current clue group according to first track data of the track point to be analyzed in the current clue group; In the case where it is determined according to the first trajectory data or the first attribute feature that a generation condition of any first type of driving event is met, determining the state of the first type of driving event as a generated state, and determining the first type of driving event in the generated state as a first event to be triggered, wherein the first type of driving event includes a continuous stay event, a continuous driving event, a speeding driving event, a night driving event, a city stay event, and a non-city stay event; Determine the to-be-analyzed trajectory point corresponding to the earliest time in the current clue group as the first evidence trajectory point of the first to-be-triggered event; Determine the to-be-analyzed trajectory point corresponding to the latest time in the current clue group as the second evidence trajectory point of the first to-be-triggered event; Determining whether the driving behavior of the vehicle to be detected is compliant according to the first evidence trajectory point and the second evidence trajectory point; Wherein, determining whether the driving behavior of the vehicle to be detected is compliant according to the first evidence trajectory point and the second evidence trajectory point includes: Determine the state of the first event to be triggered according to the first evidence track point and the second evidence track point; When the state of the first event to be triggered is an untriggered state, determining a second attribute feature of the next trajectory clue group according to the second trajectory data of the trajectory point to be analyzed in the next trajectory clue group; When it is determined that the evidence collection condition of the first event to be triggered is met according to the second trajectory data and / or the second attribute feature, updating the second evidence trajectory point according to the trajectory point to be analyzed corresponding to the latest time in the next trajectory clue group; re-determining the state of the first event to be triggered according to the first evidence track point and the updated second evidence track point; When the state of the first event to be triggered is re-determined to be a triggered state, updating the first event to be triggered to a first triggered event; In the case where the first triggered event is an abnormal event, it is determined that the driving behavior of the vehicle to be detected from the start of the transportation moment is non-compliant.
2. The method for detecting vehicle driving behavior based on driving trajectory according to claim 1, characterized in that: The selecting N trajectory points to be analyzed from the plurality of trajectory points comprises: Detecting whether the transport trajectory is obtained for the first time; In the case where the transport trajectory is obtained for the first time, a plurality of trajectory points from the start of the transport time to the current transport time are used as trajectory points to be analyzed, and the current trajectory point corresponding to the current transport time is saved in a record table corresponding to the shipment order to be processed; In the case where the transport track is not obtained for the first time, determining whether the current track point corresponding to the current transport time is consistent with the track point recorded in the record table corresponding to the to-be-processed delivery order; When the current track point is consistent with the track point recorded in the record table, returning to the step of selecting one undelivered delivery note from a plurality of undelivered delivery notes corresponding to the vehicle to be detected as the delivery note to be processed; When the current trajectory point is inconsistent with the trajectory point recorded in the record table, all trajectory points between the trajectory point recorded in the record table and the current trajectory point are used as trajectory points to be analyzed, and the trajectory point recorded in the record table is updated to the current trajectory point.
3. The method for detecting vehicle driving behavior based on driving trajectory according to claim 1, characterized in that: The method further comprises: When it is determined according to the second trajectory data or the second attribute feature that a release condition of the first event to be triggered is met, updating the state of the first event to be triggered to a release state, and clearing the first event to be triggered; The trajectory clue group that is processed in the following order is taken as the new current clue group, and the process returns to the step of determining the first attribute feature of the current clue group according to the first trajectory data of the trajectory point to be analyzed in the current clue group, so as to analyze the re-determined current clue group until the multiple trajectory clue groups are analyzed.
4. The method for detecting vehicle driving behavior based on driving trajectory according to claim 1, characterized in that: The method further comprises: In a case where it is determined according to the second trajectory data or the second attribute feature that a generation condition of any other driving event other than the driving event is met, determining the state of the other driving event as a generated state, and determining the other driving event in the generated state as a second event to be triggered; Determine the evidence track point of the second event to be triggered according to the track points to be analyzed in the next track clue group; determining a state of the second event to be triggered according to the evidence track point of the second event to be triggered; When the state of the second event to be triggered is the triggered state, updating the second event to be triggered to a second triggered event; In the case where the second triggered event is an abnormal event, it is determined that the driving behavior of the vehicle to be detected from the start of the transportation moment is non-compliant.
5. The method for detecting vehicle driving behavior based on driving trajectory according to claim 4, characterized in that: The method further comprises: When the state of the first event to be triggered is re-determined as the untriggered state, or when the state of the second event to be triggered is determined to be the untriggered state based on the evidence trajectory points of the second event to be triggered, return to the step of determining the second attribute feature of the next trajectory clue group based on the second trajectory data of the trajectory points to be analyzed in the next trajectory clue group, so as to analyze the trajectory clue group whose processing order is after the next trajectory clue group, until the multiple trajectory clue groups are analyzed.
6. The method for detecting vehicle driving behavior based on driving trajectory according to claim 4, characterized in that: The method further comprises: For any one of the first triggered event and the second triggered event, determining whether a generation condition of an associated event corresponding to the triggered event is satisfied; In the case where the generation condition of the associated event is met, determining that the triggered event triggers the generation of the associated event, and determining the associated event in the generated state as a third event to be triggered; Determine the state of the third event to be triggered according to the evidence track point of the triggered event corresponding to the third event to be triggered; When the state of the third event to be triggered is a triggered state, updating the third event to be triggered to a third triggered event; In a case where the third triggered event is an abnormal event, it is determined that the driving behavior of the vehicle to be detected from the start of the transportation moment is non-compliant.
7. The method for detecting vehicle driving behavior based on driving trajectory according to claim 6, characterized in that: The method further comprises: For any one of the first triggered event, the second triggered event and the third triggered event, if the triggered event is an abnormal event, determining whether the triggered event is triggered for the first time; When the triggered event is triggered for the first time, or when the triggered event is not triggered for the first time and the triggering duration of the triggered event exceeds a preset duration, executing a preset driving intervention operation; In a case where the triggered event is not triggered for the first time and the triggering duration of the triggered event does not exceed the preset duration, the preset driving intervention operation is not performed.
8. The method for detecting vehicle driving behavior based on driving trajectory according to claim 1, characterized in that: The method further comprises: After the track clue group ranked first in the processing order is used as the current clue group, the status of the to-be-processed delivery order is obtained; When the status of the to-be-processed delivery order satisfies any generation condition of the second type of driving event, determining the status of the second type of driving event as a generated state, and determining the second type of driving event in the generated state as a fourth to-be-triggered event; Determine the evidence track point of the fourth event to be triggered according to the track points to be analyzed in the current clue group; Determine whether the driving behavior of the vehicle to be detected is compliant based on the evidence trajectory points of the fourth event to be triggered.
9. The method for detecting vehicle driving behavior based on driving trajectory according to claim 8, characterized in that: The second type of driving events includes overtime pickup events and abnormal arrival events.
10. A device for detecting vehicle driving behavior based on driving trajectory, characterized in that: The device comprises: a memory configured to store instructions; and A processor is configured to call the instructions from the memory and implement the method for detecting vehicle driving behavior based on driving trajectory according to any one of claims 1 to 9 when executing the instructions.
11. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions for enabling a machine to execute the method for detecting vehicle driving behavior based on driving trajectory according to any one of claims 1 to 9.
