CN114023071A - Traffic violation prompting method and device, storage medium and electronic equipment - Google Patents

Traffic violation prompting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114023071A
CN114023071A CN202111460150.7A CN202111460150A CN114023071A CN 114023071 A CN114023071 A CN 114023071A CN 202111460150 A CN202111460150 A CN 202111460150A CN 114023071 A CN114023071 A CN 114023071A
Authority
CN
China
Prior art keywords
vehicle
information
lane
determining
violation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111460150.7A
Other languages
Chinese (zh)
Inventor
周欣如
邰冲
陈野
刘俊俍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN202111460150.7A priority Critical patent/CN114023071A/en
Publication of CN114023071A publication Critical patent/CN114023071A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/091Traffic information broadcasting

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Traffic Control Systems (AREA)

Abstract

The disclosure relates to a traffic violation prompting method, a traffic violation prompting device, a storage medium and electronic equipment, which are used for specifically prompting a vehicle under the condition that the vehicle has a violation risk so as to reduce the waste of communication resources. The method comprises the following steps: receiving driving information sent by a vehicle in a monitoring range, and acquiring environmental information in the monitoring range, wherein the driving information comprises a vehicle number of the vehicle; judging whether the vehicle has a violation risk or not according to the driving information and the environmental information in the monitoring range; and under the condition that the vehicle has the violation risk, generating reminding information based on the vehicle number and the violation risk information of the vehicle, and broadcasting the reminding information so that the violation risk information is output when the vehicle number in the reminding information is the same as the vehicle number of the vehicle after the vehicle receives and analyzes the reminding information.

Description

Traffic violation prompting method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of intelligent transportation technologies, and in particular, to a method and an apparatus for traffic violation prompting, a storage medium, and an electronic device.
Background
With the increasing improvement of living standard and the continuous progress of science and technology, automobiles gradually become a transportation tool for people to go out, and the traffic violation behaviors are increased. The traffic safety is damaged by the violation behaviors of the drivers of the motor vehicles, so that the self life and property safety of the drivers is threatened, and even the life and property safety of other public on the road is threatened.
At present, in order to avoid that a driver drives a vehicle illegally, the driver is usually reminded by directly sending a traffic rule of a current road section to the vehicle, for example, the speed limit of the current road section is 60km/h, and as long as the vehicle runs to the current road section, a reminding message is sent to the vehicle to remind the driver of 'the speed limit of the current road section is 60 km/h', and the like. In the related art, the mode of directly sending the traffic rule of the current road section for reminding needs to frequently send reminding messages to vehicles, so that waste of communication resources is caused.
Disclosure of Invention
The invention aims to provide a traffic violation prompting method, a traffic violation prompting device, a storage medium and electronic equipment, and aims to solve the technical problem that communication resources are wasted due to the fact that a prompting message needs to be frequently sent to a vehicle in the related art.
In order to achieve the above object, a first aspect of the present disclosure provides a traffic violation prompting method, including:
receiving driving information sent by a vehicle in a monitoring range, and acquiring environmental information in the monitoring range, wherein the driving information comprises a vehicle number of the vehicle;
judging whether the vehicle has a violation risk or not according to the driving information and the environmental information in the monitoring range;
and under the condition that the vehicle has the violation risk, generating reminding information based on the vehicle number and the violation risk information of the vehicle, and broadcasting the reminding information so that the violation risk information is output when the vehicle number in the reminding information is the same as the vehicle number of the vehicle after the vehicle receives and analyzes the reminding information.
Optionally, the driving information includes position information of a vehicle, the environment information in the monitoring range includes lane solid line information, and the determining whether the vehicle has a violation risk according to the driving information and the environment information in the monitoring range includes:
determining a current lane in which the vehicle is located based on the position information of the vehicle, and determining a solid line starting point of the current lane based on lane solid line information included in the environment information;
when the solid line starting point of the current lane is located behind the vehicle, determining the distance between the vehicle and the center line of the current lane, and determining the width difference value between a first target width corresponding to the current lane and a second target width corresponding to the vehicle, wherein the first target width is half of the width of the current lane, and the second target width is half of the width of the vehicle;
and if the distance between the vehicle and the center line of the current lane exceeds the width difference, determining that the vehicle has the solid line violation risk.
Optionally, the driving information includes a wheel angle and a vehicle speed of the vehicle, and the method further includes:
if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining a track to be driven of the vehicle according to the wheel turning angle;
determining the time required by the vehicle to reach a target position according to the vehicle speed, wherein the target position is a position where the track to be driven intersects with a solid line of the current lane;
and under the condition that the time is less than the preset time, determining that the vehicle has the violation risk that the solid line is about to be pressed within the preset time.
Optionally, the driving information includes position information and a turn signal state of the vehicle, the environment information in the monitoring range includes lane turning information, and the method further includes:
if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining target steering information of the current lane based on lane steering information included in the environment information;
and judging whether the vehicle has the violation risk that the solid line is to be pressed or not according to the target steering information and the state of the steering lamp.
Optionally, the environmental information in the monitoring range further includes lane stop line information, and the method further includes:
determining target stop-line information of the current lane based on lane stop-line information included in the environment information, and determining a positional relationship between the vehicle and a stop-line of the current lane based on the target stop-line information and the positional information of the vehicle;
and judging whether the vehicle has a steering violation risk or not according to the target steering information, the state of the steering lamp and the position relation between the vehicle and the stop line of the current lane.
Optionally, the determining, based on the position information of the vehicle, a current lane in which the vehicle is located includes:
acquiring central point position information of each lane in the monitoring range, wherein each lane corresponds to a plurality of central points;
randomly determining a lane as an initial target lane in the lanes in the monitoring range, and circularly executing the following steps:
determining a first center point which is closest to the vehicle in the vehicle driving direction and a second center point which is closest to the vehicle in the vehicle driving reverse direction from among a plurality of center points corresponding to the target lane based on the center point position information of the target lane and the position information of the vehicle;
calculating the vertical distance from the vehicle to a connecting line between the first central point and the second central point;
and when the vertical distance is greater than half of the width of the target lane, another lane is selected as a new target lane again until the calculated vertical distance is less than half of the width of the target lane, the circulation execution is stopped, and the current target lane is determined as the current lane of the vehicle.
Optionally, the driving information includes position information of the vehicle, the environmental information in the monitoring range includes information of an illegal parking area, and the determining whether the vehicle has a violation risk according to the driving information and the environmental information in the monitoring range includes:
determining that the vehicle is in a parked or pre-parked state;
judging whether the vehicle is in an illegal parking area or not according to the position information of the vehicle and the illegal parking area information;
if the vehicle is in an illegal parking area, determining the parking time of the vehicle in the illegal parking area;
and if the parking time is longer than the preset parking time, determining that the vehicle has the parking violation risk.
Optionally, the information of the illegal parking area includes information of a center point of the illegal parking area, and the determining whether the vehicle is in the illegal parking area according to the position information of the vehicle and the information of the illegal parking area includes:
determining an illegal parking center point closest to the vehicle based on the position information of the vehicle and the center point information of the illegal parking area, and determining a target illegal parking area corresponding to the illegal parking center point;
calculating the sum of the areas of triangles formed by connecting the position point where the vehicle is located and each vertex of the target illegal parking area;
determining that the vehicle is in the target parking violation area if the sum of the areas equals the area of the target parking violation area.
Optionally, the driving information includes a vehicle speed and gear information of the vehicle, and the determining that the vehicle is in a parking state or a pre-parking state includes:
when the vehicle speed is smaller than a preset vehicle speed threshold value and the duration of keeping the vehicle speed smaller than the preset vehicle speed threshold value exceeds a first preset duration, determining that the vehicle is in a parking state;
when the current gear of the vehicle is determined to be a parking gear based on the gear information and the duration of keeping the parking gear exceeds a second preset duration, determining that the vehicle is in the parking state;
and when the vehicle is determined to be in a preset position range within a third preset time period based on the position information and the vehicle is determined to have a preset parking action based on the gear information, determining that the vehicle is in the pre-parking state.
A second aspect of the present disclosure also provides a traffic violation prompting device, the device comprising:
the system comprises a receiving module, a monitoring module and a processing module, wherein the receiving module is used for receiving driving information sent by a vehicle in a monitoring range and acquiring environmental information in the monitoring range, and the driving information comprises a vehicle number of the vehicle;
the first judgment module is used for judging whether the vehicle has a violation risk or not according to the driving information and the environmental information in the monitoring range;
and the reminding module is used for generating reminding information based on the vehicle number and the violation risk information of the vehicle under the condition that the vehicle has the violation risk, and broadcasting the reminding information so that the vehicle outputs the violation risk information when the vehicle number in the reminding information is the same as the vehicle number of the vehicle after receiving and analyzing the reminding information.
The third aspect of the present disclosure also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any one of the above first aspects.
A fourth aspect of the present disclosure also provides an electronic device, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any of the first aspects above.
Through the technical scheme, the following technical effects can be at least achieved:
the method comprises the steps of receiving driving information sent by a vehicle in a monitoring range, obtaining environment information in the monitoring range, wherein the driving information comprises a vehicle number of the vehicle, judging whether the vehicle has a violation risk or not according to the driving information and the environment information in the monitoring range, and finally generating reminding information based on the vehicle number and the violation risk information in the vehicle under the condition that the vehicle has the violation risk, and broadcasting the reminding information so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is the same as the vehicle number of the vehicle, the violation risk information is output. By the method, the vehicle is reminded in a targeted manner under the condition that the vehicle has the violation risk, compared with the method that the vehicle is reminded by directly sending the traffic rule of the current road section in the related technology, the method can reduce the violation reminding of the driver under the condition that the driver does not violate the regulations, thereby reducing the waste of communication resources, outputting the corresponding violation risk information according to the violation risk of the vehicle, and improving the traffic efficiency and the safety.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart diagram of a traffic violation prompting method provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a vehicle driving track intersecting a solid lane line provided by an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another traffic violation prompting method provided by the embodiments of the present disclosure;
FIG. 4 is a block diagram of a traffic violation prompting device provided by an embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect. The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units. It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The traffic safety is damaged by the violation behaviors of the motor vehicle drivers, the society is greatly harmed, and the life safety of the motor vehicle drivers and more importantly the life safety of pedestrians are threatened. When a driver drives a car, a violation condition occurs in the car either because of inattention, or an unknown road condition, or because of a lack of knowledge of traffic regulations. In order to standardize the driving behavior of the driver, the driver needs to be reminded correspondingly so as to reduce the violation behavior of the driver. At present, in order to avoid that a driver drives a vehicle illegally, the driver is usually reminded by directly sending a traffic rule of a current road section to the vehicle, for example, the speed limit of the current road section is 60km/h, and as long as the vehicle runs to the current road section, a reminding message is sent to the vehicle to remind the driver of 'the speed limit of the current road section is 60 km/h', and the like. In the related art, the mode of directly sending the traffic rule of the current road section for reminding needs to frequently send reminding messages to vehicles, so that waste of communication resources is caused.
In view of the above, the present disclosure provides a traffic violation prompting method, device, storage medium and electronic device to solve the above problems.
Before describing detailed embodiments of the technical solution of the present disclosure, an application scenario of the technical solution of the present disclosure is described below.
The traffic violation prompting method provided by the embodiment of the disclosure is based on a V2X (Vehicle to influencing) communication system, and comprises Vehicle-mounted equipment installed at a Vehicle end and road-end equipment installed on roadside public equipment such as a signal lamp, a street lamp and a display screen. The vehicle-mounted equipment is provided with a vehicle-end system which comprises an information collection module, an information processing module and an interaction module, and the road-end equipment is provided with a road-end system which comprises a database, an information collection module, an information processing module and an information sending module. The vehicle-mounted system is used for collecting driving information of the vehicle, sending the driving information to the road end system, receiving reminding information returned by the road end system, and reminding a driver through the interaction module, wherein the interaction module comprises multimedia equipment, and the driver is prompted that the vehicle has a violation risk through vehicle-mounted screen character prompt or vehicle-mounted sound box voice prompt. And the road end system is used for receiving the driving information sent by the vehicle-mounted equipment, predicting the violation behaviors of the vehicle based on the driving information and broadcasting the reminding information under the condition that the vehicle has the violation risk.
The execution main body of the traffic violation prompting method provided by the embodiment of the disclosure is a road end system, and detailed embodiment explanation is carried out on the technical scheme of the disclosure.
Referring to fig. 1, an embodiment of the present disclosure provides a traffic violation prompting method, including:
s101, receiving driving information sent by a vehicle in a monitoring range, and acquiring environmental information in the monitoring range, wherein the driving information comprises a vehicle number of the vehicle.
The environmental information in the monitoring range is stored in a database of the road end system, and the road end system is connected with the service background and can update and maintain the related data.
And S102, judging whether the vehicle has a violation risk or not according to the driving information and the environmental information in the monitoring range.
S103, under the condition that the vehicle has the violation risk, generating reminding information based on the vehicle number and the violation risk information of the vehicle, and broadcasting the reminding information, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is the same as the vehicle number of the vehicle, the violation risk information is output.
By adopting the method, the driving information sent by the vehicle in the monitoring range is received, the environmental information in the monitoring range is obtained, the driving information comprises the vehicle number of the vehicle, whether the vehicle has the violation risk or not is judged according to the driving information and the environmental information in the monitoring range, and finally, under the condition that the vehicle has the violation risk, the reminding information is generated and broadcasted on the basis of the vehicle number and the violation risk information of the vehicle, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is the same as the vehicle number of the vehicle, the violation risk information is output. By the method, the vehicle is reminded in a targeted manner under the condition that the vehicle has the violation risk, compared with the method that the vehicle is reminded by directly sending the traffic rule of the current road section in the related technology, the method can reduce the violation reminding of the driver under the condition that the driver does not violate the regulations, thereby reducing the waste of communication resources, outputting the corresponding violation risk information according to the violation risk of the vehicle, and improving the traffic efficiency and the safety.
In order to make the traffic violation prompting method provided by the present disclosure more understandable to those skilled in the art, the above steps are exemplified in detail below.
The driving information collected by the vehicle-mounted system generally includes a vehicle number, a width and a length of the vehicle, a distance between front wheels and rear wheels of the vehicle, a driving speed, current position information, a driving direction, a heading angle, a wheel rotation angle, turn signal status information, a timestamp, and other information. The database in the road-end system stores environment information in a monitoring range, and the environment information usually comprises lane information in the monitoring range, wherein the lane information comprises lane numbers, lane widths, lane driving directions, center point position information of lanes, lane solid line information, lane speed limit values and the like. The lane number is used for identifying the lane and has uniqueness, and each point in the central point position information of the lane is recorded in sequence according to the driving direction of the lane. The driving information and the environmental information may be adjusted according to information required for violation judgment, which is not specifically limited by the present disclosure.
Generally, the monitoring range of the road-end equipment is 300 to 1000 square meters, and a plurality of lanes may exist in the monitoring range, so when determining whether the vehicle has a violation risk, it is necessary to determine the current lane where the vehicle is located first, for example, the current lane where the vehicle is located may be determined based on the position information of the vehicle.
In a possible manner, the driving information includes position information of the vehicle, and the determining that the vehicle is located in the current lane may be based on the position information of the vehicle: acquiring the central point position information of each lane in the monitoring range, wherein each lane corresponds to a plurality of central points, randomly determining a lane as an initial target lane in the lanes in the monitoring range, and circularly executing the following steps:
first, a first center point that is closest to the vehicle in a vehicle traveling direction and a second center point that is closest to the vehicle in a vehicle traveling reverse direction are determined among a plurality of center points corresponding to the target lane based on center point position information of the target lane and position information of the vehicle. Then, the vertical distance from the vehicle to a connecting line between the first center point and the second center point is calculated. And when the vertical distance is greater than half of the width of the target lane, another lane is reselected as a new target lane until the calculated vertical distance is less than half of the width of the target lane, the circulation execution is stopped, and the current target lane is determined as the current lane of the vehicle.
Illustratively, the location information of the vehicle includes a current longitude and latitude and a current altitude of the vehicle, typically a current longitude and latitude and a current altitude of a center point of the vehicle, and the center point location information of the lane includes a longitude and latitude and an altitude of each center point. By comparing the longitude and latitude and the altitude of the vehicle center point and the lane center point, a first center point closest to the vehicle in the vehicle driving direction and a second center point closest to the vehicle in the vehicle driving direction can be determined. Determining a straight line through the first center point and the second center point, calculating the vertical distance from the center point of the vehicle to the straight line, if the vertical distance is less than half of the lane width, determining that the lane is the current lane where the vehicle is located, and if the vertical distance is not less than half of the lane width, acquiring lane information of other lanes and continuing to execute the steps until the current lane of the vehicle is determined. Or after all lanes in the monitoring range are traversed, no lane with the vertical distance not smaller than half of the lane width appears, and it can be determined that the vehicle is not located on the lane.
It should be noted that the center point position information of the lane is used to record the position information of each center point on the center line of the lane, where the interval of each center point may be a fixed interval, for example, one center point may be marked every 5 meters or 10 meters, or a non-fixed interval may be taken according to the lane condition, for example, one center point is marked every 1 meter of a curve, and one center point is marked every 10 meters of a straight road, which is not specifically limited in this disclosure. The elevation of the center point is recorded to more accurately determine the current lane where the vehicle is located when the lanes overlap, such as an elevated road.
After the current lane where the vehicle is located is determined, whether the vehicle has the violation risk can be further judged.
In a possible manner, the environment information within the monitoring range includes lane solid line information, and after the current lane in which the vehicle is located is determined based on the position information of the vehicle, the solid line start point of the current lane may be determined based on the lane solid line information included in the environment information. When the solid line starting point of the current lane is located behind the vehicle, determining the distance between the vehicle and the center line of the current lane, and determining the width difference value between a first target width corresponding to the current lane and a second target width corresponding to the vehicle, wherein the first target width is half of the width of the current lane, the second target width is half of the width of the vehicle, and if the distance between the vehicle and the center line of the current lane exceeds the width difference value, determining that the vehicle has the risk of violation of pressing the solid line.
Illustratively, the lane solid line information includes the latitude and longitude of the solid line start point, and since the current lane has been determined, it is possible to determine whether the vehicle enters the solid line range by comparing the latitude and longitude of the solid line start point with the current latitude and longitude of the vehicle. Based on the traveling direction of the vehicle, if the solid starting point is located in front of the vehicle, the vehicle has not entered the lane solid range, and if the solid starting point is located behind the vehicle, it can be determined that the vehicle has entered the lane solid range. Further, if the vehicle enters the range of the solid line, namely when the starting point of the solid line of the current lane is positioned behind the vehicle, the width difference value between half of the lane width and half of the vehicle width is calculated, the distance between the vehicle and the center line of the current lane is determined by comparing the width difference value with the width difference value, and if the distance between the vehicle and the center line of the current lane exceeds the width difference value, the vehicle is determined to have the risk of violation of pressing the solid line. The distance from the vehicle to the center line of the current lane may be determined by the above-mentioned method of determining the distance from the vehicle to the center line of the lane calculated when the current lane is determined, or may be determined by other methods.
Further, under the condition that the vehicle is determined to have the risk of the violation of the solid line pressing, the reminding information including the vehicle number and the risk of the violation of the solid line pressing is broadcasted, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is determined to be the same as the vehicle number of the vehicle, the information of the risk of the violation of the solid line pressing is output, for example, the vehicle is prompted to have the risk of the violation of the solid line pressing through vehicle-mounted screen characters, or the vehicle is prompted to have the risk of the violation of the solid line pressing through vehicle-mounted sound box voice.
If the vehicle is in the range of the solid line of the current lane and the distance between the vehicle and the center line of the current lane does not exceed the width difference, in other words, the vehicle does not have the violation risk of compacting the line, the vehicle can be further analyzed to judge whether the vehicle has the violation risk of pressing the solid line.
In a possible mode, the driving information comprises wheel rotation angles and vehicle speed of the vehicle, and the step of judging whether the vehicle has the violation risk that the solid line is to be pressed can be as follows: if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining a track to be traveled of the vehicle according to the wheel rotation angle, then determining the time required for the vehicle to reach a target position according to the vehicle speed, wherein the target position is the position where the track to be traveled intersects with the solid line of the current lane, and determining that the vehicle has the violation risk that the solid line is pressed within the preset time under the condition that the required time is less than the preset time.
For example, as shown in fig. 2, a is a center point closest to the vehicle in the vehicle traveling direction, and B is a center point closest to the vehicle in the vehicle traveling direction. Because the lane solid lines are positioned on the two sides of the lane, are parallel to the center line of the lane and are separated by a half lane, if the vehicle turns to the right, the straight line AB is translated to the right by a half lane width to serve as the position of the lane solid line, and if the vehicle turns to the left, the straight line AB is translated to the left by a half lane width to serve as the position of the lane solid line. For example, when the vehicle turns left, a new straight line a 'B' obtained by translating the straight line AB to the left by half the lane line width is used as the position of the lane solid line. And since the vehicle is turning to the left, the left front wheel X of the vehicle is taken as the travel starting point. The wheel rotation angle of the vehicle is alpha, the distance between the front wheel and the rear wheel of the vehicle is L, straight lines perpendicular to the driving direction and the rotation angle direction of the vehicle are respectively made to intersect at a point O, and the radius R of the circle can be calculated through L/sin (alpha), so that the circle with O as a circular point and the radius R can be obtained.
According to the method, the position of the lane is represented by the position information of the center point of the lane, and the position of the solid line of the lane is determined in a translation mode, so that the storage space of the database is saved. In addition, the data base may store the points from the start point of the lane solid line to the end point of the lane solid line on the left and right sides, respectively, to represent the position of the lane solid line. Taking the left turn of the vehicle as an example, a point a 'closest to the vehicle in the driving direction of the vehicle in the left solid line of the lane and a point B' closest to the vehicle in the opposite direction of the driving direction of the vehicle in the left solid line of the lane are obtained, and the obtained straight line a 'B' is taken as the position of the solid line of the lane. Although a certain storage space is occupied, the calculation efficiency can be improved, and a user can set different storage modes according to different requirements, which is not specifically limited by the disclosure.
Further, a point P where the circle intersects the line A 'B' is determined. Since the position information of the vehicle is usually the position information of the central point of the vehicle, a two-dimensional coordinate system can be established by using the position information of the vehicle, the driving direction of the vehicle is taken as an axis Y, a lane central line and a lane solid line are projected into the coordinate system, the position of a point X is determined according to the width of the vehicle and the distance between the front wheel and the rear wheel, and then a curve equation of a track XP to be driven is calculated. Therefore, the track XP to be traveled of the vehicle can be determined, the distance to be traveled, namely the length of the track XP to be traveled, the time required by the vehicle to reach the point P can be obtained by combining the speed of the vehicle, and the violation risk that the vehicle is about to press a solid line within the preset time is determined when the required time is less than the preset time. Alternatively, in the calculation, in addition to the vehicle speed, the acceleration of the vehicle may be acquired to more accurately calculate the time required to reach the point P.
It is worth mentioning that, regarding the setting of the preset time, because the driver may not always be in straight running even on a straight lane in the actual driving process, for example, the driver deviates from straight running in order to avoid other vehicles, the wheel rotation angle of the vehicle is small, the time required for reaching the point P is long, and the driver may return the vehicle to straight running after avoiding other vehicles, so the preset time can be set according to the actual needs, for example, 15 seconds, 20 seconds, and the like, and the disclosure does not specifically limit the preset time, so that the time enough for the driver to adjust can be provided, the misjudgment of the violation risk can be reduced, and the waste of communication resources in the violation risk prompting process can be further reduced.
Moreover, since the lane solid line has a terminal, the stop line of the lane is usually used as the terminal of the lane solid line, and if the point P where the track to be traveled of the vehicle intersects with the straight line a 'B' exceeds the terminal of the lane solid line, in this case, even if the required time is less than the preset time, the vehicle does not have the violation risk that the solid line will be pressed within the preset time, and the reminding message does not need to be broadcast.
Optionally, the driving information further includes position information and a turn light state of the vehicle, the environmental information in the monitoring range further includes lane turning information, and whether the vehicle has a violation risk that a solid line is to be pressed can be judged by the following method: and if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining target steering information of the current lane based on the lane steering information included in the environmental information, and judging whether the vehicle has the violation risk that the solid line is to be pressed or not according to the target steering information and the state of a steering lamp.
Illustratively, the lane steering information is used to indicate whether the lane may be turned left or right, and the turn light status is used to indicate actual left or right turn information of the vehicle. And if the distance between the vehicle and the center line of the current lane does not exceed the width difference, the vehicle is in the solid line range of the current lane. Further, under the condition that the steering information of the current lane is not available for left turning and the left-turning lamp of the vehicle is in the on state, or under the condition that the steering information of the current lane is not available for right turning and the right-turning lamp of the vehicle is in the on state, the violation risk that the vehicle will press the solid line can be determined.
It should be understood that if the steering information of the current lane is that the vehicle cannot turn left, it indicates that the current lane is prohibited from turning left, and if the left turn light of the vehicle is in an on state at this time, it indicates that the vehicle is turning left or the driver intends to control the vehicle to turn left. In this case, the vehicle is likely to press the solid line on the left side of the lane, and therefore it can be determined that the vehicle is at risk of a violation that the solid line will be pressed. Similarly, if the steering information of the current lane is that the vehicle cannot turn right, it indicates that the current lane prohibits turning right, and if the right turn light of the vehicle is in an on state at this time, it indicates that the vehicle is turning right or the driver intends to control the vehicle to turn right. In this case, the vehicle is likely to press the solid line on the right side of the lane, and therefore it can be determined that the vehicle is at risk of a violation that the solid line is about to be pressed.
Further, when the vehicle has the violation risk of pressing the solid line, the reminding information including the vehicle number and the violation risk of pressing the solid line is broadcasted, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is determined to be the same as the vehicle number of the vehicle, the violation risk information of pressing the solid line is output, for example, the driver is prompted through vehicle-mounted screen characters that the vehicle has the violation risk of pressing the solid line, or the driver is prompted through vehicle-mounted loudspeaker box voice that the vehicle has the violation risk of pressing the solid line.
If it is determined based on the above method that the vehicle is not located in any lane, the vehicle may be located at the intersection. In this case, whether the vehicle has the risk of a steering violation can be judged. It should be understood that the intersection does not belong to any lane, and therefore, a lane determined by the driving information acquired from the history may be used as the current lane, and then it is determined whether the vehicle is at risk of a steering violation based on the lane information of the current lane.
In a possible mode, the environmental information in the monitoring range further includes lane stop line information, and then the step of judging whether the vehicle has the risk of steering violation may be: and determining the target stop line information of the current lane based on the lane stop line information included by the environment information, determining the position relation between the vehicle and the stop line of the current lane based on the target stop line information and the position information of the vehicle, and judging whether the vehicle has the risk of steering violation according to the target steering information, the state of the steering lamp and the position relation between the vehicle and the stop line of the current lane.
For example, after determining a current lane in which the vehicle is located from the history of acquired driving information, target stop-line information of the current lane is acquired, and then a positional relationship between the vehicle and the stop-line of the current lane is determined based on the target stop-line information and the positional information of the vehicle. And determining that the vehicle has the violation risk of violating the left turn rule when the steering information of the current lane is that the vehicle cannot turn left, the vehicle exceeds the stop line of the current lane and the left turn lamp of the vehicle is in an on state. Or when the steering information of the current lane is that the right turn cannot be performed, the vehicle exceeds the stop line of the current lane and the right turn lamp of the vehicle is in an on state, the violation risk that the vehicle violates the right turn is determined. Or determining that the vehicle has the violation risk of violation of rule-breaking straight running when the steering information of the current lane is that the vehicle cannot go straight, the vehicle exceeds the stop line of the current lane, the vehicle goes straight beyond the preset straight running distance and the steering lamp of the vehicle is in the off state. The preset straight-line distance can be set according to actual conditions, and the embodiment of the disclosure does not limit the preset straight-line distance.
It should be understood that if the steering information of the current lane is that the vehicle cannot turn left, it indicates that the current lane is prohibited from turning left, and if the left turn light of the vehicle is in an on state at this time, it indicates that the vehicle is turning left or the driver intends to control the vehicle to turn left. In this case, the vehicle is likely to violate the left turn, and therefore it can be determined that the vehicle is at a violation risk of violating the left turn. Similarly, if the steering information of the current lane is that the vehicle cannot turn right, it indicates that the current lane prohibits turning right, and if the right turn light of the vehicle is in an on state at this time, it indicates that the vehicle is turning right or the driver intends to control the vehicle to turn right. In this case, the vehicle is likely to violate the right turn, and therefore it can be determined that the vehicle is at a violation risk of violating the right turn violation. And if the steering information of the current lane is that the vehicle cannot go straight, the current lane is prevented from going straight, and if the vehicle goes straight beyond the preset straight distance and the steering lamp of the vehicle is in the off state at the moment, the vehicle is going straight or the driver intentionally controls the vehicle to go straight. In this case, the vehicle is likely to go straight against the regulation, so that the vehicle can be determined to have the violation risk of going straight against the regulation.
Further, when the vehicle has a steering violation risk, the prompting information including the vehicle number and the corresponding steering violation risk of the vehicle is broadcasted, so that after the vehicle receives and analyzes the prompting information, when the vehicle number in the prompting information is determined to be the same as the vehicle number of the vehicle, the corresponding steering violation risk information is output, for example, the driver is prompted through vehicle-mounted screen characters that the vehicle has the corresponding steering violation risk, or the driver is prompted through vehicle-mounted loudspeaker box voice that the vehicle has the corresponding steering violation risk.
In real life, the situation that parking is forbidden in partial areas is often encountered, and in general, in the areas where parking is forbidden, the parking time is not limited to be illegal parking, for example, 3 minutes is limited to partial road sections for passengers getting on and off at airports and railway stations. In the embodiment of the disclosure, whether the vehicle parks in violation can be judged according to the position information, the parking violation area information and the parking duration of the vehicle.
In a possible mode, the driving information includes position information of the vehicle, the environmental information in the monitoring range includes parking violation area information, and the judging whether the vehicle parks violating the regulations may be: the method comprises the steps of firstly determining that a vehicle is in a parking state or a pre-parking state, then judging whether the vehicle is in an illegal parking area according to position information and illegal parking area information of the vehicle, if the vehicle is in the illegal parking area, determining parking time of the vehicle in the illegal parking area, and if the parking time is greater than preset parking time, determining that the vehicle has a parking violation risk. The preset parking time can be set according to actual conditions, and the embodiment of the disclosure does not limit the preset parking time.
For example, the driving information includes a vehicle speed and gear information of the vehicle, and determining that the vehicle is in a parking state or a pre-parking state may be: and when the vehicle speed is less than the preset vehicle speed threshold value and the time length for keeping the vehicle speed less than the preset vehicle speed threshold value exceeds a first preset time length, determining that the vehicle is in a parking state. Or when the current gear of the vehicle is determined to be the parking gear based on the gear information and the duration of keeping the parking gear exceeds a second preset duration, determining that the vehicle is in the parking state. Or when the vehicle is determined to be in the preset position range within the third preset time period based on the position information and the vehicle is determined to have the preset parking action based on the gear information, determining that the vehicle is in the pre-parking state.
The preset vehicle speed threshold may be 2km/h, for example, when the vehicle speed is 0 and the vehicle speed is kept 0 for longer than a first preset time, it is determined that the vehicle is in a parking state. The first preset time length, the second preset time length and the third preset time length do not exceed the preset parking time length specified by the illegal parking area, the preset position range is larger than the area of the vehicle, for example, the area can be 4 square meters, 5 square meters and the like, and the preset parking action comprises actions of forward movement, backward movement, large-angle rotation of wheel rotation and the like of the vehicle.
After determining that the vehicle is in the parking state or the pre-parking state, it is further determined whether the current position of the vehicle is in an area where parking is prohibited.
In a possible mode, the information of the illegal parking area comprises the information of the central point of the illegal parking area, the illegal parking central point closest to the vehicle is determined based on the position information of the vehicle and the information of the central point of the illegal parking area, the target illegal parking area corresponding to the illegal parking central point is determined, then the sum of the areas of triangles formed by connecting the position point where the vehicle is located and each vertex of the target illegal parking area is calculated, and the vehicle is determined to be in the target illegal parking area under the condition that the sum of the areas is equal to the area of the target illegal parking area.
The information of the parking violation area further includes position information of each vertex of the parking violation area, each vertex is sequentially stored in a clockwise or counterclockwise order, a line segment formed by connecting every two adjacent vertices is an edge of the parking violation area, and each two adjacent vertices and a position point where the vehicle is located can form a triangle. The vehicle can be determined to be in the target illegal parking area by calculating the sum of the areas of triangles formed by connecting the position point where the vehicle is located with each vertex of the target illegal parking area and under the condition that the sum of the areas is equal to the area of the target illegal parking area.
Or, if the sum of the areas is not equal to the area of the target illegal parking area, determining the illegal parking center point closest to the vehicle from the illegal parking center points of other illegal parking areas, and taking the illegal parking area where the illegal parking center point is located as a new target illegal parking area until the illegal parking area where the vehicle is located is found or all illegal parking areas in the monitoring range are traversed.
In addition, a part of the areas belong to the section where parking is prohibited, for example, parking is prohibited from 7 am to 7 pm on a certain road section, and parking can be performed in the rest of the sections, so that judgment can be performed according to the time stamp in the driving information. Alternatively, the road-end system may mark the area as a non-parking area within a time period in which parking is allowed, and the like, which is not specifically limited by the present disclosure.
Further, when the vehicle has the risk of parking violation, the reminding information including the vehicle number and the risk of parking violation is broadcasted, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is determined to be the same as the vehicle number of the vehicle, the information of the risk of parking violation is output, for example, the driver is prompted that the vehicle has the risk of parking violation through vehicle-mounted screen characters, or the driver is prompted that the vehicle has the risk of parking violation through vehicle-mounted sound box voice.
In other possible ways, the logic for judging other violation risks can be added according to the technical idea of the embodiment of the disclosure. For example, the present disclosure is not limited in this regard to the prediction of a risk of violation that will overspeed, the prediction of a risk of violation that will run a red light, and the like. By specifically reminding the vehicle under the condition that the vehicle has the violation risk, the violation reminding of the driver under the condition that the driver does not violate the regulations can be reduced, so that the waste of communication resources is reduced, corresponding violation risk information is output according to the violation risk of the vehicle, and the traffic efficiency and the safety are improved.
The steps of the traffic violation prompting method provided by the embodiment of the present disclosure are explained below by another exemplary embodiment. As shown in fig. 3, the method includes:
s301, receiving driving information sent by a vehicle in a monitoring range, and acquiring environmental information in the monitoring range, wherein the driving information comprises a vehicle number of the vehicle.
And S302, judging the current lane where the vehicle is located according to the position information in the driving information.
Further, if the current lane where the vehicle is located is determined, S303 is executed, otherwise, S306 is executed.
And S303, judging whether the vehicle is in the solid line range of the current lane or not according to the lane solid line information in the environment information.
Further, S304 is executed if it is determined that the vehicle is in the solid line range of the current lane, and S306 is executed otherwise.
S304, judging whether the vehicle has the violation risk of pressing a solid line.
Further, if the vehicle is determined to have the violation risk of solid line, S309 is executed, otherwise S305 is executed.
S305, judging whether the vehicle has the violation risk that the solid line is to be pressed or not according to the wheel rotation angle, the vehicle speed and the steering lamp state of the vehicle in the driving information and the lane steering information in the environment information.
Further, S309 is executed if it is determined that the vehicle has a violation risk that the solid line will be pressed, otherwise S306 is executed.
S306, judging whether the vehicle has the risk of violation of steering rules according to the state of the steering lamp in the driving information and the lane steering information and stop line information in the environment information.
Further, if the vehicle is determined to have the risk of a steering violation S309 is performed, otherwise S307 is performed.
S307, judging position information in the driving information, vehicle speed and gear information of the vehicle and illegal parking area information in the environment information, and judging whether the vehicle has a parking illegal risk.
Further, if the vehicle is determined to be at risk of parking violation S309 is performed, otherwise S310 is performed.
S309, generating reminding information based on the vehicle number and the violation risk information of the vehicle, and broadcasting the reminding information so that the vehicle can output the violation risk information when the vehicle number in the reminding information is the same as the vehicle number of the vehicle after receiving and analyzing the reminding information.
And S310, not generating a reminding message.
By adopting the method, the driving information sent by the vehicle in the monitoring range is received, the environmental information in the monitoring range is obtained, the driving information comprises the vehicle number of the vehicle, whether the vehicle has the violation risk or not is judged according to the driving information and the environmental information in the monitoring range, and finally, under the condition that the vehicle has the violation risk, the reminding information is generated and broadcasted on the basis of the vehicle number and the violation risk information of the vehicle, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is the same as the vehicle number of the vehicle, the violation risk information is output. By the method, the vehicle is reminded in a targeted manner under the condition that the vehicle has the violation risk, compared with the method that the vehicle is reminded by directly sending the traffic rule of the current road section in the related technology, the method can reduce the violation reminding of the driver under the condition that the driver does not violate the regulations, thereby reducing the waste of communication resources, outputting the corresponding violation risk information according to the violation risk of the vehicle, and improving the traffic efficiency and the safety.
FIG. 4 is a block diagram illustrating a traffic violation prompting device according to one exemplary embodiment. As shown in fig. 4, the apparatus 400 includes:
the system comprises a receiving module 401, a monitoring module and a processing module, wherein the receiving module 401 is used for receiving driving information sent by a vehicle in a monitoring range and acquiring environmental information in the monitoring range, and the driving information comprises a vehicle number of the vehicle;
the first judging module 402 is used for judging whether the vehicle has a violation risk according to the driving information and the environmental information in the monitoring range;
and the reminding module 403 is configured to generate reminding information based on the vehicle number and the violation risk information of the vehicle when the vehicle has a violation risk, and broadcast the reminding information, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is the same as the vehicle number of the vehicle, the violation risk information is output.
By adopting the device, the driving information sent by the vehicle in the monitoring range is received, the environmental information in the monitoring range is obtained, the driving information comprises the vehicle number of the vehicle, whether the vehicle has the violation risk or not is judged according to the driving information and the environmental information in the monitoring range, and finally, under the condition that the vehicle has the violation risk, the reminding information is generated and broadcasted on the basis of the vehicle number and the violation risk information of the vehicle, so that after the vehicle receives and analyzes the reminding information, when the vehicle number in the reminding information is the same as the vehicle number of the vehicle, the violation risk information is output. Through the device, the vehicle is pertinently reminded under the condition that the vehicle has the risk of violating the regulations, and compared with the related technology in which the traffic rule of the current road section is directly sent for reminding, the device can reduce the condition that the driver does not violate the regulations and carry out the warning of violating the regulations on the driver, thereby reducing the waste of communication resources, and outputting corresponding risk information of violating the regulations aiming at the risk of violating the regulations that the vehicle has, and the traffic efficiency and the safety are improved.
Optionally, the driving information includes position information of a vehicle, the environment information in the monitoring range includes lane solid line information, and the first determining module 402 is configured to:
determining a current lane in which the vehicle is located based on the position information of the vehicle, and determining a solid line starting point of the current lane based on lane solid line information included in the environment information;
when the solid line starting point of the current lane is located behind the vehicle, determining the distance between the vehicle and the center line of the current lane, and determining the width difference value between a first target width corresponding to the current lane and a second target width corresponding to the vehicle, wherein the first target width is half of the width of the current lane, and the second target width is half of the width of the vehicle;
and if the distance between the vehicle and the center line of the current lane exceeds the width difference, determining that the vehicle has the solid line violation risk.
Optionally, the driving information includes a wheel angle and a vehicle speed of the vehicle, and the apparatus 400 further includes a second determining module configured to:
if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining a track to be driven of the vehicle according to the wheel turning angle;
determining the time required by the vehicle to reach a target position according to the vehicle speed, wherein the target position is a position where the track to be driven intersects with a solid line of the current lane;
and under the condition that the time is less than the preset time, determining that the vehicle has the violation risk that the solid line is about to be pressed within the preset time.
Optionally, the driving information includes position information and a turn signal status of the vehicle, the environment information in the monitoring range includes lane turning information, and the apparatus 400 further includes a third determining module, where the third determining module is configured to:
if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining target steering information of the current lane based on lane steering information included in the environment information;
and judging whether the vehicle has the violation risk that the solid line is to be pressed or not according to the target steering information and the state of the steering lamp.
Optionally, the environmental information in the monitoring range further includes lane stop line information, and the apparatus 400 further includes a fourth determining module, where the fourth determining module is configured to:
determining target stop-line information of the current lane based on lane stop-line information included in the environment information, and determining a positional relationship between the vehicle and a stop-line of the current lane based on the target stop-line information and the positional information of the vehicle;
and judging whether the vehicle has a steering violation risk or not according to the target steering information, the state of the steering lamp and the position relation between the vehicle and the stop line of the current lane.
Optionally, the first determining module 402 is configured to:
acquiring central point position information of each lane in the monitoring range, wherein each lane corresponds to a plurality of central points;
randomly determining a lane as an initial target lane in the lanes in the monitoring range, and circularly executing the following steps:
determining a first center point which is closest to the vehicle in the vehicle driving direction and a second center point which is closest to the vehicle in the vehicle driving reverse direction from among a plurality of center points corresponding to the target lane based on the center point position information of the target lane and the position information of the vehicle;
calculating the vertical distance from the vehicle to a connecting line between the first central point and the second central point;
and when the vertical distance is greater than half of the width of the target lane, another lane is selected as a new target lane again until the calculated vertical distance is less than half of the width of the target lane, the circulation execution is stopped, and the current target lane is determined as the current lane of the vehicle.
Optionally, the driving information includes position information of a vehicle, the environment information in the monitoring range includes information of an illegal parking area, and the first determining module 402 is configured to:
determining that the vehicle is in a parked or pre-parked state;
judging whether the vehicle is in an illegal parking area or not according to the position information of the vehicle and the illegal parking area information;
if the vehicle is in an illegal parking area, determining the parking time of the vehicle in the illegal parking area;
and if the parking time is longer than the preset parking time, determining that the vehicle has the parking violation risk.
Optionally, the illegal region information includes center point information of the illegal region, and the first determining module 402 is configured to:
determining an illegal parking center point closest to the vehicle based on the position information of the vehicle and the center point information of the illegal parking area, and determining a target illegal parking area corresponding to the illegal parking center point;
calculating the sum of the areas of triangles formed by connecting the position point where the vehicle is located and each vertex of the target illegal parking area;
determining that the vehicle is in the target parking violation area if the sum of the areas equals the area of the target parking violation area.
Optionally, the first determining module 402 is configured to:
when the vehicle speed is smaller than a preset vehicle speed threshold value and the duration of keeping the vehicle speed smaller than the preset vehicle speed threshold value exceeds a first preset duration, determining that the vehicle is in a parking state;
when the current gear of the vehicle is determined to be a parking gear based on the gear information and the duration of keeping the parking gear exceeds a second preset duration, determining that the vehicle is in the parking state;
and when the vehicle is determined to be in a preset position range within a third preset time period based on the position information and the vehicle is determined to have a preset parking action based on the gear information, determining that the vehicle is in the pre-parking state.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The disclosed embodiments also provide a non-transitory computer readable storage medium on which a computer program is stored, where the program, when executed by a processor, implements the steps of the traffic violation prompting method provided by the above embodiments.
An embodiment of the present disclosure further provides an electronic device, including:
a memory having a computer program stored thereon;
and the processor is used for executing the computer program in the memory to realize the steps of the traffic violation prompting method provided by the embodiment.
Fig. 5 is a block diagram illustrating an electronic device 500 in accordance with an example embodiment. For example, the electronic device 500 may be provided as a server. Referring to fig. 5, the electronic device 500 comprises a processor 522, which may be one or more in number, and a memory 532 for storing computer programs executable by the processor 522. The computer programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processor 522 may be configured to execute the computer program to perform the traffic violation alerting method described above.
Additionally, the electronic device 500 may also include a power component 526 and a communication component 550, the power component 526 may be configured to perform power management of the electronic device 500, and the communication component 550 may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 500. In addition, the electronic device 500 may also include input/output (I/O) interfaces 558. The electronic device 500 may operate based on an operating system, such as Windows Server, stored in the memory 532TM,Mac OS XTM,UnixTM,LinuxTMAnd so on.
In another exemplary embodiment, a computer readable storage medium is also provided that includes program instructions that, when executed by a processor, implement the steps of the traffic violation prompting method described above. For example, the non-transitory computer readable storage medium may be the memory 532 described above including program instructions executable by the processor 522 of the electronic device 500 to perform the traffic violation alerting method described above.
In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having code portions for performing the traffic violation prompting method described above when executed by the programmable device.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (12)

1. A traffic violation prompting method is characterized by comprising the following steps:
receiving driving information sent by a vehicle in a monitoring range, and acquiring environmental information in the monitoring range, wherein the driving information comprises a vehicle number of the vehicle;
judging whether the vehicle has a violation risk or not according to the driving information and the environmental information in the monitoring range;
and under the condition that the vehicle has the violation risk, generating reminding information based on the vehicle number and the violation risk information of the vehicle, and broadcasting the reminding information so that the violation risk information is output when the vehicle number in the reminding information is the same as the vehicle number of the vehicle after the vehicle receives and analyzes the reminding information.
2. The method of claim 1, wherein the driving information includes position information of a vehicle, the environmental information in the monitoring range includes lane solid line information, and the determining whether the vehicle has a violation risk according to the driving information and the environmental information in the monitoring range includes:
determining a current lane in which the vehicle is located based on the position information of the vehicle, and determining a solid line starting point of the current lane based on lane solid line information included in the environment information;
when the solid line starting point of the current lane is located behind the vehicle, determining the distance between the vehicle and the center line of the current lane, and determining the width difference value between a first target width corresponding to the current lane and a second target width corresponding to the vehicle, wherein the first target width is half of the width of the current lane, and the second target width is half of the width of the vehicle;
and if the distance between the vehicle and the center line of the current lane exceeds the width difference, determining that the vehicle has the solid line violation risk.
3. The method of claim 2, wherein the driving information includes a wheel angle and a vehicle speed of the vehicle, the method further comprising:
if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining a track to be driven of the vehicle according to the wheel turning angle;
determining the time required by the vehicle to reach a target position according to the vehicle speed, wherein the target position is a position where the track to be driven intersects with a solid line of the current lane;
and under the condition that the time is less than the preset time, determining that the vehicle has the violation risk that the solid line is about to be pressed within the preset time.
4. The method of claim 2, wherein the driving information includes position information and a turn signal status of the vehicle, the environmental information within the monitoring range includes lane turn information, the method further comprising:
if the distance between the vehicle and the center line of the current lane does not exceed the width difference, determining target steering information of the current lane based on lane steering information included in the environment information;
and judging whether the vehicle has the violation risk that the solid line is to be pressed or not according to the target steering information and the state of the steering lamp.
5. The method of claim 4, wherein the environmental information within the monitoring range further includes lane stop line information, the method further comprising:
determining target stop-line information of the current lane based on lane stop-line information included in the environment information, and determining a positional relationship between the vehicle and a stop-line of the current lane based on the target stop-line information and the positional information of the vehicle;
and judging whether the vehicle has a steering violation risk or not according to the target steering information, the state of the steering lamp and the position relation between the vehicle and the stop line of the current lane.
6. The method according to any one of claims 2-5, wherein the determining a current lane in which the vehicle is located based on the position information of the vehicle comprises:
acquiring central point position information of each lane in the monitoring range, wherein each lane corresponds to a plurality of central points;
randomly determining a lane as an initial target lane in the lanes in the monitoring range, and circularly executing the following steps:
determining a first center point which is closest to the vehicle in the vehicle driving direction and a second center point which is closest to the vehicle in the vehicle driving reverse direction from among a plurality of center points corresponding to the target lane based on the center point position information of the target lane and the position information of the vehicle;
calculating the vertical distance from the vehicle to a connecting line between the first central point and the second central point;
and when the vertical distance is greater than half of the width of the target lane, another lane is selected as a new target lane again until the calculated vertical distance is less than half of the width of the target lane, the circulation execution is stopped, and the current target lane is determined as the current lane of the vehicle.
7. The method of any one of claims 1-5, wherein the driving information includes location information of a vehicle, the environmental information in the monitoring range includes parking violation area information, and the determining whether the vehicle has a violation risk according to the driving information and the environmental information in the monitoring range includes:
determining that the vehicle is in a parked or pre-parked state;
judging whether the vehicle is in an illegal parking area or not according to the position information of the vehicle and the illegal parking area information;
if the vehicle is in an illegal parking area, determining the parking time of the vehicle in the illegal parking area;
and if the parking time is longer than the preset parking time, determining that the vehicle has the parking violation risk.
8. The method according to claim 7, wherein the parking violation area information comprises center point information of a parking violation area, and the determining whether the vehicle is in the parking violation area according to the position information of the vehicle and the parking violation area information comprises:
determining an illegal parking center point closest to the vehicle based on the position information of the vehicle and the center point information of the illegal parking area, and determining a target illegal parking area corresponding to the illegal parking center point;
calculating the sum of the areas of triangles formed by connecting the position point where the vehicle is located and each vertex of the target illegal parking area;
determining that the vehicle is in the target parking violation area if the sum of the areas equals the area of the target parking violation area.
9. The method of claim 7, wherein the driving information includes vehicle speed and gear information of the vehicle, and the determining that the vehicle is in a parked or pre-parked state comprises:
when the vehicle speed is smaller than a preset vehicle speed threshold value and the duration of keeping the vehicle speed smaller than the preset vehicle speed threshold value exceeds a first preset duration, determining that the vehicle is in a parking state;
when the current gear of the vehicle is determined to be a parking gear based on the gear information and the duration of keeping the parking gear exceeds a second preset duration, determining that the vehicle is in the parking state;
and when the vehicle is determined to be in a preset position range within a third preset time period based on the position information and the vehicle is determined to have a preset parking action based on the gear information, determining that the vehicle is in the pre-parking state.
10. A traffic violation notification device, the device comprising:
the system comprises a receiving module, a monitoring module and a processing module, wherein the receiving module is used for receiving driving information sent by a vehicle in a monitoring range and acquiring environmental information in the monitoring range, and the driving information comprises a vehicle number of the vehicle;
the first judgment module is used for judging whether the vehicle has a violation risk or not according to the driving information and the environmental information in the monitoring range;
and the reminding module is used for generating reminding information based on the vehicle number and the violation risk information of the vehicle under the condition that the vehicle has the violation risk, and broadcasting the reminding information so that the vehicle outputs the violation risk information when the vehicle number in the reminding information is the same as the vehicle number of the vehicle after receiving and analyzing the reminding information.
11. A non-transitory computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
12. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 9.
CN202111460150.7A 2021-12-02 2021-12-02 Traffic violation prompting method and device, storage medium and electronic equipment Pending CN114023071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111460150.7A CN114023071A (en) 2021-12-02 2021-12-02 Traffic violation prompting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111460150.7A CN114023071A (en) 2021-12-02 2021-12-02 Traffic violation prompting method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114023071A true CN114023071A (en) 2022-02-08

Family

ID=80067444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111460150.7A Pending CN114023071A (en) 2021-12-02 2021-12-02 Traffic violation prompting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114023071A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652468A (en) * 2016-12-09 2017-05-10 武汉极目智能技术有限公司 Device and method for detection of violation of front vehicle and early warning of violation of vehicle on road
CN108053690A (en) * 2017-12-29 2018-05-18 东软集团股份有限公司 Identify method, bend method for early warning, device, medium and the equipment of traveling lane
CN108556737A (en) * 2018-04-11 2018-09-21 济南浪潮高新科技投资发展有限公司 A kind of vehicle crimping pre-tip device violating the regulations
CN111932879A (en) * 2020-08-11 2020-11-13 华人运通(上海)云计算科技有限公司 Violation control system and method, vehicle and storage medium
CN112633039A (en) * 2019-09-24 2021-04-09 成都通甲优博科技有限责任公司 Method and system for filtering congestion area
KR20210043066A (en) * 2019-10-10 2021-04-21 현대모비스 주식회사 Intersection signal violation vehicle warning device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652468A (en) * 2016-12-09 2017-05-10 武汉极目智能技术有限公司 Device and method for detection of violation of front vehicle and early warning of violation of vehicle on road
CN108053690A (en) * 2017-12-29 2018-05-18 东软集团股份有限公司 Identify method, bend method for early warning, device, medium and the equipment of traveling lane
CN108556737A (en) * 2018-04-11 2018-09-21 济南浪潮高新科技投资发展有限公司 A kind of vehicle crimping pre-tip device violating the regulations
CN112633039A (en) * 2019-09-24 2021-04-09 成都通甲优博科技有限责任公司 Method and system for filtering congestion area
KR20210043066A (en) * 2019-10-10 2021-04-21 현대모비스 주식회사 Intersection signal violation vehicle warning device and method
CN111932879A (en) * 2020-08-11 2020-11-13 华人运通(上海)云计算科技有限公司 Violation control system and method, vehicle and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙爱玲: "基于sign(x)函数的点在多边形内外判别算法及应用", 《计算机工程与科学》 *

