CN106131682A - Set Top Box built-in WiFi firmware upgrade method, device and Set Top Box - Google Patents

Set Top Box built-in WiFi firmware upgrade method, device and Set Top Box Download PDF

Info

Publication number
CN106131682A
CN106131682A CN201610555170.5A CN201610555170A CN106131682A CN 106131682 A CN106131682 A CN 106131682A CN 201610555170 A CN201610555170 A CN 201610555170A CN 106131682 A CN106131682 A CN 106131682A
Authority
CN
China
Prior art keywords
built
upgrade
wifi
upgrading
top box
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610555170.5A
Other languages
Chinese (zh)
Other versions
CN106131682B (en
Inventor
范翠翠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201610555170.5A priority Critical patent/CN106131682B/en
Publication of CN106131682A publication Critical patent/CN106131682A/en
Application granted granted Critical
Publication of CN106131682B publication Critical patent/CN106131682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Abstract

The present invention is upgrade method, device and the Set Top Box about a kind of Set Top Box built-in WiFi firmware, wherein, described method includes when downloading to the upgrade file of built-in WiFi firmware, obtain the result of described built-in WiFi firmware upgrading last time, result according to described built-in WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or serial ports upgrading mode, upgrades described built-in WiFi firmware according to described upgrade file and described network upgrade mode or serial ports upgrading mode.The embodiment of the present invention provide method it can be avoided that built-in WiFi firmware due to accident power-off, ROMPaq is destroyed or built-in WiFi firmware is in the reasons such as error condition, cause the situation that built-in WiFi firmware cannot be upgraded, the possibility that cannot upgrade can be prevented in advance, it is thus possible to effectively repair built-in WiFi firmware leak, the overall performance of Set Top Box is greatly improved.

Description

Set Top Box built-in WiFi firmware upgrade method, device and Set Top Box
Technical field
The present invention relates to digital television techniques field, particularly relate to a kind of Set Top Box built-in WiFi firmware upgrade method, dress Put and Set Top Box.
Background technology
Along with the development of ICT, digital television techniques reaches its maturity, and along with popularizing of DTV, is used for passing The Set Top Box broadcasting and changing digital program has become the household appliances that family is indispensable.Set Top Box is whole with CHINA RFTCOM Co Ltd by broadband network After being combined, network can be connected by Set Top Box built-in WiFi firmware, it is achieved network browsing, video request program and from service The services such as more multimedia resource downloaded by device, provide the effect of actively promotion for Consumer's Experience.
During Set Top Box uses, client may propose new requirement to the function of product so that the function of Set Top Box Need constantly to develop and perfect, wherein, for WiFi firmware built-in to Set Top Box, except constantly to improve the function of module Outward, in addition it is also necessary to strengthen the stability of module and repair the leak of module, it is therefore desirable to built-in WiFi firmware is upgraded more Newly, the demand of client could be met, provide the user the application of more horn of plenty.Existing Set Top Box built-in WiFi upgrade method master If built-in WiFi firmware needs in DVB the file of upgrading be converted into upgrading stream, broadcasted by data video Upgrading stream is periodically sent in Set Top Box cable, after the Set Top Box of user detects the upgrading stream needing to upgrade, Set up communication connection between Set Top Box and built-in WiFi firmware, it is achieved data interaction, thus receive the upgrading literary composition that upgrading stream is corresponding Part completes the network upgrade of built-in WiFi firmware.
But, if there is fortuitous event when needs carry out network upgrade in Set Top Box, as meaning occurs in built-in WiFi firmware Outer power-off, built-in WiFi firmware are in the ROMPaq of error condition or built-in WiFi firmware and the reason such as are deteriorated so that Set Top Box cannot be carried out network service, built-in WiFi firmware all may be caused to cannot be carried out network upgrade, even result in built-in Situation about cannot restore damaged by WiFi firmware, causes original built-in WiFi firmware leak to be repaired, user interface The problems such as improvement cannot be obtained, the performance of the whole Set Top Box of extreme influence and the normal use of user.
Summary of the invention
For overcoming problem present in correlation technique, the present invention provide a kind of Set Top Box built-in WiFi firmware upgrade method, Device and Set Top Box.
First aspect according to embodiments of the present invention, it is provided that a kind of Set Top Box built-in WiFi firmware upgrade method, including:
When downloading to the upgrade file of built-in WiFi firmware, obtain the result of described built-in WiFi firmware upgrading last time;
Result according to described built-in WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or string Mouth upgrading mode;
Upgrade mode to described built-in WiFi firmware according to described upgrade file and described network upgrade mode or serial ports Upgrade.
Second aspect according to embodiments of the present invention, the embodiment of the present invention provides a kind of Set Top Box built-in WiFi firmware upgrade Device, including:
Acquisition module, for when downloading to the upgrade file of built-in WiFi firmware, obtains on described built-in WiFi firmware The result of secondary upgrading;
Selecting module, the result of described built-in WiFi firmware upgrading last time for obtaining according to acquisition module selects this Upgrading mode is network upgrade mode or serial ports upgrading mode;
Upgraded module, for upgrading mode to described according to described upgrade file and described network upgrade mode or serial ports Built-in WiFi firmware is upgraded.
The third aspect according to embodiments of the present invention, the embodiment of the present invention provides a kind of Set Top Box, solid including built-in WiFi Part, also includes: processor, for storing the memorizer of processor executable;Wherein, described processor is configured to perform The method that described WiFi firmware is upgraded that above first aspect proposes.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
The upgrade method of a kind of Set Top Box built-in WiFi firmware that the embodiment of the present invention provides and device, described method bag Include: when downloading to the upgrade file of built-in WiFi firmware, obtain the result of described built-in WiFi firmware upgrading last time, according to institute The result stating built-in WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or serial ports upgrading mode, according to Described built-in WiFi firmware is upgraded by described upgrade file and described network upgrade mode or serial ports upgrading mode.This According to built-in WiFi firmware updating result last time, the method that bright embodiment provides can determine that this upgrading needs by network liter Level mode or serial ports upgrading mode are upgraded, it is possible to avoid when built-in WiFi firmware upgrade owing to built-in WiFi firmware is unexpected Power-off, ROMPaq are destroyed or built-in WiFi firmware is in the reasons such as error condition, cause built-in WiFi firmware to rise The situation of level, it is possible to prevent the possibility that cannot upgrade in advance, when judging that this upgrade according to updating result last time, built-in WiFi consolidates Whether part can normally connect network, it is achieved network upgrade and the probability of two kinds of upgrading modes of serial ports upgrading such that it is able to have Effect repairs built-in WiFi firmware leak, and the overall performance of Set Top Box is greatly improved.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The present invention can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and for explaining the principle of the present invention together with description.
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, for those of ordinary skill in the art Speech, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of scene schematic diagram that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of Set Top Box built-in WiFi firmware upgrade method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of Set Top Box built-in WiFi firmware upgrade method that Fig. 3 provides for the embodiment of the present invention;
The detailed process schematic diagram of step S001 in Fig. 3 that Fig. 4 provides for the embodiment of the present invention;
The detailed process schematic diagram of step S101 in Fig. 2 that Fig. 5 provides for the embodiment of the present invention;
The detailed process schematic diagram of step S102 in Fig. 2 that Fig. 6 provides for the embodiment of the present invention;
A kind of detailed process schematic diagram of step S1021 that Fig. 7 provides for the embodiment of the present invention;
The another kind of detailed process schematic diagram of step S1021 that Fig. 8 provides for the embodiment of the present invention;
WiFi status identifier renewal side in the built-in WiFi firmware networks escalation process that Fig. 9 provides for the embodiment of the present invention The schematic flow sheet of method;
The schematic flow sheet of another Set Top Box built-in WiFi firmware upgrade method that Figure 10 provides for the embodiment of the present invention;
The structural representation of a kind of Set Top Box built-in WiFi device for upgrading firmware that Figure 11 provides for the embodiment of the present invention;
The structured flowchart of a kind of Set Top Box that Figure 12 provides for the embodiment of the present invention.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the present invention are consistent.
The application scenarios schematic diagram of the Set Top Box provided for the embodiment of the present invention shown in Figure 1.As it is shown in figure 1, include Intelligent television 2, Set Top Box 4 and server 1, intelligent television 2 includes display screen 3, and intelligent television 2 is by Set Top Box 4 and described clothes Business device 1 connects, and described server 1 can be the server of CHINA RFTCOM Co Ltd, it is possible to send TV programme to the Set Top Box 4 of user Deng, described TV programme playing request, by sending TV programme playing request to Set Top Box 4, is sent by user by Set Top Box 4 To server 1, described server 1 issues TV programme according to described TV programme playing request to Set Top Box 4, thus by intelligence The display screen 3 of TV 2 shows described TV programme.When the built-in WiFi firmware of Set Top Box 4 needs upgrading, server 1 is to machine Top box 4 pushes upgrade file automatically, thus is chosen whether to upgrade according to described upgrade file by Set Top Box 4.
Fig. 2 is the flow process signal according to a kind of Set Top Box built-in WiFi firmware upgrade method shown in an exemplary embodiment Figure.As in figure 2 it is shown, the method may include steps of.
In step S101, obtain the result of described built-in WiFi firmware upgrading last time.
When Set Top Box built-in WiFi firmware needs upgrading, the server of CHINA RFTCOM Co Ltd can be by photoelectricity network to Set Top Box Automatically the upgrade file of built-in WiFi firmware upgrade is issued, when Set Top Box downloads to the upgrade file that built-in WiFi firmware is corresponding Time, obtain the result of described built-in WiFi firmware upgrading last time, whether i.e. obtain described built-in WiFi firmware network upgrade last time According to the result of built-in WiFi firmware upgrading last time, success, can judge that built-in this network of WiFi firmware connects the most steady Fixed.
When getting the result of described built-in WiFi firmware upgrading last time, in step s 102, according to described built-in The result of WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or serial ports upgrading mode.
In embodiment disclosed by the invention, the result of built-in WiFi firmware upgrading last time includes built-in WiFi firmware last time Network upgrade success and network upgrade failure last time, when built-in WiFi firmware network upgrade last time success, it is determined that built-in WiFi firmware networks stable connection, selecting this upgrading mode is network upgrade mode;When built-in WiFi firmware network last time liter During level failure, it is determined that built-in WiFi firmware networks connects instability, selecting this upgrading mode is serial ports upgrading mode.Its In, described network upgrade mode is and carries out online upgrading, described string by the form of built-in WiFi firmware connection wireless network Mouth upgrading mode is and carries out upgraded in offline by the serial line interface of built-in WiFi firmware.
When selecting this upgrading corresponding upgrading mode, in step s 103, according to described upgrade file and described Described built-in WiFi firmware is upgraded by network upgrade mode or serial ports upgrading mode.
In embodiment disclosed by the invention, after step S102 chooses corresponding upgrading mode, just according to download Upgrade file and corresponding upgrading mode built-in WiFi firmware is upgraded, when described built-in WiFi firmware network last time Upgrading successfully, this upgrading carries out network upgrade according to described upgrade file to built-in WiFi firmware;When described built-in WiFi is solid Part serial ports last time upgrades successfully, and this upgrading carries out serial ports upgrading according to described upgrade file to built-in WiFi firmware.
When built-in WiFi firmware is upgraded by needs by network upgrade mode, one can be built by Set Top Box temporarily TFTP (Trivial File Transfer Protocol, TFTP) server, in being thought by tftp server Putting WiFi firmware to send a data protocol and inform that the upgrade file of built-in WiFi firmware has been downloaded, built-in WiFi firmware leads to Cross the socket communication described upgrade file of acquisition, and the journey of original storage in the described upgrade file described built-in WiFi firmware of replacement Sequence, thus realize network upgrade;And after upgrading completes, Set Top Box deletes the described tftp server built again temporarily.
When built-in WiFi firmware is upgraded by needs by serial ports upgrading mode, then by built-in WiFi firmware and machine top Box serial ports connects, and upgrade file asked from the memorizer of Set Top Box by described built-in WiFi firmware, and have Set Top Box by serial ports to Built-in WiFi firmware gradually transmits upgrading data replaces original program, thus realizes serial ports upgrading.
The description of mode of upgrading network upgrade mode and serial ports above is only for described built-in WiFi firmware and carries out Exemplary embodiment, due to both upgrading mode be existing conventional upgrading mode, do not repeat them here.
Use the Set Top Box built-in WiFi firmware upgrade method that disclosure embodiment provides, it is possible to built-in according to Set Top Box Whether WiFi firmware carried out network upgrade or whether network upgrade success last time, judged that built-in WiFi firmware was upgraded at this Journey is likely to occur such as the reason such as accident power-off, network failure, such that it is able to avoid the occurrence of in escalation process because interior in advance Put WiFi firmware and occur that fortuitous event causes built-in WiFi firmware to upgrade, even result in the feelings of built-in WiFi firmware damage Condition, is effectively improved stability and the user operation problem of built-in WiFi firmware upgrade.
Wherein, in the disclosed embodiments, can be found in shown in Fig. 3, for downloading the stream of the upgrade file of built-in WiFi firmware Journey schematic diagram.As it is shown on figure 3, the step downloading the upgrade file of built-in WiFi firmware comprises the steps.
In step S001, when the upgrading stream that CHINA RFTCOM Co Ltd broadcasts being detected, it is judged that the upgrading that described upgrading stream is corresponding Whether file mates with the built-in WiFi firmware of Set Top Box.
When the built-in WiFi firmware of Set Top Box needs upgrading, generally automatically broadcasted upgrading by server by CHINA RFTCOM Co Ltd The upgrading stream of file, described upgrading stream can be the header file of upgrade file, by the parsing of upgrading stream is judged described liter Whether upgrade file corresponding to level stream is the upgrade file of Set Top Box built-in WiFi firmware upgrade.Wherein, in implementation process, rise Level stream is typically the data stream of certain length, can judge whether upgrade file is can upgrade by the length that upgrading is flowed Upgrade file, and then by judging whether upgrade file matches with built-in WiFi firmware.
In the disclosed embodiments, described upgrade file carries and includes manufacturer's information, sequence number of set top box information, liter Polytype information such as level version number etc., wherein, described manufacturer information, sequence number of set top box information, upgraded version number all can be by Character strings etc. represent, by judging that manufacturer's information, sequence number of set top box information and upgraded version number that upgrade file carries are believed Cease manufacturer's information of WiFi firmware the most built-in with Set Top Box, sequence number of set top box information, upgraded version information are wanted to mate, Determine whether the upgrade file that described upgrading stream is corresponding mates with the built-in WiFi firmware of Set Top Box.
When the upgrade file determining that described upgrading stream is corresponding mates with described built-in WiFi firmware, in step S002, Download described upgrade file.Otherwise, flow process is terminated, not to described built-in WiFi firmware upgrade.
In the disclosed embodiments, when determining that upgrade file matches with built-in WiFi firmware, obtain CHINA RFTCOM Co Ltd and broadcast The upgrade file gone out, and described upgrade file is downloaded to successively Set Top Box, and be stored in the memorizer of described Set Top Box, just In described built-in WiFi firmware is upgraded.
When having downloaded described upgrade file, in step S003, determine the upgrading downloading to described built-in WiFi firmware File.
In the disclosed embodiments, the storage size of described upgrade file can be obtained when downloading described upgrade file, When having downloaded described upgrade file, can judge that described upgrade file is by obtaining the file size of storage in described memorizer No download is complete, when the storage size of the upgrade file obtained is equal with the file size stored in described memorizer, under determining It is downloaded to the upgrade file of described built-in WiFi firmware, otherwise, under described upgrade file may cause not due to network reason Carry successfully, then re-download described upgrade file.
It addition, the schematic flow sheet detailed for step S001 of embodiment of the present invention offer shown in Figure 4, such as Fig. 4 institute Showing, step S001 comprises the steps.
In step S0011, obtain the identity identification information of described upgrading stream.
When the upgrading stream that CHINA RFTCOM Co Ltd broadcasts being detected, obtain the identity identification information of described upgrading stream, described identity Identification information is for identifying that whether upgrade file that described upgrading stream is corresponding is the file of Set Top Box built-in WiFi firmware upgrade.Its In, described identity identification information can be to be used for describing upgrading stream information, is specifically as follows the upgraded version represented by upgrading stream Number, the information such as manufacturer's identifier, hardware version numbers and sequence number of set top box.
When getting the identity identification information of upgrading stream, in step S0012, judge according to described identity identification information Whether described upgrading stream is the upgrading stream of described built-in WiFi firmware upgrade.
In the disclosed embodiments, can judge whether the upgrading stream that CHINA RFTCOM Co Ltd broadcasts is interior by identity identification information Put the upgrading stream of WiFi firmware upgrade, wherein, when the upgraded version number represented by identity identification information, manufacturer's identifier with, The upgraded version number that prestores in hardware version numbers and sequence number of set top box information and Set Top Box, manufacturer's identifier, hardware When version number and sequence number of set top box match, determine the upgrading stream that described upgrading stream is built-in WiFi firmware upgrade.
When determining the upgrading stream that described upgrading stream is built-in WiFi firmware upgrade, in step S0013, extract described liter The identification information of level file.
Wherein, in embodiment disclosed by the invention, described identification information include upgraded version number, manufacturer's identifier and Sequence number of set top box.Described upgraded version number can be the version of upgrade file, if upgraded version is higher than built-in WiFi firmware If the program version being currently in use, just need built-in WiFi firmware is upgraded;Described manufacturer identifier may be used for Identify described upgrade file corresponding be whether the built-in WiFi firmware that produces of fixing manufacturer, owing to different vendor can produce Different built-in WiFi firmwares, all differs to distinguish manufacturer's identifier of the built-in WiFi firmware that different vendor produces; Described hardware version numbers can be to need the identifier of Set Top Box built-in WiFi firmware of upgrading, for identify distinguish different interior Put WiFi firmware;Described sequence number of set top box can be certain a batch of Set Top Box that same manufacturer produces, and different batches The sequence number of set top box that Set Top Box is corresponding is different.In the disclosed embodiments, described upgraded version number, manufacturer's identifier and Sequence number of set top box can be all that the form of character string represents.
Data message when extracting the expression information of described upgrade file, in step S0014, in inquiry data base Whether match with described upgraded version number, manufacturer's identifier, hardware version numbers and sequence number of set top box.
In the upgrade method of the Set Top Box built-in WiFi firmware of embodiment of the present invention offer, the number of the memorizer of Set Top Box The upgraded version number of upgrade file of upgrading, built-in WiFi is needed according to the built-in WiFi firmware being previously stored with this Set Top Box in storehouse The information such as the serial number of manufacturer's identifier of firmware, the hardware version numbers of Set Top Box and Set Top Box, thus according to mark letter Upgraded version number, manufacturer's identifier, hardware version numbers and the sequence number of set top box that breath includes, searches in described data base Whether exist and want with it to mate or identical data, according to Query Result judge described upgrade file whether with Set Top Box Built-in WiFi firmware coupling.
When the data message in described data base and described upgraded version number, manufacturer's identifier, hardware version numbers and When sequence number of set top box matches, in step S0015, determine the upgrade file of described upgrading stream correspondence and the built-in of Set Top Box WiFi firmware mates.Otherwise, the upgrade file that described upgrading stream is corresponding does not mates with the built-in WiFi firmware of Set Top Box, then be not required to Download this upgrade file, with need not by described upgrade file, built-in WiFi firmware be upgraded.
Use above-described embodiment provide Set Top Box built-in WiFi firmware upgrade method, it is possible to by judge upgrading stream and With the matching relationship of Set Top Box, the upgrade file that upgrading stream is corresponding determines whether this upgrade file is the built-in of this Set Top Box The file that WiFi firmware upgrade needs, if it is desired, then download described upgrade file and to built-in WiFi firmware upgrade, otherwise, Not to built-in WiFi firmware upgrade;Avoid in prior art due to the upgraded version of upgrade file or other reasons and this Set Top Box Built-in WiFi firmware do not mate when upgrading, cause the built-in WiFi firmware program of Set Top Box to damage, even result in machine The situation that top box cannot use, thus it is effectively improved the success rate of Set Top Box built-in WiFi firmware upgrade.
On above-mentioned Fig. 2 basis, the detail flowchart of step S101 disclosed in the embodiment of the present invention, as it is shown in figure 5, step Rapid S101 also comprises the steps.
In step S1011, the WiFi status identifier stored in obtaining described Set Top Box.
After downloading to the upgrade file of built-in WiFi firmware, first obtain WiFi status identifier, wherein, described WiFi status identifier is used for indicating network upgrade in Set Top Box built-in WiFi firmware escalation process last time the most successful;Described WiFi status identifier can be a character string or a binary flag, by character in character string or flag Size judge the WiFi communication state that Set Top Box is previously stored, and in the WiFi communication state stored by realization i.e. be can determine that Put and whether WiFi firmware upgrade process carries out network upgrade or carries out network upgrade success or not.
In embodiments of the present invention, it is as a example by a binary flag by described WiFi status identifier, passes through Binary numeral represented by WiFi status identifier determines that built-in WiFi firmware network upgrade last time is the most successful.Wherein, institute The numerical values recited stating WiFi status identifier can include 0 or 1.
In step S1012, when described WiFi status identifier is 1, determine described WiFi firmware network upgrade last time Success.
In step S1013, when described WiFi status identifier is 0, determine described WiFi firmware network upgrade last time Failure.
Use the method that disclosure embodiment provides, determine that the built-in WiFi of Set Top Box is solid by obtaining WiFi status identifier Part upgrading last time whether is by network upgrade or network upgrade last time is the most successful, so that it is determined that on built-in WiFi firmware The result of secondary upgrading, and the upgrading mode of this network upgrade is determined by this result.On being determined by WiFi status identifier Secondary network upgrade is the most successful, it is possible to avoid in advance because the failure of network upgrade last time affects the built-in WiFi of this Set Top Box admittedly Part upgrading carries out the success rate of network upgrade, thus is effectively improved efficiency and the success rate of Set Top Box built-in WiFi firmware upgrade.
But, not limit in the result obtaining Set Top Box built-in WiFi firmware upgrading last time disclosed in the embodiment of the present invention In only by determining built-in WiFi firmware network upgrade last time success or failure for the WiFi status identifier of 0 or 1, it is also possible to Judged by other data directly obtaining network upgrade last time success or failure, the most built-in WiFi firmware upgrading last time Network state etc. when number of times and last time upgrade, specific implementation process does not repeats them here.
It addition, based on shown in Fig. 2, the detailed process schematic diagram of step S102 that the embodiment of the present invention also provides for, such as Fig. 6 institute Showing, described step S102 also comprises the steps.
In step S1021, when described built-in WiFi firmware network upgrade last time success, this upgrading mode is selected to be Network upgrade mode.
When built-in WiFi firmware network upgrade last time success, determine in Set Top Box built-in WiFi firmware escalation process last time There is not any network problem in built-in WiFi firmware, such that it is able to primarily determine that network program and the net of built-in WiFi firmware Network connects normal, such that it is able to built-in WiFi firmware is upgraded by the way of network upgrade, thus initial option this Upgrading mode is network upgrade mode.
In step S1022, when described built-in WiFi firmware network upgrade last time failure, this upgrading mode is selected to be Serial ports upgrading mode.
When built-in WiFi firmware network upgrade last time failure, determine in Set Top Box built-in WiFi firmware escalation process last time The reason such as accident power-off, program mal that is likely to occur built-in WiFi firmware causes the feelings such as built-in WiFi firmware networks upgrading interruption Condition, such that it is able to primarily determine that built-in WiFi firmware there may be the situation such as accident power-off, program mal, thus avoids midway to rise Cause built-in WiFi firmware upgrade to interrupt causing built-in WiFi firmware program that mistake or other situations occur during Ji, thus keep away Exempt to select network upgrade mode, and then select serial ports upgrading mode that built-in WiFi firmware is upgraded.
Use the method that the embodiment of the present invention provides, select this according to built-in WiFi firmware network upgrade last time success or not Secondary upgrading mode is network upgrade or serial ports upgrading mode such that it is able to avoid the accident being likely to occur due to built-in WiFi firmware Power-off, program corruption or other problems being likely to occur, cause built-in WiFi firmware to cannot be carried out network upgrade, thus effectively Promote efficiency and the effect of built-in WiFi firmware upgrade.
It addition, on above-mentioned Fig. 6 basis, when this upgrading of built-in WiFi firmware selects network upgrade mode, in order to keep away The built-in WiFi firmware power-off exempting to be likely to occur during network upgrade, program make mistakes etc. may row, the embodiment of the present invention is also The method disclosing the built-in WiFi firmware upgrade of another Set Top Box.Specifically can be found in the built-in WiFi of the Set Top Box shown in Fig. 7 The schematic flow sheet of firmware upgrade method.As it is shown in fig. 7, the method may include steps of.
In step S10211, send to described built-in WiFi firmware one network service test signal.
Wherein, described network service test signal is the test signal for testing described Set Top Box WiFi communication state, Whether WiFi network can be connected by Set Top Box described in network service test signal test.Processor in Set Top Box to Built-in WiFi firmware sends described network service test signal, thus judges whether to be able to receive that described built-in WiFi firmware Feedback signal, thus judge the WiFi communication state of described Set Top Box built-in WiFi firmware.In embodiments of the present invention, Ke Yiyou Processor sends a ping order to built-in WiFi firmware, and described ping order can test signal as network service.
In step S10212, judge that according to described network service test signal the WiFi communication state of described Set Top Box is No for channel status.
In embodiments of the present invention, if processor sends a ping order to built-in WiFi firmware, then by judging State whether processor receives the feedback information of ping order, judge whether the WiFi communication state of described Set Top Box is path State;Such as when processor is after built-in WiFi firmware sends ping order, it is possible to receive ping data, it is determined that machine top The WiFi communication state of box is that channel status, i.e. Set Top Box built-in WiFi firmware networks connects well;When processor is to built-in After WiFi firmware sends ping order, it is impossible to receive ping data, it is determined that the WiFi communication state of Set Top Box is open circuit State, i.e. Set Top Box built-in WiFi firmware networks cannot connect.
When the WiFi communication state of described Set Top Box is channel status, in step S10213, according to described upgrading literary composition Part and network upgrade mode carry out network upgrade to described built-in WiFi firmware.
In embodiments of the present invention, when the WiFi communication state of Set Top Box is channel status, described Set Top Box is built-in WiFi firmware normally connects network, then by described upgrade file, described built-in WiFi firmware can be carried out network upgrade, the most logical Cross upgrade file to built-in WiFi firmware on line upgrading.
When the WiFi communication state of described Set Top Box is off state, in step S10214, according to described upgrading literary composition Part and serial ports upgrading mode carry out serial ports upgrading to described built-in WiFi firmware.
In embodiments of the present invention, when the WiFi communication state of Set Top Box is off state, described Set Top Box is built-in WiFi firmware connects Network Abnormal or cannot connect network owing to the situations such as built-in WiFi firmware power-off cause, thus, by rising Level file carries out upgraded in offline to built-in WiFi firmware by serial ports.
Use the method that the embodiment of the present invention provides, it is possible to judge when this is upgraded built-in by network service test signal WiFi firmware the most normally connects network, if normally connecting network, the WiFi communication state of Set Top Box is channel status, the most really Determine, according to upgrade file, built-in WiFi firmware is carried out network upgrade, otherwise, according to upgrade file, built-in WiFi firmware is carried out Serial ports is upgraded.Thus it is effectively increased the network test before built-in WiFi firmware is upgraded, it is possible to it is effectively improved built-in WiFi firmware networks upgrading reliability, it is to avoid carry out at the beginning going wrong during network upgrade, cause built-in WiFi firmware without The situation of method upgrading.
Another kind of Set Top Box built-in WiFi upgrade method shown in Figure 8, that provide for the embodiment of the present invention.Such as Fig. 8 institute Showing, the method may include steps of.
In step S10215, monitor the WiFi communication state of described Set Top Box in real time.
In embodiments of the present invention, network service test can be sent to built-in WiFi firmware in real time by the processor of Set Top Box Signal, sends ping order the most always, thus judges the WiFi communication state of Set Top Box according to the ping data received.When So, in specific implementation process, however it is not limited to send in real time ping order, it is also possible to according to practical situation every the set time to Described built-in WiFi firmware sends ping order, in order to the WiFi communication state of testing machine top box.No longer elaborate at this.
When the WiFi communication state of described Set Top Box is channel status, continue through network upgrade mode, according to described Upgrade file carries out network upgrade to built-in WiFi firmware.Otherwise perform step S10216.
When the WiFi communication state of described Set Top Box is off state, in step S10216, by described network upgrade Mode switches to serial ports upgrading mode, according to described upgrade file by continuing described built-in WiFi firmware with serial ports upgrading mode Level of continuing rising.
In embodiments of the present invention, if the WiFi communication state monitoring Set Top Box is off state, i.e. built-in During WiFi firmware carries out network upgrade, built-in WiFi firmware is likely to occur power-off or the feelings of WiFi network instability Condition, in order to ensure that the continuation of built-in WiFi firmware is upgraded, can switch to network upgrade mode serial ports upgrading mode, open immediately Dynamic serial ports upgrading mode, continues to upgrade to built-in WiFi firmware by serial ports upgrading mode according to upgrade file, thus in realizing Put the uninterrupted upgrading of WiFi firmware.
It addition, in switching to serial ports upgrading mode, can according to practical situation by upgrade file then before network Upgrading continues upgrading, it is also possible to again by upgrade file, built-in WiFi firmware carries out serial ports upgrading, thus improves built-in The reliability of WiFi firmware upgrade.
Use disclosure embodiment provide method, it is possible to avoid built-in WiFi firmware during network upgrade, by Occur that power-off, WiFi network unstable and built-in WiFi firmware program such as is made mistakes at the reason in built-in WiFi firmware, cause built-in The situation that WiFi firmware cannot be upgraded, thus it is effectively improved Set Top Box built-in WiFi firmware reliability in escalation process, right Built-in WiFi firmware leak is effectively repaired, it is possible to the performance of whole Set Top Box and the normal use of user are greatly improved.
It addition, during Set Top Box built-in WiFi firmware carries out network upgrade, built-in in order to ensure real-time Set Top Box Renewal to WiFi status identifier during WiFi firmware networks upgrading whether success, another machine that the embodiment of the present invention provides Top box built-in WiFi firmware upgrade method.
Shown in Figure 9, for WiFi in the Set Top Box built-in WiFi firmware networks escalation process that the embodiment of the present invention provides The schematic flow sheet of the update method of status identifier.As it is shown in figure 9, the method may include steps of.
In step S10217, the WiFi status identifier of storage in described Set Top Box is updated to 0.
When the WiFi communication state of Set Top Box is channel status, according to upgrade file, built-in WiFi firmware is carried out network liter During level, then it represents that network upgrade success last time, and WiFi status identifier now is 1, then need described WiFi state mark Know symbol and be updated to 0 from 1.It can be avoided that the most built-in WiFi firmware does not has network upgrade success, then cannot change WiFi state mark Know the situation of symbol.
When WiFi status identifier is updated to 0, in step S10218, it is judged that according to described upgrade file and network Whether described built-in WiFi firmware is upgraded successfully by upgrading mode.
In the disclosed embodiments, can be by judging that built-in WiFi firmware is sentenced in the memorizer storing ROMPaq It is completely cured according to whether built-in WiFi firmware is upgraded successfully, such as by upgrade file and network upgrade mode: when upgrade file will before ROMPaq substitute completely, then it represents that built-in WiFi firmware upgrade success, otherwise, represent built-in WiFi firmware upgrade failure, Can also be used for storing by calculating built-in WiFi firmware the storage size of the upgrade file of storage in the memorizer of ROMPaq, Whether mated with the storage size of the upgrade file downloaded in advance by the storage size of upgrade file calculated, judge built-in Whether WiFi firmware upgrades successfully;When both are equal, built-in WiFi firmware upgrade success is determined.
When according to described upgrade file and network upgrade mode to described built-in WiFi firmware upgrade success, in step In S10219, described WiFi status identifier is updated to 1, meanwhile, restarts described Set Top Box.Otherwise, terminate.WiFi state mark Knowing symbol is still 0 in step S10217.
In the disclosed embodiments, if built-in WiFi firmware being carried out network upgrade success according to upgrade file, then need Again the WiFi status identifier being updated to 0 in described step S10217 is updated to 1 again, consequently facilitating the most right When built-in WiFi firmware is upgraded, Set Top Box network upgrade last time result can be got and be successfully.Meanwhile, in described When putting WiFi firmware upgrade success, restart Set Top Box and enter new ROMPaq.
Using the method that disclosure embodiment provides, carry out network upgrade according to built-in WiFi firmware the most successful, it is right to come WiFi status identifier carries out real-time update, the when of consequently facilitating the most built-in WiFi firmware is upgraded, and can basis Described WiFi status identifier judges the result of last network upgrade, so according to upgrade file and network upgrade mode or Built-in WiFi firmware is upgraded by serial ports upgrading mode.
Another Set Top Box built-in WiFi firmware upgrade method shown in Figure 10, that provide for the embodiment of the present invention Schematic flow sheet.As shown in Figure 10, described method may include steps of.
In step S101,
In step S104, it is judged that upgrade mode to described according to upgrade file and described network upgrade mode or serial ports Built-in WiFi firmware upgrade is the most failed.
In embodiments of the present invention, can be according to calculating built-in WiFi firmware for storing the memorizer Chinese of ROMPaq Part size judges whether successfully to upgrade.Concrete mode can be used for depositing referring to the built-in WiFi firmware of relevant calculating in above-described embodiment In the memorizer of storage ROMPaq, the method for upgrade file size, does not repeats them here.
When upgrading mode to described built-in WiFi firmware liter according to upgrade file and described network upgrade mode or serial ports During level failure, in step S105, again according to the upgrade file downloaded, described built-in WiFi firmware is upgraded.Otherwise, Restart Set Top Box.
In the disclosed embodiments, when according to upgrade file to built-in WiFi firmware upgrade failure, then step is re-executed Rapid S103, carries out network upgrade or serial ports upgrading according to upgrade file to built-in WiFi firmware.Implementation process can also refer to State related embodiment built-in WiFi firmware is upgraded.
In step s 106, acquisition upgrades mode to described according to upgrade file and described network upgrade mode or serial ports The number of times that built-in WiFi firmware upgrade is failed.
In embodiments of the present invention, when failed, to built-in WiFi firmware to built-in WiFi firmware upgrade according to upgrade file When again upgrading, the number of times by statistics, built-in WiFi firmware can upgraded, determine according to upgrade file built-in The number of times that WiFi firmware upgrade is failed, wherein, is built-in according to upgrade file to the number of times that built-in WiFi firmware upgrade is failed WiFi firmware upgrade number of times deducts 1, such as, when according to upgrade file to built-in WiFi firmware upgrade once, internal i.e. for the first time Put WiFi firmware upgrade success, be then 0 according to upgrade file to the number of times that built-in WiFi firmware upgrade is failed.
When getting according to upgrade file the number of times that built-in WiFi firmware upgrade is failed, in step s 107, it is judged that Whether the failed number of times of described upgrading reaches preset times.
Most upgrading number of times that described preset times is born in escalation process by built-in WiFi firmware, if upgrading Failed number of times is more than preset times, then, the probability continuing to upgrade successfully to built-in WiFi firmware will reduce, meanwhile, The normal use of Set Top Box built-in WiFi firmware may be affected.And, in specific implementation process, described preset times is general Be 3, i.e. when upgrade the frequency of failure be 3 time, then stop built-in WiFi firmware is upgraded, otherwise continue executing with step S103 or Person is with reference to other embodiments in above-described embodiment.
When the failed number of times of described upgrading reaches preset times, in step S108, restart described Set Top Box and cancel Upgrading.
In embodiments of the present invention, if failed number of times of upgrading reaches 3 times, then built-in WiFi firmware need not carried out Upgrading, thus delete the upgrade file downloaded, and starter motor top box again, apply described Set Top Box built-in WiFi firmware Some ROMPaq use.
Use the method that the embodiment of the present invention provides, it is possible to by judging the secondary of Set Top Box built-in WiFi firmware upgrade failure Number, determines the need for continuing upgrading or cancelling upgrading such that it is able to ensure that Set Top Box, when realizing upgrading, stops Upgrading, it is to avoid continue upgrading and built-in WiFi firmware is caused damage, affect the use of whole Set Top Box further, thus effectively protect Protect Set Top Box built-in WiFi firmware, it is ensured that the use of user.
It is above the detailed description of embodiment for Set Top Box built-in WiFi firmware upgrade method, wherein different embodiments Between same section can be cross-referenced, do not repeat them here.Additionally provide in embodiments of the present invention in a kind of Set Top Box Put the embodiment of WiFi device for upgrading firmware, specifically can be found in shown in Figure 11.
Shown in Figure 11, for the structural representation of the Set Top Box built-in WiFi device for upgrading firmware that the embodiment of the present invention provides Figure, as shown in figure 11, this device can include acquisition module 11, select module 12 and upgraded module 13, wherein, acquisition module 11, module 12 and upgraded module 13 is selected to be sequentially connected electrically.Wherein,
When this acquisition module 11 can be configured as the upgrade file downloading to built-in WiFi firmware, obtain described built-in The result of WiFi firmware upgrading last time;
The result of described built-in WiFi firmware upgrading last time mainly includes that built-in WiFi firmware carried out network upgrade mistake last time Lose or built-in WiFi firmware carried out network upgrade successful result last time.
When selecting module 12 can be configured as the result that acquisition module 11 gets built-in WiFi firmware upgrading last time, Result according to described built-in WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or serial ports upgrading side Formula;
Wherein, network upgrade mode is, by WiFi network pattern, built-in WiFi firmware is carried out online upgrading, serial ports Upgrading mode is, by serial line interface, built-in WiFi firmware is carried out upgraded in offline.
After upgraded module 12 can be to be configured as selecting module 12 to have selected corresponding upgrading mode, according to upgrade file And described built-in WiFi firmware upgraded by described network upgrade mode or serial ports upgrading mode.
In embodiments of the present invention, between above-mentioned modules, executable instruction is side described in each embodiment above-mentioned The instruction that method is corresponding, the working method between modules can also refer to the execution step described in said method embodiment, at this No longer it is described in detail.
Use the device that the embodiment of the present invention provides, it is possible to avoid when built-in WiFi firmware upgrade owing to built-in WiFi is solid Part accident power-off, ROMPaq are destroyed or built-in WiFi firmware is in the reasons such as error condition, cause built-in WiFi firmware Situation about cannot upgrade, it is possible to prevent the possibility that cannot upgrade in advance, judge when this is upgraded built-in according to updating result last time Whether WiFi firmware can normally connect network, it is achieved network upgrade and the probability of two kinds of upgrading modes of serial ports upgrading, thus Can effectively repair built-in WiFi firmware leak, the overall performance of Set Top Box is greatly improved.
It is additionally provided with the embodiment of a kind of Set Top Box based on above-mentioned upgrade method in embodiments of the present invention, specifically may be used Participate in embodiment to describe.
Figure 12 is the block diagram according to a kind of Set Top Box 800 shown in an exemplary embodiment.
With reference to Figure 12, Set Top Box 800 can include following one or more assembly: processes assembly 802, memorizer 804, electricity Source component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, with And communications component 816.
Process assembly 802 and generally control the integrated operation of Set Top Box 800, such as with display, data communication, record operation phase The operation of association.Process assembly 802 and can include that one or more processor 820 performs instruction, to complete above-mentioned method All or part of step.Additionally, process assembly 802 can include one or more module, it is simple to process assembly 802 and other Mutual between assembly.Such as, process assembly 802 and can include multi-media module, to facilitate multimedia groupware 808 and process group Mutual between part 802.
Memorizer 804 is configured to store various types of data to support the operation at Set Top Box 800.These data Example includes any application program for operation on Set Top Box 800 or the instruction of method, picture, video etc..Memorizer 804 Can be realized, such as static random access memory by any kind of volatibility or non-volatile memory device or combinations thereof Device (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), can compile Journey read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is Set Top Box 800 provide electric power.Power supply module 806 can include power management System, one or more power supplys, and other generate, manage and distribute, with for Set Top Box 800, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 808 is included between described Set Top Box 800 and user.? In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes that one or more touch passes Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or slide dynamic The border made, but also detect the persistent period relevant to described touch or slide and pressure.
Audio-frequency assembly 810 is configured to output and/or input audio signal.Such as, audio-frequency assembly 810 includes a Mike Wind (MIC), when Set Top Box 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 804 or via communication Assembly 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, is used for exporting audio signal.
I/O interface 812 provides interface for processing between assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 814 includes one or more sensor, for providing the state of various aspects to comment for Set Top Box 800 Estimate.Such as, what sensor cluster 814 can detect Set Top Box 800 opens/closed mode, the relative localization of assembly, such as institute Stating display LCDs and little and keyboard that assembly is Set Top Box 800, sensor cluster 814 can be with testing machine top Box 800 or the position change of 800 1 assemblies of Set Top Box, the presence or absence that user contacts with Set Top Box 800, Set Top Box 800 orientation or acceleration/deceleration and the variations in temperature of Set Top Box 800.Sensor cluster 814 can include temperature sensor, is joined Put the temperature for detecting testing machine top box 800.
Communications component 816 is configured to facilitate the communication of wired or wireless mode between Set Top Box 800 and other equipment.Machine Top box 800 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one In embodiment, broadcast singal or broadcast that communications component 816 receives from external broadcasting management system via broadcast channel are relevant Information.In one exemplary embodiment, described communications component 816 also includes near-field communication (NFC) module, to promote that short distance is led to Letter.Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) Technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, Set Top Box 800 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 804 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of Set Top Box 800.Example If, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Dish and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the processor of Set Top Box During execution so that Set Top Box is able to carry out the upgrade method of a kind of built-in WiFi firmware, and described method includes:
When downloading to the upgrade file of built-in WiFi firmware, obtain the result of described built-in WiFi firmware upgrading last time;
Result according to described built-in WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or string Mouth upgrading mode;
Upgrade mode to described built-in WiFi firmware according to described upgrade file and described network upgrade mode or serial ports Upgrade.
Those skilled in the art are considering description and are putting into practice here after disclosure of the invention, will readily occur to its of the present invention Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or Person's adaptations is followed the general principle of the present invention and includes the undocumented common knowledge in the art of the present invention Or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. a Set Top Box built-in WiFi firmware upgrade method, it is characterised in that including:
When downloading to the upgrade file of built-in WiFi firmware, obtain the result of described built-in WiFi firmware upgrading last time;
Result according to described built-in WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or serial ports liter Level mode;
According to described upgrade file and described network upgrade mode or serial ports upgrading mode, described built-in WiFi firmware is carried out Upgrading.
Set Top Box the most according to claim 1 built-in WiFi firmware upgrade method, it is characterised in that in described acquisition is described Put the result of WiFi firmware upgrading last time, including:
The WiFi status identifier stored in obtaining described Set Top Box;
When described WiFi status identifier is 1, determine described WiFi firmware network upgrade last time success;
When described WiFi status identifier is 0, determine described WiFi firmware network upgrade last time failure.
Set Top Box the most according to claim 1 built-in WiFi firmware upgrade method, it is characterised in that described according to described interior The result putting WiFi firmware upgrading last time selects this upgrading mode to be network upgrade mode or serial ports upgrading mode, including:
When described built-in WiFi firmware network upgrade last time success, selecting this upgrading mode is network upgrade mode;
When described built-in WiFi firmware network upgrade last time failure, selecting this upgrading mode is serial ports upgrading mode.
Set Top Box the most according to claim 3 built-in WiFi firmware upgrade method, it is characterised in that as described built-in WiFi Firmware network upgrade last time success, time to select this upgrading mode be network upgrade mode, described method also includes:
Sending and test signal to described built-in WiFi firmware one network service, described network service test signal is used for testing described Set Top Box WiFi communication state;
Judge whether the WiFi communication state of described Set Top Box is channel status according to described network service test signal;
When the WiFi communication state of described Set Top Box is channel status, according to described upgrade file and network upgrade mode to institute State built-in WiFi firmware and carry out network upgrade;
When the WiFi communication state of described Set Top Box is off state, upgrade mode to institute according to described upgrade file and serial ports State built-in WiFi firmware and carry out serial ports upgrading.
Set Top Box the most according to claim 4 built-in WiFi firmware upgrade method, it is characterised in that when according to described upgrading When file and network upgrade mode carry out network upgrade to described built-in WiFi firmware, described method also includes:
Monitor the WiFi communication state of described Set Top Box;
When the WiFi communication state of described Set Top Box is off state, described network upgrade mode is switched to serial ports upgrading side Formula, continues upgrading by serial ports upgrading mode to described built-in WiFi firmware according to described upgrade file.
Set Top Box the most according to claim 4 built-in WiFi firmware upgrade method, it is characterised in that when described Set Top Box When WiFi communication state is channel status, described method also includes:
The WiFi status identifier of storage in described Set Top Box is updated to 0;
Judge according to whether described built-in WiFi firmware is upgraded successfully by described upgrade file and network upgrade mode;
When according to described upgrade file and network upgrade mode to described built-in WiFi firmware upgrade success, by described WiFi shape State identifier is updated to 1, meanwhile, restarts described Set Top Box.
Set Top Box the most according to claim 1 built-in WiFi firmware upgrade method, it is characterised in that described method is also wrapped Include:
When according to upgrade file and described network upgrade mode or serial ports upgrading mode, described built-in WiFi firmware upgrade being lost When losing, again according to the upgrade file downloaded, described built-in WiFi firmware is upgraded;
Obtain and upgrade mode to described built-in WiFi firmware upgrade according to upgrade file and described network upgrade mode or serial ports Failed number of times;
Judge whether the failed number of times of described upgrading reaches preset times;
When the failed number of times of described upgrading reaches preset times, restart described Set Top Box and cancel upgrading.
Set Top Box the most according to claim 1 built-in WiFi firmware upgrade method, it is characterised in that described method is also wrapped Include:
When the upgrading stream that CHINA RFTCOM Co Ltd broadcasts being detected, it is judged that upgrade file corresponding to described upgrading stream whether with Set Top Box Built-in WiFi firmware mates;
When the upgrade file that described upgrading stream is corresponding mates with described built-in WiFi firmware, download described upgrade file;
When having downloaded described upgrade file, determine the upgrade file downloading to described built-in WiFi firmware.
9. a Set Top Box built-in WiFi device for upgrading firmware, it is characterised in that including:
Acquisition module, for when downloading to the upgrade file of built-in WiFi firmware, obtains described built-in WiFi firmware liter last time The result of level;
Selecting module, the result of described built-in WiFi firmware upgrading last time for obtaining according to acquisition module selects this to upgrade Mode is network upgrade mode or serial ports upgrading mode;
Upgraded module, for upgrading mode to described built-in according to described upgrade file and described network upgrade mode or serial ports WiFi firmware is upgraded.
10. a Set Top Box, including built-in WiFi firmware, it is characterised in that also include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor be configured to the method as described in claim 1-8 is arbitrary of performing to as described in WiFi firmware carry out Upgrading.
CN201610555170.5A 2016-07-14 2016-07-14 WiFi firmware upgrade method, device and set-top box built in set-top box Active CN106131682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610555170.5A CN106131682B (en) 2016-07-14 2016-07-14 WiFi firmware upgrade method, device and set-top box built in set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610555170.5A CN106131682B (en) 2016-07-14 2016-07-14 WiFi firmware upgrade method, device and set-top box built in set-top box

