International order delivery scheme determination method and device, equipment and storage medium

By acquiring and sorting international order distribution information, optimized pickup and delivery routes are generated, which solves the problem of low distribution efficiency in the existing technology and achieves efficient and reliable distribution and responsibility traceability.

CN118627993APending Publication Date: 2024-09-10SHANGHAI YUNDA HIGH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410755361.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the current local distribution scenario in the international market, the pickup and delivery links rely on offline communication, which is inefficient and error-prone. Especially when the order volume is large, it is easy for untimely and unreasonable arrangements to cause delivery delays.

Method used

By obtaining driver login information and pending order allocation table, filter and sort pickup and delivery information, generate pickup routes and delivery routes, use genetic algorithms and metaheuristic algorithms to optimize routes, and judge receipt information after completing order delivery to generate exceptions or routines Record.

Benefits of technology

It achieves rapid generation of reliable pickup and delivery routes, improves distribution efficiency, facilitates traceability and responsibility allocation, and reduces the risk of delivery delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627993A
    Figure CN118627993A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to an international order delivery scheme determination method and device, equipment and a storage medium, and the method comprises the steps: obtaining driver login information and a to-be-processed order distribution table, and carrying out the screening of to-be-processed order data of a driver; obtaining delivery information and delivery information from the to-be-processed order data of the driver, sorting the plurality of to-be-processed orders according to the delivery information and the delivery information, and generating a delivery route and a delivery route in sequence; when the delivery of any order to be processed is completed, obtaining corresponding signing information and an actual transportation path, and judging whether an abnormal problem exists or not; according to the judgment result of the abnormal problem, integrating the actual transportation path to correspondingly generate an abnormal delivery record or a conventional delivery record; according to the method disclosed by the invention, the pick-up route and the delivery route can be quickly generated, a reliable route reference is provided for a driver during pick-up or delivery, a record is correspondingly generated for each order to be delivered, and tracing is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment and storage medium for determining an international order delivery plan. Background Art

[0002] Currently, for local delivery scenarios in the international market, after the customer completes the order, the logistics driver needs to pick up the goods at the designated location and deliver the goods according to the delivery address in the order. The existing pick-up and delivery process still needs to complete the order receipt through offline communication. That is, when the company receives the order, it needs to arrange the driver to pick up and deliver the goods at the designated warehouse offline, which is inefficient and prone to errors. When the order volume is large, it is easy to have untimely and unreasonable arrangements, resulting in delivery delays.

[0003] It can be seen that the existing technology still needs to be improved and enhanced. Summary of the invention

[0004] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a method for determining an international order distribution plan, which can quickly generate a pickup route and a delivery route, provide a reliable route reference for drivers when picking up or delivering goods, and generate a record for each order to be delivered, which is convenient for traceability.

[0005] The first aspect of the present invention provides a method for determining an international order distribution plan, comprising: obtaining driver login information and a pending order allocation table, filtering out the driver's pending order data from the pending order allocation table, wherein the driver's pending order data includes multiple pending orders; obtaining pickup information from the driver's pending order data, sorting the multiple pending orders according to the pickup information, and generating a pickup route; obtaining delivery information from the driver's pending order data, sorting the multiple pending orders according to the delivery information, and generating a delivery route; when the delivery of any pending order is completed, obtaining the receipt information and actual transportation path corresponding to the pending order, and judging whether there is an abnormal problem according to the receipt information; according to the judgment result of the abnormal problem, integrating the actual transportation path to generate an abnormal delivery record or a regular delivery record.

[0006] Optionally, in a first embodiment of the first aspect of the present invention, the driver login information and the pending order allocation table are obtained, and the driver's pending order data is filtered out from the pending order allocation table, wherein the driver's pending order data includes multiple pending orders. Specifically, the driver login information is obtained, and the driver login information includes a driver account and a login password, and according to the driver account, the driver ID information is obtained from a preset driver coding table; the pending order allocation table is obtained, and the pending order allocation table records multiple pending orders and the driver information corresponding to the pending orders; a regular expression is used to match the driver ID information and the driver information in the pending order allocation table to filter out the driver's pending order data, and the driver's pending order data includes multiple pending orders.

[0007] Optionally, in a second implementation of the first aspect of the present invention, the method of obtaining pickup information from the driver's pending order data, sorting multiple pending orders according to the pickup information, and generating a pickup route specifically includes: obtaining pickup information from the driver's pending order data, the pickup information including pickup time, pickup address and pickup address code; comparing the current time and the pickup time of multiple pending orders, and sorting the multiple pending orders once from small to large according to the difference between the current time and the pickup time to obtain a pickup sorting result; sorting the first pickup sorting result twice from small to large according to the pickup address code by using the quick sorting method to obtain a secondary pickup sorting result; extracting pending orders of any postal district from the secondary pickup sorting result by using a regular expression, and generating a postal district pickup route by using a genetic algorithm according to the pickup address of the pending orders in the postal district; merging multiple postal district pickup routes according to the connection points of multiple postal district pickup routes, and optimizing the merged route by using a meta-heuristic algorithm to obtain a pickup route.