Similar Documents

Publication Publication Date Title
US10518729B2 (en) Event-based connected vehicle control and response systems
CN101727753B (en) Configurable vehicular time to stop warning system
US10107630B2 (en) Driver alert system
CN111105622B (en) Illegal parking correction method and device and storage medium
JP2010067234A (en) Driving support apparatus and program
US20200353863A1 (en) Method and system to avoid vehicle collision
US20190056230A1 (en) Driver alert system
CN105206073A (en) Method, apparatus, and system for transmitting prompt messages between vehicles
CN111462530A (en) Vehicle management method, vehicle management device and electronic equipment
CN113870554B (en) Vehicle safety monitoring method and device, storage medium and terminal
CN110606070A (en) Intelligent driving vehicle and braking method thereof, vehicle-mounted equipment and storage medium
JP2007109001A (en) Road environment estimation system
CN110271554B (en) Driving assistance system and method for vehicle
JP2009163583A (en) Operation-recording device and operational state-recording method
CN112185170B (en) Traffic safety prompting method and road monitoring equipment
JPWO2020162282A1 (en) Vehicle management device, vehicle management method, program
JP5887924B2 (en) Driving support apparatus and method
CN114724364A (en) Vehicle management and control method, device, equipment, storage medium and program product
US11731645B2 (en) Driver warning system
JP2009126246A (en) Eco-friendly driving support system, eco-friendly driving support device configuring the system and privilege granting device
Park et al. Glossary of connected and automated vehicle terms
CN113140129B (en) Vehicle early warning method, device and system
JP6235810B2 (en) OBE
CN107599965B (en) Electronic control device and method for vehicle
CN114023071A (en) Traffic violation prompting method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220208