Invention content
Based on above-mentioned present situation, the main purpose of the present invention is to provide a kind of upgrade method of electrical equipment mainboard program,Easily the mainboard of electrical equipment can be updated into line program, the cost that uses manpower and material resources sparingly and time cost.
To achieve the above object, the technical solution adopted by the present invention is as follows:
A kind of upgrade method of electrical equipment mainboard program, the electrical equipment have processing module, the processing moduleIt can be communicated with server, for the server for storing mainboard more new procedures, the upgrade method includes step:
S100, the server receive and store mainboard more new procedures;
S200, the server and the processing module are communicated, and mainboard more new procedures are issued to the processing mouldBlock;
S300, the processing module carry out updating operation using mainboard more new procedures to the mainboard of electrical equipment.
Preferably, in step S100, the server also carries out data check to the mainboard more new procedures received.
Preferably, step S100 includes sub-step:
The first school that S110, the server receive mainboard more new procedures and sent together with the mainboard more new proceduresTest a yard information;
S120, the server update the second information of check code of Program Generating according to the mainboard received;
S130, the server compare first information of check code and whether second information of check code is consistent, withRealize the data check to the mainboard more new procedures received.
Preferably, further include sub-step after sub-step S130:
S140, the server send out the prompt that mainboard more new procedures are carried out with information verification, and are receiving verification nothingS200 is entered step after confirmation message accidentally.
Preferably, further include step before step S100:
S010, the server receive upgrading mission bit stream, and determine upgrading renewal time;
In step S200, when reaching the upgrading renewal time, the server issues program to the processing moduleUpgrade command.
Preferably, in step S200, such as electrical equipment is not online, then the server is held every the first predetermined timeRow once issues program upgrade command, until program upgrade command is sent to the processing module or receives the finger for stopping upgradingUntil order;And/or
In step S010, the upgrading mission bit stream includes regional information, electrical equipment information, and/or needs newerMainboard program information.
Preferably, in step S300, the processing module first determines whether the working condition of the electrical equipment, if describedElectrical equipment is not in working condition, then carries out the updating operation of mainboard program;If the electrical equipment is in running order,Then wait for.
Preferably, in step S300, after mainboard program upgrades successfully, upgrade information is back to institute by the processing moduleServer is stated to be preserved.
Preferably, in step S300, if the upgrading failure of mainboard program, the processing module will upgrade failure information and sendThe server is returned, the server issues program rollback order to the processing module, and mainboard program rollback is risen to thisVersion before grade.
Preferably, the server judges whether the version of the mainboard program of the electrical equipment before upgrading is failureProgram, if so, the mainboard more new procedures using other version restart updating operation.
Preferably, the processing module is GPRS module;And/or
The server receives mainboard more new procedures by website operation interface;And/or
Mainboard more new procedures are transmitted by Transmission Control Protocol between the server and the processing module.
The upgrade method of the present invention can carry out remotely updating or repairing by server the mainboard program of electrical equipment, fromAnd the time-consuming and laborious behaviors such as dismounting, mailing mainboard are can avoid, cost was not only saved, but also reduce the waiting of electrical equipment userTime, to greatly improve the usage experience of user.
Particularly, upgrade method of the invention also carries out data check by server to the mainboard more new procedures of upload,So that it is guaranteed that the integrality of mainboard update program data.
Further, upgrade method of the invention can also execute program rollback operation when mainboard program upgrades failure, withBy the version before mainboard program rollback to upgrading.
Specific implementation mode
The problems of when upgrading for electrical equipment mainboard program in the prior art, the present invention provides a kind of electric appliancesThe upgrade method of equipment (preferably household appliance, such as air-conditioning etc.) mainboard program, so that the escalation process can be easily completeAt.
The mainboard that the upgrade method of the present invention is targeted is repeatable programming mainboard program, that is, corresponding electric appliance is setStandby mainboard (such as air-conditioning mainboard) allows multiple programming mainboard program, so as to execute the upgrade method of the present invention.Meanwhile beingRealize that the upgrade method of the present invention, the electrical equipment should have processing module 4, the processing module 4 to have communication function,So as to be communicated with server 2, wherein the server 2 is, for example, the Website server of equipment manufacturer, for storingMainboard more new procedures, to which mainboard more new procedures can be uploaded to service by corresponding designer by website operation interface 1Device 2, and then be stored in database 3, as shown in Figure 2.
Specifically, as shown in Figure 1, the upgrade method includes step:
S100, the server 2 receive and store mainboard more new procedures;
S200, the server 2 and the processing module 4 are communicated, and mainboard more new procedures are issued to the processingModule 4;
S300, the processing module 4 carry out updating operation using mainboard more new procedures to the mainboard of electrical equipment.
That is, the upgrade method of the present invention can carry out remotely updating or repairing by server the mainboard journey of electrical equipmentSequence not only saves cost, but also reduce electrical equipment user to can avoid the time-consuming and laborious behaviors such as dismounting, mailing mainboardStand-by period, to greatly improve the usage experience of user.
For example, when designer knows that the mainboard program of certain electrical equipment breaks down or certain a collection of electrical equipmentMainboard need promoted program version (such as in order to increase function and/or reparation bug) when, mainboard more new procedures can be passed through netOperation interface of standing 1 is uploaded to server 2 and just stores it in such as database when server 2 receives the mainboard more new proceduresIn 3, to be downloaded for corresponding electrical equipment.
For example, when designer gets the information of the electrical equipment (such as air-conditioner set household appliance) of failureWhen, if it is confirmed that be mainboard procedural problem, and when thinking to need to carry out function, the system upgrade of mainboard, then further determine thatThe mainboard information upgraded is needed, to establish relevant upgrading task on a server 2.
Further include step it is therefore preferred that before step S100:
S010, the server 2 receive upgrading mission bit stream, so as to start to create upgrading task, are needed with determiningThe mainboard of update/upgrading.
Preferably, in step S010, the upgrading mission bit stream includes regional information, electrical equipment information, and/or needsNewer mainboard program information etc..
For example, as shown in figure 3, corresponding to step S010, multiple areas or a certain regional conduct may be selected in designerThe targeted region of this upgrading task, upgrades consequently facilitating carrying out unified update to the relevant device in whole region;AgainFor example, corresponding to step S010, designer can also fill in the essential information of engineering by website operation interface 1, such as relevantElectrical equipment information, including equipment bar code information, model information, type information etc., and fill in and need newer mainboard programInformation, including the version of program, title etc..
Preferably, in step S100, the server 2 also carries out data check to the mainboard more new procedures received, withEnsure its data integrity, electrical equipment is avoided to download incomplete mainboard more new procedures and can not complete to upgrade.
Preferably, step S100 includes sub-step:
S110, the server 2 receive mainboard more new procedures and sent together with the mainboard more new procedures firstInformation of check code (such as MD5 information);
(such as MD5 believes according to mainboard update Program Generating the second information of check code received for S120, the server 2Breath);
S130, the server 2 compare first information of check code and whether second information of check code is consistent, withRealize the data check to the mainboard more new procedures received.
For example, as shown in figure 3, corresponding to sub-step S110, designer carries out mainboard according to the version of program and updates journeyWhen sequence uploads, the MD5 information of upload program is filled in so that server 2 also receives while receiving mainboard more new proceduresThe MD5 information;Corresponding to sub-step S120, after the completion of upload, server 2 obtains received mainboard more new proceduresMD5 information;Corresponding to sub-step S130, the MD5 information obtained twice is compared server 2, if comparison result differsIt causes, then it is wrong to show that program uploads, then can prompt to upload again, if comparison result is consistent, subsequent step can be entered.
Preferably, after sub-step S130, it may also include sub-step:
S140, the server 2 send out the prompt that mainboard more new procedures are carried out with information verification, such as prompt related personnel(such as designer) to mainboard more new procedures carry out information verification, and after receiving the confirmation message of confirmation (namelyRelated personnel's confirmation and after adding their confirmation) enter step S200.
For example, as shown in figure 3, after the MD5 information of the comparison of server 2 twice is consistent, related personnel can be prompted to examineProgram information, designer can check the upgrading mission bit stream filled in before this at this time, such as find that information is wrong, then can return to and repairChange, after confirmation, subsequent step of being allowed for access.
Preferably, in step S010, when server 2 receives upgrading mission bit stream, upgrading can be also determined together moreThe new time.For example, designer can specify upgrading renewal time, and it is stored on server 2 (such as in database 3), toIt can implement updating operation according to plan.
Then, in step s 200, when reaching the upgrading renewal time, the server 2 is to the processing module 4It issues program upgrade command, and is preferably sent to that (server 2 is established communication with processing module 4 and be can be shown that in program upgrade commandBe sent to) after start transmit mainboard more new procedures.
Preferably, in step S200, when the server 2 issues program upgrade command to the processing module 4, such as instituteIt is not online (such as being not powered on) to state electrical equipment, then obviously can not establish and communicate with processing module 4, thus program upgrade commandIt can not be sent to, in this case, the server 2 can (the specific time be adjustable, such as can be half every the first predetermined timeHour to a few hours, preferably one hour) execution once issues program upgrade command, until program upgrade command is sent to the placeIt manages module 4 (electrical equipment is online at this time, is communicated to which server 2 is established with the processing module 4) or receives stoppingUntil the instruction of upgrading.
For example, as shown in figure 4, when server 2 issues program upgrade command, it can be determined that whether processing module 4 receivesTo program upgrade command, if not receiving, server 2 is every to issue a upgrade command every other hour, and continues judgement processingWhether module 4 receives upgrade command, after confirmation has been received by, then can mainboard more new procedures be issued to processing module 4.At this point,Processing module 4 can carry out the download of mainboard more new procedures by data network.
Preferably, as shown in figure 4, transmitting mainboard more by Transmission Control Protocol between the server 2 and the processing module 4New procedures can be transmitted again after encountering transmission connection failure.Upon completion of the transmission, you can execute step S300, carry outUpdating operation, namely carry out the programming of mainboard program.
Preferably, in step S300, when preparing to start programming program, the processing module 4 first determines whether the electric applianceThe working condition of equipment, namely judge the working condition of mainboard, for example whether being in standby, if the electrical equipment is notIn running order (can be considered at standby mode) then carries out the updating operation of mainboard program, programming mainboard more new procedures;If the electrical equipment is in running order, wait for, until electrical equipment is stopped when (i.e. standby), then starts mainboardThe updating operation of program, as shown in Figure 4.
Preferably, in step S300, after mainboard program upgrades successfully, upgrade information is back to by the processing module 4The server 2 is preserved, and in order to which related personnel (such as designer) verifies, server 2 can also be grasped by websiteMake the completion of interface prompt designer's system upgrade.
Preferably, in step S300, if the upgrading of mainboard program fails, such as escalation process breaks down, then the placeReason module 4 sends back the server 2 by failure information is upgraded, and the server 2 then can issue program to the processing module 4Rollback order, by the version before mainboard program rollback to this upgrading, as shown in Figure 2.For example, designer is knowing the liter, can be by server 2 again to 4 transmitting order to lower levels of processing module after grade failure information, rollback relative program, such as by mainboard programVersion before rolling back to.In this way, it can cause electrical equipment can not be just to avoid because mainboard program upgrades failureOften the phenomenon that work, this is very favorable for the mainboard upgrading under non-faulting situation.
Preferably, the server 2 also judge the version of the mainboard program of the electrical equipment before upgrading whether beMalfunction routine, if so, the mainboard more new procedures using other version restart updating operation.For example, server 2 can be with coreUpgrading mission bit stream is looked into, to judge whether the mainboard program before upgrading is malfunction routine, if so, designer's weight can be promptedNewly upload new mainboard more new procedures, so as to re-start new version mainboard program programming, it is mutually powered-down to solve in timeThe mainboard procedural problem of device equipment.
Preferably, in upgrade method of the invention, the processing module 4 be, for example, GPRS module, can directly with serviceDevice 2 is communicated.
Those skilled in the art will readily recognize that under the premise of not conflicting, above-mentioned each preferred embodiment can be freeGround combination, superposition.
It should be appreciated that above-mentioned embodiment is merely exemplary, and not restrictive, without departing from the basic of the present inventionIn the case of principle, those skilled in the art can be directed to the various apparent or equivalent modification or replace that above-mentioned details be madeIt changes, is all included in scope of the presently claimed invention.