Cooking equipment control method and device, equipment and storage medium
By identifying the types of food and obtaining relevant data, and dynamically adjusting the heating method of cooking equipment, the problem that solid temperature control programs in the prior art cannot adapt to different food needs is solved, and a more efficient cooking effect is achieved.
Patent Information
- Application Number
- CN202411881985.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-02-18
AI Technical Summary
The existing cooking equipment adopts a fixed temperature control program, which cannot adapt to the heating demand of different food types, making it difficult for the cooking effect to meet user expectations.
By identifying the types of food, periodically obtaining cooking temperature control data and food characteristic data, determining the edible state of the food, generating target power based on the data, and adjusting the operation mode of the cooking equipment.
It realizes dynamic adjustment of heating methods according to the characteristics of different food types, improves cooking effects, and enables food to achieve the best edible state.
Smart Images

Figure CN119453777A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Things, and in particular to a cooking equipment control method, device, equipment and storage medium. Background Art
[0002] With the continuous advancement of technology, there are more and more types of cooking equipment. For example, the steaming and baking tools in the kitchen have changed from traditional pots to steam ovens, and are widely used in households and the catering industry, effectively improving people's quality of life.
[0003] Existing cooking equipment usually adopts a fixed temperature control program, that is, before cooking, the user can select the desired temperature control parameters on the cooking equipment, and after starting cooking, the heating power corresponding to the temperature control parameters is used to heat the ingredients, and the heating power remains constant during the entire cooking process. However, even if the user selects the temperature control parameters according to the recipe recommendation, it is still impossible to use the cooking equipment to cook delicious and fragrant food. This is because different types of ingredients have different requirements for heating temperature during the cooking process. Some ingredients need constant temperature heating to not affect the taste of the ingredients, while some ingredients need continuous heating to obtain a better taste. However, the cooking equipment adopts a fixed temperature control program during the cooking process. Once the temperature control parameters are selected, all types of ingredients use the same heating method during the cooking process. The cooking equipment cannot adapt to the heating requirements of different types of food, which ultimately makes it difficult for the cooking effect to meet user expectations. Summary of the invention
[0004] The present application provides a cooking equipment control method, device, equipment and storage medium to solve the problem that cooking equipment usually adopts a fixed temperature control program, resulting in the cooking equipment being unable to adapt to the heating requirements of different types of food.
[0005] In view of the above technical problems, the technical solution of this application is solved by the following embodiments:
[0006] An embodiment of the present application provides a cooking equipment control method, comprising: identifying a food type corresponding to a food set in a cooking equipment; during the operation of the cooking equipment, obtaining cooking temperature control data and food characteristic data corresponding to the food from the cooking equipment once every preset sampling time period; after each acquisition of the cooking temperature control data and the food characteristic data, determining a consumption state corresponding to the food characteristic data; if the consumption state has not yet reached a target consumption state corresponding to the food type, generating a target power according to the cooking temperature control data and sending the target power to the cooking equipment, so that the cooking equipment operates according to the target power.
[0007] Wherein, determining the edible state corresponding to the food characteristic data includes: before determining the edible state corresponding to the food characteristic data, obtaining target characteristic data corresponding to the food type; extracting the target characteristic corresponding to each preset dimension from the target characteristic data; for each of the dimensions, setting multiple characteristic ranges according to the target characteristic corresponding to the dimension and setting an edible state for each of the characteristic ranges; when determining the edible state corresponding to the food characteristic data, extracting the food characteristics corresponding to each dimension from the food characteristic data; for each of the dimensions, determining the food state corresponding to the characteristic range to which the food characteristic corresponding to the dimension belongs as the edible state corresponding to the dimension.
[0008] Among them, generating the target power according to the cooking temperature control data includes: obtaining the cooking mode corresponding to the cooking equipment; determining the heating mode according to the cooking mode and the type of food; obtaining a trained temperature control model corresponding to the heating mode; inputting the cooking temperature control data into the temperature control model, and obtaining the target power output by the temperature control model.
[0009] Among them, the step of training the temperature control model corresponding to the heating mode includes: in the process of the sample cooking device heating the sample food, every adjustment time period corresponding to the heating mode, obtaining sample temperature control data from the sample cooking device once; after each acquisition of the sample temperature control data, inputting the sample temperature control data into the temperature control model; obtaining the predicted power output by the temperature control model, and sending the predicted power to the sample cooking device; obtaining the heating temperature and heating power in the sample temperature control data, and reading the power change frequency corresponding to the sample cooking device; determining the model reward value according to the heating temperature and the set temperature corresponding to the food type of the sample food; determining the model penalty value according to the power change frequency; passing the model reward value and the model penalty value to the temperature control model so as to adjust the temperature control model adjustment parameters based on the policy gradient algorithm until the training is completed.
[0010] Wherein, the model reward value is determined according to the heating temperature and the set temperature corresponding to the food type; and the model penalty value is determined according to the power change frequency, including: determining the absolute value of the difference between the heating temperature and the set temperature, and taking the opposite of the absolute value of the difference as the model reward value; determining the model penalty value as the product of the power change frequency and a preset penalty coefficient; wherein the power change frequency is the quotient obtained by dividing the number of power changes of the sample cooking device by the operating time of the sample cooking device.
[0011] The method further includes: determining the cumulative energy consumption value corresponding to the cooking device based on the heating power used by the cooking device in each sampling time period and the time length of each sampling time period; sending the cumulative energy consumption value to the cooking device so that the cooking device displays the cumulative energy consumption value; and, when the cumulative energy consumption value is greater than a preset energy consumption threshold, sending a preset energy consumption alarm message to the cooking device.
[0012] The method further includes: controlling the cooking device to stop running when the eating state has reached the target eating state corresponding to the food type.
[0013] The embodiment of the present application also provides a cooking equipment control device, including: an identification module, used to identify the food type corresponding to the food set in the cooking equipment; an acquisition module, used to acquire cooking temperature control data and food characteristic data corresponding to the food from the cooking equipment once every preset sampling time period during the operation of the cooking equipment; a determination module, used to determine the eating state corresponding to the food characteristic data after each acquisition of the cooking temperature control data and the food characteristic data; a control module, used to generate a target power according to the cooking temperature control data and send the target power to the cooking equipment when the eating state has not yet reached the target eating state corresponding to the food type, so that the cooking equipment can operate according to the target power.
[0014] An embodiment of the present application also provides a cooking equipment control device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to: execute a cooking equipment control program stored in the memory to implement any of the above-described cooking equipment control methods.
[0015] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed to implement any of the above-described cooking device control methods.
[0016] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application can identify the food type corresponding to the food set in the cooking device; during the operation of the cooking device, the cooking temperature control data and food characteristic data corresponding to the food are obtained from the cooking device once every preset sampling time period; after each acquisition of the cooking temperature control data and the food characteristic data, the edible state corresponding to the food characteristic data is determined; if the edible state has not yet reached the target edible state corresponding to the food type, the target power is generated according to the cooking temperature control data and the target power is sent to the cooking device, so that the cooking device operates according to the target power. The embodiment of the present application does not use a fixed heating power to cook food, but determines the food state according to the current food characteristic data of the food. If the current food state of the food has not yet reached the target food state, the target power that best suits the current food state is determined according to the current cooking temperature control data of the cooking device, so that the cooking process is more in line with the food itself, ensuring that the cooked food can reach the best food state. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0020] Figure 1 is a flow chart of a cooking device control method according to an embodiment of the present application;
[0021] Figure 2 A flowchart of steps for determining the state of food according to an embodiment of the present application;
[0022] Figure 3 is a flow chart of the training steps of the temperature control model according to an embodiment of the present application;
[0023] Figure 4 is a structural diagram of a cooking equipment control device according to an embodiment of the present application;
[0024] Figure 5 It is a structural diagram of a cooking equipment control device according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution 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. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. 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.
[0026] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0027] The present application embodiment provides a cooking device control method. Figure 1 , which is a flow chart of a cooking equipment control method according to an embodiment of the present application.
[0028] Step S110, identifying the food type corresponding to the food set in the cooking device.
[0029] The types of cooking equipment include, but are not limited to, steam ovens and microwave ovens. For example, the cooking equipment is a vortex variable temperature oven.
[0030] Food types include but are not limited to: meat products, vegetable products, cakes and pizza.
[0031] In the embodiment of the present application, a camera pre-installed in the cooking device housing can be used to capture images of food that is about to be cooked by the cooking device; and a preset image recognition technology can be used to identify the type of food corresponding to the food in the image.
[0032] Step S120, during the operation of the cooking device, the cooking temperature control data and the food characteristic data corresponding to the food are obtained from the cooking device once every preset sampling time period.
[0033] The sampling time period refers to the time interval between two consecutive acquisitions of cooking temperature control data and food characteristic data, wherein the time length of the sampling time period can be an empirical value or a value obtained through experiments.
[0034] The cooking temperature control data refers to a set of temperature-related parameters of the cooking device, including but not limited to: the heating temperature inside the cooking device box and the heating power used by the cooking device.
[0035] Food characteristic data refers to the collection of characteristics of food.
[0036] In an embodiment of the present application, the cooking device can be controlled to start operating in a preset cooking mode. During the operation of the cooking device, the heating power used by the cooking device is obtained from the cooking device. The heating temperature inside the cooking device housing can be detected using a temperature sensor pre-installed in the cooking device housing. The food characteristic sensor group pre-installed in the cooking device housing can be used to detect food characteristic data corresponding to the food.
[0037] Furthermore, cooking modes include, but are not limited to, baking, grilling, re-crisping and steaming.
[0038] Step S130, after acquiring the cooking temperature control data and the food characteristic data each time, determining the eating state corresponding to the food characteristic data.
[0039] The edible state is used to indicate the current cooking state of the food.
[0040] In the embodiment of the present application, multiple levels of eating states can be pre-set and a characteristic range can be set for each eating state; the characteristic range to which the food characteristic data belongs is determined; and the eating state corresponding to the characteristic range is determined as the eating state corresponding to the food characteristic data. Of course, the embodiment of the present application can also use other methods to determine the eating state corresponding to the food characteristic data. One of the methods will be described later, so it will not be repeated here.
[0041] Step S140, when the eating state has not yet reached the target eating state corresponding to the food type, generating a target power according to the cooking temperature control data and sending the target power to the cooking device so that the cooking device operates according to the target power.
[0042] The target eating state refers to the best eating state that the food can reach after cooking. In other words, the target eating state is the highest level of eating state among multiple levels of eating states.
[0043] The target power refers to the adjustment target of the heating power of the cooking device, that is, the cooking device needs to continue to operate with the target power.
[0044] After the target power is sent to the cooking device, if the target power is the same as the heating power of the cooking device, the heating power is maintained; if the target power is different from the heating power of the cooking device, the heating power is adjusted to the target power and the operation continues.
[0045] In an embodiment of the present application, when the eating state has reached the target eating state corresponding to the food type, the cooking device is controlled to stop running. Furthermore, the cooking device can be controlled to stop running in the current cooking mode. If the next cooking mode corresponding to the current cooking mode is not set, the cooking device is controlled to stop running; if the next cooking mode corresponding to the current cooking mode is set in advance, the cooking device is controlled to switch from the current cooking mode to the next cooking mode. For example: switching from a baking mode to a warm keeping mode.
[0046] In an embodiment of the present application, during the process of cooking food, the food status corresponding to the food characteristic data can be sent to the cooking device so that the cooking device can display the food status so that the user can grasp the cooking progress in real time.
[0047] In the embodiment of the present application, the food type corresponding to the food set in the cooking device is identified; during the operation of the cooking device, the cooking temperature control data and food characteristic data corresponding to the food are obtained from the cooking device once every preset sampling time period; after each acquisition of the cooking temperature control data and the food characteristic data, the edible state corresponding to the food characteristic data is determined; when the edible state has not yet reached the target edible state corresponding to the food type, a target power is generated according to the cooking temperature control data and the target power is sent to the cooking device, so that the cooking device operates according to the target power. The embodiment of the present application does not use a fixed heating power to cook food, but determines the food state according to the current food characteristic data of the food. When the current food state of the food has not yet reached the target food state, the target power most suitable for the current food state is determined according to the current cooking temperature control data of the cooking device, so that the cooking process is more in line with the food itself, ensuring that the cooked food can reach the best food state.
[0048] In order to make the embodiments of the present application easier to understand, the cooking equipment control method of the embodiments of the present application will be further described below.
[0049] In the embodiment of the present application, the execution subject is a cloud server or a control host of the environment where the cooking device is located. The cooking device is connected to the execution subject and is controlled by the execution subject. Furthermore, an interactive interface can be set for the cooking device. Among them, the user can select the type of food and / or cooking mode in the interactive interface. The types of cooking modes include but are not limited to: baking, grilling, re-crisping and steaming.
[0050] In an embodiment of the present application, after the cooking device starts to operate, a camera pre-set in the cooking device can be used to capture food images, and based on the food images, the food type corresponding to the food set in the cooking device can be identified. Alternatively, before the cooking device starts to operate, the food type input in the cooking device is identified, and the food type is determined as the food type corresponding to the food in the cooking device. For example; the user selects the food type of the food to be cooked in the control panel of the cooking device, the cooking device can detect the food type selection event, the local end can receive the food type data corresponding to the food type selection event reported by the cooking device, and then the food type corresponding to the food can be identified.
[0051] In the embodiment of the present application, after the cooking device starts to operate, the temperature sensor and the food characteristic sensor group pre-set in the cooking device can be used to obtain the cooking temperature control data and food characteristic data corresponding to the food from the cooking device once every preset sampling time period during the operation of the cooking device. The sampling time period is the sampling interval. Further, a sampling interval can be set for the temperature sensor and each food characteristic sensor, so that the temperature sensor and each food characteristic sensor can perform sampling according to the sampling interval to obtain the heating temperature inside the cooking device box collected by the temperature sensor and the food characteristics collected by the food characteristic sensor, and then the heating temperature inside the cooking device box collected by the temperature sensor, the heating power currently used by the cooking device, and the food characteristic data collected by the food characteristic sensor group can be obtained from the cooking device once every sampling interval.
[0052] Furthermore, the food characteristic data includes multiple food characteristics. The food characteristics included in the food characteristic data include, but are not limited to: biological parameters, gas parameters, maturity, sugar content, fat content, moisture parameters, odor parameters, texture parameters and pH. The specific types of food characteristics that need to be collected can be determined according to the type of food and user needs.
[0053] Furthermore, the food characteristic sensor group includes, but is not limited to: biosensors, gas sensors, optical sensors, moisture sensors, odor sensors, texture sensors, and pH sensors. Biosensors can be used to detect whether there are uninactivated pathogens or bacteria in food to form microbial parameters. Gas sensors can be used to detect whether food produces undesirable gases during cooking to form gas parameters. Optical sensors can be used to detect the maturity, sugar content, and fat content of food; moisture sensors can be used to detect the water content of food to form moisture parameters. Odor sensors can be used to detect the odor emitted by food to form odor parameters. Texture sensors can be used to detect the hardness of food to form texture parameters. pH sensors can be used to detect the pH of food.
[0054] In the embodiment of the present application, after the cooking temperature control data and the food characteristic data are obtained each time, the eating state corresponding to the food characteristic data is determined. The embodiment of the present application uses a similarity calculation method to determine the eating state corresponding to the food characteristic data.
[0055] Figure 2 The figure is a flow chart of the steps for determining the state of food according to one embodiment of the present application.
[0056] Step S210, before determining the consumption state corresponding to the food characteristic data, obtaining target characteristic data corresponding to the food type.
[0057] Target characteristic data refers to the food characteristic data when the food reaches the target edible state. The target edible state refers to the best edible state that the food can reach after cooking.
[0058] Target characteristic data may be set in advance for each food type and stored in a preset storage space. After identifying the food type corresponding to the food set in the cooking device, the target characteristic data corresponding to the food type may be obtained from the storage space.
[0059] Step S220: extracting the target characteristic corresponding to each preset dimension from the target characteristic data.
[0060] The target characteristic data includes target characteristics of multiple dimensions. Each dimension corresponds to at least one target characteristic. Each target characteristic under each dimension is used to determine a target food state.
[0061] The types of dimensions include, but are not limited to, safety, edibility, maturity, and taste. Safety refers to whether the food itself contains harmful substances, such as gas, microorganisms, or bacteria. Edibility refers to whether harmful substances are produced during the cooking process, such as whether the food is burnt. Maturity refers to the maturity of the food. Taste refers to the flavor and smell of the food, for example, what smell the food emits.
[0062] In the target characteristic data set in advance for each food type, the dimensions corresponding to each target characteristic can be divided and marked, so that after the target characteristic data is acquired, the dimensions corresponding to each target characteristic can be known.
[0063] For example: when the food type is beef, the target characteristic under the safety dimension is that Salmonella is not detected; the target characteristic under the usability dimension is that acrylamide is not detected; the target characteristic under the maturity dimension is that the core temperature of the food is 75 degrees; and the target characteristic under the taste dimension is that a caramel aroma is detected.
[0064] Step S230: for each dimension, a plurality of characteristic ranges are set according to the target characteristic corresponding to the dimension, and an edible state is set for each characteristic range.
[0065] The characteristic range is a numerical range or a characteristic type.
[0066] Specifically, each dimension corresponds to a plurality of edible states with different levels, each level of edible state corresponds to a plurality of characteristic ranges, each characteristic range corresponds to a type of characteristic; among them, the highest level of edible state is the target edible state.
[0067] For example; the target characteristic is that the core temperature of beef is 75 degrees, and the target eating state is well-done; based on this setting of each characteristic range, the eating state corresponding to the core temperature above 75 degrees can be set to well-done; the food state corresponding to the core temperature of 70 degrees-74 degrees can be set to 90% done; the food state corresponding to the core temperature of 65 degrees-69 degrees can be set to 80% done; the food state corresponding to the core temperature of 60 degrees-65 degrees can be set to 70% done.
[0068] For example, the target characteristic is that Salmonella is not detected, and the target edible status is food safety. Based on this, the ranges of various characteristics are set, and the food status corresponding to Salmonella is set to food safety, and the food status corresponding to Salmonella is set to food unsafe.
[0069] Step S240, when determining the edible state corresponding to the food characteristic data, extracting the food characteristic corresponding to each dimension in the food characteristic data.
[0070] Similar to the target food status, the food characteristic data includes food characteristics in multiple dimensions. Each dimension corresponds to at least one food characteristic. Each food characteristic under each dimension is used to determine a food status. In other words, the food status also includes multiple dimensions.
[0071] Similar to the target food status, the types of dimensions include but are not limited to: safety dimension, edibility dimension, maturity dimension and taste dimension.
[0072] Step S250: for each dimension, determining the food state corresponding to the characteristic range to which the food characteristic corresponding to the dimension belongs as the edible state corresponding to the dimension.
[0073] If there is a food characteristic under the dimension, the food state corresponding to the characteristic range to which the food characteristic belongs is determined, and the food state is determined as the food state corresponding to the dimension.
[0074] If there are multiple food characteristics under this dimension, for each food characteristic, according to the type of the food characteristic, the food characteristic is compared with the characteristic ranges corresponding to the multiple levels of food states of the type, and the food state corresponding to the characteristic range of the food characteristic is determined; if multiple food characteristics correspond to the same level of food state, the food state is determined as the food state corresponding to the dimension; if multiple food characteristics correspond to different food states, the food state of the lowest level is determined as the food state corresponding to the dimension.
[0075] In an embodiment of the present application, after determining the eating state corresponding to the food characteristic data, it is determined whether the eating state corresponding to the food characteristic data has reached the target eating state corresponding to the food type (the highest level of eating state); if the eating state has reached the target eating state corresponding to the food type, the cooking device is controlled to stop operating in the cooking mode; if the eating state has not yet reached the target eating state corresponding to the food type, the target power is generated according to the cooking temperature control data.
[0076] In an embodiment of the present application, a pre-trained temperature control model can be used to generate a target power according to the cooking temperature control data.
[0077] Since different cooking modes and different types of food require different heating modes, the heating modes corresponding to different heating modes can be pre-trained. The temperature control model corresponding to the current heating mode is used to generate the target power according to the cooking temperature control data.
[0078] The types of heating modes include: constant temperature heating and variable temperature heating. Among them, constant temperature heating means that the cooking device uses the same heating temperature to cook food. Variable temperature heating means that the cooking device uses a variable heating temperature to cook food.
[0079] The principle of constant temperature heating is: during the process of heating food with a cooking device, the heating power of the cooking device is adjusted once every first preset time period. If the heating temperature reaches the set temperature, the heating power of the cooking device is reduced. When the heating temperature drops to the set temperature, the heating power of the cooking device is increased, thereby achieving that the heating temperature of the cooking device always fluctuates around the set temperature. By training the temperature control model, the fluctuation amplitude of the heating temperature is minimized as much as possible, thereby achieving the effect of constant temperature heating.
[0080] The principle of variable temperature heating is that during the process of heating food with a cooking device, the heating power of the cooking device is adjusted every second preset time period, and the length of the first preset time period is less than the length of the second preset time period. In this way, the heating temperature continues to rise. When the heating temperature reaches the set temperature, the heating power is reduced. However, due to the long adjustment interval, the heating temperature does not decrease immediately but continues to rise. The processing power is continuously reduced until the heating temperature gradually drops to the set temperature. The heating power is increased. Due to the long adjustment interval, the heating temperature continues to drop. By continuously increasing the heating power, the heating temperature reaches the set temperature. This reciprocating process can make the heating temperature fluctuate around the set temperature, and the fluctuation range is larger than that of constant temperature heating. By training the temperature control model, the fluctuation amplitude of the heating temperature is within the preset temperature range, thereby achieving the effect of variable temperature heating.
[0081] Specifically, the cooking mode corresponding to the cooking equipment can be obtained; the heating mode can be determined according to the cooking mode and the type of food; a trained temperature control model corresponding to the heating mode can be obtained; the cooking temperature control data can be input into the temperature control model, and the target power output by the temperature control model can be obtained.
[0082] Furthermore, the correspondence between the cooking mode, food type and heating mode can be pre-set and a correspondence table can be formed; after obtaining the cooking mode adopted by the cooking equipment and the food type corresponding to the food, the correspondence table can be queried to determine the heating mode corresponding to the cooking mode and food type.
[0083] In the embodiment of the present application, the temperature control model needs to be trained in advance.
[0084] Figure 3 4 is a flow chart of the training steps of the temperature control model according to an embodiment of the present application.
[0085] Step S310 , when the sample cooking device heats the sample food, sample temperature control data is obtained from the sample cooking device once every adjustment time period corresponding to the heating mode.
[0086] The heating mode is constant temperature heating or variable temperature heating. The adjustment time period corresponding to the constant temperature heating is the first preset time period. The adjustment time period corresponding to the variable temperature heating is the second preset time period. The length of the first preset time period is less than the length of the second preset time period.
[0087] Furthermore, the sampling time period may be determined according to the heating mode. When the heating mode is constant temperature heating, the sampling time period is the first preset time period. When the heating mode is variable temperature heating, the sampling time period is the second preset time period.
[0088] The sample temperature control data includes: the heating temperature in the cabinet of the sample cooking device and the heating power used by the sample cooking device.
[0089] Step S320: after acquiring the sample temperature control data each time, inputting the sample temperature control data into the temperature control model; acquiring the predicted power output by the temperature control model, and sending the predicted power to the sample cooking device.
[0090] After the predicted power is sent to the sample cooking device, the sample cooking device compares the predicted power with the heating power; if the predicted power and the heating power are the same, the heating power is maintained; if the predicted power and the heating power are different, the heating power is adjusted to the predicted power. After the sample cooking device adjusts the heating power to the predicted power, the heating temperature in the cabinet of the sample cooking device will change, so that the heating temperature and heating power in the sample temperature control data collected next time will change.
[0091] Step S330, obtaining the heating temperature and heating power in the sample temperature control data, and reading the power change frequency corresponding to the sample cooking device.
[0092] The power change frequency refers to the frequency with which the cooking device adjusts the heating power.
[0093] The operation time can be accumulated from the time when the sample cooking device is operated; the heating power obtained at that time can be compared with the predicted power. If the heating power is the same as the predicted power, the number of power changes is not accumulated; if the heating power is different from the predicted power, the number of power changes is accumulated. The accumulated number of power changes is divided by the operation time to obtain the power change frequency.
[0094] Step S340, determining a model reward value according to the heating temperature and the set temperature corresponding to the food type of the sample food; and determining a model penalty value according to the power change frequency.
[0095] The absolute value of the difference between the heating temperature and the set temperature may be determined, and the inverse of the absolute value of the difference may be used as the model reward value. For example: model reward value = -|heating temperature - set temperature|.
[0096] The product of the power change frequency and the preset penalty coefficient is determined as the model penalty value; wherein the power change frequency is the quotient obtained by dividing the number of power changes of the sample cooking device by the operating time of the sample cooking device. For example, the model penalty value can be an operating penalty, operating penalty = -x × action frequency; x is the penalty coefficient, and the action frequency is the power change frequency.
[0097] Step S350: passing the model reward value and the model penalty value to the temperature control model so as to adjust the temperature control model adjustment parameters based on a policy gradient algorithm until the training is completed.
[0098] The policy gradient algorithm is a reinforcement learning algorithm that can be used to optimize the temperature control model. The policy gradient algorithm adjusts the parameters of the temperature control model according to the sum of the model reward value and the model penalty value to make the behavior of the temperature control model more in line with the expected goal. That is to say, when the sum of the model reward value and the model penalty value is greater than 0, the heating power is increased; when the sum of the model reward value and the model penalty value is less than 0, the heating power is reduced so that the heating temperature in the sample cooking equipment box fluctuates around the set temperature.
[0099] In the embodiment of the present application, when training the temperature control model, the training iteration number is accumulated, and when the iteration number is greater than the preset iteration number threshold, the temperature control model training is determined to be completed. After the temperature control model training is completed, the temperature control model can be applied to determine the target power.
[0100] In the embodiment of the present application, the target power output by the temperature control model can be sent to the cooking device so that the cooking device operates according to the target power. After the cooking device receives the target power, if the current heating power is the same as the target power, the heating power is maintained and continued to operate; if the current heating power is different from the target power, the heating power is adjusted to the target power.
[0101] The embodiment of the present application analyzes whether the food state of the food has reached the optimal food state based on the food characteristic data. If the optimal food state has not yet been reached, the heating power of the cooking device is adjusted according to the current heating temperature and heating power, so that the heating temperature of the cooking device is more suitable for cooking the current food. The embodiment of the present application deploys a food characteristic sensor group in the cooking device. Through these sensors, the state of the environment in the box and the changes in the ingredients can be monitored in real time, providing comprehensive and accurate data support. The embodiment of the present application provides a more accurate target power by training the temperature control model, so as to achieve precise temperature control of the cooking equipment. For example: for foods that need to be heated in a constant temperature mode, the embodiment of the present application can heat the food at a constant temperature, thereby making the food evenly heated, avoiding the problem of excessive temperature difference between the inside and outside of the food, which leads to a loss of food taste.
[0102] In an embodiment of the present application, in order to facilitate the user to understand the energy consumption during the cooking process, the cumulative energy consumption value corresponding to the cooking device can be determined according to the heating power adopted by the cooking device in each sampling time period and the time length of each sampling time period; the cumulative energy consumption value is sent to the cooking device so that the cooking device displays the cumulative energy consumption value; and, when the cumulative energy consumption value is greater than a preset energy consumption threshold, a preset energy consumption alarm message is sent to the cooking device.
[0103] Furthermore, since the length of the sampling time period is known and the heating power used by the cooking equipment in each sampling time period is known, for each sampling time period, the energy consumption value corresponding to the sampling time period is determined based on the length of the sampling time period and the heating power corresponding to the sampling time period (energy consumption value = length of the sampling time period × heating power); the energy consumption values corresponding to each sampling time period are accumulated to obtain the accumulated energy consumption value.
[0104] The present application also provides a cooking equipment control device. Figure 4 , which is a structural diagram of a cooking equipment control device according to an embodiment of the present application.
[0105] The cooking equipment control device comprises:
[0106] The identification module 410 is used to identify the food type corresponding to the food set in the cooking device.
[0107] The acquisition module 420 is used to acquire the cooking temperature control data and food characteristic data corresponding to the food from the cooking device once every preset sampling time period during the operation of the cooking device.
[0108] The determination module 430 is used to determine the consumption state corresponding to the food characteristic data each time after the cooking temperature control data and the food characteristic data are acquired.
[0109] The control module 440 is used to generate a target power according to the cooking temperature control data and send the target power to the cooking device when the eating state has not yet reached the target eating state corresponding to the food type, so that the cooking device can operate according to the target power.
[0110] The functions of the device described in the embodiment of the present application have been described in the above method embodiment. Therefore, for any details not provided in the description of this embodiment, please refer to the relevant descriptions in the above embodiment and will not be repeated here.
[0111] The present application also provides a cooking device control device, such as Figure 5 , which is a structural diagram of a cooking equipment control device according to an embodiment of the present application.
[0112] The cooking device control device comprises: a processor 510, a communication interface 520, a memory 530 and a communication bus 540. The processor 510, the communication interface 520 and the memory 530 communicate with each other via the communication bus 540.
[0113] The memory 530 is used to store computer programs.
[0114] In one embodiment of the present application, the processor 510, when executing the program stored in the memory 530, implements the cooking device control method provided by any of the aforementioned method embodiments, including: identifying the food type corresponding to the food set in the cooking device; during the operation of the cooking device, obtaining cooking temperature control data and food characteristic data corresponding to the food from the cooking device once every preset sampling time period; after each acquisition of the cooking temperature control data and the food characteristic data, determining the eating state corresponding to the food characteristic data; when the eating state has not yet reached the target eating state corresponding to the food type, generating a target power according to the cooking temperature control data and sending the target power to the cooking device, so that the cooking device operates according to the target power.
[0115] Wherein, determining the edible state corresponding to the food characteristic data includes: before determining the edible state corresponding to the food characteristic data, obtaining target characteristic data corresponding to the food type; extracting the target characteristic corresponding to each preset dimension from the target characteristic data; for each of the dimensions, setting multiple characteristic ranges according to the target characteristic corresponding to the dimension and setting an edible state for each of the characteristic ranges; when determining the edible state corresponding to the food characteristic data, extracting the food characteristics corresponding to each dimension from the food characteristic data; for each of the dimensions, determining the food state corresponding to the characteristic range to which the food characteristic corresponding to the dimension belongs as the edible state corresponding to the dimension.
[0116] Among them, generating the target power according to the cooking temperature control data includes: obtaining the cooking mode corresponding to the cooking equipment; determining the heating mode according to the cooking mode and the type of food; obtaining a trained temperature control model corresponding to the heating mode; inputting the cooking temperature control data into the temperature control model, and obtaining the target power output by the temperature control model.
[0117] Among them, the step of training the temperature control model corresponding to the heating mode includes: in the process of the sample cooking device heating the sample food, every adjustment time period corresponding to the heating mode, obtaining sample temperature control data from the sample cooking device once; after each acquisition of the sample temperature control data, inputting the sample temperature control data into the temperature control model; obtaining the predicted power output by the temperature control model, and sending the predicted power to the sample cooking device; obtaining the heating temperature and heating power in the sample temperature control data, and reading the power change frequency corresponding to the sample cooking device; determining the model reward value according to the heating temperature and the set temperature corresponding to the food type of the sample food; determining the model penalty value according to the power change frequency; passing the model reward value and the model penalty value to the temperature control model so as to adjust the temperature control model adjustment parameters based on the policy gradient algorithm until the training is completed.
[0118] Wherein, the model reward value is determined according to the heating temperature and the set temperature corresponding to the food type; and the model penalty value is determined according to the power change frequency, including: determining the absolute value of the difference between the heating temperature and the set temperature, and taking the opposite of the absolute value of the difference as the model reward value; determining the model penalty value as the product of the power change frequency and a preset penalty coefficient; wherein the power change frequency is the quotient obtained by dividing the number of power changes of the sample cooking device by the operating time of the sample cooking device.
[0119] The method further includes: determining the cumulative energy consumption value corresponding to the cooking device based on the heating power used by the cooking device in each sampling time period and the time length of each sampling time period; sending the cumulative energy consumption value to the cooking device so that the cooking device displays the cumulative energy consumption value; and, when the cumulative energy consumption value is greater than a preset energy consumption threshold, sending a preset energy consumption alarm message to the cooking device.
[0120] The method further includes: controlling the cooking device to stop running when the eating state has reached the target eating state corresponding to the food type.
[0121] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the cooking device control method provided in any of the above method embodiments are implemented. Since the cooking device control method has been described in detail above, for any details not fully described in the description of this embodiment, please refer to the relevant descriptions in the above embodiments, and no further description will be given here.
[0122] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0124] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated characteristics, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other characteristics, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0125] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A cooking equipment control method, characterized in that: include: Identifying the type of food corresponding to the food set in the cooking device; During the operation of the cooking device, the cooking temperature control data and the food characteristic data corresponding to the food are obtained from the cooking device once every preset sampling time period; After acquiring the cooking temperature control data and the food characteristic data each time, determining the edible state corresponding to the food characteristic data; When the eating state has not yet reached the target eating state corresponding to the food type, a target power is generated according to the cooking temperature control data and the target power is sent to the cooking device so that the cooking device operates according to the target power.
2. The method according to claim 1, characterized in that The determining the edible state corresponding to the food characteristic data includes: Before determining the edible state corresponding to the food characteristic data, obtaining target characteristic data corresponding to the food type; Extracting the target characteristic corresponding to each preset dimension from the target characteristic data; For each dimension, a plurality of characteristic ranges are set according to the target characteristic corresponding to the dimension, and an edible state is set corresponding to each characteristic range; When determining the edible state corresponding to the food characteristic data, extracting the food characteristic corresponding to each dimension in the food characteristic data; For each dimension, the food state corresponding to the characteristic range to which the food characteristic corresponding to the dimension belongs is determined as the edible state corresponding to the dimension.
3. The method according to claim 1, characterized in that Generating the target power according to the cooking temperature control data comprises: Obtaining a cooking mode corresponding to the cooking device; Determining a heating mode according to the cooking mode and the type of food; Obtaining a trained temperature control model corresponding to the heating mode; The cooking temperature control data is input into the temperature control model, and the target power output by the temperature control model is obtained.
4. The method according to claim 3, characterized in that: The step of training the temperature control model corresponding to the heating mode comprises: During the process of heating the sample food by the sample cooking device, acquiring sample temperature control data from the sample cooking device once every adjustment time period corresponding to the heating mode; After acquiring the sample temperature control data each time, inputting the sample temperature control data into the temperature control model; acquiring the predicted power output by the temperature control model, and sending the predicted power to the sample cooking device; Acquire the heating temperature and heating power in the sample temperature control data, and read the power change frequency corresponding to the sample cooking device; Determining a model reward value according to the heating temperature and the set temperature corresponding to the food type of the sample food; determining a model penalty value according to the power change frequency; The model reward value and the model penalty value are passed to the temperature control model so as to adjust the temperature control model adjustment parameters based on a policy gradient algorithm until the training is completed.
5. The method according to claim 4, characterized in that The step of determining a model reward value according to the heating temperature and the set temperature corresponding to the food type; and determining a model penalty value according to the power change frequency includes: determining an absolute value of a difference between the heating temperature and the set temperature, and taking the inverse of the absolute value of the difference as the model reward value; The product of the power change frequency and a preset penalty coefficient is determined as the model penalty value; wherein the power change frequency is a quotient obtained by dividing the number of power changes of the sample cooking device by the operating time of the sample cooking device.
6. The method according to claim 1, characterized in that The method further comprises: Determining the accumulated energy consumption value corresponding to the cooking device according to the heating power used by the cooking device in each sampling time period and the length of each sampling time period; sending the accumulated energy consumption value to the cooking device so that the cooking device displays the accumulated energy consumption value; and, When the accumulated energy consumption value is greater than a preset energy consumption threshold, a preset energy consumption alarm message is sent to the cooking device.
7. The method according to claim 1, characterized in that The method further comprises: When the eating state has reached the target eating state corresponding to the food type, the cooking device is controlled to stop operating.
8. A cooking equipment control device, characterized in that: include: An identification module, used to identify the food type corresponding to the food set in the cooking device; An acquisition module, used for acquiring cooking temperature control data and food characteristic data corresponding to the food from the cooking device once every preset sampling time period during the operation of the cooking device; a determination module, configured to determine the edible state corresponding to the food characteristic data after acquiring the cooking temperature control data and the food characteristic data each time; A control module is used to generate a target power according to the cooking temperature control data and send the target power to the cooking device when the eating state has not yet reached the target eating state corresponding to the food type, so that the cooking device can operate according to the target power.
9. A cooking equipment control device, characterized in that: include: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to: execute a cooking device control program stored in the memory to implement the cooking device control method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed to implement the cooking device control method according to any one of claims 1 to 7.