A logistics track processing method, system, device and computer storage medium
By acquiring the origin, destination, and demand information of the target package, matching historical delivery routes, and processing timeliness information, the problem of inaccurate delivery routes is solved, achieving accurate display of delivery routes and improving user experience.
Patent Information
- Application Number
- CN202210705890.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-21
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2042-06-21
AI Technical Summary
In existing technologies, the delivery route map sent to users does not match the actual delivery route, resulting in users being unable to obtain accurate delivery information and affecting user experience.
By obtaining the origin, destination, and demand information of the target express delivery, matching historical express delivery routes, and using piecewise normal distribution and weighted algorithms or box-and-whisker algorithms to process historical time-delivery information, the accurate target express delivery route is determined, and the current location is displayed on an electronic map.
This ensured the accuracy of delivery routes, improved users' understanding of delivery information, and enhanced the user experience.
Smart Images

Figure CN114926133B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the logistics technical field, more particularly, to a logistics track processing method, system, device and computer storage medium. BACKGROUND
[0002] With the development of logistics and online shopping platforms, the amount of express delivery also increases, in this process, in order to improve the user experience, the user's express delivery route map can be generated and sent to the user, so that the user can know his express delivery information through the express delivery route map.
[0003] However, the express delivery route map sent to the user may not match the real express delivery route map, resulting in that the user cannot obtain the real express delivery route, and the user has a bad express delivery experience.
[0004] To sum up, how to ensure the accuracy of the express delivery route is a problem to be solved by the technical personnel in the field at present. SUMMARY
[0005] The purpose of the present application is to provide a logistics track processing method which can solve the technical problem of how to ensure the accuracy of the express delivery route to some extent. The present application also provides a logistics track processing system, device and computer readable storage medium.
[0006] In order to achieve the above purpose, the present application provides the following technical scheme:
[0007] A logistics track processing method, comprising:
[0008] Obtaining express starting point information, express terminal point information and express demand information of a target express delivery;
[0009] Obtaining a plurality of historical express delivery routes; the express starting point information of the historical express delivery route is the same as the express starting point information of the target express delivery, and the express terminal point information of the historical express delivery route is the same as the express terminal point information of the target express delivery;
[0010] Determining the historical express delivery route matched with the express demand information as a target express delivery route.
[0011] Preferably, the obtaining a plurality of historical express delivery routes comprises:
[0012] Obtaining a plurality of historical express delivery records, the historical express delivery records comprising historical express delivery routes and historical time limit information;
[0013] According to the historical time limit information in a plurality of historical express delivery records comprising a same historical express delivery route, determining statistical time limit information of the same historical express delivery route;
[0014] When the express delivery demand information includes timeliness demand information, determining the historical express delivery route matching the express delivery demand information as the target express delivery route includes:
[0015] Determine the historical express delivery routes corresponding to the statistical timeliness information that matches the timeliness requirement information, and use them as the target express delivery routes.
[0016] Preferably, determining the statistical timeliness information of the same historical express delivery route based on historical timeliness information from multiple historical express delivery records including the same historical express delivery route includes:
[0017] If the number of historical express delivery records including the same historical express delivery route is greater than a preset value, then based on the segmented normal distribution and weighted algorithm, the historical timeliness information in the multiple historical express delivery records including the same historical express delivery route is processed to obtain the statistical timeliness information of the same historical express delivery route.
[0018] If the number of historical express delivery records including the same historical express delivery route is less than or equal to the preset value, then based on the box-and-whisker algorithm and the method of removing upper and lower limits, the historical timeliness information in multiple historical express delivery records including the same historical express delivery route is processed to obtain the statistical timeliness information of the same historical express delivery route.
[0019] Preferably, after determining the historical delivery routes matching the delivery demand information as the target delivery route, the method further includes:
[0020] Get real-time package location information;
[0021] Determine whether the target delivery route includes the real-time delivery location information;
[0022] If the target delivery route does not contain the real-time delivery location information, it is determined that the target delivery route has deviated, and the historical delivery route containing the real-time delivery location information is identified as deviation information.
[0023] Preferably, after determining the historical delivery routes matching the delivery demand information as the target delivery route, the method further includes:
[0024] Get real-time package location information;
[0025] Determine a target sub-route that contains the real-time express delivery location information within the target express delivery route; the target sub-route consists of two adjacent express delivery nodes in the target express delivery route.
[0026] Determine the total delivery time for the target sub-route;
[0027] Determine the delivery time of the target express package on the target sub-route;
[0028] Determine whether the delivery time is greater than the total delivery time. If so, determine that the target delivery route has deviated and identify the delivery delay information as the deviation information.
[0029] Preferably, after determining the historical delivery routes matching the delivery demand information as the target delivery route, the method further includes:
[0030] The current location of the target package is inferred based on the target package's route.
[0031] Preferably, after inferring the current location of the target express delivery based on the target express delivery route, the method further includes:
[0032] Display an electronic map, and show the target delivery route and the current location of the target delivery on the target delivery route in the electronic map.
[0033] A logistics trajectory processing system, comprising:
[0034] The first acquisition module is used to acquire the origin, destination, and demand information of the target express delivery.
[0035] The second acquisition module is used to acquire multiple historical express delivery routes; the origin information of the historical express delivery routes is the same as the origin information of the target express delivery, and the destination information of the historical express delivery routes is the same as the destination information of the target express delivery.
[0036] The first determining module is used to determine the historical express delivery routes that match the express delivery demand information as the target express delivery route.
[0037] A logistics trajectory processing device, comprising:
[0038] Memory, used to store computer programs;
[0039] A processor is used to implement the steps of any of the above-described logistics trajectory processing methods when executing the computer program.
[0040] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the above-described logistics trajectory processing methods.
[0041] This application provides a logistics trajectory processing method that obtains the origin, destination, and demand information of a target express delivery; acquires multiple historical express routes; the origin and destination information of the historical express routes are the same as those of the target express delivery; and determines the historical express route matching the demand information as the target express route. In this application, the origin, destination, and demand information of the target express delivery can be obtained, along with multiple historical express routes; and the historical express route matching the demand information is determined as the target express route. Since historical express routes are actual, completed express routes, their accuracy is high. Therefore, determining the historical express route matching the demand information as the target express route ensures the accuracy of the target express route. This application also provides a logistics trajectory processing system, device, and computer-readable storage medium that solves the corresponding technical problems. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0043] Figure 1 A first flowchart of a logistics trajectory processing method provided in an embodiment of this application;
[0044] Figure 2 A second flowchart of a logistics trajectory processing method provided in an embodiment of this application;
[0045] Figure 3 This is a schematic diagram of historical express delivery routes;
[0046] Figure 4 A third flowchart of a logistics trajectory processing method provided in an embodiment of this application;
[0047] Figure 5 This is a diagram illustrating how to send the target express delivery route to the user's client via a short H5 link on a map.
[0048] Figure 6 This is a schematic diagram of the structure of a logistics trajectory processing system provided in an embodiment of this application;
[0049] Figure 7 This is a schematic diagram of the structure of a logistics trajectory processing device provided in an embodiment of this application;
[0050] Figure 8This is another structural schematic diagram of a logistics trajectory processing device provided in an embodiment of this application. Detailed Implementation
[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0052] This application embodiment can be implemented through a terminal and / or a server. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The server can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0053] Please see Figure 1 , Figure 1 This is a first flowchart of a logistics trajectory processing method provided in an embodiment of this application.
[0054] This application provides a logistics trajectory processing method, which may include the following steps:
[0055] Step S101: Obtain the origin, destination, and delivery requirements of the target package.
[0056] In practical applications, you can first obtain the origin, destination, and demand information of the target package so that you can process the package route based on these information.
[0057] It should be noted that the origin information of the express delivery refers to the sending point of the target express delivery, the destination information refers to the receiving point of the target express delivery, and the express delivery demand information refers to the demand of the target express delivery during the delivery process. All of these can be determined according to actual needs. For example, if the target express delivery needs to be sent from Shenzhen to Beijing quickly and with protection against breakage, then the origin information of the express delivery is Shenzhen, the destination information is Beijing, and the express delivery demand information is quick and with protection against breakage.
[0058] Step S102: Obtain multiple historical express delivery routes; the origin information of the historical express delivery routes is the same as the origin information of the target express delivery, and the destination information of the historical express delivery routes is the same as the destination information of the target express delivery.
[0059] In practical applications, after obtaining the origin, destination, and delivery requirements of the target package, multiple historical delivery routes can be obtained. The number of historical delivery routes can be determined according to actual needs. The origin and destination information of each historical delivery route is the same as that of the target package. This allows for the rapid and accurate determination of the target package route based on the historical delivery routes.
[0060] Step S103: Determine the historical express delivery routes that match the express delivery demand information as the target express delivery route.
[0061] In practical applications, after obtaining multiple historical delivery routes, the historical delivery route that matches the delivery demand information can be identified as the target delivery route.
[0062] It should be noted that the target delivery route information can be determined according to specific needs, and this application does not impose specific limitations here. Furthermore, after determining the historical delivery routes matching the delivery demand information as the target delivery route, the target delivery route can be sent to the user's client so that the user can view their target delivery route using the client. In addition, in specific application scenarios, the user's client can also call its own installed map service software to display the target delivery route, etc., and this application does not impose specific limitations here.
[0063] In specific application scenarios, after determining the historical express delivery routes that match the express delivery demand information as the target express delivery route, the current location of the target express delivery can be inferred based on the target express delivery route. Specifically, the departure time of the target express delivery can be determined, the current time can be determined, the difference between the two times can be calculated to determine the delivery time, and the express delivery location point in the target express delivery route that matches the delivery time can be determined as the current location of the target express delivery, etc.
[0064] In specific application scenarios, after inferring the current location of the target package based on the target delivery route, an electronic map can be displayed, showing the target delivery route and the current location of the target package along the route. This allows users to view the target delivery route and the current location of the target package along the route using the electronic map, making it easier for users to understand the relevant delivery information.
[0065] This application provides a logistics trajectory processing method that obtains the origin, destination, and demand information of a target express delivery; obtains multiple historical express routes; the origin and destination information of the historical express routes are the same as those of the target express delivery; and determines the historical express route matching the demand information as the target express route. In this application, the origin, destination, and demand information of the target express delivery can be obtained, along with multiple historical express routes; and the historical express route matching the demand information is determined as the target express route. Since historical express routes are actual, already-occurred routes, their accuracy is high. Therefore, determining the historical express route matching the demand information as the target express route ensures the accuracy of the target express route.
[0066] Please see Figure 2 , Figure 2 This is a second flowchart of a logistics trajectory processing method provided in an embodiment of this application.
[0067] This application provides a logistics trajectory processing method, which may include the following steps:
[0068] Step S201: Obtain the origin, destination, and delivery requirements of the target courier.
[0069] Step S202: Obtain multiple historical express delivery records, which include historical express delivery routes and historical delivery time information; the origin information of the historical express delivery routes is the same as the origin information of the target express delivery, and the destination information of the historical express delivery routes is the same as the destination information of the target express delivery.
[0070] In practical applications, historical express delivery routes are generally stored in the form of historical express delivery records. Therefore, when obtaining multiple historical express delivery routes, multiple historical express delivery records can be obtained. These records can include historical express delivery routes and historical delivery time information. For ease of understanding, let's assume the origin of the express delivery is Shenzhen and the destination is Beijing. After analyzing historical express delivery routes from Shenzhen to Beijing, we find three different routes: Shenzhen-Dongguan transfer center-Beijing (departing mainly at 10 PM, total travel time 38 hours), Shenzhen-Beijing (departing at three times a day, total travel time 30 hours), and Shenzhen-Airport-Beijing (departing mainly at 6 PM, total travel time 10 hours). Examples of historical express delivery routes can be shown below. Figure 3As shown. It should be noted that the type of historical timeliness information can be determined according to actual needs. For example, historical timeliness information can be the total transportation time of the express delivery, or the transportation time of the express delivery between various express delivery nodes, etc. It should also be noted that the express delivery node in this application refers to the node where the express delivery stops in the transportation route in advance. It can be a transit node in the express delivery process, etc., and this application does not make specific limitations here. Furthermore, in the process of determining the historical timeliness information in the historical express delivery route, the express delivery departure time information and the express delivery time information between adjacent express delivery nodes can be determined, and the determined corresponding information can be used as historical timeliness information, etc. For example, if the express delivery route is express delivery origin - express delivery transit node 1 - express delivery transit node 2 - express delivery destination, then the express delivery time information can include the time information from the express delivery origin to express delivery transit node 1, the time information from express delivery transit node 1 to express delivery transit node 2, and the time information from express delivery transit node 2 to the express delivery destination, etc.
[0071] In practical applications, when using transit nodes as express delivery nodes, the express delivery methods of each historical express delivery route can be determined; the same express delivery node information can be identified within express delivery routes corresponding to the same express delivery method; and this express delivery node information can be used as the express delivery transit point information for historical express delivery routes corresponding to the same express delivery method. Taking the express delivery route from Shenzhen to Beijing as an example, during the air freight process, a transit point needs to be established at the airport's distribution center; therefore, the express delivery transit point information for this route is the airport distribution center.
[0072] Step S203: Determine the statistical timeliness information of the same historical express route based on the historical timeliness information in multiple historical express transportation records including the same historical express route.
[0073] Step S204: When the express delivery demand information includes timeliness demand information, determine the historical express delivery route corresponding to the statistical timeliness information that matches the timeliness demand information, and use it as the target express delivery route.
[0074] In practical applications, after obtaining multiple historical express delivery records, theoretically, the historical delivery time information corresponding to the same historical express delivery route should be the same. However, due to factors such as weather and traffic, the historical delivery time information corresponding to the same historical express delivery route may differ. In this case, to facilitate the description of the delivery time information of the same historical express delivery route, statistical delivery time information of the same historical express delivery route can be determined based on the historical delivery time information from multiple historical express delivery records that include the same historical express delivery route. This statistical delivery time information can then be used to characterize the delivery time information of this type of historical express delivery route. Correspondingly, when express delivery demand information includes delivery time demand information, the historical express delivery route corresponding to the statistical delivery time information that matches the delivery time demand information can be determined as the target express delivery route. The matching of statistical delivery time information and delivery time demand information here can mean that the delivery time corresponding to the statistical delivery time information is less than or equal to the delivery time required by the delivery time demand information, or that the difference between the delivery time corresponding to the statistical delivery time information and the delivery time required by the delivery time demand information is the smallest (relative to all statistical delivery time information).
[0075] It should be noted that this embodiment only illustrates, as an example, how to determine the target express delivery route when the express delivery demand information is time-sensitive demand information. However, this application does not limit the specific process of determining the target express delivery route based on the historical express delivery route matching the express delivery demand information. This process can be determined according to the specific application scenario. For example, when the express delivery demand information is transportation mode demand information, the historical transportation modes corresponding to each historical express delivery route can be determined, and the historical express delivery route corresponding to the historical transportation mode matching the transportation mode demand information (here, matching means the same) can be determined as the target express delivery route. Similarly, when the express delivery demand information is category demand information (e.g., whether it is fragile, whether it is a large item), the historical category information corresponding to each historical express delivery route (i.e., the category information of the transported express) can be determined, and the historical express delivery route corresponding to the historical category information matching the category demand information (here, matching means the same) can be determined as the target express delivery route. The express delivery demand information can include at least one of the aforementioned time-sensitive demand information, transportation mode demand information, and category demand information.
[0076] In specific application scenarios, when determining the statistical timeliness information of a historical express delivery route based on historical timeliness information from multiple historical express delivery records that include the same historical route, if the number of historical express delivery records including the same historical route exceeds a preset value, the historical timeliness information from multiple historical express delivery records including the same historical route can be processed based on a piecewise normal distribution and a weighted algorithm to obtain the statistical timeliness information of the same historical express delivery route. Specifically, for the same historical express delivery route, a weighted average of all historical timeliness information can be calculated first. Based on this weighted average, outliers in the historical timeliness information can be removed, such as historical timeliness information that exceeds a preset multiple of the weighted average. Then, the frequency of occurrence of the remaining historical timeliness information can be counted, and then the historical timeliness information can be analyzed. The system fits a piecewise normal distribution to the corresponding occurrence counts, and uses the mean of the piecewise normal distribution fitting results as the statistical timeliness information for the same historical express delivery route. If the number of historical express delivery records including the same historical express delivery route is less than or equal to a preset value, the historical timeliness information in multiple historical express delivery records including the same historical express delivery route can be processed based on the box-and-whisker algorithm and the method of removing upper and lower limits to obtain the statistical timeliness information for the same historical express delivery route. Specifically, for the same historical express delivery route, the maximum and minimum values of all historical timeliness information can be removed first, and the occurrence counts of the remaining historical timeliness information can be counted. Then, a box-and-whisker plot can be constructed based on the remaining historical timeliness information and the corresponding occurrence counts. Finally, the average value in the box-and-whisker plot is used as the statistical timeliness information for the same historical express delivery route. It should be noted that the preset value in this application is used to determine the method of determining the statistical timeliness information, and its specific value can be determined according to actual needs. This application does not make specific limitations here. The above method performs differentiated processing according to the sample size (including the number of historical express delivery records for the same historical express delivery route), which can ensure the representativeness and usability of the obtained statistical timeliness information.
[0077] Please see Figure 4 , Figure 4 This is a third flowchart of a logistics trajectory processing method provided in an embodiment of this application.
[0078] This application provides a logistics trajectory processing method, which may include the following steps:
[0079] Step S301: Obtain the origin, destination, and delivery requirements of the target courier.
[0080] Step S302: Obtain multiple historical express delivery routes; the origin information of the historical express delivery routes is the same as the origin information of the target express delivery, and the destination information of the historical express delivery routes is the same as the destination information of the target express delivery.
[0081] Step S303: Determine the historical express delivery routes that match the express delivery demand information as the target express delivery route.
[0082] Step S304: Obtain real-time express delivery location information.
[0083] Step S305: Determine whether the target delivery route contains real-time delivery location information; if the target delivery route does not contain real-time delivery location information, proceed to step S306.
[0084] Step S306: Determine that the target express route has deviated, and identify the historical express route containing real-time express location information as the deviation information.
[0085] In practical applications, during the transportation of the target express delivery according to the target route, the actual delivery route may deviate from the target route due to factors such as weather and traffic. To avoid this situation, after determining the historical express delivery route that matches the express delivery demand information as the target express delivery route, it is possible to determine whether the target express delivery route has deviated. If so, the deviation information can be determined. Specifically, the deviation information can also be sent to the user's client so that the user can use the client to determine the actual express delivery route based on the deviation information and the target express delivery route.
[0086] In specific application scenarios, in the process of determining whether there is a deviation in the target express delivery route, real-time express delivery location information can be obtained. Real-time express delivery location information is the location information of the target express delivery during the transportation process at the current moment. It can also be determined whether the target express delivery route contains real-time express delivery location information. If the target express delivery route does not contain real-time express delivery location information, it is determined that there is a deviation in the target express delivery route. Furthermore, historical express delivery routes that contain real-time express delivery location information can be identified as deviation information.
[0087] In practical applications, even when the target delivery route matches the actual delivery route, the delivery time of the target route may not match the actual delivery time. To avoid this, after determining the historical delivery route matching the delivery demand information as the target delivery route, real-time delivery location information can be obtained; the target sub-route containing real-time delivery location information can be identified within the target delivery route; the target sub-route consists of two adjacent delivery nodes in the target delivery route. For example, in a delivery route from the delivery origin to the delivery transfer node 1 to the delivery transfer node 2 to the delivery destination, if the real-time delivery location information is located between delivery transfer node 1 and delivery transfer node 2, then the two delivery nodes of the target sub-route are delivery transfer node 1 and delivery transfer node 2; the total delivery time of the target sub-route can be determined; the delivery time already taken for the target package on the target sub-route can be determined; and it can be determined whether the delivery time already taken is greater than the total delivery time. If so, it is determined that there is a deviation in the target delivery route, and the delivery delay information is identified as deviation information.
[0088] It should be noted that the delivery delay information refers to the difference between the actual delivery time of the target package on the target sub-route and the total delivery time. In specific application scenarios, when determining the delivery delay information as deviation information, the distance between the starting delivery node in the target sub-route and the real-time delivery location information can be calculated. The ratio of this distance to the total length of the target sub-route can be calculated, and the product of this ratio and the total delivery time can be calculated. Then, the difference between the current delivery time and this product can be calculated, and this difference can be used as the delivery delay information. Of course, other methods for calculating delivery delay information are also possible, and this application does not specifically limit them. In specific application scenarios, when sending the target delivery route to the client, the target delivery route can be sent to the user client via a short map H5 link. The specific process can be as follows: Figure 5 As shown, it includes the following steps:
[0089] The user client sends a package tracking request to the tracking system;
[0090] The tracking system extracts the shipping time, origin, destination, and status information, and sends it to the delivery time system.
[0091] The timeliness system obtains historical routes and timeliness data based on the shipping time, origin and destination information, and sends them to the route planning system;
[0092] The route planning system uses historical routes and time-sensitive data based on the mailing time, origin and destination information to plan driving routes and send them to the map service.
[0093] The map service determines route coordinates based on the driving path and sends them to the route planning system;
[0094] The route planning system determines the time consumption of each node based on the route coordinate information, predicts the current point information, and sends it to the timeliness system; the timeliness system generates an H5 short link and sends it to the user client.
[0095] The user client opens the URL corresponding to the H5 short link and sends it to the timeliness system. The timeliness system checks the availability of the URL and whether the route exists. If the URL is unavailable or the route does not exist, the driving route plan is retrieved again. If the URL is available and the route exists, the driving route plan in the URL is sent to the map service.
[0096] The map service determines route coordinates based on driving route planning and sends them to the real-time system;
[0097] The timeliness system renders the page based on route data and displays it to the user's client.
[0098] Please see Figure 6 , Figure 6This is a schematic diagram of the structure of a logistics trajectory processing system provided in an embodiment of this application.
[0099] This application provides a logistics trajectory processing system, which may include:
[0100] The first acquisition module 101 is used to acquire the origin information, destination information and demand information of the target express delivery.
[0101] The second acquisition module 102 is used to acquire multiple historical express delivery routes; the origin information of the historical express delivery routes is the same as the origin information of the target express delivery, and the destination information of the historical express delivery routes is the same as the destination information of the target express delivery.
[0102] The first determining module 103 is used to determine the historical express delivery routes that match the express delivery demand information as the target express delivery route.
[0103] This application provides a logistics trajectory processing system, wherein the second acquisition module may include:
[0104] The first acquisition unit is used to acquire multiple historical express delivery records, which include historical express delivery routes and historical delivery time information.
[0105] The first determining unit is used to determine the statistical timeliness information of the same historical express route based on the historical timeliness information in multiple historical express transportation records including the same historical express route;
[0106] When the express delivery demand information includes timeliness demand information, the first determining module includes:
[0107] The second determining unit is used to determine the historical express delivery route corresponding to the statistical timeliness information that matches the timeliness demand information, so as to serve as the target express delivery route.
[0108] This application provides a logistics trajectory processing system. The first determining unit is specifically used for: if the number of historical express delivery records including the same historical express route is greater than a preset value, then processing the historical timeliness information in multiple historical express delivery records including the same historical express route based on a piecewise normal distribution and a weighted algorithm to obtain the statistical timeliness information of the same historical express route; if the number of historical express delivery records including the same historical express route is less than or equal to the preset value, then processing the historical timeliness information in multiple historical express delivery records including the same historical express route based on a box-and-whisker algorithm and a method for removing upper and lower limits to obtain the statistical timeliness information of the same historical express route.
[0109] The logistics trajectory processing system provided in this application embodiment may further include:
[0110] The third acquisition module is used to acquire real-time express delivery location information after the first determining module determines the historical express delivery route that matches the express delivery demand information as the target express delivery route;
[0111] The first judgment module is used to determine whether the target express route contains the real-time express location information; if the target express route does not contain the real-time express location information, it is determined that the target express route has deviated, and the historical express route containing the real-time express location information is identified as deviation information.
[0112] The logistics trajectory processing system provided in this application embodiment may further include:
[0113] The fourth acquisition module is used to acquire real-time express delivery location information after the first determining module determines the historical express delivery route that matches the express delivery demand information as the target express delivery route;
[0114] The second determining module is used to determine a target sub-route that contains the real-time express delivery location information in the target express delivery route; the target sub-route is composed of two adjacent express delivery nodes in the target express delivery route.
[0115] The fifth determining module is used to determine the total delivery time of the target sub-route;
[0116] The sixth determining module is used to determine the delivery time of the target express package on the target sub-route;
[0117] The second judgment module is used to determine whether the delivery time is greater than the total delivery time. If so, it is determined that the target delivery route has deviated, and the delivery delay information is determined as the deviation information.
[0118] The logistics trajectory processing system provided in this application embodiment may further include:
[0119] The first prediction module is used to infer the current location of the target express delivery based on the target express delivery route after the first determination module determines the historical express delivery route that matches the express delivery demand information as the target express delivery route.
[0120] The logistics trajectory processing system provided in this application embodiment may further include:
[0121] The first display module is used to display an electronic map after the first prediction module infers the current location of the target express delivery based on the target express delivery route, and to display the target express delivery route and the current location of the target express delivery on the target express delivery route in the electronic map.
[0122] This application also provides a logistics trajectory processing device and a computer-readable storage medium, both of which have the corresponding effects of the logistics trajectory processing method provided in the embodiments of this application. Please refer to... Figure 7 , Figure 7 This is a schematic diagram of the structure of a logistics trajectory processing device provided in an embodiment of this application.
[0123] This application provides a logistics trajectory processing device, including a memory 201 and a processor 202. The memory 201 stores a computer program, and the processor 202 executes the computer program to implement the steps of the logistics trajectory processing method described in any of the above embodiments.
[0124] Please see Figure 8 Another logistics trajectory processing device provided in this application embodiment may further include: an input port 203 connected to the processor 202 for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202 for displaying the processing results of the processor 202 to the outside; and a communication module 205 connected to the processor 202 for enabling communication between the logistics trajectory processing device and the outside. The display unit 204 may be a display panel, a laser scanner, or the like; the communication methods used by the communication module 205 include, but are not limited to, Mobile High Definition Link (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), wireless connection: Wireless Fidelity (WiFi), Bluetooth communication technology, Bluetooth Low Energy communication technology, and IEEE 802.11s-based communication technology.
[0125] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps of the logistics trajectory processing method described in any of the above embodiments.
[0126] The computer-readable storage media involved in this application include random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage media known in the art.
[0127] Accordingly, this application also provides a computer program product for implementing the steps of the logistics trajectory processing method described in any of the above embodiments when executing a computer program.
[0128] For descriptions of relevant parts of the logistics trajectory processing system, equipment, and computer-readable storage medium provided in the embodiments of this application, please refer to the detailed descriptions of the corresponding parts in the logistics trajectory processing method provided in the embodiments of this application, which will not be repeated here. Furthermore, parts of the technical solutions provided in the embodiments of this application that are consistent with the implementation principles of corresponding technical solutions in the prior art have not been described in detail to avoid excessive elaboration.
[0129] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0130] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for processing logistics trajectories, characterized in that, include: Obtain the origin, destination, and delivery demand information of the target express delivery, whereby the delivery demand information refers to the demand of the target express delivery during the delivery process. Obtain multiple historical express delivery routes; the origin information of the historical express delivery routes is the same as the origin information of the target express delivery, and the destination information of the historical express delivery routes is the same as the destination information of the target express delivery. The historical express delivery routes that match the express delivery demand information are identified as the target express delivery routes; The acquisition of multiple historical delivery routes includes: Obtain multiple historical express delivery records, which include historical express delivery routes and historical delivery time information; If the number of historical express delivery records including the same historical express route is greater than the preset value, then for the same historical express route, the weighted average of all historical time-delivery information is calculated, historical time-delivery information that is greater than the preset multiple of the weighted average is removed, the occurrence frequency of the remaining historical time-delivery information is counted, a piecewise normal distribution is fitted to the historical time-delivery information and the corresponding occurrence frequency, and the mean of the piecewise normal distribution fitting result is used as the statistical time-delivery information of the same historical express route; If the number of historical express delivery records including the same historical express route is less than or equal to the preset value, then for the same historical express route, the maximum and minimum values of all historical timeliness information are removed, the occurrence frequency of the remaining historical timeliness information is counted, and a box-and-whisker diagram is constructed based on the box-and-whisker algorithm for the remaining historical timeliness information and the corresponding occurrence frequency. The average value in the box-and-whisker diagram is used as the statistical timeliness information of the same historical express route. When the express delivery demand information includes timeliness demand information, determining the historical express delivery route matching the express delivery demand information as the target express delivery route includes: Determine the historical express delivery routes corresponding to the statistical timeliness information that matches the timeliness requirement information, and use them as the target express delivery routes.
2. The method according to claim 1, characterized in that, After determining the historical delivery routes matching the delivery demand information as the target delivery route, the process also includes: Get real-time package location information; Determine whether the target delivery route includes the real-time delivery location information; If the target delivery route does not contain the real-time delivery location information, it is determined that the target delivery route has deviated, and the historical delivery route containing the real-time delivery location information is identified as deviation information.
3. The method according to claim 1, characterized in that, After determining the historical delivery routes matching the delivery demand information as the target delivery route, the process also includes: Get real-time package location information; Determine a target sub-route that contains the real-time express delivery location information within the target express delivery route; the target sub-route consists of two adjacent express delivery nodes in the target express delivery route. Determine the total delivery time for the target sub-route; Determine the delivery time of the target express package on the target sub-route; Determine whether the delivery time is greater than the total delivery time. If so, determine that the target delivery route has deviated and identify the delivery delay information as deviation information.
4. The method according to claim 1, characterized in that, After determining the historical delivery routes matching the delivery demand information as the target delivery route, the process also includes: The current location of the target package is inferred based on the target package's route.
5. The method according to claim 4, characterized in that, After inferring the current location of the target express delivery based on the target express delivery route, the method further includes: Display an electronic map, and show the target delivery route and the current location of the target delivery on the target delivery route in the electronic map.
6. A logistics trajectory processing system, characterized in that, include: The first acquisition module is used to acquire the origin information, destination information, and delivery demand information of the target express delivery, wherein the delivery demand information refers to the demand of the target express delivery during the delivery process. The second acquisition module is used to acquire multiple historical express delivery routes; The origin information of the historical express delivery route is the same as the origin information of the target express delivery, and the destination information of the historical express delivery route is the same as the destination information of the target express delivery. The first determining module is used to determine the historical express delivery routes that match the express delivery demand information as the target express delivery route; Its value, the second acquisition module includes: The first acquisition unit is used to acquire multiple historical express delivery records, which include historical express delivery routes and historical delivery time information. The first determining unit is configured to: if the number of historical express delivery records including the same historical express delivery route is greater than a preset value, calculate the weighted average of all historical timeliness information for the same historical express delivery route, remove historical timeliness information that is greater than a preset multiple of the weighted average, count the occurrence frequency of the remaining historical timeliness information, fit a piecewise normal distribution to the historical timeliness information and its corresponding occurrence frequency, and use the mean of the piecewise normal distribution fitting result as the statistical timeliness information of the same historical express delivery route; if the number of historical express delivery records including the same historical express delivery route is less than or equal to the preset value, remove the maximum and minimum values from all historical timeliness information for the same historical express delivery route, count the occurrence frequency of the remaining historical timeliness information, construct a box-and-whisker graph based on the box-and-whisker algorithm for the remaining historical timeliness information and its corresponding occurrence frequency, and use the average value in the box-and-whisker graph as the statistical timeliness information of the same historical express delivery route; When the express delivery demand information includes timeliness demand information, the first determining module includes: The second determining unit is used to determine the historical express delivery route corresponding to the statistical timeliness information that matches the timeliness demand information, so as to serve as the target express delivery route.
7. A logistics trajectory processing device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the logistics trajectory processing method as described in any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the logistics trajectory processing method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Logistics scheduling method and device, computer equipment and storage medium
CN111144659A