Tunnel vehicle violation monitoring and early warning method, computer device and computer readable storage medium
By obtaining and comparing the coordinate information of the detection area and detection point in the tunnel, and combining the signal light status, monitoring and recording of vehicle violations is achieved, solving the problem of difficult to monitor vehicle violations during tunnel construction, and improving driving safety.
Patent Information
- Application Number
- CN202210531455.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-16
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2042-05-16
AI Technical Summary
During the tunnel construction process, especially in the inclined shaft section, it is difficult to monitor vehicle violations, resulting in frequent traffic accidents. The existing technology cannot effectively monitor vehicle violations in environments with poor visibility and high interference.
By obtaining coordinate information of the detection area and detection point, combining the signal light status, using a computer device to compare the vehicle coordinate information, determine whether the vehicle is illegal, and record and feedback the signal light status and switching time in the database, sending alarm information to the vehicle, ensuring driving Safety.
In an environment with poor visibility and high interference in the tunnel, reliable monitoring and recording of vehicle violations is achieved, reducing the probability of traffic accidents and improving driving safety.
Smart Images

Figure CN115083148B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tunnel driving safety, and in particular to a method for monitoring and warning of vehicle violations in tunnels, a computer device for implementing the method, and a computer-readable storage medium capable of implementing the method. Background Art
[0002] At present, construction units in the railway industry will carry out certain traffic management during the tunnel construction process, but there are still great safety hazards, especially in the construction section of the tunnel with inclined shaft. This is because the inclined shaft, as an important auxiliary tunnel for the transportation of personnel, machinery, etc., forms many complex intersections with the tunnel main line. In addition, due to the special structure of the tunnel, drivers have blind spots at intersections and areas / sections with poor air environment. Therefore, traffic vehicle accidents often occur in the tunnel (including the tunnel main line, inclined shaft, the intersection of the tunnel main line and inclined shaft, etc.). In this regard, some construction units use traffic warning signs and traffic managers to direct on-site vehicles. However, due to poor visibility in the tunnel, muddy and bumpy roads, etc., the command effect is not good, and it is easy to pose a certain threat to the personal safety of traffic managers, and there are considerable safety hazards. Some construction units will set up traffic lights in the tunnel so that vehicle drivers can drive according to the instructions of the traffic lights. Although this method can better direct the vehicles in the tunnel to drive in an orderly manner, some vehicle drivers do not consciously abide by traffic rules, and due to the low visibility in the tunnel, it is impossible to install cameras or radar devices to monitor violations. Therefore, traffic accidents still occasionally occur in the tunnel. Summary of the invention
[0003] In order to solve the above problems, the main purpose of the present invention is to provide a tunnel vehicle violation monitoring and early warning method that can monitor and record vehicle violations in tunnels and inclined shafts.
[0004] Another object of the present invention is to provide a computer device for implementing the above-mentioned tunnel vehicle violation monitoring and early warning method.
[0005] Another object of the present invention is to provide a computer device for implementing the above-mentioned tunnel vehicle violation monitoring and early warning method.
[0006] In order to achieve the main purpose of the present invention, the present invention provides a tunnel vehicle violation monitoring and early warning method, which includes obtaining a detection area, a first detection point and a second detection point, generating first coordinate information of the detection area, second coordinate information of the first detection point and third coordinate information of the second detection point and storing them in a database, wherein the first detection point and the second detection point are located in the detection area, and along the travel direction in the detection area, the first detection point is located at the upstream end of the second detection point; obtaining fourth coordinate information of the vehicle, comparing the fourth coordinate information with the first coordinate information, and determining whether the vehicle is located in the detection area, and if so: obtaining the state of the traffic light at the detection area, if the state of the traffic light is red, comparing the fourth coordinate information with the second coordinate information, determining whether the vehicle has passed the first detection point, and if so, comparing the fourth coordinate information with the third coordinate information, determining whether the vehicle has passed the second detection point, and if so, determining that the vehicle has violated the traffic rules and storing them in a database; or comparing the fourth coordinate information with the second coordinate information, determining whether the vehicle has passed the first detection point, and if so, comparing the fourth coordinate information with the third coordinate information, determining whether the vehicle has passed the second detection point, and if so, obtaining the state of the traffic light at the detection area, and if the state of the traffic light is red, determining that the vehicle has violated the traffic rules and storing them in a database.
[0007] As can be seen from the above, by comparing the coordinate information of the first detection point, the second detection point and the vehicle in the detection area, and combining the state of the signal light in the detection area (such as whether the current signal light is red or green, etc.), it is judged whether the vehicle has violated the law. Compared with the existing technologies of monitoring vehicle violations by using a camera to capture vehicle violation pictures, RFID radio frequency technology to identify the vehicle position, radar to detect the vehicle position, etc., the tunnel vehicle violation monitoring and early warning method provided by the present invention can reliably and effectively monitor vehicle violations in an environment with poor visibility and large interference in the tunnel (including the tunnel main line, inclined shaft, the intersection of the tunnel main line and the inclined shaft, etc.), thereby solving the problem that it is difficult to monitor vehicle violations in the tunnel with the existing technology.
[0008] A preferred solution is that before the step of acquiring the detection area, the first detection point and the second detection point, the method further includes: uploading the route map data to a database, or updating the route map data in the database.
[0009] As can be seen from the above, the above design enables the route map to match the tunnel construction progress as much as possible, thereby ensuring that traffic lights can be added in the tunnel in a timely manner and comprehensively improving the monitoring of vehicle violations, so as to better reduce traffic accidents in the tunnel.
[0010] Another preferred solution is that if it is determined that the vehicle is located in the detection area, the tunnel vehicle violation monitoring and early warning method further includes: obtaining the status of the traffic light in the detection area, and feeding back the current status of the traffic light to the vehicle.
[0011] As can be seen from the above, by feeding back the status of the signal light to the vehicle, the driver can more clearly understand the current status of the signal light, so as to avoid the situation where the driver cannot accurately understand the status of the signal light (such as when a certain indicator light group of the signal light fails or is damaged, or when the density of dust particles at the signal light is too high, causing the driver to be unable to see the light emitted by the indicator light group clearly). This improves the driving safety of the vehicle and reduces the probability of the driver's passive violation of traffic rules.
[0012] A further solution is that after the step of feeding back the current state of the signal light to the vehicle, the step further includes: feeding back to the vehicle the remaining time for the signal light to switch to the next state.
[0013] As can be seen from the above, by feeding back to the vehicle the remaining time for the signal light to switch to the next state, the vehicle driver can drive better and avoid the vehicle driver from braking hastily or accelerating recklessly due to not knowing clearly the remaining time for the signal light to switch to the next state. At the same time, it also solves the problem that the vehicle driver cannot clearly understand the remaining time for the signal light to switch to the next state due to poor visibility in the tunnel, thereby further improving driving safety in the tunnel and further reducing the probability of passive violations by the vehicle driver.
[0014] Another preferred solution is that if it is determined that the vehicle is located in the detection area, the tunnel vehicle violation monitoring and early warning method also includes: obtaining the status of the signal light in the detection area; if the signal light is red, obtaining the speed of the vehicle, judging the changing trend of the speed, and if the speed remains unchanged or increases, sending a first alarm message to the vehicle; if the signal light is green or yellow, and the remaining time for the signal light to switch to the red light state is less than a preset threshold, judging the changing trend of the speed, and if the speed remains unchanged or increases, sending a second alarm message to the vehicle.
[0015] As can be seen from the above, the vehicle speed and the remaining time for the signal light to switch to the red light state can be used to timely remind the vehicle driver, thereby reducing the probability of the vehicle driver driving in violation of traffic rules.
[0016] A further solution is that the tunnel vehicle violation monitoring and early warning method also includes: obtaining a warning area, generating fifth coordinate information and storing it in a database; the warning area partially overlaps with the detection area, the first detection point and the second detection point are both located in the warning area, or the detection area is located in the warning area; obtaining the sixth coordinate information of the first positioning terminal on the pedestrian, comparing the sixth coordinate information with the fifth coordinate information, and comparing the fourth coordinate information with the fifth coordinate information, to determine whether the pedestrian and the vehicle are both located in the warning area, and if the pedestrian and the vehicle are both located in the warning area, sending a third alarm information to the first positioning terminal and the vehicle.
[0017] As can be seen from the above, during the tunnel construction process, in addition to driving, there are also construction workers walking from time to time in the tunnel, and the visibility in the tunnel is usually low. Therefore, through the above design, when pedestrians and vehicles approach each other to the set safety distance, pedestrians and vehicle drivers are reminded respectively, thereby better improving the safety of driving and pedestrians and reducing the probability of traffic accidents.
[0018] A further solution is that the tunnel vehicle violation monitoring and early warning method also includes: when it is determined that both pedestrians and vehicles are located in the warning area, obtaining the signal light status, if the signal light status is not a red light state, obtaining the vehicle turning status, and sending a fourth alarm message to the first positioning terminal and / or sending a fifth alarm message to the vehicle.
[0019] As can be seen from the above, the above design allows for further reminders to be given to vehicle drivers and pedestrians moving in opposite directions respectively by judging the direction of the vehicle and comparing the coordinate information of the vehicle and pedestrians when both pedestrians and vehicles are within the warning zone, thereby further improving the safety of driving and pedestrians and reducing the probability of traffic accidents.
[0020] A further solution is to shorten the polling time of the fourth coordinate information of the vehicle when the vehicle enters the detection area and / or warning area; and shorten the polling time of the sixth coordinate information of the first positioning terminal when the first positioning terminal enters the warning area.
[0021] It can be seen from the above that the above design can better reduce the generation of data garbage, reduce the occupation of network resources, storage resources and computer resources, and can improve the accuracy and reliability of monitoring results to a certain extent.
[0022] In order to achieve another purpose of the present invention, the present invention provides a computer device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the above-mentioned tunnel vehicle violation monitoring and early warning method are implemented.
[0023] In order to achieve another object of the present invention, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a controller, the steps of the above-mentioned tunnel vehicle violation monitoring and early warning method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flow chart of the first embodiment of the tunnel vehicle violation monitoring and early warning method of the present invention.
[0025] Figure 2 It is a schematic diagram of the monitoring area in the first embodiment of the tunnel vehicle violation monitoring and early warning method of the present invention.
[0026] Figure 3This is the process intention in the second embodiment of the tunnel vehicle violation monitoring and early warning method of the present invention.
[0027] Figure 4 It is a pedestrian and vehicle warning flow chart in the third embodiment of the tunnel vehicle violation monitoring and warning method of the present invention.
[0028] Figure 5 It is a schematic diagram of the monitoring area in the third embodiment of the tunnel vehicle violation monitoring and early warning method of the present invention.
[0029] The present invention is further described below in conjunction with the accompanying drawings and embodiments. DETAILED DESCRIPTION
[0030] The tunnel vehicle violation monitoring and early warning method provided by the present invention is mainly applied to the tunnel vehicle violation monitoring and early warning system, which can be used to monitor and record vehicle violations, remind the vehicle driver of relevant information during the vehicle driving process, and provide safety warnings to relevant pedestrians and vehicle drivers in the set area, etc. Of course, the tunnel vehicle violation monitoring and early warning method provided by the invention can also be applied to conventional vehicle violation monitoring systems or vehicle violation monitoring systems in certain specific areas (such as parks).
[0031] First embodiment of the tunnel vehicle violation monitoring and early warning method
[0032] Reference Figure 1 and Figure 2 , this embodiment focuses on the application of the tunnel vehicle violation monitoring and early warning method to the tunnel vehicle violation monitoring and early warning system as an example to briefly describe the tunnel vehicle violation monitoring and early warning method. In this embodiment, before the tunnel vehicle violation monitoring and early warning method works, the tunnel route map is first uploaded to the database of the server (the server can be a local server or a cloud server) of the tunnel vehicle violation monitoring and early warning system using the tunnel vehicle violation monitoring and early warning method, so as to generate a reference coordinate system based on the route map to assist in determining the position of the vehicle. For example, when the tunnel vehicle violation monitoring and early warning system is first enabled, the server will generate a reference coordinate system through the received route map and store the reference coordinate system in the database for subsequent use in monitoring the vehicle 4; and as the tunnel is gradually constructed, the route map will also be updated accordingly. At this time, if the updated route map is uploaded to the database, the updated route map will replace the previously uploaded route map to ensure the timely update of the route map and the timely update of the reference coordinate system, and it is also convenient to add new monitoring areas in relevant areas in the tunnel (including inclined shaft, tunnel main line, intersection of inclined shaft and tunnel main line, etc.).
[0033] After the route map is uploaded to the database and the reference coordinate system is generated, the monitoring area can be set at the relevant area on the route map (such as the intersection of the tunnel main line and the inclined shaft) through the operation platform of the tunnel vehicle violation monitoring and early warning system. Specifically, when the tunnel vehicle violation monitoring and early warning method is working, firstly execute step S10 to obtain the detection area, the first detection point and the second detection point, generate the first coordinate information of the detection area, the second coordinate information of the first detection point and the third coordinate information of the second detection point and store them in the database. Figure 2 As shown, when obtaining the detection area 1, the first detection point 2 and the second detection point 3, the detection area 1 can be drawn as the first monitoring area at the important meeting area in the route map through the operation platform of the tunnel vehicle violation monitoring and early warning system, and the first detection point 2 and the second detection point 3 can be drawn in the detection area 1. After the drawing is completed, the current coordinate data (i.e., the first coordinate information) of the detection area 1, the current coordinate data (i.e., the second coordinate information) of the first detection point 2 and the current coordinate data (i.e., the third coordinate information) of the third detection point are generated based on the reference coordinate system, and then the first coordinate information, the second coordinate information and the third coordinate information are stored in the database. Among them, along the travel direction of the vehicle 4 in the detection area 1, the first detection point 2 is located at the upstream end of the second detection point 3.
[0034] In addition, it should be noted that, in addition to drawing the detection zone 1 at the important meeting area in the route map, other detection zones 1 can also be drawn in certain important driving sections of the inclined shaft and / or the tunnel main line. Multiple detection zones 1 can coexist, and each detection zone 1 has a first detection point 2 and a second detection point 3. In order to facilitate the understanding and explanation of the tunnel vehicle violation warning monitoring method, this embodiment takes the violation monitoring warning of a vehicle 4 in a single detection zone 1 as an example for explanation. Furthermore, after determining the detection zone 1, it is necessary to set a signal light 5 at a position corresponding to the detection zone 1 in the tunnel to provide traffic guidance for the vehicles 4 and pedestrians 7 in the detection zone 1.
[0035] Next, execute step S11 to obtain the fourth coordinate information of the vehicle, and compare the fourth coordinate information with the first coordinate information. A second positioning terminal is provided on the vehicle 4 so as to keep track of the position of the vehicle 4 in the tunnel and the current position of the vehicle 4 in the route map at any time. The second positioning terminal can use a GNSS module. Of course, the second positioning terminal can also use other known positioning modules or other positioning modules developed in the future that have the same functions as the GNSS module or exceed the existing functions of the GNSS module. When the vehicle 4 is traveling in the tunnel, the second positioning terminal will obtain the current position of the vehicle 4, and generate the current coordinate data (i.e., the fourth coordinate information) of the vehicle 4 based on the reference coordinate system. At the same time, the second positioning terminal will periodically poll the current position of the vehicle 4 to timely update the position of the vehicle 4 in the reference coordinate system.
[0036] Next, step S12 is executed to determine whether the vehicle is located in the detection area. By comparing the fourth coordinate information with the first coordinate information, it is determined whether the vehicle 4 is currently traveling in the detection area 1, for example, by comparing the value of the X axis in the fourth coordinate information with the value of the X axis in the first coordinate information. If the vehicle 4 is currently traveling outside the detection area 1, the process returns to step S11, and the fourth coordinate information of the vehicle 4 (current) is reacquired, and the fourth coordinate information is compared with the first coordinate information.
[0037] When it is determined that the vehicle 4 is located in the detection area 1, step S13 is executed to obtain the state of the signal light in the detection area. For example, the signal light 5 in the current detection area 1 is in red, yellow or green. In addition, when it is determined that the vehicle 4 is located in the detection area 1, it is preferred to feed back the current state of the acquired signal light 5 to the vehicle 4, so that the vehicle driver can timely understand the current state of the signal light 5, so as to avoid the vehicle driver being unable to accurately understand the state of the signal light 5 at certain times (such as a failure or damage of a certain indicator light group of the signal light 5, or the dust particle density at the signal light 5 is too large, causing the vehicle driver to be unable to see the light emitted by the indicator light group); therefore, in a special environment such as a tunnel, by feeding back the current state of the signal light 5 to the vehicle 4, the driving safety of the vehicle 4 can be better improved, and the probability of passive violations by the vehicle driver can also be better reduced.
[0038] Furthermore, the remaining time for the signal light 5 to switch to the next state can be fed back to the vehicle 4, so that the vehicle 4 can feed back to the vehicle driver through voice broadcast, screen display, etc. By feeding back the remaining time for the signal light 5 to switch to the next state to the vehicle 4, the vehicle driver can drive better, avoiding the vehicle driver from braking hastily or accelerating recklessly due to not knowing the remaining time for the signal light 5 to switch to the next state clearly, and also solving the problem that the vehicle driver cannot clearly understand the remaining time for the signal light 5 to switch to the next state due to poor visibility in the tunnel, thereby further improving driving safety in the tunnel and further reducing the probability of passive violations by the vehicle driver.
[0039] Next, step S14 is executed to determine whether the traffic light is red. When the traffic light 5 is not red (ie, yellow or green), the process returns to step S11 to reacquire the fourth coordinate information of the vehicle 4 (current) and compare the fourth coordinate information with the first coordinate information.
[0040] When the traffic light 5 is red, step S15 is executed to compare the fourth coordinate information with the second coordinate information. The relative position of the vehicle 4 and the first detection point 2 is determined by comparing the fourth coordinate information with the second coordinate information, for example, by comparing the value of the X axis in the fourth coordinate information with the value of the X axis in the second coordinate information.
[0041] Preferably, when the signal light 5 is determined to be a red light, the speed of the vehicle 4 is obtained, and the change trend of the speed of the vehicle 4 is determined and analyzed. When the speed of the vehicle 4 remains unchanged or increases, a first alarm message is sent to the vehicle 4, so that the vehicle 4 can warn the vehicle driver by voice broadcast, screen display, etc. For example, when the signal light 5 is a red light, if the speed of the vehicle 4 remains unchanged or increases, after the vehicle 4 obtains the first alarm message, a voice message "Red light ahead, please slow down and stop" can be played to the vehicle driver through the speaker in the vehicle. When the signal light 5 is determined to be a yellow light or a green light, and the remaining time for the signal light 5 to switch to the red light state is less than a preset threshold, the change trend of the speed of the vehicle 4 is determined. If the speed remains unchanged or increases, a second alarm message is sent to the vehicle 4, so that the vehicle 4 can warn the vehicle driver by voice broadcast, screen display, etc. For example, when the signal light 5 is green or yellow, and the remaining time for the signal light 5 to switch to the red light state is less than a preset threshold (such as 2 seconds or 3 seconds, etc., which can be set as needed according to factors such as the actual tunnel environment and tunnel driving conditions), if the speed of the vehicle 4 remains unchanged or increases, after the vehicle 4 obtains the second alarm information, a voice message "the signal light 5 will turn red soon, please slow down and stop" can be played to the vehicle 4 through the speaker in the vehicle. By timely reminding the vehicle driver of the speed of the vehicle 4 and the remaining time for the signal light 5 to switch to the red light state, the probability of the vehicle driver driving in violation of traffic rules can be reduced to a certain extent.
[0042] Next, step S16 is executed to determine whether the vehicle has passed the first detection point. When the vehicle 4 has not passed the first detection point 2, the process returns to step S14; when the vehicle 4 has passed the first detection point 2, step S17 is executed to compare the fourth coordinate information with the third coordinate information. The relative position of the vehicle 4 and the second detection point 3 is determined by comparing the fourth coordinate information with the third coordinate information, for example, by comparing the value of the X axis in the fourth coordinate information with the value of the X axis in the third coordinate information.
[0043] Next, execute step S18 to determine whether the vehicle has passed the second detection point. When vehicle 4 has not passed the second detection point 3, return to execute step S14; when vehicle 4 has passed the second detection point 3, execute step S19 to determine that the vehicle has violated the law and store it in the database. When it is determined that the vehicle has violated the law (i.e., running a red light), relevant information is uploaded to the database, such as the license plate number of vehicle 4, the current driver information of vehicle 4, the time of the vehicle violation, the area of the vehicle violation (here the coordinate information can be uploaded, or the corresponding number of the detection area 1 can be uploaded) and other information are uploaded to the database so that the background can perform data statistics, analysis and archiving processing. Among them, in order to reduce the misjudgment rate, when vehicle 4 passes the second detection point 3, the state of the current signal light 5 can be obtained first, and when the current signal light 5 is a red light, the vehicle is determined to be in violation and the relevant information is uploaded to the database.
[0044] Preferably, when the vehicle 4 enters the detection area 1, the polling time for the fourth coordinate information of the vehicle 4 is shortened. For example, when the vehicle 4 is traveling outside the detection area 1, the polling time for the fourth coordinate information of the vehicle 4 is 4 seconds / time; when the vehicle 4 is traveling in the detection area 1, the polling time for the fourth coordinate information of the vehicle 4 is 0.5 seconds / time. This design can better reduce the generation of data garbage, reduce the occupation of network resources, storage resources and computer resources, and can improve the accuracy and reliability of monitoring results to a certain extent.
[0045] Second embodiment of the tunnel vehicle violation monitoring and early warning method
[0046] The difference between this embodiment and the first embodiment of the tunnel vehicle violation monitoring and early warning method is only the execution order of step S11 to step S18. Figure 3 In this embodiment, the execution steps of the tunnel vehicle violation monitoring and early warning method are as follows:
[0047] After uploading the route map of the tunnel to the database of the server of the tunnel vehicle violation monitoring and early warning system using the tunnel vehicle violation monitoring and early warning method (including the first upload or update), execute step S20 to obtain the detection area, the first detection point and the second detection point, generate the first coordinate information of the detection area, the second coordinate information of the first detection point and the third coordinate information of the second detection point and store them in the database.
[0048] Next, step S21 is executed to obtain fourth coordinate information of the vehicle, and compare the fourth coordinate information with the first coordinate information.
[0049] Next, step S22 is executed to determine whether the vehicle is located in the detection area. If not, the process returns to step S21; if yes, step S23 is executed to compare the fourth coordinate information with the second coordinate information.
[0050] After executing step S23, executing step S24, determining whether the vehicle has passed the first detection point. If not, returning to executing step S21; if yes, executing step S25, comparing the fourth coordinate information with the third coordinate information.
[0051] After executing step S25, execute step S26 to determine whether the vehicle has passed the second detection point. If not, return to execute step S21; if yes, execute step S27 to obtain the state of the signal light in the detection area.
[0052] After executing step S27, execute step S28 to determine whether the traffic light is red. If not, return to execute step S21; if yes, execute step S29 to determine whether the vehicle is in violation of traffic rules and store it in the database.
[0053] Third embodiment of the tunnel vehicle violation monitoring and early warning method
[0054] Combination Figure 4 The difference between this embodiment and the above embodiments is that, in this embodiment, the tunnel vehicle violation monitoring and early warning method further includes:
[0055] A first positioning terminal is added to the pedestrian 7, for example, the first positioning terminal can be set on the construction worker's helmet, so as to know the construction worker's position in the tunnel and the construction worker's current position in the route map at any time. The first positioning terminal includes a GNSS module. The first positioning terminal can also use other known positioning modules that have the same functions as the GNSS module or exceed the existing functions of the GNSS module or other positioning modules developed in the future.
[0056] After uploading the tunnel route map to the database of the server of the tunnel vehicle violation monitoring and warning system using the tunnel vehicle violation monitoring and warning method (including the first upload or update), before executing step S10 (or step S20), after executing step S10 and before executing step S11 (or step S21), or simultaneously with step S10 (or step S10), execute step S30 to obtain the warning area, generate the fifth coordinate information and store it in the database. Figure 4 As shown, when obtaining the warning area 6, the warning area 6 can be drawn as the second monitoring area in the important meeting area in the route map through the operating platform of the tunnel vehicle violation monitoring and early warning system. After the drawing is completed, the current coordinate data (i.e., the fifth coordinate information) of the detection area 1 is generated based on the reference coordinate system, and then the fifth coordinate information is stored in the database.
[0057] The warning area 6 partially overlaps with the detection area 1, and the first detection point 2 and the second detection point 3 are both located in the warning area 6; or, the detection area 1 is located in the warning area 6. Preferably, Figure 5 As shown, in this embodiment, the detection area 1 is located in the warning area 6.
[0058] Next, step S31 is executed to obtain the sixth coordinate information of the first positioning terminal on the pedestrian, and the sixth coordinate information is compared with the fifth coordinate information, and the fourth coordinate information is compared with the fifth coordinate information. When the construction personnel enter the warning area 6, the first positioning terminal will obtain the current position of the construction personnel, and generate the current coordinate data of the construction personnel (i.e., the sixth coordinate information) based on the reference coordinate system. At the same time, the first positioning terminal will periodically poll the current position of the first positioning terminal to timely update the position of the construction personnel in the reference coordinate system.
[0059] Next, step S32 is executed to determine whether both the pedestrian and the vehicle are located in the warning area. When it is determined that at least one of the construction worker (i.e., pedestrian 7) and the vehicle 4 is not in the warning area 6, the process returns to step S31; when it is determined that both the construction worker (i.e., pedestrian 7) and the vehicle 4 are located in the warning area 6, step S33 is executed to send a third alarm message to the first positioning terminal and the vehicle. For example, when both the construction worker and the vehicle 4 are located in the warning area 6, the third alarm message is sent to the first positioning terminal, so that the speaker in the first positioning terminal plays a voice message of "Vehicle 4 is approaching near (intersection), please pay attention to safety"; the third alarm message is sent to the vehicle 4, so that the speaker of the vehicle 4 plays a voice message of "Pedestrian 7 is approaching near (intersection), please drive carefully".
[0060] Preferably, when the distance between the pedestrian 7 and the vehicle 4 (which can be a straight-line distance or a distance on a path) is less than a preset distance, the sixth alarm information is sent to the first positioning terminal and the vehicle 4 respectively. For example, when the construction personnel and the vehicle 4 are both located in the warning area 6 and the distance between them is less than the preset distance, the sixth alarm information is sent to the first positioning terminal so that the speaker in the first positioning terminal plays a voice message of "There is a vehicle 4 nearby, please observe and walk carefully"; the sixth alarm information is sent to the vehicle 4 so that the speaker of the vehicle 4 plays a voice message of "There is a pedestrian 7 nearby, please observe and drive carefully". Among them, the calculation method and calculation principle of the distance between the second positioning terminal (vehicle 4) and the first positioning terminal (pedestrian 7) when they walk along the route by calculating the specific route direction fed back by the fourth coordinate information, the sixth coordinate information and the route map data belong to the common knowledge of those skilled in the art, and are the same or similar to the calculation method and calculation principle of the distance between the departure place and the destination when navigating in the existing navigation system, so no detailed description is given here.
[0061] Further, when it is determined that both the pedestrian 7 and the vehicle 4 are located in the warning area 6, the state of the signal light 5 is obtained. If the state of the signal light 5 is a non-red light state, the turning state of the vehicle 4 is obtained, and the fourth alarm information is sent to the first positioning terminal and / or the fifth alarm information is sent to the vehicle 4. For example, when the construction personnel and the vehicle 4 are both located in the warning area 6, and the state of the signal light 5 is a non-red light state, assuming that the construction personnel walk on the right side of the vehicle 4 and approach the traffic light intersection, and the vehicle 4 drives to the right side of the traffic light intersection, the fourth alarm information is sent to the first positioning terminal, so that the speaker in the first positioning terminal plays the voice "There is a vehicle 4 coming from your left, please observe and walk carefully"; the fifth alarm information is sent to the vehicle 4, so that the speaker of the vehicle 4 plays the voice "There is a pedestrian 7 approaching on the right, please observe and drive carefully".
[0062] Furthermore, when the vehicle 4 enters the detection area 1 and / or the warning area 6, the polling time for the fourth coordinate information of the vehicle 4 is shortened; when the first positioning terminal enters the warning area 6, the polling time for the sixth coordinate information of the first positioning terminal is shortened. Among them, the polling time for the vehicle 4 to enter the detection area 1 and the warning area 6 can be the same. For example, when the vehicle 4 is traveling outside the warning area 6 and the detection area 1, the polling time for the fourth coordinate information of the vehicle 4 is 4 seconds / time; when the vehicle 4 is traveling in the warning area 6, the polling time for the fourth coordinate information of the vehicle 4 is 0.5 seconds / time. When the construction personnel walk outside the warning area 6, the polling time for the sixth coordinate information of the construction personnel is 4 seconds / time; when the construction personnel walk in the warning area 6, the polling time for the sixth coordinate information of the construction personnel is 1 second / time. This design can better reduce the generation of data garbage, reduce the occupation of network resources, storage resources and computer resources, and can improve the accuracy and reliability of the monitoring results to a certain extent.
[0063] In summary, it can be seen that the tunnel vehicle violation monitoring and early warning method provided by the present invention compares the coordinate information of the first detection point, the second detection point and the vehicle in the detection area, and judges whether the vehicle has violated the law in combination with the state of the signal light in the detection area (such as whether the current signal light is red or green, etc.). Compared with the existing technology of using a camera to capture vehicle violation pictures, RFID radio frequency technology to identify the vehicle position, radar to detect the vehicle position and other technologies to monitor vehicle violations, the tunnel vehicle violation monitoring and early warning method provided by the present invention can reliably and effectively monitor vehicle violations in an environment with poor visibility and large interference in the tunnel (including the tunnel main line, inclined shaft, the intersection of the tunnel main line and the inclined shaft, etc.), thereby solving the problem that it is difficult to monitor vehicle violations in the tunnel with the existing technology.
[0064] Computer device embodiment
[0065] The computer device of this embodiment includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the above-mentioned tunnel vehicle violation monitoring and early warning method is implemented.
[0066] For example, a computer program may be divided into one or more modules, one or more modules are stored in a memory and executed by a processor to complete each module of the present invention. One or more modules may be a series of computer program instruction segments capable of completing a specific function, and the instruction segments are used to describe the execution process of the computer program in a terminal device.
[0067] The processor referred to in the present invention 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 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0068] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory 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.), 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.), etc. In addition, the memory 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 (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0069] Computer Readable Storage Medium Embodiments
[0070] If the computer program stored in the above-mentioned computer device 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 this understanding, the present invention 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. When the computer program is executed by the processor, it can implement each step of the above-mentioned tunnel vehicle violation monitoring and early warning method.
[0071] Among them, the computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form, etc. Computer readable media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.
[0072] Finally, it should be emphasized that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and modifications. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A tunnel vehicle violation monitoring and early warning method, characterized in that: include: Acquire a detection area, a first detection point, and a second detection point, generate first coordinate information of the detection area, second coordinate information of the first detection point, and third coordinate information of the second detection point, and store them in a database, wherein the first detection point and the second detection point are located in the detection area, and along the moving direction in the detection area, the first detection point is located at the upstream end of the second detection point; Obtain fourth coordinate information of the vehicle, compare the fourth coordinate information with the first coordinate information, and determine whether the vehicle is located in the detection area. If so: Obtaining the state of the traffic light at the detection area, if the state of the traffic light is red, comparing the fourth coordinate information with the second coordinate information, determining whether the vehicle has passed the first detection point, if so, comparing the fourth coordinate information with the third coordinate information, determining whether the vehicle has passed the second detection point, if so, determining that the vehicle has violated traffic rules and storing the violation in the database; or Compare the fourth coordinate information with the second coordinate information to determine whether the vehicle has passed the first detection point, and if so, compare the fourth coordinate information with the third coordinate information to determine whether the vehicle has passed the second detection point, and if so, obtain the state of the traffic light at the detection area, and if the state of the traffic light is red, determine that the vehicle is in violation and store it in the database; The tunnel vehicle violation monitoring and early warning method further comprises: Acquire the warning area, generate fifth coordinate information and store it in the database; The warning area partially overlaps with the detection area, and the first detection point and the second detection point are both located in the warning area, or The detection area is located within the warning area; Acquire sixth coordinate information of the first positioning terminal on the pedestrian, compare the sixth coordinate information with the fifth coordinate information, and compare the fourth coordinate information with the fifth coordinate information, to determine whether the pedestrian and the vehicle are both located in the warning area, and if the pedestrian and the vehicle are both located in the warning area, send third alarm information to the first positioning terminal and the vehicle; When it is determined that both the pedestrian and the vehicle are located in the warning area, the traffic light status is obtained. If the traffic light status is not a red light status, the vehicle turning status is obtained, and a fourth alarm message is sent to the first positioning terminal and / or a fifth alarm message is sent to the vehicle.
2. The tunnel vehicle violation monitoring and early warning method according to claim 1 is characterized by: Before the step of acquiring the detection area, the first detection point and the second detection point, the method further includes: Upload the route map data to the database, or update the route map data in the database.
3. The tunnel vehicle violation monitoring and early warning method according to claim 1 is characterized by: If it is determined that the vehicle is located in the detection area, the tunnel vehicle violation monitoring and early warning method further includes: The state of the signal light at the detection area is acquired, and the current state of the signal light is fed back to the vehicle.
4. The tunnel vehicle violation monitoring and early warning method according to claim 3 is characterized by: After the step of feeding back the current state of the signal light to the vehicle, the method further includes: The remaining time for the signal light to switch to the next state is fed back to the vehicle.
5. The tunnel vehicle violation monitoring and early warning method according to claim 1 is characterized by: If it is determined that the vehicle is located in the detection area, the tunnel vehicle violation monitoring and early warning method further includes: Obtaining the state of the signal light at the detection area; If the signal light is red, obtaining the speed of the vehicle, determining the change trend of the speed, and sending a first alarm message to the vehicle if the speed remains unchanged or increases; If the signal light is green or yellow, and the remaining time for the signal light to switch to the red state is less than a preset threshold, the change trend of the vehicle speed is determined; if the vehicle speed remains unchanged or increases, a second alarm message is sent to the vehicle.
6. The tunnel vehicle violation monitoring and early warning method according to any one of claims 1 to 5, characterized in that: When the vehicle enters the detection area and / or the warning area, shortening the polling time for the fourth coordinate information of the vehicle; When the first positioning terminal enters the warning area, the polling time for the sixth coordinate information of the first positioning terminal is shortened.
7. A computer device comprising a processor and a memory, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the steps of the tunnel vehicle violation monitoring and early warning method as described in any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the controller, the steps of the tunnel vehicle violation monitoring and early warning method as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Gun-ball linkage road traffic parameter collection and rule breaking snapshooting system
CN103473926A
Method and system for identifying abnormal driving behavior on road
CN106652465A
Traffic signal lamp identification method and device and equipment
CN108335510A
Red light running early warning method and device
CN111369818A
Red light running violation monitoring method and roadside device, vehicle-mounted device and vehicle thereof
CN112489435A
