Method, device and material output equipment for handling material shortage

By promptly addressing material shortages through detection and alarm mechanisms, and utilizing remaining materials to complete orders, the problem of low efficiency in beverage preparation equipment when materials are scarce has been solved, thus improving beverage preparation efficiency.

CN114468765BActive Publication Date: 2024-11-05SUZHOU MEGAROBO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111545499.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-11-05
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

Existing beverage preparation equipment is inefficient when materials are scarce, resulting in a decrease in beverage preparation efficiency.

Method used

By detecting whether the material output device is short of material, an alarm message is sent and a material output instruction is obtained. It is determined whether the instruction contains materials that are short of material, and the corresponding material is output according to the instruction. The remaining material is used to complete the order, and if necessary, a prompt is made that the order cannot be completed and materials are replenished in a timely manner.

Benefits of technology

It enables real-time detection of material shortages and timely alarms, making full use of remaining materials to complete orders, improving beverage production efficiency, and reducing staff interference caused by material shortages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114468765B_ABST
    Figure CN114468765B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and material output device for handling material shortage. The method includes: detecting whether the material output device is short of material; in the case of detecting that the material output device is short of material, sending an alarm message and continuing to obtain material output instructions; in the case of obtaining the material output instruction, judging whether the material output instruction contains the missing material; in the case that the material output instruction does not contain the missing material, outputting the corresponding material according to the material output instruction. The present application can detect in real time whether the material output is short of material, and send an alarm in time in the case of material shortage, so that the material shortage can be discovered in time during the operation and will not affect the production of other beverages, thereby improving the efficiency of beverage production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of beverage preparation, and in particular to a method for handling material shortage, a device for handling material shortage, a storage medium and a material output device. Background Art

[0002] In the field of beverage production, as the number of orders increases, the materials corresponding to the orders will gradually decrease, so staff need to replenish materials in a timely manner. For example, with the development of the coffee industry, coffee shops need to make more and more drinks. A store may use up to 15 kinds of syrups, and the syrups used for each drink range from one to several, and no more than 6. However, such a menu is very difficult for store staff to remember and train, which not only wastes time, but also makes it difficult to achieve the desired effect. Therefore, it is easy for the material output equipment to lack materials but not be replaced in time, and the efficiency of beverage production is low. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, device and material output equipment for handling material shortage, so as to solve the problem of low efficiency of beverage making by material output equipment in the prior art.

[0004] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for processing material shortage, which is applied to a material output device, and the material output device can output a variety of materials. The method comprises:

[0005] Check whether the material output device is short of materials;

[0006] When it is detected that the material output device is short of materials, an alarm message is sent and the material output instruction continues to be obtained;

[0007] When a material output instruction is obtained, determine whether the material output instruction contains the missing material;

[0008] When the material output instruction does not include the missing material, the corresponding material is output according to the material output instruction.

[0009] In an embodiment of the present application, the method further includes:

[0010] When the material output instruction contains the missing material, a prompt message is sent indicating that the order cannot be completed.

[0011] In an embodiment of the present application, the method further includes:

[0012] When the material output instruction includes the missing material, determine whether the remaining material of the missing material in the material output device can complete the current material output instruction;

[0013] When the remaining materials can complete the current material output instruction, control the material output device to continue to output the missing materials;

[0014] When the remaining materials cannot complete the current material output instruction, a prompt message is sent indicating that the order cannot be completed.

[0015] In the embodiment of the present application, the material output device is a liquid output device, and the liquid output device includes a liquid storage unit, a delivery pipeline for delivering liquid, a liquid sensor for detecting a shortage of material, and a liquid outlet for outputting liquid;

[0016] Determining whether the residual materials of the missing materials in the material output device can complete the current material output instruction includes: determining whether the residual materials in the conveying pipeline can complete the current material output instruction.

[0017] In the embodiment of the present application, judging whether the remaining material of the missing material in the material output device can complete the current material output instruction includes:

[0018] Determine the remaining amount of residual material based on the distance from the liquid outlet to the liquid sensor;

[0019] Determine whether the remaining amount of the residual material is greater than the material usage in the material output instruction;

[0020] In the case where the remaining amount of the residual material is greater than the material usage amount in the material output instruction, it is determined that the residual material in the conveying pipeline of the liquid output device can complete the current material output instruction.

[0021] In an embodiment of the present application, the method further includes:

