WO2020047918A1 - Self-service vending method, apparatus, and system, electronic device, and computer storage medium - Google Patents

Self-service vending method, apparatus, and system, electronic device, and computer storage medium Download PDF

Info

Publication number
WO2020047918A1
WO2020047918A1 PCT/CN2018/108000 CN2018108000W WO2020047918A1 WO 2020047918 A1 WO2020047918 A1 WO 2020047918A1 CN 2018108000 W CN2018108000 W CN 2018108000W WO 2020047918 A1 WO2020047918 A1 WO 2020047918A1
Authority
WO
WIPO (PCT)
Prior art keywords
product
information
image
vending machine
product information
Prior art date
Application number
PCT/CN2018/108000
Other languages
French (fr)
Chinese (zh)
Inventor
黄鼎隆
斯科特·马修·罗伯特
傅恺
李天宇
Original Assignee
深圳码隆科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳码隆科技有限公司 filed Critical 深圳码隆科技有限公司
Publication of WO2020047918A1 publication Critical patent/WO2020047918A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • G07F11/02Coin-freed apparatus for dispensing, or the like, discrete articles from non-movable magazines

Definitions

  • the present application relates to the technical field of self-service sales, and in particular, to an unmanned sales method, device, system, electronic device, and computer storage medium.
  • the existing self-service shopping method is usually implemented by a self-service vending machine. As long as the user selects his favorite item and inputs corresponding coins from the coin port, he can buy the selected item.
  • the items provided by this self-service vending machine are limited, usually only beverages such as Coke and Sprite, and require relatively complicated operations by the user, making the user's shopping inefficient.
  • the purpose of this application includes providing an unmanned vending method, device, system electronic equipment and computer storage medium, which can realize a fast and efficient vending service through the cooperation of a commodity recognition server and an unmanned vending machine. , Greatly improving the user's shopping experience.
  • an embodiment of the present application provides an unmanned sales method, which is applied to a commodity identification server.
  • the method includes:
  • the first product image and the second product image sent by the controller in the unmanned vending machine; the first product image and the second product image are respectively when the unmanned vending machine senses that the door of the cabinet is opened and closed through the infrared sensor. Commodity images in the box collected by the camera device;
  • a pre-shopping list is generated; the pre-shopping list includes: product name, product quantity, product unit price, and total price.
  • the embodiment of the present application provides a first possible implementation manner of the first aspect, further including:
  • the neural network model is trained by training data samples to generate a product recognition model.
  • the embodiment of the present application provides a second possible implementation manner of the first aspect, further including:
  • the verification data samples are input into the product recognition model to verify the accuracy of the product recognition model.
  • the embodiment of the present application provides a third possible implementation manner of the first aspect, in which, according to the first product image, the second product image, and the product recognition model, the box when the cabinet door is opened and closed is identified
  • the first and second product information in the body specifically include:
  • the second product image is input into the product recognition model, and the second output result of the product recognition model is used as the second product information.
  • the embodiment of the present application provides a fourth possible implementation manner of the first aspect, wherein generating a pre-shopping list based on the first product information and the second product information specifically includes:
  • a pre-shopping list is generated based on different product information in the first product information and the second product information.
  • the embodiment of the present application provides a fifth possible implementation manner of the first aspect. After generating the pre-shopping list based on the first product information and the second product information, the method further includes:
  • the embodiment of the present application provides a sixth possible implementation manner of the first aspect. After generating the pre-shopping list based on the first product information and the second product information, the method further includes:
  • the embodiment of the present application provides a seventh possible implementation manner of the first aspect, further including:
  • the embodiment of the present application provides an eighth possible implementation manner of the first aspect, further including:
  • the pre-shopping list is sent to the user's mobile terminal, so that the user can perform the purchase operation only after paying according to the pre-shopping list.
  • the embodiment of the present application provides a ninth possible implementation manner of the first aspect, where the number of camera devices is multiple, and the multiple camera devices are disposed at different positions of the cabinet.
  • the embodiment of the present application provides a tenth possible implementation manner of the first aspect, further including:
  • the sales inquiry request is a request sent by the manager's mobile terminal
  • the sales situation is sent to the manager's mobile terminal for the manager to view.
  • an embodiment of the present application further provides an unmanned sales device, including:
  • An image receiving module configured to receive a first product image and a second product image sent by a controller in the unmanned vending machine; the first product image and the second product image are the unmanned vending machine sensing the cabinet door through an infrared sensor, respectively When opening and closing, the product images in the box collected by the camera device;
  • An image recognition module configured to identify the first product information and the second product information in the cabinet when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model;
  • the list generation module is configured to generate a pre-shopping list based on the first product information and the second product information; the pre-shopping list includes: product name, product quantity, product unit price and total price.
  • an embodiment of the present application further provides an unmanned vending system, including: an unmanned vending machine and a commodity identification server;
  • the unmanned vending device of the second aspect is installed on the commodity identification server;
  • the product identification server communicates with the unmanned vending machine
  • the unmanned vending machine includes: a vending machine body and a controller, a camera device and an infrared sensor installed in the vending machine body; the vending machine body includes a cabinet door and a box body.
  • an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes The computer program implements the method according to any one of the first aspects.
  • an embodiment of the present application further provides a computer storage medium on which a computer program is stored, and when the computer runs the computer program, the steps of the method according to any one of the first aspects are performed.
  • the unmanned vending method provided in the embodiment of the present application is applied to a commodity recognition server, and the method includes: receiving a first commodity image and a second commodity image sent by a controller in the unmanned vending machine; a first commodity image and a second commodity image;
  • the product images are the product images in the box collected by the camera when the unmanned vending machine senses the cabinet door is opened and closed through the infrared sensor; the cabinet is identified based on the first product image, the second product image, and the product recognition model.
  • FIG. 1 is a flowchart of an unmanned sales method provided by Embodiment 1 of this application; FIG.
  • FIG. 2 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application.
  • FIG. 3 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application.
  • Embodiment 5 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application.
  • FIG. 6 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application.
  • FIG. 8 is a schematic diagram of an unmanned sales device provided in Embodiment 2 of the present application.
  • FIG. 9 is a schematic diagram of an unmanned sales system provided in Embodiment 3 of the present application.
  • FIG. 10 is a schematic diagram of an electronic device according to a fourth embodiment of the present application.
  • the existing self-service vending machines provide limited items, usually only beverages such as Coke and Sprite, and require relatively complicated operations by the user, making the user's shopping inefficient.
  • the embodiments of the present application provide an unmanned vending method, device and system, which can realize fast and efficient vending services through the cooperation of a product identification server and an unmanned vending machine, and greatly improve the physical shopping experience of users.
  • An embodiment of the present application provides an unmanned sales method, which is applied to a commodity identification server. As shown in FIG. 1, the method includes the following steps:
  • S11 Receive the first product image and the second product image sent by the controller in the unmanned vending machine.
  • the first commodity image and the second commodity image are respectively the commodity images in the box collected by the camera when the unmanned vending machine senses that the cabinet door is opened and closed through the infrared sensor.
  • the infrared sensor in the unmanned machine can sense that the cabinet door is opened.
  • the controller in the unmanned machine sends a control instruction to the camera device.
  • the camera device is controlled to collect the commodity image inside the cabinet when the cabinet door is opened, that is, the first commodity image.
  • a plurality of camera devices may be provided, and the camera devices may be respectively installed in a plurality of positions in the box, so as to improve the accuracy of subsequent image recognition.
  • the infrared sensor receives a sensing signal and sends a signal to close the cabinet door to the controller.
  • the controller sends a control instruction to the camera device again to control the camera device. Collect the commodity image inside the cabinet when the cabinet door is closed, that is, the second commodity image.
  • S12 Identify the first product information and the second product information in the cabinet when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model.
  • a commodity recognition server stores a commodity recognition model in advance, and the commodity recognition model is obtained by training a neural network model by using commodity data samples.
  • the specific training process is as follows, as shown in FIG. 3, and will not be repeated here.
  • the commodity recognition server After the commodity recognition server obtains the first commodity image and the second commodity image sent by the unmanned vending machine, the first commodity image and the second commodity image are respectively input into the commodity recognition model, thereby obtaining the first commodity image corresponding to the first commodity image.
  • the first product image is input into the product recognition model, and the first output result of the product recognition model is used as the first product information;
  • the second product image is input into the product recognition model, and the second output result of the product recognition model is used as the second product information.
  • S13 Generate a pre-shopping list based on the first product information and the second product information.
  • the pre-shopping list includes: product name, product quantity, product unit price and total price.
  • the specific process of generating a pre-shopping list includes the following steps, as shown in Figure 2:
  • step S23 it is determined that the user has not made a purchase.
  • step S24 is executed: a pre-shopping list is generated according to different product information in the first product information and the second product information.
  • the first product information and the second product information corresponding to when the cabinet door is opened and when the cabinet door is closed are compared to determine whether they are the same. If they are the same, it means that the user has not taken the product, that is, No shopping, if different, it means that the user has removed the product, and the second product information corresponding to the second product image must be less than the first product information corresponding to the first product image.
  • Pre-shopping list is generated from different product information in the two product information.
  • the training process of the product recognition model involved in this method is described in detail below.
  • the trained product recognition model can quickly identify the product image to determine the above-mentioned product information.
  • the specific model training process includes the following steps, see figure 3 shows:
  • the product images include: images of various products from various angles
  • the product information includes: a variety of product information such as the product name and product weight corresponding to the image.
  • the above commodity data samples are divided into training data samples and verification data samples.
  • 70% of the data is used to train the model, and 30% of the data is used to verify the accuracy of the model.
  • This application does not specifically limit the above values, and other values may also be specifically used.
  • the training data samples are input into a neural network model for training, thereby obtaining a product recognition model.
  • S41 Input the verification data sample into the product recognition model to verify the accuracy of the product recognition model.
  • the parameters of the product recognition model are adjusted, and the product recognition model is continuously optimized to improve the accuracy of the product recognition model.
  • S51 Send the pre-shopping list to the controller, so that the controller generates payment information according to the pre-shopping list.
  • the product identification server After generating the pre-shopping list, the product identification server sends the pre-shopping list to the controller in the unmanned vending machine, and further causes the controller to generate payment information according to the pre-shopping list, so that the user makes payment according to the payment information.
  • S52 Receive payment success information generated by the user after the user completes the payment operation according to the payment information.
  • the controller After the user completes the payment according to the payment information, the controller sends the user payment success information to the product identification server, so that the product identification server performs subsequent recording and analysis.
  • the method further includes the following steps, as shown in FIG. 6:
  • S61 Receive user information sent by the controller.
  • the controller Before the user opens the cabinet door, first perform the code scanning operation through the mobile terminal to open the cabinet door of the unmanned vending machine through this operation. During this process, the controller will automatically receive the user's user information, such as the user's mobile phone. Number, which is the above user information. After the user completes the retrieval operation, the user information of the user is sent to the product identification server.
  • S62 Send the pre-shopping list to the user's mobile terminal according to the user information, so that the user makes payment according to the pre-shopping list.
  • the product identification server sends the pre-shopping list to the user's mobile terminal according to the mobile phone number, so that the user completes the payment operation.
  • S63 Receive payment success information sent by the mobile terminal after the user completes the payment.
  • the user After the user completes the payment according to the above pre-shopping list, the user receives the payment success information for subsequent recording and analysis.
  • the pre-shopping list is saved; when the user purchases again, the pre-shopping list is sent to the user's mobile terminal, so that the user can perform the purchase operation only after paying according to the pre-shopping list.
  • the product identification server After the product identification server receives the user's payment success information, it further includes the following steps, as shown in FIG. 7:
  • S71 Record the sales situation information of the unmanned vending machine according to the payment success information.
  • the commodity identification server After receiving the user's payment success information, the commodity identification server records the commodity information in the contract to collect statistics on the sales situation of the unmanned vending machine.
  • S73 Send the replenishment information to the mobile terminal of the manager.
  • the unmanned sales method of this application further includes the following steps:
  • the unmanned vending method provided in the embodiment of the present application is applied to a commodity recognition server, and the method includes: receiving a first commodity image and a second commodity image sent by a controller in the unmanned vending machine; a first commodity image and a second commodity image;
  • the product images are the product images in the box collected by the camera when the unmanned vending machine senses the cabinet door is opened and closed through the infrared sensor; the cabinet is identified based on the first product image, the second product image, and the product recognition model.
  • the embodiment of the present application can realize a fast and efficient sales service through the cooperation of a product identification server and an unmanned vending machine, which greatly improves the shopping experience of users.
  • An embodiment of the present application provides an unmanned sales device. As shown in FIG. 8, the device includes an image receiving module 81, an image recognition module 82, and a list generating module 83.
  • the image receiving module 81 is configured to receive a first commodity image and a second commodity image sent by a controller in the unmanned vending machine; the first commodity image and the second commodity image are respectively sensed by the unmanned vending machine through an infrared sensor.
  • the image recognition module 82 is configured to recognize when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model.
  • the first product information and the second product information in the box; the list generating module 83 is configured to generate a pre-shopping list based on the first product information and the second product information; the pre-shopping list includes: product name, product quantity, product unit price And the total price.
  • the device is further configured to: obtain commodity data samples; divide the commodity data samples into training data samples and verification data samples; train the neural network model through the training data samples to generate a commodity recognition model.
  • the device is further configured to: input a verification data sample into a commodity recognition model to verify the accuracy of the commodity recognition model.
  • the image recognition module is further configured to: input the first product image into the product recognition model, and use the first output result of the product recognition model as the first product information; input the second product image into the product recognition model, and input the product The second output of the recognition model is used as the second product information.
  • the list generation module is further configured to: compare the first product information with the second product information; determine whether the first product information is the same as the second product information; if so, determine that the user has not made a purchase; if not , Based on different product information in the first product information and the second product information, a pre-shopping list is generated.
  • the device is further configured to: send the pre-shopping list to the controller, so that the controller generates payment information according to the pre-shopping list; receiving the payment sent by the controller after the user completes the payment operation according to the payment information is successful information.
  • the device is further configured to: receive user information sent by the controller; send a pre-shopping list to the user's mobile terminal according to the user information, so that the user makes payment according to the pre-shopping list; and move after receiving the user's payment Payment success information sent by the terminal.
  • the device is further configured to: record the sales situation information of the unmanned vending machine according to the payment success information; determine the current inventory situation and the replenishment information according to the sales situation information; and move the replenishment information to the manager Send by terminal.
  • the device is further configured to: if the payment fails, save the pre-shopping list; when the user purchases again, send the pre-shopping list to the user's mobile terminal so that after the user makes payment according to the pre-shopping list, To make this purchase.
  • the number of the imaging devices is multiple, and the multiple imaging devices are disposed at different positions of the cabinet.
  • the device is further configured to: obtain a sales situation query request of the unmanned vending machine within a target time period, the sales situation query request is a request sent by a manager's mobile terminal; and determine the unmanned vending machine based on the sales situation query request Sales in the target time period; send sales to the mobile terminal of the manager for the manager to view.
  • each module has the same technical characteristics as the aforementioned unmanned vending method, and therefore, the above functions can also be implemented.
  • the specific working process of each module in the device refer to the foregoing method embodiments, and details are not described herein again.
  • An embodiment of the present application further provides an unmanned vending system.
  • the system includes an unmanned vending machine 91 and a commodity identification server 92.
  • An unmanned vending device 921 as described in the second embodiment is installed on the commodity recognition server 92; the commodity recognition server 92 is in communication with the unmanned vending machine 91; the unmanned vending machine 91 includes a vending machine body 911 and a vending machine body
  • the vending machine body 911 includes a cabinet door and a cabinet.
  • the above system also includes mobile terminals, such as: smart phones, tablet computers, and so on.
  • mobile terminals such as: smart phones, tablet computers, and so on.
  • each module has the same technical characteristics as the aforementioned unmanned vending method, and therefore, the above functions can also be implemented.
  • the above functions can also be implemented.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the electronic device includes: a processor 100, a memory 101, a bus 102, and a communication interface 103.
  • the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102;
  • the processor 100 is configured to execute an executable module, such as a computer program, stored in the memory 101.
  • an executable module such as a computer program
  • the memory 101 may include high-speed random access memory (RAM, Random Access Memory), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • RAM random access memory
  • non-volatile memory non-volatile memory
  • the communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
  • the bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only a two-way arrow is used in FIG. 10, but it does not mean that there is only one bus or one type of bus.
  • the memory 101 is configured to store a program, and the processor 100 executes the program after receiving the execution instruction.
  • the method executed by the apparatus defined by the flow process disclosed in any one of the foregoing embodiments of the present application may be configured in the processor 100 Or implemented by the processor 100.
  • the processor 100 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 100 or an instruction in the form of software.
  • the above-mentioned processor 100 may be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor) (NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP) ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU central processing unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present application may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like.
  • the storage medium is located in the memory 101, and the processor 100 reads information in the memory 101 and completes the steps of the foregoing method in combination with its hardware.
  • a computer storage medium is further provided, and a computer program is stored thereon, and when the computer runs the computer program, the method of any one of the foregoing method embodiments is executed. step.
  • the computer program product of the unmanned sales method provided in the embodiment of the present application includes a computer-readable storage medium storing a non-volatile program code executable by the processor, and the program code includes instructions configured to execute the foregoing
  • the program code includes instructions configured to execute the foregoing
  • each block in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more components configured to implement a specified logical function.
  • Executable instructions may also occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or action. , Or it can be implemented with a combination of dedicated hardware and computer instructions.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some communication interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they may be stored in a non-volatile computer-readable storage medium executable by a processor.
  • the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
  • the unmanned sales method, device, system, electronic equipment and computer storage medium provided in the embodiments of the present application.
  • the fast and efficient sales service can be realized through the cooperation of the product identification server and the unmanned vending machine, which greatly improves the shopping experience of the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The present application provides a self-service vending method, apparatus, and system, an electronic device, and a computer storage medium. The self-service vending method is applied to a product identification server, and comprises: receiving a first product image and a second product image transmitted by a controller in a self-service vending machine, wherein the first product image and the second product image are respectively images of products in a cabinet acquired via a camera apparatus when the self-service vending machine senses, via an infrared sensor, that a cabinet door has been opened and closed; respectively identifying, according to the first product image, the second product image, and a product identification model, first product information and second product information of products in the cabinet when the cabinet door is open and when closed; and generating a pre-purchase list on the basis of the first product information and the second product information, wherein the pre-purchase list comprises a product name, a product quantity, a product unit price, and a product total price. In the present application, a product identification server cooperates with a self-service vending machine, thereby perfoming vending quickly and efficiently, and greatly improving user shopping experience.

