CN103761117A - Induction cooker upgrading method - Google Patents

Induction cooker upgrading method Download PDF

Info

Publication number
CN103761117A
CN103761117A CN201310724285.9A CN201310724285A CN103761117A CN 103761117 A CN103761117 A CN 103761117A CN 201310724285 A CN201310724285 A CN 201310724285A CN 103761117 A CN103761117 A CN 103761117A
Authority
CN
China
Prior art keywords
district
program
eeprom
area
version
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
CN201310724285.9A
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.)
GUANGDONG DINGCAN TECHNOLOGY Co Ltd
Original Assignee
GUANGDONG DINGCAN TECHNOLOGY 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 GUANGDONG DINGCAN TECHNOLOGY Co Ltd filed Critical GUANGDONG DINGCAN TECHNOLOGY Co Ltd
Priority to CN201310724285.9A priority Critical patent/CN103761117A/en
Publication of CN103761117A publication Critical patent/CN103761117A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an induction cooker upgrading method. Flash is divided into a version program A area, a program parameter B area and a monitor program C area, the version program A area is used for storing current control programs, the program parameter B area is used for storing current operating parameters, the monitor program C area is used for storing monitor programs, an electrically erasable programmable read-only memory (EEPROM) is divided into a version program a area, a program parameter b area and an information interaction c area, the version program a area is used for storing current control programs, the program parameter b area is used for storing current operating parameters, and the information interaction c area is used for version programs and the monitor programs. According to the induction cooker upgrading method, an application program is divided into the version program A area and the program parameter B area so that the control programs can be independently and correspondingly upgraded, the data volume is small, costs are low, the same product can correspond to one software version, and version maintenance is facilitated. When upgrading fails, data recovery of the Flash can be achieved by autocall of the EEPROM, and the function of fallback processing when upgrading fails can be achieved.

Description

A kind of electromagnetic oven upgrade method
Technical field
The present invention relates to commercial induction cooker technology, relate in particular to a kind of electromagnetic oven upgrade method.
Background technology
Commercial induction cooker is the newly-invented a kind of New stove in market, commercial kitchen.What it adopted is flames of anger cooking method, convert electrical energy into heat energy, be used for heating and cooking food, thereby reach the object of cooking, possessing energy-saving and environmental protection, safe, comfortable, safety, the flames of anger, be beneficial to the advantages such as cook's health, the heat time is short, cooking is fast, is more " god of culinary art " and " green stove and accessory " by people's reputation.
At present, the price of commercial induction cooker is high, and existing product does not but provide remote upgrade function, and when causing problem because of software vulnerability, after sale service personnel all will make house calls or by product recall, maintenance cost is high; The very big inconvenience that causes client to use due to software vulnerability, cause poor user experience, in prior art, other industry, when single-chip microcomputer is upgraded, is normally upgraded whole program, data volume is large, expense is high, if want to provide individual service, must change software, cause with a plurality of software versions of a product, be unfavorable for release maintenance.
Summary of the invention
Technical matters to be solved by this invention is: a kind of electromagnetic oven upgrade method is provided, not only can provide version program remote upgrade function to electromagnetic oven, and can upgrade separately to the program parameter of control program, so just can to the zones of different in flash, upgrade flexibly, thereby make upgrade data amount little, expense is low, realize with the corresponding software version of a product, provide personalized service and only need the program parameter of change control program, be beneficial to release maintenance.
For solving the problems of the technologies described above, the present invention proposes a kind of electromagnetic oven upgrade method, microprocessor in electromagnetic oven contains Flash, UART, EEPROM, Flash is divided into the watchdog routine C district of the version program A district for storing current control program, the program parameter B district that stores current operational factor and storage watchdog routine, EEPROM is divided into version program a district for storing current control program, stores the program parameter b district of current operational factor and the information interaction c district of version program and watchdog routine, and the method comprises the following steps:
Step 1: power on, make microprocessor in running order;
Step 2: the watchdog routine of carrying out watchdog routine C district;
Step 3: whether be " updatesA " on the fixed address in the information interaction c district in microprocessor judges EEPROM, if so, carry out " step 8 ", if not, carry out " step 4 ";
Step 4: jump to version program A district and carry out version program, read the content of the fixed address in the information interaction c district in EEPROM, and report cloud service center, reset to the content of fixed address in the information interaction c district of EEPROM simultaneously;
Step 5: carry out the major cycle of version program in version program A district;
Whether step 6: microprocessor judges UART receives upgrade A, if received, carries out " step 7 ", if confiscated, returns " step 5 ";
Step 7: the fixed address in the information interaction c district in EEPROM is write " updatesA ", and jump to watchdog routine C district first address;
Step 8: enter upgrade mode, microprocessor receives data by UART upgrades to the A district of flash page by page, upgrades successfully and enters step 9; Upgrade unsuccessful, enter step 11;
Step 9: the version program A district content that reads upgrading just now writes a district of corresponding EEPROM, as backup, uses during for program rollback;
Step 10: the fixed address in the information interaction c district in EEPROM is write " successA ", returns to " step 4 ";
Step 11: the version program a district reading out data from EEPROM restores version program A district content;
Step 12: the fixed address in the information interaction c district in EEPROM is write " failureA ", returns to execution " step 4 ".
Further, further comprising the steps of in described step 8:
Step 8-1: whether obtain page address in the schedule time, be, enter next step; No, enter step 11;
Step 8-2: judging by page address whether upgrading finishes, is to enter step 9; No, enter next step;
Step 8-3: whether obtain the data that one page is complete in Preset Time, be, enter next step; No, enter step 11;
Step 8-4: judgement page address, this page is carried out to data write operation, and it is carried out to verification, return to step 8-1.
3. electromagnetic oven upgrade method as claimed in claim 1, is characterized in that, described EEPROM is connected with microprocessor is plug-in.
Further, described EEPROM is the built-in or plug-in connection of microprocessor.
Technique scheme at least has following beneficial effect: relative prior art, the present invention is by being divided into application program in version program A district and program parameter B district, can carry out independent respective upgrades to control program, data volume is little, expense is low, realization, with the corresponding software version of a product, is beneficial to release maintenance.When upgrading when failed, can to Flash, carry out data recovery by Automatically invoked EEPROM, possess the rollback processing capacity that upgrading is failed.
Accompanying drawing explanation
Fig. 1 is the Flash distribution plan in electromagnetic oven upgrade method of the present invention.
Fig. 2 is the EEPROM distribution plan in electromagnetic oven upgrade method of the present invention.
Fig. 3 is the process flow diagram of electromagnetic oven upgrade method of the present invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Below in conjunction with accompanying drawing, the present invention is described further.
Embodiment mono-
In electromagnetic oven, be provided with control device, singlechip microprocessor in control device contains Flash, UART, EEPROM, wherein, EEPROM is that microprocessor carries or external EEPROM when inadequate in space, as shown in Figure 1, program is when dispatching from the factory, Flash is divided into 3 districts, and to 3 corresponding data of district's programming, be respectively for storing the version program A district of current control program, the program parameter B district of storage fortune current line parameter is (as gear value, high-low pressure protection point etc.) and the watchdog routine C district of storage watchdog routine, watchdog routine by C district can be upgraded to the content in A district or B district, when owing to upgrading unsuccessfully due to network or other reasons, as long as powering on, microprocessor will automatically to master program, carry out rollback Recovery processing, A calls in district the data in B district electromagnetic oven is controlled, C district be used for specially the upgrading content in A district and B district, and the same time of program in A district and C district only have an operation.
As shown in Figure 2, program is when dispatching from the factory, plug-in EEPROM is divided into version program a district for storing current control program, stores the program parameter b district of current operational factor and the information interaction c district of version program and watchdog routine, the b district failed rollback that is used for upgrading, when C district upgrades when failed to A district or B district, the a district of C district meeting Automatically invoked EEPROM carries out data recovery to A district (2nd district are to B district), and the rollback of upgrading failed is processed.The c district of plug-in EEPROM is the information interaction district of version program and watchdog routine, and content that can be by c district fast judgement power on " loadings " or " upgrading ", and the information after the while is also scalable feeds back to high in the clouds.
As shown in Figure 3, the electromagnetic oven upgrade method of the embodiment of the present invention comprises and comprising the following steps:
Step 1: power on, make microprocessor in running order;
Step 2: the watchdog routine of carrying out watchdog routine C district;
Step 3: whether be " updatesA " on the fixed address in the information interaction c district in microprocessor judges EEPROM, if so, carry out " step 8 ", if not, carry out " step 4 ";
Step 4: jump to version program A district and carry out version program, read the content of the fixed address in the information interaction c district in EEPROM, and report cloud service center, reset to the content of fixed address in the information interaction c district of EEPROM simultaneously; The object of step 4 is in order to judge that whether upgrading last time is successful.
Step 5: carry out the major cycle of version program in version program A district;
Whether step 6: microprocessor judges UART receives upgrade A, if received, carries out " step 7 ", if confiscated, returns " step 5 ";
Step 7: the fixed address in the information interaction c district in EEPROM is write " updatesA ", and jump to watchdog routine C district first address;
Step 8: enter upgrade mode, microprocessor receives data by UART upgrades to the A district of flash page by page, upgrades successfully and enters step 9; Upgrade unsuccessful, enter step 11;
Step 9: the version program A district content that reads upgrading just now writes a district of corresponding EEPROM, as backup, uses during for program rollback;
Step 10: the fixed address in the information interaction c district in EEPROM is write " successA ", returns to " step 4 ";
Step 11: the version program a district reading out data from EEPROM restores version program A district content;
Step 12: the fixed address in the information interaction c district in EEPROM is write " failureA ", returns to execution " step 4 ".
In execution step, within 2 o'clock, being equivalent to power on starts from C district, for the consideration of security, requires first to enter monitored space after single-chip microcomputer startup, as started from application area, after upgrading unsuccessfully, just can not get back to monitored space, thereby makes whole program paralysis.During same should upgrading to B district, in execution step 3, also comprise whether on the fixed address in the c district judging in EEPROM be " updatesB ", (" updatesA " Ji Dui A upgrades in district, " updatesB " Ji Dui B upgrades in district), in corresponding step 6, whether UART receives upgrade B, and correspondence fixed address in the c district in EEPROM in step 7 is write " updatesB ", the fixed address in 3rd district in step 7 in EEPROM is write " updatesB ", the B district content that reads flash in corresponding step 9 writes the b district of EEPROM, the fixed address in the c district in corresponding step 10 in EEPROM is write " successB ", the b district that reads EEPROM in corresponding step 11 restores the B district content of flash, in 12, in EEPROM, write " failureB ".
Embodiment bis-
The difference of the present embodiment and embodiment mono-is, further comprising the steps of in described step 8:
Step 8-1: whether obtaining page address in the schedule time (such as 5 seconds), is to enter next step; No, enter step 11;
Step 8-2: judging by page address whether upgrading finishes, is to enter step 9; No, enter next step;
Step 8-3: whether Preset Time obtains the data that one page is complete in (such as 10 seconds), is to enter next step; No, enter step 11;
Step 8-4: judgement page address, this page is carried out to data write operation, and it is carried out to verification, return to step 8-1.
The above is the specific embodiment of the present invention, it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, can also make some modifications, and these are revised and are also considered as protection scope of the present invention.

