CN108874422A - A kind of on-line software updating method of refrigerator electric control plate, refrigerator electric control plate and refrigerator - Google Patents

A kind of on-line software updating method of refrigerator electric control plate, refrigerator electric control plate and refrigerator Download PDF

Info

Publication number
CN108874422A
CN108874422A CN201810623872.1A CN201810623872A CN108874422A CN 108874422 A CN108874422 A CN 108874422A CN 201810623872 A CN201810623872 A CN 201810623872A CN 108874422 A CN108874422 A CN 108874422A
Authority
CN
China
Prior art keywords
region
backup
refrigerator
electric control
control plate
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.)
Granted
Application number
CN201810623872.1A
Other languages
Chinese (zh)
Other versions
CN108874422B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Thermal Sciences (AREA)
  • Devices That Are Associated With Refrigeration Equipment (AREA)

Abstract

The embodiment of the invention discloses a kind of on-line software updating method of refrigerator electric control plate, refrigerator electric control plate and refrigerator, methods to include:The region BACKUP is checked by the bootstrap in the region BOOT;If there being legal binary data in the region BACKUP, the data in the region APP are wiped, the region APP is written into the legal binary data in the region BACKUP, wipes the binary data in the region BACKUP;Wherein, legal binary data is program to be upgraded;The program to be upgraded in the region APP is controlled by bootstrap to execute, and completes the on-line software updating of refrigerator electric control plate.By the way that the storage region of refrigerator electric control plate is divided into the region BOOT, the region APP and the region BACKUP, the process of on-line software updating is executed by the bootstrap guidance in the region BOOT, check the legitimacy of data in the region BACKUP, program to be upgraded is stored by the region BACKUP, and program to be upgraded is executed by the region APP, the automatic online upgrading for realizing refrigerator electric control plate software solves user and requires manual intervention the puzzlement that could upgrade.

Description

A kind of on-line software updating method of refrigerator electric control plate, refrigerator electric control plate and refrigerator
Technical field
The present invention relates to refrigeration control technical fields, and in particular to a kind of on-line software updating method of refrigerator electric control plate, Refrigerator electric control plate and refrigerator.
Background technique
With the continuous improvement of living standards, because having the characteristics that control is accurate, rule elasticity is big, fast response time, Electric control refrigerator is increasingly by the welcome of consumer.Existing technology, by the test in development process, manufacturer can be by various The simulation of environment temperature, humidity, load condition is summarized or is matched suitable control rule and parameter, it is soft to be written to control Batch production in part, for product.
But because the scene of test is limited, product is not applied for the usage scenario of all users, and because produces Product performance upgrade, design defect amendment etc. need, and the control software of electric control refrigerator is to need continuous iteration.It is right in the prior art It in the refrigerator having been sold out, can only go wrong in user's use, when complaining maintenance, be upgraded or replaced electric-controlled plate.
The iteration that control software can not independently be completed without manual intervention refrigerator in the prior art, cannot achieve electric control refrigerator The online upgrading for controlling software, causes the puzzlement that user uses.
Summary of the invention
In order at least be partially solved the above-mentioned problems in the prior art, the present invention proposes a kind of refrigerator electric control On-line software updating method, refrigerator electric control plate and the refrigerator of plate.
In a first aspect, the embodiment of the present invention proposes a kind of on-line software updating method of refrigerator electric control plate, including:
If judgement, which knows that refrigerator electric control plate executes, resets operation, by the bootstrap in the guidance region BOOT to backup The region BACKUP is checked;
If inspection knows in the region BACKUP have legal binary data, application APP region is wiped The region APP is written in the legal binary data in the region BACKUP by interior data, and described in erasing The legal binary data in the region BACKUP;Wherein, the legal binary data is program to be upgraded;
It controls the program to be upgraded in the region APP by the bootstrap to execute, to complete refrigerator electric control The on-line software updating of plate.
Optionally, the method also includes:
If inspection is known without legal binary data in the region BACKUP, institute is controlled by the bootstrap The present procedure stated in the region APP executes.
Optionally, if the judgement, which knows that refrigerator electric control plate executes, resets operation, pass through the guidance in the guidance region BOOT Before program checks the region backup BACKUP, further include:
The program to be upgraded that WIFI module is sent is received, if judging to know the region BACKUP as sky, by institute It states program to be upgraded to be written in a manner of binary data in the region BACKUP, and the binary data of write-in is examined It tests, knows that the binary data of write-in is illegal if examining, wipe the binary data of write-in.
Optionally, if the judgement, which knows that refrigerator electric control plate executes, resets operation, pass through the guidance in the guidance region BOOT Before program checks the region backup BACKUP, further include:
If judgement know in the region BACKUP have legal binary data, the door of refrigerator is not switched on and refrigerator not In the defrost stage, then the reset operation of refrigerator electric control plate is executed.
Optionally, including:
The size in the region BOOT is determined according to the memory space of the bootstrap;
The size in the region APP is determined according to the software requirement of refrigerator;
The size in the region BACKUP is more than or equal to the size in the region APP.
Second aspect, the embodiment of the present invention also propose a kind of refrigerator electric control plate, including:
Module is checked, if for judging that knowing that refrigerator electric control plate executes resets operation, passes through drawing for the guidance region BOOT The region lead ordered pair backup BACKUP is checked;
Writing module, if knowing there is legal binary data in the region BACKUP for checking, erasing is answered With the data in the region program APP, the area APP is written into the legal binary data in the region BACKUP Domain, and wipe the legal binary data in the region BACKUP;Wherein, the legal binary data be to Upgrade procedure;
Upgraded module is executed for controlling the program to be upgraded in the region APP by the bootstrap, with Complete the on-line software updating of refrigerator electric control plate.
Optionally, the refrigerator electric control plate further includes:
Program execution module passes through if knowing in the region BACKUP for checking without legal binary data The bootstrap controls the execution of the present procedure in the region APP.
Optionally, the refrigerator electric control plate further includes:
Upgrade procedure receiving module, for receiving the program to be upgraded of WIFI module transmission, if judging to know described The region BACKUP is sky, then the program to be upgraded is written in a manner of binary data in the region BACKUP, and right The binary data of write-in is tested, and is known that the binary data of write-in is illegal if examining, is wiped the binary system of write-in Data.
Optionally, the refrigerator electric control plate further includes:
Reseting module, if for judging to know the door for having legal binary data, refrigerator in the region BACKUP It is not switched on and refrigerator is not or not the defrost stage, then execute the reset operation of refrigerator electric control plate.
Optionally, including:
The size in the region BOOT is determined according to the memory space of the bootstrap;
The size in the region APP is determined according to the software requirement of refrigerator;
The size in the region BACKUP is more than or equal to the size in the region APP.
The third aspect, the embodiment of the present invention also propose a kind of refrigerator, including any of the above-described refrigerator electric control plate.
Fourth aspect, the embodiment of the present invention also propose a kind of electronic equipment, including:
At least one processor;And
At least one processor being connect with the processor communication, wherein:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to Order is able to carry out the above method.
5th aspect, the embodiment of the present invention also propose a kind of non-transient computer readable storage medium, the non-transient meter Calculation machine readable storage medium storing program for executing stores computer program, and the computer program makes the computer execute the above method.
As shown from the above technical solution, the present invention is by being divided into the region BOOT, the area APP for the storage region of refrigerator electric control plate Domain and the region BACKUP are executed the process of on-line software updating by the bootstrap guidance in the region BOOT, check the area BACKUP The legitimacy of data in domain stores program to be upgraded by the region BACKUP, and executes program to be upgraded by the region APP, from The dynamic online upgrading for realizing refrigerator electric control plate software solves user and requires manual intervention the puzzlement that could upgrade.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these figures.
Fig. 1 is a kind of process signal of the on-line software updating method for refrigerator electric control plate that one embodiment of the invention provides Figure;
Fig. 2 is the state machine diagram in the region APP that one embodiment of the invention provides;
Fig. 3 is the state machine diagram in the region BOOT that one embodiment of the invention provides;
Fig. 4 is a kind of structural representation of the on-line software updating device for refrigerator electric control plate that one embodiment of the invention provides Figure;
Fig. 5 is the logic diagram for the electronic equipment that one embodiment of the invention provides.
Specific embodiment
With reference to the accompanying drawing, further description of the specific embodiments of the present invention.Following embodiment is only used for more Technical solution of the present invention is clearly demonstrated, and not intended to limit the protection scope of the present invention.
Fig. 1 shows a kind of flow diagram of the on-line software updating method of refrigerator electric control plate provided in this embodiment, Including:
If S101, judgement, which know that refrigerator electric control plate executes, resets operation, pass through the bootstrap pair in the guidance region BOOT The region backup BACKUP is checked.
It specifically, is the region BOOT, the region APP and the area BACKUP by the region the FLASH cutting of the MCU of refrigerator electric control plate Domain.Wherein the region BOOT is used to store the code of guidance exchange, is first carried out after software reset;The region APP is used to store use The code that family uses, after software reset executes BOOT, software longtime running is in the region APP;The region BACK UP is used to store The binary file that will be used to upgrade.The binary data in the region BACK UP is updated by communications protocol, and passes through the area BOOT Replacement of the software realization BACKUP regional document in domain to APP regional document, to realize the online liter of the region refrigerator APP software Grade.
If S102, inspection know in the region BACKUP have legal binary data, application APP is wiped The legal binary data in the region BACKUP is written the region APP, and wipes institute by the data in region State the legal binary data in the region BACKUP;Wherein, the legal binary data is program to be upgraded.
Specifically, refrigerator electric control plate can receive binary file by communications protocol, and will be in binary file Binary data is rewritten as in the region BACKUP;The region BACKUP is verified by the bootstrap in the region BOOT, and uses BACK Binary data in the region UP replaces the data in the region APP, realizes the copy of program to be upgraded.
S103, the program execution to be upgraded in the region APP is controlled by the bootstrap, to complete refrigerator The on-line software updating of electric-controlled plate.
It should be noted that the size in the region BOOT is determined according to the memory space of the bootstrap;The APP The size in region is determined according to the software requirement of refrigerator;The size in the region BACKUP is more than or equal to the big of the region APP It is small.
Specifically, the size needs in the region BOOT are set according to the size of the code of the bootstrap of actual use.For In guarantee MCU, the region Free Region APP is big as far as possible, the region BOOT should simplify as far as possible under the premise of meeting reliability, and Use external resource as few as possible.Dependence of the bootstrap to resource can be reduced in this way, improve versatility.The region APP Size is set according to the actual functional capability of refrigerator.The size in the region BACKUP needs to guarantee identical with the region APP Or it is bigger.In view of the duplication efficiency of binary file and convenient, can be set in actual use and APP same size The region BACKUP.
For example, by taking the R5F100xG family chip of Rui Sa as an example, which has 128KB FLASH, we define The size in the region BOOT is 8K, and the size in the region APP and the region BACKUP is 59K, and reserves 2K and make for artificial debugging With.With reference to as follows:
The present embodiment is led to by the way that the storage region of refrigerator electric control plate is divided into the region BOOT, the region APP and the region BACKUP The bootstrap guidance for crossing the region BOOT executes the process of on-line software updating, checks the legitimacy of data in the region BACKUP, Program to be upgraded is stored by the region BACKUP, and program to be upgraded is executed by the region APP, it is automatic to realize that refrigerator electric control plate is soft The online upgrading of part solves user and requires manual intervention the puzzlement that could upgrade.
Further, on the basis of above method embodiment, the method also includes:
If S104, inspection are known in the region BACKUP without legal binary data, pass through the bootstrap The present procedure controlled in the region APP executes.
Specifically, if without legal binary data in the region BACKUP, illustrate the program that can not upgrade, i.e., Present procedure in the region APP continues to execute the present procedure in the region APP without being upgraded for newest program.
Further, on the basis of above method embodiment, before S101, further include:
S100, receive the program to be upgraded that WIFI module is sent, if judge to know the region BACKUP to be empty, The program to be upgraded is written in a manner of binary data in the region BACKUP, and to the binary data of write-in into Performing check knows that the binary data of write-in is illegal if examining, wipes the binary data of write-in.
Specifically, when receive WIFI module transmission the program to be upgraded when, if the region BACKUP be it is empty, Illustrating the program in the region APP not is newest program, is upgraded, therefore by the program to be upgraded with binary number According to mode be written in the region BACKUP, and test to the binary data of write-in, to guarantee the legitimacy of data. If inspection knows that the binary data of write-in is illegal, the binary data of write-in is wiped, guarantees the subsequent write-in region APP Data are all legal.
Further, on the basis of above method embodiment, before S101, further include:
If S1001, judgement know in the region BACKUP have legal binary data, the door of refrigerator is not switched on and Refrigerator then executes the reset operation of refrigerator electric control plate not in the defrost stage.
Specifically, it in practical implementation, mainly includes the following steps that:
A1, refrigerator electric control plate power on, and bring into operation after software reset, operate in the region BOOT first, to the region BACKUP It is checked, when no available content, jumps to the execution of the region APP;
Program in the region A2, APP is run in APP regional sustained, completes the function control to refrigerator;
A3, the upgrading APMB package by receiving refrigerator communicating (such as WIFI since refrigerator), refrigerator electric control plate is complete While pairs of refrigerator functions control, after checking out the region BACKUP and being full sky, received file is written to the area BACK UP Domain tests to the binary content in the region BACK UP after the completion of write-in, enters wait state after qualified;
A4, in wait state, refrigerator electric control plate judges whether currently used environment can jump switching, in satisfaction (such as user does not open the door, and refrigerator is not under the defrost stage) software executes reset;
It after A5, reset, is again introduced into the region BOOT and executes bootstrap, at this point, checking that there has been conjunction in the region BACKUP The binary data of method, then BOOT function comes into force, and after the data in the region APP are wiped, the data duplication in the region BACKUP is write Enter to the region APP, verified after the completion, after meeting condition, the data in the region BACKUP are wiped, and jump to the area APP after Reforwarding row.
In above-mentioned implementation procedure, the state machine diagram of the program in the region APP is as shown in Fig. 2, from STANDBY (standby) State is to CHECKROM (inspection) state, then arrives DOWNLOAD (downloading) state, CHECK_BUFF (checking backup area) state, most ERROR (mistake) state or CHANGEOVER (end) state are arrived afterwards.
The state machine diagram of the bootstrap in the region BOOT as shown in figure 3, from BOOT_START (starting) state to CHECK_BUFF (checking backup area) state, then arrive ERASEAPP (erasing APP) state, WAIT (waiting) state, COPY_CODE (Code copying) state, CHECK_APP (checking APP) state, EARSE_BUFF (erasing backup area) state, are finally ERROR (mistake) state, RESET (reset) state and END (end) state.
When the state that leaves it at that, refrigerator software has been completed replacement.In the whole process, manual intervention progress is not needed Power-off or the connection of fever writes, it is only necessary to which upgrading bag data, escalation process are sent according to given protocol by communication port In, the complete normal use of refrigerator functions.
For there is the refrigerator of wifi function, remote online upgrading can be realized, so that manufacturer has the ability in the control of refrigerator After software optimization, it is pushed to the client having been sold out using, user experience is promoted, evades the market risk.Realize resource more Effective use.
Fig. 4 shows a kind of refrigerator electric control plate provided in this embodiment, including:
Module 401 is checked, if for judging that knowing that refrigerator electric control plate executes resets operation, passes through the guidance region BOOT Bootstrap checks the region backup BACKUP.
Writing module 402 is wiped if knowing in the region BACKUP have legal binary data for checking The area APP is written in the legal binary data in the region BACKUP by the data in application APP region Domain, and wipe the legal binary data in the region BACKUP;Wherein, the legal binary data be to Upgrade procedure.
Upgraded module 403 is held for controlling the program to be upgraded in the region APP by the bootstrap Row, to complete the on-line software updating of refrigerator electric control plate.
Specifically, if checking, the judgement of module 401 knows that refrigerator electric control plate executes and resets operation, passes through the guidance region BOOT Bootstrap the region backup BACKUP is checked.If the inspection of writing module 402 knows in the region BACKUP have Legal binary data then wipes the data in application APP region, will be described legal in the region BACKUP The region APP is written in binary data, and wipes the legal binary data in the region BACKUP;Wherein, The legal binary data is program to be upgraded.Upgraded module 403 is controlled in the region APP by the bootstrap The program to be upgraded execute, to complete the on-line software updating of refrigerator electric control plate.
The present embodiment is led to by the way that the storage region of refrigerator electric control plate is divided into the region BOOT, the region APP and the region BACKUP The bootstrap guidance for crossing the region BOOT executes the process of on-line software updating, checks the legitimacy of data in the region BACKUP, Program to be upgraded is stored by the region BACKUP, and program to be upgraded is executed by the region APP, it is automatic to realize that refrigerator electric control plate is soft The online upgrading of part solves user and requires manual intervention the puzzlement that could upgrade.
Further, on the basis of the above embodiments, the refrigerator electric control plate further includes:
Program execution module passes through if knowing in the region BACKUP for checking without legal binary data The bootstrap controls the execution of the present procedure in the region APP.
Further, on the basis of the above embodiments, the refrigerator electric control plate further includes:
Upgrade procedure receiving module, for receiving the program to be upgraded of WIFI module transmission, if judging to know described The region BACKUP is sky, then the program to be upgraded is written in a manner of binary data in the region BACKUP, and right The binary data of write-in is tested, and is known that the binary data of write-in is illegal if examining, is wiped the binary system of write-in Data.
Further, on the basis of the above embodiments, the refrigerator electric control plate further includes:
Reseting module, if for judging to know the door for having legal binary data, refrigerator in the region BACKUP It is not switched on and refrigerator is not or not the defrost stage, then execute the reset operation of refrigerator electric control plate.
Further, on the basis of the above embodiments, including:
The size in the region BOOT is determined according to the memory space of the bootstrap.
The size in the region APP is determined according to the software requirement of refrigerator.
The size in the region BACKUP is more than or equal to the size in the region APP.
Refrigerator electric control plate described in the present embodiment can be used for executing above method embodiment, principle and technical effect class Seemingly, details are not described herein again.
The present embodiment also proposes a kind of refrigerator, including any of the above-described refrigerator electric control plate.
Reference Fig. 5, the electronic equipment, including:Processor (processor) 501, memory (memory) 502 and total Line 503.
Wherein, the processor 501 and memory 502 complete mutual communication by the bus 503.
The processor 501 is used to call the program instruction in the memory 502, to execute above-mentioned each method embodiment Provided method.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
It should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although reference Invention is explained in detail for previous embodiment, those skilled in the art should understand that:It still can be right Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features;And this It modifies or replaces, the spirit and model of technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution It encloses.

