CN108427569A - A kind of method of household electric refrigerator online upgrading control program - Google Patents

A kind of method of household electric refrigerator online upgrading control program Download PDF

Info

Publication number
CN108427569A
CN108427569A CN201810579596.3A CN201810579596A CN108427569A CN 108427569 A CN108427569 A CN 108427569A CN 201810579596 A CN201810579596 A CN 201810579596A CN 108427569 A CN108427569 A CN 108427569A
Authority
CN
China
Prior art keywords
program
refrigerator
control
control program
controls
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810579596.3A
Other languages
Chinese (zh)
Inventor
胡国攀
黄辉军
李子胜
万春旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Meiling Co ltd
Original Assignee
Hefei Meiling 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 Meiling Co ltd filed Critical Hefei Meiling Co ltd
Priority to CN201810579596.3A priority Critical patent/CN108427569A/en
Publication of CN108427569A publication Critical patent/CN108427569A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Abstract

The invention discloses a kind of methods that household electric refrigerator online upgrading controls program, are related to refrigerator field of intelligent control technology.The present invention includes the program code upgrading in bootstrap, the parsing of the external upgrade command in control program, realizes that refrigerator controls the online upgrading of program by bootstrap and refrigerator control program.The present invention is by corresponding communication modes and communications protocol sends upgrade command to control panel and corresponding refrigerator controls program, while refrigerator functions normal operation, upgrade command outside receiving and the external control program sent, upgrading update is carried out to control program, when updating procedure failure, the program for restoring preceding version from backup area, ensures the normal operation of refrigerator;Intelligence manufacture production is improved, production efficiency is improved, improves product quality;Applied in Internet of Things refrigerator, realizing that network upgrade refrigerator controls program, the refrigerator control problem occurred in the market is quickly solved;The case where avoiding upgrading from unsuccessfully leading to refrigerator cisco unity malfunction.

Description

A kind of method of household electric refrigerator online upgrading control program
Technical field
The invention belongs to refrigerator intelligent control art fields, and program is controlled more particularly to a kind of household electric refrigerator online upgrading Method.
Background technology
Electric control refrigerator as a kind of refrigeration tool, be widely used in in daily life, the type of electric control refrigerator, Model is more and more, and control method is also had nothing in common with each other, and electric control refrigerator currently on the market using refrigerator control program without being existed The method of line upgrading, refrigerator need artificial distinguished according to model of refrigerator to use different control panels in process of production, production Efficiency is relatively low and easy error.With the fast development of Internet of Things refrigerator, when refrigerator control optimizes, in the market Internet of Things refrigerator can not the refrigerator of online updating control program, the content of optimization can not serve old user.
Therefore it provides a kind of method of household electric refrigerator online upgrading control program, solves the above problems.
Invention content
The purpose of the present invention is to provide a kind of methods that household electric refrigerator online upgrading controls program, pass through intelligent differentiation Model of refrigerator, by corresponding communication modes and communications protocol sends upgrade command to control panel and corresponding refrigerator controls journey Sequence, control panel are carried out the programming of refrigerator control program by this method, solve existing intelligent refrigerator low production efficiency, product matter Measure the problem of low and optimization content can not serve old user.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is a kind of method that household electric refrigerator online upgrading controls program, includes the guiding controlling party of control program Method, the controlling method for refrigerator for controlling program;
The guidance control method of the control program includes the following steps:S0001:Bootstrap initializes:To hardware end Mouth, system clock, Interruption, PORT COM initialization;S0002:Judge whether to need to update control program:It such as needs to update Program is controlled, step S0003 is executed;Such as need not more new procedures, execute step S0011;S0003:Etc. to be updated:Bootstrap Communication is carried out with external server to shake hands, and after shaking hands normally, executes step S0004;S0004:Receive program file:It is assisted by communication View receives the program's code file that external server is sent, and step S0005 is executed after being properly received program file;S0005:It burns Write check:Refrigerator program area is wiped, refrigerator program's code file is written, then reads the file data of write-in and is verified, is completed Step S0006 is executed afterwards;S0006:Stand-by program file:Wipe program backup area, backup area programming refrigerator control program into Row backup, program update completion after the completion of backup, executes step S0002, and jump routine area runs refrigerator and controls program;S0011: Judge whether there is control program:Whether program autotest section has control program, if there is program, then jumps out guiding journey Sequence controls program into refrigerator;If not controlling program, step S0012 is executed;S0012:Whether stand-by program is had:If There is stand-by program, restore the program of backup area to program area, after the completion of recovery, jump out guiding system, program is controlled into refrigerator; If without stand-by program, setting needs more new procedures, executes step S0002;
The controlling method for refrigerator of the control program includes the following steps:
S0101:Control system initializes:Control system to refrigerator and hardware port initialization, hold after the completion of initialization Row step S0102;S0102:Whether more new procedures are needed:Refrigerator program and outside are communicated, and are parsed by communications protocol external Order executes step S0112 if there is updating program command;If being not received by update program command, step is executed S0103;S0103:Refrigerator controls program, carries out intelligent control to refrigerator by control requirement, after the completion of operation, executes step S0102;S0112:Setting needs more new procedures:Setting refrigerator needs to update program instruction, executes step S0113;S0113:Draw Guiding systems exit refrigerator control system, into refrigerator guiding analyzing logic control.
Further, the external server is host computer or internal network server or network server.
Further, the refrigerator receives the upgrade command of external server while refrigerator is in normal operation And the refrigerator that external server is sent controls program, and upgrading update is carried out to refrigerator control program;When updating procedure failure, from The refrigerator of version controls program before backup area restores, and ensures the function normal operation of refrigerator.
The invention has the advantages that:
The present invention controls program to realize that refrigerator controls the online upgrading of program by bootstrap and refrigerator, and intelligence is distinguished Model of refrigerator, by corresponding communication modes and communications protocol sends upgrade command to control panel and corresponding refrigerator controls journey Sequence, control panel is carried out the programming of refrigerator control program by the present invention, while refrigerator functions normal operation, receives external liter Grade instruction and the external control program sent carry out upgrading update to control program, extensive from backup area when updating procedure failure The program of version before multiple ensures the normal function operation of refrigerator;Intelligence manufacture production is improved, production efficiency is improved, improves product Quality;Applied in Internet of Things refrigerator, realizing that network upgrade refrigerator controls program, some refrigerators occurred in the market are quickly solved Control problem;The case where avoiding upgrading from unsuccessfully leading to refrigerator cisco unity malfunction.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the guidance control method flow chart that household electric refrigerator online upgrading of the present invention controls program;
Fig. 2 is the controlling method for refrigerator flow chart that household electric refrigerator online upgrading of the present invention controls program.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained all other without creative efforts Embodiment shall fall within the protection scope of the present invention.
It please refers to Fig.1 shown in -2, the present invention is a kind of method that household electric refrigerator online upgrading controls program, including control The guidance control method of program, the controlling method for refrigerator for controlling program;
Wherein, the guidance control method for controlling program includes the following steps:S0001:Bootstrap initializes:To hardware end Mouth, system clock, Interruption, PORT COM initialization;S0002:Judge whether to need to update control program:It such as needs to update Program is controlled, step S0003 is executed;Such as need not more new procedures, execute step S0011;S0003:Etc. to be updated:Bootstrap Communication is carried out with external server to shake hands, and after shaking hands normally, executes step S0004;S0004:Receive program file:It is assisted by communication View receives the program's code file that external server is sent, and step S0005 is executed after being properly received program file;S0005:It burns Write check:Refrigerator program area is wiped, refrigerator program's code file is written, then reads the file data of write-in and is verified, is completed Step S0006 is executed afterwards;S0006:Stand-by program file:Wipe program backup area, backup area programming refrigerator control program into Row backup, program update completion after the completion of backup, executes step S0002, and jump routine area runs refrigerator and controls program;S0011: Judge whether there is control program:Whether program autotest section has control program, if there is program, then jumps out guiding journey Sequence controls program into refrigerator;If not controlling program, step S0012 is executed;S0012:Whether stand-by program is had:If There is stand-by program, restore the program of backup area to program area, after the completion of recovery, jump out guiding system, program is controlled into refrigerator; If without stand-by program, setting needs more new procedures, executes step S0002;
Wherein, the controlling method for refrigerator for controlling program includes the following steps:
S0101:Control system initializes:Control system to refrigerator and hardware port initialization, hold after the completion of initialization Row step S0102;S0102:Whether more new procedures are needed:Refrigerator program and outside are communicated, and are parsed by communications protocol external Order executes step S0112 if there is updating program command;If being not received by update program command, step is executed S0103;S0103:Refrigerator controls program, carries out intelligent control to refrigerator by control requirement, after the completion of operation, executes step S0102;S0112:Setting needs more new procedures:Setting refrigerator needs to update program instruction, executes step S0113;S0113:Draw Guiding systems exit refrigerator control system, into refrigerator guiding analyzing logic control.
Wherein, external server is host computer or internal network server or network server.
Wherein, refrigerator receives upgrade command and the outside of external server while refrigerator is in normal operation The refrigerator that server is sent controls program, and upgrading update is carried out to refrigerator control program;It is extensive from backup area when updating procedure failure The refrigerator of version controls program before multiple, ensures the function normal operation of refrigerator.
One of the present embodiment has particular application as:
The present invention controls program two parts to realize that online upgrading refrigerator controls program, mainly by bootstrap and refrigerator It is the upgrading that can carry out control program in refrigerator normal operation, updates new control program, including the program in bootstrap Code upgrade, control program in external upgrade command parsing;Bootstrap:Upper refrigerator enters bootstrap, and judgement is It is no to need to update into line program, it needs update then to download new refrigerator according to communications protocol and controls program file, to specified journey Programming refrigerator in sequence area controls program file;Program file is controlled in backup area backup refrigerator simultaneously, is directly redirected after the completion of backup Program area runs refrigerator and controls program;It is such as not required to update and program area has refrigerator to control program, jump directly to program area operation Refrigerator controls program;If program area does not have refrigerator to control program, backup area has refrigerator to control program, restores refrigerator from backup area Program is controlled to program area, then jumps to program area operation refrigerator control program;If program area and backup area are all without refrigerator Program is controlled, then waits for program to update.Control program:According to the order outside communications protocol parsing, if there is more new fridge control Program command processed jumps to bootstrap and is updated;If not updating program command, refrigerator functions control program is run When detecting simultaneously, parse external command, only bootstrap, operation bootstrap receives the external refrigerator sent and controls program sequence File, programming refrigerator control program and then control program in operation refrigerator.When thering is refrigerator to control program, electricity operation on refrigerator Bootstrap then branches to refrigerator control program;Refrigerator controls in program, if receiving the life for needing to carry out software upgrading It enables, then jumps to bootstrap and carry out refrigerator control program upgrading and backup control program.It can be from backup area when upgrading failure The refrigerator of version controls program and runs in recovery, does not influence the normal usage function of refrigerator.
While refrigerator functions normal operation, external upgrade command and the external control program sent are received, it is right The new refrigerator that current refrigerator program is wiped, programming receives controls program file and runs;It, can be with when updating procedure failure The program for restoring preceding version from backup area ensures the normal function operation of refrigerator;It can be efficiently used for selling for refrigerator later stage Service and the upgrading of refrigerator intelligent control afterwards;It can be applied to during the intelligence manufacture of refrigerator.
In the description of this specification, the description of reference term " one embodiment ", " example ", " specific example " etc. means Particular features, structures, materials, or characteristics described in conjunction with this embodiment or example are contained at least one implementation of the present invention In example or example.In the present specification, schematic expression of the above terms may not refer to the same embodiment or example. Moreover, particular features, structures, materials, or characteristics described can be in any one or more of the embodiments or examples to close Suitable mode combines.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to preferably explain the present invention Principle and practical application, to enable skilled artisan to be best understood by and utilize the present invention.The present invention is only It is limited by claims and its full scope and equivalent.

