Method and device for determining recipe execution time, storage medium, and computer equipment

By acquiring the preset and historical execution durations of the target electronic recipes for the target device, and combining the fixed and non-fixed durations of the cooking steps, the idle time of the device is calculated, thus solving the problem of uncertain execution time of electronic recipes in smart cooking devices and improving the resource utilization efficiency and cooking efficiency of the device.

CN114077955BActive Publication Date: 2025-01-14ZHUHAI UNICOOK TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010843503.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-20
Publication Date
2025-01-14
Estimated Expiration
2040-08-20

AI Technical Summary

Technical Problem

In existing technologies, smart cooking devices cannot accurately predict the execution time of electronic recipes, resulting in uncertain idle time for the devices, which affects cooking efficiency and resource utilization.

Method used

By acquiring the target electronic recipe for the target device, determining its preset execution time and historical execution time, and combining the fixed and non-fixed durations of the cooking steps, the idle time of the device is calculated, and the response time of the device to the recipe to be executed is determined based on this.

Benefits of technology

It enables accurate prediction of the idle time of smart kitchen equipment, improves cooking efficiency and resource utilization, and ensures reasonable planning and efficient operation of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114077955B_ABST
    Figure CN114077955B_ABST
Patent Text Reader

Abstract

The present application discloses a recipe execution time determination method and device, storage medium, and computer equipment, the method comprising: obtaining a target electronic recipe corresponding to a target device; determining a preset execution duration corresponding to the target electronic recipe and / or a historical execution duration corresponding to the target electronic recipe based on the target electronic recipe; obtaining the idle time of the target device based on the preset execution duration and / or the historical execution duration, wherein the idle time of the target device is used to determine the response time of the target device to the electronic recipe to be executed. The present application solves the problem in the prior art that when there is an electronic recipe without a fixed time in the device, the idle time of the device cannot be determined, and thus the response time of the device to other recipes cannot be determined. By determining the idle time of the target device and the response time to the electronic recipe to be executed, it is helpful to make reasonable planning for the production scheduling of the smart kitchen and improve cooking efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent kitchen appliances, and in particular to a method and device for determining a recipe execution time, a storage medium, and a computer device. Background Art

[0002] With the advancement of science and technology, people's living standards are constantly improving, and more and more people are beginning to pursue a higher quality of life. At the same time, the operation and management of the catering industry are affected by Internet technology, and the traditional catering industry has begun to explore the branch of automation. Under this development trend, various intelligent cooking equipment has emerged, and more and more catering stores are using intelligent cooking equipment. When a store processes a large number of orders, it usually needs to predict the time when the cooking equipment can respond to the electronic recipe (that is, the idle time of the equipment) to determine which set of cooking equipment to use to complete the order processing. However, due to the differences in food materials, initial temperature, pot body, and equipment, intelligent cooking equipment sometimes cannot accurately predict the execution time of the electronic recipe. For example, when the temperature condition threshold of the food is used as the processing time, it is impossible to predict how long it will take for the temperature to reach the threshold and maintain the limit. At the same time, during work, there are many processing orders and the types are complicated. Relying on personal experience to arrange which equipment station to complete the processing of the new order will inevitably cause a processing station on the work line to wait because the previous processing time is extended, or to be idle and wasted because it is completed earlier than expected.

[0003] Therefore, how to estimate the idle time of cooking equipment has become a key issue in this field. Summary of the invention

[0004] In view of this, the present application provides a recipe execution time determination method and device, storage medium, and computer device, which solves the problem in the prior art that when there are electronic recipes without fixed time in the device, the idle time of the device cannot be determined, and thus the response time of the device to other recipes cannot be determined. By determining the idle time of the target device and the response time to the electronic recipe to be executed, it is helpful to make reasonable planning for the production scheduling of the smart kitchen and improve cooking efficiency.

[0005] According to one aspect of the present application, a method for determining a recipe execution time is provided, the method comprising:

[0006] Obtain the target electronic recipe corresponding to the target device;

[0007] Determining, according to the target electronic recipe, a preset execution time corresponding to the target electronic recipe and / or a historical execution time corresponding to the target electronic recipe;

[0008] Based on the preset execution time and / or the historical execution time, the idle time of the target device is acquired, wherein the idle time of the target device is used to determine the response time of the target device to the electronic recipe to be executed.

[0009] Specifically, the method further includes:

[0010] receiving the electronic recipe to be executed, and parsing the electronic recipe to be executed to obtain cooking steps;

[0011] Acquire the execution device corresponding to the cooking step and the idle time of the corresponding execution device;

[0012] Based on the idle time of the target device and the idle time of the execution device, a response time of the target device to the electronic recipe to be executed is determined.

[0013] Specifically, the acquiring the execution device corresponding to the cooking step and the idle time of the corresponding execution device specifically includes:

[0014] broadcasting the cooking steps so that an execution device matching the cooking steps can feed back the idle time of the execution device to the target device;

[0015] The execution device idle time is received.

[0016] Specifically, the execution device idle time includes a first idle time, wherein the first idle time is used to indicate that the execution device is in an idle state after the first idle time;

[0017] The step of determining the response time of the target device to the electronic recipe to be executed based on the idle time of the target device and the idle time of the execution device specifically includes:

[0018] The latest time between the idle time of the target device and the first idle time is selected as the response time of the electronic recipe to be executed.

[0019] Specifically, the execution device idle time includes a first idle time and a second idle time, wherein the second idle time includes at least one time period;

[0020] The step of determining the response time of the target device to the electronic recipe to be executed based on the idle time of the target device and the idle time of the execution device specifically includes:

[0021] Acquire a first execution device corresponding to a first cooking step in the cooking steps;

[0022] Based on the execution duration corresponding to the cooking step, determining whether other execution devices can execute the remaining cooking steps within the corresponding second idle time if the cooking step is executed according to the earliest time period in the second idle time of the first execution device;

[0023] If the judgment result is yes, then based on the earliest time period in the second idle time and the execution duration corresponding to each cooking step, the response time of each cooking step in the corresponding execution device is determined.

[0024] Specifically, the method further includes:

[0025] If the result of the determination is no, then continue to determine whether the other executing devices can execute the remaining cooking steps in the corresponding second idle time if the cooking steps are executed according to the second earliest time period in the second idle time of the first executing device;

[0026] Until the judgment result indicates that the cooking steps are executed according to the latest time period in the second idle time of the first execution device, and the other execution devices still cannot execute the remaining cooking steps within the corresponding second idle time, the latest time between the target device idle time and the first idle time is selected as the response time of the electronic recipe to be executed.

[0027] Specifically, the target cooking steps corresponding to the target electronic recipe include fixed-duration cooking steps and / or predicted-duration cooking steps, the preset execution duration includes the execution duration corresponding to the fixed-duration cooking steps, and the historical execution duration includes at least one execution duration corresponding to the predicted-duration cooking steps within the preset time.

[0028] Specifically, when the target electronic recipe includes the predicted cooking step; obtaining the idle time of the target device based on the preset execution time and / or the historical execution time specifically includes:

[0029] Based on the historical execution time, obtaining the predicted execution time of the cooking step of the predicted execution time;

[0030] According to the preset execution time corresponding to the fixed-time cooking step and the predicted execution time corresponding to the predicted-time cooking step, the execution time of the target electronic recipe is predicted and the idle time of the target device is determined.

[0031] Specifically, the idle time of the target device includes a first idle time and a second idle time of the target device; and predicting the execution time of the target electronic recipe and determining the idle time of the target device specifically includes:

[0032] Based on the execution time corresponding to the target cooking step, predicting the execution end time of the target electronic recipe and using it as the first idle time of the target device;

[0033] Based on the execution duration corresponding to the target device execution step matched with the target device, the execution end time of the target device execution step is predicted and used as the second idle time of the target device.

[0034] According to another aspect of the present application, a device for determining a recipe execution time is provided, the device comprising:

[0035] A target recipe acquisition module is used to acquire a target electronic recipe corresponding to a target device;

[0036] An execution time determination module, used to determine, according to the target electronic recipe, a preset execution time corresponding to the target electronic recipe and / or a historical execution time corresponding to the target electronic recipe;

[0037] An idle time acquisition module is used to acquire the idle time of the target device based on the preset execution time and / or the historical execution time, wherein the idle time of the target device is used to determine the response time of the target device to the electronic recipe to be executed.

[0038] Specifically, the device also includes:

[0039] A recipe receiving module to be executed, used for receiving the electronic recipe to be executed, and parsing the electronic recipe to be executed to obtain cooking steps;

[0040] An execution device acquisition module, used to acquire the execution device corresponding to the cooking step and the corresponding execution device idle time;

[0041] The response time determination module is used to determine the response time of the target device to the electronic recipe to be executed based on the idle time of the target device and the idle time of the execution device.

[0042] Specifically, the execution device acquisition module specifically includes:

[0043] A cooking step broadcasting unit, used for broadcasting the cooking steps, so that an execution device matching the cooking steps can feed back the idle time of the execution device to the target device;

[0044] The idle time receiving unit is used to receive the idle time of the execution device.

[0045] Specifically, the execution device idle time includes a first idle time, wherein the first idle time is used to indicate that the execution device is in an idle state after the first idle time;

[0046] The response time determination module specifically includes:

[0047] The first response time determining unit is used to select the latest time between the idle time of the target device and the first idle time as the response time of the electronic recipe to be executed.

[0048] Specifically, the execution device idle time includes a first idle time and a second idle time, wherein the second idle time includes at least one time period;

[0049] The response time determination module specifically includes:

[0050] A first execution device acquisition unit, configured to acquire a first execution device corresponding to a first cooking step in the cooking steps if the idle time of the target device is earlier than the idle time of the execution device;

[0051] A first remaining step judgment unit, configured to judge, based on the execution time corresponding to the cooking step, whether other execution devices can execute the remaining cooking steps within the corresponding second idle time if the cooking step is executed according to the earliest time period in the second idle time of the first execution device;

[0052] The second response time determining unit is used to determine the response time of each cooking step in the corresponding execution device based on the earliest time period in the second idle time and the execution duration corresponding to each cooking step if the judgment result is yes.

[0053] Specifically, the device also includes:

[0054] A second remaining step judging unit, configured to, if the judging result is negative, continue to judge whether the other executing devices can execute the remaining cooking steps in the corresponding second idle time if the cooking steps are executed according to the second earliest time period in the second idle time of the first executing device;

[0055] A third response time determination unit is configured to select the latest time between the target device idle time and the first idle time as the response time of the electronic recipe to be executed until a judgment result indicates that the cooking steps should be executed according to the latest time period within the second idle time of the first execution device, and if the other execution devices still cannot execute the remaining cooking steps within the corresponding second idle time.

[0056] Specifically, the target cooking steps corresponding to the target electronic recipe include fixed-duration cooking steps and / or predicted-duration cooking steps, the preset execution duration includes the execution duration corresponding to the fixed-duration cooking steps, and the historical execution duration includes at least one execution duration corresponding to the predicted-duration cooking steps within the preset time.

[0057] Specifically, when the target electronic recipe includes the predicted cooking step, the idle time acquisition module specifically includes:

[0058] An execution time prediction unit, used for obtaining a predicted execution time of the cooking step of the predicted time based on the historical execution time;

[0059] The idle time determination unit is used to predict the execution time of the target electronic recipe and determine the idle time of the target device according to the preset execution time corresponding to the fixed-time cooking step and the predicted execution time corresponding to the predicted-time cooking step.

[0060] Specifically, the idle time of the target device includes a first idle time and a second idle time of the target device; the idle time determining unit specifically includes:

[0061] A first idle time determination subunit, configured to predict an execution end time of the target electronic recipe based on an execution duration corresponding to the target cooking step and use the predicted end time as a first idle time of the target device;

[0062] The second idle time determination subunit is used to predict the execution end time of the target device execution step based on the execution duration corresponding to the target device execution step matched with the target device and use it as the second idle time of the target device.

[0063] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for determining the execution time of a recipe is implemented.

[0064] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned recipe execution time determination method when executing the program.

[0065] By means of the above technical scheme, the present application provides a recipe execution time determination method and device, storage medium, and computer equipment, which obtain the execution time of the target electronic recipe based on the target electronic recipe corresponding to the target device. The execution time can be divided into a preset execution time and a historical execution time based on whether the target electronic recipe contains a cooking step without a fixed time, thereby determining the idle time of the target device based on the preset execution time and / or the historical execution time, and further determining the response time of the target device to the electronic recipe to be executed based on the idle time. The embodiment of the present application solves the problem in the prior art that when there is an electronic recipe without a fixed time in the device, the idle time of the device cannot be determined, and thus the response time of the device to other recipes cannot be determined. By determining the idle time of the target device and the response time to the electronic recipe to be executed, it is helpful to make reasonable planning for the production scheduling of the smart kitchen and improve cooking efficiency.

[0066] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0068] Figure 1 A schematic diagram of a process for determining a recipe execution time provided in an embodiment of the present application is shown;

[0069] Figure 2 A schematic diagram showing a flow chart of another method for determining a recipe execution time provided in an embodiment of the present application;

[0070] Figure 3 A schematic diagram showing a flow chart of another method for determining a recipe execution time provided in an embodiment of the present application is shown;

[0071] Figure 4 A schematic diagram showing a flow chart of another method for determining a recipe execution time provided in an embodiment of the present application is shown;

[0072] Figure 5 A schematic diagram of the structure of a device for determining a recipe execution time provided in an embodiment of the present application is shown;

[0073] Figure 6 A schematic diagram of the structure of another device for determining recipe execution time provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0074] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0075] In this embodiment, a method for determining a recipe execution time is provided. Figure 1 As shown, the method includes:

[0076] Step 101, obtaining a target electronic recipe corresponding to a target device;

[0077] Step 102, determining a preset execution time corresponding to the target electronic recipe and / or a historical execution time corresponding to the target electronic recipe according to the target electronic recipe;

[0078] Step 103, based on the preset execution time and / or the historical execution time, the idle time of the target device is obtained, wherein the idle time of the target device is used to determine the response time of the target device to the electronic recipe to be executed.

[0079] The embodiments of the present application can be used to predict the idle time of any cooking device and determine the time when the cooking device can execute a new electronic recipe based on the obtained idle time. The recipe execution time determination method provided in this embodiment can predict the idle time of the target device, wherein the target device can be the main control device of the electronic recipe or the collaborative device of the electronic recipe. The main control device of the electronic recipe refers to the device that controls the execution of the electronic recipe, and the collaborative device of the electronic recipe refers to the device that assists in the execution of the electronic recipe. For a certain electronic recipe, the main control device of the electronic recipe has the authority to control the collaborative device, while the collaborative device cannot control the execution of the main control device. For example, for a certain electronic recipe, the main control device is an intelligent cooking machine, and the collaborative device is a batching machine. The intelligent cooking machine can control the batching machine to perform batching tasks, but the batching machine cannot control the intelligent cooking machine to perform any tasks. Whether a cooking device is a master device or a collaborative device refers to an electronic recipe that needs to be executed or is being executed. The cooking device can play the role of a master device and a collaborative device at the same time. For example, for electronic recipe 1, a batching machine is the master device, and for electronic recipe 2, the batching machine is the collaborative device. For electronic recipe 1, the batching machine needs to control other collaborative devices to complete recipe 1, and for electronic recipe 2, the batching machine only needs to accept the control of the master device corresponding to recipe 2 and assist it in completing recipe 2.

[0080] In the above embodiment, the target electronic recipe corresponding to the target device is obtained. The target electronic recipe can be the electronic recipe being executed by the target device, or the electronic recipe included in the to-be-executed list of the target device. Furthermore, the target device can be the main control device of the target electronic recipe, or the cooperative device of the target electronic recipe. According to the obtained target electronic recipe, the execution time of the target electronic recipe is predicted. For some electronic recipes, the cooking steps included in the recipe can be cooking steps with a fixed time, for example, the cooking steps can be steaming corn for 20 minutes. When cooking the same recipe each time, there may be differences in the quality of the ingredients, the material of the cooking pot, etc., and the processing environment may also be different. Some cooking steps can also be cooking steps without a fixed time, for example, the cooking steps can be putting the ingredients in when the oil temperature reaches 200 degrees. When the target electronic recipe only contains cooking steps with a fixed time, the execution time of the target electronic recipe can be directly determined according to the preset execution time corresponding to the electronic recipe. Furthermore, the idle time of the target device can be determined based on the preset execution time. For example, if the start time of the target device executing the target electronic recipe is 2 o'clock and the preset execution time of the target electronic recipe is 10 minutes, then the idle time of the target device can be determined to be 2:10. When the target electronic recipe includes a cooking step without a fixed time, the embodiment of the present application obtains the historical execution time of the target electronic recipe and predicts the execution time of the target electronic recipe based on the historical execution time. For example, a target electronic recipe 1 includes a cooking step without a fixed time. Considering that the quality and temperature of the ingredients supplied on that day are relatively similar, and the processing environment on the same day is relatively stable, the historical execution time of the target electronic recipe can be obtained based on the historical record of the execution of the target electronic recipe on that day. Assuming that the target electronic recipe has been executed twice on that day, once for 10 minutes and 16 seconds and the other for 10 minutes and 20 seconds, it can be predicted that the execution time of the target electronic recipe is the average or maximum value of the two. The specific prediction method is not limited here. Taking the maximum value as an example, it can be concluded that the execution time of the target electronic recipe is 10 minutes and 20 seconds. Then, the idle time of the target device is determined based on the historical execution time. Under the premise that the execution start time of the target electronic recipe by the target device is 2 o'clock, the idle time of the device is 2 hours, 10 minutes and 20 seconds.

[0081] It should be noted that if the target electronic recipe contains both cooking steps with fixed time and cooking steps without fixed time, the idle time of the target electronic recipe can be determined based on the preset execution time corresponding to the cooking steps with fixed time and the historical execution time corresponding to the cooking steps without fixed time.

[0082] Further, in the embodiment of the present application, the idle time of the target device obtained by the above method can be used to determine the response time of the target device to the electronic recipe to be executed, that is, to determine the time when the target device can execute other electronic recipes based on the idle time. For example, the target device receives a new electronic recipe to be executed as a master device, but other recipes are currently being executed in the target device. Then, the idle time of the target device can be obtained first and then the response time to the electronic recipe to be executed can be determined based on the idle time. Assuming that the idle time of the target device is 2:10, the response time to the electronic recipe to be executed can be 2:10 and the time after 2:10. It should be noted that the step of determining the idle time of the target device can be performed after the target device receives the electronic recipe to be executed, or it can be performed immediately after the target device determines the target electronic recipe to be executed, so as to determine the idle time so as to determine the response time to the electronic recipe to be executed according to the idle time immediately when the electronic recipe to be executed is received. In short, it can be understood that the recipe execution time determination method provided in the embodiment of the present application can be executed at any time.

[0083] By applying the technical solution of this embodiment, based on the target electronic recipe corresponding to the target device, the execution time of the target electronic recipe is obtained. The execution time can be divided into a preset execution time and a historical execution time based on whether the target electronic recipe contains a cooking step without a fixed time, so as to determine the idle time of the target device based on the preset execution time and / or the historical execution time, and further determine the response time of the target device to the electronic recipe to be executed based on the idle time. The embodiment of the present application solves the problem in the prior art that when there is an electronic recipe without a fixed time in the device, the idle time of the device cannot be determined, and thus the response time of the device to other recipes cannot be determined. By determining the idle time of the target device and the response time to the electronic recipe to be executed, it is helpful to make reasonable planning for the production scheduling of the smart kitchen and improve cooking efficiency.

[0084] In an embodiment of the present application, specifically, the target cooking steps corresponding to the target electronic recipe include fixed-duration cooking steps and / or predicted-duration cooking steps, the preset execution time includes the execution time corresponding to the fixed-duration cooking steps, and the historical execution time includes at least one execution time corresponding to the predicted-duration cooking steps within the preset time.

[0085] When the target electronic recipe includes a cooking step with a predicted cooking time, step 103 specifically includes:

[0086] Step 103-1, based on the historical execution time, obtain the predicted execution time of the cooking step;

[0087] Step 103 - 2 , predicting the execution time of the target electronic recipe and determining the idle time of the target device according to the preset execution time corresponding to the fixed-time cooking step and the predicted execution time corresponding to the predicted-time cooking step.

[0088] In the above embodiment, for cooking steps with fixed durations, the electronic recipe is directly parsed to obtain the preset execution duration corresponding to the step; for cooking steps without fixed durations, the historical execution durations are obtained and the execution durations are predicted, so as to determine the execution duration of the electronic recipe based on the execution duration corresponding to each cooking step of the electronic recipe, and determine the idle time of the target device in combination with the execution start time of the recipe.

[0089] The predicted execution time corresponding to the cooking step without a fixed duration can be (Et-2*DT, Et+2*DT), where: n is the number of historical execution times, Et is the average of n historical execution times, t i is the i-th historical execution time.

[0090] The historical execution time corresponding to the cooking steps without fixed duration can be obtained based on the timer of the cooking equipment. For such cooking steps, when the step starts, the start time t of the step is recorded. 开始 , after the step actually ends, record t 结束 , the step completion time is t = t 结束 -t 开始 , so that the single execution time t of this step can be calculated.

[0091] In some application scenarios, for some cooking devices, when participating in the execution of a certain electronic recipe, the cooking device does not participate in the execution of the electronic recipe throughout the process. For example, during the execution of the electronic recipe, the batching machine only participates in the batching step, and the batching machine is idle at other times. In this idle state, the batching machine can also participate in the execution of other electronic recipes. Therefore, in order to make full use of the idle state of the cooking device during the execution of a certain recipe, the idle time of the device can also be calculated for the specific cooking steps in which the device participates.

[0092] Specifically, the idle time of the target device includes the first idle time and the second idle time of the target device; the first idle time refers to the time when the target device completes the execution of the target electronic recipe, and the first idle time is used to indicate that the target device is in an idle state after the first idle time, that is, after the first idle time, the target device will always be in an idle state and no other tasks need to be executed, and the second idle time is a short idle time of the target device in the process of executing the target electronic recipe, and the target device needs to continue to execute the target electronic recipe after the second idle time.

[0093] Correspondingly, step 103-2 specifically includes: based on the execution time corresponding to the target cooking step, predicting the execution end time of the target electronic recipe and using it as the first idle time of the target device; based on the execution time corresponding to the target device execution step matching the target device, predicting the execution end time of the target device execution step and using it as the second idle time of the target device.

[0094] For example, an electronic recipe contains 3 steps, the execution time of step A is 0 minutes to 2 minutes, the execution time of step B is 2 minutes to 6 minutes, and the execution time of step C is 6 minutes to 8 minutes. The target device participates in the execution of step A and step C. Then the first idle time corresponding to the target device is 8 minutes, and the second idle time corresponding to the target device is 2 minutes to 6 minutes.

[0095] Further, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another method for determining the execution time of a recipe is provided, such as Figure 2 As shown, the method includes:

[0096] Step 201, receiving an electronic recipe to be executed, and parsing the electronic recipe to be executed to obtain cooking steps;

[0097] Step 202, obtaining the execution device corresponding to the cooking step and the idle time of the corresponding execution device;

[0098] Step 203: determining the response time of the target device to the electronic recipe to be executed based on the idle time of the target device and the idle time of the execution device.

[0099] In the above embodiment, when the target device acts as the main control device, after the target device receives the electronic recipe to be executed, first, the electronic recipe to be executed can be parsed to obtain the cooking steps included in the recipe, and secondly, the execution device corresponding to each cooking step is determined. If the cooking step can be executed in the target device, the target device is the execution device of the step. If it cannot be executed in the target device, a device capable of executing the cooking step is obtained from the online devices of the target device as the execution device of the step. For example, the electronic recipe to be executed includes three cooking steps A, B, and C. The execution devices of steps A and C are the target device, and the execution device of step B is device A. After determining the execution devices of the cooking steps, the idle time of each execution device is obtained. Finally, the response time of the electronic recipe to be executed is determined according to the idle time of the execution devices corresponding to each execution device and the idle time of the target device.

[0100] It should be noted that the target device can serve as an execution device for the electronic recipe to be executed, or it can only serve as a master control device for the electronic recipe to be executed to control the relevant execution devices without specifically participating in the execution of the recipe, that is, it only serves as a master control device and not as an execution device.

[0101] In the embodiment of the present application, step 202 may specifically include: broadcasting the cooking steps so that the execution device matching the cooking steps feeds back the idle time of the execution device to the target device; and receiving the idle time of the execution device.

[0102] In the above embodiment, the target device can broadcast cooking steps that it does not have the ability to execute, so that after receiving the broadcast content, the cooking devices in the local area network can determine whether they have the ability to execute the cooking steps, and if they have the ability to execute, they can determine themselves as the execution device and feedback the idle time of the execution device to the target device.

[0103] In the embodiment of the present application, based on the content included in the idle time of the execution device fed back by the execution device, step 203 includes two implementation methods, which are as follows:

[0104] Method 1:

[0105] The execution device idle time includes a first idle time, wherein the first idle time is used to indicate that the execution device is in an idle state after the first idle time; step 203 includes:

[0106] Step 203-A-1, selecting the latest time between the target device idle time and the first idle time as the response time of the electronic recipe to be executed.

[0107] In the above method, if Figure 3 As shown, if the execution device idle time includes the first idle time, then the latest time between the target device idle time and the first idle time is used as the response time of the electronic recipe to be executed. For example, if the target device idle time is 2 o'clock and the first idle time is 2 o'clock and 5 minutes, then 2 o'clock and 5 minutes are used as the response time of the electronic recipe to be executed. It should be noted that the target device is used as a master control device. In order to avoid the existence of multiple electronic recipes that need to be controlled and executed in the master control device at the same time, the cooking device can only be used as a master control device of an electronic recipe at the same time. That is to say, the target device idle time mentioned above is the first idle time of the target device.

[0108] Method 2:

[0109] The execution device idle time includes a first idle time and a second idle time, wherein the second idle time includes at least one time period; step 203 includes:

[0110] Step 203-B-1, if the idle time of the target device is earlier than the idle time of the execution device, obtaining a first execution device corresponding to the first cooking step in the cooking steps;

[0111] Step 203-B-2, based on the execution time corresponding to the cooking step, determining whether other execution devices can execute the remaining cooking steps within the corresponding second idle time if the cooking step is executed according to the earliest time period in the second idle time of the first execution device;

[0112] Step 203-B-3, if the judgment result is yes, then based on the earliest time period in the second idle time and the execution duration corresponding to each cooking step, determine the response time of each cooking step in the corresponding execution device;

[0113] Step 203-B-4, if the result of the judgment is no, continue to judge whether other execution devices can execute the remaining cooking steps in the corresponding second idle time if the cooking steps are executed according to the second earliest time period in the second idle time of the first execution device;

[0114] Step 203-B-5, until the judgment result indicates that the cooking steps should be executed according to the latest time period in the second idle time of the first execution device, and other execution devices still cannot execute the remaining cooking steps within the corresponding second idle time, select the latest time between the target device idle time and the first idle time as the response time of the electronic recipe to be executed.

[0115] In the above embodiment, if Figure 4As shown, if the idle time of the execution device includes the second idle time of the execution device, then it can be determined whether the electronic recipe to be executed can be executed in the second idle time of the execution device according to the second idle time. If it cannot be executed in the second idle time, the response time of the electronic recipe to be executed is determined based on the first idle time. Assume that a certain electronic recipe to be executed includes three cooking steps A, B, and C, the execution device corresponding to step A is device A, the execution device corresponding to step B is device B, and the execution device corresponding to step C is device C. First, the second idle time (T1, T2, T2) corresponding to device A is obtained, the execution start time of step A is determined based on T1, and the execution start time of step B is determined based on the execution start time and the execution duration corresponding to step A. Then, the idle time corresponding to device B (including the first idle time and the second idle time) is obtained to determine whether step B can be executed in the idle time of device B. If it can, then continue to determine whether step C can be executed in the idle time of device C. If not, the second idle time T2 of device A is used as the execution start time of step A, and re-determine whether step B can be executed in the idle time of device B and whether step C can be executed in the idle time of device C. Based on the above method, if step A cannot be executed during the second idle time of device A, the response time of the electronic recipe to be executed is determined based on the first idle time of each execution device and the idle time of the target device according to the method in method one.

[0116] Through the above-mentioned method 2, the second idle time is preferentially selected as the execution time of the execution device for the cooking steps, so that the interval time of the device executing other electronic recipes can be fully utilized, which helps to respond to the electronic recipes to be executed more quickly and improve the kitchen's food delivery efficiency.

[0117] Further, as Figure 1 In the specific implementation of the method, the present application embodiment provides a device for determining the execution time of a recipe, such as Figure 5 As shown, the device comprises:

[0118] A target recipe acquisition module 31 is used to acquire a target electronic recipe corresponding to a target device;

[0119] An execution time determination module 32, for determining, according to the target electronic recipe, a preset execution time corresponding to the target electronic recipe and / or a historical execution time corresponding to the target electronic recipe;

[0120] The idle time acquisition module 33 is used to acquire the idle time of the target device based on the preset execution time and / or the historical execution time, wherein the idle time of the target device is used to determine the response time of the target device to the electronic recipe to be executed.

[0121] In specific application scenarios, such as Figure 6As shown, the device also includes:

[0122] The recipe receiving module 34 is used to receive the electronic recipe to be executed and parse the electronic recipe to be executed to obtain cooking steps;

[0123] An execution device acquisition module 35 is used to acquire the execution device corresponding to the cooking step and the idle time of the corresponding execution device;

[0124] The response time determination module 36 is used to determine the response time of the target device to the electronic recipe to be executed based on the idle time of the target device and the idle time of the execution device.

[0125] In specific application scenarios, such as Figure 6 As shown, the execution device acquisition module 35 specifically includes:

[0126] A cooking step broadcasting unit 351 is used to broadcast the cooking steps so that an execution device matching the cooking steps can feed back the idle time of the execution device to the target device;

[0127] The idle time receiving unit 352 is used to receive the idle time of the execution device.

[0128] In specific application scenarios, such as Figure 6 As shown, the execution device idle time includes a first idle time, wherein the first idle time is used to indicate that the execution device is in an idle state after the first idle time; the response time determination module 36 specifically includes:

[0129] The first response time determining unit 361 is used to select the latest time between the idle time of the target device and the first idle time as the response time of the electronic recipe to be executed.

[0130] In specific application scenarios, such as Figure 6 As shown, the execution device idle time includes a second idle time, wherein the second idle time includes at least one time period; the response time determination module 36 specifically includes:

[0131] A first execution device acquisition unit 362, configured to acquire a first execution device corresponding to a first cooking step in the cooking steps;

[0132] The first remaining step judgment unit 363 is used to judge, based on the execution time corresponding to the cooking step, whether other execution devices can execute the remaining cooking steps within the corresponding second idle time if the cooking step is executed according to the earliest time period in the second idle time of the first execution device;

[0133] The second response time determining unit 364 is used to determine the response time of each cooking step in the corresponding execution device based on the earliest time period in the second idle time and the execution duration corresponding to each cooking step if the judgment result is yes.

[0134] The second remaining step determination unit 365 is used to, if the determination result is negative, continue to determine whether other execution devices can execute the remaining cooking steps in the corresponding second idle time if the cooking steps are executed according to the second earliest time period in the second idle time of the first execution device;

[0135] The third response time determination unit 366 is used to select the latest time between the target device idle time and the first idle time as the response time of the electronic recipe to be executed until the judgment result indicates that the cooking steps should be executed according to the latest time period in the second idle time of the first execution device, and other execution devices still cannot execute the remaining cooking steps within the corresponding second idle time.

[0136] In a specific application scenario, the target cooking steps corresponding to the target electronic recipe include fixed-duration cooking steps and / or predicted-duration cooking steps, the preset execution time includes the execution time corresponding to the fixed-duration cooking steps, and the historical execution time includes at least one execution time corresponding to the predicted-duration cooking steps within the preset time.

[0137] In specific application scenarios, such as Figure 6 As shown, when the target electronic recipe includes a cooking step with a predicted duration; the idle time acquisition module 33 specifically includes:

[0138] An execution time prediction unit 331 is used to obtain a predicted execution time of a cooking step with a predicted execution time based on the historical execution time;

[0139] The idle time determination unit 332 is used to predict the execution time of the target electronic recipe and determine the idle time of the target device according to the preset execution time corresponding to the fixed-time cooking step and the predicted execution time corresponding to the predicted-time cooking step.

[0140] In a specific application scenario, which is not shown in the figure, the idle time of the target device includes the first idle time and the second idle time of the target device; the idle time determination unit 332 specifically includes:

[0141] The first idle time determining subunit 3321 is used to predict the execution end time of the target electronic recipe based on the execution time corresponding to the target cooking step and use it as the first idle time of the target device;

[0142] The second idle time determining subunit 3322 is used to predict the execution end time of the target device execution step based on the execution duration corresponding to the target device execution step matched with the target device and use it as the second idle time of the target device.

[0143] It should be noted that for other corresponding descriptions of the functional units involved in the recipe execution time determination device provided in the embodiment of the present application, reference can be made to Figures 1 to 4 The corresponding description in the method will not be repeated here.

[0144] Based on the above Figures 1 to 4 The method shown in the embodiment of the present application is accordingly provided with a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned Figures 1 to 4 The recipe execution time determination method shown.

[0145] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0146] Based on the above Figures 1 to 4 The method shown, and Figure 5 , Figure 6 In order to achieve the above-mentioned purpose, the embodiment of the present application further provides a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figures 1 to 4 The recipe execution time determination method shown.

[0147] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), etc.

[0148] Those skilled in the art will appreciate that the computer device structure provided in this embodiment does not limit the computer device, and may include more or fewer components, or a combination of certain components, or different component arrangements.

[0149] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages and saves the hardware and software resources of the computer device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to realize communication between the components inside the storage medium, and communication with other hardware and software in the physical device.

[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or can be implemented by hardware based on the target electronic recipe corresponding to the target device to obtain the execution time of the target electronic recipe. The execution time can be divided into a preset execution time and a historical execution time based on whether the target electronic recipe contains a cooking step without a fixed time, thereby determining the idle time of the target device based on the preset execution time and / or the historical execution time, and further determining the response time of the target device to the electronic recipe to be executed based on the idle time. The embodiment of the present application solves the problem in the prior art that when there is an electronic recipe without a fixed time in the device, the idle time of the device cannot be determined, and thus the response time of the device to other recipes cannot be determined. By determining the idle time of the target device and the response time to the electronic recipe to be executed, it is helpful to make reasonable planning for the production scheduling of the smart kitchen and improve cooking efficiency.

[0151] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.

[0152] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.

Claims

1. A method for determining a recipe execution time, characterized in that: The method comprises: Obtain the target electronic recipe corresponding to the target device; Determine, according to the target electronic recipe, a preset execution duration corresponding to the target electronic recipe and / or a historical execution duration corresponding to the target electronic recipe, wherein the target cooking steps corresponding to the target electronic recipe include fixed-duration cooking steps and / or predicted-duration cooking steps, the preset execution duration includes the execution duration corresponding to the fixed-duration cooking steps, and the historical execution duration includes at least one execution duration corresponding to the predicted-duration cooking steps within a preset time; When the target electronic recipe includes the predicted-duration cooking step, the predicted execution time of the predicted-duration cooking step is obtained based on the historical execution time; according to the preset execution time corresponding to the fixed-duration cooking step and the predicted execution time corresponding to the predicted-duration cooking step, the execution time of the target electronic recipe is predicted and the idle time of the target device is determined, wherein the idle time of the target device is used to determine the response time of the target device to the electronic recipe to be executed.

2. The method according to claim 1, characterized in that The method further comprises: receiving the electronic recipe to be executed, and parsing the electronic recipe to be executed to obtain cooking steps; Acquire the execution device corresponding to the cooking step and the idle time of the corresponding execution device; Based on the idle time of the target device and the idle time of the execution device, a response time of the target device to the electronic recipe to be executed is determined.

3. The method according to claim 2, characterized in that The obtaining of the execution device corresponding to the cooking step and the idle time of the corresponding execution device specifically includes: broadcasting the cooking steps so that an execution device matching the cooking steps can feed back the idle time of the execution device to the target device; The execution device idle time is received.

4. The method according to claim 3, characterized in that The execution device idle time includes a first idle time, wherein the first idle time is used to indicate that the execution device is in an idle state after the first idle time; The step of determining the response time of the target device to the electronic recipe to be executed based on the idle time of the target device and the idle time of the execution device specifically includes: The latest time between the idle time of the target device and the first idle time is selected as the response time of the electronic recipe to be executed.

5. The method according to claim 3, characterized in that: The execution device idle time includes a first idle time and a second idle time, wherein the second idle time includes at least one time period; The step of determining the response time of the target device to the electronic recipe to be executed based on the idle time of the target device and the idle time of the execution device specifically includes: Acquire a first execution device corresponding to a first cooking step in the cooking steps; Based on the execution duration corresponding to the cooking step, determining whether other execution devices can execute the remaining cooking steps within the corresponding second idle time if the cooking step is executed according to the earliest time period in the second idle time of the first execution device; If the judgment result is yes, then based on the earliest time period in the second idle time and the execution duration corresponding to each cooking step, the response time of each cooking step in the corresponding execution device is determined.

6. The method according to claim 5, characterized in that The method further comprises: If the result of the determination is no, then continue to determine whether the other executing devices can execute the remaining cooking steps in the corresponding second idle time if the cooking steps are executed according to the second earliest time period in the second idle time of the first executing device; Until the judgment result indicates that the cooking steps are executed according to the latest time period in the second idle time of the first execution device, and the other execution devices still cannot execute the remaining cooking steps within the corresponding second idle time, the latest time between the target device idle time and the first idle time is selected as the response time of the electronic recipe to be executed.

7. The method according to any one of claims 1 to 6, characterized in that The idle time of the target device includes a first idle time and a second idle time of the target device; and predicting the execution time of the target electronic recipe and determining the idle time of the target device specifically includes: Based on the execution time corresponding to the target cooking step, predicting the execution end time of the target electronic recipe and using it as the first idle time of the target device; Based on the execution duration corresponding to the target device execution step matched with the target device, the execution end time of the target device execution step is predicted and used as the second idle time of the target device.

8. A device for determining a recipe execution time, characterized in that: The device comprises: A target recipe acquisition module is used to acquire a target electronic recipe corresponding to a target device; an execution duration determination module, for determining, according to the target electronic recipe, a preset execution duration corresponding to the target electronic recipe and / or a historical execution duration corresponding to the target electronic recipe, wherein the target cooking steps corresponding to the target electronic recipe include fixed-duration cooking steps and / or predicted-duration cooking steps, the preset execution duration includes the execution duration corresponding to the fixed-duration cooking steps, and the historical execution duration includes at least one execution duration corresponding to the predicted-duration cooking steps within a preset time; An idle time acquisition module is used to obtain the predicted execution time of the cooking step with predicted duration based on the historical execution time when the target electronic recipe includes the cooking step with predicted duration; predict the execution time of the target electronic recipe and determine the idle time of the target device according to the preset execution time corresponding to the fixed-duration cooking step and the predicted execution time corresponding to the cooking step with predicted duration, wherein the idle time of the target device is used to determine the response time of the target device to the electronic recipe to be executed.

9. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for determining the recipe execution time according to any one of claims 1 to 7 is implemented.

10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the program, the recipe execution time determination method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Menu execution method and device, storage medium and computer equipment

    CN110866844A

  • Menu broadcasting method and system, storage medium and electronic equipment

    CN111105820A