Refrigerator and refrigerator upgrading control method
By switching the data transmission rate in the refrigerator, the contradiction between rapid completion and data transmission stability during the refrigerator firmware upgrade process is solved, and the balance between rapid upgrade and stable data transmission is achieved.
Patent Information
- Application Number
- CN202311039358.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2025-02-21
AI Technical Summary
During the firmware upgrade process of refrigerators, it is necessary to complete the upgrade in a short time to ensure user experience, but data transmission with high baud rate will be affected by interference factors such as compressors, resulting in the stability of data transmission risks.
By changing the data transmission rate of the refrigerator, using the first preset transmission rate during normal operation, and switching to the second preset transmission rate after receiving the firmware upgrade request, firmware upgrade is performed. The second preset transmission rate is greater than the first preset transmission rate to ensure the rapid completion of the upgrade process.
It realizes the rapid completion of firmware upgrades in a short time without affecting the stability of refrigerator data transmission, and avoids the stability risks caused by high baud rate transmission.
Smart Images

Figure CN119492231A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of refrigerator upgrades, and in particular to a refrigerator and a refrigerator upgrade control method. Background Art
[0002] According to the research on the demand for refrigerator firmware upgrades, it was found that if the refrigerator has WiFi function and uses a WiFi module to connect to the Internet, the refrigerator can be remotely controlled and the refrigerator firmware can be remotely upgraded, replacing the traditional method of upgrading using burning software.
[0003] Based on the current design of mainstream refrigerators, there is a transmission distance of several meters between the display panel and the main control panel of the refrigerator, and it is greatly interfered by the compressor or other electrical components, and the WiFi module interacts with the display panel in the form of a patch; in this case, if the display panel is upgraded, a fast upgrade can be achieved and stable data transmission can be guaranteed; if the main control panel is upgraded, on the one hand, if you want to ensure long-term operational stability, the upgrade will take a long time, the user experience will be poor, and the refrigerator will not be able to cool during the upgrade process. The long upgrade time will affect the food in the refrigerator; on the other hand, if you want to complete the upgrade in a short time, a high baud rate and fast data transmission speed are required, but the long-term operating environment of the refrigerator, the compressor and other interference factors are large. If the refrigerator transmits at a high baud rate for a long time, the stability of data transmission will be at risk. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a refrigerator and a refrigerator upgrade control method, which can adapt the communication conditions of the refrigerator during normal transmission and firmware upgrade by changing the data transmission rate of the refrigerator, thereby ensuring that the refrigerator can quickly complete the firmware upgrade in a short time without affecting the stability of the refrigerator data transmission.
[0005] In order to achieve the above object, an embodiment of the present invention provides a refrigerator, comprising:
[0006] The box body has at least one compartment inside for storing food;
[0007] A refrigeration system, comprising a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for a refrigeration cycle of the refrigerator;
[0008] Controller for:
[0009] After the refrigerator is powered on, the data transmission rate of the refrigerator is controlled to be a first preset transmission rate, and the wireless communication module is controlled to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate;
[0010] After receiving the firmware upgrade request sent from the cloud, the data transmission rate of the refrigerator is switched to a second preset transmission rate, the wireless communication module is controlled to download the firmware upgrade package from the cloud at the second preset transmission rate, the firmware upgrade package is verified, and after the verification passes, the firmware of the main control board is upgraded according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate.
[0011] Furthermore, the cloud is used for:
[0012] After receiving the firmware version information uploaded by the refrigerator, comparing it with the upgrade version information of the pre-deployed firmware upgrade package;
[0013] When the upgrade information that meets the background configuration is determined, the upgrade reminder information is pushed to the user terminal, and the user's choice is made to determine whether the firmware upgrade is required;
[0014] When it is determined that a firmware upgrade is required, determining whether the refrigerator currently meets a firmware upgrade condition;
[0015] When it is determined that the refrigerator currently meets the firmware upgrade condition, a firmware upgrade request is sent to the refrigerator.
[0016] Furthermore, the cloud determines whether the refrigerator currently meets the firmware upgrade conditions, specifically including:
[0017] Determine whether the current time is within the preset idle time period;
[0018] When it is determined that the current time is within the idle period, determining whether the refrigerator is currently in a non-working state;
[0019] When it is determined that the refrigerator is currently in a non-operating state, it is determined that the refrigerator currently meets a firmware upgrade condition.
[0020] Furthermore, the cloud determines whether the refrigerator is currently in a non-working state, specifically including:
[0021] Determining whether the refrigerator is currently in a non-working state according to the switch state of the door of the at least one compartment, the working state of the defrosting action and the working state of the compressor reported in real time by the refrigerator;
[0022] When the door of the at least one compartment is in a closed state, the defrosting action is in a non-working state, and the compressor is in a non-working state, it is determined that the refrigerator is currently in a non-working state.
[0023] Furthermore, before switching the data transmission rate of the refrigerator to the second preset transmission rate, the controller is further configured to:
[0024] Obtain the upgrade version information carried in the firmware upgrade request, and determine whether it conforms to the target version information configured in the background;
[0025] If so, the upgraded firmware is verified, and after the verification passes, the data transmission rate of the refrigerator is switched to a second preset transmission rate.
[0026] Further, the controller verifies the firmware upgrade package, specifically including:
[0027] During the downloading process of the firmware upgrade package, a CRC check is performed on each downloaded data packet;
[0028] After the firmware upgrade package is downloaded, all downloaded data packets are subjected to CRC verification again;
[0029] When the obtained verification value is consistent with the verification value configured in the cloud, it is determined that the verification is passed.
[0030] Furthermore, the controller is also used for:
[0031] After the firmware upgrade is completed, controlling the refrigerator to restart, and switching the data transmission rate of the refrigerator to the first preset transmission rate;
[0032] The wireless communication module is controlled to upload the upgraded firmware version information of the main control board to the cloud at the first preset transmission rate, so that the cloud determines whether the upgrade is successful according to the received upgraded firmware version information.
[0033] Furthermore, the cloud is also used for:
[0034] After receiving the upgraded firmware version information uploaded by the refrigerator, comparing it with the upgraded version information of the pre-deployed firmware upgrade package;
[0035] When the upgraded firmware version information is consistent with the upgraded version information, it is determined that the upgrade is successful, and upgrade success information is pushed to the user terminal.
[0036] In order to achieve the above object, an embodiment of the present invention further provides a refrigerator upgrade control method, which is applicable to any of the above refrigerators, and the method is executed by the controller, and the method includes:
[0037] After the refrigerator is powered on, the data transmission rate of the refrigerator is controlled to be a first preset transmission rate, and the wireless communication module is controlled to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate;
[0038] After receiving the firmware upgrade request sent from the cloud, the data transmission rate of the refrigerator is switched to a second preset transmission rate, the wireless communication module is controlled to download the firmware upgrade package from the cloud at the second preset transmission rate, the firmware upgrade package is verified, and after the verification passes, the firmware of the main control board is upgraded according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate.
[0039] Furthermore, the method further comprises:
[0040] After the firmware upgrade is completed, controlling the refrigerator to restart, and switching the data transmission rate of the refrigerator to the first preset transmission rate;
[0041] The wireless communication module is controlled to upload the upgraded firmware version information of the main control board to the cloud at the first preset transmission rate, so that the cloud determines whether the upgrade is successful according to the received upgraded firmware version information.
[0042] Compared with the prior art, the embodiment of the present invention provides a refrigerator and a refrigerator upgrade control method, wherein the refrigerator includes a box body, at least one compartment is provided inside, for storing food; and a refrigeration system, including a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for the refrigeration cycle of the refrigerator; and a controller, for: after the refrigerator is powered on, controlling the data transmission rate of the refrigerator to be a first preset transmission rate, controlling the wireless communication module to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate; after receiving the firmware upgrade request sent by the cloud, switching the data transmission rate of the refrigerator to a second preset transmission rate, controlling the wireless communication module to download the firmware upgrade package from the cloud at the second preset transmission rate, verifying the firmware upgrade package, and after the verification passes, performing a firmware upgrade on the main control board according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate. The embodiment of the present invention adapts the communication conditions of the refrigerator in normal operation and firmware upgrade respectively by changing the data transmission rate of the refrigerator, which can ensure that the refrigerator quickly completes the firmware upgrade in a short time without affecting the stability of the refrigerator data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is a schematic diagram of the appearance structure of a refrigerator provided by an embodiment of the present invention;
[0044] Figure 2 is a schematic diagram of the internal structure of a refrigerator provided by an embodiment of the present invention;
[0045] Figure 3 is a structural schematic diagram of a refrigeration system of a refrigerator provided by an embodiment of the present invention;
[0046] Figure 4 is a schematic diagram of an application scenario of a refrigerator provided by an embodiment of the present invention;
[0047] Figure 5 is a working flow chart of a refrigerator controller provided by an embodiment of the present invention;
[0048] Figure 6 This is a cloud-based workflow diagram provided by an embodiment of the present invention;
[0049] Figure 7 This is another workflow diagram of a cloud provided by an embodiment of the present invention;
[0050] Figure 8 is another working flow chart of a refrigerator controller provided by an embodiment of the present invention;
[0051] Fig. 9 is another working flow diagram of a refrigerator controller provided by an embodiment of the present invention;
[0052] Fig.10 It is a flow chart of a refrigerator upgrade control method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this technical field without creative work are within the scope of protection of the present invention.
[0054] See also Figure 1 and Figure 2 As shown, Figure 1 is a schematic diagram of the appearance structure of a refrigerator provided by an embodiment of the present invention, Figure 2 1 is a schematic diagram of the internal structure of a refrigerator provided by an embodiment of the present invention. The refrigerator 100 comprises a box body, wherein at least one compartment is arranged inside the box body, and each compartment is used to store food, wherein the at least one compartment comprises at least one refrigeration compartment and / or at least one freezing compartment, and different compartments are spaced from each other; Figure 2 As shown in the example, the refrigerator 100 includes both a refrigerating compartment 20 and a freezing compartment 10, and the freezing compartment 10 of the refrigerator 100 is located above the refrigerating compartment 20; it can be understood that the refrigerator 100 also includes at least one door body arranged on the box body, and each of the door bodies has a one-to-one correspondence with each of the compartments, and each of the door bodies is used to open or close the corresponding compartment.
[0055] It should be noted that Figure 1 and Figure 2 The box 100 shown is a rectangular parallelepiped structure. Figure 2 The freezer compartment 10 shown is located above the refrigerator compartment 20. Those skilled in the art will appreciate that the box body 100 may also be in other shapes, such as a cube, a cylinder, etc., and the freezer compartment 10 inside the box body 100 may also be located below the refrigerator compartment 20, which is not specifically limited in the embodiment of the present invention.
[0056] The refrigerator 100 also includes a refrigeration system. Figure 3 As shown, it is a structural schematic diagram of a refrigeration system of a refrigerator provided by an embodiment of the present invention, the refrigeration system includes a compressor 30, a condenser 40, a capillary 50 and an evaporator 60 which are sequentially connected in series to form a loop, and the refrigeration system is used to provide power for the refrigeration cycle of the refrigerator 100; wherein the compressor 30 is mainly used to compress the refrigerant in the refrigeration cycle flowing through the refrigerator 100 to provide power for the refrigeration cycle of the refrigerator 100; the evaporator 60 is mainly used to provide cold air for the freezer 10 and the refrigerator 20.
[0057] Combination Figure 3 As shown, the refrigerator 100 also includes a fan 70, which is used to deliver the cold air generated by the evaporator 60 into the freezer compartment 10; for example, external air enters the evaporator 60 for heat exchange to generate heat-released air (i.e., cold air), and the fan 70 delivers the heat-released air generated by the evaporator 60 into the freezer compartment 10 and the refrigerator compartment 20.
[0058] It should be noted that, combined with Figure 2 and Figure 3 As shown, a main air duct is formed on the rear wall of the freezer compartment 10, and both ends of the main air duct are connected to the freezer compartment 10. An evaporator 60 and a fan 70 are arranged in the main air duct; a refrigeration air inlet duct and a refrigeration return air duct are arranged on the rear wall of the refrigeration compartment 20; wherein, one end of the main air duct is connected to the refrigeration return air duct, and the other end is connected to the refrigeration air inlet duct; a refrigeration air door is arranged between the main air duct and the refrigeration air inlet duct to control the connectivity between the main air duct and the refrigeration return air duct.
[0059] When the refrigerator 100 is performing freezing and refrigeration, the refrigeration damper is closed, and under the action of the fan 70, the air in the freezer chamber 10 enters the main air duct from one end of the main air duct and passes through the evaporator 60 in the main air duct. The air passing through the evaporator 60 is cooled and then returns to the freezer chamber 10, thereby achieving cooling of the freezer chamber 10.
[0060] When the refrigerator 100 is performing refrigeration, the refrigeration damper is opened, and under the action of the fan 70, the air in the refrigeration chamber 20 passes through the refrigeration return air duct, the main air duct, the refrigeration damper, and the refrigeration air inlet duct in sequence and then returns to the refrigeration chamber 20; wherein, when passing through the main air duct, the air is cooled under the action of the evaporator 60 in the main air duct, thereby achieving cooling of the refrigeration chamber 20.
[0061] In an embodiment of the present invention, the refrigerator 100 also includes a display panel, a main control panel and a wireless communication module (for example, a WiFi module, etc.), and data interaction can be performed between the display panel and the main control panel, and between the display panel and the wireless communication module.
[0062] In an embodiment of the present invention, the refrigerator 100 also includes a controller, which is used to control the operation of various components in the refrigerator 100 so that the various components of the refrigerator 100 can operate to realize various functions of the refrigerator 100. Furthermore, the controller is used to adopt the technical solution provided in the embodiment of the present invention to perform corresponding control on the refrigerator 100 so as to solve the technical problems to be solved by the embodiment of the present invention and realize the technical effects that can be achieved by the embodiment of the present invention.
[0063] As one of the optional embodiments, the controller is used for:
[0064] After the refrigerator is powered on, the data transmission rate of the refrigerator is controlled to be a first preset transmission rate, and the wireless communication module is controlled to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate;
[0065] After receiving the firmware upgrade request sent from the cloud, the data transmission rate of the refrigerator is switched to a second preset transmission rate, the wireless communication module is controlled to download the firmware upgrade package from the cloud at the second preset transmission rate, the firmware upgrade package is verified, and after the verification passes, the firmware of the main control board is upgraded according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate.
[0066] It should be noted that, in the embodiment of the present invention, the refrigerator can communicate with the cloud through a wireless communication module, see Figure 4 FIG. 1 is a schematic diagram of an application scenario of a refrigerator provided by an embodiment of the present invention. The refrigerator is provided with a WiFi module, and the refrigerator is connected to the cloud (i.e. Figure 4 Data can be transmitted between the two Clouds via WiFi.
[0067] Combination Figure 5 As shown, it is a working flow chart of a controller of a refrigerator provided by an embodiment of the present invention. When the embodiment of the present invention is implemented, the specific working process of the controller is as follows: after the refrigerator is powered on ( Figure 5 In step S11), the controller controls the data transmission rate of the refrigerator to switch to a first preset transmission rate ( Figure 5 Step S12 is shown), and the wireless communication module (for example, WiFi module, etc.) is controlled to report the current firmware version information of the main control board to the cloud at the first preset transmission rate after switching ( Figure 5 Step S13 is shown, so that the cloud can determine whether a firmware upgrade is required and whether the firmware upgrade conditions are met according to the firmware version information reported by the refrigerator. When the cloud determines that a firmware upgrade is required and the firmware upgrade conditions are met, a firmware upgrade request is sent to the refrigerator; accordingly, the controller receives the firmware upgrade request sent by the cloud through the wireless communication module ( Figure 5 Step S14 is shown, and after receiving the firmware upgrade request sent from the cloud, the data transmission rate of the refrigerator is switched from the first preset transmission rate to the second preset transmission rate ( Figure 5 Then, the wireless communication module is controlled to download the firmware upgrade package from the cloud at the second preset transmission rate after switching ( Figure 5 Step S16 shown), and verify the downloaded firmware upgrade package ( Figure 5 Step S17), after the firmware upgrade package passes the verification, the firmware of the main control board is upgraded according to the firmware upgrade package ( Figure 5 Step S18 is shown).
[0068] It should be noted that the second preset transmission rate is greater than the first preset transmission rate. As a preferred solution, the data transmission rate of the refrigerator is the baud rate. Then, the first preset transmission rate is the first preset baud rate, the second preset transmission rate is the second preset baud rate, and the second preset baud rate is greater than the first preset baud rate.
[0069] Exemplarily, the value of the first preset baud rate can be 9600bps, the value of the second preset baud rate can be 115200bps, or the value of the first preset baud rate and the value of the second preset baud rate can also be set according to actual needs, and the embodiment of the present invention does not make specific limitations.
[0070] It can be understood that by switching the baud rate, when the refrigerator is working normally, it is not affected by interference from the compressor, etc., and uses the normal baud rate (i.e., the first preset baud rate) for communication, which can make the data transmission stable; when the refrigerator is in the firmware upgrade state, it switches to a high-speed baud rate (i.e., the second preset baud rate) to download the firmware upgrade package. By switching the baud rate, the download time can be shortened, so that the upgrade work can be completed in a short time without affecting the refrigeration performance of the refrigerator itself. In this way, the upgrade operation can be completed in a short time without affecting the stability of the refrigerator data transmission.
[0071] It should be noted that after the refrigerator is powered on, it generally runs at a normal baud rate by default, and performs data exchange between the display board and the main control board, and between the display board and the WiFi module. In this case, the cloud can query the firmware version information (for example, version number, etc.) of the refrigerator, and send a version query command to the refrigerator through the WiFi module. After receiving the version query command, the controller can report the current firmware version information of the main control board to the cloud.
[0072] A refrigerator provided by an embodiment of the present invention comprises a box body, at least one compartment is provided inside for storing food; a refrigeration system comprises a compressor, a condenser, a capillary tube and an evaporator which are connected in series to form a loop, and is used to provide power for the refrigeration cycle of the refrigerator; a controller is also provided, which is used to: after the refrigerator is powered on, control the data transmission rate of the refrigerator to be a first preset transmission rate, control the wireless communication module to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate; after receiving the firmware upgrade request sent by the cloud, switch the data transmission rate of the refrigerator to a second preset transmission rate, control the wireless communication module to download the firmware upgrade package from the cloud at the second preset transmission rate, verify the firmware upgrade package, and after the verification passes, perform firmware upgrade on the main control board according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate. The embodiment of the present invention adapts the communication conditions of the refrigerator in normal operation and firmware upgrade respectively by changing the data transmission rate of the refrigerator, which can ensure that the refrigerator quickly completes the firmware upgrade in a short time without affecting the stability of the data transmission of the refrigerator.
[0073] As one of the optional embodiments, the cloud is used for:
[0074] After receiving the firmware version information uploaded by the refrigerator, comparing it with the upgrade version information of the pre-deployed firmware upgrade package;
[0075] When the upgrade information that meets the background configuration is determined, the upgrade reminder information is pushed to the user terminal, and the user's choice is made to determine whether the firmware upgrade is required;
[0076] When it is determined that a firmware upgrade is required, determining whether the refrigerator currently meets a firmware upgrade condition;
[0077] When it is determined that the refrigerator currently meets the firmware upgrade condition, a firmware upgrade request is sent to the refrigerator.
[0078] Combination Figure 6 As shown, it is a cloud-based workflow diagram provided by an embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, at the refrigerator end: the controller reports the current firmware version information of the main control board to the cloud through the wireless communication module at the first preset transmission rate after switching ( Figure 6Step S13 is shown, and accordingly, in the cloud: after receiving the firmware version information uploaded by the refrigerator segment, the cloud compares the received firmware version information with the upgrade version information of the pre-deployed firmware upgrade package to determine whether the received firmware version information is consistent with the upgrade information configured in the background, and when it is determined that the received firmware version information is consistent with the upgrade information configured in the background, pushes the upgrade reminder information to the user terminal (for example, to the APP in the mobile phone) to determine whether the firmware upgrade is required according to the user's selection operation on the user terminal ( Figure 6 When it is determined that a firmware upgrade is required, the cloud further determines whether the refrigerator currently meets the preset firmware upgrade conditions ( Figure 6 Step S22), when it is determined that the refrigerator currently meets the preset firmware upgrade conditions, a firmware upgrade request is sent to the refrigerator ( Figure 6 Step S23 is shown).
[0079] It should be noted that when the local functions of the refrigerator need to be optimized, the software-optimized firmware upgrade package can be deployed in the cloud. The cloud will compare the current firmware version information of the refrigerator and the deployed upgrade version information. After confirming that it meets the upgrade information configured in the background, the cloud will push upgrade reminder information to the mobile APP. The user will be prompted on the mobile APP to choose whether a firmware upgrade is needed. Accordingly, the cloud will determine whether a firmware upgrade is needed based on the user's choice on the mobile APP (select "upgrade" or "not upgrade").
[0080] It is understandable that if the user has no optimization and upgrade requirements for the refrigerator function, he / she will select "No upgrade" on the mobile phone APP, and the cloud will not process it at this time; if the user has optimization and upgrade requirements for the refrigerator function, he / she will select "Upgrade" on the mobile phone APP and trigger the upgrade by clicking the "Upgrade" button. However, after the upgrade is triggered, the cloud and the refrigerator will not perform the upgrade operation immediately. The cloud will first determine whether the refrigerator currently meets the pre-set firmware upgrade conditions. Only when it is determined that the refrigerator currently meets the pre-set firmware upgrade conditions will it continue to perform subsequent upgrade operations. Correspondingly, if it is determined that the refrigerator currently does not meet the pre-set firmware upgrade conditions, the cloud will not process it.
[0081] As one of the optional embodiments, the cloud determines whether the refrigerator currently meets the firmware upgrade condition, specifically including:
[0082] Determine whether the current time is within the preset idle time period;
[0083] When it is determined that the current time is within the idle period, determining whether the refrigerator is currently in a non-working state;
[0084] When it is determined that the refrigerator is currently in a non-working state, it is determined that the refrigerator currently meets a firmware upgrade condition.
[0085] Combination Figure 7 As shown, it is another workflow diagram of a cloud provided by an embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, the cloud executes Figure 6 In step S22 shown in FIG. 1 , it can be determined whether the current time is within a preset idle time period ( Figure 7 In step S221), when it is determined that the current time is within the preset idle time period, it is determined whether the refrigerator is currently in an off-time state ( Figure 7 Step S222), when it is determined that the refrigerator is currently in an off-state, it is determined that the refrigerator currently meets the preset firmware upgrade conditions ( Figure 7 Step S223) is shown, and the upgrade work starts.
[0086] It should be noted that the idle period can be from 0:00 to 5:00 in the middle of the night. During this period, users generally do not use the refrigerator. After the cloud determines that the user will not use the refrigerator, it will further determine whether the refrigerator itself is in an idle state. Only when it is determined that the refrigerator itself is in an idle state will the refrigerator firmware be upgraded.
[0087] It should be noted that, in the embodiment of the present invention, there is no order of priority between step S221 and step S222. When the embodiment of the present invention is implemented specifically, the cloud can first execute step S221 to determine whether the current time is within the pre-set idle period, and if so, then execute step S222 to determine whether the refrigerator is currently in a non-working state; or first execute step S222 to determine whether the refrigerator is currently in a non-working state, and if so, then execute step S221 to determine whether the current time is within the pre-set idle period. The embodiment of the present invention does not make specific limitations.
[0088] It can be understood that after the cloud determines whether the current time is within the pre-set idle period, if it determines that the current time is not within the pre-set idle period, no processing will be performed; similarly, after the cloud determines whether the refrigerator is currently in a non-working state, if it determines that the refrigerator is not currently in a non-working state, no processing will be performed.
[0089] It should be noted that, after the user triggers the upgrade, the embodiment of the present invention can achieve the upgrade without the user's awareness by selecting to upgrade the refrigerator firmware during idle time.
[0090] As one of the optional embodiments, the cloud determines whether the refrigerator is currently in a non-working state, specifically including:
[0091] Determining whether the refrigerator is currently in a non-working state according to the switch state of the door of the at least one compartment, the working state of the defrosting action and the working state of the compressor reported in real time by the refrigerator;
[0092] When the door of the at least one compartment is in a closed state, the defrosting action is in a non-working state, and the compressor is in a non-working state, it is determined that the refrigerator is currently in a non-working state.
[0093] Specifically, in combination with the above embodiments, when the cloud determines whether the refrigerator is currently in a non-working state, it can make a judgment based on the relevant instructions reported by the refrigerator to the cloud in real time. For example, it can determine whether the refrigerator is currently in a non-working state based on the reported switch status of the doors of all compartments of the refrigerator (the switch status of the door of the refrigeration compartment, the switch status of the door of the freezer compartment), the working status of the defrost action (whether the refrigerator performs a defrost action) and the working status of the compressor (whether the compressor is working). When the doors of all compartments of the refrigerator are in a closed state (the door of the refrigeration compartment is closed, the door of the freezer compartment is closed), the defrost action is in a non-working state (the refrigerator does not perform a defrost action) and the compressor is in a non-working state (the compressor is not working), it is determined that the refrigerator is currently in a non-working state, that is, the refrigerator is in an idle state.
[0094] As one of the optional embodiments, before switching the data transmission rate of the refrigerator to the second preset transmission rate, the controller is further configured to:
[0095] Obtain the upgrade version information carried in the firmware upgrade request, and determine whether it conforms to the target version information configured in the background;
[0096] If so, the upgraded firmware is verified, and after the verification passes, the data transmission rate of the refrigerator is switched to a second preset transmission rate.
[0097] Specifically, in combination with the above embodiment, after receiving the firmware upgrade request sent from the cloud, the controller first confirms the upgrade version information before switching the data transmission rate of the refrigerator from the first preset transmission rate to the second preset transmission rate, that is: the controller obtains the upgrade version information carried in the received firmware upgrade request by parsing, and determines whether the upgraded version information obtained by parsing is consistent with the target version information configured in the background. When it is determined that the upgraded version information obtained by parsing is consistent with the target version information configured in the background, the length of the upgraded firmware is confirmed and the CRC check is performed. If the calculated check value is consistent with the check value configured in the cloud, the check is determined to be passed. After the check passes, the controller switches the data transmission rate of the refrigerator from the first preset transmission rate to the second preset transmission rate.
[0098] It should be noted that after the verification is passed, the controller will return the correct information to the WiFi module. After receiving the correct confirmation information, the WiFi module will also send the refrigerator data according to the second preset transmission rate after switching.
[0099] For example, assuming that the source program version number currently running on the refrigerator main control board is A, the target version number to be upgraded in the background deployment is B, and the upgrade version number of the firmware upgrade package deployed in the cloud is B, then when the cloud sends a firmware upgrade request to the refrigerator, the upgrade version number B of the firmware upgrade package can be carried in the firmware upgrade request and sent to the refrigerator together. The refrigerator compares the upgrade version number B sent by the cloud with the target version number B to be upgraded in the background deployment. If both version numbers are B, it is confirmed that the upgrade version number B is consistent with the target version number B to be upgraded in the background deployment.
[0100] As one of the optional embodiments, the controller verifies the firmware upgrade package, specifically including:
[0101] During the downloading process of the firmware upgrade package, a CRC check is performed on each downloaded data packet;
[0102] After the firmware upgrade package is downloaded, all downloaded data packets are subjected to CRC check again;
[0103] When the obtained verification value is consistent with the verification value configured in the cloud, it is determined that the verification is passed.
[0104] Combination Figure 8 FIG. 1 is another working flow chart of a refrigerator controller provided by an embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, the controller executes Figure 5 In step S17 shown in FIG. 1 , during the downloading process of the firmware upgrade package, a CRC check may be performed on each downloaded data packet ( Figure 8 After the firmware upgrade package is downloaded, all downloaded data packets are CRC-checked again ( Figure 8 Step S172 is shown), and the check value obtained by the CRC check is compared with the check value configured in the cloud to determine whether the check value obtained by the CRC check is consistent with the check value configured in the cloud ( Figure 8 When the check value obtained by the CRC check is determined to be consistent with the check value configured in the cloud, the firmware upgrade package is determined to have passed the check ( Figure 8 Step S174 is shown).
[0105] As one of the optional embodiments, the controller is further used for:
[0106] After the firmware upgrade is completed, controlling the refrigerator to restart, and switching the data transmission rate of the refrigerator to the first preset transmission rate;
[0107] The wireless communication module is controlled to upload the upgraded firmware version information of the main control board to the cloud at the first preset transmission rate, so that the cloud determines whether the upgrade is successful according to the received upgraded firmware version information.
[0108] Combination Fig. 9 As shown in FIG. 1 , it is another working flow chart of a refrigerator controller provided by an embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, the controller executes Figure 5 After step S18 shown in the figure, after the firmware upgrade is completed, the refrigerator can be controlled to restart, and the data transmission rate of the refrigerator can be switched from the second preset transmission rate back to the first preset transmission rate ( Fig. 9 Step S19 is shown), and the wireless communication module is controlled to report the upgraded firmware version information of the main control board to the cloud at the first preset transmission rate after switching ( Fig. 9 As shown in step S20), the cloud can determine whether the upgrade is successful based on the received upgraded firmware version information.
[0109] It should be noted that after the embodiment of the present invention quickly completes the firmware upgrade in a short time, the data transmission rate of the refrigerator is switched back to the first preset transmission rate from the second preset transmission rate, which can ensure the accuracy and stability of long-distance transmission communication of the refrigerator under normal working conditions.
[0110] As one of the optional embodiments, the cloud is also used for:
[0111] After receiving the upgraded firmware version information uploaded by the refrigerator, comparing it with the upgraded version information of the pre-deployed firmware upgrade package;
[0112] When the upgraded firmware version information is consistent with the upgraded version information, it is determined that the upgrade is successful, and upgrade success information is pushed to the user terminal.
[0113] Specifically, in combination with the above embodiment, after receiving the upgraded firmware version information uploaded by the refrigerator, the cloud can confirm the received upgraded firmware version information, that is: compare the received upgraded firmware version information with the upgraded version information of the pre-deployed firmware upgrade package to determine whether the received upgraded firmware version information is consistent with the upgraded version information of the pre-deployed firmware upgrade package. When it is determined that the received upgraded firmware version information is consistent with the upgraded version information of the pre-deployed firmware upgrade package, it is determined that the refrigerator firmware has been successfully upgraded, and the upgrade success information is pushed to the user terminal to remind the user that the refrigerator firmware has been successfully upgraded.
[0114] The embodiment of the present invention also provides a refrigerator upgrade control method, see Fig.10 FIG. 1 is a flow chart of a refrigerator upgrade control method provided by an embodiment of the present invention. The method is applicable to the refrigerator described in any of the above embodiments. The method is executed by the controller and includes steps S101 to S102:
[0115] Step S101: after the refrigerator is powered on, the data transmission rate of the refrigerator is controlled to be a first preset transmission rate, and the wireless communication module is controlled to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate;
[0116] Step S102: after receiving the firmware upgrade request sent from the cloud, switch the data transmission rate of the refrigerator to a second preset transmission rate, control the wireless communication module to download the firmware upgrade package from the cloud at the second preset transmission rate, verify the firmware upgrade package, and after the verification passes, perform firmware upgrade on the main control board according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate.
[0117] In some embodiments, the cloud is used to:
[0118] After receiving the firmware version information uploaded by the refrigerator, comparing it with the upgrade version information of the pre-deployed firmware upgrade package;
[0119] When the upgrade information that meets the background configuration is determined, the upgrade reminder information is pushed to the user terminal, and the user's choice is made to determine whether the firmware upgrade is required;
[0120] When it is determined that a firmware upgrade is required, determining whether the refrigerator currently meets a firmware upgrade condition;
[0121] When it is determined that the refrigerator currently meets the firmware upgrade condition, a firmware upgrade request is sent to the refrigerator.
[0122] In some embodiments, the cloud determines whether the refrigerator currently meets the firmware upgrade conditions, specifically including:
[0123] Determine whether the current time is within the preset idle time period;
[0124] When it is determined that the current time is within the idle period, determining whether the refrigerator is currently in a non-working state;
[0125] When it is determined that the refrigerator is currently in a non-working state, it is determined that the refrigerator currently meets a firmware upgrade condition.
[0126] In some embodiments, the cloud determines whether the refrigerator is currently in a non-working state, specifically including:
[0127] Determining whether the refrigerator is currently in a non-working state according to the switch state of the door of the at least one compartment, the working state of the defrosting action and the working state of the compressor reported in real time by the refrigerator;
[0128] When the door of the at least one compartment is in a closed state, the defrosting action is in a non-working state, and the compressor is in a non-working state, it is determined that the refrigerator is currently in a non-working state.
[0129] In some embodiments, before switching the data transmission rate of the refrigerator to the second preset transmission rate, the method further includes:
[0130] Obtain the upgrade version information carried in the firmware upgrade request, and determine whether it conforms to the target version information configured in the background;
[0131] If so, the upgraded firmware is verified, and after the verification passes, the data transmission rate of the refrigerator is switched to a second preset transmission rate.
[0132] In some embodiments, the verifying the firmware upgrade package specifically includes:
[0133] During the downloading process of the firmware upgrade package, a CRC check is performed on each downloaded data packet;
[0134] After the firmware upgrade package is downloaded, all downloaded data packets are subjected to CRC verification again;
[0135] When the obtained verification value is consistent with the verification value configured in the cloud, it is determined that the verification is passed.
[0136] In some embodiments, the method further comprises:
[0137] After the firmware upgrade is completed, controlling the refrigerator to restart, and switching the data transmission rate of the refrigerator to the first preset transmission rate;
[0138] The wireless communication module is controlled to upload the upgraded firmware version information of the main control board to the cloud at the first preset transmission rate, so that the cloud determines whether the upgrade is successful according to the received upgraded firmware version information.
[0139] In some embodiments, the cloud is also used to:
[0140] After receiving the upgraded firmware version information uploaded by the refrigerator, comparing it with the upgraded version information of the pre-deployed firmware upgrade package;
[0141] When the upgraded firmware version information is consistent with the upgraded version information, it is determined that the upgrade is successful, and upgrade success information is pushed to the user terminal.
[0142] It should be noted that a refrigerator upgrade control method provided in an embodiment of the present invention can realize all the working processes of the refrigerator described in any of the above embodiments. The specific implementation scheme and the technical effects achieved corresponding to the method are respectively the same as the specific implementation scheme and the technical effects achieved of the refrigerator described in the above embodiments, and will not be repeated here.
[0143] In summary, the refrigerator and refrigerator upgrade control method provided by the embodiment of the present invention include a box body, at least one compartment is provided inside, for storing food; and a refrigeration system, including a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for the refrigeration cycle of the refrigerator; and a controller, for: after the refrigerator is powered on, controlling the data transmission rate of the refrigerator to be a first preset transmission rate, controlling the wireless communication module to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate; after receiving the firmware upgrade request sent by the cloud, switching the data transmission rate of the refrigerator to a second preset transmission rate, controlling the wireless communication module to download the firmware upgrade package from the cloud at the second preset transmission rate, verifying the firmware upgrade package, and after passing the verification, performing a firmware upgrade on the main control board according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate. The embodiment of the present invention adapts the communication conditions of the refrigerator in normal operation and firmware upgrade respectively by changing the data transmission rate of the refrigerator, which can ensure that the refrigerator quickly completes the firmware upgrade in a short time without affecting the stability of the refrigerator data transmission.
[0144] The above are only some embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A refrigerator, characterized in that: The refrigerator comprises: The box body has at least one compartment inside for storing food; A refrigeration system, comprising a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for a refrigeration cycle of the refrigerator; Controller for: After the refrigerator is powered on, the data transmission rate of the refrigerator is controlled to be a first preset transmission rate, and the wireless communication module is controlled to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate; After receiving the firmware upgrade request sent from the cloud, the data transmission rate of the refrigerator is switched to a second preset transmission rate, the wireless communication module is controlled to download the firmware upgrade package from the cloud at the second preset transmission rate, the firmware upgrade package is verified, and after the verification passes, the firmware of the main control board is upgraded according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate.
2. The refrigerator according to claim 1, characterized in that: The cloud is used for: After receiving the firmware version information uploaded by the refrigerator, comparing it with the upgrade version information of the pre-deployed firmware upgrade package; When the upgrade information that meets the background configuration is determined, the upgrade reminder information is pushed to the user terminal, and the user's choice is made to determine whether the firmware upgrade is required; When it is determined that a firmware upgrade is required, determining whether the refrigerator currently meets a firmware upgrade condition; When it is determined that the refrigerator currently meets the firmware upgrade condition, a firmware upgrade request is sent to the refrigerator.
3. The refrigerator according to claim 2, characterized in that: The cloud determines whether the refrigerator currently meets the firmware upgrade conditions, specifically including: Determine whether the current time is within the preset idle time period; When it is determined that the current time is within the idle period, determining whether the refrigerator is currently in a non-working state; When it is determined that the refrigerator is currently in a non-working state, it is determined that the refrigerator currently meets a firmware upgrade condition.
4. The refrigerator according to claim 3, characterized in that: The cloud determines whether the refrigerator is currently in a non-working state, specifically including: Determining whether the refrigerator is currently in a non-working state according to the switch state of the door of the at least one compartment, the working state of the defrosting action and the working state of the compressor reported in real time by the refrigerator; When the door of the at least one compartment is in a closed state, the defrosting action is in a non-working state, and the compressor is in a non-working state, it is determined that the refrigerator is currently in a non-working state.
5. The refrigerator according to claim 1, characterized in that: Before switching the data transmission rate of the refrigerator to the second preset transmission rate, the controller is further configured to: Obtain the upgrade version information carried in the firmware upgrade request, and determine whether it conforms to the target version information configured in the background; If so, the upgraded firmware is verified, and after the verification passes, the data transmission rate of the refrigerator is switched to a second preset transmission rate.
6. The refrigerator according to claim 1, characterized in that: The controller verifies the firmware upgrade package, specifically including: During the downloading process of the firmware upgrade package, a CRC check is performed on each downloaded data packet; After the firmware upgrade package is downloaded, all downloaded data packets are subjected to CRC verification again; When the obtained verification value is consistent with the verification value configured in the cloud, it is determined that the verification is passed.
7. The refrigerator according to claim 1, characterized in that: The controller is also used for: After the firmware upgrade is completed, controlling the refrigerator to restart, and switching the data transmission rate of the refrigerator to the first preset transmission rate; The wireless communication module is controlled to upload the upgraded firmware version information of the main control board to the cloud at the first preset transmission rate, so that the cloud determines whether the upgrade is successful according to the received upgraded firmware version information.
8. The refrigerator according to claim 7, characterized in that: The cloud is also used for: After receiving the upgraded firmware version information uploaded by the refrigerator, comparing it with the upgraded version information of the pre-deployed firmware upgrade package; When the upgraded firmware version information is consistent with the upgraded version information, it is determined that the upgrade is successful, and upgrade success information is pushed to the user terminal.
9. A refrigerator upgrade control method, characterized in that: Applicable to the refrigerator according to any one of claims 1 to 8, the method is executed by the controller, and the method comprises: After the refrigerator is powered on, the data transmission rate of the refrigerator is controlled to be a first preset transmission rate, and the wireless communication module is controlled to upload the current firmware version information of the main control board to the cloud at the first preset transmission rate; After receiving the firmware upgrade request sent from the cloud, the data transmission rate of the refrigerator is switched to a second preset transmission rate, the wireless communication module is controlled to download the firmware upgrade package from the cloud at the second preset transmission rate, the firmware upgrade package is verified, and after the verification passes, the firmware of the main control board is upgraded according to the firmware upgrade package; wherein the second preset transmission rate is greater than the first preset transmission rate.
10. The refrigerator upgrade control method according to claim 9, characterized in that: The method further comprises: After the firmware upgrade is completed, controlling the refrigerator to restart, and switching the data transmission rate of the refrigerator to the first preset transmission rate; The wireless communication module is controlled to upload the upgraded firmware version information of the main control board to the cloud at the first preset transmission rate, so that the cloud determines whether the upgrade is successful according to the received upgraded firmware version information.