A method for automatically generating suitable storage locations based on dynamic storage locations
By dynamically querying and judging the location coordinates in the warehouse, the problem of high application costs of neural network methods in small and medium-sized warehouses is solved, the efficiency and stability of location allocation are achieved, and development costs are reduced.
Patent Information
- Application Number
- CN202111675762.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-12-31
AI Technical Summary
Existing neural network-based warehouse management methods require a large number of sample training in small and medium-sized warehouses and newer warehouses, have high application costs, and are not suitable for optimization of storage location allocation in small and medium-sized warehouses.
A method is used to automatically generate appropriate storage locations based on dynamic warehousing locations. The database is queried to find locations that meet the stacking conditions. If no conditions are met, empty locations are searched, and the locations are judged based on the Y-axis and X-axis directions. position coordinates to ensure the rationality and stability of cargo placement.
It reduces development costs, simplifies the location calculation method, is suitable for small and medium-sized warehouses, and improves the efficiency and stability of location allocation.
Smart Images

Figure CN114356298B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of storage location calculation, and in particular to a method for automatically generating suitable storage locations based on dynamic storage locations. Background Art
[0002] As an important part that affects the performance and energy consumption of the entire production logistics system, the cost of the warehousing system accounts for about 7% of the cost of the entire logistics system. Its optimization problem has also received more and more research. Reducing the time of entering and leaving the warehouse, reducing the energy consumption of entering and leaving the warehouse, and increasing the stability of warehouse shelves are the research focuses of warehouse performance optimization. Since the time consumption caused by the entry and exit of goods in the material warehouse is determined to a certain extent by the storage location allocated by the warehouse for each material, the optimization problem of storage location allocation is generally studied as an important entry point in the optimization problem of automated warehouses. Storage location allocation optimization improves the performance of the production logistics system by considering the entry and exit rules and material characteristics of goods, and relies on allocating reasonable storage locations for goods, thereby achieving the effect of improving enterprise production efficiency and reducing production costs.
[0003] There are warehouse management methods in the prior art that utilize image processing combined with neural networks. However, the warehouse management methods based on neural networks rely on a large number of input samples and need to be trained. Moreover, once the input and output are adjusted, the modeling needs to be retrained. For small and medium-sized warehouses, as well as newer warehouses, it is impractical to collect a large number of samples, and the application cost is relatively high. Summary of the invention
[0004] In order to overcome the above-mentioned deficiencies of the prior art, the technical solution adopted by the present invention is: a method for automatically generating suitable storage locations based on dynamic storage locations comprises the following steps:
[0005] S1. According to the new pallet number, query the database to see whether there is non-empty data in the corresponding storage area set;
[0006] S2. When it is found that the storage area set is not empty, first check whether there is an area with the same pallet and space for stacking new pallets. If yes, execute step S3; otherwise, execute step S4.
[0007] S3, start the process of obtaining stackable storage locations in the same pallet area;
[0008] S31, traversing all storage location data sets of the same pallet from the database to find out whether there is storage location data that satisfies stacking;
[0009] S32, when there are pallets that meet the stacking height limit and weight limit conditions, output the storage location coordinate values of all pallets that meet the conditions, and execute step S5; if no pallet area that meets the conditions is found, execute step S4;
[0010] Furthermore, the stacking limit is based on whether the height of the same pallet storage location + the height of the new pallet exceeds the limited height threshold;
[0011] The stacking weight limit condition refers to whether the weight of the same pallet storage location + the weight of the new pallet exceeds the limited weight threshold;
[0012] S4. When the returned storage location coordinate value is empty, the process of obtaining available empty storage locations is started, that is, a suitable empty storage location is found from the storage location storage area set for placing the new pallet;
[0013] S41, first traverse all storage location storage area sets to find out whether there is an empty storage location set in the Y-axis direction; if so, obtain the coordinate value of the current storage location, and perform width difference, cross-boundary and conflict judgment on the previous empty and next empty storage locations of the current storage location; if there is no empty storage location in the Y-axis direction or the upper and lower empty storage locations of the current storage location do not meet the judgment conditions, execute step S42;
[0014] S411, determine whether the X-axis width difference between the current storage location and the next empty storage location exceeds the limit or whether the next empty storage location crosses the boundary and conflicts with the existing storage location in this area;
[0015] S412: If yes, then obtain the previous empty storage location of the current storage location, and determine whether the difference in X-axis width between the current storage location and the previous empty storage location exceeds the limit or whether there is an out-of-bounds or conflict between the previous empty storage location and the existing storage location;
[0016] S413, traverse all the empty storage locations in the Y-axis direction, find all the empty storage locations that meet the conditions that the width difference between the current storage location and the previous storage location and the next storage location does not exceed the limit and does not cross the boundary and conflict with the existing storage locations in the area, output the coordinate values of all the empty storage locations that meet the conditions, and execute step S5;
[0017] If the condition is not met, execute step S42;
[0018] S42, obtaining a new storage location along the X-axis, querying the maximum X-axis coordinate of the storage location coordinate system in the area, and calculating the coordinate value of the new storage location according to the coordinate system of the new pallet;
[0019] S421, determine whether the new storage location crosses the boundary and conflicts with the existing storage location in the area. If there is no cross-border or conflict, return the storage location coordinate value and execute step S5;
[0020] S5. Stack or place the cargo pallets according to the returned storage location coordinate values.
[0021] The beneficial effects of the present invention are:
[0022] 1. First, search for stackable empty storage locations in the same pallet, then search for new storage locations along the Y-axis direction, search for new storage locations that meet the width difference, cross-border and conflict requirements before and after the current storage location, and finally search for new storage locations along the X-axis direction. The calculation method for new storage locations in the present invention is simple, and the complexity is greatly reduced compared to the neural network algorithm, which greatly saves development costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flow chart of a method for automatically generating suitable storage locations based on dynamic storage locations of the present invention;
[0024] Figure 2 It is a schematic diagram of the coordinate system for calculating the next empty storage location according to the current storage location of the present invention;
[0025] Figure 3 It is a schematic diagram of the coordinate system of an empty storage location calculated by the current storage location of the present invention;
[0026] Figure 4 It is a schematic diagram of the coordinate system of a new storage location obtained by wrapping along the X-axis of the present invention. DETAILED DESCRIPTION
[0027] The present invention is further described below in conjunction with the accompanying drawings and embodiments. This figure is a simplified schematic diagram, which only illustrates the basic structure of the present invention in a schematic manner, and therefore it only shows the components related to the present invention.
[0028] like Figure 1 As shown, a method for automatically generating a suitable storage location based on a dynamic storage location includes the following steps:
[0029] S1. According to the new pallet number, query the database to see whether there is non-empty data in the corresponding storage area set;
[0030] Different specifications of pallets correspond to different storage areas. Some of the same pallets in the storage area have been stacked, and some can continue to be stacked; there are also storage area sets where new pallets can be placed;
[0031] S2. When it is found that the storage area set is not empty, first check whether there is an identical pallet area and whether there is space for stacking new pallets. If so, execute step S3; otherwise, execute step S4.
[0032] S3, start the process of obtaining stackable storage locations in the same pallet area;
[0033] S31, traversing all storage location data sets of the same pallet from the database to find out whether there is storage location data that satisfies stacking;
[0034] S32, when there are pallets that meet the stacking height limit and weight limit conditions, output the storage location coordinate values of all pallets that meet the conditions, and execute step S5; if no pallet area that meets the conditions is found, execute step S4;
[0035] Furthermore, the stacking limit is based on whether the height of the same pallet storage location + the height of the new pallet exceeds the limited height threshold;
[0036] The stacking weight limit condition refers to whether the weight of the same pallet storage location + the weight of the new pallet exceeds the limited weight threshold;
[0037] Among them, both the height limit threshold and the weight limit threshold can be set;
[0038] S4. When the returned storage location coordinate value is empty, the process of obtaining available empty storage locations is started, that is, a suitable location is centrally found from the storage area for placing the new pallet;
[0039] S41, first traverse all the storage location storage area set data to find out whether there is an empty storage location set in the Y-axis direction; if so, obtain the current storage location coordinate value, and perform width difference, cross-boundary and conflict judgment on the upper and lower empty storage locations of the current storage location; if there is no empty storage location in the Y-axis direction or the upper and lower empty storage locations of the current storage location do not meet the judgment conditions, execute step S42;
[0040] S411, determine whether the X-axis width difference between the current storage location and the next empty storage location exceeds the limit or whether the next empty storage location crosses the boundary and conflicts with the existing storage location in this area;
[0041] Figure 2 For a set of empty storage locations that satisfy the Y-axis direction, let the coordinate values of the lower left and upper right corners of the current storage location be (x1, y1) and (x2, y2) respectively. The next empty storage location is a new storage location for placing a new pallet. The size of the new storage location is equal to the size of the pallet. The length and width of the pallet are represented by length and width. The width difference between the new storage location and the current storage location on the X-axis = width-(x2-x1). Set the width difference threshold to deviation. If the width difference <= deviation, the new storage location meets the condition. ySpace is the distance between two adjacent storage locations on the Y-axis. According to the coordinate values of the current storage location, the coordinate values of the lower left and upper right corners of the new storage location can be calculated as (x'1, y'1) = (x1, y2 + ySpace) and (x'2, y'2) = (x1 + width, y2 + ySpace + length) respectively.
[0042] Cross-border and conflict are based on the length and width of all existing storage locations. The maximum values of the existing storage locations on the x and y coordinates are set to maxX and maxY respectively, and the minimum value is set to 0, that is, minX = minY = 0. When the new storage location x'1<minX||x’2> maxX||y'1<minY||y’2> maxY is considered out of bounds;
[0043] Whether the new storage location conflicts with the existing storage location in this area is determined by instantiating a geometric figure with the help of the Rectangle class, and using the intersects method of the Rectangle class to determine whether there is an intersection. If there is an intersection, it is a conflict.
[0044] The specific implementation code is as follows:
[0045]
[0046]
[0047] S412: If yes, then obtain the previous empty storage location of the current storage location, and determine whether the difference in X-axis width between the current storage location and the previous empty storage location exceeds the limit or whether there is an out-of-bounds or conflict between the previous empty storage location and the existing storage location;
[0048] Figure 3 Assume that the coordinate values of the lower left corner and upper right corner of the current storage location are (x1, y1) and (x2, y2) respectively. Based on the coordinate values of the current storage location, the coordinate values of the lower left corner and upper right corner of the new storage location can be calculated as (x'1, y'1) = (x1, y1-ySpace-length) and (x'2, y'2) = (x1+width, y1-ySpace) respectively.
[0049] S413, traverse all the empty storage locations in the Y-axis direction, find all the empty storage locations that meet the conditions that the Y-axis width difference between the current storage location and the previous storage location and the next storage location does not exceed the limit and does not cross the boundary and conflict with the existing storage locations in the area, output all the empty storage location coordinate values that meet the conditions, and execute step S5;
[0050] If the condition is not met, execute step S42;
[0051] S42, obtaining a new storage location along the X-axis, querying the maximum X-axis coordinate of the storage location coordinate system in the area, and calculating the coordinate value of the new storage location according to the coordinate system of the new pallet;
[0052] S421, determine whether the new storage location crosses the boundary and conflicts with the existing storage location in the area. If there is no cross-border or conflict, return the storage location coordinate value and execute step S5;
[0053] like Figure 4As shown, the largest X-axis coordinate of the storage location in the area is X2, and the coordinates of the lower left and upper right corners of the new storage location are (x'1, y'1) = (x2 + xSpace, 0) and (x'2, y'2) =
[0054] (x1+xSpace+width,length), where xSpace is the distance between two adjacent storage locations on the X axis, and xSpace is the set value;
[0055] S5. Stack or place the cargo pallets according to the returned storage location coordinate values.
[0056] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A method for automatically generating suitable storage locations based on dynamic storage locations, characterized in that: The following steps are involved: S1. According to the new pallet number, query the database to see whether there is non-empty data in the corresponding storage area set; S2. When it is found that the storage area set is not empty, first check whether there is an area with the same pallet and space for stacking new pallets. If yes, execute step S3; otherwise, execute step S4. S3. Start the process of obtaining the stackable storage location in the same pallet area and return the storage location coordinate value; S4, start the process of obtaining available empty storage locations and return the storage location coordinate values; The process of starting to obtain available empty storage locations includes: S41, search for a suitable empty storage location for placing the new pallet from the storage location storage area set, and check whether there is an empty storage location set in the Y-axis direction; if so, obtain the coordinate value of the current storage location, and perform width difference, cross-bounds, and conflict judgment on the upper and lower empty storage locations of the current storage location; if there is no empty storage location in the Y-axis direction or the previous empty storage location or the next empty storage location of the current storage location, wrap along the X-axis to obtain a new storage location; S411, determine whether the X-axis width difference between the current storage location and the next empty storage location exceeds the limit or whether the next empty storage location crosses the boundary and conflicts with the existing storage location in this area; Cross-border and conflict are based on the length and width of all existing storage locations. The maximum values of the existing storage locations on the x and y coordinates are set to maxX and maxY respectively, and the minimum value is set to 0, that is, minX = minY = 0. ’ 1 <minX||x ’ 2>maxX||y ’ 1 <minY||y ’ 2>maxY is judged as out of bounds; Conflicts are detected by instantiating geometric figures with the help of the Rectangle class and using the intersects method of the Rectangle class to determine whether there is an intersection. If there is an intersection, it is a conflict. S412: If yes, then obtain the previous empty storage location of the current storage location, and determine whether the difference in X-axis width between the current storage location and the previous empty storage location exceeds the limit or whether there is an out-of-bounds or conflict between the previous empty storage location and the existing storage location; S413, traverse all the empty storage locations in the Y-axis direction, find all the empty storage locations that meet the conditions that the width difference between the current storage location and the previous storage location and the next storage location does not exceed the limit and does not cross the boundary or conflict with the existing storage locations in the area, output the coordinate values of all the empty storage locations that meet the conditions, and execute step S5; if the conditions are not met, wrap along the X-axis to obtain a new storage location; Wrap along the X-axis to obtain a new location, including: S42 queries the maximum X-axis coordinate of the storage location coordinate system in the storage location storage area set, and calculates the coordinate value of the new storage location according to the coordinate system of the new pallet; S421, determine whether the new storage location crosses the boundary and conflicts with the existing storage location in the area. If there is no cross-border or conflict, return the storage location coordinate value and execute step S5; S5. Stack or place the new pallet according to the returned storage location coordinate value.
2. The method for automatically generating suitable storage locations based on dynamic storage locations according to claim 1 is characterized in that: The process of starting to obtain stackable storage locations in the same pallet area in step S3 includes: S31, traversing all storage location data sets of the same pallet from the database to find out whether there is storage location data that satisfies stacking; S32. When there are conditions that meet the stacking limit height and stacking limit weight of the new pallet, output the storage location coordinate values of all identical pallets that meet the conditions, and execute the step S5; if no identical pallet area that meets the conditions is found, execute the step S4.
3. The method for automatically generating suitable storage locations based on dynamic storage locations according to claim 2 is characterized in that: The stacking limit height is based on whether the same pallet storage location height + the new pallet height exceeds the limit height threshold; The stacking limit weight refers to whether the weight of the same pallet storage location + the weight of the new pallet exceeds the limit weight threshold.
4. The method for automatically generating suitable storage locations based on dynamic storage locations according to claim 1, characterized in that: The width difference is calculated based on the width difference between the new storage location and the current storage location on the X-axis, width difference = width-(x2-x1), where width is the new pallet width, x1 and x2 are the X-axis coordinates of the lower left corner and upper right corner of the current storage location.
