Line pressing judgment method, device and system and storage medium
By reporting data and drawing vehicle models by in-vehicle smart terminals, the problem that traditional autonomous driving assistance systems are difficult to identify whether the vehicle is pressed in rainy days or haze is solved, and accurate judgments are achieved under various weather conditions and driving safety is improved.
Patent Information
- Application Number
- CN202411203714.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-12
AI Technical Summary
Traditional autonomous driving assistance systems are difficult to accurately identify whether the vehicle is pressing the line in rainy or smog weather, which affects driving safety.
The vehicle operation data is reported in real time to the cloud through the on-board smart terminal, and the vehicle model is drawn using the basic data of the road network map and the vehicle position data to determine whether the vehicle is pressing the line without collecting road lane line information.
It realizes accurate identification of whether the vehicle is pressing the line under various weather conditions, improves vehicle driving safety, and avoids the impact of weather and lane line information on judgment.
Smart Images

Figure CN118928388A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving, and in particular to a line crossing judgment method, device, system and storage medium. Background Art
[0002] As the number of cars in my country continues to increase, more and more cars are equipped with advanced driver assistance systems. In order to ensure the driving safety of the vehicle, the automatic driving assistance system will try to keep the vehicle in the middle of the lane and avoid crossing the line. In the traditional automatic driving assistance system, the vehicle crossing the line is judged by the on-board camera to identify the lane line of the driving road, and judge whether it crosses the line according to the driving position of the vehicle. This method is only applicable to roads with clear lane lines. It seriously affects the accuracy of camera recognition in rainy or foggy weather, and has certain limitations. These defects seriously affect driving safety.
[0003] Therefore, how to provide a lane crossing judgment method that can accurately identify whether a vehicle crosses the lane without being affected by weather and lane lines, thereby improving vehicle driving safety. Summary of the invention
[0004] The present application provides a lane crossing judgment method, device, system and storage medium, which can accurately identify whether a vehicle crosses the lane without being affected by weather and lane lines, thereby improving vehicle driving safety.
[0005] The present application provides a method for determining a line pressure, comprising:
[0006] Read vehicle operation data reported by the on-board intelligent terminal;
[0007] parsing the vehicle operation data to determine whether the vehicle operation data is legal;
[0008] When the vehicle operation data is legal, judging whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data;
[0009] When the vehicle is on a road network, a model corresponding to the vehicle is drawn on the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data;
[0010] Whether the vehicle crosses the line is determined based on the position of the model corresponding to the vehicle in the road network.
[0011] The beneficial effect of the present application is that the on-board intelligent terminal in the present application reports the real-time vehicle operation data to the cloud. After the cloud completes the legal verification of the vehicle operation data, it determines whether the vehicle is in the road network according to the latitude and longitude information in the vehicle operation data, and draws the corresponding model of the vehicle in the road network according to the vehicle operation data, so as to determine whether the vehicle crosses the line and accurately guide the vehicle to drive. Since there is no need to collect road lane line information, the present method can accurately identify whether the vehicle crosses the line without being affected by weather and lane lines, thereby improving the safety of vehicle driving.
[0012] In one embodiment, before reading the vehicle operation data reported by the vehicle-mounted intelligent terminal, the method further includes:
[0013] Loading road network map basic data information, wherein the road network map basic data information includes lane information of road components, lane longitude and latitude list information, travel direction information, and lane level data points;
[0014] The reading of vehicle operation data reported by the vehicle-mounted intelligent terminal includes:
[0015] Read a piece of real-time operation data reported by the vehicle-mounted intelligent terminal. The data includes the vehicle's unique identification, vehicle type, vehicle speed, heading angle, longitude, latitude, vehicle length, and vehicle width.
[0016] In one embodiment, parsing the vehicle operation data to determine whether the vehicle operation data is legal includes:
[0017] Analyze key attribute information in data;
[0018] Verifying the key information to determine whether the key information is legal;
[0019] When illegal information exists in the key information, it is determined that the vehicle operation data is illegal.
[0020] In one embodiment, judging whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data includes:
[0021] Compare the latitude and longitude information corresponding to the lane information in the basic data information of the road network map, and the latitude and longitude information corresponding to the vehicle operation data;
[0022] When the longitude and latitude information corresponding to the vehicle operation data falls within the longitude and latitude information corresponding to the lane information, it is determined that the vehicle is on a road network.
[0023] In one embodiment, drawing a model corresponding to the vehicle in the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data includes:
[0024] Determine the coordinates corresponding to each vertex in the vehicle according to the length, width and heading angle of the vehicle;
[0025] Arrange the coordinates of the vertices in order;
[0026] Determine the target position of the vehicle on the road network according to the vehicle position data;
[0027] The model corresponding to the vehicle is drawn at the target position in the road network according to the coordinates of each vertex arranged in the sequence.
[0028] In one embodiment, judging whether the vehicle crosses the line according to the position of the model corresponding to the vehicle in the road network includes:
[0029] Determining whether a line segment of a lane edge is within the vehicle model;
[0030] When the line segment is within the vehicle model, it is determined that the lane edge intersects the vehicle model and the vehicle crosses the line.
[0031] In one embodiment, the method further comprises:
[0032] When the line segment is not within the vehicle model, selecting a preset direction to draw an extension line of the line segment and traversing each edge of the vehicle model;
[0033] Determining whether the extension line intersects with an edge of the vehicle model;
[0034] When the extension line intersects with the edge of the vehicle model and there are multiple intersection points, the vehicle pressure line is determined.
[0035] The present application also provides a wire pressing judgment device, comprising:
[0036] The reading module is used to read the vehicle operation data reported by the vehicle-mounted intelligent terminal;
[0037] A parsing module, used for parsing the vehicle operation data to determine whether the vehicle operation data is legal;
[0038] A first judgment module, used for judging whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data when the vehicle operation data is legal;
[0039] A drawing module, used for drawing a model corresponding to the vehicle on the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data when the vehicle is on the road network;
[0040] The second judgment module is used to judge whether the vehicle crosses the line according to the position of the model corresponding to the vehicle in the road network.
[0041] In one embodiment, the apparatus further comprises:
[0042] A loading module, used to load basic data information of a road network map, wherein the basic data information of the road network map includes lane information of road components, lane longitude and latitude list information, travel direction information, and lane level data points;
[0043] The reading module is further used for:
[0044] Read a piece of real-time operation data reported by the vehicle-mounted intelligent terminal. The data includes the vehicle's unique identification, vehicle type, vehicle speed, heading angle, longitude, latitude, vehicle length, and vehicle width.
[0045] In one embodiment, the parsing module includes:
[0046] Parsing submodule, used to parse key attribute information in the data;
[0047] A verification submodule, used to verify the key information to determine whether the key information is legal;
[0048] The first determination submodule is used to determine that the vehicle operation data is illegal when illegal information exists in the key information.
[0049] In one embodiment, the first determination module includes:
[0050] A comparison submodule is used to compare the latitude and longitude information corresponding to the lane information in the basic data information of the road network map, and the latitude and longitude information corresponding to the vehicle operation data;
[0051] The second determination submodule is used to determine that the vehicle is in a road network when the longitude and latitude information corresponding to the vehicle operation data falls within the longitude and latitude information corresponding to the lane information.
[0052] In one embodiment, the drawing module includes:
[0053] The third determination submodule is used to determine the coordinates corresponding to each vertex in the vehicle according to the length, width and heading angle of the vehicle;
[0054] An arrangement submodule, used for arranging the coordinates of each vertex in order;
[0055] A fourth determination submodule, configured to determine a target position of the vehicle on the road network according to the vehicle position data;
[0056] The first drawing submodule is used to draw the model corresponding to the vehicle at the target position in the road network according to the coordinates of each vertex arranged in the sequence.
[0057] In one embodiment, the second determination module includes:
[0058] A first judgment submodule, used to judge whether a line segment of a lane edge is within the vehicle model;
[0059] The fifth determination submodule is used to determine that the lane edge intersects the vehicle model and the vehicle crosses the line when the line segment is within the vehicle model.
[0060] In one embodiment, the apparatus further comprises:
[0061] A second drawing submodule, for selecting a preset direction to draw an extension line of the line segment when the line segment is not within the vehicle model, and traversing each edge of the vehicle model;
[0062] A second judgment submodule, used to judge whether the extension line intersects with the edge of the vehicle model;
[0063] The sixth determination submodule is used to determine the vehicle pressure line when the extension line intersects with the edge of the vehicle model and the number of intersections is multiple.
[0064] The present application also provides a pressure line judgment system, comprising:
[0065] at least one processor; and,
[0066] a memory communicatively connected to the at least one processor; wherein,
[0067] 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 line pressing judgment method recorded in any of the above embodiments.
[0068] The present application also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the line pressing judgment system, the line pressing judgment system can implement the line pressing judgment method recorded in any of the above embodiments.
[0069] 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.
[0070] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] 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:
[0072] Figure 1 This is a flow chart of a method for determining line pressure in one embodiment of the present application;
[0073] Figure 2 This is an application environment diagram of a method for determining a line crossing of a networked vehicle in one embodiment of the present application;
[0074] Figure 3 This is a structural schematic diagram of a wire pressing judgment device in one embodiment of the present application;
[0075] Figure 4 This is a schematic diagram of the hardware structure of a wire pressing judgment 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 This is a flow chart of a method for determining line pressure in one embodiment of the present application. Figure 1 As shown, the method can be implemented as the following steps S101-S105:
[0078] In step S101, the vehicle operation data reported by the vehicle-mounted intelligent terminal is read;
[0079] In step S102, the vehicle operation data is parsed to determine whether the vehicle operation data is legal;
[0080] In step S103, when the vehicle operation data is legal, it is determined whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data;
[0081] In step S104, when the vehicle is in the road network, a model corresponding to the vehicle is drawn in the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data;
[0082] In step S105, it is determined whether the vehicle crosses the road line according to the position of the model corresponding to the vehicle in the road network.
[0083] In this application, the vehicle operation data reported by the vehicle-mounted intelligent terminal is read. Specifically, Figure 2 FIG. 1 is an application environment diagram of a method for determining a line crossing of a networked vehicle in one embodiment of the present application, such as Figure 2 As shown, the vehicle operation data is obtained by the on-board intelligent terminal, and the data is reported to the cloud server through the wireless network. Before the on-board intelligent terminal reports the vehicle operation data, the cloud server pre-loads the basic data information of the road network map, wherein the basic data information of the road network map includes the lane information of the road composition, the list information of the lane longitude and latitude, the direction of travel information (such as straight, left turn, right turn, etc.), and the lane level data point, the lane level data point represents the starting point, turning point, end point, stop line, lane edge line information of the original attribute of the lane, etc. After loading the basic data information of the road network map, the cloud server reads a piece of vehicle operation data reported in real time by the on-board intelligent terminal, and the data contains attribute information such as the vehicle unique identification, vehicle type, vehicle speed, heading angle, longitude, latitude, vehicle length, and vehicle width.
[0084] The vehicle operation data is parsed to determine whether the vehicle operation data is legal. Specifically, the key attribute information in the data is parsed, such as vehicle identification, vehicle type, speed, heading angle, longitude, latitude, vehicle length, vehicle width, etc.; the key information is verified to determine whether the key information is legal; when illegal information exists in the key information, the vehicle operation data is determined to be illegal. For example, the longitude, latitude, speed and timestamp information in the vehicle operation data can be verified to determine whether the vehicle operation data is legal. There are many ways to judge, (1) when it is determined whether the vehicle is in an abnormal area based on the longitude and latitude in the vehicle operation data, the vehicle operation data is determined to be illegal, wherein the abnormal area is an area that the vehicle cannot pass through, such as a building area without a lane, a water area without a lane, etc. (2) The longitude, latitude and speed data of the vehicle operation data at the current time point and the previous time point are obtained, and when the distance between the two exceeds a preset distance, the vehicle operation data is determined to be illegal, wherein the preset distance is positively correlated with the speed. (3) When the timestamp in the vehicle operation data is illegal and / or the speed is negative and / or the latitude and longitude are illegal, the vehicle operation data is determined to be illegal. Of course, there are many other ways in the prior art to determine whether the vehicle operation data is legal, which will not be elaborated in this application.
[0085] When the vehicle operation data is legal, it is determined whether the vehicle is in a road network according to the longitude and latitude information in the vehicle operation data. Specifically, the longitude and latitude information in the vehicle operation data is obtained; then, the longitude and latitude information corresponding to the vehicle operation data is compared with the longitude and latitude information corresponding to the lane information in the basic data information of the road network map; when the longitude and latitude information corresponding to the vehicle operation data falls within the longitude and latitude information corresponding to the lane information, it is determined that the vehicle is in a road network.
[0086] When the vehicle is not on the road network, there is no need to determine whether the vehicle crosses the line. A new data is read again to continue monitoring whether the vehicle crosses the line.
[0087] When the vehicle is in a road network, a model corresponding to the vehicle is drawn in the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data. Specifically, the coordinates corresponding to each vertex in the vehicle are determined according to the vehicle length, width and heading angle. Specifically, the relative position relationship between the coordinates corresponding to the center point of the vehicle and each vertex in the vehicle can be obtained in combination with the length, width and heading angle of the vehicle. The coordinates corresponding to each vertex can be the relative position relationship between the coordinates corresponding to the center point of the vehicle and each vertex in the vehicle, or can be specific longitude and latitude coordinates. When the coordinates corresponding to each vertex are specific longitude and latitude coordinates, it is assumed that the longitude and latitude in the vehicle operation data are the position of the center point of the vehicle, and then the relative position relationship between the coordinates corresponding to the center point of the vehicle and each vertex in the vehicle can be obtained in combination with the length, width and heading angle of the vehicle. According to the longitude and latitude information of the vehicle, and the relative position relationship between the coordinates corresponding to the center point of the vehicle and each vertex in the vehicle, the corresponding coordinates of each vertex in the vehicle can be determined. After obtaining the corresponding coordinates of each vertex of the vehicle, the coordinates of each vertex are arranged in sequence. For example, assuming that the vehicle polygon is composed of n vertices, these points are arranged in the order they are on the polygon boundary. The coordinates of each vertex can be expressed as (X i ,Y i ), where i is an integer from 1 to n, then a polygon can be represented as follows: {(X1,Y1),(X2,Y2),…,(X n ,Y n )}. When the coordinates corresponding to each vertex can be the relative position relationship between the center point of the vehicle and the coordinates corresponding to each vertex in the vehicle, the target position of the vehicle in the road network is determined according to the vehicle position data. For example, assuming that the longitude and latitude are the position of the center point of the vehicle, the target position of the center point of the vehicle in the road network can be determined according to the longitude and latitude information of the vehicle. Then, the model corresponding to the vehicle is drawn at the target position in the road network according to the coordinates of each vertex arranged in the sequence. When the coordinates corresponding to each vertex are specific longitude and latitude coordinates, the position of the coordinates of each vertex in the road network can be directly determined, and then the geometric polygonal model of the vehicle in the road network can be obtained.
[0088] Determine whether the vehicle crosses the line according to the position of the model corresponding to the vehicle in the road network. Specifically, obtain the lane edge in the loaded road network map basic data information, where the lane edge can be composed of multiple line segments, and determine whether a line segment of the lane edge is within the vehicle model; when the line segment is within the vehicle model, determine that the lane edge intersects with the vehicle model, and the vehicle crosses the line. Since the lane line is not continuous at the dashed line of the lane line, or part of the lane line is unclear, in order to determine whether the vehicle crosses the line, at this time, when the line segment is not within the vehicle model, select a preset direction to draw the extension line of the line segment of the lane edge, and traverse each edge of the vehicle model; determine whether the extension line intersects with the edge of the vehicle model; when the extension line intersects with the edge of the vehicle model, and the number of intersections is multiple, determine that the vehicle crosses the line. When the extension line does not intersect with the edge of the vehicle model, determine that the vehicle does not cross the line; when the extension line intersects with the edge of the vehicle model, and the number of intersections is 1, determine that the vehicle does not cross the line.
[0089] In one embodiment of the present application, the initial number of times the vehicle crosses the line is recorded as 0. During the driving process, when the vehicle crosses the line, the position information of the vehicle crossing the line is recorded, and the number of times the vehicle crosses the line corresponding to the vehicle identification is updated, such as recording the vehicle unique identification, timestamp, longitude, latitude, speed, heading angle information when the crossing event occurs, etc. On the one hand, it can be used for users to check whether their driving behavior is standardized in the future. On the other hand, when the cloud platform is used by the management department, it can also be used to check traffic behavior. For example, the average driving crossing data of the vehicle at the intersection in the past 7 days is counted, and the calculation formula is N = (X1 + X2 + ... + Xn) / n, where N is the average number of driving crossings, and X1, X2, and Xn are the number of driving crossings per day.
[0090] The beneficial effect of the present application is that the on-board intelligent terminal in the present application reports the real-time vehicle operation data to the cloud. After the cloud completes the legal verification of the vehicle operation data, it determines whether the vehicle is in the road network according to the latitude and longitude information in the vehicle operation data, and draws the corresponding model of the vehicle in the road network according to the vehicle operation data, so as to determine whether the vehicle crosses the line and accurately guide the vehicle to drive. Since there is no need to collect road lane line information, the present method can accurately identify whether the vehicle crosses the line without being affected by weather and lane lines, thereby improving the safety of vehicle driving.
[0091] In one embodiment, before the above step S101, the method may also be implemented as the following step A1:
[0092] In step A1, basic data information of a road network map is loaded, wherein the basic data information of the road network map includes lane information of road components, lane longitude and latitude list information, travel direction information, and lane level data points;
[0093] The above step S101 can also be implemented as the following step A2:
[0094] In step A2, a piece of real-time operation data reported by the vehicle-mounted intelligent terminal is read, and the data includes the vehicle unique identification, vehicle type, vehicle speed, heading angle, longitude, latitude, vehicle length, and vehicle width.
[0095] In one embodiment, the above step S102 may be implemented as the following steps B1-B3:
[0096] In step B1, key attribute information in the data is parsed;
[0097] In step B2, the key information is verified to determine whether the key information is legal;
[0098] In step B3, when illegal information exists in the key information, it is determined that the vehicle operation data is illegal.
[0099] In one embodiment, the above step S103 may be implemented as the following steps C1-C2:
[0100] In step C1, the longitude and latitude information corresponding to the lane information in the road network map basic data information and the longitude and latitude information corresponding to the vehicle operation data are compared;
[0101] In step C2, when the longitude and latitude information corresponding to the vehicle operation data falls within the longitude and latitude information corresponding to the lane information, it is determined that the vehicle is in a road network.
[0102] In one embodiment, the above step S104 may be implemented as the following steps D1-D4:
[0103] In step D1, the coordinates corresponding to each vertex in the vehicle are determined according to the length, width, and heading angle of the vehicle;
[0104] In step D2, the coordinates of the vertices are arranged in order;
[0105] In step D3, a target position of the vehicle on the road network is determined according to the vehicle position data;
[0106] In step D4, a model corresponding to the vehicle is drawn at a target position in the road network according to the coordinates of each of the vertices arranged in the sequence.
[0107] In one embodiment, the above step S105 may be implemented as the following steps E1-E2:
[0108] In step E1, it is determined whether a line segment of the lane edge is within the vehicle model;
[0109] In step E2, when the line segment is within the vehicle model, it is determined that the lane edge intersects the vehicle model and the vehicle crosses the line.
[0110] In one embodiment, the above method can also be implemented as the following steps E3-E5:
[0111] In step E3, when the line segment is not within the vehicle model, a preset direction is selected to draw an extension line of the line segment, and each edge of the vehicle model is traversed;
[0112] In step E4, determining whether the extension line intersects with an edge of the vehicle model;
[0113] In step E5, when the extension line intersects with the edge of the vehicle model and there are multiple intersection points, the vehicle pressure line is determined.
[0114] In a specific embodiment of the present application, the process of the method for determining the crossing of a line by a networked vehicle is as follows:
[0115] (1) Loading basic data information of the road network map into the memory, including lane information of the road composition, lane-level geometric data information including lane composition longitude and latitude list information, and travel direction information (direction information such as straight, left turn, right turn, etc.). These lane-level data points represent the starting point, turning point, end point, stop line, lane edge line information, etc. of the original attributes of the lane;
[0116] (2) The on-board intelligent terminal obtains vehicle operation data and reports the data to the cloud server through the wireless network;
[0117] (3) Read a piece of real-time operation data reported by the vehicle-mounted intelligent terminal, which includes attribute information such as vehicle unique identification, vehicle type, vehicle speed, heading angle, longitude, latitude, vehicle length, and vehicle width;
[0118] (4) Analyze the key attributes in the data, including vehicle identification, vehicle type, speed, heading angle, longitude, latitude, vehicle length, and vehicle width fields;
[0119] (5) Verify the longitude, latitude, and timestamp to determine whether the data is valid and whether the vehicle location information is valid. For example, if the longitude and latitude of the vehicle are valid, the timestamp is illegal, the speed is negative, or the longitude and latitude are illegal, then the data is determined to be illegal;
[0120] (6) If the verification fails, repeat step (3) and re-read a piece of vehicle operation data for processing;
[0121] (7) If the verification is successful, determine whether it is on the road network based on the longitude and latitude;
[0122] (8) If it is not in the road network, ignore this data, repeat step (3), and read a new data;
[0123] (9) If the vehicle is on a road network, a polygonal model of the vehicle is drawn based on the vehicle position data, vehicle length, vehicle width and heading angle. The drawing principle is as follows:
[0124] Assume that the vehicle polygon consists of n vertices, and the coordinates of each vertex can be expressed as (X i ,Y i ), where i is an integer from 1 to n, then a polygon can be represented as follows:
[0125] {(X1,Y1),(X2,Y2),…,(X n ,Y n )}
[0126] Here each point (X i ,Y i ) are each a vertex of the polygon, and the points are arranged in the order they appear on the polygon boundary.
[0127] (10) The ray method is used to determine whether the vehicle polygon intersects with the lane edge. The calculation principle is as follows:
[0128] ① Determine whether one endpoint of the lane edge is within the vehicle polygon. If the endpoint is within the polygon, the lane edge must intersect with the vehicle polygon;
[0129] ② If the endpoint is not within the vehicle polygon, select a direction, usually a method of emitting a ray perpendicular to the line segment; traverse each edge of the vehicle polygon, check whether the ray intersects with the edge of the polygon, and determine the number of intersections. If the number of intersections is multiple, the vehicle sideline intersects with the polygon. If it is 1, it does not intersect; determine whether the vehicle crosses the line based on whether it intersects;
[0130] (11) If a vehicle crosses the line, the vehicle’s unique identification, timestamp, longitude, latitude, speed, and heading angle information at the time of the event are recorded in the database;
[0131] (12) If the vehicle has not crossed the line, determine whether there is the next piece of data. If not, end the calculation. If so, repeat step (3) and continue reading the next piece of data.
[0132] (13) If the business requirement is to display the average driving line crossing data of the vehicle at the intersection in the past 7 days, the calculation formula is N = (X1 + X2 + ... + Xn) / n, where N is the average number of driving lines, and X1, X2, and Xn are the number of driving lines crossing at the intersection every day.
[0133] Figure 3 Schematic diagram of a wire pressing judgment device in one embodiment of the present application. Figure 3 As shown, including:
[0134] The reading module 301 is used to read the vehicle operation data reported by the vehicle-mounted intelligent terminal;
[0135] The parsing module 302 is used to parse the vehicle operation data to determine whether the vehicle operation data is legal;
[0136] The first judgment module 303 is used to judge whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data when the vehicle operation data is legal;
[0137] A drawing module 304 is used to draw a model corresponding to the vehicle on the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data when the vehicle is on the road network;
[0138] The second judgment module 305 is used to judge whether the vehicle crosses the line according to the position of the model corresponding to the vehicle in the road network.
[0139] In one embodiment, the apparatus further comprises:
[0140] A loading module, used to load basic data information of a road network map, wherein the basic data information of the road network map includes lane information of road components, lane longitude and latitude list information, travel direction information, and lane level data points;
[0141] The reading module is further used for:
[0142] Read a piece of real-time operation data reported by the vehicle-mounted intelligent terminal. The data includes the vehicle's unique identification, vehicle type, vehicle speed, heading angle, longitude, latitude, vehicle length, and vehicle width.
[0143] In one embodiment, the parsing module includes:
[0144] Parsing submodule, used to parse key attribute information in the data;
[0145] A verification submodule, used to verify the key information to determine whether the key information is legal;
[0146] The first determination submodule is used to determine that the vehicle operation data is illegal when illegal information exists in the key information.
[0147] In one embodiment, the first determination module includes:
[0148] A comparison submodule is used to compare the latitude and longitude information corresponding to the lane information in the basic data information of the road network map, and the latitude and longitude information corresponding to the vehicle operation data;
[0149] The second determination submodule is used to determine that the vehicle is in a road network when the longitude and latitude information corresponding to the vehicle operation data falls within the longitude and latitude information corresponding to the lane information.
[0150] In one embodiment, the drawing module includes:
[0151] The third determination submodule is used to determine the coordinates corresponding to each vertex in the vehicle according to the length, width and heading angle of the vehicle;
[0152] An arrangement submodule, used for arranging the coordinates of each vertex in order;
[0153] A fourth determination submodule, configured to determine a target position of the vehicle on the road network according to the vehicle position data;
[0154] The first drawing submodule is used to draw the model corresponding to the vehicle at the target position in the road network according to the coordinates of each vertex arranged in the sequence.
[0155] In one embodiment, the second determination module includes:
[0156] A first judgment submodule, used to judge whether a line segment of a lane edge is within the vehicle model;
[0157] The fifth determination submodule is used to determine that the lane edge intersects the vehicle model and the vehicle crosses the line when the line segment is within the vehicle model.
[0158] In one embodiment, the apparatus further comprises:
[0159] A second drawing submodule, for selecting a preset direction to draw an extension line of the line segment when the line segment is not within the vehicle model, and traversing each edge of the vehicle model;
[0160] A second judgment submodule, used to judge whether the extension line intersects with the edge of the vehicle model;
[0161] The sixth determination submodule is used to determine the vehicle pressure line when the extension line intersects with the edge of the vehicle model and the number of intersections is multiple.
[0162] Figure 4 FIG. 1 is a schematic diagram of the hardware structure of a wire pressing judgment system in one embodiment of the present application. Figure 4 As shown, the pressure line judgment system includes:
[0163] at least one processor 420; and,
[0164] A memory 404 in communication with the at least one processor 420; wherein,
[0165] The memory 404 stores instructions that can be executed by the at least one processor 420, and the instructions are executed by the at least one processor 420 to implement the line pressing judgment method recorded in any of the above embodiments.
[0166] Reference Figure 4 The pressure line judgment system 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.
[0167] The processing component 402 generally controls the overall operation of the pressure line judgment system 400. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0168] The memory 404 is configured to store various types of data to support the operation of the pressure line judgment system 400. Examples of such data include instructions for any application or method operating on the pressure line judgment system 400, such as text, pictures, videos, etc. The memory 404 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.
[0169] The power supply assembly 406 provides power to various components of the wire pressing determination system 400. The power supply assembly 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the vehicle control system 400.
[0170] The multimedia component 408 includes a screen that provides an output interface between the pressure line judgment system 400 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 can 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 408 may also include a front camera and / or a rear camera. When the pressure line judgment system 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0171] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the pressure line judgment system 400 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 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0172] I / O interface 412 provides an interface between processing component 402 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.
[0173] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the wire pressing judgment system 400. For example, the sensor assembly 414 may include a sound sensor. In addition, the sensor assembly 414 may detect the open / closed state of the wire pressing judgment system 400, the relative positioning of the components, such as the display and keypad of the wire pressing judgment system 400, and the sensor assembly 414 may also detect the operating state of the wire pressing judgment system 400 or a component of the wire pressing judgment system 400, the orientation of the wire pressing judgment system 400 or the temperature change of the wire pressing judgment system 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include a magnetic sensor, a pressure sensor or a temperature sensor.
[0174] The communication component 416 is configured to enable the pressure line judgment system 400 to provide the ability to communicate with other devices and cloud platforms in a wired or wireless manner. The pressure line judgment system 400 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 416 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 416 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.
[0175] In an exemplary embodiment, the line pressing judgment system 400 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 line pressing judgment method described in any of the above embodiments.
[0176] The present application also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the line pressing judgment system, the line pressing judgment system can implement the line pressing judgment method recorded in any of the above embodiments.
[0177] The present application also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the line pressing judgment system, the line pressing judgment system can implement the line pressing judgment method recorded in any of the above embodiments.
[0178] 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.
[0179] 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.
[0180] 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.
[0181] 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.
[0182] 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 determining a line pressure, characterized in that: include: Read vehicle operation data reported by the on-board intelligent terminal; parsing the vehicle operation data to determine whether the vehicle operation data is legal; When the vehicle operation data is legal, judging whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data; When the vehicle is on a road network, a model corresponding to the vehicle is drawn on the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data; Whether the vehicle crosses the line is determined based on the position of the model corresponding to the vehicle in the road network.
2. The method according to claim 1, characterized in that Before reading the vehicle operation data reported by the vehicle-mounted intelligent terminal, the method further includes: Loading road network map basic data information, wherein the road network map basic data information includes lane information of road components, lane longitude and latitude list information, travel direction information, and lane level data points; The reading of vehicle operation data reported by the vehicle-mounted intelligent terminal includes: Read a piece of real-time operation data reported by the vehicle-mounted intelligent terminal. The data includes the vehicle's unique identification, vehicle type, vehicle speed, heading angle, longitude, latitude, vehicle length, and vehicle width.
3. The method according to claim 1, characterized in that The analyzing the vehicle operation data to determine whether the vehicle operation data is legal includes: Analyze key attribute information in data; Verifying the key information to determine whether the key information is legal; When illegal information exists in the key information, it is determined that the vehicle operation data is illegal.
4. The method according to claim 1, characterized in that The determining whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data includes: Compare the latitude and longitude information corresponding to the lane information in the basic data information of the road network map, and the latitude and longitude information corresponding to the vehicle operation data; When the longitude and latitude information corresponding to the vehicle operation data falls within the longitude and latitude information corresponding to the lane information, it is determined that the vehicle is on a road network.
5. The method according to claim 1, characterized in that The step of drawing a model corresponding to the vehicle on the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data includes: Determine the coordinates corresponding to each vertex in the vehicle according to the length, width and heading angle of the vehicle; Arrange the coordinates of the vertices in order; Determine the target position of the vehicle on the road network according to the vehicle position data; The model corresponding to the vehicle is drawn at the target position in the road network according to the coordinates of each vertex arranged in the sequence.
6. The method according to claim 1, characterized in that The step of judging whether the vehicle crosses a road line according to the position of the model corresponding to the vehicle in the road network includes: Determining whether a line segment of a lane edge is within the vehicle model; When the line segment is within the vehicle model, it is determined that the lane edge intersects the vehicle model and the vehicle crosses the line.
7. The method according to claim 6, characterized in that The method further comprises: When the line segment is not within the vehicle model, selecting a preset direction to draw an extension line of the line segment and traversing each edge of the vehicle model; Determining whether the extension line intersects with an edge of the vehicle model; When the extension line intersects with the edge of the vehicle model and there are multiple intersection points, the vehicle pressure line is determined.
8. A wire pressing judgment device, characterized in that: include: The reading module is used to read the vehicle operation data reported by the vehicle-mounted intelligent terminal; A parsing module, used for parsing the vehicle operation data to determine whether the vehicle operation data is legal; A first judgment module, used for judging whether the vehicle is on a road network according to the latitude and longitude information in the vehicle operation data when the vehicle operation data is legal; A drawing module, used for drawing a model corresponding to the vehicle on the road network according to the vehicle position data, vehicle length, vehicle width and heading angle in the vehicle operation data when the vehicle is on the road network; The second judgment module is used to judge whether the vehicle crosses the line according to the position of the model corresponding to the vehicle in the road network.
9. A pressure line judgment system, 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 line pressing judgment method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor corresponding to the line pressing judgment system, the line pressing judgment system can implement the line pressing judgment method as described in any one of claims 1 to 7.