Claims (3)

1. an electromagnetic oven upgrade method, microprocessor in electromagnetic oven contains Flash, UART, EEPROM, it is characterized in that, Flash is divided into the watchdog routine C district of the version program A district for storing current control program, the program parameter B district that stores current operational factor and storage watchdog routine, EEPROM is divided into version program a district for storing current control program, stores the program parameter b district of current operational factor and the information interaction c district of version program and watchdog routine, and the method comprises the following steps:
Step 1: power on, make microprocessor in running order;
Step 2: the watchdog routine of carrying out watchdog routine C district;
Step 3: whether be " updatesA " on the fixed address in the information interaction c district in microprocessor judges EEPROM, if so, carry out " step 8 ", if not, carry out " step 4 ";
Step 4: jump to version program A district and carry out version program, read the content of the fixed address in the information interaction c district in EEPROM, and report cloud service center, reset to the content of fixed address in the information interaction c district of EEPROM simultaneously;
Step 5: carry out the major cycle of version program in version program A district;
Whether step 6: microprocessor judges UART receives upgrade A, if received, carries out " step 7 ", if confiscated, returns " step 5 ";
Step 7: the fixed address in the information interaction c district in EEPROM is write " updatesA ", and jump to watchdog routine C district first address;
Step 8: enter upgrade mode, microprocessor receives data by UART upgrades to the A district of flash page by page, upgrades successfully and enters step 9; Upgrade unsuccessful, enter step 11;
Step 9: the version program A district content that reads upgrading just now writes a district of corresponding EEPROM, as backup, uses during for program rollback;
Step 10: the fixed address in the information interaction c district in EEPROM is write " successA ", returns to " step 4 ";
Step 11: the version program a district reading out data from EEPROM restores version program A district content;
Step 12: the fixed address in the information interaction c district in EEPROM is write " failureA ", returns to execution " step 4 ".
2. electromagnetic oven upgrade method as claimed in claim 1, is characterized in that, further comprising the steps of in described step 8:
Step 8-1: whether obtain page address in the schedule time, be, enter next step; No, enter step 11;
Step 8-2: judging by page address whether upgrading finishes, is to enter step 9; No, enter next step;
Step 8-3: whether obtain the data that one page is complete in Preset Time, be, enter next step; No, enter step 11;
Step 8-4: judgement page address, this page is carried out to data write operation, and it is carried out to verification, return to step 8-1.
3. electromagnetic oven upgrade method as claimed in claim 1, is characterized in that, described EEPROM is the built-in or plug-in connection of microprocessor.
CN201310724285.9A 2013-12-24 2013-12-24 Induction cooker upgrading method Pending CN103761117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310724285.9A CN103761117A (en) 2013-12-24 2013-12-24 Induction cooker upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310724285.9A CN103761117A (en) 2013-12-24 2013-12-24 Induction cooker upgrading method

Publications (1)

Publication Number Publication Date
CN103761117A true CN103761117A (en) 2014-04-30

Family

ID=50528361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310724285.9A Pending CN103761117A (en) 2013-12-24 2013-12-24 Induction cooker upgrading method

Country Status (1)

Country Link
CN (1) CN103761117A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406962A (en) * 2016-09-29 2017-02-15 四川东方电气自动控制工程有限公司 Wind power generation controller failed remote upgrade recovery method based on ARM
CN109086057A (en) * 2018-09-14 2018-12-25 北京遥感设备研究所 It is a kind of that programming method being separated with program based on the data of DSP

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346035A (en) * 2000-09-22 2002-04-24 海尔集团公司 Network microwave oven
CN101639785A (en) * 2009-09-02 2010-02-03 中兴通讯股份有限公司 Method and device for software updating
CN101770384A (en) * 2010-01-18 2010-07-07 深圳市航盛电子股份有限公司 Car audio system and software upgrading method thereof
CN101950253A (en) * 2010-08-12 2011-01-19 深圳市共进电子有限公司 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface
CN103108243A (en) * 2012-12-28 2013-05-15 四川长虹电器股份有限公司 Method and system for independence and upgrade of parameters of television display screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346035A (en) * 2000-09-22 2002-04-24 海尔集团公司 Network microwave oven
CN101639785A (en) * 2009-09-02 2010-02-03 中兴通讯股份有限公司 Method and device for software updating
CN101770384A (en) * 2010-01-18 2010-07-07 深圳市航盛电子股份有限公司 Car audio system and software upgrading method thereof
CN101950253A (en) * 2010-08-12 2011-01-19 深圳市共进电子有限公司 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface
CN103108243A (en) * 2012-12-28 2013-05-15 四川长虹电器股份有限公司 Method and system for independence and upgrade of parameters of television display screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406962A (en) * 2016-09-29 2017-02-15 四川东方电气自动控制工程有限公司 Wind power generation controller failed remote upgrade recovery method based on ARM
CN109086057A (en) * 2018-09-14 2018-12-25 北京遥感设备研究所 It is a kind of that programming method being separated with program based on the data of DSP

Similar Documents

Publication Publication Date Title
KR101970029B1 (en) Automated demand response system
CN102748789B (en) A kind of intelligent range hood and method of work thereof
CN103744824B (en) One is dispatched from the factory method of testing and test system
CN103605296B (en) Cooking apparatus intelligent interactive system and exchange method
CN202008590U (en) Intelligent household electrical appliance control system
CN102736941A (en) Method for automatically starting central processing unit (CPU) system by utilizing double flashes
JP6602102B2 (en) Program update control device, information home appliance, program update system, program update method and program
CN105117293A (en) Windows system environment automatic deployment method and automatic deployment system
CN107703780B (en) Control method, device and system of cooking utensil
CN103230212A (en) Electrical cooking equipment system, electrical cooking equipment and external expansion device used in electrical cooking equipment
CN106843940B (en) Quick upgrading method for embedded system
CN102129222A (en) Method for adjusting control parameters of fan on line for server
CN103761117A (en) Induction cooker upgrading method
CN103684939A (en) Right control method for network appliance system
CN114374602A (en) Master control equipment configuration method and device, cloud server and storage medium
CN106020020A (en) Intelligent control method for cooking equipment
CN108107740B (en) Household appliance control method and device
CN105207815A (en) System environment deployment method and deployment system based on server
CN104111845A (en) Processing device and system program changing method
CN110850737A (en) Socket and timing method, system and computer readable storage medium
CN105138379A (en) Method for on-line upgrading based on Ymodem protocol
CN202101296U (en) Microwave oven with digital menu port
CN102880480A (en) Method for updating application program of intelligent water meter on line
CN112751721B (en) Cooking control method, device, server, computer storage medium and cooking control system
CN205139800U (en) Safe credible ATX mainboard

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140430

RJ01 Rejection of invention patent application after publication