Logistics order automatic issuance method, device, equipment and storage medium
By constructing the distribution structure tree of the logistics company and calculating the matching score, the matching between the logistics order and the logistics company is optimized, which solves the problem of low matching goodness in the existing technology and achieves more efficient logistics distribution and cost control.
Patent Information
- Application Number
- CN202011189495.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-10-30
AI Technical Summary
Existing technology is difficult to effectively match logistics orders and logistics companies, resulting in factors such as freight prices, delivery timeliness and delivery scope. The matching accuracy is low and cannot meet consumers' demands for improved timeliness and cost.
By listening to merchant order creation requests, obtain order configuration information, generate logistics orders, extract order feature information, build the logistics company's distribution structure tree, screen the best distribution routes, calculate the matching scores between logistics orders and logistics companies, and select the one with the highest score The company performs order issuance operations and optimizes ordering by combining the order volume prediction model and the special service matching model.
It improves the matching accuracy between logistics orders and logistics companies, reduces logistics costs, and improves delivery timeliness and user experience.
Smart Images

Figure CN112308514B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to a method, device, equipment and storage medium for automatically issuing logistics orders. Background Art
[0002] With the development of Internet technology, the technical conditions for the O2O (Online to Offline) business consumption model have been created. With the iteration and update of various technologies, the O2O business consumption model has also developed from realizing basic user needs to user experience needs. Among them, the development of logistics technology has built a bridge for the O2O business consumption model. In recent years, as the O2O model has developed rapidly, consumers' consumption awareness has also been improved. Consumers have higher requirements for merchants on logistics timeliness, freight prices, and pre-sales / after-sales service quality.
[0003] At present, when selecting carrier logistics companies for different merchant orders, the platform recommendation and the merchant's personal choice are mainly based on the use of logistics companies near the physical store. This type of method often finds it difficult to simultaneously consider factors such as freight prices, delivery range, and delivery time. For example, when a merchant has a large number of order acceptance capabilities, due to delivery distance restrictions, users cannot successfully place orders; when a merchant has a large number of orders, due to the limited acceptance capacity of the logistics company, the logistics time is seriously exceeded; especially in terms of freight prices, affected by factors such as delivery distance, commodity weight, business hours, and the starting price of the logistics company, different logistics companies charge inconsistent freight. Therefore, the existing technology has a low degree of matching between order data and logistics companies. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problem of low matching quality between order data and logistics companies.
[0005] A first aspect of the present invention provides a method for automatically issuing a logistics order, comprising:
[0006] When an order creation request initiated by a merchant client is monitored, the order configuration information corresponding to the order creation request is obtained;
[0007] Creating a logistics order based on the configuration information, and extracting order feature information from the order configuration information;
[0008] Obtaining vehicle dispatch information of multiple logistics companies, and generating a distribution structure tree of the distribution routes of each logistics company based on the vehicle dispatch information;
[0009] Based on the order feature information, the best delivery route of the logistics order in each logistics company is screened out from the delivery structure tree, and based on each best delivery route, a matching score between the logistics order and each logistics company is calculated;
[0010] A logistics company with the highest matching score is selected from the logistics companies, and an order issuance operation is performed on the logistics order.
[0011] Optionally, in a first implementation of the first aspect of the present invention, before selecting the logistics company with the highest matching score from the logistics companies and executing the order issuance operation for the logistics order, the method further includes:
[0012] Obtaining the delivery time of the logistics order;
[0013] Input the delivery time into a preset order quantity prediction model to predict the order quantity of each logistics company at the delivery time;
[0014] Based on the order quantity, the sorting order of each logistics company in the logistics company sorting table is adjusted.
[0015] Optionally, in a second implementation of the first aspect of the present invention, the selecting a logistics company with the highest matching score from the logistics companies and performing an order issuance operation on the logistics order includes:
[0016] According to the matching scores, the logistics companies are sorted from high to low to obtain a corresponding logistics company sorting table;
[0017] Selecting the logistics company with the highest current ranking from the logistics company ranking table, and placing an order with the logistics company with the highest current ranking based on the logistics order;
[0018] Monitoring the order status of the logistics order, and when monitoring that the order status is successful, determining that the logistics order is successfully issued;
[0019] When it is detected that the order status is order failure, the logistics company with the highest current ranking is filtered out to obtain a new logistics company ranking table;
[0020] Jump to the step of "selecting the logistics company with the highest current ranking from the logistics company ranking table" and stop jumping until it is monitored that the order status is successfully placed, thereby determining that the logistics order has been successfully issued.
[0021] Optionally, in a third implementation of the first aspect of the present invention, the method for generating the order quantity prediction model includes:
[0022] Acquire multiple historical logistics orders, where the historical logistics orders include order time and corresponding order quantity labels;
[0023] Generate a time series of historical logistics orders based on the order times;
[0024] The time series of historical logistics orders and the corresponding order quantity annotations are used as training samples, input into the preset pre-training model, and output the predicted order quantity;
[0025] Calculating a model loss value of the preset pre-trained model according to the order quantity label and the predicted order quantity;
[0026] Based on the model loss value, the pre-trained model is iterated until the model loss value is less than a preset loss threshold, and the iteration is stopped to obtain an order quantity prediction model.
[0027] Optionally, in a fourth implementation of the first aspect of the present invention, after calculating the matching scores between the logistics order and each logistics company based on the optimal delivery routes, the method further includes:
[0028] Obtaining the special service information of each logistics company, and extracting the special demand information in the order configuration information;
[0029] Converting the service information into a first feature vector, and converting the special demand information into a second feature vector;
[0030] The first feature vector and the second feature vector are input into a preset logistics special matching model, special matching scores of the two are calculated, and the matching score is adjusted based on the special matching scores.
[0031] Optionally, in a fifth implementation of the first aspect of the present invention, the order configuration information is also stored in the blockchain.
[0032] A second aspect of the present invention provides a logistics order automatic order issuing device, comprising:
[0033] A first acquisition module, configured to acquire order configuration information corresponding to an order creation request when an order creation request initiated by a merchant client is monitored;
[0034] A creation module, used to create a logistics order based on the configuration information, and extract order feature information from the order configuration information;
[0035] A generation module, used to obtain vehicle dispatch information of multiple logistics companies, and generate a distribution structure tree of the distribution routes of each logistics company based on the vehicle dispatch information;
[0036] A calculation module, configured to filter out the best delivery routes of the logistics order in each logistics company from the delivery structure tree based on the order feature information, and calculate the matching scores between the logistics order and each logistics company based on the best delivery routes;
[0037] The push module is used to select the logistics company with the highest matching score from the logistics companies and execute the order issuance operation for the logistics order.
[0038] Optionally, in a first implementation of the second aspect of the present invention, the automatic logistics order issuing device further includes:
[0039] A second acquisition module is used to acquire the delivery time of the logistics order;
[0040] A prediction module, used to input the delivery time into a preset order quantity prediction model to predict the order quantity of each logistics company at the delivery time;
[0041] The first adjustment module is used to adjust the sorting order of each logistics company in the logistics company sorting table based on the order quantity.
[0042] Optionally, in a second implementation of the second aspect of the present invention, the push module includes:
[0043] A sorting unit, used to sort the logistics companies from high to low according to the matching scores, and obtain a corresponding logistics company sorting table;
[0044] A selection unit, configured to select a logistics company with the highest current ranking from the logistics company ranking table, and place an order with the logistics company with the highest current ranking based on the logistics order;
[0045] A monitoring unit, used for monitoring the order status of the logistics order, and when it is monitored that the order status is successfully placed, it is determined that the logistics order is successfully placed;
[0046] A screening unit, configured to screen out the logistics company with the highest current ranking when it is detected that the order status is order failure, and obtain a new logistics company ranking table;
[0047] The jump unit is used to jump to the step of "selecting the logistics company with the highest current ranking from the logistics company ranking table" and stop jumping until it is monitored that the order status is successfully placed, thereby determining that the logistics order is successfully issued.
[0048] Optionally, in a third implementation of the second aspect of the present invention, the automatic logistics order issuing device further includes:
[0049] A third acquisition module is used to acquire multiple historical logistics orders, where the historical logistics orders include order time and corresponding order quantity labels;
[0050] A second generating module is used to generate a time series of historical logistics orders according to the order time;
[0051] The training module is used to label the time series of historical logistics orders and the corresponding order quantities as training samples, input the preset pre-training model, and output the predicted order quantity;
[0052] A second calculation module, used to calculate the model loss value of the preset pre-trained model according to the order quantity label and the predicted order quantity;
[0053] The iteration module is used to iterate the pre-trained model based on the model loss value until the model loss value is less than a preset loss threshold and then stop the iteration to obtain an order quantity prediction model.
[0054] Optionally, in a fourth implementation of the second aspect of the present invention, the automatic logistics order issuing device further includes:
[0055] An extraction module, used to obtain the special service information of each logistics company and extract the special demand information in the order configuration information;
[0056] A conversion module, used to convert the service information into a first feature vector, and to convert the special demand information into a second feature vector;
[0057] The second adjustment module is used to input the first feature vector and the second feature vector into a preset logistics special matching model, calculate the special matching scores of the two, and adjust the matching score based on the special matching score.
[0058] Optionally, in a fifth implementation of the second aspect of the present invention, the order configuration information is also stored in the blockchain.
[0059] The third aspect of the present invention provides an automatic logistics order issuing device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory to enable the automatic logistics order issuing device to execute the above-mentioned automatic logistics order issuing method.
[0060] A fourth aspect of the present invention provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is run on a computer, the computer executes the above-mentioned method for automatically issuing logistics orders.
[0061] In the technical solution provided by the present invention, by extracting characteristic information from order configuration information and extracting vehicle dispatching information of multiple logistics companies respectively; then constructing a distribution structure tree of each logistics company through the vehicle dispatching information, wherein the distribution structure tree has a distribution area node and a distribution time node; then inputting the characteristic information into the distribution structure tree to select the best distribution route of each logistics company relative to the logistics order, and calculating the matching score between the logistics order and each best distribution route; finally selecting the logistics company with the highest matching score to issue the logistics order. The present invention improves the matching excellence between the logistics order and the logistics company, and reduces the logistics cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 This is a schematic diagram of a first embodiment of a method for automatically issuing a logistics order in an embodiment of the present invention;
[0063] Figure 2 It is a schematic diagram of a second embodiment of the method for automatically issuing logistics orders in an embodiment of the present invention;
[0064] Figure 3 It is a schematic diagram of a third embodiment of the method for automatically issuing a logistics order in an embodiment of the present invention;
[0065] Figure 4 This is a schematic diagram of a fourth embodiment of the method for automatically issuing a logistics order in an embodiment of the present invention;
[0066] Figure 5 A schematic diagram of an embodiment of a device for automatically issuing logistics orders in an embodiment of the present invention;
[0067] Figure 6 It is a schematic diagram of another embodiment of the automatic order issuing device for logistics orders in an embodiment of the present invention;
[0068] Figure 7 It is a schematic diagram of an embodiment of a logistics order automatic issuing device in an embodiment of the present invention. DETAILED DESCRIPTION
[0069] The embodiment of the present invention provides a method, device, equipment and storage medium for automatically issuing logistics orders. When an order creation request initiated by a merchant client is monitored, order configuration information is obtained to create a logistics order, and order feature information in the order configuration information is extracted; vehicle dispatch information of multiple logistics companies is obtained, and a distribution structure tree of distribution routes of each logistics company is generated based on the vehicle dispatch information; based on the order feature information, the best distribution route of the logistics order in each logistics company is screened from the distribution structure tree, and based on each best distribution route, the matching score of the logistics order and each logistics company is calculated; the logistics company with the highest matching score is screened from each logistics company, and the order issuing operation is performed on the logistics order. The present invention improves the matching excellence between logistics orders and logistics companies and reduces logistics costs.
[0070] 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.
[0071] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 The first embodiment of the method for automatically issuing a logistics order in the embodiment of the present invention includes:
[0072] 101. When an order creation request initiated by a merchant client is monitored, order configuration information corresponding to the order creation request is obtained;
[0073] It is understandable that the execution subject of the present invention can be a logistics order automatic order issuing device, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example. It should be emphasized that in order to further ensure the privacy and security of the above order configuration information, the above order configuration information can also be stored in a node of a blockchain.
[0074] In this embodiment, the merchant's order acceptance status is monitored in real time. When the merchant's order acceptance status is monitored, the merchant client will initiate an order creation request; after receiving the order creation request, the corresponding order configuration information is obtained. The order configuration information here includes the logistics label content and special requirements of the logistics order, including the order address, order time limit, order freight, or also includes a designated logistics company, a preferred logistics company weight, etc.
[0075] 102. Creating a logistics order based on the configuration information, and extracting order feature information from the order configuration information;
[0076] In this embodiment, the content of the delivery note in the configuration information is automatically filled into the logistics order template to generate the corresponding physical order; and the order configuration information includes the order address, order time limit, order freight, etc., which are used to analyze the demand characteristics of the logistics order and match the most suitable logistics company for it. The order address, order time limit, order freight, etc. in the order configuration information are encoded to obtain the corresponding order feature information, wherein the order feature information includes the delivery world coordinate code, delivery time code, freight code, etc. of the order.
[0077] In addition, logistics orders and corresponding characteristic information are temporarily stored in the distributed storage space, and the consumption time and effective order issuance time of the logistics orders are set at the same time. The consumption time refers to the specified time range that automatically triggers the order issuance operation. There are usually two situations: queuing for issuance of orders immediately after placing an order, and the user specifies the order issuance time; and the effective order issuance time refers to the successful creation of a logistics order. If a matching logistics company is not selected within the set time for subsequent order issuance, it will be returned to the merchant client, reminding the merchant to manually select a suitable logistics company to re-issue the order.
[0078] 103. Obtain vehicle dispatch information of multiple logistics companies, and generate a distribution structure tree of distribution routes of each logistics company based on the vehicle dispatch information;
[0079] In this embodiment, the vehicle dispatching information includes the departure time, departure location, location and time of the express station for picking up goods, arrival time, arrival location, location and time of the express station for bulk goods, so as to determine the distribution of distribution areas, order acceptance time, operation time, operation capacity, whether to provide one-to-one service and other logistics service characteristics of each logistics company, among which, each location and time needs to be encoded to obtain the corresponding world coordinate code and delivery time code; according to the vehicle dispatching information, the distribution area nodes and delivery time nodes of the vehicles in each logistics company are extracted; the departure starting points of each vehicle of different logistics companies that overlap with the arrival destination are recorded to obtain a node list; finally, a distribution structure tree is constructed according to the node list; wherein, in each distribution area node, the corresponding delivery time node is marked.
[0080] Specifically, for example, logistics company X includes distribution area nodes: A1, A2, A3, A4, A5. According to the overlapping areas of each destination and departure point, the node list shown in Table 1 can be obtained:
[0081] Table 1
[0082]
[0083] According to the overlapping area between the arrival destination and the departure point, the distribution area node of logistics company X is determined, and the corresponding distribution structure tree can be obtained according to the connection sequence of each distribution area node.
[0084] 104. Based on the order feature information, the best delivery route of the logistics order in each logistics company is screened out from the delivery structure tree, and based on each best delivery route, a matching score between the logistics order and each logistics company is calculated;
[0085] In this embodiment, the world coordinate encoding in the feature information is input into the distribution structure tree, where the world coordinates include the world coordinates of the shipping address and the world coordinates of the receiving address; the two are matched with the distribution area nodes on the distribution structure tree to obtain the corresponding starting distribution area node and the terminal distribution area node; based on the vehicle operation sequence, one or more routes from the starting distribution area node to the terminal distribution area node are found; if there are multiple routes, the required logistics time for each route is calculated, and the route with the shortest logistics time is used as the optimal distribution route for the corresponding company.
[0086] In addition, based on the optimal delivery routes of each logistics company, the matching scores between the logistics order and each logistics company are calculated to determine the degree of matching of the delivery time of each logistics company relative to the logistics order, and the degree of matching between the order address and the distribution of the delivery area. In addition, whether other priority requirements of the logistics order are met can also be considered, such as specifying a logistics company for delivery, requiring one-to-one service, and needing to pick up ordered items at any time (logistics companies must operate 24 hours a day), etc.
[0087] Specifically, the matching score between the logistics order and each logistics company is M=J*b1+K*b2, where J is the delivery route score, K is the delivery time score, b1 and b2 are the corresponding matching weights, and appropriate weights are selected based on the preferred service properties in the feature information.
[0088] 105. Select a logistics company with the highest matching score from among the logistics companies, and execute an order placement operation for the logistics order.
[0089] For example, if the order address is relatively remote, or the merchant is located in the suburbs, the feature weight will account for a relatively large proportion in the distribution of the logistics company's delivery area. Conversely, the feature weight corresponding to the cost calculation plan and delivery time can be increased.
[0090] In the embodiment of the present invention, by extracting characteristic information from order configuration information and extracting vehicle dispatching information of multiple logistics companies respectively; then constructing a distribution structure tree of each logistics company through the vehicle dispatching information, wherein the distribution structure tree has a distribution area node and a distribution time node; then inputting the characteristic information into the distribution structure tree to select the best distribution route of each logistics company relative to the logistics order, and calculating the matching score between the logistics order and each best distribution route; finally selecting the logistics company with the highest matching score to issue the logistics order. The present invention improves the matching excellence between the logistics order and the logistics company, and reduces the logistics cost.
[0091] See also Figure 2 The second embodiment of the method for automatically issuing a logistics order in the embodiment of the present invention includes:
[0092] 201. When an order creation request initiated by a merchant client is monitored, order configuration information corresponding to the order creation request is obtained;
[0093] 202. Creating a logistics order based on the configuration information, and extracting order feature information from the order configuration information;
[0094] 203. Obtain vehicle dispatch information of multiple logistics companies, and generate a distribution structure tree of distribution routes of each logistics company based on the vehicle dispatch information;
[0095] 204. Based on the order feature information, the best delivery routes of the logistics order in each logistics company are screened out from the delivery structure tree, and based on each best delivery route, a matching score between the logistics order and each logistics company is calculated;
[0096] 205. Obtaining the delivery time of the logistics order;
[0097] In this embodiment, the delivery time refers to a time interval, which may be from aaaa year-bb month-cc day to dddd year-ee month-ff day, or from gg day hh hour to ii day jj hour;
[0098] 206. Input the delivery time into a preset order quantity prediction model to predict the order quantity of each logistics company at the delivery time;
[0099] In this embodiment, the specific training method of the order volume prediction model is as follows:
[0100] Acquire multiple historical logistics orders, where the historical logistics orders include order time and corresponding order quantity labels;
[0101] Generate a time series of historical logistics orders based on the time of each order;
[0102] The time series of historical logistics orders and the corresponding order quantity annotations are used as training samples and input into the convolutional neural network pre-training model. The model loss is calculated based on the model output results and order quantity annotations.
[0103] The convolutional neural network pre-trained model is iterated according to the model loss until the model loss is less than the preset threshold and the iteration is stopped to obtain the order quantity prediction model.
[0104] Finally, the trained order volume prediction model is used to predict the order volume of each logistics company at the target delivery time.
[0105] 207. Adjust the sorting order of each logistics company in the logistics company sorting table based on the order quantity;
[0106] In this embodiment, during the delivery time with a large number of orders, the sorting order of the logistics company with high delivery efficiency in the logistics company sorting table can be improved; and during the delivery time with a small number of orders, the sorting order of the logistics company with low delivery costs in the logistics company sorting table can be improved.
[0107] 208. Select a logistics company with the highest matching score from among the logistics companies, and execute an order issuance operation for the logistics order.
[0108] In an embodiment of the present invention, an order quantity prediction model is used to predict the order quantity of each logistics company at the delivery time. Different logistics companies have different order throughputs. The order throughput of each logistics company is compared with the order quantity of each logistics company at the current delivery time to determine whether the current delivery time will affect the delivery efficiency of each logistics company for logistics orders, thereby optimizing the matching degree between logistics orders and logistics companies.
[0109] See also Figure 3 The third embodiment of the method for automatically issuing a logistics order in the embodiment of the present invention includes:
[0110] 301. When an order creation request initiated by a merchant client is monitored, order configuration information corresponding to the order creation request is obtained;
[0111] 302. Creating a logistics order based on the configuration information, and extracting order feature information from the order configuration information;
[0112] 303. Obtain vehicle dispatch information of multiple logistics companies, and generate a distribution structure tree of distribution routes of each logistics company based on the vehicle dispatch information;
[0113] 304. Based on the order feature information, the best delivery routes of the logistics order in each logistics company are screened out from the delivery structure tree, and based on each best delivery route, a matching score between the logistics order and each logistics company is calculated;
[0114] 305. Sort the logistics companies according to the matching scores from high to low to obtain a corresponding logistics company ranking table;
[0115] 306. Selecting the logistics company with the highest ranking from the logistics company ranking table. Selecting the logistics company with the highest ranking from the logistics company ranking table, and placing an order with the logistics company with the highest ranking based on the logistics order.
[0116] In this embodiment, the higher the ranking, the higher the matching score between the logistics order and the logistics company, and the higher the matching degree between the two. For example, if the content of the logistics company ranking table is: [Logistics Company A, Logistics Company B, Logistics Company C, Logistics Company D, Logistics Company E], then select Logistics Company A from the logistics company ranking table and place an order with Logistics Company A.
[0117] 307. Monitoring the order status of the logistics order. When it is monitored that the order status is successfully placed, determining that the logistics order is successfully placed.
[0118] In this embodiment, when the designated order time arrives, a logistics company that best matches the logistics order is selected from all logistics companies, and an order request is filed; the selected logistics company performs corresponding operations on the logistics order, including canceling the order, confirming the order, and not responding, so the order status of the logistics order is monitored; when the logistics company cancels the logistics order or does not respond within a preset time period, it is determined that the logistics order has failed to be issued, and when the logistics company confirms the logistics order, it is determined that the logistics order has been successfully issued.
[0119] 308. When it is monitored that the order status is order failure, the logistics company with the highest current ranking is filtered out to obtain a new logistics company ranking table;
[0120] In this embodiment, when the logistics company cancels the logistics order or fails to respond within the preset time period, the order status of the logistics order is failed. In order to prevent the logistics order from being cancelled due to order failure, the logistics company is eliminated and a matching logistics company is selected from the remaining logistics companies to place the order, that is, the logistics company ranked second in the original logistics company ranking table and the logistics company ranked highest in the new logistics company ranking table.
[0121] Specifically, for example, if logistics company A in step 306 cancels the logistics order, logistics company A will be removed from the logistics company ranking table to obtain a new logistics company ranking table: [Logistics Company B, Logistics Company C, Logistics Company D, Logistics Company E], and logistics company B with the highest ranking will be selected, and a new order will be placed with logistics company B.
[0122] 309. Jump to the step of "selecting the logistics company with the highest current ranking from the logistics company ranking table" until the order status is monitored to be successfully placed, and then stop jumping to determine that the logistics order is successfully issued.
[0123] In this example, for example, if logistics company B in step 308 cancels the logistics order again, logistics company B will continue to be removed from the logistics company ranking table to obtain a new logistics company ranking table: [Logistics Company C, Logistics Company D, Logistics Company E], and logistics company C will be selected from the new logistics company ranking table for shipment; and so on, until the logistics order is successfully issued.
[0124] In addition, if all logistics companies have not confirmed the logistics order, an alarm will be issued to prompt manual operation to avoid order cancellation.
[0125] In the embodiment of the present invention, it is described in detail that when a logistics company is unable to issue a logistics order, the next logistics company with the highest matching degree is sequentially screened to issue the order, so as to prevent the failure of logistics order issuance and improve the user experience.
[0126] See also Figure 4 The fourth embodiment of the method for automatically issuing a logistics order in the embodiment of the present invention includes:
[0127] 401. When an order creation request initiated by a merchant client is monitored, order configuration information corresponding to the order creation request is obtained;
[0128] 402. Create a logistics order based on the configuration information, and extract order feature information from the order configuration information;
[0129] 403. Obtain vehicle dispatch information of multiple logistics companies, and generate a distribution structure tree of distribution routes of each logistics company based on the vehicle dispatch information;
[0130] 404. Based on the order feature information, the best delivery routes of the logistics order in each logistics company are screened out from the delivery structure tree, and based on each best delivery route, a matching score between the logistics order and each logistics company is calculated;
[0131] 405. Obtaining the special service information of each logistics company, and extracting the special demand information in the order configuration information;
[0132] In this embodiment, special service information includes one-to-one delivery service, remote area delivery service, 24-hour delivery service, low-price delivery service, etc., which can be represented by vector coordinates. Special demand information includes private delivery demand, night delivery demand, next-day delivery demand, price demand, etc.
[0133] 406. Convert the service information into a first feature vector, and convert the special demand information into a second feature vector;
[0134] In this embodiment, each special service information and each special demand information can be converted into vectors according to pre-set rules.
[0135] 407. Input the first feature vector and the second feature vector into a preset logistics special matching model, calculate the special matching scores of the two, and adjust the matching score based on the special matching scores;
[0136] In this embodiment, the logistics company matching model is obtained by training a CNN (Convolutional Neural Networks) pre-training model, and its specific generation method is as follows:
[0137] 1. Based on the delivery time, freight and address in the historical logistics orders;
[0138] 2. Determine the delivery and receiving range of the logistics order object based on the order address, and determine all the delivery terminals of each logistics company within the delivery and receiving range;
[0139] 3. Calculate one or more logistics routes from the shipping address to the delivery end of each logistics company, and calculate the special matching score of each logistics route.
[0140] 4. Based on the special matching score, the pre-trained model is iterated until the model loss is less than the preset threshold to obtain the special matching model.
[0141] In addition, the special matching score includes positive and negative values. The adjusted matching score can be obtained by adding the special matching score to the original matching score.
[0142] 408. Select a logistics company with the highest matching score from among the logistics companies, and execute an order issuance operation for the logistics order.
[0143] In the embodiment of the present invention, it is introduced in detail that when a logistics order requires a special delivery service, a special matching score between the logistics order and each company is calculated by a preset logistics special matching model to adjust the original matching score, so as to consider the delivery requirements of the logistics order more comprehensively and improve the user experience.
[0144] The above describes the method for automatically issuing a logistics order in an embodiment of the present invention. The following describes the device for automatically issuing a logistics order in an embodiment of the present invention. Figure 5 In one embodiment of the present invention, an automatic logistics order issuing device includes:
[0145] The first acquisition module 501 is used to acquire the order configuration information corresponding to the order creation request when monitoring the order creation request initiated by the merchant client;
[0146] A creation module 502, used to create a logistics order based on the configuration information, and extract order feature information from the order configuration information;
[0147] A generation module 503 is used to obtain vehicle dispatch information of multiple logistics companies and generate a distribution structure tree of the distribution routes of each logistics company based on the vehicle dispatch information;
[0148] A calculation module 504 is used to filter out the best delivery routes of the logistics order in each logistics company from the delivery structure tree based on the order feature information, and calculate the matching scores between the logistics order and each logistics company based on the best delivery routes;
[0149] The push module 505 is used to select the logistics company with the highest matching score from the logistics companies and execute the order issuance operation for the logistics order.
[0150] In the embodiment of the present invention, by extracting characteristic information from order configuration information and extracting vehicle dispatching information of multiple logistics companies respectively; then constructing a distribution structure tree of each logistics company through the vehicle dispatching information, wherein the distribution structure tree has a distribution area node and a distribution time node; then inputting the characteristic information into the distribution structure tree to select the best distribution route of each logistics company relative to the logistics order, and calculating the matching score between the logistics order and each best distribution route; finally selecting the logistics company with the highest matching score to issue the logistics order. The present invention improves the matching excellence between the logistics order and the logistics company, and reduces the logistics cost.
[0151] See also Figure 6 Another embodiment of the automatic logistics order issuing device in the embodiment of the present invention includes:
[0152] A second aspect of the present invention provides a logistics order automatic order issuing device, comprising:
[0153] The first acquisition module 501 is used to acquire the order configuration information corresponding to the order creation request when monitoring the order creation request initiated by the merchant client;
[0154] A creation module 502, used to create a logistics order based on the configuration information, and extract order feature information from the order configuration information;
[0155] A generation module 503 is used to obtain vehicle dispatch information of multiple logistics companies and generate a distribution structure tree of the distribution routes of each logistics company based on the vehicle dispatch information;
[0156] A calculation module 504 is used to filter out the best delivery routes of the logistics order in each logistics company from the delivery structure tree based on the order feature information, and calculate the matching scores between the logistics order and each logistics company based on the best delivery routes;
[0157] The push module 505 is used to select the logistics company with the highest matching score from the logistics companies and execute the order issuance operation for the logistics order.
[0158] Specifically, the automatic logistics order issuing device also includes:
[0159] The second acquisition module 506 is used to acquire the delivery time of the logistics order;
[0160] Prediction module 507, used to input the delivery time into a preset order quantity prediction model to predict the order quantity of each logistics company at the delivery time;
[0161] The first adjustment module 508 is used to adjust the sorting order of each logistics company in the logistics company sorting table based on the order quantity.
[0162] Specifically, the push module includes:
[0163] A sorting unit 5051 is used to sort the logistics companies from high to low according to the matching scores to obtain a corresponding logistics company sorting table;
[0164] A selection unit 5052 is used to select the logistics company with the highest current ranking from the logistics company ranking table, and place an order with the logistics company with the highest current ranking based on the logistics order;
[0165] The monitoring unit 5053 is used to monitor the order status of the logistics order. When it is monitored that the order status is successfully placed, it is determined that the logistics order is successfully placed;
[0166] The screening unit 5054 is used to screen out the logistics company with the highest current ranking when it is monitored that the order status is order failure, and obtain a new logistics company ranking table;
[0167] The jump unit 5055 is used to jump to the step of "selecting the logistics company with the highest current ranking from the logistics company ranking table" until it is monitored that the order status is successfully placed, and then stop jumping to determine that the logistics order is successfully issued.
[0168] Specifically, the automatic logistics order issuing device also includes:
[0169] The third acquisition module 509 is used to acquire multiple historical logistics orders, where the historical logistics orders include order time and corresponding order quantity labels;
[0170] The second generating module 510 is used to generate a time series of historical logistics orders according to the order time;
[0171] A training module 511 is used to take the time series of historical logistics orders and the corresponding order quantity annotations as training samples, input a preset pre-training model, and output a predicted order quantity;
[0172] A second calculation module 512, configured to calculate a model loss value of the preset pre-trained model according to the order quantity label and the predicted order quantity;
[0173] The iteration module 513 is used to iterate the pre-trained model based on the model loss value until the model loss value is less than a preset loss threshold and then stop the iteration to obtain an order quantity prediction model.
[0174] Specifically, the automatic logistics order issuing device also includes:
[0175] Extraction module 514, used to obtain the special service information of each logistics company, and extract the special demand information in the order configuration information;
[0176] A conversion module 515, used to convert the service information into a first feature vector, and to convert the special demand information into a second feature vector;
[0177] The second adjustment module 516 is used to input the first feature vector and the second feature vector into the preset logistics special matching model, calculate the special matching scores of the two, and adjust the matching score based on the special matching score.
[0178] Optionally, in one embodiment, the order configuration information is also stored in the blockchain.
[0179] In the embodiment of the present invention, an order quantity prediction model is used to predict the order quantity of each logistics company at the delivery time, so as to compare the order throughput of each logistics company with the order quantity of each logistics company at the current delivery time, determine whether the current delivery time will affect the delivery efficiency of each logistics company for logistics orders, and optimize the matching degree between logistics orders and logistics companies; then, it is introduced in detail that when a logistics company is unable to issue a logistics order, the next logistics company with the highest matching degree is sequentially screened to issue the order to prevent the failure of logistics order issuance; and it is introduced in detail that when a logistics order requires special delivery service, the special matching score of the logistics order and each company is calculated by pre-setting a logistics special matching model to adjust the original matching score, so as to consider the delivery demand of the logistics order more comprehensively and improve the user experience.
[0180] above Figure 5 and Figure 6 The automatic logistics order issuing device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The automatic logistics order issuing device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0181] Figure 7 : is a schematic diagram of the structure of a logistics order automatic issuing device provided by an embodiment of the present invention. The logistics order automatic issuing device 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 710 (for example, one or more processors) and a memory 720, and one or more storage media 730 (for example, one or more massive storage devices) storing application programs 733 or data 732. Among them, the memory 720 and the storage medium 730 can be short-term storage or permanent storage. The program stored in the storage medium 730 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the logistics order automatic issuing device 700. Furthermore, the processor 710 can be configured to communicate with the storage medium 730 to execute a series of instruction operations in the storage medium 730 on the logistics order automatic issuing device 700.
[0182] The logistics order automatic issuing device 700 may also include one or more power supplies 740, one or more wired or wireless network interfaces 750, one or more input and output interfaces 760, and / or one or more operating systems 731, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 7The structure of the automatic logistics order issuing device shown does not constitute a limitation of the automatic logistics order issuing device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0183] The present invention also provides an automatic logistics order issuing device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the indicator code generation method in the above-mentioned embodiments.
[0184] 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 automatically issuing logistics orders.
[0185] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0186] 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.
[0187] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0188] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for automatically issuing logistics orders, characterized in that: The method for automatically issuing logistics orders includes: When an order creation request initiated by a merchant client is monitored, the order configuration information corresponding to the order creation request is obtained; Creating a logistics order based on the configuration information, and extracting order feature information from the order configuration information; Obtaining vehicle dispatch information of multiple logistics companies, and generating a distribution structure tree of the distribution routes of each logistics company based on the vehicle dispatch information; Based on the order feature information, the best delivery route of the logistics order in each logistics company is screened out from the delivery structure tree, and based on each best delivery route, a matching score between the logistics order and each logistics company is calculated; According to the matching scores, the logistics companies are sorted from high to low to obtain a corresponding logistics company sorting table; Obtaining a delivery time and order quantity prediction model for the logistics order; Input the delivery time into the order quantity prediction model to predict the order quantity of each logistics company at the delivery time; Based on the order volume, adjusting the sorting order of each logistics company in the logistics company sorting table; Selecting the logistics company with the highest matching score from the logistics companies, and executing the order issuance operation for the logistics order; The method for generating the order quantity prediction model includes: Acquire multiple historical logistics orders, wherein the historical logistics orders include order time and corresponding order quantity annotations; generate a time series of historical logistics orders according to the order time; use the time series of historical logistics orders and the corresponding order quantity annotations as training samples, input a preset pre-training model, and output a predicted order quantity; calculate a model loss value of the preset pre-training model according to the order quantity annotations and the predicted order quantity; iterate the pre-training model based on the model loss value until the iteration is stopped when the model loss value is less than a preset loss threshold, and obtain an order quantity prediction model; The step of selecting the best delivery route of the logistics order in each logistics company from the delivery structure tree based on the order feature information includes: The world coordinate encoding in the feature information is input into the distribution structure tree, wherein the world coordinate includes the world coordinate of the shipping address and the world coordinate of the receiving address; the world coordinate is matched with the distribution area node on the distribution structure tree to obtain the corresponding starting distribution area node and terminal distribution area node; based on the vehicle operation sequence, one or more routes from the starting distribution area node to the terminal distribution area node are found; if there are multiple routes, the logistics time required for each route is calculated, and the route with the shortest logistics time is used as the optimal distribution route for the corresponding company.
2. The method for automatically issuing logistics orders according to claim 1, characterized in that: The selecting the logistics company with the highest matching score from the logistics companies and executing the order issuance operation for the logistics order comprises: Selecting the logistics company with the highest current ranking from the logistics company ranking table, and placing an order with the logistics company with the highest current ranking based on the logistics order; Monitoring the order status of the logistics order, and when monitoring that the order status is successful, determining that the logistics order is successfully issued; When it is detected that the order status is order failure, the logistics company with the highest current ranking is filtered out to obtain a new logistics company ranking table; Jump to the step of selecting the logistics company with the highest current ranking from the logistics company ranking table, and stop jumping until it is monitored that the order status is successfully placed, and determine that the logistics order is successfully issued.
3. The method for automatically issuing logistics orders according to any one of claims 1-2, characterized in that: After calculating the matching scores between the logistics order and each logistics company based on each optimal delivery route, the method further includes: Obtaining the special service information of each logistics company, and extracting the special demand information in the order configuration information; Converting the special service information into a first feature vector, and converting the special demand information into a second feature vector; The first feature vector and the second feature vector are input into a preset logistics special matching model, special matching scores of the two are calculated, and the matching score is adjusted based on the special matching scores.
4. The method for automatically issuing logistics orders according to claim 1, characterized in that: The order configuration information is also stored in the blockchain.
5. A logistics order automatic order issuing device, characterized in that: The automatic logistics order issuing device comprises: A first acquisition module is used to acquire order configuration information corresponding to an order creation request when an order creation request initiated by a merchant client is monitored; A creation module, used to create a logistics order based on the configuration information, and extract order feature information from the order configuration information; A generation module, used to obtain vehicle dispatching information of multiple logistics companies, and generate a distribution structure tree of the distribution routes of each logistics company based on the vehicle dispatching information; A calculation module, configured to filter out the best delivery routes of the logistics order in each logistics company from the delivery structure tree based on the order feature information, and calculate the matching scores between the logistics order and each logistics company based on the best delivery routes; The automatic logistics order issuing device also includes a sorting module, which is used to sort the logistics companies from high to low according to the matching scores to obtain a corresponding logistics company sorting table; A push module, used for selecting the logistics company with the highest matching score from the logistics companies, and executing the order issuance operation for the logistics order; The automatic logistics order issuing device also includes: A second acquisition module is used to obtain a delivery time and order quantity prediction model of the logistics order; A prediction module, used to input the delivery time into a preset order quantity prediction model to predict the order quantity of each logistics company at the delivery time; An adjustment module, used for adjusting the sorting order of each logistics company in the logistics company sorting table based on the order quantity; The automatic logistics order issuing device also includes: A third acquisition module is used to acquire multiple historical logistics orders, where the historical logistics orders include order time and corresponding order quantity labels; A second generating module is used to generate a time series of historical logistics orders according to the order time; The training module is used to label the time series of historical logistics orders and the corresponding order quantities as training samples, input the preset pre-training model, and output the predicted order quantity; A second calculation module, used to calculate the model loss value of the preset pre-trained model according to the order quantity label and the predicted order quantity; An iteration module, used to iterate the pre-trained model based on the model loss value, and stop the iteration when the model loss value is less than a preset loss threshold, so as to obtain an order quantity prediction model; The calculation module is also used to input the world coordinate encoding in the feature information into the distribution structure tree, wherein the world coordinates include the world coordinates of the shipping address and the world coordinates of the receiving address; match the world coordinates with the distribution area nodes on the distribution structure tree to obtain the corresponding starting distribution area node and the terminal distribution area node; based on the vehicle operation sequence, find one or more routes from the starting distribution area node to the terminal distribution area node; if there are multiple routes, calculate the logistics time required for each route, and use the route with the shortest logistics time as the optimal distribution route for the corresponding company.
6. A logistics order automatic order issuing device, characterized in that: The automatic logistics order issuing device comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory so that the automatic logistics order issuance device executes the automatic logistics order issuance method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for automatically issuing logistics orders as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Scheduling processing method and device for order form distribution
CN108734390A
Order distribution method, device and system
CN110020759A
