CN105451042A - Set top box based file upgrading system and method - Google Patents

Set top box based file upgrading system and method Download PDF

Info

Publication number
CN105451042A
CN105451042A CN201510927037.3A CN201510927037A CN105451042A CN 105451042 A CN105451042 A CN 105451042A CN 201510927037 A CN201510927037 A CN 201510927037A CN 105451042 A CN105451042 A CN 105451042A
Authority
CN
China
Prior art keywords
ion
decompress
upgrading
file
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.)
Granted
Application number
CN201510927037.3A
Other languages
Chinese (zh)
Other versions
CN105451042B (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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science 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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN201510927037.3A priority Critical patent/CN105451042B/en
Publication of CN105451042A publication Critical patent/CN105451042A/en
Application granted granted Critical
Publication of CN105451042B publication Critical patent/CN105451042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4351Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reassembling additional data, e.g. rebuilding an executable program from recovered modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a set top box based file upgrading system and method. The system comprises a file compression module, a file packaging module, a file downloading module and a file upgrading module. The method comprises a step 10 of compressing a to-be-compressed file of each partition through a private computer (PC) terminal; a step 20 of packaging an upgrading file to obtain an upgrading data package, and adding two fields including a decompressing or non-decompressing symbol and a size of the decompressed file at the head of the upgrading data package; a step 30 of detecting an upgrading signal through a set top box, and downloading the upgrading data package; and a step 40 of analyzing the information at the head of the upgrading data package, decompressing the to-be-decompressed upgrading data package so as to obtain the decompressed upgrading file, and programming the decompressed upgrading file in the FLASH of the set top box and performing upgrading. According to the method, the upgrading file is compressed and decompressed, thereby solving the problem of oversize file, shortening file transmission time, and implementing effective, fast file upgrading.

Description

A kind of document upgrading system and method based on Set Top Box
Technical field
The present invention relates to digital TV field, particularly relate to a kind of document upgrading system and method based on Set Top Box.
Background technology
Along with Digital Television is in the popularization in the whole nation, cable set top box obtains a large amount of popularizing, in the use procedure of user, while the set-top box product that the radio and TV operator of various places provides high-quality and digital TV network signal, also relevant value-added service is promoted, at this time radio and TV operator has the demand of upgrading set top box software, and Set Top Box supplier also needs upgrading set top box software in order to the software improving oneself, therefore set top box upgrading program is the important component part of set-top box software, and be also absolutely necessary a link.
Current most DVB-C method for updating set-top box software holds software the file mirrors of upgrading directly to be generated the TS file that can for broadcast by PC, or generate certain special formatted file to be supplied to radio and TV operator and to carry out packing to it and broadcast, then online Set Top Box triggers by detecting descriptor, the request that acquisition will be upgraded, jump to set top box upgrading program to upgrade, but due to the continuous popularization of value-added service, there is the transmission of some large files, considerably increase the document upgrading time, reduce upgrading efficiency.
Summary of the invention
One of the technical problem to be solved in the present invention, is to provide a kind of document upgrading system based on Set Top Box, effectively solves the excessive problem of upgrade file, realizes upgrading effectively and rapidly.
One of the technical problem to be solved in the present invention is achieved in that a kind of document upgrading system based on Set Top Box, comprising:
Compressing file module, for needing the file of compression to carry out compression process by PC end to each subregion;
File packetization module, for by the upgrade file after compression or do not need the upgrade file compressed to carry out packing and obtain upgrading data packet, and in described upgrade data packet header increase whether decompress(ion) mark and decompress(ion) hereinafter part size two fields, need decompress(ion) for telling which subregion and apply for corresponding size internal memory;
File download module, detects upgrade signal for Set Top Box, downloads described upgrading data packet; And
Document upgrading module, for resolving described upgrade data packet header information, if decompress(ion) is masked as be, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to upgrading data packet, and the upgrade file programming obtained by decompress(ion) is upgraded in Set Top Box FLASH, otherwise, not need directly the upgrade file contents programming of upgrading data packet to be entered in Set Top Box FLASH and to upgrade.
Further, the compress mode of described compressing file module is specially: hold compression function to realize by calling PC, and when adding the file of each subregion, all carry out once the option of " whether compressing ", if select "Yes", then carry out compression process, otherwise, acquiescence selects "No", does not compress, with the set top box upgrading program that compatibility is different.
Further, described upgrading data packet is USB upgrading data packet or TS stream, if described upgrading data packet is USB upgrading data packet, then sends upgrading data packet to Set Top Box by USB insertion machine top box, if described upgrading data packet is TS stream, then broadcast to Set Top Box by radio and TV operator.
Further, when the upgrade data in described file packetization module wraps in packing, by each partitioned file of compression by arranging from big to small, reduce the memory size that decompression procedure needs to take.
Further, described document upgrading module comprises further:
Upgrading data packet parsing module, for resolving described upgrade data packet header information, if decompress(ion) is masked as is, then perform upgrading data packet decompression module, otherwise direct execute file programming and upgraded module;
Upgrading data packet decompression module, whether continuous for judging upgrading subregion, if, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet connecting subregion, when encountering the subregion of a compression, with regard to this number of decompress(ion) according to arriving data trailer, then data are below moved forward, cover this subregion, successively decompress(ion) is carried out to the subregion of compression and obtain the upgrade file after decompress(ion); Otherwise, the Data Analysis program of the one section of decompress(ion) utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet not connecting subregion, when encountering a subregion and needing decompress(ion), first deposit the internal memory of former data according to file size application one piece after the decompress(ion) of upgrade data packet header, the packed data of complete rear this subregion of release of decompress(ion), obtains the upgrade file after decompress(ion) to needing compression subregion to carry out decompress(ion) successively;
File programming and upgraded module, for upgrade file programming is entered Set Top Box FLASH in and upgrade.
The technical problem to be solved in the present invention two, is to provide a kind of document upgrading method based on Set Top Box, effectively solves the excessive problem of upgrade file, realizes upgrading effectively and rapidly.
Two of the technical problem to be solved in the present invention is achieved in that a kind of document upgrading method based on Set Top Box, comprises the steps:
Step 10, need the file of compression to carry out compression by PC end to each subregion to process;
Step 20, by the upgrade file after compression or do not need the upgrade file compressed to carry out packing and obtain upgrading data packet, and in described upgrade data packet header increase whether decompress(ion) mark and decompress(ion) hereinafter part size two fields, need decompress(ion) for telling which subregion and apply for corresponding size internal memory;
Step 30, upgrade signal detected by Set Top Box, download described upgrading data packet;
Step 40, resolve described upgrade data packet header information, if decompress(ion) is masked as be, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to upgrading data packet, and the upgrade file programming obtained by decompress(ion) is upgraded in Set Top Box FLASH, otherwise, not need directly the upgrade file contents programming of upgrading data packet to be entered in Set Top Box FLASH and to upgrade.
Further, compress mode in described step 10 is specially: hold compression function to realize by calling PC, and when adding the file of each subregion, all carry out once the option of " whether compressing ", if select "Yes", then carry out compression process, otherwise, acquiescence selects "No", does not compress, with the set top box upgrading program that compatibility is different.
Further, described upgrading data packet is USB upgrading data packet or TS stream, if described upgrading data packet is USB upgrading data packet, then sends upgrading data packet to Set Top Box by USB insertion machine top box, if described upgrading data packet is TS stream, then broadcast to Set Top Box by radio and TV operator.
Further, when the upgrade data in described step 20 wraps in packing, by each partitioned file of compression by arranging from big to small, reduce the memory size that decompression procedure needs to take.
Further, described step 40 comprises further:
Step 41, resolve described upgrade data packet header information, be then enter step 42 if decompress(ion) is masked as, otherwise jump to step 43;
Step 42, judge upgrading subregion whether continuous, if, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet connecting subregion, when encountering the subregion of a compression, with regard to this number of decompress(ion) according to arriving data trailer, again data are below moved forward, cover this subregion, successively decompress(ion) is carried out to the subregion of compression and obtain the upgrade file after decompress(ion); Otherwise, the Data Analysis program of the one section of decompress(ion) utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet not connecting subregion, when encountering a subregion and needing decompress(ion), first deposit the internal memory of former data according to file size application one piece after the decompress(ion) of upgrade data packet header, the packed data of complete rear this subregion of release of decompress(ion), obtains the upgrade file after decompress(ion) to needing compression subregion to carry out decompress(ion) successively;
Step 43, upgrade file programming is entered Set Top Box FLASH in and upgrade.
Tool of the present invention has the following advantages: by compressing upgrade file, effectively reduce file transmission time, improves efficiency of transmission; Set Top Box is distinguished for continuous zoning and discontinuous subregion, selects corresponding decompress(ion) mode, improves decompress(ion) efficiency, realizes document upgrading effectively and rapidly.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the logical framework figure of a kind of document upgrading system based on Set Top Box of the present invention.
Fig. 2 is the flowchart of a kind of document upgrading method based on Set Top Box of the present invention.
Fig. 3 is the decompression procedure schematic diagram under continuous zoning pattern.
Fig. 4 is the decompression procedure schematic diagram under discontinuous compartment model.
Embodiment
As shown in Figure 1, a kind of document upgrading system based on Set Top Box of the present invention, comprising:
Compressing file module, for needing the file of compression to carry out compression process by PC end to each subregion, the compress mode of described compressing file module is specially: hold compression function to realize by calling PC, and when adding the file of each subregion, all carry out once the option of " whether compressing ", if select "Yes", then carry out compression process, otherwise acquiescence selects "No", does not compress;
File packetization module, for by the upgrade file after compression or do not need the upgrade file compressed to carry out packing and obtain upgrading data packet, and in described upgrade data packet header increase whether decompress(ion) mark and decompress(ion) hereinafter part size two fields, need decompress(ion) for telling which subregion and apply for corresponding size internal memory, and the upgrade data in described file packetization module is when wrapping in packing, by each partitioned file of compression by arranging from big to small, reduce the memory size that decompression procedure needs to take, described upgrading data packet is USB upgrading data packet or TS stream, if described upgrading data packet is USB upgrading data packet, then send upgrading data packet to Set Top Box by USB insertion machine top box, if described upgrading data packet is TS stream, then broadcast to Set Top Box by radio and TV operator,
File download module, detects upgrade signal for Set Top Box, downloads described upgrading data packet; And
Document upgrading module, for resolving described upgrade data packet header information, if decompress(ion) is masked as be, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to upgrading data packet, and the upgrade file programming obtained by decompress(ion) is upgraded in Set Top Box FLASH, otherwise, not need directly the upgrade file contents programming of upgrading data packet to be entered in Set Top Box FLASH and to upgrade;
Described document upgrading module comprises further:
Upgrading data packet parsing module, for resolving described upgrade data packet header information, if decompress(ion) is masked as is, then perform upgrading data packet decompression module, otherwise direct execute file programming and upgraded module;
Upgrading data packet decompression module, whether continuous for judging upgrading subregion, if, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet connecting subregion, when encountering the subregion of a compression, with regard to this number of decompress(ion) according to arriving data trailer, then data are below moved forward, cover this subregion, successively decompress(ion) is carried out to the subregion of compression and obtain the upgrade file after decompress(ion); Otherwise, the Data Analysis program of the one section of decompress(ion) utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet not connecting subregion, when encountering a subregion and needing decompress(ion), first deposit the internal memory of former data according to file size application one piece after the decompress(ion) of upgrade data packet header, the packed data of complete rear this subregion of release of decompress(ion), obtains the upgrade file after decompress(ion) to needing compression subregion to carry out decompress(ion) successively;
File programming and upgraded module, for upgrade file programming is entered Set Top Box FLASH in and upgrade.
As Fig. 2, a kind of document upgrading method based on Set Top Box of the present invention, comprises the steps:
Step 10, need the file of compression to carry out compression by PC end to each subregion to process, compression function is held to realize by calling PC, and when adding the file of each subregion, all carry out once the option of " whether compressing ", if selection "Yes", then carry out compression process, otherwise, acquiescence selects "No", does not compress;
Step 20, by the upgrade file after compression or do not need the upgrade file compressed to carry out packing and obtain upgrading data packet, and in described upgrade data packet header increase whether decompress(ion) mark and decompress(ion) hereinafter part size two fields, need decompress(ion) for telling which subregion and apply for corresponding size internal memory, and described upgrade data is when wrapping in packing, by each partitioned file of compression by arranging from big to small, reduce the memory size that decompression procedure needs to take; Described upgrading data packet is USB upgrading data packet or TS stream, if described upgrading data packet is USB upgrading data packet, then send upgrading data packet to Set Top Box by USB insertion machine top box, if described upgrading data packet is TS stream, then broadcast to Set Top Box by radio and TV operator;
Step 30, upgrade signal detected by Set Top Box, download described upgrading data packet;
Step 40, resolve described upgrade data packet header information, if decompress(ion) is masked as be, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to upgrading data packet, and the upgrade file programming obtained by decompress(ion) is upgraded in Set Top Box FLASH, otherwise, not need directly the upgrade file contents programming of upgrading data packet to be entered in Set Top Box FLASH and to upgrade.
Described step 40 comprises further:
Step 41, resolve described upgrade data packet header information, be then enter step 42 if decompress(ion) is masked as, otherwise jump to step 43;
Step 42, judge upgrading subregion whether continuous, if, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet connecting subregion, when encountering the subregion of a compression, with regard to this number of decompress(ion) according to arriving data trailer, again data are below moved forward, cover this subregion, successively decompress(ion) is carried out to the subregion of compression and obtain the upgrade file after decompress(ion); Otherwise, the Data Analysis program of the one section of decompress(ion) utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet not connecting subregion, when encountering a subregion and needing decompress(ion), first deposit the internal memory of former data according to file size application one piece after the decompress(ion) of upgrade data packet header, the packed data of complete rear this subregion of release of decompress(ion), obtains the upgrade file after decompress(ion) to needing compression subregion to carry out decompress(ion) successively;
Step 43, upgrade file programming is entered Set Top Box FLASH in and upgrade.
Tool of the present invention has the following advantages: by compressing upgrade file, effectively reduce file transmission time, improves efficiency of transmission; Set Top Box is distinguished for continuous zoning and discontinuous subregion, selects corresponding decompress(ion) mode, improves decompress(ion) efficiency, realizes document upgrading effectively and rapidly.
Below in conjunction with a specific embodiment, the present invention will be further described:
PC end needs the file of compression to carry out compression process to each subregion, compression function is held to realize by calling PC, when adding the file of each subregion, the option of one " whether compressing " can be had more, select "Yes", then carry out compression process, acquiescence selects "No", do not compress, with the set top box upgrading program that compatibility is different;
The analysis protocol that current various places radio and TV operator follows is not quite similar, generally comprise discontinuous compartment model and continuous zoning pattern, file carries out packing upon compression and obtains TS stream, and flow head increase whether decompress(ion) mark uComprFlag and decompress(ion) hereinafter part size unComprSize two fields at described TS, telling which subregion to allow set top box upgrading program does not need which subregion of decompress(ion) need decompress(ion) and apply for corresponding size internal memory, and when generating TS stream, by each partitioned file of compression by arranging from big to small, the memory size that decompression procedure under continuous zoning pattern needs to take can be effectively reduced,
TS flows through radio and TV operator and broadcasts to Set Top Box;
Set Top Box detects upgrade signal, download described TS to flow, resolve described TS and flow header information, if decompress(ion) is masked as be, then decompress(ion) is continued to TS stream, and judge that whether upgrading subregion is continuous, if, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to the TS stream connecting subregion, as shown in Figure 3, A subregion [z] and B subregion [z] represent the packed data of A partitioned file and the packed data of B partitioned file respectively, when carrying out decompress(ion) to continuous print compression subregion, decompress(ion) current bay is to data trailer, again data are below moved forward, cover this subregion, successively decompress(ion) is carried out to the subregion of compression and obtain the upgrade file after decompress(ion), for continuous zoning pattern, upgrade data is kept in one section of continuous print internal memory cache, to make internal memory peak value minimum, just need the compression subregion that first decompress(ion) is maximum, decompress(ion) middle compression subregion again, the compression subregion that last decompress(ion) is less, therefore when each partitioned file size of compression is by when arranging from big to small, its internal memory peak value is minimum, otherwise, if upgrading subregion is discontinuous subregion, as shown in Figure 4, the Data Analysis program of the one section of decompress(ion) utilizing Set Top Box to embed in advance carries out decompress(ion) to the TS stream not connecting subregion, wherein, Rootfs [z] and App [z] represents the packed data of Rootfs partitioned file and the packed data of App partitioned file respectively, when encountering a subregion and needing decompress(ion), first according to file size unComprSize after the decompress(ion) of TS stream head, deposited (malloc distributes to system application to specify the function of the memory headroom of size byte) internal memory of former data to set-top-box system application one piece by malloc, the packed data of complete rear this subregion of release of decompress(ion), the upgrade file after decompress(ion) is obtained successively to needing compression subregion to carry out decompress(ion), the internal storage structure of discontinuous compartment model is that each subregion has a separate fingers, the internal memory of each subregion can be discharged separately, namely under this mode, the size of whole original adds that maximum compression partition size sum is its internal memory peak value,
Step 43, upgrade file programming is entered Set Top Box FLASH in and upgrade.
If described upgrading data packet is USB upgrading data packet, then by inserting USB in Set Top Box, upgrade file is copied in Set Top Box.
With YAFFS, (YAFFS is first and issues under GPL agreement, based on daily record, special is NANDFlash reservoir designs, be applicable to the embedded file system of jumbo memory device) for file system be example, the file of YAFFS is larger, when compressing, compression ratio can reach over half, so just greatly reduce the size of upgrading stream, set top box upgrading program needs extra decompression time and memory headroom when carrying out decompress(ion), but because decompression time terminated and the reduction of upgrade file substantially in 1 second, the overall time is just shorter, when generating upgrade file, compression makes file size reduce, Set Top Box first carries out decompressed data process, carry out programming action again, finally complete updating operation, whole escalation process is effective, fast.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.

Claims (10)

1., based on a document upgrading system for Set Top Box, it is characterized in that: comprising:
Compressing file module, for needing the file of compression to carry out compression process by PC end to each subregion;
File packetization module, for by the upgrade file after compression or do not need the upgrade file compressed to carry out packing and obtain upgrading data packet, and in described upgrade data packet header increase whether decompress(ion) mark and decompress(ion) hereinafter part size two fields, need decompress(ion) for telling which subregion and apply for corresponding size internal memory;
File download module, detects upgrade signal for Set Top Box, downloads described upgrading data packet; And
Document upgrading module, for resolving described upgrade data packet header information, if decompress(ion) is masked as be, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to upgrading data packet, and the upgrade file programming obtained by decompress(ion) is upgraded in Set Top Box FLASH, otherwise, not need directly the upgrade file contents programming of upgrading data packet to be entered in Set Top Box FLASH and to upgrade.
2. a kind of document upgrading system based on Set Top Box according to claim 1, it is characterized in that: the compress mode of described compressing file module is specially: hold compression function to realize by calling PC, and when adding the file of each subregion, all carry out once the option of " whether compressing ", if selection "Yes", then carry out compression process, otherwise, acquiescence selects "No", does not compress.
3. a kind of document upgrading system based on Set Top Box according to claim 1, it is characterized in that: described upgrading data packet is USB upgrading data packet or TS stream, if described upgrading data packet is USB upgrading data packet, then send upgrading data packet to Set Top Box by USB insertion machine top box, if described upgrading data packet is TS stream, then broadcast to Set Top Box by radio and TV operator.
4. a kind of document upgrading system based on Set Top Box according to claim 1, is characterized in that: when the upgrade data in described file packetization module wraps in packing, by each partitioned file of compression by arranging from big to small.
5. a kind of document upgrading system based on Set Top Box according to claim 1 or 4, is characterized in that: described document upgrading module comprises further:
Upgrading data packet parsing module, for resolving described upgrade data packet header information, if decompress(ion) is masked as is, then perform upgrading data packet decompression module, otherwise direct execute file programming and upgraded module;
Upgrading data packet decompression module, whether continuous for judging upgrading subregion, if, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet connecting subregion, when encountering the subregion of a compression, with regard to this number of decompress(ion) according to arriving data trailer, then data are below moved forward, cover this subregion, successively decompress(ion) is carried out to the subregion of compression and obtain the upgrade file after decompress(ion); Otherwise, the Data Analysis program of the one section of decompress(ion) utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet not connecting subregion, when encountering a subregion and needing decompress(ion), first deposit the internal memory of former data according to file size application one piece after the decompress(ion) of upgrade data packet header, the packed data of complete rear this subregion of release of decompress(ion), obtains the upgrade file after decompress(ion) to needing compression subregion to carry out decompress(ion) successively;
File programming and upgraded module, for upgrade file programming is entered Set Top Box FLASH in and upgrade.
6., based on a document upgrading method for Set Top Box, it is characterized in that: comprise the steps:
Step 10, need the file of compression to carry out compression by PC end to each subregion to process;
Step 20, by the upgrade file after compression or do not need the upgrade file compressed to carry out packing and obtain upgrading data packet, and in described upgrade data packet header increase whether decompress(ion) mark and decompress(ion) hereinafter part size two fields, need decompress(ion) for telling which subregion and apply for corresponding size internal memory;
Step 30, upgrade signal detected by Set Top Box, download described upgrading data packet;
Step 40, resolve described upgrade data packet header information, if decompress(ion) is masked as be, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to upgrading data packet, and the upgrade file programming obtained by decompress(ion) is upgraded in Set Top Box FLASH, otherwise, not need directly the upgrade file contents programming of upgrading data packet to be entered in Set Top Box FLASH and to upgrade.
7. a kind of document upgrading method based on Set Top Box according to claim 6, it is characterized in that: the compress mode in described step 10 is specially: hold compression function to realize by calling PC, and when adding the file of each subregion, all carry out once the option of " whether compressing ", if selection "Yes", then carry out compression process, otherwise, acquiescence selects "No", does not compress.
8. a kind of document upgrading method based on Set Top Box according to claim 6, it is characterized in that: described upgrading data packet is USB upgrading data packet or TS stream, if described upgrading data packet is USB upgrading data packet, then send upgrading data packet to Set Top Box by USB insertion machine top box, if described upgrading data packet is TS stream, then broadcast to Set Top Box by radio and TV operator.
9. a kind of document upgrading method based on Set Top Box according to claim 6, is characterized in that: when the upgrade data in described step 20 wraps in packing, by each partitioned file of compression by arranging from big to small.
10. a kind of document upgrading method based on Set Top Box according to claim 6 or 9, is characterized in that: described step 40 comprises further:
Step 41, resolve described upgrade data packet header information, be then enter step 42 if decompress(ion) is masked as, otherwise jump to step 43;
Step 42, judge upgrading subregion whether continuous, if, the Data Analysis program of the one section of decompress(ion) then utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet connecting subregion, when encountering the subregion of a compression, with regard to this number of decompress(ion) according to arriving data trailer, again data are below moved forward, cover this subregion, successively decompress(ion) is carried out to the subregion of compression and obtain the upgrade file after decompress(ion); Otherwise, the Data Analysis program of the one section of decompress(ion) utilizing Set Top Box to embed in advance carries out decompress(ion) to the upgrading data packet not connecting subregion, when encountering a subregion and needing decompress(ion), first deposit the internal memory of former data according to file size application one piece after the decompress(ion) of upgrade data packet header, the packed data of complete rear this subregion of release of decompress(ion), obtains the upgrade file after decompress(ion) to needing compression subregion to carry out decompress(ion) successively;
Step 43, upgrade file programming is entered Set Top Box FLASH in and upgrade.
CN201510927037.3A 2015-12-14 2015-12-14 A kind of document upgrading system and method based on set-top box Active CN105451042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510927037.3A CN105451042B (en) 2015-12-14 2015-12-14 A kind of document upgrading system and method based on set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510927037.3A CN105451042B (en) 2015-12-14 2015-12-14 A kind of document upgrading system and method based on set-top box

Publications (2)

Publication Number Publication Date
CN105451042A true CN105451042A (en) 2016-03-30
CN105451042B CN105451042B (en) 2018-10-23

Family

ID=55560759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510927037.3A Active CN105451042B (en) 2015-12-14 2015-12-14 A kind of document upgrading system and method based on set-top box

Country Status (1)

Country Link
CN (1) CN105451042B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446300A (en) * 2018-01-26 2018-08-24 北京奇虎科技有限公司 The scan method and device of data information
CN111290765A (en) * 2020-01-16 2020-06-16 深圳市千分一智能技术有限公司 Firmware fast burning method, system and storage medium
CN114466082A (en) * 2022-01-29 2022-05-10 上海阵量智能科技有限公司 Data compression method, data decompression method, data compression system and artificial intelligence AI chip
CN116132971A (en) * 2023-02-03 2023-05-16 深圳市卡思诺数码有限公司 OTA upgrading method and system for Bluetooth sound equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080043422A (en) * 2006-11-14 2008-05-19 엘지전자 주식회사 Method for upgrading software of audio/video device
US20090044184A1 (en) * 2007-08-08 2009-02-12 Panagas Jr Peter G Software update from off air broadcast
CN201585034U (en) * 2009-11-23 2010-09-15 福建新大陆通信科技有限公司 System update device of plug-and-play digital set top box
CN103517141A (en) * 2013-10-11 2014-01-15 成都三零凯天通信实业有限公司 Sectional type data upgrading method based on IP set top box
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080043422A (en) * 2006-11-14 2008-05-19 엘지전자 주식회사 Method for upgrading software of audio/video device
US20090044184A1 (en) * 2007-08-08 2009-02-12 Panagas Jr Peter G Software update from off air broadcast
CN201585034U (en) * 2009-11-23 2010-09-15 福建新大陆通信科技有限公司 System update device of plug-and-play digital set top box
CN103517141A (en) * 2013-10-11 2014-01-15 成都三零凯天通信实业有限公司 Sectional type data upgrading method based on IP set top box
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446300A (en) * 2018-01-26 2018-08-24 北京奇虎科技有限公司 The scan method and device of data information
CN108446300B (en) * 2018-01-26 2021-04-09 北京奇虎科技有限公司 Data information scanning method and device
CN111290765A (en) * 2020-01-16 2020-06-16 深圳市千分一智能技术有限公司 Firmware fast burning method, system and storage medium
CN114466082A (en) * 2022-01-29 2022-05-10 上海阵量智能科技有限公司 Data compression method, data decompression method, data compression system and artificial intelligence AI chip
CN114466082B (en) * 2022-01-29 2024-01-09 上海阵量智能科技有限公司 Data compression and data decompression method and system and artificial intelligent AI chip
CN116132971A (en) * 2023-02-03 2023-05-16 深圳市卡思诺数码有限公司 OTA upgrading method and system for Bluetooth sound equipment
CN116132971B (en) * 2023-02-03 2023-06-27 深圳市卡思诺数码有限公司 OTA upgrading method and system for Bluetooth sound equipment

Also Published As

Publication number Publication date
CN105451042B (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN102523268B (en) Client side upgrading method and system
CN101710934B (en) Set-top box edition upgrading method and system
CN103563393B (en) For the information provider unit of trigger compaction, method, computer program and reception device
CN105451042A (en) Set top box based file upgrading system and method
CN101795392B (en) Application data-downloading method, digital television receiving terminal and system
CN101170675B (en) Method and system for managing J2ME application in network TV system
CN102081532A (en) Method for dynamically upgrading functions of set top box
US20070174356A1 (en) Program execution device, program execution method, and program
WO2006108351A1 (en) Method and apparatus for implementing software upgrade in the digital television receiving device
CN101355434B (en) Method and apparatus for upgrading software of multimedia remote terminal
CN103458298A (en) Method and system or upgrading set top box software
CN103581764B (en) Downloading and storing method, downloading and storing system and playing system suitable for HLS video file
CN105760183A (en) File processing method, device, and communication system
CN105975311A (en) Application startup method and device
CN103177077A (en) APK file storing and outputting method
CN107396188A (en) The upgrade method and system of a kind of set top box
JP7257554B2 (en) Model file distribution method, platform, system, terminal and readable storage medium
CN104506943A (en) Set top box software customized upgrading method
CN109558161A (en) Upgrade packet processing method, device and OTA cloud server
CN104365111B (en) The method of related application is provided on the receiver based on ANDROID platform
CN105824926A (en) Method for dynamically selecting and calling external system interface
CN106909398A (en) The compression method and device of a kind of executable file
CN101808218A (en) Method, device and system for acquiring and updating content of electronic program guide
CN103491420B (en) Bidirectional video-on-demand method and digital television all-in-one machine
CN101765005A (en) Method for realizing data transmission by utilizing TS-packet continuous null bytes in DVB

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