Description

无人售货方法、装置、系统、电子设备及计算机存储介质Unmanned sales method, device, system, electronic equipment and computer storage medium
相关申请的交叉引用Cross-reference to related applications
本申请要求于2018年9月6日提交中国专利局的优先权号为2018110406471、名称为“无人售货方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on September 6, 2018 with the priority number of 2018110406471 and the name "unmanned sales method, device and system", the entire content of which is incorporated herein by reference. Applying.
技术领域Technical field
本申请涉及自助售货技术领域,尤其是涉及一种无人售货方法、装置、系统、电子设备及计算机存储介质。The present application relates to the technical field of self-service sales, and in particular, to an unmanned sales method, device, system, electronic device, and computer storage medium.
背景技术Background technique
随着国家实力的增强以及国民经济的快速发展,人们的购物方式变得越来越多样化,其中,自助购物成为一种越来越流行的购物方式,极大地方便了人们的生活。With the enhancement of national strength and the rapid development of the national economy, people's shopping methods have become more and more diverse. Among them, self-service shopping has become an increasingly popular shopping method, which has greatly facilitated people's lives.
现有的自助购物方式通常是采用自助售货机来实现的,用户只要选中自己心仪的物品,并从钱币口投入相应的钱币,就可以买到所选的物品。但是这种自助售货机提供的物品有限,通常只是可乐、雪碧等饮料类物品,且需要用户进行相对复杂的操作,使得用户购物效率低下。The existing self-service shopping method is usually implemented by a self-service vending machine. As long as the user selects his favorite item and inputs corresponding coins from the coin port, he can buy the selected item. However, the items provided by this self-service vending machine are limited, usually only beverages such as Coke and Sprite, and require relatively complicated operations by the user, making the user's shopping inefficient.
发明内容Summary of the Invention
有鉴于此,本申请的目的包括,提供一种无人售货方法、装置、系统电子设备及计算机存储介质,能够通过商品识别服务器及无人售货机的配合,实现快速、高效的售货服务,大大提高用户的购物体验。In view of this, the purpose of this application includes providing an unmanned vending method, device, system electronic equipment and computer storage medium, which can realize a fast and efficient vending service through the cooperation of a commodity recognition server and an unmanned vending machine. , Greatly improving the user's shopping experience.
第一方面,本申请实施例提供了一种无人售货方法,应用于商品识别服务器,该方法包括:In a first aspect, an embodiment of the present application provides an unmanned sales method, which is applied to a commodity identification server. The method includes:
接收无人售货机中的控制器所发送的第一商品图像和第二商品图像;第一商品图像和第二商品图像分别为无人售货机通过红外传感器感应到柜门打开和关闭时,通过摄像装置所采集的箱体内的商品图像;Receive the first product image and the second product image sent by the controller in the unmanned vending machine; the first product image and the second product image are respectively when the unmanned vending machine senses that the door of the cabinet is opened and closed through the infrared sensor. Commodity images in the box collected by the camera device;
根据第一商品图像、第二商品图像及商品识别模型,识别出柜门打开和关闭时的箱体内的第一商品信息和第二商品信息;Identifying the first product information and the second product information in the cabinet when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model;
基于第一商品信息和第二商品信息,生成预购物清单;预购物清单包括:商品名称、商品数量、商品单价及总价。Based on the first product information and the second product information, a pre-shopping list is generated; the pre-shopping list includes: product name, product quantity, product unit price, and total price.
结合第一方面,本申请实施例提供了第一方面的第一种可能的实施方式,其中,还包括:With reference to the first aspect, the embodiment of the present application provides a first possible implementation manner of the first aspect, further including:
获取商品数据样本;Obtaining product data samples;
将商品数据样本划分为训练数据样本和验证数据样本;Dividing product data samples into training data samples and verification data samples;
通过训练数据样本对神经网络模型进行训练,生成商品识别模型。The neural network model is trained by training data samples to generate a product recognition model.
结合第一方面,本申请实施例提供了第一方面的第二种可能的实施方式,其中,还包括:With reference to the first aspect, the embodiment of the present application provides a second possible implementation manner of the first aspect, further including:
将验证数据样本输入商品识别模型中,对商品识别模型的准确性进行验证。The verification data samples are input into the product recognition model to verify the accuracy of the product recognition model.
结合第一方面,本申请实施例提供了第一方面的第三种可能的实施方式,其中,根据第一商品图像、第二商品图像及商品识别模型,识别出柜门打开和关闭时的箱体内的第一商品信息和第二商品信息,具体包括:With reference to the first aspect, the embodiment of the present application provides a third possible implementation manner of the first aspect, in which, according to the first product image, the second product image, and the product recognition model, the box when the cabinet door is opened and closed is identified The first and second product information in the body specifically include:
将第一商品图像输入商品识别模型中,将商品识别模型的第一输出结果作为第一商品信息;Input the first product image into the product recognition model, and use the first output result of the product recognition model as the first product information;
将第二商品图像输入商品识别模型中,将商品识别模型的第二输出结果作为第二商品信息。The second product image is input into the product recognition model, and the second output result of the product recognition model is used as the second product information.
结合第一方面,本申请实施例提供了第一方面的第四种可能的实施方式,其中,基于第一商品信息和第二商品信息,生成预购物清单,具体包括:With reference to the first aspect, the embodiment of the present application provides a fourth possible implementation manner of the first aspect, wherein generating a pre-shopping list based on the first product information and the second product information specifically includes:
将第一商品信息与第二商品信息进行比对;Comparing the first product information with the second product information;
判断第一商品信息与第二商品信息是否相同;Determine whether the first product information is the same as the second product information;
如果是,则确定用户没有进行购物;If yes, then it is determined that the user has not made a purchase;
如果否,则根据第一商品信息与第二商品信息中不同的商品信息,生成预购物清单。If not, a pre-shopping list is generated based on different product information in the first product information and the second product information.
结合第一方面,本申请实施例提供了第一方面的第五种可能的实施方式,其中,在基于第一商品信息和第二商品信息,生成预购物清单之后,还包括:With reference to the first aspect, the embodiment of the present application provides a fifth possible implementation manner of the first aspect. After generating the pre-shopping list based on the first product information and the second product information, the method further includes:
将预购物清单向控制器发送,以使控制器根据预购物清单生成支付信息;Sending the pre-shopping list to the controller, so that the controller generates payment information according to the pre-shopping list;
接收控制器所发送的用户根据支付信息完成支付操作后所生成的支付成功信息。Receive the payment success information generated by the user after the user completes the payment operation according to the payment information.
结合第一方面,本申请实施例提供了第一方面的第六种可能的实施方式,其中,在基于第一商品信息和第二商品信息,生成预购物清单之后,还包括:With reference to the first aspect, the embodiment of the present application provides a sixth possible implementation manner of the first aspect. After generating the pre-shopping list based on the first product information and the second product information, the method further includes:
接收控制器所发送的用户信息;Receiving user information sent by the controller;
根据用户信息,将预购物清单发送至用户的移动终端,以使用户根据预购物清单进行付款;Send the pre-shopping list to the user's mobile terminal according to the user information, so that the user makes payment according to the pre-shopping list;
接收用户完成付款后移动终端所发送的支付成功信息。Receive the payment success information sent by the mobile terminal after the user completes the payment.
结合第一方面,本申请实施例提供了第一方面的第七种可能的实施方式,其中,还包括:With reference to the first aspect, the embodiment of the present application provides a seventh possible implementation manner of the first aspect, further including:
根据支付成功信息,对无人售货机的销售情况信息进行记录;Record the sales information of the unmanned vending machine based on the payment success information;
根据销售情况信息,确定当前存货情况及补货信息;Determine current inventory status and replenishment information based on sales information;
将补货信息向管理者的移动终端发送。Send the replenishment information to the mobile terminal of the manager.
结合第一方面,本申请实施例提供了第一方面的第八种可能的实施方式,其中,还包括:With reference to the first aspect, the embodiment of the present application provides an eighth possible implementation manner of the first aspect, further including:
如果支付失败,则对预购物清单进行保存;If the payment fails, save the pre-shopping list;
当用户再次购买时,将预购物清单发送至用户的移动终端,以使用户根据预购物清单进行付款后,才能进行本次的购买操作。When the user purchases again, the pre-shopping list is sent to the user's mobile terminal, so that the user can perform the purchase operation only after paying according to the pre-shopping list.
结合第一方面,本申请实施例提供了第一方面的第九种可能的实施方式,其中,摄像装置的数量为多个,且多个摄像装置设置于箱体的不同位置。With reference to the first aspect, the embodiment of the present application provides a ninth possible implementation manner of the first aspect, where the number of camera devices is multiple, and the multiple camera devices are disposed at different positions of the cabinet.
结合第一方面,本申请实施例提供了第一方面的第十种可能的实施方式,其中,还包括:With reference to the first aspect, the embodiment of the present application provides a tenth possible implementation manner of the first aspect, further including:
获取无人售货机在目标时间段内的销售情况查询请求,销售情况查询请求为管理者的移动终端发送的请求;Obtain a sales inquiry request of the unmanned vending machine within the target time period, and the sales inquiry request is a request sent by the manager's mobile terminal;
基于销售情况查询请求确定无人售货机在目标时间段内的销售情况;Based on the sales situation query request to determine the sales situation of the unmanned vending machine within the target time period;
将销售情况发送至管理者的移动终端,以使管理者进行查看。The sales situation is sent to the manager's mobile terminal for the manager to view.
第二方面,本申请实施例还提供了一种无人售货装置,包括:In a second aspect, an embodiment of the present application further provides an unmanned sales device, including:
图像接收模块,配置成接收无人售货机中的控制器所发送的第一商品图像和第二商品图像;第一商品图像和第二商品图像分别为无人售货机通过红外传感器感应到柜门打开和关闭时,通过摄像装置所采集的箱体内的商品图像;An image receiving module configured to receive a first product image and a second product image sent by a controller in the unmanned vending machine; the first product image and the second product image are the unmanned vending machine sensing the cabinet door through an infrared sensor, respectively When opening and closing, the product images in the box collected by the camera device;
图像识别模块,配置成根据第一商品图像、第二商品图像及商品识别模型,识别出柜门打开和关闭时的箱体内的第一商品信息和第二商品信息;An image recognition module configured to identify the first product information and the second product information in the cabinet when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model;
清单生成模块,配置成基于第一商品信息和第二商品信息,生成预购物清单;预购物清单包括:商品名称、商品数量、商品单价及总价。The list generation module is configured to generate a pre-shopping list based on the first product information and the second product information; the pre-shopping list includes: product name, product quantity, product unit price and total price.
第三方面,本申请实施例还提供了一种无人售货系统,包括:无人售货机及商品识别服务器;In a third aspect, an embodiment of the present application further provides an unmanned vending system, including: an unmanned vending machine and a commodity identification server;
商品识别服务器上安装有如第二方面的无人售货装置;The unmanned vending device of the second aspect is installed on the commodity identification server;
商品识别服务器与无人售货机通信连接;The product identification server communicates with the unmanned vending machine;
无人售货机包括:售货机本体及安装于售货机本体中的控制器、摄像装置和红外传感器;售货机本体包括柜门、箱体。The unmanned vending machine includes: a vending machine body and a controller, a camera device and an infrared sensor installed in the vending machine body; the vending machine body includes a cabinet door and a box body.
第四方面,本申请实施例还提供了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述第一方面中任一项所述的方法。According to a fourth aspect, an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes The computer program implements the method according to any one of the first aspects.
第五方面,本申请实施例还提供了一种计算机存储介质,其上存储有计算机程序,所述计算机运行所述计算机程序时执行上述第一方面中任一项所述的方法的步骤。In a fifth aspect, an embodiment of the present application further provides a computer storage medium on which a computer program is stored, and when the computer runs the computer program, the steps of the method according to any one of the first aspects are performed.
本申请实施例带来了以下有益效果:The embodiments of the present application bring the following beneficial effects:
本申请实施例提供的无人售货方法应用于商品识别服务器,该方法包括:接收无人售货机中的控制器所发送的第一商品图像和第二商品图像;第一商品图像和第二商品图像分别为无人售货机通过红外传感器感应到柜门打开和关闭时,通过摄像装置所采集的箱体内的商品图像;根据第一商品图像、第二商品图像及商品识别模型,识别出柜门打开和关闭时的箱体内的第一商品信息和第二商品信息;基于第一商品信息和第二商品信息,生成预购物清单;预购物清单包括:商品名称、商品数量、商品单价及总价。本申请能够通过商品识别服务器及无人售货机的配合,实现快速、高效的售货服务,大大提高用户的购物体验。The unmanned vending method provided in the embodiment of the present application is applied to a commodity recognition server, and the method includes: receiving a first commodity image and a second commodity image sent by a controller in the unmanned vending machine; a first commodity image and a second commodity image; The product images are the product images in the box collected by the camera when the unmanned vending machine senses the cabinet door is opened and closed through the infrared sensor; the cabinet is identified based on the first product image, the second product image, and the product recognition model. The first product information and the second product information in the box when the door is opened and closed; based on the first product information and the second product information, a pre-shopping list is generated; the pre-shopping list includes: product name, product quantity, product unit price and total price. Through the cooperation of the product identification server and the unmanned vending machine, this application can realize a fast and efficient sales service and greatly improve the shopping experience of users.
本申请的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be explained in the following description, and partly become apparent from the description, or be understood by implementing the present application. The objectives and other advantages of the present application are achieved and obtained in the structures particularly pointed out in the description, the claims, and the drawings.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features, and advantages of this application more comprehensible, preferred embodiments are described below in conjunction with the accompanying drawings and described in detail below.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementations of the present application or the technical solutions in the prior art, the drawings used in the specific implementations or prior art descriptions will be briefly introduced below. Obviously, the appended The drawings are some implementations of the present application. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without paying creative labor.
图1为本申请实施例一提供的一种无人售货方法的流程图;FIG. 1 is a flowchart of an unmanned sales method provided by Embodiment 1 of this application; FIG.
图2为本申请实施例一提供的另一种无人售货方法的流程图;FIG. 2 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application; FIG.
图3为本申请实施例一提供的另一种无人售货方法的流程图;FIG. 3 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application; FIG.
图4为本申请实施例一提供的另一种无人售货方法的流程图;4 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application;
图5为本申请实施例一提供的另一种无人售货方法的流程图;5 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application;
图6为本申请实施例一提供的另一种无人售货方法的流程图;FIG. 6 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application; FIG.
图7为本申请实施例一提供的另一种无人售货方法的流程图;7 is a flowchart of another unmanned sales method provided by Embodiment 1 of the present application;
图8为本申请实施例二提供的一种无人售货装置的示意图;8 is a schematic diagram of an unmanned sales device provided in Embodiment 2 of the present application;
图9为本申请实施例三提供的一种无人售货系统的示意图;FIG. 9 is a schematic diagram of an unmanned sales system provided in Embodiment 3 of the present application; FIG.
图10为本申请实施例四提供的一种电子设备的示意图。FIG. 10 is a schematic diagram of an electronic device according to a fourth embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the application, but not all The examples. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
现有的自助售货机提供的物品有限,通常只是可乐、雪碧等饮料类物品,且需要用户进行相对复杂的操作,使得用户购物效率低下。基于此,本申请实施例提供一种无人售货方法、装置及系统,能够通过商品识别服务器及无人售货机的配合,实现快速、高效的售货服务,大大提高用户的体购物验。The existing self-service vending machines provide limited items, usually only beverages such as Coke and Sprite, and require relatively complicated operations by the user, making the user's shopping inefficient. Based on this, the embodiments of the present application provide an unmanned vending method, device and system, which can realize fast and efficient vending services through the cooperation of a product identification server and an unmanned vending machine, and greatly improve the physical shopping experience of users.
为便于对本实施例进行理解,首先对本申请实施例所公开的一种无人售货方法进行详细介绍。In order to facilitate the understanding of this embodiment, a method for selling unmanned goods disclosed in the embodiment of the present application is first introduced in detail.
实施例一:Embodiment one:
本申请实施例提供了一种无人售货方法,该方法应用于商品识别服务器,参见图1所示,该方法包括以下步骤:An embodiment of the present application provides an unmanned sales method, which is applied to a commodity identification server. As shown in FIG. 1, the method includes the following steps:
S11:接收无人售货机中的控制器所发送的第一商品图像和第二商品图像。S11: Receive the first product image and the second product image sent by the controller in the unmanned vending machine.
其中,第一商品图像和第二商品图像分别为无人售货机通过红外传感器感应到柜门打开和关闭时,通过摄像装置所采集的箱体内的商品图像。The first commodity image and the second commodity image are respectively the commodity images in the box collected by the camera when the unmanned vending machine senses that the cabinet door is opened and closed through the infrared sensor.
具体实现时,当用户打开无人售货机的柜门时,无人售货机中的红外传感器可以感应到柜门被打开,这时,无人售货机中的控制器向摄像装置发送控制指令,以控制摄像装置采集柜门打开时箱体内的商品图像,即第一商品图像。本申请实施例中,摄像装置可以设置多个,分别安装于箱体内的多个位置,以便提高后续对图像识别的准确性。同样,当用户从箱体中取出物品,将柜门关闭时,红外传感器接收到感应信号,并将柜门关闭的信号发送给控制器,控制器向摄像装置再次发送控制指令,以控制摄像装置采集柜门关闭时箱体内的商品图像,即第二商品图像。In specific implementation, when the user opens the cabinet door of the unmanned vending machine, the infrared sensor in the unmanned machine can sense that the cabinet door is opened. At this time, the controller in the unmanned machine sends a control instruction to the camera device. The camera device is controlled to collect the commodity image inside the cabinet when the cabinet door is opened, that is, the first commodity image. In the embodiment of the present application, a plurality of camera devices may be provided, and the camera devices may be respectively installed in a plurality of positions in the box, so as to improve the accuracy of subsequent image recognition. Similarly, when a user removes an item from the cabinet and closes the cabinet door, the infrared sensor receives a sensing signal and sends a signal to close the cabinet door to the controller. The controller sends a control instruction to the camera device again to control the camera device. Collect the commodity image inside the cabinet when the cabinet door is closed, that is, the second commodity image.
S12:根据第一商品图像、第二商品图像及商品识别模型,识别出柜门打开和关闭时的箱体内的第一商品信息和第二商品信息。S12: Identify the first product information and the second product information in the cabinet when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model.
商品识别服务器中预先存储有商品识别模型,该商品识别模型通过商品数据样本对神经网络模型进行训练得到,具体的训练过程如下述,参见图3所示,在此不再赘述。A commodity recognition server stores a commodity recognition model in advance, and the commodity recognition model is obtained by training a neural network model by using commodity data samples. The specific training process is as follows, as shown in FIG. 3, and will not be repeated here.
在商品识别服务器获取到无人售货机所发送的第一商品图像和第二商品图像后,将第一商品图像和第二商品图像分别输入商品识别模型中,从而得到第一商品图像对应的第一商品信息,以及第二商品图像对应的第二商品信息。After the commodity recognition server obtains the first commodity image and the second commodity image sent by the unmanned vending machine, the first commodity image and the second commodity image are respectively input into the commodity recognition model, thereby obtaining the first commodity image corresponding to the first commodity image. A piece of product information, and a piece of second product information corresponding to the second product image.
在实际应用的优选方式中,将第一商品图像输入商品识别模型中,将商品识别模型的第一输出结果作为第一商品信息;In a preferred way of practical application, the first product image is input into the product recognition model, and the first output result of the product recognition model is used as the first product information;
将第二商品图像输入商品识别模型中,将商品识别模型的第二输出结果作为第二商品信息。The second product image is input into the product recognition model, and the second output result of the product recognition model is used as the second product information.
S13:基于第一商品信息和第二商品信息,生成预购物清单。S13: Generate a pre-shopping list based on the first product information and the second product information.
其中,预购物清单包括:商品名称、商品数量、商品单价及总价。具体的生成预购物清单的过程具体包括以下步骤,参见图2所示:The pre-shopping list includes: product name, product quantity, product unit price and total price. The specific process of generating a pre-shopping list includes the following steps, as shown in Figure 2:
S21:将第一商品信息与第二商品信息进行比对。S21: Compare the first product information with the second product information.
S22:判断第一商品信息与第二商品信息是否相同。S22: Determine whether the first product information is the same as the second product information.
如果是,则执行步骤S23:确定用户没有进行购物。If yes, step S23 is performed: it is determined that the user has not made a purchase.
如果否,则执行步骤S24:根据第一商品信息与第二商品信息中不同的商品信息,生成预购物清单。If not, step S24 is executed: a pre-shopping list is generated according to different product information in the first product information and the second product information.
本申请实施例中,将柜门打开时和柜门关闭时对应的第一商品信息和第二商品信息进行比对,判断二者是否相同,如果相同,则表明用户没有取走商品,也就是没有进行购物,如果不同,则表明用户取走了商品,并且第二商品图像所对应的第二商品信息一定会比第一商品图像对应的第一商品信息少,进一步根据第一商品信息和第二商品信息中不同的商品信息生成预购物清单。In the embodiment of the present application, the first product information and the second product information corresponding to when the cabinet door is opened and when the cabinet door is closed are compared to determine whether they are the same. If they are the same, it means that the user has not taken the product, that is, No shopping, if different, it means that the user has removed the product, and the second product information corresponding to the second product image must be less than the first product information corresponding to the first product image. Pre-shopping list is generated from different product information in the two product information.
下面对该方法中涉及的商品识别模型的训练过程进行详细阐述,通过训练好的商品识别模型可以对商品图像进行快速识别,以确定上述商品信息,具体的模型训练过程包括以下步骤,参见图3所示:The training process of the product recognition model involved in this method is described in detail below. The trained product recognition model can quickly identify the product image to determine the above-mentioned product information. The specific model training process includes the following steps, see figure 3 shows:
S31:获取商品数据样本。S31: Acquire a product data sample.
首先获取大量的商品图像及商品信息作为商品数据样本,商品图像包括:各种角度的各种商品的图像,商品信息包括:图像所对应的商品名称、商品重量等多种商品信息。First, a large number of product images and product information are obtained as product data samples. The product images include: images of various products from various angles, and the product information includes: a variety of product information such as the product name and product weight corresponding to the image.
S32:将商品数据样本划分为训练数据样本和验证数据样本。S32: Divide the product data samples into training data samples and verification data samples.
进一步,将上述商品数据样本分为训练数据样本和验证数据样本,优选地,70%的数据用来训练模型,30%的数据用来进行模型准确性的验证。本申请对上述数值不进行具体限制,具体还可以采用其它数值。Further, the above commodity data samples are divided into training data samples and verification data samples. Preferably, 70% of the data is used to train the model, and 30% of the data is used to verify the accuracy of the model. This application does not specifically limit the above values, and other values may also be specifically used.
S33:通过训练数据样本对神经网络模型进行训练,生成商品识别模型。S33: Train the neural network model through training data samples to generate a product recognition model.
在将商品数据样本分为训练数据样本和验证数据样本之后,将训练数据样本输入神经网络模型中进行训练,从而得到商品识别模型。After the product data samples are divided into training data samples and verification data samples, the training data samples are input into a neural network model for training, thereby obtaining a product recognition model.
在训练好商品识别模型之后,还包括以下步骤,参见图4所示:After training the product recognition model, the following steps are also included, as shown in Figure 4:
S41:将验证数据样本输入商品识别模型中,对商品识别模型的准确性进行验证。S41: Input the verification data sample into the product recognition model to verify the accuracy of the product recognition model.
当验证结果不够理想时,对商品识别模型的参数进行调整,不断对商品识别模型进行优化,提高商品识别模型的准确性。When the verification result is not ideal, the parameters of the product recognition model are adjusted, and the product recognition model is continuously optimized to improve the accuracy of the product recognition model.
在上述基于第一商品信息和第二商品信息,生成预购物清单之后,还包括以下步骤,参见图5所示:After generating the pre-shopping list based on the first product information and the second product information, the following steps are further included, as shown in FIG. 5:
S51:将预购物清单向控制器发送,以使控制器根据预购物清单生成支付信息。S51: Send the pre-shopping list to the controller, so that the controller generates payment information according to the pre-shopping list.
在生成预购物清单后,商品识别服务器将该预购物清单发送给无人售货机中的控制器,进一步使控制器根据预购物清单生成支付信息,以使用户根据该支付信息进行支付。After generating the pre-shopping list, the product identification server sends the pre-shopping list to the controller in the unmanned vending machine, and further causes the controller to generate payment information according to the pre-shopping list, so that the user makes payment according to the payment information.
S52:接收控制器所发送的用户根据支付信息完成支付操作后所生成的支付成功信息。S52: Receive payment success information generated by the user after the user completes the payment operation according to the payment information.
在用户根据上述支付信息完成付款后,控制器将用户支付成功信息发送给商品识别服务器,以使商品识别服务器进行后续的记录和分析。After the user completes the payment according to the payment information, the controller sends the user payment success information to the product identification server, so that the product identification server performs subsequent recording and analysis.
或者,在另一种实施方式中,在上述基于第一商品信息和第二商品信息,生成预购物清单之后,还包括以下步骤,参见图6所示:Or, in another implementation manner, after generating the pre-shopping list based on the first product information and the second product information, the method further includes the following steps, as shown in FIG. 6:
S61:接收控制器所发送的用户信息。S61: Receive user information sent by the controller.
在用户打开柜门前,首先通过移动终端进行扫码操作,以通过此操作使无人售货机的柜门打开,在此过程中,控制器会自动接收到用户的用户信息,比如用户的手机号,即上述用户信息。在用户完成取物操作后,将该用户的用户信息发送给商品识别服务器。Before the user opens the cabinet door, first perform the code scanning operation through the mobile terminal to open the cabinet door of the unmanned vending machine through this operation. During this process, the controller will automatically receive the user's user information, such as the user's mobile phone. Number, which is the above user information. After the user completes the retrieval operation, the user information of the user is sent to the product identification server.
S62:根据用户信息,将预购物清单发送至用户的移动终端,以使用户根据预购物清单进行付款。S62: Send the pre-shopping list to the user's mobile terminal according to the user information, so that the user makes payment according to the pre-shopping list.
进一步,商品识别服务器根据上述手机号,将预购物清单发送给用户的移动终端,从而使用户完成支付操作。Further, the product identification server sends the pre-shopping list to the user's mobile terminal according to the mobile phone number, so that the user completes the payment operation.
S63:接收用户完成付款后移动终端所发送的支付成功信息。S63: Receive payment success information sent by the mobile terminal after the user completes the payment.
在用户根据上述预购物清单完成付款后,接收用户支付成功信息,以进行后续的记录和分析。After the user completes the payment according to the above pre-shopping list, the user receives the payment success information for subsequent recording and analysis.
另外,如果支付失败,则对预购物清单进行保存;当用户再次购买时,将预购物清单发送至用户的移动终端,以使用户根据预购物清单进行付款后,才能进行本次的购买操作。In addition, if the payment fails, the pre-shopping list is saved; when the user purchases again, the pre-shopping list is sent to the user's mobile terminal, so that the user can perform the purchase operation only after paying according to the pre-shopping list.
在商品识别服务器接收到用户的支付成功信息后,还包括以下步骤,参见图7所示:After the product identification server receives the user's payment success information, it further includes the following steps, as shown in FIG. 7:
S71:根据支付成功信息,对无人售货机的销售情况信息进行记录。S71: Record the sales situation information of the unmanned vending machine according to the payment success information.
商品识别服务器在接收到用户的支付成功信息后,对该成交单中的商品信息进行记录,以对无人售货机的销售情况信息进行统计。After receiving the user's payment success information, the commodity identification server records the commodity information in the contract to collect statistics on the sales situation of the unmanned vending machine.
S72:根据销售情况信息,确定当前存货情况及补货信息。S72: Determine the current inventory situation and replenishment information based on the sales situation information.
进一步,通过上述销售情况信息和历史库存信息,可以知道当前的商品剩余量,及确定该无人售货机需要补充的商品名称及数量,即上述存货情况和补货信息。Further, through the above-mentioned sales situation information and historical inventory information, it is possible to know the current amount of goods remaining, and determine the name and quantity of goods that the unmanned vending machine needs to replenish, that is, the above-mentioned stock situation and replenishment information.
S73:将补货信息向管理者的移动终端发送。S73: Send the replenishment information to the mobile terminal of the manager.
在确定无人售货机的补货信息后,将其发送给管理者的移动终端,以使管理人员进行及时的补货操作,进而满足用户的购物需求。After determining the replenishment information of the unmanned vending machine, it is sent to the mobile terminal of the manager, so that the manager can perform the replenishment operation in a timely manner, thereby satisfying the user's shopping needs.
本申请的无人售货方法还包括以下步骤:The unmanned sales method of this application further includes the following steps:
(1)获取无人售货机在目标时间段内的销售情况查询请求,销售情况查询请求为管理者的移动终端发送的请求;(1) Obtaining the sales query request of the unmanned vending machine within the target time period, and the sales query request is a request sent by the manager's mobile terminal;
(2)基于销售情况查询请求确定无人售货机在目标时间段内的销售情况;(2) Determine the sales situation of the unmanned vending machine within the target time period based on the sales situation inquiry request;
(3)将销售情况发送至管理者的移动终端,以使管理者进行查看。(3) The sales situation is sent to the mobile terminal of the manager so that the manager can view it.
本申请实施例提供的无人售货方法应用于商品识别服务器,该方法包括:接收无人售货机中的控制器所发送的第一商品图像和第二商品图像;第一商品图像和第二商品图像分别为无人售货机通过红外传感器感应到柜门打开和关闭时,通过摄像装置所采集的箱体内的商品图像;根据第一商品图像、第二商品图像及商品识别模型,识别出柜门打开和关闭时的箱体内的第一商品信息和第二商品信息;基于第一商品信息和第二商品信息,生成预购物清单;预购物清单包括:商品名称、商品数量、商品单价及总价。本申请实施例能够通过商品识别服务器及无人售货机的配合,实现快速、高效的售货服务,大大提高用户的购物体验。The unmanned vending method provided in the embodiment of the present application is applied to a commodity recognition server, and the method includes: receiving a first commodity image and a second commodity image sent by a controller in the unmanned vending machine; a first commodity image and a second commodity image; The product images are the product images in the box collected by the camera when the unmanned vending machine senses the cabinet door is opened and closed through the infrared sensor; the cabinet is identified based on the first product image, the second product image, and the product recognition model. The first product information and the second product information in the box when the door is opened and closed; based on the first product information and the second product information, a pre-shopping list is generated; the pre-shopping list includes: product name, product quantity, product unit price and total price. The embodiment of the present application can realize a fast and efficient sales service through the cooperation of a product identification server and an unmanned vending machine, which greatly improves the shopping experience of users.
实施例二:Embodiment two:
本申请实施例提供一种无人售货装置,参见图8所示,该装置包括:图像接收模块81、图像识别模块82、清单生成模块83。An embodiment of the present application provides an unmanned sales device. As shown in FIG. 8, the device includes an image receiving module 81, an image recognition module 82, and a list generating module 83.
其中,图像接收模块81,配置成接收无人售货机中的控制器所发送的第一商品图像和第二商品图像;第一商品图像和第二商品图像分别为无人售货机通过红外传感器感应到柜 门打开和关闭时,通过摄像装置所采集的箱体内的商品图像;图像识别模块82,配置成根据第一商品图像、第二商品图像及商品识别模型,识别出柜门打开和关闭时的箱体内的第一商品信息和第二商品信息;清单生成模块83,配置成基于第一商品信息和第二商品信息,生成预购物清单;预购物清单包括:商品名称、商品数量、商品单价及总价。The image receiving module 81 is configured to receive a first commodity image and a second commodity image sent by a controller in the unmanned vending machine; the first commodity image and the second commodity image are respectively sensed by the unmanned vending machine through an infrared sensor. When the cabinet door is opened and closed, the product image in the box is collected by the camera device; the image recognition module 82 is configured to recognize when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model. The first product information and the second product information in the box; the list generating module 83 is configured to generate a pre-shopping list based on the first product information and the second product information; the pre-shopping list includes: product name, product quantity, product unit price And the total price.
可选地,该装置还配置成:获取商品数据样本;将商品数据样本划分为训练数据样本和验证数据样本;通过训练数据样本对神经网络模型进行训练,生成商品识别模型。Optionally, the device is further configured to: obtain commodity data samples; divide the commodity data samples into training data samples and verification data samples; train the neural network model through the training data samples to generate a commodity recognition model.
可选地,该装置还配置成:将验证数据样本输入商品识别模型中,对商品识别模型的准确性进行验证。Optionally, the device is further configured to: input a verification data sample into a commodity recognition model to verify the accuracy of the commodity recognition model.
可选地,图像识别模块还配置成:将第一商品图像输入商品识别模型中,将商品识别模型的第一输出结果作为第一商品信息;将第二商品图像输入商品识别模型中,将商品识别模型的第二输出结果作为第二商品信息。Optionally, the image recognition module is further configured to: input the first product image into the product recognition model, and use the first output result of the product recognition model as the first product information; input the second product image into the product recognition model, and input the product The second output of the recognition model is used as the second product information.
可选地,清单生成模块还配置成:将第一商品信息与第二商品信息进行比对;判断第一商品信息与第二商品信息是否相同;如果是,则判断用户没有进行购物;如果否,则根据第一商品信息与第二商品信息中不同的商品信息,生成预购物清单。Optionally, the list generation module is further configured to: compare the first product information with the second product information; determine whether the first product information is the same as the second product information; if so, determine that the user has not made a purchase; if not , Based on different product information in the first product information and the second product information, a pre-shopping list is generated.
可选地,该装置还配置成:将预购物清单向控制器发送,以使控制器根据预购物清单生成支付信息;接收控制器所发送的用户根据支付信息完成支付操作后所生成的支付成功信息。Optionally, the device is further configured to: send the pre-shopping list to the controller, so that the controller generates payment information according to the pre-shopping list; receiving the payment sent by the controller after the user completes the payment operation according to the payment information is successful information.
可选地,该装置还配置成:接收控制器所发送的用户信息;根据用户信息,将预购物清单发送至用户的移动终端,以使用户根据预购物清单进行付款;接收用户完成付款后移动终端所发送的支付成功信息。Optionally, the device is further configured to: receive user information sent by the controller; send a pre-shopping list to the user's mobile terminal according to the user information, so that the user makes payment according to the pre-shopping list; and move after receiving the user's payment Payment success information sent by the terminal.
可选地,该装置还配置成:根据支付成功信息,对无人售货机的销售情况信息进行记录;根据销售情况信息,确定当前存货情况及补货信息;将补货信息向管理者的移动终端发送。Optionally, the device is further configured to: record the sales situation information of the unmanned vending machine according to the payment success information; determine the current inventory situation and the replenishment information according to the sales situation information; and move the replenishment information to the manager Send by terminal.
可选地,该装置还配置成:如果支付失败,则对预购物清单进行保存;当用户再次购买时,将预购物清单发送至用户的移动终端,以使用户根据预购物清单进行付款后,才能进行本次的购买操作。Optionally, the device is further configured to: if the payment fails, save the pre-shopping list; when the user purchases again, send the pre-shopping list to the user's mobile terminal so that after the user makes payment according to the pre-shopping list, To make this purchase.
可选地,摄像装置的数量为多个,且多个摄像装置设置于箱体的不同位置。Optionally, the number of the imaging devices is multiple, and the multiple imaging devices are disposed at different positions of the cabinet.
可选地,该装置还配置成:获取无人售货机在目标时间段内的销售情况查询请求,销售情况查询请求为管理者的移动终端发送的请求;基于销售情况查询请求确定无人售货机在目标时间段内的销售情况;将销售情况发送至管理者的移动终端,以使管理者进行查看。Optionally, the device is further configured to: obtain a sales situation query request of the unmanned vending machine within a target time period, the sales situation query request is a request sent by a manager's mobile terminal; and determine the unmanned vending machine based on the sales situation query request Sales in the target time period; send sales to the mobile terminal of the manager for the manager to view.
本申请实施例所提供的无人售货装置中,各个模块与前述无人售货方法具有相同的技术特征,因此,同样可以实现上述功能。本装置中各个模块的具体工作过程参见上述方法实施例,在此不再赘述。In the unmanned vending device provided by the embodiment of the present application, each module has the same technical characteristics as the aforementioned unmanned vending method, and therefore, the above functions can also be implemented. For the specific working process of each module in the device, refer to the foregoing method embodiments, and details are not described herein again.
实施例三:Embodiment three:
本申请实施例还提供一种无人售货系统,参见图9所示,该系统包括:无人售货机91及商品识别服务器92。商品识别服务器92上安装有如实施例二所述的无人售货装置921;商品识别服务器92与无人售货机91通信连接;无人售货机91包括:售货机本体911及安装于售货机本体911中的控制器912、摄像装置913和红外传感器914;售货机本体911包括柜门、箱体。An embodiment of the present application further provides an unmanned vending system. As shown in FIG. 9, the system includes an unmanned vending machine 91 and a commodity identification server 92. An unmanned vending device 921 as described in the second embodiment is installed on the commodity recognition server 92; the commodity recognition server 92 is in communication with the unmanned vending machine 91; the unmanned vending machine 91 includes a vending machine body 911 and a vending machine body The controller 912, the camera 913, and the infrared sensor 914 in the 911; the vending machine body 911 includes a cabinet door and a cabinet.
此外,上述系统中还包括移动终端,比如:智能手机、平板电脑等。In addition, the above system also includes mobile terminals, such as: smart phones, tablet computers, and so on.
本申请实施例所提供的无人售货系统中,各个模块与前述无人售货方法具有相同的技术特征,因此,同样可以实现上述功能。本系统中各个模块的具体工作过程参见上述方法实施例,在此不再赘述。In the unmanned vending system provided by the embodiment of the present application, each module has the same technical characteristics as the aforementioned unmanned vending method, and therefore, the above functions can also be implemented. For specific working processes of each module in this system, refer to the foregoing method embodiments, and details are not described herein again.
实施例四:Embodiment 4:
本申请实施例提供了一种电子设备,参考图10,该电子设备包括:处理器100,存储器101,总线102和通信接口103,处理器100、通信接口103和存储器101通过总线102连接;处理器100配置成执行存储器101中存储的可执行模块,例如计算机程序。处理器执行极端及程序时实现如方法实施例中描述的方法的步骤。An embodiment of the present application provides an electronic device. Referring to FIG. 10, the electronic device includes: a processor 100, a memory 101, a bus 102, and a communication interface 103. The processor 100, the communication interface 103, and the memory 101 are connected through the bus 102; The processor 100 is configured to execute an executable module, such as a computer program, stored in the memory 101. When the processor executes the program, the steps of the method as described in the method embodiment are implemented.
其中,存储器101可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口103(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。The memory 101 may include high-speed random access memory (RAM, Random Access Memory), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
总线102可以是ISA总线、PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only a two-way arrow is used in FIG. 10, but it does not mean that there is only one bus or one type of bus.
其中,存储器101配置成存储程序,处理器100在接收到执行指令后,执行程序,前述本申请实施例任一实施例揭示的流过程定义的装置所执行的方法可以应配置成处理器100中,或者由处理器100实现。The memory 101 is configured to store a program, and the processor 100 executes the program after receiving the execution instruction. The method executed by the apparatus defined by the flow process disclosed in any one of the foregoing embodiments of the present application may be configured in the processor 100 Or implemented by the processor 100.
处理器100可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方 法的各步骤可以通过处理器100中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器100可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现成可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器101,处理器100读取存储器101中的信息,结合其硬件完成上述方法的步骤。The processor 100 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 100 or an instruction in the form of software. The above-mentioned processor 100 may be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor) (NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP) ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present application may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like. The storage medium is located in the memory 101, and the processor 100 reads information in the memory 101 and completes the steps of the foregoing method in combination with its hardware.
在本申请的另一个实施例中,还提供了一种计算机存储介质,其上存储有计算机程序,所述计算机运行所述计算机程序时执行上述方法实施例一中任一项所述的方法的步骤。In another embodiment of the present application, a computer storage medium is further provided, and a computer program is stored thereon, and when the computer runs the computer program, the method of any one of the foregoing method embodiments is executed. step.
本申请实施例所提供的无人售货方法的计算机程序产品,包括存储了处理器可执行的非易失的程序代码的计算机可读存储介质,所述程序代码包括的指令可配置成执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The computer program product of the unmanned sales method provided in the embodiment of the present application includes a computer-readable storage medium storing a non-volatile program code executable by the processor, and the program code includes instructions configured to execute the foregoing For specific implementation of the method described in the method embodiment, refer to the method embodiment, and details are not described herein again.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置及电子设备的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the devices and electronic devices described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.
附图中的流程图和框图显示了根据本申请的多个实施例方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个配置成实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more components configured to implement a specified logical function. Executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or action. , Or it can be implemented with a combination of dedicated hardware and computer instructions.
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、 以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅配置成描述目的,而不能理解为指示或暗示相对重要性。In the description of this application, it should be noted that the terms "center", "upper", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing this application and simplified description, and does not indicate or imply that the device or element referred to must have a specific orientation, a specific orientation Construction and operation are therefore not to be construed as limitations on the present application. In addition, the terms "first", "second", and "third" are only configured for descriptive purposes, and should not be construed to indicate or imply relative importance.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some communication interfaces, devices or units, which may be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present application, and are used to describe the technical solutions of the present application, but not to limit them. The scope of protection of the present application is not limited to this. The embodiments describe this application in detail. Those of ordinary skill in the art should understand that anyone skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in this application. Or you can easily think of changes, or equivalent replacements of some of the technical features; and these modifications, changes, or replacements do not deviate the essence of the corresponding technical solution from the spirit and scope of the technical solutions of the embodiments of the present application, which should be covered in this application Within the scope of protection. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
工业实用性Industrial applicability
本申请实施例提供的无人售货方法、装置、系统、电子设备及计算机存储介质。通过应用本申请的技术方案,能够通过商品识别服务器及无人售货机的配合,实现快速、高效的售 货服务,大大提高用户的购物体验。The unmanned sales method, device, system, electronic equipment and computer storage medium provided in the embodiments of the present application. By applying the technical solution of the present application, the fast and efficient sales service can be realized through the cooperation of the product identification server and the unmanned vending machine, which greatly improves the shopping experience of the user.

