CN113918608A - Method, equipment and storage medium for acquiring vehicle running track - Google Patents

Method, equipment and storage medium for acquiring vehicle running track Download PDF

Info

Publication number
CN113918608A
CN113918608A CN202111159632.9A CN202111159632A CN113918608A CN 113918608 A CN113918608 A CN 113918608A CN 202111159632 A CN202111159632 A CN 202111159632A CN 113918608 A CN113918608 A CN 113918608A
Authority
CN
China
Prior art keywords
vehicle
coordinate
time
point
track
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
Application number
CN202111159632.9A
Other languages
Chinese (zh)
Inventor
朱玉涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN202111159632.9A priority Critical patent/CN113918608A/en
Publication of CN113918608A publication Critical patent/CN113918608A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063114Status monitoring or status determination for a person or group

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Computational Linguistics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Remote Sensing (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Navigation (AREA)

Abstract

The application discloses a method, equipment and a storage medium for acquiring a vehicle running track, which are used for solving the technical problem that enterprise vehicle management personnel cannot acquire vehicle running track information in real time. The method comprises the following steps: acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point; integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence; drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period; and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map. By the method, the trip dynamic of the enterprise vehicles is monitored in real time, and the management efficiency of the enterprise vehicles is improved.

Description

Method, equipment and storage medium for acquiring vehicle running track
Technical Field
The present application relates to the field of vehicle management technologies, and in particular, to a method, a device, and a storage medium for obtaining a vehicle driving trajectory.
Background
With the economic development, the number of vehicles used by enterprises is increased. Due to the fact that the trip conditions of the vehicles of the enterprises are complex and changeable, effective information cannot be obtained quickly for one-to-one verification, the enterprises are difficult to effectively monitor and control the operation states of the vehicles in time, and therefore a lot of events are slow in processing and even difficult to solve.
With the maturity and development of GPS technology and network technology, GPS is more and more commonly applied in various industries. Many vehicles have GPS devices installed thereon for vehicle positioning and vehicle navigation. The driver can check the driving condition of the vehicle in real time through the vehicle-mounted terminal, but the vehicle management personnel of each enterprise can not obtain the current driving track information of all the outsourced vehicles of the enterprise in real time.
Disclosure of Invention
The embodiment of the application provides a method, equipment and a storage medium for acquiring a vehicle running track, which are used for solving the technical problem that enterprise vehicle management personnel cannot acquire vehicle running track information in real time.
In one aspect, an embodiment of the present application provides a method for acquiring a vehicle driving track, where the method includes: acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point; integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence; drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period; and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
In one implementation manner of the present application, before the obtaining of the plurality of coordinate points of the vehicle in the current time period and the time point corresponding to each coordinate point, the method further includes: sending coordinate points of the vehicle and time points corresponding to the coordinate points, which are recorded by GPS equipment built in the vehicle, to a plurality of track platforms; the plurality of track platforms are in communication connection with a GPS device built in the vehicle; and associating the license plate number of the vehicle with the coordinate point of the vehicle and the time point corresponding to the coordinate point, and sending the associated license plate number of the vehicle, the coordinate point of the vehicle and the time point corresponding to the coordinate point to the plurality of track platforms.
In an implementation manner of the present application, the obtaining a plurality of coordinate points of a vehicle in a current time period and a time point corresponding to each coordinate point specifically includes: sending a positioning request acquisition instruction to one of a plurality of track platforms; the obtaining and positioning request instruction comprises the license plate number of the vehicle; and receiving a coordinate point of the vehicle corresponding to the license plate number and a time point corresponding to the coordinate point, which are returned by a track platform, based on the positioning request obtaining instruction.
In one implementation manner of the present application, after acquiring a plurality of coordinate points of the vehicle in the current time period and a time point corresponding to each coordinate point, the method further includes: determining whether the coordinate points with the preset number in the preset time length are consistent with the coordinate points returned by the track platform or not; when the number of the preset time periods is inconsistent with the number of the coordinate points, determining that the GPS equipment is abnormal; and generating a fault alarm of the GPS equipment and informing a manager.
In an implementation manner of the present application, the drawing operation is performed on each coordinate point in the coordinate array one by one on a pre-obtained electronic map, so as to obtain a driving track of the vehicle in a current time period, specifically including: traversing the coordinate array to determine a starting point coordinate point and a current time coordinate point of the vehicle; marking all coordinate points contained in the coordinate array on the electronic map one by one; drawing a line segment between two coordinate points adjacent in time interval; and setting a vehicle mark at the current time coordinate point to display the current position of the vehicle on the electronic map.
In one implementation of the present application, after setting a vehicle mark at the current time coordinate point to display the current position of the vehicle on the electronic map, the method further includes: traversing the coordinate array, and determining a coordinate point before the coordinate point at the current moment; determining a driving direction of the vehicle based on the current-time coordinate point and a coordinate point before the current-time coordinate point; adjusting an orientation of the vehicle logo on the electronic map based on a driving direction of the vehicle.
In an implementation manner of the present application, after the rendering operation is delayed based on a preset delay algorithm so that the driving track is dynamically displayed on the electronic map, the method further includes: calculating a distance between a current position and a starting position of the vehicle; judging whether the distance is greater than a preset distance threshold value or not, and determining that the vehicle runs abnormally under the condition that the distance is greater than the distance threshold value; calculating a difference between the distance and the distance threshold; when the difference value is larger than a preset threshold value, determining that the vehicle is over-speed seriously; and recording the overspeed information and sending the overspeed information to a manager.
In one implementation manner of the present application, the calculating a distance between the current position and the starting position of the vehicle specifically includes: calculating the sum of the lengths of line segments between two adjacent coordinate points at all time intervals on the electronic map; and converting the sum of the lengths of the line segments into a length value of an actual distance traveled by the vehicle according to the scale of the electronic map at the current moment.
The embodiment of the application also provides a device for acquiring the running track of the vehicle, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point; integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence; drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period; and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
The embodiment of the application also provides a nonvolatile computer storage medium for acquiring the vehicle running track, which stores computer executable instructions, wherein the computer executable instructions are set as: acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point; integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence; drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period; and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
According to the method, the device and the storage medium for obtaining the vehicle running track, the vehicle-mounted GPS device is in butt joint with the track platforms to store the real-time coordinate points of the vehicle, an enterprise vehicle manager only needs to input the license plate number into the system, the system can automatically search the coordinate points of the vehicle in the track platforms and return the coordinate points to the computer device of the manager, the coordinate points are drawn on the electronic map in a dynamic running track mode at the front end, the manager can visually see the running condition of the vehicle and timely judge whether the vehicle runs at an excessive speed or not, the vehicle-mounted GPS positioning device fails or not, and the like, so that corresponding countermeasures are timely made, and the management efficiency of an enterprise on the vehicle is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of a method for obtaining a driving track of a vehicle according to an embodiment of the present disclosure;
fig. 2 is a display diagram of a vehicle driving track page provided in the embodiment of the present application;
fig. 3 is a schematic diagram of an apparatus for acquiring a vehicle driving track according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the economic development, the number of vehicles used by enterprises is increased. Due to the fact that the trip conditions of the vehicles of the enterprises are complex and changeable, effective information cannot be obtained quickly for one-to-one verification, the enterprises are difficult to effectively monitor and control the operation states of the vehicles in time, and therefore a lot of events are slow in processing and even difficult to solve.
With the maturity and development of GPS technology and network technology, GPS is more and more commonly applied in various industries. Many vehicles have GPS devices installed thereon for vehicle positioning and vehicle navigation. The driver can check the driving condition of the vehicle in real time through the vehicle-mounted terminal, but the vehicle management personnel of each enterprise can not obtain the current driving track information of all the outsourced vehicles of the enterprise in real time.
The embodiment of the application provides a method for acquiring a vehicle running track, which is used for solving the technical problem that enterprise vehicle management personnel cannot acquire vehicle running track information in real time.
The technical solutions proposed in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for obtaining a driving trajectory of a vehicle according to an embodiment of the present disclosure. As shown in fig. 1, the method mainly comprises the following steps:
step 101, obtaining a plurality of coordinate points of the vehicle in the current time period and a time point corresponding to each coordinate point.
In this application embodiment, each enterprise can be sent out the vehicle in the company of oneself, carries out tasks such as cargo transporter and personnel transport. The vehicles are all provided with GPS positioning equipment, the GPS positioning equipment can record the current running coordinate point of the vehicle, and the coordinate point is the longitude and latitude of the running position of the vehicle. And then uploading the recorded coordinate points to a plurality of track platforms for storage.
The number of vehicles in a large enterprise is large, and coordinate points are generated every moment when the vehicles run. If coordinate points of all vehicles inside the enterprise are stored in one track platform, the problem of large storage pressure or insufficient space is inevitable. Therefore, a number can be set for all vehicles, and the coordinate points of the vehicles can be stored in a plurality of track platforms in a slicing mode according to the numbered section. For example, a company has 100 vehicles numbered 1 to 100, coordinate points of the vehicles numbered 1 to 10 are stored in a first track platform and a second track platform, and coordinate points of the vehicles numbered 11 to 20 are stored in a third track platform and a fourth track platform. Therefore, the problem that coordinate points of hundreds of vehicles are stored on one track platform at the same time, and the calculation pressure is too high is solved.
It is conceivable that the GPS positioning device of the vehicle records the coordinate point of the vehicle at the same time as the time point at which the coordinate point was recorded. And the license plate number of the vehicle. And the coordinate points which are driven by the vehicle and the time points which correspond to the coordinate points are in one-to-one correspondence and are correlated, and then the coordinate points are stored in a plurality of track platforms. Therefore, in the track platform, each vehicle generates a file, all coordinate points of the vehicle and the time point of each coordinate point are recorded in the file, and the file is named by the license plate number. For example, the file name is: the number plate XX012345, the file records the coordinate point corresponding to the number plate, the recording format is: 117.08E, 36.67N, XX year XX month XX day XX minute XX second.
In the embodiment of the application, when vehicle management personnel in an enterprise perform overall vehicle arrangement and vehicle travel management, a positioning request acquiring instruction is sent to the track platform through computer equipment, and the positioning request acquiring instruction includes the license plate number of the vehicle which the management personnel want to view. Then the track platform searches in the track platform by taking the license plate number as search content, finds out coordinate points of the corresponding vehicle under the stored license plate number, records time points of the coordinate points, and returns the searched information to the computer equipment of the manager.
It should be noted that, when the administrator wants to check the driving condition of a certain vehicle at a certain time point, the administrator may further include a time period in the positioning request obtaining instruction sent by the computer device, then the track platform searches the license plate number and also uses the time period included in the instruction as search content, and returns all coordinate points of the vehicle in the time period to the computer device.
In the embodiment of the application, the GPS positioning equipment of the automobile is in a state of being started for a long time, so that the GPS positioning equipment is the most prone to failure of the automobile. If the GPS positioning device of the vehicle fails, the manager cannot acquire the coordinate information of the vehicle from the track platform corresponding to the vehicle, and cannot monitor the traveling state of the vehicle in real time. Thus, there is a need for monitoring vehicle GPS devices.
Specifically, a time period is preset, the number of coordinate points which should be recorded in the preset time period is determined, then the track platform is returned to the manager, and whether the number of coordinate points in the computer equipment is consistent with the number of coordinate points which should be recorded is determined. If not, the vehicle GPS device is proved to be in failure. For example, if the GPS device records the coordinate points of the vehicle travel every two seconds, the preset time period is 100 seconds, and 50 times of coordinate points should be recorded within the 100 seconds. If the number of the coordinate points returned by the track platform received by the computer equipment is only 40, the missing of part of the track coordinate points is proved, namely the coordinate points recorded by the GPS equipment are not accurate. The system can judge that the GPS equipment has a fault, and then sends the generated fault information of the GPS equipment to a manager.
And 102, integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array.
In the embodiment of the application, after receiving the coordinate points returned by the track platform to the vehicle and the information such as the time points of the coordinate points, the computer device of the administrator integrates the coordinate points of the vehicle and the time points corresponding to the coordinate points to obtain a coordinate array of the vehicle. It is conceivable that the computer device completes the generation process of the coordinate array through an internal programming operation, and the generated coordinate array is the coordinate point of the vehicle carrying the time attribute mark.
It should be noted that the process of generating the coordinate array by programming the computer device is specifically completed by encoding character strings in JSON format, and the character strings include the coordinate array of the vehicle. Meanwhile, as the longitude and latitude coordinate values of the vehicle actually running are returned, and the electronic map is usually established in a two-dimensional coordinate system, the returned coordinate points also need to be converted into two-dimensional coordinate points, so as to determine the coordinate points on the electronic map.
And 103, drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period.
In the embodiment of the application, after the front end of the computer device receives the character strings coded by the rear end of the computer device through the JSON format, the coordinate array of the vehicle contained in the character strings of the JSON format is extracted. And traversing the coordinate array of the vehicle, so as to find out the coordinate point of the starting point of the vehicle and the coordinate point of the position where the vehicle runs at the current moment. All coordinate points of the vehicle contained in the coordinate array are marked on the electronic map one by one.
Further, after all the coordinate points are marked on the electronic map, two coordinate points adjacent to each other in time interval are connected by a line segment. And setting a mark of the vehicle at a position coordinate point on the electronic map where the vehicle runs at the current moment, wherein the mark is used for indicating the current running position of the vehicle on the electronic map. The vehicle logo may be in the shape of a car or may be in the shape of a triangle or a five-pointed star.
In the embodiment of the application, when the front-end page of the computer device is used for drawing the vehicle track, the current driving direction of the vehicle needs to be determined. Firstly, traversing operation is carried out on the coordinate array, so that a coordinate point before the coordinate point at the current driving moment of the automobile is found. An angle calculation is then made between these two coordinate points. For example, if the corresponding coordinate point of the vehicle driving to the current position on the electronic map is (2, 2) and the coordinate point recorded immediately before the coordinate point is (1, 1), the current driving direction of the vehicle is 45 degrees north east after the vector angle calculation. And according to the calculated driving direction of the vehicle, adjusting the orientation of the vehicle mark in the electronic map so that the current orientation of the vehicle mark in the electronic map can represent the specific orientation of the vehicle in the actual driving process.
In the embodiment of the application, after the whole track is drawn, the computer device can automatically calculate the occupation ratio of the whole track route map on the whole electronic map. If the whole track route occupies a smaller proportion on the electronic map space, only a short track route is occupied, and the track route is positioned at the corner position of the electronic map. The front page is scaled in the system to make the driving track adapt to the current page and display, and the driving track of the vehicle is always placed in the middle of the electronic map page. In addition, the manager can also enlarge or reduce the driving track or specifically view the details of a certain driving track by manually adjusting or dragging the track route map. Fig. 2 is a display diagram of a vehicle driving track page provided by the embodiment of the application, in which a starting point, an ending point, and a whole track line of the vehicle driving track are visible on a front end page, and a license plate number, a starting time, an ending time, a driving mileage, and a driving duration of the vehicle are recorded above the page, so that a manager can intuitively know the driving track of each vehicle.
And 104, performing delay processing on the drawing operation based on a preset delay algorithm so as to dynamically display the driving track on the electronic map.
In the embodiment of the application, the computer device of the administrator dynamically presents the line segment connecting two coordinate points on the electronic map and the advancing process of the vehicle mark on the map in the form of animation by calling a SetInterval delay algorithm in JavaScript. The SetInterval algorithm functions to call functions, methods or objects at regular intervals when an animation is played. The algorithm can be updated in real time as the coordinates returned from the track platform are continually received, using both the addition of the track line segment and the advance of the vehicle marker. In the SetInterval algorithm, the time of the change of the animation picture can be set, for example, one change in 2 seconds is set, and then it appears on the electronic map that the vehicle mark advances every 2 seconds.
In the embodiment of the application, the computer device may further calculate an actual distance length traveled by the vehicle in a certain time period. The specific calculation process is as follows: and calculating the length of the line between all the time intervals and two adjacent coordinate points on the electronic map. All the segment lengths are then added to obtain a total segment length. And then calculating according to the current scale of the electronic map. The total length of the line segments represents the distance length in practice. Since the recording time point of each coordinate point is known, the duration of this period of time is also known. And comparing the time length of the period of time, the preset distance threshold value and the calculated distance length to obtain whether the vehicle is overspeed or not. And overspeed information of the vehicle can be generated and sent to a manager if the vehicle is overspeed, so that the manager can make corresponding decisions in time. Or the calculated distance length is divided by the time, the vehicle speed of the vehicle can be calculated. And then compared with the preset vehicle speed, whether the vehicle runs at an overspeed or not can be judged.
According to the method for acquiring the vehicle running track, the vehicle-mounted GPS equipment is in butt joint with the track platforms to store the real-time coordinate points of the vehicle, an enterprise vehicle manager only needs to input the license plate number into the system, the system can automatically search the coordinate points of the vehicle in the track platforms and return the coordinate points to the computer equipment of the manager, the coordinate points are drawn on an electronic map by the front end in the form of the dynamic running track, the manager can visually see the running condition of the vehicle and timely judge whether the vehicle runs at an overspeed or not, the vehicle-mounted GPS positioning equipment has the problems of failure and the like, so that corresponding countermeasures are timely made, and the management efficiency of an enterprise on the vehicle is improved.
The above is an embodiment of the method provided in the embodiments of the present application. Based on the same inventive concept, the embodiment of the application also provides a schematic diagram of the device for acquiring the vehicle running track. As shown in fig. 3, the apparatus mainly includes:
at least one processor 301; and a memory 302 communicatively coupled to the at least one processor 301; wherein the memory 302 stores instructions executable by the at least one processor 301 to cause the at least one processor 301 to:
acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point; integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence; drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period; and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
Based on the same inventive concept, the embodiment of the present application further provides a non-volatile computer storage medium for acquiring a vehicle driving track, which stores computer executable instructions configured to:
acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point; integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence; drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period; and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
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 an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of obtaining a vehicle travel track, the method comprising:
acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point;
integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence;
drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period;
and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
2. The method for acquiring the vehicle running track according to claim 1, wherein before the acquiring the plurality of coordinate points of the vehicle in the current period and the time point corresponding to each coordinate point, the method further comprises:
sending coordinate points of the vehicle and time points corresponding to the coordinate points, which are recorded by GPS equipment built in the vehicle, to a plurality of track platforms; the plurality of track platforms are in communication connection with a GPS device built in the vehicle;
and associating the license plate number of the vehicle with the coordinate point of the vehicle and the time point corresponding to the coordinate point, and sending the associated license plate number of the vehicle, the coordinate point of the vehicle and the time point corresponding to the coordinate point to the plurality of track platforms.
3. The method for acquiring the vehicle driving track according to claim 1, wherein the acquiring a plurality of coordinate points of the vehicle in the current time period and a time point corresponding to each coordinate point specifically comprises:
sending a positioning request acquisition instruction to one of a plurality of track platforms; the obtaining and positioning request instruction comprises the license plate number of the vehicle;
and receiving a coordinate point of the vehicle corresponding to the license plate number and a time point corresponding to the coordinate point, which are returned by a track platform, based on the positioning request obtaining instruction.
4. The method for acquiring the vehicle running track according to claim 1, wherein after the acquiring the plurality of coordinate points of the vehicle in the current period and the time point corresponding to each coordinate point, the method further comprises:
determining whether the coordinate points with the preset number in the preset time length are consistent with the coordinate points returned by the track platform or not;
when the number of the preset time periods is inconsistent with the number of the coordinate points, determining that the GPS equipment is abnormal;
generating a GPS device fault alarm and notifying a manager.
5. The method for obtaining the vehicle driving track according to claim 1, wherein the step of performing a drawing operation on each coordinate point in the coordinate array one by one on a pre-obtained electronic map to obtain the driving track of the vehicle in the current time period specifically comprises:
traversing the coordinate array to determine a starting point coordinate point and a current time coordinate point of the vehicle;
marking all coordinate points contained in the coordinate array on the electronic map one by one;
drawing a line segment between two coordinate points adjacent in time interval;
and setting a vehicle mark at the current time coordinate point to display the current position of the vehicle on the electronic map.
6. The method for acquiring the vehicle running track according to claim 5, wherein after a vehicle mark is set at the current time coordinate point to display the current position of the vehicle on the electronic map, the method further comprises:
traversing the coordinate array, and determining a coordinate point before the coordinate point at the current moment;
determining a driving direction of the vehicle based on the current-time coordinate point and a coordinate point before the current-time coordinate point;
adjusting an orientation of the vehicle logo on the electronic map based on a driving direction of the vehicle.
7. The method for obtaining the vehicle driving track according to claim 1, wherein after the rendering operation is delayed based on a preset delay algorithm so as to dynamically display the driving track on the electronic map, the method further comprises:
calculating a distance between a current position and a starting position of the vehicle;
judging whether the distance is greater than a preset distance threshold value or not, and determining that the vehicle runs abnormally under the condition that the distance is greater than the distance threshold value;
calculating a difference between the distance and the distance threshold;
when the difference value is larger than a preset threshold value, determining that the vehicle is over-speed seriously;
and recording the overspeed information and sending the overspeed information to a manager.
8. The method for obtaining the vehicle driving track according to claim 7, wherein the calculating the distance between the current position and the starting position of the vehicle specifically comprises:
calculating the sum of the lengths of line segments between two adjacent coordinate points at all time intervals on the electronic map;
and converting the sum of the lengths of the line segments into a length value of an actual distance traveled by the vehicle according to the scale of the electronic map at the current moment.
9. An apparatus for acquiring a running locus of a vehicle, characterized by comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point;
integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence;
drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period;
and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
10. A non-transitory computer storage medium for obtaining a vehicle travel trajectory, the computer storage medium having stored thereon computer-executable instructions configured to:
acquiring a plurality of coordinate points of a vehicle in the current time period and a time point corresponding to each coordinate point;
integrating the plurality of coordinate points and the time point corresponding to each coordinate point to obtain a coordinate array; arranging all coordinate points in the coordinate array according to a time sequence;
drawing each coordinate point in the coordinate array one by one on a pre-acquired electronic map to obtain a running track of the vehicle in the current time period;
and carrying out time delay processing on the drawing operation based on a preset time delay algorithm so as to dynamically display the driving track on the electronic map.
CN202111159632.9A 2021-09-30 2021-09-30 Method, equipment and storage medium for acquiring vehicle running track Pending CN113918608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111159632.9A CN113918608A (en) 2021-09-30 2021-09-30 Method, equipment and storage medium for acquiring vehicle running track

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111159632.9A CN113918608A (en) 2021-09-30 2021-09-30 Method, equipment and storage medium for acquiring vehicle running track

Publications (1)

Publication Number Publication Date
CN113918608A true CN113918608A (en) 2022-01-11

Family

ID=79237320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111159632.9A Pending CN113918608A (en) 2021-09-30 2021-09-30 Method, equipment and storage medium for acquiring vehicle running track

Country Status (1)

Country Link
CN (1) CN113918608A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760323A (en) * 2022-03-02 2022-07-15 浙江吉利控股集团有限公司 Vehicle position information processing method, processing system and storage medium
CN115468577A (en) * 2022-11-02 2022-12-13 昆船智能技术股份有限公司 3D vehicle-mounted navigation method for warehouse-in and warehouse-out operation based on UWB positioning
CN117573744A (en) * 2023-11-02 2024-02-20 中化现代农业有限公司 Agricultural machinery monitoring method, agricultural machinery monitoring device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760323A (en) * 2022-03-02 2022-07-15 浙江吉利控股集团有限公司 Vehicle position information processing method, processing system and storage medium
CN114760323B (en) * 2022-03-02 2024-08-20 浙江吉利控股集团有限公司 Vehicle position information processing method, processing system and storage medium
CN115468577A (en) * 2022-11-02 2022-12-13 昆船智能技术股份有限公司 3D vehicle-mounted navigation method for warehouse-in and warehouse-out operation based on UWB positioning
CN117573744A (en) * 2023-11-02 2024-02-20 中化现代农业有限公司 Agricultural machinery monitoring method, agricultural machinery monitoring device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113918608A (en) Method, equipment and storage medium for acquiring vehicle running track
KR102415293B1 (en) Control device and method for parking area identification
CA2985509C (en) Determining street segment headings
CN113847925B (en) Method, device, equipment and medium for detecting vehicle yaw based on track data
CN105206052B (en) A kind of driving behavior analysis method and apparatus
CN111966729A (en) Vehicle track data processing method, device, equipment and storage medium
CN111105243A (en) Order service security detection method and device and computer readable storage medium
CN112383754B (en) Monitoring method and device for early warning object, electronic equipment and storage medium
CN107767661B (en) Real-time tracking system for vehicle
CN105575155B (en) Method and apparatus for determining vehicle traveling information
CN110108297B (en) Vehicle driving data processing method and device
US20180018835A1 (en) Adaptive gps for advanced tracking and route replay
CN115935056A (en) Method, device and equipment for identifying false track of vehicle and storage medium
CN110901711B (en) Verification method and device for automatically triggering access triggering track
CN115655301A (en) Vehicle navigation route selection method and device, electronic equipment and medium
CN113961552B (en) Method for monitoring ship passing through special area
CN111429047B (en) Monitoring method and device for transportation task
CN112732861A (en) Road information data acquisition method and device and electronic equipment
CN114511193A (en) Method, device, medium and equipment for early warning of risks of orders and vehicle tracks
CN112508310B (en) Driving track simulation method and device and storage medium
CN112633812B (en) Track segmentation method, device, equipment and storage medium for freight vehicle
CN116386341A (en) Method, device and equipment for managing two-passenger one-risk vehicles in tunnel
CN115641033A (en) Method, equipment and medium for monitoring vehicle transportation process
CN113837691A (en) Vehicle yaw detection method, device, equipment and storage medium
CN114187748A (en) Method for automatically monitoring vehicles during in-transit transportation

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