Three-dimensional model construction method for warehouse

By encoding the cargo spaces according to the properties of the warehouse area, arrangement, column and layer in the warehouse, and calculating the cargo space coordinates in combination with the center width and layer height, a three-dimensional model is solved, and efficient and accurate warehouse management is achieved.

CN120106740APending Publication Date: 2025-06-06山东浪潮智能生产技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510211600.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The complex structure and large cargo space in the warehouse scenario lead to a large workload of three-dimensional modeling and low modeling accuracy, inconsistent coding rules and lack of dynamic update capabilities lead to a reduction in warehousing management efficiency and accuracy.

Method used

By encoding the cargo position according to the cargo position properties of the warehouse area, row, column and layer, combining the center width and floor height between adjacent rows and columns, the shipment position coordinates are calculated, and a three-dimensional model is constructed, and dynamic update of the cargo position status is achieved through cargo position encoding.

Benefits of technology

It significantly shortens modeling time, improves work efficiency, enhances the accuracy and reliability of the model, ensures the uniqueness and traceability of each cargo space, and optimizes the efficiency and accuracy of warehouse management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120106740A_ABST
    Figure CN120106740A_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional model construction method for a warehouse, and the method comprises the steps: carrying out the coding of goods locations according to the attributes of goods locations of a warehouse region, rows, columns and layers, and obtaining the codes of the goods locations; according to the goods allocation codes, goods allocation coordinates are obtained by combining the row center width between the adjacent rows of goods allocation, the column center width between the adjacent columns of goods allocation and the floor height of the goods allocation, and a three-dimensional model is constructed. According to the method, each goods allocation is uniquely coded through the goods allocation attributes, the goods allocation coordinates are automatically calculated in combination with the fixed row center width, column center width and floor height, automatic generation of the three-dimensional model is achieved, the modeling process is simplified, and human errors are reduced. The accurate space positioning ensures the synchronization of the model and the actual inventory condition, and facilitates the optimization of warehouse space utilization and inventory management. Through three-dimensional visual display, warehouse workers can quickly find target goods locations, the operation efficiency and the convenience of warehouse management are remarkably improved, and efficient and visual support is provided for warehouse management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics warehousing technology, and specifically to a method for constructing a three-dimensional model for a warehouse. Background Art

[0002] In recent years, with the widespread promotion of digital twin technology and software applications in various fields, these technologies have become an important driving force for the digital transformation of enterprises. Digital twin technology originally originated in the aerospace military industry, and has now expanded to multiple vertical industries such as intelligent manufacturing and smart cities, and has demonstrated its application value in many aspects such as mechanism description, abnormal diagnosis, risk prediction and decision support. Digital twin technology has become one of the core technologies for many industries to achieve digital and visual transformation. Many technology companies have incorporated digital twins into their strategic direction to enhance digital technology and market competitiveness.

[0003] However, in the process of rapid development, customized development is often required to accurately restore the usage scenarios and construction scenarios involved in different fields. This customized development usually faces problems such as long time cycle and slow data collection speed. Especially in the warehousing scene, due to its complex structure and a large number of cargo spaces, traditional methods are difficult to efficiently complete the three-dimensional warehouse area restoration, which affects the accuracy of the three-dimensional model construction of the warehouse.

[0004] Most existing solutions rely on manual modeling or semi-automated tools, which are not only time-consuming and labor-intensive, but also difficult to ensure the unique identification code and dynamic update capabilities of the model. The lack of systematic coding rules leads to inconsistent or repeated location coding. In addition, the dynamic update of the location status cannot be achieved based on the coding, which greatly limits the efficiency and accuracy of warehouse management. Summary of the invention

[0005] The present invention provides a three-dimensional model construction method for a warehouse, so as to solve the problems of large three-dimensional modeling workload and low modeling accuracy caused by complex structure and multiple cargo locations in the warehouse scene, as well as reduced warehouse management efficiency and accuracy caused by inconsistent coding rules and lack of dynamic update capability.

[0006] The technical solution adopted by the present invention is: A method for constructing a three-dimensional model of a warehouse, comprising: Encode the cargo location according to the cargo location attributes including storage area, row, column, and layer to obtain the cargo location code; According to the cargo location code, the cargo location coordinates are obtained by combining the row center width between the cargo locations in adjacent rows, the column center width between the cargo locations in adjacent columns, and the layer height of the cargo locations, and a three-dimensional model is constructed.

[0007] The method for constructing a three-dimensional model of a warehouse described in the present invention also includes the following additional technical features: The calculation method of the cargo location coordinates is:

[0008] in, is the cargo location coordinate, The coordinates of the first row, first column, and first layer of the cargo space. For the i The height of the layer, For the i Arrangement and i+ 1. The center width between rows of cargo spaces. For the i Column location and i+ The center width between 1 row of cargo locations, C is the maximum number of layers of cargo locations, R is the maximum number of rows of cargo locations, and L is the maximum number of columns of cargo locations.

[0009] According to the cargo location coordinates, a three-dimensional model is constructed, specifically: The row center width includes the row net width of the cargo spaces in adjacent rows, and the column center width includes the column net width of the cargo spaces in adjacent columns; A three-dimensional model is constructed according to the cargo location coordinates in combination with the row net width and the column net width.

[0010] The calculation method of the cargo location coordinates is specifically as follows: When the storage area is a single-row storage area, the coordinates of the cargo location are calculated according to the cargo location attributes of the row and layer of the cargo location.

[0011] in, is the cargo location coordinate, The coordinates of the cargo location in the first column and first layer.

[0012] The cargo location is coded according to the cargo location attributes including storage area, row, column and layer to obtain the cargo location code, which is as follows: An array encoding including rows, columns and layers is formed for the cargo locations to encode the cargo locations; Alternatively, a unique code of the cargo location is obtained by calculating according to the row, column, and layer of the cargo location. Unique code , in, R i is the row of the cargo space, C i is the layer of the cargo location, L iis the number of rows of the cargo location, C is the maximum number of layers of the cargo location, and L is the maximum number of rows of the cargo location.

[0013] When the unique code of the cargo location is obtained by calculation based on the row, column and layer of the cargo location, Before building a three-dimensional model according to the unique code, the unique code needs to be decoded. .

[0014] When the storage area is a single-row storage area, an array code including columns and layers is formed for the cargo locations to encode the cargo locations; Alternatively, a unique code of the cargo location is obtained by calculating according to the row and layer of the cargo location. Unique code , in, C i is the layer of the cargo location, L i is the number of rows of the cargo location, and L is the maximum number of rows of the cargo location.

[0015] The three-dimensional model construction method for a warehouse further includes: A three-dimensional model of the warehouse is constructed, and the free status of the cargo spaces is displayed with different colors.

[0016] The idle state monitoring method of the cargo space is: When goods are put into storage, the cargo location coordinates of the goods are located and stored, and the corresponding positions of the three-dimensional model are marked with the first color according to the cargo location coordinates to show a non-idle state; The cargo location code corresponding to the cargo location coordinates is marked on the goods. When the goods are shipped out of the warehouse, the cargo location coordinates are located according to the cargo location code, and the corresponding position of the three-dimensional model is marked with a second color to display an idle state.

[0017] The present invention also provides an electronic device, comprising: Memory, for storing computer instructions; A processor is used to implement the three-dimensional model construction method for a warehouse when executing the computer instructions.

[0018] Due to the adoption of the above technical solution, the beneficial effects achieved by the present invention are as follows: 1. In the present invention, the cargo locations are encoded according to the cargo location attributes including storage area, row, column, and layer to obtain cargo location codes; according to the cargo location codes, the cargo location coordinates are obtained in combination with the row center width between the cargo locations in adjacent rows, the column center width between the cargo locations in adjacent columns, and the layer height of the cargo locations to construct a three-dimensional model. In the same storage area, the distribution of cargo locations is generally more regular, that is, the row center width between the cargo locations in adjacent rows, the column center width between the cargo locations in adjacent columns, and the layer height of the cargo locations are generally the same value or several fixed values. When constructing a three-dimensional model, it is only necessary to provide the parameters of "storage area", "row", "column" and "layer" to automatically generate a three-dimensional model, which greatly reduces the workload of manual measurement and data entry.

[0019] This method uses the input cargo location attributes, combined with fixed or relatively fixed row center width, column center width, and layer height, to automatically complete the entire process from input to output without manual intervention. This input simplification and automated generation method significantly shortens modeling time and greatly improves work efficiency compared to traditional manual modeling or semi-automatic tools.

[0020] In addition, the automated process also reduces the possibility of human error in the modeling process or parameter collection process, and improves the accuracy of the model. Therefore, the present invention not only saves time, but also improves the overall quality and reliability of the model, providing a more efficient and accurate solution for warehouse management.

[0021] 2. In the present invention, the cargo location is coded according to the cargo location attributes including storage area, row, column, and layer. The cargo location attributes of each cargo location are different in storage area, row, column, and layer. The present invention generates a unique code for each cargo location based on its "storage area", "row", "column", and "layer" attributes, ensuring the uniqueness and traceability of each cargo location in the system.

[0022] The unique code makes it simple and quick to query a specific cargo location, significantly improving the system's usability and user experience. In addition, the unified coding rules ensure the consistency of data about the same cargo location, avoiding confusion and errors caused by inconsistent coding. The present invention not only improves query efficiency, but also enhances data consistency and reliability.

[0023] 3. In the present invention, according to the cargo location code, the cargo location coordinates are obtained by combining the row center width between the cargo locations in adjacent rows, the column center width between the cargo locations in adjacent columns, and the floor height of the cargo location, and a three-dimensional model is constructed. The present invention uses the parameters of the center width between adjacent rows and columns and the floor height through precise coordinate calculation, and the system can accurately calculate the three-dimensional coordinates of each cargo location.

[0024] This precise spatial positioning not only helps to rationally plan the layout of cargo spaces and maximize the use of warehouse space, but also allows for visualization through 3D models, allowing users to intuitively see the layout of the entire warehouse and the location of specific cargo spaces. The clear 3D model makes it easier for warehouse staff to quickly find the target cargo space, reducing search time and workload, thereby improving operational efficiency.

[0025] Therefore, while improving space utilization, the present invention also significantly enhances the convenience and work efficiency of warehouse management, providing more efficient and intuitive support for warehouse management.

[0026] 4. In the present invention, there is a one-to-one correspondence between the cargo location code and the cargo location, and the cargo location status can be updated in real time through the cargo location code. When the goods are put into or taken out of the warehouse, the status information of the cargo location can be automatically updated according to the actual changes, ensuring that the model is synchronized with the actual situation.

[0027] First, real-time updates of storage space occupancy status help warehouse managers to more accurately understand inventory situations, reduce inventory backlogs and vacancies, and optimize inventory management; second, the dynamic update mechanism reduces the time and effort of manual adjustments, greatly improving overall operational efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings: Figure 1 A schematic flow chart of a method for constructing a three-dimensional model of a warehouse according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to more clearly illustrate the overall concept of the present invention, a detailed description is given below in an exemplary manner in conjunction with the accompanying drawings.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0031] like Figure 1 As shown, a method for constructing a three-dimensional model of a warehouse includes: S100: Encode the cargo location according to the cargo location attributes including storage area, row, column, and layer to obtain a cargo location code.

[0032] One of the core steps of the whole method is to code the cargo locations according to their attributes including storage area, row, column and layer. In this way, each cargo location can get a unique code to ensure its uniqueness and traceability in the system.

[0033] It can be understood that a warehouse is a facility used to store and manage goods, raw materials, finished products or other materials. The main functions of a warehouse include receiving, storing, managing and distributing goods.

[0034] A warehouse generally contains multiple storage areas. A storage area refers to a specific area or partition in the warehouse, which can be a physically independent space or a logical division.

[0035] Each warehouse area is equipped with multiple rows and columns of continuous shelves for storing goods. A row refers to a group of continuous shelves along the length of the warehouse. A column refers to the longitudinal position on each row of shelves, that is, the storage units arranged from left to right.

[0036] In addition, each shelf is generally equipped with multiple cargo spaces to increase the storage capacity of the warehouse. Layer refers to storage spaces of different heights in the same row and column.

[0037] Therefore, the storage area, row, column, and layer of each storage location have different storage location attributes. The present invention generates a unique code for each storage location based on its storage area, row, column, and layer storage location attributes, ensuring the uniqueness and traceability of each storage location in the system.

[0038] The unique code makes it simple and quick to query a specific cargo location, significantly improving the system's usability and user experience. In addition, the unified coding rules ensure the consistency of data about the same cargo location, avoiding confusion and errors caused by inconsistent coding. The present invention not only improves query efficiency, but also enhances data consistency and reliability.

[0039] S200: According to the cargo location code, the cargo location coordinates are obtained by combining the row center width between the cargo locations in adjacent rows, the column center width between the cargo locations in adjacent columns, and the layer height of the cargo locations, and a three-dimensional model is constructed.

[0040] Each cargo location has a unique code, which is based on the properties of its "storage area", "row", "column" and "layer". The code of a certain cargo location is obtained through some encoding method (such as array encoding or calculating a unique code).

