Method and device for real-time prediction of truck position in a fleet

By acquiring and analyzing the historical trajectory data of the truck and predicting the vehicle position, the problem of position information blank caused by GPS signal loss is solved, and smooth tracking and continuous monitoring of fleet positions are achieved.

CN119785570APending Publication Date: 2025-04-08BEIJING ZHONGJIAOXING ROAD INTERNET OF VEHICLES TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411897570.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In fleet management, when the vehicle GPS module fails or the signal is blocked, the vehicle position information will be blank for a long time, and the vehicle icon movement on the monitoring platform will jump, making smooth tracking impossible.

Method used

By obtaining the position of the first truck included in the location information reported by the target truck for the last time, and finding the first forward vehicle position closest to this position in the historical trajectory set of the first truck, predicting the current moment position point of the target truck.

Benefits of technology

In the event that the location information is not received in real time, the vehicle position is predicted through historical trajectory data, the information gap is filled, the monitoring continuity is maintained, and the vehicle icon movement on the monitoring platform is prevented from jumping, and smooth tracking of the fleet is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119785570A_ABST
    Figure CN119785570A_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for real-time prediction of truck positions in a fleet, the method comprising: obtaining the first truck position contained in the last reported position information of the target truck, and obtaining the first preceding vehicle position closest to the first truck position in the historical trajectory set of the first truck, when the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck does not install the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck, and predicting the current position of the target truck based on the first truck position and the first preceding vehicle position. Therefore, by using the embodiment of the present application, the movement of the vehicle icon on the monitoring platform can be prevented from jumping, and smooth tracking can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for real-time prediction of truck positions in a fleet. Background Art

[0002] In the field of modern logistics and transportation, especially for long-distance freight, real-time monitoring of truck locations is crucial for fleet management and cargo tracking. A typical application scenario is that a fleet of multiple trucks departs from point A to point B. Each truck is equipped with a GPS positioning system to upload the vehicle's location information to the monitoring platform in real time. Fleet managers rely on this information to optimize route planning, improve transportation efficiency, and ensure that goods arrive on time.

[0003] In the related art, fleet managers usually rely on vehicle-mounted GPS systems to obtain real-time location information of vehicles. These systems can periodically upload the latitude and longitude coordinates of the vehicle to a central server, which then displays this information on an electronic map, thereby achieving real-time monitoring of the vehicle's location. However, when the vehicle's GPS module fails or the signal is blocked, the vehicle's location information may be blank for a long time, causing the movement of the vehicle icon on the monitoring platform to jump, and smooth tracking cannot be achieved. Summary of the invention

[0004] The embodiments of the present application provide a method and device for real-time prediction of truck positions in a fleet. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.

[0005] In a first aspect, an embodiment of the present application provides a method for real-time prediction of truck positions in a fleet, the method comprising:

[0006] In the case where the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck has not installed the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck, the position of the first truck included in the position information last reported by the target truck is obtained, and the position of the first preceding vehicle closest to the position of the first truck is obtained in the historical trajectory set of the first truck;

[0007] The current position of the target truck is predicted based on the position of the first truck and the position of the first preceding vehicle.

[0008] Optionally, predicting the current position of the target truck according to the position of the first truck and the position of the first preceding vehicle includes:

[0009] When the first truck position and the first preceding vehicle position are traveling on the same road and in the same direction, calculating a first target distance between the first truck position and the first preceding vehicle position;

[0010] Calculating a first average speed of a preset number of position points reported before the first truck position;

[0011] Calculating a first travel distance within a preset period based on the first average speed;

[0012] When the first target distance is less than the first driving distance, the position of the first preceding vehicle is used as the current position point of the target truck; or

[0013] When the first target distance is greater than or equal to the first driving distance, the current road network information is used to predict the current position point of the target truck.

[0014] Optionally, the current road network information is used to predict the current location of the target truck, including:

[0015] In the case where there is a fork in the road between the first truck position and the first front vehicle position, the position of the fork in the road leading to the first front vehicle position is determined according to the current road network information as the current position point of the target truck;

[0016] Alternatively, when the first truck is located at a highway service area or at a fork in a highway service area, the position prediction of the target truck is terminated;

[0017] Alternatively, when there is no fork in the road and no service area between the first truck position and the first preceding vehicle position, the current position point of the target truck is calculated using a preset formula.

[0018] Optionally, the method further includes:

[0019] When the first truck position and the first preceding vehicle position are not traveling on the same road, obtaining first historical trajectory data of the target truck;

[0020] Based on the first historical driving trajectory, determining whether there is a first historical trip whose historical starting and ending points are the same as the starting and ending points of the current trip of the fleet to be monitored;

