CN102289383A - Method for upgrading software of set top box - Google Patents

Method for upgrading software of set top box Download PDF

Info

Publication number
CN102289383A
CN102289383A CN2011102829025A CN201110282902A CN102289383A CN 102289383 A CN102289383 A CN 102289383A CN 2011102829025 A CN2011102829025 A CN 2011102829025A CN 201110282902 A CN201110282902 A CN 201110282902A CN 102289383 A CN102289383 A CN 102289383A
Authority
CN
China
Prior art keywords
top box
upgrading
disk
usb
tabulation
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
CN2011102829025A
Other languages
Chinese (zh)
Other versions
CN102289383B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201110282902.5A priority Critical patent/CN102289383B/en
Publication of CN102289383A publication Critical patent/CN102289383A/en
Application granted granted Critical
Publication of CN102289383B publication Critical patent/CN102289383B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a method for upgrading software of a set top box, comprising the steps of: arranging an upgrading mark which is started by an operator in a software program of the set top box and detecting the upgrading mark in a start program of the set top box; acquiring upgrading information input by a USB (Universal Serial Bus) port after the start program of the set top box detects that the upgrading mark is started; selecting contents to be upgraded by the operator according to the collected upgrading information displayed on display equipment; and upgrading the selected contents by the set top box. By means of the method for upgrading the software of the set top box, the phenomenon that hardware detection is carried out on a USB disc or files on the USB disc during each starting of the set top box is avoided, the start time of the set top box is shortened, the start speed of the set top box is markedly increased when being in normal situation and the USB disc is inserted without upgrading, and the upgrading manner can be processed when a plurality of USB discs are inserted into the set top box.

Description

The method of updating set-top box software
Technical field
The present invention relates to the method for updating set-top box software, is a kind ofly to carry out software upgrade method by USB interface concretely.
Background technology
Along with the Digital Television industry development of globalization, digital TV set-top box has spread to each family, becomes household requisites.Along with the increase of use amount, people are more and more higher to the performance requirement of set-top box.Therefore the configuration of set-top box is also more and more higher, and the memory capacity of set-top box, memory size are also increasing, and it is more and more that USB interface, network interface, HDMI (HDMI) etc. use on the set-top box of height configuration.Yet set-top box is the same with computer, and its software neither be unalterable, and along with the development of set-top box technique, the renewal of its software is also more and more frequent.Use more upgrade method that OTA (Over The Air) upgrading, network download upgrading, USB upgrading, serial ports upgrading are arranged at present.Along with the change gradually of software is big, serial ports upgrading is because too slow being eliminated gradually of data download speed, network download needs digital-TV operator to place upgrade file on network, and at the set-top box end its network address and successful connection need be set could upgrade by the download and upgrade file, also is the upgrading mode of more complicated for the user.The OTA upgrading is maximum upgrading mode of using at present, needs digital-TV operator to broadcast upgrading stream at front end.When front end was not broadcast upgrading stream, set-top box can't be upgraded.USB upgrading mode is effectively replenishing of OTA upgrading mode.Though its upgrading mode that to be a kind of user of needs initiatively participate in, but its is simple to operate, only needs the user that upgrade file is deposited on the USB disk, or deposits under the assigned catalogue of USB disk, then the USB disk is inserted on the set-top box, it is just passable to open set-top box again.Common, whether the set-top box detection has the USB upgrading all is to finish in start-up routine, whether start-up routine can insert the USB disk by the automatic detecting machine top box, if detected the USB disk, detects whether the upgrade file that needs is arranged on the disk again.Set-top box is started shooting at every turn like this, and all this takes time removes to detect the USB disk, and when not inserting the USB disk, when perhaps not having upgrade file on the USB disk, the normal startup of set-top box will be slack-off, and this runs counter to the development trend that allows set-top box start fast.
Summary of the invention
The invention provides a kind of method of updating set-top box software, can solve conventional set-top box owing to the upgrade file that detects on the USB causes the slack-off problem of normal starting up speed, and can handle the upgrading mode that has a plurality of USB disks to insert when set-top box.
The method of updating set-top box software of the present invention comprises:
In the software program of set-top box, be provided with the upgrading sign, described upgrading sign is opened by set-top box button or telepilot by the operator, after the upgrading sign was unlocked, the expression operator prepared set-top box is upgraded, and this upgrading is identified in the set-top box start-up routine and detects;
After the start-up routine of set-top box detects upgrading and is designated unlatching, collect upgrade information by the USB port input;
The upgrade information of collecting is shown on display device normally the mode with on-screen menu shows, the operator need to select the content of upgrading according to the upgrade information that shows, the mode of selection is preferably controlled by directionkeys on the telepilot and acknowledgement key.
Set-top box is upgraded to selected content, and the method for upgrading can be consistent with classic method.
A kind of preferred upgrade step comprises: the selected upgrading content of program read operation person is in the internal memory of set-top box, if this process is made mistakes or the operator has removed corresponding USB disk in this process, set-top box stops upgrading, can allow the operator select the operation that continues then, also can directly restart.
Upgrading content in the internal memory is written in the medium of permanent storage of set-top box, set-top box is upgraded system file.Can allow the operator select the operation that continues after renewal is finished, also can directly restart.
A kind of mode of preferred collection upgrade information comprises: close the upgrading sign; ROMPaq is created disk tabulation and upgrade file tabulation, includes USB port number in disk tabulation and upgrade file tabulation, and USB port number is to tabulate and upgrade file finds the sign of same USB disc information in tabulating at disk; The operator inserts the USB disk, ROMPaq deposits the information of the USB disk that inserted in the described disk tabulation in, and according to the USB port of being stored in the disk tabulation USB disk is scanned, the information of the upgrade file in the USB disk is deposited in the upgrade file tabulation.The USB disk also can insert before the starter motor top box.
Concrete, the information that comprises in the disk tabulation has USB port number and USB disk name.The information that comprises in the upgrade file tabulation has USB port number, upgrade file path, upgrade file title, upgrade file size.
Sometimes upgrade file may be stored in a plurality of USB disks, set-top box just can be upgraded after the each several part of upgrade file in a plurality of USB disks all need being read, therefore the USB disk that comprises upgrade file of operator's insertion can be at least 2, each USB port number all can deposit in the disk tabulation, program can be according to the USB port in the disk list information, disk file on the scanning port one by one finds the various piece of ROMPaq.
Further, after the USB disk that inserts was removed, ROMPaq was according to the USB port that is removed number, found upgrade file tabulation and disk to have the data of identical USB port number in tabulating, and with this data deletion.
After having deleted above-mentioned data, if the disk tabulation for empty, is represented to have removed all USB disks, then delete upgrade file tabulation and disk tabulation, withdraw from the program of collecting the USB disc information.
In order to make system more intelligent, save various resources, a kind of preferred scheme has not detected the USB disk within a certain period of time for after set-top box enters ROMPaq, then withdraws from ROMPaq.
On this basis, the upgrading content of display device demonstration comprises Disk name, upgrade file title and upgrade file path.
The method of updating set-top box software of the present invention, all to carry out hardware detection when having avoided set-top box to start to the file on USB disk or the USB disk at every turn, shortened the start-up time of set-top box, significantly improve in normal condition and have the USB disk to insert but the toggle speed of set-top box when not upgrading, and can handle the upgrading mode when set-top box has a plurality of USB disks to insert.
Below in conjunction with the embodiment of embodiment, foregoing of the present invention is described in further detail again.But this should be interpreted as that the scope of the above-mentioned theme of the present invention only limits to following example.Do not breaking away under the above-mentioned technological thought situation of the present invention, various replacements or change according to ordinary skill knowledge and customary means are made all should comprise within the scope of the invention.
Embodiment
The method of updating set-top box software of the present invention comprises:
In the software program of set-top box, be provided with the upgrading sign, described upgrading sign is opened by set-top box button or telepilot by the operator, after the upgrading sign was unlocked, the expression operator prepared set-top box is upgraded, and this upgrading is identified in the set-top box start-up routine and detects;
After the start-up routine of set-top box detects upgrading and is designated unlatching, collect upgrade information by the USB port input.In order to make system more intelligent, save various resources, after set-top box enters ROMPaq, do not detected the USB disk within a certain period of time, then withdraw from ROMPaq, normally start again.
The step that set-top box is collected upgrade information is: close the upgrading sign; ROMPaq is created disk tabulation and upgrade file tabulation, and the information that comprises in the disk tabulation has USB port number and USB disk name, and the information that upgrade file comprises in tabulating has USB port number, upgrade file path, upgrade file title, upgrade file size.USB port number is to find the sign of same USB disc information respectively in disk tabulation and upgrade file are tabulated; The operator inserts the USB disk, the USB disk can for 1 also can be for a plurality of, ROMPaq deposits the information of the USB disk that inserted in the described disk tabulation in, and according to the USB port of being stored in the disk tabulation USB disk is scanned, the information of the upgrade file in the USB disk is deposited in the upgrade file tabulation.
In collecting the process of upgrade information, after the USB disk that inserts was removed, ROMPaq was according to the USB port that is removed number, found upgrade file tabulation and disk to have the data of identical USB port number in tabulating, and with this data deletion.
After having deleted above-mentioned data, if the disk tabulation for empty, is represented to have removed all USB disks, then delete upgrade file tabulation and disk tabulation, withdraw from the program of collecting the USB disc information.
Then the upgrade information of collecting is shown on display device that normally the mode with on-screen menu shows, the information of demonstration comprises Disk name, upgrade file title and upgrade file path.The operator need to select the content of upgrading according to the upgrade information that shows by directionkeys on the telepilot and acknowledgement key.
Set-top box is upgraded to selected content, the method of upgrading comprises: the selected upgrading content of program read operation person is in the internal memory of set-top box, if this process is made mistakes or the operator has removed corresponding USB disk in this process, set-top box stops upgrading, can allow the operator select the operation that continues then, also can directly restart.
Upgrading content in the internal memory is written in the medium of permanent storage of set-top box, can remove the USB disk of insertion this moment, and set-top box is upgraded system file, and update method is identical with existing method.Can allow the operator select the operation that continues after renewal is finished, also can directly restart.

Claims (10)

1. the method for updating set-top box software is characterized by and comprises:
Be provided with the upgrading sign in the software program of set-top box, described upgrading sign is opened by the operator, and in the set-top box start-up routine this upgrading sign is detected;
After the start-up routine of set-top box detects upgrading and is designated unlatching, collect upgrade information by the USB port input;
The operator need to select the content of upgrading according to the upgrade information of collecting that shows on the display device;
Set-top box is upgraded to selected content.
2. the method for updating set-top box software according to claim 1, it is characterized by set-top box comprises the upgrade step of selected content: the selected upgrading content of program read operation person is in the internal memory of set-top box, if this process is made mistakes or the operator has removed corresponding USB disk in this process, set-top box stops upgrading;
Upgrading content in the internal memory is written in the medium of permanent storage of set-top box, set-top box is upgraded system file.
3. the method for updating set-top box software according to claim 1 is characterized by described collection upgrade information and comprises:
Close the upgrading sign;
ROMPaq is created disk tabulation and upgrade file tabulation, includes USB port number in disk tabulation and upgrade file are tabulated;
The operator inserts the USB disk, ROMPaq deposits the information of the USB disk that inserted in the described disk tabulation in, and according to the USB port of being stored in the disk tabulation USB disk is scanned, the information of the upgrade file in the USB disk is deposited in the upgrade file tabulation.
4. as the method for updating set-top box software as described in the claim 3, it is characterized by the information that comprises in the described disk tabulation has USB port number and USB disk name.
5. as the method for updating set-top box software as described in the claim 3, it is characterized by the information that comprises in the described upgrade file tabulation has USB port number, upgrade file path, upgrade file title, upgrade file size.
6. as the method for updating set-top box software as described in the claim 3, it is characterized by the USB disk that comprises upgrade file that the operator inserts and be at least 2.
7. the method for updating set-top box software according to claim 1, it is characterized by after the USB disk that inserts is removed, ROMPaq is according to the USB port that is removed number, finds upgrade file tabulation and disk to have the data of identical USB port number in tabulating, and with this data deletion.
8. as the method for updating set-top box software as described in the claim 7, it is characterized by the described data of deletion after, if upgrade file tabulation and disk tabulation, are then deleted in the disk tabulation for empty, withdraw from the program of collection USB disc information.
9. as the method for updating set-top box software as described in one of claim 1 to 8, it is characterized by after set-top box enters ROMPaq, do not detected the USB disk within a certain period of time, then withdraw from ROMPaq.
10. as the method for updating set-top box software as described in one of claim 1 to 8, it is characterized by the upgrading content that display device shows and comprise Disk name, upgrade file title and upgrade file path.
CN201110282902.5A 2011-09-22 2011-09-22 Method for upgrading software of set top box Expired - Fee Related CN102289383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110282902.5A CN102289383B (en) 2011-09-22 2011-09-22 Method for upgrading software of set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110282902.5A CN102289383B (en) 2011-09-22 2011-09-22 Method for upgrading software of set top box

Publications (2)

Publication Number Publication Date
CN102289383A true CN102289383A (en) 2011-12-21
CN102289383B CN102289383B (en) 2014-04-02

Family

ID=45335836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110282902.5A Expired - Fee Related CN102289383B (en) 2011-09-22 2011-09-22 Method for upgrading software of set top box

Country Status (1)

Country Link
CN (1) CN102289383B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724593A (en) * 2012-06-08 2012-10-10 深圳市九洲电器有限公司 Method for preventing pirating software of sample set top box and set top box
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN103268235A (en) * 2013-04-23 2013-08-28 青岛海信宽带多媒体技术有限公司 Intelligent installation method of application programs of network set-top box based on Android platform
CN103544031A (en) * 2013-08-27 2014-01-29 Tcl集团股份有限公司 Android system updating method and system of multi-partition external storage equipment
CN103744712A (en) * 2014-01-28 2014-04-23 北京经纬恒润科技有限公司 Method and device for updating application program
CN105208447A (en) * 2015-09-28 2015-12-30 北京赛科世纪科技股份有限公司 Set top box upgrading method and device and set top box
WO2016000355A1 (en) * 2014-06-30 2016-01-07 中兴通讯股份有限公司 Terminal upgrade method and device
WO2018036073A1 (en) * 2016-08-24 2018-03-01 青岛歌尔声学科技有限公司 Usb-based method and device for upgrading electronic apparatus, and electronic apparatus
CN113849209A (en) * 2021-09-22 2021-12-28 北京东土科技股份有限公司 Method, device, equipment and storage medium for updating switch software

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949169A (en) * 2006-10-19 2007-04-18 康佳集团股份有限公司 TV software upgrading method
US20080120347A1 (en) * 2006-11-22 2008-05-22 The Directv Group, Inc. Method and system for updating file segments of content on a portable media player device
CN101719977A (en) * 2009-11-17 2010-06-02 四川长虹电器股份有限公司 Method for updating functional modules of set-top box
CN102170539A (en) * 2011-05-18 2011-08-31 深圳创维-Rgb电子有限公司 Television and starting LOGO upgrading method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949169A (en) * 2006-10-19 2007-04-18 康佳集团股份有限公司 TV software upgrading method
US20080120347A1 (en) * 2006-11-22 2008-05-22 The Directv Group, Inc. Method and system for updating file segments of content on a portable media player device
CN101719977A (en) * 2009-11-17 2010-06-02 四川长虹电器股份有限公司 Method for updating functional modules of set-top box
CN102170539A (en) * 2011-05-18 2011-08-31 深圳创维-Rgb电子有限公司 Television and starting LOGO upgrading method thereof

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724593A (en) * 2012-06-08 2012-10-10 深圳市九洲电器有限公司 Method for preventing pirating software of sample set top box and set top box
CN102724593B (en) * 2012-06-08 2015-05-06 深圳市九洲电器有限公司 Method for preventing pirating software of sample set top box and set top box
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN103268235A (en) * 2013-04-23 2013-08-28 青岛海信宽带多媒体技术有限公司 Intelligent installation method of application programs of network set-top box based on Android platform
CN103544031A (en) * 2013-08-27 2014-01-29 Tcl集团股份有限公司 Android system updating method and system of multi-partition external storage equipment
CN103544031B (en) * 2013-08-27 2017-07-11 Tcl集团股份有限公司 The android system upgrade method and system of multi partition peripheral storage device
CN103744712A (en) * 2014-01-28 2014-04-23 北京经纬恒润科技有限公司 Method and device for updating application program
WO2016000355A1 (en) * 2014-06-30 2016-01-07 中兴通讯股份有限公司 Terminal upgrade method and device
CN105208447A (en) * 2015-09-28 2015-12-30 北京赛科世纪科技股份有限公司 Set top box upgrading method and device and set top box
WO2018036073A1 (en) * 2016-08-24 2018-03-01 青岛歌尔声学科技有限公司 Usb-based method and device for upgrading electronic apparatus, and electronic apparatus
CN113849209A (en) * 2021-09-22 2021-12-28 北京东土科技股份有限公司 Method, device, equipment and storage medium for updating switch software

Also Published As

Publication number Publication date
CN102289383B (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN102289383B (en) Method for upgrading software of set top box
US20070204089A1 (en) Multi-protocol removable storage device
WO2016070534A1 (en) Method and system for scanning local media file
US20090024757A1 (en) Automatic Protocol Determination For Portable Devices Supporting Multiple Protocols
EP2806360B1 (en) Method and apparatus for executing software applications
CN102043655A (en) Method and system for carrying out advanced uninstall on software
CN102968335A (en) Terminal and terminal memory management method
CN101183380B (en) Content filtering method and device therefore
CN102929555A (en) Terminal and application program uninstalling method
CN102495740A (en) Method for updating MAC (Media Access Control) address, HDCPKEY (High-bandwidth Digital Content Protection Key) and television ID (Identity) by utilizing mobile storage equipment
CN109063149A (en) A kind of method of personalized push screen protection picture
US9355101B2 (en) Boot in a media player with external memory
CN101281471A (en) Multifunction computer maintenance start-up U disk and manufacturing method thereof
CN103840963B (en) Method and device for updating server data
CN1871654B (en) firmware update data distributing method, playing apparatus and automatic updating method
CN103617209A (en) File management method and file management device for mobile terminal
CN102073519A (en) Software updating method
CN104581231B (en) Pick up by oneself cabinet advertisement machine control system and method
US7962711B2 (en) Pre-caching files from removable device to expedite perceived download performance
CN110609710B (en) Android system starting speed control method, intelligent device and storage medium
EP1971908B1 (en) Firmware updates on media
US9542398B2 (en) Electronic apparatus
CN113691884A (en) Television-based KEY burning processing method and device, intelligent terminal and medium
CN1734419A (en) Software updating apparatus and method for digital video record system
KR100771251B1 (en) Automatical virtual cd-rom implementing pgogram recorded computer-readable recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402

CF01 Termination of patent right due to non-payment of annual fee