CN108763374B - Driving path display method, device and equipment - Google Patents
Driving path display method, device and equipment Download PDFInfo
- Publication number
- CN108763374B CN108763374B CN201810476449.3A CN201810476449A CN108763374B CN 108763374 B CN108763374 B CN 108763374B CN 201810476449 A CN201810476449 A CN 201810476449A CN 108763374 B CN108763374 B CN 108763374B
- Authority
- CN
- China
- Prior art keywords
- path
- point set
- target vehicle
- waypoints
- points
- 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
Links
Images
Landscapes
- Navigation (AREA)
Abstract
The application provides a method, a device and equipment for displaying a driving path, wherein the method comprises the following steps: receiving a set of path points of a current travel path of a target vehicle, the current travel path being a portion of a path from a starting point of the target vehicle to a current location of the target vehicle; if the path point set meets a preset interpolation condition, interpolating the path point set to obtain an interpolated path point set; and generating the current running path of the target vehicle based on the interpolated path point set, and displaying the current running path. The method and the device can reduce the calculation amount of the server, achieve the purpose of reducing the calculation burden of the server, and reduce the received data volume, thereby saving the data flow of the terminal equipment.
Description
Technical Field
The application relates to the technical field of computer application, in particular to a method, a device and equipment for displaying a driving path.
Background
With the development of internet technology, the path display of network car appointment or self-driving and the like are more and more popular, and passengers can check the driving path of the network car appointment or self-driving through clients (namely passenger end APP) installed on devices such as smart phones and the like so as to know the real-time position of a vehicle. In the prior art, a server generally obtains a path point set reported by a client (i.e., a driver APP) installed on a terminal device held by a driver, and processes the obtained path point set by the server to obtain a path point set for a passenger to display a path. However, since the number of clients communicating with the server is large, the server processes the acquired path point set, which results in a large amount of computation and heavy burden.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus and a device for displaying a driving route.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the present application, a driving path display method is provided, including:
receiving a set of path points of a current travel path of a target vehicle, the current travel path being a portion of a path from a starting point of the target vehicle to a current location of the target vehicle;
if the path point set meets a preset interpolation condition, interpolating the path point set to obtain an interpolated path point set;
and generating the current running path of the target vehicle based on the interpolated path point set, and displaying the current running path.
In an embodiment, the method further comprises:
determining the average deletion time of sub-paths between every two adjacent path points in the path point set;
and if the average deletion time is greater than or equal to a preset time threshold, determining that the path point set meets a preset interpolation condition.
In one embodiment, the interpolating the set of path points includes:
calculating the distance between two adjacent path points in the path point set;
and if the distance is greater than a preset distance threshold value, interpolating the two path points.
In an embodiment, the method further comprises:
the distance threshold is determined based on a size of a moving object image used to characterize a location of the target vehicle on a travel path.
In an embodiment, the interpolating the two waypoints includes:
calculating a ratio of a distance between the two waypoints to the distance threshold;
determining a minimum number of path points to be inserted between the two path points according to the ratio;
inserting at least the minimum number of waypoints between the two waypoints.
In an embodiment, said determining a minimum number of waypoints to insert between said two waypoints according to said ratio comprises:
if the ratio is an integer, determining a value obtained by subtracting 1 from the ratio as the minimum number of path points inserted between the two path points;
and if the ratio is not an integer, carrying out downward rounding processing on the ratio, and determining a numerical value obtained by subtracting 1 from the rounded ratio as the minimum number of the path points inserted between the two path points.
In an embodiment, the method further comprises:
deleting the driving path which the target vehicle has driven, or increasing the transparency of the driving path which the target vehicle has driven.
According to a second aspect of the present application, a travel path display device is provided, which is applied to a passenger side, and comprises:
the system comprises a path point set receiving module, a route point set receiving module and a route point set sending module, wherein the path point set receiving module is used for receiving a path point set of a current running path of a target vehicle, which is sent by a server side, and the current running path is a part of a path from a starting point of the target vehicle to a current position of the target vehicle;
the interpolation point set acquisition module is used for interpolating the path point set when the path point set meets a preset interpolation condition to obtain an interpolated path point set;
and the running path display module is used for generating the current running path of the target vehicle based on the interpolated path point set and displaying the current running path on an electronic map.
According to a third aspect of the present application, a driving path showing system is provided, which includes a server and at least one client, wherein:
the server is used for sending the acquired path point set of the current running path of the target vehicle to the client;
the client is used for executing any one of the driving path display methods.
According to a fourth aspect of the present application, there is provided a travel path showing apparatus, characterized by comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to execute any one of the above-mentioned travel path showing methods.
According to a fifth aspect of the present application, a computer-readable storage medium is provided, which stores a computer program for executing any one of the above-described travel path presenting methods.
According to the technical scheme, the path point set of the current running path of the target vehicle is received, when the path point set meets the preset interpolation condition, the path point set is interpolated to obtain the interpolated path point set, then the current running path of the target vehicle is generated based on the interpolated path point set, and the current running path is displayed. And, because the path point set received by the passenger end from the server end is not processed by interpolation, the received data volume can be reduced, thereby saving the data traffic of the terminal equipment.
Drawings
FIG. 1 is a flow chart illustrating a method for displaying a travel path according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method of displaying a travel path according to yet another exemplary embodiment of the present application;
FIG. 3A is a flow chart illustrating how a set of path points is interpolated according to an exemplary embodiment of the present application;
FIG. 3B is a schematic diagram of a scenario illustrating a determination of a distance threshold between two adjacent waypoints according to an exemplary embodiment of the present application;
FIG. 3C is a schematic diagram of a scenario illustrating a determination of a distance threshold between two adjacent waypoints in accordance with yet another exemplary embodiment of the present application;
FIG. 4A is a flow chart illustrating how two waypoints are interpolated according to an exemplary embodiment of the present application;
FIG. 4B is a diagram illustrating an effect of interpolating two waypoints according to an exemplary embodiment of the present application;
FIG. 5 is a block diagram illustrating a travel path display apparatus according to an exemplary embodiment of the present application;
FIG. 6 is a block diagram illustrating a travel path display apparatus according to yet another exemplary embodiment of the present application;
fig. 7 is a block diagram illustrating a structure of a travel path showing apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
FIG. 1 is a flow chart illustrating a method for displaying a travel path according to an exemplary embodiment of the present application; the embodiment can be used for a client (such as a passenger side APP) or a browser and the like installed on terminal equipment such as a smart phone, a tablet computer and a desktop notebook. As shown in fig. 1, the method comprises steps S101-S103:
s101: a set of path points of a current travel path of a target vehicle is received.
In an embodiment, the target vehicle may be a car appointment reserved by the passenger through the client, or may be a self-driving vehicle of the passenger, and the embodiment is not limited thereto.
In one embodiment, when a passenger waits for a reserved target vehicle or sits in the target vehicle, the passenger can check the traveling path of the target vehicle through a passenger end APP installed on a device such as a smart phone to know the real-time position of the target vehicle.
In an embodiment, the set of waypoints includes a plurality of waypoints, each waypoint corresponding to a target vehicle location.
In an embodiment, a client (i.e., a driver APP) installed on a terminal device held by a driver may report a set of path points of a current driving path of a target vehicle to a server. After the server side obtains the path point set, the server side can perform corresponding processing (such as removing abnormal path points) on the obtained path point set, and send the processed data point set to the passenger side.
It should be noted that, as for the method for the server to perform corresponding processing on the acquired path point set, reference may be made to a method in the prior art, which is not limited in this embodiment. In an embodiment, the server may be a server or a server cluster formed by a plurality of servers.
In an embodiment, the passenger side APP may obtain a set of path points of the current driving path from the service side in an active or passive manner, where:
in an active mode, the passenger side APP may send a path point set acquisition request (e.g., a polling request of a path point set) to the server side, and may further receive the path point set of the current travel path of the target vehicle sent by the server side in response to the request.
And in a passive mode, namely, the passenger side APP can passively receive the path point set of the current running path of the target vehicle sent by the server side.
The current travel route is a part of a route from the starting point of the target vehicle to the current position of the target vehicle, for example, a route from the latest position of the target vehicle previously transmitted by the server to the latest position of the target vehicle transmitted this time.
In one embodiment, the starting point of the target vehicle may be an order taking place of the target vehicle, such as a place for receiving a passenger order for a service order.
S102: and if the path point set meets a preset interpolation condition, interpolating the path point set to obtain an interpolated path point set.
It should be noted that the above path point set obtained by the passenger side from the server side may be reported to the server side through the internet for the driver side APP. However, in practical implementation, the GPS at the driver end sometimes has a problem of being unable to perform positioning, which results in that the current path point cannot be reported, and further, the distance between some points in the set of path points received by the server end is large, which may affect the effect of displaying the subsequent path, and therefore, interpolation needs to be performed on these points with large distance, that is, estimated path points are inserted between two points with large distance.
In one embodiment, an interpolation condition of the route point set may be preset on the passenger side, and after the route point set of the current travel route of the target vehicle is acquired, it is determined whether the acquired route point set satisfies the interpolation condition. If yes, interpolating the path point set to obtain an interpolated path point set; if not, the path point set is not interpolated.
In an embodiment, the preset interpolation condition may be determined according to a preset evaluation parameter of the path point set. For example, after a path point set of the current driving path is obtained, a preset evaluation parameter of the path point set may be calculated, and if a calculation result meets an interpolation requirement, it may be determined that the path point set meets a preset interpolation condition; otherwise, it may be determined that the path point set does not satisfy the preset interpolation condition.
In an embodiment, the manner of determining that the set of path points satisfies the predetermined interpolation condition may also refer to the embodiment shown in fig. 2, which will not be described in detail herein.
In an implementation, when it is determined that the acquired path point set meets the preset interpolation condition, the path point set may be interpolated by using a preset interpolation method to obtain an interpolated path point set.
In an embodiment, the preset interpolation method may be selected by a developer from an existing interpolation algorithm according to actual needs, and this embodiment does not limit this.
In another embodiment, the method for interpolating the path point set can also be referred to the following embodiment shown in fig. 3A, and will not be described in detail here.
S103: and generating the current running path of the target vehicle based on the interpolated path point set, and displaying the current running path.
In an embodiment, after obtaining the interpolated route point set, a current driving route of the target vehicle may be generated based on the interpolated route point set, and the driving route may be displayed on the client of the terminal device. For example, the driving path is displayed on a corresponding road segment of an electronic map in the client.
It should be noted that, the above-mentioned generating a driving route based on the interpolated route point set and displaying the generated driving route on the electronic map may refer to methods in the prior art, and a developer may select from the prior art according to actual business needs.
As can be seen from the above description, in this embodiment, a path point set of a current traveling path of a target vehicle is received, and when the path point set meets a preset interpolation condition, the path point set is interpolated to obtain an interpolated path point set, and then the current traveling path of the target vehicle is generated based on the interpolated path point set, and the current traveling path is displayed. And, because the path point set received by the passenger end from the server end is not processed by interpolation, the received data volume can be reduced, thereby saving the data traffic of the terminal equipment.
FIG. 2 is a flow chart illustrating a method of displaying a travel path according to yet another exemplary embodiment of the present application; the embodiment can be used for a client (namely a passenger side APP) or a browser and the like installed on terminal equipment such as a smart phone, a tablet computer and a desktop notebook. As shown in fig. 2, the method includes steps S201-S204:
s201: receiving a path point set of a current traveling path of a target vehicle sent by a server, wherein the current traveling path is a part of a path from a starting point of the target vehicle to a current position of the target vehicle.
S202: and determining the average deletion time of the sub-paths between every two adjacent path points in the path point set.
In an embodiment, the average deletion time of the sub-paths between two adjacent path points in the set of path points may be calculated according to the following formula (1):
t=T/(c-1)(1)
wherein, T is the total deletion time of the current driving route, c is the number of route points in the route point set, (c-1) is the number of sub-routes between every two adjacent route points in the route point set, and T is the average deletion time of sub-routes between every two adjacent route points in the route point set.
It should be noted that, in the process of displaying the driving path of the target vehicle on the terminal device, not only the current driving path of the target vehicle may be displayed, but also the driving path that the target vehicle has driven may be displayed differently, that is, the driving path and the driving path may be displayed in different manners.
For example, the travel route that the target vehicle has traveled may be deleted from the map, or the travel route that the target vehicle has traveled may be transparently processed (i.e., the transparency of the travel route that the target vehicle has traveled is increased). In order to present the effect of the two-part synchronization of "target vehicle movement" and "traveled path deletion" on the map, it is therefore necessary to calculate the average deletion time of the sub-path between adjacent waypoints.
S203: and if the average deletion time is greater than or equal to a preset time threshold, determining that the path point set meets a preset interpolation condition, and interpolating the path point set to obtain an interpolated path point set.
In an embodiment, after determining an average deletion time of a sub-path between two adjacent waypoints in the waypoint set, the average deletion time may be compared with a preset time threshold:
if the average deletion time is determined to be greater than or equal to a preset time threshold, determining that the path point set meets a preset interpolation condition, and further interpolating the path point set to obtain an interpolated path point set;
otherwise, the step of interpolating the set of path points is not performed.
S204: and generating the current running path of the target vehicle based on the interpolated path point set, and displaying the current running path.
For the explanation and description of steps S201 and S204, reference may be made to the above embodiments, which are not described herein again.
As can be seen from the above description, in this embodiment, the average deletion time of the sub-path between every two adjacent path points in the path point set is determined, and when the average deletion time is greater than or equal to the preset time threshold, it is determined that the path point set meets the preset interpolation condition, and then the subsequent step of interpolating the path point set may be performed.
FIG. 3A is a flow chart illustrating how a set of path points is interpolated according to an exemplary embodiment of the present application; the present embodiment takes an example of how to interpolate a set of path points on the basis of the above-described embodiments. As shown in fig. 3A, the step S102 of interpolating the set of path points includes the following steps S301 to S302:
s301: and calculating the distance between two adjacent path points in the path point set.
In an embodiment, after determining that the received path point set satisfies the preset interpolation condition, the path point set may be interpolated, that is, the adjacent path points to be interpolated are found from the path point set.
In one embodiment, the adjacent waypoints to be interpolated include two adjacent waypoints whose constituent sub-paths have too long lengths (i.e., the distance between two waypoints), so that the distance between each two adjacent waypoints in the set of waypoints can be calculated separately.
S302: and if the distance is greater than a preset distance threshold value, interpolating the two path points.
In an embodiment, after calculating the distance between every two adjacent waypoints in the waypoint set, the distance between every two adjacent waypoints may be compared with a preset distance threshold respectively. When it is determined that the distance between two adjacent waypoints is greater than the preset distance threshold, the two adjacent waypoints may be determined as the adjacent waypoints to be interpolated, and then the step of interpolating the two waypoints may be performed.
In one embodiment, to further achieve the effect of synchronization between the "target vehicle movement" and the "traveled path deletion" in the above embodiments, the distance threshold may be determined according to the size of a moving object image (e.g., a target vehicle map) displayed on the electronic map, wherein the moving object image may be used to represent the position of the target vehicle on the traveled path.
In an embodiment, the distance threshold may be set as: length of moving object image of 0.5 times reduction multiple of electronic map. For example, if the reduction factor of the electronic map is 20000 (i.e. the scale is 1:20000), and the fixed length of the moving object image shown on the map is 0.006 m (the length may not change with the scale of the ground map), the distance threshold value can be calculated as 0.5 × 0.006 × 20000 — 60 m. That is, when the distance between two adjacent points is greater than 60 meters, the two points may be interpolated.
Fig. 3B is a schematic diagram of a scenario for determining a distance threshold between two adjacent waypoints according to an exemplary embodiment of the present application. Fig. 3C is a schematic view of a scenario for determining a distance threshold between two adjacent waypoints according to another exemplary embodiment of the present application.
As shown in fig. 3B, assume that the length of the sub-path between waypoint a and waypoint B is less than or equal to 0.5 times the length of the target vehicle map 001. After the target vehicle map 001 (i.e., the center point of the target vehicle map 001) moves from the waypoint a to the waypoint B, the electronic map SDK may delete the sub-path between the waypoint a and the waypoint B. Since 0.5 times of the target vehicle map 001 (i.e. the second half of the target vehicle map) can completely cover the sub-path from the waypoint a to the waypoint B, the process of deleting the sub-path is not seen by the user, i.e. the two synchronous effects of "target vehicle movement" and "traveled path deletion" can be achieved.
In contrast, as shown in fig. 3C, if the length of the sub-path between the route point C and the route point D is greater than 0.5 times the length of the target vehicle map 001, when the sub-path between the route point C and the route point D is deleted after the target vehicle map 001 moves from the route point C to the route point D, since the second half of the target vehicle map cannot completely cover the sub-path between the route point C and the route point D, the process of deleting the sub-path is seen by the user, that is, the synchronization of the "target vehicle movement" and the "traveled route deletion" cannot be guaranteed.
Therefore, the above distance threshold is set to: the length of the target vehicle map which is 0.5 times of the reduction multiple of the electronic map can ensure that the distance between every two adjacent waypoints in the waypoint set after interpolation is smaller than the distance threshold value, thereby ensuring the synchronism of the two parts of 'target vehicle movement' and 'traveled route deletion'.
In an embodiment, the manner of interpolating the two waypoints can also be referred to the following embodiment shown in fig. 5, which is not described in detail here.
As can be seen from the above description, in this embodiment, the distance between two adjacent waypoints in the waypoint set is calculated, the distance threshold is determined according to the size of the moving object image, and then when it is determined that the distance between two adjacent waypoints is greater than the preset distance threshold, the two waypoints are interpolated, so that the adjacent waypoints to be interpolated can be accurately found, and further the step of interpolating the two waypoints can be performed.
FIG. 4A is a flow chart illustrating how two waypoints are interpolated according to an exemplary embodiment of the present application; fig. 4B is a schematic diagram illustrating an effect of interpolating two waypoints according to an exemplary embodiment of the present application. The present embodiment is exemplified by how to interpolate two path points on the basis of the above embodiments. As shown in fig. 4A, the interpolation of the two path points in step S302 includes the following steps S401 to S403:
s401: calculating a ratio of the distance between the two waypoints to the distance threshold.
In an embodiment, after determining that the distance between two waypoints in the waypoint set is greater than a preset distance threshold, a ratio of the distance between the two waypoints to the distance threshold may be calculated.
S402: determining a minimum number of path points to be inserted between the two path points based on the ratio.
In one embodiment, after determining the ratio of the distance between the two waypoints to the distance threshold, the minimum number of waypoints inserted between the two waypoints may be determined according to the value obtained by subtracting 1 from the ratio.
For example, if the ratio of the distance between the two waypoints to the distance threshold is N (N is a positive integer), the minimum number of waypoints inserted between the two waypoints may be determined to be (N-1).
It should be noted that if the ratio is not an integer, the ratio may be rounded down, and a value obtained by subtracting 1 from the rounded ratio is determined as the minimum number of path points inserted between the two path points. For example, if the above ratio is calculated to be 5.3, the value 5 is obtained by rounding down the ratio, and it is determined that the minimum number of insertion path points is 5-1 to 4.
S403: inserting at least the minimum number of waypoints between the two waypoints.
In one embodiment, when it is determined that the minimum number of waypoints to insert between the two waypoints is N, at least N new waypoints may be inserted between the two waypoints.
For example, as shown in FIG. 4B, if the path point P0And P1The distance between the two is 240 meters, and the preset distance threshold is 60 meters, the path point P can be determined0And P1The ratio of the distance between the two to the distance threshold is 4, the path point P can be reached0And P1At least 3 new path points P are inserted between2、P3And P4And enabling the distance between the finally obtained adjacent path points to be smaller than a preset threshold value.
In an embodiment, the N new waypoints may be inserted between the two waypoints at equal intervals or at unequal intervals, as long as it is ensured that the distance between the finally obtained adjacent waypoints is smaller than the preset threshold, which is not particularly limited in this embodiment.
As can be seen from the above description, in this embodiment, by calculating a ratio between a distance between two waypoints and the distance threshold, determining a minimum number of waypoints to be inserted between the two waypoints according to the ratio, and further inserting at least the minimum number of waypoints between the two waypoints, interpolation of two adjacent waypoints that need to be interpolated can be achieved, and further, a subsequent step of generating a current travel path of the target vehicle based on the interpolated waypoint set and displaying the travel path can be achieved, which can reduce the calculation amount of the server, achieve the purpose of reducing the calculation load of the server, reduce the received data amount, and save the data traffic of the terminal device.
Corresponding to the method embodiment, the application also provides a corresponding device embodiment.
FIG. 5 is a block diagram illustrating a travel path display apparatus according to an exemplary embodiment of the present application; as shown in fig. 5, the apparatus includes: a path point set receiving module 110, an interpolation point set obtaining module 120, and a driving path showing module 130, wherein:
a route point set receiving module 110, configured to receive a route point set of a current travel route of a target vehicle, where the current travel route is a part of a route from a starting point of the target vehicle to a current position of the target vehicle;
an interpolation point set obtaining module 120, configured to interpolate the path point set when the path point set meets a preset interpolation condition, to obtain an interpolated path point set;
and a driving path display module 130, configured to generate a current driving path of the target vehicle based on the interpolated path point set, and display the current driving path.
As can be seen from the above description, in this embodiment, a path point set of a current traveling path of a target vehicle is received, and when the path point set meets a preset interpolation condition, the path point set is interpolated to obtain an interpolated path point set, and then the current traveling path of the target vehicle is generated based on the interpolated path point set, and the current traveling path is displayed.
FIG. 6 is a block diagram illustrating a travel path display apparatus according to yet another exemplary embodiment of the present application; the functions of the path point set receiving module 210, the interpolation point set obtaining module 220, and the driving path displaying module 230 are the same as those of the path point set receiving module 110, the interpolation point set obtaining module 120, and the driving path displaying module 130 in the embodiment shown in fig. 5, and are not described herein again. As shown in fig. 6, the interpolation point set obtaining module 220 further includes:
a deletion time determining unit 221, configured to determine an average deletion time of a sub-path between every two adjacent waypoints in the waypoint set;
an interpolation condition determination unit 222, configured to determine that the set of path points satisfies a preset interpolation condition when the average deletion time is greater than or equal to a preset time threshold.
In an embodiment, the interpolation point set obtaining module 220 may further include:
a distance calculating unit 223, configured to calculate a distance between two adjacent waypoints in the waypoint set;
a waypoint interpolation unit 225 for interpolating the two waypoints when the distance is greater than a preset distance threshold.
In an embodiment, the interpolation point set obtaining module 220 may further include:
a distance threshold determination unit 224 configured to determine the distance threshold according to a size of a moving object image that characterizes a position of the target vehicle on the travel path.
In an embodiment, the waypoint interpolation unit 225 may be further configured to:
calculating a ratio of a distance between the two waypoints to the distance threshold;
determining a minimum number of path points to be inserted between the two path points according to the ratio;
inserting at least the minimum number of waypoints between the two waypoints.
In an embodiment, the waypoint interpolation unit 225 may be further configured to:
when the ratio is an integer, determining a value of subtracting 1 from the ratio as a minimum number of path points inserted between the two path points;
and when the ratio is not an integer, carrying out downward rounding processing on the ratio, and determining a value obtained by subtracting 1 from the rounded ratio as the minimum number of path points inserted between the two path points.
In an embodiment, the apparatus may further include:
and a traveled path processing module 240 configured to delete a traveled path traveled by the target vehicle or increase transparency of the traveled path traveled by the target vehicle.
According to another aspect of the present application, a driving path showing system is further provided, which includes a server and at least one client, wherein:
the server is used for sending the acquired path point set of the current running path of the target vehicle to the client;
the client is used for executing the driving path display method of the embodiment shown in fig. 1 to 4B.
It should be noted that, all the above-mentioned optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described in detail herein.
The embodiment of the driving path display device can be applied to network equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a device in a logical sense, the device is formed by reading, by a processor of a device in which the device is located, a corresponding computer program instruction in a nonvolatile memory into a memory for running, where the computer program is used to execute the driving path display method provided by the embodiment shown in fig. 1 to 4B. From a hardware aspect, as shown in fig. 7, a hardware structure diagram of the driving path display device of the present invention is shown, except for the processor, the network interface, the memory and the nonvolatile memory shown in fig. 7, the device may also include other hardware, such as a forwarding chip responsible for processing a packet, and the like; the device may also be a distributed device in terms of hardware structure, and may include multiple interface cards to facilitate expansion of message processing at the hardware level.
On the other hand, the present application further provides a computer-readable storage medium, where a computer program is stored, and the computer program is used to execute the driving route display method provided by the embodiment shown in fig. 1 to 4B.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims (11)
1. A driving path display method is applied to a client side and is characterized by comprising the following steps:
a passenger end receives a path point set of a current running path of a target vehicle sent by a server end, wherein the current running path is a part of a path from a starting point of the target vehicle to a current position of the target vehicle; the target vehicle is a network appointment reserved by the passenger terminal; the path point set is reported to the server side by the driver side;
if the path point set meets a preset interpolation condition, interpolating the path point set to obtain an interpolated path point set;
and generating the current running path of the target vehicle based on the interpolated path point set, and displaying the current running path.
2. The method of claim 1, further comprising:
determining the average deletion time of sub-paths between every two adjacent path points in the path point set;
and if the average deletion time is greater than or equal to a preset time threshold, determining that the path point set meets a preset interpolation condition.
3. The method of claim 1, wherein said interpolating said set of path points comprises:
calculating the distance between two adjacent path points in the path point set;
and if the distance is greater than a preset distance threshold value, interpolating the two path points.
4. The method of claim 3, further comprising:
the distance threshold is determined based on a size of a moving object image used to characterize a location of the target vehicle on a travel path.
5. The method of claim 3, wherein said interpolating said two waypoints comprises:
calculating a ratio of a distance between the two waypoints to the distance threshold;
determining a minimum number of path points to be inserted between the two path points according to the ratio;
inserting at least the minimum number of waypoints between the two waypoints.
6. The method of claim 5, wherein said determining a minimum number of waypoints to insert between said two waypoints based on said ratio comprises:
if the ratio is an integer, determining a value obtained by subtracting 1 from the ratio as the minimum number of path points inserted between the two path points;
and if the ratio is not an integer, carrying out downward rounding processing on the ratio, and determining a numerical value obtained by subtracting 1 from the rounded ratio as the minimum number of the path points inserted between the two path points.
7. The method according to any one of claims 1-6, further comprising:
deleting the driving path which the target vehicle has driven, or increasing the transparency of the driving path which the target vehicle has driven.
8. A travel path display device is applied to a passenger end and is characterized by comprising:
the system comprises a path point set receiving module, a route point set receiving module and a route point set sending module, wherein the path point set receiving module is used for receiving a path point set of a current running path of a target vehicle, which is sent by a server side, and the current running path is a part of a path from a starting point of the target vehicle to a current position of the target vehicle; the target vehicle is a network appointment reserved by the passenger terminal; the path point set is reported to the server side by the driver side;
the interpolation point set acquisition module is used for interpolating the path point set when the path point set meets a preset interpolation condition to obtain an interpolated path point set;
and the running path display module is used for generating the current running path of the target vehicle based on the interpolated path point set and displaying the current running path on an electronic map.
9. A driving path display system is characterized by comprising a server and at least one client, wherein:
the server is used for sending the acquired path point set of the current running path of the target vehicle to the client;
the client is used for executing the driving path display method of any one of the claims 1 to 7.
10. A travel path display apparatus characterized by comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to perform the travel path presenting method of any of the above claims 1-7.
11. A computer-readable storage medium, characterized in that the storage medium stores a computer program, which when executed by a processor implements the travel path presenting method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810476449.3A CN108763374B (en) | 2018-05-17 | 2018-05-17 | Driving path display method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810476449.3A CN108763374B (en) | 2018-05-17 | 2018-05-17 | Driving path display method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108763374A CN108763374A (en) | 2018-11-06 |
CN108763374B true CN108763374B (en) | 2020-12-29 |
Family
ID=64007083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810476449.3A Active CN108763374B (en) | 2018-05-17 | 2018-05-17 | Driving path display method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108763374B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000549B (en) * | 2020-08-21 | 2022-06-17 | 北京浪潮数据技术有限公司 | Capacity analysis method of storage equipment and related device |
CN112797983B (en) * | 2020-12-31 | 2023-10-03 | 广州极飞科技股份有限公司 | Path planning method, path planning device, unmanned equipment and storage medium |
CN117109619A (en) * | 2023-08-28 | 2023-11-24 | 北京工业大学 | Unmanned path planning method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6480194B1 (en) * | 1996-11-12 | 2002-11-12 | Silicon Graphics, Inc. | Computer-related method, system, and program product for controlling data visualization in external dimension(s) |
CN1584947A (en) * | 2004-06-04 | 2005-02-23 | 深圳市摩森科技有限公司 | Realtime navigation method |
CN103248769B (en) * | 2013-05-20 | 2015-10-14 | 南京邮电大学 | A kind of delivery system and method thereof of carrying out path optimization based on iPhone mobile phone |
CN106647734B (en) * | 2016-10-12 | 2020-11-24 | 北京京东乾石科技有限公司 | Automatic guided vehicle, path planning method and device |
CN106970945A (en) * | 2017-02-24 | 2017-07-21 | 河海大学 | A kind of track preprocess method of taxi data set |
CN107861132A (en) * | 2017-10-27 | 2018-03-30 | 上海斐讯数据通信技术有限公司 | A kind of GPS track optimization method and device |
CN107749163B (en) * | 2017-11-03 | 2020-08-14 | 北京世纪高通科技有限公司 | Vehicle driving track display method and device |
-
2018
- 2018-05-17 CN CN201810476449.3A patent/CN108763374B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108763374A (en) | 2018-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108765933B (en) | Method, device, equipment and storage medium for recommending boarding points | |
CN105222796B (en) | Integrating online navigation data with cached navigation data during active navigation | |
AU2012316660B2 (en) | Map tile data pre-fetching based on mobile device generated event analysis | |
CN108763374B (en) | Driving path display method, device and equipment | |
US20180225796A1 (en) | Resource Allocation in a Network System | |
US11118926B2 (en) | Computer-implemented method for recommending booths-to-visit | |
WO2015095828A1 (en) | Transportation system reconstruction | |
EP2943752B1 (en) | Displaying dynamic content on a map based on user's location and scheduled task | |
JPWO2011102541A1 (en) | Behavior feature extraction device, behavior feature extraction system, behavior feature extraction method, and behavior feature extraction program | |
WO2012018131A1 (en) | Action characteristic extraction device, action characteristic extraction system, method of extracting action characteristic, and action characteristic extraction program | |
WO2015013760A1 (en) | Free time activity scheduler | |
CN104821956A (en) | Positioning method and device based on electronic equipment | |
CN110300123A (en) | Abnormal flow recognition methods, device, electronic equipment and storage medium | |
US20190122554A1 (en) | Smart parking management and navigation system | |
KR20170035272A (en) | Method for providing real-time navigating service | |
US10712164B2 (en) | Travel routes based on communication channel availability | |
JP6625482B2 (en) | Range display device, range display method and program | |
CN111242711A (en) | Information prompting method and device, electronic equipment and storage medium | |
CN110876182A (en) | Position measuring method and device | |
JP6319010B2 (en) | Probe information collecting apparatus and probe information collecting method | |
US20220101209A1 (en) | Information processing device, information processing system, and method of information processing | |
CN109145075B (en) | Map display method, device, terminal and storage medium | |
CN111159580A (en) | Itinerary recommendation device, itinerary recommendation method, and non-volatile storage medium storing program | |
JP6446924B2 (en) | Information providing apparatus, program, and information providing system | |
WO2011142471A1 (en) | Action-feature extraction device, action-feature extraction system, action-feature extraction method, and action-feature extraction program |
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 |