Publications (2)

Publication Number Publication Date
CN106131682A true CN106131682A (en) 2016-11-16
CN106131682B CN106131682B (en) 2018-12-25

Family

ID=57282639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610555170.5A Active CN106131682B (en) 2016-07-14 2016-07-14 WiFi firmware upgrade method, device and set-top box built in set-top box

Country Status (1)

Country Link
CN (1) CN106131682B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775852A (en) * 2016-12-05 2017-05-31 云鸟(上海)能源科技有限公司 A kind of method that embedded Linux Charge Management terminal is upgraded by wireless communication module
CN107168739A (en) * 2017-05-15 2017-09-15 万达百汇科技(深圳)有限公司 POS, POS wireless communication module firmware upgrade method and device
CN107181618A (en) * 2017-06-02 2017-09-19 深圳市维申斯科技有限公司 Firmware upgrade method and system
CN107592525A (en) * 2017-09-19 2018-01-16 深圳市兆驰数码科技股份有限公司 Set top box WIFI function detects and number-baking method and equipment
CN110717185A (en) * 2019-10-18 2020-01-21 天津津航计算技术研究所 Safety authentication method for remote upgrading
CN112394966A (en) * 2019-08-19 2021-02-23 云丁网络技术(北京)有限公司 Equipment upgrading method and device, computer readable medium and equipment
CN112764773A (en) * 2020-12-31 2021-05-07 北京谊安医疗系统股份有限公司 Embedded software upgrading method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
US20130007723A1 (en) * 2011-06-30 2013-01-03 International Business Machines Corporation Smart rebinding for live product install
CN104750506A (en) * 2013-12-30 2015-07-01 海尔集团公司 Intelligent appliance WiFi module software remote automatic upgrade method
US20160011573A1 (en) * 2014-07-09 2016-01-14 Honeywell International Inc. Multisite version and upgrade management system
CN105357572A (en) * 2015-12-14 2016-02-24 福建新大陆通信科技股份有限公司 Set top box built-in wifi automatic upgrade system and method based on integration of three networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130007723A1 (en) * 2011-06-30 2013-01-03 International Business Machines Corporation Smart rebinding for live product install
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN104750506A (en) * 2013-12-30 2015-07-01 海尔集团公司 Intelligent appliance WiFi module software remote automatic upgrade method
US20160011573A1 (en) * 2014-07-09 2016-01-14 Honeywell International Inc. Multisite version and upgrade management system
CN105357572A (en) * 2015-12-14 2016-02-24 福建新大陆通信科技股份有限公司 Set top box built-in wifi automatic upgrade system and method based on integration of three networks

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775852A (en) * 2016-12-05 2017-05-31 云鸟(上海)能源科技有限公司 A kind of method that embedded Linux Charge Management terminal is upgraded by wireless communication module
CN107168739A (en) * 2017-05-15 2017-09-15 万达百汇科技(深圳)有限公司 POS, POS wireless communication module firmware upgrade method and device
WO2018209853A1 (en) * 2017-05-15 2018-11-22 万达百汇科技(深圳)有限公司 Pos machine, pos machine wireless communication module firmware upgrade method and computer readable storage medium
CN107181618A (en) * 2017-06-02 2017-09-19 深圳市维申斯科技有限公司 Firmware upgrade method and system
CN107592525A (en) * 2017-09-19 2018-01-16 深圳市兆驰数码科技股份有限公司 Set top box WIFI function detects and number-baking method and equipment
CN107592525B (en) * 2017-09-19 2019-12-13 深圳市兆驰数码科技股份有限公司 Set top box WIFI function detection and number burning method and device
CN112394966A (en) * 2019-08-19 2021-02-23 云丁网络技术(北京)有限公司 Equipment upgrading method and device, computer readable medium and equipment
CN110717185A (en) * 2019-10-18 2020-01-21 天津津航计算技术研究所 Safety authentication method for remote upgrading
CN110717185B (en) * 2019-10-18 2023-06-02 天津津航计算技术研究所 Security authentication method for remote upgrading
CN112764773A (en) * 2020-12-31 2021-05-07 北京谊安医疗系统股份有限公司 Embedded software upgrading method

