A warehouse material intelligent distribution method, device, equipment and storage medium

CN116205562BActive Publication Date: 2026-08-21DATANG INTERNET TECH (WUHAN) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211672026.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2026-08-21
Estimated Expiration
2042-12-26

AI Technical Summary

Technical Problem

[0005]有鉴于此,有必要提供一种仓库物料的智能分配方法、装置、设备及存储介质,用以解决现有技术中人工分配物料速度慢、效率低、浪费仓库的人力物力资源的问题

Benefits of technology

[0043]采用上述实施例的有益效果是:本发明涉及一种仓库物料的智能分配方法、装置、设备及存储介质,该方法包括:获取订单需求,根据所述订单需求确定所有仓库物料信息,并建立初始化MAP集合;根据所述仓库物料信息和所述初始化MAP集合枚举所有的仓库组合,得到仓库组合MAP集合;根据所述订单需求和所述仓库组合MAP集合确定满足所述订单需求的最小物料MAP集合;对所述最小物料MAP集合进行回溯,确定满足所述订单需求的仓库组合。本发明提供的一种仓库物料的智能

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116205562B_ABST
    Figure CN116205562B_ABST
Patent Text Reader

Abstract

The application relates to a warehouse material intelligent distribution method, device, equipment and storage medium, the method comprises the following steps: acquiring order demand, determining all warehouse material information according to the order demand, and establishing an initialization MAP set; all warehouse combinations are enumerated according to the warehouse material information and the initialization MAP set, and a warehouse combination MAP set is obtained; the minimum material MAP set meeting the order demand is determined according to the order demand and the warehouse combination MAP set; the minimum material MAP set is backtracked to determine the warehouse combination meeting the order demand. The warehouse material intelligent distribution method, device, equipment and storage medium provided by the application can automatically analyze the material conditions in each warehouse after the order demand is acquired, and the optimal combination of warehouse distribution is obtained according to the material conditions in each warehouse, so that the material distribution efficiency is improved, and the human and material resources of the warehouse are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of warehouse information management technology, and in particular to an intelligent allocation method, device, equipment and storage medium for warehouse materials. Background Technology

[0002] Modern "warehousing" is not "warehouse" or "warehouse management" in the traditional sense, but warehousing in the context of economic globalization and supply chain integration. It is warehousing in the modern logistics system. It refers to an activity or process that aims to meet the needs of the upstream and downstream of the supply chain. It involves the effective planning, execution and control of the entry, exit, inventory, sorting, packaging, distribution and related information of goods in specific tangible or intangible places using modern technology.

[0003] In existing technologies, orders are analyzed manually to determine the types and quantities of materials required. Then, materials are allocated based on the availability of materials in each warehouse to extract the required types and quantities for each order, thus completing the order allocation.

[0004] However, manual material allocation requires personnel to be aware of the material status in each warehouse in a timely manner and to quickly analyze allocation plans based on order requirements. This places high demands on the personnel and is slow and inefficient, resulting in a serious waste of warehouse human and material resources. Summary of the Invention

[0005] In view of this, it is necessary to provide an intelligent allocation method, device, equipment and storage medium for warehouse materials to solve the problems of slow speed, low efficiency and waste of warehouse human and material resources in the existing technology of manual material allocation.

[0006] To achieve the above-mentioned technical objectives, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides an intelligent allocation method for warehouse materials, comprising:

[0008] Obtain order requirements, determine all warehouse material information based on order requirements, and create an initial MAP set;

[0009] Based on the warehouse material information and the initial MAP set, enumerate all warehouse combinations to obtain the warehouse combination MAP set;

[0010] Determine the minimum set of material MAPs that can satisfy the order requirements based on the order demand and the warehouse combination MAP set;

[0011] Backtrack the minimum material MAP set to determine the warehouse combination that meets the order requirements.

[0012] In some possible implementations, the MAP set includes material quantity information; based on the warehouse material information and the initialized MAP set, all warehouse combinations are enumerated to obtain the warehouse combination MAP set, which includes:

[0013] Set the warehouse portfolio MAP set to the initial MAP set;

[0014] Iterate through all warehouses and update the warehouse combination MAP set based on the warehouse material information of the current warehouse and the material quantity information in the warehouse combination MAP set.

[0015] In some possible implementations, the MAP set also includes warehouse combination information; iterate through all warehouses, copy the warehouse combination MAP set, add the material quantity information of the current warehouse to the material quantity information in the copied warehouse combination MAP set, and update the warehouse combination MAP set, including:

[0016] Copy the current warehouse combination MAP set to obtain the traversed warehouse combination MAP set and a temporary warehouse combination MAP set;

[0017] Add the current warehouse material quantity information to the temporary warehouse combination MAP set of material quantity information;

[0018] Set the first element of the warehouse combination information in the warehouse combination MAP set to the current warehouse number;

[0019] Update the warehouse combination MAP set based on the traversed warehouse combination MAP set and the temporary warehouse combination MAP set.

[0020] In some possible implementations, the minimum set of material MAPs that satisfies the order requirements is determined based on the order demand and the warehouse combination MAP set, including:

[0021] Based on a preset recursive function, the number of warehouses included in the material quantity information in the warehouse combination MAP set is determined recursively by applying the second element in the warehouse combination information according to the warehouse combination MAP set.

[0022] Iterate through the warehouse combination MAP set to determine the minimum material MAP set that meets the order requirements.

[0023] Among some possible implementations, determining the minimum material MAP set to satisfy order requirements based on order demand and the warehouse portfolio MAP set also includes:

[0024] Iterate through all warehouse combination MAP sets and set the value of the third element in the warehouse combination information to the value of the first element.

[0025] In some possible implementations, the warehouse combination MAP set is traversed to determine the minimum material MAP set that satisfies the order requirements, including:

[0026] Traverse the warehouse combination MAP set and determine the warehouse combination MAP set where the material quantity information is greater than the order demand to obtain the first warehouse combination MAP set;

[0027] Find the MAP set with the smallest second element among all the first warehouse combination MAP sets to obtain the second warehouse combination MAP set;

[0028] The minimum material MAP set is obtained by identifying the MAP set with the smallest sum of material quantity information from all second warehouse combination MAP sets.

[0029] In some possible implementations, backtracking is performed on the minimum material MAP set to determine the warehouse combination that meets the order requirements, including:

[0030] Record the third element in the warehouse combination information of the minimum material MAP set, and obtain the material quantity information of the warehouse corresponding to the third element;

[0031] Subtract the material quantity information of the warehouse corresponding to the third element from the material quantity information in the minimum material MAP set;

[0032] Update the minimum material MAP set based on the material quantity information in the warehouse portfolio MAP set to obtain the backtracking MAP set;

[0033] Record the third element in the warehouse combination information of the backtracking MAP set, and subtract the material quantity information of the warehouse corresponding to the third element in turn until all material quantity information is zero.

[0034] Secondly, the present invention also provides an intelligent distribution device for warehouse materials, comprising:

[0035] The initialization module is used to obtain order requirements, determine all warehouse material information based on order requirements, and establish an initial MAP set;

[0036] The enumeration module is used to enumerate all warehouse combinations based on warehouse material information and the initial MAP set, and obtain the warehouse combination MAP set;

[0037] The set determination module determines the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set;

[0038] The backtracking module is used to backtrack the minimum material MAP set to determine the warehouse combination that meets the order requirements.

[0039] Thirdly, the present invention also provides an electronic device, including a memory and a processor, wherein,

[0040] Memory, used to store programs;

[0041] The processor, coupled to the memory, is used to execute the program stored in the memory to implement the steps in the intelligent allocation method of warehouse materials in any of the above implementations.

[0042] Fourthly, the present invention also provides a computer-readable storage medium for storing a computer-readable program or instruction, which, when executed by a processor, can implement the steps of the intelligent allocation method for warehouse materials in any of the above implementations.

[0043] The beneficial effects of the above embodiments are as follows: This invention relates to an intelligent allocation method, apparatus, device, and storage medium for warehouse materials. The method includes: acquiring order requirements; determining all warehouse material information based on the order requirements and establishing an initial MAP set; enumerating all warehouse combinations based on the warehouse material information and the initial MAP set to obtain a warehouse combination MAP set; determining the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set; and backtracking the minimum material MAP set to determine the warehouse combination that satisfies the order requirements. This invention provides an intelligent allocation method for warehouse materials.

[0044] The allocation method, device, equipment, and storage medium can automatically analyze the material situation in five warehouses after obtaining order requirements to determine all possible warehouse combination MAP sets. It analyzes the warehouse combination MAP sets to determine the minimum material MAP set that meets the order requirements and backtracks to determine the warehouse combination that meets the order requirements. This eliminates the need for manual analysis, improves the efficiency of material allocation, and saves warehouse manpower and material resources. Attached Figure Description

[0045] Figure 1 A flowchart illustrating an embodiment of the intelligent allocation method for warehouse materials provided by the present invention;

[0046] Figure 2 A flowchart illustrating an embodiment of the updated repository combination MAP set provided by the present invention;

[0047] Figure 3 A flowchart illustrating an embodiment of the present invention for determining the minimum material MAP set;

[0048] Figure 4 for Figure 1 A flowchart illustrating an embodiment of step S104;

[0049] Figure 5 A schematic diagram of the structure of an embodiment of the intelligent distribution device for warehouse materials provided by the present invention;

[0050] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0051] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.

[0052] In the description of this application, "multiple" means two or more, unless otherwise expressly and specifically defined.

[0053] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0054] This invention provides a method, apparatus, equipment, and storage medium for intelligent allocation of warehouse materials, which will be described below.

[0055] Please see Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the intelligent allocation method for warehouse materials provided by the present invention. A specific embodiment of the present invention discloses an intelligent allocation method for warehouse materials, comprising:

[0056] S101. Obtain order requirements, determine all warehouse material information based on order requirements, and establish an initial MAP set;

[0057] S102. Based on the warehouse material information and the initial MAP set, enumerate all warehouse combinations to obtain the warehouse combination MAP set;

[0058] S103. Determine the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set;

[0059] S104. Backtrack the minimum material MAP set to determine the warehouse combination that meets the order requirements.

[0060] In the above embodiments, order information is received in real time. The order information includes the type and quantity of the required materials. After receiving the order information, the quantity of the required material type in all warehouses is determined according to the type of the required material in the order information, that is, the material information of all warehouses is determined.

[0061] The MAP set stores elements in key-value pairs, including a KEY and a VALUE. It's important to note that in the initial MAP set, all elements with the KEY are zero, and the number of elements with the KEY corresponds to the number of material types required in the order information. The VALUE points to a TUPLE class, which contains three values: A) the set of previously occupied warehouse numbers to reach the current material quantity; B) the minimum number of warehouses required to satisfy the order's material types and quantities; and C) the previously occupied warehouse number. The VALUE of the initial MAP set contains a value... A TUPLE object, where A is an empty set, B is 0, and C is -1.

[0062] The purpose of enumerating all warehouse combinations based on warehouse material information and initializing the MAP set is to obtain all possible combinations of material types in the order requirements. All possible combinations of material types and quantities in the warehouse are represented by KEY keys in the MAP set, and the values ​​of the elements in the VALUE value are reset to finally obtain the warehouse combination MAP set.

[0063] Based on order requirements, all warehouse combination MAP sets are filtered out. First, the warehouse combination MAP sets that can meet the order requirements are determined. Then, the warehouse combination MAP sets that can meet the order requirements are further analyzed to determine the optimal warehouse combination with the minimum number of warehouses and materials that need to be scheduled, i.e., the minimum material MAP set.

