CN110779542A - Method and device for synchronizing vehicle track playback and playing progress bar of map system - Google Patents
Method and device for synchronizing vehicle track playback and playing progress bar of map system Download PDFInfo
- Publication number
- CN110779542A CN110779542A CN201910898303.2A CN201910898303A CN110779542A CN 110779542 A CN110779542 A CN 110779542A CN 201910898303 A CN201910898303 A CN 201910898303A CN 110779542 A CN110779542 A CN 110779542A
- Authority
- CN
- China
- Prior art keywords
- track
- progress bar
- vehicle
- progress
- value
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3626—Details of the output of route guidance instructions
- G01C21/3647—Guidance involving output of stored or live camera images or video streams
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3664—Details of the user input interface, e.g. buttons, knobs or sliders, including those provided on a touch screen; remote controllers; input using gestures
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Navigation (AREA)
Abstract
The invention discloses a method and a device for synchronizing vehicle track playback and playing progress bars of a map system, wherein the method comprises the following steps: acquiring a track point sequence of a preset time period in a vehicle historical travel and longitude and latitude sequence data corresponding to the track point sequence; constructing a vehicle historical track route on a map page according to the longitude and latitude sequence data, and generating a vehicle track playback route covering the historical track route; establishing a playing progress bar; acquiring the number of track points which are played currently when the vehicle track is played back and the total number of track points of a vehicle track playback route; and calculating to obtain the advancing progress value of the progress bar by combining the number of the currently played track points, the number of the total track points and the physical width value of the progress bar, and synchronously giving the advancing progress value to the progress bar. The method and the device realize the synchronization of the vehicle track playback and the playing progress bar in the map system, so that a user can change the playing position of the vehicle track playback by controlling the progress bar.
Description
Technical Field
The invention relates to the technical field of geographic information systems, in particular to a method and a device for synchronizing vehicle track playback and playing progress bars of a map system.
Background
The geographic information system technology is a space information processing technology which is rapidly developed in recent years, is based on geographic space, adopts a geographic model analysis method to provide various spatial and dynamic geographic information, and is a computer technology system for providing geographic research and geographic decision service.
The road book is a file or a file set for recording and displaying the map route and the comprehensive information Of Interest Points (POI) Of restaurants, hospitals, scenic spots, hotels, parks and the like which a pedestrian passes in the traveling process, records and displays the action track Of a user based on a GIS platform and a traffic map, can visually, conveniently and vividly express the travel purpose, the travel arrangement and the scenic along the way Of the user, and is a very practical auxiliary tool for self-driving travel enthusiasts or hiking enthusiasts.
In the application of the internet of things and the geographic information management system, the driving track playback of the vehicle can help a user to know the track occurrence condition of the vehicle in a certain time period through the map visual presentation, but the existing map software does not provide the real-time progress of road book playing, so that the road book function and the progress bar cannot be associated, and the driving track playback and the progress bar of the vehicle cannot be synchronized.
Disclosure of Invention
The invention provides a method and a device for synchronizing vehicle track playback and playing progress bars of a map system, which are used for solving the problem that the driving track playback process of a vehicle cannot be synchronized with the progress bars due to the fact that the existing map software does not provide real-time progress of road book playing.
In order to solve the above problems, the present invention provides a method for synchronizing a vehicle track playback and a play progress bar of a map system, comprising:
acquiring a track point sequence of a preset time period in a vehicle historical travel and longitude and latitude sequence data corresponding to the track point sequence;
constructing a vehicle historical track route on a map page according to the longitude and latitude sequence data, and generating a vehicle track playback route covering the historical track route;
establishing a playing progress bar;
acquiring the number of track points which are played currently when the vehicle track is played back and the total number of track points of a vehicle track playback route;
and calculating to obtain the advancing progress value of the progress bar by combining the number of the currently played track points, the number of the total track points and the physical width value of the progress bar, and synchronously giving the advancing progress value to the progress bar.
As a further improvement of the present invention, the step of calculating the progress value of progress bar by combining the number of currently played track points, the total number of track points, and the physical width value of the progress bar includes:
the progress value is (number of currently played track points/total number of track points) the physical width value of the progress bar.
As a further improvement of the present invention, after the step of synchronously assigning the progress values to the progress bars, the method further comprises:
receiving a progress bar jumping point instruction and acquiring a jumping target point on the progress bar;
acquiring a target progress value corresponding to a target point;
combining the target progress value and the total track point number, and calculating to obtain the number of played track points corresponding to the target point;
and obtaining target track points of the track point sequence according to the number of the played track points, and skipping the vehicle track playback route to the target track points for playing.
As a further improvement of the present invention, after the step of synchronously assigning the progress values to the progress bars, the method further comprises:
acquiring a play double-speed value and a preset initial play speed value;
and adjusting the advancing speed of the progress bar according to the playing double-speed value and the initial playing speed value.
As a further improvement of the invention, the vehicle track playback route corresponding to the currently played track point and the vehicle track playback route corresponding to the unplayed track point respectively adopt different marking colors.
In order to solve the above problems, the present invention further provides an apparatus for synchronizing a vehicle track playback and a play progress bar in a map system, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a track point sequence of a preset time period in a vehicle historical travel and longitude and latitude sequence data corresponding to the track point sequence;
the route construction module is used for constructing a vehicle historical track route on a map page according to the longitude and latitude sequence data and generating a vehicle track playback route covering the historical track route;
the progress bar establishing module is used for establishing a playing progress bar;
the second acquisition module is used for acquiring the number of track points which are played currently when the vehicle track is played back and the total number of track points of a vehicle track playback route;
and the first calculation module is used for calculating to obtain the advancing progress value of the progress bar by combining the number of the currently played track points, the number of the total track points and the physical width value of the progress bar, and synchronously endowing the advancing progress value to the progress bar.
As a further improvement of the present invention, the operation of calculating the progress value of the progress bar by the first calculation module in combination with the number of currently played track points, the total number of track points, and the physical width value of the progress bar specifically includes:
and the progress value is (the number of currently played track points/the number of total track points) the physical width value of the progress bar.
As a further improvement of the present invention, it further comprises:
the receiving module is used for receiving a progress bar jumping point instruction and acquiring a jumping target point on the progress bar;
the third acquisition module is used for acquiring a target progress value corresponding to the target point;
the second calculation module is used for calculating the number of played track points corresponding to the target point by combining the target progress value and the total number of the track points;
and the skipping module is used for obtaining target track points of the track point sequence according to the number of the played track points, and skipping the vehicle track playback route to the target track points for playing.
As a further improvement of the present invention, it further comprises:
the fourth acquisition module is used for acquiring a playing double-speed value and a preset initial playing speed value;
and the speed regulating module is used for regulating the advancing speed of the progress bar according to the playing double-speed value and the initial playing speed value.
As a further improvement of the invention, the vehicle track playback route corresponding to the currently played track point and the vehicle track playback route corresponding to the unplayed track point respectively adopt different marking colors.
Compared with the prior art, the vehicle track playback method has the advantages that the vehicle historical track route is constructed on the map page according to the longitude and latitude sequence data in the preset time period in the vehicle historical travel, and the vehicle track playback route is generated; and then establishing a progress bar, calculating the advancing progress value of the progress bar according to the number of the played track points, the total number of the track points and the physical width value of the progress bar during the playback of the obtained vehicle track, and assigning the progress value to the progress bar, so that the synchronization of the vehicle track playback and the playing progress bar in a map system is realized, a user can change the playing position of the vehicle track playback by controlling the progress bar, the track playback efficiency is improved, further, the historical driving information of the vehicle such as the historical driving path and the like can be checked, and the method plays an important role in the subsequent processing of the accident.
Drawings
FIG. 1 is a schematic flow chart illustrating a first embodiment of a method for synchronizing a vehicle track playback and a progress bar in a map system according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a method for synchronizing a vehicle track playback and a progress bar in a map system according to the present invention;
FIG. 3 is a schematic view of a playing interface of the method for synchronizing the vehicle track playback and the playing progress bar of the map system according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a method for synchronizing a vehicle track playback and a progress bar in a map system according to the present invention;
FIG. 5 is a functional block diagram of a first embodiment of a device for synchronizing a vehicle track playback and a progress bar in a map system according to the present invention;
FIG. 6 is a functional block diagram of a second embodiment of a device for synchronizing a vehicle track playback and a progress bar in a map system according to the present invention;
fig. 7 is a functional block diagram of a device for synchronizing the vehicle track playback and the progress bar in the map system according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 shows a first embodiment of the method for synchronizing the vehicle track playback and the play progress bar of the map system according to the invention. In this embodiment, as shown in fig. 1, the method for synchronizing the vehicle track playback and the play progress bar in the map system includes:
and step S1, acquiring a track point sequence of a preset time period in the historical travel of the vehicle and longitude and latitude sequence data corresponding to the track point sequence.
In the embodiment of the invention, the track point sequence is a set of all track points which are sequenced according to time in the historical driving route of the vehicle within the preset time period of the vehicle. The longitude and latitude sequence data is a set of longitude and latitude data corresponding to each track point in a driving route of the vehicle within a preset time period, for example, the longitude and latitude data of one track point in a historical travel of the vehicle can be described as ' north latitude N22 degrees 32 ' 7.15 ' east longitude E113 degrees 55 ' 54.26 '. It should be noted that the initial longitude and latitude data may be acquired by a vehicle-mounted GPS device. After the initial longitude and latitude data are obtained, corresponding longitude and latitude coordinate conversion is needed according to different map systems. Taking a hundred-degree map system as an example, the initial longitude and latitude data are converted into longitude and latitude data under a mars coordinate system, and then secondary encryption is carried out on the basis of the mars coordinate system, so that the longitude and latitude data of the hundred-degree coordinate system are obtained.
And step S2, constructing a vehicle historical track route on the map page according to the longitude and latitude sequence data, and generating a vehicle track playback route covering the historical track route.
In the embodiment of the invention, the longitude and latitude sequence data obtained after conversion is used for drawing a vehicle track broken line superposition layer on a map page according to the time sequence and by adopting the function of creating the broken line covering object of the map, thereby constructing the historical track route of the vehicle. Then, a road book function of the map is called, and a vehicle track playback route covering the historical track route is generated.
Step S3, a play progress bar is established.
In the embodiment of the invention, the playing progress bar is established and displayed at the lower end of the map page, and the physical width value of the playing progress bar is set to be equal to that of the map page. In other alternative embodiments, the playing progress bar may also be established and displayed at other positions of the map page, and the physical width value may also be smaller than the physical width value of the map page, which may be set according to an actual situation, which is not limited herein.
And step S4, acquiring the number of track points played currently during vehicle track playback and the total number of track points of the vehicle track playback route.
It should be noted that the currently played track point refers to a track point corresponding to a route already played in a historical route when the vehicle track is played back, and the total number of track points refers to the number of all track points in the vehicle track playback route. Specifically, when the vehicle track is played back, the current real-time playing position of the vehicle track playback route is obtained through the road book function of the map system, the current playing track point corresponding to the real-time playing position is confirmed, the number of the currently played track points is confirmed according to the current playing track point, and in addition, when the vehicle track playback route is played, the number of the currently played track points is changed accordingly.
Furthermore, in order to facilitate the user to distinguish the vehicle track playback route corresponding to the played track point from the vehicle track playback route corresponding to the unplayed track point, different marking colors are respectively adopted to distinguish the played track point from the unplayed track point, for example, the vehicle track playback route corresponding to the currently played track point is marked with purple, and the vehicle track playback route corresponding to the unplayed track point is marked with gray, so that the user can distinguish conveniently.
And step S5, calculating to obtain the progress value of progress bar by combining the number of currently played track points, the number of total track points and the physical width value of the progress bar, and synchronously assigning the progress value to the progress bar.
Specifically, after the progress value is calculated and obtained, the progress value is synchronously given to the progress bar, so that synchronization between the progress bar and vehicle track playback is completed. For example, assuming that the physical width value of the entire map page is 1360px, in this embodiment, the physical width of the established progress bar is equal to the physical width of the map page, that is, the width of the physical width value of the progress bar in the display screen is also 1360px, the number of track points currently played when the vehicle track is played back is 100, and the total number of track points of the vehicle track playback route is 1000, then it can be calculated that the progress value is (100/1000) × 1360 ═ 136px, and the progress value is assigned to the progress bar, at this time, the playing pointer on the progress bar is positioned to the point indicated by 136px on the physical width of the progress bar. When the vehicle track playback route is played in real time, a new progress value is calculated in real time according to the change of the number of track points which are played at present, and the progress value is given to a progress bar, so that the progress bar and the vehicle track playback are synchronous.
In the embodiment of the invention, a vehicle historical track route is constructed on a map page according to longitude and latitude sequence data in a preset time period in a vehicle historical travel, and a vehicle track playback route is generated; and then establishing a progress bar, calculating the advancing progress value of the progress bar according to the number of the played track points, the total number of the track points and the physical width value of the progress bar during the playback of the obtained vehicle track, and assigning the progress value to the progress bar, so that the synchronization of the vehicle track playback and the playing progress bar in a map system is realized, a user can change the playing position of the vehicle track playback by controlling the progress bar, the track playback efficiency is improved, further, the historical driving information of the vehicle such as the historical driving path and the like can be checked, and the method plays an important role in the subsequent processing of the accident.
Further, in order to facilitate the user to further control the vehicle track playback process through the progress bar, in some embodiments, as shown in fig. 2, after step S5, the method further includes:
and step S10, receiving the progress bar jumping point instruction and acquiring the jumping target point on the progress bar.
Specifically, the user may input a progress bar skip point instruction by clicking or dragging the progress bar with a mouse.
In step S11, a target progress value corresponding to the target point is obtained.
Specifically, after a target point jumped on the progress bar is obtained, a corresponding target progress value on the progress bar is confirmed through the position of the target point. Specifically, referring to fig. 3, after the target point on the progress bar is obtained, the horizontal clientX value of the target point is obtained first. In the embodiment of the invention, a side boundary line of a browser page (or a current window) of a map presenting system in the direction opposite to the starting point of the progress bar is taken as a horizontal coordinate origin, the width between the starting point of the progress bar and the horizontal coordinate origin is set as a frame width value of the browser page (or the current window) of the map presenting system, and the clientX value and the frame width value are subtracted to obtain a width value from a target point to the starting point of the progress bar, namely a target progress value. In addition, when the map system runs, if the map display page completely covers the browser page, that is, the frame width value of the browser page is 0, and the physical width value of the progress bar is equal to the physical width value of the map page, the clientX value is equal to the target progress value.
And step S12, combining the target progress value and the total track point number, and calculating to obtain the number of played track points corresponding to the target point.
Specifically, the number of played track points corresponding to the target point is calculated by combining the target progress value with the progress bar physical width value and the total track point number, where the number of played track points is (target progress value/progress bar physical width value) × the total track point number. For example, by clicking a certain target point on the progress bar with the mouse, a clientX value of the mouse clicked target point may be obtained, assuming that clientX is 700px, a border width of a browser page (or a current window) of the map system is 200px, a physical width value of the map page is 1000px, and in addition, a total number of track points is 1000, in this embodiment, a physical width value of the progress bar is equal to a physical width value of the map page, and if the physical width value of the progress bar is equal to the physical width value of the map page, a target progress value is 700px-200px of the border width of the browser page (or the current window), and if the target progress value is 500px of the border width of the browser page (or the current window), a number of track points already played (target progress value/physical width value of the progress bar) is 1000 (500/1000), which indicates that a 500 th track point in the track point sequence should be played currently
And step S13, obtaining the target track point of the track point sequence according to the number of the played track points, and jumping to the target track point for playing the vehicle track playback route.
Finding a target track point in the track point sequence according to the number of the played track points, and then obtaining the longitude and latitude coordinates of the target track point; and skipping the vehicle track playback route to a target track point, namely playing the longitude and latitude coordinates. Taking the number of the played track points obtained in the foregoing embodiment as 500 as an example, finding a 500 th track point from the track point sequence arranged according to the time sequence, where the point is a target track point; and acquiring the longitude and latitude coordinates of the 500 th track point, and then jumping to a target track point by the vehicle track playback route, namely playing the corresponding longitude and latitude coordinate position of the target track point. In this embodiment, after receiving a progress bar jump point instruction input by a user, a target track point corresponding to a target point where the progress bar jumps is calculated, and a vehicle track playback route is controlled to jump to the target track point for playing, so that the user can directly control the vehicle track playback process through the progress bar.
Further, the user may also set the play speed of the vehicle track during playback, and therefore, in other embodiments, as shown in fig. 4, after step S5, the method further includes:
in step S20, a playback multiple speed value and a preset initial playback speed value are obtained.
And step S21, adjusting the traveling speed of the progress bar according to the playing double-speed value and the initial playing speed value.
It should be noted that the initial play speed value is preset, and the play speed value is input by the user, for example, by providing multiple speed levels for the user to select, such as 1x, 4x, 16x, and 32x, where 1x is the initial play speed value and 4x is the quadruple initial play speed value. Specifically, for example, assuming that the initial play speed value is 10 m/s and the play double speed value is 4x, the travel speed of the progress bar is 40 m/s.
In the embodiment, the traveling speed of the progress bar is adjusted according to the playing double-speed value and the initial playing speed value input by the user, so that the user can control the playing speed during the vehicle track playback, the user can conveniently and quickly check the vehicle track playback, and the time is saved.
Fig. 5 illustrates an embodiment of the apparatus for synchronizing the vehicle track playback and the play progress bar of the map system according to the present invention. As shown in fig. 5, in the present embodiment, the map system vehicle track playback and progress bar playing synchronization apparatus includes a first obtaining module 10, a route building module 11, a progress bar establishing module 12, a second obtaining module 13, and a first calculating module 14.
The first acquisition module 10 is configured to acquire a track point sequence of a preset time period in a historical travel of the vehicle and longitude and latitude sequence data corresponding to the track point sequence; the route construction module 11 is used for constructing a vehicle historical track route on a map page according to the longitude and latitude sequence data and generating a vehicle track playback route covering the historical track route; a progress bar establishing module 12, configured to establish a playing progress bar; the second obtaining module 13 is configured to obtain the number of track points that have been played currently when the vehicle track is played back, and the total number of track points of the vehicle track playback route; and the first calculating module 14 is configured to calculate a progress value of the progress bar by combining the number of currently played track points, the number of total track points, and the physical width value of the progress bar, and synchronously assign the progress value to the progress bar.
On the basis of the foregoing embodiment, in other embodiments, the operation of calculating, by the first calculation module 14, the progress value of the progress bar by combining the number of currently played track points, the total number of track points, and the physical width value of the progress bar specifically includes: and the progress value is (the number of track points played currently/the number of total track points) × the physical width value of the progress bar.
On the basis of the above embodiment, in another embodiment, as shown in fig. 6, the apparatus for synchronizing the vehicle track playback and the progress bar in the map system further includes a receiving module 20, a third obtaining module 21, a second calculating module 22, and a skipping module 23.
The receiving module 20 is configured to receive a progress bar jump point instruction and obtain a target point of jump on the progress bar; a third obtaining module 21, configured to obtain a target progress value corresponding to the target point; the second calculation module 22 is configured to calculate, by combining the target progress value and the total number of track points, the number of played track points corresponding to the target point; and the skipping module 23 is used for obtaining a target track point of the track point sequence according to the number of the played track points, and skipping the vehicle track playback route to the target track point for playing.
Based on the above embodiment, in another embodiment, as shown in fig. 7, the apparatus for synchronizing the vehicle track playback and the playing progress bar of the map system further includes a fourth obtaining module 30 and a throttle module 31.
The fourth obtaining module 30 is configured to obtain a playing double speed value and a preset initial playing speed value; and the speed regulating module 31 is configured to regulate the traveling speed of the progress bar according to the playing double-speed value and the initial playing speed value.
On the basis of the above embodiment, in other embodiments, the vehicle track playback route corresponding to the currently played track point and the vehicle track playback route corresponding to the unplayed track point respectively adopt different marking colors.
For other details of the technical solution implemented by each module in the map system vehicle track playback and play progress bar synchronization apparatus in the above five embodiments, reference may be made to the description of the map system vehicle track playback and play progress bar synchronization method in the above embodiments, and details are not described here again.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system-class embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The embodiments of the present invention have been described in detail, but the present invention is only exemplary and is not limited to the embodiments described above. It will be apparent to those skilled in the art that any equivalent modifications or substitutions can be made within the scope of the present invention, and thus, equivalent changes and modifications, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method for synchronizing vehicle track playback and a progress bar play of a map system is characterized by comprising the following steps:
acquiring a track point sequence of a preset time period in a vehicle historical travel and longitude and latitude sequence data corresponding to the track point sequence;
constructing a vehicle historical track route on a map page according to the longitude and latitude sequence data, and generating a vehicle track playback route covering the historical track route;
establishing a playing progress bar;
acquiring the number of track points which are played currently when the vehicle track is played back and the total number of track points of a vehicle track playback route;
and calculating to obtain the progress value of progress bar advancing by combining the number of the currently played track points, the number of the total track points and the physical width value of the progress bar, and synchronously assigning the progress value to the progress bar.
2. The method for synchronizing vehicle track playback and progress bar playing of a map system according to claim 1, wherein the step of calculating the progress value of progress bar progression by combining the number of currently played track points, the number of total track points, and the physical width value of the progress bar comprises:
and the progress value is (the number of currently played track points/the number of total track points) the physical width value of the progress bar.
3. The method of map system vehicle trajectory playback and play progress bar synchronization of claim 1, wherein said step of assigning said progress value synchronization to said progress bar further comprises:
receiving a progress bar jumping point instruction and acquiring a target point of jumping on the progress bar;
acquiring a target progress value corresponding to the target point;
combining the target progress value and the total track point number to calculate and obtain the number of played track points corresponding to the target point;
and obtaining target track points of the track point sequence according to the number of the played track points, and skipping the vehicle track playback route to the target track points for playing.
4. The method of map system vehicle trajectory playback and play progress bar synchronization of claim 1, wherein said step of assigning said progress value synchronization to said progress bar further comprises:
acquiring a play double-speed value and a preset initial play speed value;
and adjusting the advancing speed of the progress bar according to the playing double-speed value and the initial playing speed value.
5. The method for synchronizing the vehicle track playback and the playing progress bar of the map system according to claim 1, wherein the vehicle track playback route corresponding to the currently played track point and the vehicle track playback route corresponding to the unplayed track point respectively adopt different marking colors.
6. An apparatus for synchronizing vehicle track playback and play progress bar in a map system, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a track point sequence of a preset time period in a vehicle historical travel and longitude and latitude sequence data corresponding to the track point sequence;
the route construction module is used for constructing a vehicle historical track route on a map page according to the longitude and latitude sequence data and generating a vehicle track playback route covering the historical track route;
the progress bar establishing module is used for establishing a playing progress bar;
the second acquisition module is used for acquiring the number of track points which are played currently when the vehicle track is played back and the total number of track points of a vehicle track playback route;
and the first calculation module is used for calculating the progress value of the progress bar in advance by combining the number of the currently played track points, the number of the total track points and the physical width value of the progress bar, and synchronously endowing the progress value to the progress bar.
7. The map system vehicle track playback and progress bar playing synchronization device according to claim 6, wherein the operation of calculating the progress value of the progress bar by the first calculation module in combination with the number of currently played track points, the total number of track points, and the physical width value of the progress bar specifically comprises:
and the progress value is (the number of currently played track points/the number of total track points) the physical width value of the progress bar.
8. The mapping system vehicle track playback and play progress bar synchronization apparatus of claim 6, further comprising:
the receiving module is used for receiving a progress bar jumping point instruction and acquiring a jumping target point on the progress bar;
a third obtaining module, configured to obtain a target progress value corresponding to the target point;
the second calculation module is used for calculating and obtaining the number of played track points corresponding to the target point by combining the target progress value and the total track point number;
and the skipping module is used for obtaining target track points of the track point sequence according to the number of the played track points, and skipping the vehicle track playback route to the target track points for playing.
9. The mapping system vehicle track playback and play progress bar synchronization apparatus of claim 6, further comprising:
the fourth acquisition module is used for acquiring a playing double-speed value and a preset initial playing speed value;
and the speed regulating module is used for regulating the advancing speed of the progress bar according to the playing speed doubling value and the initial playing speed value.
10. The map system vehicle track playback and play progress bar synchronization apparatus according to claim 6, wherein the vehicle track playback route corresponding to the currently played track point and the vehicle track playback route corresponding to the unplayed track point respectively adopt different marking colors.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910898303.2A CN110779542A (en) | 2019-09-23 | 2019-09-23 | Method and device for synchronizing vehicle track playback and playing progress bar of map system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910898303.2A CN110779542A (en) | 2019-09-23 | 2019-09-23 | Method and device for synchronizing vehicle track playback and playing progress bar of map system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110779542A true CN110779542A (en) | 2020-02-11 |
Family
ID=69383651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910898303.2A Pending CN110779542A (en) | 2019-09-23 | 2019-09-23 | Method and device for synchronizing vehicle track playback and playing progress bar of map system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110779542A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449336A (en) * | 2022-01-20 | 2022-05-06 | 杭州海康威视数字技术股份有限公司 | Vehicle track animation playing method, device and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455852A (en) * | 2010-10-29 | 2012-05-16 | 汉王科技股份有限公司 | Method and device for displaying progress of electronic reader |
CN103559117A (en) * | 2013-10-31 | 2014-02-05 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for displaying progress bar |
CN103927795A (en) * | 2013-01-14 | 2014-07-16 | 北京中交兴路信息科技有限公司 | Method and system for replaying vehicle historical traveling track |
CN104423925A (en) * | 2013-08-26 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
WO2016041910A1 (en) * | 2014-09-16 | 2016-03-24 | Mastercard International Incorporated | Method and system for sharing transport information |
CN107449438A (en) * | 2016-05-31 | 2017-12-08 | 沈阳美行科技有限公司 | A kind of running information play system and its application and navigation equipment |
-
2019
- 2019-09-23 CN CN201910898303.2A patent/CN110779542A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455852A (en) * | 2010-10-29 | 2012-05-16 | 汉王科技股份有限公司 | Method and device for displaying progress of electronic reader |
CN103927795A (en) * | 2013-01-14 | 2014-07-16 | 北京中交兴路信息科技有限公司 | Method and system for replaying vehicle historical traveling track |
CN104423925A (en) * | 2013-08-26 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
CN103559117A (en) * | 2013-10-31 | 2014-02-05 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for displaying progress bar |
WO2016041910A1 (en) * | 2014-09-16 | 2016-03-24 | Mastercard International Incorporated | Method and system for sharing transport information |
CN107449438A (en) * | 2016-05-31 | 2017-12-08 | 沈阳美行科技有限公司 | A kind of running information play system and its application and navigation equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449336A (en) * | 2022-01-20 | 2022-05-06 | 杭州海康威视数字技术股份有限公司 | Vehicle track animation playing method, device and equipment |
CN114449336B (en) * | 2022-01-20 | 2023-11-21 | 杭州海康威视数字技术股份有限公司 | Vehicle track animation playing method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6749363B2 (en) | Generate diversion direction preview | |
Delikostidis et al. | Overcoming challenges in developing more usable pedestrian navigation systems | |
JP6181993B2 (en) | Information processing system, information processing apparatus, information processing program, and information transmission / reception method | |
JP2003202232A (en) | Navigation device and map display device | |
Credé et al. | The advantage of globally visible landmarks for spatial learning | |
Hong et al. | Traffigram: Distortion for clarification via isochronal cartography | |
JP2016184364A (en) | Route creation system, route creation method, and route creation program | |
CN113345108A (en) | Augmented reality data display method and device, electronic equipment and storage medium | |
CN110779542A (en) | Method and device for synchronizing vehicle track playback and playing progress bar of map system | |
CN107576332B (en) | Transfer navigation method and device | |
JP6036010B2 (en) | Network service system, member terminal, server and program | |
JP2021032942A (en) | Simulator control device, train operation simulation system, train operation simulation method and program | |
AU2017397651B2 (en) | Providing navigation directions | |
JP2007139931A (en) | Navigation system and map display method | |
KR101408325B1 (en) | Train simulator apparatus, method for providing train simulator and recording medium thereof | |
Keil | The salience of landmark representations in maps and its effects on spatial memory | |
JP2007212836A (en) | Information acquisition device, information display device, information acquiring method, and the like | |
JP2003304457A5 (en) | ||
US20210224466A1 (en) | Methods and systems for geographic map generation and rendering and unique miles and routes navigation | |
Wang et al. | A recommendation for designing mobile pedestrian navigation system in university campuses | |
JP3231033B2 (en) | Information provision device | |
Wang et al. | A system of automatic generation of landmark-based pedestrian navigation instructions and its effectiveness for wayfinding | |
JP2020129370A (en) | Graphical user interface for indicating offscreen point of interest | |
JP4820231B2 (en) | Route guidance device, route guidance method, and route guidance program | |
JP4778387B2 (en) | Navigation device and control method thereof |
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 | ||
CB02 | Change of applicant information |
Address after: 518000 floor 4, building a, Lufthansa aviation Park, hourui community, Hangcheng street, Bao'an District, Shenzhen City, Guangdong Province Applicant after: Shenzhen Leap New Technology Co.,Ltd. Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Applicant before: Shenzhen Leap New Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200211 |
|
RJ01 | Rejection of invention patent application after publication |