[0008] Optionally, in a third embodiment of the first aspect of the present invention, the method of obtaining delivery information from the driver's pending order data, sorting multiple pending orders according to the delivery information, and generating a delivery route specifically includes: obtaining delivery information from the driver's pending order data, the delivery information including delivery time, delivery address and delivery address code; comparing the current time and the delivery time of multiple pending orders, and sorting the multiple pending orders once from small to large according to the difference between the current time and the delivery time to obtain a primary delivery sorting result; sorting the primary delivery sorting result twice from small to large according to the delivery address code using the quick sorting method to obtain a secondary delivery sorting result; extracting pending orders of any postal district from the secondary delivery sorting result using a regular expression, and generating a postal district delivery route according to the delivery address of the pending orders in the postal district using a genetic algorithm; merging multiple postal district delivery routes according to the connection points of multiple postal district delivery routes, and optimizing the merged routes using a meta-heuristic algorithm to obtain a delivery route.

[0009] Optionally, in a fourth embodiment of the first aspect of the present invention, when the delivery of any pending order is completed, the receipt information and the actual transportation route corresponding to the pending order are obtained, and whether there is an abnormal problem is determined based on the receipt information, specifically including: when the delivery of any pending order is completed, the receipt information and the actual transportation route corresponding to the pending order are obtained, the receipt information including a receipt description and a receipt picture; extracting the receipt time and the receipt driver information from the receipt description, and inserting a receipt watermark into the receipt picture based on the receipt time and the receipt driver information using image processing software; using the KMP algorithm to determine whether there are preset abnormal keywords in the receipt description, if so, it indicates that there is an abnormal problem, if not, it indicates that there is no abnormal problem.

[0010] Optionally, in a fifth implementation of the first aspect of the present invention, the integration of the actual transportation path to generate an abnormal delivery record or a regular delivery record based on the judgment result of the abnormal problem specifically includes: constructing an SQL query statement based on the order number of the order to be processed, using the constructed SQL query statement to obtain basic information of the order to be processed from the order table of the database, and obtaining node information of the order to be processed from the order node table of the database; the judgment result of the abnormal problem includes the existence of an abnormal problem and the absence of an abnormal problem. When an abnormal problem exists, the cause of the abnormality is obtained, and the cause of the abnormality, basic information, node information and actual transportation path are integrated to generate an abnormal delivery record; when there is no abnormal problem, the basic information, node information and actual transportation path are integrated to generate a regular delivery record.

[0011] Optionally, in a sixth implementation of the first aspect of the present invention, the integration of the exception cause, basic information, node information and actual transportation path to generate an exception delivery record specifically includes: using a JOIN operation to associate the basic information and node information to obtain order details information, and storing the order details information in JSON format; parsing the exception cause and order details information into a JavaScript object, rendering the parsed JavaScript object into a preset exception record display template, adding interactive elements according to the node information, and using a JavaScript map library to display the actual transportation path to obtain an exception record display page; using a CCS style to beautify the exception record display page to obtain an exception delivery record.

[0012] The second aspect of the present invention provides an international order distribution plan determination device, including: a screening module, used to obtain driver login information and a pending order allocation table, and screen out the driver's pending order data from the pending order allocation table, wherein the driver's pending order data includes multiple pending orders; a pick-up module, used to obtain pick-up information from the driver's pending order data, sort and process the multiple pending orders according to the pick-up information, and generate a pick-up route; a delivery module, used to obtain delivery information from the driver's pending order data, sort and process the multiple pending orders according to the delivery information, and generate a delivery route; a judgment module, used to obtain the receipt information and actual transportation path corresponding to the pending order when the delivery of any pending order is completed, and judge whether there is an abnormal problem according to the receipt information; a generation module, according to the judgment result of the abnormal problem, integrates the actual transportation path to generate an abnormal delivery record or a regular delivery record.

[0013] Optionally, in a first implementation method of the second aspect of the present invention, the screening module includes: a first acquisition unit, used to obtain driver login information, the driver login information includes a driver account and a login password, and according to the driver account, obtaining the driver ID information from a preset driver coding table; a second acquisition unit, used to obtain a pending order distribution table, the pending order distribution table records multiple pending orders and driver information corresponding to the pending orders; a screening unit, used to use a regular expression to match the driver ID information and the driver information in the pending order distribution table to filter out the driver's pending order data, the driver's pending order data includes multiple pending orders.

[0014] Optionally, in a second implementation of the second aspect of the present invention, the pickup module includes: a third acquisition unit, used to acquire pickup information from the driver's pending order data, the pickup information including the pickup time, the pickup address and the pickup address code; a first comparison unit, used to compare the current time and the pickup time of multiple pending orders, and according to the difference between the current time and the pickup time, use a quick sort method to sort the multiple pending orders from small to large once to obtain a pickup sorting result; a first sorting unit, used to use a quick sort method to sort the first pickup sorting result from small to large according to the pickup address code, to obtain a secondary pickup sorting result; a second sorting unit, used to use a regular expression to extract the pending orders of any postal area from the secondary pickup sorting result, and use a genetic algorithm to generate a postal area pickup route according to the pickup address of the pending orders in the postal area; a first merging unit, used to merge multiple postal area pickup routes according to their connection points, and use a meta-heuristic algorithm to optimize the merged route to obtain a pickup route.