[0022] Determine the cumulative value of material usage;

[0023] Determine the preset usage time corresponding to the remaining material of the material according to the accumulated value of the material usage;

[0024] When the material usage time reaches the preset time, a reminder message for replenishing the material will be sent.

[0025] In an embodiment of the present application, the method further includes:

[0026] The time difference is obtained based on the preset usage time and the actual time actually used to output all the remaining materials of the material;

[0027] Determine whether the time difference is greater than a preset difference;

[0028] When the time difference is greater than a preset difference, it is determined that a device for detecting a material shortage situation of the material output device fails or the staff has replenished the material in advance.

[0029] A second aspect of the present application provides a device for processing material shortage, which is applied to a material output device, and the material output device can output a variety of materials. The device includes:

[0030] A detection module is used to detect whether the material output device is short of materials;

[0031] An alarm module is used to send an alarm message and continue to obtain material output instructions when it is detected that the material output device is short of materials;

[0032] A judgment module is used to judge whether the material output instruction contains the missing material when the material output instruction is obtained;

[0033] The output module is used to output the corresponding material according to the material output instruction when the material output instruction does not include the missing material.

[0034] A third aspect of the present application provides a storage medium storing a computer program, which is used to execute the above-mentioned method for handling material shortage when executed.

[0035] A fourth aspect of the present application provides a material output device, the material output device comprising:

[0036] The above-mentioned device for handling material shortage;

[0037] The storage medium mentioned above;

[0038] The processor is used to call and execute the computer program stored in the storage medium.

[0039] Through the above technical solution, when it is detected that the material output device lacks materials, an alarm message is sent and the material output instruction is continued to be obtained. When the material output instruction is obtained, it is determined whether the material output instruction contains the missing materials. Further, when the material output instruction does not contain the missing materials, the corresponding materials are output according to the material output instruction. The present application can detect in real time whether the material output is lacking materials, and send an alarm in time when there is a lack of materials. In this way, the lack of materials can be discovered in time during the operation and will not affect the production of other beverages, thereby improving the efficiency of beverage production.

[0040] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0042] Figure 1 A schematic diagram of a process for handling material shortage according to an embodiment of the present application is shown;

[0043] Figure 2 A schematic diagram of a process for handling material shortage according to another embodiment of the present application is shown;

[0044] Figure 3 The schematic diagram shows the structure of a device for handling material shortage according to an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0046] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0047] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0048] The method for handling material shortage provided in the present application can be applied to a material output device. The material output device of the embodiment of the present application is used to control a pump to output materials according to a material output instruction. The material output device may include a storage unit, a conveying pipeline, a pump, a material sensor, and a material outlet. The storage unit is used to store materials, for example, for storing liquids, specifically for storing syrup; the conveying pipeline is connected to the storage unit for conveying materials. In the embodiment of the present application, a material sensor corresponds to a pump respectively. The material sensor is used to detect the shortage of materials. Specifically, the material sensor determines whether the material is short of materials by detecting whether there is material passing through the corresponding position of the conveying pipeline and the material sensor. The material output device determines whether it is necessary to send a shortage prompt message based on the detection result of the material sensor.

[0049] Figure 1 The flowchart of the method for handling material shortage according to an embodiment of the present application is schematically shown. Figure 1 As shown, in one embodiment of the present application, a method for processing material shortage is provided, which is applied to the above Figure 1 A material output device is provided, wherein the material output device is capable of outputting a variety of materials. The method may include the following steps.

[0050] Step 102: Detect whether the material output device is short of material.

[0051] In an embodiment of the present application, the material output device may include a storage unit, a conveying pipeline, a pump, a material sensor, and a material outlet. The storage unit is used to store materials, and the conveying pipeline is connected to the storage unit and the material outlet, and is used to convey the materials in the storage unit to the material outlet. The storage unit may include a plurality of storage elements (for example, a liquid storage tank for storing syrup), each storage element stores a type of material, each storage element corresponds to a conveying pipeline, and a corresponding pump and material sensor are provided on the conveying pipeline. The material sensor can detect in real time whether there is material passing through the corresponding conveying pipeline, and the controller can obtain the signal sent by the material sensor. When it is detected that there is material passing through, it can be determined that the material in the current conveying pipeline is sufficient; when it is detected that there is no material passing through, it can be determined that the material in the current conveying pipeline is insufficient, that is, the material corresponding to the material output device is out of material.

