Methods, devices, media and electronic equipment for displaying two-dimensional views of warehouses

By directly acquiring and rendering warehouse location data in the browser, the problem of relying on third-party software in existing technologies is solved, enabling efficient two-dimensional warehouse display, simplifying the development process and reducing costs.

CN116842094BActive Publication Date: 2025-10-31SHANGHAI WANCHO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310870947.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2025-10-31
Estimated Expiration
2043-07-14

AI Technical Summary

Technical Problem

Existing technologies rely on third-party software for two-dimensional warehouse displays, making it impossible to directly display warehouse data in a browser, resulting in low efficiency and high costs.

Method used

By directly retrieving the coordinates and shape geometry data of storage location objects from the warehouse database on the browser side, rendering and displaying a two-dimensional view of the warehouse, it supports custom data configuration and reverse completion, and achieves real-time display on the browser side.

Benefits of technology

It improves the efficiency of warehouse display, reduces manpower input, simplifies the development process, lowers maintenance costs, and supports real-time inventory management and on-demand display for large warehouses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116842094B_ABST
    Figure CN116842094B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, computer-readable storage medium, and electronic device for displaying a two-dimensional view of a warehouse. The method includes: responding to a user's request to display a two-dimensional warehouse view on a browser page; obtaining coordinate data and shape geometry data of each storage location object from a warehouse database; rendering the warehouse based on the coordinate data and shape geometry data of each storage location object to obtain a two-dimensional warehouse view; and displaying the two-dimensional warehouse view on the browser page according to the browser page's size data and a corresponding scale. The technical solution of this application can improve the efficiency of displaying warehouses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of warehousing and computer technology, and more specifically, to a method, apparatus, computer-readable storage medium, and electronic device for displaying a two-dimensional view of a warehouse. Background Technology

[0002] With the rapid development of the warehousing and logistics industry, warehouse management technologies are constantly evolving. In two-dimensional warehouse visualization scenarios, AnyLogic is typically used for warehouse construction, allowing users to easily create and modify models. However, building warehouses using AnyLogic relies on third-party software, does not support direct browser display, does not support data-driven real-time model correction and modification, suffers from poor timeliness, focuses more on algorithm simulation, and is expensive and has a high learning curve, resulting in low warehouse visualization efficiency. Therefore, improving the efficiency of warehouse visualization is a pressing technical problem that needs to be solved. Summary of the Invention

[0003] The embodiments of this application provide a method, apparatus, computer program product or computer program, computer-readable storage medium and electronic device for displaying a two-dimensional view of a warehouse, thereby improving the efficiency of displaying a warehouse to at least a certain extent.

[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0005] According to one aspect of the embodiments of this application, a method for displaying a two-dimensional view of a warehouse is provided. The method includes: in response to a request for displaying a two-dimensional view of a warehouse triggered by a user on a browser page, obtaining coordinate data and shape geometry data of each storage location object from a warehouse database; rendering the warehouse based on the coordinate data and shape geometry data of each storage location object to obtain a two-dimensional view of the warehouse; and displaying the two-dimensional view of the warehouse on the browser page according to the size data of the browser page and in a corresponding proportion.

[0006] In some embodiments of this application, based on the foregoing scheme, the method further includes: if the shape geometric data of any storage location object is not obtained from the warehouse database, then the shape geometric data of any storage location object is deduced by back-calculating based on the coordinate data of the any storage location object and the coordinate data of adjacent storage location objects; or, if the coordinate data of any storage location object is not obtained from the warehouse database, then the coordinate data of any storage location object is deduced by back-calculating based on the shape geometric data of the any storage location object and the coordinate data of adjacent storage location objects.

[0007] In some embodiments of this application, based on the foregoing scheme, rendering the warehouse based on the coordinate data and shape geometry data of each storage location object includes: obtaining the attribute feature values ​​of each storage location object in the target attribute dimension, and determining the display features of each storage location object on the browser page based on the attribute feature values; and rendering the warehouse according to the display features corresponding to each storage location object based on the coordinate data and shape geometry data of each storage location object.

[0008] In some embodiments of this application, based on the foregoing scheme, the warehouse two-dimensional view includes a filter control icon, and the method further includes: in response to a touch operation on the filter control icon, determining a target attribute feature value; and highlighting the storage location object defined by the target attribute feature value in the warehouse two-dimensional view.

