Multi-vendor material allocation method and device, electronic equipment and medium

CN122927951APending Publication Date: 2026-10-16GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611409103.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-11
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

然而,在实际执行中,供应商存在配货条件,当分配量不满足该配货条件时,分配结果无法被供应商直接执行,需要依赖人工介入进行调整和重新分配,导致补货分配流程的效率降低

Benefits of technology

本发明实施例通过获取当前时间切片内目标物料的补货总量,从提供该目标物料的多个供应商中确定在当前时间切片内未进行分配的候选供应商并从候选供应商中确定目标供应商,获取该目标供应商的预设分配量和配货约束信息,根据预设分配量和配货约束信息确定该目标供应商的最终分配量,并在确定该目标供应商的最终分配量后重新确定在当前时间切片内未进行分配的候选供应商并从候选供应商中确定目标供应商,循环执行直至满足分配终止条件,从而在当前时间切片内以逐个供应商依次分配的方式完成补货总量的分配,各供应商的最终分配量均满足其配货约束,提高了补货分配效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122927951A_ABST
    Figure CN122927951A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a multi-supplier material distribution method and device, electronic equipment and medium, by acquiring the total replenishment quantity of the target material in the current time slice, determining the candidate supplier in the current time slice from the multiple suppliers providing the target material and determining the target supplier from the candidate supplier, acquiring the preset distribution quantity and distribution constraint information of the target supplier, determining the final distribution quantity of the target supplier according to the preset distribution quantity and distribution constraint information, and redetermining the candidate supplier in the current time slice after determining the final distribution quantity of the target supplier and determining the target supplier from the candidate supplier, the loop is executed until the distribution termination condition is met, so that the distribution of the total replenishment quantity is completed in the current time slice in the manner of sequentially distributing one by one, and the final distribution quantity of each supplier meets the distribution constraint, thereby improving the replenishment distribution efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of home appliance technology, and in particular to a multi-supplier material distribution method, apparatus, electronic device, and readable storage medium. Background Technology

[0002] In the field of supply chain management, companies typically need to allocate replenishment tasks to multiple suppliers based on material demand to ensure the continuity of production or sales. As business scales up, the frequency and complexity of material replenishment continue to increase, placing higher demands on the efficiency and accuracy of replenishment allocation.

[0003] In multi-supplier material replenishment scenarios, companies typically allocate the total replenishment quantity to each supplier based on preset allocation ratios. In existing technologies, a common allocation method is to directly allocate the total replenishment quantity to each supplier according to a preset ratio and then send the request for execution. However, in actual execution, suppliers have allocation conditions. When the allocated quantity does not meet these conditions, the allocation result cannot be directly executed by the supplier and requires manual intervention for adjustment and reallocation, leading to a decrease in the efficiency of the replenishment allocation process. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide a multi-supplier material allocation method, apparatus, electronic device and readable storage medium that overcomes or at least partially solves the above problems.

[0005] In a first aspect, embodiments of the present invention provide a multi-supplier material allocation method, the method comprising: Get the total replenishment quantity of the target material within the current time slice; From a plurality of suppliers providing the target material, identify candidate suppliers that have not been assigned within the current time slice, and from the candidate suppliers identify the target supplier; Obtain the preset allocation quantity and distribution constraint information of the target supplier; the distribution constraint information includes: the final allocation quantity of the target supplier is not less than the minimum shipment quantity of the target supplier, and the final allocation quantity of the target supplier is an integer multiple of the minimum packaging size of the target supplier; The final allocation quantity of the target supplier is determined based on the preset allocation quantity of the target supplier and the distribution constraint information; After determining the final allocation amount of the target supplier, the candidate suppliers that have not been allocated in the current time slice are re-identified, and the target supplier is determined from the candidate suppliers until the allocation termination condition is met.

[0006] Optionally, obtaining the total replenishment quantity of the target material within the current time slice includes: Obtain the total production demand, current inventory, and minimum safety stock of the target material within the current time slice; The total replenishment quantity is calculated by subtracting the current inventory from the sum of the total production demand and the minimum safety stock.

[0007] Optionally, determining the target supplier from the candidate suppliers includes: Obtain the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers; Based on the difference between the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers, the supplier with the largest difference is determined as the target supplier.

[0008] Optionally, obtaining the preset allocation amount from the target supplier includes: Determine the preset allocation ratio of the target suppliers; The target supplier's own allocation is determined based on the difference between the total replenishment quantity and the total allocated quantity, and the preset allocation ratio of the target supplier; wherein, the total allocated quantity is the sum of the final allocation quantities of all suppliers whose final allocation quantities have been determined.

[0009] Optionally, obtaining the preset allocation amount from the target supplier further includes: The target supplier's own allocation amount is added to the previous supplier's unallocated amount to obtain the target supplier's preset allocation amount; wherein, the previous supplier's unallocated amount is the difference between the previous supplier's preset allocation amount and the previous supplier's final allocation amount, and if the previous supplier does not exist, the previous supplier's unallocated amount is zero.

[0010] Optionally, determining the final allocation quantity of the target supplier based on the preset allocation quantity of the target supplier and the distribution constraint information includes: Get the warehouse capacity limit; The maximum allowable allocation to the target supplier is determined based on the warehouse capacity limit, the current inventory, and the total allocated quantity. If the preset allocation amount does not exceed the maximum allowable allocation amount, the preset allocation amount shall be used as the allocation amount for the target supplier. If the preset allocation amount exceeds the maximum allowed allocation amount, the maximum allowed allocation amount shall be used as the allocation amount for the target supplier. The allocation quantity to the target supplier is rounded up according to the minimum packaging size. If the rounded-up allocation quantity does not exceed the maximum allowable allocation quantity, the allocation quantity to the target supplier is rounded up. If the rounded-up allocation quantity exceeds the maximum allowable allocation quantity, the allocation quantity to the target supplier is rounded down. If the rounded allocation is less than the target supplier's minimum shipment quantity, the target supplier's final allocation is set to zero. If the rounded allocation is greater than or equal to the target supplier's minimum shipment quantity, the rounded allocation shall be used as the target supplier's final allocation.

[0011] Optionally, the allocation termination conditions include: the total replenishment volume has been allocated, or all suppliers within the current time slice have been allocated.

[0012] Optionally, the method further includes: When all suppliers have been allocated within the current time slice and there is an unallocated remaining quantity in the total replenishment quantity, the unallocated remaining quantity will be carried over to the next time slice for allocation.

[0013] Secondly, embodiments of the present invention provide a multi-supplier material distribution device, the device comprising: The replenishment total quantity acquisition module is used to obtain the total replenishment quantity of the target material within the current time slice; The target supplier determination module is used to determine, from a plurality of suppliers providing the target material, candidate suppliers that have not been assigned in the current time slice, and to determine the target supplier from the candidate suppliers; The shipment constraint module is used to obtain the preset allocation quantity and shipment constraint information of the target supplier; the shipment constraint information includes: the final allocation quantity of the target supplier is not less than the minimum shipment quantity of the target supplier, and the final allocation quantity of the target supplier is an integer multiple of the minimum packaging size of the target supplier; The final allocation quantity determination module is used to determine the final allocation quantity of the target supplier based on the preset allocation quantity of the target supplier and the distribution constraint information; The allocation loop module is used to, after determining the final allocation amount of the target supplier, re-determine the candidate suppliers that have not been allocated in the current time slice and determine the target supplier from the candidate suppliers until the allocation termination condition is met.

[0014] Optionally, the replenishment quantity acquisition module includes: The data acquisition submodule is used to acquire the total production demand, current inventory, and minimum safety stock of the target material within the current time slice; The replenishment quantity determination submodule is used to subtract the current inventory from the sum of the total production demand and the minimum safety stock to obtain the replenishment quantity.

[0015] Optionally, the target supplier determination module includes: The allocation ratio acquisition submodule is used to acquire the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers; The target supplier determination submodule is used to determine the supplier with the largest difference between the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers as the target supplier.

[0016] Optionally, the shipment constraint module includes: The preset allocation ratio determination submodule is used to determine the preset allocation ratio of the target supplier; The self-allocation quantity determination submodule is used to determine the self-allocation quantity of the target supplier based on the difference between the replenishment quantity and the allocated quantity, and the preset allocation ratio of the target supplier; wherein, the allocated quantity is the sum of the final allocation quantities of all suppliers whose final allocation quantities have been determined.

[0017] Optionally, the shipment constraint module further includes: The preset allocation quantity determination submodule is used to add the target supplier's own allocation quantity to the unallocated quantity of the previous supplier as the preset allocation quantity of the target supplier; wherein, the unallocated quantity of the previous supplier is the difference between the preset allocation quantity of the previous supplier and the final allocation quantity of the previous supplier, and if the previous supplier does not exist, the unallocated quantity of the previous supplier is zero.

[0018] Optionally, the final allocation determination module includes: The capacity limit retrieval submodule is used to retrieve the warehouse capacity limit; The maximum allowable allocation quantity determination submodule is used to determine the maximum allowable allocation quantity of the target supplier based on the warehouse capacity limit, the current inventory, and the total allocated quantity; The first allocation quantity determination submodule is used to use the preset allocation quantity as the allocation quantity of the target supplier when the preset allocation quantity does not exceed the maximum allowable allocation quantity; The second allocation quantity determination submodule is used to use the maximum allowable allocation quantity as the allocation quantity of the target supplier when the preset allocation quantity exceeds the maximum allowable allocation quantity. The allocation quantity rounding submodule is used to round the allocation quantity of the target supplier according to the minimum packaging specification. If the rounded allocation quantity does not exceed the maximum allowable allocation quantity, the allocation quantity of the target supplier is rounded up; if the rounded allocation quantity exceeds the maximum allowable allocation quantity, the allocation quantity of the target supplier is rounded down. The first final allocation quantity determination submodule is used to determine the final allocation quantity of the target supplier as zero if the rounded allocation quantity is less than the minimum shipment quantity of the target supplier. The second final allocation quantity determination submodule is used to take the rounded allocation quantity as the final allocation quantity of the target supplier when the rounded allocation quantity is greater than or equal to the minimum shipment quantity of the target supplier.

[0019] The conditions for terminating the allocation include: the total replenishment volume has been allocated, or all suppliers within the current time slice have been allocated.

[0020] Optionally, the device further includes: The unallocated surplus quantity carryover module is used to carry over the unallocated surplus quantity to the next time slice for allocation when all suppliers have completed their allocations within the current time slice and there is an unallocated surplus quantity in the total replenishment quantity.

[0021] Thirdly, embodiments of the present invention provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the multi-supplier material allocation method as described in the first aspect.

[0022] Fourthly, embodiments of the present invention provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the multi-supplier material allocation method as described in the first aspect.

[0023] The embodiments of the present invention have the following advantages: This invention, through obtaining the total replenishment quantity of the target material within the current time slice, identifies candidate suppliers that have not been allocated within the current time slice from multiple suppliers providing the target material, and then identifies the target supplier from among these candidate suppliers. It obtains the preset allocation quantity and distribution constraint information of the target supplier, determines the final allocation quantity of the target supplier based on the preset allocation quantity and distribution constraint information, and after determining the final allocation quantity of the target supplier, re-identifies candidate suppliers that have not been allocated within the current time slice and identifies the target supplier from among these candidate suppliers. This process is repeated until the allocation termination condition is met. Thus, the total replenishment quantity is allocated sequentially from supplier to supplier within the current time slice, and the final allocation quantity of each supplier satisfies its distribution constraint, improving replenishment allocation efficiency. Attached Figure Description

