CN113660612A - Track playback method and system and electronic equipment - Google Patents

Track playback method and system and electronic equipment Download PDF

Info

Publication number
CN113660612A
CN113660612A CN202110897791.2A CN202110897791A CN113660612A CN 113660612 A CN113660612 A CN 113660612A CN 202110897791 A CN202110897791 A CN 202110897791A CN 113660612 A CN113660612 A CN 113660612A
Authority
CN
China
Prior art keywords
positioning information
vehicle
track
positioning
positions
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
CN202110897791.2A
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.)
Unicom Intelligent Network Ruixing Technology Beijing Co Ltd
Original Assignee
Unicom Intelligent Network Ruixing Technology Beijing 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 Unicom Intelligent Network Ruixing Technology Beijing Co Ltd filed Critical Unicom Intelligent Network Ruixing Technology Beijing Co Ltd
Priority to CN202110897791.2A priority Critical patent/CN113660612A/en
Publication of CN113660612A publication Critical patent/CN113660612A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Abstract

The embodiment of the application provides a track playback method, a track playback system and electronic equipment, wherein the method is applied to a track playback system, the track playback system is connected with a vehicle-mounted terminal, and the method comprises the following steps: acquiring a plurality of positioning information sent by the vehicle-mounted terminal, wherein the plurality of positioning information comprises a plurality of first positioning information and a plurality of second positioning information, the first positioning information comprises a supplementary transmission identifier, and the supplementary transmission identifier is used for identifying the first positioning information as supplementary transmission data; generating a driving track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information; marking the running track of the vehicle based on the supplementary transmission identifier; and outputting the marked running track of the vehicle.

Description

