Freight positioning method, device and system
By processing transportation routes in sections and generating upload schedules, the problem of driver-end positioning information acquisition and uploading in freight positioning is solved, power consumption and equipment burden are reduced, and timely transmission of positioning data and stable operation of applications are ensured.
Patent Information
- Application Number
- CN202011637247.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-12-31
AI Technical Summary
In the field of freight positioning, it is difficult for existing technology to effectively obtain driver-side positioning information without increasing equipment and power consumption, and background APPs are closed or killed due to excessive memory and power consumption, resulting in positioning information being unable to be uploaded normally.
Receive orders and positioning data from the driver through the platform server, process transportation routes in segments, predict road conditions and duration, generate upload schedules, and make phone calls when data is not received within the monitoring time period to ensure timely upload and storage of positioning data , Reduce the continuous running of background programs and power consumption.
It achieves the effective acquisition and uploading of positioning data without increasing power consumption and device burden, ensuring the smooth operation of applications and timely and secure positioning data transmission.
Smart Images

Figure CN114697865B
Abstract
Description
Technical Field
[0001] The present invention relates to positioning technology, and in particular to a freight positioning method, device and system. Background Art
[0002] In the field of logistics, especially in the field of truck freight, timeliness and safety are of paramount importance. In order to be able to understand the transportation timeliness of goods in a timely manner and pay attention to the personal safety of drivers and vehicle safety, the platform needs to obtain relevant positioning information and make corresponding decisions based on the positioning information. At present, there are two ways to obtain positioning information. One is to install a positioning device and an information communication device on the vehicle, and the vehicle uploads the positioning information. However, this method requires the expenditure of corresponding equipment costs and communication costs, which will inevitably cause additional burdens on drivers or carriers; the other is to directly use the APP on the driver's mobile phone or other communication devices to upload positioning information, which does not require additional costs and is simple and convenient; however, in this way, due to the APP existing in the background for too long, occupying too much memory, consuming too much power, etc., the APP will be closed or killed by the operating system (such as Android or IOS), making the APP unable to operate normally, and thus unable to upload positioning information. Therefore, how to avoid the occurrence of this situation has become an urgent problem to be solved. Summary of the invention
[0003] The embodiments of the present invention provide a freight positioning method, device and system, which can reduce the memory usage of the communication equipment at the driver's end and save power while ensuring that the valid positioning data and information uploaded by the driver's end can be obtained.
[0004] A first aspect of an embodiment of the present invention provides a freight positioning method, comprising:
[0005] After the platform server receives the order execution start information and location data uploaded by the driver, it obtains the transportation route based on the location data and order information;
[0006] Divide the transport route into segments, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transport route;
[0007] According to the slowest on-time time of the transportation route in history, the total predicted time of the transportation route and the predicted time of each segment, the upload time of each segment is obtained. According to the starting time point of the transportation route, the upload time of each segment and the location information of the end point of each segment, an upload schedule and a monitoring schedule are prepared, and the upload schedule is sent to the driver.
[0008] If the location data or punctuality information uploaded by the driver is not received within the monitoring period, a phone call will be made to the driver;
[0009] When the positioning data uploaded by the driver is received within the monitoring period and the positioning data is within the electronic fence, the order will be marked as completed.
[0010] Optionally, in a possible implementation of the first aspect, after the platform server receives the order execution start information and the positioning data sent by the driver, and obtains the transportation path according to the positioning data and the order information, it further includes: sending an instruction to establish an incoming wake-up task scheduling to the driver;
[0011] When the positioning data uploaded by the driver side is received within the monitoring time period, and the positioning data is within the electronic fence, the order is marked as executed, and it also includes: sending an instruction to delete the incoming wake-up task scheduling to the driver side.
[0012] Optionally, in a possible implementation manner of the first aspect, the segmented predicted road condition is obtained by the following steps, including:
[0013] The segmented historical comprehensive road conditions and current road conditions are combined to obtain the predicted road conditions, where:
[0014]
[0015] n represents the value of the segment number;
[0016] f(n) represents the predicted road condition of the segment whose segment number is n;
[0017] f(a n ) represents the historical comprehensive road condition of the segment whose segment number is n;
[0018] f(b n ) represents the current road condition of the segment whose segment number is n.
[0019] Optional. The upload duration = predicted duration (total predicted duration / historical slowest on-time duration).
[0020] A second aspect of an embodiment of the present invention provides a freight positioning method, comprising:
[0021] When it is determined to start executing the tasks in the order, obtain the positioning data, upload the order execution start information and positioning data to the platform server, and store the positioning data;
[0022] When a call comes in, the application for uploading positioning data is started. After the application obtains the positioning data, it uploads the positioning data to the platform server and updates the stored positioning data.
[0023] When the current time point reaches the upload time point in the upload schedule, determine whether the stored positioning data is closer to the end of the transportation route than the location information corresponding to the upload time point; if so, upload the punctual information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data.
[0024] According to a third aspect of an embodiment of the present invention, a freight positioning device is provided, comprising:
[0025] The receiving module is used to obtain the transportation route according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver;
[0026] The determination module is used to segment the transport route, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transport route;
[0027] The sending module is used to obtain the upload time of each segment according to the historical slowest on-time time of the transportation route, the total predicted time of the transportation route and the predicted time of each segment, and to prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation route, the upload time of each segment and the location information of the end point of each segment, and send the upload schedule to the driver end;
[0028] A calling module is used to make a telephone call to the driver if the location data or punctuality information uploaded by the driver is not received within the monitoring period;
[0029] The marking module is used to mark the order as completed when the positioning data uploaded by the driver is received within the monitoring period and the positioning data is within the electronic fence.
[0030] A fourth aspect of an embodiment of the present invention provides a freight positioning device, comprising:
[0031] The first uploading module is used to obtain the positioning data when it is determined to start executing the task in the order, upload the order execution start information and the positioning data to the platform server, and store the positioning data;
[0032] The second uploading module is used to start the application for uploading positioning data when there is an incoming call. After the application obtains the positioning data, it uploads the positioning data to the platform server and updates the stored positioning data;
[0033] The third uploading module is used to determine whether the stored positioning data is closer to the end point of the transportation route than the location information corresponding to the upload time point when the current time point reaches the upload time point in the upload schedule; if so, upload the punctual information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data.
[0034] A fifth aspect of an embodiment of the present invention provides a freight positioning system, comprising at least one platform server and at least one driver terminal;
[0035] The platform server is used to obtain the transportation path according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver; to segment the transportation path, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transportation path; to obtain the upload duration of each segment according to the historical slowest on-time duration of the transportation path, the total predicted duration of the transportation path and the predicted duration of each segment, to prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation path, the upload duration of each segment and the terminal position information of each segment, and to send the upload schedule to the driver; to make a telephone call to the driver when the positioning data or on-time information uploaded by the driver is not received within the monitoring time period; to mark the order as executed when the positioning data uploaded by the driver is received within the monitoring time period and the positioning data is within the electronic fence;
[0036] The driver end is used to obtain positioning data when it is determined to start executing the task in the order, upload the order start execution information and positioning data to the platform server, and store the positioning data; when there is an incoming call, start the application for uploading positioning data, and after the application obtains the positioning data, upload the positioning data to the platform server and update the stored positioning data; when the current time point reaches the upload time point in the upload schedule, determine whether the stored positioning data is closer to the end point of the transportation path than the location information corresponding to the upload time point; if so, upload the punctual information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data.
[0037] A sixth aspect of an embodiment of the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the freight positioning method described in any one of the above-mentioned first aspects.
[0038] According to a seventh aspect of an embodiment of the present invention, there is provided an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the method for freight positioning described in any one of the first aspects above.
[0039] The freight positioning method, device and system provided by the present invention do not need to upload positioning data according to a unit time, so that the background program does not need to work continuously, which reduces the power consumption of the driver side, reduces the amount of positioning data acquisition and upload, reduces the burden on communication equipment, and reduces the demand for data processing resources. And during the background operation of the program at the driver side, it only needs to combine the positioning upload schedule and timeliness to obtain and upload the positioning data, reducing memory usage. It can not only ensure the smooth operation of the application, but also ensure that the positioning data that sufficiently reflects timeliness and security is obtained.
[0040] The driver will compare the distance between the current positioning data and the end point of the transport route with the location information corresponding to the upload time and the distance between the end point of the transport route. If it is less than , it proves that the vehicle speed at the driver's end is faster and it has reached the end point of the transport route in less time. The end point of this transport route can be the end point of a sub-transportation route or the end point of the total transport route. If it is greater than , it proves that the vehicle is traveling slowly at this time or for a period of time before, and did not reach the end point at the upload time. At this time, the current positioning data is obtained again and updated and stored. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flow chart of a first implementation of a freight positioning method;
[0042] Figure 2 A flow chart of a second implementation of the freight positioning method;
[0043] Figure 3 It is a structural diagram of a first embodiment of a freight positioning device;
[0044] Figure 4 It is a structural diagram of a second embodiment of the freight locating device. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0047] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0048] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0049] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, 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. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.
[0050] It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based only on A, but B can also be determined based on A and / or other information. A and B match when the similarity between A and B is greater than or equal to a preset threshold.
[0051] Depending on the context, "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting."
[0052] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0053] The present invention provides a freight positioning method, such as Figure 1 As shown, including:
[0054] Step S110: After receiving the order execution start information and positioning data uploaded by the driver, the platform server obtains the transportation route according to the positioning data and order information;
[0055] Step S120, segmenting the transport route, determining the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculating the total predicted duration of the transport route;
[0056] Step S130: According to the historical slowest on-time duration of the transport route, the total predicted duration of the transport route and the predicted duration of each segment, the upload duration of each segment is obtained; according to the starting time point of the transport route, the upload duration of each segment and the location information of the end point of each segment, an upload schedule and a monitoring schedule are prepared, and the upload schedule is sent to the driver;
[0057] Step S140: When the positioning data or punctuality information uploaded by the driver is not received within the monitoring period, a telephone call is made to the driver;
[0058] Step S150: When the positioning data uploaded by the driver is received within the monitoring time period and the positioning data is within the electronic fence, the order is marked as completed.
[0059] The technical solution provided by the present invention does not need to upload positioning data according to a unit time, so that the background program does not need to work continuously, which reduces the power consumption of the driver side, reduces the amount of positioning data acquisition and upload, reduces the burden on communication equipment, and reduces the demand for data processing resources. And during the background operation of the program at the driver side, it only needs to combine the positioning upload schedule and timeliness to obtain and upload positioning data, reducing memory usage. It can not only ensure the smooth operation of the application, but also ensure that positioning data that sufficiently reflects timeliness and security is obtained.
[0060] Step S110: After receiving the order execution start information and positioning data uploaded by the driver, the platform server obtains the transportation route according to the positioning data and order information, including:
[0061] After receiving the order start execution information and positioning data uploaded by the application (or APP) on the driver side, the platform server can use the positioning data and the information in the order to obtain the transportation route, such as taking the point corresponding to the positioning data on the map as the starting point, and the point corresponding to the unloading address in the order on the map as the end point, and then taking the shortest driving route as the transportation route; or combining multiple transfer points along the way to find the shortest driving route as the transportation route; or the route specified by the shipper or carrier, etc.; since the existing method can be used here, no specific limitation is made.
[0062] It should be noted that the driver's terminal can be a mobile phone or communication device, which has the function of obtaining its own positioning data, data processing function, etc., and can install applications (or APPs). The order information is already stored in the platform server and is generated when the carrier accepts the order. It contains the loading place, unloading place, loading time, unloading time, and other information required to complete the order. The order execution start information is the information sent by the carrier to the platform server, indicating that the order has started to execute transportation.
[0063] Step S120, segmenting the transport route, determining the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculating the total predicted duration of the transport route, including:
[0064] Among them, the transportation path is segmented, specifically,
[0065] Since the transport route has been obtained, the total mileage of this route can also be obtained. In this way, starting from the starting point of this path, the path can be segmented according to fixed mileage values (such as 10KM or 15KM, etc.); of course, other methods can also be used to segment this path, such as dividing the urban roads in the transport route into sections of every 5KM, dividing the highways in the transport route into sections of every 20KM, and so on.
[0066] Among them, the starting time point, predicted road conditions and predicted duration of each segment are determined in turn according to the segment situation, and the total predicted duration of the transportation route is calculated, specifically,
[0067] Since the transport route has been segmented, the starting point and end point of each segment in the transport route are obtained. In addition, the vehicles also travel through these segments in sequence, so there is an order. Therefore, these segments can be sorted from the starting point to the end point of the transport route. After sorting, the starting time point, predicted road conditions and predicted duration of each segment are determined in sequence.
[0068] Here, for example, suppose that after obtaining a transportation route with a total length of 100 km, the transportation route is divided into 10 sections, namely, section 1 to section 10, each section is 10 km, and the vehicle actually needs to pass through section 1 to section 10 in sequence. Here, the sections need to be numbered from the starting point to the end point of the transportation route, and the value of the section number is an integer starting from 1.
[0069] Here, we need to first obtain the starting time point, predicted road conditions, and predicted duration of segment 1 (i.e., the first segment). The starting time point of segment 1 (i.e., time point 1) is actually the starting time point of this transportation route, which can be the time point when the driver obtains the positioning data or the time point when the platform server receives the positioning data, etc.
[0070] The predicted road condition of segment 1 needs to be obtained based on the path of segment 1 and the starting time point of segment 1. Since the path of segment 1 is determined, historical data can be used here to obtain the historical comprehensive road condition corresponding to the path of segment 1 at time point 1 as the predicted road condition, or the current road condition corresponding to the path of segment 1 at time point 1 can be used as the predicted road condition, or the historical comprehensive road condition corresponding to the path of segment 1 at time point 1 and the current road condition can be combined as the predicted road condition.
[0071] The predicted duration of segment 1 is the duration taken by the vehicle to complete segment 1 based on the mileage of segment 1 and the predicted road condition of segment 1. In practice, there are many techniques for obtaining the duration of travel based on road conditions and road mileage, which will not be described in detail here.
[0072] After obtaining the predicted duration of segment 1, you only need to add the starting time point of segment 1 (i.e. time point 1) to the predicted duration of segment 1 to obtain the starting time point of segment 2 (i.e. time point 2). After obtaining the starting time point of segment 2, you can obtain the predicted road conditions of segment 2 according to the above process, and then obtain the predicted duration of segment 2;
[0073] Repeat the above process to obtain the starting time point of segment 3, the predicted road condition of segment 3, and the predicted duration of segment 3; until the starting time point, predicted road condition, and predicted duration of segment 10 (i.e., the last segment) on this transportation path are obtained.
[0074] After that, the predicted duration of each segment is added together to get the total predicted duration of the transport route. The following is an introduction to the method of obtaining historical comprehensive road conditions. Generally speaking, road conditions are represented by numerical values, such as the road congestion index. The larger the value, the more congested the road is, and the longer it takes for the vehicle to complete this distance. The smaller the value, the smoother the road is, and the shorter the time it takes for the vehicle to complete this distance;
[0075] First, it is necessary to obtain the historical traffic data of a segmented path at the corresponding time point in history. Segment 1 is used for illustration here. For example, if time point 1 is 9:00 on November 26, 2020, then the historical traffic data of segment 1 at 9:00 on November 25, 2020 (i.e., historical traffic data 1 of segment 1), the historical traffic data of segment 1 at 9:00 on November 24, 2020 (i.e., historical traffic data 2 of segment 1), the historical traffic data of segment 1 at 9:00 on October 2, 2019 (i.e., historical traffic data 3 of segment 1), and so on can be obtained;
[0076] After that, it is necessary to determine the first probability of each historical road condition under this segmented path, and normalize the first probability of each historical road condition to obtain the second probability of each historical road condition under this segmented path, multiply the values of each historical road condition of this segmented path by their respective second probabilities, and then sum them up to obtain the historical comprehensive road condition of this segmented path at its starting time point.
[0077] The first probability of historical road conditions can be calculated using the following formula:
[0078]
[0079] Among them, f(x) represents the first probability of a historical road condition x, such as the first probability of historical road condition 1 in segment 1, and so on.
[0080] T x Indicates the value corresponding to the historical traffic condition x in the time dimension. This value increases as the difference between the date of the historical traffic condition x and the date of the starting time point of the segment increases. For example, T x is the difference in days between the date of the historical traffic condition 1 of segment 1 and the date of the starting time point of segment 1; of course, T x The value of can also be obtained by other methods, such as artificial setting, as long as the above requirements for T are met. x The setting requirements are sufficient.
[0081] C x Indicates the value corresponding to the historical traffic condition x in the period dimension. The period can be a week, month, quarter, year, etc. This value decreases as the period difference between the period of the historical traffic condition x and the period of the starting time point of the segment increases. This value can be set manually. For example, if the historical traffic condition x and the starting time point of the segment are in the same period, then C x is 0.9. If the historical traffic condition x differs from the corresponding time point by one cycle, then C x is 0.8, and the difference is two cycles, then C x is 0.7; this value can also be obtained directly using historical data, such as Among them, D0 represents the starting date of the segment, D x Indicates the date of historical traffic condition x.
[0082] After obtaining the first probability of each historical road condition under this segmented path, it is necessary to normalize the first probability of these historical road conditions to obtain the second probability of each historical road condition under this segmented path to ensure that the sum of the second probabilities of each historical road condition under this segmented path is equal to 1.
[0083] Thereafter, the values of the historical road conditions of each segmented path are multiplied by their respective second probabilities and then summed to obtain the historical comprehensive road condition of the segmented path at its starting time point.
[0084] For example, a total of 3 historical road conditions of segment 1 are obtained; specifically, the value of historical road condition 1 of segment 1 is 30, and the second probability of historical road condition 1 of segment 1 is 0.55; the value of historical road condition 2 of segment 1 is 21, and the second probability of historical road condition 2 of segment 1 is 0.43; the value of historical road condition 3 of segment 1 is 60, and the second probability of historical road condition 3 of segment 1 is 0.02; then the historical comprehensive road condition of segment 1 at its starting time point = 30×0.55+21×0.43+60×0.02=26.73.
[0085] The following introduces a method for combining historical comprehensive road conditions with current road conditions to obtain predicted road conditions.
[0086] The current traffic conditions of a certain road section at a certain point in time can be directly obtained using existing technologies, which will not be introduced here.
[0087] What needs to be done here is to combine the historical comprehensive road conditions with the current road conditions to obtain the predicted road conditions.
[0088] It can be calculated according to the following formula
[0089]
[0090] Wherein, f(n) represents the predicted road condition of the segment whose segment number is n;
[0091] n represents the value of the segment number. For example, if the predicted road condition of segment 1 is calculated, then n=1; if the predicted road condition of segment 10 is calculated, then n=10;
[0092] f(a n ) represents the historical comprehensive road condition of the segment whose segment number is n;
[0093] f(b n ) represents the current road condition of the segment whose segment number is n.
[0094] Step 130: According to the historical slowest on-time duration of the transport route, the total predicted duration of the transport route and the predicted duration of each segment, the upload duration of each segment is obtained; according to the starting time point of the transport route, the upload duration of each segment and the location information of the end point of each segment, an upload schedule and a monitoring schedule are prepared, and the upload schedule is sent to the driver, including:
[0095] Here, we can obtain historical orders with the same loading and unloading locations from historical data, and find out the order that arrives at the unloading location on time and takes the longest time to drive. The driving time of this order is used as the slowest on-time time in the history of the transportation route. After that, the upload time of each segment can be calculated according to the formula.
[0096] Upload time = predicted time (total predicted time / slowest on-time time in history),
[0097] After that, the upload time point of each segment can be obtained by combining the starting time point of the transportation route and the upload duration of each segment, and then the upload schedule and monitoring schedule can be obtained by combining the terminal location information of each segment.
[0098] For example, since the starting time point of the transportation route is known, the upload time point of the first segment can be obtained by adding the upload duration of the first segment to this time point. The upload time point of the second segment can be obtained by adding the upload duration of the second segment to the first upload time point. By analogy, the upload time point corresponding to each segment can be obtained. In addition, the segmentation has been completed before, and the position of the end point of each segment on the transportation route is also known. Therefore, the end point position information of each segment can be matched with its upload time point, and the upload time point, end point position information and corresponding relationship of each segment can be made into an upload schedule. After obtaining the upload schedule, the upload schedule can be sent to the driver.
[0099] In addition, since there is a situation where the application (or APP) that uploads the positioning information is killed by the operating system, the platform server cannot continue to wait for the driver to upload the positioning data. Therefore, it is necessary to determine a monitoring time period, such as a certain time after the upload time point as the monitoring time period, such as from the upload time point to 30 seconds after the upload time point or 2 minutes after the upload time point, etc. The length of this time period can be set in advance by humans. In this way, the monitoring time period corresponding to each segment can be obtained. The set of these monitoring time periods and their corresponding specific time points can be used as a monitoring schedule. During the corresponding monitoring time period, the platform server can monitor whether the corresponding positioning data or punctual information is received.
[0100] Step S140: When the location data or punctuality information uploaded by the driver is not received within the monitoring period, a telephone call is made to the driver, including:
[0101] If the location data or punctuality information uploaded by the driver is not received during the monitoring period, a telephone call will be made to the driver; specifically,
[0102] Since the monitoring time period has been determined before, if the location data uploaded by the driver is not received within the monitoring time period, it is considered that the APP responsible for uploading the location information on the driver's side has been killed by the operating system, so a phone call is made to the driver's side;
[0103] It should be noted that task scheduling can be set up on the driver side, such as JobScheduler on the Android system. When there is an incoming call (without answering the call), the set APP can be automatically opened. This APP can be set to automatically obtain and upload positioning data when it is started. In this way, when a phone call is made to the driver side, the current positioning data of the driver side can be obtained. And the call can be hung up without being answered, reducing the impact on the driver. In addition, the phone call can also use artificial voice, even after the call is connected, the driver can be informed to open the APP in time.
[0104] Step S150: When the location data uploaded by the driver is received within the monitoring period, and the location data is within the electronic fence, the order is marked as completed, including:
[0105] When the location data uploaded by the driver is received within the monitoring period, and the location data is within the electronic fence, the order will be marked as completed; specifically,
[0106] First, let me explain the electronic fence. The electronic fence is a technology used to determine whether the vehicle has arrived at the unloading site. For example, with the unloading address as the center and a set distance as the radius (such as 5KM or 15KM, etc.), when the vehicle (or its positioning data) is within this area, it is determined that the vehicle has arrived and subsequent work can be prepared.
[0107] Therefore, when the positioning data uploaded by the driver is received within the monitoring period and the positioning data is within the electronic fence, the order will be marked as completed.
[0108] The present invention also provides a preferred solution, which includes adjusting the following steps while keeping other steps unchanged:
[0109] Step S110: After receiving the order execution start information and positioning data sent by the driver, the platform server obtains the transportation path according to the positioning data and order information, and sends an instruction to establish an incoming call wake-up task scheduling to the driver;
[0110] Step S150: When the positioning data uploaded by the driver is received within the monitoring time period and the positioning data is within the electronic fence, the order is marked as completed and an instruction to delete the incoming wake-up task scheduling is sent to the driver.
[0111] After this adjustment, after receiving the instruction to establish an incoming wake-up task scheduling, the driver can use JobScheduler and other methods to automatically open the set APP task scheduling when an incoming call is established. After receiving the instruction to delete the incoming wake-up task scheduling, the driver can automatically open the set APP task scheduling when the previously established incoming call is deleted. In this way, the task scheduling can be established when each order starts to be executed, and the task scheduling can be deleted when each order ends. Execution, thereby effectively ensuring that the task scheduling can run effectively, further improving the user experience, and reducing the system's own content occupancy.
[0112] The embodiment of the present invention also provides a freight positioning method, such as Figure 2 As shown, including:
[0113] When it is determined to start executing the tasks in the order, obtain the positioning data, upload the order execution start information and positioning data to the platform server, and store the positioning data;
[0114] When a call comes in, the application for uploading positioning data is started. After the application obtains the positioning data, it uploads the positioning data to the platform server and updates the stored positioning data.
[0115] When the current time point reaches the upload time point in the upload schedule, determine whether the stored positioning data is closer to the end of the transportation route than the location information corresponding to the upload time point; if so, upload the punctual information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data.
[0116] When it is determined to start executing the tasks in the order, the application obtains the positioning data, uploads the order execution start information and positioning data to the platform server, and stores the positioning data, specifically:
[0117] If the user operating the driver side decides to start executing the tasks in the order, for example, the user clicks the button in the APP to start executing the order, the APP can obtain the current location data, and after obtaining the location data, store the location data, and upload the information of the start of the order execution and the location data to the platform server.
[0118] When a call comes in, the application is started, and after the application obtains the positioning data, the positioning data is uploaded to the platform server and the stored positioning data is updated, specifically;
[0119] When a call comes in, the driver can start the APP, and the APP will obtain the current location data. After obtaining the location data, it will store the location data and upload the information of the start of the order and the location data to the platform server.
[0120] Among them, when the current time point reaches the upload time point in the upload schedule, it is determined whether the stored positioning data is closer to the end point of the transportation path than the location information corresponding to the upload time point; if so, the on-time information is uploaded; if not, after obtaining the positioning data, the positioning data is uploaded to the platform server and the stored positioning data is updated, specifically:
[0121] After receiving the upload schedule sent by the platform server, when the current time point reaches the upload time point in the upload schedule, the APP in the driver's end can determine whether the stored positioning data is closer to the end point of the transportation route than the location information corresponding to the upload time point; if so, upload the on-time information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data;
[0122] For example, if the current time point reaches the upload time point of the third segment, the APP can determine whether the stored positioning data is closer to the end point of the transportation path than the end point location information of the third segment. More specifically, it can be determined on the map whether the straight-line distance from the stored positioning data to the end point of the transportation path and the straight-line distance from the end point of the third segment to the end point of the transportation path are shorter. If the one with the shorter straight-line distance is not closer to the end point of the transportation path.
[0123] It should be noted that punctuality information can be a very brief communication data set manually. The purpose is to let the platform server know that the vehicle can complete the transportation task on time after receiving the information. This can save the resources consumed by the driver to obtain positioning data, and also save the data transmission volume and data processing resources between the driver and the platform server.
[0124] The present invention also provides a freight positioning device for implementing Figure 1 Freight positioning methods in Figure 3 As shown, including:
[0125] The receiving module is used to obtain the transportation route according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver;
[0126] The determination module is used to segment the transport route, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transport route;
[0127] The sending module is used to obtain the upload time of each segment according to the historical slowest on-time time of the transportation route, the total predicted time of the transportation route and the predicted time of each segment, and to prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation route, the upload time of each segment and the location information of the end point of each segment, and send the upload schedule to the driver end;
[0128] A calling module is used to make a telephone call to the driver if the location data or punctuality information uploaded by the driver is not received within the monitoring period;
[0129] The marking module is used to mark the order as completed when the positioning data uploaded by the driver is received within the monitoring period and the positioning data is within the electronic fence.
[0130] The present invention also provides a freight positioning device for implementing Figure 2 Freight positioning methods in Figure 4 As shown, including:
[0131] The first uploading module is used to obtain the positioning data when it is determined to start executing the task in the order, upload the order execution start information and the positioning data to the platform server, and store the positioning data;
[0132] The second uploading module is used to start the application for uploading positioning data when there is an incoming call. After the application obtains the positioning data, it uploads the positioning data to the platform server and updates the stored positioning data;
[0133] The third uploading module is used to determine whether the stored positioning data is closer to the end point of the transportation route than the location information corresponding to the upload time point when the current time point reaches the upload time point in the upload schedule; if so, upload the punctual information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data.
[0134] A fifth aspect of an embodiment of the present invention provides a freight positioning system, comprising at least one platform server and at least one driver terminal;
[0135] The platform server is used to obtain the transportation path according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver; to segment the transportation path, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transportation path; to obtain the upload duration of each segment according to the historical slowest on-time duration of the transportation path, the total predicted duration of the transportation path and the predicted duration of each segment, to prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation path, the upload duration of each segment and the terminal position information of each segment, and to send the upload schedule to the driver; to make a telephone call to the driver when the positioning data or on-time information uploaded by the driver is not received within the monitoring time period; to mark the order as executed when the positioning data uploaded by the driver is received within the monitoring time period and the positioning data is within the electronic fence;
[0136] The driver end is used to obtain positioning data when it is determined to start executing the task in the order, upload the order start execution information and positioning data to the platform server, and store the positioning data; when there is an incoming call, start the application for uploading positioning data, and after the application obtains the positioning data, upload the positioning data to the platform server and update the stored positioning data; when the current time point reaches the upload time point in the upload schedule, determine whether the stored positioning data is closer to the end point of the transportation path than the location information corresponding to the upload time point; if so, upload the punctual information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data.
[0137] According to an embodiment of the present application, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the freight positioning method in the above method embodiment.
[0138] According to an embodiment of the present application, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the method for freight positioning in the above-mentioned method embodiment.
[0139] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0140] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for locating freight, It is characterized in that include: After the platform server receives the order execution start information and location data uploaded by the driver, it obtains the transportation route based on the location data and order information; Divide the transport route into segments, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transport route; According to the slowest on-time time of the transportation route in history, the total predicted time of the transportation route and the predicted time of each segment, the upload time of each segment is obtained. According to the starting time point of the transportation route, the upload time of each segment and the location information of the end point of each segment, an upload schedule and a monitoring schedule are prepared, and the upload schedule is sent to the driver. If the location data or punctuality information uploaded by the driver is not received within the monitoring period, a phone call will be made to the driver; When the location data uploaded by the driver is received within the monitoring period and is within the electronic fence, the order is marked as completed; When the positioning data or punctuality information uploaded by the driver side is not received within the monitoring time period, a telephone call is made to the driver side, including: the driver side automatically opens a set application when a call comes in; the set application is used to automatically obtain the positioning data and upload the positioning data when it is started.
2. The method for freight positioning according to claim 1, It is characterized in that After the platform server receives the order execution start information and the positioning data sent by the driver, and obtains the transportation path according to the positioning data and the order information, it also includes: sending an instruction to establish an incoming call wake-up task scheduling to the driver; When the positioning data uploaded by the driver side is received within the monitoring time period, and the positioning data is within the electronic fence, the order is marked as executed, and it also includes: sending an instruction to delete the incoming wake-up task scheduling to the driver side.
3. The freight positioning method according to claim 1 or 2, It is characterized in that The segmented predicted road conditions are obtained by the following steps, including: The segmented historical comprehensive road conditions and current road conditions are combined to obtain the predicted road conditions, where: n represents the value of the segment number; f(n) represents the predicted road condition of the segment whose segment number is n; f(a n ) represents the historical comprehensive road condition of the segment whose segment number is n; f(b n ) represents the current road condition of the segment whose segment number is n.
4. The freight positioning method according to claim 1 or 2, It is characterized in that The upload duration = predicted duration (total predicted duration / historical slowest on-time duration).
5. A method for locating freight, It is characterized in that include: When it is determined to start executing the tasks in the order, obtain the positioning data, upload the order execution start information and positioning data to the platform server, and store the positioning data; When a call comes in, the application for uploading positioning data is started. After the application obtains the positioning data, it uploads the positioning data to the platform server and updates the stored positioning data. When the current time point reaches the upload time point in the upload schedule, determine whether the stored positioning data is closer to the end point of the transportation route than the location information corresponding to the upload time point; if so, upload the on-time information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data; The platform server is used to obtain the transportation path according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver; segment the transportation path, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segment situation, and calculate the total predicted duration of the transportation path; obtain the upload duration of each segment according to the historical slowest on-time duration of the transportation path, the total predicted duration of the transportation path and the predicted duration of each segment, prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation path, the upload duration of each segment and the terminal location information of each segment, and send the upload schedule to the driver; if the positioning data or on-time information uploaded by the driver is not received within the monitoring time period, a telephone call is made to the driver; When the positioning data uploaded by the driver is received within the monitoring period and the positioning data is within the electronic fence, the order will be marked as completed.
6. A cargo positioning device, It is characterized in that include: The receiving module is used to obtain the transportation route according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver; The determination module is used to segment the transport route, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transport route; The sending module is used to obtain the upload time of each segment according to the historical slowest on-time time of the transportation route, the total predicted time of the transportation route and the predicted time of each segment, and to prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation route, the upload time of each segment and the location information of the end point of each segment, and send the upload schedule to the driver end; A calling module is used to make a telephone call to the driver if the location data or punctuality information uploaded by the driver is not received within the monitoring period; The marking module is used to mark the order as completed when the positioning data uploaded by the driver is received within the monitoring period and the positioning data is within the electronic fence; When the positioning data or punctuality information uploaded by the driver side is not received within the monitoring time period, a telephone call is made to the driver side, including: the driver side automatically opens a set application when a call comes in; the set application is used to automatically obtain the positioning data and upload the positioning data when it is started.
7. A cargo positioning device, It is characterized in that include: The first uploading module is used to obtain the positioning data when it is determined to start executing the task in the order, upload the order execution start information and the positioning data to the platform server, and store the positioning data; The second uploading module is used to start the application for uploading positioning data when there is an incoming call. After the application obtains the positioning data, it uploads the positioning data to the platform server and updates the stored positioning data; The third uploading module is used to determine whether the stored positioning data is closer to the end point of the transportation route than the location information corresponding to the upload time point when the current time point reaches the upload time point in the upload schedule; if so, upload the on-time information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data; The platform server is used to obtain the transportation path according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver; segment the transportation path, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segment situation, and calculate the total predicted duration of the transportation path; obtain the upload duration of each segment according to the historical slowest on-time duration of the transportation path, the total predicted duration of the transportation path and the predicted duration of each segment, prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation path, the upload duration of each segment and the terminal location information of each segment, and send the upload schedule to the driver; if the positioning data or on-time information uploaded by the driver is not received within the monitoring time period, a telephone call is made to the driver; When the positioning data uploaded by the driver is received within the monitoring period and the positioning data is within the electronic fence, the order will be marked as completed.
8. A freight positioning system, It is characterized in that Includes at least one platform server and at least one driver terminal; The platform server is used to obtain the transportation path according to the positioning data and order information after receiving the order execution start information and positioning data uploaded by the driver; to segment the transportation path, determine the starting time point, predicted road conditions and predicted duration of each segment in turn according to the segmentation situation, and calculate the total predicted duration of the transportation path; to obtain the upload duration of each segment according to the historical slowest on-time duration of the transportation path, the total predicted duration of the transportation path and the predicted duration of each segment, and to prepare an upload schedule and a monitoring schedule according to the starting time point of the transportation path, the upload duration of each segment and the terminal location information of each segment, and send the upload schedule to the driver; Used to make a phone call to the driver if the location data or punctuality information uploaded by the driver is not received within the monitoring period; When the location data uploaded by the driver is received within the monitoring period and is within the electronic fence, the order is marked as completed. The driver terminal is used to obtain the positioning data when determining to start executing the task in the order, upload the order execution start information and positioning data to the platform server, and store the positioning data; It is used to start the application for uploading positioning data when there is an incoming call. After the application obtains the positioning data, it uploads the positioning data to the platform server and updates the stored positioning data. It is used to determine whether the stored positioning data is closer to the end point of the transportation route than the location information corresponding to the upload time point when the current time point reaches the upload time point in the upload schedule; if so, upload the punctual information; if not, after obtaining the positioning data, upload the positioning data to the platform server and update the stored positioning data.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the freight positioning method according to any one of claims 1 to 5.
10. An electronic device, It is characterized in that include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the method for freight positioning as described in any one of claims 1-5.
