CN112902547B - Refrigerator parameter updating method, device and storage medium - Google Patents

Refrigerator parameter updating method, device and storage medium Download PDF

Info

Publication number
CN112902547B
CN112902547B CN201911214752.7A CN201911214752A CN112902547B CN 112902547 B CN112902547 B CN 112902547B CN 201911214752 A CN201911214752 A CN 201911214752A CN 112902547 B CN112902547 B CN 112902547B
Authority
CN
China
Prior art keywords
refrigerator
value
solution
parameters
parameter
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.)
Active
Application number
CN201911214752.7A
Other languages
Chinese (zh)
Other versions
CN112902547A (en
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
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Refrigerator 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, Haier Smart Home Co Ltd filed Critical Qingdao Haier Refrigerator Co Ltd
Priority to CN201911214752.7A priority Critical patent/CN112902547B/en
Publication of CN112902547A publication Critical patent/CN112902547A/en
Application granted granted Critical
Publication of CN112902547B publication Critical patent/CN112902547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D29/00Arrangement or mounting of control or safety devices
    • F25D29/003Arrangement or mounting of control or safety devices for movable devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D29/00Arrangement or mounting of control or safety devices
    • F25D29/005Mounting of control devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D2500/00Problems to be solved
    • F25D2500/06Stock management
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D2600/00Control issues
    • F25D2600/06Controlling according to a predetermined profile

Abstract

The invention provides a refrigerator parameter updating method, equipment and a storage medium, wherein the method comprises the following steps: collecting personalized parameters of articles stored in the refrigerator and calling basic parameters preset in the refrigerator; acquiring a weight coefficient according to the personalized parameters and acquiring an influence factor according to the basic parameters; constructing an objective function according to the weight coefficient and the influence factor; generating an initial solution and substituting the initial solution into the objective function to obtain a first value, and solving the first value into any environmental parameter; judging whether the first value meets a preset condition, if so, adjusting the environmental parameter corresponding to the initial solution to be the current environmental parameter of the refrigerator; and if not, generating a second solution and substituting the second solution into the objective function to form a second value, and adjusting the environment parameter corresponding to the second solution forming the second value into the current environment parameter of the refrigerator until the second value meets the preset condition. The invention obtains the optimal environmental parameters suitable for the refrigerator to work according to the solution of the constructed objective function so as to realize the intelligent control of the refrigerator during working.

Description

Refrigerator parameter updating method, device and storage medium
Technical Field
The invention relates to the technical field of household appliances, in particular to a refrigerator parameter updating method, equipment and a storage medium.
Background
The refrigerator has become a necessary household appliance for many families, and with the improvement of science and technology, the performance requirements of the refrigerator are higher and higher for users.
In existing refrigerators, the adjustment of environmental parameters of the refrigerator, for example: the adjustment of parameters such as temperature, humidity and the like is automatically adjusted by a user; with the development of science and technology, in order to optimize the performance of a refrigerator, a set of environmental parameters is usually preset in the refrigerator according to external influence environments such as seasons and the like, but when a certain condition is met, the refrigerator automatically adjusts the environmental parameters or adjusts the environmental parameters through user assistance.
However, the requirements for the environmental parameters are different according to the different types of the stored articles in the refrigerator, and if the temperature of the refrigerator is adjusted only according to the external environment, the storage requirements for specific articles may not be met, and the user experience may not achieve the best effect.
Disclosure of Invention
The invention aims to provide a refrigerator parameter updating method, equipment and a storage medium.
In order to achieve one of the above objects, an embodiment of the present invention provides a method for updating refrigerator parameters, including: s1, collecting personalized parameters of articles stored in the refrigerator, and calling basic parameters preset in the refrigerator; the personalization parameters include: the method comprises the steps of storing an article identifier corresponding to each article, application frequency and application frequency; the application frequency is the sum of the times of storing each article in the refrigerator in the unit time, and/or the sum of the times of taking each article out of the refrigerator, and/or the difference value of the sums of the times of storing and taking out; the application frequency is the ratio of the application frequency of all articles in the refrigerator to which each article belongs in unit time; the basic parameters are the optimal storage days of the corresponding articles under any environmental parameters, and the environmental parameters comprise temperature and/or humidity;
s2, acquiring each article and a weight coefficient according to the personalized parameters, wherein the larger the application frequency is, the larger the weight coefficient is; obtaining the influence factor of the optimal storage days of the articles under each environmental parameter according to the basic parameters;
s3, constructing an objective function according to the weight coefficient and the influence factor;
s4, generating an initial solution and substituting the initial solution into the objective function to obtain a first value of the objective function, wherein the solution is any environment parameter;
judging whether the first value of the target function meets a preset condition, if so, adjusting the environmental parameter corresponding to the initial solution to be the current environmental parameter of the refrigerator; and if not, generating a second solution and substituting the second solution into the objective function to form a second value, and adjusting the environment parameter corresponding to the second solution forming the second value into the current environment parameter of the refrigerator until the second value meets the preset condition.
As a further improvement of an embodiment of the present invention, step S2 specifically includes:
weighting each article by w i Is shown to be
Figure BDA0002299187540000021
M=∑m i
i ∈[1,n]I denotes the item number, n denotes the item type, m i Indicating the frequency of application of the current item, f i Representing the frequency of application of the current item; w is a i Representing the weight coefficient of each article, wherein k1 is a constant, and k1 is less than or equal to 0;
applying the influencing factor in mu i Is shown to be
Figure BDA0002299187540000022
D i Represents the best days of storage of the current item under each environmental parameter, D max Indicating the maximum number of days the current item was stored in all environmental parameters.
As a further improvement of an embodiment of the present invention, step S3 specifically includes:
if the objective function is expressed by f (t), f (t) ═ Σ -w i ×μ i (T), wherein T represents any environmental parameter.
As a further improvement of an embodiment of the present invention, step S1 further includes: and when each unit time is up, the personalized parameters are counted again.
As a further improvement of an embodiment of the present invention, step S4 specifically includes:
acquiring the optimal temperature storage interval of each article, and taking a union set of the optimal temperature storage intervals of all articles;
if the union interval comprises the range of the adjustable environment parameters of the refrigerator, selecting one value of the adjustable environment parameters of the refrigerator as an initial solution;
and if the union interval does not completely comprise the adjustable environment parameter range of the refrigerator, acquiring a complement of the union interval in the adjustable environment parameter range of the refrigerator, and randomly selecting a value in the complement as an initial solution.
As a further improvement of an embodiment of the present invention, step S4 specifically includes:
based on the initial solution, selecting any value in a random interval to add and adjust the initial solution to form a second solution;
substituting the second solution into the target function to obtain a second value;
if the second value is not larger than the first value, accepting the second solution to replace the initial solution;
if the second value is confirmed to be larger than the first value, judging whether to replace the first solution by the second solution by adopting a metropols criterion.
As a further improvement of an embodiment of the present invention, the metropols criteria specifically include:
judging whether the value of Metropols is between 0 and 1, if so, accepting a second solution to replace an initial solution, and if not, keeping the initial solution unchanged;
wherein, the first and the second end of the pipe are connected with each other,
Figure BDA0002299187540000031
k2 is a constant, F (T1) represents a first value, and F (T2) represents a second value.
As a further improvement of an embodiment of the present invention, step S4 further includes:
presetting an inner loop iteration number threshold, circularly executing the step S4, judging whether the executing step S4 reaches the preset inner loop iteration number threshold, and when the step S4 is executed by the inner loop each time, taking the last solution as the basis of the current execution, wherein the inner loop iteration number threshold is more than or equal to 2;
if yes, the solution of the last inner loop is reserved to replace the initial solution;
if not, the circulation is continued.
As a further improvement of an embodiment of the present invention, step S4 further includes: presetting an external loop iteration number threshold, judging whether the value of the target function corresponding to the solution of the last internal loop is smaller than a termination value or not when the step S4 is executed to reach the preset internal loop iteration number threshold each time,
if so, adjusting the environmental parameter corresponding to the solution of the current internal circulation to the current environmental parameter of the refrigerator;
if not, executing an outer loop, wherein the outer loop is formed by reducing the solutions of the current inner loop to form a new initial solution, executing the step S4 again until the outer loop reaches the iteration number threshold of the outer loop, and adjusting the environment parameter corresponding to the minimum value in the solutions of the formed inner loop after the outer loop is executed each time to be the current environment parameter of the refrigerator.
As a further improvement of an embodiment of the present invention, the method further comprises: configuring k2 in Metropols criterion;
Figure BDA0002299187540000041
r is a constant, r ∈ (0,1), p denotes the number of outer loop iterations, p is 1,2,3.
As a further improvement of an embodiment of the present invention, the method further comprises: configuring the termination value;
the method for configuring the termination value specifically includes:
traversing the stored articles in the refrigerator, searching the articles with the environment parameter intersection, forming a first group of the articles, and forming a second group of the rest articles, wherein the article serial numbers of the first group are 1,2, … j1, and the article serial numbers of the second group are 1,2 … j 2;
then the value is terminated
Figure BDA0002299187540000042
k3∈(0,1),k4∈(0,1),k3>k4。
In order to achieve the above object, another embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method for updating refrigerator parameters as described above when executing the program.
In order to achieve the above object, another embodiment of the present invention provides a computer-readable storage medium, wherein the computer program, when executed by a processor, implements the steps of the method for updating refrigerator parameters as described above.
The beneficial effects of the invention are: according to the refrigerator parameter updating method, the equipment and the storage medium, the objective function is constructed by collecting the personalized parameters of the stored articles of the refrigerator and the basic parameters preset in the refrigerator, and the optimal environment parameters suitable for the refrigerator to work are obtained according to the solution of the objective function, so that the intelligent control of the refrigerator during work is realized.
Drawings
Fig. 1 is a schematic flow chart of a refrigerator parameter updating method according to a first embodiment of the present invention;
fig. 2,3 and 4 are data list diagrams of specific examples of the present invention.
FIG. 5 is a schematic flow chart of a preferred implementation of one of the steps of FIG. 1;
FIG. 6 is a schematic flow chart for implementing the preferred embodiment of FIG. 1;
FIG. 7 is a schematic flow chart of a preferred embodiment of the evolution of FIG. 1;
FIG. 8 is a schematic flow chart of a preferred embodiment of the evolution of FIG. 7.
Detailed Description
The invention will be described in detail hereinafter with reference to an embodiment shown in the drawings. These embodiments are not intended to limit the present invention, and structural and functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for updating refrigerator parameters, including:
s1, collecting personalized parameters of articles stored in the refrigerator, and calling basic parameters preset in the refrigerator; the personalization parameters include: the article identification, the application frequency and the application frequency corresponding to each storage article; the application frequency is the sum of the times of storing each article in the refrigerator in the unit time, and/or the sum of the times of taking each article out of the refrigerator, and/or the difference value of the sums of the times of storing and taking out; the application frequency is the ratio of the application frequency of all articles in the refrigerator to which each article belongs in unit time; the basic parameters are the optimal storage days of the corresponding articles under any environmental parameters, and the environmental parameters comprise temperature and/or humidity;
s2, acquiring each article and a weight coefficient according to the personalized parameters, wherein the larger the application frequency is, the larger the weight coefficient is; obtaining the influence factor of the optimal storage days of the articles under each environmental parameter according to the basic parameters;
s3, constructing an objective function according to the weight coefficient and the influence factor;
s4, generating an initial solution and substituting the initial solution into the objective function to obtain a first value of the objective function, wherein the solution is any environment parameter;
judging whether the first value of the target function meets a preset condition, if so, adjusting the environmental parameter corresponding to the initial solution to be the current environmental parameter of the refrigerator; and if not, generating a second solution and substituting the second solution into the objective function to form a second value, and adjusting the environment parameter corresponding to the second solution forming the second value into the current environment parameter of the refrigerator until the second value meets the preset condition.
In a real-time manner, in step S1, in the using process of the refrigerator, the user may frequently store articles in the refrigerator or take articles out of the refrigerator, where the articles are usually real articles, and of course, according to different needs of the user, other articles may be stored, for example: cosmetics, pharmaceuticals, etc. The article is specified by a user or set by a system, and generally has a unique article identifier which is used for corresponding to a specific article; for example: the item identifier is, for example: the name of the item; of course, the article identification can also be a unique two-dimensional code, a multi-dimensional code, an RFID bar code and the like on the article along with different identification modes; the unit time defined by the present invention can be specifically set according to the requirements, for example: 1h, 1 day, one week, etc.; for any article, the frequency of application may be selected as one of the number of times the article is stored in the refrigerator per unit time, the number of times the article is taken out from the refrigerator, and the difference between the number of times the article is stored and taken out, or a combination of several of them.
In a specific example of the present invention, the specific example is described with an environmental parameter as temperature, and of course, in other embodiments of the present invention, the environmental parameter may include other influencing factors besides temperature and humidity, such as: vacuum environment, etc., and will not be further described herein.
In a preferred embodiment of the present invention, step S1 further includes: and when each unit time is up, the personalized parameters are counted again.
For step S2, in one embodiment of the present invention, the weighting factor for each item is given by w i Is shown to be
Figure BDA0002299187540000061
i denotes an article number, n denotes an article type, m i Indicating the frequency of application of the current item, f i Representing the frequency of application of the current item; w is a i Representing the weight coefficient of each article, wherein k1 is a constant, and k1 is less than or equal to 0;
applying the influencing factor in mu i Is shown to be
Figure BDA0002299187540000062
D i Represents the optimal number of days of storage of the corresponding item under any environmental parameter, D max Indicating the maximum number of days the current item was stored in all environmental parameters.
In step S3, in the preferred embodiment of the present invention, the objective function is represented by f (t), and then f (t) ═ Σ -w i ×μ i (T), wherein T represents any environmental parameter.
For convenience of understanding, referring to fig. 2,3 and 4, fig. 2 is a diagram illustrating basic parameters retrieved from a refrigerator according to a specific example of the present invention; in the concreteIn the example, the first column is the article identification, the first row is the temperature, and the cross part in the table corresponds to the optimal storage days of the specific article at different temperatures; on the basis of FIG. 2, according to the formula
Figure BDA0002299187540000071
A graph shown in fig. 3 can be obtained, in the graph shown in fig. 3, the first column is the article identifier, the first row is the temperature, and the cross part in the graph is the influence factor corresponding to the specific article at different temperatures; for example: at 0.2 ℃ mu A =0.6098,μ B =0.5041,μ c 0.6707; in the chart shown in FIG. 4, the first column, the second column are the collected individual parameters, and the third column is the formula
Figure BDA0002299187540000072
Obtained by the formula
Figure BDA0002299187540000073
And (4) obtaining.
It should be noted that, in the specific application of the present invention, the purpose of setting k1 is to amplify the application frequency, so as to enlarge the difference between the weighting values in the calculation, so as to indirectly enlarge the difference between the objective functions under each environmental parameter, and further to effectively find the optimal environmental parameter. In a specific example of the present invention, k1 is taken to be 0, and thus,
Figure BDA0002299187540000074
Figure BDA0002299187540000075
accordingly, w B =1.35,w C 0.27. Further, the objective function f (t) ═ Σ -w constructed in this example i ×μ i (T)=w A ×μ A (T)+w B ×μ B (T)+w C ×μ C (T)。
In the preferred embodiment of the present invention, as shown in fig. 5, for the acquisition of the initial solution in step S4, the following method can be adopted to acquire the optimal temperature storage interval of each article, and the optimal temperature storage intervals of all articles are merged; if the union interval comprises the range of the adjustable environment parameters of the refrigerator, selecting one value of the adjustable environment parameters of the refrigerator as an initial solution; and if the union interval does not completely comprise the adjustable environment parameter range of the refrigerator, acquiring a complement of the union interval in the adjustable environment parameter range of the refrigerator, and randomly selecting a value in the complement as an initial solution.
Further, as shown in fig. 6, for step S4, the method specifically includes: based on the initial solution, selecting any value in a random interval to add and adjust the initial solution to form a second solution; substituting the second solution into the objective function to obtain a second value; if the second value is not larger than the first value, accepting the second solution to replace the initial solution; if the second value is confirmed to be larger than the first value, judging whether to replace the first solution by the second solution by adopting a metropols criterion.
The random interval may be specifically set as needed, for example, when the environmental parameter is temperature, the random interval is set to [ -0.5 ℃, +0.5 ℃ ].
The metropols criteria specifically include:
judging whether the value of Metropols is between 0 and 1, if so, accepting a second solution to replace an initial solution, and if not, keeping the initial solution unchanged;
wherein the content of the first and second substances,
Figure BDA0002299187540000081
k2 is a constant, F (T1) represents a first value, and F (T2) represents a second value.
In a preferred embodiment of the present invention, as shown in fig. 7, in order to obtain more preferable environment parameters, the step S4 further includes: presetting an inner loop iteration number threshold, circularly executing the step S4, judging whether the executing step S4 reaches the preset inner loop iteration number threshold, and when the step S4 is executed by the inner loop each time, taking the last solution as the basis of the current execution, wherein the inner loop iteration number threshold is more than or equal to 2; if so, retaining the solution of the last internal cycle to replace the initial solution; if not, the circulation is continued.
Further, in a preferred embodiment of the present invention, as shown in fig. 8, step S4 further includes: presetting an external loop iteration number threshold, judging whether the value of the target function corresponding to the solution of the last internal loop is smaller than a termination value or not when step S4 is executed each time and the preset internal loop iteration number threshold is reached, if so, adjusting the environmental parameter corresponding to the solution of the current internal loop to be the current environmental parameter of the refrigerator; if not, executing an outer loop, wherein the outer loop is formed by reducing the solutions of the current inner loop to form a new initial solution, executing the step S4 again until the outer loop reaches the iteration number threshold of the outer loop, and adjusting the environment parameter corresponding to the minimum value in the solutions of the formed inner loop after the outer loop is executed each time to be the current environment parameter of the refrigerator.
Preferably, when the threshold value of the number of iterations of the outer loop is non-zero, the method further comprises: configuring k2 in Metropols criterion;
Figure BDA0002299187540000091
r is a constant, r ∈ (0,1), p denotes the number of outer loop iterations, p is 1,2,3.
Preferably, the configuring of the termination value specifically includes: traversing the stored articles in the refrigerator, searching the articles with the environment parameter intersection, forming a first group of the articles, and forming a second group of the rest articles, wherein the article serial numbers of the first group are 1,2, … j1, and the article serial numbers of the second group are 1,2 … j 2;
then the value is terminated
Figure BDA0002299187540000092
k3 e (0,1), k4 e (0,1), k3 > k 4. For example: k3 takes on a value of 0.8 and k4 takes on a value of 0.6.
Continuing with the above examples shown in fig. 2 to 4, assuming that the threshold of the number of iterations of the inner loop is set to 3 times, and the threshold of the number of iterations of the outer loop is set to 10 times, the description is still performed with the environmental parameter as the temperature. The refrigerator can adjust the environment parameters to be temperature, and the optimal storage intervals of [0, 9] and A, B, C are [1, 3], [2, 5], [1, 2 ]; by calculation, it can be known that: A. b, C has union interval of [1,5] and complement interval of [0, 1) U (5, 9 ]; further, randomly selecting 0 ℃ as an initial solution; perturb on the basis of the initial solution, randomly choose the second solution to be 0.2 ℃.
When the inner loop is performed for the first time, the initial solution 0 and the second solution 0.2 are respectively substituted into the objective function formula f (t) ═ Σ -w i ×μ i (T)=w A ×μ A (T)+w B ×μ B (T)+w C ×μ C (T),
Obtaining F (0) ═ 0.86019098928, F (0.2) ═ 0.86202266285592, F (0.2) < F (0), accepting the second solution 0.2 instead of 0 as the initial solution for the second inner loop;
the second time of the inner loop, the initial solution is 0.2, the second solution is randomly selected to be 0.1, the second solution is respectively substituted into the objective function formula, F (0.2) — 0.86202266285592, F (0.1) — 0.86064880968, F (0) > F (0.2) is obtained, and which solution is accepted is determined according to Metropols criterion;
Figure BDA0002299187540000093
0.999986 is between 0 and 1, receives the second solution 0.1 instead of 0.2 as the initial solution of the third inner loop;
at the third time of the inner loop, the initial solution is 0.1, the second solution is randomly selected to be 0.5, and is respectively substituted into the objective function formula, so that F (0.1) — 0.86064880968, F (0.5) — 1.52782, F (0.5) < F (0.1) are obtained, and the second solution 0.5 is accepted to replace 0.1 to serve as the initial solution of the first outer loop;
further, assume that the refrigerator stores A, B, C items described above, and D, E another two items. A. B, C optimum storage intervals [1, 3 respectively],[2,5],[1,2]D has an optimum storage interval of [6, 7 ]]E has an optimum storage interval of [8, 9]]Selecting and comparing A, B, C into the first group, D, E into the second group, and processing the first group and the second group by a formula
Figure BDA0002299187540000101
After calculation, assume that F is obtained by calculation end -2.16; then for the third timeThe solution of inner loop, the corresponding value of the objective function is F (0.5) — 1.52782, F (0.5) > F end Thus, the second external loop needs to be executed, and it can be understood that each external loop executes the internal loop three times, and then continues to judge the solution of the last internal loop until the value of the solution of the last internal loop is smaller than F end Outputting the environmental parameters corresponding to the solutions of the inner circulation to adjust the environmental parameters to the current environmental parameters of the refrigerator; if 10 outer loops are executed, less than F is not found yet end In order to avoid trapping into a dead loop, in a specific example of the present invention, when the number of outer loops reaches the outer loop iteration number threshold, that is, when the number of outer loops reaches 10 outer loops, the loop is skipped, and the environmental parameter corresponding to the minimum value in the solutions in the 10 outer loops that have been accepted is selected and adjusted to the current environmental parameter of the refrigerator.
An embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory stores a computer program operable on the processor, and the processor executes the computer program to implement the steps in the method for updating refrigerator parameters as described above.
An embodiment of the present invention provides a computer-readable storage medium, wherein when being executed by a processor, the computer program implements the steps of the method for updating the refrigerator parameters.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the electronic device and the computer-readable storage medium described above may refer to the corresponding process in the foregoing method embodiment, and will not be described herein again.
In summary, the method, the device and the storage medium for updating refrigerator parameters of the present invention construct the objective function by collecting the personalized parameters of the stored articles in the refrigerator and the basic parameters preset in the refrigerator, and obtain the optimal environmental parameters suitable for the operation of the refrigerator according to the solution of the objective function, so as to achieve the intelligent control of the operation of the refrigerator. .
It should be understood that although the specification describes embodiments, not every embodiment includes only a single embodiment, and such description is for clarity purposes only, and it will be appreciated by those skilled in the art that the specification as a whole may be appropriately combined to form other embodiments as will be apparent to those skilled in the art.
The above-listed detailed description is only a specific description of a possible embodiment of the present invention, and they are not intended to limit the scope of the present invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the scope of the present invention.

Claims (13)

1. A refrigerator parameter updating method is characterized by comprising the following steps:
s1, collecting personalized parameters of articles stored in the refrigerator, and calling basic parameters preset in the refrigerator; the personalization parameters include: the method comprises the steps of storing an article identifier corresponding to each article, application frequency and application frequency; the application frequency is the sum of the times of storing each article in the refrigerator in the unit time, and/or the sum of the times of taking each article out of the refrigerator, and/or the difference value of the sums of the times of storing and taking out; the application frequency is the ratio of the application frequency of all articles in the refrigerator to which each article belongs in unit time; the basic parameters are the optimal storage days of the corresponding articles under any environmental parameters, and the environmental parameters comprise temperature and/or humidity;
s2, acquiring each article and a weight coefficient according to the personalized parameters, wherein the weight coefficient is a numerical value obtained by calculating the application frequency of the article, and the larger the application frequency is, the larger the weight coefficient is; and acquiring influence factors of the optimal storage days of the articles under each environmental parameter according to the basic parameters, wherein the influence factors are numerical values obtained by calculation according to the optimal storage days of the articles under each environmental parameter, and the influence factors are calculated according to the optimal storage days of the articles under each environmental parameter
Figure 457810DEST_PATH_IMAGE001
Show that
Figure 332225DEST_PATH_IMAGE002
Figure 708980DEST_PATH_IMAGE003
Represents the best days of storage of the current item at each environmental parameter,
Figure 109874DEST_PATH_IMAGE004
representing the maximum number of days of storage of the current item in all environmental parameters;
s3, constructing an objective function according to the weight coefficient and the influence factor;
s4, generating an initial solution and substituting the initial solution into the objective function to obtain a first value of the objective function, wherein the solution is any environment parameter;
judging whether the first value of the target function meets a preset condition, if so, adjusting the environmental parameter corresponding to the initial solution to be the current environmental parameter of the refrigerator; and if not, generating a second solution and substituting the second solution into the objective function to form a second value, and adjusting the environment parameter corresponding to the second solution forming the second value into the current environment parameter of the refrigerator until the second value meets the preset condition.
2. The method for updating parameters of a refrigerator according to claim 1, wherein step S2 specifically comprises:
weighting each item by
Figure 281092DEST_PATH_IMAGE005
Is shown to be
Figure 642803DEST_PATH_IMAGE006
Figure 806937DEST_PATH_IMAGE007
Figure 813071DEST_PATH_IMAGE008
Figure 483086DEST_PATH_IMAGE009
Figure 510255DEST_PATH_IMAGE010
Figure 900917DEST_PATH_IMAGE011
The serial number of the article is shown,
Figure 417349DEST_PATH_IMAGE012
the type of the article is indicated,
Figure 382899DEST_PATH_IMAGE013
indicating the frequency of application of the current item,
Figure 656886DEST_PATH_IMAGE014
representing the frequency of application of the current item;
Figure 975872DEST_PATH_IMAGE015
a weight coefficient representing each of the items is represented,
Figure 471444DEST_PATH_IMAGE016
is a constant number of times, and is,
Figure 155366DEST_PATH_IMAGE017
3. the method for updating parameters of a refrigerator according to claim 2, wherein step S3 specifically comprises:
an objective function is calculated by
Figure 713387DEST_PATH_IMAGE018
Is shown to be
Figure 23014DEST_PATH_IMAGE019
Wherein T represents eitherAn environmental parameter.
4. The refrigerator parameter updating method according to claim 1, wherein the step S1 further comprises: and when each unit time is up, the personalized parameters are counted again.
5. The method for updating parameters of a refrigerator according to claim 1, wherein step S4 specifically comprises: acquiring an optimal temperature storage interval of each article, and taking a union set of the optimal temperature storage intervals of all the articles, wherein the union set interval is a temperature storage interval obtained according to the union set of the optimal temperature storage intervals of all the articles;
if the union interval comprises the range of the adjustable environment parameters of the refrigerator, selecting one value of the adjustable environment parameters of the refrigerator as an initial solution;
and if the union interval does not completely comprise the adjustable environment parameter range of the refrigerator, acquiring a complement of the union interval in the adjustable environment parameter range of the refrigerator, and randomly selecting a value in the complement as an initial solution.
6. The method for updating parameters of a refrigerator according to claim 1, wherein step S4 specifically comprises:
based on the initial solution, selecting any value in a random interval to add and adjust the initial solution to form a second solution;
substituting the second solution into the target function to obtain a second value;
if the second value is confirmed
Figure 858246DEST_PATH_IMAGE021
If the first value is the first value, the second solution is accepted to replace the initial solution;
if the second value is confirmed to be larger than the first value, judging whether to replace the first solution by the second solution by adopting a metropols criterion.
7. The method as claimed in claim 6, wherein Metropols criteria includes:
judging whether the value of Metropols is between 0 and 1, if so, accepting a second solution to replace an initial solution, and if not, keeping the initial solution unchanged;
wherein, the first and the second end of the pipe are connected with each other,
Figure 965267DEST_PATH_IMAGE022
,
Figure 276162DEST_PATH_IMAGE023
is a constant number of times, and is,
Figure 77896DEST_PATH_IMAGE024
which is indicative of a first value of the value,
Figure 79219DEST_PATH_IMAGE025
representing a second value.
8. The refrigerator parameter updating method according to claim 6 or 7, wherein the step S4 further comprises:
presetting a threshold value of the iteration times of the inner loop, circularly executing the step S4, judging whether the execution step S4 reaches the threshold value of the iteration times of the inner loop, and taking the last solution as the basis of the current execution and the threshold value of the iteration times of the inner loop when the step S4 is executed by the inner loop each time
Figure 698419DEST_PATH_IMAGE027
2;
If so, retaining the solution of the last internal cycle to replace the initial solution;
if not, continuing the circulation.
9. The refrigerator parameter updating method according to claim 8, wherein the step S4 further comprises: presetting an external loop iteration number threshold, judging whether the value of the target function corresponding to the solution of the last internal loop is smaller than a termination value or not when the step S4 is executed to reach the preset internal loop iteration number threshold each time,
if so, adjusting the environmental parameter corresponding to the solution of the current internal circulation to the current environmental parameter of the refrigerator;
if not, executing an outer loop, wherein the outer loop is formed by reducing the solutions of the current inner loop to form a new initial solution, executing the step S4 again until the outer loop reaches the iteration number threshold of the outer loop, and adjusting the environment parameter corresponding to the minimum value in the solutions of the formed inner loop after the outer loop is executed each time to be the current environment parameter of the refrigerator.
10. The refrigerator parameter updating method according to claim 9, wherein the method further comprises: in configuring Metropols guidelines
Figure 106398DEST_PATH_IMAGE028
Figure 757828DEST_PATH_IMAGE029
And r is a constant,
Figure 692286DEST_PATH_IMAGE030
Figure 92175DEST_PATH_IMAGE031
the number of iterations of the outer loop is indicated,
Figure 299034DEST_PATH_IMAGE032
Figure 567204DEST_PATH_IMAGE033
representing the outer loop iteration number threshold.
11. The refrigerator parameter updating method according to claim 9, wherein the method further comprises: configuring the termination value;
the method for configuring the termination value specifically includes:
traversing the stored articles in the refrigerator, searching the articles with the intersection of the environment parameters, forming a first group of the articles, and forming the rest articles into a second group of the articles, wherein the article serial numbers of the first group are 1,2, … j1, and the article serial numbers of the second group are 1,2 … j 2;
then the value is terminated
Figure DEST_PATH_IMAGE035
Figure 686994DEST_PATH_IMAGE036
12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method for updating parameters of a refrigerator according to any one of claims 1 to 11 when executing the program.
13. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps in the refrigerator parameter updating method according to any one of claims 1 to 11.
CN201911214752.7A 2019-12-02 2019-12-02 Refrigerator parameter updating method, device and storage medium Active CN112902547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911214752.7A CN112902547B (en) 2019-12-02 2019-12-02 Refrigerator parameter updating method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911214752.7A CN112902547B (en) 2019-12-02 2019-12-02 Refrigerator parameter updating method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112902547A CN112902547A (en) 2021-06-04
CN112902547B true CN112902547B (en) 2022-09-23

Family

ID=76104632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911214752.7A Active CN112902547B (en) 2019-12-02 2019-12-02 Refrigerator parameter updating method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112902547B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113108527B (en) * 2021-04-29 2022-05-24 四川虹美智能科技有限公司 Parameter configuration system and method for functional special area of intelligent refrigerator
CN113325905B (en) * 2021-06-09 2022-02-18 陈伯温 Intelligent control system and method for cold chain commodity storage environment and intelligent terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060104357A (en) * 2005-03-30 2006-10-09 엘지전자 주식회사 Avatar refrigerator
CN105164481A (en) * 2013-04-10 2015-12-16 Lg电子株式会社 Method for managing storage product in refrigerator using image recognition, and refrigerator for same
CN105318646A (en) * 2015-06-05 2016-02-10 Tcl智能科技(合肥)有限公司 Refrigeration control method and device for inverter refrigerator and inverter refrigerator
US20170082335A1 (en) * 2015-09-23 2017-03-23 International Business Machines Corporation Refrigerated transport temperature regulation
CN109582333A (en) * 2018-11-28 2019-04-05 合肥华凌股份有限公司 The method of refrigerator software upgrading, medium on refrigerator production line and production line
CN109764630A (en) * 2019-01-09 2019-05-17 青岛海尔空调器有限总公司 The control method that a kind of energy resource system and its refrigerator temperature are adjusted
US20190186817A1 (en) * 2017-12-15 2019-06-20 International Business Machines Corporation Content and context aware microscopic cooling optimization for refrigerators
US20190264975A1 (en) * 2016-06-09 2019-08-29 Lg Electronics Inc. Temperature-context-aware-refrigerator and method for controlling same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060104357A (en) * 2005-03-30 2006-10-09 엘지전자 주식회사 Avatar refrigerator
CN105164481A (en) * 2013-04-10 2015-12-16 Lg电子株式会社 Method for managing storage product in refrigerator using image recognition, and refrigerator for same
CN105318646A (en) * 2015-06-05 2016-02-10 Tcl智能科技(合肥)有限公司 Refrigeration control method and device for inverter refrigerator and inverter refrigerator
US20170082335A1 (en) * 2015-09-23 2017-03-23 International Business Machines Corporation Refrigerated transport temperature regulation
US20190264975A1 (en) * 2016-06-09 2019-08-29 Lg Electronics Inc. Temperature-context-aware-refrigerator and method for controlling same
US20190186817A1 (en) * 2017-12-15 2019-06-20 International Business Machines Corporation Content and context aware microscopic cooling optimization for refrigerators
CN109582333A (en) * 2018-11-28 2019-04-05 合肥华凌股份有限公司 The method of refrigerator software upgrading, medium on refrigerator production line and production line
CN109764630A (en) * 2019-01-09 2019-05-17 青岛海尔空调器有限总公司 The control method that a kind of energy resource system and its refrigerator temperature are adjusted