Track playback method and system and electronic equipment
Technical Field
The present application relates to the field of track playback technologies, and in particular, to a track playback method, a track playback system, and an electronic device.
Background
The track playback is a technology capable of playing back the historical driving track of the vehicle, so that a user can conveniently check the historical driving track of the vehicle, and a powerful support is provided for realizing the management and control of the vehicle.
In the prior art, the running track playback of the vehicle cannot highlight abnormal conditions of the vehicle in the running process. However, these abnormal situations are often the situations that users need to pay attention to, for example, the abnormal situations are limited in that a network (such as a 4G network) is affected by various factors such as terrain, features, and high-rise buildings during the propagation process, or a vehicle travels to a relatively closed place, and the like, and there are phenomena such as poor or even interrupted network signals, and the current positioning information of the vehicle cannot be uploaded or fails to be uploaded. Therefore, the user experience of the travel track playback of the vehicle in the prior art is low.
Disclosure of Invention
The application provides a track playback method, a track playback system and electronic equipment, which can mark a running track of a vehicle so as to highlight abnormal conditions in the running process of the vehicle and are beneficial to improving user experience.
In a first aspect, the present application provides a track playback method, which is applied to a track playback system, where the track playback system establishes a connection with a vehicle-mounted terminal, and the method includes:
acquiring a plurality of positioning information sent by the vehicle-mounted terminal, wherein the plurality of positioning information comprises a plurality of first positioning information and a plurality of second positioning information, the first positioning information comprises a supplementary transmission identifier, and the supplementary transmission identifier is used for identifying the first positioning information as supplementary transmission data;
generating a driving track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information;
marking the running track of the vehicle based on the supplementary transmission identifier;
and outputting the marked running track of the vehicle.
In one possible implementation manner, each of the first positioning information further includes a first position, and the marking the driving track of the vehicle based on the supplementary transmission identifier includes:
marking a plurality of first positions in a running track of the vehicle, wherein the first positions correspond to the supplementary transmission marks.
In one possible implementation manner, each of the positioning information includes a position, and the driving track of the vehicle includes a connection line between a plurality of the positions, and the method further includes:
judging whether the distance between two adjacent positions in the driving track of the vehicle is greater than a preset threshold value or not;
and if the distance between two adjacent positions in the driving track of the vehicle is greater than the preset threshold value, marking a connecting line between the two adjacent positions.
In one possible implementation manner, the positioning information includes a plurality of locations where the vehicle is turned off or turned on and a time, and the method further includes:
and marking a plurality of positions where the vehicle is switched off or started in the running track of the vehicle according to the sequence of the time when the vehicle is switched off or started.
In one possible implementation manner, the generating the driving track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information includes:
acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a first positioning duration every other preset first duration, wherein the first positioning duration is determined according to the acquired current time;
generating the first travel track based on a plurality of the first positioning information and a plurality of the second positioning information within the first positioning duration.
In one possible implementation manner, the method for generating the driving trajectory of the vehicle based on the plurality of first positioning information and the plurality of second positioning information further includes:
acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a second positioning duration every other preset second duration, wherein the second positioning duration is determined according to the acquired current time;
generating the second driving track based on a plurality of the second positioning information and a plurality of the second positioning information within the second positioning duration;
the preset first time length is smaller than the preset second time length, and the first positioning time length is smaller than the second positioning time length.
In one possible implementation manner, the generating the driving trajectory of the vehicle based on the plurality of first positioning information and the plurality of second positioning information includes:
acquiring a plurality of segmentation points, wherein the segmentation points comprise at least one of preset time points and moments when the vehicle is turned off or started;
and connecting the plurality of first positions and the plurality of second positions in each adjacent segmentation point according to the sequence of the first positioning time and the second positioning time to obtain a plurality of segmentation tracks.
In a second aspect, the present application provides a track playback system, the track playback system establishes a connection with a vehicle-mounted terminal, the track playback system includes a gateway, a message queue, a processing unit, and a playback device, wherein,
the gateway is used for receiving the positioning information sent by the vehicle-mounted terminal and sending the positioning information to the message queue;
the message queue is used for storing the positioning information sent by the gateway;
the processing unit is used for acquiring the positioning information from the message queue, executing the method according to the first method, and outputting the running track of the vehicle to the playback device;
the playback device is used for playing back the running track of the vehicle.
In one possible implementation manner, the track playback system further includes a non-relational database and a relational database, where the non-relational database is used to store the positioning information, and the relational database is used to store the driving track of the vehicle.
In a third aspect, the present application provides an electronic device, comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the method of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method according to the first aspect.
In a fifth aspect, the present application provides a computer program for performing the method of the first aspect when the computer program is executed by a computer.
In a possible design, the program of the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
FIG. 1 is a schematic diagram of a method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an embodiment of a track playback system of the present application;
FIG. 3 is a schematic diagram of a map showing a supplementary track in the map according to an embodiment of the track playback method of the present application;
FIG. 4 is a schematic map diagram illustrating an abnormal trajectory displayed in a map according to an embodiment of the trajectory playback method of the present application;
FIG. 5 is a schematic diagram of a map showing flameout numbers in the map according to an embodiment of the track playback method of the present application;
fig. 6 is a schematic structural diagram of an embodiment of an electronic device according to the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
In the prior art, the running track playback of the vehicle cannot highlight abnormal conditions of the vehicle in the running process. However, these abnormal situations are often the situations that users need to pay attention to, for example, the abnormal situations are limited in that a network (such as a 4G network) is affected by various factors such as terrain, features, and high-rise buildings during the propagation process, or a vehicle travels to a relatively closed place, and the like, and there are phenomena such as poor or even interrupted network signals, and the current positioning information of the vehicle cannot be uploaded or fails to be uploaded. Therefore, the user experience of the travel track playback of the vehicle in the prior art is low.
Therefore, the track playback method, the track playback system and the electronic device are provided, the driving track of the vehicle can be marked, so that abnormal conditions in the driving process of the vehicle are highlighted, and the user experience is improved.
In this embodiment, the track playback method shown in fig. 1 is applied to a track playback system, the track playback system is connected to a vehicle-mounted terminal, the vehicle-mounted terminal is installed on a vehicle, the vehicle-mounted terminal acquires positioning information of the vehicle through a positioning module (such as GPS/beidou satellite positioning) when powered on, and then continuously sends the positioning information to the track playback system through a network (such as a 3G, 4G, or 5G network), for example, the vehicle-mounted terminal acquires current positioning information of the vehicle every 30 seconds and uploads the current positioning information to the track playback system. The track playback system is used for executing the track playback method and realizing the playback of the vehicle running track.
Considering that a network (such as a 4G network) is limited by various factors such as terrain, landform or high-rise buildings in the propagation process, or a vehicle runs to a relatively closed place, and the like, and the phenomena of poor or even interrupted network signals exist, so that the current positioning information of the vehicle cannot be uploaded or cannot be uploaded successfully, if the vehicle-mounted terminal is disconnected from the track playback system (the network signals are poor or interrupted, and the like), the vehicle-mounted terminal stores the positioning information which cannot be uploaded or cannot be uploaded successfully in the vehicle-mounted terminal or a vehicle memory, and after the vehicle-mounted terminal is in communication connection with the track playback system again, the vehicle-mounted terminal transmits the positioning information which cannot be uploaded or cannot be uploaded successfully to the track playback system.
In this embodiment, as shown in fig. 2, the track playback system may include a gateway, a message queue, a processing unit, and a playback device, which are electrically connected to each other to implement track playback.
The gateway is in communication connection with the vehicle-mounted terminal, and is used for receiving positioning information (such as first positioning information and second positioning information) sent by the vehicle-mounted terminal and sending the first positioning information and the second positioning information to the message queue. After receiving the positioning information (or data packet) reported by the vehicle-mounted terminal, the gateway analyzes the positioning information (or data packet) according to a specific data transmission protocol, for example, the positioning information is identified by 16-system bits, and the data transmission protocol defines the data content represented by different 16-system bits, including a reporting instruction ID corresponding to the data packet, a specific data field value and the like. The parsed positioning information (or data packet) format is encapsulated according to a gateway and processing unit protocol format, such as JSON format, and a field in the positioning information may include vehicle identification such as license plate number, serial number, ID (deviceId, string type), whether the positioning information is supplementary transmission data (real, string type), communication time (string type), vehicle acc state (accStatus, int type), positioning time (date time, string type), direction (direction, int type), latitude (latitude, double type), longitude (longitude, double type), speed (speed, double type), satellite number (stars, int type), mileage (mileage, double type), oil (double type), voltage (double type), engine speed (engine type, int type), engine temperature (engine temperature, double type), intake air (intake air time, intake air temperature, intake air equipment (intake air equipment), string type), and ignition time such as last ignition time (last ignition time, double type), etc., and the fields in the analyzed positioning information are protocol fields.
And the message queue is used for storing the first positioning information and the second positioning information sent by the gateway. Because the positioning information of the vehicle-mounted terminal is reported frequently, and when the number of the vehicle-mounted terminals is large, the requirement on the concurrent processing performance of the processing unit is high, the gateway sends the positioning information of the vehicle-mounted terminal to the message queue, the data queue waits for processing, and the positioning information of the vehicle-mounted terminal is obtained from the message queue according to the actual consumption capacity of the processing unit and is processed, so that the processing pressure of the processing unit is relieved. In addition, the message queue can store data in a certain period in a persistent mode, even if the processing unit goes down or has other faults, the unprocessed data in the message queue cannot be lost, and after the processing unit is recovered to be normal, the processing unit can continue to process the data from the break point, so that data loss is avoided. Preferably, the message queue may include middleware such as Kafka, RabbitMQ, ActiveMQ, and the like.
And the processing unit is used for acquiring the first positioning information and the second positioning information from the message queue, executing a track playback method and outputting the running track of the vehicle to a playback device.
Further, the track playback system may further include a non-relational database and a relational database, the track playback system further includes a non-relational database and a relational database, the non-relational database is configured to store the first positioning information and the second positioning information, and the relational database is configured to store the driving track of the vehicle.
Specifically, the processing unit periodically acquires the reported positioning information through message queuing and stores the reported positioning information into the non-relational database. Because the reporting frequency of the positioning information is high and the data volume is large, compared with a relational database, the embodiment of the invention adopts a non-relational database to store the positioning information, and has the advantages of high read-write performance, strong horizontal expansion capability of data stored in a Key-Value form, no upper limit of a storage space and the like, and the non-relational database is, for example, MongoDB and the like. Because the traveling track of the vehicle has strong relevance with the service (for example, the user can play back the traveling track of the specified vehicle, etc.), and the data format is fixed, a relational database is selected to store the traveling track of the vehicle, such as Mysql, Oracle, etc.
Playback means for playing back a travel locus of the vehicle. For example, the playback device is, for example, a browser having a track playback function, and the user may select a specified vehicle (such as a license plate number), a start time, an end time, or whether to display the additional transmission positioning information, and the like on the browser, request the corresponding vehicle travel track from the processing unit through the playback device according to the interface protocol, query the corresponding vehicle travel track from the relational database by the processing unit, and feed the corresponding vehicle travel track back to the playback device, and the playback device displays the travel track of the vehicle on the map by using the map interface. The interface protocol may be in JSON format, and the data field includes track start longitude (startLon, double type), end longitude (endLon, double type), start latitude (startLat, double type), end latitude (endLat, double type), track start time (startTime, string type), track end time (endTime, string type), vehicle stop duration (stoptime len, string type), track accumulated mileage (trackKm, double type), track accumulated duration (runtime len, string type), and the like.
Further, the playback device may have a function of playing the travel track of the vehicle to realize track playback control. The playback device can adopt the playing progress bar to perform track playback control, if a user clicks a playing button of the playing progress bar, the track playback control is dynamically displayed in a browser map, the vehicle can sequentially perform track running playback along the positioning position, the user can click a pause button to pause the playing at any time, and meanwhile, the playing progress bar can be dragged to perform skip playing or perform playing speed doubling adjustment, such as accelerated playing or decelerated playing and the like. Further, while the track is played back, the playback device displays the positioning information played back at the current moment, such as the unit where the vehicle is located, the license plate number, the driving speed, the ACC state, the positioning time, and the like. The dynamic display of the track playback can be realized through a map interface, the playing progress control can be realized by calculating the number of the positioning positions to evenly distribute the progress bars, and along with the track playback progress, the running track of the vehicle can be rendered to the current playback positioning position in the map in real time, so that a user can have good watching experience.
Further, the track playback method executed by the processing unit specifically refers to the track playback method of the method embodiment shown in fig. 1.
Fig. 1 is a flowchart of an embodiment of a track playback method of the present application, and as shown in fig. 1, the track playback method may include:
s101, obtaining a plurality of pieces of positioning information sent by the vehicle-mounted terminal, wherein the plurality of pieces of positioning information comprise a plurality of pieces of first positioning information and a plurality of pieces of second positioning information, the first positioning information comprises a supplementary transmission identifier, and the supplementary transmission identifier is used for identifying that the first positioning information is supplementary transmission data.
Preferably, the first positioning information includes a first position and a first positioning time of the vehicle during the communication connection between the vehicle-mounted terminal and the track playback system, and the second positioning information includes a second position and a second positioning time of the vehicle during the disconnection between the vehicle-mounted terminal and the track playback system.
That is to say, in the process of disconnecting the vehicle-mounted terminal from the track playback system, the vehicle-mounted terminal cannot upload the current positioning information (first positioning information) to the track playback system, the vehicle-mounted terminal stores the current positioning information (first positioning information) in the vehicle-mounted terminal or a vehicle memory, and after the vehicle-mounted terminal is in communication connection with the track playback system again, the vehicle-mounted terminal transmits the first positioning information stored in the memory to the track playback system again. The first positioning information comprises a supplementary transmission identifier, and the supplementary transmission identifier is used for identifying the first positioning information as supplementary transmission data. That is, the first positioning information is supplementary transmission data, which may be used to indicate a first position, such as longitude, latitude, or geographic coordinates, where the vehicle is located at the first positioning time.
In the normal communication process between the vehicle-mounted terminal and the track playback system, the vehicle-mounted terminal may upload the current positioning information (second positioning information) to the track playback system once every certain period of time (e.g., every 30 seconds). Therefore, during normal communication, the track playback system may receive the second positioning information transmitted by the in-vehicle terminal at regular intervals. Accordingly, the second positioning information may include a normal identifier, where the normal identifier is used to identify that the second positioning information is non-supplementary transmission data, that is, the second positioning information is non-supplementary transmission data, which may be used to indicate a second position, such as longitude, latitude, or geographic coordinates, where the vehicle is located at the second positioning time.
It should be understood that, in the process of retransmitting the first positioning information (retransmission data), to avoid collision with the reporting of the second positioning information (non-retransmission data), the vehicle-mounted terminal may interleave the plurality of first positioning information during the reporting of the second positioning information (e.g., in a time period between the reporting times of the plurality of second positioning information) according to the sequence of the positioning time to report.
And S102, generating a running track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information.
Specifically, the first position and the second position are sequentially connected according to the sequence of the first positioning time and the second positioning time to obtain the driving track of the vehicle. For example, in a map, according to the sequence of positioning time, adjacent positions (e.g., between a plurality of first positions, between a plurality of second positions, and between a first position and a second position) may be connected by a straight line to form a driving track of a vehicle.
That is, the driving track of the vehicle may include a connection line between a plurality of positions, such as a connection line between a plurality of first positions, a connection line between a plurality of second positions, a connection line between a first position and a second position, and the like.
In one possible implementation manner, the driving trajectory of the vehicle includes a first driving trajectory, and step S103 may include:
s201, acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a first positioning duration every preset first duration, wherein the first positioning duration is determined according to the acquired current time;
s202, generating the first running track based on the plurality of first positioning information and the plurality of second positioning information within the first positioning time length.
For example, the preset first time period may be preset according to an actual application, for example, the preset first time period is 3 hours. The first positioning duration is a preset first time period before the current time, and the preset first time period may be preset according to an actual application condition, for example, the preset first time period is 12 hours or 24 hours. That is, every 3 hours, a plurality of first positioning information and a plurality of second positioning information of which the positioning time is within the current 12 hours or 24 hours and the like are obtained from the non-relational database, and the first driving track is obtained through calculation, so that the real-time performance of track playback is ensured.
In one possible implementation manner, the driving trajectory of the vehicle further includes a second driving trajectory, and step S103 further includes:
s301, acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a second positioning duration every preset second duration, wherein the second positioning duration is determined according to the acquired current time;
s302, generating a second driving track based on a plurality of pieces of second positioning information within the second positioning duration and a plurality of pieces of second positioning information;
the preset first time length is smaller than the preset second time length, and the first positioning time length is smaller than the second positioning time length.
In consideration of the situation that the positioning information is retransmitted, the preset second time period may be preset according to the actual application situation, for example, the preset second time period is 12 hours, the second positioning time period is a preset second time period before the current time, and the preset second time period may be preset according to the actual application situation, for example, the preset second time period is 24 hours or 48 hours. That is, every 12 hours, a plurality of first positioning information and a plurality of second positioning information of which the positioning time is within the current 24 hours or 48 hours are obtained from the non-relational database, and a second driving track is calculated, so that the accuracy of track playback is improved.
It should be noted that, for the same vehicle and the same time period, the playback device may perform track playback according to the second travel track, or the playback device may perform track playback according to the first travel track and the second travel track, respectively, so as to achieve the effect of mutual comparison.
In one possible implementation manner, the driving trajectory of the vehicle includes a plurality of segmented trajectories, and step S103 may include:
s401, acquiring a plurality of segmentation points, wherein the segmentation points comprise at least one of preset time points and moments when the vehicle is shut down or started;
s402, connecting the plurality of first positions and the plurality of second positions in each adjacent segmentation point according to the sequence of the first positioning time and the second positioning time to obtain a plurality of segmentation tracks.
Because the order of magnitude of the positioning information can reach hundreds of millions or even billions generally along with the time, the data volume is huge, and the track playback can not only display the visual vehicle running track, but also display the related information of each running track, such as the vehicle running mileage, the running time, the vehicle flameout information (such as the flameout time, the flameout time and the like), and the like. In order to improve the user experience and reduce the processing pressure of the processing unit, track segmentation calculation can be performed on the historical positioning information to obtain a plurality of segmented tracks.
For example, the preset time point is 24 points per day, and the trajectory segmentation is performed as long as any one of segmentation conditions or segmentation points such as "24 points per day" or "vehicle is turned off or started" is met. Therefore, a segment track can be obtained according to the first positioning information and the second positioning information in each adjacent segment point.
The segmented trajectory may include, but is not limited to, a start time, an end time, a flameout duration, a start location longitude and latitude, an end location longitude and latitude, an accumulated mileage, an accumulated driving duration, etc. of the segmented trajectory.
Further, in combination with the above steps S201, S202, S301, S302, S401 and S402, the first travel track may include a plurality of first segment tracks, the second travel track may include a plurality of second segment tracks, and the step S103 may further include: acquiring a plurality of first positioning information and a plurality of second positioning information within a first positioning duration every preset first duration, and performing track segmentation (refer to steps S401 to S402) to obtain a plurality of first segmented tracks; and acquiring a plurality of first positioning information and a plurality of second positioning information within a second positioning duration every preset second duration (refer to steps S401 to S402), and performing track segmentation to obtain a plurality of second segmented tracks.
It can be understood that each segmented track has strong association with a service, and the data format is fixed, and can be stored in a relational database, so that a user can conveniently perform track playback on the segmented track according to query conditions, user experience is improved, and processing pressure of a processing unit is reduced.
And S103, marking the running track of the vehicle based on the supplementary transmission identifier.
That is, by indicating a part of the traveling track of the vehicle, an abnormal situation of the vehicle during traveling is highlighted. For example, according to the supplementary transmission identifier, a supplementary transmission track section (for example, a track section obtained from the first positioning information) in the vehicle driving track is marked so as to highlight abnormal conditions such as data supplementary transmission and the like occurring in the driving process of the vehicle.
In one possible implementation manner, step S103 may include:
s501, marking a plurality of first positions in the running track of the vehicle, wherein the supplementary transmission marks correspond to the first positions.
That is to say, the supplementary transmission identifier in the first positioning information can be used to identify the first position as the positioning position of the supplementary transmission of the vehicle-mounted terminal. Therefore, according to the supplementary transmission identifier, which positions in the vehicle driving track are the first positions (namely, the supplementary transmission positioning positions) can be determined, and the plurality of first positions are marked by adopting a color or dotting mode (for example, a plurality of position points are added in the vehicle driving track) and the like, so that the abnormal conditions of the supplementary transmission positioning positions and the like in the vehicle driving track are prompted to a user, and the phenomena of poor communication quality or signal interruption and the like when the vehicle drives through the supplementary transmission positioning positions are prompted to the user.
In one possible implementation manner, the driving track of the vehicle includes a connection line between a plurality of the first positions, and step S103 may include:
and S502, marking connecting lines among the first positions.
For example, according to the supplementary transmission identifier and the first position in the first positioning information, a connection line between a plurality of first positions in the vehicle driving track is determined, and the connection line between the plurality of first positions (such as the supplementary transmission track in the map shown in fig. 3) is marked in rendering modes such as colors and the like, so as to distinguish other connection lines (or track segments) and play a role of prompting a user. That is, the connecting lines between the plurality of first positions are used for representing the supplementary transmission track segment obtained according to the supplementary transmission data (first positioning information), so that which driving track is the supplementary transmission track segment is intuitively displayed in the track playback process, and the user is prompted that the communication quality is poor or the signal is interrupted when the vehicle drives through the supplementary transmission track.
In one possible implementation manner, the method may further include:
s601, judging whether the distance between two adjacent positions in the driving track of the vehicle is larger than a preset threshold value or not;
and S602, if the distance between two adjacent positions in the driving track of the vehicle is greater than the preset threshold value, marking a connecting line between the two adjacent positions.
Under normal conditions, the reporting time interval of the positioning information (such as the interval between adjacent positioning moments) is short, so that the distance between adjacent positioning positions is short, and the connecting line between adjacent positioning positions is short, therefore, the output vehicle running track should be smooth. However, if a track abnormal condition (such as a data transmission link problem or a human problem) occurs, a distance (e.g., a linear distance) between adjacent positioning positions may be greater than a preset threshold, and the track abnormal condition is often a condition that a user needs to pay attention to, so to highlight the track abnormal condition, if a distance between two adjacent positions (e.g., a distance between two adjacent first positions, a distance between two adjacent second positions, or a distance between two adjacent first positions and second positions) is greater than the preset threshold, a connection line (e.g., an abnormal track in a map shown in fig. 4) between the two adjacent positions is marked by using a rendering method such as color, so as to distinguish other connection lines, and start an action of warning the user.
In one possible implementation manner, the positioning information further includes a location and a time when the plurality of vehicles are turned off or started, and the method may further include:
and S701, marking a plurality of positions where the vehicle is shut down or started in a running track of the vehicle according to the sequence of the time when the vehicle is shut down or started.
Specifically, the first positioning information or the second positioning information may include a flameout or start position and a time of the vehicle, and in a driving track of the vehicle, a flameout or start position (such as a flameout serial number in a map shown in fig. 5) of each vehicle is marked according to a rendering manner such as a sampling digital serial number and a sequence of the flameout or start time of the vehicle, so as to show the flameout or start position, the flameout or start time, flameout duration and other information of the vehicle in the driving track, thereby facilitating vehicle management.
And S104, outputting the marked running track of the vehicle.
That is to say, the driving track of the vehicle may be displayed on a map, and the connecting lines between the first positions after the indication, the abnormal track after the indication, and/or the flameout or start positions of the vehicle after the indication may be displayed on the map, so as to highlight the abnormal situation occurring during the driving process of the vehicle.
Further, the track playback system may further include a user query unit, configured to receive query information input by a user, such as a license plate number, a start time, an end time, and the like, and according to the query information, the processing unit retrieves a corresponding vehicle travel track (or segment track) from the relational database, and outputs the vehicle travel track (or segment track) to the playback device, and the playback device performs playback.
It can be understood that, if the output vehicle driving track includes a plurality of segment tracks, the playback device can display each segment track in a list manner, so that a user can select any one segment track to play.
Furthermore, the query information input by the user may further include whether to display the supplementary transmission track, and if so, the connection lines between the marked first positions are displayed in the map so as to highlight the supplementary transmission track segment for the user to check.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
It should be understood that the above division of the modules of the track playback system 100 shown in fig. 2 is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling by the processing element in software, and part of the modules can be realized in the form of hardware. For example, the processing unit may be a separate processing element, or may be integrated into a chip of the electronic device. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors (DSPs), one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, these modules may be integrated together and implemented in the form of a System-On-a-Chip (SOC).
Fig. 6 is a schematic structural diagram of an embodiment of an electronic device of the present application, and as shown in fig. 6, the electronic device may include: one or more processors; a memory; and one or more computer programs.
The electronic device can be an intelligent terminal such as a mobile phone, a computer, a server, a track playback device and the like.
Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
acquiring a plurality of positioning information sent by the vehicle-mounted terminal, wherein the plurality of positioning information comprises a plurality of first positioning information and a plurality of second positioning information, the first positioning information comprises a supplementary transmission identifier, and the supplementary transmission identifier is used for identifying the first positioning information as supplementary transmission data;
generating a driving track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information;
marking the running track of the vehicle based on the supplementary transmission identifier;
and outputting the marked running track of the vehicle.
In one possible implementation manner, each piece of first positioning information further includes a first position, and when the instruction is executed by the device, the device executes the supplementary transmission identifier to mark the driving track of the vehicle, including:
marking a plurality of first positions in a running track of the vehicle, wherein the first positions correspond to the supplementary transmission marks.
In one possible implementation manner, each of the positioning information includes a position, and the driving track of the vehicle includes a connection line between a plurality of the positions, and when the instruction is executed by the apparatus, the apparatus is caused to execute:
judging whether the distance between two adjacent positions in the driving track of the vehicle is greater than a preset threshold value or not;
and if the distance between two adjacent positions in the driving track of the vehicle is greater than the preset threshold value, marking a connecting line between the two adjacent positions.
In one possible implementation manner, the positioning information includes a plurality of locations and times at which the vehicle is turned off or turned on, and when the instruction is executed by the apparatus, the apparatus is caused to perform:
and marking a plurality of positions where the vehicle is switched off or started in the running track of the vehicle according to the sequence of the time when the vehicle is switched off or started.
In one possible implementation manner, the generating the driving track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information by the apparatus when the instruction is executed by the apparatus includes:
acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a first positioning duration every other preset first duration, wherein the first positioning duration is determined according to the acquired current time;
generating the first travel track based on a plurality of the first positioning information and a plurality of the second positioning information within the first positioning duration.
In one possible implementation manner, the driving trajectory of the vehicle further includes a second driving trajectory, and when the instruction is executed by the apparatus, the apparatus is caused to execute the generating of the driving trajectory of the vehicle based on the plurality of first positioning information and the plurality of second positioning information, further includes:
acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a second positioning duration every other preset second duration, wherein the second positioning duration is determined according to the acquired current time;
generating the second driving track based on a plurality of the second positioning information and a plurality of the second positioning information within the second positioning duration;
the preset first time length is smaller than the preset second time length, and the first positioning time length is smaller than the second positioning time length.
In one possible implementation manner, the generating the driving track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information by the apparatus includes:
acquiring a plurality of segmentation points, wherein the segmentation points comprise at least one of preset time points and moments when the vehicle is turned off or started;
and connecting the plurality of first positions and the plurality of second positions in each adjacent segmentation point according to the sequence of the first positioning time and the second positioning time to obtain a plurality of segmentation tracks.
The electronic device shown in fig. 6 may be a terminal device or a circuit device built in the terminal device. The apparatus may be used to perform the functions/steps of the method provided by the embodiment of fig. 1 of the present application.
As shown in fig. 6, the electronic device 900 includes a processor 910 and a memory 920. Wherein, the processor 910 and the memory 920 can communicate with each other through the internal connection path to transmit control and/or data signals, the memory 920 is used for storing computer programs, and the processor 910 is used for calling and running the computer programs from the memory 920.
The memory 920 may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM), or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disc storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc.
The processor 910 and the memory 920 may be combined into a processing device, and more generally, independent components, and the processor 910 is configured to execute the program codes stored in the memory 920 to realize the functions. In particular implementations, the memory 920 may be integrated with the processor 910 or may be separate from the processor 910.
It should be appreciated that the electronic device 900 shown in fig. 6 is capable of implementing the processes of the methods provided by the embodiments shown in fig. 1 of the present application. The operations and/or functions of the respective modules in the electronic device 900 are respectively for implementing the corresponding flows in the above-described method embodiments. Reference may be made specifically to the description of the embodiment of the method illustrated in fig. 1 of the present application, and a detailed description is appropriately omitted herein to avoid redundancy.
It should be understood that the processor 910 in the electronic device 900 shown in fig. 6 may be a system on chip SOC, and the processor 910 may include a Central Processing Unit (CPU), and may further include other types of processors, such as: an image Processing Unit (hereinafter, referred to as GPU), and the like.
In summary, various portions of the processors or processing units within the processor 910 may cooperate to implement the foregoing method flows, and corresponding software programs for the various portions of the processors or processing units may be stored in the memory 930.
The application also provides an electronic device, the device includes a storage medium and a central processing unit, the storage medium may be a non-volatile storage medium, a computer executable program is stored in the storage medium, and the central processing unit is connected with the non-volatile storage medium and executes the computer executable program to implement the method provided by the embodiment shown in fig. 1 of the application.
In the above embodiments, the processors may include, for example, a CPU, a DSP, a microcontroller, or a digital Signal processor, and may further include a GPU, an embedded Neural Network Processor (NPU), and an Image Signal Processing (ISP), and the processors may further include necessary hardware accelerators or logic Processing hardware circuits, such as an ASIC, or one or more integrated circuits for controlling the execution of the program according to the technical solution of the present application. Further, the processor may have the functionality to operate one or more software programs, which may be stored in the storage medium.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the method provided by the embodiment shown in fig. 1 of the present application.
Embodiments of the present application also provide a computer program product, which includes a computer program, when the computer program runs on a computer, causing the computer to execute the method provided by the embodiment shown in fig. 1 of the present application.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A track playback method is applied to a track playback system, the track playback system is connected with a vehicle-mounted terminal, and the method is characterized by comprising the following steps:
acquiring a plurality of positioning information sent by the vehicle-mounted terminal, wherein the plurality of positioning information comprises a plurality of first positioning information and a plurality of second positioning information, the first positioning information comprises a supplementary transmission identifier, and the supplementary transmission identifier is used for identifying the first positioning information as supplementary transmission data;
generating a driving track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information;
marking the running track of the vehicle based on the supplementary transmission identifier;
and outputting the marked running track of the vehicle.
2. The method according to claim 1, wherein each of the first positioning information further includes a first position, and the marking the driving track of the vehicle based on the supplementary transmission identifier includes:
marking a plurality of first positions in a running track of the vehicle, wherein the first positions correspond to the supplementary transmission marks.
3. The method of claim 1, wherein each of the positioning information includes a location, and the driving trace of the vehicle includes a connection line between a plurality of the locations, the method further comprising:
judging whether the distance between two adjacent positions in the driving track of the vehicle is greater than a preset threshold value or not;
and if the distance between two adjacent positions in the driving track of the vehicle is greater than the preset threshold value, marking a connecting line between the two adjacent positions.
4. The method of claim 1, wherein the location information includes a plurality of locations and times at which the vehicle is turned off or on, the method further comprising:
and marking a plurality of positions where the vehicle is switched off or started in the running track of the vehicle according to the sequence of the time when the vehicle is switched off or started.
5. The method according to any one of claims 1 to 4, wherein the travel track of the vehicle includes a first travel track, and wherein generating the travel track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information includes:
acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a first positioning duration every other preset first duration, wherein the first positioning duration is determined according to the acquired current time;
generating the first travel track based on a plurality of the first positioning information and a plurality of the second positioning information within the first positioning duration.
6. The method of claim 5, wherein the travel trajectory of the vehicle further comprises a second travel trajectory, the generating the travel trajectory of the vehicle based on the plurality of first positioning information and the plurality of second positioning information further comprising:
acquiring a plurality of pieces of first positioning information and a plurality of pieces of second positioning information within a second positioning duration every other preset second duration, wherein the second positioning duration is determined according to the acquired current time;
generating the second driving track based on a plurality of the second positioning information and a plurality of the second positioning information within the second positioning duration;
the preset first time length is smaller than the preset second time length, and the first positioning time length is smaller than the second positioning time length.
7. The method according to any one of claims 1 to 4, wherein the first positioning information includes a first position and a first positioning time, the second positioning information includes a second position and a second positioning time, the travel track of the vehicle includes a plurality of segment tracks, and the generating the travel track of the vehicle based on the plurality of first positioning information and the plurality of second positioning information includes:
acquiring a plurality of segmentation points, wherein the segmentation points comprise at least one of preset time points and moments when the vehicle is turned off or started;
and connecting the plurality of first positions and the plurality of second positions in each adjacent segmentation point according to the sequence of the first positioning time and the second positioning time to obtain a plurality of segmentation tracks.
8. A track playback system, which is connected with a vehicle-mounted terminal, is characterized by comprising a gateway, a message queue, a processing unit and a playback device,
the gateway is used for receiving the positioning information sent by the vehicle-mounted terminal and sending the positioning information to the message queue;
the message queue is used for storing the positioning information sent by the gateway;
the processing unit is used for acquiring the positioning information from the message queue and executing the method of any one of claims 1 to 7, and outputting the running track of the vehicle to the playback device;
the playback device is used for playing back the running track of the vehicle.
9. The track playback system of claim 8, further comprising a non-relational database for storing the positioning information and a relational database for storing a travel track of the vehicle.
10. An electronic device, comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the method of any of claims 1-7.
11. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1 to 7.
CN202110897791.2A 2021-08-05 2021-08-05 Track playback method and system and electronic equipment Pending CN113660612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110897791.2A CN113660612A (en) 2021-08-05 2021-08-05 Track playback method and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110897791.2A CN113660612A (en) 2021-08-05 2021-08-05 Track playback method and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN113660612A true CN113660612A (en) 2021-11-16

Family

ID=78478523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110897791.2A Pending CN113660612A (en) 2021-08-05 2021-08-05 Track playback method and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN113660612A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354896A (en) * 2015-11-13 2016-02-24 江苏南亿迪纳数字科技发展有限公司 Automobile driving recorder locus segmentation method
CN108665698A (en) * 2018-05-21 2018-10-16 杭州优行科技有限公司 Net based on track about vehicle monitoring and managing method and device
CN109348422A (en) * 2018-10-19 2019-02-15 海南易乐物联科技有限公司 Based on OBD/TBOX equipment trajectory segment processing method
CN112445885A (en) * 2020-12-09 2021-03-05 卡斯柯信号有限公司 Method and device for displaying and replaying train track of off-line map
CN113140048A (en) * 2021-04-15 2021-07-20 北京世纪高通科技有限公司 Vehicle mileage determination method, device and system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354896A (en) * 2015-11-13 2016-02-24 江苏南亿迪纳数字科技发展有限公司 Automobile driving recorder locus segmentation method
CN108665698A (en) * 2018-05-21 2018-10-16 杭州优行科技有限公司 Net based on track about vehicle monitoring and managing method and device
CN109348422A (en) * 2018-10-19 2019-02-15 海南易乐物联科技有限公司 Based on OBD/TBOX equipment trajectory segment processing method
CN112445885A (en) * 2020-12-09 2021-03-05 卡斯柯信号有限公司 Method and device for displaying and replaying train track of off-line map
CN113140048A (en) * 2021-04-15 2021-07-20 北京世纪高通科技有限公司 Vehicle mileage determination method, device and system and storage medium

Similar Documents

Publication Publication Date Title
US20200357194A1 (en) Providing autonomous vehicle maintenance
US10556541B2 (en) Vehicle periphery monitoring device and vehicle periphery monitoring system
US9349228B2 (en) Driver scorecard system and method
CN107731010B (en) Intelligent front vehicle avoidance recommendation method and system in Internet of vehicles environment
CN107430813B (en) Driving support information generation device, driving support information generation method, driving support device, and driving support method
JP2019507334A (en) Navigation system and method
US10916133B2 (en) Determination of an optimum speed for a motor vehicle approaching a traffic light
US20120209632A1 (en) Telematics smart pinging systems and methods
KR20210088465A (en) method and device of assisting vehicle driving, electronic apparatus, storage medium, and computer program product
CN104750753B (en) A kind of driving behavior report-generating method and equipment
US8977427B2 (en) System, method and odometer monitor for detecting connectivity status of mobile data terminal to vehicle
US20180018835A1 (en) Adaptive gps for advanced tracking and route replay
CN110392396B (en) Cloud-based network optimizer for connecting vehicles
KR20140054673A (en) Apparatus for transmitting message based on v2x and method thereof
CN113670325A (en) Path deviation detection method and system and electronic equipment
CN113660612A (en) Track playback method and system and electronic equipment
CN114199274A (en) Vehicle travel determining method, device and equipment and readable storage medium
CN114708748A (en) Method and system for judging train number state and readable storage medium
CN111798591B (en) Method and device for determining total mileage of vehicle, computer equipment and storage medium
EP2803033A1 (en) Telematics smart pinging systems and methods
CN112859764A (en) Industrial remote control system and method based on 5g
JP2010231584A (en) Traffic information management apparatus, traffic information management method and traffic information management program
CN113868346A (en) Map display method and system and electronic equipment
US20220332324A1 (en) Identifying an origin of abnormal driving behavior for improved vehicle operation
CN112667671B (en) Road network data processing method and device, computer equipment and storage medium

Legal Events

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