Claims (3)

1. a kind of method of household electric refrigerator online upgrading control program, which is characterized in that the guiding control including controlling program Method, the controlling method for refrigerator for controlling program;
The guidance control method of the control program includes the following steps:
S0001:Bootstrap initializes:To hardware port, system clock, Interruption, PORT COM initialization;
S0002:Judge whether to need to update control program:Update control program is such as needed, step S0003 is executed;It does not need such as More new procedures execute step S0011;
S0003:Etc. to be updated:Bootstrap and external server carry out communication and shake hands, and after shaking hands normally, execute step S0004;
S0004:Receive program file:The program's code file that external server is sent is received by communications protocol, has been properly received Step S0005 is executed after program file;
S0005:Programming verifies:Wipe refrigerator program area, refrigerator program's code file be written, then read the file data of write-in into Row verification, executes step S0006 after the completion;
S0006:Stand-by program file:Program backup area is wiped, is backed up, has been backed up in backup area programming refrigerator control program It updates and completes at rear program, execute step S0002, jump routine area runs refrigerator and controls program;
S0011:Judge whether there is control program:Whether program autotest section has control program, if there is program, then Bootstrap is jumped out, program is controlled into refrigerator;If not controlling program, step S0012 is executed;
S0012:Whether stand-by program is had:If there is stand-by program, restore the program of backup area to program area, after the completion of recovery, Guiding system is jumped out, program is controlled into refrigerator;If without stand-by program, setting needs more new procedures, executes step S0002;
The controlling method for refrigerator of the control program includes the following steps:
S0101:Control system initializes:Control system to refrigerator and hardware port initialization, step is executed after the completion of initialization Rapid S0102;
S0102:Whether more new procedures are needed:Refrigerator program and outside are communicated, and external command is parsed by communications protocol, if There is update program command, executes step S0112;If being not received by update program command, step S0103 is executed;
S0103:Refrigerator controls program, carries out intelligent control to refrigerator by control requirement, after the completion of operation, executes step S0102;
S0112:Setting needs more new procedures:Setting refrigerator needs to update program instruction, executes step S0113;
S0113:Guiding system, exits refrigerator control system, into refrigerator guiding analyzing logic control.
2. a kind of method of household electric refrigerator online upgrading control program according to claim 1, which is characterized in that described External server is host computer or internal network server or network server.
3. a kind of method of household electric refrigerator online upgrading control program according to claim 1, which is characterized in that described Refrigerator while refrigerator is in normal operation, receive external server upgrade command and external server send ice Case controls program, and upgrading update is carried out to refrigerator control program;When updating procedure failure, restore the refrigerator of preceding version from backup area Program is controlled, ensures the function normal operation of refrigerator.
CN201810579596.3A 2018-06-07 2018-06-07 A kind of method of household electric refrigerator online upgrading control program Pending CN108427569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810579596.3A CN108427569A (en) 2018-06-07 2018-06-07 A kind of method of household electric refrigerator online upgrading control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810579596.3A CN108427569A (en) 2018-06-07 2018-06-07 A kind of method of household electric refrigerator online upgrading control program

Publications (1)

Publication Number Publication Date
CN108427569A true CN108427569A (en) 2018-08-21

Family

ID=63164725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810579596.3A Pending CN108427569A (en) 2018-06-07 2018-06-07 A kind of method of household electric refrigerator online upgrading control program

Country Status (1)

Country Link
CN (1) CN108427569A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901117A (en) * 2019-03-13 2019-06-18 苏州理工雷科传感技术有限公司 A kind of radar method for restarting and device
CN109916012A (en) * 2019-02-18 2019-06-21 珠海格力电器股份有限公司 A kind of air-conditioner control method and system
CN113007966A (en) * 2021-03-19 2021-06-22 合肥美菱物联科技有限公司 Method for upgrading functions of refrigerator

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2869197A1 (en) * 2013-10-31 2015-05-06 Sap Se Automated procedure for kernel change
CN104765632A (en) * 2015-04-15 2015-07-08 南京汽车集团有限公司 BootLoader management method
CN105354059A (en) * 2015-10-29 2016-02-24 珠海格力电器股份有限公司 Upgrade method and apparatus for controller of air-conditioner system
CN105404533A (en) * 2015-11-09 2016-03-16 珠海格力电器股份有限公司 Program upgrading method and apparatus
CN105677398A (en) * 2015-12-31 2016-06-15 中海网络科技股份有限公司 Universal embedded computer software on-line upgrading method
CN105786510A (en) * 2016-02-29 2016-07-20 深圳市美贝壳科技有限公司 Upgrading and partitioning system and security upgrading method for single-chip microcomputer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2869197A1 (en) * 2013-10-31 2015-05-06 Sap Se Automated procedure for kernel change
CN104765632A (en) * 2015-04-15 2015-07-08 南京汽车集团有限公司 BootLoader management method
CN105354059A (en) * 2015-10-29 2016-02-24 珠海格力电器股份有限公司 Upgrade method and apparatus for controller of air-conditioner system
CN105404533A (en) * 2015-11-09 2016-03-16 珠海格力电器股份有限公司 Program upgrading method and apparatus
CN105677398A (en) * 2015-12-31 2016-06-15 中海网络科技股份有限公司 Universal embedded computer software on-line upgrading method
CN105786510A (en) * 2016-02-29 2016-07-20 深圳市美贝壳科技有限公司 Upgrading and partitioning system and security upgrading method for single-chip microcomputer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109916012A (en) * 2019-02-18 2019-06-21 珠海格力电器股份有限公司 A kind of air-conditioner control method and system
CN109901117A (en) * 2019-03-13 2019-06-18 苏州理工雷科传感技术有限公司 A kind of radar method for restarting and device
CN109901117B (en) * 2019-03-13 2022-05-27 苏州理工雷科传感技术有限公司 Radar restarting method and device
CN113007966A (en) * 2021-03-19 2021-06-22 合肥美菱物联科技有限公司 Method for upgrading functions of refrigerator
CN113007966B (en) * 2021-03-19 2022-05-06 合肥美菱物联科技有限公司 Method for upgrading functions of refrigerator