[0015] Optionally, in a third implementation of the second aspect of the present invention, the delivery module includes: a fourth acquisition unit, used to acquire delivery information from the driver's pending order data, the delivery information including delivery time, delivery address and delivery address code; a second comparison unit, used to compare the current time and the delivery time of multiple pending orders, and according to the difference between the current time and the delivery time, use a quick sort method to sort the multiple pending orders from small to large once to obtain a primary delivery sorting result; a third sorting unit, used to use a quick sort method to sort the primary delivery sorting result from small to large according to the delivery address code, to obtain a secondary delivery sorting result; a fourth sorting unit, used to use a regular expression to extract pending orders of any postal district from the secondary delivery sorting result, and use a genetic algorithm to generate a postal district delivery route according to the delivery address of the pending orders of the postal district; a second merging unit, used to merge multiple postal district delivery routes according to their connection points, and use a meta-heuristic algorithm to optimize the merged route to obtain a delivery route.

[0016] Optionally, in a fourth implementation of the second aspect of the present invention, the judgment module includes: a fifth acquisition unit, used to obtain the receipt information and actual transportation route corresponding to the pending order when the delivery of any pending order is completed, the receipt information including the receipt description and the receipt picture; an insertion unit, used to extract the receipt time and the receipt driver information from the receipt description, and insert a receipt watermark into the receipt picture based on the receipt time and the receipt driver information using image processing software; a judgment unit, used to use a KMP algorithm to determine whether there are preset abnormal keywords in the receipt description, if so, it indicates that there is an abnormal problem, if not, it indicates that there is no abnormal problem.

[0017] Optionally, in a fifth implementation of the second aspect of the present invention, the generation module includes: a construction unit, which is used to construct an SQL query statement according to the order number of the order to be processed, and use the constructed SQL query statement to obtain basic information of the order to be processed from the order table of the database, and obtain node information of the order to be processed from the order node table of the database; a first generation unit, which is used to determine that the judgment result of the abnormal problem includes the existence of an abnormal problem and the absence of an abnormal problem. When an abnormal problem exists, the cause of the abnormality is obtained, and the cause of the abnormality, basic information, node information and actual transportation path are integrated to generate an abnormal delivery record; a second generation unit, which is used to integrate the basic information, node information and actual transportation path to generate a regular delivery record when there is no abnormal problem.

[0018] Optionally, in a sixth implementation of the second aspect of the present invention, the generation module also includes: an association unit, used to use a JOIN operation to associate basic information and node information to obtain order details information, and store the order details information in JSON format; a parsing unit, used to parse the exception cause and order details information into a JavaScript object, render the parsed JavaScript object into a preset exception record display template, add interactive elements according to the node information, and use a JavaScript map library to display the actual transportation path to obtain an exception record display page; a beautification unit, used to beautify the exception record display page using a CCS style to obtain an exception delivery record.

[0019] The third aspect of the present invention provides an international order delivery plan determination device, which includes: a memory and at least one processor, wherein the memory stores instructions; at least one of the processors calls the instructions in the memory to enable the international order delivery plan determination device to perform each step of the international order delivery plan determination method described in any one of the above-mentioned items.

[0020] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, and when the instructions are executed by a processor, the various steps of any of the above-mentioned methods for determining an international order delivery plan are implemented.

[0021] In the technical solution of the present invention, the driver's login information and the pending order allocation table are obtained to screen out the driver's pending order data; the pick-up information and delivery information are obtained from the driver's pending order data, and multiple pending orders are sorted and processed according to the pick-up information and the delivery information, and the pick-up route and the delivery route are generated in sequence; when the delivery of any pending order is completed, the corresponding receipt information and the actual transportation path are obtained, and it is determined whether there is an abnormal problem; according to the judgment result of the abnormal problem, the actual transportation path is integrated to generate an abnormal delivery record or a regular delivery record; the method disclosed in the present application can quickly generate a pick-up route and a delivery route, provide a reliable route reference for the driver when picking up or delivering goods, and generate a record for each pending order to facilitate historical query, and when a problem occurs, it is convenient to trace the responsibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A first flow chart of a method for determining an international order delivery plan provided by an embodiment of the present invention;

[0023] Figure 2 A second flow chart of the method for determining an international order delivery plan provided by an embodiment of the present invention;

[0024] Figure 3 A third flow chart of the method for determining an international order delivery plan provided by an embodiment of the present invention;

[0025] Figure 4 A fourth flow chart of the method for determining an international order delivery plan provided by an embodiment of the present invention;

[0026] Figure 5 A fifth flow chart of the method for determining an international order delivery plan provided by an embodiment of the present invention;

[0027] Figure 6 A sixth flow chart of the method for determining an international order delivery plan provided by an embodiment of the present invention;

[0028] Figure 7 A seventh flow chart of the method for determining an international order delivery plan provided by an embodiment of the present invention;

[0029] Figure 8 A schematic diagram of the structure of a device for determining an international order delivery plan provided by an embodiment of the present invention;

[0030] Fig. 9 A schematic diagram of the structure of a device for determining an international order delivery plan provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The present invention provides a method, device, equipment and storage medium for determining an international order delivery plan. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned 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 data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 An embodiment of the method for determining an international order delivery plan in an embodiment of the present invention includes:

[0033] 101. Obtain driver login information and a pending order allocation table, and filter out driver pending order data from the pending order allocation table, wherein the driver pending order data includes multiple pending orders;

[0034] In this embodiment, the pending order allocation table may include multiple pending orders, and each pending order corresponds to a driver ID, that is, the driver is responsible for picking up and delivering the pending order.

[0035] 102. Obtaining pickup information from the driver's pending order data, sorting multiple pending orders according to the pickup information, and generating a pickup route;

[0036] In this embodiment, the orders to be processed are sorted so as to divide the orders to be processed in terms of time and postal areas, thereby facilitating the subsequent generation of pickup routes.

[0037] 103. Obtain delivery information from the driver's pending order data, sort multiple pending orders according to the delivery information, and generate a delivery route;

[0038] In this embodiment, after the driver completes the pickup of the pending orders, the pending orders need to be delivered; by sorting the pending orders, the pending orders are divided by time and postal area, which facilitates the subsequent generation of delivery routes.

[0039] 104. When the delivery of any pending order is completed, the receipt information and actual transportation route corresponding to the pending order are obtained, and whether there is any abnormality based on the receipt information;

[0040] In this embodiment, the driver uploads the receipt information, including the receipt photo, to confirm whether the pending order has been delivered.

[0041] 105. Based on the judgment result of the abnormal problem, the actual transportation path is integrated to generate abnormal delivery records or regular delivery records.

[0042] The present application discloses a method for determining an international order delivery plan, which obtains driver login information and a pending order allocation table to filter out driver pending order data; obtains pickup information and delivery information from the driver pending order data, sorts multiple pending orders according to the pickup information and delivery information, and generates pickup routes and delivery routes in sequence; when any pending order is delivered, the corresponding receipt information and actual transportation path are obtained, and it is determined whether there is an abnormal problem; according to the determination result of the abnormal problem, the actual transportation path is integrated to generate abnormal delivery records or regular delivery records; the method disclosed in the present application can quickly generate pickup routes and delivery routes, provide reliable route references for drivers when picking up or delivering goods, and generate records for each pending order, which is convenient for historical query and convenient for responsibility tracing when problems occur.

[0043] See also Figure 2 The second embodiment of the method for determining an international order delivery plan in the embodiment of the present invention includes:

[0044] 201. Obtaining driver login information, the driver login information including the driver account and login password, and obtaining driver ID information from a preset driver coding table according to the driver account;

[0045] In this embodiment, the preset driver coding table records multiple driver accounts and driver ID information corresponding to the driver accounts. The driver ID information corresponding to the driver account can be obtained from the preset driver coding table by brute force. The driver ID information has a fixed format and can be pure numbers or a combination of numbers and letters.

[0046] 202. Obtain a pending order allocation table, wherein the pending order allocation table records a plurality of pending orders and driver information corresponding to the pending orders;

[0047] 203. Use a regular expression to match the driver ID information and the driver information in the pending order allocation table to filter out the driver's pending order data, where the driver's pending order data includes multiple pending orders;

[0048] In this embodiment, the driver ID information and the driver information in the pending order allocation table can be matched based on Python's regular expression. Regular expression is a powerful text processing tool that uses a special string pattern to describe and match a series of texts that conform to the pattern. These patterns can be used to search, replace or extract specific content in the text; regular expressions are composed of common characters (such as letters, numbers, punctuation marks, etc.) and special characters (called metacharacters).

[0049] See also Figure 3 The third embodiment of the method for determining an international order delivery plan in the embodiment of the present invention includes:

[0050] 301. Acquire pickup information from the driver's pending order data, where the pickup information includes a pickup time, a pickup address, and a pickup address code;

[0051] 302. Compare the current time with the pick-up time of multiple pending orders, and sort the multiple pending orders from small to large using a quick sort method according to the difference between the current time and the pick-up time, to obtain a pick-up sort result;

[0052] In this embodiment, the pending orders are sorted from small to large according to the difference between the pick-up time and the current time, that is, the pending orders are sorted according to the order of the pick-up time, and a pick-up sorting result based on time is obtained.

[0053] In this embodiment, quick sort is used for sorting operation. Quick sort is an efficient sorting algorithm. It adopts a divide-and-conquer strategy and divides the records to be sorted into two independent parts through one sorting. If the keywords of one part of the records are smaller than the keywords of the other part, the two parts of the records can be sorted separately to achieve order in the entire sequence.

[0054] 303. According to the pickup address code, a quick sorting method is used to perform a secondary sorting of the first pickup sorting result from small to large to obtain a secondary pickup sorting result;

[0055] In this embodiment, after the time sorting is completed, the pending orders are sorted again from small to large according to the pick-up address code, that is, the pending orders are divided by postal districts. On the basis of the pickup sorting result, the pending orders in each postal district are further sorted according to the order of pickup time; the pending orders are arranged in positive order according to the address postal code. This arrangement method can bring the orders in the same postal district together, which is convenient for the driver to batch process and deliver the pending orders, thereby improving the pickup efficiency or delivery efficiency.

[0056] 304. Using a regular expression to extract pending orders in any postal area from the secondary pickup sorting results, and using a genetic algorithm to generate a postal area pickup route according to the pickup address of the pending orders in the postal area;

[0057] In this embodiment, a genetic algorithm is used to generate a postal district pickup route. Specifically, the population is initialized first. For the postal district route problem, a chromosome can represent an order sequence, that is, the order in which the vehicle visits each order point. A plurality of different order sequences are randomly generated as the initial population, and each sequence represents a possible postal district route. Then a fitness function is defined to evaluate the quality of each chromosome. For each chromosome in the population (that is, each possible route), its fitness value is calculated, which usually involves traversing the order points in the chromosome and calculating the total driving distance or time based on the actual distance or time. According to the fitness value of each chromosome, a roulette wheel selection method is used to select individuals from the population for subsequent genetic operations. Chromosomes with high fitness values ​​have a greater probability of being selected; two chromosomes (parents) are randomly selected, and a crossover operation is performed using a multi-point crossover method to generate two new chromosomes (offspring); a mutation operation is performed on the offspring chromosomes generated after the crossover operation to introduce a new gene combination; the offspring chromosomes generated by the selection, crossover and mutation operations are used to replace part or all of the parent chromosomes in the population to form a new population; the fitness evaluation, selection, crossover and mutation operations are repeated until the preset maximum number of iterations is reached; the optimal chromosome in the final population is decoded into an actual postal route, that is, the order in which the vehicle visits each order point, and the optimal postal route and its corresponding fitness value (such as total driving distance or time) are output.

[0058] 305. According to the connection points of the multiple postal area pickup routes, the multiple postal area pickup routes are merged, and a meta-heuristic algorithm is used to optimize the merged routes to obtain the pickup routes;

[0059] In this embodiment, a metaheuristic algorithm is used to optimize the merged route. Specifically, the main optimization goal is determined to minimize the total driving time. The pickup route network is modeled as a combinatorial optimization problem. Multiple different pickup route networks are randomly generated as initial solutions. Each solution can be a set of vehicle paths, and each path represents the driving route of a vehicle. The initial solution is evaluated using an appropriate evaluation function, such as the total driving time. The operation of the metaheuristic algorithm is repeatedly executed to gradually optimize the pickup route network. When the maximum number of iterations is reached, the optimized chromosome or state is decoded into the actual pickup route network, and the optimal pickup route network and its corresponding evaluation value are output.

[0060] See also Figure 4 The fourth embodiment of the method for determining an international order delivery plan in the embodiment of the present invention includes:

[0061] 401. Obtain delivery information from the driver's pending order data, where the delivery information includes delivery time, delivery address, and delivery address code;

[0062] 402. Compare the current time with the delivery time of multiple pending orders, and sort the multiple pending orders from small to large using a quick sort method according to the difference between the current time and the delivery time to obtain a delivery sort result;

[0063] 403. According to the delivery address code, a quick sorting method is used to perform a second sorting of the first delivery sorting result from small to large to obtain a second delivery sorting result;

[0064] 404. Using a regular expression to extract pending orders in any postal area from the secondary delivery sorting results, and using a genetic algorithm to generate a postal area delivery route according to the delivery address of the pending orders in the postal area;

[0065] 405. According to the connection points of the multiple postal district delivery routes, the multiple postal district delivery routes are merged, and a meta-heuristic algorithm is used to optimize the merged routes to obtain a delivery route;

[0066] In this embodiment, the specific method for generating the delivery route is based on the same principle as the specific method for generating the pickup route.

[0067] See also Figure 5 The fifth embodiment of the method for determining an international order delivery plan in the embodiment of the present invention includes:

[0068] 501. When the delivery of any pending order is completed, the receipt information and the actual transportation route corresponding to the pending order are obtained, wherein the receipt information includes a receipt description and a receipt picture;

[0069] 502. Extract the receipt time and the driver information from the receipt description, and insert a receipt watermark into the receipt image using image processing software based on the receipt time and the driver information;

[0070] In this embodiment, the actual receipt information includes the driver's name and driver ID information. By inserting a receipt watermark in the receipt image, it can be used to display key information such as the ownership, source or usage permissions of the file, ensure the transparency of the source and purpose of the data, and increase the level of protection for the data to prevent unauthorized access, use or modification.

[0071] 503. Use the KMP algorithm to determine whether there is a preset abnormal keyword in the receipt description. If so, it indicates that there is an abnormal problem. If not, it indicates that there is no abnormal problem.

[0072] In this embodiment, the abnormal keywords may be words such as "damaged", "incomplete", "missing", etc., to indicate that the goods may be damaged during transportation or distribution; they may also be words such as "rejected", "returned", etc., to indicate that the recipient may be dissatisfied with the goods or find problems with the goods.

[0073] See also Figure 6 The sixth embodiment of the method for determining an international order delivery plan in the embodiment of the present invention includes:

[0074] 601. Construct an SQL query statement according to the order number of the pending order, use the constructed SQL query statement to obtain basic information of the pending order from the order table of the database, and obtain node information of the pending order from the order node table of the database;

[0075] In this embodiment, the order table is used to store basic information of the order, such as order number, buyer information, product information, etc., and the order node table is used to store each node information of the order, such as order generation time, pickup time, delivery time, receipt time, etc. Each node information is associated with an order number. During the order processing process, each time a node is triggered, the corresponding information should be entered into the database; for example, when an order is generated, the background service will create a new order record and insert a new data in the order table. When the pickup, delivery or receipt node is triggered, the background service will insert new node information in the order node table and associate it with the corresponding order number.

[0076] 602. The judgment result of the abnormal problem includes whether the abnormal problem exists or not. When the abnormal problem exists, the abnormal cause is obtained, and the abnormal cause, basic information, node information and actual transportation path are integrated to generate an abnormal delivery record;

[0077] 603. When there are no abnormal problems, basic information, node information and actual transportation path are integrated to generate regular delivery records;

[0078] In this embodiment, the JOIN operation is used to associate the basic information and the node information to obtain the order details information, and the order details information is stored in JSON format; the order details information is parsed into a JavaScript object, and the parsed JavaScript object is rendered into a preset regular record display template, and interactive elements are added according to the node information. The actual transportation path is displayed using the JavaScript map library to obtain a regular record display page; the CCS style is used to beautify the regular record display page to obtain a regular delivery record.

[0079] See also Figure 7 The seventh embodiment of the method for determining an international order delivery plan in the embodiment of the present invention includes:

[0080] 701. Use JOIN operation to associate basic information and node information, obtain order details information, and store the order details information in JSON format;

[0081] In this embodiment, since the basic information and the node information are stored in the order table and the order node table respectively, the basic information and the node information can be associated through a JOIN operation.

[0082] 702. Parse the exception reason and order details information into a JavaScript object, render the parsed JavaScript object into a preset exception record display template, add interactive elements according to the node information, and use the JavaScript map library to display the actual transportation path to obtain an exception record display page;

[0083] In this embodiment, interactive elements are added, such as clicking a node to expand more details or jump to a related page, so as to improve the user's satisfaction.

[0084] 703. Use CCS style to beautify the abnormal record display page and obtain the abnormal delivery record;

[0085] In this embodiment, the CCS style is applied to beautify the detail page and the node list in the exception record display page to ensure that the page can be well displayed and work on different devices and screen sizes.

[0086] The above describes the method for determining the international order delivery plan in the embodiment of the present invention. The following describes the device for determining the international order delivery plan in the embodiment of the present invention. Figure 8 An embodiment of the device for determining an international order delivery plan in an embodiment of the present invention includes:

[0087] The screening module 801 is used to obtain the driver's login information and the pending order allocation table, and to filter out the driver's pending order data from the pending order allocation table, wherein the driver's pending order data includes multiple pending orders; the pickup module 802 is used to obtain the pickup information from the driver's pending order data, sort the multiple pending orders according to the pickup information, and generate a pickup route; the delivery module 803 is used to obtain the delivery information from the driver's pending order data, sort the multiple pending orders according to the delivery information, and generate a delivery route; the judgment module 804 is used to obtain the receipt information and actual transportation path corresponding to the pending order when the delivery of any pending order is completed, and to judge whether there is any abnormal problem according to the receipt information; the generation module 805 integrates the actual transportation path to generate an abnormal delivery record or a regular delivery record according to the judgment result of the abnormal problem.

[0088] In this embodiment, the screening module 801 includes: a first acquisition unit 8011, used to obtain the driver login information, the driver login information includes the driver account and login password, and according to the driver account, the driver ID information is obtained from the preset driver coding table; a second acquisition unit 8012, used to obtain the pending order allocation table, the pending order allocation table records multiple pending orders and the driver information corresponding to the pending orders; a screening unit 8013, used to use a regular expression to match the driver ID information and the driver information in the pending order allocation table to filter out the driver's pending order data, and the driver's pending order data includes multiple pending orders.

[0089] In this embodiment, the pickup module 802 includes: a third acquisition unit 8021, which is used to obtain pickup information from the driver's pending order data, and the pickup information includes a pickup time, a pickup address and a pickup address code; a first comparison unit 8022, which is used to compare the current time and the pickup time of multiple pending orders, and according to the difference between the current time and the pickup time, use the quick sorting method to sort the multiple pending orders from small to large once to obtain a first pickup sorting result; a first sorting unit 8023, which is used to use the quick sorting method to sort the first pickup sorting result from small to large according to the pickup address code, and obtain a second pickup sorting result; a second sorting unit 8024, which is used to extract the pending orders of any postal area from the second pickup sorting result by using a regular expression, and generate a postal area pickup route by using a genetic algorithm according to the pickup address of the pending orders in the postal area; a first merging unit 8025, which is used to merge multiple postal area pickup routes according to the connection points of the multiple postal area pickup routes, and use a meta-heuristic algorithm to optimize the merged route to obtain a pickup route.

[0090] In this embodiment, the delivery module 803 includes: a fourth acquisition unit 8031, which is used to obtain delivery information from the driver's pending order data, and the delivery information includes delivery time, delivery address and delivery address code; a second comparison unit 8032, which is used to compare the current time and the delivery time of multiple pending orders, and according to the difference between the current time and the delivery time, use the quick sorting method to sort the multiple pending orders from small to large once to obtain a primary delivery sorting result; a third sorting unit 8033, which is used to use the quick sorting method to sort the primary delivery sorting result from small to large according to the delivery address code, and obtain a secondary delivery sorting result; a fourth sorting unit 8034, which is used to extract the pending orders of any postal area from the secondary delivery sorting result by using a regular expression, and generate a postal area delivery route by using a genetic algorithm according to the delivery address of the pending orders in the postal area; a second merging unit 8035, which is used to merge multiple postal area delivery routes according to the connection points of multiple postal area delivery routes, and use a meta-heuristic algorithm to optimize the merged route to obtain a delivery route.

[0091] In this embodiment, the judgment module 804 includes: a fifth acquisition unit 8041, which is used to obtain the receipt information and actual transportation route corresponding to the pending order when the delivery of any pending order is completed, and the receipt information includes a receipt description and a receipt picture; an insertion unit 8042, which is used to extract the receipt time and the receipt driver information from the receipt description, and insert a receipt watermark into the receipt picture based on the receipt time and the receipt driver information using image processing software; a judgment unit 8043, which is used to use a KMP algorithm to determine whether there are preset abnormal keywords in the receipt description. If so, it indicates that there is an abnormal problem; if not, it indicates that there is no abnormal problem.

[0092] In this embodiment, the generation module 805 includes: a construction unit 8051, which is used to construct an SQL query statement according to the order number of the order to be processed, and use the constructed SQL query statement to obtain the basic information of the order to be processed from the order table of the database, and obtain the node information of the order to be processed from the order node table of the database; a first generation unit 8052, which is used to determine whether the judgment result of the abnormal problem includes the existence of an abnormal problem and the absence of an abnormal problem. When an abnormal problem exists, the cause of the abnormality is obtained, and the cause of the abnormality, basic information, node information and actual transportation path are integrated to generate an abnormal delivery record; a second generation unit 8053, which is used to integrate the basic information, node information and actual transportation path to generate a regular delivery record when there is no abnormal problem.

[0093] In this embodiment, the generation module 805 also includes: an association unit 8054, which is used to use a JOIN operation to associate basic information and node information to obtain order details information, and store the order details information in JSON format; a parsing unit 8055, which is used to parse the exception cause and order details information into a JavaScript object, render the parsed JavaScript object into a preset exception record display template, add interactive elements according to the node information, and use a JavaScript map library to display the actual transportation path to obtain an exception record display page; a beautification unit 8056, which is used to beautify the exception record display page using a CCS style to obtain an exception delivery record.

[0094] above Figure 8 The international order delivery plan determination device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The international order delivery plan determination device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0095] Fig. 9 1 is a schematic diagram of the structure of a device for determining an international order delivery solution provided by an embodiment of the present invention. The device 900 for determining an international order delivery solution may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 910 (for example, one or more processors) and a memory 920, and one or more storage media 930 (for example, one or more mass storage devices) storing application programs 933 or data 932. Among them, the memory 920 and the storage medium 930 may be temporary storage or permanent storage. The program stored in the storage medium 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the device 900 for determining an international order delivery solution. Furthermore, the processor 910 may be configured to communicate with the storage medium 930, and execute a series of instruction operations in the storage medium 930 on the device 900 for determining an international order delivery solution, so as to implement the steps of the method for determining an international order delivery solution provided by the above-mentioned method embodiments.

[0096] The international order delivery solution determination device 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input and output interfaces 960, and / or one or more operating systems 931, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that the international order delivery solution determination device structure shown in the present application does not constitute a limitation on the international order delivery solution determination device, and may include more or less components than shown in the figure, or combine certain components, or arrange components differently.

[0097] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for determining an international order delivery plan.

[0098] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0099] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0100] Finally, it should be noted that the above description is only a preferred example of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for determining an international order delivery plan, characterized in that: include: Obtaining driver login information and a pending order allocation table, and filtering driver pending order data from the pending order allocation table, wherein the driver pending order data includes multiple pending orders; Obtain the pickup information from the driver's pending order data, sort multiple pending orders according to the pickup information, and generate a pickup route; Obtain delivery information from the driver's pending order data, sort multiple pending orders according to the delivery information, and generate delivery routes; When the delivery of any pending order is completed, the receipt information and actual transportation route corresponding to the pending order are obtained, and whether there are any abnormal problems based on the receipt information; According to the judgment result of the abnormal problem, the actual transportation path is integrated to generate abnormal delivery records or regular delivery records.

2. The method for determining an international order delivery plan according to claim 1, characterized in that: The driver login information and the pending order allocation table are obtained, and the driver pending order data is screened out from the pending order allocation table, wherein the driver pending order data includes multiple pending orders, specifically including: Obtaining driver login information, including a driver account and login password, and obtaining driver ID information from a preset driver coding table based on the driver account; Obtaining a pending order allocation table, wherein the pending order allocation table records a plurality of pending orders and driver information corresponding to the pending orders; A regular expression is used to match the driver ID information and the driver information in the pending order allocation table to filter out the driver's pending order data, where the driver's pending order data includes multiple pending orders.

3. The method for determining an international order delivery plan according to claim 1, characterized in that: The method of obtaining pickup information from the driver's pending order data, sorting multiple pending orders according to the pickup information, and generating a pickup route specifically includes: Acquire pickup information from the driver's pending order data, where the pickup information includes a pickup time, a pickup address, and a pickup address code; Compare the current time with the pick-up time of multiple pending orders, and sort the multiple pending orders from small to large using the quick sort method according to the difference between the current time and the pick-up time to obtain a pick-up sort result; According to the pickup address code, the quick sorting method is used to sort the first pickup sorting result from small to large to obtain the second pickup sorting result; A regular expression is used to extract pending orders in any postal area from the secondary pickup sorting results, and a genetic algorithm is used to generate a postal area pickup route based on the pickup address of the pending orders in the postal area. According to the connection points of multiple postal area pickup routes, multiple postal area pickup routes are merged, and the meta-heuristic algorithm is used to optimize the merged routes to obtain the pickup routes.

4. The method for determining an international order delivery plan according to claim 1, characterized in that: The method of obtaining delivery information from the driver's pending order data, sorting multiple pending orders according to the delivery information, and generating a delivery route specifically includes: Obtaining delivery information from the driver's pending order data, wherein the delivery information includes a delivery time, a delivery address, and a delivery address code; Compare the current time with the delivery time of multiple pending orders, and sort the multiple pending orders from small to large using the quick sort method according to the difference between the current time and the delivery time to obtain a delivery sort result; According to the delivery address code, the quick sorting method is used to sort the first delivery sorting result from small to large to obtain the second delivery sorting result; A regular expression is used to extract pending orders in any postal area from the secondary delivery sorting results, and a genetic algorithm is used to generate a postal area delivery route based on the delivery address of the pending orders in the postal area; According to the connection points of multiple postal district delivery routes, multiple postal district delivery routes are merged, and the meta-heuristic algorithm is used to optimize the merged routes to obtain the delivery routes.

5. The method for determining an international order delivery plan according to claim 1, characterized in that: When the delivery of any pending order is completed, the receipt information and the actual transportation route corresponding to the pending order are obtained, and whether there is an abnormal problem is determined according to the receipt information, specifically including: When the delivery of any pending order is completed, the receipt information and actual transportation route corresponding to the pending order are obtained, and the receipt information includes a receipt description and a receipt picture; Extract the receipt time and driver information from the receipt description, and insert a receipt watermark into the receipt image using image processing software based on the receipt time and driver information; The KMP algorithm is used to determine whether there are preset abnormal keywords in the receipt description. If so, it indicates that there is an abnormal problem. If not, it indicates that there is no abnormal problem.

6. The method for determining an international order delivery plan according to claim 1, characterized in that: According to the judgment result of the abnormal problem, the actual transportation path is integrated to generate abnormal delivery records or regular delivery records, specifically including: Construct an SQL query statement according to the order number of the pending order, use the constructed SQL query statement to obtain basic information of the pending order from the order table of the database, and obtain node information of the pending order from the order node table of the database; The judgment result of the abnormal problem includes whether the abnormal problem exists or not. When the abnormal problem exists, the abnormal cause is obtained, and the abnormal cause, basic information, node information and actual transportation path are integrated to generate an abnormal delivery record; When there are no abnormal problems, basic information, node information and actual transportation routes are integrated to generate regular delivery records.

7. The method for determining an international order delivery plan according to claim 1, characterized in that: The integration of the abnormal reason, basic information, node information and actual transportation path to generate the abnormal delivery record specifically includes: Use JOIN operation to associate basic information and node information to obtain order details, and store the order details in JSON format; Parse the exception reason and order details information into JavaScript objects, render the parsed JavaScript objects into the preset exception record display template, add interactive elements according to the node information, and use the JavaScript map library to display the actual transportation path to obtain the exception record display page; Use CCS style to beautify the exception record display page and obtain the exception delivery record.

8. A device for determining an international order delivery plan, characterized in that: include: A screening module, used to obtain driver login information and a pending order allocation table, and screen out driver pending order data from the pending order allocation table, wherein the driver pending order data includes multiple pending orders; The pickup module is used to obtain the pickup information from the driver's pending order data, sort multiple pending orders according to the pickup information, and generate a pickup route; The delivery module is used to obtain delivery information from the driver's pending order data, sort multiple pending orders according to the delivery information, and generate a delivery route; A judgment module is used to obtain the receipt information and actual transportation route corresponding to any pending order when the delivery of the pending order is completed, and to judge whether there is any abnormal problem according to the receipt information; The generation module generates abnormal delivery records or regular delivery records according to the judgment results of abnormal problems and the actual transportation path.

9. A device for determining an international order delivery plan, characterized in that: The international order delivery plan determination device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors calls the instructions in the memory to enable the international order delivery plan determination device to perform each step of the international order delivery plan determination method as described in any one of claims 1-7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the various steps of the method for determining an international order delivery plan as described in any one of claims 1-7 are implemented.