[0052] Step 104: When it is detected that the material output device is short of material, an alarm message is sent and a material output instruction is continued to be obtained;

[0053] In an embodiment of the present application, when the material sensor detects that the material output device is short of material, it sends an alarm message to the controller. After the controller obtains the alarm signal sent by the material sensor, it can control the alarm component to remind the staff to replenish the material in time. In one example, the alarm message can be sent by sound. In another example, the alarm message can be sent by popping up a window on the display interface. In another example, the material output device can be provided with an indicator light. The alarm message can be sent by combining the color change of the indicator light with the text display on the display interface. For example, when the indicator light is yellow, it indicates that the material output device is short of material, and the type of material missing can be displayed on the display interface. When the order received by the material output device does not involve the missing material, the indicator light flashes blue, indicating that the currently ordered beverage does not need the missing material and can be made normally. When the material output device is not short of material, the indicator light is always blue. It should be noted that the alarm message of the present application is not limited to the method described in the above example, and can also be other alarm methods that can prompt the existence of a shortage of material.

[0054] When it is detected that the material output device is short of materials, new order information can still be received. The newly received order information may contain the missing materials or may not contain the missing materials. Therefore, when it is detected that the materials are short of materials, new order information can still be obtained, that is, the material output instructions can continue to be obtained. In this way, when the new material output instructions do not contain the missing materials, the corresponding materials can still be output.

[0055] Step 106: When a material output instruction is obtained, determine whether the material output instruction contains the missing material;

[0056] Step 108: When the material output instruction does not include the missing material, output the corresponding material according to the material output instruction.

[0057] In the embodiment of the present application, when the controller obtains the material output instruction, it determines whether the current material output instruction includes the missing material. If the received material output instruction does not include the missing material, other materials can still be output. In this way, even if there is a shortage of materials during the operation, it will not affect the work efficiency.

[0058] Through the above technical solution, when it is detected that the material output device lacks materials, an alarm message is sent and the material output instruction is continued to be obtained. When the material output instruction is obtained, it is determined whether the material output instruction contains the missing materials. Further, when the material output instruction does not contain the missing materials, the corresponding materials are output according to the material output instruction. The embodiment of the present application can detect in real time whether the material output is lacking materials, and issue an alarm in time when there is a lack of materials. In this way, the lack of materials can be discovered in time during the operation process without affecting the production of other beverages, thereby improving the efficiency of beverage production.

[0059] In an embodiment of the present application, the method may further include:

[0060] When the material output instruction contains the missing material, a prompt message is sent indicating that the order cannot be completed.

[0061] Specifically, when the controller obtains the material output instruction, it determines whether the current material output instruction contains the missing material. If the received material output instruction contains the missing material, it directly sends a prompt message to the staff that the order cannot be completed. The prompt message can be a pop-up window on the display interface or a sound prompt, so that the staff knows that the current order cannot be completed.

[0062] Figure 2 The following schematically shows a flow chart of a method for handling material shortage according to another embodiment of the present application. Figure 2 As shown, in another embodiment of the present application, the method may further include:

[0063] Step 202: when the material output instruction includes the missing material, determine whether the remaining material of the missing material in the material output device can complete the current material output instruction;

[0064] Step 204: When the remaining material can complete the current material output instruction, control the material output device to continue to output the missing material;

[0065] Step 206: When the remaining materials cannot complete the current material output instruction, a prompt message indicating that the order cannot be completed is sent.

[0066] In an embodiment of the present application, when the material sensor detects that no material has passed through, it means that there is no remaining material that can be extracted from the storage element corresponding to the material in the storage unit, but there may still be remaining material in the conveying pipeline. Therefore, it is possible to determine whether the current material output instruction can be met based on the residual amount of material in the conveying pipeline. If it can be met, the residual material in the conveying pipeline can be used to make beverages for the current order. Specifically, when the controller obtains the material output instruction, it determines whether the current material output instruction contains the missing material. When the received material output instruction contains the missing material, it determines whether the remaining material can complete the current material output instruction. If so, the material output device is controlled to continue to output the missing material. Otherwise, a prompt message that the order cannot be completed is sent. In this way, the residual material in the conveying pipeline can be fully utilized to make beverages, thereby improving work efficiency.

[0067] In an embodiment of the present application, the material output device may be a liquid output device, which may include a liquid storage unit, a delivery pipeline for delivering liquid, a liquid sensor for detecting a shortage of material, and a liquid outlet for outputting liquid;

[0068] Step 202, determining whether the remaining materials of the missing materials in the material output device can complete the current material output instruction, may include: determining whether the remaining materials in the conveying pipeline can complete the current material output instruction.

[0069] Specifically, the material output device may be a liquid output device. The storage unit may be a liquid storage unit, the delivery pipeline is used to deliver liquid, the material sensor may be a liquid sensor for detecting whether liquid passes through, and the material outlet may be a liquid outlet for outputting liquid. In an embodiment of the present application, a liquid sensor corresponds to a pump respectively. Specifically, the liquid sensor determines whether there is a shortage of material by detecting whether there is liquid passing through the corresponding position of the delivery pipeline and the liquid sensor. The liquid output device determines whether it needs to send a shortage prompt message based on the detection result of the liquid sensor. And in the case of shortage of material, it is determined whether the residual material in the delivery pipeline can complete the current material output instruction.

[0070] It should be noted that the material output device of the embodiment of the present application is not limited to a liquid output device, and the type of material can also be set according to actual conditions.

[0071] In the embodiment of the present application, step 202, determining whether the remaining material of the material output device can complete the current material output instruction, may include:

[0072] Determine the remaining amount of residual material based on the distance from the liquid outlet to the liquid sensor;

[0073] Determine whether the remaining amount of the residual material is greater than the material usage in the material output instruction;

[0074] In the case where the remaining amount of the residual material is greater than the material usage amount in the material output instruction, it is determined that the residual material in the conveying pipeline of the liquid output device can complete the current material output instruction.

[0075] Specifically, the embodiment of the present application can obtain the length of this part of the conveying pipeline through the distance between the liquid sensor and the liquid outlet, and can estimate the residual material in the conveying pipeline in combination with the cross-sectional area of ​​the conveying pipeline, and then determine whether the current material output instruction can be completed. For example, it is determined whether the remaining amount of residual material is greater than the material usage in the material output instruction. If the remaining amount is greater than the material usage, it can be determined that the residual material in the conveying pipeline can complete the current material output instruction. In this way, the residual material in the conveying pipeline can be fully utilized to complete the current material output instruction, thereby improving the work efficiency of beverage production.

[0076] In an embodiment of the present application, the method may further include:

[0077] Determine the cumulative value of material usage;

[0078] Determine the preset usage time corresponding to the remaining material of the material according to the accumulated value of the material usage;

[0079] When the material usage time reaches the preset time, a reminder message for replenishing the material will be sent.

[0080] Specifically, the embodiment of the present application can also judge the time when the material is used up by pre-calculating the cumulative value of the material usage. In this way, on the one hand, the staff can be reminded to replenish the materials in time; on the other hand, the preset usage time corresponding to the calculated remaining materials can be compared with the actual usage time. In the case of a large difference in time, it can be determined that the material output device has a fault. In one example, the cumulative value of the material usage is calculated, and the remaining value of the material can be obtained by subtracting the usage amount from the total amount of the material. The corresponding remaining preset usage time can be calculated based on the remaining value of the material. For example, assuming that the current material is syrup, when the remaining syrup is 100g, it takes 10s to use up 100g, and the remaining preset usage time is 10s. The controller can control the display interface to pop up "100g of syrup remaining, please replenish syrup in time" and other similar information. In this way, the staff can see the prompt information and replenish the syrup in time.

[0081] In an embodiment of the present application, the method may further include:

[0082] The time difference is obtained based on the preset usage time and the actual time actually used to output all the remaining materials of the material;

[0083] Determine whether the time difference is greater than a preset difference;

[0084] When the time difference is greater than a preset difference, it is determined that a device for detecting a material shortage situation of the material output device fails or the staff has replenished the material in advance.

[0085] Specifically, the controller can also compare the calculated preset usage time corresponding to the remaining material with the actual usage time. When the time difference is large, it can be determined that the material output device has failed or the staff has refilled the material in advance. For example, assuming that the current material is syrup, when the remaining syrup is 100g, it takes 10s to use up 100g, then the remaining preset usage time is 10s. The controller can control the display interface to pop up "100g of syrup remaining, please replenish syrup in time" and other similar messages. In this way, the staff can see the prompt message and replenish the syrup in time. When the staff replenishes the syrup in time, the remaining preset usage time is much longer than 10s; when the staff does not replenish the syrup in time, but the actual usage time is also very different from 10s, it can be determined that the material output device has failed.