[0021] If yes, in the first historical trip, obtain the point closest to the position of the first truck; based on the point closest to the position of the first truck, calculate the current position of the target truck;

[0022] If not, the current position of the target truck is calculated by a preset formula using the first truck position, the driving direction of the target truck and the first driving distance;

[0023] The preset formula includes the latitude calculation formula and longitude calculation formula of the current time point; the latitude calculation formula is:

[0024]

[0025] The formula for calculating longitude is:

[0026]

[0027] in,

[0028] Among them, x1 is the longitude of the current location, y1 is the latitude of the current location, and x 0 and 0 is the first truck position contained in the last reported position information of the target truck, Θ is the driving direction of the target truck, Θ rad is radians, d is the first travel distance, R is the radius of the earth, arcsin is the abbreviation of the inverse sine function, and arctan is the abbreviation of the inverse tangent function.

[0029] Optionally, the method further includes:

[0030] In the case where the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck does not install the preset application, the target truck is traveling on a secondary road, and there is a second truck traveling in front of the target truck, the position of the second truck included in the last position information reported by the target truck is obtained, and the position of the second preceding vehicle closest to the position of the second truck is obtained in the historical trajectory set of the second truck;

[0031] When the second truck position and the second leading vehicle position are traveling on the same road and in the same direction, calculating a second target distance between the second truck position and the second leading vehicle position;

[0032] calculating a second average speed of a preset number of position points reported before the second truck position;

[0033] Calculating a second driving distance within a preset period based on the second average speed;

[0034] When the second target distance is less than the second driving distance, the current position of the target truck is predicted based on the traffic light information and the gas station information; or, when the target distance is greater than or equal to the driving distance, the current position of the target truck is predicted based on the fork in the road information.

[0035] Optionally, the current location of the target truck is predicted based on traffic light information and gas station information, including:

[0036] When there is a traffic light between the second truck position and the second front vehicle position, the waiting time of the traffic light is obtained, and the waiting time of the traffic light is counted down. After the counting is completed, the position of the traffic light is used as the current position point of the target truck; or

[0037] When there is no traffic light between the second truck position and the second preceding vehicle position, the second preceding vehicle position is used as the current position point of the target truck; or,

[0038] When there is a gas station between the second truck position and the second preceding vehicle position and the speed of the second preceding vehicle position in the gas station is 0, the position prediction of the target truck is terminated; or,

[0039] When there is no gas station between the second truck position and the second preceding vehicle position, the second preceding vehicle position is used as the current moment position point of the target truck.

[0040] Optionally, predicting the current location of the target truck based on the fork in the road information includes:

[0041] In the case where there is a fork in the road between the second truck position and the second front vehicle position, the position of the fork in the road leading to the second front vehicle position is determined according to the current road network information as the current position point of the target truck;

[0042] Alternatively, when there is no fork in the road between the second truck position and the second front vehicle position, the current position point of the target truck is calculated using a preset formula;

[0043] Or execute the above method to continue the determination.

[0044] Optionally, the method further includes:

[0045] When the second truck position and the second preceding vehicle position are not traveling on the same road, obtaining second historical trajectory data of the target truck;

[0046] Based on the second historical driving trajectory, determining whether there is a second historical trip whose historical starting and ending points are the same as the starting and ending points of the current trip of the fleet to be monitored;

[0047] If yes, obtain the point closest to the position of the second truck in the second historical trip; calculate the current position of the target truck based on the point closest to the position of the second truck;

[0048] If not, the current position point of the target truck is calculated using a preset formula using the second truck position, the driving direction of the target truck and the second driving distance.

[0049] Optionally, the method further includes:

[0050] If the location information reported by the target truck in the fleet to be monitored is not received within the preset period and the driver client associated with the target truck has installed the preset application, determine whether the driver client associated with the target truck has installed the preset application;

[0051] If yes, determine whether the driver client is in the target truck;

[0052] If yes, determine whether the location information collected by the driver client driven by the preset application is received;

[0053] If so, determine the first moment included in the last reported location information of the target truck, and use the location point included in the first positioning information collected by the driver client after the first moment as the current location point of the target truck.

[0054] In a second aspect, an embodiment of the present application provides a device for real-time prediction of truck positions in a fleet, the device comprising:

[0055] an acquisition module, for obtaining the first truck position contained in the last position information reported by the target truck in the fleet to be monitored, and obtaining the first preceding vehicle position closest to the first truck position in the historical trajectory set of the first truck, when the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck does not install the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck;

[0056] The prediction module is used to predict the current position point of the target truck according to the position of the first truck and the position of the first preceding vehicle.

[0057] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0058] In the embodiment of the present application, by obtaining the first truck position included in the last reported position information of the target truck and finding the first preceding vehicle position closest to this position in the historical track set of the first truck, it is possible to predict the vehicle position through historical track data when the position information cannot be received in real time, thus filling the information gap, maintaining the continuity of monitoring, preventing the movement of the vehicle icon on the monitoring platform from jumping, and achieving smooth tracking of the fleet.

[0059] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0061] Figure 1 It is a flow chart of a method for real-time prediction of truck positions in a fleet provided by an embodiment of the present application;

[0062] Figure 2 This is a schematic diagram of a fleet to be monitored provided by this application;

[0063] Figure 3 It is a structural schematic diagram of a device for real-time prediction of truck positions in a fleet provided by the present application;

[0064] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] The following description and the accompanying drawings sufficiently illustrate specific embodiments of the present application to enable those skilled in the art to practice them.

[0066] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0067] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0068] In the description of the present application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0069] The present application provides a method and device for real-time prediction of truck positions in a fleet to solve the problems existing in the above-mentioned related technical issues. In an embodiment of the present application, the first truck position contained in the last reported position information of the target truck is obtained, and the first preceding vehicle position closest to this position is found in the historical trajectory set of the first truck. In the case where the position information cannot be received in real time, the vehicle position can be predicted through historical trajectory data, which fills the information gap, maintains the continuity of monitoring, prevents the movement of the vehicle icon on the monitoring platform from jumping, and realizes smooth tracking of the fleet. The following uses an exemplary embodiment to explain in detail.

[0070] The following will be combined with the attached Figure 1 -Attached Figure 2 , a method for real-time prediction of truck positions in a fleet provided by an embodiment of the present application is introduced in detail. The method can be implemented by a computer program and can be run on a device for real-time prediction of truck positions in a fleet based on a von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0071] See also Figure 1 , which is a flow chart of a method for real-time prediction of truck positions in a fleet according to an embodiment of the present application. Figure 1 As shown, the method of the embodiment of the present application may include the following steps:

[0072] S101, when the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck has not installed the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck, obtain the position of the first truck included in the position information last reported by the target truck, and obtain the position of the first preceding vehicle closest to the position of the first truck in the historical trajectory set of the first truck;

[0073] Among them, the preset cycle refers to the time interval preset by the system, which is used to regularly receive the location information reported by the target truck. The fleet to be monitored refers to the fleet tracked and monitored by the monitoring system, which needs to be monitored in real time for safety, logistics management or other reasons. The target truck is the truck that has been offline in the fleet. The driver client refers to the driver's mobile phone, and the preset application is an application installed on the driver's mobile phone or vehicle information system, such as our company's Chewang DaKa app. The first truck refers to the truck that is traveling in front of the target truck. The historical trajectory set refers to the set that records the location information of the first truck during its past driving process. The first front vehicle position refers to the point in the historical trajectory set of the first truck that is closest to the position of the first truck contained in the location information last reported by the target truck.

[0074] In some embodiments of the present application, it is first necessary to determine whether the location information reported by each truck in the fleet to be monitored is received within a preset period. If there is a truck that has not reported the location information within the preset period, it can be determined that the truck is offline, and the truck is used as the target truck. It is then determined whether the driver client associated with the target truck has installed the preset application, and then it is determined whether the target truck is traveling on a highway, and then it is determined whether there is a first truck traveling in front of the target truck.

[0075] Among them, when the position information reported by the target truck in the fleet to be monitored is not received within the preset period, the driver client associated with the target truck has not installed the preset application, and the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck, the position of the first truck contained in the position information last reported by the target truck is obtained, and the position of the first preceding vehicle closest to the position of the first truck is obtained in the historical trajectory set of the first truck.

[0076] For example Figure 2 As shown in the figure, there are trucks A, B, C, and D in the fleet to be monitored. The information collected by the vehicle computer in each truck includes: vehicle speed, direction, latitude and longitude information, altitude, etc. At the same time, the server saves the unique identification of the vehicle, vehicle width, vehicle load, vehicle model and other related information. Truck B is the target truck. At this time, the preset application (Chewang DaKa app) is not installed on truck B. There is the first truck (truck C, truck D) in the fleet this time. At this time, according to the first truck position LP contained in the last reported position information of the target truck, the nearest first front vehicle position NP in the historical trajectory set of truck C and truck D in this trip is found.

[0077] S102: predicting the current position of the target truck according to the position of the first truck and the position of the first preceding vehicle.

[0078] In some embodiments of the present application, the specific process of predicting the current position point of the target truck based on the first truck position and the first leading vehicle position includes: calculating the first target distance between the first truck position and the first leading vehicle position when they are traveling on the same road and in the same driving direction; calculating the first average speed of a preset number of position points reported before the first truck position; calculating the first driving distance within a preset period based on the first average speed; when the first target distance is less than the first driving distance, using the first leading vehicle position as the current position point of the target truck; or, when the first target distance is greater than or equal to the first driving distance, using the current road network information to predict the current position point of the target truck.

[0079] For example, determine whether the first truck position LP and the first preceding vehicle position NP are traveling on the same road and in the same driving direction. If the target distance between the first truck position LP and the first preceding vehicle position NP is less than the first driving distance D1 of 5 seconds calculated by the first average speed S1 of the 6 reported points before the first truck position LP (points with longitude and latitude drift are filtered out), the first preceding vehicle position NP is directly used as the current position point of truck B.

[0080] Specifically, the specific process of using the current road network information to predict the current position of the target truck includes: when there is a fork in the road between the first truck position and the first front vehicle position, determining the position of the fork in the road leading to the first front vehicle position according to the current road network information as the current position of the target truck; or, when the first truck position is located in a highway service area or at a fork in the road entering a highway service area, ending the position prediction of the target truck; or, when there is no fork in the road and no service area between the first truck position and the first front vehicle position, calculating the current position of the target truck by a preset formula.

[0081] The preset formula includes the latitude calculation formula and longitude calculation formula of the current time point; the latitude calculation formula is:

[0082]

[0083] The formula for calculating longitude is:

[0084]

[0085] in,

[0086] Among them, x1 is the longitude of the current location, y1 is the latitude of the current location, and x 0 and 0 is the first truck position contained in the last reported position information of the target truck, Θ is the driving direction of the target truck, Θ rad is radians, d is the first travel distance, R is the radius of the earth, arcsin is the abbreviation of the inverse sine function, and arctan is the abbreviation of the inverse tangent function.

[0087] In some embodiments of the present application, when the first truck position and the first leading vehicle position are not traveling on the same road, the first historical trajectory data of the target truck is obtained; based on the first historical driving trajectory, it is determined whether there is a first historical trip whose historical starting and ending points are the same as the starting and ending points of the current trip of the monitored fleet; if so, in the first historical trip, the point closest to the first truck position is obtained; based on the point closest to the first truck position, the current position point of the target truck is calculated; if not, the first truck position, the driving direction of the target truck and the first driving distance are used to calculate the current position point of the target truck through a preset formula.

[0088] For example, if it is determined that the first front vehicle position NP and the first truck position LP are no longer traveling on the same road, the historical track data of truck B is queried and the historical trips with the same starting and ending points as the current trip are found, and then the point NP1 closest to the first truck position LP is found in the historical track point set, and the current position point P of the target truck is calculated based on the closest point NP1. If there is no identical historical trip, the current position point P of truck B is calculated according to the formula using the first truck position LP, the driving direction and the first driving distance D1.

[0089] It should be noted that based on the nearest point NP1, the preset formula can be used to calculate the current position point P of truck B. At this time, x 0 and 0 are the coordinates of point NP1.

[0090] Among them, the conditions of vehicles driving on auxiliary roads are as follows:

[0091] In some embodiments of the present application, when the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck has not installed the preset application and the target truck is traveling on a secondary road, and there is a second truck traveling in front of the target truck, the second truck position contained in the last position information reported by the target truck is obtained, and the second front vehicle position closest to the second truck position is obtained in the historical trajectory set of the second truck; when the second truck position and the second front vehicle position are traveling on the same road and in the same driving direction, the second target distance between the second truck position and the second front vehicle position is calculated; the second average speed of a preset number of position points reported before the second truck position is calculated; based on the second average speed, the second driving distance within the preset period is calculated; when the second target distance is less than the second driving distance, the current position point of the target truck is predicted based on the traffic light information and the gas station information; or, when the target distance is greater than or equal to the driving distance, the current position point of the target truck is predicted based on the fork in the road information.

[0092] In some embodiments of the present application, the specific process of predicting the current position of the target truck based on traffic light information and gas station information includes: when there is a traffic light between the second truck position and the second front vehicle position, obtaining the waiting time of the traffic light, counting down the waiting time of the traffic light, and after the timing is completed, using the position of the traffic light as the current position of the target truck; or, when there is no traffic light between the second truck position and the second front vehicle position, using the second front vehicle position as the current position of the target truck; or, when there is a gas station between the second truck position and the second front vehicle position and the speed of the second front vehicle position in the gas station is 0, ending the position prediction of the target truck; or, when there is no gas station between the second truck position and the second front vehicle position, using the second front vehicle position as the current position of the target truck.

[0093] In some embodiments of the present application, the specific process of predicting the current position of the target truck based on the fork in the road information includes: when there is a fork in the road between the second truck position and the second front vehicle position, determining the position of the fork in the road leading to the second front vehicle position according to the current road network information as the current position of the target truck; or, when there is no fork in the road between the second truck position and the second front vehicle position, calculating the current position of the target truck by a preset formula; or executing the specific process of predicting the current position of the target truck based on traffic light information and gas station information to continue judging.

[0094] In some embodiments of the present application, when the second truck position and the second leading vehicle position are not traveling on the same road, the second historical trajectory data of the target truck is obtained; based on the second historical driving trajectory, it is determined whether there is a second historical trip whose historical start and end points are the same as the start and end points of the current trip of the monitored fleet; if so, the point closest to the second truck position is obtained in the second historical trip; based on the point closest to the second truck position, the current position of the target truck is calculated; if not, the second truck position, the driving direction of the target truck and the second driving distance are used to calculate the current position of the target truck through a preset formula.

[0095] It should be noted that the preset formula can be used to calculate the current position of the target truck using the second truck position, the driving direction of the target truck and the second driving distance. In this case, x 0 and 0 are the coordinates of the second truck's position.

[0096] The driver client associated with the target truck has the following pre-installed applications:

[0097] In some embodiments of the present application, when the location information reported by the target truck in the fleet to be monitored is not received within a preset period and the driver client associated with the target truck has installed a preset application, it is determined whether the driver client associated with the target truck has installed the preset application; if so, it is determined whether the driver client is located in the target truck; if so, it is determined whether the positioning information collected by the driver client driven by the preset application is received; if so, the first moment included in the last reported location information of the target truck is determined, and the location point included in the first positioning information collected by the driver client received after the first moment is used as the current moment location point of the target truck.

[0098] The situation where there is no first truck or second truck traveling in front of the target truck is as follows:

[0099] In some embodiments of the present application, when the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck has not installed the preset application and the target truck is traveling on a highway, and there is no first truck or second truck traveling in front of the target truck, it is determined whether there is travel data with the same starting and ending points in all historical trajectory sets of all trucks in the fleet to be monitored (including the historical trajectory of the target truck), as the target travel data, and in the target travel data, the point closest to the position of the first truck or the second truck is obtained; based on the point closest to the position of the first truck or the second truck, the current position point of the target truck is calculated in combination with a preset formula.

[0100] It should be noted that the preset formula can be used to calculate the current position of the target truck based on the point closest to the first truck or the second truck in combination with the preset formula. In this case, x 0 and 0 are the coordinates of the point closest to the position of the first truck or the second truck.

[0101] In the embodiment of the present application, by obtaining the first truck position included in the last reported position information of the target truck and finding the first preceding vehicle position closest to this position in the historical track set of the first truck, it is possible to predict the vehicle position through historical track data when the position information cannot be received in real time, thus filling the information gap, maintaining the continuity of monitoring, preventing the movement of the vehicle icon on the monitoring platform from jumping, and achieving smooth tracking of the fleet.

[0102] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0103] See also Figure 3, which shows a schematic diagram of the structure of a real-time prediction device for truck positions in a fleet provided by an exemplary embodiment of the present application. The real-time prediction device for truck positions in a fleet can be implemented as all or part of a device through software, hardware, or a combination of both. The device 1 includes an acquisition module 10 and a prediction module 20.

[0104] The acquisition module 10 is used to obtain the first truck position included in the last position information reported by the target truck in the fleet to be monitored, and obtain the first preceding vehicle position closest to the first truck position in the historical trajectory set of the first truck, when the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck does not install the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck.

[0105] The prediction module 20 is used to predict the current position point of the target truck according to the position of the first truck and the position of the first preceding vehicle.

[0106] It should be noted that the device for real-time prediction of the position of trucks in a fleet provided in the above embodiment only uses the division of the above functional modules as an example when executing the method for real-time prediction of the position of trucks in a fleet. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device for real-time prediction of the position of trucks in a fleet provided in the above embodiment and the method for real-time prediction of the position of trucks in a fleet belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0107] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0108] In the embodiment of the present application, by obtaining the first truck position included in the last reported position information of the target truck and finding the first preceding vehicle position closest to this position in the historical track set of the first truck, it is possible to predict the vehicle position through historical track data when the position information cannot be received in real time, thus filling the information gap, maintaining the continuity of monitoring, preventing the movement of the vehicle icon on the monitoring platform from jumping, and achieving smooth tracking of the fleet.

