CN108874422B - Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator - Google Patents

Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator Download PDF

Info

Publication number
CN108874422B
CN108874422B CN201810623872.1A CN201810623872A CN108874422B CN 108874422 B CN108874422 B CN 108874422B CN 201810623872 A CN201810623872 A CN 201810623872A CN 108874422 B CN108874422 B CN 108874422B
Authority
CN
China
Prior art keywords
area
refrigerator
program
control board
binary data
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
CN201810623872.1A
Other languages
Chinese (zh)
Other versions
CN108874422A (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.)
Hefei Hualing Co Ltd
Midea Group Co Ltd
Hefei Midea Refrigerator Co Ltd
Original Assignee
Hefei Hualing Co Ltd
Midea Group Co Ltd
Hefei Midea Refrigerator 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 Hefei Hualing Co Ltd, Midea Group Co Ltd, Hefei Midea Refrigerator Co Ltd filed Critical Hefei Hualing Co Ltd
Priority to CN201810623872.1A priority Critical patent/CN108874422B/en
Publication of CN108874422A publication Critical patent/CN108874422A/en
Application granted granted Critical
Publication of CN108874422B publication Critical patent/CN108874422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • 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 embodiment of the invention discloses a software online upgrading method of a refrigerator electric control board, the refrigerator electric control board and a refrigerator, wherein the method comprises the following steps: checking the BACKUP area through a bootstrap program of the BOOT area; if legal binary data exist in the BACKUP area, erasing the data in the APP area, writing the legal binary data in the BACKUP area into the APP area, and erasing the binary data in the BACKUP area; wherein, the legal binary data is the program to be upgraded; and controlling the program to be upgraded in the APP area to execute by the bootstrap program, and finishing the software online upgrade of the refrigerator electric control board. The storage area of the refrigerator electric control board is divided into a BOOT area, an APP area and a BACKUP area, the process of software online upgrading is guided and executed through a bootstrap program of the BOOT area, the legality of data in the BACKUP area is checked, a program to be upgraded is stored through the BACKUP area, the program to be upgraded is executed through the APP area, online upgrading of the refrigerator electric control board software is automatically achieved, and the problem that a user needs manual intervention to upgrade is solved.

