Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for judging the serial vehicles, so as to improve the accuracy of judging the serial vehicles.
In a first aspect, an embodiment of the present application provides a method for determining a vehicle crossing, including:
acquiring vehicle GPS information of a target vehicle according to a set time interval, and determining a vehicle kilometer value of the target vehicle based on the vehicle GPS information;
determining a vehicle kilometer difference corresponding to each target vehicle according to the vehicle kilometer values determined twice before and after;
and determining the same driving direction in each driving route based on the vehicle kilometer difference, and determining whether the target vehicle with the vehicle distance within a set distance threshold generates a vehicle crossing behavior.
Further, the method for judging the train crossing further comprises the following steps:
and screening target vehicles participating in the cross-traffic judgment from the running vehicles based on running state information of each running vehicle, wherein the running state information comprises running station information, GPS state information and operation state information.
Further, the screening out target vehicles participating in the cross-traffic judgment from the driving vehicles based on the driving state information of each driving vehicle includes:
acquiring running station information, GPS state information and operation state information of each running vehicle;
screening out the intermediate stations corresponding to the driving station information, the GPS online corresponding to the GPS state information and the running vehicles operating corresponding to the running state information, and taking the screened running vehicles as target vehicles participating in the judgment of traffic congestion.
Further, the determining, based on the vehicle kilometer difference, whether the target vehicle with the vehicle distance within a set distance threshold has a cross-vehicle behavior in the same driving direction in each driving route includes:
determining the target vehicles which have the same driving direction in each driving route and have the vehicle distance within a set distance threshold value;
and determining the vehicle mileage difference between the target vehicles according to the vehicle kilometer difference, and determining whether the target vehicles have a train crossing behavior based on the vehicle mileage difference and a set mileage difference threshold.
Further, before determining that the same driving direction in each driving route and the vehicle distance is within a set distance threshold before the target vehicle has a cross-traffic behavior based on the vehicle kilometer difference, the method further includes:
the method comprises the steps of obtaining road condition information corresponding to each driving direction of each driving line, and determining a set mileage difference threshold value corresponding to each driving direction of each driving line based on the road condition information.
Further, the method for judging the train crossing further comprises the following steps:
and responding the target vehicle to carry out the vehicle crossing early warning.
Further, the responding the target vehicle behavior of getting-on-vehicle and carrying out early warning of getting-on-vehicle includes:
responding the target vehicle to generate the vehicle crossing behavior, determining the target vehicle for carrying out vehicle crossing early warning according to the vehicle running priority, and carrying out vehicle crossing early warning on the target vehicle.
In a second aspect, an embodiment of the present application provides a vehicle crossing determination device, including a kilometer value determination module, a kilometer difference determination module, and a vehicle crossing determination module, where:
the kilometer value determining module is used for acquiring vehicle GPS information of a target vehicle according to a set time interval and determining a vehicle kilometer value of the target vehicle based on the vehicle GPS information;
the kilometer difference determining module is used for determining a vehicle kilometer difference corresponding to each target vehicle according to the vehicle kilometer values determined twice before and after;
and the vehicle crossing judging module is used for determining the same driving direction in each driving line based on the vehicle kilometer difference and determining whether the target vehicle with the vehicle distance within a set distance threshold value has a vehicle crossing behavior.
Further, the apparatus further comprises a vehicle screening module, the vehicle screening module is configured to:
and screening target vehicles participating in the cross-traffic judgment from the running vehicles based on running state information of each running vehicle, wherein the running state information comprises running station information, GPS state information and operation state information.
Further, when the vehicle screening module screens out the target vehicle participating in the cross-traffic judgment from the traveling vehicles based on the traveling state information of each traveling vehicle, the vehicle screening module specifically includes:
acquiring running station information, GPS state information and operation state information of each running vehicle;
screening out the intermediate station corresponding to the driving station information, the GPS online corresponding to the GPS state information and the running vehicle in operation corresponding to the running state information, and taking the screened running vehicle as a target vehicle participating in the cross traffic judgment.
Further, the tandem judgment module is specifically configured to:
determining the target vehicles which have the same driving direction in each driving route and have the vehicle distance within a set distance threshold value;
and determining the vehicle mileage difference between the target vehicles according to the vehicle kilometer difference, and determining whether the target vehicles have a train crossing behavior based on the vehicle mileage difference and a set mileage difference threshold.
Further, the device further comprises a threshold value determining module, wherein the threshold value determining module is used for acquiring road condition information corresponding to each driving direction of each driving route, and determining a set mileage difference threshold value corresponding to each driving direction of each driving route based on the road condition information.
Furthermore, the device further comprises a vehicle crossing early warning module, wherein the vehicle crossing early warning module is used for responding to the vehicle crossing behavior of the target vehicle to carry out vehicle crossing early warning.
Further, the tandem vehicle early warning module is specifically used for: responding the target vehicle to generate the vehicle crossing behavior, determining the target vehicle for carrying out vehicle crossing early warning according to the vehicle running priority, and carrying out vehicle crossing early warning on the target vehicle.
In a third aspect, an embodiment of the present application provides a vehicle crossing determination device, including: a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for determining a train as described in the first aspect.
In a fourth aspect, embodiments provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for determining a cross-car as set forth in the first aspect.
According to the embodiment of the application, the vehicle GPS information of the target vehicle is obtained, the vehicle kilometer value corresponding to each target vehicle is determined based on the vehicle GPS information, the vehicle kilometer difference of each target vehicle is determined according to the vehicle kilometer values of the two previous and next times, for two target vehicles with the same driving direction in each driving route and the vehicle distance within the set distance threshold, whether the two target vehicles have the train crossing behavior or not can be determined according to the corresponding vehicle kilometer difference, the train crossing behavior is judged based on the vehicle kilometer values of the same driving direction of the same driving route, and the judgment of the train crossing behavior with low cost and high efficiency is achieved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the matters relating to the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a method for determining a tandem vehicle provided in an embodiment of the present application, where the method for determining a tandem vehicle provided in an embodiment of the present application may be executed by a tandem vehicle determining apparatus, and the tandem vehicle determining apparatus may be implemented in a hardware and/or software manner and integrated in a tandem vehicle determining device (e.g., a vehicle management platform).
The following description will be given taking an example in which the tandem determination device performs the tandem determination method. Referring to fig. 1, the method for determining a train crossing includes:
s101: vehicle GPS information of a target vehicle is acquired according to a set time interval, and a vehicle kilometer value of the target vehicle is determined based on the vehicle GPS information.
The target vehicle provided by the embodiment is internally provided with the vehicle GPS equipment, and the vehicle GPS equipment acquires vehicle GPS information of the target vehicle in real time and uploads the vehicle GPS information to the vehicle crossing judging device. The vehicle position information can be recorded in a latitude and longitude mode, and the vehicle kilometer value can be understood as the kilometer value currently traveled by the target vehicle, for example, the vehicle kilometer value of the target vehicle at one time is 5000, after the target vehicle travels 10 kilometers, the vehicle kilometer value at this time is updated to 5010, and the vehicle kilometer values at the two times are subtracted to obtain the kilometer value traveled by the target vehicle in the time elapsed by the two times of vehicle GPS information acquisition.
For example, the crossing judgment device provided by the embodiment acquires the vehicle GPS information uploaded by the target vehicle at set time intervals (for example, 30 seconds), and extracts the vehicle kilometer value recorded in the vehicle GPS information. Optionally, the target vehicle may communicate with the vehicle crossing determination device in a wireless communication manner and upload vehicle GPS information.
Optionally, the target vehicle uploads the vehicle GPS information collected by the vehicle GPS device to the train crossing determining device at regular time, and a time interval for uploading the vehicle GPS information by the target vehicle may be consistent with the set time interval or may be smaller than the set time interval.
S102: and determining the vehicle kilometer difference corresponding to each target vehicle according to the vehicle kilometer values determined twice before and after.
For each target vehicle, a currently determined vehicle kilometer value and a last determined vehicle kilometer value are determined, a difference between the currently and last determined vehicle kilometer values is calculated, and the difference is taken as a vehicle kilometer difference of the corresponding target vehicle pair. It can be understood that the vehicle kilometer difference records the kilometer value of the target vehicle in the period from the last vehicle kilometer value determination to the current vehicle kilometer value determination.
For example, the vehicle crossing determining device obtains the vehicle kilometer value of the target vehicle at a set time interval of 30s, where the vehicle kilometer value of a certain target vehicle at the last time is 120 kilometers, and the vehicle kilometer value determined this time is 120.2 kilometers, then the current vehicle kilometer difference of the target vehicle is 120.2-120 ═ 0.2 kilometers, and then the target vehicle travels for 0.2 kilometers within 30 s.
S103: and determining the same driving direction in each driving route based on the vehicle kilometer difference, and determining whether the target vehicle with the vehicle distance within a set distance threshold generates a vehicle crossing behavior.
It is understood that in the transportation line network, there are a plurality of vehicle lines, the transportation line network is formed by these vehicle lines, and the vehicle travels and operates according to the route specified by the vehicle lines. In one driving route, there are one or more driving directions, for example, for a bidirectional driving route, there are two driving directions, upstream and downstream, and for a unidirectional annular driving route, there is only one unidirectional annular driving direction. The train crossing judging device records a bus route file, and the bus route file records a driving route, operation time, operation state, driving direction and the like corresponding to each vehicle, and the driving direction of the vehicle can be determined according to stop reporting information reported by the vehicle, for example, the driving direction is determined according to stops where the vehicle arrives successively, or the driving direction is directly determined when the vehicle is located at a terminal station or a starting station.
For example, for each driving direction of each driving route, target vehicles driving in the same driving direction are determined, when two or more target vehicles exist in one driving direction, the vehicle distance between every two target vehicles is further determined, and when the vehicle distance is within a set distance threshold (for example, 50m), it is determined that the two target vehicles need to be subjected to cross-traffic behavior judgment or prediction.
Further, vehicle kilometer differences corresponding to two target vehicles are determined, a difference value between the two vehicle kilometer differences is calculated, if the difference value is out of a set distance threshold value, it is determined that the two target vehicles do not have a vehicle crossing behavior, and if the difference value is within the set distance threshold value, it is determined that the two target vehicles have or are about to have the vehicle crossing behavior. When the target vehicle is determined to have or be about to have a traffic jam behavior, the target vehicle can be reminded of the traffic jam so as to remind a driver of the vehicle to pay attention to control the driving speed, and the influence of the traffic jam on the bus taking experience is reduced.
The vehicle GPS information of the target vehicle is obtained, the vehicle kilometer value corresponding to each target vehicle is determined based on the vehicle GPS information, the vehicle kilometer difference of each target vehicle is determined according to the vehicle kilometer values of the two previous and subsequent vehicle kilometers, whether the two target vehicles have a train crossing behavior or not can be determined according to the corresponding vehicle kilometer differences for the two target vehicles with the same driving direction in each driving route and the vehicle distance within the set distance threshold, and the train crossing behavior is judged based on the vehicle kilometer values of the same driving direction in the same driving route, so that the low-cost and high-efficiency train crossing behavior judgment is realized.
On the basis of the foregoing embodiment, fig. 2 is a flowchart of another method for determining a train running provided in the embodiment of the present application, which is an embodiment of the method for determining a train running. Referring to fig. 2, the method for determining a train crossing includes:
s201: and screening target vehicles participating in the cross-traffic judgment from the running vehicles based on running state information of each running vehicle, wherein the running state information comprises running station information, GPS state information and operation state information.
Specifically, the driving state information of each driving vehicle is determined, the driving state information provided by this embodiment includes driving station information, GPS state information, and operation state information, and a target vehicle participating in the cross-traffic judgment is screened from the driving vehicles according to the driving state information of each driving vehicle.
In this embodiment, screening out a target vehicle participating in a cross-car judgment from the traveling vehicles based on the traveling state information of each traveling vehicle specifically includes steps S2011 to S2012:
s2011: and acquiring the driving station information, the GPS state information and the operation state information of each driving vehicle.
S2012: screening out the intermediate station corresponding to the driving station information, the GPS online corresponding to the GPS state information and the running vehicle in operation corresponding to the running state information, and taking the screened running vehicle as a target vehicle participating in the cross traffic judgment.
The method includes the steps of acquiring running state information of each running vehicle, and more specifically acquiring running station information, GPS state information and operation state information of each running vehicle. The running station information is used for indicating a station where the running vehicle arrives, the GPS state information is used for indicating the online state of vehicle GPS equipment on the running vehicle and the time for updating the vehicle GPS information, and the operation state information is used for indicating whether the running vehicle is in a normal operation state.
Optionally, the bus stop at which the vehicle arrives may be directly determined according to stop report information reported by the vehicle, or the bus stop at which the vehicle arrives may be determined according to a distance between GPS positioning information (vehicle position information) and a stop position, so as to determine the information of the station at which the vehicle arrives, where the bus stop includes an intermediate stop and a central stop (including a start stop and an end stop). The vehicle GPS equipment on the driving vehicle uploads the vehicle GPS information at regular time, the online state of the vehicle GPS equipment in the driving vehicle and the updating time of the vehicle GPS information can be determined according to the time of receiving the vehicle GPS information, and the GPS state information of the driving vehicle is determined based on the online state and the updating time, wherein the online state of the vehicle GPS equipment comprises GPS online and GPS offline. Furthermore, whether each vehicle is in a normal operation state or a non-operation state can be determined through the bus route file, so that the operation state information of the vehicles is determined, or the operation state information of the vehicles is called from the bus operation management platform.
Furthermore, according to the running station information, the GPS state information and the operation state information of each running vehicle, the running station information corresponds to an intermediate station, the GPS state information corresponds to the GPS online (the GPS is online and the updating time of the vehicle GPS information is within a set time length), the operation state information corresponds to the running vehicles in operation, and the screened running vehicles are used as target vehicles participating in the cross traffic judgment.
It can be understood that for the driving vehicles which are located at the central station, are off-line with the GPS, and have the update time of the vehicle GPS information outside the set time length (for example, the update time of the vehicle GPS information exceeds 2 minutes) or are in a non-operating state, because the driving vehicles do not have the situation of the occurrence of the cross-talk behavior, the driving vehicles will not participate in the judgment of the cross-talk behavior, the calculation amount of the cross-talk judgment is reduced, and the cross-talk judgment efficiency is improved.
Optionally, the driving station information, the GPS state information, and the operation state information of each driving vehicle are updated in real time, and the driving vehicle participating in the cross-traffic judgment as the target vehicle is updated in real time according to the driving station information, the GPS state information, and the operation state information, so that the accuracy of the cross-traffic judgment is ensured.
S202: vehicle GPS information of a target vehicle is acquired according to a set time interval, and a vehicle kilometer value of the target vehicle is determined based on the vehicle GPS information.
S203: and determining the vehicle kilometer difference corresponding to each target vehicle according to the vehicle kilometer values determined twice before and after.
S204: and determining the target vehicles which have the same driving direction in each driving route and have the vehicle distance within the set distance threshold value.
Specifically, for each driving direction of each driving route, target vehicles on the same driving route and in the same driving direction are determined, a vehicle distance (a straight-line distance between two vehicles) between the target vehicles in the same driving direction is determined according to vehicle position information corresponding to each target vehicle, a target vehicle with a vehicle distance within a set distance threshold (for example, within 50m) is determined, and generally, a tandem behavior is determined by using two target vehicles as a group.
S205: and determining the vehicle mileage difference between the target vehicles according to the vehicle kilometer difference, and determining whether the target vehicles have a train crossing behavior based on the vehicle mileage difference and a set mileage difference threshold.
Specifically, the vehicle kilometer differences corresponding to the target vehicles with the vehicle distances within the set distance threshold are subtracted to obtain the vehicle mileage difference between the two target vehicles. The vehicle mileage difference is understood to be a difference between kilometers traveled by two target vehicles within a set time interval, for example, a vehicle kilometer difference of a preceding target vehicle is 70m and a vehicle kilometer difference of a following target vehicle is 100m within the set time interval, and then the vehicle mileage difference between the two target vehicles is 100m-70 m-30 m.
Further, the mileage difference of the vehicle is compared with a set mileage difference threshold (for example, 50m), if the mileage difference of the vehicle is greater than the mileage difference threshold, the two target vehicles are considered not to have a series of vehicles or have no tendency of having a series of vehicles, and it is determined that the two target vehicles do not have a series of vehicles. And if the vehicle mileage difference is less than or equal to the mileage difference threshold value, the two target vehicles are considered to have the traffic running or have the trend of the traffic running, and the traffic running of the two target vehicles is determined.
Taking a target vehicle a and a target vehicle B in the same driving direction of a certain driving route as an example, assuming that the mileage threshold is 50m and the target vehicle a is driving ahead of the driving direction of the target vehicle B, vehicle GPS information of the target vehicle a and the target vehicle B is acquired at set time intervals of 30s, and vehicle GPS information is acquired based on the vehicle GPS informationDetermining the vehicle kilometer values, assuming that the vehicle kilometer values of the target vehicle A and the target vehicle B are respectively 1000M and 2000M at the last time, and determining that the distance between the two vehicles is 40M according to the vehicle position information, the vehicle kilometer values of the target vehicle A and the target vehicle B are respectively 1050M and 2080M at this time, and the distance between the two vehicles is 10M according to the vehicle position information and is less than a set distance threshold value of 50M, and then determining that the vehicle kilometer difference M of the target vehicle A is smaller than the set distance threshold value of 50M at the present timeA50M, the target vehicle B has a vehicle kilometer difference MB80M, and the vehicle mileage between the target vehicle A and the target vehicle B is MB-A=MB-MAAnd when the distance is less than the mileage threshold value, determining that the target vehicle A and the target vehicle B have the train crossing behavior.
Fig. 3 is a schematic diagram of a driving route provided in an embodiment of the present application, as shown in fig. 3, taking a target vehicle a and a target vehicle B on a certain driving route in the same driving direction as an example, a route L in the diagram is a driving route on which the target vehicle is currently driving, arrows on the route L indicate current driving directions of the target vehicle a and the target vehicle B, it is determined that distances between the target vehicle a and the target vehicle B and a station C in fig. 3 are all within 10m according to vehicle position information, if a conventional calculation is performed according to GPS stop report data, it is mistakenly determined that a cross-traffic behavior occurs between the target vehicle a and the target vehicle B, that is, the target vehicle is in an operating state at the same time, the same driving route, and the target vehicle a and the target vehicle B in the same driving direction are at the same station or the same station, that a cross-traffic behavior is determined, or a straight-line distance calculation is performed through GPS coordinate values, when the straight-line distance is smaller than the set distance, the train crossing behavior is judged, the method is suitable for the situation of small lines and few vehicles, but is not suitable for the lines with small departure density and large departure amount, or the calculation is carried out according to the driving data and the station-passing data, and the driving data and the station-passing data need to be cleaned and calculated firstly and then compared due to the prior driving data and the station-passing data, so that the calculation logic is complex, and the real-time performance is poor. The scheme judges the train crossing behavior based on the kilometer values of the vehicles in the same driving direction on the same driving line, has small algorithm difficulty and strong real-time performance, effectively reduces the misjudgment condition of the train crossing behavior, is suitable for various routes and the departure amount, and has stronger applicability.
S206: and responding to the target vehicle to carry out vehicle crossing early warning.
When the target vehicle is determined to have a train crossing behavior, a train crossing warning is performed on the target vehicle, for example, train crossing warning information is sent to the target vehicle (for example, "you are close to XX vehicle, please pay attention to the vehicle distance"), and a vehicle driver is reminded.
In a possible embodiment, the early warning of the vehicle crossing in response to the vehicle crossing behavior of the target vehicle specifically includes: responding the target vehicle to generate the vehicle crossing behavior, determining the target vehicle for carrying out vehicle crossing early warning according to the vehicle running priority, and carrying out vehicle crossing early warning on the target vehicle.
Specifically, when the target vehicle is determined to have a vehicle crossing behavior, the vehicle running priority between two target vehicles is determined according to a preset vehicle running priority determination rule, the target vehicle behind the vehicle running priority is determined to be the target vehicle needing the vehicle crossing early warning, and the vehicle crossing early warning is performed on the target vehicle.
Optionally, the vehicle running priority determination rule may be that the vehicle running priority is determined according to the vehicle planning time, the first departure time, and the shift order in sequence, that is, the earlier the vehicle planning time is, the earlier the first departure time is, the earlier the shift order is, the earlier the vehicle running priority is. For example, if the planned vehicle times of the two target vehicles are the same, the vehicle running priority is determined in the order of the departure time of the first station, and if the departure time of the first station is also the same, the vehicle running priority is determined in the order of the shift.
In a possible embodiment, before determining a vehicle kilometer difference corresponding to each target vehicle according to the vehicle kilometer values determined twice before and after, further comprising: the method comprises the steps of obtaining road condition information corresponding to each driving direction of each driving line, and determining a set mileage difference threshold value corresponding to each driving direction of each driving line based on the road condition information.
The road condition information may be weather conditions, road congestion degree, historical traffic jam probability, and the like, and different mileage threshold values are set in advance according to different road condition information. Specifically, road condition information of each driving direction of each driving route is obtained, a corresponding set mileage difference threshold value is determined according to the road condition information, and the mileage difference threshold value is used for subsequent vehicle crossing behavior judgment, namely whether vehicle crossing behavior occurs between the target vehicles is determined based on the vehicle mileage difference and the set mileage difference threshold value.
Further, when acquiring the road condition information corresponding to each driving direction of each driving route, specifically according to different street partitions corresponding to the driving routes, acquiring the road condition information of each driving direction of each driving route at different street partitions, determining a set mileage difference threshold value corresponding to each driving direction of each driving route corresponding to different street partitions, in the subsequent vehicle crossing behavior judgment, determining a corresponding set mileage difference threshold value based on the street partition corresponding to the target vehicle, and determining whether the vehicle crossing behavior occurs between the target vehicles based on the vehicle mileage difference and the set mileage difference threshold value.
The vehicle GPS information of the target vehicle is obtained, the vehicle kilometer value corresponding to each target vehicle is determined based on the vehicle GPS information, the vehicle kilometer difference of each target vehicle is determined according to the vehicle kilometer values of the two previous and subsequent vehicle kilometers, whether the two target vehicles have a train crossing behavior or not can be determined according to the corresponding vehicle kilometer differences for the two target vehicles with the same driving direction in each driving route and the vehicle distance within the set distance threshold, and the train crossing behavior is judged based on the vehicle kilometer values of the same driving direction in the same driving route, so that the low-cost and high-efficiency train crossing behavior judgment is realized. Meanwhile, target vehicles participating in the series judgment are screened, the accuracy of the series judgment is improved, the series early warning is timely carried out on the target vehicles, a driver is reminded to pay attention to control the driving speed, and the influence of the series on the service quality of the bus is reduced. And the corresponding mileage difference threshold value is determined according to the real-time road condition information, so that the accuracy of judging the train crossing behavior is further improved.
Fig. 4 is a schematic structural diagram of a tandem judgment device according to an embodiment of the present application. Referring to fig. 4, the train crossing judging device includes a kilometer value determining module 41, a kilometer difference determining module 42, and a train crossing judging module 43.
The kilometer value determining module 41 is configured to obtain vehicle GPS information of a target vehicle according to a set time interval, and determine a vehicle kilometer value of the target vehicle based on the vehicle GPS information; the kilometer difference determining module 42 is configured to determine, according to the vehicle kilometer values determined twice before and after, a vehicle kilometer difference corresponding to each target vehicle; the train crossing determining module 43 is configured to determine, based on the kilometer difference of the vehicles, a same driving direction in each driving route, and whether a train crossing behavior occurs on the target vehicle with a vehicle distance within a set distance threshold.
The vehicle kilometer value corresponding to each target vehicle is determined according to the vehicle kilometer values of the target vehicles in the front and back twice, the vehicle kilometer difference of each target vehicle is determined according to the vehicle kilometer values of the target vehicles, whether the two target vehicles have a cross-traffic behavior or not can be determined according to the corresponding vehicle kilometer difference for the two target vehicles in the same traffic route and with the vehicle distance within the set distance threshold, and the cross-traffic behavior is judged based on the vehicle kilometer values of the same traffic route and the same traffic direction, so that the low-cost and high-efficiency cross-traffic behavior judgment is realized.
In one possible embodiment, the apparatus further comprises a vehicle screening module for:
and screening target vehicles participating in the cross-traffic judgment from the running vehicles based on running state information of each running vehicle, wherein the running state information comprises running station information, GPS state information and operation state information.
In a possible embodiment, when the vehicle screening module screens out a target vehicle participating in the cross-traffic judgment from the traveling vehicles based on the traveling state information of each traveling vehicle, the vehicle screening module specifically includes:
acquiring running station information, GPS state information and operation state information of each running vehicle;
screening out the intermediate station corresponding to the driving station information, the GPS online corresponding to the GPS state information and the running vehicle in operation corresponding to the running state information, and taking the screened running vehicle as a target vehicle participating in the cross traffic judgment.
In a possible embodiment, the train crossing determining module 43 is specifically configured to:
determining the target vehicles which have the same driving direction in each driving route and have the vehicle distance within a set distance threshold value;
and determining the vehicle mileage difference between the target vehicles according to the vehicle kilometer difference, and determining whether the target vehicles have a train crossing behavior based on the vehicle mileage difference and a set mileage difference threshold.
In one possible embodiment, the device further includes a threshold determination module, where the threshold determination module is configured to obtain road condition information corresponding to each driving direction of each driving route, and determine a set mileage difference threshold corresponding to each driving direction of each driving route based on the road condition information.
In one possible embodiment, the device further comprises a vehicle crossing early warning module, and the vehicle crossing early warning module is used for responding to the vehicle crossing behavior of the target vehicle to carry out vehicle crossing early warning.
In one possible embodiment, the train crossing warning module is specifically configured to: responding the target vehicle to generate the vehicle crossing behavior, determining the target vehicle for carrying out vehicle crossing early warning according to the vehicle running priority, and carrying out vehicle crossing early warning on the target vehicle.
The embodiment of the application further provides a tandem judgment device which can integrate the tandem judgment device provided by the embodiment of the application. Fig. 5 is a schematic structural diagram of a tandem judgment device provided in an embodiment of the present application. Referring to fig. 5, the bunching determination device includes: an input device 53, an output device 54, a memory 52, and one or more processors 51; the memory 52 for storing one or more programs; when the one or more programs are executed by the one or more processors 51, the one or more processors 51 are enabled to implement the method for determining a train as provided in the above embodiments. Wherein the input device 53, the output device 54, the memory 52 and the processor 51 may be connected by a bus or other means, as exemplified by the bus connection in fig. 5.
The memory 52 is a storage medium readable by a computing device, and can be used for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the method for determining a vehicle crossing as described in any embodiment of the present application (for example, the kilometer value determining module 41, the kilometer difference determining module 42, and the vehicle crossing determining module 43 in the vehicle crossing determining apparatus). The memory 52 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 52 may further include memory located remotely from the processor 51, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 53 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the apparatus. The output device 54 may include a display device such as a display screen.
The processor 51 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 52, so as to realize the above-mentioned method for determining a train.
The tandem judgment device, the equipment and the computer provided by the above can be used for executing the tandem judgment method provided by any of the above embodiments, and have corresponding functions and beneficial effects.
The present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for determining a vehicle crossing provided in the foregoing embodiment, where the method for determining a vehicle crossing includes: acquiring vehicle GPS information of a target vehicle according to a set time interval, and determining a vehicle kilometer value of the target vehicle based on the vehicle GPS information; determining a vehicle kilometer difference corresponding to each target vehicle according to the vehicle kilometer values determined twice before and after; and determining the same driving direction in each driving route based on the vehicle kilometer difference, and determining whether the target vehicle with the vehicle distance within a set distance threshold generates a vehicle crossing behavior.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected via a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application and containing the computer-executable instructions is not limited to the method for determining a tandem car as described above, and may also perform related operations in the method for determining a tandem car as provided in any embodiment of the present application.
The tandem determination device, the apparatus, and the storage medium provided in the foregoing embodiments may execute the tandem determination method provided in any embodiment of the present application, and refer to the tandem determination method provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative only of the preferred embodiments of the invention and the principles of the technology employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.