CN114061587A - Track information processing method and device, electronic equipment and storage medium - Google Patents

Track information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114061587A
CN114061587A CN202111350003.4A CN202111350003A CN114061587A CN 114061587 A CN114061587 A CN 114061587A CN 202111350003 A CN202111350003 A CN 202111350003A CN 114061587 A CN114061587 A CN 114061587A
Authority
CN
China
Prior art keywords
effective
positioning data
information
track
distance
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.)
Granted
Application number
CN202111350003.4A
Other languages
Chinese (zh)
Other versions
CN114061587B (en
Inventor
杨兴华
高祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Manyun Software Technology Co Ltd
Original Assignee
Jiangsu Manyun Software 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 Jiangsu Manyun Software Technology Co Ltd filed Critical Jiangsu Manyun Software Technology Co Ltd
Priority to CN202111350003.4A priority Critical patent/CN114061587B/en
Publication of CN114061587A publication Critical patent/CN114061587A/en
Application granted granted Critical
Publication of CN114061587B publication Critical patent/CN114061587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

The application provides a track information processing method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining effective track information of a vehicle terminal; equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections; determining effective positioning data of the target from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment; sending an interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and effective equally dividing points; and receiving and storing the incremental route points sent by the map server. According to the embodiment of the application, the map server is used for increasing the positioning points of the actual route in the map according to the effective equal division points, so that the incremental route points are obtained, and the vehicle running track drawn through the incremental route points is more fit with the actual route.

Description

Track information processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of positioning technologies, and in particular, to a method and an apparatus for processing track information, an electronic device, and a storage medium.
Background
In order to track the networked passenger vehicles and the networked freight vehicles in real time, positioning devices, such as Beidou positioning devices or GPS positioning devices, are required to be installed on the networked passenger vehicles and the networked freight vehicles, and the networked passenger vehicles and the networked freight vehicles directly or indirectly send positioning data acquired by the positioning devices to corresponding transportation platform servers. Taking a freight vehicle as an example, after a cargo owner releases an order on a transportation platform server, the cargo owner delivers the cargo to a freight driver for carrying. In the transportation process of the goods, the current position information is uploaded to the transportation platform server at intervals through the positioning device on the vehicle, and a shipper can check the position information of the vehicle through the transportation platform server.
After receiving the position information, the transportation platform server maps the positioning points corresponding to the positioning information on a map, and the positioning points are connected by lines to form a driving track of the vehicle, wherein the driving track is a broken line and is not close to the actual road direction.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for processing track information, an electronic device, and a storage medium, so as to solve the problem in the prior art that a drawn track route does not conform to an actual road trend.
In a first aspect, an embodiment of the present application provides a trajectory information processing method, which is applied to a transportation platform server, and includes: the method comprises the steps of obtaining effective track information of a vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data; equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections; determining effective positioning data of the target from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment; sending an interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points; and receiving and storing the incremental route points sent by the map server.
According to the embodiment of the application, the effective equal division points are determined from the received effective track information, and the interval point set containing the effective equal division points is sent to the map server, so that the map server increases the positioning points of the actual route in the map according to the effective equal division points, the incremental route points are obtained, and the vehicle running track drawn through the incremental route points is more fit with the actual route.
In any embodiment, the determining, from the effective positioning data contained in each equally-divided distance segment, the target effective positioning data as the effective equally-divided point of the corresponding equally-divided distance includes: determining a midpoint in the equally spaced segments; and taking the effective positioning data closest to the intermediate point as the effective equally dividing point corresponding to the equally dividing distance segment. According to the embodiment of the application, the middle point of each equal division distance section is used as an effective equal division point, so that the obtained effective equal division points are distributed uniformly, and the accuracy of the vehicle track is improved.
In any embodiment, the obtaining effective track information of the vehicle terminal includes: acquiring current position information of the vehicle terminal; judging whether the distance between the vehicle terminal and a loading place or a unloading place is smaller than a preset distance according to the current position information; if the effective track information is smaller than the preset distance, acquiring the effective track information according to a first preset time period; otherwise, acquiring the effective track information according to a second preset time period; wherein the first preset time period is less than the second preset time period. In the embodiment of the application, when the vehicle terminal is determined to be close to the loading and unloading places, the vehicle terminal is controlled to report the effective track information frequently, and when the vehicle terminal is determined to be close to the loading and unloading places, the effective track information is obtained to be lengthened at intervals, so that the consumption of flow can be effectively reduced.
In any embodiment, the method further comprises: receiving a track checking request sent by a goods owner terminal, wherein the track checking request comprises order information; inquiring corresponding order state according to the order information; if the order state is finished, acquiring a full increment line point corresponding to the order information from a storage medium; and sending the full increment route point to a goods owner terminal corresponding to the vehicle terminal so that the goods owner terminal displays the running track of the vehicle terminal according to the full increment route point. According to the method and the device for checking the track, after the track checking request is received, if the order state is finished, all the driving tracks of the vehicle terminal corresponding to the order are sent to the goods owner terminal, so that the goods owner can know the driving route information of the vehicle terminal.
In any embodiment, the method further comprises: if the order state is unfinished, acquiring a full increment line point corresponding to the order information from a storage medium, and acquiring a latest increment line point corresponding to a time period from the latest time to the current time corresponding to the increment line point from the map server; and sending the incremental line point and the nearest incremental line point to a goods owner terminal corresponding to the vehicle terminal so that the goods owner terminal displays the driving track of the vehicle terminal according to the incremental line point and the nearest incremental line point. After receiving the track checking request, if the order state is not complete, the embodiment of the application acquires the stored incremental route points from the storage medium and acquires the latest incremental route points from the map server so as to send all the incremental route points driven by the vehicle terminal to the cargo owner terminal.
In any embodiment, before obtaining the effective trajectory information of the vehicle terminal, the method further includes: sending a track acquisition instruction to a vehicle terminal according to a third preset time period, so that the vehicle terminal acquires track information in the third preset time period after receiving the track acquisition instruction; receiving the track information; wherein the trajectory information comprises a plurality of positioning data; performing rarefaction processing on the plurality of positioning data to obtain effective positioning data; and storing the effective positioning data into a storage medium. The embodiment of the application performs rarefaction processing on the positioning data, so that the positioning data sent to the map server is effective, and the calculation pressure of the map server is reduced.
In any embodiment, the performing the rarefaction process on the plurality of positioning data includes: performing rarefaction on the plurality of positioning data according to a preset time interval or a preset distance interval to obtain rarefaction data; obtaining two adjacent rarefying data P from the rarefying dataiAnd PjAccording to PiAnd PjThe distance and time therebetween, calculating the traveling speed of the vehicle, and if the traveling speed is greater than a preset speed, determining PjTo be abnormal, P is addedjAnd removing the effective positioning data. According to the method and the device, effective positioning data are obtained by performing rarefaction and abnormal point elimination on the plurality of positioning data.
In a second aspect, an embodiment of the present application provides a trajectory information processing apparatus, including: the track acquisition module is used for acquiring effective track information of the vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data; the dividing module is used for equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections; the determining module is used for determining target effective positioning data from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment; the sending module is used for sending the interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points; and the receiving module is used for receiving and storing the incremental route points sent by the map server.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a memory and a bus, wherein the processor and the memory are communicated with each other through the bus; the memory stores program instructions executable by the processor, the processor being capable of performing the method of the first aspect when invoked by the program instructions.
In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, including: the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform the method of the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a track information processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of determining an effective bisection point according to an embodiment of the present application;
fig. 3 is a flowchart of track information storage according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a track information processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to solve the problem that in the prior art, the running track of a vehicle terminal is drawn as a fold line through positioning data collected by a positioning device on the vehicle terminal and is not attached to the trend of an actual road surface, the embodiment of the application provides a track information processing method.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Fig. 1 is a schematic flow chart of a trajectory information processing method provided in an embodiment of the present application, and as shown in fig. 1, the method is applied to a transportation platform server, where the transportation platform server is in communication connection with a vehicle terminal, and the method includes:
step 101: the method comprises the steps of obtaining effective track information of a vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data.
The vehicle terminal can be a vehicle-mounted terminal, or a mobile terminal used by a driver driving a vehicle, specifically, a mobile phone, a tablet computer, a smart watch and the like, as long as the positioning function can be realized, and the vehicle terminal can be in communication connection with the transportation platform server. The effective track information is a track drawn by a plurality of effective positioning data. The effective positioning data is obtained by extracting the effective positioning data reported by the vehicle terminal from the transportation platform server in advance and is stored in a storage medium, each effective positioning data also has corresponding time information, and the time information is the time corresponding to the vehicle terminal when the effective positioning data is collected.
Step 102: and equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections.
In a specific implementation process, after obtaining the effective track information, the transportation platform server may equally divide the effective track information according to a preset number of segments, or equally divide the effective track information according to a preset distance.
Step 103: and determining the effective positioning data of the target from the effective positioning data contained in each equal-division distance segment as the effective equal-division points of the corresponding equal-division distance segment.
After the transportation platform server obtains a plurality of equal-division distance sections, because each equal-division distance section comprises a plurality of effective positioning data, in order to ensure the accurate basis of the track, the calculation pressure of the map server is reduced, and one target effective positioning data can be determined from each equal-division distance section and is used as an effective equal-division point of the equal-division distance section. Of course, two effective object location data may also be determined from the equal division distance segment, and the number of the specific effective object location data may be preset according to an actual situation, which is not specifically limited in the embodiment of the present application.
Step 104: sending an interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; wherein the set of interval points comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equal division points.
After determining the effective object location data corresponding to each equal-division distance segment, the transportation platform server sends all the effective object location data as a set of interval points to the map server, and it can be understood that the map server can be a high-resolution map server or a Baidu map server. And after receiving the interval point set, the map server matches the actual running track route of the vehicle terminal according to the effective equal division points in the interval point set. After the actual running track route is determined, inserting a preset number of route points in the track route between two adjacent effective equally dividing points to obtain incremental route points. It will be appreciated that incremental route points include route points and efficient bisection points inserted by the map server. The map server asynchronously pulls route points through mq.
Step 105: and receiving and storing the incremental route points sent by the map server.
After obtaining the incremental route point, the map server sends the incremental route point to the transportation platform server, and the transportation platform server stores the received incremental route point in a storage medium, where the storage medium may be a database.
According to the embodiment of the application, the effective equal division points are determined from the received effective track information, and the interval point set containing the effective equal division points is sent to the map server, so that the map server increases the positioning points of the actual route in the map according to the effective equal division points, the incremental route points are obtained, and the vehicle running track drawn through the incremental route points is more fit with the actual route.
On the basis of the above embodiment, the determining, from the effective location data included in each equally-divided distance segment, the target effective location data as the effective equally-divided point of the corresponding equally-divided distance includes:
determining a midpoint in the equally spaced segments;
and taking the effective positioning data closest to the intermediate point as the effective equally dividing point corresponding to the equally dividing distance segment.
In a specific implementation process, the transportation platform server equally divides each equally-divided distance section into two sections, and the division point is the middle point. And taking the effective positioning data closest to the middle point as an effective equally dividing point of the equally dividing distance. Fig. 2 is a schematic diagram of determining effective bisectors according to an embodiment of the present application, and as shown in fig. 2, open circles represent effective positioning data in the bisector segments, and filled circles represent middle points in the bisector segments. The distance between effective positioning data A and the intermediate point O is 10 meters, the distance between effective positioning data B and the intermediate point O is 8 meters, the distance between effective positioning data C and the intermediate point O is 5.4 meters, the distance between effective positioning data D and the intermediate point O is 2.2 meters, the distance between effective positioning data E and the intermediate point O is 4 meters, the distance between effective positioning data F and the intermediate point O is 6 meters, and the distance between effective positioning data G and the intermediate point O is 10.3 meters. Since the effective positioning data D has the shortest distance to the intermediate point O, the effective positioning data D is used as the effective distance of the equal division distance segment.
The embodiment of the application takes the middle point of each equal division distance segment as the effective equal division point, so that the obtained effective equal division points are distributed uniformly, and the accuracy of the vehicle track is improved.
On the basis of the above embodiment, the acquiring effective track information of the vehicle terminal includes:
acquiring current position information of the vehicle terminal;
judging whether the distance between the vehicle terminal and a loading place or a unloading place is smaller than a preset distance according to the current position information;
if the effective track information is smaller than the preset distance, acquiring the effective track information according to a first preset time period; otherwise, acquiring the effective track information according to a second preset time period; wherein the first preset time period is less than the second preset time period.
In a specific implementation process, the vehicle terminal sends positioning data collected in a preset time interval to the transportation platform server according to the preset time interval, after the transportation platform server obtains the positioning data, the current position information of the vehicle terminal is obtained from the positioning data, whether the distance between the vehicle terminal and a loading place is smaller than a preset distance or whether the distance between the vehicle terminal and the loading place is smaller than the preset distance is judged based on the current position information, it can be understood that the distance between the current position information and the loading place or the unloading place can be a straight line distance or an actual driving distance, and the preset distance is a preset distance, for example: may be 10 km, 20 km, etc. If the distance is less than the preset distance, it indicates that the vehicle terminal is near the loading place or the unloading place, and at this time, the transportation platform server may obtain valid trajectory information once every first preset time period, for example: may be taken every 5 minutes, may be taken once every 6 minutes, and so on. If the distance is not less than the preset distance, it indicates that the vehicle terminal is far away from the loading place or the unloading place, and the transportation platform server may obtain valid trajectory information once every second preset time period, for example: the acquisition may be performed every 10 minutes, or may be performed every 15 minutes. In summary, the first preset time period is smaller than the second preset time period.
In the embodiment of the application, when the vehicle terminal is determined to be close to the loading and unloading places, the vehicle terminal is controlled to report the effective track information frequently, and when the vehicle terminal is determined to be close to the loading and unloading places, the effective track information is obtained to be lengthened at intervals, so that the consumption of flow can be effectively reduced.
On the basis of the above embodiment, the method further includes:
receiving a track checking request sent by a goods owner terminal, wherein the track checking request comprises order information;
inquiring corresponding order state according to the order information;
if the order state is finished, acquiring a full increment line point corresponding to the order information from a storage medium;
and sending the full increment route point to a goods owner terminal corresponding to the vehicle terminal so that the goods owner terminal displays the running track of the vehicle terminal according to the full increment route point.
In a specific implementation process, a shipper can check the driving track of a vehicle terminal in real time through a shipper terminal, and when the driving track needs to be checked, a track checking request is sent to a transportation platform server through the shipper terminal. After receiving the track check request, the transportation platform server extracts order information in the track check request, where the order information may be an order number. The corresponding order status is queried according to the order information, and it can be understood that the order status may be completed or incomplete. In the case of a completed order status, the storage medium of the transport platform server stores the complete incremental route points of the vehicle terminal from the loading site to the unloading site, i.e., the full incremental route points. The transportation platform server returns the complete incremental route points to the goods owner terminal, and the goods owner terminal maps the incremental route points on the map after receiving the incremental route points, so that the driving track of the vehicle terminal can be displayed for the goods owner.
For the case that the order status is incomplete, the storage medium of the transportation platform server stores incremental route points obtained by the vehicle terminal from the beginning to the last time, such as: the transportation platform server receives the track viewing request at 11/9/10/12 in 2021, the last acquired incremental route point stored in the storage medium is 10/00 at 11/9/2021, and then the incremental route points between 10/00 and 10/12 are absent from the storage medium. The transportation platform server obtains the positioning data of the time period from the vehicle terminal, and extracts effective positioning data according to the positioning data, and it can be understood that the extraction of the effective positioning data is described in the following embodiments. After the effective positioning data is extracted, the incremental line points of 10:00-10:12 are obtained according to the method for obtaining the incremental line points according to the effective positioning data in the embodiment. And then, the transportation platform server sends the incremental route points acquired from the database and the incremental route points of 10:00-10:12 to the cargo owner terminal together so as to display the driving track of the vehicle terminal on the cargo owner terminal.
According to the method and the device for checking the vehicle terminal, after the track checking request is received, if the order state is finished, all the driving tracks of the vehicle terminal corresponding to the order are sent to the goods owner terminal, if the order state is not finished, the stored incremental line points are obtained from the storage medium, and the nearest incremental line points are obtained from the map server, so that the goods owner can know the driving route information of the vehicle terminal.
On the basis of the above embodiment, before obtaining the effective trajectory information of the vehicle terminal, the method further includes:
sending a track acquisition instruction to a vehicle terminal according to a third preset time period, so that the vehicle terminal acquires track information in the third preset time period after receiving the track acquisition instruction;
receiving the track information; wherein the trajectory information comprises a plurality of positioning data;
performing rarefaction processing on the plurality of positioning data to obtain effective positioning data;
and storing the effective positioning data into a storage medium.
In a specific implementation process, as shown in fig. 3, a delay queue is created in advance in a transportation platform server, where the delay queue includes a timer, and the timer is triggered every third preset time period, so that the delay queue sends a message to an integrating process in the transportation platform server, where the state of an order is monitored, and after receiving the message, the integrating process checks whether the order is in fulfillment, that is, whether the order is completed, and if not, sends a track pulling message to an order-position-service in the transportation platform server, where the order-position-service is used to obtain a track of a vehicle, and after receiving the message, the order-position-service sends a track obtaining instruction to a vehicle terminal. After receiving the track acquisition instruction, the vehicle terminal preferentially pulls the Beidou positioning data, and if the Beidou positioning data is successfully pulled, the Beidou positioning data is returned to the order-position-service; and if the Beidou positioning data is not successfully pulled, pulling the GPS positioning data, and returning the GPS positioning data to the order-position-service.
It should be noted that the third preset time period may be dynamically changed according to the driving position of the vehicle terminal, for example: the vehicle terminal is close to a loading place or a vicinity of a discharging place, the third preset time period can be 5 minutes, 6 minutes and the like, the vehicle terminal runs between the loading place and the discharging place, the third preset time period can be 10 minutes, 15 minutes and the like, and the purpose of the method is to achieve refined display of the positioning data when the vehicle terminal is close to the loading place and the discharging place, improve the positioning accuracy near the loading place and the discharging place, and prolong the interaction times of the vehicle terminal and the transportation platform server when the vehicle terminal is close to the loading place and the discharging place, so that the consumption of the flow of the vehicle terminal is reduced.
It is understood that, when the vehicle terminal returns the track information to the transportation platform server, each time the track information is returned within the third preset time period.
After receiving the track information, the order-position-service performs rarefaction processing on a plurality of positioning data in the track information, and the purpose of rarefaction processing on the positioning data is to reduce excessively dense positioning data and eliminate abnormal positioning data. Therefore, effective positioning data capable of representing the driving track of the vehicle terminal is reasonably reserved. After the effective positioning data is stored, the message of successfully pulling the positioning data is returned to the delay queue through the ingoing process. The delay queue records the result and times it back.
It should be noted that, if the vehicle terminal reaches the last unloading place for the preset time period, the update trajectory is not pulled, and the update trajectory state is the trajectory completion state.
On the basis of the foregoing embodiment, the performing rarefaction processing on the plurality of positioning data to obtain effective positioning data includes:
performing rarefaction on the plurality of positioning data according to a preset time interval or a preset distance interval to obtain rarefaction data;
obtaining two adjacent rarefying data P from the rarefying dataiAnd PjAccording to PiAnd PjThe distance and time therebetween, calculating the traveling speed of the vehicle, and if the traveling speed is greater than a preset speed, determining PjTo be abnormal, P is addedjAnd removing the effective positioning data.
In a specific implementation process, after acquiring the plurality of positioning data returned by the vehicle terminal, the transportation platform server performs thinning on the plurality of positioning data according to a preset time interval (e.g., 10 minutes) or a preset distance interval (e.g., 30 meters). With the preset time interval of 10 minutes, the time corresponding to the plurality of positioning data is 11/9/12/2021/11/9/11/13/2021/11/9/14/2021/11/9/16/2021/11/9/11/19/2021/11/9/21/2021/11/9/11/25 as an example, the positioning data corresponding to 11/9/11/12/2021/11/22 should be the first data to be extracted, and the next data to be extracted should be the positioning data after 11/9/11/22/2021/11/9, that is, the positioning data corresponding to 11/9/25/2021/and so on. It is understood that the method of performing thinning at the preset distance interval is similar to the method of performing thinning at the preset time interval, and will not be described herein again. In addition, specific values of the preset time interval and the preset distance interval may be set according to actual conditions, and this is not specifically limited in the embodiment of the present application.
It should be noted that, during the rarefying, it is necessary to determine the effective positioning data that is first rarefied out, and the determination method may be: and taking the first reported positioning data within a preset range from a loading place as first rarefying data.
After obtaining the rarefaction data through rarefaction, carrying out abnormal point elimination on the rarefaction data again, wherein the specific method comprises the following steps: according to the time sequence, the following operations are carried out on any two adjacent positioning data in the rarefied data: and acquiring the distance and the time in two adjacent rarefaction data, calculating the running speed of the vehicle according to the distance and the time, and if the running speed is greater than a preset speed, indicating that one of the two rarefaction data is an abnormal point. And in two adjacent rarefaction data, the rarefaction data which is earlier in time is verified through the previous round, so that the rarefaction data which is later in time is considered as an abnormal point. And eliminating abnormal points in the rarefied data to obtain effective positioning data.
According to the method and the device, effective positioning data are obtained by performing rarefaction and abnormal point elimination on the plurality of positioning data.
Fig. 4 is a schematic structural diagram of a track information processing apparatus provided in an embodiment of the present application, where the apparatus may be a module, a program segment, or a code on an electronic device. It should be understood that the apparatus corresponds to the above-mentioned embodiment of the method of fig. 1, and can perform various steps related to the embodiment of the method of fig. 1, and the specific functions of the apparatus can be referred to the description above, and the detailed description is appropriately omitted here to avoid redundancy. The device comprises: a track acquisition module 401, a dividing module 402, a determination module 403, a sending module 404, and a receiving module 405, wherein:
the track acquiring module 401 is configured to acquire effective track information of a vehicle terminal, where the effective track information includes a plurality of effective positioning data and time information corresponding to each effective positioning data;
the dividing module 402 is configured to perform distance equal division on the effective track information to obtain a plurality of equal distance segments;
the determining module 403 is configured to determine, from the effective location data included in each equally-divided distance segment, target effective location data as an effective equally-divided point of the corresponding equally-divided distance segment;
the sending module 404 is configured to send an interval point set to a map server, so that the map server obtains incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points;
the receiving module 405 is configured to receive and store the incremental route points sent by the map server.
On the basis of the foregoing embodiment, the determining module 403 is specifically configured to:
determining a midpoint in the equally spaced segments;
and taking the effective positioning data closest to the intermediate point as the effective equally dividing point corresponding to the equally dividing distance segment.
On the basis of the foregoing embodiment, the track obtaining module 401 is specifically configured to:
acquiring current position information of the vehicle terminal;
judging whether the distance between the vehicle terminal and a loading place or a unloading place is smaller than a preset distance according to the current position information;
if the effective track information is smaller than the preset distance, acquiring the effective track information according to a first preset time period; otherwise, acquiring the effective track information according to a second preset time period; wherein the first preset time period is less than the second preset time period.
On the basis of the above embodiment, the apparatus further includes a first route point transmitting module, configured to transmit a route point to the first route point;
receiving a track checking request sent by a goods owner terminal, wherein the track checking request comprises order information;
inquiring corresponding order state according to the order information;
if the order state is finished, acquiring a full increment line point corresponding to the order information from a storage medium;
and sending the full increment route point to a goods owner terminal corresponding to the vehicle terminal so that the goods owner terminal displays the running track of the vehicle terminal according to the full increment route point.
On the basis of the above embodiment, the apparatus further includes a second route point transmitting module, configured to transmit a route point to the second route point;
if the order state is unfinished, acquiring a full increment line point corresponding to the order information from a storage medium, and acquiring a latest increment line point corresponding to a time period from the latest time to the current time corresponding to the increment line point from the map server;
and sending the incremental line point and the nearest incremental line point to a goods owner terminal corresponding to the vehicle terminal so that the goods owner terminal displays the driving track of the vehicle terminal according to the incremental line point and the nearest incremental line point. The apparatus further comprises an instruction sending module configured to:
sending a track acquisition instruction to a vehicle terminal according to a third preset time period, so that the vehicle terminal acquires track information in the third preset time period after receiving the track acquisition instruction;
receiving the track information; wherein the trajectory information comprises a plurality of positioning data;
performing rarefaction processing on the plurality of positioning data to obtain effective positioning data;
and storing the effective positioning data into a storage medium.
On the basis of the foregoing embodiment, the instruction sending module is specifically configured to:
performing rarefaction on the plurality of positioning data according to a preset time interval or a preset distance interval to obtain rarefaction data;
obtaining two adjacent rarefying data P from the rarefying dataiAnd PjAccording to PiAnd PjThe distance and time therebetween, calculating the traveling speed of the vehicle, and if the traveling speed is greater than a preset speed, determining PjTo be abnormal, P is addedjAnd removing the effective positioning data.
Fig. 5 is a schematic structural diagram of an entity of an electronic device provided in an embodiment of the present application, and as shown in fig. 5, the electronic device includes: a processor (processor)501, a memory (memory)502, and a bus 503; wherein,
the processor 501 and the memory 502 are communicated with each other through the bus 503;
the processor 501 is configured to call program instructions in the memory 502 to perform the methods provided by the above-mentioned method embodiments, for example, including: the method comprises the steps of obtaining effective track information of a vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data; equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections; determining effective positioning data of the target from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment; sending an interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points; and receiving and storing the incremental route points sent by the map server.
The processor 501 may be an integrated circuit chip having signal processing capabilities. The Processor 501 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. Which may implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 502 may include, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Erasable Read Only Memory (EPROM), Electrically Erasable Read Only Memory (EEPROM), and the like.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: the method comprises the steps of obtaining effective track information of a vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data; equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections; determining effective positioning data of the target from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment; sending an interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points; and receiving and storing the incremental route points sent by the map server.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: the method comprises the steps of obtaining effective track information of a vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data; equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections; determining effective positioning data of the target from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment; sending an interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points; and receiving and storing the incremental route points sent by the map server.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A track information processing method is applied to a transportation platform server and comprises the following steps:
the method comprises the steps of obtaining effective track information of a vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data;
equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections;
determining effective positioning data of the target from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment;
sending an interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points;
and receiving and storing the incremental route points sent by the map server.
2. The method according to claim 1, wherein the determining the effective positioning data of the object as the effective equally dividing point of the corresponding equally dividing distance from the effective positioning data contained in each equally dividing distance segment comprises:
determining a midpoint in the equally spaced segments;
and taking the effective positioning data closest to the intermediate point as the effective equally dividing point corresponding to the equally dividing distance segment.
3. The method of claim 1, wherein the obtaining the effective trajectory information of the vehicle terminal comprises:
acquiring current position information of the vehicle terminal;
judging whether the distance between the vehicle terminal and a loading place or a unloading place is smaller than a preset distance according to the current position information;
if the effective track information is smaller than the preset distance, acquiring the effective track information according to a first preset time period; otherwise, acquiring the effective track information according to a second preset time period; wherein the first preset time period is less than the second preset time period.
4. The method of claim 1, further comprising:
receiving a track checking request sent by a goods owner terminal, wherein the track checking request comprises order information;
inquiring corresponding order state according to the order information;
if the order state is finished, acquiring a full increment line point corresponding to the order information from a storage medium;
and sending the full increment route point to a goods owner terminal corresponding to the vehicle terminal so that the goods owner terminal displays the running track of the vehicle terminal according to the full increment route point.
5. The method of claim 4, further comprising:
if the order state is unfinished, acquiring a full increment line point corresponding to the order information from a storage medium, and acquiring a latest increment line point corresponding to a time period from the latest time to the current time corresponding to the increment line point from the map server;
and sending the incremental line point and the nearest incremental line point to a goods owner terminal corresponding to the vehicle terminal so that the goods owner terminal displays the driving track of the vehicle terminal according to the incremental line point and the nearest incremental line point.
6. The method according to any one of claims 1-5, wherein before obtaining the effective trajectory information of the vehicle terminal, the method further comprises:
sending a track acquisition instruction to a vehicle terminal according to a third preset time period, so that the vehicle terminal acquires track information in the third preset time period after receiving the track acquisition instruction;
receiving the track information; wherein the trajectory information comprises a plurality of positioning data;
performing rarefaction processing on the plurality of positioning data to obtain effective positioning data;
and storing the effective positioning data into a storage medium.
7. The method of claim 6, wherein the thinning the plurality of positioning data to obtain effective positioning data comprises:
performing rarefaction on the plurality of positioning data according to a preset time interval or a preset distance interval to obtain rarefaction data;
obtaining two adjacent rarefying data P from the rarefying dataiAnd PjAccording to PiAnd PjThe distance and time therebetween, calculating the traveling speed of the vehicle, and if the traveling speed is greater than a preset speed, determining PjTo be abnormal, P is addedjAnd removing the effective positioning data.
8. A trajectory information processing apparatus characterized by comprising:
the track acquisition module is used for acquiring effective track information of the vehicle terminal, wherein the effective track information comprises a plurality of effective positioning data and time information corresponding to each effective positioning data;
the dividing module is used for equally dividing the distance of the effective track information to obtain a plurality of equally divided distance sections;
the determining module is used for determining target effective positioning data from the effective positioning data contained in each equal-division distance segment as effective equal-division points of the corresponding equal-division distance segment;
the sending module is used for sending the interval point set to a map server so that the map server can obtain incremental route points according to the interval point set; the interval point set comprises effective positioning data with earliest time information, effective positioning data with latest time information and the effective equipartition points;
and the receiving module is used for receiving and storing the incremental route points sent by the map server.
9. An electronic device, comprising: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-7.
CN202111350003.4A 2021-11-15 2021-11-15 Track information processing method and device, electronic equipment and storage medium Active CN114061587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111350003.4A CN114061587B (en) 2021-11-15 2021-11-15 Track information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111350003.4A CN114061587B (en) 2021-11-15 2021-11-15 Track information processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114061587A true CN114061587A (en) 2022-02-18
CN114061587B CN114061587B (en) 2024-07-30

Family

ID=80272254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111350003.4A Active CN114061587B (en) 2021-11-15 2021-11-15 Track information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114061587B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114742627A (en) * 2022-06-09 2022-07-12 广州宸祺出行科技有限公司 Matching method and system for windward orders

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294781A (en) * 2016-08-12 2017-01-04 多点生活(中国)网络科技有限公司 A kind of order track method for visualizing and system
CN110766367A (en) * 2019-10-25 2020-02-07 上海德启信息科技有限公司 Logistics display method and device, electronic equipment and storage medium
CN111862659A (en) * 2020-06-30 2020-10-30 中冶智诚(武汉)工程技术有限公司 GPS track data matching and complementing method
CN112527932A (en) * 2020-12-04 2021-03-19 北京百度网讯科技有限公司 Road data processing method, device, equipment and storage medium
CN113395344A (en) * 2021-06-09 2021-09-14 江苏满运物流信息有限公司 Travel track sharing method and device, electronic equipment and storage medium
WO2021179642A1 (en) * 2020-03-09 2021-09-16 珠海格力电器股份有限公司 Position track determination method, device and system, and terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294781A (en) * 2016-08-12 2017-01-04 多点生活(中国)网络科技有限公司 A kind of order track method for visualizing and system
CN110766367A (en) * 2019-10-25 2020-02-07 上海德启信息科技有限公司 Logistics display method and device, electronic equipment and storage medium
WO2021179642A1 (en) * 2020-03-09 2021-09-16 珠海格力电器股份有限公司 Position track determination method, device and system, and terminal and storage medium
CN111862659A (en) * 2020-06-30 2020-10-30 中冶智诚(武汉)工程技术有限公司 GPS track data matching and complementing method
CN112527932A (en) * 2020-12-04 2021-03-19 北京百度网讯科技有限公司 Road data processing method, device, equipment and storage medium
CN113395344A (en) * 2021-06-09 2021-09-14 江苏满运物流信息有限公司 Travel track sharing method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵源 等: "Google Maps API在物流监控管理信息系统中的应用", 机械设计与制造, no. 12, 31 December 2010 (2010-12-31), pages 243 - 245 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114742627A (en) * 2022-06-09 2022-07-12 广州宸祺出行科技有限公司 Matching method and system for windward orders

Also Published As

Publication number Publication date
CN114061587B (en) 2024-07-30

Similar Documents

Publication Publication Date Title
CN111724583A (en) Method and arrangement for verifying speed limit information of a road vehicle
CN113011852A (en) Vehicle maintenance reminding method and device, vehicle-mounted equipment and storage medium
CN114061587A (en) Track information processing method and device, electronic equipment and storage medium
CN112926575A (en) Traffic accident recognition method, device, electronic device and medium
CN114166241B (en) Abnormality detection method and device for freight vehicle-mounted terminal, storage medium and terminal
CN114199274B (en) Vehicle travel determination method, device, equipment and readable storage medium
CN106354117A (en) Determining the source of a ground offset in a controller area network
CN114572005B (en) Vehicle mileage backup method and terminal equipment
CN110794441B (en) Vehicle sharp turn recognition method and device, computer equipment and storage medium
CN111858624A (en) Vehicle use condition updating method and device
CN115345452A (en) Vehicle risk early warning method and device, RSU and storage medium
CN112270832B (en) Traffic early warning method and device and computer storage medium
CN112700648B (en) Method and device for determining traffic violation position
KR20140147298A (en) Digital taco graph and method for data transformaing theirof
CN112735182B (en) Driving safety prompting method and vehicle
CN111354207A (en) Display method, display system, storage medium and vehicle-mounted terminal for front road condition
CN117078138B (en) Truck loading information processing method and server
JP7568446B2 (en) Information processing terminal, information processing system using said information processing terminal, and information processing program
CN114677840B (en) Method, information processing apparatus, and non-volatile computer-readable medium
CN113538729B (en) GPS data processing method and server
US20210056093A1 (en) Method and device for supporting event-based transaction
CN111309838B (en) Method and device for determining travel data of user
CN218825836U (en) Vehicle real-time positioning and checking system based on license plate recognition technology
CN116347337B (en) TBOX data transmission method and device, computer equipment and storage medium
US20230042482A1 (en) Server, method, and non-transitory computer readable medium

Legal Events

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