[0024] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a flowchart illustrating the steps of a multi-supplier material allocation method provided in an embodiment of the present invention; Figure 2 This is a flowchart of another multi-supplier material allocation method provided in an embodiment of the present invention; Figure 3 This is a structural block diagram of a multi-supplier material distribution device provided in an embodiment of the present invention. Detailed Implementation

[0026] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0027] The terms "first," "second," etc., used in the specification and claims of this invention are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0028] In supply chain management, material replenishment is a crucial step for enterprises to ensure production continuity. When a company needs to replenish a certain material, it typically allocates the replenishment demand according to a pre-agreed ratio among multiple suppliers. This allocation method maintains a balanced supply relationship among suppliers, ensuring that each supplier participates in supply according to its predetermined share.

[0029] In practice, suppliers have different conditions for fulfilling their orders. For example, different suppliers may set different shipping thresholds or delivery specifications, which may prevent the supplier from actually accepting the allocated quantity calculated proportionally. Existing technologies typically use a method of first allocating proportionally and then manually checking and adjusting, which lacks automatic adaptation of the allocation results at the execution level, making the allocation process dependent on manual intervention.

[0030] Figure 1 This is a flowchart of a multi-supplier material allocation method provided in an embodiment of the present invention.

[0031] like Figure 1 As shown, the method may specifically include the following steps: Step 101: Obtain the total replenishment quantity of the target material within the current time slice; In this embodiment of the invention, the total replenishment quantity to be allocated to suppliers within the current time slice is first determined. A time slice can be the time range covered by this allocation calculation, such as a calendar day. Since material demand is generated continuously over time, this embodiment of the invention uses time slices as units, performing a complete allocation calculation independently within each slice. The total replenishment quantity refers to the total quantity to be allocated to each supplier within the current time slice. After obtaining this total replenishment quantity, it can serve as the basis for all subsequent allocation steps, and the allocation quantity to each supplier can be calculated based on this total replenishment quantity.

[0032] Step 102: From the multiple suppliers providing the target material, identify candidate suppliers that have not been assigned in the current time slice, and identify the target supplier from the candidate suppliers; After determining the total replenishment quantity, the method of this embodiment of the invention identifies candidate suppliers that have not been allocated in the current time slice from a plurality of suppliers that provide the target material, and determines the target supplier from these candidate suppliers.

[0033] Specifically, "multiple suppliers" refers to all available suppliers capable of providing the target material. Candidate suppliers not assigned within the current time slice are those that have not yet been identified as target suppliers and assigned within that time slice. This screening method ensures that each supplier is processed only once within the current time slice.

[0034] In this embodiment of the invention, the specific method for determining the target supplier can be varied. For example, the target supplier can be determined based on the difference between the preset allocation ratio and the already allocated ratio of each supplier, identifying the supplier with the largest difference as the target supplier to be processed, thereby gradually bringing the actual allocation ratio closer to the preset allocation ratio. Other methods can also be used to determine the target supplier, such as selecting suppliers sequentially according to a preset priority order, or selecting suppliers after comprehensively sorting them based on factors such as production capacity and delivery time; this application does not limit this approach. After determining the target supplier, subsequent steps will involve obtaining the preset allocation amount and determining the final allocation amount for that target supplier.

[0035] Step 103: Obtain the preset allocation quantity and distribution constraint information of the target supplier; the distribution constraint information includes: the final allocation quantity of the target supplier is not less than the minimum shipment quantity of the target supplier, and the final allocation quantity of the target supplier is an integer multiple of the minimum packaging size of the target supplier; After identifying the target supplier, the method in this embodiment of the invention obtains the preset allocation quantity and delivery constraint information of the target supplier.

[0036] The preset allocation quantity refers to the theoretical allocation quantity that the target supplier is expected to undertake within the current time slice. This allocation quantity can be a value calculated based on the total replenishment quantity and the preset allocation ratio, or it can be a value determined by other methods, such as based on historical supply data or capacity information.

[0037] The allocation constraint information refers to the conditions that the supplier needs to meet when performing allocation, such as shipping conditions, packaging specifications, etc. These conditions can be set in advance by the supplier or dynamically adjusted according to the actual supply capacity.

[0038] In some embodiments of the present invention, the allocation constraint information may include: the final allocation quantity to the target supplier is not less than the target supplier's minimum shipment quantity, and the final allocation quantity to the target supplier is an integer multiple of the target supplier's minimum packaging size. Here, the minimum shipment quantity refers to the minimum order quantity that the supplier can accept; allocation quantities below this quantity may not be acceptable to the supplier or may require additional logistics costs. The minimum packaging size refers to the packaging unit used by the supplier when shipping; the allocation quantity must be an integer multiple of this packaging unit size, otherwise problems such as unpacking or shipping difficulties may occur. Through the above constraints, the final allocation quantity to the target supplier must meet both the minimum shipment quantity requirement and the requirement of being an integer multiple of the minimum packaging size.

[0039] By obtaining the above information, subsequent steps can process the preset allocation based on the constraints to determine the actual allocation that the target supplier can undertake.

[0040] Step 104: Determine the final allocation quantity of the target supplier based on the preset allocation quantity of the target supplier and the distribution constraint information; In this embodiment of the invention, after obtaining the preset allocation quantity and distribution constraint information of the target supplier, the final allocation quantity of the target supplier can be determined based on the above information.

[0041] Specifically, this step processes the preset allocation quantity based on the allocation constraint information to determine the final allocation quantity that the target supplier can accept. The preset allocation quantity serves as an initial theoretical value, but in actual implementation, it may not be fully accepted due to limitations in allocation conditions. Therefore, it needs to be adjusted accordingly based on the allocation constraint information. The adjusted allocation quantity becomes the final allocation quantity for the target supplier, and the final allocation quantity satisfies the target supplier's allocation constraints.

[0042] Therefore, the final allocation quantity of each target supplier can meet its own allocation constraints, avoiding manual secondary adjustments due to allocation results not meeting allocation conditions, thereby improving allocation efficiency.