[0109] The present application also provides a computer-readable medium having program instructions stored thereon, which, when executed by a processor, implement the method for real-time prediction of the location of trucks in a fleet provided by the above-mentioned various method embodiments.

[0110] The present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method for real-time prediction of truck positions in a fleet of vehicles of the above-mentioned various method embodiments.

[0111] See also Figure 4 , which is a schematic diagram of the structure of a device provided in the embodiment of the present application. Figure 4 As shown, the device 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .

[0112] The communication bus 1002 is used to realize the connection and communication between these components.

[0113] The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.

[0114] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0115] Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect the various parts of the entire device 1000, and executes various functions and processes data of the device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1001 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes operating devices, user interfaces and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, and it can be implemented separately through a chip.

[0116] Among them, the memory 1005 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing the operating device, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may also be optionally at least one storage device located away from the aforementioned processor 1001. As Figure 4 As shown, the memory 1005 as a computer medium may include an operating device, a network communication module, a user interface module, and an application for real-time prediction of truck positions in a fleet.

[0117] exist Figure 4 In the device 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1001 can be used to call the real-time prediction application for the location of trucks in the fleet stored in the memory 1005, and specifically perform the following operations:

[0118] In the case where the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck has not installed the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck, the position of the first truck included in the position information last reported by the target truck is obtained, and the position of the first preceding vehicle closest to the position of the first truck is obtained in the historical trajectory set of the first truck;

[0119] The current position of the target truck is predicted based on the position of the first truck and the position of the first preceding vehicle.

[0120] In one embodiment, when the processor 1001 predicts the current position of the target truck according to the first truck position and the first preceding vehicle position, the processor 1001 specifically performs the following operations:

[0121] When the first truck position and the first preceding vehicle position are traveling on the same road and in the same direction, calculating a first target distance between the first truck position and the first preceding vehicle position;

[0122] Calculating a first average speed of a preset number of position points reported before the first truck position;

[0123] Calculating a first travel distance within a preset period based on the first average speed;

[0124] When the first target distance is less than the first driving distance, the position of the first preceding vehicle is used as the current position point of the target truck; or

[0125] When the first target distance is greater than or equal to the first driving distance, the current road network information is used to predict the current position point of the target truck.

[0126] In one embodiment, when the processor 1001 uses the current road network information to predict the current position of the target truck, the processor 1001 specifically performs the following operations:

[0127] In the case where there is a fork in the road between the first truck position and the first front vehicle position, the position of the fork in the road leading to the first front vehicle position is determined according to the current road network information as the current position point of the target truck;

[0128] Alternatively, when the first truck is located at a highway service area or at a fork in a highway service area, the position prediction of the target truck is terminated;

[0129] Alternatively, when there is no fork in the road and no service area between the first truck position and the first preceding vehicle position, the current position point of the target truck is calculated using a preset formula.

[0130] In one embodiment, the processor 1001 further performs the following operations:

[0131] When the first truck position and the first preceding vehicle position are not traveling on the same road, obtaining first historical trajectory data of the target truck;

[0132] Based on the first historical driving trajectory, determining whether there is a first historical trip whose historical starting and ending points are the same as the starting and ending points of the current trip of the fleet to be monitored;

[0133] If yes, in the first historical trip, obtain the point closest to the position of the first truck; based on the point closest to the position of the first truck, calculate the current position of the target truck;

[0134] If not, the current position point of the target truck is calculated by a preset formula using the first truck position, the driving direction of the target truck and the first driving distance.

[0135] In one embodiment, the processor 1001 further performs the following operations:

[0136] In the case where the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck does not install the preset application, the target truck is traveling on a secondary road, and there is a second truck traveling in front of the target truck, the position of the second truck included in the last position information reported by the target truck is obtained, and the position of the second preceding vehicle closest to the position of the second truck is obtained in the historical trajectory set of the second truck;

[0137] When the second truck position and the second leading vehicle position are traveling on the same road and in the same direction, calculating a second target distance between the second truck position and the second leading vehicle position;

[0138] calculating a second average speed of a preset number of position points reported before the second truck position;

[0139] Calculating a second driving distance within a preset period based on the second average speed;

[0140] When the second target distance is less than the second driving distance, the current position of the target truck is predicted based on the traffic light information and the gas station information; or, when the target distance is greater than or equal to the driving distance, the current position of the target truck is predicted based on the fork in the road information.

[0141] In one embodiment, when the processor 1001 predicts the current position of the target truck based on the traffic light information and the gas station information, the processor 1001 specifically performs the following operations:

[0142] When there is a traffic light between the second truck position and the second front vehicle position, the waiting time of the traffic light is obtained, and the waiting time of the traffic light is counted down. After the counting is completed, the position of the traffic light is used as the current position point of the target truck; or

[0143] When there is no traffic light between the second truck position and the second preceding vehicle position, the second preceding vehicle position is used as the current position point of the target truck; or,

[0144] When there is a gas station between the second truck position and the second preceding vehicle position and the speed of the second preceding vehicle position in the gas station is 0, the position prediction of the target truck is terminated; or,

[0145] When there is no gas station between the second truck position and the second preceding vehicle position, the second preceding vehicle position is used as the current moment position point of the target truck.

[0146] In one embodiment, when the processor 1001 predicts the current position of the target truck based on the fork in the road information, the following operations are specifically performed:

[0147] In the case where there is a fork in the road between the second truck position and the second front vehicle position, the position of the fork in the road leading to the second front vehicle position is determined according to the current road network information as the current position point of the target truck;

[0148] Alternatively, when there is no fork in the road between the second truck position and the second front vehicle position, the current position point of the target truck is calculated using a preset formula;

[0149] Alternatively, a method of predicting the current position of the target truck based on traffic light information and gas station information is executed to continue the determination.

[0150] In one embodiment, the processor 1001 further performs the following operations:

[0151] When the second truck position and the second preceding vehicle position are not traveling on the same road, obtaining second historical trajectory data of the target truck;

[0152] Based on the second historical driving trajectory, determining whether there is a second historical trip whose historical starting and ending points are the same as the starting and ending points of the current trip of the fleet to be monitored;

[0153] If yes, obtain the point closest to the position of the second truck in the second historical trip; calculate the current position of the target truck based on the point closest to the position of the second truck;

[0154] If not, the current position point of the target truck is calculated using a preset formula using the second truck position, the driving direction of the target truck and the second driving distance.

[0155] In one embodiment, the processor 1001 further performs the following operations:

[0156] If the location information reported by the target truck in the fleet to be monitored is not received within the preset period and the driver client associated with the target truck has installed the preset application, determine whether the driver client associated with the target truck has installed the preset application;

[0157] If yes, determine whether the driver client is in the target truck;

[0158] If yes, determine whether the location information collected by the driver client driven by the preset application is received;

[0159] If so, determine the first moment included in the last reported location information of the target truck, and use the location point included in the first positioning information collected by the driver client after the first moment as the current location point of the target truck.

[0160] In the embodiment of the present application, by obtaining the first truck position included in the last reported position information of the target truck and finding the first preceding vehicle position closest to this position in the historical track set of the first truck, it is possible to predict the vehicle position through historical track data when the position information cannot be received in real time, thus filling the information gap, maintaining the continuity of monitoring, preventing the movement of the vehicle icon on the monitoring platform from jumping, and achieving smooth tracking of the fleet.

[0161] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program for real-time prediction of the position of trucks in a fleet can be stored in a computer-readable medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the medium of the program for real-time prediction of the position of trucks in a fleet can be a disk, an optical disk, a read-only storage memory, or a random access storage memory, etc.

[0162] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for real-time prediction of truck positions in a fleet, characterized in that: The method comprises: In the case where the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck has not installed the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck, the position of the first truck included in the position information last reported by the target truck is obtained, and the position of the first preceding vehicle closest to the position of the first truck is obtained in the historical trajectory set of the first truck; The current position point of the target truck is predicted according to the first truck position and the first preceding vehicle position.

2. The method according to claim 1, characterized in that The step of predicting the current position of the target truck according to the first truck position and the first preceding truck position includes: When the first truck position and the first leading vehicle position are traveling on the same road and in the same direction, calculating a first target distance between the first truck position and the first leading vehicle position; Calculating a first average speed of a preset number of position points reported before the first truck position; Calculating a first travel distance within a preset period based on the first average speed; When the first target distance is less than the first driving distance, the first preceding vehicle position is used as the current position point of the target truck; or When the first target distance is greater than or equal to the first driving distance, the current road network information is used to predict the current position of the target truck.

3. The method according to claim 2, characterized in that The method of using the current road network information to predict the current position of the target truck includes: In the case where there is a fork in the road between the first truck position and the first preceding vehicle position, the position of the fork in the road leading to the first preceding vehicle position is determined according to the current road network information as the current position point of the target truck; Alternatively, when the first truck is located at a highway service area or at a fork in a highway service area, the position prediction of the target truck is terminated; Alternatively, when there is no fork in the road and no service area between the first truck position and the first preceding vehicle position, the current position point of the target truck is calculated using a preset formula.

4. The method according to claim 2, characterized in that: The method further comprises: When the first truck position and the first preceding vehicle position are not traveling on the same road, obtaining first historical trajectory data of the target truck; Based on the first historical driving trajectory, determining whether there is a first historical trip whose historical starting and ending points are the same as the starting and ending points of the current trip of the to-be-monitored fleet; If yes, in the first historical trip, obtain the point closest to the position of the first truck; calculate the current position of the target truck based on the point closest to the position of the first truck; If not, using the first truck position, the driving direction of the target truck and the first driving distance, the current position point of the target truck is calculated by a preset formula; The preset formula includes the latitude calculation formula and longitude calculation formula of the current time point; the latitude calculation formula is: The formula for calculating longitude is: in, Where x1 is the longitude of the current location, y1 is the latitude of the current location, x0 and y0 are the first truck position contained in the last reported location information of the target truck, Θ is the driving direction of the target truck, Θ rad is radians, d is the first travel distance, R is the radius of the earth, arcsin is the abbreviation of the inverse sine function, and arctan is the abbreviation of the inverse tangent function.

5. The method according to claim 1, characterized in that The method further comprises: In the case where the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck does not install the preset application, the target truck is traveling on an auxiliary road, and there is a second truck traveling in front of the target truck, the position of the second truck included in the last position information reported by the target truck is obtained, and the position of the second preceding vehicle closest to the position of the second truck is obtained in the historical trajectory set of the second truck; When the second truck position and the second leading vehicle position are traveling on the same road and in the same direction, calculating a second target distance between the second truck position and the second leading vehicle position; Calculating a second average speed of a preset number of position points reported before the second truck position; Calculating a second driving distance within a preset period based on the second average speed; When the second target distance is less than the second driving distance, the current position of the target truck is predicted based on traffic light information and gas station information; or, when the target distance is greater than or equal to the driving distance, the current position of the target truck is predicted based on fork in the road information.

6. The method according to claim 5, characterized in that The predicting of the current position of the target truck based on traffic light information and gas station information includes: When there is a traffic light between the second truck position and the second front vehicle position, the waiting time of the traffic light is obtained, and the waiting time of the traffic light is counted down. After the counting is completed, the position of the traffic light is used as the current position point of the target truck; or When there is no traffic light between the second truck position and the second preceding vehicle position, the second preceding vehicle position is used as the current moment position point of the target truck; or, When there is a gas station between the second truck position and the second preceding vehicle position and the speed of the second preceding vehicle position in the gas station is 0, the position prediction of the target truck is terminated; or, When there is no gas station between the second truck position and the second preceding vehicle position, the second preceding vehicle position is used as the current moment position point of the target truck.

7. The method according to claim 5, characterized in that The predicting the current position of the target truck based on the fork in the road information includes: In the case where there is a fork in the road between the second truck position and the second front vehicle position, determining the position of the fork in the road leading to the second front vehicle position according to the current road network information as the current position point of the target truck; Alternatively, when there is no fork in the road between the second truck position and the second front vehicle position, the current position point of the target truck is calculated using a preset formula; Or execute the method of claim 6 to continue the determination.

8. The method according to claim 5, characterized in that The method further comprises: When the second truck position and the second preceding vehicle position are not traveling on the same road, obtaining second historical trajectory data of the target truck; Based on the second historical driving trajectory, determining whether there is a second historical trip whose historical starting and ending points are the same as the starting and ending points of the current trip of the to-be-monitored fleet; If yes, obtaining the point closest to the position of the second truck in the second historical trip; calculating the current position of the target truck based on the point closest to the position of the second truck; If not, the current position point of the target truck is calculated using a preset formula using the second truck position, the driving direction of the target truck and the second driving distance.

9. The method according to claim 1, characterized in that: The method further comprises: If the location information reported by the target truck in the fleet to be monitored is not received within the preset period and the driver client associated with the target truck has installed the preset application, determining whether the driver client associated with the target truck has installed the preset application; If yes, determining whether the driver client is located in the target truck; If yes, determine whether the location information collected by the driver client driven by the preset application is received; If so, determine the first time included in the last reported position information of the target truck, and use the position point included in the first positioning information collected by the driver client received after the first time as the current position point of the target truck.

10. A real-time prediction device for truck positions in a fleet, characterized in that: The device comprises: an acquisition module, for acquiring the first truck position included in the last position information reported by the target truck in the fleet to be monitored, and acquiring the first preceding vehicle position closest to the first truck position in the historical trajectory set of the first truck, when the position information reported by the target truck in the fleet to be monitored is not received within a preset period, the driver client associated with the target truck does not install the preset application, the target truck is traveling on a highway, and there is a first truck traveling in front of the target truck; The prediction module is used to predict the current position point of the target truck according to the position of the first truck and the position of the first preceding vehicle.