CN103049290A - Method for automatically updating and installing STB (Set Top Box) software by USB (Universal Serial Bus) - Google Patents
Method for automatically updating and installing STB (Set Top Box) software by USB (Universal Serial Bus) Download PDFInfo
- Publication number
- CN103049290A CN103049290A CN2012105298802A CN201210529880A CN103049290A CN 103049290 A CN103049290 A CN 103049290A CN 2012105298802 A CN2012105298802 A CN 2012105298802A CN 201210529880 A CN201210529880 A CN 201210529880A CN 103049290 A CN103049290 A CN 103049290A
- Authority
- CN
- China
- Prior art keywords
- file
- installation
- read
- usb
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a method for installing STB software, particularly to a method for automatically updating and installing the STB software by USB. Firstly, an installation sign file is read, analyzed and checked. If the checking result is correct, a corresponding chart of a system partition and an installation file in a USB storage device is read and the installation file is read and wrote in the corresponding system partition. According to the method, an operating system and the related application software are capable of being upgraded and installed under the condition that the STB is not provided with the operating system. An upgrading installing file can be stored in different storage devices so that when users download programs to upgrade and install software conveniently, the installation progress can be displayed and user experience can be optimized.
Description
Technical field
The present invention relates to the method that a kind of set-top box software is installed, particularly a kind of set-top box software is by the method for the automatic update contruction of USB.
Background technology
At present at digital TV field, by the USB mounting software, two kinds of methods are arranged: one for to install in application layer, namely after operating system and file system operation, detect the USB storage content and trigger installation, this kind method namely can't be carried out automatic software updating and installation when without operating system or file system; Two is in the application layer-triggered upgrading, writes Installation Mark in environmental variance, and then set-top box is restarted rear judgement Installation Mark upgrading, and this kind method namely can't be carried out automatic software updating and installation when without operating system or file system.
Summary of the invention
In order to overcome deficiency of the prior art, we provide the method for a kind of set-top box software by the automatic update contruction of USB.
According to the design proposal that invention provides, a kind of set-top box software comprises following steps by the method for the automatic update contruction of USB:
Step 1: read the Installation Mark file, read the Installation Mark file that is connected in the set-top box USB interface memory device;
Step 2: resolve the Installation Mark file that also verification is read, if check results is correct, then enter next step, otherwise starter motor top box application program;
Step 3: read the corresponding table with installation file of system partitioning in the USB memory device;
Step 4: read installation file and write in the corresponding system partitioning according to installation file extension name or installation file type.
Also comprise the step that judges whether to exist the Installation Mark file; Judge whether that having the step of Installation Mark file is to judge by file size and file extension; If there is the Installation Mark file, then enter step 1, otherwise direct starter motor top box application program.
Also comprise the step of automatically searching installation file, the described installation file that reads is automatically to search installation file according to file extension and file type, if there is installation file, then reads this document; Read the corresponding table with installation file of system partitioning in the USB memory device otherwise return.
Describedly return that to read in the USB memory device the corresponding table with installation file of system partitioning be to return the step of automatically searching installation file and continue to search, can not repeat to search the file of having searched this moment.
Described read installation file and write corresponding system partitioning comprise that reading installation progress shows.
Beneficial effect of the present invention:
Set-top box software of the present invention can be realized by USB installing operating system and relative application software in the situation that does not have the system softwares such as operating system by the method for the automatic update contruction of USB, and can upgrade at any time the part or all of of these softwares, and in power down or install unsuccessfully to wait and again to carry out software under the various conditions and install, the mistake of artificially selecting installation file to occur is avoided in the installation process robotization.
The present invention carries out the auto-update mounting software by USB interface, updating speed is fast, need not specific installation, cost is low, and the USB interface highly versatile, the update file can be stored on the various memory devices, makes things convenient for user oneself to download and carries out the update of software.
The present invention shows installation progress, so that the user can grasp installation progress in real time, avoids the user to grow and can't in time be fed back and cause spiritual anxiety because of the stand-by period, and optimizing user is experienced.
Description of drawings:
Fig. 1 is the embodiment of the method process flow diagram that set-top box software of the present invention is installed by the USB auto-update.
Embodiment:
Referring to Fig. 1, present embodiment is according to flow process shown in Figure 1, starter motor top box BOOT boot, whether set-top box can insert extraneous memory device by automatic decision, if there is not direct starter motor top box application program, if memory device is arranged, then at first read whether there is the Installation Mark file in the memory device, judge that by file size and file extension the Installation Mark file is empty file and fixing extension name is arranged; Then, resolve the Installation Mark file that also verification is read, if check results mistake, direct starter motor top box application program, if check results correctly then reads the corresponding table with installation file of system partitioning in the USB memory device, comprise partition name, subregion start address, partition size, installation file name and file type, the following form of the corresponding table with installation file of system partitioning standard in the present embodiment:
Secondly, read installation file and write in the corresponding system partitioning according to installation file extension name or installation file type.
Also comprise the step of automatically searching installation file, the described installation file that reads is automatically to search installation file according to file extension and file type, if there is installation file, then reads this document; Read the corresponding table with installation file of system partitioning in the USB memory device otherwise return.
Describedly return that to read in the USB memory device the corresponding table with installation file of system partitioning be to return the step of automatically searching installation file and continue to search, can not repeat to search the file of having searched this moment, if without installation file, then installs, can pull out memory device, restart set-top box and use.
Read installation file and write corresponding system partitioning and comprise that reading installation progress shows.
Claims (5)
1. a set-top box software is characterized in that: comprise following steps by the method for the automatic update contruction of USB:
Step 1: read the Installation Mark file, read the Installation Mark file that is connected in the set-top box USB interface memory device;
Step 2: resolve the Installation Mark file that also verification is read, if check results is correct, then enter next step, otherwise starter motor top box application program;
Step 3: read the corresponding table with installation file of system partitioning in the USB memory device;
Step 4: read installation file and write in the corresponding system partitioning according to installation file extension name or installation file type.
2. set-top box software according to claim 1 is characterized in that: also comprise the step that judges whether to exist the Installation Mark file by the method for the automatic update contruction of USB; Judge whether that having the step of Installation Mark file is to judge by file size and file extension; If there is the Installation Mark file, then enter step 1, otherwise direct starter motor top box application program.
3. set-top box software according to claim 1 is by the method for the automatic update contruction of USB, it is characterized in that: also comprise the step of automatically searching installation file, the described installation file that reads is automatically to search installation file according to file extension and file type, if there is installation file, then read this document; Read the corresponding table with installation file of system partitioning in the USB memory device otherwise return.
4. set-top box software according to claim 3 is by the method for the automatic update contruction of USB, it is characterized in that: describedly return that to read in the USB memory device the corresponding table with installation file of system partitioning be to return the step of automatically searching installation file and continue to search, can not repeat to search the file of having searched this moment.
5. each described method by the automatic update contruction set-top box software of USB according to claim 1 ~ 4 is characterized in that: described read installation file and write corresponding system partitioning comprise that reading installation progress shows.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105298802A CN103049290A (en) | 2012-12-11 | 2012-12-11 | Method for automatically updating and installing STB (Set Top Box) software by USB (Universal Serial Bus) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105298802A CN103049290A (en) | 2012-12-11 | 2012-12-11 | Method for automatically updating and installing STB (Set Top Box) software by USB (Universal Serial Bus) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103049290A true CN103049290A (en) | 2013-04-17 |
Family
ID=48061942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105298802A Pending CN103049290A (en) | 2012-12-11 | 2012-12-11 | Method for automatically updating and installing STB (Set Top Box) software by USB (Universal Serial Bus) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103049290A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268235A (en) * | 2013-04-23 | 2013-08-28 | 青岛海信宽带多媒体技术有限公司 | Intelligent installation method of application programs of network set-top box based on Android platform |
CN104333787A (en) * | 2014-10-20 | 2015-02-04 | 中山恩普吉数码科技有限公司 | Novel network television set top box |
CN104410910A (en) * | 2014-12-10 | 2015-03-11 | 乐视致新电子科技(天津)有限公司 | Controlling method and device installing application of storage device in intelligent television |
CN104581397A (en) * | 2014-12-29 | 2015-04-29 | 四达时代通讯网络技术有限公司 | System upgrade method and device for android set-top box |
CN106878813A (en) * | 2017-03-17 | 2017-06-20 | 山东浪潮商用系统有限公司 | A kind of application program updating method and system in Set Top Box, Set Top Box |
CN108012170A (en) * | 2017-12-05 | 2018-05-08 | 晶晨半导体(上海)股份有限公司 | A kind of remote controler key assignments upgrade-system and method |
CN108235095A (en) * | 2018-01-17 | 2018-06-29 | 深圳创维数字技术有限公司 | Based on magnetic disk media set-top box startup/adjustment method, set-top box and storage medium |
CN110083378A (en) * | 2019-05-09 | 2019-08-02 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of software automatic updating method and device based on file system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201585034U (en) * | 2009-11-23 | 2010-09-15 | 福建新大陆通信科技有限公司 | System update device of plug-and-play digital set top box |
CN102111667A (en) * | 2009-12-25 | 2011-06-29 | 康佳集团股份有限公司 | Upgrading method of STB and STB |
CN102467395A (en) * | 2010-11-10 | 2012-05-23 | 英业达集团(天津)电子技术有限公司 | Method for installing operating system by using image file |
-
2012
- 2012-12-11 CN CN2012105298802A patent/CN103049290A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201585034U (en) * | 2009-11-23 | 2010-09-15 | 福建新大陆通信科技有限公司 | System update device of plug-and-play digital set top box |
CN102111667A (en) * | 2009-12-25 | 2011-06-29 | 康佳集团股份有限公司 | Upgrading method of STB and STB |
CN102467395A (en) * | 2010-11-10 | 2012-05-23 | 英业达集团(天津)电子技术有限公司 | Method for installing operating system by using image file |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268235A (en) * | 2013-04-23 | 2013-08-28 | 青岛海信宽带多媒体技术有限公司 | Intelligent installation method of application programs of network set-top box based on Android platform |
CN104333787A (en) * | 2014-10-20 | 2015-02-04 | 中山恩普吉数码科技有限公司 | Novel network television set top box |
CN104410910A (en) * | 2014-12-10 | 2015-03-11 | 乐视致新电子科技(天津)有限公司 | Controlling method and device installing application of storage device in intelligent television |
CN104581397A (en) * | 2014-12-29 | 2015-04-29 | 四达时代通讯网络技术有限公司 | System upgrade method and device for android set-top box |
CN104581397B (en) * | 2014-12-29 | 2018-04-27 | 北京四达时代软件技术股份有限公司 | The method for upgrading system and device of android set top box |
CN106878813A (en) * | 2017-03-17 | 2017-06-20 | 山东浪潮商用系统有限公司 | A kind of application program updating method and system in Set Top Box, Set Top Box |
CN108012170A (en) * | 2017-12-05 | 2018-05-08 | 晶晨半导体(上海)股份有限公司 | A kind of remote controler key assignments upgrade-system and method |
CN108235095A (en) * | 2018-01-17 | 2018-06-29 | 深圳创维数字技术有限公司 | Based on magnetic disk media set-top box startup/adjustment method, set-top box and storage medium |
CN108235095B (en) * | 2018-01-17 | 2020-12-08 | 深圳创维数字技术有限公司 | Set top box starting/debugging method based on disk medium, set top box and storage medium |
CN110083378A (en) * | 2019-05-09 | 2019-08-02 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of software automatic updating method and device based on file system |
CN110083378B (en) * | 2019-05-09 | 2023-08-04 | 中国航空工业集团公司西安航空计算技术研究所 | Automatic software upgrading method and device based on file system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103049290A (en) | Method for automatically updating and installing STB (Set Top Box) software by USB (Universal Serial Bus) | |
US10002054B2 (en) | Method and system for performing automatic system recovery | |
CN105760200A (en) | Terminal device and system updating method thereof | |
CN101860853A (en) | Software upgrading method and device | |
CN105373728A (en) | Advertisement prompting system and method | |
CN102662689A (en) | Method and system for upgrading embedded software based on USB interface | |
CN102609290B (en) | The method for upgrading software of electronic product | |
CN101316330A (en) | Method for upgrading television program | |
CN105760191A (en) | Embedded system equipment programming mass production method | |
CN103019797A (en) | Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface | |
CN102111654A (en) | Set-top box software upgrading method and set-top box | |
CN107798064B (en) | Page processing method, electronic device and computer readable storage medium | |
CN103365676B (en) | The method for upgrading software of communication equipment and device | |
CN103064812A (en) | Method and device for quick connection of mobile device and computer | |
CN111638916B (en) | General android mobile terminal driving system and method for data forensics | |
CN103164247A (en) | Method and device for automatically repairing system application | |
CN108984198A (en) | A kind of upgrade method and device of android system | |
CN104423993A (en) | Automotive electronic equipment software updating method and terminal and automotive electronic system | |
CN101969577A (en) | Method for automatically testing set top box | |
CN113900693A (en) | Firmware upgrading method, device and system, electronic equipment and storage medium | |
CN102622254A (en) | Method and system for processing television outage | |
CN113360161A (en) | Resource upgrading method and related product | |
CN103049292A (en) | Method for using universal serial bus (USB) flash disk for installing Linux system and USB flash disk | |
CN110618908A (en) | Method for quickly verifying screen and machine display interface | |
CN104090805B (en) | A kind of method, equipment and system for updating terminal operating 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130417 |