Description

Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator
Technical Field
The invention relates to the technical field of refrigeration control, in particular to a software online upgrading method for an electric control board of a refrigerator, the electric control board of the refrigerator and the refrigerator.
Background
With the continuous improvement of living standard, the electric control refrigerator is more and more popular with consumers because of the characteristics of accurate control, large rule elasticity, high response speed and the like. In the prior art, through tests in the development process, manufacturers can summarize or match appropriate control rules and parameters through simulation of various environmental temperatures, humidity and load states, and write the rules and parameters into control software for batch production of products.
However, because the test scenes are limited, the product cannot be applied to the use scenes of all users, and because of the needs of product performance upgrading, design defect correction and the like, the control software of the electric control refrigerator needs to be iterated continuously. In the prior art, for the sold refrigerator, the electric control board can be upgraded or replaced only when the user has problems in use and complains about maintenance.
In the prior art, the refrigerator cannot automatically complete the iteration of control software without manual intervention, and the online upgrade of the control software of the electric control refrigerator cannot be realized, so that the trouble of using the electric control refrigerator by a user is caused.
Disclosure of Invention
In order to at least partially solve the problems in the prior art, the invention provides a software online upgrading method for an electric control board of a refrigerator, the electric control board of the refrigerator and the refrigerator.
In a first aspect, an embodiment of the present invention provides an online software upgrade method for a refrigerator electronic control board, including:
if the refrigerator electric control board is judged to execute the reset operation, checking the BACKUP area through a bootstrap program for guiding the BOOT area;
if the check shows that legal binary data exist in the BACKUP area, erasing data in an application program APP area, writing the legal binary data in the BACKUP area into the APP area, and erasing the legal binary data in the BACKUP area; the legal binary data is a program to be upgraded;
and controlling the program to be upgraded in the APP area to execute through the guide program so as to finish the software online upgrade of the refrigerator electric control board.
Optionally, the method further comprises:
and if the checking result shows that no legal binary data exists in the BACKUP area, controlling the current program in the APP area to execute through the bootstrap program.
Optionally, before the step of checking the BACKUP area by a BOOT program for booting the BOOT area if it is determined that the refrigerator electronic control board executes the reset operation, the method further includes:
receiving the program to be upgraded sent by the WIFI module, writing the program to be upgraded into the BACKUP area in a binary data mode if the BACKUP area is judged to be empty, checking the written binary data, and erasing the written binary data if the written binary data is checked to be illegal.
Optionally, before the step of checking the BACKUP area by a BOOT program for booting the BOOT area if it is determined that the refrigerator electronic control board executes the reset operation, the method further includes:
and if the fact that legal binary data exist in the BACKUP area is judged and known, the door of the refrigerator is not opened and the refrigerator is not in the defrosting stage, executing the resetting operation of the electric control board of the refrigerator.
Optionally, comprising:
the size of the BOOT area is determined according to the storage space of the bootstrap program;
the size of the APP area is determined according to the software requirement of the refrigerator;
the size of the BACKUP region is larger than or equal to that of the APP region.
In a second aspect, an embodiment of the present invention further provides an electric control board for a refrigerator, including:
the checking module is used for checking the BACKUP area through a bootstrap program for guiding the BOOT area if judging that the refrigerator electric control board executes the reset operation;
a writing module, configured to erase data in an APP area of an application program if it is checked and known that legal binary data exists in the BACKUP area, write the legal binary data in the BACKUP area into the APP area, and erase the legal binary data in the BACKUP area; the legal binary data is a program to be upgraded;
and the upgrading module is used for controlling the program to be upgraded in the APP area to be executed through the guide program so as to finish the software online upgrading of the refrigerator electric control board.
Optionally, the electric control board of the refrigerator further comprises:
and the program execution module is used for controlling the current program execution in the APP area through the bootstrap program if the fact that legal binary data does not exist in the BACKUP area is checked and known.
Optionally, the electric control board of the refrigerator further comprises:
and the upgrading program receiving module is used for receiving the program to be upgraded sent by the WIFI module, writing the program to be upgraded into the BACKUP area in a binary data mode if the BACKUP area is judged to be empty, checking the written binary data, and erasing the written binary data if the written binary data is checked to be illegal.
Optionally, the electric control board of the refrigerator further comprises:
and the reset module is used for executing the reset operation of the refrigerator electric control board if the fact that legal binary data exist in the BACKUP area, the door of the refrigerator is not opened and the refrigerator is not in a defrosting stage is judged and known.
Optionally, comprising:
the size of the BOOT area is determined according to the storage space of the bootstrap program;
the size of the APP area is determined according to the software requirement of the refrigerator;
the size of the BACKUP region is larger than or equal to that of the APP region.
In a third aspect, an embodiment of the present invention further provides a refrigerator, including any one of the above refrigerator electric control boards.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, which when called by the processor are capable of performing the above-described methods.
In a fifth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium storing a computer program, which causes the computer to execute the above method.
According to the technical scheme, the storage area of the refrigerator electric control board is divided into the BOOT area, the APP area and the BACKUP area, the process of software online upgrading is guided and executed through the guiding program of the BOOT area, the legality of data in the BACKUP area is checked, the program to be upgraded is stored through the BACKUP area, the program to be upgraded is executed through the APP area, the online upgrading of the refrigerator electric control board software is automatically achieved, and the problem that a user needs manual intervention to upgrade the refrigerator electric control board software is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for upgrading software of an electric control board of a refrigerator on line according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a state machine of an APP region according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a state machine of a BOOT area according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a software online upgrading device of an electric control board of a refrigerator according to an embodiment of the present invention;
fig. 5 is a logic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Fig. 1 shows a schematic flow chart of a method for upgrading software of an electric control board of a refrigerator provided in this embodiment, including:
s101, if the fact that the refrigerator electric control board executes the reset operation is judged and known, checking a BACKUP area through a bootstrap program for guiding a BOOT area.
Specifically, a FLASH region of the MCU of the refrigerator electric control board is divided into a BOOT region, an APP region and a BACKUP region. The BOOT area is used for storing codes for guiding exchange and is executed firstly after software is reset; the APP area is used for storing codes used by a user, and after the BOOT is executed by resetting the software, the software runs in the APP area for a long time; the BACK UP area is used to store the binary file to be used for upgrading. Binary data of the BACK UP area is updated through a communication protocol, and the APP area file is replaced by the BACKUP area file through the software of the BOOT area, so that the on-line upgrading of the refrigerator APP area software is realized.
S102, if the fact that legal binary data exist in the BACKUP area is checked and known, erasing data in an application program APP area, writing the legal binary data in the BACKUP area into the APP area, and erasing the legal binary data in the BACKUP area; the legal binary data is a program to be upgraded.
Specifically, the refrigerator electric control board can accept a binary file through a communication protocol, and rewrite binary data in the binary file in a BACKUP area; and checking the BACKUP area by a bootstrap program of the BOOT area, and replacing the data in the APP area by the binary data in the BACK UP area to realize the copy of the program to be upgraded.
S103, controlling the program to be upgraded in the APP area to execute through the bootstrap program so as to complete the software online upgrade of the refrigerator electric control board.
It should be noted that the size of the BOOT area is determined according to the storage space of the BOOT program; the size of the APP area is determined according to the software requirement of the refrigerator; the size of the BACKUP region is larger than or equal to that of the APP region.
Specifically, the size of the BOOT area needs to be set according to the size of the code of the BOOT program actually used. In order to ensure that an APP area of an available area in the MCU is as large as possible, the BOOT area is simplified as much as possible on the premise of meeting the reliability, and external resources are used as little as possible. Therefore, the dependence of the bootstrap program on resources can be reduced, and the universality is improved. The size of the APP area is set according to the actual function requirement of the refrigerator. The size of the BACKUP region needs to be guaranteed to be the same as or larger than the APP region. In consideration of efficiency and convenience of copying binary files, a BACKUP area having the same size as that of APP may be provided in practical use.
For example, taking the R5F100xG chip series of rassa as an example, the MCU has 128KB FLASH, we define the size of the BOOT region to be 8K, and the size of the APP region and the BACKUP region to be 59K, and reserve 2K for simulation debugging. Reference is made to the following:
Figure BDA0001698667920000061
the embodiment divides the storage area of the refrigerator electric control board into a BOOT area, an APP area and a BACKUP area, guides the process of executing the online upgrade of the software through the bootstrap program of the BOOT area, checks the legality of data in the BACKUP area, stores the program to be upgraded through the BACKUP area, executes the program to be upgraded through the APP area, automatically realizes the online upgrade of the refrigerator electric control board software, and solves the problem that the user needs manual intervention to upgrade.
Further, on the basis of the above embodiment of the method, the method further comprises:
and S104, if the fact that legal binary data do not exist in the BACKUP area is checked and known, controlling the current program in the APP area to execute through the guide program.
Specifically, if there is no legal binary data in the BACKUP area, it indicates that there is no program that can be updated, that is, the current program in the APP area is the latest program, and it is only necessary to continue executing the current program in the APP area without updating.
Further, on the basis of the above embodiment of the method, before S101, the method further includes:
s100, receiving the program to be upgraded sent by the WIFI module, writing the program to be upgraded into the BACKUP area in a binary data mode if the BACKUP area is judged to be empty, checking the written binary data, and erasing the written binary data if the written binary data is checked to be illegal.
Specifically, when the program to be upgraded sent by the WIFI module is received, if the BACKUP area is empty, it is indicated that the program in the APP area is not the latest program and needs to be upgraded, so that the program to be upgraded is written into the BACKUP area in a binary data manner, and the written binary data is checked to ensure the validity of the data. And if the written binary data are checked to be illegal, erasing the written binary data and ensuring that the data written into the APP area subsequently are legal.
Further, on the basis of the above embodiment of the method, before S101, the method further includes:
s1001, if the fact that legal binary data exist in the BACKUP area is judged and known, the door of the refrigerator is not opened, and the refrigerator is not in a defrosting stage, resetting operation of the refrigerator electric control board is executed.
Specifically, in the actual implementation process, the method mainly includes the following steps:
a1, powering on a refrigerator electric control board, starting to operate after software is reset, firstly operating in a BOOT area, checking a BACKUP area, and jumping to an APP area to execute when no available content exists;
a2, continuously running programs in the APP area to finish the function control of the refrigerator;
a3, receiving an upgrade package file of a refrigerator through communication (such as WIFI of the refrigerator), writing the received file into a BACK UP area after checking that the BACKUP area is completely empty while controlling functions of the refrigerator by a refrigerator electric control board, checking binary content of the BACK UP area after the writing is finished, and entering a waiting state after the binary content is qualified;
a4, in a waiting state, judging whether the current use environment can be switched by the refrigerator electric control board, and if the current use environment can be switched, executing reset by software (if a user does not open a door and the refrigerator is not in a defrosting stage);
a5, resetting, entering the BOOT area again to execute the bootstrap program, checking that the BACKUP area has legal binary data at the moment, enabling the BOOT function to take effect, erasing the data of the APP area, copying and writing the data of the BACKUP area into the APP area, checking after completion, erasing the data of the BACKUP area after meeting the conditions, and jumping to the APP area to continue running.
In the above execution process, the schematic diagram of the state machine of the program in the APP area is shown in fig. 2, from the STANDBY state to the CHECK state, to the DOWNLOAD state, to the CHECK _ BUFF state, and finally to the ERROR state or the change state, as shown in fig. 2.
Fig. 3 shows a schematic diagram of a state machine of a BOOT program of the BOOT area, from a BOOT _ START state to a CHECK _ BUFF state, to an erase APP state, a WAIT state, a COPY _ CODE state, a CHECK _ APP state, an erase _ BUFF state, and finally to an ERROR state, a RESET state, and an END state.
By this end state, the refrigerator software has completed its replacement. In the whole process, manual intervention is not needed for power failure or connection of the programming device, only the upgrading packet data is needed to be sent through the communication port according to the set protocol, and in the upgrading process, the refrigerator function is completely and normally used.
The refrigerator with the wifi function can be remotely upgraded on line, so that a manufacturer can push the control software of the refrigerator to a sold customer after the control software is optimized, user experience is improved, and market risk is avoided. More efficient use of resources is achieved.
Fig. 4 shows an electric control board for a refrigerator provided in this embodiment, including:
the checking module 401 is configured to check the BACKUP area through a BOOT program for booting the BOOT area if it is determined that the refrigerator electronic control board executes the reset operation.
A writing module 402, configured to erase data in an APP area of an application program if it is checked and known that valid binary data exists in the BACKUP area, write the valid binary data in the BACKUP area into the APP area, and erase the valid binary data in the BACKUP area; the legal binary data is a program to be upgraded.
And the upgrading module 403 is configured to control, through the boot program, the program to be upgraded in the APP region to be executed, so as to complete software online upgrading of the refrigerator electric control board.
Specifically, if the checking module 401 determines that the refrigerator electronic control board executes the reset operation, the checking module checks the BACKUP area through a BOOT program for booting the BOOT area. If it is checked and known that legal binary data exists in the BACKUP region, the writing module 402 erases data in an APP region of an application program, writes the legal binary data in the BACKUP region into the APP region, and erases the legal binary data in the BACKUP region; the legal binary data is a program to be upgraded. The upgrading module 403 controls the program to be upgraded in the APP region to execute through the bootstrap program, so as to complete software online upgrading of the refrigerator electric control board.
The embodiment divides the storage area of the refrigerator electric control board into a BOOT area, an APP area and a BACKUP area, guides the process of executing the online upgrade of the software through the bootstrap program of the BOOT area, checks the legality of data in the BACKUP area, stores the program to be upgraded through the BACKUP area, executes the program to be upgraded through the APP area, automatically realizes the online upgrade of the refrigerator electric control board software, and solves the problem that the user needs manual intervention to upgrade.
Further, on the basis of the above embodiment, the electric control board for a refrigerator further includes:
and the program execution module is used for controlling the current program execution in the APP area through the bootstrap program if the fact that legal binary data does not exist in the BACKUP area is checked and known.
Further, on the basis of the above embodiment, the electric control board for a refrigerator further includes:
and the upgrading program receiving module is used for receiving the program to be upgraded sent by the WIFI module, writing the program to be upgraded into the BACKUP area in a binary data mode if the BACKUP area is judged to be empty, checking the written binary data, and erasing the written binary data if the written binary data is checked to be illegal.
Further, on the basis of the above embodiment, the electric control board for a refrigerator further includes:
and the reset module is used for executing the reset operation of the refrigerator electric control board if the fact that legal binary data exist in the BACKUP area, the door of the refrigerator is not opened and the refrigerator is not in a defrosting stage is judged and known.
Further, on the basis of the above embodiment, the method includes:
the size of the BOOT area is determined according to the storage space of the bootstrap program.
The size of the APP area is determined according to the software requirements of the refrigerator.
The size of the BACKUP region is larger than or equal to that of the APP region.
The electric control board of the refrigerator described in this embodiment can be used to implement the above method embodiments, and the principle and technical effect are similar, which are not described herein again.
The embodiment also provides a refrigerator which comprises any one of the refrigerator electric control boards.
Referring to fig. 5, the electronic device includes: a processor (processor)501, a memory (memory)502, and a bus 503.
The processor 501 and the memory 502 are in communication with each other via the bus 503.
The processor 501 is used to call program instructions in the memory 502 to perform the methods provided by the above-described method embodiments.
The present embodiments disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the method embodiments described above.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
It should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A software online upgrading method for an electric control board of a refrigerator is characterized by comprising the following steps:
if the refrigerator electric control board is judged to execute the reset operation, checking the BACKUP area through a bootstrap program for guiding the BOOT area;
if the check shows that legal binary data exist in the BACKUP area, erasing data in an application program APP area, writing the legal binary data in the BACKUP area into the APP area, and erasing the legal binary data in the BACKUP area; the legal binary data is a program to be upgraded;
controlling the program to be upgraded in the APP area to be executed through the guide program so as to complete the software online upgrade of the refrigerator electric control board;
if the refrigerator electric control board is judged to execute the reset operation, before the BACKUP area is checked by the bootstrap program for booting the BOOT area, the method further comprises the following steps:
checking the BACKUP area through the BOOT area, and jumping to the APP area to execute when no available content exists;
the program in the APP area continuously runs in the APP area to complete the function control of the refrigerator;
receiving the program to be upgraded sent by the WIFI module, writing the program to be upgraded into the BACKUP area in a binary data mode if the BACKUP area is judged to be empty, checking the written binary data, and erasing the written binary data if the written binary data is checked to be illegal.
2. The method of claim 1, further comprising:
and if the checking result shows that no legal binary data exists in the BACKUP area, controlling the current program in the APP area to execute through the bootstrap program.
3. The method as claimed in claim 1, wherein before checking the BACKUP area by a BOOT program for booting the BOOT area if it is determined that the refrigerator electronic control board is known to perform the reset operation, the method further comprises:
and if the fact that legal binary data exist in the BACKUP area is judged and known, the door of the refrigerator is not opened and the refrigerator is not in the defrosting stage, executing the resetting operation of the electric control board of the refrigerator.
4. A method according to any one of claims 1 to 3, comprising:
the size of the BOOT area is determined according to the storage space of the bootstrap program;
the size of the APP area is determined according to the software requirement of the refrigerator;
the size of the BACKUP region is larger than or equal to that of the APP region.
5. An electric control board for a refrigerator, comprising:
the checking module is used for checking the BACKUP area through a bootstrap program for guiding the BOOT area if judging that the refrigerator electric control board executes the reset operation;
a writing module, configured to erase data in an APP area of an application program if it is checked and known that legal binary data exists in the BACKUP area, write the legal binary data in the BACKUP area into the APP area, and erase the legal binary data in the BACKUP area; the legal binary data is a program to be upgraded;
the upgrading module is used for controlling the program to be upgraded in the APP area to be executed through the bootstrap program so as to complete the software online upgrading of the refrigerator electric control board;
the refrigerator electric control board further comprises:
the upgrading program receiving module is used for receiving the program to be upgraded sent by the WIFI module, writing the program to be upgraded into the BACKUP area in a binary data mode if the BACKUP area is judged to be empty, checking the written binary data, and erasing the written binary data if the written binary data is checked to be illegal;
before the program to be upgraded sent by the WIFI module is received, checking the BACKUP area, and when no available content exists, jumping to the APP area to execute;
and controlling the program in the APP area to continuously run in the APP area.
6. The electric control board for a refrigerator according to claim 5, further comprising:
and the program execution module is used for controlling the current program execution in the APP area through the bootstrap program if the fact that legal binary data does not exist in the BACKUP area is checked and known.
7. The electric control board for a refrigerator according to claim 5, further comprising:
and the reset module is used for executing the reset operation of the refrigerator electric control board if the fact that legal binary data exist in the BACKUP area, the door of the refrigerator is not opened and the refrigerator is not in a defrosting stage is judged and known.
8. An electric control board for a refrigerator according to any one of claims 5 to 7, comprising:
the size of the BOOT area is determined according to the storage space of the bootstrap program;
the size of the APP area is determined according to the software requirement of the refrigerator;
the size of the BACKUP region is larger than or equal to that of the APP region.
9. A refrigerator characterized by comprising an electric control board for a refrigerator according to any one of claims 5 to 7.
10. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 4.
11. A non-transitory computer-readable storage medium storing a computer program that causes a computer to perform the method according to any one of claims 1 to 4.
CN201810623872.1A 2018-06-15 2018-06-15 Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator Active CN108874422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810623872.1A CN108874422B (en) 2018-06-15 2018-06-15 Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810623872.1A CN108874422B (en) 2018-06-15 2018-06-15 Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator

Publications (2)

Publication Number Publication Date
CN108874422A CN108874422A (en) 2018-11-23
CN108874422B true CN108874422B (en) 2022-03-01

Family

ID=64339543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810623872.1A Active CN108874422B (en) 2018-06-15 2018-06-15 Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator

Country Status (1)

Country Link
CN (1) CN108874422B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475179B (en) * 2019-01-23 2023-10-03 北京新能源汽车股份有限公司 Online software refreshing method and device, electronic control unit and upper computer
CN111831310A (en) * 2020-07-17 2020-10-27 北京经纬恒润科技有限公司 Software updating method and system
CN111901419B (en) * 2020-07-28 2022-12-02 青岛海尔科技有限公司 Method, device and equipment for upgrading household appliance bottom plate

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100386728C (en) * 2006-03-24 2008-05-07 清华大学 On-line software updating method of implantation medical equipment
CN102023876A (en) * 2009-09-14 2011-04-20 漳州科能电器有限公司 Embedded system capable of upgrading software on line and online upgrading method
CN102736586A (en) * 2012-05-21 2012-10-17 奇瑞汽车股份有限公司 Vehicle control unit for pure electric automobile and system booting method
CN107179909A (en) * 2017-05-16 2017-09-19 广东美的暖通设备有限公司 Method for upgrading software, device and computer-readable recording medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100506203B1 (en) * 2003-09-17 2005-08-05 삼성전자주식회사 Booting and boot code update method and system thereof
JP4302113B2 (en) * 2006-03-24 2009-07-22 三菱電機株式会社 In-vehicle control device
JP2013161401A (en) * 2012-02-08 2013-08-19 Fujitsu Ltd Update controlling method for firmware, base station apparatus, communication system and program
CN106354527A (en) * 2016-08-17 2017-01-25 合肥海尔空调器有限公司 Method for air-conditioner software online updating, controlling device and air-conditioners
CN106507339A (en) * 2016-09-18 2017-03-15 深圳市青柠互动科技开发有限公司 A kind of aerial upgrade system and method for smart machine firmware
US10846099B2 (en) * 2016-10-07 2020-11-24 Blackberry Limited Selecting a boot loader on an electronic device
CN106802818A (en) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 The upgrade method of mobile unit, business processing device and system, vehicle
CN107835088B (en) * 2017-09-26 2020-10-23 深圳市亿兆互联技术有限公司 Air upgrading method and system for LoRa terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100386728C (en) * 2006-03-24 2008-05-07 清华大学 On-line software updating method of implantation medical equipment
CN102023876A (en) * 2009-09-14 2011-04-20 漳州科能电器有限公司 Embedded system capable of upgrading software on line and online upgrading method
CN102736586A (en) * 2012-05-21 2012-10-17 奇瑞汽车股份有限公司 Vehicle control unit for pure electric automobile and system booting method
CN107179909A (en) * 2017-05-16 2017-09-19 广东美的暖通设备有限公司 Method for upgrading software, device and computer-readable recording medium