[0086] Through the above scheme, the staff can be reminded in time to replenish materials without waiting until the materials are exhausted; at the same time, the failure of the material output equipment can also be discovered in time, thereby improving work efficiency.

[0087] In an embodiment of the present application, the method may further include:

[0088] In case of obtaining material replenishment operation, send emptying reminder information;

[0089] Determine whether the emptying operation is obtained within a preset time;

[0090] When the emptying operation is obtained within the preset time, the pump is controlled to output the material to the discharge port.

[0091] Specifically, after the staff replaces the storage element corresponding to the missing material, the "emptying" operation needs to be performed. The material output device is based on the first operation of the staff. Taking the replenishment of syrup as an example, the first operation can be that the staff operates the "replenish syrup" button on the display interface, and the controller of the material output device obtains the information that the syrup needs to be replenished and calls the "emptying" interface. The "emptying" interface can display emptying prompt information, such as "place an empty paper cup under the syrup outlet". Further, the controller of the material output device controls the preset working time of the pump according to the second operation of the staff, such as operating the confirmation button of the "emptying" interface, for example, controlling the pump to pump out syrup for 15s. After the syrup is discharged, the material sensor updates the state detected by the material sensor according to the detection result, that is, the non-lack of material state. In actual operation, the staff may forget to perform the emptying operation, so the controller can be set to determine whether the second operation of the staff, that is, the emptying operation, is obtained within the preset time. If the emptying operation is not obtained within the preset time, the material is prohibited from being output and the staff is prompted to perform the emptying operation; if the emptying operation is obtained within the preset time, the pump is controlled to output the material to the discharge port. In this way, it is possible to monitor whether the user is operating the material output device correctly, reducing the situation where the staff misses the operating steps.

[0092] In an embodiment of the present application, the method may further include:

[0093] When it is detected that the material output device is out of material, the control management platform removes the corresponding goods of the material.

[0094] Specifically, when it is detected that the material output device is out of material, the material output device continues to receive material output instructions, and at the same time, it can report the lack of material to the management platform (i.e., the platform that manages the ordering software) through the application programming interface (Application Programming Interface, API). The controller receives the lack of material information and controls the ordering program to temporarily remove the drinks containing the corresponding materials. On the other hand, the staff replenishes the materials in time according to the lack of material prompt. In one example, the staff can replace the storage part of the lack of material according to the operation prompt of the material output device. In this way, the management platform can remove the goods with lack of material in time, reduce the situation where customers place orders but cannot provide corresponding drinks, and improve the user experience.

[0095] Figure 3 The schematic diagram of the structure of the device for handling material shortage according to the embodiment of the present application is shown. Figure 3 As shown, an embodiment of the present application provides a device for processing material shortage, which is applied to a material output device, and the material output device can output a variety of materials. The device may include:

[0096] A detection module 302 is used to detect whether the material output device is short of materials;

[0097] An alarm module 304 is used to send an alarm message and continue to obtain a material output instruction when it is detected that the material output device is short of material;

[0098] The judgment module 306 is used to judge whether the material output instruction contains the missing material when the material output instruction is obtained;

[0099] The output module 308 is used to output the corresponding material according to the material output instruction when the material output instruction does not include the missing material.

[0100] In an embodiment of the present application, the material output device may include a storage unit, a conveying pipeline, a pump, a material sensor, and a material outlet. The storage unit is used to store materials, and the conveying pipeline is connected to the storage unit and the material outlet, and is used to convey the materials in the storage unit to the material outlet. The storage unit may include a plurality of storage components, each of which stores a type of material, and each storage component corresponds to a conveying pipeline. At the same time, a corresponding pump and material sensor are arranged on the conveying pipeline. The material sensor can detect in real time whether there is material passing through the corresponding conveying pipeline, and the controller can obtain the signal sent by the material sensor. When the detection module 302 detects that there is material passing through, it can be determined that the material in the current conveying pipeline is sufficient; when it is detected that there is no material passing through, it can be determined that there is insufficient material in the current conveying pipeline, that is, there is a shortage of material corresponding to the material output device.

[0101] In an embodiment of the present application, when it is detected that the material output device is short of materials, the alarm module sends an alarm message to the controller. After the controller obtains the alarm signal sent by the material sensor, it can control the alarm component to remind the staff to replenish the materials in time. In one example, the alarm message can be sent by sound. In another example, the alarm message can be sent by a window popping up on the display interface. In another example, the material output device can be provided with an indicator light. The alarm message can be sent by combining the color change of the indicator light and the text display on the display interface. For example, when the indicator light is yellow, it indicates that there is a shortage of materials in the material output device, and the type of missing materials can be displayed on the display interface. It should be noted that the alarm message of the present application is not limited to the method described in the above example, and can also be other alarm methods that can indicate the existence of a shortage of materials.

[0102] When it is detected that the material output device is short of materials, there may still be newly received order information. The newly received order information may contain the missing materials, or may not contain the missing materials. Therefore, when it is detected that the material is short of materials, new order information can still be obtained, that is, the material output instruction can continue to be obtained. In this way, when the new material output instruction does not contain the missing materials, the corresponding materials can still be output.

[0103] In the embodiment of the present application, when the controller obtains the material output instruction, the judgment module 306 determines whether the current material output instruction includes the missing material. If the received material output instruction does not include the missing material, the output module 308 can still output other materials. In this way, during the operation process, even if there is a shortage of materials, it will not affect the work efficiency.

[0104] Through the above technical solution, when it is detected that the material output device lacks materials, an alarm message is sent and the material output instruction is continued to be obtained. When the material output instruction is obtained, it is determined whether the material output instruction contains the missing materials. Further, when the material output instruction does not contain the missing materials, the corresponding materials are output according to the material output instruction. In this way, it is possible to detect in real time whether the material output is lacking materials, and to send an alarm in time when there is a lack of materials. In this way, the lack of materials can be discovered in time during the operation process without affecting the production of other beverages, thereby improving the efficiency of beverage production.

[0105] An embodiment of the present application further provides a storage medium storing a computer program, which is used to execute the above-mentioned method for handling material shortage when being executed.

[0106] The present application also provides a material output device, which includes:

[0107] The above-mentioned device for handling material shortage;

[0108] The storage medium mentioned above;

[0109] The processor is used to call and execute the computer program stored in the storage medium.

[0110] In the embodiment of the present application, the processor may be configured to:

[0111] Check whether the material output device is short of materials;

[0112] When it is detected that the material output device is short of materials, an alarm message is sent and the material output instruction continues to be obtained;

[0113] When a material output instruction is obtained, determine whether the material output instruction contains the missing material;

[0114] When the material output instruction does not include the missing material, the corresponding material is output according to the material output instruction.

[0115] Furthermore, the processor may be configured to:

[0116] When the material output instruction contains the missing material, a prompt message is sent indicating that the order cannot be completed.

[0117] Furthermore, the processor may be configured to:

[0118] When the material output instruction includes the missing material, determine whether the remaining material of the missing material in the material output device can complete the current material output instruction;

[0119] When the remaining materials can complete the current material output instruction, control the material output device to continue to output the missing materials;

[0120] When the remaining materials cannot complete the current material output instruction, a prompt message is sent indicating that the order cannot be completed.

[0121] In the embodiment of the present application, the material output device is a liquid output device, and the liquid output device includes a liquid storage unit, a delivery pipeline for delivering liquid, a liquid sensor for detecting a shortage of material, and a liquid outlet for outputting liquid;

[0122] Furthermore, the processor may be configured to:

[0123] Determining whether the residual materials of the missing materials in the material output device can complete the current material output instruction includes: determining whether the residual materials in the conveying pipeline can complete the current material output instruction.

[0124] Furthermore, the processor may be configured to:

[0125] Determine whether the remaining materials of the missing materials in the material output device can complete the current material output instruction, including:

[0126] Determine the remaining amount of residual material based on the distance from the liquid outlet to the liquid sensor;

[0127] Determine whether the remaining amount of the residual material is greater than the material usage in the material output instruction;

[0128] In the case where the remaining amount of the residual material is greater than the material usage amount in the material output instruction, it is determined that the residual material in the conveying pipeline of the liquid output device can complete the current material output instruction.

[0129] Furthermore, the processor may be configured to:

[0130] Determine the cumulative value of material usage;

[0131] Determine the preset usage time corresponding to the remaining material of the material according to the accumulated value of the material usage;

