Making method and system of freshly-made beverage and computer program product
By using server-generated and encoded QR codes to automatically control the ingredients of freshly made beverages, the problem of poor consistency and inaccurate dosage caused by manual memory in existing technologies has been solved, achieving efficient and precise beverage production.
Patent Information
- Application Number
- CN202511735091.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-24
- Publication Date
- 2025-12-23
AI Technical Summary
The production of freshly made beverages suffers from problems such as poor consistency, inaccurate ingredient measurements, high labor costs, and low production efficiency. This is mainly because memorizing recipes by hand is prone to errors and the accuracy of the amount of each ingredient cannot be guaranteed.
The system uses a server to generate and encode formula information into a QR code. The ingredients and their quantities are obtained by scanning and parsing the code through an ingredient supply device, thus achieving automated ingredient output and reducing reliance on manual memory.
To ensure consistent beverage production, reduce labor costs, improve production efficiency, minimize ingredient waste, and avoid human error.
Smart Images

Figure CN121190167A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet of Things (IoT) technology, and in particular to a method, system, and computer program product for making freshly prepared beverages. Background Technology
[0002] Freshly made beverages refer to liquid drinks that are prepared on-site at the sales location according to consumer orders and are meant to be consumed immediately, such as coffee, fruit tea, and milk tea. Currently, the preparation of freshly made beverages is mainly done manually. Specifically, when a consumer places an order for a freshly made beverage, the staff manually mixes various ingredients based on their memory of the recipe to complete the preparation. In other words, staff need to be proficient in memorizing the ingredients and quantities of all types of freshly made beverages, as well as the order in which the ingredients are added. In the preparation of some freshly made beverages, the recipe may also include processing of the ingredients (such as frothing the milk base in coffee preparation), so staff also need to remember the processing methods for the ingredients.
[0003] The problems with the above-mentioned freshly made beverage production methods are: (1) When there are many types of freshly made beverages or when orders surge, it is easy to make mistakes or mix up the recipes when memorizing them manually, thus failing to ensure the consistency of the freshly made beverages; (2) Manual mixing of ingredients cannot ensure the accuracy of the amount of each ingredient, which is not only detrimental to the consistency of the taste of the freshly made beverages, but also easily causes the loss of ingredients; (3) Store staff who are proficient in the recipes of freshly made beverages often need 1-3 months of systematic training, which undoubtedly leads to an increase in labor costs; (4) The state of the human hand may affect the production efficiency of freshly made beverages. Summary of the Invention
[0004] To overcome the aforementioned deficiencies in the prior art, the present invention provides a method for preparing freshly made beverages, the method comprising:
[0005] The server generates corresponding order information based on the received order request for freshly made beverages;
[0006] The server determines the type of the freshly made beverage based on the order information, and the types of freshly made beverages include non-customized and customized.
[0007] The server generates the recipe information for the freshly made beverage based on the order information. The recipe information includes information on all ingredients and their quantities in the freshly made beverage; wherein...
[0008] If the type of freshly made beverage is non-customized, then the information of each ingredient and its quantity in the freshly made beverage is a preset ingredient quantity code corresponding to that ingredient and its quantity.
[0009] If the type of the prepared drink is customized, the information of each ingredient and its amount in the prepared drink includes a preset ingredient code corresponding to the ingredient and an amount code generated according to the amount of the ingredient, or the information of each ingredient and its amount in the partial ingredients of the prepared drink is the ingredient amount code, and the information of each ingredient and its amount in the remaining ingredients includes the ingredient code and the amount code.
[0010] The server generates label information of the prepared drink and sends the label information to a label generating device, and the label generating device generates a visual label according to the label information, wherein the label information includes a two-dimensional code carrying the recipe information.
[0011] The ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain the information of the ingredient corresponding to the ingredient providing device and its amount in the recipe information, and outputs the ingredient with the corresponding amount according to the scanning and analyzing result.
[0012] According to one aspect of the present application, in the preparation method, if the type of the prepared drink is the non-customized, the first correspondence relationship between each ingredient and its amount and the ingredient amount code is pre-stored in the server and the ingredient providing device corresponding to the ingredient; and / or, if the type of the prepared drink is the customized, for the case that the information of each ingredient and its amount includes a preset ingredient code corresponding to the ingredient and an amount code generated according to the amount of the ingredient, the second correspondence relationship between each ingredient in the prepared drink and the ingredient code is pre-stored in the server and the ingredient providing device corresponding to the ingredient; for the case that the information of each ingredient and its amount in the partial ingredients includes the ingredient amount code, and the information of each ingredient and its amount in the remaining ingredients includes the ingredient code and the amount code, the first correspondence relationship between each ingredient in the partial ingredients of the prepared drink and the ingredient amount code, and the second correspondence relationship between each ingredient in the remaining ingredients of the prepared drink and the ingredient code are pre-stored in the server and the ingredient providing device corresponding to the ingredient.
[0013] According to another aspect of the present application, in the case that the type of the prepared beverage is non-customized, the step of the ingredient providing device scanning and analyzing the two-dimensional code in the visualized label to obtain the information of the ingredient corresponding to the ingredient providing device and the amount of the ingredient in the recipe information, and outputting the ingredient in the corresponding amount according to the scanning and analyzing result comprises: the ingredient providing device scanning and analyzing the two-dimensional code in the visualized label to obtain the recipe information; the ingredient providing device extracting the ingredient amount code corresponding to the ingredient providing device from the recipe information, and determining the ingredient and the amount of the ingredient corresponding to the ingredient amount code according to the pre-stored first correspondence relationship; and the ingredient providing device outputting the ingredient in the corresponding amount.
[0014] According to another aspect of the present application, in the case that the type of the prepared beverage is non-customized, the step of the ingredient providing device scanning and analyzing the two-dimensional code in the visualized label to obtain the information of the ingredient corresponding to the ingredient providing device and the amount of the ingredient in the recipe information, and outputting the ingredient in the corresponding amount according to the scanning and analyzing result comprises: the ingredient providing device scanning and analyzing the two-dimensional code in the visualized label to obtain the recipe information; the ingredient providing device extracting the ingredient amount code corresponding to the ingredient providing device from the recipe information, and determining the ingredient and the amount of the ingredient corresponding to the ingredient amount code according to the pre-stored first correspondence relationship; and the ingredient providing device outputting the ingredient in the corresponding amount.
[0015] According to another aspect of the present application, in the manufacturing method, the type of the prepared drink is customized, and the information of each ingredient and its amount in the prepared drink includes the ingredient amount code and the information of each ingredient and its amount in the rest ingredients includes the ingredient code and the amount code, the step of scanning and analyzing the two-dimensional code in the visual label by the ingredient providing device to obtain the information of each ingredient and its amount corresponding to the ingredient providing device in the recipe information and outputting the ingredient with the corresponding amount according to the scanning and analyzing result includes: scanning and analyzing the two-dimensional code in the visual label by the ingredient providing device to obtain the recipe information; the ingredient providing device obtains the code corresponding to it from the recipe information, wherein, if the code includes the ingredient amount code, the ingredient providing device determines the ingredient and its amount corresponding to the ingredient amount code according to the pre-stored first correspondence relationship, if the code includes the ingredient code and the amount code, the ingredient providing device determines the ingredient corresponding to the ingredient code according to the pre-stored second correspondence relationship, and determines the amount of the ingredient according to the amount code; and the ingredient providing device outputs the ingredient with the corresponding amount.
[0016] According to another aspect of the present application, after the server obtains the recipe information of the prepared drink according to the order information, the manufacturing method further includes: the server sends the information of each ingredient and its amount in the recipe information to the corresponding ingredient providing device.
[0017] According to another aspect of the present application, in the manufacturing method, the recipe information includes the processing information of each ingredient in addition to the information of each ingredient and its amount; the ingredient processing device scans and analyzes the two-dimensional code in the visual label to obtain the processing information of each ingredient corresponding to the ingredient processing device in the recipe information, and processes the ingredient according to the scanning and analyzing result.
[0018] According to another aspect of the present application, in the manufacturing method, the label information further includes the adding and processing sequence of each ingredient in the prepared drink.
[0019] According to another aspect of the present application, in the manufacturing method, the prepared drink is coffee, and the ingredients include coffee liquid and auxiliary materials, and the auxiliary materials include milk base and / or syrup; the ingredient providing device corresponding to the coffee liquid is a coffee machine; if the auxiliary materials include milk base, the ingredient providing device corresponding to the milk base is a milk dispenser, the ingredient processing device corresponding to the milk base is the coffee machine, and the processing information is a steam code corresponding to the steam processing mode of the milk base; if the auxiliary materials include syrup, the ingredient providing device corresponding to the syrup is a syrup dispenser.
[0020] The application further provides a system for making a made-to-order beverage, which comprises:
[0021] an order generation module configured to generate corresponding order information according to a received order request for the made-to-order beverage;
[0022] a type determination module configured to determine a type of the made-to-order beverage according to the order information, wherein the type of the made-to-order beverage comprises non-customization and customization;
[0023] a recipe generation module configured to generate recipe information of the made-to-order beverage according to the order information, wherein the recipe information comprises information of all ingredients and their amounts in the made-to-order beverage; and
[0024] if the type of the made-to-order beverage is non-customization, the information of each ingredient and its amount in the made-to-order beverage is preset and an ingredient amount code corresponding to the ingredient and its amount;
[0025] if the type of the made-to-order beverage is customization, the information of each ingredient and its amount in the made-to-order beverage comprises a preset ingredient code corresponding to the ingredient and an amount code generated according to the amount of the ingredient, or the information of each ingredient and its amount in part of the ingredients in the made-to-order beverage is the ingredient amount code, and the information of each ingredient and its amount in the remaining ingredients comprises the ingredient code and the amount code;
[0026] a label information generation module configured to generate label information of the made-to-order beverage, wherein the label information comprises a two-dimensional code carrying the recipe information;
[0027] a sending module configured to send the label information to a label generation device, wherein the label generation device generates a visual label according to the label information;
[0028] an ingredient providing device configured to scan and analyze the two-dimensional code in the visual label to obtain information of an ingredient and its amount corresponding to the ingredient providing device in the recipe information, and output the ingredient in the corresponding amount according to the scanning and analyzing result.
[0029] According to an aspect of the application, in the system for making a made-to-order beverage, the system further comprises a first storage module; the first storage module is configured to pre-store a first correspondence relationship between each ingredient and its amount in a non-customized made-to-order beverage and the ingredient amount code; and the first storage module is further configured to pre-store a second correspondence relationship between each ingredient in a customized made-to-order beverage and the ingredient code, or pre-store a first correspondence relationship between each ingredient and its amount in part of the ingredients in a customized made-to-order beverage and the ingredient amount code, and a second correspondence relationship between each ingredient in the remaining ingredients and the ingredient code.
[0030] According to another aspect of the present application, in the case that the type of the made-to-order beverage is non-customized, the ingredient providing device for making the made-to-order beverage comprises a second storage module, a code scanning module, a processing module and an output module; the second storage module is configured to pre-store a first correspondence relationship between each ingredient in the non-customized made-to-order beverage and its amount and the ingredient amount code; the code scanning module is configured to scan and analyze the two-dimensional code in the visual label to obtain the recipe information; the processing module is configured to extract the ingredient amount code corresponding to the ingredient providing device from the recipe information, and determine the ingredient corresponding to the ingredient amount code and its amount according to the first correspondence relationship; and the output module is configured to output the ingredient with the corresponding amount.
[0031] According to another aspect of the present application, in the case that the type of the made-to-order beverage is non-customized, the ingredient providing device for making the made-to-order beverage comprises a second storage module, a code scanning module, a processing module and an output module; the second storage module is configured to pre-store a first correspondence relationship between each ingredient in the non-customized made-to-order beverage and its amount and the ingredient amount code; the code scanning module is configured to scan and analyze the two-dimensional code in the visual label to obtain the recipe information; the processing module is configured to extract the ingredient amount code corresponding to the ingredient providing device from the recipe information, and determine the ingredient corresponding to the ingredient amount code and its amount according to the first correspondence relationship; and the output module is configured to output the ingredient with the corresponding amount.
[0032] According to another aspect of the present application, in the production system, the type of the made-to-order beverage is customized, and the information of each ingredient and its amount in the part of ingredients of the made-to-order beverage includes the ingredient code and the amount code, and the case that the information of each ingredient and its amount in the rest of ingredients of the made-to-order beverage includes the ingredient code and the amount code, the ingredient providing device for producing the made-to-order beverage comprises a second storage module, a code scanning module, a processing module and an output module; the second storage module is configured to pre-store a first correspondence relationship between each ingredient and its amount in the part of ingredients of the made-to-order beverage and the ingredient amount code, and a second correspondence relationship between each ingredient in the rest of ingredients of the made-to-order beverage and the ingredient code; the code scanning module is configured to scan and analyze the two-dimensional code in the visual label to obtain the recipe information; the processing module is configured to extract the code corresponding to the ingredient providing device from the recipe information; the processing module is further configured to, if the code is the ingredient amount code, determine the ingredient and its amount corresponding to the ingredient amount code according to the pre-stored first correspondence relationship, and if the code includes the ingredient code and the amount code, determine the ingredient corresponding to the ingredient code according to the pre-stored second correspondence relationship and determine the amount of the ingredient according to the amount code; and the output module is configured to output the ingredient with the corresponding amount.
[0033] According to another aspect of the present application, in the production system, the sending module is further configured to send the information of the ingredient and its amount in the recipe information to the corresponding ingredient providing device after the recipe generating module obtains the recipe information of the made-to-order beverage according to the order information.
[0034] According to another aspect of the present application, in the production system, the recipe information includes the processing information of the ingredient in addition to the amount information of the ingredient; and the production system further comprises an ingredient processing device configured to scan and analyze the two-dimensional code in the visual label to obtain the processing information of the ingredient corresponding to the ingredient processing device in the recipe information, and process the ingredient according to the scanning and analyzing result.
[0035] According to another aspect of the present application, in the production system, the label information further includes the adding and processing sequence of the ingredients in the made-to-order beverage.
[0036] According to still another aspect of the present application, in the making system, the made-to-order beverage is coffee, the ingredients include coffee liquid and auxiliary ingredients, the auxiliary ingredients include milk base and / or syrup; the ingredient providing device corresponding to the coffee liquid is a coffee machine; if the auxiliary ingredients include milk base, the ingredient providing device corresponding to the milk base is a milk dispensing machine, the ingredient processing device corresponding to the milk base is the coffee machine, and the processing information is a steam code corresponding to a steam processing mode of the milk base; if the auxiliary ingredients include syrup, the ingredient providing device corresponding to the syrup is a syrup dispensing machine.
[0037] The present application also provides a computer program product, which comprises a computer program, wherein the computer program is executed by a processor to implement the foregoing method.
[0038] The making method of the made-to-order beverage provided by the present application has the following advantages. On one hand, the server generates the recipe information of the made-to-order beverage and encodes the recipe information to form a two-dimensional code, the two-dimensional code is provided to the ingredient providing device with a visual label as a carrier, the ingredient providing device scans and analyzes the two-dimensional code on the visual label to obtain the ingredients and their amounts corresponding to the ingredient providing device, and outputs the ingredients in corresponding amounts based on the ingredients and their amounts, that is, the whole making process of the made-to-order beverage no longer depends on the memory of the recipe by human beings, so that the situation of misremembering or mixing up the recipe does not occur, which is beneficial to ensuring the consistency of the made-to-order beverage. On the other hand, the ingredient providing device provides the ingredients based on the ingredients and their amounts obtained by the ingredient providing device, compared with manually providing the ingredients by human beings, the present application can ensure the accuracy of the amounts of the ingredients, which is beneficial to ensuring the consistency of the taste of the made-to-order beverage, and can effectively avoid the loss of the ingredients due to the errors in the manual operation. On the other hand, since the memory of the recipe by human beings is no longer needed, the training requirements for human beings and the training time can be reduced, which is beneficial to reducing the labor cost. On the other hand, the present application is mainly realized by the server and the ingredient providing device working cooperatively, compared with the prior art mainly relying on manual operation, the present application can effectively ensure the accuracy and the making efficiency of the made-to-order beverage.
[0039] In addition, the server generates the information of the ingredients and the amounts of the ingredients in the made-to-order beverage in an encoded manner, which is conducive to improving the efficiency of generating the recipe information. Moreover, the encoded manner of the information of the ingredients and the amounts of the ingredients is different for different types of made-to-order beverages. Specifically, for the non-customized made-to-order beverage, the preset ingredient amount code is used as the information of the ingredients and the amounts of the ingredients. In this case, the encoded manner and the length of the ingredient amount code are relatively low, which is conducive to reducing the difficulty of encoding and the storage space in the server, and accordingly, the difficulty of decoding by the ingredient providing device is reduced. For the customized made-to-order beverage, the possible recipe information is much more than that of the non-customized made-to-order beverage. If the encoded manner of the non-customized made-to-order beverage is used, a large amount of storage space in the server will be occupied, and time and labor will be wasted and omission will easily occur. When the possible recipe information of the customized made-to-order beverage increases or decreases, the recipe information in the server needs to be modified accordingly. Therefore, for the customized made-to-order beverage, at least part of the information of the ingredients and the amounts of the ingredients is formed by combining the ingredient code and the amount code, in which the ingredient code is preset and the amount code is generated according to the amount in the order information. Specifically, when all the ingredients in the customized made-to-order beverage face many possibilities of the amount combination, the information of all the ingredients and the amounts of the ingredients is formed by combining the ingredient code and the amount code. When part of the ingredients in the customized made-to-order beverage face less possibilities of the amount combination and the other ingredients face more possibilities of the amount combination, for the ingredients facing less possibilities of the amount combination, the information of the ingredients and the amounts of the ingredients is realized by using the ingredient amount code in the non-customized made-to-order beverage, and for the ingredients facing more possibilities of the amount combination, the information of the ingredients and the amounts of the ingredients is realized by combining the ingredient code and the amount code. Since this manner does not need to pre-store all the possible information of the ingredients and the amounts of the ingredients of the customized made-to-order beverage, when the possible recipe information of the customized made-to-order beverage increases or decreases, the pre-stored recipe information in the server does not need to be increased or decreased, or only needs to be slightly modified. In this way, the storage space of the server, the labor and the time are saved, and the omission of the pre-stored recipe information is effectively avoided. BRIEF DESCRIPTION OF DRAWINGS
[0040] Other features, objects, and advantages of the application will become more apparent from the following detailed description of non-limiting embodiments thereof, when read in conjunction with the accompanying drawings:
[0041] Figure 1 is a flow chart of a method for making a made-to-order beverage according to a specific embodiment of the application;
[0042] Figure 2is a schematic diagram of a made-on-the-spot beverage making system according to another specific embodiment of the present application;
[0043] Figure 3 is a schematic diagram of a made-on-the-spot beverage making system according to another specific embodiment of the present application.
[0044] The same or similar reference signs in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0045] In order to better understand and illustrate the present application, the present application will be further described in detail below with reference to the accompanying drawings.
[0046] The present application provides a made-on-the-spot beverage making method, as shown in Figure 1 The making method comprises the following steps:
[0047] In step S101, a server generates corresponding order information according to a received made-on-the-spot beverage ordering request;
[0048] In step S102, the server determines the type of the made-on-the-spot beverage according to the order information, wherein the type of the made-on-the-spot beverage includes non-customization and customization;
[0049] In step S103, the server generates the recipe information of the made-on-the-spot beverage according to the order information, wherein the recipe information includes the information of all ingredients and their amounts in the made-on-the-spot beverage; and wherein,
[0050] If the type of the made-on-the-spot beverage is non-customization, the information of each ingredient and its amount in the made-on-the-spot beverage is preset and is the ingredient amount code corresponding to the ingredient and its amount;
[0051] If the type of the made-on-the-spot beverage is customization, the information of each ingredient and its amount in the made-on-the-spot beverage includes the preset ingredient code corresponding to the ingredient and the amount code generated according to the amount of the ingredient, or the information of each ingredient and its amount in part of the ingredients in the made-on-the-spot beverage is the ingredient amount code, and the information of each ingredient and its amount in the remaining ingredients includes the ingredient code and the amount code;
[0052] In step S104, the server generates the label information of the made-on-the-spot beverage and sends the label information to a label generating device, wherein the label generating device generates a visual label according to the label information, and wherein the label information includes a two-dimensional code carrying the recipe information.
[0053] In step S105, the ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain information of the ingredient and its usage amount corresponding to the ingredient providing device in the recipe information, and outputs the ingredient with the corresponding usage amount according to the scanning and analyzing result.
[0054] The above steps S101 to S105 will be described in detail below.
[0055] Specifically, in step S101, after the consumer places an order to purchase a made-to-order beverage through, for example, an APP or a mini program on a mobile terminal, or an ordering device of a beverage selling store, an order request for the made-to-order beverage is sent to a server. The server generates corresponding order information after receiving the order request for the made-to-order beverage from the consumer.
[0056] In the present embodiment, the types of the made-to-order beverage include non-customized and customized. Hereinafter, the made-to-order beverage of the type of non-customized is referred to as non-customized made-to-order beverage, and the made-to-order beverage of the type of customized is referred to as customized made-to-order beverage. The non-customized made-to-order beverage refers to a beverage whose all adjustable parameters are strictly limited within the range of options preset by the merchant. The consumer can only choose from the given range and cannot customize, so the consumer's choice neither changes the core flavor characteristics of the beverage nor involves changes in the beverage making process. The customized made-to-order beverage refers to a beverage whose adjustable parameters can be personalized by the consumer. These adjustments and combinations break the range of options preset by the merchant and affect the core flavor or the making process of the beverage.
[0057] In the present embodiment, the order information of the made-to-order beverage includes, but is not limited to, basic information (such as order number, order time, store-related information, etc.), product information, user information (such as user ID, membership level, etc.), payment information (such as payment method, payment status, etc.), and the like. For a non-customized made-to-order beverage, the product information includes, in addition to the conventional information such as the unique identifier of the product (hereinafter, the product SKU code is taken as an example for illustration), unit price, and quantity, the non-customized parameters (i.e., the limited adjustable options preset by the merchant within the standardized production framework). Taking coffee as an example of the made-to-order beverage, the common non-customized parameters usually include cup type (such as large / standard / small), temperature (such as hot / cold / iced), sweetness (such as standard sweet / less sweet / less less sweet / micro sweet / no additional sugar), milk base (such as pure milk / oat milk / coconut milk), coffee concentration (such as default concentration / one extra shot of concentrate / two extra shots of concentrate), extraction method (such as original extraction concentrate / full extraction concentrate / precise extraction concentrate), and the like. For a customized made-to-order beverage, the product information includes, in addition to the conventional information such as the unique identifier of the product, unit price, and quantity, the customized parameters (i.e., the options that can be personalized by the consumer beyond the preset range of the merchant). Still taking coffee as an example of the made-to-order beverage, the customized parameters can include, for example, 70% pure milk and 30% oat milk as the milk base, one portion of hazelnut syrup and two portions of vanilla syrup as the syrup, and the like. It should be noted that how the server generates the order information according to the order request, and the content composition of the order information are all conventional technical means known to those skilled in the art, and for the sake of simplicity, will not be described here.
[0058] In step S102, the server determines the type of the made-to-order beverage according to the order information of the made-to-order beverage. In one specific application scenario, the selling stores of the made-to-order beverage are divided into non-customized stores and customized stores, the non-customized stores are used for selling non-customized made-to-order beverages, and the customized stores are used for selling customized made-to-order beverages. In this scenario, the server can determine the type of the made-to-order beverage according to the store-related information (such as identification information such as store name, store number, and store location information) in the order information to determine the type of the made-to-order beverage ordered by the consumer. Those skilled in the art can understand that determining the type of the made-to-order beverage through the store-related information is only one specific implementation, which should not be a limitation on the determination of the type of the made-to-order beverage. In other embodiments, the order information generated by the server can directly carry the beverage type information, and the server can determine the type of the made-to-order beverage ordered by the consumer through the beverage type information, which is not limited by the present application.
[0059] In step S103, the server generates the recipe information of the made-to-order beverage according to the order information. In the present embodiment, the made-to-order beverage includes at least one ingredient, and the recipe information of the made-to-order beverage includes the information of all the ingredients and their amounts.
[0060] For the case that the prepared drink is a non-customized drink, since the ingredients and their amounts are fixed within the standardized production framework of the merchant, the recipe information of the prepared drink can be pre-stored in the server. For example, the prepared drink is an Americano (standard cup) which includes two ingredients of coffee liquid (specifically, espresso roast original espresso) and pure milk, the amount of the espresso roast original espresso is 2 portions, and the amount of the pure milk is 150 g. Therefore, the recipe information of the Americano (standard cup) is pre-stored in the server, which includes the information of “espresso roast original espresso 2 portions” and “pure milk 150 g”. For another example, the prepared drink is a vanilla latte (standard cup) which includes three ingredients of coffee liquid (specifically, espresso medium roast espresso), pure milk, and vanilla syrup, the amount of the espresso medium roast espresso is 2 portions, the amount of the pure milk is 200 g, and the amount of the vanilla syrup is 20 g. Therefore, the recipe information of the vanilla latte (standard cup) is pre-stored in the server, which includes the information of “espresso medium roast espresso 2 portions”, “pure milk 200 g”, and “vanilla syrup 20 g”. It should be noted that the above amounts are only illustrative examples. In addition, for non-customized drinks, the recipe information of each prepared drink in the server is usually associated with the prepared drink and its SKU code, which is a conventional technical means in the art. Based on this, after the server generates the corresponding order information according to the received ordering request of the non-customized prepared drink, the SKU code of the prepared drink in the order information is matched with the SKU codes of all prepared drinks pre-stored in the server, and the recipe information associated with the SKU code in the server is obtained after successful matching.
[0061] In the present embodiment, for non-customized beverages, the server pre-sets a corresponding ingredient amount code for each ingredient and its amount in the made-to-order beverage, and pre-stores a first correspondence relationship between the ingredient and its amount and the ingredient amount code. In addition, the server also associates the made-to-order beverage and its SKU code with each ingredient and its amount in the made-to-order beverage. Based on this, when the server generates the recipe information of the made-to-order beverage according to the order information, the server matches the SKU code of the made-to-order beverage in the order information with the pre-stored SKU code of the made-to-order beverage, obtains the ingredient amount code corresponding to each ingredient and its amount associated with the SKU code after successful matching, and takes the ingredient amount code as the information of the corresponding ingredient and its amount, and generates the recipe information of the made-to-order beverage based on all the obtained ingredient amount codes. That is, in the present embodiment, the information of each ingredient and its amount is in the form of an ingredient amount code, and accordingly, the recipe information is in the form of a combination of multiple ingredient amount codes. It should be noted that the first correspondence relationship between each ingredient and its amount in the made-to-order beverage and the ingredient amount code needs to be pre-stored in the corresponding ingredient providing device in addition to being pre-stored in the server. Taking coffee as an example, the ingredients include coffee liquid, milk base, and syrup, wherein the first correspondence relationship between the coffee liquid and its amount and the corresponding ingredient amount code is pre-stored in the ingredient providing device (e.g., coffee machine) for providing coffee liquid, the first correspondence relationship between the milk base and its amount and the corresponding ingredient amount code is pre-stored in the ingredient providing device (e.g., milk dispenser) for providing milk base, and the first correspondence relationship between the syrup and its amount and the corresponding ingredient amount code is pre-stored in the ingredient providing device (e.g., syrup dispenser) for providing syrup.
[0062] For the case that the prepared drink is a customized drink, the order information of the prepared drink generated by the server includes customized parameters corresponding to the ingredients and their amounts defined by the consumer. In this case, the server generates the recipe information of the prepared drink through the customized parameters in the order information. For example, a customized coffee, the consumer defines the ingredients including espresso, pure milk, oat milk, vanilla syrup and caramel syrup, and the amount of espresso is 1.5 servings, the amount of pure milk is 140 ml, the amount of oat milk is 60 ml, the amount of vanilla syrup is 2 pumps, and the amount of caramel syrup is 3 pumps when ordering. The order information generated by the server based on the above ordering request will include the customized parameters "espresso 1.5 servings", "pure milk 140 ml", "oat milk 60 ml", "vanilla syrup 2 pumps" and "caramel syrup 3 pumps". Correspondingly, the server obtains the recipe information of the coffee through the above customized parameters, including the information of "espresso 1.5 servings", "pure milk 140 ml", "oat milk 60 ml", "vanilla syrup 2 pumps" and "caramel syrup 3 pumps". It should be noted that for the case that the amount of ingredients in the order information uses industry customary units of measurement (such as pumps, servings, etc.), when generating the recipe information through the customized parameters in the order information, for the ingredients whose amount uses industry customary units of measurement, the amount of these ingredients can be uniformly converted to international standard units of measurement (such as grams, milliliters, etc.) according to actual needs, or the amount of some ingredients is converted to international standard units of measurement, and the amount of other ingredients remains industry customary units of measurement, which is not limited in the present application. Still taking the above order information including the customized parameters "espresso 1.5 servings", "pure milk 140 ml", "oat milk 60 ml", "vanilla syrup 2 pumps" and "caramel syrup 3 pumps" as an example, the server can keep espresso 1.5 servings, pure milk 140 ml and oat milk 60 ml unchanged, and only convert vanilla syrup 2 pumps and caramel syrup 3 pumps to specific grams (i.e. convert the amount units of vanilla syrup and caramel syrup from pumps to grams). Of course, those skilled in the art can understand that even if the amount of ingredients in the order information uses international standard units of measurement, the amount of ingredients can also be converted from one international standard unit of measurement to another international standard unit of measurement according to actual needs.Still taking the order information including the customized parameters "espresso 1.5 shots", "milk 140 ml", "oat milk 60 ml", "vanilla syrup 2 pumps" and "caramel syrup 3 pumps" as an example, the server keeps the espresso 1.5 shots unchanged, converts the vanilla syrup 2 pumps and the caramel syrup 3 pumps into specific grams, and further converts the milk 140 ml and the oat milk 60 ml into specific grams (i.e. converts the usage units of the milk and the oat milk from milliliters to grams) for consistency.
[0063] In the present embodiment, for a customized freshly-made beverage, if the possibilities of each ingredient and the usage thereof in the freshly-made beverage are relatively large (e.g. the number of possibilities exceeds a certain threshold), the server pre-stores a second correspondence relationship between each ingredient and an ingredient code corresponding thereto. When the server generates the recipe information of the freshly-made beverage according to the order information, on the one hand, the server obtains all the ingredients of the freshly-made beverage from the order information and obtains the ingredient code corresponding to each ingredient according to the pre-stored second correspondence relationship, and on the other hand, the server obtains the usage of each ingredient in the freshly-made beverage from the order information and generates a usage code corresponding to the usage of each ingredient (e.g. the usage of each ingredient can be encoded according to a pre-set encoding rule to generate the usage code). For a certain ingredient, the server takes the ingredient code corresponding to the ingredient and the usage code corresponding to the usage of the ingredient together as the information of the ingredient and the usage thereof. After obtaining the ingredient codes corresponding to all the ingredients of the freshly-made beverage and generating the usage codes corresponding to the usages of all the ingredients, the server generates the recipe information of the freshly-made beverage based on the obtained ingredient codes and usage codes. That is, in the present embodiment, the recipe information is in the form of a combination of multiple ingredient codes and multiple usage codes. It should be noted that the second correspondence relationship between each ingredient of the freshly-made beverage and the ingredient code needs to be pre-stored in the corresponding ingredient providing device in addition to being pre-stored in the server. Taking coffee as an example, the ingredients thereof include coffee liquid, milk base and syrup, wherein the second correspondence relationship between the coffee liquid and the corresponding ingredient code is pre-stored in the ingredient providing device (e.g. coffee machine) for providing the coffee liquid, the second correspondence relationship between the milk base and the corresponding ingredient code is pre-stored in the ingredient providing device (e.g. milk dispenser) for providing the milk base, and the second correspondence relationship between the syrup and the corresponding ingredient code is pre-stored in the ingredient providing device (e.g. syrup dispenser) for providing the syrup.
[0064] For the customized made-to-order beverage, if the possibility of part of the ingredients and their amounts in the made-to-order beverage is less, the information of the part of the ingredients and their amounts can be expressed in the form of ingredient amount code when the server generates the recipe information of the beverage, while the information of the rest of the ingredients and their amounts is still expressed in the form of ingredient code and amount code. Specifically, for part of the ingredients (to be referred to as first ingredients hereinafter for the sake of distinction) in the customized beverage, the server pre-sets an ingredient amount code corresponding to each ingredient and its amount in the first ingredients, and pre-stores a first correspondence relationship between the first ingredients and their amounts and the ingredient amount code. For the other ingredients (to be referred to as second ingredients hereinafter) in the customized beverage, the server pre-sets an ingredient code corresponding to the second ingredients, and pre-stores a second correspondence relationship between the second ingredients and the ingredient code. When the server generates the recipe information of the made-to-order beverage according to the order information, for the first ingredients, the server acquires the ingredient amount code corresponding to the first ingredients according to the pre-stored first correspondence relationship, and takes the ingredient amount code as the information of the corresponding first ingredients and their amounts; for the second ingredients, the server acquires the ingredient code corresponding to the second ingredients according to the pre-stored second correspondence relationship, and generates an amount code corresponding to the amount of the second ingredients, and takes the ingredient code and the amount code as the information of the corresponding second ingredients and their amounts. After acquiring the ingredient amount code corresponding to the first ingredients and their amounts, the ingredient code corresponding to the second ingredients, and the amount code corresponding to the amount of the second ingredients, the server forms the recipe information of the made-to-order beverage based on the acquired ingredient amount code, ingredient code and amount code. That is, in the embodiment, the recipe information is in the form of combination of ingredient amount code, ingredient code and amount code. It should be noted that the first correspondence relationship between the first ingredients and their amounts and the ingredient amount code, and the second correspondence relationship between the second ingredients and the ingredient code are pre-stored in the server, and need to be synchronized to the corresponding ingredient providing devices for pre-storing. Taking coffee as an example, it includes first ingredients coffee liquid and second ingredients milk base and syrup, wherein the first correspondence relationship between the coffee liquid and its amount and the corresponding ingredient amount code is synchronized to the ingredient providing device (for example, coffee machine) for providing the coffee liquid for pre-storing, the second correspondence relationship between the milk base and the corresponding ingredient code is synchronized to the ingredient providing device (for example, milk dispensing machine) for providing the milk base for pre-storing, and the second correspondence relationship between the syrup and the corresponding ingredient code is synchronized to the ingredient providing device (for example, syrup dispensing machine) for providing the syrup for pre-storing.
[0065] It should be noted that in other embodiments, if the type of the made-to-order beverage is non-customized, the first correspondence between each ingredient and the ingredient amount code and the ingredient providing device corresponding to the ingredient is pre-stored in the server; or if the type of the made-to-order beverage is customized, the information about each ingredient and the amount of the ingredient includes the preset ingredient code corresponding to the ingredient and the amount code generated according to the amount of the ingredient, and the second correspondence between each ingredient in the made-to-order beverage and the ingredient code is pre-stored in the server and the ingredient providing device corresponding to the ingredient; in the case that the information about each ingredient in part of the ingredients and the amount of the ingredient is the ingredient amount code, and the information about each ingredient in the remaining ingredients and the amount of the ingredient includes the ingredient code and the amount code, the first correspondence between each ingredient in part of the ingredients in the made-to-order beverage and the ingredient amount code, and the second correspondence between each ingredient in the remaining ingredients in the made-to-order beverage and the ingredient code are pre-stored in the server and the ingredient providing device corresponding to the ingredient. The present application does not make specific limitations thereto.
[0066] In step S104, first, the server encodes the obtained recipe information of the made-to-order beverage according to a predetermined two-dimensional code encoding rule to generate a corresponding two-dimensional code, i.e., the two-dimensional code carries the recipe information of the made-to-order beverage. Next, the server generates the label information of the made-to-order beverage according to the order information, wherein the label information includes, in addition to the conventional information (including but not limited to user information, order time, beverage name, pick-up code, etc.), the two-dimensional code formed based on the recipe information of the made-to-order beverage. Finally, the server sends the generated label information of the made-to-order beverage to a label generating device, and the label generating device generates a visual label according to the label information. In the present embodiment, the label generating device is a printer (such as a thermal label printer, etc.), and the visual label is a physical label, i.e., the printer generates a physical label by printing after receiving the label information sent by the server. It can be understood by those skilled in the art that in other embodiments, the label generating device can also be an electronic device with a screen such as a mobile phone, a tablet, etc., and correspondingly the visual label is an electronic label presented on the screen of the electronic device. The present application does not make any limitations thereto, and the specific types of the label generating device and the visual label can be selected according to the actual application scenario. In the following, the label device is taken as an example of a printer, and the visual label is taken as a physical label for illustration. After the visual label is printed, it is usually pasted on the surface of the cup body (such as the side of the cup body) for holding the made-to-order beverage. It should be noted that the encoding of the recipe information by the server to generate the two-dimensional code, the generation of the label information according to the order information, and the sending of the label information to the label generating device to generate the visual label are all conventional technical means in the field. For the sake of simplicity, the specific implementation process will not be described here.
[0067] In step S105, the ingredient providing device scans and resolves the visual label on the cup and outputs the corresponding amount of ingredient according to the scanning and resolving result. In the embodiment, different types of ingredients are provided by different ingredient providing devices. Take the example of the prepared beverage being coffee, the ingredient providing device for providing coffee liquid is a coffee machine (preferably a coffee machine capable of generating coffee liquid by freshly grinding coffee beans), the ingredient providing device for providing milk base is a milk dispensing machine (preferably a milk dispensing machine capable of providing different categories of milk), and the ingredient providing device for providing syrup is a syrup dispensing machine (preferably a syrup dispensing machine capable of providing different categories of syrup). That is, the preparation of the prepared beverage usually requires the provision of multiple types of ingredient providing devices. After the visual label is printed, the different types of ingredient providing devices sequentially scan and resolve the two-dimensional code on the visual label in the order of adding ingredients in the prepared beverage to obtain the recipe information carried by the two-dimensional code, then obtain the information of the ingredient and the amount corresponding to the ingredient providing device from the recipe information according to the predetermined rule, and output the corresponding amount of ingredient according to the information of the ingredient and the amount corresponding to the ingredient providing device. Take the example of the prepared beverage being the aforementioned vanilla latte (standard cup), the recipe information of which includes the information of "espresso 2 servings", "pure milk 150g", and "vanilla syrup 20g", wherein the order of adding ingredients is vanilla syrup, pure milk (to be frothed), and espresso. Based on this, first, the syrup dispensing machine for providing syrup scans and resolves the two-dimensional code on the physical label to obtain the recipe information and obtains the information of vanilla syrup and its amount from the recipe information, and outputs 20g of vanilla syrup into the cup according to the information of vanilla syrup and its amount; then, the milk dispensing machine for providing milk base scans and resolves the two-dimensional code on the physical label to obtain the recipe information and obtains the information of pure milk and its amount from the recipe information, and outputs 200g of pure milk (which is heated and frothed and then poured into the cup to mix with the syrup) according to the information of pure milk and its amount; finally, the coffee machine for providing espresso scans and resolves the two-dimensional code on the physical label to obtain the recipe information and obtains the information of espresso and its amount from the recipe information, and outputs 2 servings of espresso into the cup according to the information of espresso and its amount. Thus, the preparation of the vanilla latte is completed.
[0068] In the embodiment, if the prepared drink is a non-customized prepared drink, the step of the ingredient providing device scanning and analyzing the two-dimensional code in the visual label to obtain the information of the ingredient corresponding to the ingredient providing device and the amount of the ingredient in the recipe information, and outputting the ingredient in the corresponding amount according to the scanning and analyzing result includes: first, the ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain the recipe information; then, the ingredient providing device extracts the ingredient code and the amount code corresponding to the ingredient providing device from the recipe information, and determines the ingredient corresponding to the ingredient code and the amount of the ingredient according to the pre-stored first correspondence relationship, which are the ingredient and the amount of the ingredient to be output by the ingredient providing device; finally, the ingredient providing device outputs the ingredient in the corresponding amount.
[0069] If the prepared drink is a customized prepared drink, and the information of the ingredient and the amount of the ingredient in the prepared drink is the ingredient code and the amount code, the step of the ingredient providing device scanning and analyzing the two-dimensional code in the visual label to obtain the information of the ingredient corresponding to the ingredient providing device and the amount of the ingredient in the recipe information, and outputting the ingredient in the corresponding amount according to the scanning and analyzing result includes: first, the ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain the recipe information; then, the ingredient providing device extracts the ingredient code and the amount code corresponding to the ingredient providing device from the recipe information, and determines the ingredient corresponding to the ingredient code and the amount of the ingredient according to the pre-stored second correspondence relationship, which are the ingredient and the amount of the ingredient to be output by the ingredient providing device; finally, the ingredient providing device outputs the ingredient in the corresponding amount.
[0070] If the prepared drink is a customized prepared drink, and the information of the first ingredient and the amount of the ingredient is the ingredient amount code, and the information of the second ingredient and the amount of the ingredient is the ingredient code and the amount code, the step of the ingredient providing device scanning and analyzing the two-dimensional code in the visual label to obtain the information of the ingredient corresponding to the ingredient providing device and the amount of the ingredient in the recipe information, and outputting the ingredient in the corresponding amount according to the scanning and analyzing result includes: first, the ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain the recipe information; then, the ingredient providing device obtains the code corresponding to the ingredient providing device from the recipe information, wherein if the code corresponding to the ingredient providing device includes the ingredient amount code, the ingredient providing device determines the ingredient corresponding to the ingredient amount code and the amount of the ingredient according to the pre-stored first correspondence relationship, as the ingredient and the amount of the ingredient to be output; if the code includes the ingredient code and the amount code, the ingredient providing device determines the ingredient corresponding to the ingredient code and the amount of the ingredient according to the pre-stored second correspondence relationship, and takes the two as the ingredient and the amount of the ingredient to be output by the ingredient providing device; finally, the ingredient providing device outputs the ingredient in the corresponding amount.
[0071] It should be noted that (1) the present application does not limit the specific structure of the ingredient providing device, and any device that can scan and analyze a two-dimensional code to obtain recipe information and obtain information of corresponding ingredients and their amounts from the recipe information is suitable for the ingredient providing device in the present application. If the ingredient providing device is a coffee machine, the coffee machine includes a code scanning module, a processing module, and a coffee liquid output module. The code scanning module (such as a code scanner) is used to scan and analyze the two-dimensional code on the visual label to obtain the recipe information. The processing module (such as a main control circuit board) is connected with the code scanning module and is used to obtain the information of the coffee liquid and its amount from the recipe information analyzed by the code scanning module. The coffee liquid output module is connected with the processing module and is used to output the coffee liquid with the corresponding amount according to the information of the coffee liquid and its amount obtained by the processing module. If the ingredient providing device is a milk dispensing machine, the milk dispensing machine includes a code scanning module, a processing module, and a milk base output module. The code scanning module (such as a code scanner) is used to scan and analyze the two-dimensional code on the visual label to obtain the recipe information. The processing module (such as a main control circuit board) is connected with the code scanning module and is used to obtain the information of the milk base and its amount from the recipe information analyzed by the code scanning module. The milk base output module is connected with the processing module and is used to output the milk base with the corresponding amount according to the information of the milk base and its amount obtained by the processing module. If the ingredient providing device is a syrup dispensing machine, the syrup dispensing machine includes a code scanning module, a processing module, and a syrup output module. The code scanning module (such as a code scanner) is used to scan and analyze the two-dimensional code on the visual label to obtain the recipe information. The processing module (such as a main control circuit board) is connected with the code scanning module and is used to obtain the information of the syrup and its amount from the recipe information analyzed by the code scanning module. The syrup output module is connected with the processing module and is used to output the syrup with the corresponding amount according to the information of the syrup and its amount obtained by the processing module.
[0072] (2) For all ingredients of the freshly made beverage, it is possible that all ingredients are provided by the corresponding ingredient providing device, or it is also possible that only part of the ingredients can be provided by the corresponding ingredient providing device. Among them, those ingredients that cannot be provided by the ingredient providing device can be manually provided by human.
[0073] (3) The server encodes the recipe information according to a predetermined encoding rule to generate a two-dimensional code including all the ingredient and its amount information, and the ingredient providing device decodes the two-dimensional code according to a decoding rule corresponding to the encoding rule to obtain the recipe information and acquire the ingredient and its amount information corresponding thereto from the recipe information. This process is a routine technical means in the art, and thus will not be described in detail herein. In addition, those skilled in the art can understand that, according to the requirements of the actual application scenario, the two-dimensional code can carry other information (for example, information that can assist the ingredient providing device in identifying the corresponding ingredient and its amount) in addition to the recipe information. In this case, the recipe information and other information can be encoded together to generate the two-dimensional code, and the present application does not make specific limitations thereto.
[0074] (4) In the present embodiment, the addition sequence of the ingredients in the made-to-order beverage is pre-stored in the server. Based on this, when the server generates the tag information, the server acquires the addition sequence of the ingredients from the pre-stored information and takes it as a part of the tag information. In this way, the addition sequence of the ingredients is included on the visualized tag, which serves as the basis for the ingredient providing device to provide the ingredients. It should be noted that, for a customized beverage, although the ingredients and their amounts are selected by the consumer, the addition sequence of the ingredients in the production process usually still follows the standard process flow of the beverage. Therefore, when the server generates the tag information of the customized beverage, the addition sequence of the ingredients can be acquired from the standard process flow of the beverage pre-stored in the server as the addition sequence of the ingredients of the customized beverage.
[0075] The method for making a freshly-made beverage provided by the application, on the one hand, the server generates the recipe information of the freshly-made beverage and encodes the recipe information to form a two-dimensional code, the two-dimensional code is provided to the ingredient providing device with a visual label as a carrier, the ingredient providing device scans and analyzes the two-dimensional code on the visual label to obtain the ingredients and the amount thereof corresponding to the ingredient providing device, and outputs the ingredients in the corresponding amount based on the ingredients and the amount thereof, that is, the entire process of making the freshly-made beverage no longer depends on the memory of the recipe by human beings, so that the situation of misremembering or mixing up the recipe does not occur, which is beneficial to ensure the consistency of the freshly-made beverage; on the other hand, the ingredient providing device provides the ingredients based on the ingredients and the amount thereof obtained by the analysis, compared with manually providing the ingredients by human beings, the implementation of the application can ensure the accuracy of the amount of the ingredients, which is beneficial to ensure the consistency of the taste of the freshly-made beverage, and can also effectively avoid the loss of the ingredients due to the error of manual operation; on the other hand, since the memory of the recipe by human beings is no longer relied on, the training requirements for human beings and the training time can be reduced, which is beneficial to reduce the labor cost; on the other hand, the application is mainly realized by the server and the ingredient providing device, compared with the prior art mainly relying on manual operation, the implementation of the application can effectively ensure the efficiency of making the freshly-made beverage.
[0076] In addition, the server generates the information of the ingredients and the amounts of the ingredients in the made-to-order beverage in an encoded manner, which is conducive to improving the efficiency of generating the recipe information. Moreover, the encoding manner of the information of the ingredients and the amounts of the ingredients is different for different types of made-to-order beverages. Specifically, for the non-customized made-to-order beverage, the preset ingredient amount code is used as the information of the ingredients and the amounts of the ingredients. In this case, the encoding manner and the length of the ingredient amount code are relatively low, which is conducive to reducing the difficulty of encoding and the storage space in the server, and accordingly, the difficulty of decoding by the ingredient providing device is also reduced. For the customized made-to-order beverage, the possible recipe information is much more than that of the non-customized made-to-order beverage. If the encoding manner of the non-customized made-to-order beverage is used, a large amount of storage space in the server will be occupied, and time and labor will be wasted and omission will easily occur. When the possible recipe information of the customized made-to-order beverage increases or decreases, the server needs to be modified accordingly. Therefore, for the customized made-to-order beverage, at least part of the information of the ingredients and the amounts of the ingredients is formed by combining the ingredient code and the amount code, in which the ingredient code is preset, and the amount code is generated according to the amount in the order information. Specifically, when all the ingredients in the customized made-to-order beverage face many possible combinations of the amounts, the information of all the ingredients and the amounts of the ingredients is formed by combining the ingredient code and the amount code. When some of the ingredients in the customized made-to-order beverage face less possible combinations of the amounts, and the other ingredients face more possible combinations of the amounts, for the ingredients facing less possible combinations of the amounts, the information of the ingredients and the amounts of the ingredients is realized by using the ingredient amount code in the non-customized made-to-order beverage, and for the ingredients facing more possible combinations of the amounts, the information of the ingredients and the amounts of the ingredients is realized by combining the ingredient code and the amount code. Since this manner does not need to pre-store all the possible information of the ingredients and the amounts of the ingredients of the customized made-to-order beverage, when the possible recipe information of the customized made-to-order beverage increases or decreases, the pre-stored recipe information in the server does not need to be increased or decreased, or only needs to be slightly modified. In this way, the storage space of the server, the manpower and the time are saved, and the omission of the pre-stored recipe information is effectively avoided.
[0077] The method provided by the present application is described in a specific embodiment for non-customized freshly-made drinks. In this embodiment, the freshly-made drink is a non-customized vanilla latte (standard cup), and the ingredients thereof include espresso, pure milk and vanilla syrup, wherein the amount of espresso is 2 portions, the amount of pure milk is 200 g, and the amount of vanilla syrup is 20 g. In the server, the SKU code of this freshly-made drink is SP1001-0028, the ingredient amount code of 2 portions of espresso (i.e., coffee liquid and the amount thereof) is 111, the ingredient amount code of 200 g of pure milk (i.e., milk base and the amount thereof) is 210, and the ingredient amount code of 20 g of vanilla syrup (i.e., syrup and the amount thereof) is 320. Among them, the first correspondence between 2 portions of espresso and the ingredient amount code 111 is synchronized to the ingredient providing device for providing coffee liquid, the first correspondence between 200 g of pure milk and the ingredient amount code 210 is synchronized to the ingredient providing device for providing milk base, and the first correspondence between 20 g of vanilla syrup and the ingredient amount code 320 is synchronized to the ingredient providing device for providing syrup. When the consumer orders a vanilla latte (standard cup), the order information generated by the server includes the SKU code SP1001-0028 of this freshly-made drink, the server matches the SKU code with the pre-stored SKU codes of all freshly-made drinks, and after successful matching, the server obtains the ingredient amount code 111 (i.e., the information of coffee and the amount thereof), the ingredient amount code 210 (i.e., the information of pure milk and the amount thereof), and the ingredient amount code 320 (i.e., the information of syrup and the amount thereof) associated with the SKU code SP1001-0028 to obtain the formula information "111 210 320" of the vanilla latte (standard cup). The server generates the label information of the vanilla latte (standard cup) and triggers the printer to print the visual label, wherein the visual label includes a two-dimensional code which is formed by the server encoding the formula information. After the visual label is pasted on the cup, first, the ingredient providing device for providing syrup scans the two-dimensional code on the visual label and outputs the corresponding amount of syrup, then the ingredient providing device for providing milk base scans the two-dimensional code on the visual label and outputs the corresponding amount of pure milk, and finally the ingredient providing device for providing coffee liquid scans the two-dimensional code on the visual label and outputs the corresponding amount of espresso. Specifically, for the ingredient providing device for providing syrup, it first scans and analyzes the two-dimensional code on the visual label to obtain the ingredient amount code 320 corresponding to the information of syrup and the amount thereof, then determines the syrup and the amount thereof to be vanilla syrup 20 g according to the pre-stored first correspondence, and finally outputs 20 g of vanilla syrup correspondingly.For the ingredient providing device for providing milk base, it firstly scans and analyzes the two-dimensional code on the visual label to obtain the ingredient amount code 210 corresponding to the information of milk base and its usage, then determines the milk base and its usage as pure milk 200g according to the pre-stored first correspondence relationship, and finally outputs 200g of pure milk accordingly. For the ingredient providing device for providing coffee liquid, it firstly scans and analyzes the two-dimensional code on the visual label to obtain the ingredient amount code 111 corresponding to the information of coffee liquid and its usage, then determines the coffee liquid and its usage as espresso original extract concentrated coffee 2 servings according to the pre-stored first correspondence relationship, and finally outputs 2 servings of espresso original extract concentrated coffee accordingly.
[0078] It should be noted that (1) the recipe information in the above embodiment is only a direct combination of the ingredient amount codes of all ingredients and their amounts. In this case, the arrangement order of the ingredient amount codes corresponding to each ingredient and its amount in the recipe information can be preset, so that the ingredient providing device can obtain the ingredient amount codes corresponding to each ingredient and its amount according to the preset arrangement order after scanning and analyzing the two-dimensional code on the visual label. In the recipe information in the above embodiment, the ingredient amount code 111 corresponding to coffee and its amount, the ingredient amount code 210 corresponding to pure milk and its amount, and the ingredient amount code 320 corresponding to syrup and its amount are arranged in sequence, and the ingredient providing device for providing coffee liquid, the ingredient providing device for providing milk base, and the ingredient providing device for providing syrup can obtain the first three digits, the middle three digits, and the last three digits respectively according to the predetermined rule after scanning and analyzing the 9-digit number of the recipe information. (2) The recipe information of all freshly made drinks is preferably in the same format, so that the ingredient providing device can obtain the corresponding ingredient amount code therefrom. Still taking the coffee recipe information in the above embodiment as an example, if there is a coffee drink including only coffee liquid and syrup, the recipe information of the coffee drink is still a 9-digit number, the first three digits are the ingredient amount code corresponding to coffee liquid and its amount, and the last three digits are the ingredient amount code corresponding to syrup and its amount. The middle three digits corresponding to milk base and its amount can be filled with, for example, 000 to represent no milk base. (3) The recipe information in the above embodiment is only a direct combination of the ingredient amount codes of all ingredients and their amounts, which should not be regarded as a limitation on the format of the recipe information. In other embodiments, the recipe information can further include other codes to assist the ingredient providing device in identifying the information of the corresponding ingredients and their amounts, and the present application does not make any limitation thereon. Moreover, the arrangement order of the ingredient amount codes in the recipe information in the above embodiment is also illustrative. (4) The ingredient amount code in the above embodiment is a three-digit number, which is only illustrative and should not be regarded as a limitation on the ingredient amount code. In other embodiments, the ingredient amount code can be a letter or a combination of letters and numbers, and its length can be less than three digits or more than three digits, and the present application does not make any specific limitation thereon. (5) In the above embodiment, the adding order of the ingredients in making coffee is syrup, milk, and coffee liquid. Those skilled in the art can understand that the above is only illustrative and should not be regarded as a limitation on the adding order of the coffee ingredients. (6) Preferably, the adding order of the ingredients is printed on the visual label, so that the staff can operate the corresponding ingredient providing device. The adding order of the ingredients can be represented by words or icons, and the present application does not make any specific limitation thereon, as long as any method that can be printed on the visual label and can reflect the adding order of the ingredients is suitable for the present application. (7) Those skilled in the art can understand that the ingredients of the coffee in the above embodiment include coffee liquid and auxiliary ingredients, and the auxiliary ingredients are milk and syrup.In other embodiments, the coffee ingredient can only include milk or only include syrup according to different coffee styles, and the application does not make a specific limitation thereto.
[0079] In a specific embodiment, the method provided by the present application is described in the case of a customized made-to-order beverage, in which each ingredient faces a plurality of possible quantity combinations. In this embodiment, the made-to-order beverage is a customized coffee, the ingredients and their quantities are as follows: "espresso 54 ml", "pure milk 140 g", "oat milk 60 g", "vanilla syrup 10 g", and "caramel syrup 15 g" (the quantities of the ingredients in this embodiment have all been converted into international standard units of measurement). In the server, the ingredient code of the espresso is 1110, the ingredient code of the pure milk is 2110, the ingredient code of the oat milk is 2111, the ingredient code of the vanilla syrup is 3111, and the ingredient code of the caramel syrup is 3112. Among them, the second correspondence between the espresso and the ingredient code 1110 is synchronized to the ingredient providing device for providing coffee liquid, the second correspondence between the pure milk and the ingredient code 2110 and the second correspondence between the oat milk and the ingredient code 2111 are synchronized to the ingredient providing device for providing milk base, and the second correspondence between the vanilla syrup and the ingredient code 3111 and the second correspondence between the caramel syrup and the ingredient code 3112 are synchronized to the ingredient providing device for providing syrup. When the consumer orders the above customized beverage, the server obtains the ingredient code corresponding to each ingredient according to the pre-stored second correspondence, generates the quantity code corresponding to the quantity of each ingredient, and takes the ingredient code corresponding to each ingredient and the quantity code corresponding to the quantity of each ingredient as the information of the ingredient and its quantity of the corresponding ingredient. In this embodiment, the quantity code of the quantity 54 ml of the espresso is 054, the quantity code of the quantity 140 g of the pure milk is 140, the quantity code of the quantity 60 g of the oat milk is 060, the quantity code of the quantity 10 g of the vanilla syrup is 010, and the quantity code of the quantity 15 g of the caramel syrup is 015 (i.e., the coding rule is: when the quantity of the ingredient is two digits, 0 is added before the quantity to form the quantity code, and when the quantity of the ingredient is three digits, the quantity is directly taken as the quantity code). Accordingly, the information of the espresso and its quantity is 1110054, the information of the pure milk and its quantity is 2110140, the information of the oat milk and its quantity is 2111060, the information of the vanilla syrup and its quantity is 3111010, and the information of the caramel syrup and its quantity is 3112015. The server generates the label information of the made-to-order beverage and triggers the printer to print the visual label, wherein the visual label includes a two-dimensional code, which is formed by the server encoding the recipe information "11100542110140 2111060 3111010 3112015".After the visual label is pasted on the cup, the two-dimensional code on the visual label is scanned by the ingredient providing device for providing syrup and the corresponding amount of vanilla syrup and caramel syrup is output, then the two-dimensional code on the visual label is scanned by the ingredient providing device for providing milk base and the corresponding amount of pure milk and oat milk is output, and finally the two-dimensional code on the visual label is scanned by the ingredient providing device for providing coffee liquid and the corresponding amount of espresso coffee is output. Specifically, for the ingredient providing device for providing syrup, the two-dimensional code on the visual label is first scanned and analyzed to obtain the syrup ingredient code 3111 and 3112, the amount code 010 corresponding to the amount of syrup corresponding to the ingredient code 3111, and the amount code 015 corresponding to the amount of syrup corresponding to the ingredient code 3112, then the syrup and the amount thereof are determined to be vanilla syrup 10g and caramel syrup 15g according to the second correspondence relationship and the decoding rule, and finally 10g of vanilla syrup and 15g of caramel syrup are output correspondingly. For the ingredient providing device for providing milk base, the two-dimensional code on the visual label is first scanned and analyzed to obtain the milk base ingredient code 2110 and 2111, the amount code 140 corresponding to the amount of milk base corresponding to the ingredient code 2110, and the amount code 060 corresponding to the amount of milk base corresponding to the ingredient code 2111, then the milk base and the amount thereof are determined to be pure milk 140g and oat milk 60g according to the second correspondence relationship and the decoding rule, and finally 140g of pure milk and 60g of oat milk are output correspondingly. For the ingredient providing device for providing coffee liquid, the two-dimensional code on the visual label is first scanned and analyzed to obtain the coffee liquid ingredient code 1110 and the amount code 054 of the amount of coffee liquid, then the coffee liquid is determined to be espresso original extract concentrated coffee according to the second correspondence relationship and the amount of espresso original extract coffee liquid is determined to be 54ml according to the decoding rule, and finally 54ml of espresso original extract concentrated coffee is output correspondingly.
[0080] Those skilled in the art can understand that (1) the above-mentioned ingredient code and the amount code are only illustrative examples, and should not be regarded as a limitation of the ingredient code and the amount code; (2) in the above-mentioned embodiment, the formula information is only a direct combination of the ingredient code and the amount code of each ingredient, and in other embodiments, the formula information can further include other codes to assist the ingredient providing device in identifying the corresponding ingredient and the amount of the ingredient, and the present application does not make any limitation on this. For example, in the above-mentioned embodiment, when forming the formula information, the code "01" can be added in front of the information of the espresso ristretto lungo espresso coffee and the amount thereof (i.e. 1110054), the code "02" can be added in front of the information of the pure milk and the amount thereof (i.e. 2110140) and the information of the oat milk and the amount thereof (i.e. 2111060), and the code "03" can be added in front of the information of the vanilla syrup and the amount thereof (i.e. 3111010) and the information of the amount of the caramel syrup (i.e. 3112015). In this way, the ingredient providing device for providing the coffee liquid can know that 1110054 is the ingredient code and the amount code corresponding thereto after analyzing the code "01", and correspondingly, the ingredient providing device for providing the milk base can know that 2110140 and 2111060 are the ingredient code and the amount code corresponding thereto after analyzing the code "02", and the ingredient providing device for providing the syrup can know that 3111010 and 3112015 are the ingredient code and the amount code corresponding thereto after analyzing the code "03". (3) In the above-mentioned embodiment, the ingredient adding order of the coffee is the syrup, the milk and the coffee liquid in sequence. Those skilled in the art can understand that the above-mentioned is only an illustrative example, and should not be regarded as a limitation of the ingredient adding order of the coffee. (4) In the present embodiment, the ingredient adding order is also printed on the visual label, so as to facilitate the store clerk to operate the corresponding ingredient providing device. The ingredient adding order can be represented by words or icons, and the present application does not make any specific limitation on this, and any way that can be printed on the visual label and can reflect the ingredient adding order is suitable for the present application.
[0081] In a specific embodiment, the customized beverage is customized coffee, and the ingredients and their amounts are as follows: "espresso 54 ml", "pure milk 140 g", "oat milk 60 g", "vanilla syrup 10 g", and "caramel syrup 15 g" (the amounts of the ingredients in this embodiment have all been converted into international standard units of measurement). The first ingredient is espresso, and the second ingredients are pure milk, oat milk, vanilla syrup, and caramel syrup. In the server, the ingredient code for espresso 54 ml is 115, the ingredient code for pure milk is 2110, the ingredient code for oat milk is 2111, the ingredient code for vanilla syrup is 3111, and the ingredient code for caramel syrup is 3112. When the consumer places an order for the above customized beverage, the server obtains, according to the order information, the information for espresso and its amount as 115, the information for pure milk and its amount as 2110 140 (wherein 140 is the amount code formed according to the coding rule described above), the information for oat milk and its amount as 2111 060 (wherein 060 is the amount code formed according to the coding rule described above), the information for vanilla syrup and its amount as 3111 010 (wherein 010 is the amount code formed according to the coding rule described above), and the information for the amount of caramel syrup as 3112 015 (wherein 015 is the amount code formed according to the coding rule described above). The final recipe information for the customized beverage is "115 2110 140 2111 060 3111 010 3112 015". The server generates the label information for the customized beverage and triggers the printer to print the visual label, wherein the visual label includes a two-dimensional code formed by encoding the recipe information "115 2110 140 2111 060 3111 010 3112 015" by the server. After the visual label is attached to the cup, the ingredient providing device for providing syrup first scans the two-dimensional code on the visual label and outputs the corresponding amounts of vanilla syrup and caramel syrup, then the ingredient providing device for providing milk base scans the two-dimensional code on the visual label and outputs the corresponding amounts of pure milk and oat milk, and finally the ingredient providing device for providing coffee liquid scans the two-dimensional code on the visual label and outputs the corresponding amount of espresso.Specifically, for the ingredient providing device for providing syrups, it firstly scans and analyzes the two-dimensional code on the visual label to obtain the ingredient code of the syrups as 3111 and 3112, the usage code of the usage of the syrups corresponding to the ingredient code 3111 as 010, and the usage code of the usage of the syrups corresponding to the ingredient code 3112 as 015, then determines the syrups and the usage thereof as vanilla syrup 10g and caramel syrup 15g according to the pre-stored second correspondence relationship and the decoding rule, and finally outputs 10g of vanilla syrup and 15g of caramel syrup correspondingly. For the ingredient providing device for providing milk bases, it firstly scans and analyzes the two-dimensional code on the visual label to obtain the ingredient code of the milk bases as 2110 and 2111, the usage code of the usage of the milk bases corresponding to the ingredient code 2110 as 140, and the usage code of the usage of the milk bases corresponding to the ingredient code 2111 as 060, then determines the milk bases and the usage thereof as pure milk 140g and oat milk 60g according to the pre-stored second correspondence relationship and the decoding rule, and finally outputs 140g of pure milk and 60g of oat milk correspondingly. For the ingredient providing device for providing coffee liquid, it firstly scans and analyzes the two-dimensional code on the visual label to obtain the ingredient code of the coffee liquid and the usage thereof as 115, then determines the coffee liquid and the usage thereof as espresso 54ml according to the pre-stored first correspondence relationship, and finally outputs 54ml of espresso correspondingly.
[0082] In yet another specific embodiment, after the server obtains the recipe information of the freshly made beverage according to the order information, the manufacturing method further comprises: the server sends the information of the ingredients and their amounts in the recipe information to the corresponding ingredient providing device. Wherein, after the server sends the information of the ingredients and their amounts in the recipe information to the corresponding ingredient providing device, the ingredient providing device can output the ingredients according to the received information of the ingredients and their amounts. In specific implementation, after the ingredient providing device receives the information of the ingredients and their amounts sent by the server, it generates corresponding operation instructions and displays them on the display screen (which can be the display screen carried by the ingredient providing device itself or the display screen connected with the ingredient providing device), and the clerk only needs to click the operation instructions on the display screen to trigger the ingredient providing device to work to provide the ingredients with the corresponding amounts. That is, the ingredient providing device can be triggered to output the ingredients by scanning and analyzing the two-dimensional code on the visual label, and the ingredient providing device can also be triggered to output the ingredients by clicking the operation instructions on the display screen. The clerk can choose one of the above two ways according to his own operation preference, so as to facilitate the operation of the clerk. In addition, the clerk can also choose one of the above two ways according to the actual scene at the time of operation, for example, when the printer cannot print the visual label, the ingredient providing device can be triggered to output the ingredients with the corresponding amounts by clicking the operation instructions on the display screen, and for example, when the ingredient providing device cannot be connected to the network, the ingredient providing device can be triggered to output the ingredients with the corresponding amounts by scanning and analyzing the two-dimensional code on the visual label.
[0083] In view of the fact that one or more ingredients in a made-to-order beverage may involve processing during the preparation process (e.g., milk base in coffee needs to be steamed), in another specific embodiment, the recipe information of a made-to-order beverage includes processing information of ingredients in addition to the information of ingredients and their quantities. In implementation, the server pre-stores the processing methods of ingredients in a made-to-order beverage, and when the server acquires the recipe information of ingredients according to order information, the processing information of ingredients is acquired in addition to the information of ingredients and their quantities. Correspondingly, the recipe information carried by the two-dimensional code in the visual label includes the information of ingredients and their quantities as well as the processing information. An ingredient processing device for providing processing to ingredients scans and analyzes the two-dimensional code in the visual label to obtain the corresponding processing information of ingredients, and processes the ingredients according to the processing information. In this embodiment, the processing information is in the form of processing codes corresponding to the processing methods of ingredients, wherein a third correspondence between the processing methods of ingredients and the processing codes is pre-stored in the server and the corresponding ingredient processing device. Taking coffee as an example, the ingredients of the made-to-order beverage include coffee liquid, milk base, and syrup, and the milk base needs to be steamed. For this made-to-order beverage, the server acquires the recipe information according to order information, which includes the information of ingredients and their quantities as well as the processing information (i.e., steam code) of the milk base. Subsequently, an ingredient processing device for providing steam processing to the milk base scans and analyzes the two-dimensional code of the visual label to obtain the corresponding steam code and processes the milk base according to the steam code. It should be noted that (1) the ingredient providing device and the ingredient processing device can be two independent devices or integrated into one device, for example, a coffee machine with a steam wand is both an ingredient providing device for coffee liquid and an ingredient processing device for milk base, which is not limited in the present application. (2) For the case where the recipe information includes the information of ingredients and their quantities as well as the processing information of ingredients, the label information generated by the server includes the adding and processing sequence of ingredients.
[0084] The present application also provides a made-to-order beverage preparation system, as shown in Figure 2 The preparation system 1 comprises:
[0085] An order generation module 10 configured to generate corresponding order information according to the received order request of a made-to-order beverage;
[0086] A type determination module 11 configured to determine the type of the made-to-order beverage according to the order information, wherein the type of the made-to-order beverage includes non-customized and customized;
[0087] A recipe generation module 12 configured to generate recipe information of the made-to-order beverage according to the order information, wherein the recipe information includes the information of all ingredients and their quantities in the made-to-order beverage; and wherein
[0088] If the type of the made-to-order beverage is non-customized, the information of each ingredient and its amount in the made-to-order beverage is preset and the ingredient amount code corresponding to the ingredient and its amount;
[0089] If the type of the made-to-order beverage is customized, the information of each ingredient and its amount in the made-to-order beverage includes the ingredient code corresponding to the ingredient and the amount code generated according to the amount of the ingredient, or the information of each ingredient and its amount in part of the ingredients of the made-to-order beverage is the ingredient amount code, and the information of each ingredient and its amount in the remaining ingredients includes the ingredient code and the amount code;
[0090] A label information generating module 13 is configured to generate label information of the made-to-order beverage, wherein the label information includes a two-dimensional code carrying the recipe information;
[0091] A sending module 14 is configured to send the label information to a label generating device, and the label generating device generates a visual label according to the label information;
[0092] An ingredient providing device is configured to scan and analyze the two-dimensional code in the visual label to obtain the information of the ingredient and its amount corresponding to the ingredient providing device in the recipe information, and output the ingredient with the amount according to the scanning and analyzing result.
[0093] The components of the above preparation system will be described in detail below.
[0094] Specifically, as shown in FIG. 2, the preparation system 1 of the made-to-order beverage provided by the present application includes an order generating module 10, a type determining module 11, a recipe generating module 12, a label information generating module 13, a sending module 14 and N ingredient providing devices (indicated by reference numerals 20_1, 20_2, … 20_N in the figure respectively), and N is an integer and N≥1. In the embodiment, the order generating module 10, the type determining module 11, the recipe generating module 12, the label information generating module 13 and the sending module 14 are arranged in a server.
[0095] The order generation module 10 is configured to generate order information according to the received order request of the consumer for the made-to-order beverage. The made-to-order beverage includes non-customized and customized types. The non-customized made-to-order beverage refers to a beverage whose adjustable parameters are strictly limited to the pre-set options of the merchant. The consumer can only choose from the given range and cannot customize, so the consumer's choice neither changes the core flavor characteristics of the beverage nor involves changes in the beverage production process. The customized made-to-order beverage refers to a beverage whose adjustable parameters can be personalized by the consumer, which breaks the pre-set option range of the merchant and affects the core flavor or production process of the beverage. In this embodiment, the order information includes but is not limited to basic information (such as order number, order time, store-related information, etc.), product information, user information (such as user ID, membership level, etc.), payment information (such as payment method, payment status, etc.), etc. For non-customized made-to-order beverages, the product information includes not only the unique identifier of the product (hereinafter referred to as product SKU code), unit price, quantity, and other regular information, but also non-customized parameters (i.e., limited adjustable options pre-set by the merchant within the standardized production framework). For customized made-to-order beverages, the product information includes not only the product SKU code, unit price, quantity, and other regular information, but also customized parameters (i.e., options that can be personalized by the consumer beyond the pre-set range of the merchant).
[0096] The type determination module 11 is configured to determine the type of the made-to-order beverage according to the order information of the made-to-order beverage. In a specific application scenario, the selling stores of the made-to-order beverage are divided into non-customized stores and customized stores. The non-customized stores are used to sell non-customized made-to-order beverages, and the customized stores are used to sell customized made-to-order beverages. In this scenario, the type determination module 11 can determine the type of the store according to the store-related information (such as store name, store number, etc. identification information, store location information, etc.) in the order information, and then determine the type of the made-to-order beverage ordered by the consumer.
[0097] The recipe generating module 12 is configured to generate the recipe information of the made-to-order beverage according to the order information. In the present embodiment, the made-to-order beverage comprises at least one ingredient, and the recipe information of the made-to-order beverage comprises the information of all the ingredients and the amounts thereof. For the non-customized made-to-order beverage, the information of each ingredient and the amount thereof is preset and corresponds to the ingredient amount code of the ingredient and the amount thereof. For the customized made-to-order beverage, if the possibilities of each ingredient and the amount thereof are relatively large, the information of each ingredient and the amount thereof comprises the preset ingredient code corresponding to the ingredient and the amount code generated according to the amount of the ingredient; if the possibilities of part of the ingredients and the amounts thereof are relatively small, the information of each ingredient and the amount thereof in the part of the ingredients comprises the ingredient amount code, and the information of each ingredient and the amount thereof in the remaining ingredients comprises the ingredient code and the amount code.
[0098] It should be noted that, for the non-customized made-to-order beverage, the recipe information of each non-customized made-to-order beverage can be associated with the SKU code of the non-customized made-to-order beverage in advance, so that when the order generating module 10 generates the corresponding order information according to the received order request of the non-customized made-to-order beverage and the type determining module 11 determines the non-customized type, the recipe generating module 12 can match the SKU code of the made-to-order beverage in the order information to obtain the recipe information associated with the SKU code. For the customized made-to-order beverage and the case where the possibilities of each ingredient and the amount thereof are relatively large, the recipe generating module 12 obtains the corresponding ingredient code according to the ingredient in the order information, and generates the amount code according to the amount of the ingredient in the order information. For the customized made-to-order beverage and the case where the possibilities of part of the ingredients and the amounts thereof are relatively small, the recipe generating module 12 obtains the corresponding ingredient amount code according to the information of the part of the ingredients and the amounts thereof in the order information, and obtains the ingredient code corresponding to the remaining ingredients according to the order information and generates the amount code according to the amounts of the remaining ingredients.
[0099] The tag information generation module 13 is configured to generate the tag information of the made-to-order beverage, and the sending module 14 is configured to send the tag information to a tag generation device, and the tag generation device generates a visualized tag according to the tag information. Specifically, first, the tag information generation module 13 encodes the obtained recipe information of the made-to-order beverage according to a predetermined two-dimensional code encoding rule to generate a corresponding two-dimensional code, i.e., the two-dimensional code carries the recipe information of the made-to-order beverage. Then, the tag information generation module 13 generates the tag information of the made-to-order beverage according to the order information, wherein the tag information includes, in addition to the conventional information (including but not limited to user information, order time, beverage name, pick-up code, etc.), the two-dimensional code formed based on the recipe information of the made-to-order beverage. Finally, the sending module 14 sends the generated tag information of the made-to-order beverage to the tag generation device to generate a visualized tag. In this embodiment, the tag generation device is a printer (such as a thermal label printer, etc.), and accordingly the visualized tag is an entity tag printed by the printer. After the entity tag is printed, it is usually pasted on the surface of the cup body (such as the side surface of the cup body) for holding the made-to-order beverage. Those skilled in the art can understand that in other embodiments, the tag generation device can also be an electronic device with a screen such as a mobile phone, a tablet, etc., and accordingly the visualized tag is an electronic tag presented on the screen of the electronic device, and the present application does not make any limitation thereon, and the specific type of the tag generation device and the visualized tag can be selected according to the actual application scenario. Hereinafter, the tag generation device is taken as an example of a printer, and the visualized tag is taken as an example of an entity tag.
[0100] The ingredient providing device scans and analyzes the visualized tag on the cup body and outputs the corresponding amount of ingredients according to the scanning and analyzing result. In this embodiment, different types of ingredients are provided by different ingredient providing devices. Taking the made-to-order beverage as an example of coffee, the ingredient providing device for providing coffee liquid is a coffee machine (preferably a coffee machine capable of generating coffee liquid by freshly grinding coffee beans), the ingredient providing device for providing milk base is a milk dispensing machine (preferably a milk dispensing machine capable of providing different types of milk), and the ingredient providing device for providing syrup is a syrup dispensing machine (preferably a syrup dispensing machine capable of providing different types of syrup). That is, the preparation of the made-to-order beverage usually requires the provision of multiple types of ingredient providing devices. After the visualized tag is printed, different types of ingredient providing devices scan and analyze the two-dimensional code on the visualized tag in the order of adding ingredients in the made-to-order beverage to obtain the recipe information carried by the two-dimensional code, and then obtain the information of the ingredients and the amount corresponding to the ingredient providing device from the recipe information according to the predetermined rule, and output the corresponding amount of ingredients according to the obtained information of the ingredients and the amount corresponding to the ingredient providing device.
[0101] It should be noted that (1) the present application does not limit the specific structure of the ingredient providing device, and any device that can scan and analyze a two-dimensional code to obtain formula information and obtain the information of the corresponding ingredient and its amount from the formula information is suitable for the ingredient providing device in the present application. If the ingredient providing device is a coffee machine, the coffee machine includes a code scanning module, a processing module, and a coffee liquid output module. The code scanning module (such as a code scanner) is used to scan and analyze the two-dimensional code on the visual label to obtain formula information. The processing module (such as a main control circuit board) is connected with the code scanning module and is used to obtain the information of the coffee liquid and its amount from the formula information analyzed by the code scanning module. The coffee liquid output module is connected with the processing module and is used to output the coffee liquid of the corresponding amount according to the information of the coffee liquid and its amount obtained by the processing module. If the ingredient providing device is a milk dispensing machine, the milk dispensing machine includes a code scanning module, a processing module, and a milk base output module. The code scanning module (such as a code scanner) is used to scan and analyze the two-dimensional code on the visual label to obtain formula information. The processing module (such as a main control circuit board) is connected with the code scanning module and is used to obtain the information of the milk base and its amount from the formula information analyzed by the code scanning module. The milk base output module is connected with the processing module and is used to output the milk base of the corresponding amount according to the information of the milk base and its amount obtained by the processing module. If the ingredient providing device is a syrup dispensing machine, the syrup dispensing machine includes a code scanning module, a processing module, and a syrup output module. The code scanning module (such as a code scanner) is used to scan and analyze the two-dimensional code on the visual label to obtain formula information. The processing module (such as a main control circuit board) is connected with the code scanning module and is used to obtain the information of the syrup and its amount from the formula information analyzed by the code scanning module. The syrup output module is connected with the processing module and is used to output the syrup of the corresponding amount according to the information of the syrup and its amount obtained by the processing module.
[0102] (2) For all ingredients of the freshly made beverage, it is possible that all ingredients are provided by the corresponding ingredient providing device, or it is also possible that only part of the ingredients can be provided by the corresponding ingredient providing device. Among them, those ingredients that cannot be provided by the ingredient providing device can be manually provided by human.
[0103] (3) The tag information generating module 13 encodes the recipe information according to a predetermined encoding rule to generate a two-dimensional code including all the ingredient and its amount information, and the ingredient providing device decodes the two-dimensional code according to a decoding rule corresponding to the encoding rule to obtain the recipe information and acquire the ingredient and its amount information corresponding thereto, which is a routine technical means in the art, and thus will not be described here in detail. In addition, those skilled in the art can understand that, according to the requirements of the actual application scenario, the two-dimensional code can carry other information (for example, information that can assist the ingredient providing device in identifying the corresponding ingredient and its amount) in addition to the recipe information, in which case the recipe information and other information can be encoded together to generate the two-dimensional code, which is not specifically limited by the present application.
[0104] (4) In the present embodiment, the addition order of the ingredients in the made-on-the-spot beverage is pre-stored in the server. Based on this, when the tag information generating module 13 generates the tag information, the tag information generating module 13 acquires the addition order of the ingredients from the pre-stored information and takes it as part of the tag information, so that the visual tag corresponds to the addition order of the ingredients, which serves as the basis for the ingredient providing device to provide the ingredients. It should be noted that, for customized beverages, although the ingredients and their amounts are selected by the consumer, the process may also be changed, but the addition order of the ingredients in the production process usually still follows the standard process flow of the beverage, so when the tag information generating module 13 generates the tag information of the customized beverage, the addition order of the ingredients can be acquired from the standard process flow of the beverage pre-stored in the server as the addition order of the ingredients of the customized beverage.
[0105] (5) In the present embodiment, the ingredient providing device for making non-customized made-on-the-spot beverages and the ingredient providing device for making customized made-on-the-spot beverages are independent of each other. For example, the ingredient providing device in the non-customized store is only used to make non-customized made-on-the-spot beverages, and the ingredient providing device in the customized store is only used to make customized made-on-the-spot beverages. However, this should not be a limitation of the present application, and in other embodiments, the same set of ingredient providing devices can be used to make both non-customized made-on-the-spot beverages and customized made-on-the-spot beverages, which is not specifically limited by the present application.
[0106] The system provided by the present application can make the production of the beverage no longer rely on the memory of the formula by human, so that the formula is not wrong or mixed, and the consistency of the beverage production can be ensured. On the other hand, the ingredient providing device provides the ingredients based on the ingredients and the amount thereof obtained by analysis, compared with manual provision of ingredients by human, the implementation of the present application can ensure the accuracy of the amount of ingredients, which is beneficial to ensure the taste consistency of the beverage production, and can effectively avoid the loss of ingredients due to the error of manual operation. On the other hand, since it no longer relies on the memory of the formula by human, the training requirements for human and the training time can be reduced, which is beneficial to reduce the labor cost. On the other hand, compared with the prior art mainly relying on manual operation, the implementation of the present application can effectively ensure the production efficiency of the beverage.
[0107] In addition, the system provided by the present application is advantageous in improving the efficiency of generating the recipe information of the made-to-order beverage, because the information of the ingredients and the amounts of the ingredients in the made-to-order beverage is realized by using the coding mode. Moreover, the coding mode of the information of the ingredients and the amounts of the ingredients is different for different types of made-to-order beverages. Specifically, for the non-customized made-to-order beverage, the preset ingredient amount code is used as the information of the ingredients and the amounts of the ingredients. In this case, the coding mode and the length of the ingredient amount code are relatively low, which is advantageous in reducing the difficulty of coding and the storage space of the server, and correspondingly, the difficulty of decoding of the ingredient providing device is also reduced. For the customized made-to-order beverage, the possible recipe information is much more than that of the non-customized made-to-order beverage. If the coding mode similar to that of the non-customized made-to-order beverage is used, a large amount of storage space will be occupied, and it is time-consuming and laborious and easy to miss. When the possible recipe information of the customized made-to-order beverage increases or decreases, the storage space needs to be modified accordingly. Therefore, for the customized made-to-order beverage, at least part of the information of the ingredients and the amounts of the ingredients is formed by combining the ingredient code and the amount code, wherein the ingredient code is preset, and the amount code is generated according to the amount in the order information. Specifically, when all the ingredients in the customized made-to-order beverage face many possibilities of amount combinations, the information of all the ingredients and the amounts of the ingredients is formed by combining the ingredient code and the amount code. When part of the ingredients in the customized made-to-order beverage face less possibilities of amount combinations, and the other ingredients face more possibilities of amount combinations, for the ingredients facing less possibilities of amount combinations, the information of the ingredients and the amounts of the ingredients is realized by using the ingredient amount code similar to that of the non-customized made-to-order beverage, and for the ingredients facing more possibilities of amount combinations, the information of the ingredients and the amounts of the ingredients is realized by combining the ingredient code and the amount code. Since this mode does not need to pre-store all the possible information of the ingredients and the amounts of the ingredients of the customized made-to-order beverage, when the possible recipe information of the customized made-to-order beverage increases or decreases, the pre-stored recipe information in the storage space needs to be increased or decreased accordingly, or only needs to be slightly modified. In this way, it is not only advantageous in saving the storage space, manpower and time, but also can effectively avoid the omission of the pre-stored recipe information.
[0108] Further, as shown in Figure 3 the present application further comprises a first storage module 15. Correspondingly, the ingredient providing device comprises a second storage module 201, a code scanning module 202, a processing module 203 and an output module 204.
[0109] For non-customized beverages, the first storage module 15 is configured to pre-store a first correspondence relationship between each ingredient and its amount in a made-to-order beverage and an ingredient amount code. In addition, the first storage module 15 is also configured to associate each ingredient and its amount in a made-to-order beverage with a SKU code of the made-to-order beverage and pre-store the association information. Based on this, when the recipe generation module 12 obtains the recipe information of the made-to-order beverage according to the order information, the recipe generation module 12 matches the SKU code of the made-to-order beverage in the order information with the pre-stored SKU code of the made-to-order beverage, obtains the ingredient amount code corresponding to each ingredient and its amount associated with the SKU code after successful matching, and takes the ingredient amount code as the information of the corresponding ingredient and its amount, and forms the recipe information of the made-to-order beverage based on all the obtained ingredient amount codes. That is, in this embodiment, the information of each ingredient and its amount is in the form of an ingredient amount code, and accordingly, the recipe information is in the form of a combination of multiple ingredient amount codes. It should be noted that the first correspondence relationship between each ingredient and its amount in a made-to-order beverage and an ingredient amount code needs to be pre-stored in the first storage module 15 and simultaneously pre-stored in the second storage module 201 of the corresponding ingredient providing device.
[0110] For the ingredient providing device for making the above-mentioned non-customized made-to-order beverage, the code scanning module 202 in the ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain the recipe information; the processing module 203 in the ingredient providing device extracts the ingredient amount code corresponding to the ingredient providing device from the recipe information, and determines the ingredient and its amount corresponding to the ingredient amount code according to the pre-stored first correspondence relationship, which are the ingredient and its amount to be output by the ingredient providing device; and the output module 204 in the ingredient providing device finally outputs the ingredient in the corresponding amount.
[0111] For the case that the information of each ingredient and its amount in the customized made-to-order beverage includes a preset ingredient code corresponding to the ingredient and an amount code generated according to the amount of the ingredient, the first storage module 15 is configured to pre-store a second correspondence relationship between each ingredient in the made-to-order beverage and the ingredient code. Based on this, when the recipe generation module 12 obtains the recipe information of the made-to-order beverage according to the order information, on the one hand, the recipe generation module 12 obtains all the ingredients of the made-to-order beverage from the order information and obtains the ingredient code corresponding to each ingredient according to the pre-stored second correspondence relationship, on the other hand, the recipe generation module 12 obtains the amount of each ingredient in the made-to-order beverage from the order information and generates the amount code corresponding to the amount of each ingredient (for example, the amount of the ingredient can be encoded according to a preset encoding rule to generate the amount code, and the encoding rule can be pre-stored in the first storage module 15). For a certain ingredient, the ingredient code corresponding to the ingredient and the amount code corresponding to the amount of the ingredient together serve as the information of the ingredient and its amount. After obtaining the ingredient code corresponding to all the ingredients in the made-to-order beverage and generating the amount code corresponding to the amount of all the ingredients, the recipe generation module 12 forms the recipe information of the made-to-order beverage based on the obtained ingredient code and amount code. That is, in this embodiment, the recipe information is in the form of a combination of multiple ingredient codes and multiple amount codes. It should be noted that the second correspondence relationship between each ingredient in the made-to-order beverage and the ingredient code needs to be pre-stored in the first storage module 15 and simultaneously pre-stored in the second storage module 201 in the corresponding ingredient providing device.
[0112] For the ingredient providing device for making the above customized made-to-order beverage, the code scanning module 202 in the ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain the recipe information; the processing module 203 in the ingredient providing device extracts the ingredient code and the amount code corresponding to the ingredient providing device from the recipe information, and determines the ingredient corresponding to the ingredient code according to the pre-stored second correspondence relationship, and determines the amount of the ingredient according to the amount code (for example, the amount of the ingredient can be decoded according to a preset decoding rule to obtain the amount of the ingredient, and the decoding rule can be stored in the second storage module 201); the output module 204 in the ingredient providing device finally outputs the ingredient with the corresponding amount.
[0113] The skilled in the art can also understand that, for the customized beverage, if the possibility of some ingredients and their amounts is less, the information of the ingredients and their amounts of the customized beverage can be expressed in the form of ingredient amount code when the recipe information of the customized beverage is acquired by the recipe generating module 12, while the information of the rest of the ingredients and their amounts is still expressed in the form of ingredient code and amount code. Specifically, for some ingredients (hereinafter referred to as first ingredients) in the customized beverage, the first storage module 15 pre-stores a corresponding ingredient amount code for each ingredient and its amount in the first ingredients, and pre-stores the first correspondence between the first ingredients and their amounts and the ingredient amount code. For the other ingredients (hereinafter referred to as second ingredients) in the customized beverage, the first storage module 15 pre-stores a corresponding ingredient code for the second ingredients, and pre-stores the second correspondence between the second ingredients and the ingredient code. When the recipe generating module 12 acquires the recipe information of the customized beverage according to the order information, for the first ingredients, the recipe generating module 12 acquires the corresponding ingredient amount code according to the pre-stored first correspondence, and takes the ingredient amount code as the information of the corresponding first ingredients and their amounts; for the second ingredients, the recipe generating module 12 acquires the corresponding ingredient code according to the pre-stored second correspondence, and generates an amount code corresponding to the amount of the second ingredients, and takes the ingredient code and the amount code as the information of the corresponding second ingredients and their amounts. After acquiring the ingredient amount code corresponding to the first ingredients and their amounts, the ingredient code corresponding to the second ingredients, and the amount code corresponding to the amount of the second ingredients, the recipe generating module 12 forms the recipe information of the customized beverage based on the acquired ingredient amount code, ingredient code and amount code. That is, in this embodiment, the recipe information is in the form of combination of ingredient amount code, ingredient code and amount code. It should be noted that, in addition to being pre-stored in the first storage module 15, the first correspondence between the first ingredients and their amounts and the ingredient amount code, and the second correspondence between the second ingredients and the ingredient code also need to be pre-stored in the second storage module 201 in the corresponding ingredient providing device.
[0114] For the ingredient providing device for making the customized made-to-order beverage, the code scanning module 202 in the ingredient providing device scans and analyzes the two-dimensional code in the visual label to obtain the recipe information; the processing module 203 in the ingredient providing device obtains the code corresponding to the recipe information, wherein, if the code corresponding to the ingredient providing device includes the ingredient amount code, the processing module 203 in the ingredient providing device determines the ingredient and the amount of the ingredient corresponding to the ingredient amount code according to the pre-stored first correspondence relationship, as the ingredient and the amount of the ingredient to be output; if the code includes the ingredient code and the amount code, the processing module 203 in the ingredient providing device determines the ingredient corresponding to the ingredient code and the amount of the ingredient according to the amount code according to the pre-stored second correspondence relationship, and takes both of them as the ingredient and the amount of the ingredient to be output by the ingredient providing device; the output module 204 in the ingredient providing device outputs the ingredient in the corresponding amount.
[0115] It should be noted here that the pre-stored adding sequence of the ingredients in the made-to-order beverage in the server mentioned in the foregoing is specifically the pre-stored adding sequence of the ingredients in the made-to-order beverage in the first storage module 15.
[0116] In yet another specific embodiment, the sending module 14 is further configured to send the information of the ingredients and the amounts of the ingredients in the recipe information to the corresponding ingredient providing device after the recipe generating module 12 obtains the recipe information of the made-to-order beverage according to the order information. Wherein, after the sending module 14 sends the information of the ingredients and the amounts of the ingredients in the recipe information to the corresponding ingredient providing device, the ingredient providing device can output the ingredients according to the received information of the ingredients and the amounts of the ingredients. Specifically, after the ingredient providing device receives the information of the ingredients and the amounts of the ingredients sent by the sending module 14, the corresponding operation instructions are generated and displayed on the display screen (which can be the display screen carried by the ingredient providing device itself or the display screen connected with the ingredient providing device), and the clerk only needs to click the operation instructions on the display screen to trigger the ingredient providing device to work to provide the ingredients in the corresponding amount. That is, the ingredient providing device can be triggered to output the ingredients by scanning and analyzing the two-dimensional code on the visual label, and the ingredient providing device can also be triggered to output the ingredients by clicking the operation instructions on the display screen. The clerk can select one of the above two ways according to his own operation preference, so as to facilitate the operation of the clerk. In addition, the clerk can also select one of the above two ways according to the actual scene at the time of operation, for example, when the printer cannot print the visual label, the ingredient providing device can be triggered to output the ingredients in the corresponding amount by clicking the operation instructions on the display screen, and for example, when the ingredient providing device cannot be connected to the network, the ingredient providing device can be triggered to output the ingredients in the corresponding amount by scanning and analyzing the two-dimensional code on the visual label.
[0117] In view of the fact that one or more ingredients in a made-to-order beverage may involve processing during the preparation of the beverage (e.g. milk base needs to be steamed in a coffee), in another embodiment, the recipe information of a made-to-order beverage includes the processing information of the ingredients in addition to the information of the ingredients and their quantities. In implementation, the first storage module 15 pre-stores the processing manners of the ingredients in the made-to-order beverage, and when the recipe generation module 12 obtains the recipe information of the ingredients according to the order information, the processing information of the ingredients is obtained in addition to the information of the ingredients and their quantities. Correspondingly, the recipe information carried by the two-dimensional code in the visual label includes the information of the ingredients and their quantities as well as the processing information. The made-to-order beverage preparation system provided by the present application further includes an ingredient processing device (not shown) for providing processing to the ingredients. The ingredient processing device scans and analyzes the two-dimensional code in the visual label to obtain the corresponding processing information of the ingredients, and processes the ingredients according to the processing information. In this embodiment, the processing information is in the form of processing codes corresponding to the processing manners of the ingredients, wherein a third correspondence between the processing manners of the ingredients and the processing codes is pre-stored in the first storage module 15 and the corresponding ingredient processing device. Taking a coffee as an example, the ingredients of the made-to-order beverage include coffee liquid, milk base and syrup, and the milk base needs to be steamed. For this made-to-order beverage, the recipe generation module 12 obtains the recipe information according to the order information, and the recipe information includes the processing information (i.e. steam code) of the milk base in addition to the information of the ingredients and their quantities. Subsequently, the ingredient processing device that provides steam processing to the milk base scans and analyzes the two-dimensional code in the visual label to obtain the corresponding steam code therefrom and processes the milk base according to the steam code. It should be noted that (1) the ingredient providing device and the ingredient processing device can be two independent devices or can be integrated into one device, for example, a coffee machine with a steam wand is both the ingredient providing device of the coffee liquid and the ingredient processing device of the milk base, and the present application does not make specific limitation thereto. (2) For the case where the recipe information includes the information of the ingredients and their quantities as well as the processing information of the ingredients, the label information generated by the label information generation module 13 includes the adding and processing sequence of the ingredients correspondingly.
[0118] The present application further provides a computer program product, which includes a computer program that is executed by a processor to implement the above-mentioned made-to-order beverage preparation method.
[0119] It will be obvious to a person skilled in the art that the application is not limited to the details of the foregoing exemplary embodiments and can be implemented in other embodiments without departing from the scope of the application. The embodiments are to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalents of the claims are therefore intended to be embraced therein. No reference signs in the claims should be considered as limiting the scope of the claims to the features to which the reference signs are attached. Furthermore, it is obvious that the word "comprising" does not exclude other parts, units or steps not mentioned or comprising other parts, units or steps. Multiple parts, units or devices recited in system claims can also be provided by one part, unit or device by software or hardware.
[0120] The foregoing merely illustrates the principles of the application. It will thus be appreciated that those skilled in the art will be able to devise numerous alternative arrangements which, although not explicitly described herein, embody the principles of the application and are thus within its spirit and scope. In addition, all examples and conditional language are intended to encompass other alternative arrangements, materials, units and steps. Any and all modifications, variations or changes to the examples described herein can be made without departing from the spirit and scope of the application as set forth in the following claims.
Claims
1. A method for preparing a freshly made beverage, the method comprising: The server generates corresponding order information based on the received order request for freshly made beverages; The server determines the type of the freshly made beverage based on the order information, and the types of freshly made beverages include non-customized and customized. The server generates the recipe information for the freshly made beverage based on the order information. The recipe information includes information on all ingredients and their quantities in the freshly made beverage; wherein... If the type of freshly made beverage is non-customized, then the information of each ingredient and its quantity in the freshly made beverage is a preset ingredient quantity code corresponding to that ingredient and its quantity. If the type of freshly made beverage is customized, then the information of each ingredient and its quantity in the freshly made beverage includes a preset ingredient code corresponding to that ingredient, and a quantity code generated according to the quantity of that ingredient; or, the information of each ingredient and its quantity in some ingredients of the freshly made beverage is the ingredient quantity code, while the information of each ingredient and its quantity in the remaining ingredients includes the ingredient code and the quantity code. The server generates label information for the freshly made beverage and sends the label information to the label generating device. The label generating device generates a visual label based on the label information, wherein the label information includes a QR code carrying the recipe information. The ingredient supply device scans and parses the QR code in the visual label to obtain the ingredient and its dosage information corresponding to the ingredient supply device in the formula information, and outputs the corresponding dosage of the ingredient based on the scanning and parsing results.
2. The manufacturing method according to claim 1, wherein: If the type of the freshly made beverage is non-customized, the first correspondence between each ingredient and its dosage and the ingredient dosage code is pre-stored in the server and in the ingredient supply device corresponding to the ingredient; and / or If the type of freshly made beverage is customized. The information for each ingredient and its dosage includes a preset ingredient code corresponding to that ingredient and a dosage code generated based on the dosage of that ingredient. The second correspondence between each ingredient in the freshly made beverage and the ingredient code is pre-stored in the server and in the ingredient supply device corresponding to the ingredient. In the case where the information of each ingredient and its quantity in the aforementioned partial ingredients is the ingredient quantity code, and the information of each ingredient and its quantity in the remaining ingredients includes the ingredient code and the quantity code, a first correspondence between each ingredient and its quantity in the freshly made beverage partial ingredients and the ingredient quantity code, and a second correspondence between each ingredient in the remaining ingredients of the freshly made beverage and the ingredient code are pre-stored in the server and in the ingredient providing device corresponding to the ingredients.
3. The manufacturing method according to claim 2, wherein, For cases where the type of freshly prepared beverage is non-customized, the steps of the ingredient supply device scanning and parsing the QR code in the visual label to obtain the ingredients and their dosage information corresponding to the ingredient supply device in the recipe information, and outputting the appropriate dosage of ingredients based on the scanning and parsing results include: The ingredient supply device scans and parses the QR code in the visual label to obtain the formula information; The ingredient supply device extracts the ingredient dosage code corresponding to the formula information, and determines the ingredient and its dosage corresponding to the ingredient dosage code according to the pre-stored first correspondence relationship; The ingredient supply device outputs the appropriate amount of the ingredient.
4. The manufacturing method according to claim 2, wherein, For cases where the type of freshly prepared beverage is customized, and the information of each ingredient and its dosage in the freshly prepared beverage includes a preset ingredient code corresponding to that ingredient and a dosage code generated based on the dosage of that ingredient, the steps of the ingredient providing device scanning and parsing the QR code in the visual label to obtain the information of the ingredients and their dosages corresponding to the ingredient providing device in the recipe information, and outputting the corresponding dosage of ingredients based on the scanning and parsing results, include: The ingredient supply device scans and parses the QR code in the visual label to obtain the formula information; The ingredient supply device extracts the corresponding ingredient code and dosage code from the formula information, determines the ingredient corresponding to the ingredient code according to the pre-stored second correspondence, and determines the dosage of the ingredient according to the dosage code. The ingredient supply device outputs the appropriate amount of the ingredient.
5. The manufacturing method according to claim 2, wherein, For cases where the type of freshly prepared beverage is customized, and the information of each ingredient and its quantity in some ingredients of the freshly prepared beverage is the ingredient quantity code, while the information of each ingredient and its quantity in the remaining ingredients includes both the ingredient code and the quantity code, the step of the ingredient providing device scanning and parsing the QR code in the visual label to obtain the ingredient and its quantity information corresponding to the ingredient providing device in the recipe information, and outputting the corresponding amount of ingredients according to the scanning and parsing results, includes: The ingredient supply device scans and parses the QR code in the visual label to obtain the formula information; The ingredient supply device obtains the corresponding code from the formula information. If the code includes the ingredient dosage code, the ingredient supply device determines the ingredient and its dosage corresponding to the ingredient dosage code according to the pre-stored first correspondence relationship. If the code includes the ingredient code and the dosage code, the ingredient supply device determines the ingredient corresponding to the ingredient code according to the pre-stored second correspondence relationship and determines the dosage of the ingredient according to the dosage code. The ingredient supply device outputs the appropriate amount of the ingredient.
6. The manufacturing method according to claim 1, wherein, After the server obtains the recipe information of the freshly made beverage based on the order information, the preparation method further includes: The server sends the ingredients and their quantities from the recipe information to the corresponding ingredient supply device.
7. The manufacturing method according to any one of claims 1 to 6, wherein: The formula information includes not only the ingredients and their quantities, but also the processing information of the ingredients; The ingredient processing device scans and parses the QR code in the visual label to obtain the processing information of the ingredients corresponding to the ingredient processing device in the formula information, and processes the ingredients accordingly based on the scanning and parsing results.
8. The manufacturing method according to claim 7, wherein: The label information also includes the addition of ingredients and the order of processing in the freshly made beverage.
9. The manufacturing method according to claim 7, wherein: The freshly made beverage is coffee, and its ingredients include coffee liquid and auxiliary materials, including milk base and / or syrup. The ingredient supply device corresponding to the coffee liquid is a coffee machine; If the auxiliary material includes milk base, then the ingredient supply device corresponding to the milk base is a milk dispenser, the ingredient processing device corresponding to the milk base is the coffee machine, and the processing information is a steam code corresponding to the steam processing method of the milk base; if the auxiliary material includes syrup, then the ingredient supply device corresponding to the syrup is a syrup dispenser.
10. A system for preparing freshly made beverages, the system comprising: The order generation module is used to generate corresponding order information based on the received order requests for freshly made beverages; The type determination module is used to determine the type of the freshly made beverage based on the order information. The types of freshly made beverages include non-customized and customized. The recipe generation module is used to generate recipe information for the freshly made beverage based on the order information. The recipe information includes information on all ingredients and their quantities in the freshly made beverage. If the type of freshly made beverage is non-customized, then the information of each ingredient and its quantity in the freshly made beverage is a preset ingredient quantity code corresponding to that ingredient and its quantity. If the type of freshly made beverage is customized, then the information of each ingredient and its quantity in the freshly made beverage includes a preset ingredient code corresponding to that ingredient, and a quantity code generated according to the quantity of that ingredient; or, the information of each ingredient and its quantity in some ingredients of the freshly made beverage is the ingredient quantity code, while the information of each ingredient and its quantity in the remaining ingredients includes the ingredient code and the quantity code. A label information generation module is used to generate label information for the freshly made beverage, wherein the label information includes a QR code carrying the recipe information; The sending module is used to send the tag information to the tag generating device, and the tag generating device generates a visual tag based on the tag information; An ingredient supply device is used to scan and parse the QR code in the visual label to obtain the ingredient and its dosage information corresponding to the ingredient supply device in the formula information, and output the corresponding dosage of the ingredient based on the scanning and parsing results.
11. The manufacturing system according to claim 10, wherein: The manufacturing system also includes a first storage module; The first storage module is used to pre-store the first correspondence between each ingredient and its dosage in non-customized freshly made beverages and the ingredient dosage code; The first storage module is also used to pre-store the second correspondence between each ingredient in the customized freshly made beverage and the ingredient code, or to pre-store the first correspondence between each ingredient and its dosage in a portion of the customized freshly made beverage and the ingredient dosage code, and the second correspondence between each ingredient in the remaining ingredients and the ingredient code.
12. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Beverage production equipment, server and method
CN107730735A
Making method of personalized beverage based on capsule coffee system
CN107822509A
Control method, batching machine and storage medium
CN114027701A
Beverage formula processing method and beverage machine system
CN120827274A
Automated coffee system
US20080201241A1