[0009] In some embodiments of this application, based on the foregoing scheme, rendering the warehouse based on the coordinate data and shape geometry data of each storage location object includes: obtaining configuration data of non-storage location objects; and rendering the warehouse based on the configuration data of the non-storage location objects, the coordinate data and shape geometry data of each storage location object.

[0010] In some embodiments of this application, based on the foregoing scheme, the method further includes: in response to a touch operation on any storage location object or any non-storage location object in the warehouse two-dimensional view, obtaining attribute information of the any storage location object or any non-storage location object; and displaying the attribute information of the any storage location object or any non-storage location object on the browser page.

[0011] In some embodiments of this application, based on the foregoing scheme, the method further includes: in response to a pickup / unloading demonstration request triggered by a user on a browser page, obtaining pickup / unloading information; simulating the pickup / unloading route based on the pickup / unloading information and the two-dimensional view of the warehouse to obtain a pickup / unloading simulation route; and demonstrating the pickup / unloading simulation route on the browser page.

[0012] According to one aspect of the embodiments of this application, a warehouse two-dimensional view display device is provided. The device includes: an acquisition unit, configured to acquire coordinate data and shape geometry data of each storage location object from a warehouse database in response to a warehouse two-dimensional view display request triggered by a user on a browser page; a rendering unit, configured to render the warehouse based on the coordinate data and shape geometry data of each storage location object to obtain a warehouse two-dimensional view; and a display unit, configured to display the warehouse two-dimensional view on the browser page according to the size data of the browser page and in a corresponding proportion.

[0013] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods described in the above embodiments.

[0014] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the method described in the above embodiments.

[0015] According to one aspect of the embodiments of this application, an electronic device is provided, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to perform the method described in the above embodiments.

[0016] In some embodiments of this application, the technical solutions provided only require the user to trigger a request to display a 2D warehouse view on the browser page. The browser can then render the warehouse based on the coordinate and geometric data of each storage location object obtained from the warehouse database, obtaining a 2D warehouse view. Finally, the 2D warehouse view is displayed on the browser page according to the corresponding proportions based on the browser page's size data. This solves the problem of relying on third-party software and model builders for displaying warehouse locations on the browser side, reducing manpower investment and simplifying the development process, thus improving the efficiency of warehouse display.

[0017] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0019] Figure 1 A system architecture diagram is shown that can be applied to the technical solutions of the embodiments of this application;

[0020] Figure 2 A flowchart illustrating a method for displaying a two-dimensional view of a warehouse according to an embodiment of this application is shown;

[0021] Figure 3 A detailed flowchart illustrating the rendering of the warehouse based on the coordinate data and shape geometry data of each storage location object according to an embodiment of this application is shown.

[0022] Figure 4 A detailed flowchart illustrating the rendering of the warehouse based on the coordinate data and shape geometry data of each storage location object according to an embodiment of this application is shown.

[0023] Figure 5 A two-dimensional view of a warehouse according to an embodiment of this application is shown;

[0024] Figure 6 A flowchart illustrating a method for displaying a two-dimensional view of a warehouse according to an embodiment of this application is shown;

[0025] Figure 7 A flowchart illustrating a method for displaying a two-dimensional view of a warehouse according to an embodiment of this application is shown;

[0026] Figure 8 A flowchart illustrating a method for displaying a two-dimensional view of a warehouse according to an embodiment of this application is shown;

[0027] Figure 9 A two-dimensional view of a warehouse according to an embodiment of this application is shown;

[0028] Figure 10 A block diagram of a warehouse two-dimensional view display device according to an embodiment of this application is shown;

[0029] Figure 11 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation

[0030] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.

[0031] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0032] 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 can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0033] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0034] It should be noted that "multiple" in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0035] Figure 1 A system architecture diagram is shown that can be applied to the technical solutions of the embodiments of this application.

[0036] like Figure 1 As shown, the system architecture may include terminal devices (such as...) Figure 1 The device shown includes one or more of a smartphone 101, tablet computer 102, and portable computer 103 (which could also be a desktop computer, etc., but is not limited thereto; this application does not impose any limitations here), a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the terminal device and the server 105. The network 104 can include various connection types, such as wired communication links, wireless communication links, etc.

[0037] It should be noted that the warehouse two-dimensional view display method provided in this application embodiment can be executed by a terminal device, and correspondingly, the warehouse two-dimensional view display device is generally set in the terminal device.

[0038] The implementation details of the technical solutions in the embodiments of this application are described in detail below:

[0039] In this application, the proposed technical solution can be applied to scenarios that provide two-dimensional display of multi-warehouse, real-time warehouse storage layout based on a browser and server architecture. Specifically, inventory-related data in the warehouse can be stored in a warehouse database (e.g., a database composed of WMS warehouse management system, OMS order management system, and TMS transportation management system). The warehouse database can be deployed on a backend server (e.g., a physical server or a cloud server). Based on the user's request for a two-dimensional warehouse view display on the terminal device, the terminal device can retrieve inventory-related data from the warehouse database on the backend server and further display the two-dimensional warehouse view on the browser page of the terminal device based on the inventory-related data.

[0040] In this application, the warehouse may include storage location objects or non-storage location objects (such as warehouse aisles, warehouse walls, warehouse entrances, warehouse platforms, warehouse goods, warehouse shelves, etc.).

[0041] In this application, the method for displaying a two-dimensional warehouse view is implemented. It can be developed and drawn using JavaScript as the development language, based on custom properties provided by the Echarts graphics library, and supports display in mainstream browsers such as IE8 and above. It can achieve smooth, lag-free display even when drawing hundreds of thousands of warehouse locations.

[0042] Figure 2 A flowchart illustrating a method for displaying a two-dimensional warehouse view according to an embodiment of this application is shown. This method can be executed by a device with computational processing capabilities, such as a... Figure 1 The terminal device shown is used to execute this. (Refer to...) Figure 2 As shown, the method for displaying a two-dimensional view of the warehouse includes at least steps 210 to 250, which are detailed below:

[0043] In step 210, in response to the user's request to display a two-dimensional warehouse view on the browser page, the coordinate data and shape geometry data of each storage location object are obtained from the warehouse database.

[0044] In this application, each storage location object can be defined as a regular two-dimensional geometric shape (such as a rectangle).

[0045] In this application, the coordinate data of the storage location object can be the position coordinates of the geometric center of a two-dimensional geometric figure, and the shape geometric data of the storage location object can be the geometric parameters of the two-dimensional geometric figure (such as the length and width of a rectangle).

[0046] In one embodiment of this application, if the shape geometry data of any storage location object is not obtained from the warehouse database, the shape geometry data of any storage location object is inferred from the coordinate data of the storage location object and the coordinate data of adjacent storage location objects.

[0047] In one embodiment of this application, if the coordinate data of any storage location object is not obtained from the warehouse database, the coordinate data of any storage location object is inferred by means of the shape geometry data of the storage location object and the coordinate data of the adjacent storage location objects.

[0048] Specifically, each storage location in the warehouse can be abstracted as a geometric shape. The location of the storage location is the maintained storage location coordinate data, and the length and width of the storage location are the maintained storage location dimensions. Alternatively, the length and width of the storage location can be derived from the coordinates of adjacent storage locations. Coordinate transformation calculations are performed using `api.coord(...)`, and the storage location coordinate values ​​are retrieved using `api.value(...)`.

[0049] Specifically, this can be achieved through the following code:

[0050] const pointLeftBottom=api.coord([api.value(0),api.value(1)]);

[0051] const pointRightTop=api.coord([api.value(2),api.value(3)]);

[0052] / / Length of the rectangle on the screen

[0053] let RectLenth=Math.abs(pointRightTop[0]-pointLeftBottom[0]);

[0054] / / Width of the rectangle on the screen

[0055] let RectWidth=Math.abs(pointRightTop[1]-pointLeftBottom[1]).

[0056] In this application, the data provided for the rendering repository is formatted JSON data. Even the simplest repository location data must include the x and y coordinates of the repository's center point; these coordinate values ​​cannot be empty. For example, this can be achieved using the following code:

[0057] {

[0058] "x_center": 0,

[0059] "y_center": -1000,

[0060] "z_center": 2000,

[0061] "x_length": 0,

[0062] "y_length": 1200.0

[0063] "z_length": 940.0

[0064] "type": "ST"

[0065] "id": 0,

[0066]

[0067] In some cases, the data obtained in this application is not perfect. For example, in a batch of storage location data, some storage location objects may lack coordinate data. In this application, the data can be supplemented by reverse calculation. For example, the coordinates of the geometric center can be calculated by determining the length and width of a rectangular storage location using known data: Given the coordinates of the upper left and lower right corners of a series of rectangles, as well as the length and width of the rectangles, we can deduce the coordinates of the center point by adding or subtracting half of the length and width from the point coordinates. This can be achieved through the following code:

[0068]

[0069]

[0070] Continue to refer to Figure 2 In step 230, the warehouse is rendered based on the coordinate data and shape geometry data of each storage location object to obtain a two-dimensional view of the warehouse.

[0071] In one embodiment of this application, the warehouse is rendered based on the coordinate data and shape geometry data of each storage location object to obtain a two-dimensional view of the warehouse, which can be displayed as follows: Figure 3 The steps shown are to be followed.

[0072] See Figure 3 This diagram illustrates a detailed flowchart of rendering the warehouse based on the coordinate data and shape geometry data of each storage location object according to an embodiment of this application. Specifically, it includes steps 231 to 232:

[0073] Step 231: Obtain the attribute feature values ​​of each storage location object in the target attribute dimension, and determine the display features of each storage location object on the browser page based on the attribute feature values.

[0074] Step 232: Based on the coordinate data and shape geometry data of each storage location object, render the warehouse according to the display features corresponding to each storage location object.

[0075] In this application, each storage location object can be configured with attribute feature values ​​for multiple attribute dimensions. For example, attribute dimensions can be storage location type, storage location capacity type, SKU category, storage location inventory, etc. It should be noted that storage location location and storage location shape and geometric dimensions can also be categorized as attribute dimensions of the storage location.

[0076] In this application, the display characteristics of the storage location object on the browser page are determined based on the attribute feature values ​​of the storage location object in the target attribute dimension. This can be achieved by using different colors or different color depths of the same color as the display characteristics of the storage location object on the browser page.

[0077] Specifically, this can be achieved using the following code:

[0078]

[0079]

[0080] In one embodiment of this application, the warehouse is rendered based on the coordinate data and shape geometry data of each storage location object to obtain a two-dimensional view of the warehouse, which can be displayed as follows: Figure 3 The steps shown are to be followed.

[0081] See Figure 4 This document illustrates a detailed flowchart of rendering the warehouse based on the coordinate data and shape geometry data of each storage location object according to an embodiment of this application. Specifically, it includes steps 233 to 234:

[0082] Step 233: Obtain configuration data for non-database objects;

[0083] Step 234: Render the warehouse based on the configuration data of the non-warehouse objects, the coordinate data of each warehouse object, and the shape geometry data of each warehouse object.

[0084] This application allows for customized configuration of storage location scenarios, enabling personalized customization. For example, attributes such as storage location spacing and scaling ratio can be configured. Virtual area display methods can also be configured; based on the user's preferred dimensions, storage locations of the same dimension can be represented using colors, lines, etc. It supports configuring the display of common data types such as warehouse channels, warehouse entrances, and warehouse walls. The dictionary supports configuring the width and rendering color of non-storage location objects such as warehouse channels, warehouse entrances, and warehouse walls. The browser frontend first reads the configuration information from the dictionary. If a matching configuration is found, it uses the dictionary configuration information; otherwise, it displays a black line with a width of 1.

[0085] Specifically, this can be achieved using the following code:

[0086] / / Logic for retrieving values ​​from a dictionary

[0087] yLength:Math.abs(item.yEnd-item.yStart)===0?1:

[0088] Math.abs(item.yEnd-item.yStart),

[0089] xLength: this.getDictVal(this.layerDefaultVal, item.layer)?

[0090] this.getDictVal(this.layerDefaultVal, item.layer): W.

[0091] Continue to refer to Figure 2 In 250, based on the size data of the browser page, the two-dimensional view of the warehouse is displayed on the browser page in a corresponding proportion.

[0092] In this application, to enable those skilled in the art to better understand the warehouse two-dimensional view mentioned herein, please refer to... Figure 5 This illustrates a two-dimensional view of a warehouse according to an embodiment of this application.

[0093] like Figure 5 A. Each colored block represents a storage location. Clicking on a location displays its coordinates and the information on the goods placed within it. Because the storage locations are displayed proportionally, combining the real and rendered locations allows for quick filtering of abnormal location information. For example... Figure 5 B. Each color represents a type of goods information. The warehouse location rendering map clearly shows the placement of each type of goods in the warehouse.

[0094] It should be noted that the business content of the warehouse's two-dimensional view is extensive and highly detailed, making it difficult to clearly demonstrate in this application. Figure 5 This is merely to illustrate the form and effect of a two-dimensional warehouse view; the specific business content shown in the diagram is unrelated to the technical solutions involved in this application.

[0095] In one embodiment of this application, the warehouse two-dimensional view may include a filter control icon; specifically, it may also perform actions such as... Figure 6 The steps are shown.

[0096] See Figure 6 The flowchart illustrates a method for displaying a two-dimensional view of a warehouse according to an embodiment of this application. Specifically, it includes steps 261 to 262:

[0097] Step 261: In response to a touch operation on the filter control icon, determine the target attribute feature value.

[0098] Step 262: Highlight the storage location object defined by the target attribute feature value in the warehouse two-dimensional view.

[0099] In this application, users can highlight warehouse location objects that are defined by the selected target attribute feature value by touching the filter control icon. In addition to enhancing the user experience, more importantly, it helps users analyze the warehouse status and, in some cases, can promptly detect abnormal warehouse statuses, thus improving analysis efficiency.

[0100] In one embodiment of this application, the following can also be performed: Figure 7 The steps are shown.

[0101] See Figure 7 The flowchart illustrates a method for displaying a two-dimensional view of a warehouse according to an embodiment of this application. Specifically, it includes steps 263 to 264:

[0102] Step 263: In response to a touch operation on any storage location object or any non-storage location object in the warehouse two-dimensional view, obtain the attribute information of the any storage location object or any non-storage location object.

[0103] Step 264: Display the attribute information of any storage location object or any non-storage location object on the browser page.

[0104] In this application, when a user performs a touch operation on a target storage location object (such as clicking on a storage location object in a two-dimensional warehouse view), the attribute information of the storage location object (such as the type, quantity, and entry time of the goods stored in the storage location) is displayed on the browser page. The advantage of this is that it can display warehouse information to the user in more detail, which is conducive to improving the user experience.

[0105] In one embodiment of this application, the following can also be performed: Figure 8 The steps are shown.

[0106] See Figure 8 The flowchart illustrates a method for displaying a two-dimensional view of a warehouse according to an embodiment of this application. Specifically, it includes steps 265 to 267:

[0107] Step 265: In response to the user's request for a pickup / unloading demonstration triggered on the browser page, obtain pickup / unloading information.

[0108] Step 266: Based on the picking / unloading information and the two-dimensional view of the warehouse, simulate the picking / unloading route to obtain the picking / unloading simulation route.

[0109] Step 267: Demonstrate the pickup / unloading simulation route on the browser page.

[0110] In this application, the specific implementation idea of ​​warehouse picking / unloading route simulation can be as follows: The algorithm outputs the coordinate information required for the simulation route according to a specified format, and the data format is similar to that of the warehouse location data. In the point information, flowNo represents the sequence number of the connection. The front end connects the coordinate points according to the order of flowNo, which can be points with smaller sequence numbers first and points with larger sequence numbers last, with the arrow direction indicating the order of flowNo from n to n+1. Then, according to the sequence number of the connection points, the connection order is displayed sequentially every preset time (e.g., 100 milliseconds).

[0111] Specifically, this can be achieved using the following code:

[0112]

[0113]

[0114] In this application, to enable those skilled in the art to better understand the process of simulating the warehouse picking / unloading route in the two-dimensional warehouse view mentioned in this application, please refer to... Figure 9 This illustrates a two-dimensional view of a warehouse according to an embodiment of this application.

[0115] It should be noted that the business content of the warehouse's two-dimensional view is extensive and highly detailed, making it difficult to clearly demonstrate in this application. Figure 9 This is merely to illustrate the form and effect of a two-dimensional warehouse view. The specific business content shown in the diagram is unrelated to the technical solution involved in this application and should not be considered.

[0116] In one embodiment of this application, steps 268 to 269 may also be performed:

[0117] Step 268: Monitor the attribute information of the storage location object in the warehouse database.

[0118] Step 269: If the attribute information of the storage location object is updated, the attribute information of the storage location object is retrieved again from the storage location database. Based on the new attribute information, the storage location is re-rendered to obtain a new two-dimensional view of the storage location, and the new two-dimensional view of the storage location is updated in real time on the browser page.

[0119] In this embodiment, by monitoring the attribute information of storage location objects in the warehouse database, once an update to the attribute information is detected (such as goods entering or leaving the warehouse), the two-dimensional warehouse view on the browser page is updated synchronously. This improves the timeliness of the warehouse two-dimensional view display and enhances the user experience.

[0120] This application provides a browser-based solution for warehouse visualization, supporting incomplete data completion and custom data configuration to quickly display a two-dimensional view of the warehouse. This overcomes the problem of not being able to display warehouse data in real time, directly visualizing warehouse data. This solution reduces manpower and simplifies the development process, lowering maintenance and labor costs. It solves the problem of relying on third-party software and model builders for displaying warehouse locations in the browser, reducing manpower, simplifying the development process, and improving the efficiency of warehouse visualization. The provided browser-based data directly drives the warehouse visualization solution, ensuring real-time efficiency. For large warehouses, modifications are immediately visible, supporting real-time inventory display and management. Furthermore, this solution is highly configurable, supporting user-configurable warehouses and goods, providing more possibilities for warehouse management, simplifying the development process, shortening the development cycle, and reducing development costs.

[0121] The following describes an embodiment of the apparatus described in this application, which can be used to execute the warehouse two-dimensional view display method described in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the warehouse two-dimensional view display method described above.

[0122] Figure 10 A block diagram of a warehouse two-dimensional view display device according to an embodiment of this application is shown.

[0123] Reference Figure 10 As shown, a warehouse two-dimensional view display device 1000 according to an embodiment of this application includes: an acquisition unit 1001, a rendering unit 1002 and a display unit 1003.

[0124] The acquisition unit 1001 is used to obtain the coordinate data and shape geometry data of each storage location object from the warehouse database in response to the user's request to display a two-dimensional warehouse view on the browser page; the rendering unit 1002 is used to render the warehouse based on the coordinate data and shape geometry data of each storage location object to obtain a two-dimensional warehouse view; and the display unit 1003 is used to display the two-dimensional warehouse view on the browser page according to the size data of the browser page and in a corresponding proportion.

[0125] In some embodiments of this application, based on the foregoing scheme, if the shape and geometric data of any storage location object are not obtained from the warehouse database, the shape and geometric data of any storage location object are inferred from the coordinate data of the storage location object and the coordinate data of adjacent storage location objects; or, if the coordinate data of any storage location object are not obtained from the warehouse database, the coordinate data of any storage location object are inferred from the shape and geometric data of the storage location object and the coordinate data of adjacent storage location objects.

[0126] In some embodiments of this application, based on the foregoing scheme, the rendering unit 1002 is configured to: obtain the attribute feature values ​​of each storage location object in the target attribute dimension, and determine the display features of each storage location object on the browser page according to the attribute feature values; and render the warehouse according to the display features corresponding to each storage location object based on the coordinate data and shape geometry data of each storage location object.

[0127] In some embodiments of this application, based on the foregoing scheme, the warehouse two-dimensional view includes a filter control icon, and the device further includes: a first display unit, configured to determine a target attribute feature value in response to a touch operation on the filter control icon; and to highlight the storage location object defined by the target attribute feature value in the warehouse two-dimensional view.

[0128] In some embodiments of this application, based on the foregoing scheme, the rendering unit 1002 is configured to: acquire configuration data of non-warehouse objects; and render the warehouse based on the configuration data of the non-warehouse objects, the coordinate data of each warehouse object, and the shape geometry data of each warehouse object.

[0129] In some embodiments of this application, based on the foregoing scheme, the device further includes: a second display unit, configured to, in response to a touch operation on any storage location object or any non-storage location object in the warehouse two-dimensional view, acquire attribute information of the any storage location object or any non-storage location object; and display the attribute information of the any storage location object or any non-storage location object on the browser page.

[0130] In some embodiments of this application, based on the foregoing scheme, the device further includes: a demonstration unit, configured to, in response to a user's request for a pickup / unloading demonstration triggered on a browser page, acquire pickup / unloading information; based on the pickup / unloading information and the two-dimensional view of the warehouse, simulate the pickup / unloading route to obtain a pickup / unloading simulation route; and demonstrate the pickup / unloading simulation route on the browser page.

[0131] Figure 11 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.

[0132] like Figure 11 As shown, the computer system 1100 includes a Central Processing Unit (CPU) 1101, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 1102 or programs loaded from storage portion 1108 into Random Access Memory (RAM) 1103, such as performing the methods described in the above embodiments. Various programs and data required for system operation are also stored in RAM 1103. The CPU 1101, ROM 1102, and RAM 1103 are interconnected via bus 1104. An Input / Output (I / O) interface 1105 is also connected to bus 1104.

[0133] The following components are connected to I / O interface 1105: an input section 1106 including a keyboard, mouse, etc.; an output section 1107 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to I / O interface 1105 as needed. Removable media 1111, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1110 as needed so that computer programs read from them can be installed into storage section 1108 as needed.

[0134] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1109, and / or installed from removable medium 1111. When the computer program is executed by central processing unit (CPU) 1101, it performs various functions defined in the system of this application.

[0135] It should be noted that the computer-readable storage medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable storage medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0136] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0137] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0138] In another aspect, this application also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods described in the above embodiments.

