A method and device for determining storage compartments
By determining warehouse spaces based on user categories rather than item categories, the method optimizes storage to reduce inter-warehouse pickups and lower logistics costs in large-scale warehousing.
Patent Information
- Application Number
- CN202211518326.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2042-11-30
AI Technical Summary
The existing warehousing method. During the outflow process of large warehousing users, items need to be transported from warehouses far apart, resulting in inefficient outflow and high logistics transportation costs.
Through simulation, move the items of the target warehousing user to a target warehousing room, use simulated movement amount and outbound flow data to constrain, determine the target warehousing room that meets the movement and flow conditions from multiple warehousing rooms, and change the storage method to take the warehousing user as the dimension to avoid picking up goods between multiple warehousing rooms.
It improves outbound efficiency, saves logistics and transportation costs, and realizes the storage of items of the same target warehousing users in one warehouse, reducing the need for picking up goods between multiple warehouses.
Smart Images

Figure CN115872088B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of warehousing, and in particular, to a method and device for determining storage compartments. Background Art
[0002] In the existing warehousing field, items are usually classified according to their functional categories, so that different categories of items are stored in different compartments. For example, refrigerators and washing machines are stored in Compartment 1, while air conditioners and kitchen utensils are stored in Compartment 2, etc. For large-scale warehousing users, they often sell multiple categories of items, and the same order often includes multiple categories of items. Therefore, during the process of shipping the same order, separate logistics are required to transport different categories of items from each compartment. Since the compartments for storing large items are usually far apart, the existing item storage method may reduce the shipping efficiency and increase the logistics transportation cost at the same time. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a method and device for determining storage compartments. By obtaining a plurality of first compartments corresponding to a target warehousing user and simulating moving all the items of the target warehousing user to one of the first compartments, assuming any one of the first compartments as the simulated moving compartment during the simulation process, and by constraining the first simulated moving amount of moving the original first compartments to the simulated moving compartment and / or the first simulated shipping amount of the simulated moving compartment and the shipping flow direction data, a target compartment that meets the moving condition and the flow direction condition is determined from the plurality of first compartments, and then the items corresponding to the target warehousing user can be moved to the target compartment. Thus, the existing storage method is changed from being dimensioned by item category to being dimensioned by warehousing user, that is, the items of the same target warehousing user are all stored in one target compartment, avoiding the need to pick up goods from multiple compartments that are far apart when the same shipping order includes multiple categories of items, improving the shipping efficiency and saving the logistics transportation cost at the same time.
[0004] To achieve the above object, according to one aspect of the embodiments of the present invention, a method for determining storage compartments is provided.
[0005] A method for determining storage compartments in an embodiment of the present invention includes: obtaining a plurality of first compartments corresponding to a target warehousing user and outbound flow data; determining a simulated moving compartment from the plurality of first compartments; determining a first simulated moving quantity for moving items from the plurality of first compartments to the simulated moving compartment, and a first simulated outbound quantity corresponding to the target warehousing user in the simulated moving compartment; using the simulated moving compartment for which the first simulated moving quantity and / or the first simulated outbound quantity meets the moving condition as an alternative compartment; and determining a target compartment that meets the flow condition from one or more of the alternative compartments according to the outbound flow data corresponding to one or more of the alternative compartments, so as to move the items corresponding to the target warehousing user to the target compartment.
[0006] Optionally, the determining a target compartment that meets the flow condition from one or more of the alternative compartments according to the outbound flow data corresponding to one or more of the alternative compartments includes: determining one or more target flows corresponding to one or more of the alternative compartments according to the outbound flow data corresponding to one or more of the alternative compartments; determining the number of compartments corresponding to each target flow, and determining the total number of compartments corresponding to each of the alternative compartments according to the number of compartments; and using the alternative compartment with the smallest total number of compartments as the target compartment.
[0007] Optionally, when there are multiple alternative compartments with the same smallest total number of compartments, the using the alternative compartment with the smallest total number of compartments as the target compartment includes: selecting a compartment that meets a preset condition as the target compartment.
[0008] Optionally, the determining one or more target flows corresponding to one or more of the alternative compartments according to the outbound flow data corresponding to one or more of the alternative compartments includes: determining one or more flows corresponding to the target warehousing user according to the outbound flow data; and selecting a target flow passing through the alternative compartment from the multiple flows.
[0009] Optionally, the selecting a target flow passing through the alternative compartment from the multiple flows includes: selecting a target flow passing through the alternative compartment and a non-moving compartment from the multiple flows; where the non-moving compartment is a second compartment for which a second simulated moving quantity and a second first simulated outbound quantity do not meet the moving condition.
[0010] Optionally, the using the simulated moving compartment for which the first simulated moving quantity and / or the first simulated outbound quantity meets the moving condition as an alternative compartment includes: determining the first simulated outbound quantity according to the sum of the outbound quantity corresponding to the target warehousing user and the outbound quantities corresponding to other warehousing users in the simulated moving compartment; and using the simulated moving compartment for which the first simulated outbound quantity meets the rated outbound quantity as an alternative compartment.
[0011] Optionally, regarding the simulated moving storage compartments that meet the moving conditions for the first simulated moving quantity and / or the first simulated outbound quantity, including: taking the absolute value of the difference between the inbound quantity and the outbound quantity of the simulated moving storage compartment as the first simulated moving quantity; and regarding the simulated moving storage compartments where the first simulated moving quantity is not greater than a preset change quantity threshold as the alternative storage compartments.
[0012] Optionally, the method further includes: determining, according to the outbound quantities corresponding to multiple warehousing users respectively, the target warehousing users whose outbound quantities are greater than a preset threshold.
[0013] Optionally, determining the simulated moving storage compartment from the multiple first storage compartments includes: calculating the ratio between the storage quantity of the target warehousing user in each of the multiple first storage compartments and the total storage quantity of the target warehousing user; and determining the simulated moving storage compartment from the multiple first storage compartments based on the ratio.
[0014] To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a device for determining a storage compartment.
[0015] A device for determining a storage compartment according to an embodiment of the present invention includes: an acquisition module, configured to acquire multiple first storage compartments corresponding to a target warehousing user and outbound flow direction data; a determination module, configured to determine a simulated moving storage compartment from the multiple first storage compartments; and determine a first simulated moving quantity for moving an item from the multiple first storage compartments to the simulated moving storage compartment, and a first simulated outbound quantity corresponding to the target warehousing user in the simulated moving storage compartment; a judgment module, configured to regard the simulated moving storage compartment where the first simulated moving quantity and / or the first simulated outbound quantity meet the moving conditions as an alternative storage compartment; and an analysis module, configured to determine, according to the outbound flow direction data corresponding to one or more of the alternative storage compartments, a target storage compartment that meets the flow direction conditions from one or more of the alternative storage compartments, so as to move the item corresponding to the target warehousing user to the target storage compartment.
[0016] To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided an electronic device for determining a storage compartment.
[0017] An electronic device for determining a storage compartment according to an embodiment of the present invention includes: one or more processors; a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the one or more processors to implement a method for determining a storage compartment according to an embodiment of the present invention.
[0018] To achieve the above object, according to yet another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium.
[0019] A computer-readable storage medium according to an embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, a method for determining a storage compartment according to an embodiment of the present invention is implemented.
[0020] One embodiment of the above invention has the following advantages or beneficial effects: By obtaining a plurality of first compartments corresponding to a target warehousing user and simulating moving all the items of the target warehousing user to one of the first compartments, assuming any one of the first compartments as the simulated moving compartment during the simulation process, and by constraining the first simulated moving amount of moving the original first compartment to the simulated moving compartment and / or the first simulated outbound amount of the simulated moving compartment and the outbound flow data, a target compartment that meets the moving condition and the flow condition is determined from the plurality of first compartments, and then the items corresponding to the target warehousing user can be moved to the target compartment. Thus, the existing storage method is changed from the dimension of item categories to the dimension of warehousing users, that is, the items of the same target warehousing user are all stored in one target compartment. When an outbound order includes items of multiple categories, it is not necessary to pick up goods from multiple compartments that are far apart, which improves the outbound efficiency and saves the logistics transportation cost at the same time.
[0021] The further effects of the above non-conventional optional manner will be described in conjunction with specific embodiments hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings are used to better understand the present invention and do not constitute an improper limitation to the present invention. Among them:
[0023] Figure 1 is a schematic diagram of the main steps of the method for determining a storage compartment according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of the main steps of taking the simulated moving compartment whose first simulated moving amount meets the moving condition as an alternative compartment according to an embodiment of the present invention;
[0025] Figure 3 is a schematic diagram of the main steps of taking the simulated moving compartment whose first simulated outbound amount meets the moving condition as an alternative compartment according to an embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of the main steps of determining a target compartment according to an embodiment of the present invention;
[0027] Figure 5 is a schematic diagram of the main steps of determining a target flow direction according to an embodiment of the present invention;
[0028] Figure 6 is a schematic diagram of the main modules of the device for determining a storage compartment according to an embodiment of the present invention;
[0029] Figure 7 is an exemplary system architecture diagram to which the embodiments of the present invention can be applied;
[0030] Figure 8 is a schematic structural diagram of a computer system of a terminal device or a server suitable for implementing the embodiments of the present invention. Specific Embodiments
[0031] The following describes exemplary embodiments of the present invention with reference to the accompanying drawings. Various details of the embodiments of the present invention are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted below.
[0032] It should be noted that, without conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0033] Figure 1 is a schematic diagram of the main steps of a method for determining storage compartments according to an embodiment of the present invention.
[0034] As Figure 1 shown, the method for determining storage compartments in the embodiments of the present invention mainly includes the following steps:
[0035] Step S101: Obtain a plurality of first compartments corresponding to a target warehousing user and outbound flow direction data;
[0036] Step S102: Determine a simulated moving compartment from the plurality of first compartments;
[0037] Step S103: Determine a first simulated moving amount for moving items from the plurality of first compartments to the simulated moving compartment, and a first simulated outbound amount corresponding to the target warehousing user in the simulated moving compartment;
[0038] Step S104: Use the simulated moving compartment for which the first simulated moving amount and / or the first simulated outbound amount meet the moving conditions as an alternative compartment;
[0039] Step S105: Determine a target compartment that meets the flow direction conditions from the one or more alternative compartments according to the outbound flow direction data corresponding to the one or more alternative compartments, so as to move the items corresponding to the target warehousing user to the target compartment.
[0040] Taking the e-commerce field as an example, the items stored in the warehouses are usually those of various merchants, and the storage capacity of each warehouse is basically saturated. Therefore, it is not very realistic to adjust all the items stored by all merchants at one time. Instead, the adjustment can be carried out in multiple times, with a small number of merchants being adjusted each time. Among them, the target warehousing users can be understood as the small number of merchants that can be adjusted each time. In an alternative embodiment, step S101 may include: determining target warehousing users whose outbound quantity is greater than a preset threshold according to the outbound quantities respectively corresponding to multiple warehousing users. That is, sorting the merchants according to the outbound quantity, and giving priority to replacing the warehouses of the merchants with larger outbound quantities.
[0041] In an alternative embodiment, multiple first warehouses corresponding to each target warehousing user (merchant) can be obtained through warehouse data, merchant data, and in-stock data. Among them, the warehouse data includes the code, name, storage capacity, production capacity, etc. of the warehouse, the merchant data includes the code, name, corresponding SKU code, etc. of the merchant, and the in-stock data includes the warehouse where each SKU code is located, name, and in-stock quantity, etc. By statistically analyzing the warehouse data, merchant data, and in-stock data, it is possible to know the SKUs corresponding to each merchant respectively, and which warehouse each SKU is stored in, and finally obtain the corresponding relationship between the merchant and the first warehouse.
[0042] Since in the prior art, the items of a merchant are stored in multiple storage compartments according to item categories (such as according to product functions), there can be multiple first storage compartments, which can be understood as multiple storage compartments used by the target warehousing user to store existing items with different functions. The simulated moving storage compartment is the storage compartment assumed to be moved to, that is, it is assumed that all the items in the multiple first storage compartments are moved to the simulated moving storage compartment. The target storage compartment is the storage compartment finally moved to, that is, the storage compartment that can meet the moving conditions and flow conditions after all the items in the multiple first storage compartments are moved to the simulated moving storage compartment. In an alternative embodiment, the simulated moving storage compartment has an optional range, and usually it is not randomly selected from all storage compartments, as that would increase unnecessary calculation processes. Specifically, step S102 may include: calculating the ratio between the storage quantity of each first storage compartment of the target warehousing user in the multiple first storage compartments and the total storage quantity of the target warehousing user, and based on this ratio, determining the simulated moving storage compartment from the multiple first storage compartments. By determining the simulated moving storage compartment from the multiple first storage compartments, the movement of items of each merchant can be minimized as much as possible, moving the few items stored in other storage compartments to the storage compartment where the majority of items are stored, saving the labor and material costs during the storage compartment swapping. It can be understood that it is not necessarily the case that the one with the largest ratio between the storage quantity of the first storage compartment and the total storage quantity of the target warehousing user is used as the simulated moving storage compartment. A preset value can be set, and the simulated moving storage compartment is selected from the multiple first storage compartments where the ratio between the storage quantity of the first storage compartment and the total storage quantity of the target warehousing user is greater than the preset value. The specific selection process is to regard all the first storage compartments that meet the conditions as the simulated moving storage compartment and execute steps S103 to S104, and regard all the simulated moving storage compartments that meet the moving conditions as alternative storage compartments.
[0043] It should be noted that steps S101 to S105 are specific steps taking one target warehousing user as an example, but for multiple merchants in the warehousing platform, steps S101 to S105 can be executed to determine the target storage compartment corresponding to each merchant respectively.
[0044] In an alternative embodiment, the process of regarding the simulated moving storage compartment where the first simulated moving quantity meets the moving conditions as an alternative storage compartment in step S104 is as Figure 2 shown, and further includes:
[0045] Step S201: Taking the absolute value of the difference between the incoming quantity and the outgoing quantity of the simulated moving storage compartment as the first simulated moving quantity;
[0046] Step S202: Regarding the simulated moving storage compartment where the first simulated moving quantity is not greater than the preset change quantity threshold as an alternative storage compartment.
[0047] Among them, the simulated moving-in quantity of the warehouse is the quantity of items in multiple first warehouses moved into the simulated moving warehouse by the current target warehousing user, and the moving-out quantity is the quantity of items moved from the simulated moving warehouse to other simulated moving warehouses by other warehousing users with the simulated moving warehouse as the first warehouse. It can be understood that there must be multiple target warehousing users. Since the capacity of each warehouse is limited, when a certain target warehousing user has items to be moved from Warehouse A to Target Warehouse B, there must be items of other warehousing users to be moved from Warehouse B to Target Warehouse A. Each target warehousing user corresponds to its own simulated moving warehouse and first warehouse. For example, the current target warehousing user is A, and the multiple first warehouses and the storage quantities in each first warehouse are 500 pieces of goods stored in Warehouse 1, 200 pieces of goods stored in Warehouse 2, and 300 pieces of goods stored in Warehouse 3 respectively. Now, taking Warehouse 1 as the simulated moving warehouse, then 200 pieces of goods in Warehouse 2 and 300 pieces of goods in Warehouse 3 need to be moved to Warehouse 1. Another target warehousing user is B, and the multiple first warehouses and the storage quantities in each first warehouse are 200 pieces of goods stored in Warehouse 1, 800 pieces of goods stored in Warehouse 2, and 600 pieces of goods stored in Warehouse 3 respectively. Now, taking Warehouse 2 as the simulated moving warehouse, then 200 pieces of goods in Warehouse 1 and 600 pieces of goods in Warehouse 3 need to be moved to Warehouse 2. Therefore, for the target warehousing user A, the first simulated moving quantity is the absolute value of the difference between the moving-in quantity and the moving-out quantity of Warehouse 1, that is, |200 + 300 - 200| = 300 pieces. For the target warehousing user B, the first simulated moving quantity is the absolute value of the difference between the moving-in quantity and the moving-out quantity of Warehouse 2, that is, |200 + 600 - 200| = 600 pieces. For the feasibility of the solution, the present invention limits the first simulated moving quantity, that is, only the simulated moving warehouse with the first simulated moving quantity not greater than the preset change quantity threshold can be used as an alternative warehouse. By limiting the first simulated moving quantity, it can be ensured that during the item moving process, the inventory quantities in each warehouse will not change too much, so as to avoid the situation that the available storage quantity in the target warehouse cannot meet the moving-in quantity after moving, that is, the moved-in items exceed the available storage quantity of the simulated moving warehouse.
[0048] In another alternative embodiment, the process of using the simulated moving warehouse with the first simulated out quantity meeting the moving condition as the alternative warehouse in step S104 is as Figure 3 shown, and further includes:
[0049] Step S301: Determine the first simulated out quantity according to the sum of the out quantity corresponding to the target warehousing user and the out quantity corresponding to other warehousing users in the simulated moving warehouse;
[0050] Step S302: Use the simulated moving warehouse with the first simulated out quantity meeting the rated out quantity as the alternative warehouse.
[0051] It should be noted that the first simulated outbound volume can be understood as the volume that needs to be out of the warehouse every day in the simulated mobile warehouse. Due to the limited handling capacity of the personnel in each warehouse, it is usually impossible to ship all the goods stored in the warehouse out, that is, each warehouse has a fixed rated outbound volume every day. Therefore, it is necessary to ensure that the first simulated outbound volume is not greater than the rated outbound volume in order to smoothly carry out the outbound of items. Among them, since the target warehouse users move all the items into the simulated mobile warehouse, the first simulated outbound volume includes the outbound volume of the target warehouse users and the outbound volume of other warehouse users that do not move between warehouses (originally stored in the simulated mobile warehouse).
[0052] After determining multiple simulated mobile warehouses that can be used as alternative warehouses, it is necessary to determine the optimal target warehouse from the multiple alternative warehouses, that is, to ensure that each target warehouse user corresponds to only one target warehouse. Therefore, in an alternative embodiment, the alternative warehouses are screened according to the outbound flow data, that is, step S105 can be further as Figure 4 shown, specifically including:
[0053] Step S401: Determine one or more target flows corresponding to one or more alternative warehouses respectively according to the outbound flow data corresponding to the one or more alternative warehouses;
[0054] Step S402: Determine the number of warehouses corresponding to each target flow, and determine the total number of warehouses corresponding to each alternative warehouse according to the number of warehouses;
[0055] Step S403: Use the alternative warehouse with the smallest total number of warehouses as the target warehouse.
[0056] Among them, the outbound flow data refers to the flow data in the historical transportation process, which may specifically include information such as the code, name, city, province, and region of the flow, that is, an outbound flow indicates the route from the origin to the destination and the warehouses passed through. In the embodiments of the present invention, it is considered that the flow data of each target warehouse user will not change, that is, regardless of whether the warehouse where the items are stored is adjusted, the destinations where the items of each merchant need to be delivered will not change, that is, the destination will not change due to the change of the storage location. Therefore, in the embodiments of the present invention, it is necessary to screen from the original multiple flows to obtain the target flow after moving the items from multiple first warehouses to the simulated mobile warehouse, that is, to ensure that after the items are moved, the alternative warehouses where they are stored are in the target flow. That is, step S401 can be specifically as Figure 5 shown, including:
[0057] Step S501: Determine one or more flows corresponding to the target warehouse user according to the outbound flow data;
[0058] Step S502: Select a target flow path from multiple flow paths that passes through the alternative storage compartments.
[0059] Moreover, in a further optional embodiment, the selected target flow path also needs to pass through the non - moving storage compartments corresponding to the storage users who have not moved. That is, step S502 includes: selecting a target flow path from multiple flow paths that passes through the alternative storage compartments and the non - moving storage compartments; wherein, the non - moving storage compartments are the second storage compartments for which the corresponding second simulated movement quantity and the second first simulated outbound quantity do not meet the movement conditions.
[0060] Through the above steps, a target flow path that passes through both the alternative storage compartments and the non - moving storage compartments is obtained from multiple flow paths in the historical outbound flow path data. In an optional embodiment, a function can be constructed to obtain the alternative storage compartment with the smallest total number of storage compartments that can be used as the target storage compartment. For example, the processes of step S402 and step S403 can be implemented by the following function:
[0061] min∑ j∈J ∑ k∈K z ik Formula (1)
[0062] where J represents the set of all flow paths, K represents the set of all storage compartments, and z jk represents whether each target flow path j passes through the alternative storage compartment k.
[0063] In a further optional embodiment, when the total number of alternative storage compartments is the same and the smallest, step S403 includes: selecting a storage compartment that meets the preset conditions as the target storage compartment. That is, one is selected from multiple alternative storage compartments with the smallest total number of storage compartments according to actual needs as the target storage compartment to ensure that each target storage user corresponds to one and only one target storage compartment.
[0064] In an optional embodiment of the present invention, a method for determining storage compartments can be implemented using a mixed - integer programming model. The construction of the mixed - integer programming model and how to implement the method for determining storage compartments will be specifically described below.
[0065] First, the decision variables of the mixed - integer programming model need to be constructed. The specific decision variables are shown in Table 1 below:
[0066] Table 1 Decision variables and their explanations in the mixed - integer programming model
[0067]
[0068] After constructing the three decision variables, the merchant i can be set first. On the premise of targeting a certain target warehousing user, by setting different k values, different simulated mobile warehouses can be judged. If the moving conditions can be met, the corresponding k values will be put into the value range of the alternative warehouses. Finally, multiple k values corresponding to different merchants i can be obtained.
[0069] Specifically, each target warehousing user in the model is limited to only one target warehouse through the following formula (2), as shown below:
[0070]
[0071] where K represents the set of all warehouses; I represents the set of all merchants. Since the value of y i is 0 or 1, after setting the target merchant, that is, after assigning a value to i, the value of x corresponding to each warehouse k of the set target merchant can be obtained. The value of x is also 0 or 1. By ensuring that the sum of x is 1, it can be ensured that there is exactly one 1 among the multiple x values in the sum, and the rest are 0, that is, a target merchant i ultimately corresponds to only one k value.
[0072] For the process of selecting the target flow passing through the alternative warehouse in step S502, it can be limited by the following formula (3):
[0073]
[0074] where F ij represents whether there are stored items of the target merchant i in the flow j. If so, it is 1, otherwise it is 0; M represents a sufficiently large number. By setting i and k in the above formula (3), the corresponding x value can be obtained when the target merchant i transfers the items to the alternative warehouse k. When the target merchant 9 does not transfer the items, x ik is 0, and the inequality always holds at this time, so the target flow is not limited. When the target merchant i moves the items to the alternative warehouse k, x ik is 1. At this time, according to whether there are stored items of the target merchant i in each flow j, the target flow z jk can be limited to obtain the target flow that must pass through the alternative warehouse.
[0075] Furthermore, the target flow passing through the non-mobile warehouse is limited by the following formula (4). By taking the intersection of the limitations of formula (3) and formula (4), the target flow passing through the alternative warehouse and the non-mobile warehouse can be selected from multiple flows.
[0076]
[0077] where Eijk Indicates whether there is an item out-of-warehouse from storage location k to merchant j for target merchant i. If so, it is 1; otherwise, it is 0. M represents a sufficiently large number.
[0078] Regarding the limitations on the first simulated out-of-warehouse quantity and the first simulated movement quantity in steps S202 and S302 respectively, they can be shown as the following formula (5) and formula (6) respectively. Specifically:
[0079]
[0080] Among them, P ik represents the out-of-warehouse quantity of target merchant i at storage location k; U k represents the rated out-of-warehouse quantity of storage location k; R k represents the out-of-warehouse quantity of other merchants at storage location k except target merchant i.
[0081]
[0082] Among them, Q ik represents the storage quantity of target merchant i at storage location k; ∑ i∈I Q ik (1 - x ik ) - ∑ i∈I Q ik (1 - y i ) - ∑ i∈I ∑ k′∈K / k Q ik′ x ik represents the absolute value of the difference between the incoming and outgoing quantities at storage location k; V k represents the maximum change in the incoming and outgoing quantities of storage location k.
[0083] Similarly, after setting target merchant i and storage location k, the values of P ik , x ik , R k , and U k in formula (5) can be obtained correspondingly, and the values of x ik , Q ik , and V k in formula (6) can be obtained. For the set target merchant i, the k that satisfies the inequality is used as the alternative storage location.
[0084] Specifically, formula (6) can be linearized, that is, there are two cases after decomposing the absolute value, such as formula (7) and formula (8):
[0085]
[0086]
[0087] In an alternative embodiment, the number of target merchants i to be adjusted can also be constrained by a manually set value, as shown in Equation (IX):
[0088] ∑ i∈I y i ≤N Equation (IX)
[0089] Where N represents the maximum number of merchants that can be adjusted, which can be manually set.
[0090] Through the multiple moving conditions of the above Equations (II) to (IX), for a single target merchant, the first simulated moving quantity, the first simulated outbound quantity, and the target flow direction corresponding to moving the items to each set simulated moving warehouse are respectively determined, and screening is performed based on whether the multiple moving conditions are satisfied, so as to obtain the range of the simulated moving warehouse corresponding to the target merchant. Finally, the target warehouse can be determined according to Equation (I).
[0091] According to the method for determining a storage warehouse according to an embodiment of the present invention, by obtaining multiple first warehouses corresponding to a target warehousing user and simulating moving all the items of the target warehousing user to one of the first warehouses, assuming any one of the first warehouses as the simulated moving warehouse during the simulation process, and by constraining the first simulated moving quantity of moving the original first warehouse to the simulated moving warehouse and / or the first simulated outbound quantity of the simulated moving warehouse and the outbound flow direction data, a target warehouse that satisfies the moving conditions and the flow direction conditions is determined from the multiple first warehouses. Furthermore, the items corresponding to the target warehousing user can be moved to the target warehouse, thereby realizing the change of the existing storage method from the dimension of item categories to the dimension of warehousing users, that is, the items of the same target warehousing user are all stored in one target warehouse, avoiding the need to pick up goods from multiple warehouses that are far apart when a single outbound order includes items of multiple categories, improving the outbound efficiency and saving the logistics transportation cost at the same time.
[0092] Figure 6 It is a schematic diagram of the main modules of the device for determining a storage warehouse according to an embodiment of the present invention.
[0093] As Figure 6 shown, the device 600 for determining a storage warehouse according to an embodiment of the present invention includes:
[0094] An acquisition module 601, configured to acquire multiple first warehouses corresponding to a target warehousing user and outbound flow direction data;
[0095] A determination module 602, configured to determine a simulated moving warehouse from the multiple first warehouses; and determine the first simulated moving quantity of moving the items from the multiple first warehouses to the simulated moving warehouse, and the first simulated outbound quantity corresponding to the target warehousing user in the simulated moving warehouse;
[0096] A judgment module 603, configured to use the analog moving bins where the first analog moving quantity and / or the first analog outbound quantity meet the moving conditions as alternative bins;
[0097] An analysis module 604, configured to determine a target bin that meets the flow conditions from one or more of the alternative bins according to the outbound flow data respectively corresponding to one or more of the alternative bins, so as to move the items corresponding to the target warehousing user to the target bin.
[0098] In an optional embodiment of the present invention, the analysis module 604 is further configured to determine one or more target flows respectively corresponding to one or more of the alternative bins according to the outbound flow data respectively corresponding to one or more of the alternative bins; determine the number of bins corresponding to each target flow, and determine the total number of bins corresponding to each of the alternative bins according to the number of bins; use the alternative bin with the smallest total number of bins as the target bin.
[0099] In an optional embodiment of the present invention, the analysis module 604 is further configured to, when there are multiple alternative bins with the same minimum total number of bins, select a bin that meets the preset conditions as the target bin.
[0100] In an optional embodiment of the present invention, the analysis module 604 is further configured to determine one or more flows corresponding to the target warehousing user according to the outbound flow data; select a target flow passing through the alternative bin from the multiple flows.
[0101] In an optional embodiment of the present invention, the analysis module 604 is further configured to select a target flow passing through the alternative bin and a non-moving bin from the multiple flows; wherein the non-moving bin is a second bin where the corresponding second analog moving quantity and the second first analog outbound quantity do not meet the moving conditions.
[0102] In an optional embodiment of the present invention, the judgment module 603 is further configured to determine the first analog outbound quantity according to the sum of the outbound quantity corresponding to the target warehousing user and the outbound quantities corresponding to other warehousing users in the analog moving bin; use the analog moving bin where the first analog outbound quantity meets the rated outbound quantity as the alternative bin.
[0103] In an optional embodiment of the present invention, the judgment module 603 is further configured to use the absolute value of the difference between the inbound quantity and the outbound quantity of the analog moving bin as the first analog moving quantity; use the analog moving bin where the first analog moving quantity is not greater than the preset change quantity threshold as the alternative bin.
[0104] In an alternative embodiment of the present invention, the obtaining module 601 is further configured to determine a target warehousing user whose outbound quantity is greater than a preset threshold according to the outbound quantities corresponding to multiple warehousing users respectively.
[0105] In an alternative embodiment of the present invention, the determining module 602 is further configured to calculate the ratio between the storage quantity of the target warehousing user in each of the multiple first storage rooms and the total storage quantity of the target warehousing user; based on the ratio, determine the simulated moving storage room from the multiple first storage rooms.
[0106] According to the device for determining a storage room of the embodiment of the present invention, the original storage by item category dimension can be changed to storage by target warehousing user dimension. By obtaining multiple first storage rooms corresponding to the target warehousing user and simulating moving all items of the target warehousing user to one of the first storage rooms, assuming any one of the first storage rooms as the simulated moving storage room during the simulation process, and by constraining the first simulated moving quantity of the original first storage room to the simulated moving storage room and / or the first simulated outbound quantity of the simulated moving storage room and the outbound flow direction data, a target storage room that meets the moving condition and flow direction condition is determined from the multiple first storage rooms, and then the items corresponding to the target warehousing user can be moved to the target storage room. Thus, the existing storage method is changed from the item category dimension to the warehousing user dimension, that is, the items of the same target warehousing user are all stored in one target storage room, avoiding the need to pick up goods from multiple storage rooms that are far apart when an outbound order includes items of multiple categories, improving the outbound efficiency and saving the logistics transportation cost at the same time.
[0107] Figure 7 An exemplary system architecture 700 is shown to which the method for determining a storage room or the device for determining a storage room according to the embodiment of the present invention can be applied.
[0108] As Figure 7 shown, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is used to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0109] Users can use the terminal devices 701, 702, 703 to interact with the server 705 through the network 704 to receive or send data, etc. Various communication client applications may be installed on the terminal devices 701, 702, 703, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0110] The terminal devices 701, 702, and 703 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, laptop computers, desktop computers, and so on.
[0111] The server 705 can be a server that provides various services. For example, it is a background management server that supports the bin data, merchant data, in-stock data, and outbound flow data sent by users using the terminal devices 701, 702, and 703. The background management server can analyze and process the received data such as bin data, merchant data, in-stock data, and outbound flow data, and feedback the processing results (such as the target bins corresponding to each target warehousing user) to the terminal devices.
[0112] It should be noted that the method for determining the storage bin provided in the embodiments of the present invention is generally executed by the server 705. Correspondingly, the device for determining the storage bin is generally arranged in the server 705.
[0113] It should be understood that Figure 7 the numbers of the terminal devices, network, and server in
[0114] are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, network, and server. Figure 8 is a schematic structural diagram of a computer system 800 of a terminal device suitable for implementing the embodiments of the present invention. Figure 8 The terminal device shown is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present invention.
[0115] As Figure 8 shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage section 808 into the random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other through a bus 804. The input / output (I / O) first interface 805 is also connected to the bus 804.
[0116] The following components are connected to the first I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a first network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the first I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 810 as needed so that a computer program read from it can be installed into the storage section 808 as needed.
[0117] Specifically, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present invention include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 809, and / or installed from the removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present invention are performed.
[0118] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The 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 of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present invention, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which the computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0119] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and the above module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0120] The modules involved in the embodiments of the present invention can be implemented in software or in hardware. The described modules can also be provided in a processor. For example, it can be described as: a processor includes an acquisition module, a determination module, a judgment module, and an analysis module. Among them, the names of these modules do not constitute a limitation to the module itself in some cases. For example, the acquisition module can also be described as "a module for acquiring a plurality of first storage compartments corresponding to a target warehousing user and outbound flow data".
[0121] As another aspect, the present invention further provides a computer-readable medium, which can be included in the device described in the above embodiments; or can exist alone without being assembled into the device. The above computer-readable medium carries one or more programs. When the one or more programs are executed by the device, the device includes: acquiring a plurality of first storage compartments corresponding to a target warehousing user and outbound flow data; determining a simulated moving storage compartment from the plurality of first storage compartments; determining a first simulated moving quantity of moving items from the plurality of first storage compartments to the simulated moving storage compartment, and a first simulated outbound quantity corresponding to the target warehousing user in the simulated moving storage compartment; using the simulated moving storage compartment for which the first simulated moving quantity and / or the first simulated outbound quantity meet the moving conditions as an alternative storage compartment; and determining a target storage compartment that meets the flow conditions from one or more alternative storage compartments according to the outbound flow data corresponding to the one or more alternative storage compartments, so as to move the items corresponding to the target warehousing user to the target storage compartment.
[0122] According to the technical solution of the embodiments of the present invention, by acquiring a plurality of first storage compartments corresponding to a target warehousing user and simulating moving all the items of the target warehousing user to one of the first storage compartments, assuming any one of the first storage compartments as the simulated moving storage compartment during the simulation process, and by constraining the first simulated moving quantity of moving the original first storage compartment to the simulated moving storage compartment and / or the first simulated outbound quantity of the simulated moving storage compartment and the outbound flow data, a target storage compartment that meets the moving conditions and the flow conditions is determined from the plurality of first storage compartments, and then the items corresponding to the target warehousing user can be moved to the target storage compartment. Thus, the existing storage method is changed from the dimension of item categories to the dimension of warehousing users, that is, the items of the same target warehousing user are all stored in a target storage compartment. When an outbound order includes items of multiple categories, it is avoided that the items need to be picked up through multiple storage compartments that are far apart, which improves the outbound efficiency and saves the logistics transportation cost at the same time.
[0123] The above specific embodiments do not constitute a limitation to the protection scope of the present 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 principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for determining storage compartments, characterized in that, Including: Obtain multiple first storage compartments corresponding to a target warehousing user and outbound flow data; Determine a simulated moving compartment from the multiple first storage compartments; Determine a first simulated moving quantity for moving items from the multiple first storage compartments to the simulated moving compartment, and a first simulated outbound quantity corresponding to the target warehousing user in the simulated moving compartment; Use the simulated moving compartment for which the first simulated moving quantity and / or the first simulated outbound quantity meet the moving conditions as an alternative compartment; Determine one or more target flows corresponding to the one or more alternative compartments respectively according to the outbound flow data corresponding to the one or more alternative compartments; Determine the number of compartments corresponding to each target flow, and determine the total number of compartments corresponding to each of the alternative compartments according to the number of compartments; Use the alternative compartment with the smallest total number of compartments as the target compartment.
2. The method according to claim 1, wherein When there are multiple alternative compartments with the same smallest total number of compartments, the step of using the alternative compartment with the smallest total number of compartments as the target compartment includes: selecting a compartment that meets the preset conditions as the target compartment.
3. The method according to claim 1, characterized in that, The step of determining one or more target flows corresponding to the one or more alternative compartments respectively according to the outbound flow data corresponding to the one or more alternative compartments includes: Determine one or more flows corresponding to the target warehousing user according to the outbound flow data; Select a target flow passing through the alternative compartment from the multiple flows.
4. The method according to claim 3, wherein The step of selecting a target flow passing through the alternative compartment from the multiple flows includes: Select a target flow passing through the alternative compartment and a non-moving compartment from the multiple flows; wherein, the non-moving compartment is a second compartment for which the corresponding second simulated moving quantity and second first simulated outbound quantity do not meet the moving conditions.
5. The method according to claim 1, wherein The step of using the simulated moving compartment for which the first simulated moving quantity and / or the first simulated outbound quantity meet the moving conditions as an alternative compartment includes: Determine the first simulated outbound quantity according to the sum of the outbound quantity corresponding to the target warehousing user and the outbound quantities corresponding to other warehousing users in the simulated moving compartment; Use the simulated moving compartment for which the first simulated outbound quantity meets the rated outbound quantity as an alternative compartment.
6. The method according to claim 1, wherein The step of using the simulated moving compartment for which the first simulated moving quantity and / or the first simulated outbound quantity meet the moving conditions as an alternative compartment includes: Use the absolute value of the difference between the incoming quantity and the outgoing quantity of the simulated moving compartment as the first simulated moving quantity; Use the simulated moving compartment for which the first simulated moving quantity is not greater than the preset change quantity threshold as the alternative compartment.
7. The method according to claim 1, characterized in that, It also includes: Determine a target warehousing user with an outbound quantity greater than a preset threshold according to the outbound quantities corresponding to multiple warehousing users respectively.
8. The method according to claim 1, characterized in that, The step of determining a simulated moving compartment from the multiple first storage compartments includes: Calculate the ratio between the storage quantity of the target warehousing user in each of the multiple first storage compartments and the total storage quantity of the target warehousing user; Based on the ratio, determine the simulated moving compartment from the multiple first storage compartments.
9. A device for determining a storage compartment, characterized in that, Including: An acquisition module, configured to acquire multiple first storage compartments corresponding to a target warehousing user and outbound flow data; A determination module, configured to determine a simulated moving bin from the multiple first bins; and determine a first simulated moving quantity for moving items from the multiple first bins to the simulated moving bin, and a first simulated outbound quantity corresponding to a target warehousing user in the simulated moving bin; A judgment module, configured to use the simulated moving bin for which the first simulated moving quantity and / or the first simulated outbound quantity meets the moving condition as an alternative bin; An analysis module, configured to determine one or more target flow directions respectively corresponding to the one or more alternative bins according to the outbound flow direction data respectively corresponding to the one or more alternative bins; Determine the number of bins corresponding to each target flow direction, and determine the total number of bins corresponding to each of the alternative bins according to the number of bins; Use the alternative bin with the smallest total number of bins as the target bin.
10. An electronic device for determining between storage bins, characterized in that, Including: One or more processors; A storage device, configured to store 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 according to any one of claims 1-8.
11. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, the method according to any one of claims 1-8 is implemented.
Citation Information
Patent Citations
Method and device for processing replenishment information of commodity object
CN106991550A
Article storage information generation method and device
CN109961247A