[0041] In order to calculate the specific coordinates of the cargo location, the following geometric parameters need to be known: The row center width refers to the center distance between two adjacent rows; the column center width refers to the center distance between two adjacent columns; the floor height refers to the height of each floor.

[0042] These parameters are usually determined by the design and layout of the warehouse. In the same warehouse area, the distribution of cargo spaces is generally regular, that is, the row center width between adjacent rows of cargo spaces, the column center width between adjacent columns of cargo spaces, and the layer height of the cargo spaces are generally the same value or several fixed values. The row center width, column center width, and layer height are preset.

[0043] Based on the above geometric parameters and the cargo location coding, the three-dimensional coordinates of each cargo location can be calculated.

[0044] After obtaining the three-dimensional coordinates of each cargo location, these coordinates can be converted into a three-dimensional model through computer graphics methods. The specific steps include: Create a grid, create corresponding grid units according to the coordinates of each cargo location; render the model, use a 3D rendering engine (such as OpenGL, Three.js, etc.) to render the grid units into a visual 3D model.

[0045] Among them, OpenGL is a cross-platform graphics API (application programming interface) for rendering 2D and 3D vector graphics. It provides a set of standard function libraries that allow developers to create high-performance graphics applications. OpenGL is widely used in scientific visualization, virtual reality, augmented reality and other fields.

[0046] Three.js is a lightweight 3D graphics library based on JavaScript, specifically designed for creating and displaying 3D graphics in web browsers. It uses the Canvas element in HTML5 or WebGL (a web API based on OpenGL ES) for rendering. Three.js simplifies the creation process of 3D graphics, making it easier for developers to build complex 3D scenes.

[0047] The method proposed in the present invention automatically generates a three-dimensional model by inputting the parameters of "storage area", "row", "column" and "layer", greatly reducing the workload of manual measurement and data entry. The system uses these cargo location attributes, combined with fixed or relatively fixed row center width, column center width and layer height, to automatically complete the entire process from input to output without manual intervention. This input simplification and automated generation method significantly shortens the modeling time and greatly improves work efficiency compared to traditional manual modeling or semi-automatic tools.

[0048] In addition, automated processing reduces the possibility of human error and improves the accuracy of the model. Specifically, through precise coordinate calculation, the system uses the center width between adjacent rows and columns and the parameters of the layer height to accurately calculate the three-dimensional coordinates of each cargo space. This not only helps to reasonably plan the cargo space layout and maximize the use of warehouse space, but also can be visualized through a three-dimensional model, allowing users to intuitively see the layout of the entire warehouse and the location of specific cargo spaces.

[0049] The clear three-dimensional model makes it easier for warehouse staff to quickly find the target cargo location, reducing the search time and workload, thereby improving operational efficiency. Therefore, while improving space utilization, the present invention also significantly enhances the convenience and work efficiency of warehouse management, providing more efficient and intuitive support for warehouse management.

[0050] In summary, this approach not only saves time, but also improves the overall quality and reliability of the model, providing a more efficient and accurate solution for warehouse management.

[0051] It should be noted that after the three-dimensional model is constructed, corresponding attribute information (such as whether it is occupied, cargo type, etc.) can be added to each grid unit for subsequent management and query.

[0052] There is a one-to-one correspondence between the cargo location code and the cargo location. The cargo location code can be used to update the cargo location status in real time. When the goods are put into or taken out of the warehouse, the system automatically updates the cargo location status information according to the actual changes to ensure that the model is synchronized with the actual situation. Real-time updates of cargo location occupancy status help warehouse managers to more accurately grasp the inventory situation, reduce inventory backlogs and vacancy, and optimize inventory management. The dynamic update mechanism also reduces the time and effort of manual adjustments, greatly improving the overall operational efficiency.

[0053] As a preferred embodiment of the present invention, the calculation method of the cargo location coordinates is:

[0054] in, is the cargo location coordinate, The coordinates of the first row, first column, and first layer of the cargo space. For the i The height of the layer, For the i Arrangement and i+ 1. The center width between rows of cargo spaces. For the i Column location and i+ The center width between 1 row of cargo locations, C is the maximum number of layers of cargo locations, R is the maximum number of rows of cargo locations, and L is the maximum number of columns of cargo locations.

[0055] In this implementation, the calculation of the cargo location coordinates is based on the attributes of "warehouse area", "row", "column" and "layer", and the specific coordinates of each cargo location are determined in combination with the row center width of adjacent rows, the column center width of adjacent columns and the layer height.

