Disclosure of Invention
In order to solve the technical problem, the application provides a tunnel traffic incident detection method and system, so that a receiving device outside a tunnel can timely and accurately know whether a traffic incident occurs in the tunnel, and intelligent traffic combing is performed.
A first aspect of the present application provides a tunnel traffic event detection method, including:
s1, detecting the occurrence of the traffic incident by the vehicle in the tunnel through the equipped vehicle end;
s2, the receiving end outside the tunnel receives the traffic incident information reported by the vehicle ends of a plurality of vehicles in the tunnel;
and S3, the receiving end judges whether a traffic incident occurs in the tunnel or not based on the traffic incident information and the corresponding vehicle types.
Optionally, the traffic event information includes a traffic event occurrence code, a vehicle type, a vehicle ID, and a location of the vehicle within the tunnel.
Optionally, the traffic event information includes a traffic event occurrence code, a vehicle type, a vehicle ID, and a number of times the traffic event information is relayed.
Optionally, the position of the vehicle in the tunnel is determined based on the number of times the traffic event information is relayed.
Optionally, the determining, by the receiving end, whether a traffic event occurs in the tunnel based on the traffic event information and the respective corresponding vehicle types includes:
and the receiving end draws a vehicle distribution map for uploading the traffic event information based on the vehicle types and the positions corresponding to the traffic event information respectively in the traffic event information, the vehicle types are marked in the vehicle distribution map, if the vehicle distribution conditions in the vehicle distribution map meet preset conditions, the traffic event is judged to occur in the tunnel, and if not, the traffic event is judged not to occur in the tunnel.
Optionally, before executing the step S3, the method further includes:
and S20, judging whether the quantity of the traffic event information is larger than a threshold value, if so, executing a step S3, otherwise, judging that no traffic event occurs in the tunnel.
Optionally, the receiving end is an RSU provided near the tunnel entrance, or a vehicle equipped with a vehicle end located near the tunnel entrance.
A second aspect of the present application provides a tunnel traffic incident detection system, which includes a vehicle end and a receiving end;
the vehicle end is equipped with a vehicle and used for detecting the occurrence of traffic events in the tunnel;
the receiving end is arranged outside the tunnel and used for receiving traffic incident information reported by the vehicle ends of a plurality of vehicles in the tunnel and judging whether a traffic incident occurs in the tunnel or not based on the traffic incident information and the respective corresponding vehicle types.
A third aspect of the present application provides an electronic device, which is disposed at a receiving end, the device including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the following method steps:
receiving traffic event information reported by the vehicle ends of a plurality of vehicles in the tunnel; and judging whether a traffic incident occurs in the tunnel or not based on the information of the traffic incidents and the types of the vehicles corresponding to the information of the traffic incidents.
A fourth aspect of the present application provides a computer storage medium, which is disposed at a receiving end, and stores computer instructions, and when the computer instructions are called, the computer instructions are configured to perform the following method steps:
receiving traffic event information reported by the vehicle ends of a plurality of vehicles in the tunnel; and judging whether a traffic incident occurs in the tunnel or not based on the information of the traffic incidents and the types of the vehicles corresponding to the information of the traffic incidents.
The invention has the beneficial effects that: after receiving the traffic incident information reported by each vehicle in the tunnel, the scheme of the application further performs secondary judgment based on the vehicle types (including large-sized vehicles, medium-sized vehicles and small-sized vehicles), and finally outputs the conclusion whether the traffic incident with higher reliability occurs, so as to be beneficial to subsequent traffic dispersion and other applications. Therefore, the problem that whether the traffic incident happens in the tunnel or not is low in reliability is effectively solved by the scheme.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which the present invention product is usually put into use, it is only for convenience of describing the present application and simplifying the description, but it is not intended to indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation and be operated, and thus, should not be construed as limiting the present application.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a tunnel traffic event detection method according to an embodiment of the present application. As shown in fig. 1, a first aspect of the present application provides a tunnel traffic event detection method, including:
s1, detecting the occurrence of the traffic incident by the vehicle in the tunnel through the equipped vehicle end;
s2, the receiving end outside the tunnel receives the traffic incident information reported by the vehicle ends of a plurality of vehicles in the tunnel;
and S3, the receiving end judges whether a traffic incident occurs in the tunnel or not based on the traffic incident information and the corresponding vehicle types.
With the development of automotive technology, more and more vehicles are equipped with various detection devices, such as radars, cameras, and the like, and the detection of traffic events can be realized by using the intelligent devices and an intelligent recognition algorithm. However, for a tunnel scene, the field of view in the tunnel is generally poor, and the detection result of a single vehicle, especially a small vehicle, is easily interfered by various factors, for example, a large vehicle may block the view of a small vehicle, and at this time, the vehicle end of the small vehicle or a passenger in the small vehicle cannot detect complete traffic information ahead, and further, the conclusion of judging a traffic incident ahead is unreliable. For the problem, after receiving the traffic event information reported by each vehicle in the tunnel, the scheme of the application further performs secondary judgment based on the vehicle type (including large-sized vehicles, medium-sized vehicles and small-sized vehicles), and finally outputs a conclusion whether the traffic event with higher reliability occurs, so as to be beneficial to subsequent applications such as traffic dispersion. Since the signals of the mobile operators and the satellite positioning signals in the tunnel are weak, in the application, the vehicle networking technology, namely V2V or V2R, is adopted for the mode that the vehicle end transmits the traffic event information to the outside of the tunnel.
Optionally, the traffic event information includes a traffic event occurrence code, a vehicle type, a vehicle ID, and a location of the vehicle within the tunnel.
The traffic incident occurrence code can be used for describing the conclusion of the occurrence of the traffic incident, and the vehicle type can be a large-sized vehicle, a medium-sized vehicle or a small-sized vehicle; the vehicle can also be a large truck, a container truck, a trailer, an XX passenger car, a car, an SUV and the like, and at the moment, the receiving end can automatically match the vehicle to belong to a large vehicle, a medium vehicle or a small vehicle based on a preset vehicle type table. In addition, the position of the vehicle in the tunnel can be realized by adopting an indoor positioning wireless network in the tunnel.
Optionally, the traffic event information includes a traffic event occurrence code, a vehicle type, a vehicle ID, and a number of times the traffic event information is relayed.
Optionally, the position of the vehicle in the tunnel is determined based on the number of times the traffic event information is relayed.
For the determination mode of the position of the vehicle in the tunnel, when the indoor positioning wireless network is not arranged in the tunnel, the receiving end calculates the position based on the number of times of the relayed traffic event signals. Specifically, the method comprises the following steps: the traffic signal also comprises a vehicle ID and is relayed to the rear of the traffic driving direction through the V2R technology, and other vehicles count the traffic event information after receiving the traffic event signal sent by the previous vehicle, and then attach the count information to the traffic event signal. Therefore, the receiving end arranged outside the tunnel can determine the number of times of relaying the signal corresponding to each ID based on the number of times of relaying the traffic event signal sent by each vehicle, and further can determine the position in the tunnel where the vehicle corresponding to the traffic event signal corresponding to each ID is located based on the set single-relay length.
Optionally, the determining, by the receiving end, whether a traffic event occurs in the tunnel based on the traffic event information and the respective corresponding vehicle types includes:
and the receiving end draws a vehicle distribution map for uploading the traffic event information based on the vehicle ID, the vehicle type and the position which correspond to the traffic event information respectively, the vehicle type is marked in the vehicle distribution map, if the vehicle distribution condition in the vehicle distribution map meets a preset condition, the traffic event is judged to occur in the tunnel, and if not, the traffic event is judged not to occur in the tunnel.
And drawing a distribution map of each vehicle uploading the traffic event information in the tunnel based on the vehicle ID, the vehicle type and the position, and further judging whether the distribution condition of the vehicles meets the preset condition based on the distribution map. However, when the number of vehicles in the tunnel is large, the receiving end receives a large amount of reported data, i.e., large data, and therefore the large data needs to be screened. Based on this consideration, determine whether the distribution condition of vehicle satisfies the predetermined condition in this application, include:
1) when the occupation ratio of medium-sized vehicles and large-sized vehicles in the first and second peripheral areas of the traffic incident place is greater than a threshold th2, judging that a traffic incident occurs in the tunnel;
2) when the occupation ratio of medium-sized vehicles to large-sized vehicles in the first and second peripheral areas of the traffic incident place is not more than the threshold th2, if the number of the medium-sized vehicles in the first peripheral area of the traffic incident place is more than the threshold th3, the traffic incident is determined to occur in the tunnel; otherwise, judging whether the number of the traffic event information of the vehicles in the first and the second peripheral areas, which is manually triggered and reported by the passengers in the vehicles, is greater than a threshold th4, if so, judging that a traffic event occurs in the tunnel, and if not, judging that no traffic event occurs in the tunnel.
The logic of the above judgment is: according to the method and the device, higher credibility is given to the reported information of vehicles with relatively better visual fields, such as medium-sized vehicles or large-sized vehicles.
1) And when judging whether more medium and large vehicles are distributed in the first peripheral area and the second peripheral area of the core area of the traffic incident place, if so, indicating that the occurrence conclusion of the traffic incident is detected by the medium and large vehicles with higher reliability, and directly judging that the traffic incident information is reliable. 2) If the medium-large vehicles are not sufficiently distributed in the first peripheral area and the second peripheral area, the data of the small vehicles are used, but the small vehicles are easily blocked, so that the detection conclusion is unreliable, therefore, the method directly judges whether the first peripheral area of the core area of the traffic incident place has a sufficient number of small vehicles, and if so, the traffic incident information is judged to be reliable. However, there is a situation that there may not be enough vehicles in the first peripheral area due to the uneven distribution of the vehicles in the tunnel, or there is an insufficient number of vehicles with intelligent detection and communication capability in the first peripheral area, so the traffic event information reported manually is used instead, because the traffic event information seen by human eyes is basically reliable.
Wherein, the range size of the first peripheral area and the second peripheral area can be set as a fixed value according to an empirical value; it is also possible to set based on the tunnel length, i.e.: the longer the tunnel, the larger the first and second peripheral areas, and the larger the second peripheral area is than the first peripheral area.
Optionally, before executing the step S3, the method further includes:
and S20, judging whether the quantity of the traffic event information is larger than a threshold value, if so, executing a step S3, otherwise, judging that no traffic event occurs in the tunnel.
If only a small number of vehicles detect a traffic event, the authenticity of the occurrence of the traffic event is also unreliable, so it must be ensured that signals of traffic events occurring within the tunnel sent by more than a threshold number of vehicles are received before a secondary decision is made.
Optionally, the receiving end is an RSU provided near the tunnel entrance, or a vehicle equipped with a vehicle end located near the tunnel entrance.
The receiving end in the application can be an RSU and an OBU. The OBU is intended to be an OBU of a vehicle located near the tunnel entrance, such a vehicle is about to enter the tunnel, and since it has not yet entered the tunnel, it is still available based on the communication capabilities of the mobile operator, so that it is used as a receiving end to ensure that information of traffic events occurring within the tunnel is transmitted in time to, for example, a traffic management center or other vehicles.
Example 2
Referring to fig. 2, fig. 2 is a schematic structural diagram of a tunnel traffic event detection system according to an embodiment of the present application. As shown in fig. 2, a second aspect of the present application provides a tunnel traffic event detection system, which corresponds to the method according to the first embodiment;
the system comprises a vehicle end and a receiving end;
the vehicle end is equipped with a vehicle and used for detecting the occurrence of traffic events in the tunnel;
the receiving end is arranged outside the tunnel and used for receiving traffic incident information reported by the vehicle ends of a plurality of vehicles in the tunnel and judging whether a traffic incident occurs in the tunnel or not based on the traffic incident information and the respective corresponding vehicle types.
Example 3
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 3, a third aspect of the present application provides an electronic device, where the electronic device is disposed at a receiving end, and the electronic device includes:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the following method steps:
receiving traffic event information reported by the vehicle ends of a plurality of vehicles in the tunnel; and judging whether a traffic incident occurs in the tunnel or not based on the information of the traffic incidents and the types of the vehicles corresponding to the information of the traffic incidents.
Example 4
The embodiment provides a computer storage medium, which is disposed at a receiving end, and the storage medium stores computer instructions, and when the computer instructions are called, the computer instructions are used to execute the following method steps:
receiving traffic event information reported by the vehicle ends of a plurality of vehicles in the tunnel; and judging whether a traffic incident occurs in the tunnel or not based on the information of the traffic incidents and the types of the vehicles corresponding to the information of the traffic incidents.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.