Also Published As

Publication number Publication date
CN112902547A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN112902547B (en) Refrigerator parameter updating method, device and storage medium
CN103116639B (en) Based on article recommend method and the system of user-article bipartite graph model
Ledoit et al. Nonlinear shrinkage estimation of large-dimensional covariance matrices
US20160246852A1 (en) Systems and Methods for Quantile Estimation in a Distributed Data System
WO2009148475A1 (en) Recommender system with fast matrix factorization using infinite dimensions
Liu et al. Belief propagation for structured decision making
CN107818474B (en) Method and device for dynamically adjusting product price
CN105978711B (en) A kind of best exchange side lookup method based on minimum spanning tree
CN107171963B (en) Ant colony optimization method and device
JP2022541370A (en) Data enrichment policy update method, apparatus, device and storage medium
CN104376015B (en) Method and device for processing nodes in relational network
CN109753577B (en) Method and related device for searching human face
CN110471935B (en) Data operation execution method, device, equipment and storage medium
CN112434779A (en) Close coupling task allocation method based on improved ant colony algorithm
Yamany et al. Attribute reduction approach based on modified flower pollination algorithm
CN107133332A (en) The distribution method and device of a kind of query task
JP2022074880A5 (en)
CN109074348A (en) For being iterated the equipment and alternative manner of cluster to input data set
CN110532311B (en) Distributed data export method and system based on queues
WO2020143778A1 (en) Air conditioner control method and device, and computer storage medium
WO2024001189A1 (en) Food storage information determination method and apparatus, storage medium, and electronic apparatus
CN108197266A (en) A kind of recommendation method and system of agricultural product medication
CN108805463A (en) A kind of production scheduling method for supporting peak clipping type electricity needs to respond
EP3704603A1 (en) Mutually repulsing centroids for segmenting a vast social graph
CN108182606A (en) A kind of quick Cost Estimation of Product in Mass Customization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant