Method and device for generating logistics transportation information
By calculating the packaging of the products to be transported and matching the properties of consumables, we generate the first-leg and last-leg waybill numbers, solving the problem of inaccurate transportation information in international logistics and improving the accuracy of logistics transportation information and outbound efficiency.
Patent Information
- Application Number
- CN202510780235.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-09-26
AI Technical Summary
In international logistics and transportation, existing technologies have the problem of inaccurate last-mile transportation information, which affects the merchant's reputation and warehouse operation efficiency. In particular, when the package order is placed, the volume and weight information are inconsistent, resulting in poor matching results and affecting the efficiency of product delivery.
By obtaining information about the products to be transported, performing product packaging calculations, generating a first-leg waybill number, and matching the last-leg logistics service based on the properties of the consumables, obtaining the last-leg waybill number, and finally generating logistics and transportation information, we ensure the accuracy and efficiency of the packaging results.
It improves the accuracy of last-mile logistics service matching data, ensures the efficiency of generating logistics and transportation information, improves the efficiency of goods outbound delivery, and reduces matching failures and manual unpacking operations.
Smart Images

Figure CN120707023A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of logistics management, and in particular to a method and device for generating logistics transportation information. Background Art
[0002] The development of e-commerce technology has fueled the growth of the international logistics industry. International logistics requires cross-border transportation. However, many e-commerce companies lack cross-border transportation capabilities, specifically, final-mile delivery capabilities, requiring the assistance of third-party carriers. When transporting through a third-party carrier, the carrier receives orders through the system and matches them with their shipping capacity on a per-order, per-package basis. The carrier then obtains the final-mile logistics waybill based on the matching results.
[0003] However, when applying the above method, there is a problem that the volume and weight information of the last-mile logistics package when the order is placed are different from the volume and weight of the actual package. At the same time, the packaging method of a single package also affects the matching effect, which in turn affects the efficiency of the goods' outbound delivery. Summary of the Invention
[0004] In view of this, an embodiment of the present invention provides a method and device for generating logistics and transportation information, which can improve the accuracy of generating logistics and transportation information, while ensuring the efficiency of generating logistics and transportation information and improving the efficiency of goods leaving the warehouse.
[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for generating logistics transportation information is provided, comprising:
[0006] Obtain product information of products to be shipped;
[0007] Perform product packaging calculation based on the product information of the products to be transported to obtain a packaging result, wherein the packaging result includes a product list corresponding to each package and consumable attributes of each package;
[0008] Generate a first-leg waybill number for each package; match a final-leg logistics service based on the consumable attributes of each package, and obtain the final-leg waybill number for each package through the matched final-leg logistics service;
[0009] Based on the product list corresponding to each package, the first-leg waybill number of each package, and the last-leg waybill number of each package, the logistics transportation information of the product to be transported is generated.
[0010] Optionally, the packaging of products according to the product information of the products to be transported to obtain the packaging results includes: determining the product type of each product according to the product size and product weight of each product in the product information of the products to be transported; and packaging the products according to the product type of each product to obtain the packaging results.
[0011] Optionally, the product packaging calculation based on the product type of each product to obtain the packaging result includes: packaging each product of the first product type among the products to be transported into a package; packaging at least one product of the second product type among the products to be transported that can be packaged into a package into a package, and determining the consumable attributes corresponding to each package; and obtaining the packaging result based on the consumable attributes corresponding to each package.
[0012] Optionally, the packaging result includes at least one package in different packaging combinations, and the matching of the last-mile logistics service according to the consumable attributes of each package includes: matching the last-mile logistics service according to the consumable attributes of each package in different packaging combinations to obtain at least one packaging combination and a corresponding last-mile logistics service; determining a target packaging combination in the at least one packaging combination according to a preset packaging combination selection rule, and determining that the target last-mile logistics service corresponding to the target packaging combination is the matched last-mile logistics service.
[0013] Optionally, the method further includes: in response to receiving a logistics transportation cancellation request, deleting the logistics transportation information of each package one by one.
[0014] Optionally, the method further includes: performing a warehouse-out operation of the product to be transported based on the logistics transportation information of the product to be transported.
[0015] According to another aspect of an embodiment of the present invention, a device for generating logistics transportation information is provided, comprising:
[0016] An acquisition module, used to obtain product information of the product to be transported;
[0017] A packaging module, configured to perform product packaging calculations based on the product information of the products to be transported to obtain a packaging result, wherein the packaging result includes a list of products corresponding to each package and consumable attributes of each package;
[0018] The first generation module is used to generate a first-leg waybill number for each package; match the last-leg logistics service based on the consumable attributes of each package, and obtain the last-leg waybill number for each package through the matched last-leg logistics service;
[0019] The second generating module is used to generate the logistics transportation information of the products to be transported based on the product list corresponding to each package, the first-leg waybill number of each package, and the last-leg waybill number of each package.
[0020] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating logistics and transportation information provided in an embodiment of the present invention.
[0021] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for generating logistics transportation information provided by an embodiment of the present invention is implemented.
[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, which, when executed by a processor, implements the method for generating logistics transportation information provided by an embodiment of the present invention.
[0023] One embodiment of the above invention has the following advantages or beneficial effects: it can package products according to the product information of the products to be transported, and generate a first-leg waybill number according to the packaging results, and then match the consumables attributes in the packaging results with the last-leg logistics service, and generate a last-leg waybill number according to the matched last-leg logistics service, and then generate the logistics transportation information of the products to be transported. By first packaging the products to be transported and then matching the last-leg logistics service according to the packaging results, the accuracy of the last-leg logistics service matching data can be improved, and then the accuracy of the logistics transportation information can be improved. At the same time, the efficiency of generating logistics transportation information is guaranteed, and the efficiency of goods outbound is improved.
[0024] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings are provided for a better understanding of the present invention and are not intended to limit the present invention.
[0026] Figure 1 This is a schematic diagram of the main steps of a method for generating logistics transportation information according to an embodiment of the present invention;
[0027] Figure 2 Product packaging process diagram;
[0028] Figure 3 Process interaction diagram between systems for generating logistics and transportation information;
[0029] Figure 4 Logical interaction diagram between systems in the commodity transportation process;
[0030] Figure 5 This is a schematic diagram of the main modules of a device for generating logistics and transportation information according to an embodiment of the present invention;
[0031] Figure 6 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
[0032] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following description of exemplary embodiments of the present invention is made in conjunction with the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding. These details should be considered as merely exemplary. Therefore, it should be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0034] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, and storage of user personal information involved in the technical solutions disclosed in this invention all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken with respect to user personal information to prevent unauthorized access to user personal information data and to safeguard the security of user personal information, network security, and national security.
[0035] There are some problems in the process of package packaging and ordering in the current international logistics transportation process, which will cause inaccurate final transportation information. The details are as follows:
[0036] Inaccurate final-leg size and weight information: Since the final-leg order process is completed during the order-taking phase, the size and weight of the order are the cumulative size and weight of all products. There is a certain difference between the actual size and weight of the package and the actual size and weight, which will have a certain impact on the final-leg logistics service provider.
[0037] Impact on the merchant's store reputation: In terms of customers, some platforms do not support the secondary update of the carrier's order number. During the order acceptance period, a one-order-one-package solution is adopted. When the order is re-placed, the last-mile carrier's order number changes. The e-commerce platform cannot obtain the latest tracking data, and there is a risk of judging that the merchant has made a false shipment.
[0038] Impact on warehouse packaging efficiency: Warehouse production requires real-time order placement with service providers, and the service provider's responsiveness can impact warehouse efficiency. Common tasks require system performance between 5 and 10 seconds. For example, a single review station places 500 orders and retrieves shipping labels daily, resulting in a 1.4-hour wait time. Reducing this wait time can help improve packaging efficiency.
[0039] Impacting warehouse picking efficiency: For large items, such as those that are typically packaged one item at a time, we want to improve production efficiency by performing group picking. The goal is to break down document data into individual packages (one item per package) and enable faster picking and verification through group picking and hot-selling product verification.
[0040] Since the above-mentioned pain points exist in the existing logistics and transportation information process, the present invention proposes a method for generating logistics and transportation information, which can effectively avoid the occurrence of the above-mentioned problems and ensure the accurate generation of logistics and transportation information.
[0041] Figure 1 FIG. 1 is a schematic diagram of the main steps of the method for generating logistics transportation information according to an embodiment of the present invention. Figure 1 As shown, the logistics transportation information method of the present invention mainly includes steps S101 to S104.
[0042] Step S101: Obtain product information of the product to be transported.
[0043] Obtain product information of the products to be shipped sent by the merchant platform, including product name, product volume, product weight, product quantity and other information.
[0044] Step S102 : performing product packaging calculation based on the product information of the products to be transported to obtain a packaging result, wherein the packaging result includes a product list corresponding to each package and consumable attributes of each package.
[0045] Based on the acquired product information, the products to be shipped are unpacked and repacked to obtain the individual packages. The final packaging result is then obtained, along with a product list consisting of the products contained in each package and the consumable properties of each package. The product list contains product information for at least one product in each package, such as product name, weight, and quantity.
[0046] In one embodiment, a variety of package combinations can be obtained according to different unpacking methods, and each package combination contains no less than one package.
[0047] Step S103: Generate a first-leg waybill number for each package; match a last-leg logistics service based on the consumable attributes of each package, and obtain the last-leg waybill number for each package through the matched last-leg logistics service.
[0048] After each package is packaged, a first-leg waybill number can be generated for each package. After generating the first-leg waybill number, a final-leg waybill number needs to be generated. Specifically, a final-leg logistics service (including services provided by different final-leg logistics service providers) is matched based on the consumable attributes of each package in the packaging results. A final-leg waybill number is generated for each package based on the matched final-leg logistics service. The matched final-leg logistics service is a service that can support the packaging and transportation of each package.
[0049] In one embodiment, after generating the first-leg waybill number, the first-leg waybill for each package can be generated by combining the product information of each package with the first-leg waybill number. When generating the last-leg waybill, the last-leg waybill number can be combined with the product information of each package to generate the last-leg waybill.
[0050] In one embodiment, the first leg refers to the entire process from the point of production or supplier's warehouse to a transit point (such as a port or overseas warehouse) in the destination country via international transportation (sea, air, or land transport), including export declaration, international transportation, and customs clearance in the destination country. The last leg refers to the delivery phase from the transit point (such as an overseas warehouse or customs warehouse) in the destination country to the end consumer, typically completed by a local courier or in-house logistics team.
[0051] Step S104: Generate logistics transportation information for the products to be transported based on the product list corresponding to each package, the first-leg waybill number of each package, and the last-leg waybill number of each package.
[0052] After generating the first-leg waybill number and the last-leg waybill number for each package, logistics transportation information is generated based on the two waybill numbers and the product information in the product list corresponding to each package. The generated logistics transportation information can be fed back to the user through the system for the user to query the logistics process.
[0053] The method for generating logistics and transportation information provided by an embodiment of the present invention can package products according to the product information of the products to be transported, and generate a first-leg waybill number according to the packaging result, and then match the consumables attributes in the packaging result with the last-leg logistics service, and generate a last-leg waybill number according to the matched last-leg logistics service, and then generate the logistics and transportation information of the products to be transported. By first packaging the products to be transported and then matching the last-leg logistics service according to the packaging result, the accuracy of the last-leg logistics service matching data can be improved, and then the accuracy of the logistics and transportation information can be improved, while ensuring the efficiency of generating logistics and transportation information and improving the efficiency of goods outbound.
[0054] In one embodiment, packaging the products according to the product information of the products to be transported to obtain the packaging results includes: determining the product type of each product according to the product size and product weight of each product in the product information of the products to be transported; and packaging the products according to the product type of each product to obtain the packaging results.
[0055] When packaging products, a packaging method can be selected based on the product type. Specifically, the package determines whether the product is bulky (i.e., cargo whose volume or weight reaches a preset threshold) based on the product information and weight. Based on this determination, the product type is determined, either bulky or non-bulky. After determining the product type, the corresponding packaging method is obtained. The product is then packaged using the obtained packaging method, resulting in individual packages and the packaging results.
[0056] In one embodiment, non-bulky goods within the product category can be further categorized into medium-sized goods, small-sized goods, etc.; and bulky goods can be further categorized into general bulky goods, oversized goods, etc. Product types and corresponding packaging methods can be set based on actual conditions. The corresponding relationship is not unique and is not limited to this. However, the setting of product types is generally associated with the volume and weight of the product.
[0057] The method for generating logistics and transportation information provided by an embodiment of the present invention can determine the packaging method of a product by product type, thereby achieving accurate packaging of the product and helping to improve the efficiency of subsequent logistics and transportation information generation.
[0058] In one embodiment, a product packaging calculation is performed based on the product type of each product to obtain a packaging result, including: packaging each product of a first product type among the products to be transported into a package; packaging at least one product of a second product type among the products to be transported that can be packaged into a package into a package, and determining the consumable attributes corresponding to each package; and obtaining a packaging result based on the consumable attributes corresponding to each package.
[0059] During packaging, the product type of the items to be transported must be determined. If the product type is determined to be the first type (bulky goods), due to the product's large size, to avoid the accumulation of multiple products into a larger package, which would affect subsequent matching with final-leg logistics providers, a one-item-per-package packaging method is adopted. Specifically, each product is packaged into a single package, resulting in multiple packages. Compared to simply aggregating multiple products into a larger package and then combining them with the final-leg logistics provider, the unpacking method significantly reduces the package size and better matches the final-leg logistics provider's services. This avoids the problem of final-leg logistics providers being unable to accept orders due to excessively large packages, thus ensuring effective matching. If the product type is determined to be the second type (non-bulky goods), a packaging method that combines some products is adopted. This reduces the number of packages while improving matching with final-leg logistics providers and maximizing the matching success rate. Specifically, by combining different quantities of products in the items to be transported, multiple possible combinations are obtained. Each combination includes at least one package, and each package contains at least one product. The list of contained products serves as the product list for each package, which is used to record information about the products packaged in each package. The consumable attributes of each package are determined based on the products contained in each package, and the product list and consumable attributes of each package are combined to obtain packaging results of different combinations.
[0060] The method for generating logistics and transportation information provided by an embodiment of the present invention can ensure the accuracy of product packaging by packaging different types of products. At the same time, the products to be transported can be packaged into different packages, which can be more suitable for the capabilities of last-mile logistics service providers, improve the matching degree of logistics services, avoid the manual order splitting process caused by matching failure, and ensure user experience.
[0061] In one embodiment, the packaging results include at least one package from different packaging combinations. Matching the final-leg logistics service based on the consumable attributes of each package includes: matching the final-leg logistics service based on the consumable attributes of each package in the different packaging combinations to obtain at least one packaging combination and a corresponding final-leg logistics service; determining a target packaging combination within the at least one packaging combination based on a preset packaging combination selection rule, and determining the target final-leg logistics service corresponding to the target packaging combination as the matched final-leg logistics service. The packaging results are packaging results for different combinations, i.e., they include individual packages corresponding to the different combinations. When matching the final-leg logistics service, the different combinations are matched with the final-leg logistics services available from different final-leg logistics service providers. Specifically, the fulfillment capabilities of the final-leg logistics service providers (whether they support the transportation of any of the different combinations) are matched, and the final-leg logistics service corresponding to the matched final-leg logistics service provider is determined based on the matching results. During the matching process, the matching results include at least one final-leg logistics service provider and at least one corresponding packaging combination, from which the optimal matching result is selected. When selecting, you can follow a pre-set optimization strategy, for example, choosing the combination with the least number of packages, the combination with the lowest transportation costs, the final-leg logistics service provider with the highest service quality, or the final-leg logistics service provider with the fastest delivery time. Transportation costs can be calculated based on pricing from different packaging combinations and final-leg logistics service providers; service quality can be determined based on the evaluation scores of the final-leg logistics service provider's historical orders, and delivery time can also be determined based on the delivery time of the final-leg logistics service provider's historical orders.
[0062] In one embodiment, the packaging combination of products is determined as follows: Taking three items with a length, width, and height of 10cm*10cm*10cm as an example, the existing method is to combine them into a 30cm*10cm*10cm package and compare them with the fulfillment capabilities of the final-leg logistics service provider. However, in this solution, the packages are combined into a variety of combinations with different consumable properties: 10cm*10cm*10cm, 20cm*10cm*10cm, 30cm*10cm*10cm, and 20cm*20cm*20cm. These are then compared with the fulfillment capabilities of the final-leg logistics service provider. This provides the final-leg logistics service provider with more possible options and facilitates the selection of the optimal combination for logistics transportation.
[0063] The method for generating logistics and transportation information provided by embodiments of the present invention can package products for transport, generate multiple possible combinations, and determine the optimal combination based on matching with final-leg logistics service providers, thereby optimizing the logistics and transportation information generation process. By using multiple possible combinations, the probability of matching with final-leg logistics service providers is increased, matching failures are reduced, and the efficiency of logistics and transportation information generation is improved.
[0064] In one embodiment, the method further includes: in response to receiving a logistics transportation cancellation request, deleting the logistics transportation information of each package one by one.
[0065] After receiving the logistics transportation cancellation request (i.e., product transportation cancellation request), a cancellation request is sent to the warehouse system so that the warehouse system deletes the generated logistics transportation information of each package, thereby terminating the product transportation process.
[0066] In one embodiment, the method further includes: performing a warehouse-out operation of the product to be transported based on the logistics transportation information of the product to be transported.
[0067] After generating the final-leg waybill number based on the matched final-leg logistics service, the logistics transportation information is further generated by combining the first-leg waybill number and the product list of each package, and the product is packaged and shipped out according to the package and package product list in the logistics information.
[0068] According to the method for generating logistics and transportation information provided by the embodiment of the present invention, it is possible to package products according to the product information of the products to be transported, generate a first-leg waybill number according to the packaging result, match the consumables attributes in the packaging result with the last-leg logistics service, generate a last-leg waybill number according to the matched last-leg logistics service, and then generate the logistics and transportation information of the products to be transported. By first packaging the products to be transported and then matching the last-leg logistics service according to the packaging result, it is possible to effectively improve the accuracy of the last-leg logistics service matching data, thereby improving the accuracy of the logistics and transportation information, while ensuring the efficiency of generating logistics and transportation information and improving the delivery of goods. Among them, the packaging result includes different packaging combinations, which can provide a variety of possible combination schemes for the last-leg logistics service provider, increase the probability of successful matching, avoid manual unpacking operations caused by matching failures, and improve subsequent transportation efficiency.
[0069] like Figure 2The following is a schematic diagram of the product packaging process. First, the process determines whether the product to be shipped is a single item (one item per waybill) or unlabeled. Unlabeled means it has not been assigned a target rule. Target rules are the rules of the product packaging process described herein. If the determination is yes, the product packaging process described herein is not required; instead, the product is directly matched with the final-leg logistics service according to existing processes. If the determination is no, the process iterates through all products in the product list and determines the product type. For large items, a one-item-per-package packaging method is used, and the dimensions and weight of each package are determined. For non-large items, a list of products to be packaged is constructed. Different packaging combinations are generated based on the consumables of the final-leg logistics service. These packaging combinations are then combined with the packaging results for the large items to obtain the packaging results for all products. The consumables of the final-leg logistics service are those that meet the final-leg logistics service's fulfillment contract. If the product list contains only one type of product (large / non-large), no aggregation is required. After aggregation, the packaging results are verified for contract fulfillment, and the final-leg logistics service is determined based on the verification results. The fulfillment verification process includes determining whether there is a matching final-leg logistics service. If not, the packaging process described above is skipped and the existing process is used to match the final-leg logistics service. If there is, the optimal packaging combination is selected as the final packaging result.
[0070] like Figure 3 The diagram shows the process interaction between the systems involved in generating logistics and transportation information. This primarily includes the Freight Optimization Platform (FOP) system, the 3PL (final-mile logistics provider), and the WMS (a digital management system designed for warehouses and logistics centers). Within the FOP, upon receiving an order, the FOP determines the number of items. If the order is for one item, the existing single-package process is used. If the order is for multiple items, a packing algorithm is used to determine the dimensions and weight of each individual package, generating a packing result. Based on the packing result, the 3PL is called upon to place an order. The 3PL then calls the final-mile logistics provider to accept the order and receives a response from the 3PL. Based on the order result, the WMS issues the order, shipping label, and product information. After receiving the order, the WMS generates a work order based on the item and performs the picking and packing tasks according to the work order. Upon completion, an order receipt is generated and returned to the FOP for delivery to the customer. When FOP receives a cancellation request, it sends the cancellation request to WMS, causing WMS to cancel the package operations one by one. After all packages are successfully canceled, a cancellation success message is returned to FOP. If the cancellation fails, a cancellation failure message is returned.
[0071] like Figure 4The following diagram shows the logical interactions between systems in the merchandise transportation process. The service order, routing split unit, waybill, and shipment order unit represent different functional units in the FOP system; the waybill center and EDI (electronic data interchange) unit represent units in the final-leg logistics provider system. The service order issues a shipment order and mandatory parameter verification information, sends a mandatory parameter verification request to the shipment order, and receives a pass / fail response. A fulfillment plan is requested from the routing split unit and received back; a package splitting strategy is requested and received back. A multi-package order is placed with the waybill center through the waybill unit, and the final-leg waybill number and delivery note are returned. After the order is placed, the goods need to be shipped. The waybill is converted into a shipment order, and the shipment order is issued to the shipment order unit. The shipment order unit performs inventory pre-positioning operations to obtain the order result from the shipment order unit. The shipment order unit uses asynchronous messaging to issue shipment orders to the WMS via EDI and receives a successful response from the WMS. The outbound order unit sends a print request to the EDI and receives a response. The print request is for printing the face sheet. If the server receives a cancellation command, it sends the cancellation command to the outbound order unit, EDI, and WMS, and receives a response.
[0072] Figure 5 Schematic diagram of the main modules of the device 500 for generating logistics and transportation information provided by the embodiment of the present invention. Figure 5 As shown, the device 500 for generating logistics and transportation information mainly includes an acquisition module 501, a packaging module 502, a first generation module 503 and a second generation module 504.
[0073] The acquisition module 501 is used to obtain product information of the product to be transported;
[0074] The packaging module 502 is used to calculate the product packaging according to the product information of the products to be transported to obtain the packaging results, which include the product list corresponding to each package and the consumable attributes of each package;
[0075] The first generation module 503 is used to generate a first-leg waybill number for each package; match a final-leg logistics service based on the consumable attributes of each package, and obtain the final-leg waybill number for each package through the matched final-leg logistics service;
[0076] The second generating module 504 is used to generate logistics transportation information of the products to be transported based on the product list corresponding to each package, the first leg waybill number of each package, and the last leg waybill number of each package.
[0077] The device for generating logistics and transportation information provided by the embodiment of the present invention can package products according to the product information of the products to be transported, and generate a first-leg waybill number according to the packaging result, and then match the consumables attributes in the packaging result with the last-leg logistics service, and generate a last-leg waybill number according to the matched last-leg logistics service, and then generate the logistics and transportation information of the products to be transported. By first packaging the products to be transported and then matching the last-leg logistics service according to the packaging result, the accuracy of the last-leg logistics service matching data can be improved, thereby improving the accuracy of the logistics and transportation information, while ensuring the efficiency of generating logistics and transportation information and improving the efficiency of goods outbound.
[0078] In one embodiment, the packing module 502 is further configured to determine the product type of each product according to the product size and product weight of each product in the product information of the products to be transported; and pack the products according to the product type of each product to obtain a packing result.
[0079] In one embodiment, the packaging module 502 is further used to: package each product of the first product type among the products to be transported into a package; package at least one product of the second product type among the products to be transported that can be packaged into a package into a package, and determine the consumable attributes corresponding to each package; based on the consumable attributes corresponding to each package.
[0080] In one embodiment, the packaging result includes at least one package in different packaging combinations. The first generation module 503 is further used to: match the last-mile logistics service according to the consumable attributes of each package in the different packaging combinations to obtain at least one packaging combination and the corresponding last-mile logistics service; determine the target packaging combination in at least one packaging combination according to the preset packaging combination selection rules, and determine that the target last-mile logistics service corresponding to the target packaging combination is the matched last-mile logistics service.
[0081] In one embodiment, the logistics transportation information generation device 500 further includes: a deletion module 505 (not shown in the figure), which is used to delete the logistics transportation information of each package one by one in response to receiving a logistics transportation cancellation request.
[0082] In one embodiment, the device 500 for generating logistics and transportation information further includes: an outbound module 506 (not shown in the figure), which is used to perform outbound operations on the products to be transported based on the logistics and transportation information of the products to be transported.
[0083] The device for generating logistics and transportation information provided by the embodiment of the present invention can package products according to the product information of the products to be transported, and generate a first-leg waybill number based on the packaging result, and then match the consumable attributes in the packaging result with the last-leg logistics service, and generate a last-leg waybill number based on the matched last-leg logistics service, and then generate the logistics and transportation information of the products to be transported. By first packaging the products to be transported and then matching the last-leg logistics service according to the packaging result, the accuracy of the last-leg logistics service can be effectively improved, thereby improving the accuracy of the logistics and transportation information, and at the same time ensuring the efficiency of generating logistics and transportation information. Among them, the packaging result includes different packaging combinations, which can provide a variety of possible combination schemes for the last-leg logistics service provider, improve the matching probability, avoid manual unpacking operations caused by matching failures, and improve subsequent transportation efficiency.
[0084] Figure 6 An exemplary system architecture 600 is shown to which the method for generating logistics and transportation information or the device for generating logistics and transportation information according to an embodiment of the present invention can be applied.
[0085] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0086] Users can use terminal devices 601, 602, and 603 to interact with server 605 via network 604 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 601, 602, and 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0087] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0088] Server 605 may be a server that provides various services, such as a backend management server (for example only) that supports shopping websites browsed by users using terminal devices 601, 602, and 603. The backend management server may analyze and process received data such as generation requests, and provide feedback (for example, logistics and transportation information) to the terminal device.
[0089] It should be noted that the method for generating logistics and transportation information provided in the embodiment of the present invention is generally executed by the server 605. Accordingly, the device for generating logistics and transportation information is generally set in the server 605.
[0090] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0091] Reference below Figure 7 , which shows a schematic structural diagram of a computer system 700 of a terminal device or server suitable for implementing an embodiment of the present invention. Figure 7 The terminal device or server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0092] like Figure 7 As shown, computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage unit 708 into a random access memory (RAM) 703. Various programs and data required for the operation of system 700 are also stored in RAM 703. CPU 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to bus 704.
[0093] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, mouse, and the like; an output section 707 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; a storage section 708 including devices such as a hard disk; and a communication section 709 including a network interface card such as a LAN card or a modem. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. Removable media 711, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 710 as needed, so that computer programs read from the media can be installed in the storage section 708 as needed.
[0094] In particular, according to embodiments disclosed herein, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed herein include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program containing program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709 and / or installed from removable media 711. When executed by central processing unit (CPU) 701, the computer program performs the aforementioned functions defined in the system of the present invention.
[0095] It should be noted that the computer-readable medium described in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable storage media may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0097] The units or modules involved in the embodiments of the present invention may be implemented in software or hardware. The units or modules described may also be provided in a processor. For example, they may be described as follows: a processor includes an acquisition module, a packaging module, a first generation module, and a second generation module. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves. For example, the acquisition module may also be described as a "module for acquiring product information of products to be transported."
[0098] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiments, or may exist independently without being incorporated into the device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device includes:
[0099] Obtain product information of products to be shipped;
[0100] The product packaging calculation is performed based on the product information of the products to be transported to obtain the packaging results, which include the product list corresponding to each package and the consumable attributes of each package;
[0101] Generate a first-leg waybill number for each package; match the final-leg logistics service based on the consumable attributes of each package, and obtain the final-leg waybill number for each package through the matched final-leg logistics service;
[0102] Generate logistics information for the products to be shipped based on the product list corresponding to each package, the first-leg waybill number of each package, and the last-leg waybill number of each package.
[0103] According to the technical solution of the embodiments of the present invention, products can be packaged according to the product information of the products to be transported, and a first-leg waybill number can be generated according to the packaging result. Then, the consumables attributes in the packaging result are matched with the last-leg logistics service, and a last-leg waybill number is generated according to the matched last-leg logistics service, and then the logistics transportation information of the products to be transported is generated. By first packaging the products to be transported and then matching the last-leg logistics service according to the packaging result, the accuracy of the last-leg logistics service matching data can be improved, and then the accuracy of the logistics transportation information can be improved. At the same time, the efficiency of generating logistics transportation information is guaranteed, and the efficiency of goods outbound is improved.
[0104] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for generating logistics and transportation information, characterized in that: include: Obtain product information of products to be shipped; Perform product packaging calculation based on the product information of the products to be transported to obtain a packaging result, wherein the packaging result includes a product list corresponding to each package and consumable attributes of each package; Generate a first-leg waybill number for each package; match a final-leg logistics service based on the consumable attributes of each package, and obtain the final-leg waybill number for each package through the matched final-leg logistics service; Based on the product list corresponding to each package, the first-leg waybill number of each package, and the last-leg waybill number of each package, the logistics transportation information of the product to be transported is generated.
2. The method according to claim 1, characterized in that The step of packaging the products according to the product information of the products to be transported to obtain a packaging result includes: Determining the product type of each product according to the product size and product weight of each product in the product information of the products to be transported; The products are packaged according to the product types of the products to obtain a packaging result.
3. The method according to claim 2, characterized in that The product packaging calculation is performed according to the product type of each product to obtain the packaging result, including: Packing each product of the first product type among the products to be transported into a package; Among the products to be transported whose product type is the second product type, at least one product that can be packaged into one package is packaged into one package, and the consumable attributes corresponding to each package are determined; and a packaging result is obtained based on the consumable attributes corresponding to each package.
4. The method according to claim 1, wherein The packaging result includes at least one package in different packaging combinations, and the matching of the last-mile logistics service according to the consumable attributes of each package includes: Match the final-leg logistics service based on the consumable attributes of each package in different packaging combinations, and obtain at least one packaging combination and corresponding final-leg logistics service; A target packaging combination among the at least one packaging combination is determined according to a preset packaging combination selection rule, and a target last-mile logistics service corresponding to the target packaging combination is determined as the matched last-mile logistics service.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In response to receiving the logistics transportation cancellation request, the logistics transportation information of each package is deleted one by one.
6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The product to be transported is shipped out of the warehouse based on the logistics and transportation information of the product to be transported.
7. A device for generating logistics and transportation information, characterized in that: include: An acquisition module, used to obtain product information of the product to be transported; A packaging module, configured to perform product packaging calculations based on the product information of the products to be transported to obtain a packaging result, wherein the packaging result includes a list of products corresponding to each package and consumable attributes of each package; The first generation module is used to generate a first-leg waybill number for each package; match the last-leg logistics service based on the consumable attributes of each package, and obtain the last-leg waybill number for each package through the matched last-leg logistics service; The second generating module is used to generate the logistics transportation information of the products to be transported based on the product list corresponding to each package, the first-leg waybill number of each package, and the last-leg waybill number of each package.
8. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer-readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.