[0064] After determining the minimum material MAP set, it is necessary to backtrack based on the VALUE value to determine the warehouses that need to allocate materials. When determining all warehouse material information based on order requirements, it is necessary to number the warehouses, backtrack based on the minimum material MAP set, and determine the warehouse combination that meets the order requirements, i.e., determine the required warehouse numbers.

[0065] Compared with existing technologies, this embodiment provides an intelligent allocation method for warehouse materials. The method includes: acquiring order requirements; determining all warehouse material information based on the order requirements and establishing an initial MAP set; enumerating all warehouse combinations based on the warehouse material information and the initial MAP set to obtain a warehouse combination MAP set; determining the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set; and backtracking the minimum material MAP set to determine the warehouse combination that satisfies the order requirements. This invention provides an intelligent allocation method, apparatus, device, and storage medium for warehouse materials. After acquiring order requirements, it can automatically analyze the material situation in each warehouse to determine all possible warehouse combination MAP sets, analyze the warehouse combination MAP sets to determine the minimum material MAP set that satisfies the order requirements, and backtrack to determine the warehouse combination that satisfies the order requirements. This eliminates the need for manual analysis, improves the efficiency of material allocation, and saves warehouse human and material resources.

[0066] In some embodiments of the present invention, the MAP set includes material quantity information; based on the warehouse material information and the initialized MAP set, all warehouse combinations are enumerated to obtain a warehouse combination MAP set, including:

[0067] Set the warehouse portfolio MAP set to the initial MAP set;

[0068] Iterate through all warehouses and update the warehouse combination MAP set based on the warehouse material information of the current warehouse and the material quantity information in the warehouse combination MAP set.

[0069] In the above embodiment, the material quantity information is recorded using a KEY key. Before traversing all warehouses, the warehouse combination MAP set is set as the initial MAP set to facilitate subsequent looping and updating of the warehouse combination MAP set.

[0070] The process iterates through all warehouses, comprising two loops. The first loop iterates between the warehouse combination MAP set and the current warehouse number, looping the number of times the number of warehouses is reached. The second loop, while iterating over the current warehouse, copies the warehouse combination MAP set, resulting in multiple warehouse combination MAP sets. Each warehouse combination MAP set is then processed during the iteration over the current warehouse number. The second loop iterates the number of warehouse combination MAP sets at the time of iteration for the current warehouse number. Through these two loops, all possible material quantities can be obtained.

[0071] It should be noted that the number of warehouse combination MAP sets obtained through these two loops is 2 to the power of N (N represents the number of warehouses).

[0072] Please see Figure 2 , Figure 2 This is a flowchart illustrating an embodiment of updating the warehouse combination MAP set provided by the present invention. In some embodiments of the present invention, the MAP set further includes warehouse combination information; traversing all warehouses, copying the warehouse combination MAP set, adding the material quantity information of the current warehouse to the material quantity information in the copied warehouse combination MAP set, and updating the warehouse combination MAP set, including:

[0073] S201. Copy the current warehouse combination MAP set to obtain the traversed warehouse combination MAP set and a temporary warehouse combination MAP set.

[0074] S202. Add the material quantity information of the current warehouse to the material quantity information in the temporary warehouse combination MAP set;

[0075] S203. Set the first element of the warehouse combination information in the warehouse combination MAP set to the current warehouse number;

[0076] S204. Update the warehouse combination MAP set based on the traversed warehouse combination MAP set and the temporary warehouse combination MAP set.

[0077] In the above embodiment, during the first loop, the current warehouse combination MAP set is copied first, resulting in two sets of current warehouse combination MAP sets. One set is the warehouse combination MAP set that has been traversed, and the other set is a temporary warehouse combination MAP set. Subsequent traversal of all warehouses only requires processing the temporary warehouse combination MAP set.

[0078] In the second loop, the material quantity information of the current warehouse is added to the material quantity information in the warehouse combination MAP set one by one according to the corresponding material type, so as to obtain the possible combinations of material types and quantities in the current warehouse and material types and quantities in the previous loop warehouse, and the temporary warehouse combination MAP set is updated.

[0079] At the end of the second loop, the first element of the warehouse combination information in the warehouse combination MAP set needs to be set to the current warehouse number, indicating that the current MAP set has completed the loop for the warehouse with that number. It should be noted that both the already traversed warehouse combination MAP set and the temporary warehouse combination MAP set need to be processed at this point. The second element of the warehouse combination information also needs to be set to -1.

[0080] At the end of the two-level loop of the current warehouse, the warehouse combination MAP set is updated according to the traversed warehouse combination MAP set and the temporary warehouse combination MAP set to obtain a new warehouse combination MAP set, which serves as the initial warehouse combination MAP set when looping for the next numbered warehouse.

[0081] After traversing all warehouses, we obtain the MAP set of all possible warehouses, including the MAP set of 2 to the power of N warehouse combinations.

[0082] In some embodiments of the present invention, determining the minimum material MAP set that satisfies the order requirements based on the order demand and the warehouse combination MAP set includes:

[0083] Based on a preset recursive function, the number of warehouses included in the material quantity information in the warehouse combination MAP set is determined recursively by applying the second element in the warehouse combination information according to the warehouse combination MAP set.

[0084] Iterate through the warehouse combination MAP set to determine the minimum material MAP set that meets the order requirements.

[0085] In the above embodiment, the second element in the warehouse combination MAP set, i.e. element B in the VALUE value, is processed by a preset recursive function. The number of times the material quantity information in the warehouse combination MAP set is added is determined by the recursive function.

[0086] It should be noted that recursive functions are existing technology. This invention only needs to determine the number of times the material quantity information of the warehouse combination MAP set is added through recursive functions, and does not impose any further restrictions on which recursive function to use. Existing technologies have already provided detailed descriptions of recursive functions, and this invention does not need to elaborate on them.

[0087] In some embodiments of the present invention, determining the minimum material MAP set that satisfies the order requirements based on the order demand and the warehouse combination MAP set further includes:

[0088] Iterate through all warehouse combination MAP sets and set the value of the third element in the warehouse combination information to the value of the first element.

[0089] In the above embodiment, the third element in the warehouse combination information, which is the warehouse number previously adopted, is set to the value of the first element to determine the corresponding warehouse number for the operation.

[0090] Please see Figure 3 , Figure 3 This is a flowchart illustrating an embodiment of the present invention for determining the minimum material MAP set. In some embodiments of the present invention, the minimum material MAP set that satisfies order requirements is determined by traversing the warehouse combination MAP set, including:

[0091] S301. Traverse the warehouse combination MAP set and determine the warehouse combination MAP set where the material quantity information is greater than the order demand to obtain the first warehouse combination MAP set.

[0092] S302. Find the MAP set with the smallest second element among all the first warehouse combination MAP sets to obtain the second warehouse combination MAP set.

[0093] S303. Determine the MAP set with the smallest sum of material quantity information from all second warehouse combination MAP sets to obtain the minimum material MAP set.

[0094] In the above embodiments, the order requirements are compared one by one with the warehouse combination MAP set to determine the warehouse combination MAP set where the material quantity information is greater than the order requirements. It should be noted that the material types and quantities in the order requirements need to be compared one by one with the material quantity information in the warehouse combination MAP set. Only when the quantity of each type of material in the warehouse combination MAP set is greater than the quantity of material in the order requirements is the order requirements satisfied. The warehouse combination MAP set that meets the conditions is the first warehouse combination MAP set.

[0095] Understandably, if none of the warehouse combination MAP sets meet the conditions, the order cannot be fulfilled and the ingredients cannot be prepared.

[0096] When multiple warehouse combination MAP sets meet the order requirements, find the MAP set with the smallest second element among all the first warehouse combination MAP sets, that is, the material combination with the smallest number of warehouses that need to be prepared, and obtain the second warehouse combination MAP set.

[0097] It is understandable that at least one second warehouse combination MAP set that meets the requirements can be obtained based on the first warehouse combination MAP set.

[0098] When multiple second warehouse combination MAP sets exist, the optimal batching scheme, i.e. the minimum material MAP set, is further determined by calculating the sum of the material quantity information.

[0099] Please see Figure 4 , Figure 4 for Figure 1 A flowchart illustrating an embodiment of step S104. In some embodiments of the present invention, backtracking is performed on the minimum material MAP set to determine the warehouse combination that meets the order requirements, including:

[0100] S401. Record the third element in the warehouse combination information of the minimum material MAP set, and obtain the material quantity information of the warehouse corresponding to the third element.

[0101] S402. Subtract the material quantity information of the warehouse corresponding to the third element from the material quantity information in the minimum material MAP set;

[0102] S403. Update the minimum material MAP set based on the material quantity information in the warehouse combination MAP set to obtain the backtracking MAP set;

[0103] S404. Record the third element in the warehouse combination information of the backtracking MAP set, and subtract the material quantity information of the warehouse corresponding to the third element in turn until all material quantity information is zero.

[0104] In the above embodiment, during backtracking, the third element in the warehouse combination information of the minimum material MAP set is recorded, which represents the warehouse number where the material quantity information was last added, and the material quantity information of the warehouse corresponding to that warehouse number is obtained.

[0105] The material quantity information of the current minimum material MAP set is subtracted from the material quantity information of the warehouse corresponding to the third element, thus achieving a backtracking. At this time, the material quantity information is the data when the minimum material MAP set did not include the material quantity information of the last warehouse.

[0106] Updating the minimum material MAP set based on the material quantity information in the warehouse combination MAP set means determining the corresponding warehouse combination MAP set based on the material quantity information after subtraction in step S402, and setting the determined warehouse combination MAP set as the backtracking MAP set, which is the minimum material MAP set for the next backtracking.

[0107] The third element in the warehouse combination information is the warehouse number that was added to the material quantity information for the second to last time. Similarly, the material quantity information of the warehouse corresponding to the third element needs to be subtracted from the material quantity information in the MAP set. This second backtracking is performed, and the above operation is repeated until all material quantity information is zero, which completes the backtracking. The set of all the third elements recorded is the set of warehouse numbers that need to be allocated. At this time, the allocation can be performed based on the set of warehouse numbers.

[0108] To better implement the intelligent allocation method for warehouse materials in this embodiment of the invention, based on the intelligent allocation method for warehouse materials, please refer to the corresponding documentation. Figure 5 , Figure 5 This is a schematic diagram of an embodiment of the intelligent warehouse material distribution device provided by the present invention. The embodiment of the present invention provides an intelligent warehouse material distribution device 500, comprising:

[0109] The initialization module 510 is used to obtain order requirements, determine all warehouse material information based on order requirements, and establish an initial MAP set.

[0110] Enumeration module 520 is used to enumerate all warehouse combinations based on warehouse material information and the initial MAP set, and obtain the warehouse combination MAP set;

[0111] The set determination module 530 determines the minimum material MAP set that meets the order requirements based on the order requirements and the warehouse combination MAP set;

[0112] The backtracking module 540 is used to backtrack the minimum material MAP set to determine the warehouse combination that meets the order requirements.

[0113] It should be noted that the device 500 provided in the above embodiments can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can be found in the corresponding content in the above method embodiments, and will not be repeated here.

[0114] Please see Figure 6 , Figure 6 This is a schematic diagram of the electronic device provided in an embodiment of the present invention. Based on the above-described intelligent allocation method for warehouse materials, the present invention also provides an intelligent allocation device for warehouse materials. The intelligent allocation device for warehouse materials can be a computing device such as a mobile terminal, desktop computer, laptop, handheld computer, or server. The intelligent allocation device for warehouse materials includes a processor 610, a memory 620, and a display 630. Figure 6 Only some components of the electronic device are shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0115] In some embodiments, the memory 620 may be an internal storage unit of the intelligent warehouse material distribution device, such as a hard drive or memory of the intelligent warehouse material distribution device. In other embodiments, the memory 620 may be an external storage device of the intelligent warehouse material distribution device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the intelligent warehouse material distribution device. Further, the memory 620 may include both internal and external storage units of the intelligent warehouse material distribution device. The memory 620 is used to store application software and various types of data installed on the intelligent warehouse material distribution device, such as the program code of the intelligent warehouse material distribution device. The memory 620 may also be used to temporarily store data that has been output or will be output. In one embodiment, the memory 620 stores an intelligent warehouse material distribution program 640, which can be executed by the processor 610 to implement the intelligent warehouse material distribution method of the various embodiments of this application.

[0116] In some embodiments, processor 610 may be a central processing unit (CPU), microprocessor, or other data processing chip, used to run program code stored in memory 620 or process data, such as executing intelligent allocation methods for warehouse materials.

[0117] In some embodiments, display 630 may be an LED display, a liquid crystal display, a touch-screen liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 630 is used to display information from the intelligent dispensing equipment for warehouse materials and to display a visual user interface. Components 610-630 of the intelligent dispensing equipment for warehouse materials communicate with each other via a system bus.

[0118] In one embodiment, when the processor 610 executes the intelligent allocation program 640 for warehouse materials in the memory 620, the steps in the intelligent allocation method for warehouse materials described above are implemented.

[0119] This embodiment also provides a computer-readable storage medium storing an intelligent allocation program for warehouse materials. When executed by a processor, the intelligent allocation program for warehouse materials performs the following steps:

[0120] Obtain order requirements, determine all warehouse material information based on order requirements, and create an initial MAP set;

[0121] Based on the warehouse material information and the initial MAP set, enumerate all warehouse combinations to obtain the warehouse combination MAP set;

[0122] Determine the minimum set of material MAPs that can satisfy the order requirements based on the order demand and the warehouse combination MAP set;

[0123] Backtrack the minimum material MAP set to determine the warehouse combination that meets the order requirements.

[0124] In summary, this embodiment provides an intelligent allocation method, apparatus, device, and storage medium for warehouse materials. The method includes: acquiring order requirements; determining all warehouse material information based on the order requirements and establishing an initial MAP set; enumerating all warehouse combinations based on the warehouse material information and the initial MAP set to obtain a warehouse combination MAP set; determining the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set; and backtracking the minimum material MAP set to determine the warehouse combination that satisfies the order requirements. This invention provides an intelligent allocation method, apparatus, device, and storage medium for warehouse materials. After acquiring order requirements, it can automatically analyze the material situation in each warehouse to determine all possible warehouse combination MAP sets, analyze the warehouse combination MAP sets to determine the minimum material MAP set that satisfies the order requirements, and backtrack to determine the warehouse combination that satisfies the order requirements. This eliminates the need for manual analysis, improves the efficiency of material allocation, and saves warehouse human and material resources.

[0125] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for intelligent allocation of warehouse materials, characterized in that, include: Obtain order requirements, determine all warehouse material information based on the order requirements, and establish an initial MAP set; Based on the warehouse material information and the initial MAP set, all warehouse combinations are enumerated to obtain the warehouse combination MAP set; Determine the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set; Backtrack the minimum material MAP set to determine the warehouse combination that meets the order requirements; The step of determining the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set includes: Based on a preset recursive function, the number of warehouses included in the material quantity information in the warehouse combination MAP set is determined recursively by applying the second element in the warehouse combination information according to the warehouse combination MAP set. Traverse the warehouse combination MAP set to determine the minimum material MAP set that satisfies the order requirements; The step of determining the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set further includes: Iterate through all the warehouse combination MAP sets and set the value of the third element in the warehouse combination information to the value of the first element; The step of backtracking the minimum material MAP set to determine the warehouse combination that meets the order requirements includes: Record the third element in the warehouse combination information of the minimum material MAP set, and obtain the material quantity information of the warehouse corresponding to the third element; Subtract the material quantity information of the warehouse corresponding to the third element from the material quantity information in the minimum material MAP set; Update the minimum material MAP set according to the material quantity information in the warehouse combination MAP set to obtain the backtracking MAP set; Record the third element in the warehouse combination information of the backtracking MAP set, and subtract the material quantity information of the warehouse corresponding to the third element in turn until all material quantity information is zero.