Claims (13)

1. a kind of on-line software updating method of refrigerator electric control plate, which is characterized in that including:
If judgement, which knows that refrigerator electric control plate executes, resets operation, by the bootstrap in the guidance region BOOT to backup BACKUP Region is checked;
If inspection knows in the region BACKUP have legal binary data, wipe in application APP region The legal binary data in the region BACKUP is written the region APP, and wipes the BACKUP by data The legal binary data in region;Wherein, the legal binary data is program to be upgraded;
It controls the program to be upgraded in the region APP by the bootstrap to execute, to complete refrigerator electric control plate On-line software updating.
2. the method according to claim 1, wherein the method also includes:
If inspection is known without legal binary data in the region BACKUP, by described in bootstrap control Present procedure in the region APP executes.
3. the method according to claim 1, wherein if the judgement, which knows that refrigerator electric control plate executes, resets behaviour Make, then by further including before guiding the bootstrap in the region BOOT to check the region backup BACKUP:
Receive the program to be upgraded that WIFI module is sent, if judge to know the region BACKUP for sky, by described in Upgrade procedure is written in the region BACKUP in a manner of binary data, and tested to the binary data of write-in, If inspection knows that the binary data of write-in is illegal, the binary data of write-in is wiped.
4. the method according to claim 1, wherein if the judgement, which knows that refrigerator electric control plate executes, resets behaviour Make, then by further including before guiding the bootstrap in the region BOOT to check the region backup BACKUP:
If judging to know in the region BACKUP has legal binary data, the door of refrigerator is not switched on and refrigerator is not being changed The white stage then executes the reset operation of refrigerator electric control plate.
5. method according to claim 1-4, which is characterized in that including:
The size in the region BOOT is determined according to the memory space of the bootstrap;
The size in the region APP is determined according to the software requirement of refrigerator;
The size in the region BACKUP is more than or equal to the size in the region APP.
6. a kind of refrigerator electric control plate, which is characterized in that including:
Module is checked, if for judging that knowing that refrigerator electric control plate executes resets operation, passes through the guidance journey in the guidance region BOOT The region ordered pair backup BACKUP is checked;
Writing module is wiped if knowing in the region BACKUP have legal binary data for checking using journey The region APP is written in the legal binary data in the region BACKUP by the data in the region sequence APP, and Wipe the legal binary data in the region BACKUP;Wherein, the legal binary data is to be upgraded Program;
Upgraded module is executed for controlling the program to be upgraded in the region APP by the bootstrap, to complete The on-line software updating of refrigerator electric control plate.
7. refrigerator electric control plate according to claim 6, which is characterized in that the refrigerator electric control plate further includes:
Program execution module, if knowing for checking without legal binary data in the region BACKUP, by described Bootstrap controls the execution of the present procedure in the region APP.
8. refrigerator electric control plate according to claim 6, which is characterized in that the refrigerator electric control plate further includes:
Upgrade procedure receiving module, for receiving the program to be upgraded of WIFI module transmission, if judging to know described The region BACKUP is sky, then the program to be upgraded is written in a manner of binary data in the region BACKUP, and right The binary data of write-in is tested, and is known that the binary data of write-in is illegal if examining, is wiped the binary system of write-in Data.
9. refrigerator electric control plate according to claim 6, which is characterized in that the refrigerator electric control plate further includes:
Reseting module, if for judge to know in the region BACKUP have legal binary data, the door of refrigerator is not beaten It opens and refrigerator is not or not the defrost stage, then execute the reset operation of refrigerator electric control plate.
10. according to the described in any item refrigerator electric control plates of claim 6-9, which is characterized in that including:
The size in the region BOOT is determined according to the memory space of the bootstrap;
The size in the region APP is determined according to the software requirement of refrigerator;
The size in the region BACKUP is more than or equal to the size in the region APP.
11. a kind of refrigerator, which is characterized in that including the described in any item refrigerator electric control plates of claim 6-10.
12. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
At least one processor being connect with the processor communication, wherein:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy Enough execute method as claimed in claim 1 to 5.
13. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer program is stored up, the computer program makes the computer execute method as claimed in claim 1 to 5.
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 true CN108874422A (en) 2018-11-23
CN108874422B 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)

Cited By (3)

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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060528A1 (en) * 2003-09-17 2005-03-17 Samsung Electronics Co., Ltd. Booting and boot code update method and system thereof
US20070250254A1 (en) * 2006-03-24 2007-10-25 Mitsubishi Electric Corporation On-vehicle control apparatus
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
US20130205289A1 (en) * 2012-02-08 2013-08-08 Fujitsu Limited Update controlling method for firmware, base station apparatus and communication system
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
CN106802818A (en) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 The upgrade method of mobile unit, business processing device and system, vehicle
CN107179909A (en) * 2017-05-16 2017-09-19 广东美的暖通设备有限公司 Method for upgrading software, device and computer-readable recording medium
CN107835088A (en) * 2017-09-26 2018-03-23 深圳市亿兆互联技术有限公司 A kind of LoRa terminal devices over-the-air upgrade method and system
US20180101388A1 (en) * 2016-10-07 2018-04-12 Blackberry Limited Selecting a boot loader on an electronic device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060528A1 (en) * 2003-09-17 2005-03-17 Samsung Electronics Co., Ltd. Booting and boot code update method and system thereof
US20070250254A1 (en) * 2006-03-24 2007-10-25 Mitsubishi Electric Corporation On-vehicle control apparatus
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
US20130205289A1 (en) * 2012-02-08 2013-08-08 Fujitsu Limited Update controlling method for firmware, base station apparatus and communication system
CN102736586A (en) * 2012-05-21 2012-10-17 奇瑞汽车股份有限公司 Vehicle control unit for pure electric automobile and system booting method
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
US20180101388A1 (en) * 2016-10-07 2018-04-12 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
CN107179909A (en) * 2017-05-16 2017-09-19 广东美的暖通设备有限公司 Method for upgrading software, device and computer-readable recording medium
CN107835088A (en) * 2017-09-26 2018-03-23 深圳市亿兆互联技术有限公司 A kind of LoRa terminal devices over-the-air upgrade method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BRUNOALBRECHT: ""Reliable Update allows writing inapplication area?"", 《HTTPS://COMMUNITY.NXP.COM/T5/MCU-BOOTLOADER/RELIABLE-UPDATE-ALLOWS-WRITING-IN-APPLICATION-AREA/M-P/694978》 *
JIANGHUAN: ""CPU、MPU、MCU、SOC的区别(概念)"", 《HTTPS://WWW.21IC.COM/JICHUZHISHI/MCU/QUESTIONS/2017-06-22/725474.HTML》 *
鲁亚凯: ""基于Linux平台智能电视OTA升级可靠性优化"", 《电子质量》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475179A (en) * 2019-01-23 2020-07-31 北京新能源汽车股份有限公司 Software online flashing method and device, electronic control unit and upper computer
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
CN111831310B (en) * 2020-07-17 2024-06-04 北京经纬恒润科技股份有限公司 Software updating method and system
CN111901419A (en) * 2020-07-28 2020-11-06 青岛海尔科技有限公司 Method, device and equipment for upgrading household appliance bottom plate
CN111901419B (en) * 2020-07-28 2022-12-02 青岛海尔科技有限公司 Method, device and equipment for upgrading household appliance bottom plate

