WO2020244297A1 - Method for processing beverage orders implemented on basis of iot device, and order controller - Google Patents
Method for processing beverage orders implemented on basis of iot device, and order controller Download PDFInfo
- Publication number
- WO2020244297A1 WO2020244297A1 PCT/CN2020/082520 CN2020082520W WO2020244297A1 WO 2020244297 A1 WO2020244297 A1 WO 2020244297A1 CN 2020082520 W CN2020082520 W CN 2020082520W WO 2020244297 A1 WO2020244297 A1 WO 2020244297A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- beverage
- information
- production
- order
- controller
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F13/00—Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs
- G07F13/06—Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs with selective dispensing of different fluids or materials or mixtures thereof
- G07F13/065—Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs with selective dispensing of different fluids or materials or mixtures thereof for drink preparation
Definitions
- Fig. 1 shows a flowchart of a beverage order processing method based on an IoT device according to an embodiment of the present disclosure
- Fig. 2 shows a flowchart of a beverage order processing method based on an IoT device according to another embodiment of the present disclosure. Similar to the embodiment corresponding to FIG. 1, this embodiment is executed by the order controller, and, on the basis of FIG. 1, the IoT device in the solution of this embodiment further includes a storage cabinet and a gateway. As shown in Figure 2, the method includes:
- the order controller after receiving the order processing request, extracts label information from the beverage order information, where the label information includes information reflecting the difference between orders, so that the user Confirm whether the beverage is extracted incorrectly.
- the label information includes order number information, beverage name information, personalized demand information, and/or user-side information; obtain the label printing task according to the label information; then, send the label printing task to The device controller is used for the device controller to generate label printing commands according to the label printing task and control the printer to print out beverage labels for beverage labeling processing.
- Fig. 3 shows a flowchart of a method for parallel processing of beverage orders in a specific embodiment of the present disclosure. As shown in Figure 3, the method includes:
- step S301 when it is satisfied that the delivery device is available, it is determined whether there is a pending beverage order task; if so, step S302 is executed; if not, the method ends.
- the first part of the processing process After extracting the pending beverage order task, the first part of the processing process needs to be executed for the pending beverage order task.
- the first part of the processing process includes cup drop processing, drink cup conveying processing, and beverage main ingredient preparation processing; and, wherein, the beverage main ingredient obtained by the beverage main ingredient preparation process is loaded by the robot arm.
- Cup processing the process of making the main drink material is completely unaffected by the results of the cup dropping process and/or the drink cup conveying process, that is, the process of making the main drink material can be completely independent.
- the beverage main ingredient production process can be executed in parallel with the drop process and the drink cup conveying process, that is, the overlap in processing time is allowed.
- the parallel is for the parallel task of the same drink order to improve the processing efficiency of the same order.
- the specific parallel process is the following steps S303 and S304.
- step S304 in the process of executing step S303, a command for obtaining black tea is sent to the beverage machine, and the beverage machine can be controlled to complete the processing of obtaining the black tea.
- step S305 when the sensor signal corresponding to the preset position is detected, that is, when there is a beverage order task after the first part of the processing is completed, step S305 can be executed, and step S305 can be performed, and the beverage cup at the preset position can be transferred after the robotic arm has transferred Steps S301 to S304 can be executed only when the device is available.
- FIG. 4 shows the beverage order processing based on the IoT device in a specific embodiment. Schematic diagram of the method flow. As shown in Figure 4, 1.
- Scan order The client initiates an order processing request to the background business system by scanning the order code, for example, using the local life application to scan the order QR code to initiate a request to the local life application background business system 2.
- the program 610 may be further configured to cause the processor 602 to perform the following operations: send the beverage storage cabinet information to the gateway, so that the gateway forwards the beverage storage cabinet information to the device controller; and/ Or, send the beverage storage cabinet information to the gateway for the gateway to forward the beverage storage cabinet information to the storage cabinet; wherein, the gateway updates the occupancy data of the storage cabinet according to the beverage storage cabinet information; judges whether the storage cabinet is available according to the occupancy data If it is within the usable threshold value, an early warning of container shortage will be carried out.
Landscapes
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Apparatus For Making Beverages (AREA)
Abstract
A method for processing beverage orders that is implemented on the basis of an IoT device, and an order controller; the method comprises: receiving an order processing request that is initiated by a user end and that carries beverage order information, and parsing the beverage order information to obtain at least one fabrication task (S101); sending the at least one fabrication task to a device controller such that the device controller generates at least one fabrication command according to the at least one fabrication task and controls a corresponding beverage fabrication device to make a beverage (S102).
Description
相关申请的交叉参考Cross reference of related applications
本申请要求于2019年6月4日提交中国专利局、申请号为201910483560X、名称为“基于IoT设备实现的饮品订单处理方法及订单控制器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, application number 201910483560X, titled "Beverage order processing method and order controller based on IoT devices" on June 4, 2019, the entire content of which is by reference Incorporated in this application.
本公开涉及物联网技术领域,具体涉及一种基于IoT设备实现的饮品订单处理方法及订单控制器。The present disclosure relates to the technical field of the Internet of Things, and in particular to a beverage order processing method and an order controller based on an IoT device.
近年来,随着人工智能技术的发展,越来越多的行业也逐渐尝试利用智能设备代替传统人工去执行相应的操作,以达到节省人力投入、实现自动化的目的,例如,利用机器人代替传统人工进行操作。与此同时,由于饮品制作的步骤以及所需的物料通常较为固定,机器人等智能设备可以较好地进行制作控制,随之出现了利用机器人进行饮品自动化制作的门店。在申请公布号为CN108903645A的中国专利申请中,通过机器人依次完成从落杯器上取下杯子,将杯子放到全自动饮品机上并操作饮品机制作饮品,以及将盛有饮品的杯子放入转盘的操作,以实现饮品的自动化制作。In recent years, with the development of artificial intelligence technology, more and more industries have gradually tried to use smart devices to replace traditional manual operations to perform corresponding operations in order to save labor input and achieve automation. For example, using robots instead of traditional labor To proceed. At the same time, because the steps of beverage production and the required materials are usually relatively fixed, smart devices such as robots can better control the production, and subsequently, stores that use robots for automated beverage production have appeared. In the Chinese patent application with application publication number CN108903645A, the robot is used to remove the cups from the cup dropper, put the cups on the automatic beverage machine and operate the beverage machine to make drinks, and put the cups with the drinks on the turntable. Operation to realize the automated production of drinks.
然而,现有的饮品自动化制作门店中,仅仅是以机器人替代传统人工来实现制作过程的无人工参与,而需要机器人参与至制作过程的各个环节中,包括取杯、操作饮品机等,使得制作过程严重依赖于机器人的运行。However, in the existing automated beverage production stores, robots are only used to replace traditional labor to realize the production process without human participation, and robots are required to participate in all aspects of the production process, including taking cups, operating beverage machines, etc. The process is heavily dependent on the operation of the robot.
发明内容Summary of the invention
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的基于IoT设备实现的饮品订单处理方法及订单控制器。In view of the above problems, the present disclosure is proposed in order to provide a beverage order processing method and order controller based on IoT devices that overcome the above problems or at least partially solve the above problems.
根据本公开的一个方面,提供了一种基于IoT设备实现的饮品订单处理方法,该方法包括:接收用户端发起的携带饮品订单信息的订单处理请求,对饮品订单信息进行拆解处理,得到至少一个制作任务;将至少一个制作任务发送给设备控制器,以供设备控制器根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。According to one aspect of the present disclosure, there is provided a beverage order processing method based on an IoT device. The method includes: receiving an order processing request carrying beverage order information initiated by a user terminal, and disassembling the beverage order information to obtain at least A production task; at least one production task is sent to the device controller, so that the device controller generates at least one production command according to the at least one production task and controls the corresponding beverage production device to perform beverage production processing.
根据本公开的另一方面,提供了一种基于IoT设备实现的饮品订单处理方法,该方法包括:接收订单控制器发送的至少一个制作任务,其中,至少一个制作任务通过对饮品订单信息进行拆解处理得到;根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。According to another aspect of the present disclosure, there is provided a beverage order processing method based on an IoT device. The method includes: receiving at least one production task sent by an order controller, wherein the at least one production task disassembles the beverage order information. Solution processing is obtained; at least one production command is generated according to at least one production task and the corresponding beverage production device is controlled to perform beverage production processing.
根据本公开的一个方面,提供了一种订单控制器,包括:接收模块,适于接收用户端发起的携带饮品订单信息的订单处理请求;拆解模块,适于对饮品订单信息进行拆解处理,得到至少一个制作任务;发送模块,适于将至少一个制作任务发送给设备控制器,以供设备控制器根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。According to one aspect of the present disclosure, there is provided an order controller, which includes: a receiving module adapted to receive an order processing request initiated by a user terminal carrying beverage order information; and a disassembly module adapted to disassemble the beverage order information , Obtain at least one production task; the sending module is adapted to send at least one production task to the device controller, so that the device controller generates at least one production command according to the at least one production task and controls the corresponding beverage production device to perform beverage production processing.
根据本公开的另一方面,提供了一种设备控制器,包括:接收模块,适于接收订单控 制器发送的至少一个制作任务,其中,至少一个制作任务通过对饮品订单信息进行拆解处理得到;控制模块,适于根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。According to another aspect of the present disclosure, there is provided a device controller including: a receiving module adapted to receive at least one production task sent by the order controller, wherein the at least one production task is obtained by disassembling beverage order information The control module is adapted to generate at least one production command according to at least one production task and control the corresponding beverage production equipment to perform beverage production processing.
根据本公开的又一个方面,提供了一种基于IoT设备实现的饮品订单处理系统,该系统包括:用户端,饮品制作设备,上述任一项所述的订单控制器,以及上述任一项所述的设备控制器。According to another aspect of the present disclosure, there is provided a beverage order processing system based on an IoT device. The system includes: a user terminal, a beverage making device, the order controller described in any one of the foregoing, and any of the foregoing The described device controller.
根据本公开的再一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;According to another aspect of the present disclosure, there is provided a computing device, including: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus;
存储器用于存放至少一可执行指令,可执行指令使所述处理器执行上述基于IoT设备实现的饮品订单处理方法对应的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the beverage order processing method based on the IoT device.
根据本公开的还一方面,提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质中存储有至少一可执行指令,可执行指令使处理器执行如上述基于IoT设备实现的饮品订单处理方法对应的操作。According to another aspect of the present disclosure, there is provided a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, and the executable instruction causes a processor to execute as described above Operation corresponding to the beverage order processing method based on IoT devices.
根据本公开的再又一方面,提供了一种计算机程序产品,该计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序。According to still another aspect of the present disclosure, a computer program product is provided, and the computer program product includes a computer program stored on a non-volatile computer storage medium.
根据本公开的基于IoT设备实现的饮品订单处理方法及订单控制器,在接收到订单处理请求后,将饮品订单信息进行拆解处理得到至少一个制作任务,以实现任务拆解;通过订单控制器与设备控制器之间的通信,进行至少一个制作任务的传输,使设备控制器可据此控制饮品制作设备完成饮品制作。由此可见,在本公开的方案中,饮品数据可在用户端、执行本公开方案的订单控制器、设备控制器以及饮品制作设备之间进行传输,实现从接单到饮品制作完成的全自动处理;以及,饮品制作设备可由设备控制器通过指令控制运行,而无需人工或其它智能机器辅助操作;并且,通过订单控制器和设备控制器该两级控制管理,可对饮品订单和制作设备分别进行有序的管理,进而有利于提高饮品订单自动化处理过程的稳定性。According to the beverage order processing method and order controller based on the IoT device of the present disclosure, after receiving the order processing request, the beverage order information is disassembled to obtain at least one production task, so as to realize the task disassembly; The communication with the equipment controller is used to transmit at least one production task, so that the equipment controller can control the beverage production equipment to complete beverage production accordingly. It can be seen that in the solution of the present disclosure, the beverage data can be transmitted between the user terminal, the order controller, the device controller and the beverage production equipment that execute the solution of the disclosure, so as to realize the fully automatic process from order acceptance to completion of beverage production. Processing; and, the beverage production equipment can be controlled by the equipment controller through instructions, without manual or other intelligent machine auxiliary operations; and through the two-level control management of the order controller and the equipment controller, the beverage order and the production equipment can be separately controlled. Orderly management will help improve the stability of the automated processing of beverage orders.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure. In order to understand the technical means of the present disclosure more clearly, they can be implemented in accordance with the content of the specification, and in order to make the above and other objectives, features and advantages of the present disclosure more obvious and understandable In the following, specific embodiments of the present disclosure are specifically cited.
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only used for the purpose of illustrating the preferred embodiments, and are not considered as a limitation to the present disclosure. Also, throughout the drawings, the same reference symbols are used to denote the same components. In the attached picture:
图1示出了根据本公开一个实施例的基于IoT设备实现的饮品订单处理方法的流程图;Fig. 1 shows a flowchart of a beverage order processing method based on an IoT device according to an embodiment of the present disclosure;
图2示出了根据本公开另一个实施例的基于IoT设备实现的饮品订单处理方法的流程图;Fig. 2 shows a flowchart of a method for processing a beverage order based on an IoT device according to another embodiment of the present disclosure;
图3示出了本公开一个具体实施例中饮品订单并行处理方法的流程图;Figure 3 shows a flowchart of a method for parallel processing of beverage orders in a specific embodiment of the present disclosure;
图4示出了一个具体实施例中基于IoT设备实现的饮品订单处理方法的流程示意图;FIG. 4 shows a schematic flowchart of a beverage order processing method based on an IoT device in a specific embodiment;
图5示出了根据本公开一个实施例的订单控制器的的功能框图;Figure 5 shows a functional block diagram of an order controller according to an embodiment of the present disclosure;
图6示出了根据本公开一个实施例的一种计算设备的结构示意图;Fig. 6 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure;
图7示出了根据本公开另一实施例的一种计算设备的结构示意图。Fig. 7 shows a schematic structural diagram of a computing device according to another embodiment of the present disclosure.
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
图1示出了根据本公开一个实施例的基于IoT设备实现的饮品订单处理方法的流程图。本实施例由订单控制器执行,其中,IoT设备包括用户端、订单控制器、设备控制器以及饮品制作设备。如图1所示,该方法包括:Fig. 1 shows a flowchart of a beverage order processing method based on an IoT device according to an embodiment of the present disclosure. This embodiment is executed by an order controller, where the IoT device includes a user terminal, an order controller, a device controller, and a beverage making device. As shown in Figure 1, the method includes:
步骤S101:接收用户端发起的携带饮品订单信息的订单处理请求,对饮品订单信息进行拆解处理,得到至少一个制作任务。Step S101: Receive an order processing request carrying beverage order information initiated by a user terminal, disassemble the beverage order information, and obtain at least one production task.
其中,饮品订单信息包括但不限于饮品基本信息、个性化需求信息、用户信息和/或渠道信息。其中,个性化需求信息包括用户对饮品的特殊需求,例如温度需求。Among them, the beverage order information includes, but is not limited to, basic beverage information, personalized demand information, user information, and/or channel information. Among them, the personalized demand information includes the user's special demand for drinks, such as temperature demand.
具体地,通过用户端进行下单,用户端向订单控制器发起订单处理请求;订单控制器根据饮品订单信息可以确定用户下单饮品的制作工艺,并通过拆解处理可以得到至少一个制作任务,例如,用户下单中杯少糖多奶的咖啡,则可以确定饮品的关键词为中杯、咖啡、少糖、多奶,基于此,则可得到制作该咖啡订单的多个制作任务,如落入中杯咖啡杯任务、添加少量糖任务等。Specifically, an order is placed through the user terminal, and the user terminal initiates an order processing request to the order controller; the order controller can determine the production process of the beverage ordered by the user according to the beverage order information, and at least one production task can be obtained through disassembly processing, For example, if a user places an order for a medium cup of coffee with less sugar and more milk, you can determine that the keywords of the drink are medium cup, coffee, less sugar, and more milk. Based on this, you can get multiple production tasks for making the coffee order, such as Fall into the task of the medium cup coffee cup, the task of adding a small amount of sugar, etc.
步骤S102:将至少一个制作任务发送给设备控制器,以供设备控制器根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。Step S102: Send at least one production task to the device controller, so that the device controller generates at least one production command according to the at least one production task and controls the corresponding beverage production device to perform beverage production processing.
其中,当饮品的制作工艺不同时,其涉及的饮品制作设备也不相同。在本公开中,不限定饮品制作设备的种类和数量,具体实施时,可根据实际的制作需求进行设置。可选地,可仅设置一个或多个饮品机和机械臂,其中,饮品机用户饮品主料的制作,饮品主料是指饮品的液体组成;或者,可进一步设置加料机,以进行饮品配料的配比,和/或其它后续处理设备,例如封杯机、贴标设备等。Among them, when the beverage production process is different, the beverage production equipment involved is also different. In the present disclosure, the type and quantity of beverage production equipment are not limited, and can be set according to actual production requirements during specific implementation. Optionally, only one or more beverage machines and mechanical arms may be provided, where the beverage machine user’s beverage main ingredient is made, and the beverage main material refers to the liquid composition of the drink; or, a dosing machine may be further provided to perform beverage ingredients And/or other subsequent processing equipment, such as cup sealing machine, labeling equipment, etc.
其中,设备控制器用于接收订单控制器派发的制作任务并控制饮品制作设备进行制作任务的处理。Among them, the equipment controller is used to receive the production task dispatched by the order controller and control the beverage production equipment to process the production task.
具体地,将至少一个制作任务发送给设备控制器;针对每个制作任务,设备控制器生成对应的制作命令,并控制相应的饮品制作设备完成该制作任务的处理。饮品制作设备在接收到订单处理命令后,进行饮品制作处理,以制作出下单饮品。Specifically, at least one production task is sent to the equipment controller; for each production task, the equipment controller generates a corresponding production command, and controls the corresponding beverage production equipment to complete the processing of the production task. After receiving the order processing command, the beverage production equipment performs beverage production processing to produce the ordered beverage.
需要在此说明的是,本公开中的订单控制器可以对门店接收到的饮品订单进行统一管理,包括上文中涉及的对单个饮品订单进行拆解处理,以将饮品订单拆解为多个制作任务供制作设备进行制作;除此之外,订单控制器还可以对多个饮品订单进行排单,以便高效完成多个饮品订单的处理,本公开不限定订单控制器管理订单的具体形式。It should be noted here that the order controller in the present disclosure can uniformly manage the beverage orders received by the store, including the disassembly processing of a single beverage order mentioned above, so as to disassemble the beverage order into multiple productions. Tasks are produced by the production equipment; in addition, the order controller can also arrange multiple beverage orders to efficiently complete the processing of multiple beverage orders. The present disclosure does not limit the specific form of the order controller to manage orders.
根据本实施例提供的基于IoT设备实现的饮品订单处理方法,在接收到订单处理请求后,将饮品订单信息进行拆解处理得到至少一个制作任务,以实现任务拆解;通过订单控制器与设备控制器之间的通信,进行至少一个制作任务的传输,使设备控制器可据此控制饮品制作设备完成饮品制作。由此可见,本实施例方案,饮品数据可在用户端、执行本实施例方案的订单控制器、设备控制器以及饮品制作设备之间进行传输,实现从接单到饮品制作完成的全自动处理;以及,饮品制作设备可由设备控制器通过指令控制运行,而无需人工或其它智能机器辅助操作;并且,通过订单控制器和设备控制器该两级控制管理,可对饮品订单和制作设备分别进行有序的管理,进而有利于提高饮品订单自动化处理过程的稳定性。According to the beverage order processing method based on the IoT device provided in this embodiment, after receiving the order processing request, the beverage order information is disassembled to obtain at least one production task, so as to realize the task disassembly; through the order controller and the device The communication between the controllers transmits at least one production task, so that the equipment controller can control the beverage production equipment to complete the beverage production accordingly. It can be seen that in the solution of this embodiment, the beverage data can be transmitted between the user terminal, the order controller, the device controller and the beverage production equipment that execute the solution of this embodiment, so as to realize the fully automatic processing from order acceptance to completion of beverage production. ; And, the beverage production equipment can be controlled by the equipment controller through instructions, without manual or other intelligent machine auxiliary operations; and, through the two-level control management of the order controller and the equipment controller, the beverage order and the production equipment can be separately performed Orderly management will help improve the stability of the automated processing of beverage orders.
图2示出了根据本公开另一个实施例的基于IoT设备实现的饮品订单处理方法的流程 图。与图1对应的实施例相同,本实施例由订单控制器执行,以及,在图1的基础上,本实施例方案中的IoT设备还包括储藏柜以及网关。如图2所示,该方法包括:Fig. 2 shows a flowchart of a beverage order processing method based on an IoT device according to another embodiment of the present disclosure. Similar to the embodiment corresponding to FIG. 1, this embodiment is executed by the order controller, and, on the basis of FIG. 1, the IoT device in the solution of this embodiment further includes a storage cabinet and a gateway. As shown in Figure 2, the method includes:
步骤S201:接收用户端发起的携带饮品订单信息的订单处理请求,分配饮品储藏柜信息;将饮品储藏柜信息发送给储藏柜,以供储藏柜获取饮品储藏柜信息以用于响应用户操作开关柜门。Step S201: Receive the order processing request carrying the beverage order information initiated by the client, and allocate the beverage storage cabinet information; send the beverage storage cabinet information to the storage cabinet for the storage cabinet to obtain the beverage storage cabinet information in response to the user operating the switch cabinet door.
其中,饮品储藏柜信息包括订单信息和用于储藏该订单对应的饮品的柜格信息。例如,储藏柜信息为订单a对应的饮品储藏于柜格1中。Wherein, the beverage storage cabinet information includes order information and cabinet information for storing beverages corresponding to the order. For example, the storage cabinet information is that the beverage corresponding to order a is stored in the cabinet 1.
具体地,在接收到用户端的订单处理请求后,为订单处理请求对应的饮品分配储藏柜信息,以便于根据该饮品储藏柜信息对制作完成的饮品自动进行入柜处理。其中,可根据储藏柜中各个柜格的编号依次分配,或者,可根据储藏柜的占用数据进行分配,该占用数据可以由订单控制器或储藏柜根据对应历史订单分配的饮品储藏柜信息以及用户端的取货请求进行更新得到。在本实施例中,将储藏柜作为一个IoT设备,相应地,主要以由储藏柜更新占用数据的情况进行说明,但是本公开并不以此为限。Specifically, after receiving the order processing request from the user side, the storage cabinet information is allocated to the beverage corresponding to the order processing request, so that the finished beverage can be automatically processed into the cabinet according to the beverage storage cabinet information. Among them, it can be allocated in sequence according to the number of each cabinet in the storage cabinet, or can be allocated according to the occupancy data of the storage cabinet. The occupancy data can be allocated by the order controller or the storage cabinet according to the beverage storage cabinet information and the user allocated by the corresponding historical order. The pickup request of the terminal is updated. In this embodiment, the storage cabinet is used as an IoT device, and accordingly, the description is mainly based on the case where the storage cabinet updates the occupancy data, but the present disclosure is not limited to this.
进一步地,在每次分配完饮品储藏柜信息后,将该饮品储藏柜信息发送给储藏柜,储藏柜可据此饮品储藏柜信息预留相应的柜格以及确定该柜格对应存放的饮品订单,进一步可以对其自身的占用数据进行更新。在得到更新的占用数据后,储藏柜可将该更新的占用数据发送给订单控制器以用于后续订单的饮品储藏柜信息的分配。并且,将饮品储藏柜信息发送给储藏柜后,可使储藏柜实现更多的独立功能,包括在用户操作提取饮品后,及时更新占用数据,以及,在用户操作提取饮品时,根据储藏柜信息开关柜门,而无需依赖于其与订单控制器的网络通信来实现这些功能,这种方式中,订单控制器与储藏柜之间仅需进行饮品储藏柜信息以及占用数据的传输,避免因IoT设备之间的网络通信故障导致用户无法正常取出饮品,以及在取出饮品后,无法及时进行占用数据的更新,使得占用数据更新以及提取饮品等功能的实现更为稳定高效,Further, after the information of the beverage storage cabinet is allocated each time, the beverage storage cabinet information is sent to the storage cabinet, and the storage cabinet can reserve the corresponding cabinet based on the beverage storage cabinet information and determine the beverage order corresponding to the cabinet. , And can further update its own occupancy data. After obtaining the updated occupancy data, the storage cabinet may send the updated occupancy data to the order controller for the allocation of beverage storage cabinet information for subsequent orders. In addition, after the beverage storage cabinet information is sent to the storage cabinet, the storage cabinet can realize more independent functions, including timely update of the occupancy data after the user operates to extract the beverage, and when the user operates to extract the beverage, according to the storage cabinet information Switch the cabinet door without relying on the network communication with the order controller to realize these functions. In this way, only the beverage storage cabinet information and occupancy data need to be transmitted between the order controller and the storage cabinet, avoiding IoT The network communication failure between the devices causes the user to be unable to take out the drink normally, and after taking out the drink, the occupancy data cannot be updated in time, which makes the realization of the occupancy data update and drink extraction more stable and efficient.
举例来说,储藏柜共有10个柜格,接收到的来自订单控制器的饮品储藏柜信息包括柜格1-5分别储藏对应订单a-e的饮品,若接收到对应订单b的提取饮品的操作,则储藏柜可直接根据储藏柜信息中柜格2和订单b的对应关系,确定此时开柜格2的门,而无需依赖与订单控制器的实时通信来确定此时开启的柜门。For example, there are a total of 10 cabinets in the storage cabinet, and the received beverage storage cabinet information from the order controller includes that the cabinets 1-5 store drinks corresponding to orders ae. If the operation of extracting beverages corresponding to order b is received, The storage cabinet can directly determine the door of the open cabinet 2 at this time according to the corresponding relationship between the cabinet 2 and the order b in the storage cabinet information, without relying on real-time communication with the order controller to determine the cabinet door opened at this time.
步骤S202:对饮品订单信息进行拆解处理,得到至少一个制作任务;将至少一个制作任务发送给设备控制器,以供设备控制器根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。Step S202: Disassemble the beverage order information to obtain at least one production task; send the at least one production task to the device controller, so that the device controller generates at least one production command according to the at least one production task and controls the corresponding beverage production Equipment for beverage production processing.
对饮品订单信息涉及的制作流程进行拆解处理,其中,制作流程包括落杯处理、饮品主料制作处理、饮品主料装杯处理、饮品配料配比处理、饮品转移处理、封杯处理、和/或贴标处理,得到至少一个制作任务;通过设备控制器控制饮品制作设备完成上述至少一个制作任务的处理。Disassemble the production process involved in the beverage order information, where the production process includes cup drop processing, beverage main ingredient production processing, beverage main ingredient cup filling processing, beverage ingredient ratio processing, beverage transfer processing, cup sealing processing, and /Or labeling processing to obtain at least one production task; the beverage production equipment is controlled by the device controller to complete the processing of the at least one production task.
其中,不同类别的饮品,其涉及的制作流程不同,相应地,所需的饮品制作设备也不同。基于此,在本公开中,主要根据饮品是否需要添加配料确定饮品制作设备的不同可能。其中,相较于饮品主料而言,饮品配料是指饮品所需的固定组成,例如,珍珠、椰果等,并且,饮品配料并不是饮品必须的,例如,咖啡、纯茶等饮品中无饮品配料。Among them, different types of beverages involve different production processes, and correspondingly, different beverage production equipment is required. Based on this, in the present disclosure, the different possibilities of the beverage making equipment are determined mainly according to whether the beverage needs to add ingredients. Among them, compared with the main ingredients of the drink, the drink ingredients refer to the fixed components required by the drink, such as pearls, coconuts, etc., and the drink ingredients are not necessary for the drink, for example, coffee, pure tea and other drinks are not Drink ingredients.
其一,若饮品无需加配料,例如,咖啡、纯茶等饮品,此时则无需执行饮品配料配比处理的加料机,而主要需要执行饮品主料制作处理的至少一个饮品机。可选地,可根据饮品主料种类的可选需求,设置若干数量的饮品机,以便制作得到相应需求的饮品。举例来说,饮品主料包括红茶、绿茶、热水、牛奶、咖啡,则设置红茶机、绿茶机、加热器、牛奶机以及咖啡机共5个饮品机。First, if the beverage does not need to add ingredients, for example, coffee, pure tea and other beverages, at this time, there is no need for a feeder that performs beverage ingredient ratio processing, and at least one beverage maker that performs beverage main ingredient preparation processing is mainly required. Optionally, a number of beverage machines can be set up according to the optional requirements of the types of beverage main ingredients, so as to produce beverages with corresponding requirements. For example, if the main beverage ingredients include black tea, green tea, hot water, milk, and coffee, a total of 5 beverage machines, including a black tea machine, a green tea machine, a heater, a milk machine, and a coffee machine, are provided.
具体地,对应无需添加配料的饮品订单,拆解饮品订单信息,确定订单所需的饮品主料信息;根据饮品主料信息得到至少一个饮品主料制作任务。其中,该饮品主料信息包括但不限于饮品主料种类信息、饮品主料用量信息、饮品主料温度信息、和/或饮品主料甜度信息,根据上述一种或多种饮品主料信息,生成饮品主料制作任务,例如,根据温度信息生成加热器的加热任务。然后,将至少一个饮品主料制作任务发送给设备控制器,以供设备控制器生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。其中,设备控制器将工艺任务转化为指令任务,以控制饮品制作设备完成饮品主料制作处理。举例来说,用户下单了一杯中杯咖啡,并且要求温度为70度,则生成如下两个饮品主料制作任务:制作中杯量的咖啡、加热至70度,将上述两个饮品主料制作任务发送给设备控制器,设备控制器生成对应制作中杯量的咖啡的制作命令并发送给咖啡机,以及生成对应加热器70度的制作命令并发送给加热器,以完成70度中杯咖啡的制作。Specifically, corresponding to a beverage order that does not need to add ingredients, the beverage order information is disassembled, and the beverage ingredient information required by the order is determined; at least one beverage ingredient preparation task is obtained according to the beverage ingredient information. Wherein, the beverage ingredient information includes, but is not limited to, beverage ingredient type information, beverage ingredient amount information, beverage ingredient temperature information, and/or beverage ingredient sweetness information, based on the above-mentioned one or more beverage ingredient information , Generate the main ingredient of the beverage production task, for example, generate the heating task of the heater according to the temperature information. Then, at least one beverage main ingredient preparation task is sent to the equipment controller, so that the equipment controller generates at least one beverage main ingredient preparation command and controls the corresponding beverage machine to perform beverage main ingredient preparation processing. Among them, the equipment controller converts the process task into an instruction task to control the beverage production equipment to complete the beverage main ingredient production process. For example, if the user places an order for a medium cup of coffee, and the temperature is required to be 70 degrees, the following two main beverage production tasks are generated: make a medium cup of coffee, heat it to 70 degrees, and combine the two main beverage ingredients The production task is sent to the device controller, and the device controller generates a production command corresponding to the amount of coffee produced in the middle cup and sends it to the coffee machine, and generates a production command corresponding to the heater 70 degree and sends it to the heater to complete the 70 degree middle cup Coffee making.
其二,若饮品需要加配料。例如,珍珠奶茶、红豆牛奶、柠檬绿茶等,此时,在无需加配料的情况的基础上,还需执行饮品配料配比处理的加料机,相应地,针对需要加配料的饮品的制作,订单控制器在对饮品订单信息进行拆解处理得到饮品主料制作任务时,还需对饮品订单信息进行拆解处理,确定订单所需的饮品配料信息,根据饮品配料信息得到饮品配料配比任务,其中,饮品配料信息包括配料的种类信息和/或配料的用量信息。然后,将饮品配料配比任务发送给设备控制器,以供设备控制器根据饮品配料配比任务生成饮品配料配比命令并控制加料机进行饮品配料配比处理。举例来说,用户下单了一杯牛奶,并且要求加常规量的青稞和红豆,则生成对应加入常规量的青稞和红豆的饮品配料配比任务,设备控制器将饮品配料配比任务转化为饮品配料配比命令,以控制加料机配比得到常规量的青稞和红豆。Second, if the drink needs to add ingredients. For example, pearl milk tea, red bean milk, lemon green tea, etc., at this time, on the basis of no need to add ingredients, a feeder that performs the proportioning process of beverage ingredients is also required. Accordingly, for the production of beverages that require ingredients, order When the controller disassembles the beverage order information to obtain the beverage main ingredient production task, it also needs to disassemble the beverage order information, determine the beverage ingredient information required by the order, and obtain the beverage ingredient ratio task according to the beverage ingredient information. Wherein, the beverage ingredient information includes the type information of the ingredient and/or the amount information of the ingredient. Then, the beverage ingredient proportioning task is sent to the equipment controller, so that the equipment controller generates a beverage ingredient proportioning command according to the beverage ingredient proportioning task and controls the feeder to perform beverage ingredient proportioning processing. For example, if the user places an order for a glass of milk and asks to add a regular amount of highland barley and red beans, then a task for the beverage ingredient proportioning corresponding to the regular amount of highland barley and red beans is generated, and the device controller converts the beverage ingredient proportioning task into a beverage The proportioning command is used to control the proportioning of the feeder to obtain regular amount of barley and red beans.
并且,针对上述需要加配料和无需加配料的两种情况,由订单控制器拆解确定饮品主料信息和/或饮品配料信息,进一步得到饮品制作任务;以及,由设备控制器将工艺任务转化为指令任务,并向相应的制作设备发送制作命令以控制进行饮品制作。通过这种方式,使得饮品主料制作处理和/或饮品配料配比处理的过程可完全自动进行,而无需机械臂操控饮品制作设备,使得饮品制作的过程更加自动化。In addition, for the above two situations where ingredients need to be added and those that do not need to be added, the order controller disassembles and determines the beverage ingredient information and/or beverage ingredient information to further obtain the beverage production task; and the equipment controller converts the process task It is an instruction task and sends a production command to the corresponding production equipment to control the beverage production. In this way, the process of beverage main ingredient preparation and/or beverage ingredient ratio processing can be fully automated, without the need for a mechanical arm to control the beverage production equipment, making the process of beverage production more automated.
另外,在本公开的一些可选的实施例中,饮品制作设备还包括落杯设备、传送设备、封杯机、打印机、和/或贴标设备。在实际订单处理的过程中,可由设备控制器分别向上述提及的制作设备发送相应的控制命令,以控制其执行相应的操作,而无需机械臂去操作制作设备。In addition, in some optional embodiments of the present disclosure, the beverage making equipment further includes a cup dropping device, a conveying device, a cup sealing machine, a printer, and/or a labeling device. In the process of actual order processing, the device controller can send corresponding control commands to the above-mentioned production equipment to control them to perform corresponding operations, without the need for a robotic arm to operate the production equipment.
其中,在包括打印机和贴标设备的实施例中,在接收到订单处理请求后,订单控制器从饮品订单信息中提取标签信息,其中,标签信息包括反映订单之间的区别的信息,以便用户确认饮品是否提取有误,可选地,标签信息包括订单编号信息、饮品名称信息、个性化需求信息、和/或用户端信息;根据标签信息得到标签打印任务;然后,将标签打印任务发送给设备控制器,以供设备控制器根据标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。Among them, in an embodiment including a printer and a labeling device, after receiving the order processing request, the order controller extracts label information from the beverage order information, where the label information includes information reflecting the difference between orders, so that the user Confirm whether the beverage is extracted incorrectly. Optionally, the label information includes order number information, beverage name information, personalized demand information, and/or user-side information; obtain the label printing task according to the label information; then, send the label printing task to The device controller is used for the device controller to generate label printing commands according to the label printing task and control the printer to print out beverage labels for beverage labeling processing.
其中,在包括落杯设备和传送设备的实施例中,在接收到订单处理请求后,订单控制器根据饮品订单制作所需的饮品杯生成落杯任务,然后由设备控制器根据落杯任务生成落杯命令并控制落杯设备进行落杯处理,以将饮品杯置入传送设备中;以及,设备控制器向传送设备发送传送命令,以将饮品杯输送至预设位置以便加入饮品主料和/或饮品配料。Among them, in an embodiment including a cup drop device and a transfer device, after receiving the order processing request, the order controller generates a cup drop task according to the drink cup required for the preparation of the drink order, and then the device controller generates a cup drop task according to the cup drop task Drop the cup command and control the cup drop device to perform cup drop processing to place the drink cup in the conveying device; and, the device controller sends a transmission command to the conveying device to deliver the drink cup to a preset position so as to add the beverage main ingredient and /Or drink ingredients.
步骤S203:将饮品储藏柜信息发送给设备控制器,以供设备控制器根据饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理。Step S203: Send the beverage storage cabinet information to the equipment controller, so that the equipment controller generates a beverage entry command according to the beverage storage cabinet information and controls the robotic arm to process the finished beverage into the cabinet.
其中,饮品入柜命令中包括入柜路径信息。Among them, the order for entering the beverage into the cabinet includes the information of the entering path.
具体地,通过将饮品储藏柜信息发送给设备控制器,由设备控制器根据饮品储藏柜信息规划相匹配的入柜路径信息,其中,入柜路径信息是指将饮品从制作完成的位置处转移至饮品储藏柜信息对应的柜格处的路径信息,例如,饮品制作完成的位置为贴标设备所在的位置,饮品储藏柜信息对应的柜格为柜格5,则入柜路径信息是指从贴标设备位置处转移至柜格5的路径信息。设备控制器将入柜路径信息添加至饮品入柜命令并发送给机械臂,以控制机械臂将制作完成的饮品置入饮品储藏柜信息对应的柜格中。相较于现有技术中在制作完饮品后将饮品放入固定的位置中的方式,本实施例方案则可以将对应不同订单的饮品放入不同的柜格中,以便于用户进行准确的提取,而不会发生取货混乱。Specifically, by sending the beverage storage cabinet information to the equipment controller, the equipment controller plans the matching entry path information according to the beverage storage cabinet information, where the entry path information refers to the transfer of the beverage from the position where the preparation is completed The path information to the cabinet corresponding to the beverage storage cabinet information. For example, the location where the beverage is made is the location of the labeling device, and the cabinet corresponding to the beverage storage cabinet information is cabinet 5, then the entry path information means from The path information of the labeling equipment transferred to the cabinet 5. The device controller adds the cabinet entry path information to the beverage cabinet entry command and sends it to the robotic arm to control the robotic arm to place the finished beverage into the cabinet corresponding to the beverage storage cabinet information. Compared with the prior art method of placing the beverage in a fixed position after the beverage is made, the solution of this embodiment can place the beverage corresponding to different orders in different cabinets, so that the user can accurately extract , Without the chaos of picking up goods.
或者,在本公开的一些可选实施例中,可预先在机械臂中存储将饮品置入储藏柜的各个柜格中的入柜路径信息,而设备控制器仅需在饮品入柜命令中添加饮品储藏柜信息,机械臂在接收到饮品入柜命令后,先从入柜路径信息中查找出与饮品储藏柜信息匹配的目标路径信息,然后按照该目标路径信息进行饮品入柜处理。举例来说,储藏柜包含1-10共10个柜格,将饮品从贴标设备处入柜到该10个柜格的路径分别为路径A-J,若此时机械臂接收到饮品入柜命令中包括的饮品储藏柜信息为将订单b的饮品入柜到柜格2中,查找得到入柜到柜格2的目标路径信息为路径B,则按照路径B将订单b的饮品入柜到柜格2中。Or, in some optional embodiments of the present disclosure, the cabinet entry path information for placing the beverage into each compartment of the storage cabinet can be stored in the robotic arm in advance, and the device controller only needs to add the beverage entry command For beverage storage cabinet information, after receiving a beverage entry command, the robotic arm first finds the target path information matching the beverage storage cabinet information from the cabinet entry path information, and then performs beverage entry processing according to the target path information. For example, the storage cabinet contains 10 cabinets from 1 to 10, and the path from the labeling equipment to the 10 cabinets is path AJ. If the robot arm receives the order for the beverage to enter the cabinet at this time The included beverage storage cabinet information is to put the beverage of order b into the cabinet 2 and find the target path information from the cabinet to the cabinet 2 is path B, then follow the path B to put the beverage of order b into the cabinet to the cabinet 2 in.
另外,需要在此说明的是,在本公开中,机械臂主要用于饮品的转移处理,其中,包括步骤S203中的入柜处理;在一些其它可选的实施例中,需要机械臂进行转移的过程还包括:饮品主料装杯处理,将饮品机制作得到的饮品主料转移至饮品杯中;封杯处理,将装入饮品主料或者装入饮品主料和配料的饮品杯转移至封杯机处以进行封杯;贴标处理,将封杯完成的饮品杯转移至贴标设备处以进行贴标;和/或,主料杯放置处理,将主料杯置入可接收饮品机的出口的饮品主料的位置。In addition, it needs to be explained here that in the present disclosure, the robotic arm is mainly used for the transfer processing of beverages, including the cabinet entry processing in step S203; in some other optional embodiments, the robotic arm is required to transfer The process also includes: cup processing of beverage main ingredients, transfer the beverage main ingredients produced by the beverage machine to the drink cup; cup sealing processing, transfer the drink cups filled with the main drink ingredients or the drink main ingredients and ingredients to the cup The cup sealing machine is used to seal the cup; the labeling process is to transfer the sealed cup to the labeling equipment for labeling; and/or, the main cup is placed in the machine, and the main cup is placed in the receiving machine. The location of the main ingredient of the beverage to be exported.
至此,可将设备控制器控制饮品制作设备进行饮品制作的过程划分为无需机械臂参与转移的处理过程和需要机械臂参与转移的处理过程,具体实施时,可通过分别设置该两个过程的不同触发执行条件,实现多个订单的并行执行,其中,此处的并行执行具体是指不同订单的并行,即:在对后一订单进行无需机械臂参与转移的处理过程中,并行对前一订单进行需要机械臂参与转移的处理过程,进而可通过同时处理多个订单来提高订单处理的效率。图3示出了本公开一个具体实施例中饮品订单并行处理方法的流程图。如图3所示,该方法包括:At this point, the process of the equipment controller controlling the beverage production equipment for beverage production can be divided into a process that does not require a robotic arm to participate in the transfer and a process that requires a robotic arm to participate in the transfer. In specific implementation, you can set the difference between the two processes. Trigger execution conditions to realize the parallel execution of multiple orders, where the parallel execution here specifically refers to the parallel execution of different orders, that is: in the process of processing the latter order without the participation of the robot arm, the previous order is processed in parallel Carry out the processing process that requires the robot arm to participate in the transfer, and then can improve the efficiency of order processing by processing multiple orders at the same time. Fig. 3 shows a flowchart of a method for parallel processing of beverage orders in a specific embodiment of the present disclosure. As shown in Figure 3, the method includes:
步骤S301,当满足传送设备可用时,判断是否具有待处理饮品订单任务,若是,执行步骤S302;若否,则本方法结束。In step S301, when it is satisfied that the delivery device is available, it is determined whether there is a pending beverage order task; if so, step S302 is executed; if not, the method ends.
在本方法中,将饮品订单处理的过程设计为由如下两部分组成:第一部分处理过程,完全自动的处理过程,无需机械臂参与;以及,第二部分处理过程,需要机械臂参与的处理过程,其中,对于同一订单,第一部分的处理时序在第二部分的处理时序之前;以及,在订单处理的过程中,通过分别向该两部分处理过程对应的设备发送处理命令,以实现在前的订单的第二部分处理过程,与在后的订单的第一部分处理过程的并行。In this method, the process of beverage order processing is designed to consist of the following two parts: the first part of the processing process, which is a completely automatic process, without the involvement of a robot arm; and the second part of the processing process, a process that requires the participation of a robot arm. , Where, for the same order, the processing sequence of the first part is before the processing sequence of the second part; and, during the processing of the order, the processing commands are sent to the devices corresponding to the two parts of the processing to achieve the previous The processing of the second part of the order is parallel to the processing of the first part of the subsequent order.
其中,传送设备可用是指第一部分处理过程可处理新的饮品订单任务的条件。并且,该传送设备可用依据第一部分处理过程的时间跨度、第一部分处理过程的处理逻辑、第二部分处理过程的时间跨度和/或第二部分处理过程的处理逻辑进行确定,以使得并行处理的过程既不会发生拥堵、也不会发生混乱。例如,传送设备可用为第一部分处理过程中不存在正在处理的饮品订单任务,则确定传送设备可用。Among them, the availability of the delivery device refers to the conditions under which the first part of the processing process can process the new beverage order task. In addition, the transmission device can be determined based on the time span of the first part of the processing process, the processing logic of the first part of the processing process, the time span of the second part of the processing process, and/or the processing logic of the second part of the processing process, so that the parallel processing There will be neither congestion nor chaos in the process. For example, if the delivery device can be used as a beverage order task that is not being processed in the first part of the processing, it is determined that the delivery device is available.
具体地,当满足传送设备可用,则表明可以开始处理新的饮品订单任务,此时,判断是否具有待处理饮品订单任务,若是,则执行步骤S102,以进行待处理饮品订单任务的处理。Specifically, when it is satisfied that the delivery device is available, it indicates that the processing of a new beverage order task can be started. At this time, it is determined whether there is a beverage order task to be processed, and if so, step S102 is executed to process the beverage order task to be processed.
步骤S302,提取待处理饮品订单任务。Step S302: Extract the task of the beverage order to be processed.
在提取出待处理饮品订单任务后,需针对该待处理饮品订单任务执行第一部分的处理过程。在本实施例中,第一部分的处理过程包括落杯处理、饮品杯输送处理、以及饮品主料制作处理;以及,其中,饮品主料制作处理得到的饮品主料由机械臂进行饮品主料装杯处理,该饮品主料制作处理的过程完全不受落杯处理和/或饮品杯输送处理的处理结果的影响,即:饮品主料制作处理的过程可完全独立,相应地,在本实施例中,饮品主料制作处理,与落杯处理和饮品杯输送处理可并行执行,即允许处理时间上的重叠,此处的并行是针对同一饮品订单任务的并行,以提高同一订单的处理效率。具体并行过程如下述步骤S303和步骤S304。After extracting the pending beverage order task, the first part of the processing process needs to be executed for the pending beverage order task. In this embodiment, the first part of the processing process includes cup drop processing, drink cup conveying processing, and beverage main ingredient preparation processing; and, wherein, the beverage main ingredient obtained by the beverage main ingredient preparation process is loaded by the robot arm. Cup processing, the process of making the main drink material is completely unaffected by the results of the cup dropping process and/or the drink cup conveying process, that is, the process of making the main drink material can be completely independent. Accordingly, in this embodiment In the process, the beverage main ingredient production process can be executed in parallel with the drop process and the drink cup conveying process, that is, the overlap in processing time is allowed. The parallel here is for the parallel task of the same drink order to improve the processing efficiency of the same order. The specific parallel process is the following steps S303 and S304.
步骤S303,向落杯设备发送落杯命令,以使落杯设备将饮品杯置入传送设备中;向传送设备发送传送命令,以使传送设备将饮品杯输送至预设位置。Step S303: Send a cup drop command to the cup drop device so that the cup drop device puts the drink cup into the conveying device; send a transfer command to the conveying device so that the conveying device conveys the drink cup to a preset position.
其中,预设位置为传送设备可以将饮品杯输送到的任意位置。可选地,该预设位置为传送设备所能输送到、且距离饮品机最近的位置,以便进行饮品主料装杯处理。或者,在一些需要进行饮品配料配比处理的实施例中,预设位置为可接收加料机的出口的饮品配料的位置,例如,加料机的出口下方。Among them, the preset position is any position to which the conveying device can convey the drink cup. Optionally, the preset position is a position that can be conveyed to by the conveying device and is closest to the beverage machine, so that the main beverage material can be cupped. Or, in some embodiments that require beverage ingredient proportioning processing, the preset position is a position that can receive the beverage ingredients from the outlet of the feeder, for example, below the outlet of the feeder.
具体地,提取到待处理饮品订单任务后,向落杯设备发送落杯命令,落杯设备在接收到该落杯命令后,释放饮品杯并置入至传送设备中;然后,向传送设备发送传送命令,其中,传送命令中包括反映传送的目的位置(同下文中的预设位置)的信息;以及,其中,传送命令可在确定饮品杯置入传送设备后的任意时机进行发送,本公开对此不做具体限定,可选地,当检测到传送设备上饮品杯置入位置(同下文中的固定位置)处设置的传感器的传感器信号后进行发送,或者,在发送落杯命令的预设时间间隔后进行发送,该预设时间间隔依据落杯设备接收到落杯命令至饮品杯置入传送设备中所需的时间进行设置。传送设备在接收到传送命令后,将饮品杯从置入位置输送至预设位置。Specifically, after extracting the pending beverage order task, it sends a cup drop command to the cup drop device. After receiving the cup drop command, the cup drop device releases the drink cup and places it in the delivery device; then, sends it to the delivery device A transmission command, wherein the transmission command includes information reflecting the destination location of the transmission (the same as the preset position hereinafter); and, wherein the transmission command can be sent at any time after the beverage cup is determined to be placed in the transmission device, the present disclosure There is no specific limitation on this. Optionally, the sensor signal of the sensor set at the position where the drink cup is placed (same as the fixed position below) on the conveying device is detected and sent, or after sending the pre-cup drop command. Sending is performed after a time interval is set, and the preset time interval is set according to the time required for the cup drop device to receive the cup drop command until the drink cup is placed in the conveying device. After receiving the transmission command, the conveying device conveys the drink cup from the placing position to the preset position.
至此,经过上述步骤S303,依次分别向落杯设备和传送设备发送落杯命令和传送命令,可控制落杯设备和传送设备分别完成落杯处理和饮品杯输送处理。So far, after the above step S303, the cup dropping command and the transmission command are sent to the cup dropping device and the conveying device in sequence, and the cup dropping device and the conveying device can be controlled to complete the cup dropping process and the drink cup conveying process respectively.
步骤S304,向饮品机发送饮品主料制作命令,以使饮品机进行饮品主料制作处理。Step S304: Send a beverage main ingredient preparation command to the beverage machine, so that the beverage machine performs beverage main ingredient preparation processing.
在执行上述步骤S303的过程中的任意时机,可向饮品机发送饮品主料制作命令,可选地,可根据饮品主料制作处理所需的处理时长与落杯处理和饮品杯输送处理所需的处理时长确定发送饮品主料制作命令的具体时机,以缩减第一部分的处理过程的时间跨度。饮品机在接收到饮品主料制作命令后,进行饮品主料制作处理,并制作得到饮品所需的饮品主料,例如,得到红茶的茶液。At any time in the process of performing the above step S303, a beverage main ingredient preparation command can be sent to the beverage machine. Optionally, it can be based on the processing time required for the beverage main ingredient preparation process and the cup drop processing and the drink cup delivery process. The processing time determines the specific timing of sending the beverage ingredient preparation command, so as to reduce the time span of the first part of the processing process. After receiving the beverage main ingredient preparation command, the beverage machine performs the beverage main ingredient preparation process, and prepares the beverage main ingredient required for the drink, for example, obtains the tea liquid of black tea.
至此,经过上述步骤S304,在执行步骤S303的过程中,向饮品机发送得到红茶的茶液命令,可控制饮品机完成得到红茶的茶液处理。So far, after the above-mentioned step S304, in the process of executing step S303, a command for obtaining black tea is sent to the beverage machine, and the beverage machine can be controlled to complete the processing of obtaining the black tea.
需要在此说明的是,经过上述步骤S301至步骤S304,在没有机械臂的参与下,完成了第一部分的处理过程,即步骤S301至步骤S304执行过程中,不会占用机械臂。该步骤S301至步骤S304与下述步骤S305具有各自触发执行的时机,可同时进行多个订单的不同流程的处理,步骤S305涉及需要机械臂参与的第二部分的处理过程,在本实施例中,第二部分的处理过程依次包括饮品主料装杯处理、封杯处理和入柜处理,该三项处理依次执行,也不存在机械臂的分配问题。需要在此说明的是,步骤S301至步骤S304,与步骤S305可通过各自的触发执行条件实现并行,并且该并行是指前后不同的饮品订单任务的并行。It should be noted here that after the above steps S301 to S304, the first part of the processing process is completed without the participation of the robot arm, that is, the robot arm will not be occupied during the execution of steps S301 to S304. This step S301 to step S304 and the following step S305 have their own timing to trigger execution, and can process multiple orders in different processes at the same time. Step S305 involves the second part of the processing process that requires the participation of a robotic arm. In this embodiment , The second part of the processing process includes the main drink main ingredient cup processing, cup sealing processing and cabinet entry processing. These three processings are executed in sequence, and there is no problem of robot arm distribution. It needs to be explained here that steps S301 to S304 and step S305 can be implemented in parallel through respective trigger execution conditions, and the parallel refers to the parallelization of different beverage order tasks before and after.
步骤S305,判断是否检测到对应预设位置处时的传感器信号,若是,根据传感器信号向机械臂发送饮品主料装杯命令,以使机械臂将饮品主料加入饮品杯,而后拾取饮品杯进行封杯处理、入柜处理。Step S305: Determine whether the sensor signal corresponding to the preset position is detected. If so, send a beverage main ingredient cup filling command to the robotic arm according to the sensor signal, so that the robotic arm adds the beverage main ingredient to the drink cup, and then picks up the drink cup. Seal the cup and put it into the cabinet.
其中,传感器设置在传送设备上饮品杯置入位置处,以及,对应预设位置处时的传感器信号是指将饮品杯输送至预设位置后的传感器信号。其中,若预设位置处有饮品杯,则存在进行饮品主料装杯处理、封杯处理以及入柜处理的需求,基于此,根据检测到的对应预设位置处时的传感器信号向机械臂发送饮品主料装杯命令,可选地,在检测到对应预设位置处时的传感器信号时,同时向机械臂发送饮品主料装杯命令;或者,在检测到对应预设位置处时的传感器信号后,经过预设时间的等待后,向机械臂发送饮品主料制作命令,以确保饮品主料制作处理过程彻底完成。并且,机械臂在接收到饮品主料装杯命令后,执行饮品主料装杯处理,在完成将饮品主料加入预设位置处的饮品杯中后,从该预设位置处拾取饮品杯以进行封杯处理和入柜处理Wherein, the sensor is arranged at the position where the drink cup is placed on the conveying device, and the sensor signal corresponding to the preset position refers to the sensor signal after the drink cup is delivered to the preset position. Among them, if there is a drink cup at the preset position, there is a need for cup filling processing, cup sealing processing, and cabinet entry processing of the main beverage material. Based on this, the sensor signal at the corresponding preset position is detected to the robot arm Send the beverage main ingredient cup filling command, optionally, when the sensor signal corresponding to the preset position is detected, the beverage main ingredient cup filling command is sent to the robotic arm at the same time; or, when the corresponding preset position is detected After the sensor signal, after waiting for a preset time, the beverage main ingredient production command is sent to the robotic arm to ensure that the beverage main ingredient production process is completely completed. In addition, after receiving the command to fill the beverage main ingredient cup, the robotic arm executes the beverage main ingredient cup filling process. After adding the beverage main ingredient to the beverage cup at the preset position, the robotic arm picks up the beverage cup from the preset position. Carry out sealing and storage
在本实施例中,步骤S301至步骤S304与步骤S305并行执行,其中,每当满足传送设备可用,则执行步骤S301至步骤S304,以进行待处理饮品订单任务的第一部分处理过程的处理;同样地,每当判断检测到对应预设位置处的传感器信号时,则执行步骤S305,以针对预设位置处的饮品杯对应的订单进行第二部分处理过程的处理。需要在此说明的是,虽然步骤S301至步骤S304与步骤S305可并行处理不同的饮品订单任务,两者之间依然存在制约,以确保两个并行的流程可以有序的进行订单的处理。其中,在检测到对应预设位置处时的传感器信号时,即存在完成第一部分处理后的饮品订单任务时,才能执行步骤S305,以及,在机械臂转移完预设位置处的饮品杯使传送设备可用时才能执行步骤S301至步骤S304。In this embodiment, steps S301 to S304 are executed in parallel with step S305, wherein, whenever the delivery device is satisfied, steps S301 to S304 are executed to perform the processing of the first part of the processing process of the pending beverage order task; In particular, whenever it is determined that a sensor signal corresponding to the preset position is detected, step S305 is executed to perform the processing of the second part of the processing procedure for the order corresponding to the drink cup at the preset position. It should be noted here that although steps S301 to S304 and step S305 can process different beverage order tasks in parallel, there are still constraints between the two to ensure that the two parallel processes can orderly process orders. Wherein, when the sensor signal corresponding to the preset position is detected, that is, when there is a beverage order task after the first part of the processing is completed, step S305 can be executed, and step S305 can be performed, and the beverage cup at the preset position can be transferred after the robotic arm has transferred Steps S301 to S304 can be executed only when the device is available.
图3对应的并行处理方法,在满足传送设备可用以及具有待处理饮品订单任务时,控制器向无需机械臂参与的第一部分处理过程中涉及的制作设备发送相应的处理命令,以并行进行饮品杯和饮品主料的准备;以及,在检测到对应预设位置处的传感器信号时,控制器向机械臂发送对应第二部分处理过程的处理命令,以进行饮品主料装杯、封杯以及入柜处理。上述两部分处理过程按照是否需要机械臂参与来进行划分,无需进行复杂的命令列表部署排单,降低了部署排单的难度;并且,针对不同的饮品订单任务,均可按照该相同的划分以实现并行执行,而无需针对不同的订单进行不同的排单,减少了部署排单的重复工作量。由此可见,可以通过不同的触发执行条件控制第一部分处理过程和第二部分处理过程的执行,实现多个订单的同时处理,提高订单处理效率;同时,第一部分处理过程和第二部分处理过程的划分简单,以及步骤固定,可以进一步提高并行处理的稳定性和效率。In the parallel processing method corresponding to Figure 3, when the delivery equipment is available and the task of having a beverage order to be processed is satisfied, the controller sends corresponding processing commands to the production equipment involved in the first part of the processing without the participation of the robotic arm, so as to perform the beverage cups in parallel And the preparation of the main beverage ingredients; and, when the sensor signal corresponding to the preset position is detected, the controller sends the processing commands corresponding to the second part of the processing process to the robotic arm to carry out the filling, sealing and filling of the beverage main ingredients. Cabinet processing. The above two parts of the processing process are divided according to whether the robot is required to participate, and there is no need to deploy a complicated order list, which reduces the difficulty of deploying the order; and for different beverage order tasks, they can be divided according to the same division. Parallel execution is achieved without the need for different orders for different orders, which reduces the repetitive workload of deploying orders. It can be seen that the execution of the first part of the process and the second part of the process can be controlled by different triggering execution conditions to realize the simultaneous processing of multiple orders and improve the efficiency of order processing; at the same time, the first part of the process and the second part of the process The simple division and fixed steps can further improve the stability and efficiency of parallel processing.
需要在此说明的是,上述图3对应的并行处理方法中,第一部分处理过程和第二部分处理过程中分别涉及的处理过程仅为示例性的,具体实施时,可对第一部分处理过程和/或第二部分处理过程中涉及的处理过程进行适当的增减,可选地,在无需利用机械臂进行饮品主料装杯处理,而由传送设备将饮品杯输送至饮品机下以自动接收饮品主料的实施例中,则去除第二部分处理过程中的饮品主料装杯处理,并在第一部分处理过程中新增自动加入茶液的处理过程;或者,在制作需要添加配料的饮品的实施例中,可在第一部分处理过程中新增饮品配料配比处理的过程。It needs to be explained here that in the parallel processing method corresponding to FIG. 3, the processing procedures involved in the first part of the processing and the second part of the processing are only exemplary. In specific implementation, the first part of the processing and the / Or the processing process involved in the second part of the processing process is appropriately increased or decreased. Optionally, without the use of a robotic arm for the main beverage filling cup processing, the delivery device transports the drink cup to the beverage machine for automatic reception In the embodiment of the beverage main ingredient, the cup-filling process of the beverage main ingredient in the second part of the process is removed, and a process of automatically adding tea liquid is added in the first part of the process; or, when making beverages that require adding ingredients In the embodiment, a process of proportioning beverage ingredients can be added in the first part of the process.
在本公开的一些可选的实施例中,订单控制器在向其它IoT设备发送信息时,可通过网关转发至其它IoT设备,并且,网关在转发过程中,可依据接收到的信息进行预警处理。可选地,对应步骤S202,由订单控制器将至少一个制作任务发送给网关,以供网关将至少一个制作任务转发给设备控制器;其中,网关根据至少一个制作任务确定订单处理请求所需的物料信息,根据物料信息更新库存数据。具体实施时,制作任务可反映出饮品订单制作时所需的饮品主料和/或饮品配料及其用量,即可确定所需的物料信息,据此则可进行物料更新与预警。In some optional embodiments of the present disclosure, when the order controller sends information to other IoT devices, it can be forwarded to other IoT devices through the gateway, and the gateway can perform warning processing based on the received information during the forwarding process . Optionally, corresponding to step S202, the order controller sends at least one production task to the gateway, so that the gateway forwards the at least one production task to the device controller; wherein the gateway determines what is required for the order processing request according to the at least one production task. Material information, update inventory data according to material information. During the specific implementation, the production task can reflect the main beverage ingredients and/or beverage ingredients and their amounts required during the preparation of the beverage order, and the required material information can be determined. Based on this, material updates and warnings can be performed.
和/或,对应步骤S201,订单控制器将饮品储藏柜信息发送给网关,以供网关将饮品储 藏柜信息转发给设备控制器;和/或,对应步骤S203,订单控制器将饮品储藏柜信息发送给网关,以供网关将饮品储藏柜信息转发给储藏柜;并且,网关根据饮品储藏柜信息更新储藏柜的占用数据;根据占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。其中,可用量阈值可根据订单量进行灵活设置,可选地,根据对应不同时段的订单量设置可用量阈值。例如,早上的咖啡订单和午餐后的下午茶订单的订单量通常较多,此时,可设置较大的可用量阈值;而晚上则设置较小的可用量阈值。And/or, corresponding to step S201, the order controller sends the beverage storage cabinet information to the gateway for the gateway to forward the beverage storage cabinet information to the device controller; and/or, corresponding to step S203, the order controller sends the beverage storage cabinet information Sent to the gateway for the gateway to forward the beverage storage cabinet information to the storage cabinet; and, the gateway updates the occupancy data of the storage cabinet according to the beverage storage cabinet information; judges whether the available capacity of the storage cabinet is less than the available capacity threshold according to the occupancy data, if so, An early warning of insufficient containers is carried out. Among them, the available quantity threshold can be flexibly set according to the order quantity, and optionally, the available quantity threshold can be set according to the order quantity corresponding to different periods. For example, coffee orders in the morning and afternoon tea orders after lunch usually have more orders. At this time, a larger available threshold can be set; and a smaller available threshold can be set at night.
步骤S204:将饮品储藏柜信息发送给用户端,以供用户操作取出储藏柜中的饮品。Step S204: Send the beverage storage cabinet information to the user terminal for the user to operate to take out the beverage in the storage cabinet.
其中,可在分配完饮品储藏柜信息后的任意时机,向用户端发送饮品储藏柜信息,以使用户及时获知饮品的存储位置;或者,当接收到机械臂反馈的完成饮品入柜处理的信号时,将饮品储藏柜信息发送给用户端,以使用户在获取到储藏柜信息后,可立即提取饮品。Among them, the information of the beverage storage cabinet can be sent to the user at any time after the information of the beverage storage cabinet is allocated, so that the user can know the storage location of the beverage in time; or, when the signal of the completion of the beverage storage processing is received from the robot arm When the time, the beverage storage cabinet information is sent to the user terminal, so that the user can immediately withdraw the beverage after obtaining the storage cabinet information.
另外,在用户操作取出饮品后,更新储藏柜的占用数据。具体地,可由订单控制器根据提取饮品的请求进行更新,订单控制器接收到提取柜格中的饮品的请求,则在控制对应该柜格的门开启的同时,将该柜格的状态更新为闲置状态;或者,可由储藏柜自身依据提取饮品的请求进行更新。并且,在进行占用数据更新后,将更新后的占用数据发送给网关,以便网关进行货柜不足预警。In addition, after the user operates to take out the drink, the occupancy data of the storage cabinet is updated. Specifically, the order controller can be updated according to the request for extracting beverages. The order controller receives the request for extracting the beverages in the cabinet, and while controlling the opening of the door corresponding to the cabinet, the status of the cabinet is updated to Idle state; alternatively, the storage cabinet itself can be updated according to the request to withdraw the beverage. In addition, after the occupancy data is updated, the updated occupancy data is sent to the gateway, so that the gateway can warn the shortage of containers.
下面,为了便于对本实施例的基于IoT设备实现的饮品订单处理方法的理解,以一个完整的示例来说明本实施例方案,图4示出了一个具体实施例中基于IoT设备实现的饮品订单处理方法的流程示意图。如图4所示,1.扫描点单:用户端通过扫描下单码向后台业务系统发起订单处理请求,例如,利用本地生活应用扫描下单二维码而向本地生活应用后台业务系统发起请求;2.订单推送:后台业务系统将实时或者预约的订单处理请求发送至相应门店的订单控制器,其中,该订单控制器可以为厨房展示系统(kitchen display system,简称KDS)控制器,可选地,可由门店管理系统接收订单处理请求,例如,门店POS端接收请求,然后转发给订单控制器;3.订单详情:订单控制器在接收到订单处理请求后,对饮品订单信息进行拆解,得到至少一个制作任务。4.柜子分配:在接收到订单处理请求后即为饮品分配饮品储藏柜信息(此处的饮品储藏柜信息由网关分配,具体实施时,也可由订单控制器分配),将该饮品储藏柜信息发送给储藏柜及用户端;5.奶茶工艺和饮品储藏柜信息:通过网关将至少一个制作任务和分配的饮品储藏柜信息路由至设备控制器,其中,该设备控制器可以为可编程逻辑控制器(Programmable Logic Controller,简称PLC);然后,由设备控制器生成制作命令并控制涉及的制作设备,包括落杯设备、传送设备、加料机、饮品机、机械臂、封杯机、和/或打印机及贴标设备,以进行相应的制作处理,而无需机械臂去操控各个制作设备,进而提高了饮品制作的自动化程度,并在完成上述制作处理后,向机械臂发送入柜处理的命令,使得机械臂按照分配的饮品储藏柜信息对饮品进行入柜,实现按订单进行储藏,避免饮品提取时发生混乱。而且,可通过网关进行如下管理:物料管理,并进行余量预警;订单排队时长管理,并短信通知给用户端;以及,对机械臂故障、储藏柜剩余可用量不足进行监控告警。另外,可通过设置物联网平台来对各个IoT设备的运行与维护、IoT设备之间的通信连接以及工作分配进行管理。6.扫码开门:用户端根据获取到的饮品储藏柜信息扫码而向物联网平台发起开门请求,以取出下单的饮品。In the following, in order to facilitate the understanding of the beverage order processing method based on the IoT device in this embodiment, a complete example is used to illustrate the solution of this embodiment. FIG. 4 shows the beverage order processing based on the IoT device in a specific embodiment. Schematic diagram of the method flow. As shown in Figure 4, 1. Scan order: The client initiates an order processing request to the background business system by scanning the order code, for example, using the local life application to scan the order QR code to initiate a request to the local life application background business system 2. Order push: The background business system sends real-time or reserved order processing requests to the order controller of the corresponding store, where the order controller can be a kitchen display system (KDS) controller, optional The order processing request can be received by the store management system, for example, the store POS terminal receives the request, and then forwards it to the order controller; 3. Order details: the order controller disassembles the beverage order information after receiving the order processing request, Get at least one crafting task. 4. Cabinet allocation: After receiving the order processing request, the beverage storage cabinet information is allocated (the beverage storage cabinet information here is allocated by the gateway, and in specific implementation, it can also be allocated by the order controller), and the beverage storage cabinet information Send to the storage cabinet and the user terminal; 5. Milk tea process and beverage storage cabinet information: route at least one production task and assigned beverage storage cabinet information to the equipment controller through the gateway, where the equipment controller can be programmable logic control Programmable Logic Controller (PLC); then, the device controller generates production commands and controls the involved production equipment, including cup dropping equipment, conveying equipment, feeders, beverage machines, robotic arms, cup sealing machines, and/or Printers and labeling equipment to perform corresponding production processing without the need for a robotic arm to control each production equipment, thereby increasing the degree of automation of beverage production, and after completing the above production processing, the robotic arm sends a command for entering the cabinet. Make the robot arm enter the beverage cabinet according to the information of the assigned beverage storage cabinet, realize storage according to the order, and avoid confusion during beverage extraction. Moreover, the following management can be carried out through the gateway: material management and margin warning; order queuing time management, and SMS notification to the user terminal; and monitoring and warning of mechanical arm failure and insufficient remaining available capacity of the storage cabinet. In addition, the IoT platform can be set up to manage the operation and maintenance of each IoT device, communication connections between IoT devices, and work distribution. 6. Scan code to open the door: The user terminal scans the code according to the obtained beverage storage cabinet information and initiates a door opening request to the IoT platform to take out the ordered beverage.
根据本实施例提供的基于IoT设备实现的饮品订单处理方法,通过控制器与订单处理的各个阶段中涉及的多个IoT设备的通信,对多个IoT设备进行控制,实现对订单处理的全过程的控制,进而可以实现从下单到提取饮品全过程的自动化,而不仅仅是制作阶段的自动化;以及,在接收到订单处理请求后,通过为饮品分配饮品储藏柜信息并将该储藏柜信息发送给机械臂和储藏柜,以便于以订单为单位进行入柜和提取,有利于避免取货混乱的情况发生;其中,仅将储藏柜信息发送给储藏柜,可使储藏柜独立实现更新占用数据、饮品 提取的功能,减少对网络通信的依赖,增强了订单处理过程的稳定性;并且,在饮品制作过程中,仅存在部分处理过程需要机械臂参与进行饮品的转移,则可通过向各个饮品制作设备分别发送订单处理命令,以使该部分需要机械臂参与进行饮品转移的处理过程与其它完全自动的过程并行执行,以提高订单的处理效率。According to the beverage order processing method based on IoT devices provided in this embodiment, the controller communicates with multiple IoT devices involved in each stage of order processing to control multiple IoT devices to realize the entire order processing process Control, and then can realize the automation of the whole process from placing an order to extracting beverages, not just the automation of the production stage; and, after receiving the order processing request, by assigning the beverage storage cabinet information to the beverage and adding the storage cabinet information Sent to the robotic arm and storage cabinet to facilitate entry and withdrawal based on the order unit, which helps to avoid chaotic pickup; among them, only the storage cabinet information is sent to the storage cabinet to enable the storage cabinet to be independently updated and occupied The function of extracting data and beverages reduces the dependence on network communication and enhances the stability of the order processing process. Moreover, in the beverage production process, there is only part of the processing process that requires the robotic arm to participate in the transfer of beverages. The beverage production equipment sends the order processing commands separately, so that the part of the processing process that requires the robot arm to participate in the beverage transfer is executed in parallel with other fully automatic processes, so as to improve the processing efficiency of the order.
在本公开的另一个实施例中,提供了一种基于IoT设备实现的饮品订单处理方法,该实施例由设备控制器执行,该方法包括:接收订单控制器发送的至少一个制作任务,其中,至少一个制作任务通过对饮品订单信息进行拆解处理得到;根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。In another embodiment of the present disclosure, a beverage order processing method based on an IoT device is provided, which is executed by a device controller, and the method includes: receiving at least one production task sent by the order controller, wherein, The at least one production task is obtained by disassembling the beverage order information; at least one production command is generated according to the at least one production task and the corresponding beverage production equipment is controlled to perform the beverage production processing.
在一种可选的实施方式中,饮品制作设备包括机械臂,方法还包括:接收订单控制器分配的饮品储藏柜信息;根据饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,饮品入柜命令中包括入柜路径信息。In an optional embodiment, the beverage production equipment includes a robotic arm, and the method further includes: receiving the beverage storage cabinet information allocated by the order controller; generating a beverage entry command based on the beverage storage cabinet information and controlling the robotic arm to complete the production Beverages are processed into the cabinet; among them, the command of the beverage entering the cabinet includes the path information of the cabinet.
在一种可选的实施方式中,接收订单控制器发送的至少一个制作任务进一步包括:接收订单控制器发送给网关,并由网关转发的至少一个制作任务;其中,网关根据至少一个制作任务确定订单处理请求所需的物料信息,根据物料信息更新库存数据。In an optional implementation manner, receiving at least one production task sent by the order controller further includes: receiving at least one production task sent by the order controller to the gateway and forwarded by the gateway; wherein the gateway determines according to the at least one production task Material information required for order processing request, update inventory data according to material information.
在一种可选的实施方式中,接收订单控制器分配的饮品储藏柜信息进一步包括:接收订单控制器分配并发送给网关,并由网关转发的饮品储藏柜信息;其中,网关根据饮品储藏柜信息更新储藏柜的占用数据;根据占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。In an optional implementation manner, receiving the beverage storage cabinet information allocated by the order controller further includes: receiving the beverage storage cabinet information allocated by the order controller and sent to the gateway and forwarded by the gateway; wherein, the gateway according to the beverage storage cabinet The information updates the occupancy data of the storage cabinet; according to the occupancy data, it is judged whether the usable capacity of the storage cabinet is less than the usable quantity threshold, and if so, an early warning of the shortage of containers is carried out.
在一种可选的实施方式中,饮品制作设备包括饮品机;接收订单控制器发送的至少一个制作任务,根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:接收订单控制器发送的至少一个饮品主料制作任务,根据至少一个饮品主料制作任务生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。In an optional embodiment, the beverage making equipment includes a beverage machine; receiving at least one making task sent by the order controller, generating at least one making command according to the at least one making task, and controlling the corresponding beverage making device to perform a beverage making process. The method includes: receiving at least one beverage main ingredient production task sent by the order controller, generating at least one beverage main ingredient production command according to the at least one beverage main ingredient production task, and controlling the corresponding beverage machine to perform beverage main ingredient production processing.
在一种可选的实施方式中,饮品制作设备包括:加料机;接收订单控制器发送的至少一个制作任务,根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:接收订单控制器发送的饮品配料配比任务,根据饮品配料配比任务生成配料命令并控制加料机进行饮品配料配比处理。In an optional embodiment, the beverage production equipment includes: a feeder; receiving at least one production task sent by the order controller, generating at least one production command according to the at least one production task, and controlling the corresponding beverage production equipment to perform beverage production processing It further includes: receiving the beverage ingredient proportioning task sent by the order controller, generating an ingredient command according to the beverage ingredient proportioning task, and controlling the feeder to perform beverage ingredient proportioning processing.
在一种可选的实施方式中,饮品制作设备还包括打印机;接收订单控制器发送的至少一个制作任务,根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:接收订单控制器发送的标签打印任务,根据标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。In an optional embodiment, the beverage production equipment further includes a printer; receiving at least one production task sent by the order controller, generating at least one production command according to the at least one production task, and controlling the corresponding beverage production equipment to perform beverage production processing. Including: receiving the label printing task sent by the order controller, generating label printing commands according to the label printing task, and controlling the printer to print out beverage labels for beverage labeling processing.
上述由设备控制器执行的基于IoT设备实现的饮品订单处理方法,具体可参见图1和图2对应的实施例中关于设备控制器的相关说明,此处不再赘述。For the above-mentioned beverage order processing method implemented by the device controller based on the IoT device, for details, please refer to the related description of the device controller in the embodiment corresponding to FIG. 1 and FIG. 2, and will not be repeated here.
图5示出了根据本公开一个实施例的订单控制器的功能框图。如图5所示,该订单控制器包括:接收模块501,适于接收用户端发起的携带饮品订单信息的订单处理请求;拆解模块502,适于对饮品订单信息进行拆解处理,得到至少一个制作任务;发送模块503,适于将至少一个制作任务发送给设备控制器,以供设备控制器根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。Fig. 5 shows a functional block diagram of an order controller according to an embodiment of the present disclosure. As shown in FIG. 5, the order controller includes: a receiving module 501, adapted to receive an order processing request initiated by a user terminal carrying beverage order information; a disassembling module 502, adapted to disassemble the beverage order information to obtain at least A production task; sending module 503, adapted to send at least one production task to the device controller, so that the device controller generates at least one production command according to the at least one production task and controls the corresponding beverage production device to perform beverage production processing.
在一种可选的实施方式中,饮品制作设备包括机械臂;控制器还包括:分配模块,适于分配饮品储藏柜信息;发送模块进一步适于:将饮品储藏柜信息发送给设备控制器,以供设备控制器根据饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,饮品入柜命令中包括入柜路径信息。In an optional embodiment, the beverage making equipment includes a robotic arm; the controller further includes: a dispensing module, adapted to distribute beverage storage cabinet information; the sending module is further adapted to: send the beverage storage cabinet information to the device controller, For the device controller to generate a beverage entry command according to the beverage storage cabinet information and control the robotic arm to process the finished beverage into the cabinet; wherein the beverage entry command includes the cabinet entry path information.
在一种可选的实施方式中,发送模块进一步适于:将饮品储藏柜信息发送给储藏柜, 以供储藏柜获取饮品储藏柜信息以用于响应用户操作开关柜门。In an optional embodiment, the sending module is further adapted to send the beverage storage cabinet information to the storage cabinet, so that the storage cabinet can obtain the beverage storage cabinet information in response to a user's operation of opening and closing the cabinet door.
在一种可选的实施方式中,发送模块进一步适于:将至少一个制作任务发送给网关,以供网关将至少一个制作任务转发给设备控制器;其中,网关根据至少一个制作任务确定订单处理请求所需的物料信息,根据物料信息更新库存数据。In an optional implementation, the sending module is further adapted to: send at least one production task to the gateway, so that the gateway forwards the at least one production task to the device controller; wherein the gateway determines the order processing according to the at least one production task Request the required material information, and update the inventory data according to the material information.
在一种可选的实施方式中,发送模块进一步适于:将饮品储藏柜信息发送给网关,以供网关将饮品储藏柜信息转发给设备控制器;和/或,将饮品储藏柜信息发送给网关,以供网关将饮品储藏柜信息转发给储藏柜;其中,网关根据饮品储藏柜信息更新储藏柜的占用数据;根据占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。In an optional embodiment, the sending module is further adapted to: send the beverage storage cabinet information to the gateway, so that the gateway forwards the beverage storage cabinet information to the device controller; and/or, send the beverage storage cabinet information to The gateway is used for the gateway to forward the beverage storage cabinet information to the storage cabinet; among them, the gateway updates the occupancy data of the storage cabinet according to the beverage storage cabinet information; judges whether the available capacity of the storage cabinet is less than the available capacity threshold according to the occupancy data, and if so, proceed Early warning of insufficient containers.
在一种可选的实施方式中,饮品制作设备包括饮品机;拆解模块进一步适于:拆解饮品订单信息,确定订单所需的饮品主料信息;根据饮品主料信息得到至少一个饮品主料制作任务;发送模块进一步适于:将至少一个饮品主料制作任务发送给设备控制器,以供设备控制器生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。In an alternative embodiment, the beverage making equipment includes a beverage machine; the disassembly module is further adapted to: disassemble the beverage order information, and determine the beverage ingredient information required by the order; and obtain at least one beverage owner according to the beverage ingredient information Material production task; the sending module is further adapted to: send at least one beverage main ingredient production task to the device controller for the device controller to generate at least one beverage main ingredient production command and control the corresponding beverage machine to perform beverage main ingredient production processing.
在一种可选的实施方式中,饮品制作设备包括:加料机;拆解模块进一步适于:对饮品订单信息进行拆解处理,确定订单所需的饮品配料信息;根据饮品配料信息得到饮品配料配比任务;发送模块进一步适于:将饮品配料配比任务发送给设备控制器,以供设备控制器根据饮品配料配比任务生成饮品配料配比命令并控制加料机进行饮品配料配比处理。In an optional embodiment, the beverage production equipment includes: a feeder; the disassembly module is further adapted to: disassemble the beverage order information to determine the beverage ingredient information required by the order; and obtain the beverage ingredients according to the beverage ingredient information Proportioning task; the sending module is further adapted to: send the beverage ingredient proportioning task to the device controller, so that the device controller generates a beverage ingredient proportioning command according to the beverage ingredient proportioning task and controls the feeder to perform beverage ingredient proportioning processing.
在一种可选的实施方式中,饮品制作设备还包括打印机;拆解模块进一步适于:从饮品订单信息中提取标签信息;根据标签信息得到标签打印任务;发送模块进一步适于:将标签打印任务发送给设备控制器,以供设备控制器根据标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。In an optional embodiment, the beverage production equipment further includes a printer; the disassembly module is further adapted to: extract label information from the beverage order information; obtain label printing tasks according to the label information; and the sending module is further adapted to: print the label The task is sent to the device controller for the device controller to generate label printing commands according to the label printing task and control the printer to print out beverage labels for beverage labeling processing.
在本公开的另一个实施例中,提供了一种设备控制器,包括:接收模块,适于接收订单控制器发送的至少一个制作任务,其中,至少一个制作任务通过对饮品订单信息进行拆解处理得到;控制模块,适于根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。In another embodiment of the present disclosure, a device controller is provided, including: a receiving module, adapted to receive at least one production task sent by the order controller, wherein the at least one production task disassembles beverage order information The processing is obtained; the control module is adapted to generate at least one production command according to at least one production task and control the corresponding beverage production equipment to perform beverage production processing.
在一种可选的实施方式中,饮品制作设备包括机械臂,接收模块进一步适于:接收订单控制器分配的饮品储藏柜信息;控制模块进一步适于:根据饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,饮品入柜命令中包括入柜路径信息。In an optional embodiment, the beverage making equipment includes a robotic arm, and the receiving module is further adapted to: receive beverage storage cabinet information allocated by the order controller; the control module is further adapted to: generate a beverage entry command according to the beverage storage cabinet information And control the mechanical arm to process the finished drinks into the cabinet; among them, the order of the beverage into the cabinet includes the path information of the cabinet.
在一种可选的实施方式中,接收模块进一步适于:接收订单控制器发送给网关,并由网关转发的至少一个制作任务;其中,网关根据至少一个制作任务确定订单处理请求所需的物料信息,根据物料信息更新库存数据。In an optional embodiment, the receiving module is further adapted to: receive at least one production task sent by the order controller to the gateway and forwarded by the gateway; wherein the gateway determines the material required for the order processing request according to the at least one production task Information, update inventory data based on material information.
在一种可选的实施方式中,接收模块进一步适于:接收订单控制器分配并发送给网关,并由网关转发的饮品储藏柜信息;其中,网关根据饮品储藏柜信息更新储藏柜的占用数据;根据占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。In an alternative embodiment, the receiving module is further adapted to: receive the beverage storage cabinet information allocated by the order controller and sent to the gateway and forwarded by the gateway; wherein the gateway updates the occupancy data of the storage cabinet according to the beverage storage cabinet information ; According to the occupancy data, it is judged whether the usable quantity of the storage cabinet is less than the usable quantity threshold.
在一种可选的实施方式中,饮品制作设备包括饮品机;接收模块进一步适于:接收订单控制器发送的至少一个饮品主料制作任务;控制模块进一步适于:根据至少一个饮品主料制作任务生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。In an optional embodiment, the beverage making equipment includes a beverage maker; the receiving module is further adapted to: receive at least one beverage ingredient making task sent by the order controller; the control module is further adapted to: making a beverage based on the at least one ingredient The task generates at least one beverage ingredient preparation command and controls the corresponding beverage machine to perform beverage ingredient preparation processing.
在一种可选的实施方式中,饮品制作设备包括:加料机;接收模块进一步适于:接收订单控制器发送的饮品配料配比任务;控制模块进一步适于:根据饮品配料配比任务生成配料命令并控制加料机进行饮品配料配比处理。In an optional embodiment, the beverage making equipment includes: a feeder; the receiving module is further adapted to: receive a beverage ingredient proportioning task sent by the order controller; the control module is further adapted to: generating ingredients according to the beverage ingredient proportioning task Command and control the feeder to process the proportioning of beverage ingredients.
在一种可选的实施方式中,饮品制作设备还包括打印机;接收模块进一步适于:接收订单控制器发送的标签打印任务;控制模块进一步适于:根据标签打印任务生成标签打印 命令并控制打印机打印出饮品标签以进行饮品贴标处理。In an optional embodiment, the beverage production equipment further includes a printer; the receiving module is further adapted to: receive a label printing task sent by the order controller; the control module is further adapted to: generate label printing commands according to the label printing task and control the printer Print out beverage labels for beverage labeling processing.
本申请实施例提供了一种基于IoT设备实现的饮品订单处理系统,系统包括:用户端,上述装置实施例中的订单控制器,饮品制作设备,以及上述装置实施例的设备控制器。An embodiment of the application provides a beverage order processing system based on an IoT device. The system includes: a user terminal, an order controller in the above device embodiment, a beverage production device, and the device controller in the above device embodiment.
在一种可选的实施方式中,系统还包括储藏柜,储藏柜适于存储制作完成的饮品。In an optional embodiment, the system further includes a storage cabinet, which is suitable for storing the finished beverage.
在一种可选的实施方式中,系统还包括网关,网关适于进行库存数据预警、储藏柜余量预警、和/或制作设备故障预警。In an optional implementation manner, the system further includes a gateway, which is suitable for early warning of inventory data, early warning of the remaining amount of storage cabinets, and/or early warning of manufacturing equipment failure.
本公开实施例提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的基于IoT设备实现的饮品订单处理方法。The embodiments of the present disclosure provide a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, and the computer-executable instruction can execute any of the foregoing method embodiments A beverage order processing method based on IoT devices.
图6示出了根据本公开一个实施例的一种计算设备的结构示意图,本公开具体实施例并不对计算设备的具体实现做限定。如图6所示,该计算设备可以包括:处理器(processor)602、通信接口(Communications Interface)604、存储器(memory)606、以及通信总线608。其中:处理器602、通信接口604、以及存储器606通过通信总线608完成相互间的通信。通信接口604,用于与其它设备比如客户端或其它服务器等的网元通信。处理器602,用于执行程序610,具体可以执行上述基于IoT设备实现的饮品订单处理方法实施例中的相关步骤。具体地,程序610可以包括程序代码,该程序代码包括计算机操作指令。处理器602可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。存储器606,用于存放程序610。存储器606可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。FIG. 6 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the computing device. As shown in FIG. 6, the computing device may include: a processor (processor) 602, a communication interface (Communications Interface) 604, a memory (memory) 606, and a communication bus 608. Among them: the processor 602, the communication interface 604, and the memory 606 communicate with each other through the communication bus 608. The communication interface 604 is used to communicate with other devices such as network elements such as clients or other servers. The processor 602 is configured to execute the program 610, and specifically can execute the relevant steps in the above-mentioned embodiment of the beverage order processing method based on the IoT device. Specifically, the program 610 may include program code, and the program code includes computer operation instructions. The processor 602 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present disclosure. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs. The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
程序610具体可以用于使得处理器602执行以下操作:接收用户端发起的携带饮品订单信息的订单处理请求,对饮品订单信息进行拆解处理,得到至少一个制作任务;将至少一个制作任务发送给设备控制器,以供设备控制器根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。The program 610 may specifically be used to make the processor 602 perform the following operations: receive an order processing request carrying beverage order information initiated by the user, disassemble the beverage order information, and obtain at least one production task; and send at least one production task to The equipment controller is used for the equipment controller to generate at least one production command according to at least one production task and control the corresponding beverage production equipment to perform beverage production processing.
在一种可选的实施方式中,饮品制作设备包括机械臂;程序610具体可以进一步用于使得处理器602执行以下操作:分配饮品储藏柜信息;将饮品储藏柜信息发送给设备控制器,以供设备控制器根据饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,饮品入柜命令中包括入柜路径信息。In an optional embodiment, the beverage making equipment includes a robotic arm; the program 610 may be further used to make the processor 602 perform the following operations: allocating the beverage storage cabinet information; sending the beverage storage cabinet information to the device controller to For the equipment controller to generate a beverage entry command according to the information of the beverage storage cabinet and control the robotic arm to process the finished beverage into the cabinet; wherein the beverage entry command includes the cabinet entry path information.
在一种可选的实施方式中,程序610具体可以进一步用于使得处理器602执行以下操作:将饮品储藏柜信息发送给储藏柜,以供储藏柜获取饮品储藏柜信息以用于响应用户操作开关柜门。In an optional implementation manner, the program 610 may be further configured to cause the processor 602 to perform the following operations: send the beverage storage cabinet information to the storage cabinet for the storage cabinet to obtain the beverage storage cabinet information for responding to user operations Switch cabinet doors.
在一种可选的实施方式中,程序610具体可以进一步用于使得处理器602执行以下操作:将至少一个制作任务发送给网关,以供网关将至少一个制作任务转发给设备控制器;其中,网关根据至少一个制作任务确定订单处理请求所需的物料信息,根据物料信息更新库存数据。In an optional implementation manner, the program 610 may be further specifically used to cause the processor 602 to perform the following operations: send at least one production task to the gateway, so that the gateway forwards the at least one production task to the device controller; wherein, The gateway determines the material information required for the order processing request according to at least one production task, and updates the inventory data according to the material information.
在一种可选的实施方式中,程序610具体可以进一步用于使得处理器602执行以下操作:将饮品储藏柜信息发送给网关,以供网关将饮品储藏柜信息转发给设备控制器;和/或,将饮品储藏柜信息发送给网关,以供网关将饮品储藏柜信息转发给储藏柜;其中,网关根据饮品储藏柜信息更新储藏柜的占用数据;根据占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。In an optional implementation manner, the program 610 may be further configured to cause the processor 602 to perform the following operations: send the beverage storage cabinet information to the gateway, so that the gateway forwards the beverage storage cabinet information to the device controller; and/ Or, send the beverage storage cabinet information to the gateway for the gateway to forward the beverage storage cabinet information to the storage cabinet; wherein, the gateway updates the occupancy data of the storage cabinet according to the beverage storage cabinet information; judges whether the storage cabinet is available according to the occupancy data If it is within the usable threshold value, an early warning of container shortage will be carried out.
在一种可选的实施方式中,饮品制作设备包括饮品机;程序610具体可以进一步用于 使得处理器602执行以下操作:拆解饮品订单信息,确定订单所需的饮品主料信息;根据饮品主料信息得到至少一个饮品主料制作任务;将至少一个饮品主料制作任务发送给设备控制器,以供设备控制器生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。In an alternative embodiment, the beverage making equipment includes a beverage machine; the program 610 may be further used to make the processor 602 perform the following operations: disassemble the beverage order information, and determine the beverage ingredient information required by the order; The main ingredient information obtains at least one beverage ingredient preparation task; at least one beverage ingredient preparation task is sent to the device controller for the device controller to generate at least one beverage ingredient preparation command and control the corresponding beverage machine to make the beverage ingredient deal with.
在一种可选的实施方式中,饮品制作设备包括:加料机;程序610具体可以进一步用于使得处理器602执行以下操作:对饮品订单信息进行拆解处理,确定订单所需的饮品配料信息;根据饮品配料信息得到饮品配料配比任务;将饮品配料配比任务发送给设备控制器,以供设备控制器根据饮品配料配比任务生成饮品配料配比命令并控制加料机进行饮品配料配比处理。In an alternative embodiment, the beverage production equipment includes: a feeder; the program 610 may be further used to make the processor 602 perform the following operations: disassemble the beverage order information, and determine the beverage ingredient information required by the order ;According to the beverage ingredient information, obtain the beverage ingredient proportioning task; send the beverage ingredient proportioning task to the device controller, so that the device controller can generate the beverage ingredient proportioning command according to the beverage ingredient proportioning task and control the feeder to perform the beverage ingredient proportioning deal with.
在一种可选的实施方式中,饮品制作设备还包括打印机;程序610具体可以进一步用于使得处理器602执行以下操作:从饮品订单信息中提取标签信息;根据标签信息得到标签打印任务;将标签打印任务发送给设备控制器,以供设备控制器根据标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。In an optional implementation manner, the beverage production equipment further includes a printer; the program 610 may be further used to make the processor 602 perform the following operations: extract label information from the beverage order information; obtain label printing tasks according to the label information; The label printing task is sent to the device controller, so that the device controller generates a label printing command according to the label printing task and controls the printer to print out beverage labels for beverage labeling processing.
本公开实施例提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的基于IoT设备实现的饮品订单处理方法。The embodiments of the present disclosure provide a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, and the computer-executable instruction can execute any of the foregoing method embodiments A beverage order processing method based on IoT devices.
图7示出了根据本公开另一实施例的一种计算设备的结构示意图,本公开具体实施例并不对计算设备的具体实现做限定。如图7所示,该计算设备可以包括:处理器(processor)702、通信接口(Communications Interface)704、存储器(memory)706、以及通信总线708。其中:处理器702、通信接口704、以及存储器706通过通信总线708完成相互间的通信。通信接口704,用于与其它设备比如客户端或其它服务器等的网元通信。处理器702,用于执行程序710,具体可以执行上述基于IoT设备实现的饮品订单处理方法实施例中的相关步骤。具体地,程序710可以包括程序代码,该程序代码包括计算机操作指令。处理器702可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。存储器706,用于存放程序710。存储器706可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。FIG. 7 shows a schematic structural diagram of a computing device according to another embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the computing device. As shown in FIG. 7, the computing device may include: a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706, and a communication bus 708. Among them: the processor 702, the communication interface 704, and the memory 706 communicate with each other through the communication bus 708. The communication interface 704 is used to communicate with other devices such as network elements such as clients or other servers. The processor 702 is configured to execute a program 710, and specifically can execute relevant steps in the above-mentioned embodiment of the beverage order processing method based on the IoT device. Specifically, the program 710 may include program code, and the program code includes computer operation instructions. The processor 702 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present disclosure. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs. The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, or may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
程序710具体可以用于使得处理器702执行以下操作:接收订单控制器发送的至少一个制作任务,其中,至少一个制作任务通过对饮品订单信息进行拆解处理得到;根据至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。The program 710 may specifically be used to cause the processor 702 to perform the following operations: receiving at least one production task sent by the order controller, wherein the at least one production task is obtained by disassembling the beverage order information; and generating at least one production task according to the at least one production task. Make commands and control the corresponding drink making equipment for drink making processing.
在一种可选的实施方式中,饮品制作设备包括机械臂,程序710具体可以进一步用于使得处理器702执行以下操作:接收订单控制器分配的饮品储藏柜信息;根据饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,饮品入柜命令中包括入柜路径信息。In an alternative embodiment, the beverage making device includes a robotic arm, and the program 710 may be further used to make the processor 702 perform the following operations: receive the beverage storage cabinet information allocated by the order controller; and generate the beverage according to the beverage storage cabinet information Enter the cabinet command and control the robotic arm to process the finished drinks into the cabinet; among them, the beverage entry command includes the cabinet entry path information.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:接收订单控制器发送给网关,并由网关转发的至少一个制作任务;其中,网关根据至少一个制作任务确定订单处理请求所需的物料信息,根据物料信息更新库存数据。In an optional implementation manner, the program 710 may be further configured to cause the processor 702 to perform the following operations: receive at least one production task sent by the order controller to the gateway and forwarded by the gateway; The task determines the material information required for the order processing request, and updates the inventory data based on the material information.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:接收订单控制器分配并发送给网关,并由网关转发的饮品储藏柜信息;其中,网关根据饮品储藏柜信息更新储藏柜的占用数据;根据占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。In an optional implementation manner, the program 710 may be further configured to cause the processor 702 to perform the following operations: receive the beverage storage cabinet information allocated by the order controller and sent to the gateway and forwarded by the gateway; The storage cabinet information updates the occupancy data of the storage cabinet; according to the occupancy data, it is judged whether the usable quantity of the storage cabinet is less than the usable quantity threshold, and if so, an early warning of the shortage of containers is performed.
在一种可选的实施方式中,饮品制作设备包括饮品机;程序710具体可以进一步用于使得处理器702执行以下操作:接收订单控制器发送的至少一个饮品主料制作任务,根据至少一个饮品主料制作任务生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。In an optional implementation manner, the beverage making equipment includes a beverage maker; the program 710 may be further used to make the processor 702 perform the following operations: receiving at least one beverage ingredient making task sent by the order controller, according to the at least one beverage making task The main ingredient production task generates at least one beverage ingredient production command and controls the corresponding beverage machine to perform beverage ingredient production processing.
在一种可选的实施方式中,饮品制作设备包括:加料机;程序710具体可以进一步用于使得处理器702执行以下操作:接收订单控制器发送的饮品配料配比任务,根据饮品配料配比任务生成配料命令并控制加料机进行饮品配料配比处理。In an alternative embodiment, the beverage production equipment includes: a feeder; the program 710 may be further used to make the processor 702 perform the following operations: receive a beverage ingredient proportioning task sent by the order controller, and according to the beverage ingredient proportioning The task generates ingredient commands and controls the feeder to process the beverage ingredients.
在一种可选的实施方式中,饮品制作设备还包括打印机;程序710具体可以进一步用于使得处理器702执行以下操作:接收订单控制器发送的标签打印任务,根据标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。In an optional implementation manner, the beverage production equipment further includes a printer; the program 710 may be further configured to cause the processor 702 to perform the following operations: receive a label printing task sent by the order controller, and generate a label printing command according to the label printing task And control the printer to print out beverage labels for beverage labeling processing.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms and displays provided here are not inherently related to any particular computer, virtual system or other equipment. Various general-purpose systems can also be used with the teaching based on this. From the above description, the structure required to construct this type of system is obvious. In addition, the present disclosure is not directed to any specific programming language. It should be understood that various programming languages can be used to implement the content of the present disclosure described herein, and the above description of a specific language is to disclose the best embodiment of the present disclosure.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the instructions provided here, a lot of specific details are explained. However, it can be understood that the embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures and technologies are not shown in detail, so as not to obscure the understanding of this specification.
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。Similarly, it should be understood that in order to streamline the present disclosure and help understand one or more of the various disclosed aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, Figure, or its description. However, the disclosed method should not be interpreted as reflecting the intention that the claimed disclosure requires more features than the features explicitly recorded in each claim. More precisely, as reflected in the following claims, the disclosure aspect lies in less than all the features of a single embodiment previously disclosed. Therefore, the claims following the specific embodiment are thus explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that it is possible to adaptively change the modules in the device in the embodiment and set them in one or more devices different from the embodiment. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or units are mutually exclusive, any combination can be used to compare all features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or methods disclosed in this manner or All the processes or units of the equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art can understand that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments means that they are within the scope of the present disclosure. Within and form different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
本公开的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本公开实施例的订单控制器或设备控制器中的一些或者全部部件的一些或者全部功能。本公开还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本公开的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的 形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present disclosure may be implemented by hardware, or by software modules running on one or more processors, or by a combination of them. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the order controller or device controller according to the embodiments of the present disclosure. . The present disclosure can also be implemented as a device or device program (for example, a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for realizing the present disclosure may be stored on a computer-readable medium, or may have the form of one or more signals. Such signals can be downloaded from Internet websites, or provided on carrier signals, or provided in any other form.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the present disclosure, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of multiple such elements. The present disclosure can be realized by means of hardware including several different elements and by means of a suitably programmed computer. In the unit claims enumerating several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.
Claims (38)
- 一种基于IoT设备实现的饮品订单处理方法,所述方法包括:A beverage order processing method based on an IoT device, the method comprising:接收用户端发起的携带饮品订单信息的订单处理请求,对所述饮品订单信息进行拆解处理,得到至少一个制作任务;Receiving an order processing request carrying beverage order information initiated by the user terminal, disassembling the beverage order information, and obtaining at least one production task;将所述至少一个制作任务发送给设备控制器,以供设备控制器根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。The at least one production task is sent to the equipment controller, so that the equipment controller generates at least one production command according to the at least one production task and controls the corresponding beverage production equipment to perform beverage production processing.
- 根据权利要求1所述的方法,其中,所述饮品制作设备包括机械臂;在所述接收用户端发起的携带饮品订单信息的订单处理请求之后,所述方法还包括:分配饮品储藏柜信息;The method according to claim 1, wherein the beverage making equipment includes a robotic arm; after receiving the order processing request carrying beverage order information initiated by the user terminal, the method further comprises: allocating beverage storage cabinet information;将所述饮品储藏柜信息发送给设备控制器,以供设备控制器根据所述饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,所述饮品入柜命令中包括入柜路径信息。Send the beverage storage cabinet information to the equipment controller, so that the equipment controller generates a beverage entry command according to the beverage storage cabinet information and controls the robotic arm to process the finished beverage into the cabinet; wherein the beverage entry The cabinet command includes the path information of the cabinet entry.
- 根据权利要求2所述的方法,其中,在所述分配饮品储藏柜信息之后,所述方法还包括:将饮品储藏柜信息发送给储藏柜,以供所述储藏柜获取饮品储藏柜信息以用于响应用户操作开关柜门。The method according to claim 2, wherein, after the distribution of the beverage storage cabinet information, the method further comprises: sending the beverage storage cabinet information to the storage cabinet for the storage cabinet to obtain the beverage storage cabinet information for use In response to the user's operation of the switch cabinet door.
- 根据权利要求1所述的方法,其中,所述将所述至少一个制作任务发送给设备控制器进一步包括:The method of claim 1, wherein the sending the at least one production task to a device controller further comprises:将所述至少一个制作任务发送给网关,以供所述网关将至少一个制作任务转发给设备控制器;其中,所述网关根据至少一个制作任务确定所述订单处理请求所需的物料信息,根据所述物料信息更新库存数据。The at least one production task is sent to the gateway for the gateway to forward the at least one production task to the device controller; wherein the gateway determines the material information required for the order processing request according to the at least one production task, and The material information updates the inventory data.
- 根据权利要求3所述的方法,其中,所述将所述饮品储藏柜信息发送给设备控制器进一步包括:将所述饮品储藏柜信息发送给网关,以供所述网关将饮品储藏柜信息转发给设备控制器;和/或,The method according to claim 3, wherein the sending the beverage storage cabinet information to the device controller further comprises: sending the beverage storage cabinet information to a gateway, so that the gateway can forward the beverage storage cabinet information To the device controller; and/or,所述将饮品储藏柜信息发送给储藏柜进一步包括:将饮品储藏柜信息发送给网关,以供所述网关将饮品储藏柜信息转发给储藏柜;The sending the beverage storage cabinet information to the storage cabinet further includes: sending the beverage storage cabinet information to the gateway, so that the gateway forwards the beverage storage cabinet information to the storage cabinet;其中,所述网关根据饮品储藏柜信息更新储藏柜的占用数据;根据所述占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。Wherein, the gateway updates the occupancy data of the storage cabinet according to the information of the beverage storage cabinet; judges whether the usable amount of the storage cabinet is less than the usable amount threshold according to the occupancy data, and if so, performs an early warning of insufficient container.
- 根据权利要求1-5任一项所述的方法,其中,所述饮品制作设备包括饮品机;所述对所述饮品订单信息进行拆解处理,得到至少一个制作任务进一步包括:拆解饮品订单信息,确定订单所需的饮品主料信息;根据所述饮品主料信息得到至少一个饮品主料制作任务;The method according to any one of claims 1 to 5, wherein the beverage production equipment comprises a beverage machine; the disassembling the beverage order information to obtain at least one production task further comprises: disassembling the beverage order Information, determine the beverage ingredient information required by the order; obtain at least one beverage ingredient preparation task according to the beverage ingredient information;所述将所述至少一个制作任务发送给设备控制器,以供设备控制器根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:The sending the at least one production task to a device controller for the device controller to generate at least one production command according to the at least one production task and control a corresponding beverage production device to perform a beverage production process further includes:将至少一个饮品主料制作任务发送给设备控制器,以供设备控制器生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。The at least one beverage ingredient preparation task is sent to the equipment controller, so that the equipment controller generates at least one beverage ingredient preparation command and controls the corresponding beverage machine to perform beverage ingredient preparation processing.
- 根据权利要求6所述的方法,其中,所述饮品制作设备包括:加料机;The method according to claim 6, wherein the beverage making equipment comprises: a feeder;所述对所述饮品订单信息进行拆解处理,得到至少一个制作任务进一步包括:对所述饮品订单信息进行拆解处理,确定订单所需的饮品配料信息;根据所述饮品配料信息得到 饮品配料配比任务;Said disassembling the beverage order information to obtain at least one production task further includes: disassembling the beverage order information to determine beverage ingredient information required by the order; and obtaining beverage ingredients according to the beverage ingredient information Matching tasks;所述将所述至少一个制作任务发送给设备控制器,以供设备控制器根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:The sending the at least one production task to a device controller for the device controller to generate at least one production command according to the at least one production task and control a corresponding beverage production device to perform a beverage production process further includes:将饮品配料配比任务发送给设备控制器,以供设备控制器根据饮品配料配比任务生成饮品配料配比命令并控制加料机进行饮品配料配比处理。The beverage ingredient proportioning task is sent to the equipment controller, so that the equipment controller generates a beverage ingredient proportioning command according to the beverage ingredient proportioning task and controls the feeder to perform beverage ingredient proportioning processing.
- 根据权利要求6或7所述的方法,其中,所述饮品制作设备还包括打印机;The method according to claim 6 or 7, wherein the beverage making equipment further comprises a printer;所述对所述饮品订单信息进行拆解处理,得到至少一个制作任务进一步包括:从所述饮品订单信息中提取标签信息;根据所述标签信息得到标签打印任务;The disassembling the beverage order information to obtain at least one production task further includes: extracting label information from the beverage order information; obtaining a label printing task according to the label information;所述将所述至少一个制作任务发送给设备控制器,以供设备控制器根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:The sending the at least one production task to a device controller for the device controller to generate at least one production command according to the at least one production task and control a corresponding beverage production device to perform a beverage production process further includes:将标签打印任务发送给设备控制器,以供设备控制器根据所述标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。The label printing task is sent to the device controller, so that the device controller generates a label printing command according to the label printing task and controls the printer to print out beverage labels for beverage labeling processing.
- 一种基于IoT设备实现的饮品订单处理方法,所述方法包括:A beverage order processing method based on an IoT device, the method comprising:接收订单控制器发送的至少一个制作任务,其中,所述至少一个制作任务通过对饮品订单信息进行拆解处理得到;Receiving at least one production task sent by the order controller, where the at least one production task is obtained by disassembling beverage order information;根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。At least one production command is generated according to the at least one production task and the corresponding beverage production device is controlled to perform beverage production processing.
- 根据权利要求9所述的方法,其中,所述饮品制作设备包括机械臂,所述方法还包括:接收订单控制器分配的饮品储藏柜信息;The method according to claim 9, wherein the beverage making equipment comprises a robotic arm, and the method further comprises: receiving beverage storage cabinet information assigned by the order controller;根据所述饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,所述饮品入柜命令中包括入柜路径信息。According to the information of the beverage storage cabinet, a beverage entry command is generated and the robot arm is controlled to process the finished beverage into the cabinet; wherein the beverage entry command includes the cabinet entry path information.
- 根据权利要求9所述的方法,其中,所述接收订单控制器发送的至少一个制作任务进一步包括:The method according to claim 9, wherein the receiving at least one production task sent by the order controller further comprises:接收订单控制器发送给网关,并由网关转发的至少一个制作任务;其中,所述网关根据至少一个制作任务确定所述订单处理请求所需的物料信息,根据所述物料信息更新库存数据。At least one production task sent by the order controller to the gateway and forwarded by the gateway is received; wherein the gateway determines the material information required by the order processing request according to the at least one production task, and updates inventory data according to the material information.
- 根据权利要求10所述的方法,其中,所述接收订单控制器分配的饮品储藏柜信息进一步包括:The method according to claim 10, wherein the beverage storage cabinet information allocated by the receiving order controller further comprises:接收订单控制器分配并发送给网关,并由网关转发的饮品储藏柜信息;其中,所述网关根据饮品储藏柜信息更新储藏柜的占用数据;根据所述占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。Receives the beverage storage cabinet information distributed by the order controller and sent to the gateway and forwarded by the gateway; wherein the gateway updates the occupancy data of the storage cabinet according to the beverage storage cabinet information; judges whether the storage cabinet is available for a small amount according to the occupancy data If it is within the usable threshold value, an early warning of container shortage will be carried out.
- 根据权利要求9-12任一项所述的方法,其中,所述饮品制作设备包括饮品机;The method according to any one of claims 9-12, wherein the beverage making equipment comprises a beverage machine;所述接收订单控制器发送的至少一个制作任务,根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:接收订单控制器发送的至少一个饮品主料制作任务,根据所述至少一个饮品主料制作任务生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。The receiving at least one production task sent by the order controller, generating at least one production command according to the at least one production task and controlling the corresponding beverage production device to perform beverage production processing further includes: receiving at least one beverage main ingredient sent by the order controller A production task, generating at least one beverage ingredient production command according to the at least one beverage ingredient production task, and controlling a corresponding beverage machine to perform beverage ingredient production processing.
- 根据权利要求13所述的方法,其中,所述饮品制作设备包括:加料机;The method according to claim 13, wherein the beverage making equipment comprises: a feeder;所述接收订单控制器发送的至少一个制作任务,根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:接收订单控制器发送的饮品配料配比任务,根据饮品配料配比任务生成配料命令并控制加料机进行饮品配料配比处理。The receiving at least one production task sent by the order controller, generating at least one production command according to the at least one production task and controlling the corresponding beverage production equipment to perform the beverage production processing further includes: receiving a beverage ingredient proportioning task sent by the order controller , Generate ingredient commands according to the task of proportioning beverage ingredients and control the feeder to process the proportion of beverage ingredients.
- 根据权利要求13或14所述的方法,其中,所述饮品制作设备还包括打印机;The method according to claim 13 or 14, wherein the beverage making equipment further comprises a printer;所述接收订单控制器发送的至少一个制作任务,根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理进一步包括:The receiving at least one production task sent by the order controller, generating at least one production command according to the at least one production task and controlling the corresponding beverage production device to perform beverage production processing further includes:接收订单控制器发送的标签打印任务,根据所述标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。Receive the label printing task sent by the order controller, generate label printing commands according to the label printing task, and control the printer to print out beverage labels for beverage labeling processing.
- 一种订单控制器,包括:An order controller includes:接收模块,适于接收用户端发起的携带饮品订单信息的订单处理请求;The receiving module is adapted to receive an order processing request carrying beverage order information initiated by the user terminal;拆解模块,适于对所述饮品订单信息进行拆解处理,得到至少一个制作任务;A disassembly module, adapted to disassemble the beverage order information to obtain at least one production task;发送模块,适于将所述至少一个制作任务发送给设备控制器,以供设备控制器根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。The sending module is adapted to send the at least one production task to the equipment controller, so that the equipment controller generates at least one production command according to the at least one production task and controls the corresponding beverage production equipment to perform beverage production processing.
- 根据权利要求16所述的控制器,其中,所述饮品制作设备包括机械臂;所述控制器还包括:分配模块,适于分配饮品储藏柜信息;The controller according to claim 16, wherein the beverage making equipment comprises a robotic arm; the controller further comprises: a dispensing module adapted to distribute beverage storage cabinet information;所述发送模块进一步适于:将所述饮品储藏柜信息发送给设备控制器,以供设备控制器根据所述饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,所述饮品入柜命令中包括入柜路径信息。The sending module is further adapted to: send the beverage storage cabinet information to a device controller, so that the device controller generates a beverage entry command according to the beverage storage cabinet information and controls a robotic arm to enter the finished beverage into the cabinet Processing; Wherein, the beverage entry command includes entry path information.
- 根据权利要求17所述的控制器,其中,所述发送模块进一步适于:将饮品储藏柜信息发送给储藏柜,以供所述储藏柜获取饮品储藏柜信息以用于响应用户操作开关柜门。The controller according to claim 17, wherein the sending module is further adapted to: send the beverage storage cabinet information to the storage cabinet for the storage cabinet to obtain the beverage storage cabinet information for responding to a user's operation of opening and closing the cabinet door .
- 根据权利要求16所述的控制器,其中,所述发送模块进一步适于:将所述至少一个制作任务发送给网关,以供所述网关将至少一个制作任务转发给设备控制器;其中,所述网关根据至少一个制作任务确定所述订单处理请求所需的物料信息,根据所述物料信息更新库存数据。The controller according to claim 16, wherein the sending module is further adapted to: send the at least one production task to a gateway, so that the gateway forwards the at least one production task to a device controller; wherein The gateway determines material information required by the order processing request according to at least one production task, and updates inventory data according to the material information.
- 根据权利要求18所述的控制器,其中,所述发送模块进一步适于:将所述饮品储藏柜信息发送给网关,以供所述网关将饮品储藏柜信息转发给设备控制器;和/或,将饮品储藏柜信息发送给网关,以供所述网关将饮品储藏柜信息转发给储藏柜;The controller according to claim 18, wherein the sending module is further adapted to: send the beverage storage cabinet information to a gateway for the gateway to forward the beverage storage cabinet information to a device controller; and/or , Sending the beverage storage cabinet information to the gateway, so that the gateway forwards the beverage storage cabinet information to the storage cabinet;其中,所述网关根据饮品储藏柜信息更新储藏柜的占用数据;根据所述占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。Wherein, the gateway updates the occupancy data of the storage cabinet according to the information of the beverage storage cabinet; judges whether the usable amount of the storage cabinet is less than the usable amount threshold according to the occupancy data, and if so, performs an early warning of insufficient container.
- 根据权利要求16-20任一项所述的控制器,其中,所述饮品制作设备包括饮品机;The controller according to any one of claims 16-20, wherein the beverage making equipment comprises a beverage maker;所述拆解模块进一步适于:拆解饮品订单信息,确定订单所需的饮品主料信息;根据所述饮品主料信息得到至少一个饮品主料制作任务;The disassembly module is further adapted to: disassemble the beverage order information, determine the beverage ingredient information required by the order; obtain at least one beverage ingredient preparation task according to the beverage ingredient information;所述发送模块进一步适于:将至少一个饮品主料制作任务发送给设备控制器,以供设备控制器生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。The sending module is further adapted to send at least one beverage ingredient preparation task to the device controller, so that the device controller can generate at least one beverage ingredient preparation command and control the corresponding beverage machine to perform the beverage ingredient preparation process.
- 根据权利要求21所述的控制器,其中,所述饮品制作设备包括:加料机;The controller according to claim 21, wherein the beverage making equipment comprises: a feeder;所述拆解模块进一步适于:对所述饮品订单信息进行拆解处理,确定订单所需的饮品配料信息;根据所述饮品配料信息得到饮品配料配比任务;The disassembly module is further adapted to: disassemble the beverage order information, determine beverage ingredient information required by the order, and obtain a beverage ingredient proportioning task according to the beverage ingredient information;所述发送模块进一步适于:将饮品配料配比任务发送给设备控制器,以供设备控制器根据饮品配料配比任务生成饮品配料配比命令并控制加料机进行饮品配料配比处理。The sending module is further adapted to send the beverage ingredient proportioning task to the device controller, so that the device controller generates a beverage ingredient proportioning command according to the beverage ingredient proportioning task and controls the feeder to perform the beverage ingredient proportioning process.
- 根据权利要求21或22所述的控制器,其中,所述饮品制作设备还包括打印机;The controller according to claim 21 or 22, wherein the beverage making equipment further comprises a printer;所述拆解模块进一步适于:从所述饮品订单信息中提取标签信息;根据所述标签信息得到标签打印任务;The disassembly module is further adapted to: extract label information from the beverage order information; obtain label printing tasks according to the label information;所述发送模块进一步适于:将标签打印任务发送给设备控制器,以供设备控制器根据所述标签打印任务生成标签打印命令并控制打印机打印出饮品标签以进行饮品贴标处理。The sending module is further adapted to send a label printing task to a device controller, so that the device controller generates a label printing command according to the label printing task and controls the printer to print out beverage labels for beverage labeling processing.
- 一种设备控制器,包括:A device controller includes:接收模块,适于接收订单控制器发送的至少一个制作任务,其中,所述至少一个制作任务通过对饮品订单信息进行拆解处理得到;The receiving module is adapted to receive at least one production task sent by the order controller, wherein the at least one production task is obtained by disassembling the beverage order information;控制模块,适于根据所述至少一个制作任务生成至少一个制作命令并控制相应的饮品制作设备进行饮品制作处理。The control module is adapted to generate at least one production command according to the at least one production task and control the corresponding beverage production equipment to perform beverage production processing.
- 根据权利要求24所述的控制器,其中,所述饮品制作设备包括机械臂,所述接收模块进一步适于:接收订单控制器分配的饮品储藏柜信息;The controller according to claim 24, wherein the beverage making equipment comprises a robotic arm, and the receiving module is further adapted to: receive beverage storage cabinet information allocated by the order controller;所述控制模块进一步适于:根据所述饮品储藏柜信息生成饮品入柜命令并控制机械臂将制作完成的饮品进行入柜处理;其中,所述饮品入柜命令中包括入柜路径信息。The control module is further adapted to: generate a beverage entry command according to the beverage storage cabinet information and control the robotic arm to process the finished beverage into the cabinet; wherein the beverage entry command includes cabinet entry path information.
- 根据权利要求25所述的控制器,其中,所述接收模块进一步适于:The controller according to claim 25, wherein the receiving module is further adapted to:接收订单控制器发送给网关,并由网关转发的至少一个制作任务;其中,所述网关根据至少一个制作任务确定所述订单处理请求所需的物料信息,根据所述物料信息更新库存数据。At least one production task sent by the order controller to the gateway and forwarded by the gateway is received; wherein the gateway determines the material information required by the order processing request according to the at least one production task, and updates inventory data according to the material information.
- 根据权利要求25所述的控制器,其中,所述接收模块进一步适于:The controller according to claim 25, wherein the receiving module is further adapted to:接收订单控制器分配并发送给网关,并由网关转发的饮品储藏柜信息;其中,所述网关根据饮品储藏柜信息更新储藏柜的占用数据;根据所述占用数据判断储藏柜的可用量是否少于可用量阈值,若是,则进行货柜不足预警。Receives the beverage storage cabinet information distributed by the order controller and sent to the gateway and forwarded by the gateway; wherein the gateway updates the occupancy data of the storage cabinet according to the beverage storage cabinet information; judges whether the storage cabinet is available for a small amount according to the occupancy data If it is within the usable threshold value, an early warning of container shortage will be carried out.
- 根据权利要求24-27任一项所述的控制器,其中,所述饮品制作设备包括饮品机;The controller according to any one of claims 24-27, wherein the beverage making equipment comprises a beverage maker;所述接收模块进一步适于:接收订单控制器发送的至少一个饮品主料制作任务;The receiving module is further adapted to: receive at least one beverage ingredient preparation task sent by the order controller;所述控制模块进一步适于:根据所述至少一个饮品主料制作任务生成至少一个饮品主料制作命令并控制相应的饮品机进行饮品主料制作处理。The control module is further adapted to: generate at least one beverage main ingredient preparation command according to the at least one beverage main ingredient preparation task and control a corresponding beverage machine to perform beverage main ingredient preparation processing.
- 根据权利要求28所述的控制器,其中,所述饮品制作设备包括:加料机;The controller according to claim 28, wherein the beverage making equipment comprises: a feeder;所述接收模块进一步适于:接收订单控制器发送的饮品配料配比任务;The receiving module is further adapted to: receive the beverage ingredient proportioning task sent by the order controller;所述控制模块进一步适于:根据饮品配料配比任务生成配料命令并控制加料机进行饮品配料配比处理。The control module is further adapted to generate an ingredient command according to the task of proportioning the ingredients of the beverage and controlling the feeder to perform the proportioning processing of the ingredients of the beverage.
- 根据权利要求28或29所述的控制器,其中,所述饮品制作设备还包括打印机;The controller according to claim 28 or 29, wherein the beverage making equipment further comprises a printer;所述接收模块进一步适于:接收订单控制器发送的标签打印任务;The receiving module is further adapted to: receive the label printing task sent by the order controller;所述控制模块进一步适于:根据所述标签打印任务生成标签打印命令并控制打印机打 印出饮品标签以进行饮品贴标处理。The control module is further adapted to generate label printing commands according to the label printing task and control the printer to print out beverage labels for beverage labeling processing.
- 一种基于IoT设备实现的饮品订单处理系统,所述系统包括:用户端,饮品制作设备,权利要求16-23任一项所述的订单控制器,以及权利要求24-30任一项所述的设备控制器。A beverage order processing system based on an IoT device, the system comprising: a user terminal, a beverage making device, the order controller according to any one of claims 16-23, and any one of claims 24-30 Device controller.
- 根据权利要求31所述的系统,其中,所述系统还包括储藏柜,所述储藏柜适于存储制作完成的饮品。The system according to claim 31, wherein the system further comprises a storage cabinet adapted to store the finished beverage.
- 根据权利要求31或32所述的系统,其中,所述系统还包括网关,所述网关适于进行库存数据预警、储藏柜余量预警、和/或制作设备故障预警。The system according to claim 31 or 32, wherein the system further comprises a gateway, and the gateway is adapted to perform an early warning of inventory data, an early warning of the remaining amount of a storage cabinet, and/or an early warning of a manufacturing equipment failure.
- 一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device includes: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-8任一项所述的基于IoT设备实现的饮品订单处理方法对应的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform operations corresponding to the beverage order processing method based on an IoT device according to any one of claims 1-8.
- 一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device includes: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求9-15任一项所述的基于IoT设备实现的饮品订单处理方法对应的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform an operation corresponding to the beverage order processing method implemented based on an IoT device according to any one of claims 9-15.
- 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如权利要求1-8任一项所述的基于IoT设备实现的饮品订单处理方法对应的操作。37.一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如权利要求9-15任一项所述的基于IoT设备实现的饮品订单处理方法对应的操作。A non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, and the executable instruction causes a processor to execute any one of claims 1-8 The operation corresponding to the beverage order processing method based on the IoT device. 37. A non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, the executable instruction causes a processor to execute any of claims 9-15 An operation corresponding to the beverage order processing method based on the IoT device.
- 一种计算机程序产品,其中,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被处理器执行时,使所述处理器执行如权利要求1-8中任一项所述的基于IoT设备实现的饮品订单处理方法对应的操作。A computer program product, wherein the computer program product includes a computer program stored on a non-volatile computer storage medium, the computer program includes program instructions, and when the program instructions are executed by a processor, the The processor executes operations corresponding to the beverage order processing method implemented based on the IoT device according to any one of claims 1-8.
- 一种计算机程序产品,其中,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被处理器执行时,使所述处理器执行如权利要求9-15中任一项所述的基于IoT设备实现的饮品订单处理方法对应的操作。A computer program product, wherein the computer program product includes a computer program stored on a non-volatile computer storage medium, the computer program includes program instructions, and when the program instructions are executed by a processor, the The processor executes operations corresponding to the beverage order processing method implemented based on the IoT device according to any one of claims 9-15.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910483560.X | 2019-06-04 | ||
CN201910483560.XA CN110298729A (en) | 2019-06-04 | 2019-06-04 | The drink order processing method and order controller realized based on IoT equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020244297A1 true WO2020244297A1 (en) | 2020-12-10 |
Family
ID=68027615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/082520 WO2020244297A1 (en) | 2019-06-04 | 2020-03-31 | Method for processing beverage orders implemented on basis of iot device, and order controller |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110298729A (en) |
WO (1) | WO2020244297A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110298729A (en) * | 2019-06-04 | 2019-10-01 | 口碑(上海)信息技术有限公司 | The drink order processing method and order controller realized based on IoT equipment |
CN110338657B (en) * | 2019-06-19 | 2022-02-25 | 苏州提点信息科技有限公司 | Beverage making system |
CN111543538A (en) * | 2020-05-12 | 2020-08-18 | 广东智源机器人科技有限公司 | Control method and system of ice cream manufacturing equipment and ice cream selling system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109034936A (en) * | 2018-06-06 | 2018-12-18 | 口碑(上海)信息技术有限公司 | It is a kind of that the method, apparatus of Unclaimed commodity is provided |
CN109191693A (en) * | 2018-07-23 | 2019-01-11 | 重庆两江微链智能科技有限公司 | A kind of intelligent robot beverage preparation system with cognition machint |
KR20190004479A (en) * | 2017-07-04 | 2019-01-14 | 오흥일 | Automatic system for ordering and servicing foods and beverages in store and method thereof |
CN109493529A (en) * | 2018-12-29 | 2019-03-19 | 坤同勃志智能科技(上海)有限公司 | A kind of food drink is prepared and buffer memory device and its application method immediately |
CN109623790A (en) * | 2019-01-09 | 2019-04-16 | 北京精密机电控制设备研究所 | The network-based automatic production drink robot of one kind and control method |
CN110298729A (en) * | 2019-06-04 | 2019-10-01 | 口碑(上海)信息技术有限公司 | The drink order processing method and order controller realized based on IoT equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3396204B2 (en) * | 2000-05-31 | 2003-04-14 | 株式会社くらコーポレーション | Food supply system for restaurants |
CN108942920A (en) * | 2018-05-30 | 2018-12-07 | 北京极智嘉科技有限公司 | A kind of radio frequency and method of processed food |
-
2019
- 2019-06-04 CN CN201910483560.XA patent/CN110298729A/en active Pending
-
2020
- 2020-03-31 WO PCT/CN2020/082520 patent/WO2020244297A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190004479A (en) * | 2017-07-04 | 2019-01-14 | 오흥일 | Automatic system for ordering and servicing foods and beverages in store and method thereof |
CN109034936A (en) * | 2018-06-06 | 2018-12-18 | 口碑(上海)信息技术有限公司 | It is a kind of that the method, apparatus of Unclaimed commodity is provided |
CN109191693A (en) * | 2018-07-23 | 2019-01-11 | 重庆两江微链智能科技有限公司 | A kind of intelligent robot beverage preparation system with cognition machint |
CN109493529A (en) * | 2018-12-29 | 2019-03-19 | 坤同勃志智能科技(上海)有限公司 | A kind of food drink is prepared and buffer memory device and its application method immediately |
CN109623790A (en) * | 2019-01-09 | 2019-04-16 | 北京精密机电控制设备研究所 | The network-based automatic production drink robot of one kind and control method |
CN110298729A (en) * | 2019-06-04 | 2019-10-01 | 口碑(上海)信息技术有限公司 | The drink order processing method and order controller realized based on IoT equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110298729A (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020244297A1 (en) | Method for processing beverage orders implemented on basis of iot device, and order controller | |
US20210387829A1 (en) | Elevator scheduling methods, apparatuses, servers and computer readable storage media | |
US20150019354A1 (en) | Automated cooking system that accepts remote orders | |
CN105610972B (en) | The task of concentrating type sends system | |
US20170011442A1 (en) | Method and system for automated food and beverage serving | |
WO2020119675A1 (en) | Order delivery method, electronic device, delivery robot, and operation system | |
US20170270470A1 (en) | Method and device for handling allocation request | |
CN110232456A (en) | Food and drink office system and food and drink order information processing method, device | |
WO2021012707A1 (en) | Food production order processing method and apparatus | |
CN110443535A (en) | Picking information of container processing method, device and shops's system | |
CN113393124A (en) | Scheduling method, control method and device of delivery robot and electronic equipment | |
CN109785044A (en) | A kind of order processing method and its server, system | |
CN110292312B (en) | Beverage order processing method and device | |
JP2016515728A (en) | Automated beverage production system and method of operating the same | |
CN109305502A (en) | Material allocation method, apparatus and controlling equipment | |
CN110738549A (en) | Beverage order processing method and Internet of things platform | |
CN109669404B (en) | Automatic kitchen system and control method thereof | |
CN115610928A (en) | Distribution system, distribution method, and computer-readable program storage medium | |
CN109818977A (en) | A kind of access server communication optimization method, access server and communication system | |
CN110033228A (en) | A kind of home office, chain client, server and system | |
CN111145429A (en) | Method for controlling food serving and central control system | |
CN105874757B (en) | A kind of data processing method and multi-core processor system | |
CN113763639A (en) | Food supply equipment and food supply and scheduling method thereof | |
CN104361476B (en) | A kind of online order processing method and system of opening an account | |
US10532334B2 (en) | Paint mixing system |
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: 20819525 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: 20819525 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20819525 Country of ref document: EP Kind code of ref document: A1 |