CN102289383B - Method for upgrading software of set top box - Google Patents
Method for upgrading software of set top box Download PDFInfo
- Publication number
- CN102289383B CN102289383B CN201110282902.5A CN201110282902A CN102289383B CN 102289383 B CN102289383 B CN 102289383B CN 201110282902 A CN201110282902 A CN 201110282902A CN 102289383 B CN102289383 B CN 102289383B
- Authority
- CN
- China
- Prior art keywords
- top box
- upgrading
- set top
- usb
- disk
- 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.)
- Active
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
Technical field
The present invention relates to the method for updating set-top box software, is a kind of method of carrying out software upgrading 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. apply in 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 at present more upgrade method to have OTA (Over The Air) upgrading, network to download upgrading, USB upgrading, serial ports upgrading.Along with the change gradually of software is large, serial ports upgrading is due to too slow being eliminated gradually of downloading data speed, network is downloaded needs digital-TV operator on network, to place upgrade file, and at Set Top Box end, its network address successful connection need to be set and could download upgrade file and upgrade, be also the upgrading mode of more complicated for user.OTA upgrading is maximum upgrading mode of using at present, needs digital-TV operator to broadcast upgrading stream at front end.When front end is not broadcast upgrading stream, Set Top Box cannot be upgraded.USB upgrading mode is effectively supplementing of OTA upgrading mode.Although its upgrading mode that to be a kind of user of needs initiatively participate in, but its is simple to operate, only needs user that upgrade file is deposited on USB disk, or deposit under the assigned catalogue of USB disk, then USB disk is inserted in Set Top Box, then uncapping machine top box is just passable.Common, whether Set Top Box detection has USB upgrading is all to complete in start-up routine, and whether start-up routine is understood automatic detecting machine top box insert USB disk, if USB disk detected, then detects the upgrade file that whether has needs on disk.All this takes time removes to detect USB disk for the each start of Set Top Box like this, and when not inserting USB disk, or while there is no upgrade file on 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 because the upgrade file detecting on USB causes the slack-off problem of normal starting up speed, and can process 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, comprising:
In the software program of Set Top Box, be provided with upgrading sign, described upgrading sign is opened by Set Top Box button or telepilot by operator, after upgrading sign is unlocked, represent that operator prepares Set Top Box to upgrade, this upgrading is identified in Set Top Box start-up routine and detects;
When the start-up routine of Set Top Box detects upgrading, be designated after unlatching, collect the upgrade information of being inputted by USB port;
The upgrade information of collecting is shown on display device, and normally the mode with on-screen menu shows, operator, according to the upgrade information showing, selects to need the content of upgrading, and the mode of selection is preferably controlled by the directionkeys on 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 operator has removed corresponding USB disk in this process, Set Top Box stops upgrading, then can allow operator select the operation continuing, also can directly restart.
Upgrading content in internal memory is written in the medium of permanent storage of Set Top Box, Set Top Box is upgraded system file.After renewal completes, can allow operator select the operation continuing, also can directly restart.
A kind of mode of preferred collection upgrade information comprises: close upgrading sign; ROMPaq creates disk list and updatingfile list, in disk list and updatingfile list, includes USB port number, and USB port number is in disk list and updatingfile list, to find the sign of same USB disc information; Operator inserts USB disk, ROMPaq deposits the information of inserted USB disk in described disk list in, and according to the USB port of storing in disk list, USB disk is scanned, the information of the upgrade file in USB disk is deposited in updatingfile list.USB disk also can insert before starter motor top box.
Concrete, the information that disk list comprises has USB port number and USB disk name.The information that updatingfile list comprises 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 need to all be read the each several part of upgrade file in a plurality of USB disks and just can be upgraded afterwards, therefore the USB disk that comprises upgrade file that operator inserts can be at least 2, each USB port number can deposit in disk list, program can be according to the USB port in disk list information, disk file in scanning port one by one, finds the various piece of ROMPaq.
Further, after the USB disk inserting is removed, ROMPaq is according to removed USB port number, finds the data in updatingfile list and disk list with identical USB port number, and these data are deleted.
After having deleted above-mentioned data, if disk list is empty, represent to have removed all USB disks, delete updatingfile list and disk list, exit the program of collecting USB disc information.
In order to make system more intelligent, save various resources, a kind of preferred scheme, for entering after ROMPaq when Set Top Box, has not detected USB disk within a certain period of time, exits ROMPaq.
On this basis, the upgrading content that display device shows comprises Disk name, upgrade file title and upgrade file path.
The method of updating set-top box software of the present invention, while having avoided Set Top Box to start, all to carry out hardware detection to the file on USB disk or USB disk at every turn, shortened the start-up time of Set Top Box, the toggle speed of Set Top Box when significantly improving in normal condition and having USB disk insert but do not upgrade, and can process 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 to the scope of the above-mentioned theme of the present invention only limits to following example.Without departing from the idea case in the present invention described above, various replacements or the change according to ordinary skill knowledge and customary means, made, all should comprise within the scope of the invention.
Embodiment
The method of updating set-top box software of the present invention, comprising:
In the software program of Set Top Box, be provided with upgrading sign, described upgrading sign is opened by Set Top Box button or telepilot by operator, after upgrading sign is unlocked, represent that operator prepares Set Top Box to upgrade, this upgrading is identified in Set Top Box start-up routine and detects;
When the start-up routine of Set Top Box detects upgrading, be designated after unlatching, collect the upgrade information of being inputted by USB port.In order to make system more intelligent, save various resources, when Set Top Box enters after ROMPaq, USB disk do not detected within a certain period of time, exit ROMPaq, re-start normal startup.
The step that Set Top Box is collected upgrade information is: close upgrading sign; ROMPaq creates disk list and updatingfile list, and the information that disk list comprises has USB port number and USB disk name, and the information that updatingfile list comprises has USB port number, upgrade file path, upgrade file title, upgrade file size.USB port number is in disk list and updatingfile list, to find respectively the sign of same USB disc information; Operator inserts USB disk, USB disk can for 1 also can be for a plurality of, ROMPaq deposits the information of inserted USB disk in described disk list in, and according to the USB port of storing in disk list, USB disk is scanned, the information of the upgrade file in USB disk is deposited in updatingfile list.
In collecting the process of upgrade information, after the USB disk inserting is removed, ROMPaq is according to removed USB port number, finds the data in updatingfile list and disk list with identical USB port number, and these data are deleted.
After having deleted above-mentioned data, if disk list is empty, represent to have removed all USB disks, delete updatingfile list and disk list, exit the program of collecting USB disc information.
Then the upgrade information of collecting is shown on display device, normally the mode with on-screen menu shows, the information of demonstration comprises Disk name, upgrade file title and upgrade file path.Operator, according to the upgrade information showing, selects to need the content of upgrading by the directionkeys on 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 operator has removed corresponding USB disk in this process, Set Top Box stops upgrading, then can allow operator select the operation continuing, also can directly restart.
Upgrading content in internal memory is written in the medium of permanent storage of Set Top Box, now can removes the USB disk of insertion, Set Top Box is upgraded system file, and update method is identical with existing method.After renewal completes, can allow operator select the operation continuing, also can directly restart.
Claims (8)
1. the method for updating set-top box software, is characterized by and comprise:
(1) in the software program of Set Top Box, be provided with upgrading sign, described upgrading sign is opened by operator, and in Set Top Box start-up routine, this upgrading sign is detected;
(2) when the start-up routine of Set Top Box detects upgrading, be designated after unlatching, collect the upgrade information of being inputted by USB port, the upgrade information that described collection is inputted by USB port comprises:
Close upgrading sign;
ROMPaq creates disk list and updatingfile list, in disk list and updatingfile list, includes USB port number;
Operator inserts at least 2 USB disks that comprise upgrade file, ROMPaq deposits the information of inserted USB disk in described disk list in, and according to the USB port of storing in disk list, USB disk is scanned, the information of the upgrade file in USB disk is deposited in updatingfile list;
(3) operator, according to the upgrade information of collecting showing on display device, selects to need the content of upgrading;
(4) Set Top Box is upgraded to selected content.
2. the method for updating set-top box software as claimed in 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 operator has removed corresponding USB disk in this process, Set Top Box stops upgrading;
Upgrading content in 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 as claimed in claim 1, it is characterized by information that described disk list comprises has USB port number and USB disk name.
4. the method for updating set-top box software as claimed in claim 1, it is characterized by information that described updatingfile list comprises has USB port number, upgrade file path, upgrade file title, upgrade file size.
5. the method for updating set-top box software as claimed in claim 1, it is characterized by after the USB disk inserting is removed, ROMPaq is according to removed USB port number, finds the data in updatingfile list and disk list with identical USB port number, and these data are deleted.
6. the method for updating set-top box software as claimed in claim 5, is characterized by and delete after described data, if disk list be empty, deletes updatingfile list and disk list, exits the program of collection USB disc information.
7. the method for updating set-top box software as described in one of claim 1 to 6, is characterized by and enter after ROMPaq when Set Top Box, USB disk do not detected within a certain period of time, exits ROMPaq.
8. the method for updating set-top box software as described in one of claim 1 to 6, is characterized by the upgrading content that display device shows and comprises Disk name, upgrade file title and upgrade file path.
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 CN102289383A (en) | 2011-12-21 |
CN102289383B true CN102289383B (en) | 2014-04-02 |
Family
ID=45335836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110282902.5A Active 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) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
CN105208446A (en) * | 2014-06-30 | 2015-12-30 | 中兴通讯股份有限公司 | Terminal upgrading method and apparatus |
CN105208447A (en) * | 2015-09-28 | 2015-12-30 | 北京赛科世纪科技股份有限公司 | Set top box upgrading method and device and set top box |
CN107783769A (en) * | 2016-08-24 | 2018-03-09 | 青岛歌尔声学科技有限公司 | A kind of method, apparatus and electronic equipment by USB upgrading electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949169A (en) * | 2006-10-19 | 2007-04-18 | 康佳集团股份有限公司 | TV software upgrading method |
US9317507B2 (en) * | 2006-11-22 | 2016-04-19 | 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 |
-
2011
- 2011-09-22 CN CN201110282902.5A patent/CN102289383B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102289383A (en) | 2011-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102289383B (en) | Method for upgrading software of set top box | |
CN102404628B (en) | A kind of method and apparatus of searching programs for digital television | |
US10055415B2 (en) | Methods and systems for deploying hardware files to a computer | |
EP1754228B1 (en) | Playback apparatus for performing application-synchronized playback | |
KR101217817B1 (en) | Method for synchronizing contents, apparatus and system using the same | |
JP4557759B2 (en) | Information processing apparatus, information processing method, and data update method | |
CN102073519B (en) | Software updating method | |
CN104811789B (en) | The management method and device of multimedia file | |
US9355101B2 (en) | Boot in a media player with external memory | |
CN1871654B (en) | firmware update data distributing method, playing apparatus and automatic updating 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 | |
JP2004062916A (en) | Information processor and its method, recording medium, and program | |
CN103840963B (en) | Method and device for updating server data | |
CN104581231B (en) | Pick up by oneself cabinet advertisement machine control system and method | |
CN114116611A (en) | File scanning method and related device | |
CN102736864A (en) | Method and device for formatting hard disk | |
EP2031524A1 (en) | Information-processing apparatus and control method thereof | |
CN110609710B (en) | Android system starting speed control method, intelligent device and storage medium | |
EP1971908B1 (en) | Firmware updates on media | |
JP4467012B2 (en) | Content recording / playback apparatus and content recording / playback method using the same | |
KR100771251B1 (en) | Automatical virtual cd-rom implementing pgogram recorded computer-readable recording medium | |
JP4709172B2 (en) | Information processing apparatus, control method, and program | |
JP2004336356A (en) | Management device and method for recorded program | |
CN103164485A (en) | Method and device for handling game relevance of game platform and game platform system | |
CN113691884A (en) | Television-based KEY burning processing method and device, intelligent terminal and 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 |