[0056] Specifically, the warehouse has 5 rows and 6 columns of shelves, and each shelf has 4 levels of cargo space, that is, R=5, L=6, and C=4.

[0057] The center width of the row between adjacent cargo spaces is 2 meters, the center width of the column is 1 meter, and the floor height is 1.5 meters. , , It is understandable that the present invention does not limit the specific values ​​of the row center width, column center width, and layer height, and other values ​​or other different values ​​may be used.

[0058] For the cargo location in row 3, column 4, and layer 2, the cargo location coordinates are .

[0059] In addition, it should be noted that the coordinates calculated in the present invention are the coordinates of the center point of the bottom surface of the first row, first column, and first layer of the cargo space. Therefore, the center point of the bottom surface of the cargo space is selected as the origin of the coordinate system, and its coordinates are set to (0, 0, 0), that is, .

[0060] For the cargo location in row 3, column 4, layer 2, its cargo location coordinates are The specific methods are as follows:

[0061] Therefore, the three-dimensional coordinates of the cargo location is (1.5, 4, 3). That is, the height of this storage location relative to the origin location (the first row, first column, first layer), the center spacing in the row direction is 4 meters, and the center spacing in the column direction is 3 meters.

[0062] Through the above method, the three-dimensional coordinates of each cargo location can be calculated according to the cargo location code combined with the center width of adjacent rows, the center width of adjacent columns, and the floor height of the cargo location, and a three-dimensional model can be constructed. This method not only simplifies the model construction process, but also ensures the uniqueness and traceability of each storage location, and is suitable for rapid modeling and management in warehouse scenarios.

[0063] In addition, the three-dimensional coordinates of each cargo location are the distance coordinates of the cargo location relative to the origin cargo location. The precise three-dimensional coordinates of each cargo location facilitate automatic warehousing and outbound transportation equipment, reduce the workload of manual operations, and facilitate the management of goods in the warehouse.

[0064] As an example of this implementation, a three-dimensional model is constructed according to the cargo location coordinates, specifically: The row center width includes the row net width of the cargo spaces in adjacent rows, and the column center width includes the column net width of the cargo spaces in adjacent columns; A three-dimensional model is constructed according to the cargo location coordinates in combination with the row net width and the column net width.

[0065] It is understandable that there are usually lanes for walking between adjacent cargo spaces. In order to build a 3D model more accurately, it is necessary to clarify the dimensions of the row net width and column net width. In addition to accurately locating the cargo space coordinates, it is also necessary to clarify the boundaries of the cargo space to facilitate the accurate placement of the goods on the cargo space.

[0066] The net width of a row refers to the net width between two adjacent rows of shelves, excluding the width of the shelf itself. This is usually determined by the warehouse design and is fixed.

[0067] The net width of a row refers to the net width between two adjacent rows of cargo spaces, excluding the width of the shelf itself. This is also determined by the warehouse design and is fixed.

[0068] These clear widths allow the actual location of each cargo space to be calculated more accurately, thus ensuring the accuracy of the 3D model.

[0069] Specifically, the column boundary coordinates of the storage location are obtained by subtracting the column net width between the corresponding adjacent storage locations from the column center width between the adjacent storage locations, dividing by 2, and adding the center coordinates of the storage location.

[0070] The calculation method of the row boundary coordinates of the cargo location is the same as above and will not be repeated here.

[0071] By combining the row net width and column net width, the present invention can more accurately calculate the three-dimensional coordinates and boundary position of each cargo location and construct a three-dimensional model. This method not only simplifies the model construction process, but also ensures the accuracy of modeling for each storage location, and is suitable for rapid modeling and management in warehouse scenarios.

[0072] This precise spatial positioning helps to rationally plan the layout of warehouse locations and maximize the use of warehouse space. It can also be visualized through a three-dimensional model, allowing users to intuitively see the layout of the entire warehouse and the location of specific warehouse locations, and facilitate management work such as operation route design.

[0073] As another example of this implementation, the calculation method of the cargo location coordinates is specifically as follows: When the storage area is a single-row storage area, the coordinates of the cargo location are calculated according to the cargo location attributes of the row and layer of the cargo location.

[0074] in, is the cargo location coordinate, The coordinates of the cargo location in the first column and first layer.

[0075] In the case of a single-row storage area, the coordinate calculation of the cargo location only depends on the attributes of the "column" and "layer", without considering the "row" factor. This simplification makes the calculation more direct and efficient.