Claims (15)

  1. 一种无人售货方法,其特征在于,应用于商品识别服务器,所述方法包括:An unmanned sales method is characterized in that it is applied to a commodity identification server, and the method includes:
    接收无人售货机中的控制器所发送的第一商品图像和第二商品图像;所述第一商品图像和所述第二商品图像分别为无人售货机通过红外传感器感应到柜门打开和关闭时,通过摄像装置所采集的箱体内的商品图像;Receive the first product image and the second product image sent by the controller in the unmanned vending machine; the first product image and the second product image are the unmanned vending machine sensing the door opening and When closed, the image of the goods in the box collected by the camera;
    根据所述第一商品图像、所述第二商品图像及商品识别模型,识别出柜门打开和关闭时的所述箱体内的第一商品信息和第二商品信息;Identifying the first product information and the second product information in the cabinet when the cabinet door is opened and closed according to the first product image, the second product image, and the product recognition model;
    基于所述第一商品信息和所述第二商品信息,生成预购物清单;所述预购物清单包括:商品名称、商品数量、商品单价及总价。Based on the first product information and the second product information, a pre-shopping list is generated; the pre-shopping list includes: a product name, a quantity of the product, a unit price of the product, and a total price.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    获取商品数据样本;Obtaining product data samples;
    将所述商品数据样本划分为训练数据样本和验证数据样本;Dividing the product data samples into training data samples and verification data samples;
    通过所述训练数据样本对神经网络模型进行训练,生成所述商品识别模型。A neural network model is trained by using the training data samples to generate the product recognition model.
  3. 根据权利要求2所述的方法,其特征在于,还包括:The method according to claim 2, further comprising:
    将所述验证数据样本输入所述商品识别模型中,对所述商品识别模型的准确性进行验证。The verification data sample is input into the commodity recognition model to verify the accuracy of the commodity recognition model.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述根据所述第一商品图像、所述第二商品图像及商品识别模型,识别出柜门打开和关闭时的所述箱体内的第一商品信息和第二商品信息,具体包括:The method according to any one of claims 1 to 3, wherein, according to the first product image, the second product image, and a product recognition model, all the doors are identified when the cabinet door is opened and closed. The first product information and the second product information in the box specifically include:
    将所述第一商品图像输入所述商品识别模型中,将所述商品识别模型的第一输出结果作为所述第一商品信息;Inputting the first product image into the product recognition model, and using the first output result of the product recognition model as the first product information;
    将所述第二商品图像输入所述商品识别模型中,将所述商品识别模型的第二输出结果作为所述第二商品信息。Inputting the second product image into the product recognition model, and using the second output result of the product recognition model as the second product information.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述基于所述第一商品信息和所述第二商品信息,生成预购物清单,具体包括:The method according to any one of claims 1 to 4, wherein the generating a pre-shopping list based on the first product information and the second product information specifically includes:
    将所述第一商品信息与所述第二商品信息进行比对;Comparing the first commodity information with the second commodity information;
    判断所述第一商品信息与所述第二商品信息是否相同;Determining whether the first product information is the same as the second product information;
    如果是,则确定用户没有进行购物;If yes, then it is determined that the user has not made a purchase;
    如果否,则根据所述第一商品信息与所述第二商品信息中不同的商品信息,生成所述预购物清单。If not, the pre-shopping list is generated based on different product information in the first product information and the second product information.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,在所述基于所述第一商品信息和所述第二商品信息,生成预购物清单之后,还包括:The method according to any one of claims 1 to 5, after the generating a pre-shopping list based on the first product information and the second product information, further comprising:
    将所述预购物清单向所述控制器发送,以使所述控制器根据所述预购物清单生成支付信息;Sending the pre-shopping list to the controller, so that the controller generates payment information according to the pre-shopping list;
    接收所述控制器所发送的用户根据所述支付信息完成支付操作后所生成的支付成功信息。Receiving payment success information generated by the controller after the user completes a payment operation according to the payment information.
  7. 根据权利要求1至5中任一项所述的方法,其特征在于,在所述基于所述第一商品信息和所述第二商品信息,生成预购物清单之后,还包括:The method according to any one of claims 1 to 5, after the generating a pre-shopping list based on the first product information and the second product information, further comprising:
    接收所述控制器所发送的用户信息;Receiving user information sent by the controller;
    根据所述用户信息,将所述预购物清单发送至所述用户的移动终端,以使所述用户根据所述预购物清单进行付款;Sending the pre-shopping list to the mobile terminal of the user according to the user information, so that the user makes payment according to the pre-shopping list;
    接收用户完成付款后所述移动终端所发送的支付成功信息。Receive payment success information sent by the mobile terminal after the user completes the payment.
  8. 根据权利要求6或7所述的方法,其特征在于,还包括:The method according to claim 6 or 7, further comprising:
    根据所述支付成功信息,对所述无人售货机的销售情况信息进行记录;Record the sales situation information of the unmanned vending machine according to the payment success information;
    根据所述销售情况信息,确定当前存货情况及补货信息;Determine the current inventory situation and replenishment information according to the sales situation information;
    将所述补货信息向管理者的移动终端发送。Sending the replenishment information to the mobile terminal of the manager.
  9. 根据权利要求6或7所述的方法,其特征在于,还包括:The method according to claim 6 or 7, further comprising:
    如果支付失败,则对所述预购物清单进行保存;If the payment fails, saving the pre-shopping list;
    当用户再次购买时,将所述预购物清单发送至所述用户的移动终端,以使所述用户根据所述预购物清单进行付款后,才能进行本次的购买操作。When the user purchases again, the pre-shopping list is sent to the user's mobile terminal, so that the user can perform the purchase operation only after making payment according to the pre-shopping list.
  10. 根据权利要求1所述的方法,其特征在于,所述摄像装置的数量为多个,且多个所述摄像装置设置于所述箱体的不同位置。The method according to claim 1, wherein the number of the imaging devices is plural, and the plural imaging devices are disposed at different positions of the box.
  11. 根据权利要求1至9中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 9, further comprising:
    获取所述无人售货机在目标时间段内的销售情况查询请求,所述销售情况查询请求为管理者的移动终端发送的请求;Obtaining a sales status query request of the unmanned vending machine within a target time period, where the sales status query request is a request sent by a manager's mobile terminal;
    基于所述销售情况查询请求确定所述无人售货机在目标时间段内的销售情况;Determining a sales situation of the unmanned vending machine within a target time period based on the sales situation query request;
    将所述销售情况发送至所述管理者的移动终端,以使所述管理者进行查看。And sending the sales situation to the mobile terminal of the manager, so that the manager can check.
  12. 一种无人售货装置,其特征在于,包括:An unmanned vending device, comprising:
    图像接收模块,配置成接收无人售货机中的控制器所发送的第一商品图像和第二商品图像;所述第一商品图像和所述第二商品图像分别为无人售货机通过红外传感器感应到柜门打开和关闭时,通过摄像装置所采集的箱体内的商品图像;An image receiving module configured to receive a first commodity image and a second commodity image sent by a controller in the unmanned vending machine; the first commodity image and the second commodity image are respectively an unmanned vending machine and an infrared sensor; When the cabinet door is sensed to open and close, the image of the product in the box collected by the camera device;
    图像识别模块,配置成根据所述第一商品图像、所述第二商品图像及商品识别模型,识别出柜门打开和关闭时的所述箱体内的第一商品信息和第二商品信息;An image recognition module configured to identify first product information and second product information in the cabinet when a cabinet door is opened and closed according to the first product image, the second product image, and a product recognition model;
    清单生成模块,配置成基于所述第一商品信息和所述第二商品信息,生成预购物清单;所述预购物清单包括:商品名称、商品数量、商品单价及总价。The list generation module is configured to generate a pre-shopping list based on the first product information and the second product information; the pre-shopping list includes: a product name, a quantity of the product, a unit price of the product, and a total price.
  13. 一种无人售货系统,其特征在于,包括:无人售货机及商品识别服务器;An unmanned vending system, comprising: an unmanned vending machine and a commodity identification server;
    所述商品识别服务器上安装有如权利要求9所述的无人售货装置;The unmanned sales device according to claim 9 is installed on the commodity identification server;
    所述商品识别服务器与所述无人售货机通信连接;The commodity identification server is communicatively connected with the unmanned vending machine;
    所述无人售货机包括:售货机本体及安装于所述售货机本体中的控制器、摄像装置和红外传感器;所述售货机本体包括柜门、箱体。The unmanned vending machine includes a vending machine body and a controller, a camera device, and an infrared sensor installed in the vending machine body; the vending machine body includes a cabinet door and a box body.
  14. 一种电子设备,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述权利要求1至11中任一项所述的方法。An electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and is characterized in that the processor implements the foregoing when the computer program is executed. The method according to any one of claims 1 to 11.
  15. 一种计算机存储介质,其特征在于,其上存储有计算机程序,所述计算机运行所述计算机程序时执行上述权利要求1至11中任一项所述的方法的步骤。A computer storage medium, characterized in that a computer program is stored thereon, and the computer executes the steps of the method according to any one of claims 1 to 11 when the computer runs the computer program.
