Inventory counting method, device, computer equipment and storage medium
Using AR technology to collect product identification and gesture or voice recognition to adjust inventory levels solves the problem of low efficiency in existing inventory counting and achieves efficient inventory management and automated recording.
Patent Information
- Application Number
- CN202111376127.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-11-19
AI Technical Summary
The existing inventory counting method is inefficient. Users need to hold scanning equipment and goods, which leads to the occupation of both hands and affects work efficiency.
Use augmented reality (AR) technology to collect product identification, query inventory, adjust inventory through gesture or voice recognition, and automatically store the adjusted data.
There is no need to hold a scanning device, free your hands, improve inventory counting efficiency, support real-time inventory adjustment and storage, and achieve efficient inventory management.
Smart Images

Figure CN114219389B
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence recognition and classification technology, and in particular to an inventory counting method, device, computer equipment and storage medium. Background Art
[0002] With the advancement of science and technology and the improvement of productivity, a wide variety of products have appeared on the market.
[0003] The variety of products meets the different needs of users, but also brings some challenges. Take the retail industry as an example. Retail stores count the goods on shelves and in warehouses to ensure that the recorded inventory is consistent with the actual situation. The variety of product types and large quantities of goods make the inventory counting workload huge.
[0004] Conventional inventory counting generally requires users to use a handheld scanning device to scan the product barcodes one by one. During this process, the user needs to hold the scanning device in one hand and pick up the product in the other hand, which requires the user to use both hands at the same time, which will seriously affect the efficiency of the entire inventory counting. Summary of the invention
[0005] Based on this, it is necessary to provide an efficient inventory counting method, device, computer equipment and storage medium to address the above technical problems.
[0006] An inventory counting method, the method comprising:
[0007] Obtain product identification based on AR (Augmented Reality) technology;
[0008] Query the inventory of goods according to the product ID and push the inventory of goods;
[0009] In response to a commodity inventory adjustment operation, determine the adjusted commodity inventory;
[0010] The adjusted commodity inventory quantity is associated with the commodity ID and stored.
[0011] In one embodiment, querying the inventory of the product according to the product identifier and pushing the inventory of the product includes:
[0012] Query the inventory of the product according to the product ID and obtain the preset inventory display window configuration parameters;
[0013] Generate an inventory display window according to preset inventory display window configuration parameters;
[0014] The inventory quantity of the product is displayed in the inventory quantity display window.
[0015] In one embodiment, generating the inventory display window according to preset inventory display window configuration parameters includes:
[0016] Locate the spatial position of the product logo;
[0017] Extracting relative position parameters in the preset inventory display window configuration parameters, where the relative position parameters are used to characterize the relative position relationship between the inventory display window and the product identification;
[0018] Update the preset inventory display window configuration parameters according to the spatial position and relative position parameters of the product logo;
[0019] Generate an inventory display window according to the updated preset inventory display window configuration parameters.
[0020] In one embodiment, in response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes:
[0021] Start the gesture recognition function and collect gesture actions;
[0022] When the gesture action represents adjusting the inventory of goods, a virtual inventory adjustment component is generated;
[0023] In response to the adjustment operation of the virtual inventory adjustment component, the adjusted commodity inventory is determined.
[0024] In one embodiment, when the gesture action represents adjusting the inventory of a product, generating a virtual inventory adjustment component includes:
[0025] When the gesture action represents adjusting the inventory of the product, the spatial position of the product logo is located, and the preset virtual inventory adjustment component configuration parameters are obtained;
[0026] Extracting component relative position parameters in preset virtual inventory adjustment component configuration parameters, where the component relative position parameters are used to characterize the relative position relationship between the virtual inventory adjustment component and the commodity identifier;
[0027] According to the spatial position of the product logo and the relative position parameters of the components, the preset virtual inventory quantity is updated to adjust the component configuration parameters;
[0028] Generate a virtual inventory adjustment component according to the updated preset virtual inventory adjustment component configuration parameters.
[0029] In one embodiment, in response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes:
[0030] Detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component;
[0031] Obtaining a commodity inventory adjustment amount according to the movement vector and the quantity corresponding to the preset unit movement vector;
[0032] Determine the adjusted commodity inventory quantity based on the commodity inventory quantity adjustment amount.
[0033] In one embodiment, in response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes:
[0034] Start the voice recognition function and collect voice commands;
[0035] The inventory quantity of the product is adjusted according to the collected voice instructions, and the adjusted inventory quantity of the product is determined.
[0036] An inventory counting device, comprising:
[0037] A data acquisition module is used to obtain product identifications collected based on AR technology;
[0038] A query and push module is used to query the inventory of goods according to the product identification and push the inventory of goods;
[0039] A response adjustment module, used to respond to the commodity inventory adjustment operation and determine the adjusted commodity inventory;
[0040] The storage module is used to associate and store the adjusted commodity inventory with the commodity identifier.
[0041] In one of the embodiments, the query push module is also used to query the inventory of the product according to the product identification, obtain preset inventory display window configuration parameters; generate an inventory display window according to the preset inventory display window configuration parameters; and display the inventory of the product in the inventory display window.
[0042] In one of the embodiments, the query push module is also used to locate the spatial position of the product identification; extract the relative position parameters in the preset inventory display window configuration parameters, and the relative position parameters are used to characterize the relative position relationship between the inventory display window and the product identification; update the preset inventory display window configuration parameters according to the spatial position of the product identification and the relative position parameters; generate an inventory display window according to the updated preset inventory display window configuration parameters.
[0043] In one of the embodiments, the response adjustment module is also used to start a gesture recognition function and collect gesture actions; when the gesture action represents the adjustment of the commodity inventory, a virtual inventory adjustment component is generated; and in response to the adjustment operation of the virtual inventory adjustment component, the adjusted commodity inventory is determined.
[0044] In one of the embodiments, the response adjustment module is also used to locate the spatial position of the product logo and obtain preset virtual inventory adjustment component configuration parameters when the gesture action represents the adjustment of the product inventory; extract the component relative position parameters in the preset virtual inventory adjustment component configuration parameters, and the component relative position parameters are used to characterize the relative position relationship between the virtual inventory adjustment component and the product logo; update the preset virtual inventory adjustment component configuration parameters according to the spatial position of the product logo and the component relative position parameters; and generate a virtual inventory adjustment component according to the updated preset virtual inventory adjustment component configuration parameters.
[0045] In one of the embodiments, the response adjustment module is also used to detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component; obtain the commodity inventory adjustment amount according to the movement vector and the quantity corresponding to the preset unit movement vector; and determine the adjusted commodity inventory according to the commodity inventory adjustment amount.
[0046] In one of the embodiments, the response adjustment module is further used to start a voice recognition function and collect voice instructions; adjust the commodity inventory according to the collected voice instructions, and determine the adjusted commodity inventory.
[0047] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0048] Obtain product identification based on AR technology;
[0049] Query the inventory of goods according to the product ID and push the inventory of goods;
[0050] In response to a commodity inventory adjustment operation, determine the adjusted commodity inventory;
[0051] The adjusted commodity inventory quantity is associated with the commodity ID and stored.
[0052] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0053] Obtain product identification based on AR technology;
[0054] Query the inventory of goods according to the product ID and push the inventory of goods;
[0055] In response to a commodity inventory adjustment operation, determine the adjusted commodity inventory;
[0056] The adjusted commodity inventory quantity is associated with the commodity ID and stored.
[0057] The above-mentioned inventory counting method, device, computer equipment and storage medium use the commodity identification collected by the AR device to identify the commodity, without the user having to adopt the conventional method of holding the scanning device in one hand and the commodity in the other hand to scan and identify the commodity, thereby freeing the operator's hands; in addition, during the entire process, it also supports and responds to the user's adjustment operation on the commodity inventory, associates the adjusted commodity inventory with the commodity identification and stores it, automatically records the changes in the inventory quantity of each commodity, and realizes efficient inventory counting. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 An application environment diagram of an inventory counting method in one embodiment;
[0059] Figure 2 A schematic diagram of a flow chart of an inventory counting method in one embodiment;
[0060] Figure 3 A schematic diagram of a flow chart of an inventory counting method in another embodiment;
[0061] Figure 4 A schematic diagram of an application scenario of an inventory counting method in an application example;
[0062] Figure 5 is a structural block diagram of an inventory counting device in one embodiment;
[0063] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0065] The inventory counting method provided in this application can be applied to Figure 1 In the application environment shown, the operator wears an AR device, which collects the commodity identification (barcode) and obtains the collected commodity identification; queries the commodity inventory according to the commodity identification, pushes the commodity inventory to the operator, and the operator can adjust the commodity inventory. The AR device responds to the operator's operation and determines the adjusted commodity inventory. The AR device associates the adjusted commodity deposit quantity with the commodity identification and stores it. If necessary, the AR device can also upload the associated data to the inventory management server.
[0066] In one embodiment, Figure 2 As shown, an inventory counting method is provided, which is applied to Figure 1The AR device in the example is used to illustrate, including the following steps:
[0067] S200: Acquire a product identification collected based on AR technology.
[0068] AR is a technology that calculates the position and angle of camera images in real time and adds corresponding images. The goal of this technology is to put the virtual world on the screen and interact with the real world. Here, the product logo on the product can be collected by AR devices. AR devices can be conventional wearable AR devices, such as Figure 1 When the operator looks at the product identification area (product barcode) of the product, the AR device automatically collects the product identification. The product identification refers to the unique identity information used to distinguish the product, which can be a product barcode or a QR code of the product.
[0069] S400: Query the inventory of the product according to the product identifier and push the inventory of the product.
[0070] The product identification is the unique identification information of the product. The current inventory of the product can be queried by searching in the database based on the identification information. Optionally, after the AR device collects the product identification A, it can upload the product identification A to the inventory management server and request to query the product inventory corresponding to the product identification A. The inventory management server feeds back the queried product inventory to the AR device, and the AR device pushes it. The AR device can specifically push it to the operator to let the operator know the current inventory of the product. Furthermore, the AR device can create a product inventory display window in the virtual scene, and display the corresponding inventory in the display window, so that the operator can intuitively understand the product inventory.
[0071] S600: In response to the commodity inventory adjustment operation, determine the adjusted commodity inventory.
[0072] When the operator is doing inventory counting, he may need to put a certain number of goods into the warehouse or take them out of the warehouse. At this time, the inventory of the goods needs to be adjusted accordingly. The AR device responds to the operator's inventory adjustment operation and determines the adjusted inventory of the goods. Specifically, after the AR device pushes the inventory of the goods to the operator, it can display a virtual inventory adjustment component, and the operator can operate on the virtual inventory adjustment component to adjust the inventory of the goods. In actual applications, for example, 10 boxes of biscuits are currently needed to be put into the warehouse. The operator wears the AR device to scan the barcode of the biscuits and finds that the current inventory of biscuits is 100 boxes. The AR device sets a display window in the virtual interface and displays 100 in the display window; in addition, the AR device also displays a virtual inventory adjustment component in the virtual interface. The operator increases the quantity by 10 by sliding the slider in the virtual inventory adjustment component or by clicking the virtual button of "+". At this time, the inventory of biscuits is adjusted to 110 boxes.
[0073] S800: The adjusted commodity inventory quantity is associated with the commodity identification and stored.
[0074] The adjusted commodity inventory is associated with the commodity ID and stored, so that when the commodity ID is scanned again in the future, the latest commodity inventory can be obtained, thereby achieving efficient inventory counting.
[0075] The above-mentioned inventory counting method utilizes the commodity identification collected by the AR device to identify the commodity. The user does not need to adopt the conventional method of holding the scanning device in one hand and the commodity in the other hand to scan and identify the commodity, thereby freeing the operator's hands. In addition, during the entire process, it also supports and responds to the user's adjustment of the commodity inventory, associates the adjusted commodity inventory with the commodity identification and stores it, automatically records the changes in the inventory quantity of each commodity, and realizes efficient inventory counting.
[0076] like Figure 3 As shown, in one embodiment, S400 includes:
[0077] S420: Query the inventory of the product according to the product identifier, and obtain the preset inventory display window configuration parameters;
[0078] S440: Generate an inventory display window according to preset inventory display window configuration parameters;
[0079] S460: Display the inventory quantity of the product in the inventory quantity display window.
[0080] The preset inventory display window configuration parameters are pre-set configuration parameters, which are used to configure the inventory display window in the virtual interface. These configuration parameters can be pre-written into the cache space of the AR device, and directly read when needed. These configuration parameters can specifically include configuration parameters related to the length, height, resolution, and display position of the inventory display window. After the AR device inquires about the inventory of the product, it directly reads the preset inventory display window configuration parameters, generates an inventory display window in the virtual space based on the parameters, and displays the inquired inventory of the product in the display window, so that the operator can intuitively understand the current inventory of the product.
[0081] In one embodiment, generating the inventory display window according to preset inventory display window configuration parameters includes:
[0082] Locate the spatial position of the product identification; extract the relative position parameters in the preset inventory display window configuration parameters, the relative position parameters are used to characterize the relative position relationship between the inventory display window and the product identification; update the preset inventory display window configuration parameters according to the spatial position of the product identification and the relative position parameters; generate the inventory display window according to the updated preset inventory display window configuration parameters.
[0083] In this embodiment, the position of the generated inventory display window and the commodity identification is relatively fixed, that is, the generated inventory display window changes with the change of the commodity identification position, which is convenient for operators to browse the quantity displayed in the inventory display window. Specifically, first locate the spatial position of the commodity identification at the current moment, extract the relative position relationship parameters in the preset inventory display window configuration parameters (for example, the relative position relationship parameters are characterized on the right side of the commodity identification), take the spatial position of the commodity identification at the current moment as the reference, adjust the position data of the display window in the preset inventory display window configuration parameters according to the relative position parameters, and then generate the inventory display window according to the updated preset inventory display window configuration parameters. For example, if the relative position relationship is that the inventory display window will be on the right side of the commodity identification, when the operator moves the commodity and the commodity identification moves 10 cm horizontally to the left, the inventory display window generated by the solution of this embodiment will also move 10 cm horizontally to the left.
[0084] Furthermore, the inventory display window will only be displayed when the AR device can capture the product logo. When the operator's perspective moves and the AR device cannot capture the product logo, the inventory display window will disappear to avoid the inventory display window occupying the virtual display space and affecting the operator's execution of other operations.
[0085] In one embodiment, in response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes:
[0086] The gesture recognition function is started to collect gesture actions; when the gesture action represents the adjustment of the commodity inventory, a virtual inventory adjustment component is generated; in response to the adjustment operation in the virtual inventory adjustment component, the adjusted commodity inventory is determined.
[0087] In this embodiment, gesture recognition is used to respond to the commodity inventory adjustment operation issued by the operator, and the operator's gesture action is recognized. When the gesture action represents the adjustment of the commodity inventory, the AR device generates a virtual inventory adjustment component in the virtual space, and the operator performs a quantity adjustment operation on the virtual inventory adjustment component, such as sliding the slider on the virtual inventory adjustment component to increase or decrease the quantity; it can also be clicked on the virtual "+" or "-" button on the virtual inventory adjustment component to adjust the quantity, determine the operator's final adjustment amount, and obtain the adjusted commodity inventory based on the original commodity inventory and the adjustment amount. The gesture action representing the adjustment of the commodity inventory can be pre-written into the AR device storage space. When the AR recognizes the corresponding gesture action, it is determined that the operator has the need to adjust the commodity inventory, and a virtual inventory adjustment component is generated at this time. Furthermore, the gesture action representing the adjustment of the commodity inventory can be specifically a hand shape with the index finger extended and the other fingers retracted.
[0088] In one embodiment, when the gesture action represents adjusting the inventory of a product, generating a virtual inventory adjustment component includes:
[0089] When the gesture action represents the adjustment of the inventory of the product, the spatial position of the product logo is located, and the preset virtual inventory adjustment component configuration parameters are obtained; the component relative position parameters in the preset virtual inventory adjustment component configuration parameters are extracted, and the component relative position parameters are used to represent the relative position relationship between the virtual inventory adjustment component and the product logo; according to the spatial position of the product logo and the component relative position parameters, the preset virtual inventory adjustment component configuration parameters are updated; and according to the updated preset virtual inventory adjustment component configuration parameters, a virtual inventory adjustment component is generated.
[0090] In this embodiment, the generation method of the virtual inventory adjustment component is similar to the above-mentioned inventory display window. The display position of the virtual inventory adjustment component is relatively fixed to the position of the product identification, that is, the virtual inventory adjustment component will change with the change of the product position to facilitate the operator's operation. The specific implementation details will not be repeated here.
[0091] In one embodiment, in response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes:
[0092] Detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component; obtain the commodity inventory adjustment amount according to the movement vector and the quantity corresponding to the preset unit movement vector; and determine the adjusted commodity inventory amount according to the commodity inventory adjustment amount.
[0093] The operator performs inventory adjustment operations on the virtual inventory adjustment component. A quantity adjustment slider is provided in the virtual inventory adjustment component. The operator directly slides the slider to adjust the inventory quantity. Specifically, when the slider is in the middle position, the corresponding adjustment quantity is 0. The quantity decreases on the left side of the middle position and increases on the right side of the middle position. The commodity inventory adjustment is obtained by detecting the movement vector of the adjustment slider (- to the left, + to the right), and then based on the quantity corresponding to the unit movement vector, for example, 1cm corresponds to 5. In actual applications, if the detected slider movement vector is +2, the commodity inventory adjustment is +10; if the slider movement vector is -2, the commodity inventory adjustment is -10.
[0094] In one embodiment, in response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes:
[0095] The voice recognition function is started to collect voice commands; the inventory quantity of the goods is adjusted according to the collected voice commands, and the adjusted inventory quantity of the goods is determined.
[0096] In this embodiment, voice recognition is used to determine the adjusted inventory of goods. Specifically, after pushing the inventory of goods to the operator, the AR device starts the voice recognition function, collects voice instructions, and identifies the inventory of goods that the operator needs to adjust based on the collected cloud instructions, thereby determining the adjusted inventory of goods. In actual applications, the AR device displays the inventory of goods as 100 in the virtual space, and starts the voice recognition function. The operator sends a voice message to put 10 items into the warehouse. The AR device collects the voice instruction of "putting 10 items into the warehouse" and recognizes that 10 items of the goods need to be put into the warehouse for this inventory count. The inventory of the goods is adjusted to 100+10=110.
[0097] In order to explain the technical solution and effect of the inventory counting method of the present application in detail, a specific application example will be used below, and combined with Figure 4 Provide an expanded description.
[0098] Specific as Figure 4As shown, the operator wears an AR device (AR glasses) to perform inventory counting of the goods. Specifically, the operator uses the AR device to scan the barcode of the product, and the software system in the AR device will capture and parse the product barcode through the camera, and search the product inventory quantity corresponding to the product barcode from the system database. Next, the software will draw a virtual data display frame through the AR device, which displays the inventory quantity corresponding to the product, and the data display frame will be projected in the AR device display component. When the operator observes the goods in the real world through the display component of the AR device, he can see the virtual inventory quantity display frame at the same time, and when the AR device camera can always capture the product barcode, the display frame will always float on the right side of the barcode. When the AR device camera cannot capture the product barcode, the display frame disappears immediately. At the same time, the software system in the AR device will also draw a virtual display frame containing buttons and a progress bar for adjusting the inventory quantity, which also contains the currently adjusted inventory quantity. When the AR device camera can always capture the product barcode, the display component of the AR device will always suspend the display frame below the product barcode. When the AR device camera cannot capture the product barcode, the display frame disappears immediately. When one of the operator's hands is captured by the AR device camera, the AR device will recognize the shape of the hand. When the hand shape is the index finger extended and the other fingers closed, the AR device allows the hand to directly interact with the buttons in the virtual display frame that adjusts the inventory quantity. When the position of the index finger coincides with the button that pulls the progress bar, the progress bar can be pulled, and the number of inventory counts will change dynamically as the operator pulls. When the index finger coincides with the increase button or the decrease button, the index finger can click the button, and the number of inventory counts will dynamically increase or decrease as the index finger clicks.
[0099] It should be understood that, although the steps in the above-mentioned flowcharts are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0100] In addition, if Figure 5 As shown, the present application also provides an inventory counting device, the device comprising:
[0101] The data acquisition module 200 is used to acquire the commodity identification collected based on AR technology;
[0102] The query and push module 400 is used to query the inventory of the product according to the product identifier and push the inventory of the product;
[0103] A response adjustment module 600, for responding to a commodity inventory adjustment operation and determining an adjusted commodity inventory;
[0104] The storage module 800 is used to store the adjusted commodity inventory in association with the commodity identification.
[0105] The above-mentioned inventory counting device uses the commodity identification collected by the AR device to identify the commodity. The user does not need to adopt the conventional method of holding the scanning device in one hand and the commodity in the other hand to scan and identify the commodity, thereby freeing the operator's hands. In addition, during the whole process, it also supports and responds to the user's adjustment operation on the commodity inventory, and stores the adjusted commodity inventory in association with the commodity identification, automatically records the changes in the inventory quantity of each commodity, and realizes efficient inventory counting.
[0106] In one embodiment, the query push module 400 is also used to query the inventory of the product according to the product identification, obtain the preset inventory display window configuration parameters; generate the inventory display window according to the preset inventory display window configuration parameters; and display the inventory of the product in the inventory display window.
[0107] In one of the embodiments, the query push module 400 is also used to locate the spatial position of the product identification; extract the relative position parameters in the preset inventory display window configuration parameters, the relative position parameters are used to characterize the relative position relationship between the inventory display window and the product identification; update the preset inventory display window configuration parameters according to the spatial position of the product identification and the relative position parameters; generate the inventory display window according to the updated preset inventory display window configuration parameters.
[0108] In one of the embodiments, the response adjustment module 600 is also used to start a gesture recognition function and collect gesture actions; when the gesture action represents the adjustment of the commodity inventory, a virtual inventory adjustment component is generated; and in response to the adjustment operation of the virtual inventory adjustment component, the adjusted commodity inventory is determined.
[0109] In one of the embodiments, the response adjustment module 600 is also used to locate the spatial position of the product logo and obtain preset virtual inventory adjustment component configuration parameters when the gesture action represents the adjustment of the product inventory; extract the component relative position parameters in the preset virtual inventory adjustment component configuration parameters, and the component relative position parameters are used to represent the relative position relationship between the virtual inventory adjustment component and the product logo; update the preset virtual inventory adjustment component configuration parameters according to the spatial position of the product logo and the component relative position parameters; and generate a virtual inventory adjustment component according to the updated preset virtual inventory adjustment component configuration parameters.
[0110] In one embodiment, the response adjustment module 600 is also used to detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component; obtain the commodity inventory adjustment amount according to the movement vector and the quantity corresponding to the preset unit movement vector; and determine the adjusted commodity inventory according to the commodity inventory adjustment amount.
[0111] In one embodiment, the response adjustment module 600 is further used to start a voice recognition function and collect voice instructions; adjust the commodity inventory according to the collected voice instructions, and determine the adjusted commodity inventory.
[0112] For the specific embodiments of the inventory counting device, please refer to the embodiments of the inventory counting method mentioned above, which will not be repeated here. Each module in the above inventory counting device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0113] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an inventory counting method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0114] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation on the computer device to which the present application scheme is applied. The specific computer device may include Figure 6 More or fewer components may be shown, or certain components may be combined, or may have a different arrangement of components.
[0115] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0116] Obtain product identification based on AR technology;
[0117] Query the inventory of goods according to the product ID and push the inventory of goods;
[0118] In response to a commodity inventory adjustment operation, determine the adjusted commodity inventory;
[0119] The adjusted commodity inventory quantity is associated with the commodity ID and stored.
[0120] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0121] Query the inventory of the product according to the product identification, and obtain the preset inventory display window configuration parameters; generate the inventory display window according to the preset inventory display window configuration parameters; and display the inventory of the product in the inventory display window.
[0122] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0123] Locate the spatial position of the product identification; extract the relative position parameters in the preset inventory display window configuration parameters, the relative position parameters are used to characterize the relative position relationship between the inventory display window and the product identification; update the preset inventory display window configuration parameters according to the spatial position of the product identification and the relative position parameters; generate the inventory display window according to the updated preset inventory display window configuration parameters.
[0124] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0125] The gesture recognition function is started to collect gesture actions; when the gesture action represents the adjustment of the commodity inventory, a virtual inventory adjustment component is generated; in response to the adjustment operation in the virtual inventory adjustment component, the adjusted commodity inventory is determined.
[0126] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0127] When the gesture action represents the adjustment of the inventory of the product, the spatial position of the product logo is located, and the preset virtual inventory adjustment component configuration parameters are obtained; the component relative position parameters in the preset virtual inventory adjustment component configuration parameters are extracted, and the component relative position parameters are used to represent the relative position relationship between the virtual inventory adjustment component and the product logo; according to the spatial position of the product logo and the component relative position parameters, the preset virtual inventory adjustment component configuration parameters are updated; and according to the updated preset virtual inventory adjustment component configuration parameters, a virtual inventory adjustment component is generated.
[0128] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0129] Detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component; obtain the commodity inventory adjustment amount according to the movement vector and the quantity corresponding to the preset unit movement vector; and determine the adjusted commodity inventory amount according to the commodity inventory adjustment amount.
[0130] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0131] The voice recognition function is started to collect voice commands; the inventory quantity of the goods is adjusted according to the collected voice commands, and the adjusted inventory quantity of the goods is determined.
[0132] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0133] Obtain product identification based on AR technology;
[0134] Query the inventory of goods according to the product ID and push the inventory of goods;
[0135] In response to a commodity inventory adjustment operation, determine the adjusted commodity inventory;
[0136] The adjusted commodity inventory quantity is associated with the commodity ID and stored.
[0137] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0138] Query the inventory of the product according to the product identification, and obtain the preset inventory display window configuration parameters; generate the inventory display window according to the preset inventory display window configuration parameters; and display the inventory of the product in the inventory display window.
[0139] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0140] Locate the spatial position of the product identification; extract the relative position parameters in the preset inventory display window configuration parameters, the relative position parameters are used to characterize the relative position relationship between the inventory display window and the product identification; update the preset inventory display window configuration parameters according to the spatial position of the product identification and the relative position parameters; generate the inventory display window according to the updated preset inventory display window configuration parameters.
[0141] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0142] The gesture recognition function is started to collect gesture actions; when the gesture action represents the adjustment of the commodity inventory, a virtual inventory adjustment component is generated; in response to the adjustment operation in the virtual inventory adjustment component, the adjusted commodity inventory is determined.
[0143] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0144] When the gesture action represents the adjustment of the inventory of the product, the spatial position of the product logo is located, and the preset virtual inventory adjustment component configuration parameters are obtained; the component relative position parameters in the preset virtual inventory adjustment component configuration parameters are extracted, and the component relative position parameters are used to represent the relative position relationship between the virtual inventory adjustment component and the product logo; according to the spatial position of the product logo and the component relative position parameters, the preset virtual inventory adjustment component configuration parameters are updated; and according to the updated preset virtual inventory adjustment component configuration parameters, a virtual inventory adjustment component is generated.
[0145] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0146] Detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component; obtain the commodity inventory adjustment amount according to the movement vector and the quantity corresponding to the preset unit movement vector; and determine the adjusted commodity inventory amount according to the commodity inventory adjustment amount.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0148] The voice recognition function is started to collect voice commands; the inventory quantity of the goods is adjusted according to the collected voice commands, and the adjusted inventory quantity of the goods is determined.
[0149] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0150] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0151] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method of inventory counting, It is characterized in that The method comprises: Obtain product identification based on AR technology; Query the inventory of the commodity according to the commodity identification, and obtain the preset inventory display window configuration parameters; Locate the spatial position of the product logo; Extracting relative position parameters from the preset inventory display window configuration parameters, wherein the relative position parameters are used to characterize the relative position relationship between the inventory display window and the commodity identification; According to the spatial position of the commodity identification and the relative position parameter, updating the preset inventory display window configuration parameters; Generate an inventory display window according to the updated preset inventory display window configuration parameters; Displaying the inventory quantity of the commodity in the inventory quantity display window; In response to a commodity inventory adjustment operation, determine the adjusted commodity inventory; storing the adjusted commodity inventory in association with the commodity identifier; The step of responding to the commodity inventory adjustment operation and determining the adjusted commodity inventory includes: Start the gesture recognition function and collect gesture actions; When the gesture action represents adjusting the inventory of the product, locating the spatial position of the product logo and obtaining the preset virtual inventory adjustment component configuration parameters; Extracting component relative position parameters from the preset virtual inventory adjustment component configuration parameters, wherein the component relative position parameters are used to characterize the relative position relationship between the virtual inventory adjustment component and the commodity identifier; According to the spatial position of the commodity identification and the relative position parameters of the components, updating the preset virtual inventory adjustment component configuration parameters; Generate a virtual inventory quantity adjustment component according to the updated preset virtual inventory quantity adjustment component configuration parameters; In response to the adjustment operation of the virtual inventory adjustment component, the adjusted commodity inventory is determined.
2. The method according to claim 1, It is characterized in that In response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes: Detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component; Obtaining a commodity inventory adjustment amount according to the movement vector and a quantity corresponding to a preset unit movement vector; The adjusted commodity inventory is determined according to the commodity inventory adjustment amount.
3. The method according to claim 1, It is characterized in that In response to the commodity inventory adjustment operation, determining the adjusted commodity inventory includes: Start the voice recognition function and collect voice commands; The inventory quantity of the product is adjusted according to the collected voice instructions, and the adjusted inventory quantity of the product is determined.
4. The method according to claim 1, It is characterized in that The product identification refers to the unique identity information used to distinguish the product.
5. The method according to claim 1, It is characterized in that The preset inventory display window configuration parameters are used to configure the inventory display window in the virtual interface.
6. An inventory counting device, It is characterized in that The device comprises: A data acquisition module is used to obtain product identifications collected based on AR technology; A query push module is used to query the inventory of the commodity according to the commodity identification, obtain the preset inventory display window configuration parameters; locate the spatial position of the commodity identification; extract the relative position parameters in the preset inventory display window configuration parameters, and the relative position parameters are used to characterize the relative position relationship between the inventory display window and the commodity identification; update the preset inventory display window configuration parameters according to the spatial position of the commodity identification and the relative position parameters; generate an inventory display window according to the updated preset inventory display window configuration parameters; and display the commodity inventory in the inventory display window; A response adjustment module, used to respond to the commodity inventory adjustment operation and determine the adjusted commodity inventory; A storage module, used for storing the adjusted commodity inventory in association with the commodity identifier; The response adjustment module is also used to start the gesture recognition function and collect gesture actions; when the gesture action represents the adjustment of the commodity inventory, locate the spatial position of the commodity logo and obtain the preset virtual inventory adjustment component configuration parameters; extract the component relative position parameters in the preset virtual inventory adjustment component configuration parameters, and the component relative position parameters are used to characterize the relative position relationship between the virtual inventory adjustment component and the commodity logo; update the preset virtual inventory adjustment component configuration parameters according to the spatial position of the commodity logo and the component relative position parameters; generate a virtual inventory adjustment component according to the updated preset virtual inventory adjustment component configuration parameters; and determine the adjusted commodity inventory in response to the adjustment operation on the virtual inventory adjustment component.
7. The device according to claim 6, It is characterized in that The response adjustment module is also used to detect the movement vector of the quantity adjustment slider in the virtual inventory adjustment component; obtain the commodity inventory adjustment amount according to the movement vector and the quantity corresponding to the preset unit movement vector; and determine the adjusted commodity inventory according to the commodity inventory adjustment amount.
8. The device according to claim 6, It is characterized in that The response adjustment module is also used to start the voice recognition function and collect voice instructions; adjust the commodity inventory according to the collected voice instructions and determine the adjusted commodity inventory.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