[0076] Adjust the calculation formula of the cargo location coordinates mentioned above to obtain the calculation formula of the cargo location coordinates in the single-row warehouse area.

[0077] Specifically, for a single-row storage area, the storage area parameters are as follows: Number of rows, 6 rows ( L =6); number of layers, 4 layers (C=4); row center width, 1 meter ( M i =1); floor height, 1.5 meters ( h i =1.5).

[0078] For the cargo location in row 4 and layer 2, the coordinates are calculated as follows:

[0079] For the cargo location in the 4th column and the 2nd floor, its coordinates ( , ) is (1.5, 3).

[0080] Through the above method, the three-dimensional coordinates of each cargo location can be accurately calculated based on the attributes of "columns" and "layers" and related geometric parameters (such as column net width and layer height). This method is particularly suitable for single-row warehouse areas and simplifies the model building process.

[0081] It can be understood that for a single-row storage area, the modeling process is similar to that of the single-row storage area. The column parameters in the storage area coordinate calculation method of the single-row storage area are replaced by row parameters. The present invention does not limit this.

[0082] As a preferred implementation of the present invention, the cargo location is coded according to the cargo location attributes including storage area, row, column, and layer to obtain the cargo location code, specifically: An array encoding including rows, columns and layers is formed for the cargo locations to encode the cargo locations; Alternatively, a unique code of the cargo location is obtained by calculating according to the row, column, and layer of the cargo location. Unique code , in, R iis the row of the cargo space, C i is the layer of the cargo location, L i is the number of rows of the cargo location, C is the maximum number of layers of the cargo location, and L is the maximum number of rows of the cargo location.

[0083] The purpose of this embodiment is to encode the cargo locations one by one according to the cargo location attributes including storage area, row, column, and layer, and obtain one by one corresponding cargo location codes. It can be understood that the cargo location codes between every two cargo locations are different. For the implementation of cargo location coding, any one of the following embodiments can be adopted, and the present invention is not limited to this.

[0084] Embodiment 1: An array code including rows, columns and layers is formed for the cargo locations to encode the cargo locations.

[0085] The location is coded by simply forming an array of rows, columns, and layers. This coding method is more intuitive and does not require decoding. When used, the computer can directly call the corresponding data in the array for modeling. It is also convenient for manual positioning and understanding of the array coding. The corresponding storage location can be quickly located according to the array coding.

[0086] It is understandable that the row, column, and layer data can also be combined to form a code consisting of one piece of data, with different bits representing different attribute data. Specifically, the code has 12 bits of data, of which the first 4 bits represent row data, the middle 4 bits represent column data, and the last 4 bits represent layer data, which is not limited in the present invention.

[0087] Embodiment 2: Calculate according to the row, column and layer of the cargo location to obtain a unique code of the cargo location. Unique code , in, R i is the row of the cargo space, C i is the layer of the cargo location, L i is the number of rows of the cargo location, C is the maximum number of layers of the cargo location, and L is the maximum number of rows of the cargo location.

[0088] In this method, the storage location is offset relative to the origin storage location in the row direction, layer direction, and column direction, thereby achieving unique coding of the storage location.

[0089] Among them, the offset in the row direction is , the offset in the layer direction is , the offset in the column direction is .

[0090] In this embodiment, the offset is set to achieve unique coding of the cargo location, which can reduce the number of digits of the unique code, reduce the storage pressure of the unique code, and thus reduce the operating pressure of the three-dimensional model.

[0091] Specifically, for a warehouse, the parameters are as follows: number of rows, 5 ( R =5);Number of layers, 4 ( C =4);Number of columns, 6 ( L =6).

[0092] For row 3 ( R i =3), Layer 2 ( C i =2), Column 4 ( Li =4), its unique code is calculated as follows: (3−1)×4×6+((2−1)×6)+4=48+6+4=58.

[0093] As a preferred embodiment of this implementation mode, when the unique code of the cargo location is obtained by calculation according to the row, column and layer of the cargo location, Before building a three-dimensional model according to the unique code, the unique code needs to be decoded. .

[0094] The purpose of this embodiment is to decode the unique code to restore its original row, column and layer information before constructing a three-dimensional model for the unique code, so that the computer can call the corresponding row, column and layer information, and it is also convenient for manual accurate positioning of the cargo position.

[0095] Specifically, for the unique code value of 58, decoding is required to restore its original row, column, and layer information.