[0132] When the material usage time reaches the preset time, a reminder message for replenishing the material will be sent.

[0133] Furthermore, the processor may be configured to:

[0134] The time difference is obtained based on the preset usage time and the actual time actually used to output all the remaining materials of the material;

[0135] Determine whether the time difference is greater than a preset difference;

[0136] When the time difference is greater than a preset difference, it is determined that a device for detecting a material shortage situation of the material output device fails or the staff has replenished the material in advance.

[0137] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0141] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0142] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0143] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0144] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0145] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for handling material shortage, applied to material output equipment, characterized in that: The material output device is capable of outputting a variety of materials, and the method comprises: Detecting whether the material output device is short of material; When it is detected that the material output device is short of material, an alarm message is sent and a material output instruction is continued to be obtained; When a material output instruction is obtained, determining whether the material output instruction contains the missing material; When the material output instruction does not include the missing material, output the corresponding material according to the material output instruction; In the case where the material output instruction includes the missing material, determining whether the remaining material of the missing material in the material output device can complete the current material output instruction; When the remaining material can complete the current material output instruction, controlling the material output device to continue outputting the missing material; When the remaining materials cannot complete the current material output instruction, a prompt message indicating that the order cannot be completed is sent; Wherein, the materials include materials used for making beverages.

2. The method according to claim 1, characterized in that The material output device is a liquid output device, and the liquid output device includes a liquid storage unit, a delivery pipeline for delivering liquid, a liquid sensor for detecting a shortage of material, and a liquid outlet for outputting liquid; The determining whether the residual material of the missing material in the material output device can complete the current material output instruction includes: determining whether the residual material in the conveying pipeline can complete the current material output instruction.

3. The method according to claim 2, characterized in that The determining whether the remaining material of the missing material in the material output device can complete the current material output instruction includes: Determining the remaining amount of the residual material according to the distance from the liquid outlet to the liquid sensor; Determining whether the remaining amount of the residual material is greater than the material usage amount in the material output instruction; In the case that the remaining amount of the residual material is greater than the material usage amount in the material output instruction, it is determined that the residual material in the conveying pipeline of the liquid output device can complete the current material output instruction.

4. The method according to claim 1, characterized in that: The method further comprises: Determine the cumulative value of material usage; Determine the preset usage time corresponding to the remaining material of the material according to the accumulated value of the material usage; When the usage time of the material reaches the preset time, a reminder message for replenishing the material is sent.

5. The method according to claim 4, characterized in that The method further comprises: Obtaining a time difference according to the preset usage time and the actual time actually used to output all the remaining materials of the material; Determine whether the time difference is greater than a preset difference; When the time difference is greater than a preset difference, it is determined that a device for detecting a material shortage situation of the material output device fails or a staff member has replenished the material in advance.

6. A device for handling material shortage, applied to a material output device, wherein the material output device is a liquid output device, and the liquid output device comprises a liquid storage unit, a delivery pipeline for delivering liquid, a liquid sensor for detecting material shortage, and a liquid outlet for outputting liquid, characterized in that: The material output device is capable of outputting a variety of materials, and the device comprises: A detection module, used to detect whether the material output device is short of material; An alarm module is used to send an alarm message and continue to obtain a material output instruction when it is detected that the material output device is short of material; a judgment module, for judging whether the material output instruction contains the missing material when the material output instruction is obtained, and judging whether the residual material of the missing material in the material output device can complete the current material output instruction when the material output instruction contains the missing material, wherein the judging whether the residual material of the missing material in the material output device can complete the current material output instruction comprises: determining the remaining amount of the residual material according to the distance from the liquid outlet to the liquid sensor; judging whether the remaining amount of the residual material is greater than the material usage in the material output instruction; and determining that the residual material in the conveying pipeline of the liquid output device can complete the current material output instruction when the remaining amount of the residual material is greater than the material usage in the material output instruction; The output module is used to output the corresponding material according to the material output instruction when the material output instruction does not include the missing material.

7. A storage medium, characterized in that: The storage medium stores a computer program, which is used to execute the method for handling material shortage according to any one of claims 1 to 5 when being executed.

8. A material output device, characterized in that: The material output device comprises: The device for handling material shortage according to claim 6.

9. A material output device, characterized in that: The material output device comprises: The storage medium according to claim 7; The processor is used to call and execute the computer program stored in the storage medium.