[0043] Step 105: After determining the final allocation amount of the target supplier, re-determine the candidate suppliers that have not been allocated in the current time slice and determine the target supplier from the candidate suppliers until the allocation termination condition is met.

[0044] In the method of this embodiment of the invention, after determining the final allocation amount of the current target supplier, it can be determined whether the allocation within the current time slice should continue.

[0045] Specifically, after completing the allocation of the current target supplier, the remaining candidate suppliers that have not yet been allocated within the current time slice are identified, and the next target supplier is selected from these candidate suppliers. The method for determining candidate suppliers can be the same as in step 102, i.e., filtering out suppliers that have not yet been allocated within the current time slice. The method for determining the target supplier can also be consistent with step 102, for example, selecting from candidate suppliers based on the difference between the preset allocation ratio and the already allocated ratio. This cyclical process continues until the allocation termination condition is met. Through this process, multiple suppliers can be allocated sequentially within each time slice until the allocation termination condition is met.

[0046] The allocation termination condition can be either the completion of the total replenishment allocation or the completion of allocation to all suppliers within the current time slice. When the total replenishment allocation is complete, it means that all replenishment demands have been allocated. When all suppliers have been allocated but there is still a remaining replenishment quantity, this remaining portion can be carried over to the next time slice as unmet demand. The allocation process within that time slice ends when either of the above conditions is met.

[0047] This invention, through obtaining the total replenishment quantity of the target material within the current time slice, identifies candidate suppliers that have not been allocated within the current time slice from multiple suppliers providing the target material, and then identifies the target supplier from among these candidate suppliers. It obtains the preset allocation quantity and distribution constraint information of the target supplier, determines the final allocation quantity of the target supplier based on the preset allocation quantity and distribution constraint information, and after determining the final allocation quantity of the target supplier, re-identifies candidate suppliers that have not been allocated within the current time slice and identifies the target supplier from among these candidate suppliers. This process is repeated until the allocation termination condition is met. Thus, the total replenishment quantity is allocated sequentially from supplier to supplier within the current time slice, and the final allocation quantity of each supplier satisfies its distribution constraint, improving replenishment allocation efficiency.

[0048] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0049] Figure 2 This is a flowchart of another multi-supplier material allocation method provided in an embodiment of the present invention.

[0050] like Figure 2 As shown, the method may specifically include the following steps: Step 201: Obtain the total replenishment amount of the target material within the current time slice; In some embodiments of the present invention, the total replenishment quantity can be obtained as follows: first, obtain the total production demand, current inventory, and minimum safety stock of the target material within the current time slice; then, subtract the current inventory from the sum of the total production demand and the minimum safety stock; the difference is the total replenishment quantity. If the difference is less than or equal to zero, it indicates that the current inventory is sufficient to cover the production demand and safety stock, and no replenishment is required.

[0051] In some embodiments, step 201 specifically includes the following sub-steps: Sub-step S11: Obtain the total production demand, current inventory, and minimum safety stock of the target material within the current time slice; Total production demand refers to the quantity of target materials required to meet the production plan within the time slice. Current inventory refers to the available inventory of the target materials in the warehouse at the start of the time slice. Minimum safety stock refers to a pre-set inventory buffer to cope with supply chain uncertainties, such as demand fluctuations caused by factors such as supplier delays in delivery or temporary production line increases. In some embodiments, minimum safety stock can be a pre-configured fixed value or a value dynamically calculated based on historical demand data.

[0052] Sub-step S12: Subtract the current inventory from the sum of the total production demand and the minimum safety stock to obtain the total replenishment quantity.

[0053] In some embodiments, when the sum of total production demand and minimum safety stock is greater than the current inventory, the difference is the quantity that needs to be replenished; when the difference is less than or equal to zero, it means that the current inventory is sufficient to cover production demand and minimum safety stock, and the total replenishment amount can be considered zero. Through the above calculation, the inventory level after replenishment can maintain a safety buffer while meeting production demand, thereby enhancing the resilience of the supply chain.

[0054] Step 202: From the multiple suppliers providing the target material, identify candidate suppliers that have not been assigned in the current time slice, and identify the target supplier from the candidate suppliers; In the method of this embodiment of the invention, after determining the total replenishment quantity, it is necessary to identify candidate suppliers that have not yet been allocated in the current time slice from multiple suppliers that provide the target material, and select one of these candidate suppliers as the target supplier for allocation.

[0055] In some embodiments, step 202 specifically includes the following sub-steps: Sub-step S21: Obtain the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers; In some embodiments, the preset allocation ratio refers to the share that each supplier is expected to bear in this allocation. This ratio can be a pre-configured fixed value or a value that is dynamically adjusted based on factors such as supplier capacity and historical supply.

[0056] The allocated percentage refers to the proportion of the quantity actually allocated to each supplier within the current time slice relative to the total allocated quantity. In the initial allocation of the current time slice, the allocated percentage for each supplier is zero. As the allocation process progresses, each time the final allocation quantity for a particular supplier is determined, the total allocated quantity is updated accordingly, and the allocated percentage for each allocated supplier changes accordingly.

[0057] Sub-step S22: Based on the difference between the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers, the supplier with the largest difference is determined as the target supplier.

[0058] The difference for each supplier equals the supplier's pre-allocated share minus the supplier's already allocated share. For suppliers who have not yet received any allocation, their already allocated share is zero, and the difference is their pre-allocated share itself. This difference reflects the degree to which the supplier's current actual allocation share deviates from the pre-allocated share—the larger the difference, the more "lagging" the supplier is in the completed allocation, meaning the greater the deviation between the actual share received and the share they deserve.

[0059] By identifying the supplier with the largest difference as the target supplier, each allocation prioritizes compensating the currently lagging supplier, thereby gradually bringing the actual allocation ratio of each supplier closer to its preset allocation ratio throughout the allocation process.

[0060] Step 203: Obtain the preset allocation quantity and distribution constraint information of the target supplier; the distribution constraint information includes: the final allocation quantity of the target supplier is not less than the minimum shipment quantity of the target supplier, and the final allocation quantity of the target supplier is an integer multiple of the minimum packaging size of the target supplier; In this embodiment of the invention, after determining the target supplier, the preset allocation quantity and distribution constraint information of the target supplier are obtained. The preset allocation quantity represents the quantity expected to be allocated to the target supplier in the current allocation round, and the distribution constraint information is used to verify and adjust the allocation quantity in subsequent steps.

[0061] In this embodiment of the invention, the allocation constraint information is used to limit the conditions that the final allocation quantity of the target supplier must meet. Specifically, this includes: the final allocation quantity of the target supplier is not less than the target supplier's minimum shipment quantity, and the final allocation quantity of the target supplier is an integer multiple of the target supplier's minimum packaging size. The minimum shipment quantity refers to the minimum order quantity that the supplier can accept; allocation quantities below this quantity will not be accepted by the supplier. The minimum packaging size refers to the packaging unit used by the supplier when shipping; the allocation quantity must be an integer multiple of this packaging unit size, otherwise, difficulties in unpacking or shipping will occur. By setting the above constraints, it is ensured that the final allocation quantity of the target supplier can be normally accepted by the supplier in actual execution, avoiding manual secondary adjustments caused by the allocation quantity not meeting the supplier's actual execution conditions.

[0062] In some embodiments, step 203 specifically includes the following sub-steps: Sub-step S31: Determine the preset allocation ratio of the target supplier; In some embodiments, the preset allocation ratio is a pre-set supply share for each supplier, which can be used to calculate the theoretical allocation amount that the target supplier is expected to undertake within the current time slice. This ratio is usually pre-configured by the enterprise based on factors such as the supplier's capacity, historical cooperation, and supply stability, and can serve as the basis for each supplier to undertake the total replenishment amount during the allocation process.

[0063] Sub-step S32: Determine the target supplier's own allocation amount based on the difference between the replenishment total and the allocated total, and the preset allocation ratio of the target supplier; wherein, the allocated total is the sum of the final allocation amounts of all suppliers whose final allocation amounts have been determined.

[0064] In some embodiments, the total allocated quantity refers to the sum of the final allocation quantities of all suppliers whose final allocation quantities have been determined. Subtracting the total allocated quantity from the total replenishment quantity yields the current unallocated replenishment surplus quantity. Multiplying this surplus quantity by the target supplier's preset allocation ratio yields the target supplier's own allocation quantity to be borne according to the preset ratio within the current time slice.

[0065] The self-allocation quantity reflects the share that the target supplier should receive from the current remaining replenishment quantity according to its own preset ratio.

[0066] In some embodiments, step 203 further includes: Sub-step S41: Add the target supplier's own allocation amount to the previous supplier's unallocated amount to obtain the target supplier's preset allocation amount; wherein, the previous supplier's unallocated amount is the difference between the previous supplier's preset allocation amount and the previous supplier's final allocation amount, and if the previous supplier does not exist, the previous supplier's unallocated amount is zero.

[0067] In some embodiments, the unallocated quantity of the previous supplier refers to the difference between the previous supplier's preset allocation quantity and its final allocation quantity, which represents the portion that the previous supplier failed to take on due to reasons such as allocation constraints.

[0068] The unallocated quantity of the previous supplier can be obtained by subtracting the previous supplier's final allocated quantity from its pre-allocated quantity. When the difference is positive, it indicates that the previous supplier had an unallocated quantity; when the difference is 0, it indicates that the previous supplier had fully accepted its pre-allocated quantity. In the case where there is no previous supplier, that is, at the first allocation, the unallocated quantity of the previous supplier is zero.

[0069] By adding the unallocated quantity from the previous supplier to the preset allocation quantity of the current target supplier, the unallocated quantity from the preceding supplier is transferred to subsequent suppliers. This allows the allocation quantity that cannot be taken by a particular supplier to flow down the supplier sequence, preventing this portion of the quantity from being suspended in the allocation process. For the first target supplier, since there is no previous supplier, the unallocated quantity of the previous supplier is zero, and its preset allocation quantity is its own allocation quantity.

[0070] Step 204: Determine the final allocation quantity of the target supplier based on the preset allocation quantity of the target supplier and the distribution constraint information; After obtaining the target supplier's preset allocation quantity and distribution constraint information, it is necessary to determine the final allocation quantity of the target supplier based on the preset allocation quantity and distribution constraint information.

[0071] In some embodiments, step 204 specifically includes the following sub-steps: Sub-step S51: Obtain the maximum warehouse capacity; The warehouse capacity limit refers to the maximum amount of target material that a warehouse can hold within the current time slice. This limit is determined by the physical capacity of the warehouse.

[0072] During the allocation process of the current time slice, the total amount already allocated and the current inventory together occupy part of the warehouse capacity. Therefore, the total amount allocated in the future cannot exceed the remaining available capacity of the warehouse, otherwise it will lead to a situation where the warehouse capacity is exceeded.

[0073] Sub-step S52: Determine the maximum allowable allocation amount for the target supplier based on the warehouse capacity limit, the current inventory, and the total allocated amount; Specifically, the maximum allowable allocation amount equals the warehouse capacity limit minus the current inventory and then minus the total allocated amount. The current inventory refers to the existing inventory in the warehouse, and the total allocated amount refers to the sum of the final allocations already distributed to other suppliers within the current time slice. Subtracting the current inventory from the warehouse capacity limit yields the warehouse's current remaining available capacity; subtracting the total allocated amount from this gives the maximum quantity that can still be allocated to suppliers in the current allocation phase. This maximum allowable allocation amount represents the upper limit of the allocation amount that the target supplier can obtain within the current time slice. If the preset allocation amount exceeds this upper limit, the allocation amount needs to be reduced to this upper limit to ensure that the total warehouse inventory does not exceed the capacity limit.

[0074] Sub-step S53: If the preset allocation amount does not exceed the maximum allowed allocation amount, the preset allocation amount is used as the allocation amount for the target supplier; if the preset allocation amount exceeds the maximum allowed allocation amount, the maximum allowed allocation amount is used as the allocation amount for the target supplier. In some embodiments, if the preset allocation amount does not exceed the maximum allowed allocation amount, the preset allocation amount can be used as the allocation amount for the target supplier; if the preset allocation amount exceeds the maximum allowed allocation amount, the maximum allowed allocation amount can be used as the allocation amount for the target supplier.

[0075] The above comparison ensures that the allocation quantity from the target supplier will not exceed the warehouse capacity limit. When the preset allocation quantity does not exceed the maximum allowable allocation quantity, it means that the warehouse still has spare capacity after allocating according to the preset allocation quantity, and the preset allocation quantity can be used directly; when the preset allocation quantity exceeds the maximum allowable allocation quantity, it means that the preset allocation quantity exceeds the spare capacity that the warehouse can accept, and the allocation quantity needs to be reduced to the maximum allowable allocation quantity.

[0076] Sub-step S54: The allocation quantity of the target supplier is rounded up according to the minimum packaging specification. If the rounded allocation quantity does not exceed the maximum allowable allocation quantity, the allocation quantity of the target supplier is rounded up; if the rounded allocation quantity exceeds the maximum allowable allocation quantity, the allocation quantity of the target supplier is rounded down. Rounding up means increasing the allocated quantity to a minimum multiple of the original allocated quantity and the smallest possible minimum packaging size. Rounding down means decreasing the allocated quantity to a maximum multiple of the original allocated quantity and the largest possible minimum packaging size. The purpose of rounding is to ensure that the final allocated quantity meets the supplier's requirement of being a multiple of the minimum packaging size.

[0077] In one embodiment, the target supplier's allocation quantity is determined to be 5698 kg after warehouse capacity verification. A supplier's minimum packaging size is 30 kg. 5698 divided by 30 leaves a remainder of 28. Rounding up gives 5700 kg, and rounding down gives 5670 kg. Since the rounded-up 5700 kg exceeds the maximum allowable allocation quantity of 5698 kg, it is rounded down to 5670 kg. Through this rounding operation, while meeting the requirement of packaging size being an integer multiple, priority is given to ensuring that the allocation quantity does not exceed the warehouse capacity limit.

[0078] Sub-step S55: If the rounded allocation amount is less than the minimum shipment amount of the target supplier, the final allocation amount of the target supplier is determined to be zero; if the rounded allocation amount is greater than or equal to the minimum shipment amount of the target supplier, the rounded allocation amount is used as the final allocation amount of the target supplier.

[0079] In some embodiments, when the rounded allocation amount is lower than the minimum shipment amount, it indicates that the allocation amount cannot be actually accepted by the supplier, and therefore it is transferred to unmet demand. This unmet demand can be carried over to subsequent time slices or other processing flows for further allocation. When the rounded allocation amount is not lower than the minimum shipment amount, it indicates that the allocation amount can be actually accepted by the supplier, and it is used as the final allocation amount for the target supplier. Through the above processing, it is ensured that the final allocation amount simultaneously meets the warehouse capacity limit constraint, the minimum packaging size integer multiple constraint, and the minimum shipment amount constraint.

[0080] Step 205: After determining the final allocation amount of the target supplier, re-determine the candidate suppliers that have not been allocated in the current time slice and determine the target supplier from the candidate suppliers until the allocation termination condition is met; the allocation termination condition includes: the total replenishment amount has been allocated, or all suppliers in the current time slice have been allocated.

[0081] In some embodiments, after determining the final allocation amount of the current target supplier, the method of this embodiment continues to perform subsequent allocation operations, that is, re-determine candidate suppliers from the suppliers that have not yet been allocated in the current time slice, and re-determine the target supplier from these candidate suppliers, and cyclically execute steps 202 to 204 until the allocation termination condition is met.

[0082] The allocation termination conditions can include: the total replenishment quantity has been allocated, or all suppliers within the current time slice have completed their allocations. "Total replenishment quantity allocated" means that the entire replenishment quantity has been allocated to each supplier's final allocation, at which point the replenishment demand within the current time slice is fully met, and the allocation process ends. "All suppliers within the current time slice have completed their allocations" means that multiple suppliers providing the target material have been identified as target suppliers and their final allocation quantities have been determined. Even if there is still a remaining replenishment quantity, the allocation process ends at this point. Through this cyclical allocation method, the allocation process within the current time slice sequentially traverses each supplier until the total replenishment quantity is allocated or all suppliers have completed their allocations, ensuring the completeness of the allocation process and the clarity of the termination conditions.

[0083] Step 206: When all suppliers have been allocated within the current time slice and there is an unallocated remaining quantity in the total replenishment quantity, the unallocated remaining quantity is carried over to the next time slice for allocation.

[0084] After allocating to all suppliers within the current time slice, if there is still an unallocated surplus in the total replenishment quantity, this surplus can be carried over to the next time slice for allocation. This unallocated surplus refers to the replenishment quantity that has not yet been accepted by any supplier after the allocation process in steps 201 to 205. Its sources include, but are not limited to: allocation quantities transferred to unmet demand due to the rounded allocation quantity being less than the supplier's minimum shipment quantity, or excess portions truncated due to the preset allocation quantity exceeding the maximum allowable allocation quantity. This unallocated surplus, as unmet demand, is combined with the total replenishment quantity in the next time slice and continues to participate in allocation in the next time slice. Through this carry-over method, a continuous allocation chain is formed between the time slices, and the replenishment quantity that cannot be allocated in the current time slice can be carried over to subsequent time slices for continued allocation.

[0085] This invention, through obtaining the total replenishment quantity of the target material within the current time slice, identifies candidate suppliers that have not been allocated within the current time slice from multiple suppliers providing the target material, and then identifies the target supplier from among these candidate suppliers. It obtains the preset allocation quantity and distribution constraint information of the target supplier, determines the final allocation quantity of the target supplier based on the preset allocation quantity and distribution constraint information, and after determining the final allocation quantity of the target supplier, re-identifies candidate suppliers that have not been allocated within the current time slice and identifies the target supplier from among these candidate suppliers. This process is repeated until the allocation termination condition is met. Thus, the total replenishment quantity is allocated sequentially from supplier to supplier within the current time slice, and the final allocation quantity of each supplier satisfies its distribution constraint, improving replenishment allocation efficiency.

[0086] It should be noted that the multi-supplier material allocation method provided in this embodiment of the invention can be executed by a multi-supplier material allocation device, or a control module within the multi-supplier material allocation device for executing the loading of the multi-supplier material allocation method. This embodiment of the invention uses the execution of the loading of the multi-supplier material allocation method by a multi-supplier material allocation device as an example to illustrate the multi-supplier material allocation method provided in this embodiment of the invention.

[0087] Figure 3 This is a structural block diagram of a multi-supplier material distribution device provided in an embodiment of the present invention.

[0088] like Figure 3 As shown in the figure, a multi-supplier material distribution device provided in this embodiment of the invention may specifically include the following modules: The replenishment total quantity acquisition module 301 is used to acquire the total replenishment quantity of the target material within the current time slice; The target supplier determination module 302 is used to determine, from a plurality of suppliers providing the target material, candidate suppliers that have not been assigned in the current time slice and to determine the target supplier from the candidate suppliers; The order fulfillment constraint module 303 is used to obtain the preset allocation quantity and order fulfillment constraint information of the target supplier; the order fulfillment constraint information includes: the final allocation quantity of the target supplier is not less than the minimum shipment quantity of the target supplier, and the final allocation quantity of the target supplier is an integer multiple of the minimum packaging size of the target supplier; The final allocation quantity determination module 304 is used to determine the final allocation quantity of the target supplier based on the preset allocation quantity of the target supplier and the distribution constraint information; The allocation loop module 305 is used to, after determining the final allocation amount of the target supplier, re-determine the candidate suppliers that have not been allocated in the current time slice and determine the target supplier from the candidate suppliers until the allocation termination condition is met.

[0089] In some embodiments, the replenishment quantity acquisition module 301 includes: The data acquisition submodule is used to acquire the total production demand, current inventory, and minimum safety stock of the target material within the current time slice; The replenishment quantity determination submodule is used to subtract the current inventory from the sum of the total production demand and the minimum safety stock to obtain the replenishment quantity.

[0090] In some embodiments, the target supplier determination module 302 includes: The allocation ratio acquisition submodule is used to acquire the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers; The target supplier determination submodule is used to determine the supplier with the largest difference between the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers as the target supplier.

[0091] In some embodiments, the delivery constraint module 303 includes: The preset allocation ratio determination submodule is used to determine the preset allocation ratio of the target supplier; The self-allocation quantity determination submodule is used to determine the self-allocation quantity of the target supplier based on the difference between the replenishment quantity and the allocated quantity, and the preset allocation ratio of the target supplier; wherein, the allocated quantity is the sum of the final allocation quantities of all suppliers whose final allocation quantities have been determined.

[0092] In some embodiments, the delivery constraint module 303 further includes: The preset allocation quantity determination submodule is used to add the target supplier's own allocation quantity to the unallocated quantity of the previous supplier as the preset allocation quantity of the target supplier; wherein, the unallocated quantity of the previous supplier is the difference between the preset allocation quantity of the previous supplier and the final allocation quantity of the previous supplier, and if the previous supplier does not exist, the unallocated quantity of the previous supplier is zero.

[0093] In some embodiments, the final allocation determination module 304 includes: The capacity limit retrieval submodule is used to retrieve the warehouse capacity limit; The maximum allowable allocation quantity determination submodule is used to determine the maximum allowable allocation quantity of the target supplier based on the warehouse capacity limit, the current inventory, and the total allocated quantity; The first allocation quantity determination submodule is used to use the preset allocation quantity as the allocation quantity of the target supplier when the preset allocation quantity does not exceed the maximum allowable allocation quantity; The second allocation quantity determination submodule is used to use the maximum allowable allocation quantity as the allocation quantity of the target supplier when the preset allocation quantity exceeds the maximum allowable allocation quantity. The allocation quantity rounding submodule is used to round the allocation quantity of the target supplier according to the minimum packaging specification. If the rounded allocation quantity does not exceed the maximum allowable allocation quantity, the allocation quantity of the target supplier is rounded up; if the rounded allocation quantity exceeds the maximum allowable allocation quantity, the allocation quantity of the target supplier is rounded down. The first final allocation quantity determination submodule is used to determine the final allocation quantity of the target supplier as zero if the rounded allocation quantity is less than the minimum shipment quantity of the target supplier. The second final allocation quantity determination submodule is used to take the rounded allocation quantity as the final allocation quantity of the target supplier when the rounded allocation quantity is greater than or equal to the minimum shipment quantity of the target supplier.

[0094] The conditions for terminating the allocation include: the total replenishment volume has been allocated, or all suppliers within the current time slice have been allocated.

[0095] In some embodiments, the apparatus further includes: The unallocated surplus quantity carryover module is used to carry over the unallocated surplus quantity to the next time slice for allocation when all suppliers have completed their allocations within the current time slice and there is an unallocated surplus quantity in the total replenishment quantity.

[0096] This invention, through obtaining the total replenishment quantity of the target material within the current time slice, identifies candidate suppliers that have not been allocated within the current time slice from multiple suppliers providing the target material, and then identifies the target supplier from among these candidate suppliers. It obtains the preset allocation quantity and distribution constraint information of the target supplier, determines the final allocation quantity of the target supplier based on the preset allocation quantity and distribution constraint information, and after determining the final allocation quantity of the target supplier, re-identifies candidate suppliers that have not been allocated within the current time slice and identifies the target supplier from among these candidate suppliers. This process is repeated until the allocation termination condition is met. Thus, the total replenishment quantity is allocated sequentially from supplier to supplier within the current time slice, and the final allocation quantity of each supplier satisfies its distribution constraint, improving replenishment allocation efficiency.

[0097] As the apparatus embodiment is basically similar to the method embodiment, it is described in a relatively simple manner. For relevant details, please refer to the description of the method embodiment.

[0098] This invention also provides an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the various processes of the above-described multi-supplier material allocation method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0099] It should be noted that the electronic devices in the embodiments of the present invention include the mobile electronic devices and non-mobile electronic devices described above.

[0100] This invention also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described multi-supplier material allocation method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0101] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0102] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0103] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0104] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0105] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0106] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0107] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0108] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0109] The foregoing has provided a detailed description of a multi-supplier material allocation method, apparatus, electronic device, and computer-readable storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for allocating materials from multiple suppliers, characterized in that, The method includes: Get the total replenishment quantity of the target material within the current time slice; From a plurality of suppliers providing the target material, identify candidate suppliers that have not been assigned within the current time slice, and from the candidate suppliers identify the target supplier; Obtain the preset allocation quantity and distribution constraint information of the target supplier; the distribution constraint information includes: the final allocation quantity of the target supplier is not less than the minimum shipment quantity of the target supplier, and the final allocation quantity of the target supplier is an integer multiple of the minimum packaging size of the target supplier; The final allocation quantity of the target supplier is determined based on the preset allocation quantity of the target supplier and the distribution constraint information; After determining the final allocation amount of the target supplier, the candidate suppliers that have not been allocated in the current time slice are re-identified, and the target supplier is determined from the candidate suppliers until the allocation termination condition is met.

2. The multi-supplier material allocation method according to claim 1, characterized in that, The process of obtaining the total replenishment quantity of the target material within the current time slice includes: Obtain the total production demand, current inventory, and minimum safety stock of the target material within the current time slice; The total replenishment quantity is calculated by subtracting the current inventory from the sum of the total production demand and the minimum safety stock.

3. The multi-supplier material allocation method according to claim 1, characterized in that, The step of determining the target supplier from the candidate suppliers includes: Obtain the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers; Based on the difference between the preset allocation ratio of the multiple suppliers and the allocated ratio of the multiple suppliers, the supplier with the largest difference is determined as the target supplier.

4. The multi-supplier material allocation method according to claim 2, characterized in that, The step of obtaining the preset allocation amount from the target supplier includes: Determine the preset allocation ratio of the target suppliers; The target supplier's own allocation is determined based on the difference between the total replenishment quantity and the total allocated quantity, and the preset allocation ratio of the target supplier; wherein, the total allocated quantity is the sum of the final allocation quantities of all suppliers whose final allocation quantities have been determined.

5. The multi-supplier material allocation method according to claim 4, characterized in that, The step of obtaining the preset allocation amount from the target supplier further includes: The target supplier's own allocation amount is added to the previous supplier's unallocated amount to obtain the target supplier's preset allocation amount; wherein, the previous supplier's unallocated amount is the difference between the previous supplier's preset allocation amount and the previous supplier's final allocation amount, and if the previous supplier does not exist, the previous supplier's unallocated amount is zero.

6. The multi-supplier material allocation method according to claim 5, characterized in that, The step of determining the final allocation quantity of the target supplier based on the preset allocation quantity of the target supplier and the distribution constraint information includes: Get the warehouse capacity limit; The maximum allowable allocation to the target supplier is determined based on the warehouse capacity limit, the current inventory, and the total allocated quantity. If the preset allocation amount does not exceed the maximum allowable allocation amount, the preset allocation amount shall be used as the allocation amount for the target supplier. If the preset allocation amount exceeds the maximum allowed allocation amount, the maximum allowed allocation amount shall be used as the allocation amount for the target supplier. The allocation quantity to the target supplier is rounded up according to the minimum packaging size. If the rounded-up allocation quantity does not exceed the maximum allowable allocation quantity, the allocation quantity to the target supplier is rounded up. If the rounded-up allocation quantity exceeds the maximum allowable allocation quantity, the allocation quantity to the target supplier is rounded down. If the rounded allocation is less than the target supplier's minimum shipment quantity, the target supplier's final allocation is set to zero. If the rounded allocation is greater than or equal to the target supplier's minimum shipment quantity, the rounded allocation shall be used as the target supplier's final allocation.

7. The multi-supplier material allocation method according to claim 1, characterized in that, The conditions for terminating the allocation include: the total replenishment volume has been allocated, or all suppliers within the current time slice have been allocated.

8. The multi-supplier material allocation method according to claim 7, characterized in that, The method further includes: When all suppliers have been allocated within the current time slice and there is an unallocated remaining quantity in the total replenishment quantity, the unallocated remaining quantity will be carried over to the next time slice for allocation.

9. A multi-supplier material distribution device, characterized in that, The device includes: The replenishment total quantity acquisition module is used to obtain the total replenishment quantity of the target material within the current time slice; The target supplier determination module is used to determine, from a plurality of suppliers providing the target material, candidate suppliers that have not been assigned in the current time slice, and to determine the target supplier from the candidate suppliers; The shipment constraint module is used to obtain the preset allocation quantity and shipment constraint information of the target supplier; the shipment constraint information includes: the final allocation quantity of the target supplier is not less than the minimum shipment quantity of the target supplier, and the final allocation quantity of the target supplier is an integer multiple of the minimum packaging size of the target supplier; The final allocation quantity determination module is used to determine the final allocation quantity of the target supplier based on the preset allocation quantity of the target supplier and the distribution constraint information; The allocation loop module is used to, after determining the final allocation amount of the target supplier, re-determine the candidate suppliers that have not been allocated in the current time slice and determine the target supplier from the candidate suppliers until the allocation termination condition is met.

10. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the multi-supplier material allocation method as described in claims 1-8.

11. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the multi-supplier material allocation method as described in claims 1-8.