Methods for allocating materials, computer equipment, and computer-readable storage media
By determining transportation routes with remaining loading space between logistics sites, material scheduling relationships are generated, and existing transportation routes are used for material allocation, which solves the problem of supply and demand imbalance of containers and reduces allocation costs.
Patent Information
- Application Number
- CN202210658150.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-06-10
AI Technical Summary
In logistics operations, the difference in express delivery volume in different regions and directions leads to an imbalance between supply and demand of containers at various logistics sites, and the existing manual allocation method results in excessively high container allocation costs.
By acquiring the existing pre-set transportation routes of each logistics site, the target transportation routes with remaining loading space are determined, and the scheduling relationship between the amount of materials to be allocated and the material shortage of the logistics site is generated. The remaining available space of the existing transportation routes is used for material allocation to reduce allocation costs.
By effectively utilizing the remaining space on existing transportation routes for material allocation, ineffective allocations are reduced, and material allocation costs are lowered.
Smart Images

Figure CN117273288B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of materials transportation technology, specifically to a method for allocating materials, computer equipment, and computer-readable storage medium. Background Technology
[0002] Cages, woven bags, and other containerized materials are used for packaging express deliveries. During logistics operations, these containers circulate along with the express deliveries. Due to differences in express delivery volume across regions and destinations, there is an imbalance between the supply and demand of containers at various logistics sites.
[0003] To meet the container usage needs of various logistics sites, manual allocation is often required, with additional vehicles dispatched separately for container transportation. This leads to excessively high container allocation costs. Summary of the Invention
[0004] This application provides a method for allocating materials, a computer device, and a computer-readable storage medium, aiming to reduce the cost of allocating materials.
[0005] On the one hand, this application provides a method for allocating materials, including:
[0006] Obtain the existing pre-set transportation routes that pass through various logistics sites;
[0007] Among the multiple pre-defined existing transportation routes, a target transportation route with remaining loading space is identified;
[0008] Generate a material scheduling relationship between the material allocation amount for each of the target transportation routes and the maximum material shortage amount for each of the logistics sites, wherein the maximum material shortage amount for each logistics site is the maximum value among multiple material shortage amounts corresponding to the logistics site, and each material shortage amount corresponding to the logistics site is the difference between the preset safety stock value and the actual stock value of the logistics site when the material allocation task for each of the target transportation routes is completed.
[0009] When the material scheduling relationship meets the preset conditions, the amount of materials to be allocated for each of the target transportation routes is determined, wherein the preset conditions include that the amount of materials to be allocated for each of the target transportation routes is less than or equal to the predicted remaining load capacity of the target transportation route.
[0010] Based on the material allocation amount of each target transportation route under the premise that the material scheduling relationship meets the preset conditions, material allocation tasks are assigned to each target transportation route to allocate materials to each logistics site through which each target transportation route passes.
[0011] In some embodiments, before the step of determining the amount of materials to be allocated for each of the target transportation routes when the material scheduling relationship meets preset conditions, the method further includes:
[0012] Obtain the historical remaining load capacity of the target transportation route;
[0013] The basic remaining load capacity of the target transport route is determined based on the average of the historical remaining load capacity.
[0014] Based on the basic remaining load capacity, the predicted remaining load capacity of the target transport route is determined.
[0015] In some embodiments, the step of determining the predicted remaining load capacity of the target transport route based on the basic remaining load capacity includes:
[0016] Obtain the historical actual allocation volume of the target transportation route;
[0017] The ratio of the historical actual allocation volume of the target transportation route to the historical remaining loadable volume of the target transportation route is used as the historical allocation task execution rate of the target transportation route.
[0018] Based on the historical allocation task execution rate and the basic remaining load capacity, the predicted remaining load capacity of the target transportation route is determined.
[0019] In some embodiments, the step of determining the predicted remaining loading capacity of the target transportation route based on the historical allocation task execution rate and the basic remaining loading capacity includes:
[0020] Obtain the difference between the historical allocation task execution rate and the historical remaining space coefficient of the target transportation route;
[0021] If the difference between the historical allocation task execution rate and the historical remaining space coefficient is less than a preset difference, then the historical allocation task execution rate is used as the current remaining space coefficient of the target transportation route; if the difference between the historical allocation task execution rate and the historical remaining space coefficient is greater than or equal to the preset difference, then the current remaining space coefficient of the target transportation route is determined based on the historical remaining space coefficient.
[0022] The predicted remaining load capacity of the target transportation route is determined based on the current remaining space coefficient of the target transportation route and the basic remaining load capacity.
[0023] In some embodiments, the step of generating the material scheduling relationship between the material allocation quantity for each of the target transportation routes and the maximum material shortage quantity for each of the logistics sites includes:
[0024] Determine the route priority for each of the target transportation routes;
[0025] Based on the route priority, determine the allocation weight corresponding to the target transportation route;
[0026] The process generates a material scheduling relationship between the required material allocation for each target transportation route, the allocation weight corresponding to each target transportation route, and the maximum material shortage for each logistics site. In some embodiments, the step of generating the material scheduling relationship between the required material allocation for each target transportation route and the maximum material shortage for each logistics site includes:
[0027] Determine the site priority for each of the aforementioned logistics sites;
[0028] Based on the site priority, determine the allocation weight corresponding to the logistics site.
[0029] Generate the material scheduling relationship between the material allocation amount for each of the target transportation routes, the maximum material shortage amount for each of the logistics sites, the material allocation amount for each of the logistics sites, and the allocation amount weight corresponding to each of the logistics sites, wherein the material allocation amount for each logistics site is the sum of the material allocation amounts for each of the target transportation routes passing through the logistics site.
[0030] In some embodiments, before the step of generating the material scheduling relationship between the material allocation quantity of each of the target transportation routes and the maximum material shortage quantity of each of the logistics sites, the method further includes:
[0031] Obtain the historical usage, historical outflow, and historical inflow of materials at the logistics site;
[0032] Based on the historical usage of the materials, the predicted usage of the materials at the logistics site in the current allocation cycle is determined, and based on the historical outflow and inflow of the materials, the predicted amount of the outflow and inflow difference at the logistics site in the current allocation cycle is determined.
[0033] Based on the predicted usage of the materials and the predicted difference between the outflow and inflow, the preset safety stock value corresponding to the logistics site is determined.
[0034] In some embodiments, the material allocation task includes material outflow tasks and / or material inflow tasks for each of the logistics sites, and the preset conditions further include at least one of the following:
[0035] When all material transfer tasks at each of the logistics sites are completed, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value corresponding to the logistics site.
[0036] If the final transfer-in task of each logistics site is completed within the current allocation cycle, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value corresponding to the logistics site.
[0037] On the other hand, embodiments of this application provide a material allocation device, the material allocation device comprising:
[0038] The acquisition module is used to acquire the preset existing transportation routes that pass through various logistics sites, and to determine the target transportation route with remaining loading space among the multiple preset existing transportation routes.
[0039] The generation module is used to generate the material scheduling relationship between the material allocation amount of each of the target transportation routes and the maximum material shortage amount of each of the logistics sites, wherein the maximum material shortage amount of the logistics site is the maximum value among multiple material shortage amounts corresponding to the logistics site, and each material shortage amount corresponding to the logistics site is the difference between the preset safety stock value and the actual stock value of the logistics site when the material allocation task of each of the target transportation routes is completed.
[0040] The determination module is used to determine the amount of materials to be allocated for each of the target transportation routes when the material scheduling relationship meets the preset conditions, wherein the preset conditions include that the amount of materials to be allocated for each of the target transportation routes is less than or equal to the predicted remaining load capacity of the target transportation route.
[0041] The allocation module is used to allocate material allocation tasks for each of the target transportation routes based on the material allocation amount of each target transportation route when the material scheduling relationship meets preset conditions, so as to allocate materials to each of the logistics sites through which each of the target transportation routes passes.
[0042] In some embodiments, the determining module is further configured to:
[0043] Obtain the historical remaining load capacity of the target transportation route;
[0044] The basic remaining load capacity of the target transport route is determined based on the average of the historical remaining load capacity.
[0045] Based on the basic remaining load capacity, the predicted remaining load capacity of the target transport route is determined.
[0046] In some embodiments, the determining module is further configured to:
[0047] Obtain the historical actual allocation volume of the target transportation route;
[0048] The ratio of the historical actual allocation volume of the target transportation route to the historical remaining loadable volume of the target transportation route is used as the historical allocation task execution rate of the target transportation route.
[0049] Based on the historical allocation task execution rate and the basic remaining load capacity, the predicted remaining load capacity of the target transportation route is determined.
[0050] In some embodiments, the determining module is further configured to:
[0051] Obtain the difference between the historical allocation task execution rate and the historical remaining space coefficient of the target transportation route;
[0052] If the difference between the historical allocation task execution rate and the historical remaining space coefficient is less than a preset difference, then the historical allocation task execution rate is used as the current remaining space coefficient of the target transportation route; if the difference between the historical allocation task execution rate and the historical remaining space coefficient is greater than or equal to the preset difference, then the current remaining space coefficient of the target transportation route is determined based on the historical remaining space coefficient.
[0053] The predicted remaining load capacity of the target transportation route is determined based on the current remaining space coefficient of the target transportation route and the basic remaining load capacity.
[0054] In some embodiments, the generation module is specifically used for:
[0055] Determine the route priority for each of the target transportation routes;
[0056] Based on the route priority, determine the allocation weight corresponding to the target transportation route;
[0057] Generate the material scheduling relationship between the material allocation amount for each of the target transportation routes, the allocation amount weight corresponding to each of the target transportation routes, and the maximum material shortage amount for each of the logistics sites.
[0058] In some embodiments, the generation module is specifically used for:
[0059] Determine the site priority for each of the aforementioned logistics sites;
[0060] Based on the site priority, determine the allocation weight corresponding to the logistics site.
[0061] Generate the material scheduling relationship between the material allocation amount for each of the target transportation routes, the maximum material shortage amount for each of the logistics sites, the material allocation amount for each of the logistics sites, and the allocation amount weight corresponding to each of the logistics sites, wherein the material allocation amount for each logistics site is the sum of the material allocation amounts for each of the target transportation routes passing through the logistics site.
[0062] In some embodiments, the acquisition module is further configured to:
[0063] Obtain the historical usage, historical outflow, and historical inflow of materials at the logistics site;
[0064] Based on the historical usage of the materials, the predicted usage of the materials at the logistics site in the current allocation cycle is determined, and based on the historical outflow and inflow of the materials, the predicted amount of the outflow and inflow difference at the logistics site in the current allocation cycle is determined.
[0065] Based on the predicted usage of the materials and the predicted difference between the outflow and inflow, the preset safety stock value corresponding to the logistics site is determined.
[0066] In some embodiments, the determining module is further configured to:
[0067] The preset conditions are set, and the material allocation task includes material transfer-out tasks and / or material transfer-in tasks for each of the logistics sites. The preset conditions also include at least one of the following:
[0068] When all material transfer tasks at each of the logistics sites are completed, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value corresponding to the logistics site.
[0069] If the final transfer-in task of each logistics site is completed within the current allocation cycle, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value corresponding to the logistics site.
[0070] On the other hand, this application also provides a computer device, the computer device comprising:
[0071] One or more processors;
[0072] Memory; and
[0073] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in any of the material allocation methods.
[0074] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in any of the material allocation methods described herein.
[0075] The material allocation method, computer equipment, and computer-readable storage medium provided in this application include: generating a material scheduling relationship between the material allocation amount for each target transportation route and the maximum material shortage amount for each logistics site; determining the material allocation amount for each target transportation route when the material scheduling relationship meets preset conditions, the preset conditions including that the material allocation amount for each target transportation route is less than or equal to the predicted remaining loadable capacity of the target transportation route; and allocating material allocation tasks according to the material allocation amount. Since materials such as containers are transported manually by additional vehicles, the allocation cost is too high. Therefore, this application identifies existing transportation routes with remaining loadable space, generates a material scheduling relationship between the material allocation amount for existing transportation routes and the material shortage amount of the sites, and uses the remaining available space in the existing transportation routes as a constraint condition for the material scheduling relationship to determine how to allocate material allocation to existing transportation routes, so as to transport materials through the remaining available space of existing transportation routes, thereby reducing the material allocation cost. Attached Figure Description
[0076] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0077] Figure 1 This is a schematic flowchart of an embodiment of the material allocation method provided in this application.
[0078] Figure 2 This is a schematic flowchart of another embodiment of the material allocation method provided in this application.
[0079] Figure 3 This is a schematic flowchart of another embodiment of the material allocation method provided in this application;
[0080] Figure 4 This is a flowchart illustrating another embodiment of the material allocation method provided in this application.
[0081] Figure 5 This is a schematic diagram of an embodiment of the material allocation device provided in this application.
[0082] Figure 6This is a schematic diagram of the terminal structure of an embodiment of the computer device provided in this application. Detailed Implementation
[0083] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0084] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0085] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0086] It should be noted that since the method in this application embodiment is executed in a computer device, the processing objects of each computer device exist in the form of data or information, such as time, which is essentially time information. It is understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data that exist so that the computer device can process them. Specific details will not be elaborated here.
[0087] This application provides a method for allocating materials, a computer device, and a computer-readable storage medium, which will be described in detail below.
[0088] Reference Figure 1 In one embodiment, the method for allocating materials includes:
[0089] 101. Obtain the preset existing transportation routes passing through each logistics site;
[0090] In this embodiment, the pre-defined existing transportation routes passing through the logistics sites include pre-defined existing transportation routes originating from the logistics site and pre-defined existing transportation routes destined for the logistics site. Existing transport vehicles on these pre-defined existing transportation routes are used to transport express packages between the various logistics sites. For example, a pre-defined existing transportation route from logistics site A to logistics site B can transport express packages from logistics site A to logistics site B. It should be noted that the pre-defined existing transportation routes are the original transportation routes between the various logistics sites.
[0091] 102. Among the multiple pre-set existing transportation routes, determine the target transportation route with remaining loading space;
[0092] In this embodiment, a target transportation route with remaining loading space is selected from multiple preset existing transportation routes. This allows the remaining space on the existing transportation routes to be used to transport the materials needed by various logistics sites, avoiding the need to dispatch additional vehicles. It can be understood that the remaining loading space of a transportation route corresponds to the remaining loading space of the corresponding transportation vehicle, and different transportation vehicles correspond to different preset existing transportation routes.
[0093] In some embodiments, when determining the remaining loadable space of a transport route, the current load of the transport route can be predicted based on the historical actual load of the transport route, and the maximum loadable space of the transport route can be obtained. The difference between the maximum loadable space and the predicted current load is taken as the remaining loadable space.
[0094] In some embodiments, since container materials such as cages, woven bags, and cardboard boxes are transported along with express delivery during logistics processing, there will be a demand for container materials at various logistics sites. The material allocation in this embodiment refers to the allocation of container materials such as cages, woven bags, and cardboard boxes.
[0095] 103. Generate the material scheduling relationship between the material allocation amount of each of the target transportation routes and the maximum material shortage of each of the logistics sites, wherein the maximum material shortage of the logistics site is the maximum value among the multiple material shortages corresponding to the logistics site, and each material shortage corresponding to the logistics site is the difference between the preset safety stock value and the actual stock value of the logistics site when the material allocation task of each of the target transportation routes is completed.
[0096] In this embodiment, after identifying target transportation routes with remaining loading space, a material scheduling relationship is generated between the required material allocation for each target transportation route and the maximum material shortage for each logistics site. This relationship is used to determine how to allocate material allocation tasks to each target transportation route. It should be noted that when the material allocation task for a target transportation route is completed, the actual material inventory of the logistics sites along that route will change accordingly, thus altering the material shortage at that logistics site. Therefore, the same logistics site may correspond to different material shortages when the material allocation tasks for different target transportation routes are completed. The maximum material shortage for a logistics site is the maximum among multiple material shortages corresponding to the same logistics site.
[0097] In some embodiments, the material scheduling relationship can be a mathematical function model from operations research. For example, the amount of materials to be allocated for each target transportation route can be used as the independent variable, and the maximum material shortage for each logistics site can be used as the dependent variable for the amount of materials to be allocated. The mathematical function model can be constructed as follows:
[0098]
[0099] Where Z is the function value of the mathematical function model, l i Let w be the maximum material shortage for the i-th logistics site, I be the total number of logistics sites, and w l e represents the weight corresponding to the maximum material shortage. r Let w be the amount of materials to be allocated for the r-th target transportation route, R be the total quantity of the target transportation routes, and w be the quantity of materials to be allocated for the r-th target transportation route. e The weight corresponding to the amount of materials to be allocated.
[0100] In this embodiment, before generating material scheduling relationships, it is necessary to set a preset safety stock value for each logistics site. Specifically, the material usage of the logistics site in the current allocation cycle can be predicted to obtain the predicted material usage, and the difference between the amount of materials transferred out and the amount of materials transferred in during the current allocation cycle can be predicted to obtain the predicted amount of the transfer-out and transfer-in difference. The sum of the predicted material usage and the predicted amount of the transfer-out and transfer-in difference is used as the preset safety stock value for the logistics site to balance the difference between transfers out and transfers in, and to avoid a situation where there are no materials available for transfer out of the logistics site. In some embodiments, the historical material usage of the logistics site can be obtained, and the predicted material usage of the logistics site in the current allocation cycle can be predicted based on the historical material usage. The historical material transfer-out and historical material transfer-in amounts of the logistics site can also be obtained, and the difference between the historical material transfer-out and historical material transfer-in amounts can be calculated. Based on the difference between the historical material transfer-out and historical material transfer-in amounts, the predicted amount of the transfer-out and transfer-in difference of the logistics site in the current allocation cycle can be predicted.
[0101] 104. When the material scheduling relationship meets the preset conditions, the amount of materials to be allocated for each of the target transportation routes, wherein the preset conditions include that the amount of materials to be allocated for each of the target transportation routes is less than or equal to the predicted remaining load capacity of the target transportation route.
[0102] In this embodiment, preset conditions are used as constraints on the material scheduling relationship. The material scheduling relationship is analyzed to determine the amount of materials to be allocated to each target transportation route under the condition that the preset conditions are met. To ensure the feasibility of the material allocation task, the preset relationship may include that the amount of materials to be allocated to each target transportation route is less than or equal to the predicted remaining loading capacity of that target transportation route. This ensures that the amount of materials to be allocated to each target transportation route will not exceed the remaining available space of the target transportation route, thus guaranteeing the feasibility of implementing material allocation according to the required allocation amount. For example, when the material scheduling relationship is a mathematical function model, the preset conditions may include:
[0103]
[0104] Among them, sp r Let be the predicted remaining load capacity of the r-th target transport route.
[0105] By solving the mathematical function model, the required material allocation for each target transportation route under preset conditions can be obtained. For example, solvers such as Cplex and Gurobi, or heuristic algorithms such as genetic algorithms, ACA, tabu search, and simulated annealing, can be used to solve for the required material allocation e for each target transportation route when the function value Z of the mathematical function model is minimized. r .
[0106] In some embodiments, the preset conditions may further include at least one of the following:
[0107] When all material transfer tasks at each logistics site are completed, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value of the logistics site.
[0108] If the final transfer-in task is completed within the current allocation cycle, the sum of the actual inventory value of each logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value of the logistics site.
[0109] Taking the material scheduling relationship as an example of a mathematical function model, the preset conditions may also include at least one of the following:
[0110]
[0111]
[0112] Among them, o i Let s be the initial inventory of materials at the i-th logistics site during the current allocation cycle. i RO is the preset safety stock value corresponding to the i-th logistics site. i For all target logistics routes originating from the i-th logistics site, RI i Let d represent all target logistics routes whose destination is the i-th logistics site. First, sort all target logistics routes passing through the i-th logistics site by time (if the i-th logistics site is the origin, then sort by the departure time of the target logistics route from the i-th logistics site; if the i-th logistics site is the destination, then sort by the arrival time of the target logistics route at the i-th logistics site), thus obtaining the order among all target logistics routes passing through the i-th logistics site. In the order among all target logistics routes passing through the i-th logistics site, if the origin of the k-th target logistics route is the i-th logistics site, then d... ik =-1, if the destination of the k-th target logistics route is the i-th logistics site, then d ik =1. e ik This represents the amount of materials to be allocated for the k-th target logistics route in the sequence of all target logistics routes passing through the i-th logistics site.
[0113] This represents the sum of the first m target logistics routes in the order of all target logistics routes passing through the i-th logistics site.
[0114] This indicates the m-th target logistics route whose origin is the i-th logistics site, in the order of all target logistics routes passing through the i-th logistics site.
[0115] m = MAX(RI) i ) represents the last target logistics route whose destination is the i-th logistics site in the sequence of all target logistics routes passing through the i-th logistics site.
[0116] In this way, by setting preset conditions, the sum of the real-time inventory and the maximum material shortage of each logistics site after each outbound task and the final inbound task can always be greater than or equal to the preset safety stock value of the logistics site. By considering the real-time changes in material inventory of each logistics site, a material allocation plan that is closer to the actual situation can be derived.
[0117] 105. Based on the material allocation amount of each target transportation route under the condition that the material scheduling relationship meets the preset conditions, allocate material allocation tasks for each target transportation route to allocate materials to each logistics site through which each target transportation route passes.
[0118] In this embodiment, the amount of materials to be allocated to each target transportation route under the condition that the material scheduling relationship meets the preset conditions is rounded to an integer and used as the amount of container materials to be loaded on the corresponding target transportation route. This generates a corresponding material allocation task, which is then assigned to the corresponding target transportation route. In this way, the target transportation route can load container materials matching the amount to be allocated from the logistics site at the origin, and transport the container materials along the original route to the logistics site at the destination, realizing the allocation of container materials between various logistics sites.
[0119] In the technical solution disclosed in this embodiment, by generating the material scheduling relationship between the material allocation amount of existing transportation routes and the material shortage amount of the site, and using the remaining available space in the existing transportation routes as the constraint condition of the material scheduling relationship, the material allocation tasks of the existing transportation routes can be allocated, which can reduce the material shortage of the site, reduce the ineffective allocation of materials, and thus reduce the allocation cost.
[0120] In another embodiment, such as Figure 2 As shown, in Figure 1 Based on the illustrated embodiment, before step 104, the following steps are also included:
[0121] 201. Obtain the historical remaining load capacity of the target transportation route;
[0122] 202. Determine the basic remaining load capacity of the target transportation route based on the average historical remaining load capacity;
[0123] 203. Based on the basic remaining load capacity, determine the predicted remaining load capacity of the target transportation route.
[0124] In this embodiment, since express delivery goods have not yet been loaded onto trucks before the actual material allocation, the remaining load capacity of each target transportation route after the express delivery goods are loaded cannot be determined. Therefore, it is necessary to predict the remaining load capacity of each target transportation route to ensure the feasibility of material allocation. Specifically, data analysis reveals that the loading status of the routes exhibits a clear periodicity. Therefore, the historical remaining load capacity of the target transportation routes can be obtained, and the average value of the historical remaining load capacity can be taken as the base remaining load capacity of the target transportation routes. The predicted remaining load capacity of the target transportation routes is then calculated based on the base remaining load capacity. For example, the historical remaining load capacity of the target transportation routes on the same working day in the previous four weeks can be obtained and used as the base remaining load capacity.
[0125] In some embodiments, the basic remaining loadable capacity can be directly used as the predicted remaining loadable capacity, or the predicted remaining loadable capacity can be further determined based on the basic remaining loadable capacity. Specifically, since in some cases, although the target transportation route has a certain amount of remaining loadable space, it may not be able to be completely filled, the historical actual allocation volume of the target transportation route can be obtained. The ratio of the historical actual allocation volume of the target transportation route to the actual historical remaining loadable capacity of the target transportation route can be used as the historical allocation task execution rate of the target transportation route. The basic remaining loadable capacity is adaptively adjusted based on the historical allocation task execution rate to obtain the predicted remaining loadable capacity, making the predicted remaining loadable capacity more accurate and reducing the difficulty of loading execution. For example, the product of the historical allocation task execution rate and the basic remaining loadable capacity can be used as the predicted remaining loadable capacity. Here, the historical allocation task execution rate characterizes the actual loading execution capacity of the target transportation route during historical material allocation.
[0126] In some embodiments, to more accurately assess the actual loading capacity of a target transportation route during material allocation, a remaining space coefficient can be introduced, which is adaptively and dynamically adjusted based on the allocation task execution rate. Specifically, the difference between the historical allocation task execution rate and the historical remaining space coefficient of the target transportation route can be obtained. If the difference between the historical allocation task execution rate and the historical remaining space coefficient is less than a preset difference, it indicates that the change in the allocation task execution rate is small and is gradually approaching the actual execution rate. Therefore, the historical allocation task execution rate can be used as the current remaining space coefficient of the target transportation route. If the difference between the historical allocation task execution rate and the historical remaining space coefficient is greater than or equal to the preset difference, it indicates that the change in the allocation task execution rate is large and is not gradually approaching the actual execution rate. Therefore, the current remaining space coefficient of the target transportation route can be determined based on the historical remaining space coefficient. That is, the current remaining space coefficient is updated based on the difference between the historical allocation task execution rate and the historical remaining space coefficient to gradually approach the actual execution rate. The initial value of the historical remaining space coefficient can be set to 1, meaning that the remaining loading space of the target transportation route can be completely filled. In some embodiments, when determining the current remaining space coefficient of a target transportation route based on historical remaining space coefficients, the sum of the historical remaining space coefficients and a preset difference can be obtained. If the sum of the historical remaining space coefficients and the preset difference is greater than or equal to 1, the current remaining space coefficient is set to 1. If the sum of the historical remaining space coefficients and the preset difference is less than 1, the sum of the historical remaining space coefficients and the preset difference is used as the current remaining space coefficient to update the remaining space coefficient and ensure that the current remaining space coefficient does not exceed 1. That is:
[0127] If ir r t-1 -α r t-1 If α < λ, then α r t =ir r t-1 ;
[0128] If ir r t-1 -α r t-1 If ≥λ, then α r t =MIN(α) r t-1 +λ,1)
[0129] Among them, ir r t-1 Let α be the historical allocation task execution rate for the (t-1)th allocation cycle. r t-1 Let λ be the historical remaining space coefficient for the (t-1)th allocation cycle, λ be the preset difference, and α be the coefficient.r t It is the current remaining space coefficient for the t-th allocation cycle (the current allocation cycle).
[0130] In some embodiments, the basic remaining load capacity is adjusted based on the current remaining space coefficient to obtain the predicted remaining load capacity of the target transport route. For example, the product of the current remaining space coefficient and the basic remaining load capacity can be used as the predicted remaining load capacity, i.e.:
[0131] sp r =α t r ×spb r
[0132] Among them, sp r To predict the remaining load capacity, SPB r Based on the remaining loadable capacity.
[0133] In some embodiments, target transportation routes with full vehicle loads and / or high vehicle loading capacity can be obtained, and historical allocation task execution rates and remaining space coefficients can be introduced for target transportation routes with full vehicle loads and / or high vehicle loading capacity to avoid situations where target transportation routes with full vehicle loads and / or high vehicle loading capacity cannot complete the loading of materials according to the material allocation task.
[0134] In some embodiments, the remaining loading capacity of each preset existing transportation route can be used to determine whether there is remaining loading space for each preset existing transportation route, thereby selecting the target transportation route.
[0135] In the technical solution disclosed in this embodiment, the average historical remaining load capacity of the target transportation route is obtained to obtain the basic remaining load capacity of the target transportation route, and then the predicted remaining load capacity of the target transportation route is determined, thus realizing the prediction of the remaining load capacity of the target transportation route.
[0136] In yet another embodiment, such as Figure 3 As shown, in Figures 1 to 2 Based on any embodiment, step 103 includes:
[0137] 301. Determine the route priority of each of the target transportation routes;
[0138] In this embodiment, route priorities can be set for each target transportation route to prioritize the use of higher-priority routes during material allocation. For example, when determining the priority of a target transportation route based on historical allocation task execution rates and / or the source of route information, routes whose route information originates from the business center are given higher priority, while routes whose route information originates from other sources are given lower priority, and / or routes with higher historical allocation task execution rates are given higher priority, while routes with lower historical allocation task execution rates are given lower priority.
[0139] 302. Determine the allocation weight corresponding to the target transportation route based on the route priority;
[0140] 303. Generate the material scheduling relationship between the material allocation amount for each of the target transportation routes, the allocation amount weight corresponding to each of the target transportation routes, and the maximum material shortage amount for each of the logistics sites.
[0141] In this embodiment, different route priorities are assigned different allocation weights. When generating the material scheduling relationship, the allocation weight corresponding to each target transportation route is used as part of the material scheduling relationship. For example, the product of the amount of materials to be allocated to each target transportation route and the allocation weight corresponding to that route can be used as part of the material scheduling relationship. Taking the material scheduling relationship as a mathematical function model as an example, the mathematical function model is as follows:
[0142]
[0143] Among them, pri r For the priority of the r-th target transportation route, w p pri r For pri r The corresponding allocation weight.
[0144] In some embodiments, the allocation weight is positively correlated with the line priority, that is, the higher the line priority, the greater the allocation weight. Thus, when determining the minimum value of the function Z of the mathematical function model, more material allocation should be allocated to the line with higher line priority, that is, high priority lines are given priority.
[0145] In the technical solution disclosed in this embodiment, a route priority is set for each target transportation route, and the allocation weight corresponding to the target transportation route is determined according to the route priority. The allocation weight is comprehensively considered when generating the material scheduling relationship so that the high-priority route is given priority when allocating materials.
[0146] In yet another embodiment, such as Figure 4 As shown, in Figures 1 to 3 Based on any embodiment, step 103 includes:
[0147] 401. Determine the site priority of each of the aforementioned logistics sites;
[0148] In this embodiment, site priorities can be set for each logistics site to prioritize the material needs of higher-priority sites during material allocation. For example, site priorities can be determined based on the maximum historical material shortage and / or site type. In some embodiments, when determining the priority of a logistics site based on the maximum historical material shortage, the maximum historical material shortage of each logistics site can be compared, and the logistics site with the larger maximum historical material shortage can be given a higher priority, while the logistics site with the smaller maximum historical material shortage can be given a lower priority. In some embodiments, when determining the site priority of a logistics site based on site type, logistics sites with an automated site type can be given a higher priority, while logistics sites with a non-automated site type can be given a lower priority.
[0149] 402. Determine the allocation weight corresponding to the logistics site based on the site priority;
[0150] 403. Generate the material scheduling relationship between the material allocation amount for each of the target transportation routes, the maximum material shortage amount for each of the logistics sites, the material allocation amount for each of the logistics sites, and the allocation amount weight corresponding to each of the logistics sites, wherein the material allocation amount for each logistics site is the sum of the material allocation amounts for each of the target transportation routes passing through the logistics site.
[0151] In this embodiment, different site priorities are assigned different allocation weights. When generating the material scheduling relationship, the allocation weight corresponding to each logistics site is used as part of the material scheduling relationship. For example, the product of the allocation weight corresponding to each logistics site and the amount of materials to be allocated to that logistics site can be used as part of the material scheduling relationship. Taking the material scheduling relationship as a mathematical function model as an example, the mathematical function model is as follows:
[0152]
[0153] Among them, prl i For the priority of the i-th logistics site, w pl pril i for prl i The corresponding weight of the allocated amount.
[0154] In some embodiments, the allocation weight is positively correlated with the site priority, that is, the higher the site priority, the greater the allocation weight. Thus, when determining the minimum value of the function Z of the mathematical function model, more materials should be allocated to the lines with higher site priority, that is, the material needs of high priority sites are met first.
[0155] In some embodiments, prioritizing high-priority routes and meeting the material needs of high-priority sites can be considered simultaneously. In this case, a material scheduling relationship is generated between the material allocation quantity for each target transportation route, the allocation quantity weight corresponding to each target transportation route, the maximum material shortage for each logistics site, the material allocation quantity to be received for each logistics site, and the allocation quantity weight corresponding to each logistics site. Taking the material scheduling relationship as a mathematical function model as an example, the mathematical function model is as follows:
[0156]
[0157] In the technical solution disclosed in this embodiment, site priorities are set for each logistics site, and the allocation weight of the corresponding logistics site is determined according to the site priority. The allocation weight is comprehensively considered when generating the material scheduling relationship so as to prioritize meeting the material needs of high-priority sites when allocating materials.
[0158] To better implement the material allocation method in the embodiments of this application, based on the material allocation method, the embodiments of this application also provide a material allocation device, such as... Figure 5 As shown, the material allocation device 500 includes an acquisition module 501, a generation module 502, a determination module 503, and an allocation module 504, as detailed below:
[0159] The acquisition module 501 is used to acquire the preset existing transportation routes that pass through various logistics sites, and to determine the target transportation route with remaining loading space among the multiple preset existing transportation routes.
[0160] The generation module 502 is used to generate the material scheduling relationship between the material allocation amount of each target transportation route and the maximum material shortage of each logistics site. The maximum material shortage of the logistics site is the maximum value among the multiple material shortages corresponding to the logistics site. Each material shortage corresponding to the logistics site is the difference between the preset safety stock value and the actual stock value of the logistics site when the material allocation task of each target transportation route is completed.
[0161] The determination module 503 is used to determine the amount of materials to be allocated for each target transportation route when the material scheduling relationship meets the preset conditions. The preset conditions include that the amount of materials to be allocated for each target transportation route is less than or equal to the predicted remaining loadable amount of the target transportation route.
[0162] The allocation module 504 is used to allocate material allocation tasks for each target transportation route based on the amount of materials to be allocated for each target transportation route under the condition that the material scheduling relationship meets the preset conditions, so as to allocate materials to each logistics site through which each target transportation route passes.
[0163] In some embodiments, the determining module 503 is further configured to:
[0164] Obtain the historical remaining load capacity of the target transportation route;
[0165] The baseline remaining load capacity of the target transport route is determined based on the average historical remaining load capacity.
[0166] Based on the baseline remaining load capacity, determine the projected remaining load capacity of the target transport route.
[0167] In some embodiments, the determining module 503 is further configured to:
[0168] Obtain the historical actual allocation volume of the target transportation route;
[0169] The ratio of the historical actual allocation volume of the target transportation route to the historical remaining loadable volume of the target transportation route is used as the historical allocation task execution rate of the target transportation route.
[0170] Based on the historical allocation task execution rate and the basic remaining load capacity, the predicted remaining load capacity of the target transportation route is determined.
[0171] In some embodiments, the determining module 503 is further configured to:
[0172] Obtain the difference between the historical allocation task execution rate and the historical remaining space coefficient of the target transportation route;
[0173] If the difference between the historical allocation task execution rate and the historical remaining space coefficient is less than the preset difference, the historical allocation task execution rate will be used as the current remaining space coefficient of the target transportation route. If the difference between the historical allocation task execution rate and the historical remaining space coefficient is greater than or equal to the preset difference, the current remaining space coefficient of the target transportation route will be determined based on the historical remaining space coefficient.
[0174] The predicted remaining loading capacity of the target transportation route is determined based on the current remaining space coefficient and the basic remaining loading capacity.
[0175] In some embodiments, the generation module 502 is specifically used for:
[0176] Determine the route priority for each target transportation route;
[0177] Determine the allocation weight corresponding to the target transportation route based on the route priority;
[0178] Generate the material scheduling relationship between the material allocation amount for each target transportation route, the allocation amount weight corresponding to each target transportation route, and the maximum material shortage amount for each logistics site.
[0179] In some embodiments, the generation module 502 is specifically used for:
[0180] Determine the site priority for each logistics site;
[0181] The allocation weight of the logistics site is determined according to the site priority.
[0182] Generate the material scheduling relationship between the material allocation amount for each target transportation route, the maximum material shortage amount for each logistics site, the material allocation amount for each logistics site, and the corresponding allocation amount weight for each logistics site. Among them, the material allocation amount for each logistics site is the sum of the material allocation amounts for each target transportation route passing through the logistics site.
[0183] In some embodiments, the acquisition module 501 is further configured to:
[0184] Obtain the historical usage, outflow, and inflow of materials at the logistics site;
[0185] Based on the historical usage of materials, determine the predicted usage of materials at the logistics site during the current allocation cycle, and based on the historical outflow and inflow of materials, determine the predicted difference between outflow and inflow at the logistics site during the current allocation cycle.
[0186] Based on the predicted usage of materials and the predicted difference between the amount transferred out and the amount transferred in, determine the preset safety stock value corresponding to the logistics site.
[0187] In some embodiments, the determining module 503 is further configured to:
[0188] The preset conditions are set, and the material allocation task includes material transfer tasks for various logistics sites and / or material transfer tasks. The preset conditions also include at least one of the following:
[0189] When all material transfer tasks at each logistics site are completed, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value of the logistics site.
[0190] If the final transfer-in task is completed within the current allocation cycle, the sum of the actual inventory value of each logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value of the logistics site.
[0191] This application also provides a computer device that integrates any of the material allocation devices provided in this application. For example... Figure 6 As shown, it illustrates a structural schematic diagram of the computer device involved in the embodiments of this application, specifically:
[0192] The computer device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The computer device structure shown is not intended to limit the construction of a computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0193] The processor 601 is the control center of the computer device. It connects various parts of the computer device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, thereby providing overall monitoring of the computer device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0194] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0195] The computer device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0196] The computer device may also include an input unit 604, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0197] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the computer device loads the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602 to realize various functions, as follows:
[0198] Obtain the existing pre-set transportation routes that pass through various logistics sites;
[0199] Among multiple pre-set existing transportation routes, identify the target transportation route with remaining loading space;
[0200] Generate the material scheduling relationship between the material allocation quantity of each target transportation route and the maximum material shortage quantity of each logistics site. The maximum material shortage quantity of the logistics site is the maximum value among the multiple material shortage quantities corresponding to the logistics site. Each material shortage quantity corresponding to the logistics site is the difference between the preset safety stock value and the actual stock value of the logistics site when the material allocation task of each target transportation route is completed.
[0201] Under the premise that the material dispatch relationship meets the preset conditions, the amount of materials to be allocated for each target transportation route, wherein the preset conditions include that the amount of materials to be allocated for each target transportation route is less than or equal to the predicted remaining loadable amount of the target transportation route.
[0202] Based on the material allocation amount for each target transportation route under the premise that the material scheduling relationship meets the preset conditions, the material allocation tasks for each target transportation route are assigned to carry out material allocation for each logistics site through which each target transportation route passes.
[0203] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0204] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the material allocation methods provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps:
[0205] Obtain the existing pre-set transportation routes that pass through various logistics sites;
[0206] Among multiple pre-set existing transportation routes, identify the target transportation route with remaining loading space;
[0207] Generate the material scheduling relationship between the material allocation quantity of each target transportation route and the maximum material shortage quantity of each logistics site. The maximum material shortage quantity of the logistics site is the maximum value among the multiple material shortage quantities corresponding to the logistics site. Each material shortage quantity corresponding to the logistics site is the difference between the preset safety stock value and the actual stock value of the logistics site when the material allocation task of each target transportation route is completed.
[0208] Under the premise that the material dispatch relationship meets the preset conditions, the amount of materials to be allocated for each target transportation route, wherein the preset conditions include that the amount of materials to be allocated for each target transportation route is less than or equal to the predicted remaining loadable amount of the target transportation route.
[0209] Based on the material allocation amount for each target transportation route under the premise that the material scheduling relationship meets the preset conditions, the material allocation tasks for each target transportation route are assigned to carry out material allocation for each logistics site through which each target transportation route passes.
[0210] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0211] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0212] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0213] The above provides a detailed description of a material allocation method, computer equipment, and computer-readable storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method of requisitioning supplies, characterized by, include: Obtain the existing pre-set transportation routes that pass through various logistics sites; Among the multiple pre-defined existing transportation routes, a target transportation route with remaining loading space is identified; Generating a material scheduling relationship between the required material allocation for each of the target transportation routes and the maximum material shortage for each of the logistics sites includes: determining the route priority of each of the target transportation routes; determining the allocation weight corresponding to each target transportation route based on the route priority; establishing a mathematical function between the required material allocation for each of the target transportation routes, the allocation weight corresponding to each of the target transportation routes, and the maximum material shortage for each of the logistics sites to generate a material scheduling relationship; wherein, the maximum material shortage for each logistics site is the maximum among multiple material shortages corresponding to the logistics site, and each material shortage corresponding to the logistics site is the difference between the preset safety stock value and the actual stock value of the logistics site when the material allocation tasks for each of the target transportation routes are completed. When the material scheduling relationship meets the preset conditions, the amount of materials to be allocated for each of the target transportation routes is determined, wherein the preset conditions include that the amount of materials to be allocated for each of the target transportation routes is less than or equal to the predicted remaining load capacity of the target transportation route. Based on the material allocation amount of each target transportation route under the premise that the material scheduling relationship meets the preset conditions, material allocation tasks are assigned to each target transportation route to allocate materials to each logistics site through which each target transportation route passes.
2. The method of requisitioning of supplies as claimed in claim 1, wherein, Before the step of determining the amount of materials to be allocated for each of the target transportation routes when the material scheduling relationship meets the preset conditions, the method further includes: Obtain the historical remaining load capacity of the target transportation route; The basic remaining load capacity of the target transport route is determined based on the average of the historical remaining load capacity. Based on the basic remaining load capacity, the predicted remaining load capacity of the target transport route is determined.
3. The method of requisitioning of supplies as claimed in claim 2, wherein, The step of determining the predicted remaining loading capacity of the target transportation route based on the basic remaining loading capacity includes: Obtain the historical actual allocation volume of the target transportation route; The ratio of the historical actual allocation volume of the target transportation route to the historical remaining loadable volume of the target transportation route is used as the historical allocation task execution rate of the target transportation route. Based on the historical allocation task execution rate and the basic remaining load capacity, the predicted remaining load capacity of the target transportation route is determined.
4. The method of requisitioning supplies of claim 3, wherein, The step of determining the predicted remaining loading capacity of the target transportation route based on the historical allocation task execution rate and the basic remaining loading capacity includes: Obtain the difference between the historical allocation task execution rate and the historical remaining space coefficient of the target transportation route; If the difference between the historical allocation task execution rate and the historical remaining space coefficient is less than a preset difference, then the historical allocation task execution rate is used as the current remaining space coefficient of the target transportation route. If the difference between the historical allocation task execution rate and the historical remaining space coefficient is greater than or equal to the preset difference, then the current remaining space coefficient of the target transportation route is determined based on the sum of the historical remaining space coefficient and the preset difference. Determining the current remaining space coefficient of the target transportation route based on the sum of the historical remaining space coefficient and the preset difference includes: if the sum of the historical remaining space coefficient and the preset difference is greater than or equal to 1, then the current remaining space coefficient is set to 1; if the sum of the historical remaining space coefficient and the preset difference is less than 1, then the sum of the historical remaining space coefficient and the preset difference is used as the current remaining space coefficient. The predicted remaining load capacity of the target transportation route is determined based on the current remaining space coefficient of the target transportation route and the basic remaining load capacity.
5. The method of requisitioning supplies of claim 1, wherein, The step of generating the material scheduling relationship between the material allocation amount for each of the target transportation routes and the maximum material shortage amount for each of the logistics sites includes: Determine the site priority for each of the aforementioned logistics sites; Based on the site priority, determine the allocation weight corresponding to the logistics site. Generate the material scheduling relationship between the material allocation amount for each of the target transportation routes, the maximum material shortage amount for each of the logistics sites, the material allocation amount for each of the logistics sites, and the allocation amount weight corresponding to each of the logistics sites, wherein the material allocation amount for each logistics site is the sum of the material allocation amounts for each of the target transportation routes passing through the logistics site.
6. The method of requisitioning supplies of claim 1, wherein, Before the step of generating the material scheduling relationship between the material allocation quantity for each of the target transportation routes and the maximum material shortage quantity for each of the logistics sites, the method further includes: Obtain the historical usage, historical outflow, and historical inflow of materials at the logistics site; Based on the historical usage of the materials, the predicted usage of the materials at the logistics site in the current allocation cycle is determined, and based on the historical outflow and inflow of the materials, the predicted amount of the outflow and inflow difference at the logistics site in the current allocation cycle is determined. Based on the predicted usage of the materials and the predicted difference between the outflow and inflow, the preset safety stock value corresponding to the logistics site is determined.
7. The method of requisitioning supplies of claim 1, wherein, The material allocation task includes material transfer-out tasks and / or material transfer-in tasks for each of the logistics sites, and the preset conditions also include at least one of the following: When all material transfer tasks at each of the logistics sites are completed, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value corresponding to the logistics site. If the final transfer-in task of each logistics site is completed within the current allocation cycle, the sum of the actual inventory value of the logistics site and the maximum material shortage of the logistics site is greater than or equal to the preset safety stock value corresponding to the logistics site.
8. A computer device, comprising: The computer device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the material allocation method as claimed in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to perform the steps in the material allocation method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Transition transportation container loading optimization method for a large transporter
CN111445082A
Aviation board box allocating method and device, computer equipment and storage medium
CN112686485A