[0139] In another aspect, this application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods described in the above embodiments.

[0140] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0141] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.

[0142] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0143] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for displaying a two-dimensional view of a warehouse, characterized in that, The method includes: In response to a user's request to display a 2D view of the warehouse on a browser page, the coordinate data and shape geometry data of each storage location object are retrieved from the warehouse database. Based on the coordinate data and shape geometry data of each storage location object, the warehouse is rendered to obtain a two-dimensional view of the warehouse; Based on the size data of the browser page, display the two-dimensional view of the warehouse on the browser page in a corresponding proportion; If the shape and geometry data of any storage location object cannot be obtained from the warehouse database, then the shape and geometry data of that storage location object are deduced from its coordinate data and the coordinate data of its adjacent storage location objects; or, If the coordinate data of any storage location object is not obtained from the warehouse database, the coordinate data of any storage location object is inferred from the shape geometry data of the storage location object and the coordinate data of the adjacent storage location objects. Obtain the attribute feature values ​​of each storage location object in the target attribute dimension, and determine the display features of each storage location object on the browser page based on the attribute feature values; Based on the coordinate data and shape geometry data of each storage location object, the warehouse is rendered according to the display characteristics corresponding to each storage location object; In response to a touch operation on the filter control icon, determine the target attribute feature value; In the warehouse 2D view, the storage location object defined by the target attribute feature value is highlighted; Retrieve configuration data for non-database objects; Based on the configuration data of the non-storage location objects, the coordinate data of each storage location object, and the shape and geometric data of each storage location object, the warehouse is rendered; In response to a user's request for a pickup / unloading demonstration triggered on a browser page, obtain pickup / unloading information; Based on the picking / unloading information, the picking / unloading route is simulated using the two-dimensional view of the warehouse to obtain the picking / unloading simulation route; The simulated pick-up / unloading route is demonstrated on the browser page; Monitor the attribute information of the storage location objects in the warehouse database; If the attribute information of the storage location object is updated, the attribute information of the storage location object is retrieved again from the warehouse database. Based on the new attribute information, the warehouse is re-rendered to obtain a new two-dimensional view of the warehouse, and the new two-dimensional view of the warehouse is updated in real time on the browser page. The method further includes: In response to a touch operation on any storage location object or any non-storage location object in the warehouse two-dimensional view, the attribute information of the any storage location object or any non-storage location object is obtained; The browser page displays the attribute information of either the location object or any non-location object.

2. An apparatus for displaying a two-dimensional warehouse view according to claim 1, characterized in that, The device includes: The acquisition unit is used to respond to the user's request to display a two-dimensional warehouse view triggered on the browser page, and to retrieve the coordinate data and shape geometry data of each storage location object from the warehouse database; The rendering unit is used to render the warehouse based on the coordinate data and shape geometry data of each storage location object to obtain a two-dimensional view of the warehouse. The display unit is used to display a two-dimensional view of the warehouse on the browser page according to the size data of the browser page and in a corresponding proportion.

3. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to perform the operations described in claim 1.

4. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to perform the operation performed by the method as described in claim 1.

Citation Information

Patent Citations

  • Warehouse management method and device, computer equipment and storage medium

    CN110610334A

  • Warehouse data display method and device, equipment and storage medium

    CN114596404A