PCT/CN2018/108000 2018-09-06 2018-09-27 Self-service vending method, apparatus, and system, electronic device, and computer storage medium WO2020047918A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811040647.1 2018-09-06
CN201811040647.1A CN109190706A (en) 2018-09-06 2018-09-06 Self-service method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2020047918A1 true WO2020047918A1 (en) 2020-03-12

Family

ID=64915095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108000 WO2020047918A1 (en) 2018-09-06 2018-09-27 Self-service vending method, apparatus, and system, electronic device, and computer storage medium

Country Status (2)

Country Link
CN (1) CN109190706A (en)
WO (1) WO2020047918A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113554019A (en) * 2021-08-13 2021-10-26 珠海格力电器股份有限公司 Image report generation method, electronic device, server, and readable storage medium
CN116402545A (en) * 2023-06-05 2023-07-07 湖南云数信息科技有限公司 Data analysis processing method and unmanned retail terminal

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109903485A (en) * 2019-02-18 2019-06-18 上海中卡智能卡有限公司 A kind of management method in unmanned shop and unmanned shop
CN109977826B (en) * 2019-03-15 2021-11-02 百度在线网络技术(北京)有限公司 Object class identification method and device
CN111340009A (en) * 2020-05-15 2020-06-26 支付宝(杭州)信息技术有限公司 Identification method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971457A (en) * 2017-03-07 2017-07-21 深圳市楼通宝实业有限公司 Self-service vending method and system
CN107833361A (en) * 2017-09-28 2018-03-23 中南大学 A kind of method that automatic vending machine based on image recognition falls Cargo Inspection survey
CN108053204A (en) * 2017-12-20 2018-05-18 杭州几禾科技有限公司 Automatic settlement method and sell equipment
CN207624039U (en) * 2017-12-25 2018-07-17 东莞弘驰智能技术有限公司 A kind of vending system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106781014B (en) * 2017-01-24 2018-05-18 广州市蚁道互联网有限公司 Automatic vending machine and its operation method
CN107730725A (en) * 2017-10-11 2018-02-23 胡启凡 Intelligent self-service vending system
CN107944859A (en) * 2017-11-15 2018-04-20 深圳码隆科技有限公司 A kind of self-service method and apparatus based on image recognition technology
CN107862515A (en) * 2017-12-25 2018-03-30 东莞弘驰智能技术有限公司 A kind of good selling method and system
CN108229946A (en) * 2018-02-08 2018-06-29 中山简单点网络技术有限公司 A kind of method of unmanned marketing balance system and system identification commodity
CN108198052A (en) * 2018-03-02 2018-06-22 北京京东尚科信息技术有限公司 User's free choice of goods recognition methods, device and intelligent commodity shelf system
CN108492457A (en) * 2018-03-12 2018-09-04 远瞳(上海)智能技术有限公司 Automatic vending device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971457A (en) * 2017-03-07 2017-07-21 深圳市楼通宝实业有限公司 Self-service vending method and system
CN107833361A (en) * 2017-09-28 2018-03-23 中南大学 A kind of method that automatic vending machine based on image recognition falls Cargo Inspection survey
CN108053204A (en) * 2017-12-20 2018-05-18 杭州几禾科技有限公司 Automatic settlement method and sell equipment
CN207624039U (en) * 2017-12-25 2018-07-17 东莞弘驰智能技术有限公司 A kind of vending system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113554019A (en) * 2021-08-13 2021-10-26 珠海格力电器股份有限公司 Image report generation method, electronic device, server, and readable storage medium
CN116402545A (en) * 2023-06-05 2023-07-07 湖南云数信息科技有限公司 Data analysis processing method and unmanned retail terminal
CN116402545B (en) * 2023-06-05 2023-08-15 湖南云数信息科技有限公司 Data analysis processing method and unmanned retail terminal

Also Published As

Publication number Publication date
CN109190706A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
WO2020047918A1 (en) Self-service vending method, apparatus, and system, electronic device, and computer storage medium
WO2020047919A1 (en) Self-service vending method, apparatus and system, and server and computer-readable storage medium
US10404720B2 (en) Method and system for identifying a human or machine
TWI730524B (en) Identity authentication method, device and system
WO2019095884A1 (en) Image recognition technology-based self-service vending method, apparatus, electronic device and computer storage medium
TWI690871B (en) Method and device for realizing offline transaction
CN107146325A (en) Automatic vending machine and its control method, control device and system
CN106781014A (en) Automatic vending machine and its operation method
US20210117652A1 (en) Method and System for Customizing User Experience
CN107609058A (en) A kind of marketing method, robot customer side, artificial customer side and user terminal
CN108346050A (en) A kind of method, apparatus creating user account and unmanned shop
JP6821009B2 (en) Accounting methods, equipment and systems
CN108198315A (en) A kind of auth method and authentication means
CN108256442A (en) Financial account information is extracted in the improved digital picture from card
JP2020527750A (en) Low-cost instruments and methods for distributed remote collection of valuable electronics
JP7264401B2 (en) Accounting methods, devices and systems
WO2018137136A1 (en) Vending machine and operation method thereof
CN107392614B (en) Method and device for realizing offline transaction
KR102334095B1 (en) Payment method and payment system using user terminal
US20190378088A1 (en) System and method of individualized merchandising in an automatic retail device
CN111222870A (en) Settlement method, device and system
CN108765144A (en) Processing method, terminal device and the medium of e-sourcing packet
WO2016171923A1 (en) Method and system for identifying a human or machine
CN111080307B (en) Intelligent transaction and social method and system based on quantum AI remote sensing vision
Hsu et al. New generation artificial intelligent vending machine system based on LoRaWan IOT network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18932555

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18932555

Country of ref document: EP

Kind code of ref document: A1