Also Published As

Publication number Publication date
CN108874422A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN102902556B (en) The multistage boot load method of a kind of embedded equipment
CN106095620B (en) A kind of development approach of built-in Linux partition holding
CN108874422B (en) Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator
US8136108B2 (en) Updating firmware with multiple processors
CN109358887B (en) On-line upgrading method, device and system for single chip microcomputer program
CN111857776B (en) On-line upgrading method for application program of DSP board card
WO2021115477A1 (en) Program upgrade method and apparatus, electronic device and storage medium
CN107465539A (en) The upgrade-system of the upgrade method of firmware, terminal and firmware
CN103106092A (en) System software updating method and device in terminal appliance
CN103746833A (en) PXE-based RAID automatic configuration method and system
CN105760200A (en) Terminal device and system updating method thereof
CN113377408B (en) High-reliability SRAM type FPGA online upgrading method and system
CN104407878A (en) On-line upgrading method of C6000 digital signal processor
CN108182078B (en) Optimized missile-borne device non-dismantling software online upgrading method
CN109614126B (en) Embedded system online program upgrading method and device
CN112433769A (en) BMC starting method and device, computer equipment and storage medium
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
CN108694052B (en) Firmware upgrading method, firmware upgrading device and firmware upgrading system
CN108153548A (en) A kind of EMMC firmware upgrade methods and device
CN109426511B (en) Soft core updating method and system
CN101667133A (en) Method for updating firmware and chip updating firmware by using same
CN116501357A (en) Online upgrade method of singlechip
CN110825421A (en) Firmware upgrading method and system and readable storage medium
CN104636574A (en) Terminal device upgrade method and terminal device
WO2012077604A1 (en) Processing device, program update method, and program

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