CN117168069A - Method and device for controlling refrigerator, electronic equipment and storage medium - Google Patents

Method and device for controlling refrigerator, electronic equipment and storage medium Download PDF

Info

Publication number
CN117168069A
CN117168069A CN202311115344.2A CN202311115344A CN117168069A CN 117168069 A CN117168069 A CN 117168069A CN 202311115344 A CN202311115344 A CN 202311115344A CN 117168069 A CN117168069 A CN 117168069A
Authority
CN
China
Prior art keywords
target temperature
food material
refrigerator
alternative target
temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311115344.2A
Other languages
Chinese (zh)
Inventor
张明
张景瑞
梁俊杰
葛宗玉
魏倩
马全亭
李京昌
谭夏霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Refrigerator Co Ltd
Qingdao Haier Smart Technology R&D Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Refrigerator Co Ltd
Qingdao Haier Smart Technology R&D Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Refrigerator Co Ltd, Qingdao Haier Smart Technology R&D Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Refrigerator Co Ltd
Priority to CN202311115344.2A priority Critical patent/CN117168069A/en
Publication of CN117168069A publication Critical patent/CN117168069A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices That Are Associated With Refrigeration Equipment (AREA)

Abstract

The application relates to the technical field of refrigerators, and discloses a method for controlling a refrigerator, which comprises the following steps: the weight of each food material in the refrigerator and the storage temperature range of each food material are obtained. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is set to the target temperature. In this way, the target temperature is determined from two dimensions of the weight and storage temperature range of the food material. Compared with the fixed storage temperature, the method can more flexibly adapt to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator. The application also discloses a device for controlling the refrigerator, electronic equipment and a storage medium.

Description

Method and device for controlling refrigerator, electronic equipment and storage medium
Technical Field
The present application relates to the technical field of refrigerators, and for example, to a method and apparatus for controlling a refrigerator, an electronic device, and a storage medium.
Background
At present, a refrigerator is an indispensable household appliance in daily life of people. Refrigerators are generally used as containers for storing foods. The refrigerator is capable of continuously keeping the freezing chamber or the refrigerating chamber of the refrigerator in a low temperature state by refrigerating the freezing chamber or the refrigerating chamber, so that the shelf life of foods stored in the refrigerator is prolonged. Therefore, how to determine the storage temperature of food in a refrigerator is an important point in refrigerator control. In the related art, a refrigerator generally takes a default preset temperature or a temperature set by a user as a storage temperature of food in the refrigerator, and controls an air conditioner according to the storage temperature.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art: in the related art, a temperature of a refrigerator is controlled in such a manner that a default preset temperature or a temperature set by a user is used as a storage temperature of food in the refrigerator. The fixed storage temperature cannot meet the requirements of different food materials, so that the food materials in the refrigerator are easy to deteriorate or rot rapidly. So that the food storage effect of the refrigerator is low.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the application and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method and a device for controlling a refrigerator, electronic equipment and a storage medium, so as to improve the food storage effect of the refrigerator.
In some embodiments, the method for controlling a refrigerator includes: the weight of each food material in the refrigerator and the storage temperature range of each food material are obtained. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is set to the target temperature.
In some embodiments, the obtaining the alternative target temperature within the preset temperature variation range of the refrigerator, and determining the target temperature according to the alternative target temperature, the weight of each food material, and the storage temperature range of each food material, includes: acquiring a j-th alternative target temperature under the condition that j is smaller than or equal to a preset first time number threshold value; j is a positive integer; j is more than or equal to 1 and less than or equal to n; n is a preset first time threshold; j is used to characterize the current number of times the alternative target temperature is acquired. And calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material, and obtaining the fitness score corresponding to the j-th alternative target temperature. And determining a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature. And determining the target temperature according to the first alternative target score corresponding to the j-th alternative target temperature.
In some embodiments, the obtaining the jth alternative target temperature includes: generating the jth random temperature in a preset refrigerator temperature variation range. The jth random temperature is determined as the jth alternative target temperature.
In some embodiments, the calculating according to the weight of each food material, the preset weight corresponding to each food material, and the storage temperature range of each food material, to obtain the fitness score corresponding to the j-th candidate target temperature includes: and calculating according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm, and obtaining a fitness score corresponding to the j-th alternative target temperature.
In some embodiments, the determining the first candidate target score corresponding to the jth candidate target temperature according to the fitness score corresponding to the jth candidate target temperature includes: and determining a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature and a preset second alternative target score.
In some embodiments, the determining the target temperature according to the first candidate target score corresponding to the jth candidate target temperature includes: updating the second alternative target score by using the first alternative target score corresponding to the j-th alternative target temperature under the condition that j is smaller than a preset first time number threshold; adding 1 to j; then re-acquiring the j-th alternative target temperature; calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material again to obtain the fitness score corresponding to the j-th alternative target temperature; determining a first alternative target score corresponding to the jth alternative target temperature according to the fitness score corresponding to the jth alternative target temperature; determining the target temperature again according to the first alternative target score corresponding to the j-th alternative target temperature; and/or, determining the first alternative target score corresponding to the j-th alternative target temperature as the target temperature under the condition that j is equal to a preset first time number threshold value.
In some embodiments, the apparatus for controlling a refrigerator includes: and the acquisition module is configured to acquire the weight of each food material in the refrigerator and the storage temperature range of each food material. The determining module is configured to acquire an alternative target temperature in a preset refrigerator temperature change range and determine the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. And a setting module configured to set a refrigerator storage temperature range of the refrigerator to a target temperature.
In some embodiments, the apparatus for controlling a refrigerator includes a processor and a memory storing program instructions, the processor being configured to perform the above-described method for controlling a refrigerator when the program instructions are executed.
In some embodiments, the electronic device comprises: an electronic device body. The above-described apparatus for controlling a refrigerator is mounted to the electronic device body.
In some embodiments, the storage medium stores program instructions that, when executed, perform the method for controlling a refrigerator described above.
The method and device for controlling the refrigerator, the electronic equipment and the storage medium provided by the embodiment of the disclosure can realize the following technical effects: by acquiring the weight of each food material and the storage temperature range of each food material in the refrigerator. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is then set to the target temperature. In this way, the target temperature is determined from two dimensions of the weight and storage temperature range of the food material. Compared with the fixed storage temperature, the method can more flexibly adapt to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
fig. 1 is a schematic view of a method for controlling a refrigerator provided in an embodiment of the present disclosure;
fig. 2 is a schematic view of another method for controlling a refrigerator provided by an embodiment of the present disclosure;
fig. 3 is a schematic view of another method for controlling a refrigerator provided by an embodiment of the present disclosure;
fig. 4 is a schematic view of an apparatus for controlling a refrigerator provided in an embodiment of the present disclosure;
fig. 5 is a schematic view of another apparatus for controlling a refrigerator provided in an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure;
fig. 7 is a schematic diagram of another electronic device provided by an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
The term "corresponding" may refer to an association or binding relationship, and the correspondence between a and B refers to an association or binding relationship between a and B.
The method for controlling the refrigerator, provided by the embodiment of the disclosure, is applied to electronic equipment. The electronic equipment obtains the weight of each food material in the refrigerator and the storage temperature range of each food material. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is then set to the target temperature. In this way, the application acquires the alternative target temperature for a plurality of times in the preset refrigerator temperature change range, and then determines the target temperature according to each alternative target temperature, the weight of the food material and the storage temperature range of the food material. The target temperature is determined from two dimensions of the weight and storage temperature range of the food material. Compared with the fixed storage temperature, the method can more flexibly adapt to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
As shown in connection with fig. 1, an embodiment of the present disclosure provides a method for controlling a refrigerator, including:
in step S101, the electronic device obtains the weight of each food material in the refrigerator and the storage temperature range of each food material.
Step S102, the electronic equipment acquires an alternative target temperature in a preset refrigerator temperature change range, and determines the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material.
In step S103, the electronic apparatus sets the refrigerator storage temperature range of the refrigerator to the target temperature.
By adopting the method for controlling the refrigerator, which is provided by the embodiment of the disclosure, the weight of each food material in the refrigerator and the storage temperature range of each food material are obtained. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is then set to the target temperature. In this way, the target temperature is determined from two dimensions of the weight and storage temperature range of the food material. Compared with the fixed storage temperature, the method can more flexibly adapt to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
Optionally, the electronic device obtains the weight of each food material and the storage temperature range of each food material in the refrigerator, including: the electronic equipment receives the weight of the food materials and the storage temperature range of the food materials sent by the user terminal. The electronic device determines the weight of each food material as the weight of each food material. The food material storage temperature range of each food material is determined as the storage temperature range of each food material.
The user terminal is provided with an application program corresponding to the refrigerator. The electronic terminal includes: a mobile phone, a tablet, a computer, a smart watch or a refrigerator.
In some embodiments, the application program of the electronic device stores food material names of different food materials, food material weights of different food materials, and food material storage temperature ranges of different food materials that are put into the refrigerator by a user. The food material names of the food materials, the weight of the food materials of different food materials and the storage temperature range of the food materials of different food materials are in one-to-one correspondence. The user can add or delete food materials stored in the refrigerator through the application program. In the case that the user adds or deletes the food stored in the refrigerator, the weight of the food and the food storage temperature range of the food are correspondingly added or deleted. The user can know the optimal storage temperature of each food material in the APP, namely the storage temperature range of the food material. The weight of the food material and the storage temperature range of the food material can be modified. After each time the user modifies the food material names, the food material weights and the food material storage temperature ranges stored by the application program, the user terminal sends the food material weights corresponding to the food material names and the food material storage temperature ranges corresponding to the food material names stored by the application program to the refrigerator after the user modifies the food material names, the food material weights and the food material storage temperature ranges corresponding to the food material names. The refrigerator receives the weight of the food material corresponding to each food material name and the storage temperature range of the food material corresponding to each food material name. And determining the weight of the food material corresponding to the name of each food material as the weight of each food material. And determining the storage temperature range of the food material corresponding to each food material name as the storage temperature range of each food material. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. Therefore, after the food materials stored in the refrigerator are changed, the temperature of the refrigerator can be adjusted in time, and the dynamic control of the temperature of the refrigerator is realized. So as to adapt to the weight of the food materials stored in the refrigerator and the storage temperature range of the food materials. Thereby improving the food storage effect of the refrigerator. Meanwhile, the temperature can be automatically adjusted to keep the optimal state, so that a user does not need to manually adjust the temperature of the refrigerator, and more convenient and intelligent use experience is provided.
Optionally, the storage temperature range is a default temperature range corresponding to each food material. The default temperature range is based on scientific evidence and literature, and varies by one or more of the characteristics, nutritional composition, and storage requirements of the food material. Under the condition that the food material is in the corresponding default temperature range, the deterioration rate of the food material is lower, so that the storage effect or the fresh-keeping effect is better. For example, in the case where the food material is quick frozen dumplings, it is determined based on scientific basis and literature data that the storage requirement of the quick frozen dumplings is-18 to-5 ℃. The default temperature range is-18 to-5 degrees celsius.
Further, the electronic device obtains an alternative target temperature within a preset temperature variation range of the refrigerator, and determines the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material, including: and the electronic equipment acquires the j-th alternative target temperature under the condition that j is smaller than or equal to a preset first time threshold value. j is a positive integer. J is more than or equal to 1 and n is more than or equal to n. n is a preset first time threshold; j is used to characterize the current number of times the alternative target temperature is acquired. And the electronic equipment calculates according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material, and obtains the fitness score corresponding to the j-th alternative target temperature. And the electronic equipment determines a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature. And the electronic equipment determines the target temperature according to the first alternative target score corresponding to the j-th alternative target temperature. In this way, the target temperature can be determined from the candidate target temperature acquired multiple times, the weight of each food material, the preset weight corresponding to each food material, and the storage temperature range of each food material. Therefore, the food materials can be stored at a more proper temperature, so that the quality guarantee period of each food material is prolonged, and the waste of each food material is reduced. Thereby saving resources and reducing the influence on the environment.
In some embodiments, the preset first time count threshold is 10 times. The higher the first time threshold, the lower the efficiency, and the target temperature can be adapted to the instruction and storage temperature range of each food material. The jth alternative target temperature is the jth acquired alternative target temperature, namely the jth generated random temperature. The initial value of j is 1.
Further, the electronic device obtains a j-th alternative target temperature, including: the electronic equipment generates the jth random temperature in a preset refrigerator temperature variation range. The electronic device determines the jth random temperature as the jth alternative target temperature. In this way, it is possible to generate a random temperature a plurality of times within the temperature variation range of the refrigerator, and determine the random temperature as the target temperature candidate. So as to determine the target temperature from among the candidate target temperatures. The efficiency and the accuracy of the obtained target temperature are improved. Thereby improving the food storage effect of the refrigerator.
The preset refrigerator temperature change range is a temperature adjustment range of the refrigerator, and comprises: a temperature regulation range of the refrigerating chamber or a temperature regulation range of the freezing chamber. In some embodiments, the refrigerator temperature of the refrigerator's fresh food compartment ranges from 1 ℃ to 9 ℃.
Further, the sub-device generates a j-th random temperature within a preset temperature variation range of the refrigerator, including: the electronic equipment generates the jth random temperature in a preset refrigerator temperature change range according to a preset change factor. In some embodiments, the variation factor characterizes a minimum amplitude of temperature adjustability of the refrigerator. In some embodiments, the variation factor is 0.1 degrees celsius. I.e. the minimum temperature-adjustable amplitude of the refrigerator is 0.1 degrees celsius. Then, the generated random temperature is one decimal in the temperature variation range of the refrigerator.
Further, the electronic device calculates according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material, and obtains the fitness score corresponding to the j-th alternative target temperature, including: the electronic equipment calculates according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm, and a fitness score corresponding to the j-th alternative target temperature is obtained. In this way, the target temperature can be determined among the candidate target temperatures by the weight of each food material, the preset weight corresponding to each food material, and the storage temperature range of each food material. The determined target temperature can be adapted to the weight of each food material stored in the refrigerator and the storage temperature range of each food material. So that the food material can be stored at a suitable target temperature in order to maintain the nutritional ingredients and flavor integrity of the food material, thereby providing better food quality and mouthfeel.
Optionally, the preset weight corresponding to each food material is set by default through the food material value and/or the user preference. The food material value includes a nutritional value of the food material or a monetary value of the food material. The higher the value of the food material and/or the more preferred the user, the higher the preset weight of the food material. The lower the value of the food material and/or the less preferred the user, the lower the preset weight of the food material. In this way, by setting weights for the food material value and/or user preferences, each alternative target temperature can be scored from the dimensions of the food material value and/or user preferences to determine the target temperature. Therefore, the storage effect of the food materials with high food material value and/or preferred by the user can be ensured to the greatest extent.
Optionally, the preset weight corresponding to each food material is a weight adjusted by the user. In some embodiments, the user adjusts the default weights by an application in the user terminal. The default weights are weights set by default by food material value and/or user preference. In this way, the user sets or adjusts the preset weight corresponding to each food material through own preference. Therefore, the freshness and quality of the food materials can be maintained to the maximum extent under the condition of considering the preference of the user.
Further, the electronic device calculates, according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material, and the storage temperature range of each food material, by using a preset fitness algorithm, to obtain a fitness score corresponding to the j-th alternative target temperature, including: by calculation of electronic devicesAnd obtaining the fitness score corresponding to the j-th alternative target temperature. Wherein N is the total number of food materials. f (j) is the fitness score corresponding to the j-th alternative target temperature. Q (Q) i Is the weight of the ith food material. W (W) i The weight corresponding to the ith food material. T (T) i min Is the minimum value of the storage temperature range of the ith food material. T (T) i max Is the maximum value of the storage temperature range of the ith food material. T (T) j Is the j-th alternative target temperature. I () is an instruction function whose value is 1 in the case where the condition in brackets is satisfied. In the case where the condition in brackets is not satisfied, the value of the indicator function is 0. In this way, the candidate target temperature can be scored from four dimensions of the weight of the food material, the weight corresponding to the food material, the maximum value of the storage temperature range of the food material, and the minimum value of the storage temperature range of the food material, and the fitness score corresponding to the candidate target temperature can be obtained.
Further, the electronic device determines a first candidate target score corresponding to the jth candidate target temperature according to the fitness score corresponding to the jth candidate target temperature, including: the electronic equipment determines a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature and a preset second alternative target score. In the case where j is equal to 1, the preset second candidate target score is 0. And under the condition that j is greater than 1, acquiring a preset second alternative target score through the fitness score corresponding to the j-1 alternative target temperature. In this way, the first candidate target score can be iterated continuously, so that the first candidate target score corresponding to the j-th candidate target temperature is determined as the target temperature when j is equal to the preset first time number threshold.
Further, the electronic device determines a first candidate target score corresponding to the jth candidate target temperature according to the fitness score corresponding to the jth candidate target temperature and a preset second candidate target score, including: and the electronic equipment determines the maximum value of the fitness score corresponding to the j-th alternative target temperature and the preset second alternative target score as a first alternative target score corresponding to the j-th alternative target temperature.
Further, the electronic device determining the target temperature according to the first candidate target score corresponding to the j-th candidate target temperature includes: under the condition that j is smaller than a preset first time threshold value, updating a second alternative target score by using a first alternative target score corresponding to the j alternative target temperature by the electronic equipment; adding 1 to j; then re-acquiring the j-th alternative target temperature; calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material again to obtain the fitness score corresponding to the j-th alternative target temperature; determining a first alternative target score corresponding to the jth alternative target temperature according to the fitness score corresponding to the jth alternative target temperature; and determining the target temperature again according to the first alternative target score corresponding to the j-th alternative target temperature. And/or the electronic equipment determines the first alternative target score corresponding to the j-th alternative target temperature as the target temperature under the condition that j is equal to a preset first time threshold value. In this way, it is convenient to determine the candidate target temperature with the highest score as the target temperature. The food material is in a proper temperature, and the storage effect is improved.
In some embodiments, after j self-adds 1, j-1 is j before j self-adds 1. And under the condition that the target temperature is larger than 1, the preset second candidate target scores are all first candidate target scores corresponding to the j-1 th candidate target temperature. And determining the candidate target temperature corresponding to the fitness score with the highest fitness score as the target temperature by means of iterative comparison of the fitness scores corresponding to the candidate target temperatures.
In some embodiments, the first time count threshold is 10 times. Three food materials of apples, 1 liter of milk and 12 eggs are placed in the refrigerator. Wherein the weight of the 1 st food material apple is 200 g, and the storage temperature range of the 1 st food material apple is 1-2 ℃. The weight of the 1 st food apple is 0.5. The weight of the 2 nd food material milk is 1000 g, and the storage temperature range of the 2 nd food material milk is 2-6 ℃. The weight of the 2 nd food milk is 1.0. The weight of the 3 rd food material egg is 720 g, and the storage temperature range of the 3 rd food material egg is 1-9 ℃. The weight of the 3 rd food egg is 0.8. The refrigerator temperature of the refrigerator ranges from 1 ℃ to 9 ℃. j=1, the electronic device first randomly acquires a 1 st random temperature 1 ℃ within 1 ℃ to 9 ℃, and determines the 1 st random temperature as a 1 st alternative target temperature. And then calculating according to the candidate target temperatures, the weight of each food material, the weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm to obtain a fitness score corresponding to the 1 st candidate target temperature of-1476. And then acquiring a first alternative target score of 0 corresponding to the 1 st alternative target temperature. If j=1, the preset second candidate target score is 0, and the electronic device determines the maximum value of fitness scores-1476 and 0 corresponding to the 1 st candidate target temperature as the first candidate target score corresponding to the 1 st candidate target temperature. Then, the first candidate target score corresponding to the 1 st candidate target temperature is 0.
And then updating the second alternative target score by using the first alternative target score corresponding to the 1 st alternative target temperature, and enabling the updated second alternative target score to be 0. J is then self-added to 1, j=2. Randomly acquiring the 2 nd random temperature of 1.5 ℃ within 1 ℃ to 9 ℃, and determining the random number of 1.5 ℃ as the 2 nd alternative target temperature. And then calculating according to the candidate target temperatures, the weight of each food material, the weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm to obtain a fitness score corresponding to the 2 nd candidate target temperature of-1476. If j=2, the preset second candidate target score is 0, and the electronic device determines the maximum value of fitness scores-1476 and 0 corresponding to the 2 nd candidate target temperature as the first candidate target score corresponding to the 2 nd candidate target temperature. Then, the first candidate target score corresponding to the 2 nd candidate target temperature is 0. And then updating the second alternative target score by using the first alternative target score corresponding to the 2 nd alternative target temperature, and enabling the updated second alternative target score to be 0. J is then self-added to 1, j=3. Randomly acquiring a 3 rd random temperature of 2 ℃ within 1 ℃ to 9 ℃, and determining the random number of 2 ℃ as a 3 rd alternative target temperature. And then calculating according to the candidate target temperatures, the weights of the food materials, the weights corresponding to the food materials and the storage temperature ranges of the food materials by using a preset fitness algorithm to obtain a fitness score 524 corresponding to the 3 rd candidate target temperature. If j=3, the preset second candidate target score is 0, and the electronic device determines the maximum value of the fitness scores 524 and 0 corresponding to the 3 rd candidate target temperature as the first candidate target score corresponding to the 3 rd candidate target temperature. Then the first alternative target score corresponding to the 3 rd alternative target temperature is 524. And then updating the second alternative target score by using the first alternative target score corresponding to the 3 rd alternative target temperature, and then enabling the updated second alternative target score to be 524.J is then self-added to 1, j=4. Randomly acquiring a 4 th random temperature of 5 ℃ within 1 ℃ to 9 ℃, and determining the random number of 5 ℃ as a 4 th alternative target temperature. And then calculating according to the candidate target temperatures, the weights of the food materials, the weights corresponding to the food materials and the storage temperature ranges of the food materials by using a preset fitness algorithm to obtain a fitness score 1476 corresponding to the 4 th candidate target temperature. If j=4, the preset second candidate target score is 524, and the electronic device determines the maximum value of fitness scores 1476 and 524 corresponding to the 4 th candidate target temperature as the first candidate target score corresponding to the 3 rd candidate target temperature. Then the first alternative target score corresponding to the 3 rd alternative target temperature is 1476. And so on until a second alternative target score corresponding to the 10 th alternative target temperature is obtained. And then determining a first alternative target score corresponding to the 10 th alternative target temperature as a target score. The refrigerator storage temperature range of the refrigerator is set to the target temperature. In this way, iteration of the first alternative target score is achieved through the inner random search algorithm, and the first alternative target score which finally meets the condition, namely the optimal first alternative target score, is determined to be the target temperature. The target temperature can be adapted to the weight of each food material stored in the refrigerator and the storage temperature range of each food material. The fresh-keeping device can be more flexibly adapted to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials, and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
As shown in connection with fig. 2, an embodiment of the present disclosure provides another method for controlling a refrigerator, including:
in step S201, the electronic device obtains the weight of each food material and the storage temperature range of each food material in the refrigerator.
In step S202, the electronic device generates a j-th random temperature in a preset refrigerator temperature variation range when j is less than or equal to a preset first time number threshold. j is a positive integer; j is more than or equal to 1 and less than or equal to n; n is a preset first time threshold; j is used to characterize the current number of times the alternative target temperature is acquired.
In step S203, the electronic device determines the jth random temperature as the jth alternative target temperature.
Step S204, the electronic equipment calculates according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm, and obtains a fitness score corresponding to the j-th alternative target temperature.
In step S205, the electronic device determines a first candidate target score corresponding to the jth candidate target temperature according to the fitness score corresponding to the jth candidate target temperature and the preset second candidate target score.
Step S206, the electronic equipment updates the second alternative target score by using the first alternative target score corresponding to the j-th alternative target temperature under the condition that j is smaller than a preset first time threshold; adding 1 to j; then re-acquiring the j-th alternative target temperature; calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material again to obtain the fitness score corresponding to the j-th alternative target temperature; determining a first alternative target score corresponding to the jth alternative target temperature according to the fitness score corresponding to the jth alternative target temperature; and determining the target temperature again according to the first alternative target score corresponding to the j-th alternative target temperature.
In step S207, the electronic device determines, as the target temperature, a first candidate target score corresponding to the j-th candidate target temperature if j is equal to the preset first time threshold.
In step S208, the electronic apparatus sets the refrigerator storage temperature range of the refrigerator to the target temperature.
By adopting the method for controlling the refrigerator, which is provided by the embodiment of the disclosure, the weight of each food material in the refrigerator and the storage temperature range of each food material are obtained. And then generating a j random temperature in a preset refrigerator temperature change range under the condition that the current times of acquiring the alternative target temperature is smaller than or equal to a preset first time number threshold value, and determining the j random temperature as the j alternative target temperature. And then obtaining the fitness score corresponding to the j-th alternative target temperature according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm. And determining a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature and a preset second alternative target score. And updating the second candidate target score and j under the condition that j is smaller than a preset first time threshold value, and then re-acquiring the j-th candidate target temperature and the corresponding first candidate target score. The second candidate target score is then updated. Iterative updating of the second alternative target score is achieved. And under the condition that j is equal to a preset first time number threshold value, determining a first alternative target score corresponding to the j-th alternative target temperature as the target temperature. The refrigerator storage temperature range of the refrigerator is then set to the target temperature. In this way, the set target temperature can be adapted to the weight of each food material stored in the refrigerator and the storage temperature range of each food material. The fresh-keeping device can be more flexibly adapted to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials, and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
As shown in connection with fig. 3, an embodiment of the present disclosure provides another method for controlling a refrigerator, including:
in step S301, the electronic device obtains the weight of each food material and the storage temperature range of each food material in the refrigerator. Step S302 is then performed.
In step S302, the electronic device generates a j-th random temperature in a preset temperature variation range of the refrigerator when j is less than or equal to a preset first time number threshold. Then step S303 is performed.
In step S303, the electronic device determines the jth random temperature as the jth alternative target temperature. Step S304 is then performed.
Step S304, the electronic equipment calculates according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm, and obtains a fitness score corresponding to the j-th alternative target temperature. Then step S305 is performed.
In step S305, the electronic device determines the maximum value of the fitness score corresponding to the jth candidate target temperature and the preset second candidate target score as the first candidate target score corresponding to the jth candidate target temperature. Step S306 is then performed.
In step S306, the electronic device determines whether j is equal to a preset first time threshold, if yes, step S309 is executed. If not, step S307 is performed.
In step S307, the electronic device updates the second candidate target score with the first candidate target score corresponding to the j-th candidate target temperature. Step S308 is then performed.
In step S308, the electronic device adds j to 1. Step S302 is then performed.
In step S309, the electronic device determines a first candidate target score corresponding to the jth candidate target temperature as the target temperature. Then step S310 is performed.
In step S310, the electronic apparatus sets a refrigerator storage temperature range of the refrigerator to a target temperature.
By adopting the method for controlling the refrigerator, which is provided by the embodiment of the disclosure, iteration can be performed on the first alternative target score in a random search algorithm mode, so that the first alternative target score with the first threshold value time is most suitable for the weight of each food material stored in the refrigerator and the storage temperature range of each food material. Therefore, the set target temperature can be more flexibly adapted to the requirements of different weights of food materials and storage temperature ranges. So as to maintain the integrity of the nutritional ingredients and flavor of the food material, thereby providing better food quality and mouthfeel.
As shown in conjunction with fig. 4, an embodiment of the present disclosure provides an apparatus 8 for controlling a refrigerator, including an acquisition module 9, a determination module 10, and a setting module 7. An acquisition module 9 configured to acquire the weight of each food material and the storage temperature range of each food material in the refrigerator; a determining module 10 configured to acquire an alternative target temperature within a preset refrigerator temperature variation range, and determine the target temperature according to the alternative target temperature, the weight of each food material, and the storage temperature range of each food material; a setting module 7 configured to set a refrigerator storage temperature range of the refrigerator to a target temperature.
The final control method for controlling the refrigerator provided by the embodiment of the disclosure is realized by acquiring the weight of each food material in the refrigerator and the storage temperature range of each food material. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is then set to the target temperature. In this way, the target temperature is determined from two dimensions of the weight and storage temperature range of the food material. Compared with the fixed storage temperature, the method can more flexibly adapt to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
Further, the determining module is configured to obtain an alternative target temperature within a preset refrigerator temperature variation range by the following method, and determine the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material, including: acquiring a j-th alternative target temperature under the condition that j is smaller than or equal to a preset first time number threshold value; j is a positive integer; j is more than or equal to 1 and less than or equal to n; n is a preset first time threshold; j is used to characterize the current number of times the alternative target temperature is acquired. And calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material, and obtaining the fitness score corresponding to the j-th alternative target temperature. And determining a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature. And determining the target temperature according to the first alternative target score corresponding to the j-th alternative target temperature.
Further, the determining module is configured to obtain the j-th alternative target temperature by a method comprising: generating the jth random temperature in a preset refrigerator temperature variation range. The jth random temperature is determined as the jth alternative target temperature.
Further, the determining module is configured to calculate according to the weight of each food material, the preset weight corresponding to each food material, and the storage temperature range of each food material, to obtain an fitness score corresponding to the j-th candidate target temperature, including: and calculating according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm, and obtaining a fitness score corresponding to the j-th alternative target temperature.
Further, the determining module is configured to determine a first candidate target score corresponding to the jth candidate target temperature according to the fitness score corresponding to the jth candidate target temperature by a method including: and determining a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature and a preset second alternative target score.
Further, the determining module is configured to determine the target temperature according to the first candidate target score corresponding to the j-th candidate target temperature by a method comprising: updating the second alternative target score by using the first alternative target score corresponding to the j-th alternative target temperature under the condition that j is smaller than a preset first time number threshold; adding 1 to j; then re-acquiring the j-th alternative target temperature; calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material again to obtain the fitness score corresponding to the j-th alternative target temperature; determining a first alternative target score corresponding to the jth alternative target temperature according to the fitness score corresponding to the jth alternative target temperature; determining the target temperature again according to the first alternative target score corresponding to the j-th alternative target temperature; and/or, determining the first alternative target score corresponding to the j-th alternative target temperature as the target temperature under the condition that j is equal to a preset first time number threshold value.
As shown in connection with fig. 5, an embodiment of the present disclosure provides an apparatus 1 for controlling a refrigerator, including a processor (processor) 2 and a memory (memory) 3. Optionally, the apparatus may further comprise a communication interface (Communication Interface) 4 and a bus 5. The processor 2, the communication interface 4 and the memory 3 can communicate with each other via the bus 5. The communication interface 4 may be used for information transmission. The processor 2 may call logic instructions in the memory 3 to perform the method for controlling a refrigerator of the above-described embodiment.
Further, the logic instructions in the memory 3 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product.
The memory 3 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 2 executes functional applications and data processing by running program instructions/modules stored in the memory 3, i.e., implements the method for controlling a refrigerator in the above-described embodiments.
The memory 3 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the terminal device, etc. Further, the memory 3 may include a high-speed random access memory, and may also include a nonvolatile memory.
By adopting the device for controlling the refrigerator, which is provided by the embodiment of the disclosure, the weight of each food material in the refrigerator and the storage temperature range of each food material are obtained. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is then set to the target temperature. In this way, the target temperature is determined from two dimensions of the weight and storage temperature range of the food material. Compared with the fixed storage temperature, the method can more flexibly adapt to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
As shown in connection with fig. 6, an embodiment of the present disclosure provides an electronic device 6, comprising: an electronic apparatus body, and the above-described device 1 for controlling a refrigerator. The apparatus 1 for controlling a refrigerator is mounted to an electronic device body. The mounting relationship described herein is not limited to being placed inside the electronic device 6, but includes mounting connections with other components of the electronic device 6, including but not limited to physical connections, electrical connections, or signal transmission connections, etc. It will be appreciated by those skilled in the art that the apparatus 1 for controlling a refrigerator may be adapted to a viable electronic device body, thereby realizing other viable embodiments.
As shown in connection with fig. 7, an embodiment of the present disclosure provides an electronic device 6, comprising: an electronic device body, and the above-described apparatus 8 for controlling a refrigerator. The device 8 for controlling a refrigerator is mounted to the electronic apparatus body. The mounting relationship described herein is not limited to being placed inside the electronic device 6, but includes mounting connections with other components of the electronic device 6, including but not limited to physical connections, electrical connections, or signal transmission connections, etc. It will be appreciated by those skilled in the art that the means 8 for controlling a refrigerator may be adapted to a viable electronic device body, thereby enabling other viable embodiments.
In some embodiments, the electronic device comprises a server or a refrigerator.
By adopting the electronic equipment provided by the embodiment of the disclosure, the weight of each food material in the refrigerator and the storage temperature range of each food material are obtained. The method comprises the steps of obtaining an alternative target temperature in a preset refrigerator temperature change range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material. The refrigerator storage temperature range of the refrigerator is then set to the target temperature. In this way, the target temperature is determined from two dimensions of the weight and storage temperature range of the food material. Compared with the fixed storage temperature, the method can more flexibly adapt to the requirements of the weight and the storage temperature range of different food materials, improves the fresh-keeping effect of the food materials and prolongs the quality guarantee period of the food materials. Thereby improving the food storage effect of the refrigerator.
Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for controlling a refrigerator.
The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this disclosure is meant to encompass any and all possible combinations of one or more of the associated listed. In addition, when used in the present disclosure, the terms "comprises" (combjse) and variations thereof "comprising" (combjses) and/or "comprising" (combjsng) and the like, are intended to specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for controlling a refrigerator, comprising:
acquiring the weight of each food material in the refrigerator and the storage temperature range of each food material;
acquiring an alternative target temperature in a preset refrigerator temperature variation range, and determining the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material;
the refrigerator storage temperature range of the refrigerator is set to the target temperature.
2. The method of claim 1, wherein obtaining the alternative target temperature within a preset range of refrigerator temperature variation and determining the target temperature based on the alternative target temperature, the weight of each food item, and the storage temperature range of each food item, comprises:
acquiring a j-th alternative target temperature under the condition that j is smaller than or equal to a preset first time number threshold value; j is a positive integer; j is more than or equal to 1 and less than or equal to n; n is a preset first time threshold; j is used for representing the current times of acquiring the alternative target temperature;
calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material, and obtaining the fitness score corresponding to the j-th alternative target temperature;
determining a first alternative target score corresponding to the jth alternative target temperature according to the fitness score corresponding to the jth alternative target temperature;
And determining the target temperature according to the first alternative target score corresponding to the j-th alternative target temperature.
3. The method of claim 2, wherein obtaining the j-th alternative target temperature comprises:
generating a j random temperature in a preset refrigerator temperature variation range;
the jth random temperature is determined as the jth alternative target temperature.
4. The method of claim 2, wherein calculating according to the weight of each food material, the preset weight corresponding to each food material, and the storage temperature range of each food material, to obtain the fitness score corresponding to the jth candidate target temperature includes:
and calculating according to the j-th alternative target temperature, the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material by using a preset fitness algorithm, and obtaining a fitness score corresponding to the j-th alternative target temperature.
5. The method of claim 2, wherein determining a first alternative target score for the jth alternative target temperature based on the fitness score for the jth alternative target temperature comprises:
and determining a first alternative target score corresponding to the j alternative target temperature according to the fitness score corresponding to the j alternative target temperature and a preset second alternative target score.
6. The method of claim 5, wherein determining the target temperature based on the first candidate target score corresponding to the j-th candidate target temperature comprises:
updating the second alternative target score by using the first alternative target score corresponding to the j-th alternative target temperature under the condition that j is smaller than a preset first time number threshold; adding 1 to j; then re-acquiring the j-th alternative target temperature; calculating according to the weight of each food material, the preset weight corresponding to each food material and the storage temperature range of each food material again to obtain the fitness score corresponding to the j-th alternative target temperature; determining a first alternative target score corresponding to the jth alternative target temperature according to the fitness score corresponding to the jth alternative target temperature; determining the target temperature again according to the first alternative target score corresponding to the j-th alternative target temperature; and/or the number of the groups of groups,
and under the condition that j is equal to a preset first time number threshold value, determining a first alternative target score corresponding to the j-th alternative target temperature as the target temperature.
7. An apparatus for controlling a refrigerator, comprising:
the acquisition module is configured to acquire the weight of each food material in the refrigerator and the storage temperature range of each food material;
The determining module is configured to acquire an alternative target temperature in a preset refrigerator temperature change range and determine the target temperature according to the alternative target temperature, the weight of each food material and the storage temperature range of each food material;
and a setting module configured to set a refrigerator storage temperature range of the refrigerator to a target temperature.
8. An apparatus for controlling a refrigerator comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for controlling a refrigerator according to any one of claims 1 to 6 when the program instructions are run.
9. An electronic device, comprising:
an electronic device body;
the apparatus for controlling a refrigerator of claim 7 or 8, mounted to the electronic device body.
10. A storage medium storing program instructions which, when executed, perform the method for controlling a refrigerator of any one of claims 1 to 6.
CN202311115344.2A 2023-08-31 2023-08-31 Method and device for controlling refrigerator, electronic equipment and storage medium Pending CN117168069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311115344.2A CN117168069A (en) 2023-08-31 2023-08-31 Method and device for controlling refrigerator, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311115344.2A CN117168069A (en) 2023-08-31 2023-08-31 Method and device for controlling refrigerator, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117168069A true CN117168069A (en) 2023-12-05

