CN103517141A - Sectional type data upgrading method based on IP set top box - Google Patents
Sectional type data upgrading method based on IP set top box Download PDFInfo
- Publication number
- CN103517141A CN103517141A CN201310472184.7A CN201310472184A CN103517141A CN 103517141 A CN103517141 A CN 103517141A CN 201310472184 A CN201310472184 A CN 201310472184A CN 103517141 A CN103517141 A CN 103517141A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- top box
- set top
- file folder
- files
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a sectional type data upgrading method based on an IP set top box. An upgrading file folder is established at an upgrading server end, an upgrading patch is decompressed into the upgrading file folder, a plurality of files are generated after upgrading patch decompression; an IP set top box terminal carries out downloading verifying on the files in the upgrading file folder at the upgrading server end respectively and stores upgraded data in a FLASH storage of the IP set top box terminal. According to the method, the files in the upgrading file folder are subjected to downloading verifying respectively one by one, or large files in the upgrading file folder are subjected to downloading verifying section by section, and the files are written into corresponding FLASH data storage zones, the whole upgrading patch does not need to be downloaded to the FLASH storage, so that the IP set top box terminal does not need to reserve a large storage space for the upgrading patch, internal storage of the set top box is reduced, and meanwhile waste of a large amount of internal storage or FLASH storage resources is avoided, the phenomenon of set top box upgrading failure caused by the fact that the upgrading patch is too large is avoided, and upgrading performance is improved.
Description
Technical field
The present invention relates to a kind of upgrade method of Set Top Box, particularly relate to based on IP Set Top Box segmented data updating method.
Background technology
For a lot of IP Set Top Box, research and develop producer, the competition of IP Set Top Box, and the price of IP Set Top Box and performance are competition contents of paying close attention to the most.For IP Set Top Box, internal memory is valuable resource, also be much to research and develop the key factor that producer considers product cost and performance, more particularly need to be by the IP Set Top Box of network upgrade, a lot of resources in the application of internal memory, have been wasted, equally also increase the cost of product, thereby reduced the profit of product.Nowadays, a lot of IP Set Top Box research and development producer mainly considers to save cost on hardware and improves performance, and has ignored the cost savings that the optimization of software brings.
File to IP Set Top Box, escalation process in the past substantially: download whole AKU on the internal memory or flash memory of IP Set Top Box, the AKU that then Will downloads carries out decompress(ion), then writes in flash subregion.Bring like this waste of a large amount of internal memories or flash memory resource, in addition, if the file after AKU decompress(ion) is excessive, will inevitably take very large space, or cannot be to IP set top box upgrading.In order to guarantee carrying out smoothly of IP set top box upgrading, developer tends to as the reserved very large memory space of AKU, and this reserved memory space, only in upgrading, just can use, and in other situations, these resources, always in idle state, cause storage resources serious waste.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide a kind of and can effectively reduce Set Top Box memory source, reduce storage resources waste, improve upgrading performance based on IP Set Top Box segmented data updating method.
The object of the invention is to be achieved through the following technical solutions: based on IP Set Top Box segmented data updating method, it comprises the steps:
S1: set up a upgrade file folder at upgrade server end;
S2: AKU is unziped in this upgrade file folder, produce a plurality of files after AKU decompress(ion);
S3:IP STB terminal is downloaded respectively verification to each file in upgrade server end upgrade file folder and the data after upgrading is saved in the FLASH memory of IP STB terminal.
Further, at upgrade server end, the large file in upgrade file folder is carried out to segmentation, be divided into the small documents that a plurality of sizes are applicable to IP STB terminal size, the small documents of IP STB terminal after to segmentation downloaded respectively verification and the data after upgrading is saved in the FLASH memory of IP STB terminal.
The invention has the beneficial effects as follows: at upgrade file folder of upgrade server end assembly, AKU is unziped in this upgrade file folder, and the large file in upgrade file folder is carried out to segment processing, when IP STB terminal is upgraded, by each file in upgrade file folder is downloaded respectively to verification one by one, or the large file in upgrade file folder is downloaded to verification piecemeal, and write corresponding FLASH data storage area, without whole AKU is downloaded on FLASH memory, make IP STB terminal without being the reserved very large memory space of AKU, reduced the internal memory of Set Top Box, avoided the waste of a large amount of internal memories or FLASH memory resource simultaneously, also avoided causing because AKU is excessive the phenomenon of set top box upgrading failure, improved upgrading performance.
Accompanying drawing explanation
Fig. 1 is theory diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
Based on IP Set Top Box segmented data updating method, it comprises the steps:
S1: set up a upgrade file folder at upgrade server end; S2: AKU is unziped in this upgrade file folder, produce a plurality of files after AKU decompress(ion); S3: when IP STB terminal is downloaded upgrading, IP STB terminal is downloaded respectively verification to each file in upgrade server end upgrade file folder and the data after upgrading is saved in the FLASH memory of IP STB terminal, completes the network upgrade of IP STB terminal.At upgrade server end, in the process of AKU decompress(ion), in a plurality of files that produce, certainly have larger file, for these larger files, to carry out again segment processing, be divided into the small documents that a plurality of sizes are applicable to IP STB terminal size, such as having a large file in upgrade file folder, be 50MB, just can be divided into the small documents of the data segment of 50 1MB, when IP STB terminal is downloaded upgrading, the small documents of IP STB terminal after to segmentation downloaded respectively verification and the data after upgrading is saved in the FLASH memory of IP STB terminal, like this, the upgrading of this large file has just completed, in upgrade file folder, other file also can operate equally.
As shown in Figure 1, for IP Set Top Box, carry out the upgrading of segmented data, mainly be divided into three parts, be respectively SERVER(upgrade server end), the temporary storaging data TMP district of TMP(IP STB terminal), the FLASH memory block of CLIENT(IP STB terminal), conventional CS pattern namely.
Suppose that AKU file is called Package.tgz, size is 70MB, in the upgrade file folder of upgrade server end, after decompress(ion), there are the files such as Rootfs.bin file, Kernel.bin file and a verification file Check.xml, IP STB terminal is when upgrading, each file in upgrade file folder need be downloaded respectively, verification be written to the corresponding data district of FLASH memory block, here with download, the verification of Rootfs.bin file be written as example, further describe the process of IP Set Top Box segmented data upgrading.If Rootfs.bin file size is 47MB, because this document is larger, at upgrade server end, carry out again segment processing, (wherein front 7 small documents are 6MB to be divided into 8 small documents, last small documents is 5MB), CLIENT just only need to download the small documents of 6MB in download file, 8 small documents after segmentation are downloaded one by one, verification and writing, first download the small documents of first 6MB, complete after download, these 6MB data are carried out to verification, be that the md5 value of this segment data in Will Check.xml and the md5 value of downloading data contrast, if verification is passed through, just write in corresponding subregion (mtd2), then by it, the data in TMP abandon (deleting), in order to avoid committed memory space, proceed the download of next small documents, carry out the download of lower one piece of data, verification and writing, the like, the upgrading of this large file of Rootfs.bin has just completed like this.In AKU, other file is also same operation.
Claims (2)
1. based on IP Set Top Box segmented data updating method, it is characterized in that: it comprises the steps:
S1: set up a upgrade file folder at upgrade server end;
S2: AKU is unziped in this upgrade file folder, produce a plurality of files after AKU decompress(ion);
S3:IP STB terminal is downloaded respectively verification to each file in upgrade server end upgrade file folder and the data after upgrading is saved in the FLASH memory of IP STB terminal.
2. according to claim 1 based on IP Set Top Box segmented data updating method, it is characterized in that: at upgrade server end, the large file in upgrade file folder is carried out to segmentation, be divided into the small documents that a plurality of sizes are applicable to IP STB terminal size, the small documents of IP STB terminal after to segmentation downloaded respectively verification and the data after upgrading is saved in the FLASH memory of IP STB terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310472184.7A CN103517141B (en) | 2013-10-11 | 2013-10-11 | Based on IP Set Top Box segmented data upgrade methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310472184.7A CN103517141B (en) | 2013-10-11 | 2013-10-11 | Based on IP Set Top Box segmented data upgrade methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103517141A true CN103517141A (en) | 2014-01-15 |
CN103517141B CN103517141B (en) | 2017-04-05 |
Family
ID=49899043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310472184.7A Expired - Fee Related CN103517141B (en) | 2013-10-11 | 2013-10-11 | Based on IP Set Top Box segmented data upgrade methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103517141B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045626A (en) * | 2015-07-21 | 2015-11-11 | 珠海格力电器股份有限公司 | Program burning method, burning device and controller |
CN105183501A (en) * | 2015-08-10 | 2015-12-23 | 珠海格力电器股份有限公司 | Method for preventing errors in online program writing |
CN105451042A (en) * | 2015-12-14 | 2016-03-30 | 福建新大陆通信科技股份有限公司 | Set top box based file upgrading system and method |
CN105703945A (en) * | 2016-01-08 | 2016-06-22 | 烽火通信科技股份有限公司 | Optical network unit (ONU) upgrading method |
CN106453477A (en) * | 2016-01-19 | 2017-02-22 | 实富特信息通讯有限公司 | Data segmented transmission and processing method and client |
WO2018032757A1 (en) * | 2016-08-17 | 2018-02-22 | 中兴通讯股份有限公司 | Method and device for updating component |
CN107817997A (en) * | 2017-11-24 | 2018-03-20 | 四川长虹电器股份有限公司 | Solves the method for upgrading software for causing upgrading to fail for Insufficient disk space |
CN110337036A (en) * | 2019-06-25 | 2019-10-15 | 深圳创维-Rgb电子有限公司 | Upgrade method, device and the storage medium of set-top box |
CN112104721A (en) * | 2020-09-02 | 2020-12-18 | 青岛创新控制技术有限公司 | OTA remote upgrade file downloading method |
CN112312213A (en) * | 2019-07-30 | 2021-02-02 | 青岛海信传媒网络技术有限公司 | Upgrading method of digital television system and related device |
CN112312212A (en) * | 2019-07-30 | 2021-02-02 | 青岛海信传媒网络技术有限公司 | Upgrading method of digital television system and related device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100058312A1 (en) * | 2008-07-31 | 2010-03-04 | Kabushiki Kaisha Toshiba | Content Data Providing System, Content Providing Apparatus and Content Data Processing Terminal |
CN101958799A (en) * | 2009-07-14 | 2011-01-26 | 中兴通讯股份有限公司 | Method, device and system for updating terminal |
CN102164317A (en) * | 2011-02-14 | 2011-08-24 | 上海高智科技发展有限公司 | Internet protocol (IP) set-top box-oriented multi-server segmented downloading system |
CN102298534A (en) * | 2011-09-22 | 2011-12-28 | 四川长虹电器股份有限公司 | Method for writing software into set-top box |
CN102316376A (en) * | 2011-08-18 | 2012-01-11 | 珠海迈科电子科技有限公司 | Method for set-top box to automatically update data and system |
CN103167348A (en) * | 2011-12-13 | 2013-06-19 | 深圳长城开发科技股份有限公司 | Method for downloading update data of set top box software in the air |
CN103324510A (en) * | 2013-07-10 | 2013-09-25 | 中怡(苏州)科技有限公司 | EoC product upgrading method based on HomePlug AV chip |
-
2013
- 2013-10-11 CN CN201310472184.7A patent/CN103517141B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100058312A1 (en) * | 2008-07-31 | 2010-03-04 | Kabushiki Kaisha Toshiba | Content Data Providing System, Content Providing Apparatus and Content Data Processing Terminal |
CN101958799A (en) * | 2009-07-14 | 2011-01-26 | 中兴通讯股份有限公司 | Method, device and system for updating terminal |
CN102164317A (en) * | 2011-02-14 | 2011-08-24 | 上海高智科技发展有限公司 | Internet protocol (IP) set-top box-oriented multi-server segmented downloading system |
CN102316376A (en) * | 2011-08-18 | 2012-01-11 | 珠海迈科电子科技有限公司 | Method for set-top box to automatically update data and system |
CN102298534A (en) * | 2011-09-22 | 2011-12-28 | 四川长虹电器股份有限公司 | Method for writing software into set-top box |
CN103167348A (en) * | 2011-12-13 | 2013-06-19 | 深圳长城开发科技股份有限公司 | Method for downloading update data of set top box software in the air |
CN103324510A (en) * | 2013-07-10 | 2013-09-25 | 中怡(苏州)科技有限公司 | EoC product upgrading method based on HomePlug AV chip |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045626A (en) * | 2015-07-21 | 2015-11-11 | 珠海格力电器股份有限公司 | Program burning method, burning device and controller |
CN105183501A (en) * | 2015-08-10 | 2015-12-23 | 珠海格力电器股份有限公司 | Method for preventing errors in online program writing |
CN105451042A (en) * | 2015-12-14 | 2016-03-30 | 福建新大陆通信科技股份有限公司 | Set top box based file upgrading system and method |
CN105451042B (en) * | 2015-12-14 | 2018-10-23 | 福建新大陆通信科技股份有限公司 | A kind of document upgrading system and method based on set-top box |
CN105703945B (en) * | 2016-01-08 | 2019-04-16 | 烽火通信科技股份有限公司 | A kind of method of ONU upgrading |
CN105703945A (en) * | 2016-01-08 | 2016-06-22 | 烽火通信科技股份有限公司 | Optical network unit (ONU) upgrading method |
CN106453477A (en) * | 2016-01-19 | 2017-02-22 | 实富特信息通讯有限公司 | Data segmented transmission and processing method and client |
WO2018032757A1 (en) * | 2016-08-17 | 2018-02-22 | 中兴通讯股份有限公司 | Method and device for updating component |
CN107817997A (en) * | 2017-11-24 | 2018-03-20 | 四川长虹电器股份有限公司 | Solves the method for upgrading software for causing upgrading to fail for Insufficient disk space |
CN110337036A (en) * | 2019-06-25 | 2019-10-15 | 深圳创维-Rgb电子有限公司 | Upgrade method, device and the storage medium of set-top box |
CN110337036B (en) * | 2019-06-25 | 2022-02-15 | 深圳创维-Rgb电子有限公司 | Set top box upgrading method and device and storage medium |
CN112312213A (en) * | 2019-07-30 | 2021-02-02 | 青岛海信传媒网络技术有限公司 | Upgrading method of digital television system and related device |
CN112312212A (en) * | 2019-07-30 | 2021-02-02 | 青岛海信传媒网络技术有限公司 | Upgrading method of digital television system and related device |
CN112104721A (en) * | 2020-09-02 | 2020-12-18 | 青岛创新控制技术有限公司 | OTA remote upgrade file downloading method |
Also Published As
Publication number | Publication date |
---|---|
CN103517141B (en) | 2017-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103517141A (en) | Sectional type data upgrading method based on IP set top box | |
CN103473067B (en) | Built-in Linux subregion and data restoration method, system and system development method | |
CN101719073B (en) | Intelligent client-based on-demand downloading realization method | |
CN105224370A (en) | A kind of method and apparatus of loading ELF document | |
CN105740425A (en) | File storage method and apparatus | |
CN108536745B (en) | Shell-based data table extraction method, terminal, equipment and storage medium | |
CN105487907A (en) | Difference package manufacturing method and device | |
US20140059421A1 (en) | Website blueprint generation and display algorithms to reduce perceived web-page loading time | |
CN103177077B (en) | The storage of a kind of APK file and output intent | |
CN105512324A (en) | Front end module loader for partial renewal of package file | |
CN103870303A (en) | Method and device for reducing size of software installation package | |
CN102289380B (en) | firefox starting acceleration method | |
CN114398318B (en) | File operation method of user space file system and user space file system | |
CN102141926A (en) | Application program management method, device and digital television set top box | |
CN104375933A (en) | Unit testing method and device | |
US10310863B1 (en) | Patching functions in use on a running computer system | |
CN108920691A (en) | Management method, device, computer equipment and the storage medium of front end static resource | |
CN102207878A (en) | Method for upgrading internetwork television difference | |
US10592252B2 (en) | Efficient instruction processing for sparse data | |
CN111045686B (en) | Method for improving decompilation speed of application, intelligent terminal and storage medium | |
US9652416B2 (en) | Storage device for performing in-storage computing operations, method of operation the same, and system including the same | |
US20160306739A1 (en) | Garbage collection of non-pinned objects within heap | |
CN107168719A (en) | Application program operation method, device, terminal and computer-readable recording medium | |
CN105005491B (en) | The upgrade method and system of a kind of linux kernel and application program | |
CN104699500A (en) | Method for realizing automatic upgrading of bootstrap program in intelligent equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170405 Termination date: 20211011 |