Vehicle red light running judgment method, device and equipment, storage medium and product
By receiving the fence information of the traffic light system and the vehicle location, determining whether the vehicle runs a red light, the problem of monitoring blind spots in the existing technology is solved, and the vehicle judgment on all sections of the road is realized, and the cost is reduced.
Patent Information
- Application Number
- CN202411208198.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-22
AI Technical Summary
In the prior art, vehicle running a red light determination technology only monitors limited specific sections, resulting in large areas of blind spots and inability to effectively monitor all sections of the road.
By receiving the fence information sent by the traffic light system, the current position of the vehicle is obtained, and based on the fence area and the position of the vehicle is determined whether the vehicle enters or exits the fence area during the red light, so as to determine whether it runs a red light without relying on a camera.
The determination is made on whether the vehicles on each section of the road run a red light, avoiding the blind spots of monitoring caused by low camera coverage and reducing costs.
Smart Images

Figure CN119007455A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, equipment, storage medium and product for determining whether a vehicle runs a red light. Background Art
[0002] In today's society, due to the popularity of vehicles, traffic safety issues are receiving more and more attention. Running a red light can easily cause vehicle collisions and accidental injuries to pedestrians, causing economic losses and personal injuries to others and oneself. It is a serious threat and is one of the phenomena currently under key monitoring.
[0003] The existing technical solution for determining whether a vehicle has run a red light is to generally install cameras at traffic light intersections for monitoring and capturing photos, and use the captured photos as evidence for determining whether the vehicle has run a red light. However, the current camera coverage rate is low, and only limited and specific road sections are monitored, resulting in large blind spots. Summary of the invention
[0004] The present application provides a method, device, equipment, storage medium and product for determining whether a vehicle has run a red light, so as to solve the problem that the prior art only monitors limited and specific road sections, resulting in large blind spots.
[0005] To achieve the above purpose, the present application provides a method for determining whether a vehicle runs a red light, including:
[0006] Receiving fence information sent by a traffic light system; wherein the fence information includes a traffic light state and a restricted fence area when the traffic light state is red;
[0007] Get the current position of the vehicle;
[0008] According to the fenced area and the current position of the vehicle, obtaining an entry route of the vehicle into the fenced area during the current red light period;
[0009] Determine whether the vehicle runs a red light according to the entry route.
[0010] As an improvement of the above solution, the method for determining whether a vehicle runs a red light further includes:
[0011] According to the fence area and the current position of the vehicle, determining whether the vehicle has driven out of the fence area during the current red light period, and obtaining an exit determination result;
[0012] Whether the vehicle runs a red light is determined according to the entry route and the exit judgment result.
[0013] As an improvement of the above solution, the step of obtaining the entry route of the vehicle into the fenced area during the current red light period according to the fenced area and the current position of the vehicle includes:
[0014] If the previous position of the vehicle is outside the fenced area and the current position of the vehicle is within the fenced area, it is determined that the vehicle has entered the fenced area during this red light period, and based on the positions of the vehicle before and after entering the fenced area, the entry route of the vehicle into the fenced area during this red light period is obtained; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
[0015] As an improvement of the above solution, the step of determining whether the vehicle runs a red light according to the entry route includes:
[0016] Acquire a boundary line of the fence area intersecting with the entry route;
[0017] If the boundary line is a preset boundary line, it is determined whether the vehicle runs a red light.
[0018] As an improvement of the above solution, judging whether the vehicle has exited the fenced area during the current red light period or during the adjacent green light period after the current red light period based on the fenced area and the current position of the vehicle, and obtaining the exit judgment result includes:
[0019] If the previous position of the vehicle is within the fenced area and the current position of the vehicle is outside the fenced area, it is determined that the vehicle has exited the fenced area during this red light period; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
[0020] As an improvement of the above solution, the method for determining whether a vehicle runs a red light further includes:
[0021] The method for determining whether a vehicle runs a red light further comprises:
[0022] When the exit judgment result is that the vehicle exits the fence area during the current red light period, an exit route is obtained according to the position of the vehicle before and after exiting the fence area;
[0023] If the exit route intersects one of the boundary lines of the fence area, it is determined that the vehicle exits the fence area from the boundary line.
[0024] To achieve the above purpose, the embodiment of the present application further provides a vehicle red light running determination device, comprising:
[0025] An information receiving module, used to receive fence information sent by a traffic light system; wherein the fence information includes a traffic light state and a restricted fence area when the traffic light state is red;
[0026] A position acquisition module is used to obtain the current position of the vehicle;
[0027] An entry route acquisition module, used to acquire an entry route for the vehicle to enter the fenced area during the current red light period according to the fenced area and the current position of the vehicle;
[0028] The red light running judgment module is used to judge whether the vehicle runs a red light according to the entry route.
[0029] To achieve the above-mentioned objectives, an embodiment of the present application also provides a vehicle red light running judgment device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the vehicle red light running judgment method as described above when executing the computer program.
[0030] To achieve the above-mentioned purpose, an embodiment of the present application also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the vehicle red light running determination method as described above.
[0031] To achieve the above objectives, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-mentioned method for determining whether a vehicle has run a red light.
[0032] Compared with the prior art, the embodiments of the present application provide a method, device, equipment, storage medium and product for determining whether a vehicle has run a red light, by receiving fence information sent by a traffic light system; wherein the fence information includes the traffic light status and the restricted fence area when the traffic light status is red; obtaining the current position of the vehicle; obtaining the entry route of the vehicle into the fence area during this red light period based on the fence area and the current position of the vehicle; and determining whether the vehicle has run a red light based on the entry route. It can be seen that the embodiments of the present application determine whether a vehicle has run a red light based on the fence area and the current position of the vehicle, and do not rely on cameras. This can effectively avoid the phenomenon of low camera coverage and monitoring only limited and specific road sections. There is no monitoring blind spot, and it can determine whether a vehicle on each road section has run a red light. In addition, the embodiments of the present application do not require the installation of cameras, which greatly reduces costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a flow chart of a method for determining a vehicle running a red light provided by an embodiment of the present application;
[0034] Figure 2 is a schematic diagram of a fence area provided in an embodiment of the present application;
[0035] Figure 3is a schematic diagram of an entry / exit route and a fenced area provided in an embodiment of the present application;
[0036] Figure 4 It is a structural block diagram of a vehicle red light running determination device provided in an embodiment of the present application;
[0037] Figure 5 It is a structural block diagram of a vehicle red light running determination device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] See also Figure 1 , Figure 1 : is a flow chart of a method for determining a vehicle running a red light provided by an embodiment of the present application, the method for determining a vehicle running a red light comprising:
[0040] S1. Receive fence information sent by a traffic light system; wherein the fence information includes a traffic light state and a restricted fence area when the traffic light state is red;
[0041] S2. Obtain the current position of the vehicle;
[0042] S3, according to the fenced area and the current position of the vehicle, obtaining the entry route of the vehicle into the fenced area during the current red light period;
[0043] S4. Determine whether the vehicle runs a red light according to the entry route.
[0044] It should be noted that the traffic light system records the fence area of each traffic light intersection in advance. The fence area is the area where vehicles may run red lights and can be modified. When the traffic light system determines that the traffic light state is red, the fence area restricted by the red light is sent to the vehicle, especially to the vehicle in the lane restricted by the red light. Figure 2 At this time, the red light restricts right turns, and the area enclosed by the trapezoid in the figure is the fence area restricted by the red light. The fence area and traffic light status can be synchronized to the vehicles on the lane through the V2X (Vehicle to everything) device.
[0045] In the embodiment of the present application, when the vehicle drives near the traffic light, that is, within the preset distance from the traffic light, the traffic light system sends fence information to the vehicle, and the vehicle receives the fence information sent by the traffic light system. The vehicle obtains its current position in real time based on the vehicle-mounted positioning device, and obtains the entry route of the vehicle into the fence area during the current red light period according to the fence area and the current position, and determines whether the vehicle has run a red light according to the entry route. The entry routes in the embodiments of the present application all refer to the routes that enter the fence area during the current red light period.
[0046] Furthermore, in order to prevent the vehicle from constantly updating the traffic light status and analyzing it too frequently, the traffic light system can start the fence event during the red light period and send fence information to the vehicle, and cancel the fence event during the green light period and not send fence information to the vehicle. In addition, when the vehicle receives the fence information, it can remind the driver that a certain direction of the current lane (for example, the right turn direction) is in a red light state.
[0047] Optionally, when the vehicle receives fence information, the positioning frequency of the vehicle-mounted positioning device can be increased, such as increasing positioning from once every 5 seconds to once every second, which can improve the accuracy of the judgment. In addition, the vehicle can also be equipped with a high-precision vehicle-mounted positioning device to obtain the current position of the vehicle in real time to improve the accuracy of the judgment. The embodiment of the present application only relies on the vehicle-mounted positioning device and does not require the assistance of video analysis. With the popularization of high-precision positioning, the judgment accuracy is getting higher and higher.
[0048] Furthermore, the embodiments of the present application are applied to vehicles, preferably vehicle-mounted positioning devices. The method provided by the embodiments of the present application can be installed on the vehicle-mounted positioning device to distribute the computing pressure to each vehicle, thereby reducing the workload of the cloud platform.
[0049] Specifically, for vehicles that have been judged to have run a red light, the vehicle's location information from the time the fence information is received to the time the vehicle leaves the fence area (especially the location information when running a red light) is packaged and uploaded to the cloud platform, which is then connected to the traffic management platform to further determine whether the vehicle has run a red light. In addition, for vehicles that need to extract video, video and image evidence can be accurately extracted from the camera on the road section based on the reported location information and the corresponding time period.
[0050] In an optional embodiment, the method for determining whether a vehicle runs a red light further includes:
[0051] According to the fence area and the current position of the vehicle, determining whether the vehicle has driven out of the fence area during the current red light period, and obtaining an exit determination result;
[0052] Whether the vehicle runs a red light is determined according to the entry route and the exit judgment result.
[0053] It can be understood that the embodiment of the present application further determines whether the vehicle has run a red light in combination with whether the vehicle has driven out of the fence area during the current red light period, thereby improving the accuracy of the determination; specifically, if the entry route meets the entry route determination conditions, for example, the entry route is to enter the fence area from a preset boundary line, and the exit determination result is that the vehicle has driven out of the fence area during the current red light period, then the vehicle is determined to have run a red light; if the entry route does not meet the entry route determination conditions, or the exit determination result is not that the vehicle has driven out of the fence area during the current red light period, then the vehicle is determined not to have run a red light, that is, even if the traffic light state is red when the vehicle enters the fence area, but the traffic light state becomes green when it has not driven out of the fence area, then this is not considered a red light run, and the specific determination can be made in combination with the traffic regulations at the time.
[0054] Furthermore, in order to prevent vehicles from circumventing the fence by following the rules (such as going straight and exiting the fence area to the right at a red light and then entering and exiting again), during the current red light period, the position where the vehicle first enters and the position where it last exits are taken for judgment. Specifically, based on the fence area and the current position of the vehicle, it is judged whether the vehicle enters the fence area for the first time during the current red light period. If so, the first entry route is obtained; based on the fence area and the current position of the vehicle, it is judged whether the vehicle exits the fence area for the last time during the current red light period, and the last exit judgment result is obtained. Based on the first entry route and the last exit judgment result, it is determined whether the vehicle has run a red light.
[0055] In an optional embodiment, obtaining the entry route of the vehicle into the fenced area during the current red light period according to the fenced area and the current position of the vehicle includes:
[0056] If the previous position of the vehicle is outside the fenced area and the current position of the vehicle is within the fenced area, it is determined that the vehicle has entered the fenced area during this red light period, and based on the positions of the vehicle before and after entering the fenced area, the entry route of the vehicle into the fenced area during this red light period is obtained; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
[0057] It is understandable that judging whether a vehicle has entered the fenced area is actually judging the positional relationship between the point (the position of the vehicle) and the fenced area. For example, if the previous point was outside the fenced area and the current point is inside the fenced area, the vehicle has entered. The relationship between the point and the fenced area is approximately processed by geometric planes, and can be judged by endpoint method, vector operation, etc. If the earth is considered to be spherical, the S2 algorithm provided by Google can also handle the judgment of the relationship between points and polygons on this type of spherical surface.
[0058] Specifically, if the last position of the vehicle is outside the fenced area and the current position of the vehicle is inside the fenced area, it is determined that the vehicle has entered the fenced area during this red light period. At this time, the positions of the vehicle before and after entering the fenced area constitute the entry route of the vehicle into the fenced area during this red light period. Specifically, if the last position of the vehicle is outside the fenced area and the current position of the vehicle is inside the fenced area, it is determined that the vehicle has entered the fenced area during this red light period, and the last position and the current position constitute the entry route; wherein, when the vehicle is at the current position, the traffic light state is during this red light period;
[0059] In an optional embodiment, determining whether the vehicle runs a red light according to the entry route includes:
[0060] Acquire a boundary line of the fence area intersecting with the entry route;
[0061] If the boundary line is a preset boundary line, it is determined whether the vehicle runs a red light.
[0062] In the embodiment of the present application, the boundary line of the fence area intersecting with the entry route is obtained, that is, it is determined which boundary line of the entry route and the fence area intersects, such as Figure 3 , connect the point O1 before entering and the point O2 after entering, and convert the problem into a mathematical problem of determining which side of the fence area ABCD O1O2 intersects with. This problem can be calculated using endpoint method, vector operations, and the like. For example, if it is determined that the entry route O1O3 intersects with the CD side of the fence area ABCD, then the intersecting boundary line is the CD side, and the vehicle enters the fence area from the CD side.
[0063] The embodiment of the present application determines whether the vehicle has run a red light by combining whether the boundary line of the fence area entered by the vehicle is a preset boundary line. If so, it means that the entry route is from the preset boundary line into the fence area, and the vehicle is determined to have run a red light. If not, it means that the entry route is not from the preset boundary line into the fence area, and the vehicle is determined to have not run a red light, thereby improving the accuracy of the determination.
[0064] In an optional embodiment, judging, based on the fence area and the current position of the vehicle, whether the vehicle exits the fence area during the current red light period or during the adjacent green light period after the current red light period, and obtaining the exit judgment result includes:
[0065] If the previous position of the vehicle is within the fenced area and the current position of the vehicle is outside the fenced area, it is determined that the vehicle has exited the fenced area during this red light period; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
[0066] It is understandable that judging whether a vehicle has exited the fenced area is actually judging the positional relationship between the point (the position of the vehicle) and the fenced area. For example, if the previous point is within the fenced area, and the current point is outside the fenced area, then the vehicle has exited. The relationship between the point and the fenced area is approximately processed by geometric planes, and can be judged by endpoint method, vector operation, etc. If the earth is considered to be spherical, the S2 algorithm provided by Google can also handle the judgment of the relationship between points and polygons on this type of spherical surface.
[0067] In an optional embodiment, the method for determining whether a vehicle runs a red light further includes:
[0068] When the exit judgment result is that the vehicle exits the fence area during the current red light period, an exit route is obtained according to the position of the vehicle before and after exiting the fence area;
[0069] If the exit route intersects one of the boundary lines of the fence area, it is determined that the vehicle exits the fence area from the boundary line.
[0070] It can be understood that when the exit judgment result is that the vehicle exits the fence area during the current red light period, the positions of the vehicle before and after exiting the fence area constitute the exit route. Specifically, if the previous position of the vehicle is within the fence area and the current position of the vehicle is outside the fence area, it is determined that the vehicle exits the fence area during the current red light period, and the previous position and the current position constitute the exit route; wherein, when the vehicle is at the current position, the traffic light state is during the current red light period;
[0071] Further, it is determined which boundary line of the exit route intersects with the fence area, such as Figure 3 , connect the point O3 before exiting and the point O4 after exiting, and convert the problem into a mathematical problem of determining which side O3O4 intersects with the fence area ABCD. This can be calculated by endpoint method, vector operation, etc. For example, if it is determined that the exit route O3O4 intersects with the AB side of the fence area ABCD, then it is determined that the vehicle exits the fence area from the AB side. The remaining boundary lines of the fence area represent specific exit directions, such as Figure 3 , AB side is a right turn, BC side is a straight drive, AD side is a U-turn or other drive, wherein, assuming that the entry route O1O2 intersects with the CD side at point E, and the exit route O3O4 intersects with the AB side at point F, then ∠BEF is less than ∠BEA, ∠FEA is less than ∠BEA, ∠BEF+∠FEA=∠BEA. The embodiment of the present application further determines whether the vehicle runs a red light in combination with the direction of the vehicle leaving the fence area, thereby improving the accuracy of the determination.
[0072] A method for determining whether a vehicle has run a red light is provided in an embodiment of the present application, by receiving fence information sent by a traffic light system; wherein the fence information includes a traffic light state and a restricted fence area when the traffic light state is red; obtaining the current position of the vehicle; obtaining an entry route of the vehicle into the fence area during this red light period based on the fence area and the current position of the vehicle; and determining whether the vehicle has run a red light based on the entry route. It can be seen that the embodiment of the present application determines whether a vehicle has run a red light based on the fence area and the current position of the vehicle, does not rely on cameras, can effectively avoid the phenomenon of low camera coverage and monitoring only limited and specific road sections, does not have a monitoring blind spot, and can determine whether a vehicle on each road section has run a red light. In addition, the embodiment of the present application does not require the installation of cameras, which greatly reduces costs.
[0073] See also Figure 4 , Figure 4 1 is a structural block diagram of a vehicle red light running judgment device 10 provided in an embodiment of the present application, wherein the vehicle red light running judgment device 10 comprises:
[0074] The information receiving module 11 is used to receive the fence information sent by the traffic light system; wherein the fence information includes the traffic light state and the fence area restricted when the traffic light state is red;
[0075] A position acquisition module 12, used to acquire the current position of the vehicle;
[0076] An entry route acquisition module 13 is used to acquire an entry route of the vehicle entering the fenced area during the current red light period according to the fenced area and the current position of the vehicle;
[0077] The red light running determination module 14 is used to determine whether the vehicle runs a red light according to the entry route.
[0078] Optionally, the vehicle red light running determination device 10 further includes:
[0079] An exit judgment module is used to judge whether the vehicle has exited the fence area during the current red light period according to the fence area and the current position of the vehicle, and obtain an exit judgment result;
[0080] The red light running determination module 14 is further used to determine whether the vehicle runs a red light according to the entry route and the exit determination result.
[0081] Optionally, the entry route acquisition module 13 is further used for:
[0082] If the previous position of the vehicle is outside the fenced area and the current position of the vehicle is within the fenced area, it is determined that the vehicle has entered the fenced area during this red light period, and based on the positions of the vehicle before and after entering the fenced area, the entry route of the vehicle into the fenced area during this red light period is obtained; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
[0083] Optionally, the red light running determination module 14 is further used for:
[0084] Acquire a boundary line of the fence area intersecting with the entry route;
[0085] If the boundary line is a preset boundary line, it is determined whether the vehicle runs a red light.
[0086] Optionally, the exit judgment module is further used to:
[0087] If the previous position of the vehicle is within the fenced area and the current position of the vehicle is outside the fenced area, it is determined that the vehicle has exited the fenced area during this red light period; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
[0088] Optionally, the exit judgment module is further used to:
[0089] When the exit judgment result is that the vehicle exits the fence area during the current red light period, an exit route is obtained according to the position of the vehicle before and after exiting the fence area;
[0090] If the exit route intersects one of the boundary lines of the fence area, it is determined that the vehicle exits the fence area from the boundary line.
[0091] It is worth noting that the working process of each module in the vehicle red light running determination device 10 described in the embodiment of the present application can refer to the working process of the vehicle red light running determination method described in the above embodiment, and will not be repeated here.
[0092] A vehicle red light running judgment device 10 provided in an embodiment of the present application receives fence information sent by a traffic light system; wherein the fence information includes a traffic light state and a restricted fence area when the traffic light state is red; obtains the current position of the vehicle; obtains the entry route of the vehicle into the fence area during this red light period based on the fence area and the current position of the vehicle; and determines whether the vehicle has run a red light based on the entry route. It can be seen that the embodiment of the present application determines whether a vehicle has run a red light based on the fence area and the current position of the vehicle, does not rely on cameras, can effectively avoid the phenomenon of low camera coverage and monitoring only limited and specific road sections, does not have a monitoring blind spot, and can determine whether a vehicle on each road section has run a red light. In addition, the embodiment of the present application does not require the installation of cameras, which greatly reduces costs.
[0093] In addition, an embodiment of the present application further provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the vehicle red light running determination method as described in any of the above embodiments.
[0094] In addition, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the method for determining whether a vehicle has run a red light as described in any of the above embodiments.
[0095] See also Figure 5 , Figure 5 1 is a structural block diagram of a vehicle red light running judgment device 20 provided in an embodiment of the present application, and the vehicle red light running judgment device 20 includes: a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, the steps in the above-mentioned vehicle red light running judgment method embodiment are implemented. Alternatively, when the processor 21 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented.
[0096] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 22 and executed by the processor 21 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the vehicle red light running determination device 20.
[0097] The vehicle red light running determination device 20 may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will appreciate that the schematic diagram is merely an example of the vehicle red light running determination device 20 and does not constitute a limitation on the vehicle red light running determination device 20. The vehicle red light running determination device 20 may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the vehicle red light running determination device 20 may also include input and output devices, network access devices, buses, etc.
[0098] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 21 is the control center of the vehicle red light running determination device 20, and uses various interfaces and lines to connect various parts of the entire vehicle red light running determination device 20.
[0099] The memory 22 can be used to store the computer program and / or module. The processor 21 realizes various functions of the vehicle red light running determination device 20 by running or executing the computer program and / or module stored in the memory 22 and calling the data stored in the memory 22. The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0100] Wherein, if the module / unit integrated in the vehicle red light running judgment device 20 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor 21. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0101] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0102] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. A method for determining whether a vehicle runs a red light, characterized in that: include: Receiving fence information sent by a traffic light system; wherein the fence information includes a traffic light state and a restricted fence area when the traffic light state is red; Get the current location of the vehicle; According to the fenced area and the current position of the vehicle, obtaining an entry route of the vehicle into the fenced area during the current red light period; Determine whether the vehicle runs a red light according to the entry route.
2. The method for determining whether a vehicle runs a red light as claimed in claim 1, characterized in that: The method for determining whether a vehicle runs a red light further comprises: According to the fence area and the current position of the vehicle, determining whether the vehicle has driven out of the fence area during the current red light period, and obtaining an exit determination result; Whether the vehicle runs a red light is determined according to the entry route and the exit judgment result.
3. The method for determining whether a vehicle runs a red light as claimed in claim 1, characterized in that: The obtaining, according to the fenced area and the current position of the vehicle, an entry route of the vehicle into the fenced area during the current red light period, comprises: If the previous position of the vehicle is outside the fenced area and the current position of the vehicle is within the fenced area, it is determined that the vehicle has entered the fenced area during this red light period, and based on the positions of the vehicle before and after entering the fenced area, the entry route of the vehicle into the fenced area during this red light period is obtained; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
4. The method for determining whether a vehicle runs a red light as claimed in claim 1, characterized in that: The determining, according to the entry route, whether the vehicle runs a red light comprises: Acquire a boundary line of the fence area intersecting with the entry route; If the boundary line is a preset boundary line, it is determined whether the vehicle runs a red light.
5. The method for determining whether a vehicle runs a red light as claimed in claim 2, characterized in that: The step of determining, based on the fence area and the current position of the vehicle, whether the vehicle exits the fence area during the current red light period or during the adjacent green light period after the current red light period, and obtaining an exit determination result includes: If the previous position of the vehicle is within the fenced area and the current position of the vehicle is outside the fenced area, it is determined that the vehicle has exited the fenced area during this red light period; wherein, when the vehicle is at the current position, the traffic light state is during this red light period.
6. The method for determining whether a vehicle runs a red light as claimed in claim 5, characterized in that: The method for determining whether a vehicle runs a red light further comprises: When the exit judgment result is that the vehicle exits the fence area during the current red light period, an exit route is obtained according to the position of the vehicle before and after exiting the fence area; If the exit route intersects one of the boundary lines of the fence area, it is determined that the vehicle exits the fence area from the boundary line.
7. A vehicle red light running judgment device, characterized in that: include: An information receiving module, used to receive fence information sent by a traffic light system; wherein the fence information includes a traffic light state and a restricted fence area when the traffic light state is red; A position acquisition module is used to obtain the current position of the vehicle; An entry route acquisition module, used to acquire an entry route for the vehicle to enter the fenced area during the current red light period according to the fenced area and the current position of the vehicle; The red light running judgment module is used to judge whether the vehicle runs a red light according to the entry route.
8. A vehicle red light running judgment device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the method for determining a vehicle running a red light as claimed in any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program; wherein, when the computer program is run, it controls the device where the computer-readable storage medium is located to execute the vehicle red light running determination method as claimed in any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements the method for determining a vehicle running a red light as claimed in any one of claims 1 to 6.