Family

ID=88946302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311115344.2A Pending CN117168069A (en) 2023-08-31 2023-08-31 Method and device for controlling refrigerator, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117168069A (en)

Similar Documents

Publication Publication Date Title
US20190186817A1 (en) Content and context aware microscopic cooling optimization for refrigerators
US20190034556A1 (en) Method, apparatus and refrigerator for recipe recommendation
CN111189273A (en) Temperature control method and device for refrigerator and computer readable storage medium
US10140342B2 (en) Similarity calculation system, method of calculating similarity, and program
CN105387570A (en) Executive capability adjustment method and device of water chilling unit
CN110864493B (en) Temperature adjusting method and device, refrigerator and computer readable storage medium
CN111998606B (en) Information processing method and device for improving usability of storage cabinet
CN106850750A (en) A kind of method and apparatus of real time propelling movement information
CN109582902B (en) Determination method of ranking information, list display method and computer equipment
CN110990372A (en) Dimensional data processing method and device and data query method and device
WO2015043227A1 (en) Systems and methods for contacts management
CN109527970B (en) Cooking method and cooking equipment
CN110857831A (en) Method and device for controlling temperature of refrigerator
JP6352951B2 (en) Display promotional information
CN117168069A (en) Method and device for controlling refrigerator, electronic equipment and storage medium
CN115247931A (en) Ingestion deadline management system
CN112696867B (en) Control method and device for refrigerator and refrigerator
CN116447720A (en) Method and device for controlling air conditioner, electronic equipment and storage medium
CN109145035B (en) Power grid data processing method based on data mining
Hui et al. Periodicity in an impulsive logistic equation with a distributed delay
CN107789829B (en) Game article data transmission method
CN106679318A (en) Control method, device and system for refrigeration equipment
CN104156457A (en) Webpage sequencing method and system based on MapReduce frame
CN113959056B (en) Control method and control device for air conditioner and air conditioner
CN112800325B (en) Material recommendation method, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication