CN109147371B - Driving route determining method and device and computer equipment - Google Patents

Driving route determining method and device and computer equipment Download PDF

Info

Publication number
CN109147371B
CN109147371B CN201710453530.5A CN201710453530A CN109147371B CN 109147371 B CN109147371 B CN 109147371B CN 201710453530 A CN201710453530 A CN 201710453530A CN 109147371 B CN109147371 B CN 109147371B
Authority
CN
China
Prior art keywords
vehicle
station
route
driving
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710453530.5A
Other languages
Chinese (zh)
Other versions
CN109147371A (en
Inventor
吕佳佳
林权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201710453530.5A priority Critical patent/CN109147371B/en
Publication of CN109147371A publication Critical patent/CN109147371A/en
Application granted granted Critical
Publication of CN109147371B publication Critical patent/CN109147371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams

Abstract

The invention discloses a method and a device for determining a driving route and computer equipment, and belongs to the field of intelligent buses. The method comprises the following steps: when the current station of the vehicle is detected to be the same as the previous station, determining a target driving position of the vehicle on the currently set driving route according to the currently set driving route; in the running process of the vehicle, determining whether the vehicle runs to a target running position according to the real-time position of the vehicle; and if the vehicle runs towards the target running position, determining that the actual running route of the vehicle is not changed, and keeping the currently set running route. When the repeated station entry of the vehicle is detected, the vehicle is determined to be close to the next driving position of the current station, so that the vehicle is determined to normally drive according to the currently set driving route, the problem of misjudgment that the actual driving route of the vehicle is changed once the repeated station entry occurs is solved, the whole determination process can be automatically carried out, manual participation is not needed, and the operation is simple.

Description

Driving route determining method and device and computer equipment
Technical Field
The invention relates to the field of intelligent buses, in particular to a method and a device for determining a driving route and computer equipment.
Background
Currently, most buses are equipped with a GPS (global Positioning System), and during a driving process, the buses can obtain a current GPS position of a vehicle in real time based on the GPS Positioning System, and if a distance between the current GPS position of the vehicle and a GPS position of a certain stop is smaller than a specified threshold, it can be determined that the vehicle enters the stop.
The bus needs to turn around or turn around when running on the routes, if stops are also arranged near the turning positions of the routes, the bus may repeatedly enter the same stop, such as the bus in fig. 1 enters the stop a, then the bus is driven out and turned around from the stop a, and then the bus enters the stop a again.
For special stops arranged near turning positions, the related art generally adjusts the GPS positions of the special stops to positions far away from the center of a road, taking a stop a on a U-shaped route as an example, the original GPS position of the stop a is shown in fig. 1A, and the adjusted GPS position of the stop a is shown in fig. 1E, and it can be seen from the figure that the adjusted stop a is deviated to one side of the road, so that a bus enters the stop a, and then exits from the stop a and turns around, and since the turned-around vehicle can travel on the other side of the road, the distance between the vehicle travel position and the GPS position of the stop a can be larger than a specified threshold, the bus cannot determine that the bus repeatedly enters the stop a, and therefore the problem that the actual travel route is changed cannot be determined, and the problem of misdetermination is avoided.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the related art, the GPS position of the special station is adjusted to be deviated to one side of the road, so that the vehicle after turning is prevented from entering the special station again, but the GPS position of the special station needs to be adjusted manually, which is troublesome to operate.
Disclosure of Invention
In order to solve the problem of misjudging a driving route in the prior art, the embodiment of the invention provides a driving route determining method and device and computer equipment. The technical scheme is as follows:
in a first aspect, a method for determining a driving route is provided, the method comprising:
when the current station and the previous station of the vehicle are detected to be the same, determining a target driving position of the vehicle on the currently set driving route according to the currently set driving route, wherein the target driving position is determined based on the current station of the vehicle;
determining whether the vehicle is driving to the target driving position according to the real-time position of the vehicle in the driving process of the vehicle;
and if the vehicle runs to the target running position, determining that the actual running route of the vehicle is not changed, and keeping the currently set running route.
In a first implementation manner of the first aspect, the determining, according to the currently set driving route, a target driving position of the vehicle on the currently set driving route includes:
determining a next station of the current station of the vehicle according to the currently set driving route;
and if no turning point exists between the current station and the next station of the vehicle, determining the position of the next station as the target driving position.
In a second implementation manner of the first aspect, after determining a station next to the current station of the vehicle, the method further includes:
and if a turning point exists between the current station and the next station of the vehicle, determining the position of the turning point between the current station and the next station of the vehicle as the target driving position.
In a third implementation manner of the first aspect, the determining whether the vehicle is traveling to the target traveling position according to the real-time position of the vehicle includes:
and if the distance between the real-time position of the vehicle and the target driving position is gradually reduced along with the change of time, determining that the vehicle is driving towards the target driving position.
In a fourth implementation form of the first aspect, the method further includes:
and if the vehicle does not travel to the target travel position, determining that the actual travel route of the vehicle is changed, and changing the currently set travel route of the vehicle.
In a second aspect, there is provided a travel route determination device, the device including:
the determining module is used for determining a target driving position of the vehicle on a currently set driving route according to the currently set driving route when the current station and the last station of the vehicle are detected to be the same, and the target driving position is determined based on the current station of the vehicle;
the determining module is further configured to determine whether the vehicle is traveling to the target traveling position according to the real-time position of the vehicle during the traveling process of the vehicle;
the determination module is further configured to determine that an actual driving route of the vehicle has not changed if the vehicle is driving to the target driving position, and maintain the currently set driving route.
In a first implementation manner of the second aspect, the determining module is configured to determine a next station of the current station of the vehicle according to the currently set driving route; and if no turning point exists between the current station and the next station of the vehicle, determining the position of the next station as the target driving position.
In a second implementation manner of the second aspect, the determining module is further configured to determine, as the target driving position, a position of a turning point between the current station and the next station of the vehicle if the turning point exists between the current station and the next station of the vehicle.
In a third implementation manner of the second aspect, the determining module is configured to determine that the vehicle is traveling to the target traveling position if a distance between the real-time position of the vehicle and the target traveling position gradually decreases with time.
In a fourth implementation form of the second aspect, the apparatus further includes a changing module:
the determination module is further used for determining that the actual driving route of the vehicle is changed if the vehicle does not drive to the target driving position;
and the changing module is used for changing the driving route currently set by the vehicle.
In a third aspect, a computer device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus; a memory for storing a computer program; a processor configured to execute the computer program stored in the memory to implement the method steps of any of the implementations of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when the repeated station entry of the vehicle is detected, the vehicle is determined to be close to the next driving position of the current station, so that the vehicle is determined to normally drive according to the currently set driving route, the misjudgment problem that the actual driving route of the vehicle is changed once the repeated station entry occurs is avoided, the whole determination process can be automatically carried out, manual participation is not needed, and the operation is simple.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1A is a schematic diagram of a U-shaped route according to an embodiment of the present invention;
FIG. 1B is a schematic diagram of a V-shaped path according to an embodiment of the present invention;
FIG. 1C is a schematic diagram of an L-type route according to an embodiment of the present invention;
FIG. 1D is a schematic diagram of an N-type route provided by an embodiment of the present invention;
FIG. 1E is a schematic diagram of a U-shaped route according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for determining a driving route according to an embodiment of the present invention;
FIG. 3A is a flow chart of a method for determining a driving route according to an embodiment of the present invention;
FIG. 3B is a data structure diagram of a driving location according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method for determining a driving route according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method for determining a driving route according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a travel route determination device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a travel route determination device according to an embodiment of the present invention;
fig. 8 is a block diagram of a driving route determining apparatus 800 according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer device 900 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 2 is a flowchart of a method for determining a driving route according to an embodiment of the present invention. Referring to fig. 2, the method includes:
201. and when the current station of the vehicle is detected to be the same as the previous station, determining a target driving position of the vehicle on the currently set driving route according to the currently set driving route, wherein the target driving position is determined based on the current station of the vehicle.
202. And determining whether the vehicle drives to the target driving position according to the real-time position of the vehicle during the driving process of the vehicle.
203. And if the vehicle runs to the target running position, determining that the actual running route of the vehicle is not changed, and keeping the currently set running route.
According to the method provided by the embodiment of the invention, when the vehicle is detected to repeatedly enter the station, the vehicle is determined to normally run according to the currently set running route by determining that the vehicle approaches to the next running position of the current station, so that the misjudgment problem that the actual running route of the vehicle is changed once the repeated entering of the station occurs is avoided, the whole determination process can be automatically carried out, manual participation is not needed, and the operation is simple.
Optionally, the determining, according to the currently set driving route, a target driving position of the vehicle on the currently set driving route includes:
determining a next station of the current station of the vehicle according to the currently set driving route;
and if no turning point exists between the current station and the next station of the vehicle, determining the position of the next station as the target driving position.
Optionally, after determining a station next to the current station of the vehicle, the method further comprises:
if a turning point exists between the current station and the next station of the vehicle, determining the position of the turning point between the current station and the next station of the vehicle as the target driving position.
Optionally, the determining whether the vehicle is traveling to the target traveling position according to the real-time position of the vehicle includes:
and if the distance between the real-time position of the vehicle and the target driving position is gradually reduced along with the change of time, determining that the vehicle is driving towards the target driving position.
Optionally, the method further comprises:
and if the vehicle does not travel to the target travel position, determining that the actual travel route of the vehicle is changed, and changing the currently set travel route of the vehicle.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 3A is a flowchart of a method for determining a driving route according to an embodiment of the present invention. Referring to fig. 3A, the method includes:
301. and when the current station of the vehicle is detected to be the same as the previous station, determining a target driving position of the vehicle on the currently set driving route according to the currently set driving route, wherein the target driving position is determined based on the current station of the vehicle.
The vehicle can be a bus or other vehicles with fixed driving routes, such as a school bus and a subway. For convenience of description, the embodiment of the present invention is described by taking an example that the driving route determining method is applied to a bus, the bus is equipped with a GPS positioning system, the bus can obtain the current GPS position of the bus in real time based on the GPS positioning system, and the positions mentioned in the following description can be GPS positions.
The currently set driving route can be an uplink route or a downlink route set for the bus by a bus company, wherein the uplink route is a route from a starting station to a terminal station of the bus, and comprises relevant information of each station between the starting station and the terminal station, such as a GPS position, a station name, a station peripheral sight spot and the like; the downlink route is a route for a bus to travel from a terminal station to an origin station and comprises relevant information of all stations between the terminal station and the origin station. The uplink and the downlink may include different stations, for example, each station in the uplink may be a station a, a station B, a station C, a station D, a station E, and a station F, and each station in the downlink may be a station F, a station D, a station G, a station C, and a station a.
The currently set driving route may be a turning route, the turning route refers to a route in which a bus needs to turn around or turn to drive when the bus drives from a stop to a next stop in the driving route, such as a U-shaped route, a V-shaped route, an L-shaped route, an N-shaped route, and the like, referring to fig. 1A, the U-shaped route refers to a route in which the bus drives along a road to a position point (e.g., a position near the stop a) and then turns around and then drives along the road, the driving direction after turning around is opposite to the driving direction before turning around, referring to fig. 1B, the V-shaped route refers to a route in which the bus drives along a road to a position point and then turns around at an angle to another road, that is, the driving direction after turning around forms an angle with the driving direction before turning around, referring to fig. 1C, L-shaped route is one of the V-shaped route, the driving direction after turning around forms an angle with the driving direction before turning around a 90 degrees with referring to fig. 1D, the N-shaped route refers to an example that the bus turns around on the U-shaped route after turning around, and a route is a route that the current stop a, and a route is a route, and a route that is a route that is not a route that is a route, and a route that is an example, and a route that is a route.
The currently set driving route can be used for reminding passengers to get off in a bus stop reporting mode when the bus enters the bus stop. Specifically, in the driving process of the bus, the current position of the bus can be compared with the position of each stop in the driving route currently set by the bus, and if the distance between the current position of the bus and the position of one stop in the currently set driving route is smaller than a specified threshold value, the bus can be determined to enter the station, and the name of the current stop is broadcasted in the bus. Of course, the currently set driving route may also have other uses, such as for a bus company to monitor the actual position of the bus in real time or to set scheduling information for the bus, where the scheduling information is used to indicate when the bus is to be dispatched from a starting station or an ending station.
In the embodiment of the invention, when the distance between the current position of the bus and the position of the last stop is detected to be smaller than the specified threshold value, the current stop of the bus and the last stop of the bus can be determined to be the same, namely, the bus repeatedly enters the same stop, as shown in fig. 1A, the bus is firstly driven out from the stop A, and the bus is detected to enter the stop A again after turning around. When the bus detects the repeated arrival condition, the bus needs to judge whether the actual running route of the bus is changed, namely, whether the repeated arrival condition is that the bus normally turns to run or the bus returns from a midway station (the bus does not arrive at a terminal station and directly returns from the midway station of the currently set running route), and whether the currently set running route of the bus is changed or not is determined according to the judgment result. The specific determination process may include this step 301 and subsequent steps 302 to 304.
In one possible implementation manner, the determining the target driving position of the vehicle on the currently set driving route according to the currently set driving route in step 301 may include steps a to c:
a. and determining the next station of the current station of the vehicle according to the currently set driving route.
In the step a, the bus may determine a next stop of the current stop according to the currently set driving route and the current stop, and specifically, the bus may determine a first stop sequentially following the current stop as the next stop of the current stop according to a sequence of each stop in the currently set driving route. For example, the order of the various sites is: the starting station- > site A- > site B- > site C- > … … - > terminal station, and if site A is the current site, site B is the next site of site A.
b. And if no turning point exists between the current station and the next station of the vehicle, determining the position of the next station as the target driving position.
The step B is directed to the currently set driving route being the U-shaped route shown in fig. 1A, the V-shaped route shown in fig. 1B, the L-shaped route shown in fig. 1C, and other routes where no turning point exists between the current stop and the next stop, the embodiment of the present invention may determine whether the actual driving route of the vehicle has changed by determining whether the vehicle is driving to the next stop of the current stop, referring to fig. 4, the bus detects that the vehicle repeatedly enters a stop, such as a station a (the previous stop), then exits from the station a, turns around and then enters again to the station a (the current stop), since there is no turning point between the station a and the station B (the next stop of the current stop) in the driving direction after the vehicle exits from the station a again, and the station B is in front of the driving direction after the vehicle exits from the station a again, the bus may directly determine the position of the station B as the target driving position of the vehicle, and determine whether the position of the vehicle and the station B are approaching through the subsequent step 302, thereby determining whether the vehicle is driving to the station B.
c. If a turning point exists between the current station and the next station of the vehicle, determining the position of the turning point between the current station and the next station of the vehicle as the target driving position.
The step c is to aim at the currently set driving route to be an N-type route and other routes with turning points between the current stop point and the next stop point. As shown in fig. 4, since turning points (e.g., turning point 1 and turning point 2) exist between a current stop (e.g., stop a) and a next stop (e.g., stop B) in a traveling direction after the vehicle is driven out from the stop a again, the traveling position of the vehicle becomes farther from the next stop during traveling to the next stop after the bus is driven out from the current stop, and therefore the bus cannot determine whether the vehicle is traveling to the next stop of the current stop by merely determining whether the traveling position of the vehicle is approaching the position of the next stop. Considering that the position of the turning point is ahead of the driving direction of the vehicle after exiting from the current stop, the bus may determine the position of the turning point as the target driving position of the vehicle, and determine whether the driving position of the vehicle and the position of the turning point are approaching through the subsequent step 302, thereby determining whether the vehicle is driving toward the turning point, and further determining whether the vehicle is driving toward the next stop of the current stop.
The position of the turning point can be input into the driving route in advance by a technician, and the input mode can be manual input or automatic input. The manual entry means that the positions of the turning points are set between two stops when a bus company plans a bus driving route, so that the currently set driving route comprises the positions of the stops and the positions of the turning points. The automatic recording is that the bus determines the turning of the bus through the gravity sensing equipment on the bus under the mode of automatically recording the stop, and automatically sets the position of the turning point between two stops of the current driving route. The gravity sensor can measure acceleration caused by gravity, and can calculate the inclination angle of the bus relative to the horizontal plane, the bus can determine whether the bus turns according to the inclination angle output by the gravity sensor, if the inclination angle is larger than a specified angle, the bus can determine that the bus turns, and otherwise, the bus can determine that the bus does not turn. If there are multiple turning points between station A and station B, the current travel route between station A and station B may be set to: the station A- > turning point 1- > turning point 2- > … … - > turning point N- > station B, namely, the vehicle passes through the station A, the turning point 1, the turning points 2 and … …, the turning point N and the station B in sequence in the process of driving from the station A to the station B. By recording the positions of the turning points in advance, the bus can remind a user of turning the bus and asking the user to stand stably in a broadcasting mode when the bus reaches one turning point during driving, so that the riding safety of passengers is guaranteed.
It should be noted that, since there may be a plurality of turning points between the current station and the next station, the bus may determine the target driving position a plurality of times, that is, perform step 301 a plurality of times. After step 301 is executed, the following step 302 is executed, if the vehicle is traveling to the target traveling position as a result of the determination in step 302, step 303 is executed and the vehicle continues to travel until the target traveling position is reached, and if the target traveling position reached by the vehicle is not the next station of the current station, the next target traveling position is determined when the vehicle exits the target traveling position. Referring to fig. 5, the bus detects that the vehicle repeatedly enters the station a, such as the vehicle enters the station a, then exits from the station a, and enters the station a again after turning around, at this time, the bus may determine the target driving position of the vehicle according to the position of the turning point in the currently set driving route and the current position of the vehicle, such as determining the first turning point between the current station and the next station as the target driving position, and performing the subsequent step 302, if the determination result of the step 302 is that the vehicle is not driving to the first turning point, directly performing the step 304, and if the determination result of the step 302 is that the vehicle is driving to the first turning point, performing the step 303, and when the vehicle exits the first turning point, determining the position of the second turning point as the next target driving position, and so on until the last turning point is determined as the target driving position, then, after the vehicle exits the last turning point, the bus can continue to determine the next stop as the target driving position until the vehicle reaches stop B.
302. And determining whether the vehicle is running towards the target running position according to the real-time position of the vehicle during the running process of the vehicle.
In the embodiment of the invention, when the bus is driven out of the current stop, the bus can continue to drive forwards, and in the process of continuously driving, the bus can determine whether the bus drives to the target driving position currently. In one possible implementation, the determination process may be: and if the distance between the real-time position of the vehicle and the target position is gradually reduced along with the change of time, determining that the vehicle is driving towards the target driving position. Specifically, the bus may obtain the distance between the vehicle position and the target driving position in real time according to the vehicle position obtained in real time, and if the distance between the vehicle position obtained by the bus and the target driving position is smaller and smaller along with the change of time, the bus may determine that the bus is driving to the target driving position.
303. And if the vehicle runs to the target running position, determining that the actual running route of the vehicle is not changed, and keeping the currently set running route.
In the embodiment of the present invention, for the U-shaped route, the V-shaped route or the L-shaped route in step B of step 301, the target driving position is the position of the station next to the current station as shown in fig. 4, if the vehicle drives to the next station (station B) after driving from the current station (station a), the bus can determine that the vehicle normally drives according to the currently set driving route, and the actual driving route of the vehicle is not changed.
For the N-type route in step c of step 301, the target driving position is the position of a turning point between the current station and the next station. As shown in fig. 5, for the turning point 1, if the bus is traveling toward the turning point 1 after exiting from the current station (station a), the bus may determine that its actual traveling route has not changed; for the turning point 2, if the bus is driving to the turning point 2 after the bus is driven out from the turning point 1, the bus may determine that its actual driving route is not changed. Of course, the last target driving position determined under the route may be the next station (station B) to the current station. As shown in fig. 5, after the bus is driving out of the last turning point (turning point 2) and the station B is determined as the target driving position, if it is determined that the bus is driving toward the station B, the bus may determine that its actual driving route is not changed.
When the bus is detected to repeatedly enter the station, the bus can determine that the bus normally runs according to the currently set running route by determining that the bus runs to the next station of the current station or the turning point between the current station and the next station, and the actual running route is not changed, so that the situation that the bus mistakenly judges that the actual running route is changed when the bus repeatedly enters the station is avoided.
In order to achieve the above determination of the target travel position, the travel route determination means may store the GPS positions of the respective travel positions on the travel route, for example, for a stop or a turning point, in the form as shown in fig. 3B, and store the GPS positions of the respective GPS travel positions on one travel route as one piece of data.
304. And if the vehicle does not travel to the target travel position, determining that the actual travel route of the vehicle is changed, and changing the currently set travel route of the vehicle.
For the U-shaped route, the V-shaped route, or the L-shaped route in step B of step 301, if the bus is not traveling to the next stop next to the current stop after exiting from the current stop, as shown in fig. 4, if the bus is not traveling to stop B, the bus may determine that it is not traveling normally according to the currently set traveling route, but returns from a midway stop of the currently set route, and the actual traveling route of the bus is changed.
For the N-type route in step c of step 301, as shown in fig. 5, for a turning point, if the bus has not traveled to the turning point 1 after exiting from the current stop a, or the bus has not traveled to the next turning point 2 after exiting from the turning point 1, the bus may determine that its actual travel route has changed.
It should be noted that step 304 is only an optional step in the embodiment of the present invention, and actually, the problem of erroneous determination when the bus repeatedly enters the station can be solved through steps 301 to 303. The optional step 304 can avoid the loss of the function of correctly judging that the actual driving route of the bus is changed, so that when the bus actually returns from the midway station of the currently set driving route, the bus can normally realize the judging function.
In the embodiment of the invention, when the actual driving route of the bus is determined to be changed, because the actual driving route of the bus is different from the currently set driving route, the actual driving route is a downlink route, but the currently set driving route is an uplink route, and the stop of the uplink route is possibly different from the stop of the downlink route, when the real-time position of the bus in the actual driving process is compared with the stop position in the currently set driving route, the stop with the distance from the real-time position being less than the specified threshold value can not be found, that is, the stop can not be normally reported according to the currently set driving route, so that the current setting needs to be changed. In one possible implementation, the altering process may include: if the currently set running route is the uplink route of the bus, switching the currently set running route from the uplink route to the downlink route; and if the currently set running route is the downlink route of the bus, switching the currently set running route from the downlink route to the uplink route.
In another embodiment of the invention, after the bus changes the current set driving route, the changed driving route can be reported to the server, and after the server receives the changed driving route of the bus, the server can set the scheduling information for the bus again and send the latest scheduling information to the bus, so that the scheduling of the bus is more in line with the actual situation. Under normal conditions, namely if the actual running route of the bus does not change, the bus automatically switches the uplink route and the downlink route of the bus only after reaching the terminal station, and acquires the scheduling information sent by the server.
It should be noted that, in the embodiment of the present invention, a repeated arrival situation is taken as an example for description, and in fact, if such a repeated arrival situation occurs many times during the driving process of the bus, the bus may execute the driving route determining method for the repeated arrival situation each time, so as to determine whether the actual driving route of the bus is changed.
According to the method provided by the embodiment of the invention, when the vehicle is detected to repeatedly enter the station, the vehicle is determined to normally run according to the currently set running route by determining that the vehicle approaches to the next running position of the current station, so that the misjudgment problem that the actual running route of the vehicle is changed once the repeated entering of the station occurs is avoided, the whole determination process can be automatically carried out, manual participation is not needed, and the operation is simple.
In addition, the next driving position of the current station can be the position of the next station of the current station or the position of a turning point between the current station and the next station, and the position of the next station or the turning point is determined as the target driving position of the vehicle, so that whether the actual driving route of the vehicle changes or not can be determined by judging whether the vehicle is close to or far away from the next station or the turning point, and the determination method of the driving route is set for various different routes, so that the judgment error caused by different actual road conditions on the routes is avoided.
Fig. 6 is a schematic structural diagram of a travel route determination device according to an embodiment of the present invention. Referring to fig. 6, the apparatus includes:
a determining module 601, configured to determine, according to a currently set driving route, a target driving position of a vehicle on the currently set driving route when it is detected that a current station of the vehicle is the same as a previous station of the vehicle, where the target driving position is determined based on the current station of the vehicle;
the determining module 601 is further configured to determine whether the vehicle is traveling to the target traveling position according to the real-time position of the vehicle during the traveling of the vehicle;
the determining module 601 is further configured to determine that the actual driving route of the vehicle has not changed if the vehicle is driving to the target driving location, and maintain the currently set driving route.
Optionally, the determining module 601 is configured to determine a next station of the current station of the vehicle according to the currently set driving route; and if no turning point exists between the current station and the next station of the vehicle, determining the position of the next station as the target driving position.
Optionally, the determining module 601 is further configured to determine a position of a turning point between the current station and the next station of the vehicle as the target driving position if the turning point exists between the current station and the next station of the vehicle.
Optionally, the determining module 601 is configured to determine that the vehicle is traveling towards the target traveling position if the distance between the real-time position of the vehicle and the target traveling position gradually decreases with time.
Optionally, referring to fig. 7, the apparatus further comprises a modification module 602:
the determining module 601 is further configured to determine that the actual driving route of the vehicle is changed if the vehicle is not driving to the target driving position;
the changing module 602 is configured to change a currently set driving route of the vehicle.
In the embodiment of the invention, when the vehicle is detected to repeatedly enter the station, the vehicle is determined to normally run according to the currently set running route by determining that the vehicle approaches to the next running position of the current station, so that the misjudgment problem that the actual running route of the vehicle is changed once the repeated entering condition occurs is avoided, the whole determination process can be automatically carried out without manual participation, and the operation is simple.
In addition, the next driving position of the current station can be the position of the next station of the current station or the position of a turning point between the current station and the next station, the position of the next station or the turning point is determined as the target driving position of the vehicle, and whether the actual driving route of the vehicle is changed or not is determined by judging whether the vehicle is close to or far away from the next station or the turning point, and the determination method of the driving route is set for various different routes, so that the judgment error caused by different actual road conditions on the routes is avoided.
It should be noted that: the travel route determining apparatus provided in the above embodiment is only illustrated by dividing the above functional modules when determining the travel route, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the embodiment of the driving route determining device and the embodiment of the driving route determining method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the embodiment of the method and are not described again.
Embodiments of the present invention provide a driving route determining apparatus 800, and the driving route determining apparatus 800 may be a bus or other vehicles with fixed driving routes, and is used for executing the driving route determining method provided in the above embodiments. Referring to fig. 8, the travel route determination device 800 includes:
the driving route determining apparatus 800 may include components of an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (Wireless Fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 110. Those skilled in the art will appreciate that the configuration of the travel route determination device shown in fig. 8 does not constitute a limitation of the travel route determination device, and may include more or less components than those shown, or some components in combination, or a different arrangement of components. Wherein:
RF circuit 110 may be used to receive and transmit information or during a call, and in particular, receive downlink information from a base station and then process it with one or more processors 180. in addition, transmit data related to uplink to the base station. typically, RF circuit 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, L NA (L ow Amplifier, low Noise Amplifier), a duplexer, etc. furthermore, RF circuit 110 may also communicate with a network and other devices via wireless communication using any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), SMS (short Service, short message Service), L, long Term Evolution (short message Service, L).
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 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 by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phone book, etc.) created according to the use of the travel route determination device 800, and the like. Further, the memory 120 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 volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the travel route determination apparatus 800, which may be comprised of graphics, text, icons, video, and any combination thereof, the display unit 140 may include a display panel 141, optionally the display panel 141 may be configured in the form of L CD (L required crystalline display, liquid crystal display), O L ED (Organic L light-Emitting Diode), and the like, further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch-sensitive surface 131 is transmitted to the processor 180 to determine the type of touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of touch event, although in FIG. 8, the touch-sensitive surface 131 and the display panel 141 are implemented as two separate components for input and input functions, in some embodiments, the touch-sensitive surface 131 and the display panel 141 may be integrated to implement the input and output functions.
The travel route determination device 800 may further include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the travel route determination device 800 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for the other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are also configured to the driving route determining apparatus 800, detailed descriptions thereof are omitted.
The audio circuit 160, speaker 161, microphone 162 may provide an audio interface between the user and the travel route determination device 800. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then transmits the audio data to, for example, another travel route determination device via the RF circuit 110, or outputs the audio data to the memory 120 for further processing. The audio circuit 160 may also include an ear-bud jack to provide communication of peripheral headphones with the route determination device 800.
WiFi belongs to a short-distance wireless transmission technology, and the driving route determining apparatus 800 can help a user send and receive e-mails, browse webpages, access streaming media, and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the travel route determination device 800, and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 180 is a control center of the travel route determination device 800, connects various parts of the entire mobile phone using various interfaces and routes, and performs various functions of the travel route determination device 800 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The travel route determination device 800 further includes a power source 110 (such as a battery) for supplying power to various components, and preferably, the power source may be logically connected to the processor 180 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system. The power supply 110 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the driving route determining apparatus 800 may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in the embodiment, the display unit of the driving route determining device is a touch screen display, and the driving route determining device further includes a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the travel route determination device-side operations described above in the fig. 2 or fig. 3A embodiments.
Fig. 9 is a schematic structural diagram of a computer device 900 according to an embodiment of the present invention. Referring to fig. 9, the computer device 900 includes a processor, a communication interface, a memory, and a communication bus, and may further include an input/output interface and a display device, wherein the processor, the memory, the input/output interface, the display device, and the communication interface complete communication with each other through the communication bus. The memory stores a computer program, and the processor executes the computer program stored in the memory to implement the travel route determination method in the embodiment of fig. 2 and 3A.
The Communication Bus is a circuit connecting the described elements and enables transmission between these elements, for example, the processor receives commands from other elements through the Communication Bus, decrypts the received commands, performs computing or data processing according to the decrypted commands, the memory may include a program module, such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and an Application, the program module may be composed of software, firmware, or hardware, or at least two thereof, the input/output Interface forwards commands or data input by a user through an input/output device (e.g., a sensor, a keyboard, a touch screen), the display device displays various information to the user, the Communication Interface connects the computer device 900 with other network devices, user devices, a network, for example, the Communication Interface may be connected to the network by wire or Wireless to connect to external other network devices or user devices, the Wireless Communication may include at least one of Wireless Fidelity (Fidelity, WiFi), Bluetooth (BT, Bluetooth) may be connected to a network by wire or Wireless Communication System, a Wireless Communication Interface may be connected to a Wireless network (internet Access network) through a Wireless Communication Interface (internet Access network), the internet Communication Interface may be a Wireless Communication System for Wireless Communication System, a Wireless Communication System may be a broadband Communication System Communication Interface (internet Communication System) including a Wireless Communication System Communication Interface (internet Communication System for Wireless Communication, a Telecommunication System for Communication System, a Telecommunication System for Communication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication System for Telecommunication, a Telecommunication.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, in which a computer program is stored, the computer program implementing the travel route determination method in the above-described embodiment 2 or 3 when executed by a processor. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method of travel route determination, the method comprising:
when the fact that a current station and a previous station of a vehicle are the same is detected, a next station of the current station of the vehicle is determined according to a currently set driving route, and if no turning point exists between the current station of the vehicle and the next station, the position of the next station is determined as a target driving position of the vehicle on the currently set driving route;
determining whether the vehicle is driving to the target driving position according to the real-time position of the vehicle in the driving process of the vehicle;
and if the vehicle runs to the target running position, determining that the actual running route of the vehicle is not changed, and keeping the currently set running route.
2. The method of claim 1, wherein after determining a station next to a current station of the vehicle, the method further comprises:
and if a turning point exists between the current station and the next station of the vehicle, determining the position of the turning point between the current station and the next station of the vehicle as the target driving position.
3. The method of claim 1, wherein the determining whether the vehicle is traveling toward the target travel location based on the real-time location of the vehicle comprises:
and if the distance between the real-time position of the vehicle and the target driving position is gradually reduced along with the change of time, determining that the vehicle is driving towards the target driving position.
4. The method of claim 1, further comprising:
and if the vehicle does not travel to the target travel position, determining that the actual travel route of the vehicle is changed, and changing the currently set travel route of the vehicle.
5. A travel route determination apparatus, characterized by comprising:
the determining module is used for determining a next station of the current station of the vehicle according to the currently set driving route when the current station of the vehicle is detected to be the same as the previous station of the vehicle, and determining the position of the next station as a target driving position of the vehicle on the currently set driving route if no turning point exists between the current station of the vehicle and the next station;
the determining module is further configured to determine whether the vehicle is traveling to the target traveling position according to the real-time position of the vehicle during the traveling process of the vehicle;
the determination module is further configured to determine that an actual driving route of the vehicle has not changed if the vehicle is driving to the target driving position, and maintain the currently set driving route.
6. The apparatus of claim 5, wherein the determining module is further configured to determine a location of a turning point between the current station and the next station of the vehicle as the target driving location if the turning point exists between the current station and the next station of the vehicle.
7. The apparatus of claim 5, wherein the determining module is configured to determine that the vehicle is traveling toward the target travel location if a distance between the real-time location of the vehicle and the target travel location gradually decreases over time.
8. The apparatus of claim 5, further comprising a modification module to:
the determination module is further used for determining that the actual driving route of the vehicle is changed if the vehicle does not drive to the target driving position;
and the changing module is used for changing the driving route currently set by the vehicle.
9. The computer equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus; a memory for storing a computer program; a processor for executing a computer program stored on a memory for carrying out the method steps of any one of claims 1 to 4.
CN201710453530.5A 2017-06-15 2017-06-15 Driving route determining method and device and computer equipment Active CN109147371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710453530.5A CN109147371B (en) 2017-06-15 2017-06-15 Driving route determining method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710453530.5A CN109147371B (en) 2017-06-15 2017-06-15 Driving route determining method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN109147371A CN109147371A (en) 2019-01-04
CN109147371B true CN109147371B (en) 2020-07-28

Family

ID=64830166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710453530.5A Active CN109147371B (en) 2017-06-15 2017-06-15 Driving route determining method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN109147371B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638711A (en) * 2020-05-22 2020-09-08 北京百度网讯科技有限公司 Driving track planning method, device, equipment and medium for automatic driving
CN111739291B (en) * 2020-06-05 2023-01-13 腾讯科技(深圳)有限公司 Interference identification method and device in road condition calculation
CN114764969B (en) * 2021-01-15 2023-10-31 中国联合网络通信集团有限公司 Subway direction sitting-back reminding method, subway direction sitting-back reminding system, computer equipment and storage medium
CN113763743B (en) * 2021-08-11 2022-08-23 杭州金通科技集团股份有限公司 Bus automatic station reporting method and system based on GPS track acquisition
CN114999208A (en) * 2022-05-25 2022-09-02 新驱动重庆智能汽车有限公司 Method, device, equipment and storage medium for accurately reporting station

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3990641B2 (en) * 2002-03-27 2007-10-17 松下電器産業株式会社 Road information providing system and apparatus and road information generation method
CN101043747B (en) * 2007-04-25 2011-05-25 苏州工业园区联科信息技术有限公司 Method for realizing inter-mobile terminal position data interaction based on geographical information system
CN103400507A (en) * 2013-07-08 2013-11-20 青岛海信网络科技股份有限公司 Bus operation method and bus operation system supporting line section dynamic regulation
CN103839437B (en) * 2014-03-05 2016-01-27 湖南师范大学 A kind of public transport Full-automatic station-reporting method
JP2016095296A (en) * 2014-11-05 2016-05-26 東洋電機製造株式会社 Position detection device
CN104809907B (en) * 2015-04-28 2017-05-17 贵州中科汉天下信息技术有限公司 Automatic bus route diversion acquisition method
CN107666656B (en) * 2016-07-29 2020-12-29 阿里巴巴(中国)有限公司 Method and device for determining change of driving route of public transport means

Also Published As

Publication number Publication date
CN109147371A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109147371B (en) Driving route determining method and device and computer equipment
CN105740291B (en) Map interface display method and device
KR101529930B1 (en) Mobile terminal system and control method thereof
CN109831689B (en) Data buffering method and mobile terminal
CN108924885B (en) Information acquisition method and device
CN109556612B (en) Navigation information processing method, device, server, terminal and storage medium
CN107826109B (en) Lane keeping method and apparatus
CN109489674B (en) Method, device and storage medium for determining road section based on position
US10636228B2 (en) Method, device, and system for processing vehicle diagnosis and information
CN109040968B (en) Road condition reminding method, mobile terminal and computer readable storage medium
CN104035951B (en) Show the method for map, device and terminal
CN108072368B (en) Navigation method and device
CN108668328B (en) Network switching method and mobile terminal
CN111885500B (en) Road condition reminding method and device based on narrowband Internet of things and storage medium
US20200089381A1 (en) Alarm clock reminder method and terminal device
CN105526944B (en) Information cuing method and device
WO2018040844A1 (en) Method, device, and apparatus for voice control based on vehicle multimedia apparatus
US11131557B2 (en) Full-vision navigation and positioning method, intelligent terminal and storage device
CN110072013B (en) Terminal control method and device
CN107270927B (en) Information display method and device, computer readable storage medium and mobile terminal
CN107885738B (en) Data updating method, device and system
WO2019061276A1 (en) Signal quality alert method, terminal and server
CN105608095B (en) Multimedia playing method and device and mobile terminal
US20160330587A1 (en) Information obtaining method, server, terminal, and system
CN109299359B (en) Road condition query method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant