CN102316376A - Method for set-top box to automatically update data and system - Google Patents

Method for set-top box to automatically update data and system Download PDF

Info

Publication number
CN102316376A
CN102316376A CN201110237623A CN201110237623A CN102316376A CN 102316376 A CN102316376 A CN 102316376A CN 201110237623 A CN201110237623 A CN 201110237623A CN 201110237623 A CN201110237623 A CN 201110237623A CN 102316376 A CN102316376 A CN 102316376A
Authority
CN
China
Prior art keywords
data
version information
sign indicating
module
update server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110237623A
Other languages
Chinese (zh)
Inventor
张权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
ZHUHAI GOTECH ELECTRONIC 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 ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd filed Critical ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201110237623A priority Critical patent/CN102316376A/en
Publication of CN102316376A publication Critical patent/CN102316376A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a method for a set-top box to automatically update data, which comprises the steps that: the set-top box is connected with a network, and the set-top box is connected with a data updating server via the network; version information is read from the data updating server, and whether the version information is consistent with a current version or not is judged; if NO, the data is downloaded from the data updating server until the downloading is completed; cyclic redundancy checking is carried out to the data, and an obtained checking code is compared if to be consistent with that on the data updating server; and if SO, the data is updated. The method can automatically update the data in the set-top box when the set-top box is connected with the network, prevent data damage in the set-top box caused by file error by carrying out cyclic redundancy checking (CRC) to a downloaded file, and prevent the inconvenience caused by that a computer, a universal serial bus (USB) and other external storage equipment need to be used when in upgrading.

Description

A kind of STB method and system that Update Information automatically
Technical field
The present invention relates to the digital signal receiving apparatus technical field, relate in particular to the method and system that a kind of STB Updates Information automatically.
Background technology
Along with rapid development of network technique and network spread to every field, and most on the market at present STBs have possessed network function.STB can be downloaded Miscellaneous Documents after connecting network.But downloaded files is if mistake, is easy to cause that the STB internal data damages, thereby causes starting or loss of data.On the other hand, during set top box upgrading, need to use External memory equipments such as computer or the USB flash disk data behind the storage update of going ahead of the rest, complex operation can't not upgrade when having External memory equipment such as computer or USB flash disk around the user.
Summary of the invention
In view of this, be necessary the problem that exists to background technology, a kind of STB method and system that Update Information automatically are provided.
The present invention realizes through following technical scheme:
A kind of STB method that Updates Information automatically, it is characterized in that: it may further comprise the steps:
Connect network and pass through network connection data update service device;
Read version information and file cyclic redundency check sign indicating number from said Data Update server;
Whether more said version information is consistent with said STB current version information;
As being not, from said Data Update server data download;
Said data are carried out cyclic redundency check, and whether the calibration sign indicating number that is relatively obtained is consistent with the file cyclic redundency check sign indicating number that reads from said Data Update server;
As for being to Update Information.
Describedly read the step of version information and file cyclic redundency check sign indicating number, further comprise: version information that reads and file cyclic redundency check sign indicating number are stored in respectively in two variablees from the Data Update server.
Described more said version information whether with the consistent step of said STB current version information, specifically comprise: more said version information whether be stored in same variable or another variable in advance in STB current version information consistent.
After the whether consistent step of described more said version information, also comprise step with said STB current version information: like judged result for being, finish to upgrade and prompting user version information consistent.
Described data are carried out cyclic redundency check, and after the whether consistent step of the calibration sign indicating number that is relatively obtained, also comprise step: for not, point out the user to upgrade failure like judged result with the file cyclic redundency check sign indicating number that reads from said Data Update server.
Described data are carried out cyclic redundency check; And the calibration sign indicating number that is relatively obtained whether with the consistent step of file cyclic redundency check sign indicating number that reads from said Data Update server; Specifically comprise: data are carried out cyclic redundency check, and whether the calibration sign indicating number that is relatively obtained is consistent with the described file cyclic redundency check sign indicating number that is stored in the said variable.
A kind of STB system that Updates Information automatically, it comprises
One Data Update server is used to provide version information and file cyclic redundency check sign indicating number, and the data of the redaction of STB needs;
One read module is used for reading version information and file cyclic redundency check sign indicating number from said Data Update server;
One first comparison module, whether be used for the comparison read module consistent with said STB current version information from the version information that said Data Update server reads;
One downloads module, is used for when the first comparison module comparative result when being inconsistent, from said Data Update server data download;
One data processing module is used for download module is carried out cyclic redundency check and obtains the calibration sign indicating number from said Data Update server data downloaded;
One second comparison module, whether be used for comparison consistent from the file cyclic redundency check sign indicating number that said Data Update server reads with read module by the calibration sign indicating number that said data processing module draws;
One update module is used for when the second comparison module comparative result is unanimity, substituting current data in the STB with said download module from said Data Update server data downloaded.
Said read module comprises variable, is used to store version information and the file cyclic redundency check sign indicating number that reads from said Data Update server.
The said read module or first comparison module comprise variable, are used for the current version information of memory machine top box.
Said download module or data processing module comprise variable, are used to store the data that download to from said Data Update server.
Compared to prior art; The invention has the advantages that: the present invention can be on STB connects upgrades data in the STB under the situation of network automatically; And avoid file error to cause that the STB internal data damages, and need use External memory equipment such as computer or USB flash disk when avoiding upgrading and the inconvenience that causes through the file of download accomplishing being carried out cyclic redundency check (CRC).
Description of drawings
Fig. 1 is the flow chart of embodiment of the present invention.
Embodiment
The method that this execution mode provides a kind of STB to Update Information automatically, as shown in Figure 1, it may further comprise the steps:
Connect network also through network connection data update service device: STB is connected to network through artificial or automatic ways of connecting; Manual work simultaneously or system judge the whether successful connection of STB and network automatically, if judged result for not, then wait for network-in-dialing or again trial be connected to network; If judged result is network and STB successful connection, then STB is through network connection data update service device; On manual work simultaneously or system judge STB automatically and whether the Data Update server are connected, if judged result then connects data update service device again for not;
Read version information and file cyclic redundency check sign indicating number from said Data Update server: if judged result is STB and the successful connection of said Data Update server; Then read version information and file cyclic redundency check sign indicating number, and this version information and file cyclic redundency check sign indicating number are stored in respectively in two variablees from said Data Update server;
Whether more said version information is consistent with said STB current version information: relatively whether the versions of data information in the STB is consistent from the version information that said Data Update server reads with read module, thereby whether the version in the judgment data update service device is redaction; Wherein, Versions of data information in the STB is the current versions of data information of STB; This versions of data information is stored in the variable in advance, and can be described storage read the variable of version information from said Data Update server to this variable, also can be another variable;
As for not, from said Data Update server data download: if comparative result is inconsistent, promptly the version in the Data Update server is a redaction, then from this Data Update server data download, and data downloaded is stored in the variable; If comparative result is consistent, then finish to upgrade, and prompting user version information is consistent;
Judge whether the calibration sign indicating number is correct: whether data downloaded is carried out calibration sign indicating number that cyclic redundency check and comparison obtain consistent with the described file cyclic redundency check sign indicating number that reads from the Data Update server;
If then Update Information;
If, then do not point out the user to upgrade failure.
This execution mode also provides a kind of STB system that Updates Information automatically, and it comprises: a read module is used for reading version information and file cyclic redundency check sign indicating number from said Data Update server; One first comparison module, whether be used for the comparison read module consistent with said STB current version information from the version information that said Data Update server reads; One downloads module, is used for when the first comparison module comparative result when being inconsistent, from said Data Update server data download; One data processing module is used for download module is carried out cyclic redundency check and obtains the calibration sign indicating number from said Data Update server data downloaded; One second comparison module, whether be used for comparison consistent from the file cyclic redundency check sign indicating number that said Data Update server reads with read module by the calibration sign indicating number that said data processing module draws; One update module is used for when the second comparison module comparative result is unanimity, substituting current data in the STB with said download module from said Data Update server data downloaded.
Said read module comprises variable, is used to store version information and the file cyclic redundency check sign indicating number that reads from said Data Update server.
The said read module or first comparison module comprise variable, are used for the current version information of memory machine top box.
Said download module or data processing module comprise variable, are used to store the data that download to from said Data Update server.
Said Data Update server can be any computer that is connected on the internet, and STB carries out communication through internet and this server.
Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with accompanying claims.

Claims (10)

1. STB method that Updates Information automatically, it is characterized in that: it may further comprise the steps:
Connect network and pass through network connection data update service device;
Read version information and file cyclic redundency check sign indicating number from said Data Update server;
Whether more said version information is consistent with said STB current version information;
As being not, from said Data Update server data download;
Said data are carried out cyclic redundency check, and whether the calibration sign indicating number that is relatively obtained is consistent with the file cyclic redundency check sign indicating number that reads from said Data Update server;
As for being to Update Information.
2. method according to claim 1; It is characterized in that: describedly read the step of version information and file cyclic redundency check sign indicating number, further comprise: version information that reads and file cyclic redundency check sign indicating number are stored in respectively in two variablees from the Data Update server.
3. method according to claim 2; It is characterized in that: described more said version information whether with the consistent step of said STB current version information, specifically comprise: more said version information whether be stored in same variable or another variable in advance in STB current version information consistent.
4. according to the arbitrary described method of claim 1 to 3; It is characterized in that: after the whether consistent step of described more said version information with said STB current version information; Also comprise step: like judged result for being, finish to upgrade and prompting user version information consistent.
5. method according to claim 1 and 2; It is characterized in that: described data are carried out cyclic redundency check; And after the whether consistent step of the calibration sign indicating number that is relatively obtained with the file cyclic redundency check sign indicating number that reads from said Data Update server; Also comprise step: for not, point out the user to upgrade failure like judged result.
6. method according to claim 2; It is characterized in that: described data are carried out cyclic redundency check; And the calibration sign indicating number that is relatively obtained whether with the consistent step of file cyclic redundency check sign indicating number that reads from said Data Update server; Specifically comprise: data are carried out cyclic redundency check, and whether the calibration sign indicating number that is relatively obtained is consistent with the described file cyclic redundency check sign indicating number that is stored in the said variable.
7. STB system that Updates Information automatically, it is characterized in that: it comprises
One read module is used for reading version information and file cyclic redundency check sign indicating number from said Data Update server;
One first comparison module, whether be used for the comparison read module consistent with said STB current version information from the version information that said Data Update server reads;
One downloads module, is used for when the first comparison module comparative result when being inconsistent, from said Data Update server data download;
One data processing module is used for download module is carried out cyclic redundency check and obtains the calibration sign indicating number from said Data Update server data downloaded;
One second comparison module, whether be used for comparison consistent from the file cyclic redundency check sign indicating number that said Data Update server reads with read module by the calibration sign indicating number that said data processing module draws;
One update module is used for when the second comparison module comparative result is unanimity, substituting current data in the STB with said download module from said Data Update server data downloaded.
8. system according to claim 7 is characterized in that: said read module comprises variable, is used to store version information and the file cyclic redundency check sign indicating number that reads from said Data Update server.
9. system according to claim 7 is characterized in that: the said read module or first comparison module comprise variable, are used for the current version information of memory machine top box.
10. system according to claim 7 is characterized in that: said download module or data processing module comprise variable, are used to store the data that download to from said Data Update server.
CN201110237623A 2011-08-18 2011-08-18 Method for set-top box to automatically update data and system Pending CN102316376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110237623A CN102316376A (en) 2011-08-18 2011-08-18 Method for set-top box to automatically update data and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110237623A CN102316376A (en) 2011-08-18 2011-08-18 Method for set-top box to automatically update data and system

Publications (1)

Publication Number Publication Date
CN102316376A true CN102316376A (en) 2012-01-11

Family

ID=45429136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110237623A Pending CN102316376A (en) 2011-08-18 2011-08-18 Method for set-top box to automatically update data and system

Country Status (1)

Country Link
CN (1) CN102316376A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102630046A (en) * 2012-03-13 2012-08-08 深圳市九洲电器有限公司 Data acquisition system, method, set-top box, network server
CN103365736A (en) * 2013-06-05 2013-10-23 青岛海信宽带多媒体技术有限公司 Set top box and method for updating character library of set top box
CN103517141A (en) * 2013-10-11 2014-01-15 成都三零凯天通信实业有限公司 Sectional type data upgrading method based on IP set top box
CN104038819A (en) * 2014-05-30 2014-09-10 四川长虹电器股份有限公司 Software upgrading system and method of digital set-top box
CN105468383A (en) * 2014-07-21 2016-04-06 上海庆科信息技术有限公司 Data upgrading method and device
CN110740377A (en) * 2019-10-22 2020-01-31 广东长虹电子有限公司 channel searching method using network, satellite television and operation system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719977A (en) * 2009-11-17 2010-06-02 四川长虹电器股份有限公司 Method for updating functional modules of set-top box
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)
CN101945208A (en) * 2010-09-20 2011-01-12 青岛有线电视网络中心 Method for upgrading terminal set-top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719977A (en) * 2009-11-17 2010-06-02 四川长虹电器股份有限公司 Method for updating functional modules of set-top box
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)
CN101945208A (en) * 2010-09-20 2011-01-12 青岛有线电视网络中心 Method for upgrading terminal set-top box

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾浩,吕华,王铭伟: "《IPTV机顶盒升级方案的设计与实现》", 《电视技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102630046A (en) * 2012-03-13 2012-08-08 深圳市九洲电器有限公司 Data acquisition system, method, set-top box, network server
CN102630046B (en) * 2012-03-13 2015-07-15 深圳市九洲电器有限公司 Data acquisition system, method, set-top box, network server
CN103365736A (en) * 2013-06-05 2013-10-23 青岛海信宽带多媒体技术有限公司 Set top box and method for updating character library of set top box
CN103517141A (en) * 2013-10-11 2014-01-15 成都三零凯天通信实业有限公司 Sectional type data upgrading method based on IP set top box
CN104038819A (en) * 2014-05-30 2014-09-10 四川长虹电器股份有限公司 Software upgrading system and method of digital set-top box
CN105468383A (en) * 2014-07-21 2016-04-06 上海庆科信息技术有限公司 Data upgrading method and device
CN110740377A (en) * 2019-10-22 2020-01-31 广东长虹电子有限公司 channel searching method using network, satellite television and operation system

Similar Documents

Publication Publication Date Title
CN102316376A (en) Method for set-top box to automatically update data and system
CN1293466C (en) Implementation of in-system programming to update firmware on memory cards
CN103699421A (en) Method and device for upgrading embedded device system
CN107193612B (en) Version upgrading method and device for mobile terminal
JP2007528534A (en) Using a loader to notify system software update services
CN104199706A (en) Firmware upgrade method and device for eMMC
US20160321063A1 (en) Method and Device for Making Differential Upgrade Package, and Method and Device for System Differential Upgrading
US20160170735A1 (en) Operating system updating method by using a checklist
CN105335181A (en) OTA upgrade realization method and terminal
CN101459528A (en) On-line up-grading method and system for network terminal device
CN102004657B (en) A kind of electronic equipment and upgrade method thereof
CN107391143B (en) T-Box remote upgrading method
CN101800840B (en) Set top box upgrading method
CN104461667B (en) The brush machine method and apparatus of intelligent terminal
CN105446769A (en) Mirror image file update processing method and apparatus and terminal device
CN104536876A (en) An Android platform based automatically updating and testing method and system
CN103164247A (en) Method and device for automatically repairing system application
CN105391763A (en) Method and server for reinforcing a plurality of apk files
CN103442272A (en) System upgrading method
CN101605202B (en) Method and device for upgrading set-top box software
CN104915234A (en) Android mobile terminal upgrade reported method and system
CN105024843A (en) Cable modem, server and firmware upgrading method
CN105700918A (en) System upgrading method and device
CN103840968A (en) Version updating method, version updating device and terminal equipment
CN101299190B (en) Software upgrading method, system and built-in equipment of read-only file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: ZHUHAI GOTECH ELECTRONIC TECHNOLOGY CO., LTD. TO: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 519000 Guangdong city in Zhuhai Province town of Red Bay Area Yongda Road No. 66 No. 2 building

Applicant after: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD.

Address before: 2, No. fourth, No. 519090 workshop, Xiangzhou science and Technology Industrial Zone, No. 2372 Hua Xi Road, Guangdong, Zhuhai

Applicant before: Zhuhai Gotech Electronic Technology Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120111