Also Published As

Publication number Publication date
CN108874422B (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN102880532B (en) Cloud technology-based test system and method
US10826787B2 (en) Method and system that simulates a computer-system aggregation
CN108874422A (en) A kind of on-line software updating method of refrigerator electric control plate, refrigerator electric control plate and refrigerator
CN101876910A (en) Double-controller disk memory array, firmware upgrading method and controller thereof
CN109558160A (en) Upgrade method, embedded system
CN102834806B (en) System architecture management equipment, system architecture management method and program
CN109002310A (en) firmware upgrade method
CN110149231A (en) Update method, apparatus, storage medium and the equipment of virtual switch
CN109189434A (en) A kind of online upgrading method of electric energy meter
CN109144532B (en) Upgrading method and device
CN108089890B (en) It is a kind of that operation method and system are applied based on disk
CN109450676A (en) A kind of switch upgrades method and device, electronic equipment, computer-readable medium
CN111813495A (en) Node testing method and device, storage medium and electronic device
CN109086176A (en) A kind of SSD steady-state method of test, device, equipment and storage medium based on FIO
CN109413164A (en) A kind of access service recovery method, device, equipment and readable storage medium storing program for executing
CN104040517B (en) A kind of hard-disk system operating method, storage system and processor
CN109408088A (en) CPLD upgrade method, device, system and computer readable storage medium
CN115202944A (en) Hard disk performance test method, device, equipment and storage medium
CN104461589A (en) Single-chip microcomputer updating method and system
CN110286852A (en) Dual control framework distributed memory system, method for reading data, device and storage medium
CN110413310A (en) Programme upgrade method and terminal device
CN117708029A (en) PCIE topology structure simulation method, device, equipment and medium
CN109426511A (en) Soft core update method and system
CN109558179A (en) Program code on-line loaded method, program code online upgrading method and system
CN107634870A (en) A kind of method and device for realizing IP checkings

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