Similar Documents

Publication Publication Date Title
CN103841155B (en) A kind of method for downloading software and software download device
CN108427569A (en) A kind of method of household electric refrigerator online upgrading control program
CN104090796B (en) A kind of embedded device method for updating program and system
CN100518082C (en) Long-distance on-line updating method with self-recovery function
CN107291516A (en) A kind of firmware upgrade method and system
CN105677398A (en) Universal embedded computer software on-line upgrading method
CN103281373A (en) Home gateway intelligent upgrading device and upgrading method
CN108427570A (en) A kind of intelligent appliance primary control program upgrade-system and upgrade method
CN101950254B (en) Software updating method and system thereof
CN105208127A (en) Webpage caching processing method and system and intelligent terminal
CN105955742A (en) BIOS refreshing method, service system and BIOS refreshing system
CN101876910A (en) Double-controller disk memory array, firmware upgrading method and controller thereof
CN105279001A (en) Software remote upgrading method for network terminal devices
CN103106083B (en) A kind of loading method of firmware and device
CN101178670A (en) Apparatus upgrade method
CN105260209A (en) Hot-update solution of program
CN109189434A (en) A kind of online upgrading method of electric energy meter
CN111104147A (en) BMC upgrading method, device, terminal and storage medium
CN110362323B (en) Embedded terminal equipment program updating method based on distributed ad hoc network
CN115268976A (en) Automatic upgrading method and system for multi-data center collection Agent version
US11604635B2 (en) Online program updating method
CN110413310A (en) Programme upgrade method and terminal device
CN109992280A (en) A kind of method, terminal installation and the storage device of embedded software upgrading
CN109213701A (en) Control method, system, equipment and the storage medium of the peripheral hardware of shared I O board
CN109189462A (en) A kind of touch-control system with automatic upgrade function

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
CB02 Change of applicant information

Address after: 230000 No. 2163 Lianhua Road, Hefei economic and Technological Development Zone, Anhui

Applicant after: Changhong MeiLing Limited by Share Ltd

Address before: 230000 No. 2163 Lianhua Road, Hefei economic and Technological Development Zone, Anhui

Applicant before: Hefei Meiling Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180821

RJ01 Rejection of invention patent application after publication