Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of method of firmware upgrade solved the problem at least in part and relevant apparatus and system.
Based on the problems referred to above, first aspect, at server side, the method for a kind of firmware upgrade that the embodiment of the present invention provides, comprises the steps:
Receive the firmware upgrade file uploaded;
Each home appliance connected is detected respectively, determines whether each home appliance meets default promotion condition;
Issue upgrade to the home appliance meeting default promotion condition, give described home appliance to complete firmware upgrade the firmware upgrade file transfer uploaded.
Second aspect, at household electrical appliances equipment side, the method for a kind of firmware upgrade that the embodiment of the present invention provides, comprising:
The upgrade that reception server issues and firmware upgrade file;
The firmware file of described firmware upgrade file to this locality is used to upgrade.
The third aspect, the server that the embodiment of the present invention provides, comprising:
Receiver module, for receiving the firmware upgrade file uploaded;
Detection module, for detecting respectively each home appliance connected, determines whether each home appliance meets default promotion condition;
Sending module, for issuing upgrade to the home appliance meeting default promotion condition;
Transport module, for giving described home appliance to complete firmware upgrade the firmware upgrade of uploading file transfer.
Fourth aspect, the home appliance that the embodiment of the present invention provides, comprising:
Transport module, the upgrade issued for reception server and firmware upgrade file;
Bootstrap module, upgrades for using the firmware file of described firmware upgrade file to this locality.
5th aspect, the system of a kind of firmware upgrade that the embodiment of the present invention provides, comprising: server and at least one home appliance; Wherein:
Server, for receiving firmware upgrade file corresponding to each home appliance of uploading, at least one home appliance described in connecting is detected, determine whether home appliance meets default promotion condition, upgrade is issued to the home appliance meeting default promotion condition, gives described home appliance by the firmware upgrade file transfer uploaded;
At least one home appliance described, for receiving firmware upgrade file, uses the firmware file of described firmware upgrade file to this locality to upgrade.
The beneficial effect of the embodiment of the present invention comprises:
The upgrade method of the firmware that the embodiment of the present invention provides and relevant apparatus and system, server is after receiving the firmware upgrade file uploaded, by detecting home appliance, after determining the home appliance meeting promotion condition, the home appliance meeting promotion condition to this or these issues upgrade, the firmware upgrade file transfer uploaded is completed the auto-update of firmware to home appliance, the embodiment of the present invention is by server and the mutual mode of home appliance, achieve variety classes, the remote automatic upgrading of different firmware version, efficient and convenient, adapt to current intelligent appliance equipment for the multi-purpose firmware upgrade requirement of renewal, overcome the defect that prior art exists.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Below respectively by reference to the accompanying drawings, the method for the firmware upgrade that the embodiment of the present invention provides and relevant apparatus and system are described.
Before the method for the firmware upgrade provided the embodiment of the present invention is described, first the system architecture that the method for the firmware upgrade that the embodiment of the present invention provides relies on is described, as shown in Figure 1, at least comprise in this system architecture: server, network access equipment and home appliance.Wherein, network access equipment is the administrative center of home network, and home appliance passes through network access equipment access network, to reach the object with network-in-dialing.Between server side and home appliance, by network access equipment, complete auto-update and the manually upgrading of firmware.
Specifically, the method for the firmware upgrade that the embodiment of the present invention provides, as shown in Figure 2, at server side, comprises the steps:
The firmware upgrade file that S21, reception are uploaded;
S22, each home appliance connected to be detected respectively, determine whether each home appliance meets default promotion condition;
S23, issue upgrade to the home appliance meeting default promotion condition, by the firmware upgrade file transfer uploaded to home appliance to complete firmware upgrade.
Respectively above steps is explained and illustrated below.
In above-mentioned S1, the interface that user can be provided by server, provides the file of the firmware upgrade needed for home appliance firmware upgrade to server, such as, by web page that server provides, after selection household electrical appliances type, firmware program name, upload corresponding firmware upgrade file.When uploading, the firmware upgrade file that multiple dissimilar household electrical appliances are corresponding can be uploaded.
Server side, after each firmware upgrade files passe completes, understands the operation of the automatically upgrading firmware of triggering following, i.e. S22 and S23.
Further, in above-mentioned S22, each home appliance connected is detected, determines whether each home appliance meets default promotion condition, specifically can pass through following process implementation:
For each home appliance connected, detecting its firmware upgrade pattern is auto-update pattern or manual upgrade mode, judge special number of home appliance whether legal, and whether the firmware software and hardware version detecting this home appliance scalable;
When the firmware of home appliance be auto-update pattern, special number legal and firmware software and hardware version is scalable time, determine that this home appliance meets default promotion condition.
Server is for the detection of each condition of home appliance, the relevant information uploaded based on home appliance is needed, specifically, when household electrical appliances device power and after interconnection network, need by special for the firmware of self number, firmware software and hardware version number sends to server side to preserve by network access equipment such as router.Like this, server can complete detection according to the relevant information of each home appliance preserved.
In above-mentioned S23, before firmware upgrade file transfer starts, server can consult host-host protocol between elder generation and home appliance, and uses the host-host protocol that consults, by the firmware upgrade file transfer uploaded to home appliance.
Preferably, when transmitting, the mode of breakpoint transmission can be adopted, giving corresponding home appliance by each firmware upgrade file transfer of uploading.Adopt the mode of breakpoint transmission, if encounter network failure, can continue to transmit the part do not completed from the part be transmitted, and there is no need to start anew to download.Like this, save the transmission time, improve transmission speed.
Except the mode of above-mentioned auto-update, remote firmware of carrying out that can be independent to some special home appliances is manually upgraded, and the mode of manually upgrading is especially convenient to initial stage exploitation and the debugging of home appliance.In the method for the firmware upgrade that the embodiment of the present invention provides, the flow process of manually upgrading as shown in Figure 3, comprises the steps:
The instruction that the firmware that S31, reception user send manually is upgraded;
The mark of the home appliance that the needs of specifying in S32, the instruction of manually upgrading according to firmware are manually upgraded, this home appliance need the mark of the firmware of manually upgrading, home appliance to correspondence sends the instruction of upgrading, and firmware upgrade file transfer user uploaded gives corresponding home appliance.
In manual upgrade procedure, the WEB page that user can utilize server to provide, select the device type needing manually upgrading, then WEB page can show the list of home appliance under this device type, user can select to need the equipment (can multiselect) of manually upgrading in lists, select the firmware program of the equipment needing manually upgrading simultaneously, server is after receiving these information, similarly, the mode of breakpoint transmission can be adopted, the firmware upgrade file that user is uploaded, pass through network access equipment, the equipment being transferred to the manual upgrading that user selects gets on, the manual upgrading of finishing equipment.
The method of the firmware upgrade that the embodiment of the present invention provides, for home appliance side, as shown in Figure 4, comprises the steps:
The upgrade that S41, reception server issue and firmware upgrade file;
S42, the firmware file of use firmware upgrade file to this locality are upgraded.
Further, before above-mentioned S41, also comprise: with server negotiate host-host protocol, use the host-host protocol consulted, the firmware upgrade file of reception server transmission.
Preferably, in the method for the firmware upgrade provided in the embodiment of the present invention, when the home appliance needing upgrading is multiple, in order to improve transfer efficiency, multithreading can be utilized to carry out the transmission of firmware upgrade file.
Further, after household electrical appliances equipment end completes firmware upgrade, mark firmware upgrade completed returns to server end, and such server is shown by page user oriented.
If Fig. 5 is in the method for the firmware upgrade that the embodiment of the present invention provides, an example of related procedure when user uploads firmware upgrade file.In this flow process, user can use independently WEB page to upload up-to-date firmware upgrade file, this step comprises selects home appliance type, inputs the title of the firmware file uploaded, input firmware hardware version number, input firmware software version number, and select the type of upgrading, alternatively, the firmware upgrade file uploaded can also be described, and the software version of compatibility is described.
As shown in Figure 6 be in the method for the firmware upgrade that the embodiment of the present invention provides, to an example of home appliance automatically upgrading firmware.In this flow process, server is after receiving the firmware redaction uploaded, monitor all online home appliances, then judge whether each home appliance is auto-update pattern, if, whether legally then continue special number of judgment device, if, then continue whether the firmware hardware version of judgment device is scalable and whether software version is scalable, if can upgrade, so, host-host protocol is consulted with home appliance, then the mode of breakpoint transmission is used to carry out the transmission of data, after being transmitted, namely after receiving the mark be transmitted, printing record, process ends.Period, if judge that special number of home appliance is illegal, then printing can be recorded to daily record, terminate this process, if the firmware software and hardware version of judgment device can not be upgraded, then print relevant operation note to daily record, terminate this flow process.
Shown in Fig. 7 is the flow process of manually upgrading, and this flow process is similar with Fig. 6, unlike, the selection of the firmware program that user needs the selection of advanced row home appliance and needs to upgrade, then server is to the transmission these home appliances being carried out to associated documents.
Based on same inventive concept, the embodiment of the present invention additionally provides the system of a kind of server, home appliance and firmware upgrade, because these servers, home appliance are similar to the method for aforementioned firmware upgrade with the principle that the system of firmware upgrade is dealt with problems, therefore the enforcement of the system of this server, home appliance and firmware upgrade see the enforcement of preceding method, can repeat part and repeats no more.
A kind of server that the embodiment of the present invention provides, as shown in Figure 8, comprising:
Receiver module 801, for receiving the firmware upgrade file uploaded;
Detection module 802, for detecting respectively each home appliance connected, determines whether each home appliance meets default promotion condition;
Sending module 803, for issuing upgrade to the home appliance meeting default promotion condition;
Transport module 804, for by the firmware upgrade of uploading file transfer to home appliance to complete firmware upgrade.
Further, above-mentioned detection module 802, specifically for for each home appliance connected, detecting its firmware upgrade pattern is auto-update pattern or manual upgrade mode, judge special number of home appliance whether legal, and whether the firmware software and hardware version detecting described home appliance scalable; When the firmware of home appliance be auto-update pattern, special number legal and firmware software and hardware version is scalable time, determine that home appliance meets default promotion condition.
Further, above-mentioned receiver module 801, also receives home appliance special number of uploading and firmware software and hardware version number for home appliance place from power on and preserves.
Further, receiver module 801, the instruction that the firmware also sent for receiving user is manually upgraded;
Correspondingly, sending module 803, the mark of the home appliance of also manually upgrading for the needs of specifying in the instruction of manually upgrading according to firmware, this home appliance need the mark of the firmware of manually upgrading, and the home appliance to correspondence sends the instruction of upgrading;
Correspondingly, transport module 804, also gives corresponding home appliance for the firmware upgrade file transfer institute user uploaded.
Further, above-mentioned transport module 804, specifically for consulting host-host protocol with home appliance; Use the host-host protocol that consults, by the firmware upgrade file transfer uploaded to home appliance.
Further, above-mentioned transport module 804, specifically for using the mode of breakpoint transmission, by the firmware upgrade file transfer uploaded to corresponding home appliance.
A kind of home appliance that the embodiment of the present invention provides, as shown in Figure 9, comprising:
Transport module 901, the upgrade issued for reception server and firmware upgrade file;
Bootstrap module 902, upgrades for using the firmware file of described firmware upgrade file to this locality.
Further, transport module 901, for server negotiate host-host protocol; Use the host-host protocol consulted, the firmware upgrade file of reception server transmission.
The home appliance that the embodiment of the present invention provides, in the specific implementation, framework as shown in Figure 10 can be used, wherein, intelligent appliance boot (corresponding bootstrap module), intelligent appliance maim body, communication network module (corresponding transport module) can integrate, also can independently with partly integrated.Communication network module is responsible for being communicated with of smart machine and external network, and carries out transfer transparent transmission to intelligent appliance firmware upgrade protocol transmission.Intelligent appliance boot is responsible for the various communication connections (comprising the negotiation etc. of host-host protocol) of home appliance and communication network module, and communicates according to the firmware upgrade agreement of regulation.
The system of a kind of firmware upgrade that the embodiment of the present invention provides, as shown in figure 11, comprising: server 1101 and at least one home appliance 1102; Wherein:
Server 1101, for receiving firmware upgrade file corresponding to each home appliance of uploading, at least one home appliance described in connecting is detected, determine whether home appliance meets default promotion condition, upgrade is issued to the home appliance meeting default promotion condition, gives described home appliance by the firmware upgrade file transfer uploaded;
At least one home appliance 1102 described, for receiving firmware upgrade file, uses the firmware file of described firmware upgrade file to this locality to upgrade.
Further, the system of above-mentioned firmware upgrade, as shown in figure 11, also comprises: network access equipment 1103; Network access equipment 1103 is connected with at least one home appliance 1102 respectively at server 1101;
Server 1101, specifically for by network access equipment 1103, by upgrade and firmware upgrade file transfer to the home appliance meeting default promotion condition.
Intrinsic not relevant to any specific PC, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in server according to the embodiment of the present invention, client.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, PC program and PC program product).Realizing program of the present invention and can be stored on PC computer-readable recording medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the PC of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.