Commodity transportation fee settlement method, device, equipment and storage medium
Through an automated method of settling commodity transportation costs, order information and preset models are used to determine warehouse and transportation resources, which solves the problem of low information sharing and settlement efficiency under traditional manual operations, and realizes efficient and accurate commodity transportation cost settlement and inventory management.
Patent Information
- Application Number
- CN202210320735.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2042-03-29
AI Technical Summary
In traditional commodity trading, transportation, and warehousing management, information sharing and logistics tracking between systems rely on manual work, resulting in heavy workload, prone to errors, untimely information, unbalanced resource allocation, and low efficiency in commodity transportation fee settlement.
By obtaining the target user's order information, determining the product demand and supply warehouse, using the preset product allocation model to analyze the allocation relationship, combining the transportation resource matching model to generate a plan, and analyzing the transportation costs according to the settlement rules, the automated settlement of product transportation costs is achieved.
It improves the efficiency and accuracy of commodity transportation cost settlement, can accurately predict the distribution volume between supply and demand warehouses, clear inventory, and improve the efficiency of commodity distribution and the targetedness of cost settlement.
Smart Images

Figure CN114819802B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of warehousing and logistics, and in particular to a method, device, equipment and storage medium for settling commodity transportation costs. Background Art
[0002] With the development of science and technology, the Internet has become an indispensable tool in people's daily lives, and Internet-based e-commerce is also on the rise. E-commerce refers to a new business operation model in which buyers and sellers conduct various business activities without meeting each other in an open Internet environment based on browser or server applications, realizing consumers' online shopping, online transactions and online electronic payments between merchants, as well as various business activities, transaction activities, financial activities and related comprehensive service activities.
[0003] In traditional commodity trading, transportation, and warehousing management, information sharing between systems, logistics tracking, and other tasks are all done manually, which not only results in a heavy workload but is also prone to errors and untimely information, leading to unbalanced resource allocation and low efficiency in commodity transportation fee settlement. Summary of the Invention
[0004] The embodiments of the present invention provide a method, apparatus, device and storage medium for settling commodity transportation fees, which are used to improve the efficiency of commodity transportation fee settlement.
[0005] The first aspect of the present invention provides a method for settling commodity transportation costs, comprising: obtaining order information of a target user, wherein the order information includes commodity type, commodity order quantity and delivery address information; determining commodity demand warehouse information and commodity supply warehouse information based on the order information of the target user; inputting the order information into a preset commodity allocation model based on the commodity demand warehouse information and the commodity supply warehouse information to perform allocation relationship analysis and determine commodity allocation information; inputting the commodity allocation information into a preset transportation resource matching model to perform resource matching analysis and determine transportation resource information; generating a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan; performing transportation cost analysis according to the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information.
[0006] Optionally, in a first implementation method of the first aspect of the present invention, determining the commodity demand warehouse information and the commodity supply warehouse information based on the target user's order information includes: determining the commodity type, the commodity order quantity and the delivery address information based on the target user's order information; performing warehouse matching based on the commodity type and delivery address information to obtain multiple warehouses to be selected; screening multiple warehouses to be selected based on the commodity order quantity to determine the commodity demand warehouse and the commodity supply warehouse.
[0007] Optionally, in a second implementation method of the first aspect of the present invention, the warehouse matching based on the commodity type and delivery address information to obtain multiple warehouses to be selected includes: obtaining pre-stored warehouse location division information; determining multiple initial warehouses through the delivery address information and the warehouse location division information; and warehouse matching the multiple initial warehouses based on the commodity type to determine multiple warehouses to be selected.
[0008] Optionally, in a third implementation method of the first aspect of the present invention, the screening of multiple warehouses to be selected based on the number of commodity orders to determine the commodity demand warehouse and the commodity supply warehouse includes: obtaining inventory information of each of the multiple warehouses to be selected; calculating the commodity storage quantity based on the inventory information of each warehouse to be selected to obtain the commodity storage quantity of each warehouse to be selected; screening the multiple warehouses to be selected according to the number of commodity orders and the commodity storage quantity of each warehouse to be selected to obtain the commodity demand warehouse and the commodity supply warehouse.
[0009] Optionally, in a fourth implementation method of the first aspect of the present invention, the order information is input into a preset commodity allocation model based on the commodity demand warehouse information and the commodity supply warehouse information to perform allocation relationship analysis, and determining the commodity allocation information includes: scanning the commodity supply warehouse information to determine the existing inventory of the commodity; inputting the order information into the commodity allocation model to calculate the allocation quantity to obtain a preset target inventory, and determining the commodity allocation quantity through the preset target inventory and the existing inventory of the commodity; performing distribution path analysis through the commodity demand warehouse information and the commodity supply warehouse information to determine the target distribution path information; merging the commodity allocation quantity and the target distribution path information to obtain the commodity distribution information.
[0010] Optionally, in a fifth implementation of the first aspect of the present invention, the distribution path analysis is performed through the commodity demand warehouse information and the commodity supply warehouse information to determine the target distribution path, including: determining the initial position information and the target position information based on the commodity demand warehouse information and the commodity supply warehouse information; vectorizing the initial position information and the target position information to obtain multiple position vectors; performing search area analysis based on the multiple position vectors to obtain a target search area; and performing path analysis based on the target search area using a preset path analysis algorithm to obtain a target distribution path.
[0011] Optionally, in a sixth implementation method of the first aspect of the present invention, the vectorizing the initial position information and the target position information to obtain multiple position vectors includes: performing word segmentation processing on the initial position information and the target position information to obtain multiple position word segmentation information; and performing vector calculation on the position word segmentation information through a preset vector function to obtain multiple position vectors.
[0012] The second aspect of the present invention provides a settlement device for commodity transportation costs, comprising: an acquisition module for acquiring order information of a target user, wherein the order information includes commodity type, commodity order quantity and delivery address information; a determination module for determining commodity demand warehouse information and commodity supply warehouse information based on the order information of the target user; an input module for inputting the order information into a preset commodity allocation model based on the commodity demand warehouse information and the commodity supply warehouse information to perform allocation relationship analysis and determine commodity allocation information; a matching module for inputting the commodity allocation information into a preset transportation resource matching model to perform resource matching analysis and determine transportation resource information; a generation module for generating a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan; an analysis module for performing transportation cost analysis based on the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information.
[0013] Optionally, in a first implementation of the second aspect of the present invention, the determining module specifically includes:
[0014] a determining unit, configured to determine the product type, the product order quantity, and the delivery address information according to the order information of the target user;
[0015] A matching unit, configured to match warehouses according to the product type and delivery address information to obtain multiple warehouses to be selected;
[0016] The screening unit is used to screen multiple warehouses to be selected based on the quantity of the commodity orders, and determine the commodity demand warehouse and the commodity supply warehouse.
[0017] Optionally, in a second implementation of the second aspect of the present invention, the matching unit is specifically used to: obtain pre-stored warehouse location division information; determine multiple initial warehouses through the delivery address information and the warehouse location division information; perform warehouse matching on the multiple initial warehouses based on the product types to determine multiple warehouses to be selected.
[0018] Optionally, in a third implementation method of the second aspect of the present invention, the screening unit is specifically used to: obtain inventory information of each of the multiple warehouses to be selected; calculate the commodity storage quantity based on the inventory information of each warehouse to be selected to obtain the commodity storage quantity of each warehouse to be selected; screen the multiple warehouses to be selected according to the quantity of commodity orders and the commodity storage quantity of each warehouse to be selected to obtain the commodity demand warehouse and the commodity supply warehouse.
[0019] Optionally, in a fourth implementation of the second aspect of the present invention, the input module specifically includes:
[0020] A scanning unit, configured to scan the commodity supply warehouse information to determine the existing inventory of the commodity;
[0021] a calculation unit, configured to input the order information into the commodity allocation model to calculate the allocation quantity, obtain a preset target inventory quantity, and determine the commodity allocation quantity based on the preset target inventory quantity and the existing inventory quantity of the commodity;
[0022] an analysis unit, configured to perform a distribution path analysis based on the commodity demand warehouse information and the commodity supply warehouse information to determine target distribution path information;
[0023] The merging unit is configured to merge the commodity allocation quantity and the target delivery path information to obtain the commodity allocation information.
[0024] Optionally, in a fifth implementation of the second aspect of the present invention, the analyzing unit specifically includes:
[0025] a determination subunit, configured to determine initial location information and target location information based on the commodity demand warehouse information and the commodity supply warehouse information;
[0026] a processing subunit, configured to perform vectorization processing on the initial position information and the target position information to obtain a plurality of position vectors;
[0027] A search subunit, configured to perform a search area analysis based on the multiple position vectors to obtain a target search area;
[0028] The analysis subunit is used to perform path analysis based on the target search area through a preset path analysis algorithm to obtain a target delivery path.
[0029] Optionally, in the sixth implementation method of the second aspect of the present invention, the processing sub-unit is specifically used to: perform word segmentation processing on the initial position information and the target position information to obtain multiple position segmentation information; perform vector calculation on the position segmentation information through a preset vector function to obtain multiple position vectors.
[0030] The third aspect of the present invention provides a computer 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 computer device to execute the above-mentioned method for settling commodity transportation costs.
[0031] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, enable the computer to execute the above-mentioned method for settling commodity transportation fees.
[0032] In an embodiment of the present invention, the server first determines the commodity supply warehouse and the commodity demand warehouse, as well as the allocable upper limit of the commodity supply warehouse, and then calculates the various allocable situations with an allocation amount of 0 to the allocable upper limit respectively to obtain the predicted sales of multiple commodity demand warehouses, and inputs the order information and the predicted sales of the multiple commodity demand warehouses into the commodity allocation model for allocation path analysis and allocation amount analysis to determine the commodity allocation information. The server inputs the order information into the preset commodity allocation model for allocation relationship analysis to determine the commodity allocation information, which can accurately predict the allocation amount between the commodity supply warehouse and the commodity demand warehouse, thereby achieving a better effect of clearing inventory and improving the efficiency of commodity allocation. The server obtains the business data that needs to be billed in the commodity allocation plan, and matches the corresponding rules in the billing rules based on the business data. In combination with the business data and the corresponding rules, the server performs transportation cost analysis according to the commodity allocation plan and the preset settlement rules, which has stronger pertinence and accuracy in commodity cost analysis and improves the efficiency of commodity cost settlement. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 Schematic diagram of an embodiment of a method for settling commodity transportation fees in an embodiment of the present invention;
[0034] Figure 2 This is a schematic diagram of another embodiment of a method for settling commodity transportation fees in an embodiment of the present invention;
[0035] Figure 3 A schematic diagram of an embodiment of a device for settling commodity transportation fees in an embodiment of the present invention;
[0036] Figure 4 This is a schematic diagram of another embodiment of a device for settling commodity transportation fees in an embodiment of the present invention;
[0037] Figure 5 FIG. 1 is a schematic diagram of an embodiment of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] Embodiments of the present invention provide a method, apparatus, device, and storage medium for settling commodity transportation fees, which are used to improve the efficiency of commodity fee settlement.
[0039] The terms "first," "second," "third," "fourth," and the like (if any) in the description and claims of the present invention and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable 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 apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0040] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 In one embodiment of the present invention, a method for settling commodity transportation fees includes the following steps 101-106:
[0041] 101. Obtain the target user's order information, wherein the order information includes the product type, product order quantity, and delivery address information;
[0042] It is understandable that the execution subject of the present invention can be a settlement device for commodity transportation fees 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.
[0043] It should be noted that the target user's order information refers to the user order generated by the target user when shopping online. The user order includes the user's delivery address and the product data of the goods purchased by the user, including the name, brand and some product parameters such as weight, volume, quantity, etc. The order information can be used to determine information such as the type of goods and the order quantity of the goods.
[0044] 102. Determine the commodity demand warehouse information and commodity supply warehouse information based on the target user's order information;
[0045] In an embodiment of the present invention, the corresponding warehouse data can be determined through the order information of the target user. It should be noted that the warehouse data includes information such as the warehouse name and warehouse address. Specifically, the server determines the corresponding delivery address information based on the order information of the target user, and determines the matching commodity demand warehouse information from the warehouse data based on the delivery address information. At the same time, the server determines the merchant's shipping address information based on the order information, and determines the corresponding commodity supply warehouse information from the warehouse data based on the shipping address information.
[0046] 103. Based on the commodity demand warehouse information and the commodity supply warehouse information, the order information is input into the preset commodity allocation model to perform allocation relationship analysis and determine the commodity allocation information;
[0047] In an embodiment of the present invention, the server first determines the commodity supply warehouse and the commodity demand warehouse, as well as the allocable upper limit of the commodity supply warehouse, and then calculates the various allocable situations with an allocation amount of 0 to the allocable upper limit respectively, and obtains the predicted sales of multiple commodity demand warehouses, and inputs the order information and the predicted sales of the multiple commodity demand warehouses into the commodity allocation model for allocation path analysis and allocation amount analysis to determine the commodity allocation information. It should be noted that the commodity allocation information includes allocation vehicle information and commodity allocation quantity. Specifically, the server inputs the order information into a preset commodity allocation model for allocation relationship analysis to determine the commodity allocation information, which can accurately predict the allocation amount between the commodity supply warehouse and the commodity demand warehouse, thereby achieving a better inventory clearing effect, and can further improve the settlement efficiency of subsequent commodity transportation costs.
[0048] 104. Input the commodity allocation information into the preset transportation resource matching model to perform resource matching analysis and determine the transportation resource information;
[0049] Specifically, the server inputs the transportation resource matching model according to the commodity allocation information to perform resource allocation analysis. Specifically, the server determines the storage volume according to the total volume of the commodities, and determines the storage resources that match the storage volume according to the commodity allocation information. If there are multiple commodities in the commodity allocation information and the delivery routes of each commodity overlap, the server allocates logistics resources that match the total volume to the multiple commodities through the transportation resource matching model.
[0050] 105. Generate a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan;
[0051] It should be noted that the commodity allocation plan mainly includes the vehicle transportation status information of the allocated vehicle and the idle space information of the vehicle. The commodity allocation information mainly refers to the commodity transportation route and the logistics network information in the commodity transportation route. The server generates a plan based on the transportation resource information and commodity allocation information to obtain the commodity allocation plan.
[0052] 106. Analyze the transportation costs according to the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information.
[0053] It should be noted that the preset settlement rules are based on the shipment quantity and shipment volume in the commodity allocation plan, design different weight-to-bulk ratios, convert the volume into billing weight, or automatically match different product types and billing discounts according to the weight of the goods, and calculate reasonable freight. Specifically, the server obtains the business data that needs to be billed in the commodity allocation plan, and matches the corresponding rules in the billing rules based on the business data. In combination with the business data and the corresponding rules, the transportation cost analysis is performed according to the commodity allocation plan and the preset settlement rules to obtain the commodity transportation cost information.
[0054] In an embodiment of the present invention, the server first determines the commodity supply warehouse and the commodity demand warehouse, as well as the allocable upper limit of the commodity supply warehouse, and then calculates the various allocable situations with an allocation amount of 0 to the allocable upper limit respectively to obtain the predicted sales of multiple commodity demand warehouses, and inputs the order information and the predicted sales of the multiple commodity demand warehouses into the commodity allocation model for allocation path analysis and allocation amount analysis to determine the commodity allocation information. The server inputs the order information into the preset commodity allocation model for allocation relationship analysis to determine the commodity allocation information, and can accurately predict the allocation amount between the commodity supply warehouse and the commodity demand warehouse, thereby achieving a better effect of clearing inventory and improving the efficiency of commodity allocation. The server obtains the business data that needs to be billed in the commodity allocation plan, and matches the corresponding rules in the billing rules based on the business data. In combination with the business data and the corresponding rules, the server performs transportation cost analysis according to the commodity allocation plan and the preset settlement rules, which has stronger pertinence and accuracy in commodity cost analysis and improves the efficiency of commodity cost settlement.
[0055] See also Figure 2 Another embodiment of the method for settling commodity transportation fees in the embodiment of the present invention includes the following steps 201-208:
[0056] 201. Obtain order information of the target user, wherein the order information includes product type, product order quantity, and delivery address information;
[0057] Specifically, in this embodiment, the specific implementation of step 201 is similar to that of the above step 101 and will not be repeated here.
[0058] 202. Determine the product type, product order quantity, and delivery address information based on the target user's order information;
[0059] Specifically, the server scans the order information of the target user. It should be noted that the order information includes the user's delivery address. The delivery address can be the address filled in by the user, or it can be the address information obtained by locating the user terminal. The order information also includes the product data of the user's ordered goods, including the name, brand and some product parameters of the product, such as weight, volume, quantity, etc. The number of goods in the above product data is the number of goods in the order data. Specifically, the server determines the product type, product order quantity and delivery address information based on the target user's order information.
[0060] 203. Match warehouses based on product type and delivery address information to obtain multiple warehouses to be selected;
[0061] Specifically, the server obtains pre-stored warehouse location division information; the server determines multiple initial warehouses based on the delivery address information and the warehouse location division information; the server performs warehouse matching on the multiple initial warehouses based on the types of goods and determines multiple warehouses to be selected.
[0062] It should be noted that the warehouse location division information includes at least the location information of several warehouses in a geographic area, wherein a specific geographic area is pre-divided into several sub-areas, for example, the geographic area of each province is divided into sub-areas corresponding to the corresponding prefecture-level cities and provincial capital cities. The warehouse location division information also includes the historical inventory information of several warehouses in the geographic area. Specifically, the server obtains pre-stored warehouse location division information; the server determines multiple initial warehouses based on the delivery address information and the warehouse location division information, and then the server scans the multiple initial warehouses to determine the corresponding product category identifiers. The server then matches warehouses based on the product category to determine multiple warehouses to be selected.
[0063] 204. Screen multiple candidate warehouses based on the quantity of product orders and determine the product demand warehouse and product supply warehouse;
[0064] Specifically, the server obtains the inventory information of each of the multiple warehouses to be selected; the server calculates the commodity storage capacity based on the inventory information of each warehouse to be selected, and obtains the commodity storage capacity of each warehouse to be selected; the server screens the multiple warehouses to be selected based on the number of commodity orders and the commodity storage capacity of each warehouse to be selected, and obtains the commodity demand warehouse and the commodity supply warehouse.
[0065] Among them, the server obtains the inventory information of each of the multiple warehouses to be selected, and the server calculates the commodity storage capacity through the inventory information of each warehouse to be selected to obtain the commodity storage capacity of each warehouse to be selected. Then, the server determines the quantity of goods to be replenished in the commodity demand warehouse in the supply chain network according to the quantity of commodity orders and the commodity storage capacity of each warehouse to be selected. It should be noted that the server pre-builds the supply chain network, which includes commodity supply warehouses and commodity demand warehouses. Specifically, the server screens the multiple warehouses to be selected according to the quantity of commodity orders and the commodity storage capacity of each warehouse to be selected to obtain commodity supply warehouses and commodity supply warehouses.
[0066] 205. Based on the commodity demand warehouse information and the commodity supply warehouse information, the order information is input into a preset commodity allocation model to perform allocation relationship analysis and determine the commodity allocation information;
[0067] Specifically, the server scans the commodity supply warehouse information to determine the existing inventory of the commodity; the server inputs the order information into the commodity allocation model to calculate the allocation quantity, obtains the preset target inventory, and determines the commodity allocation quantity based on the preset target inventory and the existing inventory of the commodity; the server performs distribution path analysis based on the commodity demand warehouse information and the commodity supply warehouse information to determine the target distribution path; the server merges the commodity allocation quantity and the target distribution path information to obtain commodity allocation information.
[0068] Among them, the server scans the commodity supply warehouse information to determine the existing inventory of the commodity. The server inputs the order information into the commodity allocation model to calculate the allocation quantity. The preset target inventory minus the existing inventory of the commodity is the commodity allocation quantity. It should be noted that a stocking speed coefficient must be set to make real-time adjustments to the commodity supply warehouse. The warehouse manager adjusts the stocking speed by himself to cope with the actual situation of each warehouse. Then the server analyzes the distribution path through the commodity demand warehouse information and the commodity supply warehouse information to determine the target distribution path; the server matches the distribution vehicle based on the target distribution path to obtain the allocation vehicle information; the server merges the commodity allocation quantity and the allocation vehicle information to obtain the commodity allocation information.
[0069] Optionally, performing distribution path analysis through commodity demand warehouse information and commodity supply warehouse information to determine the target distribution path may include: the server determines initial position information and target position information based on the commodity demand warehouse information and commodity supply warehouse information; the server vectorizes the initial position information and target position information to obtain multiple position vectors; the server performs search area analysis based on the multiple position vectors to obtain a target search area; the server performs path analysis based on the target search area using a preset path analysis algorithm to obtain the target distribution path.
[0070] Among them, the server determines the initial position information and the target position information based on the commodity demand warehouse information and the commodity supply warehouse information, and then the server vectorizes the initial position information to generate an initial position vector. The server vectorizes the target position information to generate a target position vector. There are multiple other position vectors between the initial position vector and the target position vector. The server performs a search area analysis based on the preset search length data to obtain the target search area, and calls the preset path analysis algorithm to generate the target driving path based on the search length data. It should be noted that the preset path analysis algorithm is a breadth-first search algorithm or a parthenogenetic algorithm. The server can generate a path tree based on both algorithms. The two path trees respectively include multiple paths. The breadth-first search algorithm mainly uses the path length as the standard to determine the target driving path among multiple paths, while the parthenogenetic algorithm needs to be combined with other evaluation criteria to determine the target driving path among multiple paths.
[0071] Optionally, vectorizing the initial position information and the target position information to obtain multiple position vectors may include: the server performing word segmentation processing on the initial position information and the target position information to obtain multiple position word segmentation information; the server performing vector calculation on the position word segmentation information through a preset vector function to obtain multiple position vectors.
[0072] It should be noted that the server mainly uses a trained model for vectorization, and inputs the initial position information and target position information as well as other position information between the initial position information and the target position information into the trained model for vectorization, generating an initial position vector and a target position vector. Specifically, the server performs word segmentation processing on the initial position information and the target position information to obtain multiple position word segmentation information; the server performs vector calculation on the position word segmentation information through a preset vector function to obtain multiple position vectors.
[0073] 206. Input the commodity allocation information into the preset transportation resource matching model to perform resource matching analysis and determine the transportation resource information;
[0074] It should be noted that transportation resources include logistics resources, logistics resources may include storage resources, and transportation resources. Logistics resources are matched with the total volume, which can be understood as the space that the logistics resources can provide is greater than or equal to the total volume. If the space that the logistics resources can provide is less than the total volume, it means that it does not match the total volume. Logistics resources are matched with the total volume, and can also include the management personnel that the logistics resources can provide, and the space that can be managed is greater than or equal to the total volume. Specifically, the server inputs the commodity distribution information into the preset transportation resource matching model for resource matching analysis to determine the transportation resource information.
[0075] 207. Generate a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan;
[0076] Specifically, in this embodiment, the specific implementation of step 207 is similar to that of the above step 105 and will not be repeated here.
[0077] 208. Carry out transportation cost analysis based on the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information.
[0078] Specifically, the corresponding rules are matched in the billing rules based on information such as the business scenarios corresponding to the business data in the product allocation plan. It should be noted that in the embodiment of the present invention, a rule engine is used to match business data with billing rules. If a piece of business data matches multiple billing rules, a matching result can be given according to a pre-set priority, and other matching items can be notified to the user or saved in the matching results. The server then performs a transportation cost analysis based on the product allocation plan and pre-set settlement rules to obtain product transportation cost information.
[0079] In the embodiment of the present invention, the server analyzes the distribution path based on the commodity demand warehouse information and the commodity supply warehouse information to determine the target distribution path. The server can timely adjust the transportation vehicles and transportation routes for commodity distribution according to the commodity distribution information to improve the efficiency of commodity distribution. The server scans the commodity supply warehouse information to determine the existing inventory of the commodity. The server inputs the order information into the commodity distribution model to calculate the distribution quantity. The preset target inventory minus the existing inventory of the commodity is the commodity distribution quantity. The server adjusts the commodity supply warehouse in real time through the stocking speed coefficient to cope with the actual situation of the logistics warehouse. The commodity distribution can be adjusted in real time to avoid the situation of commodity backlog due to fixed processes, thereby further improving the efficiency of commodity distribution and commodity transportation fee settlement.
[0080] See also Figure 3 An embodiment of a device for settling commodity transportation fees in an embodiment of the present invention includes:
[0081] The acquisition module 301 is used to obtain the target user's order information, wherein the order information includes the product type, product order quantity and delivery address information;
[0082] Determination module 302, for determining commodity demand warehouse information and commodity supply warehouse information according to the order information of the target user;
[0083] An input module 303 is configured to input the order information into a preset commodity allocation model based on the commodity demand warehouse information and the commodity supply warehouse information to perform allocation relationship analysis and determine commodity allocation information;
[0084] Matching module 304, configured to input the commodity allocation information into a preset transportation resource matching model for resource matching analysis to determine transportation resource information;
[0085] A generating module 305 is configured to generate a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan;
[0086] The analysis module 306 is used to analyze the transportation costs according to the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information.
[0087] See also Figure 4 Another embodiment of the device for settling commodity transportation fees in the embodiment of the present invention includes:
[0088] The acquisition module 301 is used to obtain the target user's order information, wherein the order information includes the product type, product order quantity and delivery address information;
[0089] Determination module 302, for determining commodity demand warehouse information and commodity supply warehouse information according to the order information of the target user;
[0090] An input module 303 is configured to input the order information into a preset commodity allocation model based on the commodity demand warehouse information and the commodity supply warehouse information to perform allocation relationship analysis and determine commodity allocation information;
[0091] Matching module 304, configured to input the commodity allocation information into a preset transportation resource matching model for resource matching analysis to determine transportation resource information;
[0092] A generating module 305 is configured to generate a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan;
[0093] The analysis module 306 is used to analyze the transportation costs according to the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information.
[0094] Optionally, the determining module 302 specifically includes:
[0095] The determining unit 3021 is configured to determine the product type, the product order quantity, and the delivery address information according to the order information of the target user;
[0096] A matching unit 3022 is configured to perform warehouse matching based on the product type and delivery address information to obtain multiple warehouses to be selected;
[0097] The screening unit 3023 is configured to screen multiple warehouses to be selected based on the quantity of the commodity orders, and determine the commodity demand warehouse and the commodity supply warehouse.
[0098] Optionally, the matching unit 3022 is specifically used to: obtain pre-stored warehouse location division information; determine multiple initial warehouses through the delivery address information and the warehouse location division information; perform warehouse matching on the multiple initial warehouses based on the product types to determine multiple warehouses to be selected.
[0099] Optionally, the screening unit 3023 is specifically used to: obtain the inventory information of each of the multiple warehouses to be selected; calculate the commodity storage quantity based on the inventory information of each warehouse to be selected to obtain the commodity storage quantity of each warehouse to be selected; screen the multiple warehouses to be selected according to the quantity of commodity orders and the commodity storage quantity of each warehouse to be selected to obtain the commodity demand warehouse and the commodity supply warehouse.
[0100] Optionally, the input module 303 specifically includes:
[0101] Scanning unit 3031, used to scan the commodity supply warehouse information to determine the existing inventory of the commodity;
[0102] A calculation unit 3032 is configured to input the order information into the product allocation model to calculate the allocation quantity, obtain a preset target inventory quantity, and determine the product allocation quantity based on the preset target inventory quantity and the current inventory quantity of the product;
[0103] An analysis unit 3033 is configured to perform a distribution path analysis based on the commodity demand warehouse information and the commodity supply warehouse information to determine target distribution path information;
[0104] The merging unit 3034 is configured to merge the commodity allocation quantity and the target delivery path information to obtain the commodity allocation information.
[0105] Optionally, the analyzing unit 3033 specifically includes:
[0106] A determination subunit 30331 is configured to determine initial location information and target location information based on the commodity demand warehouse information and the commodity supply warehouse information;
[0107] The processing subunit 30332 is configured to perform vectorization processing on the initial position information and the target position information to obtain a plurality of position vectors;
[0108] A search subunit 30333 is configured to perform a search area analysis based on the multiple position vectors to obtain a target search area;
[0109] The analysis subunit 30334 is configured to perform path analysis based on the target search area using a preset path analysis algorithm to obtain a target delivery path.
[0110] Optionally, the processing subunit 30332 is specifically used to: perform word segmentation processing on the initial position information and the target position information to obtain multiple position word segmentation information; perform vector calculation on the position word segmentation information through a preset vector function to obtain multiple position vectors.
[0111] Figure 5 : is a structural diagram of a computer device provided by an embodiment of the present invention. The computer device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the computer device 500. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the computer device 500.
[0112] The computer device 500 may further include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 5 The illustrated computer device structure does not limit the computer device and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0113] The present invention also provides a computer 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 method for settling the commodity transportation fees in the above-mentioned embodiments.
[0114] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, and when the instructions are run on a computer, the computer executes the steps of the method for settling the commodity transportation costs.
[0115] 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, 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 and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or 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: various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
Claims
1. A method for settling commodity transportation costs, characterized in that: The method comprises: Obtaining the target user's order information, wherein the order information includes the product type, product order quantity, and delivery address information; Determine commodity demand warehouse information and commodity supply warehouse information based on the target user's order information; Based on the commodity demand warehouse information and the commodity supply warehouse information, the order information is input into a preset commodity allocation model to perform allocation relationship analysis, and the commodity supply warehouse is adjusted in real time according to the stocking speed coefficient to respond to the actual situation of the logistics warehouse and determine the commodity allocation information; Inputting the commodity allocation information into a preset transportation resource matching model to perform resource matching analysis and determine transportation resource information; Generate a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan; Performing transportation cost analysis based on the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information; The step of inputting the commodity allocation information into a preset transportation resource matching model to perform resource matching analysis and determine transportation resource information includes: The storage volume is determined based on the total volume of the goods, and the storage resources that match the storage volume are determined based on the goods allocation information. If there are multiple goods in the goods allocation information and the delivery routes of each product overlap, the transportation resource matching model is used to allocate logistics resources that match the total volume for the multiple goods.
2. The method for settling commodity transportation costs according to claim 1, characterized in that: The determining of commodity demand warehouse information and commodity supply warehouse information according to the target user's order information includes: Determine the product type, product order quantity, and delivery address information based on the target user's order information; Match warehouses based on the product type and delivery address information to obtain multiple warehouses to be selected; Based on the quantity of the commodity orders, multiple warehouses to be selected are screened to determine the commodity demand warehouse and the commodity supply warehouse.
3. The method for settling commodity transportation costs according to claim 2, characterized in that: The warehouse matching is performed based on the product type and delivery address information to obtain multiple warehouses to be selected, including: Obtain pre-stored warehouse location division information; Determine multiple initial warehouses based on the delivery address information and the warehouse location division information; Warehouse matching is performed on the multiple initial warehouses based on the commodity categories to determine multiple warehouses to be selected.
4. The method for settling commodity transportation costs according to claim 2, characterized in that: The screening of multiple warehouses to be selected based on the quantity of the commodity orders to determine the commodity demand warehouse and the commodity supply warehouse includes: Obtaining inventory information of each of the plurality of warehouses to be selected; Calculating the commodity storage volume of each warehouse to be selected based on the inventory information of each warehouse to be selected, thereby obtaining the commodity storage volume of each warehouse to be selected; The multiple warehouses to be selected are screened according to the quantity of the commodity orders and the commodity storage capacity of each of the warehouses to be selected to obtain the commodity demand warehouse and the commodity supply warehouse.
5. The method for settling commodity transportation costs according to claim 1, characterized in that: The step of inputting the order information into a preset commodity allocation model to perform allocation relationship analysis based on the commodity demand warehouse information and the commodity supply warehouse information to determine the commodity allocation information includes: Scan the commodity supply warehouse information to determine the current inventory of the commodity; Inputting the order information into the product allocation model to calculate the allocation quantity to obtain a preset target inventory quantity, and determining the product allocation quantity based on the preset target inventory quantity and the current inventory quantity of the product; Performing distribution path analysis based on the commodity demand warehouse information and the commodity supply warehouse information to determine target distribution path information; The commodity allocation quantity and the target delivery path information are combined to obtain the commodity allocation information.
6. The method for settling commodity transportation costs according to claim 5, characterized in that: The performing of distribution path analysis based on the commodity demand warehouse information and the commodity supply warehouse information to determine the target distribution path includes: Determining initial location information and target location information based on the commodity demand warehouse information and the commodity supply warehouse information; performing vectorization processing on the initial position information and the target position information to obtain a plurality of position vectors; Performing a search area analysis based on the multiple position vectors to obtain a target search area; A path analysis is performed based on the target search area using a preset path analysis algorithm to obtain a target delivery path.
7. The method for settling commodity transportation costs according to any one of claims 1 to 6, characterized in that: The vectorization processing of the initial position information and the target position information to obtain a plurality of position vectors includes: Performing word segmentation processing on the initial position information and the target position information to obtain a plurality of position word segmentation information; Vector calculation is performed on the position segmentation information using a preset vector function to obtain multiple position vectors.
8. A device for settling commodity transportation costs, characterized in that: The settlement device for the commodity transportation fee includes: An acquisition module is used to obtain the target user's order information, wherein the order information includes the type of goods, the quantity of the goods ordered, and the delivery address information; A determination module, configured to determine commodity demand warehouse information and commodity supply warehouse information based on the target user's order information; An input module is configured to input the order information into a preset commodity allocation model based on the commodity demand warehouse information and the commodity supply warehouse information to perform allocation relationship analysis, and to adjust the commodity supply warehouse in real time based on the stocking speed coefficient to respond to the actual situation of the logistics warehouse and determine the commodity allocation information; A matching module, configured to input the commodity allocation information into a preset transportation resource matching model for resource matching analysis to determine transportation resource information; A generating module, configured to generate a plan based on the transportation resource information and the commodity allocation information to obtain a commodity allocation plan; An analysis module, configured to analyze the transportation costs according to the commodity allocation plan and preset settlement rules to obtain commodity transportation cost information; The matching module is specifically used to determine the storage volume based on the total volume of the goods, and determine the storage resources that match the storage volume based on the goods allocation information. If there are multiple goods in the goods allocation information and the delivery routes of each product overlap, the transportation resource matching model is used to allocate logistics resources that match the total volume to the multiple goods.
9. A computer device, characterized in that: The computer device includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the computer device to execute the method for settling commodity transportation fees according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the method for settling commodity transportation fees as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method, device and system for processing goods transaction information
CN107527146A
Method and device for calculating freight of object in bulk commodity online transaction
CN109858861A
Vehicle driving path planning method and device, equipment and storage medium
CN113435650A