2. The intelligent allocation method for warehouse materials according to claim 1, characterized in that, The MAP set includes material quantity information; the process of enumerating all warehouse combinations based on the warehouse material information and the initialized MAP set to obtain a warehouse combination MAP set includes: Set the warehouse portfolio MAP set to the initial MAP set; Traverse all warehouses and update the warehouse combination MAP set based on the warehouse material information of the current warehouse and the material quantity information in the warehouse combination MAP set.

3. The intelligent allocation method for warehouse materials according to claim 2, characterized in that, The MAP set also includes warehouse combination information; the step of traversing all warehouses, copying the warehouse combination MAP set, adding the material quantity information of the current warehouse to the material quantity information in the copied warehouse combination MAP set, and updating the warehouse combination MAP set includes: Copy the current warehouse combination MAP set to obtain the traversed warehouse combination MAP set and a temporary warehouse combination MAP set; Add the material quantity information of the current warehouse to the material quantity information in the temporary warehouse combination MAP set; Set the first element of the warehouse combination information in the warehouse combination MAP set to the current warehouse number; The warehouse combination MAP set is updated based on the traversed warehouse combination MAP set and the temporary warehouse combination MAP set.

4. The intelligent allocation method for warehouse materials according to claim 1, characterized in that, The step of traversing the warehouse combination MAP set to determine the minimum material MAP set that satisfies the order requirements includes: Traverse the warehouse combination MAP set to determine the warehouse combination MAP set where the material quantity information is greater than the order demand, and obtain the first warehouse combination MAP set. Find the MAP set with the smallest second element among all the first warehouse combination MAP sets to obtain the second warehouse combination MAP set; The minimum material MAP set is obtained by determining the MAP set with the smallest sum of material quantity information from all the second warehouse combination MAP sets.

5. An intelligent material distribution device for warehouses, characterized in that, include: The initialization module is used to obtain order requirements, determine all warehouse material information based on the order requirements, and establish an initial MAP set. The enumeration module is used to enumerate all warehouse combinations based on the warehouse material information and the initial MAP set to obtain a warehouse combination MAP set; The set determination module determines the minimum material MAP set that satisfies the order requirements based on the order requirements and the warehouse combination MAP set, including: Based on a preset recursive function, the number of warehouses included in the material quantity information in the warehouse combination MAP set is determined recursively by applying the second element in the warehouse combination information according to the warehouse combination MAP set. Traverse the warehouse combination MAP set to determine the minimum material MAP set that satisfies the order requirements; It also includes: traversing all the aforementioned warehouse combination MAP sets and setting the value of the third element in the warehouse combination information to the value of the first element; The backtracking module is used to backtrack the minimum material MAP set to determine the warehouse combination that meets the order requirements, including: Record the third element in the warehouse combination information of the minimum material MAP set, and obtain the material quantity information of the warehouse corresponding to the third element; Subtract the material quantity information of the warehouse corresponding to the third element from the material quantity information in the minimum material MAP set; Update the minimum material MAP set according to the material quantity information in the warehouse combination MAP set to obtain the backtracking MAP set; Record the third element in the warehouse combination information of the backtracking MAP set, and subtract the material quantity information of the warehouse corresponding to the third element in turn until all material quantity information is zero.

6. An electronic device, characterized in that, Including memory and processor, among which, The memory is used to store programs; The processor, coupled to the memory, is used to execute the program stored in the memory to implement the steps in the intelligent allocation method for warehouse materials according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, Used to store computer-readable programs or instructions, which, when executed by a processor, are capable of implementing the steps in the intelligent allocation method for warehouse materials according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Stock selection method and device and computer readable storage medium

    CN111292030A

  • Automatic order allocation method and device, equipment and storage medium

    CN112884544A