Method, device, electronic device and readable medium for listing products
Through real-time updates of storage location information and parallel packing algorithms, it solves the problem of difficulty in quickly finding available storage locations for shelf puters in large warehouses, enables real-time query of multiple storage location types and recommendations for suitable storage locations, and improves warehouse operation efficiency.
Patent Information
- Application Number
- CN201910555646.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-25
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-06-25
AI Technical Summary
The existing method of putting goods on shelves in large warehouses lacks a real-time inventory management system that is accurate to the storage location level, making it difficult for puters to quickly find available storage locations, which reduces warehouse operation efficiency, and the complexity of storage location types and packing algorithm logic increases query pressure.
Through real-time updates of storage details and storage commodity quantity tables, combined with the distributed publish-subscribe message system and real-time computing framework, a parallel binning algorithm is used to determine the appropriate storage set, and the Dijkstra algorithm is used to recommend the shelving path. Real-time query of multiple storage location types and recommendation of suitable storage locations.
Without affecting the production system, it improves the warehouse's shelving efficiency, reduces query pressure, can quickly determine the appropriate storage location set, adapts to the needs of different storage location types, and improves computing efficiency.
Smart Images

Figure CN112132643B
Abstract
Description
Technical Field
[0001] The present application relates to the field of logistics and communications, and in particular to a method, device, electronic device and readable medium for listing goods. Background Art
[0002] In modern logistics, putting goods on shelves is an important part of warehouse production. Currently, putting goods on shelves mainly depends on the operator's experience. Specifically, the operator finds a storage location on the warehouse shelf that can meet the current demand for goods to be put on shelves, thereby completing the task of putting goods on shelves. The existing methods of putting goods on shelves can be roughly divided into the following four types:
[0003] (1) Random Shelving: Shelving to available storage locations.
[0004] (2) Shelving at the nearest available location: Shelving the items at the first empty storage location encountered by the shelf staff.
[0005] (3) Classification and Shelving: The products to be put on the shelves are put on the shelves in the designated storage areas according to their categories.
[0006] The above three solutions all require the shelf staff to manually search for storage locations. However, for large warehouses, the storage locations are updated very quickly in real time, and the shelf staff will spend a lot of time looking for available storage locations for the current products on the shelves. The existing shelf methods will reduce the operational efficiency of the warehouse. The reasons for this phenomenon are as follows:
[0007] (1) There is a lack of a real-time inventory management system that is accurate to the storage location level. To have a real-time inventory management system that is accurate to the storage location level, it requires not only a complete hardware and software system, but also a sound management system. At the same time, since shelving occurs all the time, real-time query places high demands on the system, and real-time data query through the production library will bring serious query pressure to the production database. In addition, large-item shelving tasks are mostly full pallets, which require empty storage to meet demand, but the current real-time inventory table cannot obtain empty storage location information, so it is usually difficult to meet the shelving query needs.
[0008] (2) There are various types of storage locations in the warehouse, such as ground piles, picking areas, and storage areas. Moreover, the requirements for putting goods on the shelves of each type of storage location are different. There are various types of goods that may exist in each storage location. How to calculate the available status of the storage location in real time based on the current shelving requirements involves complex packing algorithm logic. At present, there is no packing algorithm for putting goods on the shelves of different types of storage locations in the warehouse. Summary of the invention
[0009] In view of this, the present application provides a method, device, electronic device and readable medium for listing goods, which can realize real-time query of multiple storage location types without affecting the production system, and obtain a suitable storage location set through parallel packing operations.
[0010] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0011] According to one aspect of an exemplary embodiment of the present invention, a method for putting goods on the shelves is proposed, comprising: determining product information of goods to be put on the shelves, the product information including product characteristics and quantity; determining storage location status information of multiple areas to be put on the shelves in a warehouse in real time through a storage location detail table and a storage location product quantity table; determining available storage location information based on the product characteristics and quantity and the storage location status information; and determining the storage location to be put on the shelves based on the available storage location information; wherein the storage location detail table and the storage location product quantity table are updated in real time through an inventory table log.
[0012] In an exemplary embodiment of the present invention, real-time determination of storage location status information of multiple areas to be shelved in a warehouse through a storage location detail list and a storage location commodity quantity table includes: real-time acquisition of the storage location detail list and the storage location commodity quantity table; and determination of the storage location status information of the multiple areas to be shelved through the storage location detail list and the storage location commodity quantity table; wherein the areas to be shelved include empty storage areas, picking areas, storage areas, and ground pile areas.
[0013] In an exemplary embodiment of the present invention, real-time acquisition of the storage location details table and the storage location commodity quantity table includes: acquiring log information in real-time generated data through a distributed publish-subscribe message system; and filtering the log information through a real-time computing framework to update the storage location details table and the storage location commodity quantity table.
[0014] In an exemplary embodiment of the present invention, updating the storage location details table and the storage location commodity quantity table further includes: initializing the storage location details table through offline inventory.
[0015] In an exemplary embodiment of the present invention, updating the storage location details table and the storage location commodity quantity table includes: regularly updating the storage location commodity quantity table through the storage location details table.
[0016] In an exemplary embodiment of the present invention, determining available storage location information according to the commodity characteristics and quantity and the storage location status information includes: determining available storage location information by running multiple packing algorithms in parallel based on the commodity characteristics and quantity and the storage location status information.
[0017] In an exemplary embodiment of the present invention, determining the available storage location information based on the commodity characteristics and quantity and the storage location status information includes: acquiring the space data, the space data including the storage location size; and determining the available storage location information through the space data and the commodity characteristics and quantity.
[0018] In an exemplary embodiment of the present invention, determining the available storage location information through the spatial data and the commodity characteristics and quantity includes: optimizing and solving the spatial data and the commodity characteristics and quantity through a two-dimensional packing algorithm to determine the available storage location information.
[0019] In an exemplary embodiment of the present invention, determining the available storage location information based on the commodity characteristics and quantity and the storage location status information includes: determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of an empty storage area; determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of a picking area; determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of a storage area; and determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of a ground pile area.
[0020] In an exemplary embodiment of the present invention, determining the storage location to be put on the shelf from the plurality of first storage locations includes: determining the storage location to be put on the shelf by using the Dijkstra algorithm and the position information of the available storage location information.
[0021] According to another aspect of an exemplary embodiment of the present invention, there is provided a device for putting goods on the shelves, comprising: a product information module, used to determine the product information of the goods to be put on the shelves, the product information including product characteristics and quantity; a storage location status module, used to determine the storage location status information of multiple areas to be put on the shelves in a warehouse in real time through a storage location details table and a storage location product quantity table; a storage location screening module, used to determine available storage location information based on the product characteristics and quantity and the storage location status information; and a shelving module, used to determine the storage location to be put on the shelves from the available storage location information.
[0022] According to another aspect of an exemplary embodiment of the present invention, there is provided an electronic device, comprising one or more processors; a 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 any of the methods described above.
[0023] According to another aspect of an exemplary embodiment of the present invention, there is provided a computer-readable medium having a computer program stored thereon, wherein the program implements any of the above-mentioned methods when executed by a processor.
[0024] The present invention provides a method, device, electronic device and readable medium for putting goods on shelves, which can realize real-time query of multiple storage location types without affecting the production system, and obtain a suitable storage location set through parallel packing operations.
[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail its exemplary embodiments with reference to the accompanying drawings. The accompanying drawings described below are only some embodiments of the present disclosure, and it is clear to a person skilled in the art that other accompanying drawings can be obtained from these accompanying drawings without creative work.
[0027] Figure 1 is a system block diagram of a method and device for putting goods on shelves according to an exemplary embodiment;
[0028] Figure 2 is a flow chart of a method for putting goods on shelves according to an exemplary embodiment;
[0029] Figure 3 is a schematic diagram of a bin packing algorithm according to an exemplary embodiment;
[0030] Figure 4 is a flow chart of a method for putting goods on shelves according to an exemplary embodiment;
[0031] Figure 5 is a flow chart of a method for putting goods on shelves according to an exemplary embodiment;
[0032] Figure 6 is a flow chart of a method for putting goods on shelves according to an exemplary embodiment;
[0033] Figure 7 is a block diagram of a device for putting goods on shelves according to an exemplary embodiment;
[0034] Figure 8 The figure is a block diagram of an electronic device for putting goods on shelves according to an exemplary embodiment. DETAILED DESCRIPTION
[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0036] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0038] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0039] It should be understood that although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one component from another component. Therefore, the first component discussed below can be referred to as the second component without departing from the teachings of the disclosed concepts. As used herein, the term "and / or" includes any one of the associated listed items and all combinations of one or more.
[0040] Those skilled in the art will appreciate that the drawings are merely schematic diagrams of example embodiments, and the modules or processes in the drawings are not necessarily necessary for implementing the present disclosure, and therefore cannot be used to limit the protection scope of the present disclosure.
[0041] Figure 1 The present invention is a system block diagram showing a method and device for putting goods on shelves according to an exemplary embodiment.
[0042] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for the product listing system operated by the user using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as the product listing request, and feed back the processing results (such as the recommended storage location and listing path - only an example) to the terminal device.
[0043] The server 105 can, for example, determine the product information of the goods to be put on the shelves, and the product information includes the characteristics and quantity of the goods; the server 105 can, for example, obtain the storage status information of multiple areas to be put on the shelves in the warehouse in real time; the server 105 can, for example, determine the available storage location information based on the product characteristics and quantity and the storage location status information; the server 105 can, for example, determine the storage location to be put on the shelves from the available storage location information.
[0044] The server 105 can be a physical server, or can be composed of multiple servers, for example. A part of the server 105 can be used as the commodity inventory system in the present disclosure, for real-time updating of the storage status of the storage locations in the warehouse; and a part of the server 105 can also be used as the commodity shelving system in the present disclosure, for example, for determining the commodity information of the commodities to be shelved; determining the storage location status information of multiple areas to be shelved in the warehouse in real time through a storage location details table and a storage location commodity quantity table; determining the available storage location information according to the commodity characteristics and quantity and the storage location status information; and determining the storage locations to be shelved from the available storage location information.
[0045] It should be noted that the method for putting goods on shelves provided in the embodiment of the present disclosure can be executed by the server 105, and accordingly, the device for putting goods on shelves can be set in the server 105. The query page for available storage space provided to the user and the request end for putting goods on shelves are generally located in the terminal devices 101, 102, and 103.
[0046] Figure 2 The figure is a flow chart of a method for putting goods on shelves according to an exemplary embodiment.
[0047] refer to Figure 2 The product listing method can at least include:
[0048] Step S210, determining product information of the product to be put on the shelf, the product information includes product characteristics and quantity.
[0049] Step S220, determining the storage status information of multiple areas to be put on the shelves in the warehouse in real time through the storage location details table and the storage location commodity quantity table.
[0050] Step S230, determining available storage location information according to the characteristics and quantity of the goods and the storage location status information.
[0051] Step S240, determining the storage location to be put on the shelf from the available storage location information.
[0052] according to Figure 2 The method for putting goods on the shelves shown can realize real-time query of multiple storage location types without affecting the generation system, and the system recommends a suitable set of storage locations to be put on the shelves.
[0053] Next, we will refer to Figure 2, a method for putting goods on shelves in an exemplary embodiment of the present invention is described.
[0054] In step S210, the product information of the product to be put on the shelf is determined, and the product information includes product characteristics and quantity.
[0055] The commodity characteristics may record the commodity name, size, type, storage location type suitable for storage, etc., and the technical solution of the present invention does not specifically limit this. The commodity quantity may record the quantity of each commodity to be put on the shelf.
[0056] In step S220, the storage location status information of multiple areas to be put on the shelves in the warehouse is determined in real time through the storage location details table and the storage location commodity quantity table.
[0057] According to an example embodiment, the storage location details list and the storage location commodity quantity list are obtained in real time; and the storage location status information of the multiple areas to be shelved is determined through the storage location details list and the storage location commodity quantity list; wherein the areas to be shelved include empty storage location areas, picking areas, storage areas, and ground pile areas.
[0058] According to an example embodiment, real-time acquisition of the storage location details table and the storage location commodity quantity table includes: acquiring log information in real-time generated data through a distributed publish-subscribe message system; and filtering the log information through a real-time computing framework to update the storage location details table and the storage location commodity quantity table.
[0059] Among them, the distributed publish-subscribe messaging system can be a Kafka system. The Kafka system is a distributed publish-subscribe messaging system that can support the data transmission of massive data. Kafka is widely used in offline and real-time message processing business systems. However, the technical solution of the present invention is not limited to this, and other distributed publish-subscribe messaging systems can also be selected for operation. Log information is used to record all updated data or potential updated data. Its specific implementation can use Binlog log, and the present invention does not make special limitations on this.
[0060] According to the example embodiment, updating the storage location details table and the storage location commodity quantity table also includes: initializing the storage location details table through offline inventory. The offline inventory comes from the data mart, which is stored in a multi-dimensional manner to meet the needs of specific departments or users, including defining dimensions, indicators to be calculated, dimensional levels, etc., to generate data cubes for decision analysis needs. The data mart is extracted from a larger data warehouse, and its characteristics are to meet the special needs of professional users, such as analysis, content, performance, and ease of use. In this example embodiment, the data mart is a database for storage location management in the warehouse.
[0061] According to an exemplary embodiment, updating the storage location details table and the storage location commodity quantity table further includes: regularly updating the storage location commodity quantity table through the storage location details table. When an operator makes an error operation, data inconsistency may occur. The above method can ensure data consistency.
[0062] In step S230, available storage location information is determined based on the commodity characteristics, quantity and storage location status information.
[0063] According to the exemplary embodiment, based on the commodity characteristics, quantity and storage location status information, multiple packing algorithms are run in parallel to determine the available storage location information. Parallel computing can simultaneously calculate multiple first storage locations of different storage location types that meet the shelf requirements, greatly improving computing efficiency.
[0064] According to an example embodiment, spatial data of the available storage location information is obtained, the spatial data including storage location dimensions; and the available storage location information is determined by the spatial data and the characteristics and quantity of the goods. The spatial data of the available storage location information may also include the spatial dimensions of the goods already placed in the storage location.
[0065] According to an example embodiment, determining the available storage location information through the space data and the commodity characteristics and quantity includes: optimizing and solving the space data and the commodity characteristics and quantity through a two-dimensional packing algorithm to determine the available storage location information.
[0066] Among them, the packing problem is: put a certain number of items into a number of boxes of the same capacity, so that the sum of the size of the items in each box does not exceed the box capacity and the number of boxes used is the least. The packing problem is widely present in industrial production, including fabric cutting in the clothing industry, container cargo loading in the transportation industry, sheet material cutting in the processing industry, layout in the printing industry, and packaging and sorting objects in real life.
[0067] According to an example embodiment, determining the available storage location information based on the commodity characteristics, quantity, and storage location status information includes: determining the available storage location information through a packing algorithm, the commodity characteristics, quantity, and storage location status information of an empty storage area; determining the available storage location information through a packing algorithm, the commodity characteristics, quantity, and storage location status information of a picking area; determining the available storage location information through a packing algorithm, the commodity characteristics, quantity, and storage location status information of a storage area; and determining the available storage location information through a packing algorithm, the commodity characteristics, quantity, and storage location status information of a ground pile area.
[0068] According to an example embodiment, the bin packing algorithm can be simplified as follows: the length, width and height (L l , L w , L h ) and the existing products in L (S1, S2, S3, ..., Sn ); Pallet P and length, width and height (P l , P w , P h ); the product S to be put on the shelf and the number of items to be put on the shelf q. Solution: Can q items of product S be put on the shelf in storage location L. Add the products to be put on the shelf to the list of existing products, that is, solve: Can storage location L accommodate (S1, S2, S3, ..., S n , S) goods.
[0069] The solution to the above packing problem can be divided into the following steps:
[0070] Step 1: Offline calculation of the pallet specifications for each commodity. The warehouse already has the pallet specifications for the commodities. The number of commodities that can be placed on the pallet P is calculated based on the length, width and height of each commodity. Since each large commodity has a specific stacking rule, i.e. the longest side is upright, the second longest side is upright, the shortest side is upright, etc., the stacking rules for each layer are certain, and it is converted into a two-dimensional plane packing problem. The two-dimensional packing adopts a heuristic method: (1) The commodities are stacked on the pallet with adjacent sides overlapping: (2) After the commodities are placed, the bottom surface of the pallet is divided into three parts by the other two sides, such as Figure 3 As shown, after placement, the pallet is divided into the product area and three remaining areas A, B, and C. (3) For areas A+C and B+C, repeat operations (1) and (2), and change the length and width during the stacking process, saving the maximum number of stacking in each step until the remaining space can no longer accommodate goods. (4) Divide the product height by the pallet height to get the number of stacking layers. (5) Multiply the number of stacking layers on each layer by the number of stacking layers, that is, the number of goods that the pallet can accommodate.
[0071] Step 2: Real-time calculation of the packing algorithm for shelving. Due to different storage location types, the applicable packing algorithms are also different. For example, for a storage location, its packing algorithm can be: (1) Calculate the number of pallets that the storage location can accommodate. Since pallets can only be stacked in one direction, it can be calculated directly through the storage location length and the pallet length. (2) For each commodity in storage location L: Use the calculation result of step (1) to calculate the number of pallets occupied by the commodity to obtain the number of pallets currently used in the storage location. (3) If the number of pallets that the storage location can accommodate is greater than the number of pallets used, return true. For the picking location, since it does not involve pallet shelving, but a variety of commodities are mixed, and each commodity can be stacked, the problem is also converted into a two-dimensional packing problem. The packing algorithm can be: (1) For each commodity in storage location L: Use the storage location height to obtain the number of stacking layers of the commodity, thereby obtaining the number of stacking of the sku in the two-dimensional packing, and thus obtaining the number of two-dimensional codes for each commodity. (2) For each product, use the packing algorithm in step (1) to calculate and obtain the picking location packing result.
[0072] Step 3: Use parallel computing to execute the packing algorithm. Since there are many warehouse locations and a large inventory, parallel computing is added. Parallel computing will help improve computing efficiency.
[0073] In step S240, the storage location to be put on the shelf is determined from the available storage location information.
[0074] According to an example embodiment, determining the storage location to be put on the shelf from multiple first storage location information includes: determining the storage location to be put on the shelf by using the Dijkstra algorithm and the location information of the available storage location information. The Dijkstra algorithm was proposed by Dutch computer scientist Dijkstra in 1959. It is the shortest path algorithm from one vertex to the remaining vertices, and solves the shortest path problem in a directed graph. The algorithm can be used to provide the shortest shelving path for the shelving staff to improve the shelving efficiency. The steps of solving the shortest distance using the Dijkstra algorithm can be described as follows:
[0075] Let warehouse door G = {g1, g1, ...g p}, storage L = {l1, l2, ...l q}, U = G∪L, n = p + q; coordinate set C = {(x i ,y i )|u i ∈U}; Dijkstra(l, g) is the shortest distance between storage location l and warehouse door g.
[0076] (1) The steps of the storage weight algorithm are as follows:
[0077] Step 1. Construct an n×n inter-slot adjacency matrix A. For row i and column j, if the matrix element a ij =1, representing warehouse door or storage location u i with u j Adjacent and connected by directed lanes.
[0078] Step 2. For all warehouse doors, based on the adjacency matrix A, use the Dijkstra algorithm to calculate the distance from each door to other storage locations: D′ = {d ij |D ijkstra (l i , g j ), i∈{1,...,q}, j∈{1,...,p}}.
[0079] Step 3. Calculate the shortest distance from each storage location to any door as the outbound distance of the storage location, D = {d i |min 1≤j≤p (d ij ), d ij ∈D′}; at the same time, the mapping relationship between the shortest storage distance and the corresponding warehouse door is obtained F={i→g i}.
[0080] Step 4. Normalize the maximum and minimum distances between storage locations and outbound storage as the weight of each storage location
[0081]
[0082] For any element w in the set W i , represents the weight of storage position i.
[0083] (2) The steps for generating the ordered list of storage locations are as follows: i ∈L, there is w i and (x i ,y i ), with w i is a sequence, x i is the second order, y i Sort the three sequences in ascending order to obtain an ordered list of storage locations lList(idx, l, w), where idx is the list number, l is the storage location, and w is the weight.
[0084] Figure 4 The figure is a flow chart of a method for putting goods on shelves according to an exemplary embodiment.
[0085] Reference Figure 4 , product listing methods can include:
[0086] Step S410, obtaining spatial data of the available storage location information, the spatial data including storage location dimensions.
[0087] According to an example embodiment, the spatial data of the storage location may also include the spatial dimensions of the goods already placed in the current storage location. For example, when you want to put a product to be put on the shelf into a storage location that already stores the same product, you should consider the spatial dimensions of the same product already placed in the current storage location.
[0088] Step S420, determining available storage location information based on the space data and the characteristics and quantity of the goods.
[0089] According to an example embodiment, a packing algorithm may be used to determine multiple first storage locations. The first storage location may be a recommended storage location that can accommodate the goods to be put on the shelves. For example, when the number of goods to be put on the shelves is large and one storage location cannot accommodate them, multiple first storage locations may be recommended. For another example, when there are multiple suitable storage locations for the goods to be put on the shelves in the warehouse, multiple first storage locations are recommended.
[0090] Figure 5 The figure is a flow chart of a method for putting goods on shelves according to an exemplary embodiment.
[0091] Reference Figure 5 , product listing methods can include:
[0092] Step S510, determining available storage location information through a packing algorithm, the characteristics and quantity of the goods, and storage location status information of empty storage areas.
[0093] Step S520, determining available storage location information through a packing algorithm, the characteristics and quantity of the goods, and the storage location status information of the picking area.
[0094] Step S530, determining available storage location information through a packing algorithm, the characteristics and quantity of the goods, and the storage location status information of the storage area.
[0095] Step S540, determining available storage location information through a packing algorithm, the characteristics and quantity of the goods, and the storage location status information of the ground pile area.
[0096] The storage location status information may include the space size of the current storage location, product information of the stored products, space size, etc.
[0097] According to the exemplary embodiment, due to the different types of storage locations, the applicable packing algorithms will be different in the specific steps. Therefore, a packing algorithm matching each type of storage location should be selected.
[0098] According to an exemplary embodiment, the above steps S510 to S540 may be performed in a parallel computing manner. Parallel computing can greatly improve the query speed and avoid the slow query speed phenomenon caused by a large number of grouping operations in the prior art.
[0099] Figure 6 The figure is a flow chart of a method for putting goods on shelves according to an exemplary embodiment.
[0100] Reference Figure 6 , product listing methods can include:
[0101] Step S610: Initialize the warehouse storage location details table using the offline data of the data mart.
[0102] Among them, the data mart is stored in a multi-dimensional manner to meet the needs of specific departments or users, including defining dimensions, indicators to be calculated, dimensional levels, etc., to generate data cubes for decision analysis needs. In terms of scope, the data in the data mart is extracted from a more professional data warehouse. The focus is that it caters to the special needs of professional user groups, such as in terms of analysis, content, performance, and ease of use. In this example embodiment, the data mart is a database for storage location management in the warehouse. The storage location details table can record relevant information of all storage locations in the warehouse, such as the area where the storage location is located, the storage location type (including empty storage locations, picking areas, storage areas, ground pile areas, etc.), the storage space size of the storage location, the commodity information of the placed commodities, etc., and the technical solution of the present invention does not make special restrictions on this.
[0103] According to an example embodiment, after the storage location detail table is initialized by offline data of the data mart, the current quantity of goods in each storage location is calculated by the storage location detail table, and the real-time storage location goods quantity table is updated. The storage location goods quantity table can record the quantity of goods currently placed in each storage location.
[0104] Step S620, reading the Binlog log from the inventory real-time production database.
[0105] According to an example embodiment, the inventory real-time production database collects real-time data of multiple subject domains of current warehouse commodities, which collects data from different data sources. Binlog logs are used to record all updated data or potential updated data. In the Binlog log, statements are saved in the form of "events", which describe changes in data.
[0106] Step S630: Connect the Binlog log to the Kafka system.
[0107] Among them, the Kafka system is a distributed publish-subscribe messaging system that can support the data transmission of massive data. Kafka is widely used in both offline and real-time message processing business systems. The above messaging system can transfer data from one application to another. The application only needs to focus on the data, without paying attention to how the data is transferred between two or more applications. Distributed messaging is based on reliable message queues, and messages are asynchronously transmitted between client applications and messaging systems. However, the technical solution of the present invention is not limited to this, and other types of messaging systems can also be used to transfer data.
[0108] Step S640: Use Spark Streaming to receive real-time Binlog data.
[0109] Among them, Spark Streaming is a streaming computing framework running on Spark Core, which is used for processing streaming data. Spark Streaming has the characteristics of high throughput and strong fault tolerance. And it supports a variety of data input sources, such as Kafka, Flume, Twitter, ZeroMQ, etc. It should be understood that the technical solution of the present invention is not limited to this, and other forms of data processing frameworks can also be used to receive Binlog data.
[0110] Step S645, regularly update the storage location commodity quantity table according to the storage location details table.
[0111] According to the exemplary embodiment, in actual operation, data inconsistency may occur due to warehouse misoperation. In this case, the storage location commodity quantity table can be regularly updated according to the storage location detail table to ensure data consistency.
[0112] Step S650, when there is a listing task, obtain the product information of the product to be listed.
[0113] The commodity information includes commodity characteristics and commodity quantity. Commodity characteristics may include commodity type, size, etc., which are not specifically limited in the technical solution of the present invention.
[0114] According to the exemplary embodiment, the commodity characteristics may include information such as the length, width, height, and commodity type of the commodity, and the technical solution of the present invention does not specifically limit this. The commodity quantity is the number of commodities to be put on the shelf.
[0115] Step S660, obtaining a real-time storage location details list and a real-time storage location commodity quantity list.
[0116] The real-time storage location details table and the real-time storage location commodity quantity table are initialized by step S410 and updated in real time through steps S620 to S650.
[0117] Step S670, calculating the inventory status of different types of storage locations.
[0118] The storage locations can be divided into empty storage locations, picking areas, storage areas, ground stacking areas, etc. The inventory status may include the commodity information of the commodities currently stored.
[0119] According to an example embodiment, when calculating the inventory status, it is possible to preferentially search for storage locations in the warehouse where the goods to be put on the shelves are currently stored, so as to better store the goods of the same type.
[0120] Step S680: Use a bin packing algorithm to determine a list of available storage locations in different storage location types.
[0121] Different types of storage locations can choose different packing algorithms because different types of storage locations have different characteristics, and their shelf loading methods and suitable stacking products may be different.
[0122] Step S690: Use the Dijkstra algorithm to recommend the best shelf storage location.
[0123] Figure 7 The figure is a block diagram of a device for putting goods on shelves according to an exemplary embodiment.
[0124] Reference Figure 7 The commodity putting on shelves device may include: a commodity information module 710, a storage location status module 720, a storage location screening module 730 and a putting on shelves module 740.
[0125] In the commodity shelf device, the commodity information module 710 is used to determine the commodity information of the commodity to be put on the shelf, and the commodity information includes commodity characteristics and quantity. Among them, the commodity characteristics can record the name, size, type, storage location type suitable for storage, etc. of the commodity, and the technical solution of the present invention does not make special restrictions on this. The commodity quantity can record the quantity of each commodity to be put on the shelf.
[0126] The storage location status module 720 is used to determine the storage location status information of multiple areas to be put on the shelves in the warehouse in real time through the storage location details table and the storage location commodity quantity table.
[0127] According to an example embodiment, the storage location status module 720 is used to obtain the storage location details list and the storage location commodity quantity list in real time; and determine the storage location status information of the multiple areas to be shelved through the storage location details list and the storage location commodity quantity table; wherein the areas to be shelved include empty storage location areas, picking areas, storage areas, and ground pile areas.
[0128] According to an example embodiment, the storage location status module 720 is used to obtain log information in real-time generated data through a distributed publish-subscribe message system; and filter the log information through a real-time computing framework to update the storage location details table and the storage location commodity quantity table.
[0129] According to an exemplary embodiment, the storage location status module 720 is further used to initialize the storage location details table through the offline inventory. Wherein, updating the storage location details table and the storage location commodity quantity table further includes: regularly updating the storage location commodity quantity table through the storage location details table.
[0130] The storage location screening module 730 is used to determine the available storage location information according to the characteristics and quantity of the goods and the storage location status information.
[0131] According to the exemplary embodiment, the storage location screening module 730 is used to determine the available storage location information by running multiple packing algorithms in parallel based on the commodity characteristics, quantity and storage location status information. Parallel computing can simultaneously calculate multiple first storage locations of different storage location types that meet the shelf requirements, greatly improving computing efficiency.
[0132] According to an example embodiment, the storage location screening module 730 is used to obtain spatial data of the available storage location information, wherein the spatial data includes storage location dimensions; and determine the available storage location information through the spatial data and the commodity characteristics and quantity.
[0133] According to an exemplary embodiment, the storage location screening module 730 is used to optimize and solve the spatial data and the characteristics and quantities of the goods through a two-dimensional packing algorithm to determine the available storage location information.
[0134] According to an example embodiment, the storage location screening module 730 is used to determine the available storage location information through a packing algorithm and the storage location status information of the empty storage area; determine the available storage location information through a packing algorithm and the storage location status information of the picking area; determine the available storage location information through a packing algorithm and the storage location status information of the storage area; and determine the available storage location information through a packing algorithm and the storage location status information of the ground pile area.
[0135] The shelving module 740 is used to determine the storage location to be shelved from the available storage location information.
[0136] According to an exemplary embodiment, the shelving module 740 is used to determine the storage location to be shelved by using the Dijkstra algorithm and the location information of the available storage location information.
[0137] Figure 8 The figure is a block diagram of an electronic device for putting goods on shelves according to an exemplary embodiment.
[0138] Refer to the following Figure 8 The electronic device 800 according to this embodiment of the present disclosure is described. Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0139] like Figure 8 As 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 part 808 to the random access memory (RAM) 803. In the RAM 803, various programs and data required for system operation are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0140] The following components are connected to the I / O interface 805: an input section 806 including a touch screen, a keyboard, etc.; an output section 807 including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 808 including a flash memory, etc.; and a communication section 809 including a wireless network card, a high-speed network card, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a semiconductor memory, a magnetic disk, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.
[0141] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution of the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computing device (which can be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present invention.
[0142] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0143] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not claimed by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the claims.
[0144] It should be understood that the present invention is not limited to the detailed structures, drawings or implementations shown herein, but rather the present invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. A method for putting goods on shelves, characterized in that: include: Determine the commodity information of the commodity to be put on the shelf, wherein the commodity information includes commodity characteristics and quantity; wherein the commodity characteristics record the type of storage location suitable for the commodity; The storage location status information of multiple areas to be put on the shelves in the warehouse is determined in real time through the storage location details table and the storage location commodity quantity table; wherein the areas to be put on the shelves include empty storage areas, picking areas, storage areas and ground pile areas; Determine available storage location information according to the characteristics and quantity of the commodity and the storage location status information; Determine the storage location to be put on the shelf from the available storage location information; The storage location details table and the storage location commodity quantity table are updated in real time through the inventory table log; And, the determining of available storage location information based on the commodity characteristics and quantity and the storage location status information includes: determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of an empty storage location area; determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of a picking area; determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of a storage area; and determining the available storage location information through a packing algorithm, the commodity characteristics and quantity and the storage location status information of a ground pile area; wherein different packing algorithms are applicable to different storage location types.
2. The method according to claim 1, characterized in that The storage location status information of multiple areas to be put on the shelves in the warehouse is determined in real time through the storage location details table and the storage location commodity quantity table, including: Obtaining the storage location details list and the storage location commodity quantity list in real time; and The storage location status information of the plurality of areas to be put on the shelves is determined through the storage location details table and the storage location commodity quantity table.
3. The method according to claim 2, characterized in that Real-time acquisition of the storage location details table and the storage location commodity quantity table includes: Obtain log information from real-time generated data through a distributed publish-subscribe messaging system; and The log information is filtered through a real-time computing framework to update the storage location details table and the storage location commodity quantity table.
4. The method according to claim 3, characterized in that Updating the storage location details table and the storage location commodity quantity table also includes: Initialize the storage location details list from offline inventory.
5. The method according to claim 4, characterized in that Updating the storage location details table and the storage location commodity quantity table includes: The storage location commodity quantity table is regularly updated through the storage location details table.
6. The method according to claim 1, characterized in that Determining available storage location information according to the commodity characteristics and quantity and the storage location status information includes: Based on the commodity characteristics and quantity and the storage location status information, available storage location information is determined by running multiple packing algorithms in parallel.
7. The method according to claim 1, characterized in that Determining available storage location information according to the commodity characteristics and quantity and the storage location status information includes: Acquiring spatial data of the available storage location information, the spatial data including storage location dimensions; and The available storage space information is determined by the spatial data and the characteristics and quantity of the goods.
8. The method according to claim 7, characterized in that Determining available storage space information by using the spatial data and the characteristics and quantity of the commodity includes: The spatial data and the characteristics and quantity of the goods are optimized and solved through a two-dimensional packing algorithm to determine the available storage space information.
9. The method according to claim 1, characterized in that Determining the storage location to be put on the shelf from the available storage location information includes: The storage location to be put on the shelf is determined by using the Dijkstra algorithm and the position information of the available storage location information.
10. A commodity shelf device, characterized in that: include: A commodity information module is used to determine the commodity information of the commodity to be put on the shelf, wherein the commodity information includes commodity characteristics and quantity; wherein the commodity characteristics record the type of storage location suitable for the commodity; The storage location status module is used to determine the storage location status information of multiple areas to be put on the shelves in the warehouse in real time through the storage location details table and the storage location commodity quantity table; wherein the areas to be put on the shelves include empty storage areas, picking areas, storage areas and ground pile areas; A storage location screening module, used to determine available storage location information according to the characteristics and quantity of the commodity and the storage location status information; A shelf module, used for determining a storage location to be shelf-loaded from the plurality of available storage location information; In addition, the storage location screening module is also used to determine the available storage location information through the packing algorithm, the commodity characteristics and quantity, and the storage location status information of the empty storage area; determine the available storage location information through the packing algorithm, the commodity characteristics and quantity, and the storage location status information of the picking area; determine the available storage location information through the packing algorithm, the commodity characteristics and quantity, and the storage location status information of the storage area; and determine the available storage location information through the packing algorithm, the commodity characteristics and quantity, and the storage location status information of the ground pile area; wherein different storage location types are applicable to different packing algorithms.
11. An electronic device, characterized in that: include: one or more processors; A 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 according to any one of claims 1 to 9.
12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