Also Published As

Publication number Publication date
CN106131682B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN106131682A (en) Set Top Box built-in WiFi firmware upgrade method, device and Set Top Box
US11310730B2 (en) Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system
CA2801754C (en) Backup and restore of network configuration data using a remote controller device
CN112737899B (en) Intelligent device management method and device, storage medium and electronic device
WO2016090846A1 (en) Network version upgrade method and apparatus
CN101917567B (en) Digital television terminal software upgrading method
CN105207851A (en) Fault detection method, device, system and terminal and intelligent device
CN101207729A (en) Digital television receiving terminal and software upgrading system thereof
CN105389183A (en) Method and apparatus for making application version and intelligent sound box software version correspond
CN104951335A (en) Processing method and device for application program installation packages
CN107038046A (en) Upgrade method, device and the terminal of audio frequency broadcast system
CN103024026A (en) Multi-screen interactive software auto update method and system based on Android
EP3474559A1 (en) Smart-television playback method and apparatus
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN109688427A (en) A kind of smart television and its system repair
CN114422836A (en) Remote controller key updating method and device, remote controller and storage medium
CN104104701A (en) Online service configuration updating method and system
CN105549995A (en) Audio device upgrading method and apparatus
CN104243469A (en) Playing control method, device and system
CN108322812B (en) Multi-screen interaction method and device and terminal
CN109032752B (en) Cloud platform based operation revocation
CN105099765A (en) Data updating method and device
US10979287B2 (en) Method and apparatus for receiving a solution when configuration function verification fails in a terminal
CN112203170B (en) Upgrading method, device, medium and equipment of optical network unit
CN106791989B (en) The method and apparatus that TV data automatically updates

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant