A method and apparatus for replenishment of a warehouse
By prioritizing the scheduling strategies for orders and warehousing information during the replenishment process, the lack of prioritization in existing technologies is addressed, enabling refined scheduling of order and warehousing attributes. This ensures timely fulfillment of merchant needs and efficient inventory management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2026-06-05
AI Technical Summary
The existing warehousing replenishment process cannot achieve fine-grained scheduling based on the type and attributes of goods, and many constraints lack a priority order, resulting in an inability to accurately meet the order needs of merchants.
By determining multiple scheduling strategies corresponding to order information and warehousing information and their priority relationships, the order processing order and warehouse outbound order are determined, thereby achieving refined scheduling.
It enables the processing of orders based on their attributes and storage conditions, ensuring timely fulfillment of merchant needs, shortening replenishment cycles, and improving the precision of inventory management.
Smart Images

Figure CN122155588A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of warehousing and logistics technology, and in particular to a method and apparatus for warehousing replenishment. Background Technology
[0002] In existing warehousing replenishment processes, a pre-trained replenishment model is often used. This model inputs warehousing information from upstream warehouses and corresponding order information from warehouses awaiting replenishment, then uses the minimum total scheduling cost as the objective function and solves for a scheduling scheme based on multiple constraints. However, this method lacks a clear priority order for these constraints and only yields the overall number of items to be replenished from upstream warehouse A. It fails to provide refined scheduling based on the specific type and attributes of the items (e.g., batch numbers). Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a method and apparatus for warehouse replenishment. By employing multiple first scheduling strategies corresponding to order information and the priority relationships between these strategies, the processing order of each order in the order information can be determined based on these priority relationships, and orders with priority processing can be identified according to their order attributes. Simultaneously, by employing multiple second scheduling strategies corresponding to warehouse information and the priority relationships between these strategies, the outbound order of each upstream warehouse can be further determined based on the attributes of the warehouse information, based on the determined order processing order, thereby sequentially determining the warehouse replenishment result for each order. Compared to the warehouse replenishment process of existing technologies, this method considers both the processing order between order attributes and the processing order between warehouse attributes, achieving refined scheduling.
[0004] To achieve the above objectives, according to one aspect of the present invention, a method for warehouse replenishment is provided.
[0005] An embodiment of the present invention provides a warehouse replenishment method comprising: acquiring warehouse information corresponding to an upstream warehouse and order information corresponding to a warehouse to be replenished; determining a plurality of first scheduling strategies corresponding to the order information and a plurality of second scheduling strategies corresponding to the warehouse information; wherein each first scheduling strategy corresponds to a warehouse attribute in the order information, and each second scheduling strategy corresponds to an order attribute in the warehouse information; determining the processing order of each order in the order information according to the first scheduling strategies and the priority relationship between the first scheduling strategies; and determining the warehouse replenishment result corresponding to the warehouse to be replenished according to the warehouse information, the processing order, the second scheduling strategies, and the priority relationship between the second scheduling strategies; wherein the warehouse replenishment result indicates the replenishment status of the upstream warehouse to the warehouse to be replenished for each order.
[0006] Optionally, determining the processing order of each order in the order information based on the first scheduling strategy and the priority relationship between the first scheduling strategies includes: determining the execution order of each first scheduling strategy based on the priority relationship between the first scheduling strategies; and executing the first scheduling strategies sequentially according to the execution order to determine the processing order of each order in the order information.
[0007] Optionally, the warehouse replenishment result includes the target upstream warehouse corresponding to each of the orders and the target outbound quantity corresponding to each target upstream warehouse; determining the warehouse replenishment result corresponding to the warehouse to be replenished based on the warehouse information, the processing order, the second scheduling strategy, and the priority relationship between the second scheduling strategies includes: determining the outbound order of the multiple upstream warehouses included in the warehouse information based on the second scheduling strategy and the priority relationship between the second scheduling strategies; determining the current order to be processed based on the processing order; for the current order: determining the target upstream warehouse matching the current order and the target outbound quantity corresponding to each target upstream warehouse based on the outbound order.
[0008] Optionally, the warehousing information includes at least one of the following warehousing attributes: warehouse name, inventory type, available inventory quantity, available inventory time, and production batch; each of the first scheduling strategies corresponds to a different order attribute; and / or, the order information includes at least one of the following order attributes: order customer, order type, order demand quantity, and order demand time; each of the second scheduling strategies corresponds to a different warehousing attribute.
[0009] Optionally, determining the target upstream warehouse matching the current order and the target outbound quantity corresponding to each target upstream warehouse according to the outbound order includes: determining the order demand quantity of the current order; determining whether the available inventory quantity of the first upstream warehouse meets the order demand quantity according to the outbound order; in response to the first upstream warehouse's available inventory quantity meeting the order demand quantity, using the first upstream warehouse as the target upstream warehouse, using the order demand quantity as the target outbound quantity, and updating the available inventory quantity of the first upstream warehouse according to the order demand quantity.
[0010] Optionally, if the available inventory quantity of the first upstream warehouse does not meet the order demand quantity, the method further includes: summing the available inventory quantities of multiple upstream warehouses sequentially until the total available inventory quantity after summing meets the order demand quantity; designating the multiple upstream warehouses participating in the summing as the target upstream warehouse, and using the summed available inventory quantity of each upstream warehouse as the target outbound quantity.
[0011] To achieve the above objectives, according to another aspect of the present invention, a warehouse replenishment apparatus is provided.
[0012] A warehouse replenishment device according to an embodiment of the present invention includes:
[0013] The acquisition module is used to acquire warehousing information corresponding to the upstream warehouse and order information corresponding to the warehouse to be replenished, and to determine multiple first scheduling strategies corresponding to the order information and multiple second scheduling strategies corresponding to the warehousing information; wherein, each first scheduling strategy corresponds to a warehousing attribute in the order information, and each second scheduling strategy corresponds to an order attribute in the warehousing information;
[0014] The first determining module is used to determine the processing order of each order in the order information according to the first scheduling strategy and the priority relationship between each first scheduling strategy;
[0015] The second determining module determines the replenishment result corresponding to the warehouse to be replenished based on the warehousing information, the processing order, the second scheduling strategy, and the priority relationship between the various second scheduling strategies; wherein, the replenishment result indicates the replenishment status of the upstream warehouse to the warehouse to be replenished for each order.
[0016] To achieve the above objectives, according to another aspect of the present invention, an electronic device for warehouse replenishment is provided.
[0017] An electronic device for warehouse replenishment according to an embodiment of the present invention includes: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a warehouse replenishment method according to an embodiment of the present invention.
[0018] To achieve the above objectives, according to another aspect of the present invention, a computer-readable storage medium is provided.
[0019] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a warehouse replenishment method according to an embodiment of the present invention.
[0020] One embodiment of the above invention has the following advantages or beneficial effects: By using multiple first scheduling strategies corresponding to order information and the priority relationships between these strategies, the processing order of each order in the order information can be determined based on the priority relationships, and orders that are prioritized for processing can be obtained according to their order attributes. Simultaneously, by using multiple second scheduling strategies corresponding to warehousing information and the priority relationships between these strategies, the outbound order of each upstream warehouse can be further determined based on the attributes of the warehousing information, based on the determined order processing order, thereby sequentially determining the warehousing replenishment results for each order. Compared to the warehousing replenishment process of the prior art, this invention considers both the sequential processing order of order attributes and the sequential processing order of warehousing attributes, achieving refined scheduling.
[0021] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description
[0022] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:
[0023] Figure 1 This is a schematic diagram of the main process of the warehouse replenishment method according to an embodiment of the present invention;
[0024] Figure 2 This is a schematic diagram of the main process for determining the processing order of each order in the order information according to an embodiment of the present invention;
[0025] Figure 3 This is a schematic diagram of the main process for determining the warehouse replenishment result according to an embodiment of the present invention;
[0026] Figure 4 This is a schematic diagram of the supply relationship between upstream and downstream warehouses according to an embodiment of the present invention;
[0027] Figure 5 This is a schematic diagram of the main process for determining the target upstream warehouse and the target outbound volume according to an embodiment of the present invention;
[0028] Figure 6 This is a schematic diagram of another main process for determining the target upstream warehouse and the target outbound volume according to an embodiment of the present invention;
[0029] Figure 7 This is a schematic diagram of the main modules of a warehouse replenishment device according to an embodiment of the present invention;
[0030] Figure 8 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied;
[0031] Figure 9This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation
[0032] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0033] It should be noted that, unless otherwise specified, the embodiments of the present invention and the technical features thereof can be combined with each other.
[0034] It should be noted that the collection, gathering, updating, analysis, processing, use, transmission, and storage of user personal information involved in this disclosed technical solution all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.
[0035] Figure 1 This is a schematic diagram of the main steps of a warehouse replenishment method according to an embodiment of the present invention.
[0036] like Figure 1 As shown, the warehouse replenishment method of this invention mainly includes the following steps:
[0037] Step S101: Obtain the warehousing information corresponding to the upstream warehouse and the order information corresponding to the warehouse to be replenished, and determine multiple first scheduling strategies corresponding to the order information and multiple second scheduling strategies corresponding to the warehousing information; wherein, each first scheduling strategy corresponds to an order attribute in the order information, and each second scheduling strategy corresponds to a warehousing attribute in the warehousing information.
[0038] Step S102: Determine the processing order of each order in the order information according to the first scheduling strategy and the priority relationship between each first scheduling strategy;
[0039] Step S103: Determine the warehousing replenishment result corresponding to the warehouse to be replenished based on the warehousing information, processing order, second scheduling strategy, and priority relationship between the various second scheduling strategies; wherein, the warehousing replenishment result indicates the replenishment status of the upstream warehouse to the warehouse to be replenished for each order.
[0040] The warehousing replenishment method provided in this embodiment refers to the scheduling process from upstream warehouses to downstream warehouses awaiting replenishment, ensuring that the inventory of the warehouses awaiting replenishment can meet the ordering needs of downstream merchants. Therefore, the warehousing information corresponds to the upstream warehouse and can represent various information about the upstream warehouse's supply capacity, while the order information corresponds to the merchant and can represent various information about the merchant's demand for goods. In other words, when the warehousing quantity of the warehouse awaiting replenishment cannot meet the merchant's demand, the warehousing replenishment method of this embodiment needs to be executed to replenish the warehouse in advance based on the merchant's order information and the corresponding warehousing information of the upstream warehouse. It should be noted that since the replenishment process is to avoid insufficient warehousing during the goods allocation process, the orders in this embodiment can be predicted demand orders obtained by predicting merchant demand, not actual orders generated by the merchant through order placement. The warehousing information includes specific warehousing data from multiple upstream warehouses. Each warehouse data may include multiple warehousing attributes and specific values corresponding to each warehousing attribute. Therefore, in an optional embodiment, the warehousing information may include at least one of the following warehousing attributes, as shown in Table 1 below: warehouse name, inventory type, available inventory quantity, available inventory time, and production batch.
[0041] Table 1 Warehousing Information
[0042] Upstream warehouse Inventory Type Available quantity Available time (earliest available time to assemble) Production batch RDC_A Spot goods 75 2024-01-10 20240101 RDC_A Spot goods 25 2024-01-10 20231121 RDC_A On the way 30 2024-01-11 20240101 RDC_B Spot goods 80 2024-01-10 20240101
[0043] Taking Table 1 as an example, the upstream warehouse RDC_A stores multiple warehousing data, namely 75 spot goods on January 1, 2024, 25 spot goods on November 21, 2023, and 30 goods in transit on January 1, 2024, for a total of 100 spot goods and 30 goods in transit.
[0044] Similarly, order information can also include specific demand data from each merchant, and each merchant's demand data can include multiple order attributes and the specific values corresponding to each order attribute. For example, order information can be as shown in Table 2, including at least one of the following order attributes: order customer, order type, order quantity, and order time.
[0045] Table 2 Order Information
[0046] Merchants Quantity required Order type Required time Customer_01 110 Regular orders 2024-01-12 Customer_01 20 Pre-sale orders 2024-01-15 Customer_02 30 Regular orders 2024-01-11 Customer_03 40 Regular orders 2024-01-12
[0047] Taking Table 2 as an example, we can see that the merchant Customer_01 has two demands: 110 regular orders and 20 pre-sale orders, each with its own corresponding time period.
[0048] Existing warehousing replenishment methods typically use the sum of in-transit and spot inventory at each upstream warehouse, along with each merchant's total demand, as input. Based on a fixed replenishment cycle, the total replenishment quantity from each upstream warehouse to each warehouse awaiting replenishment is determined. This approach lacks flexibility in responding to order type and time-specific needs. Furthermore, the model-solving process in existing technologies fails to produce accurate model outputs when upstream warehouse inventory cannot meet the full demand of the warehouses awaiting replenishment, meaning the model cannot be solved successfully and replenishment can only be performed in the next replenishment cycle. In this embodiment of the invention, however, by using a first scheduling strategy and prioritizing orders, the order information can be sorted. Even if upstream warehouses cannot meet all the demands of the warehouses awaiting replenishment, they can still fulfill the demands as much as possible according to priority, shortening the replenishment cycle and meeting merchants' needs as promptly as possible.
[0049] The first and second scheduling strategies in this embodiment can be understood as a sub-priority order under each order attribute or warehousing attribute. Tables 1 and 2 above are used as examples for illustration. The first scheduling strategy corresponds to the order attributes in the order information in Table 2. For example, the first scheduling strategy may include: Strategy 1: Ordinary orders > Pre-sale orders; Strategy 2: Earlier demand time > Later demand time; Strategy 3: Merchant Customer_01 > Merchant Customer_03 > Merchant Customer_02. The priority relationship between the first scheduling strategies refers to the priority relationship between Strategy 1, Strategy 2, and Strategy 3. For example, Strategy 3 > Strategy 1 > Strategy 2 indicates that the priority for the merchant dimension is the highest, and orders of Merchant Customer_01 are processed first, even if Merchant Customer_01's order is a pre-sale order or Merchant Customer_01's demand time is later. Similarly, the second scheduling strategy corresponds to a storage attribute in the storage information in Table 1. For example, the second scheduling strategy can be: Strategy 4: Spot > In Transit; Strategy 5: Earlier Production Batch Time > Later Production Batch Time; Strategy 6: Earlier Available Time > Later Available Time. The priority relationship between the second scheduling strategies refers to the priority relationship between Strategy 4, Strategy 5, and Strategy 6. For example, if Strategy 5 > Strategy 6 > Strategy 4, it indicates that the production batch dimension has the highest priority, and goods from earlier production batches should be dispatched as much as possible to facilitate the updating and replacement of goods in inventory, avoiding the problem of goods from earlier production batches remaining in inventory for too long.
[0050] In an optional embodiment, the process of determining the processing order of each order in the order information in step S102 can be as follows: Figure 2As shown, it specifically includes:
[0051] Step S201: Determine the execution order of each first scheduling strategy according to the priority relationship between the first scheduling strategies;
[0052] Step S202: Execute the first scheduling strategy sequentially according to the execution order to determine the processing order of each order in the order information.
[0053] The first scheduling strategy and the priority relationship between them can be pre-set according to the needs of each goods scheduling. It is understood that the priority relationship between the first scheduling strategies may change for different scheduling cycles. For example, during peak goods scheduling periods, the inventory of upstream warehouses may not be able to meet the needs of all merchants. In this case, the priority of the merchant dimension may be higher, meaning which merchants can be prioritized for goods allocation. If during off-peak goods scheduling periods, the inventory of upstream warehouses can meet the needs of all merchants, then the priority of demand time will be higher, and the processing order of orders will change accordingly. Therefore, by pre-configuring the first scheduling strategy and the priority relationship between them, this embodiment of the invention can flexibly sort the orders in the order information according to different needs, so that subsequent processing of each order can be carried out sequentially according to the sorting.
[0054] In one optional embodiment, the warehouse replenishment result includes the target upstream warehouse corresponding to each order and the target outbound quantity corresponding to each target upstream warehouse. In other words, the warehouse replenishment result includes which upstream target warehouse(s) replenish the goods for the merchant corresponding to each order, and the replenishment quantity for each upstream target warehouse. In this case, step S103 can be as follows: Figure 3 As shown, it specifically includes:
[0055] Step S301: Determine the outbound order of multiple upstream warehouses included in the warehousing information based on the second scheduling strategy and the priority relationship between the second scheduling strategies;
[0056] Step S302: Determine the current orders to be processed according to the processing order;
[0057] Step S303: For the current order: Based on the outbound order, determine the target upstream warehouse that matches the current order, and the target outbound quantity corresponding to each target upstream warehouse.
[0058] Similar to the priority relationship between the first scheduling strategy and the first scheduling strategy, the order of goods leaving multiple upstream warehouses included in the warehousing information can also be determined based on the second scheduling strategy and the priority relationship between the second scheduling strategy. For a certain current order, when multiple upstream warehouses can supply goods to the warehouse corresponding to the order to be replenished, the goods can be supplied in order according to the order of goods leaving multiple warehouses.
[0059] It should be noted that in actual cargo transportation, due to distance and transportation limitations, there is often a fixed supply relationship between upstream warehouses and warehouses awaiting replenishment, such as... Figure 4 As shown. In other words, not all upstream warehouses can supply any warehouse that needs replenishment. Figure 4 For example, upstream warehouse RDC_A can only supply goods to warehouses a and b that need replenishment, but cannot supply goods to warehouse c. Therefore, in an optional embodiment, when determining the warehousing replenishment results for multiple warehouses to be replenished at the same time, the process of determining the target upstream warehouse in step S303 above also needs to consider multiple third scheduling strategies, that is, other restrictions in addition to restricting warehousing information and order information. For example, these may include: the supply relationship between the upstream warehouse and the warehouse to be replenished, the matching of inventory type and order type, etc. Step S303 further includes: determining the target upstream warehouse that matches the current order and the target outbound quantity corresponding to each target upstream warehouse according to the outbound order and the third scheduling strategy.
[0060] It is understood that the embodiments of the present invention are particularly capable of solving the problem of how to schedule goods according to the order sequence when the upstream warehouse cannot meet all the demand of the downstream merchants' orders, that is, step S303 can be as follows: Figure 5 As shown, it further includes:
[0061] Step S501: Determine the order quantity required for the current order;
[0062] Step S502: Based on the outbound order, determine whether the available inventory quantity of the first upstream warehouse meets the order demand quantity;
[0063] Step S503: In response to the fact that the available inventory quantity of the first upstream warehouse meets the order demand quantity, the first upstream warehouse is selected as the target upstream warehouse, the order demand quantity is selected as the target outbound quantity, and the available inventory quantity of the first upstream warehouse is updated according to the order demand quantity.
[0064] Through the above steps, it is possible to sequentially locate target upstream warehouses that can supply goods based on the order demand quantity for each order, and sequentially determine the supply quantity for each target upstream warehouse. In a further optional embodiment, when an upstream warehouse cannot supply goods independently, i.e., when the available inventory quantity of the first upstream warehouse does not meet the order demand quantity, such as... Figure 6 As shown, it includes:
[0065] Step S601: Sum the available inventory quantities of multiple upstream warehouses sequentially until the total available inventory after summing meets the order demand quantity;
[0066] Step S602: Select the multiple upstream warehouses participating in the summation as the target upstream warehouses, and use the available inventory quantity of each upstream warehouse as the target outbound quantity.
[0067] As can be seen, when the available inventory of the first upstream warehouse cannot meet the order demand, the other upstream warehouses will supply goods together according to the order of their outbound shipments, thereby ensuring that the total supply from multiple upstream warehouses can meet the order demand.
[0068] In a further optional embodiment, a heuristic algorithm is used to perform the steps of determining the processing order of each order in the order information and determining the warehouse replenishment result of each order. One specific type of heuristic algorithm is rule-based, which can configure the names of the first and second scheduling strategies by setting multiple fields, and determine the specific order relationship between the first and second scheduling strategies by setting ascending and descending order rules. For example, if the input fields are strings, they can be sorted by specified field values. Furthermore, the heuristic algorithm can also determine the priority relationship between the first and second scheduling strategies based on the order of the entered first and second scheduling strategies.
[0069] The following is a specific embodiment to illustrate the warehouse replenishment method provided by the present invention. Using Tables 1 and 2 as examples, the warehouse information and order information are further illustrated in Table 3. The order processing order obtained through the first scheduling strategy and the priority relationship between the first scheduling strategies is shown in Table 3.
[0070] Table 3 Order Processing Sequence
[0071] Demand Priority client Quantity required Order type Required time 1 Customer_02 30 Regular orders 2024-01-11 2 Customer_03 40 Regular orders 2024-01-12 3 Customer_01 110 Regular orders 2024-01-12 4 Customer_01 20 Pre-sale orders 2024-01-15
[0072] Similarly, based on the second scheduling strategy and the priority relationship between the second scheduling strategies, the outbound order of the upstream warehouse is shown in Table 4:
[0073] Table 4. Outbound sequence from upstream warehouses
[0074] Upstream warehouse Inventory Type Available quantity Available time Production batch RDC_A Spot goods 25 2024-01-10 20231121 RDC_A Spot goods 75 2024-01-10 20240101 RDC_B Spot goods 80 2024-01-10 20240101 RDC_A On the way 30 2024-01-11 20240101
[0075] Based on Table 3 above, the first order is matched, i.e., supplying 30 units to Customer_02. Since the transportation time from upstream warehouse RDC_A to the replenishment warehouse is 2 days, although RDC_A has priority in its outbound order, it cannot meet the time requirement of the first order. Therefore, RDC_B is selected to supply 30 units to Customer_02. At this time, the remaining available quantity of RDC_B is 80-30=50. Similarly, the second order is matched, and the result is that RDC_B supplies 40 units to Customer_03. The remaining available quantity of RDC_B is further updated, and the remaining available quantity is 50-40=10. Similarly, the third order is matched, and the result is that RDC_A supplies 25 units of production batch 20231121 and 75 units of production batch 20240101 respectively, while RDC_B supplies 10 units. This process continues until the fourth order is matched and a matching result is generated.
[0076] According to the warehouse replenishment method of the present invention, by using multiple first scheduling strategies corresponding to order information and the priority relationship between these first scheduling strategies, the processing order of each order in the order information can be determined based on the priority relationship, and the orders to be processed first can be obtained according to the order attributes. Simultaneously, by using multiple second scheduling strategies corresponding to warehouse information and the priority relationship between these second scheduling strategies, the outbound order of each upstream warehouse can be further determined based on the attributes of the warehouse information, based on the determined order processing order, thereby sequentially determining the warehouse replenishment result for each order. Compared with the warehouse replenishment process of the prior art, this method can consider both the processing order between order attributes and the processing order between warehouse attributes, achieving refined scheduling.
[0077] Figure 7 This is a schematic diagram of the main modules of a warehouse replenishment device according to an embodiment of the present invention.
[0078] like Figure 7 As shown, the warehouse replenishment device 700 of this embodiment includes:
[0079] The acquisition module 701 is used to acquire warehousing information corresponding to the upstream warehouse and order information corresponding to the warehouse to be replenished, and to determine multiple first scheduling strategies corresponding to the order information and multiple second scheduling strategies corresponding to the warehousing information; wherein, each first scheduling strategy corresponds to a warehousing attribute in the order information, and each second scheduling strategy corresponds to an order attribute in the warehousing information;
[0080] The first determining module 702 is used to determine the processing order of each order in the order information according to the first scheduling strategy and the priority relationship between each first scheduling strategy.
[0081] The second determining module 703 determines the warehousing replenishment result corresponding to the warehouse to be replenished based on the warehousing information, the processing order, the second scheduling strategy, and the priority relationship between the various second scheduling strategies; wherein, the warehousing replenishment result indicates the replenishment status of the upstream warehouse to the warehouse to be replenished for each order.
[0082] In an optional embodiment of the present invention, the first determining module 702 is further configured to determine the execution order of each first scheduling strategy according to the priority relationship between the first scheduling strategies; and execute the first scheduling strategies sequentially according to the execution order to determine the processing order of each order in the order information.
[0083] In an optional embodiment of the present invention, the warehouse replenishment result includes the target upstream warehouse corresponding to each of the orders and the target outbound quantity corresponding to each of the target upstream warehouses; the second determining module 703 is further configured to: determine the outbound order of the multiple upstream warehouses included in the warehouse information according to the second scheduling strategy and the priority relationship between the second scheduling strategies; determine the current order to be processed according to the processing order; for the current order: determine the target upstream warehouse matching the current order and the target outbound quantity corresponding to each of the target upstream warehouses according to the outbound order.
[0084] In an optional embodiment of the present invention, the warehousing information includes at least one of the following warehousing attributes: warehouse name, inventory type, available inventory quantity, available inventory time, and production batch; each of the first scheduling strategies corresponds to a different order attribute; and / or, the order information includes at least one of the following order attributes: order customer, order type, order demand quantity, and order demand time; each of the second scheduling strategies corresponds to a different warehousing attribute.
[0085] In an optional embodiment of the present invention, a heuristic algorithm is used to perform the steps of determining the processing order of each order in the order information and determining the warehousing replenishment result of each order.
[0086] In an optional embodiment of the present invention, the second determining module 703 is further configured to: determine the order demand quantity of the current order; determine whether the available inventory quantity of the first upstream warehouse meets the order demand quantity according to the outbound order; in response to the first upstream warehouse's available inventory quantity meeting the order demand quantity, use the first upstream warehouse as the target upstream warehouse, use the order demand quantity as the target outbound quantity, and update the available inventory quantity of the first upstream warehouse according to the order demand quantity.
[0087] In an optional embodiment of the present invention, the second determining module 703 is further configured to, when the available inventory quantity of the first upstream warehouse does not meet the order demand quantity, sequentially sum the available inventory quantities of multiple upstream warehouses until the total available inventory quantity after summing meets the order demand quantity; designate the multiple upstream warehouses participating in the summing as the target upstream warehouse, and designate the available inventory quantity summed by each warehouse as the target outbound quantity.
[0088] According to an embodiment of the present invention, a warehouse replenishment apparatus can determine the processing order of each order in the order information based on multiple first scheduling strategies corresponding to order information and the priority relationship between these first scheduling strategies, and obtain the orders to be processed first based on order attributes. Simultaneously, based on multiple second scheduling strategies corresponding to warehouse information and the priority relationship between these second scheduling strategies, the outbound order of each upstream warehouse can be further determined according to the attributes of the warehouse information, based on the determined order processing order, thereby sequentially determining the warehouse replenishment result for each order. Compared with the warehouse replenishment process of the prior art, this apparatus can consider both the processing order between order attributes and the processing order between warehouse attributes, achieving refined scheduling.
[0089] Figure 8 An exemplary system architecture 800 is shown for a warehouse replenishment method or apparatus to which embodiments of the present invention can be applied.
[0090] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, and 803, a network 804, and a server 805. Network 804 serves as the medium for providing communication links between terminal devices 801, 802, and 803 and server 805. Network 804 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.
[0091] Users can use terminal devices 801, 802, and 803 to interact with server 805 via network 804 to receive or send data. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, and social media platforms.
[0092] Terminal devices 801, 802, and 803 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.
[0093] Server 805 can be a server that provides various services, such as a back-end management server that supports the warehousing and order information sent by users using terminal devices 801, 802, and 803. The back-end management server can analyze and process the received warehousing and order information and other data, and feed back the processing results (such as warehousing replenishment results) to the terminal devices.
[0094] It should be noted that the warehouse replenishment method provided in this embodiment of the invention is generally executed by server 805, and correspondingly, the warehouse replenishment device is generally installed in server 805.
[0095] It should be understood that Figure 8 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0096] The following is for reference. Figure 9 It shows a schematic diagram of the structure of a computer system 900 suitable for implementing a terminal device of the present invention. Figure 9 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0097] like Figure 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 902 or programs loaded from storage section 908 into random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the system 900. The CPU 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) first interface 905 is also connected to the bus 904.
[0098] The following components are connected to the I / O first interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network first interface card such as a LAN card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O first interface 905 as needed. A removable medium 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 910 as needed so that computer programs read from it can be installed into the storage section 908 as needed.
[0099] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 909, and / or installed from removable medium 911. When the computer program is executed by central processing unit (CPU) 901, it performs the functions defined above in the system of this invention.
[0100] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0101] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0102] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor; for example, a processor may be described as including an acquisition module, a first determination module, and a second determination module. The names of these modules do not necessarily limit the module itself; for example, the acquisition module may also be described as "a module that acquires warehouse information and order information, and determines multiple first scheduling strategies corresponding to the order information and multiple second scheduling strategies corresponding to the warehouse information."
[0103] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs, which, when executed by the device, cause the device to include: acquiring warehousing information corresponding to an upstream warehouse and order information corresponding to a warehouse to be replenished; determining a plurality of first scheduling strategies corresponding to the order information and a plurality of second scheduling strategies corresponding to the warehousing information; wherein each first scheduling strategy corresponds to an order attribute in the order information, and each second scheduling strategy corresponds to a warehousing attribute in the warehousing information; determining the processing order of each order in the order information according to the first scheduling strategies and the priority relationship between the first scheduling strategies; and determining the warehousing replenishment result corresponding to the warehouse to be replenished according to the warehousing information, the processing order, the second scheduling strategies, and the priority relationship between the second scheduling strategies; wherein the warehousing replenishment result indicates the replenishment status of the upstream warehouse to the warehouse to be replenished for each order.
[0104] According to the technical solution of this invention, by using multiple first scheduling strategies corresponding to order information and the priority relationships between these strategies, the processing order of each order in the order information can be determined based on the priority relationships, and orders that are prioritized for processing can be obtained based on their order attributes. Simultaneously, by using multiple second scheduling strategies corresponding to warehousing information and the priority relationships between these strategies, the outbound order of each upstream warehouse can be further determined based on the attributes of the warehousing information, based on the determined order processing order, thereby sequentially determining the warehousing replenishment results for each order. Compared to the warehousing replenishment process of existing technologies, this method considers both the processing order between order attributes and the processing order between warehousing attributes, achieving refined scheduling.
[0105] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for warehouse replenishment, characterized in that, include: Obtain warehousing information corresponding to the upstream warehouse and order information corresponding to the warehouse to be replenished; determine multiple first scheduling strategies corresponding to the order information and multiple second scheduling strategies corresponding to the warehousing information; wherein, each first scheduling strategy corresponds to an order attribute in the order information, and each second scheduling strategy corresponds to a warehousing attribute in the warehousing information; Based on the first scheduling strategy and the priority relationship between each of the first scheduling strategies, the processing order of each order in the order information is determined; Based on the warehousing information, the processing order, the second scheduling strategy, and the priority relationship between the various second scheduling strategies, the warehousing replenishment result corresponding to the warehouse to be replenished is determined; wherein, the warehousing replenishment result indicates the replenishment status of the upstream warehouse to the warehouse to be replenished for each order.
2. The method according to claim 1, characterized in that, Determining the processing order of each order in the order information based on the first scheduling strategy and the priority relationship between the first scheduling strategies includes: The execution order of each first scheduling strategy is determined based on the priority relationship between the first scheduling strategies. The first scheduling strategy is executed sequentially according to the execution order to determine the processing order of each order in the order information.
3. The method according to claim 1, characterized in that, The warehouse replenishment results include the target upstream warehouse corresponding to each of the orders and the target outbound quantity corresponding to each of the target upstream warehouses; The step of determining the replenishment result for the warehouse to be replenished based on the warehousing information, the processing order, the second scheduling strategy, and the priority relationship between the second scheduling strategies includes: Based on the second scheduling strategy and the priority relationship between the second scheduling strategies, the outbound order of multiple upstream warehouses included in the warehousing information is determined; Based on the processing order, determine the current order to be processed; For the current order: Based on the outbound order, determine the target upstream warehouse that matches the current order, and the target outbound quantity corresponding to each target upstream warehouse.
4. The method according to claim 1, characterized in that, The warehousing information includes at least one of the following warehousing attributes: warehouse name, inventory type, available inventory quantity, available inventory time, and production batch; each of the first scheduling strategies corresponds to a different order attribute. And / or, The order information includes at least one of the following order attributes: order customer, order type, order quantity, and order time; each of the second scheduling strategies corresponds to a different warehousing attribute.
5. The method according to claim 3, characterized in that, The step of determining the target upstream warehouse matching the current order and the target outbound quantity corresponding to each target upstream warehouse based on the outbound order includes: Determine the order demand quantity for the current order; Based on the outbound order, determine whether the available inventory quantity in the first upstream warehouse meets the order demand quantity; In response to the fact that the available inventory quantity of the first upstream warehouse meets the order demand quantity, the first upstream warehouse is designated as the target upstream warehouse, the order demand quantity is designated as the target outbound quantity, and the available inventory quantity of the first upstream warehouse is updated according to the order demand quantity.
6. The method according to claim 5, characterized in that, If the available inventory at the first upstream warehouse does not meet the order demand, the following additional steps are also included: The available inventory quantities of multiple upstream warehouses are summed sequentially until the total available inventory after summing meets the order demand quantity; The multiple upstream warehouses involved in the summation are designated as the target upstream warehouses, and the total available inventory of each upstream warehouse is designated as the target outbound quantity.
7. A warehouse replenishment device, characterized in that, include: The acquisition module is used to acquire warehousing information corresponding to the upstream warehouse and order information corresponding to the warehouse to be replenished, and to determine multiple first scheduling strategies corresponding to the order information and multiple second scheduling strategies corresponding to the warehousing information; wherein, each first scheduling strategy corresponds to a warehousing attribute in the order information, and each second scheduling strategy corresponds to an order attribute in the warehousing information; The first determining module is used to determine the processing order of each order in the order information based on the first scheduling strategy and the priority relationship between each first scheduling strategy. The second determining module determines the replenishment result corresponding to the warehouse to be replenished based on the warehousing information, the processing order, the second scheduling strategy, and the priority relationship between the various second scheduling strategies; wherein, the replenishment result indicates the replenishment status of the upstream warehouse to the warehouse to be replenished for each order.
8. An electronic device for warehouse replenishment, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.
9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.
10. A computer program product comprising a computer program that, when executed by a processor, implements the method as described in any one of claims 1-6.