Data exception detection method and system and storage medium
By acquiring and analyzing indicators such as driving jump rates in roadside sensing data, it can automatically determine whether traffic participants are abnormal, solving the problem of low manual detection efficiency in the existing technology and achieving efficient and automatic data anomaly detection.
Patent Information
- Application Number
- CN202410756562.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, the quality monitoring of roadside sensing data relies on manual detection, which is inefficient and difficult to achieve large-scale detection, making it difficult to ensure the quality of data detection.
By obtaining the traffic participant perception data sent by the roadside equipment, based on the preset driving data (including driving jump rate, heading jump rate and speed jump rate), it is judged whether there is an abnormality in the traffic participants, and the abnormal data is automatically marked to realize the computer chemical monitoring.
It improves the quality and efficiency of data detection, reduces reliance on manual detection, can automatically monitor roadside sensing data, and improves detection efficiency and accuracy.
Smart Images

Figure CN118609362A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data detection technology, and in particular to a method, system and storage medium for detecting data anomalies. Background Art
[0002] Roadside perception uses sensors such as cameras, millimeter-wave radars, and lidars to collect vehicle driving data and surrounding environment data, so as to perceive traffic participants such as motor vehicles, non-motor vehicles, and pedestrians on the road in real time. As the basic data of vehicle-road collaboration technology, the quality of roadside perception data directly determines the effectiveness of related businesses, such as cloud-based decision-making and planning, vehicle autonomous driving control, vehicle platooning, and road accident detection. Therefore, the quality detection of roadside perception data is particularly important.
[0003] In the prior art, the quality monitoring of roadside sensing data is done by replaying or printing the roadside sensing data on a high-precision map, and then visually observing and checking by staff to determine whether there are any data anomalies. However, such a method relies on human experience, the quality of data detection is difficult to guarantee, and manual detection is time-consuming and labor-intensive, making it difficult to implement large-scale quality detection.
[0004] Therefore, how to provide a data anomaly detection method to improve the quality and efficiency of data detection has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a data anomaly detection method, system and storage medium to improve the quality and efficiency of data detection.
[0006] The present application provides a method for detecting data anomalies, comprising:
[0007] Obtain roadside perception data corresponding to each traffic participant sent by roadside equipment;
[0008] Determining preset driving data corresponding to each traffic participant based on the roadside sensing data, wherein the preset driving data at least includes a driving jump rate;
[0009] Determining whether a traffic participant is abnormal according to the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is determined to be abnormal;
[0010] When an abnormal traffic participant is detected, the abnormal traffic participant is marked.
[0011] The beneficial effects of the present application are: obtaining the roadside perception data corresponding to each traffic participant sent by the roadside equipment; and determining the preset driving data corresponding to each traffic participant based on the roadside perception data, wherein the preset driving data at least includes the driving jump rate; judging whether the traffic participant is abnormal based on the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is judged to be abnormal; when an abnormal traffic participant is detected, marking the abnormal traffic participant. This method can realize the computer's automatic monitoring of roadside perception data, which is independent of human experience, and improves the quality and efficiency of data detection.
[0012] In one embodiment, when the driving jump rate is a position jump rate, determining the preset driving data corresponding to each traffic participant based on the roadside sensing data includes:
[0013] Determine a connection line between two adjacent position points in the continuous position points from the roadside sensing data in a specific time period;
[0014] Calculating the angles between adjacent lines among the lines;
[0015] Counting the number of adjacent line angles greater than a first preset angle in the roadside sensing data in a specific time period, and using the number as the number of position jump points;
[0016] The number of the position jump points is substituted into a first preset formula to calculate the position jump rate in the specific time period.
[0017] In one embodiment, when the driving jump rate is a heading jump rate, determining the preset driving data corresponding to each traffic participant based on the roadside sensing data includes:
[0018] Calculate the heading angle change value of two adjacent roadside perception data in the roadside perception data of the same traffic participant;
[0019] Counting the number of occurrences of the heading angle change value being greater than a second preset angle, and taking the number of occurrences as the number of heading angle jumps;
[0020] The number of heading angle jumps is substituted into a second preset formula to calculate a heading jump rate corresponding to the traffic participant.
[0021] In one embodiment, substituting the number of heading angle jumps into a second preset formula to calculate the heading jump rate corresponding to the traffic participant includes:
[0022] Substitute the number of heading angle jumps into the following second preset formula to calculate the heading jump rate corresponding to the traffic participant:
[0023]
[0024] Among them, Y2 is the heading angle jump rate corresponding to the traffic participant, t is the number of tracks with heading angle jumps in a single set of data, and T is the total number of tracks in the data.
[0025] In one embodiment, when the driving jump rate is a speed jump rate, determining the preset driving data corresponding to each traffic participant based on the roadside sensing data includes:
[0026] Calculate the speed change value of two adjacent roadside perception data of the same traffic participant;
[0027] Counting the number of times that the speed change value is greater than a preset speed change threshold, and taking the number of times as the speed jump number;
[0028] The speed jump times are substituted into a third preset formula to calculate a speed jump rate corresponding to the traffic participant.
[0029] In one embodiment, judging whether a traffic participant is abnormal according to the preset driving data includes:
[0030] Determining whether the driving jump rate is greater than a preset jump rate;
[0031] When the driving jump rate is greater than a preset jump rate, it is determined that an abnormality occurs to the traffic participant corresponding to the driving jump rate.
[0032] In one embodiment, the preset driving data further includes a type of traffic participant, and judging whether a traffic participant is abnormal according to the preset driving data includes:
[0033] Acquiring the driving speed of the traffic participant from the roadside perception data of the traffic participant;
[0034] By querying a correspondence table to determine whether the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type, the correspondence table stores the correspondence between the traffic participant type and the maximum speed;
[0035] When the driving speed of the traffic participant exceeds the maximum speed corresponding to the type of the traffic participant, it is determined that an abnormality occurs with the traffic participant, and the abnormality is a type error.
[0036] The present application provides a data anomaly detection device, comprising:
[0037] An acquisition module, used to acquire the roadside sensing data corresponding to each traffic participant sent by the roadside equipment;
[0038] A determination module, configured to determine preset driving data corresponding to each traffic participant based on the roadside sensing data, wherein the preset driving data at least includes a driving jump rate;
[0039] A judgment module, used for judging whether a traffic participant is abnormal according to the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is judged to be abnormal;
[0040] The marking module is used to mark the abnormal traffic participants when abnormal traffic participants are detected.
[0041] In one embodiment, when the driving jump rate is a position jump rate, the determining module includes:
[0042] A first determination submodule is used to determine a connection line between two adjacent position points in the continuous position points from the roadside sensing data in a specific time period;
[0043] A first calculation submodule, used for calculating the angle between adjacent lines among the lines;
[0044] A first statistical submodule, used to count the number of adjacent line angles greater than a first preset angle in the roadside sensing data in a specific time period, and use the number as the number of position jump points;
[0045] The first substitution submodule is used to substitute the number of the position jump points into a first preset formula to calculate the position jump rate in the specific time period.
[0046] In one embodiment, when the driving jump rate is a heading jump rate, the determining module includes:
[0047] The second calculation submodule is used to calculate the heading angle change value of two adjacent roadside perception data in the roadside perception data of the same traffic participant;
[0048] A second statistical submodule, used for counting the number of occurrences of the heading angle change value being greater than a second preset angle, and taking the number of occurrences as the number of heading angle jumps;
[0049] The second substitution submodule is used to substitute the number of heading angle jumps into a second preset formula to calculate the heading jump rate corresponding to the traffic participant.
[0050] In one embodiment, the second substitution submodule is further used to:
[0051] Substitute the number of heading angle jumps into the following second preset formula to calculate the heading jump rate corresponding to the traffic participant:
[0052]
[0053] Among them, Y 2 is the heading angle jump rate corresponding to the traffic participant, t is the number of tracks with heading angle jump in a single set of data, and T is the total number of tracks in the data.
[0054] In one embodiment, when the driving jump rate is a speed jump rate, the determining module includes:
[0055] The third calculation submodule is used to calculate the speed change value of two adjacent roadside perception data in the roadside perception data of the same traffic participant;
[0056] A third statistical submodule is used to count the number of times that the speed change value is greater than a preset speed change threshold, and use the number of times as the speed jump number;
[0057] The third substitution submodule is used to substitute the speed jump times into a third preset formula to calculate the speed jump rate corresponding to the traffic participant.
[0058] In one embodiment, the judgment module includes:
[0059] A first judgment submodule, used to judge whether the driving jump rate is greater than a preset jump rate;
[0060] The second determination submodule is used to determine that an abnormality occurs to a traffic participant corresponding to the driving jump rate when the driving jump rate is greater than a preset jump rate.
[0061] In one embodiment, the preset driving data further includes the type of traffic participants, and the judgment module includes:
[0062] An acquisition submodule, used to acquire the driving speed of the traffic participant from the roadside perception data of the traffic participant;
[0063] A second judgment submodule is used to judge whether the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type by querying a corresponding relationship table, wherein the corresponding relationship between the traffic participant type and the maximum speed is stored in the corresponding relationship table;
[0064] The third determination submodule is used to determine that an abnormality occurs to the traffic participant when the driving speed of the traffic participant exceeds the maximum speed corresponding to the type of the traffic participant, and the abnormality is a type error.
[0065] The present application also provides a data anomaly detection system, comprising:
[0066] at least one processor; and,
[0067] a memory communicatively connected to the at least one processor; wherein,
[0068] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the data anomaly detection method recorded in any of the above embodiments.
[0069] The present application also provides a computer-readable storage medium, characterized in that when the instructions in the storage medium are executed by a processor corresponding to the data anomaly detection system, the data anomaly detection system can implement the data anomaly detection method recorded in any of the above embodiments.
[0070] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings.
[0071] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:
[0073] Figure 1 This is a flow chart of a method for detecting data anomalies in one embodiment of the present application;
[0074] Figure 2 This is a structural schematic diagram of a data anomaly detection device in one embodiment of the present application;
[0075] Figure 3 The figure is a schematic diagram of the hardware structure of a data anomaly detection system in one embodiment of the present application. DETAILED DESCRIPTION
[0076] The preferred embodiments of the present application are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application.
[0077] Figure 1 Flow chart of a method for detecting data anomalies in one embodiment of the present application, such as Figure 1 As shown, the method can be implemented as the following steps S101-S104:
[0078] In step S101, roadside sensing data corresponding to each traffic participant sent by the roadside equipment is obtained;
[0079] In step S102, the preset driving data corresponding to each traffic participant is determined based on the roadside sensing data, wherein the preset driving data at least includes a driving jump rate;
[0080] In step S103, judging whether the traffic participant is abnormal according to the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is judged to be abnormal;
[0081] In step S104, when an abnormal traffic participant is detected, the abnormal traffic participant is marked.
[0082] Obtain the roadside perception data corresponding to each traffic participant sent by the roadside equipment. Through roadside equipment such as cameras, millimeter wave radars, laser radars, etc., it is possible to collect roadside perception data such as vehicle driving data and surrounding environment data in real time, and realize real-time perception of traffic participants such as motor vehicles, non-motor vehicles, pedestrians, etc. on the road. The roadside perception data includes the ID, location coordinates, speed, heading angle and other attributes of each traffic participant, as well as the corresponding time tag.
[0083] Based on the roadside sensing data, the preset driving data corresponding to each traffic participant is determined, wherein the preset driving data at least includes a driving jump rate. Based on the roadside sensing data, the preset driving data corresponding to each traffic participant is determined, for example, the corresponding driving trajectory within a specific time period, the type of traffic participant, the position relationship, speed relationship, and heading relationship between the previous moment and the next moment, etc. In addition, in the present application, the preset driving data also includes at least a driving jump rate, so that the data is detected by the driving jump rate. The driving jump rate can be a position jump rate, a heading jump rate, a speed jump rate, etc.
[0084] (1) When the driving jump rate is the position jump rate, the position jump rate includes the position jump rate of a single position point, the track position jump rate and the track position average jump rate.
[0085] In order to obtain the position jump rate of a single position point, for the position data of a certain traffic participant, the connecting lines between each two adjacent position points in the continuous position points can be determined from the roadside perception data of a specific time period; then, the angles of adjacent connecting lines in the connecting lines are calculated, that is, for each position point, the angles of adjacent connecting lines before and after the position point can be calculated, when the angles of adjacent connecting lines are greater than a preset angle, for example, greater than 150°, it is considered that the position point has a jump, and the point where the position point has a jump is taken as the jump point; then, the number of jump points can be counted, that is, the number of adjacent connecting lines in the roadside perception data of a specific time period whose angles are greater than the first preset angle is counted, and this number is taken as the number of position jump points; finally, the number of position jump points is substituted into the first preset formula to calculate the position jump rate of the specific time period.
[0086] For example, take three time-continuous position points (p1, p2, p3) in the data, determine the direction connecting lines angle1 and angle2 of p1, p2 and p2, p3, and calculate the angle between angle1 and angle2. If the angle is greater than a certain angle, point p2 is defined as a position jump point, and it is considered that a position jump occurs. In a certain time period, after sorting the coordinate data of the same ID by time, the corresponding position points and corresponding driving tracks of each traffic participant are obtained, and the position jump points are determined by the above method, and the number of position jump points is counted. Finally, the number of position jump points is substituted into the following first preset formula to determine the position jump rate:
[0087]
[0088] Among them, Y 1 is the position jump rate, X 1i is the number of position jump points, X 1 is the number of all location points.
[0089] Furthermore, after determining the position jump rate of a single track of each traffic participant, the position jump rate of all tracks in multiple time periods with the same ID can be calculated to characterize the proportion of jump tracks in all tracks. Specifically, the number of position jump tracks in all tracks ∑P is first counted, where
[0090]
[0091] Where P is the jump value of each position point. A jump value of 1 indicates a jump occurs, and 0 indicates no jump occurs. 1 is the position jump rate.
[0092] Then, calculate the track position jump rate, that is, the proportion of the number of jump tracks in all tracks:
[0093]
[0094] Among them, K 1 is the track position jump rate; ∑P is the number of position jump tracks; N is the total number of tracks of all tracks with the same ID in multiple time periods.
[0095] When K under the same ID 1 If it is larger, for example, greater than 10%, it indicates that the quality of the value detected by the equipment is poor and the equipment needs to be inspected, maintained or repaired.
[0096] In addition, for the jumping track, after the position jumping rate of the single track of each traffic participant, the average track position jumping rate can be calculated according to the position jumping rate of multiple IDs in the same time period to characterize the jumping degree. Specifically:
[0097]
[0098] Among them, Q is the average jump rate of track position; Y 1 is the position jump rate; M represents the number of tracks of multiple IDs in the same time period.
[0099] When the value of Q is larger within the same time period, it means that the quality of the data collected within the time period is worse, and the equipment needs to be inspected, maintained or repaired.
[0100] It is understandable that the position jump rate can be determined in other ways. For example, in another embodiment, the sum of the angles of adjacent lines corresponding to the jump points in a specific time period is counted as the jump angle, and the jump angle is substituted into a preset position jump rate formula to calculate the position jump rate in the specific time period. Specifically, the position jump rate formula is as follows:
[0101]
[0102] Among them, Y 1 is the position jump rate; θ 1i is the sum of the angles of the adjacent lines corresponding to the jump point, that is, the jump angle; θ 1 It is the sum of the angles between adjacent lines corresponding to all position points.
[0103] (2) When the driving jump rate is a heading jump rate, the heading angle change values of two adjacent roadside perception data in the roadside perception data of the same traffic participant are calculated. The heading angle refers to the angle between the speed of the center of mass of the vehicle (i.e., the driving direction of the vehicle) and the horizontal axis in the geodetic coordinate system in the geodetic coordinate system. For example, the positive direction of the horizontal axis can be the north direction, and then the heading angle change values of the two adjacent roadside perception data can be calculated. After sorting the data of the same ID by time, the heading angle change values of the two adjacent data are calculated, and then the number of occurrences of the heading angle change value greater than the second preset angle is counted. For example, if the heading angle change value is greater than 30 degrees, it is defined as a heading angle jump, and the number of occurrences is used as the number of heading angle jumps; finally, the number of heading angle jumps is substituted into the second preset formula to calculate the heading jump rate corresponding to the traffic participant.
[0104] For example, the number of heading angle jumps may be substituted into the following second preset formula to calculate the heading jump rate corresponding to the traffic participant:
[0105]
[0106] Among them, Y 2 is the heading angle jump rate corresponding to the traffic participant; t is the number of tracks with heading angle jumps in a single set of data, and the single set of data can be data within a preset time period; T is the total number of tracks in the data.
[0107] (3) When the driving jump rate is the speed jump rate, calculate the speed change values of two adjacent roadside perception data in the roadside perception data of the same traffic participant. For example, after sorting the data of the same ID by time, calculate the speed change values of the two adjacent data, and then count the number of occurrences of the speed change value greater than the preset speed change threshold, and use the number of occurrences as the number of speed jumps. The specific preset speed change threshold can be set according to different road grades. The speed change value on the expressway is greater than 33m / s, and the speed change value on the national highway is 20m / s. Finally, substitute the speed jump number into the third preset formula to calculate the speed jump rate corresponding to the traffic participant.
[0108] For example, the number of speed jumps is substituted into the following third preset formula to calculate the speed jump rate corresponding to the traffic participant:
[0109]
[0110] Among them, Y 3 is the speed jump rate corresponding to the traffic participant; t' is the number of tracks with speed jump in a single set of data, and the single set of data can be data within a preset time period; T is the total number of tracks in the data.
[0111] After the preset driving data of the traffic participant is determined, it is determined whether the traffic participant is abnormal according to the preset driving data.
[0112] When the driving jump rate contained in the preset driving data is higher, the higher the driving jump rate contained in the preset driving data, the higher the probability that the traffic participant is judged to be abnormal. For example, different preset jump rates are set as jump thresholds according to different driving jump rates, and it is judged whether the driving jump rate is greater than the preset jump rate; when the driving jump rate is greater than the preset jump rate, it is determined that the data corresponding to the traffic participant corresponding to the driving jump rate is abnormal, wherein the preset jump rate can be an average value, a median, etc. calculated based on preset historical data, and this application does not limit this. Further, the type of abnormal driving jump rate is output, such as abnormal speed jump rate, abnormal heading jump rate, etc.
[0113] When the preset driving data can also be the type of traffic participants, such as motor vehicles, non-motor vehicles, pedestrians, etc. When judging whether a traffic participant is abnormal based on the type of traffic participant, first, obtain the time series of the traffic participant types corresponding to the same ID data, count the number of times each type appears, and determine that the type with the most occurrences is the true type of the traffic participant, and then calculate the proportion of the number of type recognition errors, that is, the type recognition error rate. For example, the type recognition error rate is determined by the following fourth preset formula:
[0114]
[0115] Among them, Y 4 is the type recognition error rate; X 2i is the number of category points with the highest number of occurrences in each type; X 2 is the number of points in all categories.
[0116]
[0117] Among them, K 2 is the average type recognition error rate, which can be used to judge the stability of detection classification; N is the total number of tracks; Y 4 The error rate for type recognition.
[0118] When the type recognition error rate is greater than a preset error rate, it is determined that data corresponding to the traffic participant corresponding to the type recognition error rate is abnormal.
[0119] When the preset driving data can also be a traffic participant type, since different types of traffic participants have different corresponding driving speeds, therefore, in order to determine whether an abnormality occurs to the traffic participant based on the preset driving data, the driving speed of the traffic participant can also be obtained from the roadside perception data of the traffic participant; and by querying a correspondence table to determine whether the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type, the correspondence table stores the correspondence between the traffic participant type and the maximum speed; when the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type, it is determined that an abnormality occurs to the traffic participant, and the abnormality is a type error.
[0120] Finally, when an abnormal traffic participant is detected, the abnormal traffic participant is marked.
[0121] The beneficial effects of the present application are: obtaining the roadside perception data corresponding to each traffic participant sent by the roadside equipment; and determining the preset driving data corresponding to each traffic participant based on the roadside perception data, wherein the preset driving data at least includes the driving jump rate; judging whether the traffic participant is abnormal based on the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is judged to be abnormal; when an abnormal traffic participant is detected, marking the abnormal traffic participant. This method can realize the computer's automatic monitoring of roadside perception data, which is independent of human experience, and improves the quality and efficiency of data detection.
[0122] In one embodiment, when the driving jump rate is a position jump rate, the above step S102 can be implemented as the following steps A1-A4:
[0123] In step A1, a connection line between two adjacent position points in the continuous position points is determined from the roadside sensing data in a specific time period;
[0124] In step A2, the angles between adjacent lines among the lines are calculated;
[0125] In step A3, the number of adjacent line angles greater than a first preset angle in the roadside sensing data in a specific time period is counted, and the number is used as the number of position jump points;
[0126] In step A4, the number of the position jump points is substituted into a first preset formula to calculate the position jump rate in the specific time period.
[0127] In one embodiment, when the driving jump rate is a heading jump rate, the above step S102 may be implemented as the following steps B1-B3:
[0128] In step B1, a heading angle change value of two adjacent roadside sensing data of the same traffic participant is calculated;
[0129] In step B2, the number of occurrences of the heading angle change value being greater than the second preset angle is counted, and the number of occurrences is used as the number of heading angle jumps;
[0130] In step B3, the number of heading angle jumps is substituted into a second preset formula to calculate the heading jump rate corresponding to the traffic participant.
[0131] In one embodiment, the above step B3 may be implemented as follows:
[0132] Substitute the number of heading angle jumps into the following second preset formula to calculate the heading jump rate corresponding to the traffic participant:
[0133]
[0134] Among them, Y2 is the heading angle jump rate corresponding to the traffic participant, t is the number of tracks with heading angle jumps in a single set of data, and T is the total number of tracks in the data.
[0135] In one embodiment, when the driving jump rate is a speed jump rate, the above step S102 can be implemented as the following steps C1-C3:
[0136] In step C1, the speed change value of two adjacent roadside perception data of the same traffic participant is calculated;
[0137] In step C2, the number of occurrences of the speed change value being greater than the preset speed change threshold is counted, and the number of occurrences is used as the number of speed jumps;
[0138] In step C3, the speed jump times are substituted into a third preset formula to calculate the speed jump rate corresponding to the traffic participant.
[0139] In one embodiment, the above step S103 can be implemented as the following steps D1-D2:
[0140] In step D1, it is determined whether the driving jump rate is greater than a preset jump rate;
[0141] In step D2, when the driving jump rate is greater than a preset jump rate, it is determined that an abnormality occurs to the traffic participant corresponding to the driving jump rate.
[0142] In one embodiment, the preset driving data further includes the type of traffic participant, and the above step S103 can be implemented as the following steps E1-E2:
[0143] In step E1, the driving speed of the traffic participant is obtained from the roadside perception data of the traffic participant;
[0144] In step E2, a correspondence table is queried to determine whether the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type, wherein the correspondence table stores the correspondence between the traffic participant type and the maximum speed;
[0145] In step E3, when the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type, it is determined that the traffic participant is abnormal, and the abnormality is a type error.
[0146] Figure 2 FIG. 1 is a schematic diagram of a data anomaly detection device in an embodiment of the present application. Figure 2 As shown, the device comprises:
[0147] An acquisition module 201 is used to acquire roadside sensing data corresponding to each traffic participant sent by a roadside device;
[0148] A determination module 202, configured to determine preset driving data corresponding to each traffic participant based on the roadside sensing data, wherein the preset driving data at least includes a driving jump rate;
[0149] A judgment module 203 is used to judge whether the traffic participant is abnormal according to the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is judged to be abnormal;
[0150] The marking module 204 is used to mark the abnormal traffic participant when an abnormal traffic participant is detected.
[0151] In one embodiment, when the driving jump rate is a position jump rate, the determining module includes:
[0152] A first determination submodule is used to determine a connection line between two adjacent position points in the continuous position points from the roadside sensing data in a specific time period;
[0153] A first calculation submodule, used for calculating the angle between adjacent lines among the lines;
[0154] A first statistical submodule, used to count the number of adjacent line angles greater than a first preset angle in the roadside sensing data in a specific time period, and use the number as the number of position jump points;
[0155] The first substitution submodule is used to substitute the number of the position jump points into a first preset formula to calculate the position jump rate in the specific time period.
[0156] In one embodiment, when the driving jump rate is a heading jump rate, the determining module includes:
[0157] The second calculation submodule is used to calculate the heading angle change value of two adjacent roadside perception data in the roadside perception data of the same traffic participant;
[0158] A second statistical submodule, used for counting the number of occurrences of the heading angle change value being greater than a second preset angle, and taking the number of occurrences as the number of heading angle jumps;
[0159] The second substitution submodule is used to substitute the number of heading angle jumps into a second preset formula to calculate the heading jump rate corresponding to the traffic participant.
[0160] In one embodiment, the second substitution submodule is further used to:
[0161] Substitute the number of heading angle jumps into the following second preset formula to calculate the heading jump rate corresponding to the traffic participant:
[0162]
[0163] Among them, Y 2 is the heading angle jump rate corresponding to the traffic participant, t is the number of tracks with heading angle jump in a single set of data, and T is the total number of tracks in the data.
[0164] In one embodiment, when the driving jump rate is a speed jump rate, the determining module includes:
[0165] The third calculation submodule is used to calculate the speed change value of two adjacent roadside perception data in the roadside perception data of the same traffic participant;
[0166] A third statistical submodule is used to count the number of times that the speed change value is greater than a preset speed change threshold, and use the number of times as the speed jump number;
[0167] The third substitution submodule is used to substitute the speed jump times into a third preset formula to calculate the speed jump rate corresponding to the traffic participant.
[0168] In one embodiment, the judgment module includes:
[0169] A first judgment submodule, used to judge whether the driving jump rate is greater than a preset jump rate;
[0170] The second determination submodule is used to determine that an abnormality occurs to a traffic participant corresponding to the driving jump rate when the driving jump rate is greater than a preset jump rate.
[0171] In one embodiment, the preset driving data further includes the type of traffic participants, and the judgment module includes:
[0172] An acquisition submodule, used to acquire the driving speed of the traffic participant from the roadside perception data of the traffic participant;
[0173] A second judgment submodule is used to judge whether the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type by querying a corresponding relationship table, wherein the corresponding relationship between the traffic participant type and the maximum speed is stored in the corresponding relationship table;
[0174] The third determination submodule is used to determine that an abnormality occurs to the traffic participant when the driving speed of the traffic participant exceeds the maximum speed corresponding to the type of the traffic participant, and the abnormality is a type error.
[0175] Figure 3 FIG. 1 is a schematic diagram of the hardware structure of a data anomaly detection system in an embodiment of the present application. Figure 3 As shown, the data anomaly detection system includes:
[0176] at least one processor 320; and,
[0177] A memory 304 in communication with the at least one processor 320; wherein,
[0178] The memory 304 stores instructions that can be executed by the at least one processor 320, and the instructions are executed by the at least one processor 320 to implement the data anomaly detection method described in any of the above embodiments.
[0179] Reference Figure 3 The data anomaly detection system 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input / output (I / O) interface 312, a sensor component 314, and a communication component 316.
[0180] The processing component 302 generally controls the overall operation of the data anomaly detection system 300. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.
[0181] The memory 304 is configured to store various types of data to support the operation of the data anomaly detection system 300. Examples of such data include instructions for any application or method operating on the data anomaly detection system 300, such as text, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0182] The power supply component 306 provides power to various components of the data anomaly detection system 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the data anomaly detection system 300.
[0183] The multimedia component 308 includes a screen that provides an output interface between the data anomaly detection system 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 may also include a front camera and / or a rear camera. When the data anomaly detection system 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0184] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the data anomaly detection system 300 is in an operation mode, such as an alarm mode, a recording mode, a voice recognition mode, and a voice output mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.
[0185] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0186] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the data anomaly detection system 300. For example, the sensor assembly 314 may include a sound sensor. In addition, the sensor assembly 314 may detect the open / closed state of the data anomaly detection system 300, the relative positioning of the components, such as the display and keypad of the data anomaly detection system 300, and the sensor assembly 314 may also detect the operating state of the data anomaly detection system 300 or a component of the data anomaly detection system 300, such as the operating state of the air distribution plate, the structural state, the operating state of the discharge scraper, etc., the orientation or acceleration / deceleration of the data anomaly detection system 300 and the temperature change of the data anomaly detection system 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a material stacking thickness sensor or a temperature sensor.
[0187] The communication component 316 is configured to enable the data anomaly detection system 300 to provide the ability to communicate with other devices and cloud platforms in a wired or wireless manner. The data anomaly detection system 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0188] In an exemplary embodiment, the data anomaly detection system 300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the data anomaly detection method described in any of the above embodiments.
[0189] The present application also provides a computer-readable storage medium, characterized in that when the instructions in the storage medium are executed by a processor corresponding to the data anomaly detection system, the data anomaly detection system can implement the data anomaly detection method recorded in any of the above embodiments.
[0190] 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 in combination with 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 and optical storage, etc.) that contain computer-usable program code.
[0191] 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.
[0192] 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.
[0193] 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 A step that specifies a function in one or more boxes.
[0194] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for detecting data anomalies, It is characterized in that include: Obtain roadside perception data corresponding to each traffic participant sent by roadside equipment; Determining preset driving data corresponding to each traffic participant based on the roadside sensing data, wherein the preset driving data at least includes a driving jump rate; Determining whether a traffic participant is abnormal according to the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is determined to be abnormal; When an abnormal traffic participant is detected, the abnormal traffic participant is marked.
2. The method according to claim 1, It is characterized in that When the driving jump rate is a position jump rate, determining the preset driving data corresponding to each traffic participant based on the roadside sensing data includes: Determine a connection line between two adjacent position points in the continuous position points from the roadside sensing data in a specific time period; Calculating the angles between adjacent lines among the lines; Counting the number of adjacent line angles greater than a first preset angle in the roadside sensing data in a specific time period, and using the number as the number of position jump points; The number of the position jump points is substituted into a first preset formula to calculate the position jump rate in the specific time period.
3. The method according to claim 1, It is characterized in that When the driving jump rate is a heading jump rate, determining the preset driving data corresponding to each traffic participant based on the roadside sensing data includes: Calculate the heading angle change value of two adjacent roadside perception data in the roadside perception data of the same traffic participant; Counting the number of occurrences of the heading angle change value being greater than a second preset angle, and taking the number of occurrences as the number of heading angle jumps; The number of heading angle jumps is substituted into a second preset formula to calculate a heading jump rate corresponding to the traffic participant.
4. The method according to claim 3, It is characterized in that Substituting the number of heading angle jumps into a second preset formula to calculate the heading jump rate corresponding to the traffic participant includes: Substitute the number of heading angle jumps into the following second preset formula to calculate the heading jump rate corresponding to the traffic participant: Among them, Y 2 is the heading angle jump rate corresponding to the traffic participant, t is the number of tracks with heading angle jump in a single set of data, and T is the total number of tracks in the data.
5. The method according to claim 1, It is characterized in that When the driving jump rate is a speed jump rate, determining the preset driving data corresponding to each traffic participant based on the roadside sensing data includes: Calculate the speed change value of two adjacent roadside perception data of the same traffic participant; Counting the number of times that the speed change value is greater than a preset speed change threshold, and taking the number of times as the speed jump number; The speed jump times are substituted into a third preset formula to calculate a speed jump rate corresponding to the traffic participant.
6. The method according to claim 1, It is characterized in that The determining whether a traffic participant is abnormal according to the preset driving data includes: Determining whether the driving jump rate is greater than a preset jump rate; When the driving jump rate is greater than a preset jump rate, it is determined that an abnormality occurs to the traffic participant corresponding to the driving jump rate.
7. The method according to claim 1, It is characterized in that The preset driving data also includes a type of traffic participant, and judging whether a traffic participant is abnormal according to the preset driving data includes: Acquiring the driving speed of the traffic participant from the roadside perception data of the traffic participant; By querying a correspondence table to determine whether the driving speed of the traffic participant exceeds the maximum speed corresponding to the traffic participant type, the correspondence table stores the correspondence between the traffic participant type and the maximum speed; When the driving speed of the traffic participant exceeds the maximum speed corresponding to the type of the traffic participant, it is determined that an abnormality occurs with the traffic participant, and the abnormality is a type error.
8. A device for detecting data anomalies, It is characterized in that include: An acquisition module, used to acquire the roadside sensing data corresponding to each traffic participant sent by the roadside equipment; A determination module, configured to determine preset driving data corresponding to each traffic participant based on the roadside sensing data, wherein the preset driving data at least includes a driving jump rate; A judgment module, used for judging whether the traffic participant is abnormal according to the preset driving data, wherein the higher the driving jump rate included in the preset driving data, the higher the probability that the traffic participant is judged to be abnormal; The marking module is used to mark the abnormal traffic participants when abnormal traffic participants are detected.
9. A data anomaly detection system, It is characterized in that include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the data anomaly detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that When the instructions in the storage medium are executed by a processor corresponding to the data anomaly detection system, the data anomaly detection system can implement the data anomaly detection method as described in any one of claims 1 to 7.