[0096] Calculate the row number R i R i =(58 / (4×6))+1=(58 / 24)+1=2+1=3; Calculation layer number C i C i =(((58%(4×6)) / 6)+1=((58%24) / 6)+1=(14 / 6)+1=2+1=2; Calculated column number L i L i=(58%6)+1=2+1=3.

[0097] Therefore, the row, column, and layer information corresponding to the cargo location with the unique code 58 is the third row, second layer, and fourth column.

[0098] Through the above method, it is possible to accurately decode and restore its original row, column, and layer information. This method not only simplifies the computational difficulty, efficiently builds and manages the three-dimensional model of the warehouse, but also improves the accuracy of warehouse management.

[0099] As another example of this implementation, when the storage area is a single-row storage area, an array code including a column and a layer is formed for the cargo location to encode the cargo location; Alternatively, a unique code of the cargo location is obtained by calculating according to the row and layer of the cargo location. Unique code , in, C i is the layer of the cargo location, L i is the number of rows of the cargo location, and L is the maximum number of rows of the cargo location.

[0100] In this embodiment, for a single-row storage area, a coding method including columns and layers can be used to code the cargo locations without considering the "row" factor. This simplification makes the calculation more direct and efficient.

[0101] That is to say, each storage location can be represented by a two-dimensional array, and the elements of the array include column and layer information.

[0102] Alternatively, a unique code of the cargo location is obtained by calculating according to the row and layer of the cargo location. Unique code .

[0103] The unique coding is achieved by offsetting the layer direction and column direction.

[0104] The offset in the layer direction is , the offset in the column direction is . Add these two parts together to get the unique code of the cargo location.

[0105] Specifically, for a single-row storage area, the parameters are as follows: number of layers, 4 ( C =4);Number of columns, 6 ( L =6).

[0106] For layer 2 ( C i =2), Column 4 ( L i =4), its unique code is calculated as follows: (2−1)×6+4=10.

[0107] By using the above method, inputting parameters including columns and layers, a unique code can be generated for each cargo location in a single-row warehouse area. This method not only simplifies the input of 3D modeling parameters, but also improves the speed of modeling.

[0108] It is understandable that the unique code formed by a single-row storage area can also be decoded using the aforementioned method, specifically: .

[0109] in, Indicates rounding down, and % indicates modulo operation.

[0110] As a preferred embodiment of the present invention, the method for constructing a three-dimensional model of a warehouse further includes: A three-dimensional model of the warehouse is constructed, and the free status of the cargo spaces is displayed with different colors.

[0111] The purpose of this implementation is to visually display the warehouse layout and help managers quickly understand the status of each cargo location.

[0112] You can choose a suitable 3D rendering engine to realize the visualization of 3D models. Common choices include: Three.js, a JavaScript library based on WebGL, suitable for 3D rendering on web pages. OpenGL, a cross-platform graphics API, suitable for desktop applications.

[0113] In order to show the free status of the storage space, you can apply different material colors according to the status of the storage space when creating the grid. For example: green means free status; red means occupied status.

[0114] If you need to further expand the functionality, such as dynamically updating the shelf status or adding more interactive functions, you can develop on this basis.

[0115] Specifically, the method for monitoring the idle state of the cargo space is as follows: When goods are put into storage, the cargo location coordinates of the goods are located and stored, and the corresponding positions of the three-dimensional model are marked with the first color according to the cargo location coordinates to show a non-idle state; The cargo location code corresponding to the cargo location coordinates is marked on the goods. When the goods are shipped out of the warehouse, the cargo location coordinates are located according to the cargo location code, and the corresponding position of the three-dimensional model is marked with a second color to display an idle state.

[0116] In order to automatically update the status of the warehouse's 3D model when goods are put in and taken out, a system needs to be designed to dynamically manage the occupancy of cargo spaces and intuitively display these changes in the 3D model.

[0117] First, some basic data structures need to be defined to store the location information and current status in the warehouse. When goods are put into storage, the location coordinates of the goods need to be located and stored, and marked as non-idle in the 3D model (first color, such as red).

[0118] When the goods are shipped out, the corresponding storage location coordinates are found according to the storage location code and marked as idle in the three-dimensional model (second color, such as green).

[0119] Through the above method, the status of the cargo space in the 3D model can be dynamically updated when the goods enter the warehouse, and its idle state can be restored when the goods leave the warehouse. This method not only provides an intuitive visual effect, but also greatly improves the efficiency and accuracy of warehouse management. This dynamic update mechanism enables warehouse managers to grasp the inventory situation in real time and optimize inventory management.

[0120] The present invention also provides an electronic device, comprising: Memory, for storing computer instructions; The processor is used to implement the three-dimensional model construction method for a warehouse when executing the computer instructions, so it can achieve any effect of the three-dimensional model construction method for a warehouse, which will not be elaborated here.

[0121] Anything not described in the present invention can be achieved by adopting or drawing on existing technologies.

[0122] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0123] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for constructing a three-dimensional model of a warehouse, characterized in that: include: Encode the cargo location according to the cargo location attributes including storage area, row, column, and layer to obtain the cargo location code; According to the cargo location code, the cargo location coordinates are obtained by combining the row center width between the cargo locations in adjacent rows, the column center width between the cargo locations in adjacent columns, and the layer height of the cargo locations, and a three-dimensional model is constructed.

2. The method for constructing a three-dimensional model of a warehouse according to claim 1, characterized in that: The calculation method of the cargo location coordinates is: in, is the cargo location coordinate, The coordinates of the first row, first column, and first layer of the cargo space. For the i The height of the layer, For the i Arrangement and i+ 1. The center width between rows of cargo spaces. For the i Column location and i+ The center width between 1 row of cargo locations, C is the maximum number of layers of cargo locations, R is the maximum number of rows of cargo locations, and L is the maximum number of columns of cargo locations.

3. The method for constructing a three-dimensional model of a warehouse according to claim 2, characterized in that: According to the cargo location coordinates, a three-dimensional model is constructed, specifically: The row center width includes the row net width of the cargo spaces in adjacent rows, and the column center width includes the column net width of the cargo spaces in adjacent columns; A three-dimensional model is constructed according to the cargo location coordinates in combination with the row net width and the column net width.

4. The method for constructing a three-dimensional model for a warehouse according to claim 2, characterized in that: The calculation method of the cargo location coordinates is specifically as follows: When the storage area is a single-row storage area, the coordinates of the cargo location are calculated according to the cargo location attributes of the row and layer of the cargo location. in, is the cargo location coordinate, The coordinates of the cargo location in the first column and first layer.

5. The method for constructing a three-dimensional model of a warehouse according to claim 1, characterized in that: The cargo location is coded according to the cargo location attributes including storage area, row, column and layer to obtain the cargo location code, which is as follows: An array encoding including rows, columns and layers is formed for the cargo locations to encode the cargo locations; Alternatively, a unique code of the cargo location is obtained by calculating according to the row, column, and layer of the cargo location. Unique code , in, R i is the row of the cargo space, C i is the layer of the cargo location, L i is the number of rows of the cargo location, C is the maximum number of layers of the cargo location, and L is the maximum number of rows of the cargo location.

6. The method for constructing a three-dimensional model of a warehouse according to claim 5, characterized in that: When the unique code of the cargo location is obtained by calculation based on the row, column and layer of the cargo location, Before building a three-dimensional model according to the unique code, the unique code needs to be decoded. 。 7. The method for constructing a three-dimensional model of a warehouse according to claim 5, characterized in that: When the storage area is a single-row storage area, an array code including columns and layers is formed for the cargo locations to encode the cargo locations; Alternatively, a unique code of the cargo location is obtained by calculating according to the row and layer of the cargo location. Unique code , in, C i is the layer of the cargo location, L i is the number of rows of the cargo location, and L is the maximum number of rows of the cargo location.

8. The method for constructing a three-dimensional model of a warehouse according to claim 1, characterized in that: Also includes: A three-dimensional model of the warehouse is constructed, and the free status of the cargo spaces is displayed with different colors.

9. The method for constructing a three-dimensional model of a warehouse according to claim 8, characterized in that: The idle state monitoring method of the cargo space is: When goods are put into storage, the cargo location coordinates of the goods are located and stored, and the corresponding positions of the three-dimensional model are marked with the first color according to the cargo location coordinates to show a non-idle state; The cargo location code corresponding to the cargo location coordinates is marked on the goods. When the goods are shipped out of the warehouse, the cargo location coordinates are located according to the cargo location code, and the corresponding position of the three-dimensional model is marked with a second color to display an idle state.

10. An electronic device, characterized in that: include: Memory, for storing computer instructions; A processor, used to implement the method for constructing a three-dimensional model for a warehouse as described in any one of claims 1 to 9 when executing the computer instructions.