CN101742068B - Method for downloading and updating terminal interface - Google Patents

Method for downloading and updating terminal interface Download PDF

Info

Publication number
CN101742068B
CN101742068B CN2009102015640A CN200910201564A CN101742068B CN 101742068 B CN101742068 B CN 101742068B CN 2009102015640 A CN2009102015640 A CN 2009102015640A CN 200910201564 A CN200910201564 A CN 200910201564A CN 101742068 B CN101742068 B CN 101742068B
Authority
CN
China
Prior art keywords
terminal interface
downloading
packet
file
configuration file
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.)
Expired - Fee Related
Application number
CN2009102015640A
Other languages
Chinese (zh)
Other versions
CN101742068A (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.)
SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI DIGIVISION 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 SHANGHAI DIGIVISION TECHNOLOGY Co Ltd filed Critical SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Priority to CN2009102015640A priority Critical patent/CN101742068B/en
Publication of CN101742068A publication Critical patent/CN101742068A/en
Application granted granted Critical
Publication of CN101742068B publication Critical patent/CN101742068B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for downloading and updating a terminal interface, which can also download and update files more effectively and practically on a set-top box with weak configurations even when resource files to be downloaded have a large amount of spread small files. The method adopts the technical scheme that: the spread small files are packed into a plurality of types of data packs and then a simple file version control is performed automatically so that the complexity and the expense with reference to a large amount of file version controls of OC are simplified. The aim of the method can be realized by only detecting few DII modules.

Description

Method for downloading and updating terminal interface
Technical field
The present invention relates to the terminal document download technology, relate in particular to the technology realization that the set-top box median surface dynamically updates.
Background technology
Because digital-TV operator often changes to the set-top box interface demand, this just requires set-top box manufacturer can support the automatic download at interface and in time dynamically updates.Traditional way is by the DSM-CC of Digital Television head end (Digital Storage Media-Command and Control, digital storage media-order and control) server pushes the relevant resource file in interface, normally utilize OC (Object Carousel, object poll) agreement to support the download and the management of file.The way of this traditional OC is: a file is made one or more modules, and each module all has a colophon.The version that OC need monitor each module in the file changes.One of such shortcoming is if a plurality of file changes simultaneously, then needs to spend a plurality of polling cycles, and renewal speed can be slack-off.
In addition, in concrete application and environment, may there be a large amount of scattered small documents, causes following problem:
(1) no matter be in the head end server or the realization of terminal set top box, the version management complexity and the cost of OC file are higher;
(2) a plurality of files may be dispersed in the different OC modules, and it is lower and the cycle is longer to upgrade the efficient of a plurality of files;
(3) on the more weak terminal set top box of configuration, more depend on the efficient of file system.Memory file system (for example Flash File System) is low for the treatment effeciency of a large amount of scrappy small documents, and memory time is long, can influence user's operation, forms fragmentation simultaneously easily, may cause the collapse of file system for a long time.
Summary of the invention
The objective of the invention is to address the above problem, a kind of method for downloading and updating terminal interface is provided, the resource file of downloading at needs exists under the situation of a large amount of scattered small documents, also can be more effectively on the more weak set-top box of configuration and practicably carry out file and download and upgrade.
Technical scheme of the present invention is: the present invention has disclosed a kind of method for downloading and updating terminal interface, comprising:
Resource file is classified;
The resource file of each classification is broken into a packet respectively, and a configuration file that includes all packet current version information is attached in one of them packet;
Each packet is placed in the head end server, in digital TV broadcasting network, pushes based on the object polling protocol;
Terminal equipment is by the variation of object polling protocol monitoring download message indicating module, if the download message indicating module changes, then start the search of the packet that transmits with the object polling protocol, take out this configuration file, under the version information that this configuration file comprised had more news, the packet of searching for this version information correspondence was with as update package;
After searching all update packages, untie update package, form listed files, the file that the sensing of element resource on the terminal interface is updated in the update package points to simultaneously, thus the real-time update terminal interface.
According to an embodiment of method for downloading and updating terminal interface of the present invention, this configuration file is the xml configuration file.
According to an embodiment of method for downloading and updating terminal interface of the present invention, this terminal equipment is a set-top box, and this head end server is digital storage media-order and Control Server.
According to an embodiment of method for downloading and updating terminal interface of the present invention, resource file is to classify according to the function and usage of resource.
Embodiment according to method for downloading and updating terminal interface of the present invention also comprises after the real-time update terminal interface:
With update package and corresponding configuration file stores in the storage device of terminal equipment.
According to an embodiment of method for downloading and updating terminal interface of the present invention, this storage device is a flash chip.
The present invention contrasts prior art following beneficial effect: technical scheme of the present invention breaks into scattered small documents the packet of a plurality of classifications earlier, then do simple FileVersion control voluntarily, thereby simplified the complexity and the expense of OC about the heap file Version Control.The DII module that only needs to detect seldom just can realize goal of the invention.Generally speaking, method of the present invention only need be searched for a module just can finish renewal, and will shorten in a large number update time, also reduced the configuration requirement to terminal equipment.Generally speaking, the present invention is based on existing OC agreement, a large amount of scrappy files can be packed, and control version voluntarily, avoided the drawback that traditional OC realizes and file system causes, also reduced requirement to a certain extent terminal equipment.
Description of drawings
Fig. 1 is the flow chart of the embodiment of method for downloading and updating terminal interface of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 shows the flow process of the embodiment of method for downloading and updating terminal interface of the present invention.See also Fig. 1, each step of the method for present embodiment will be discussed in more detail below.
Step S10: resource file is classified.
Can classify according to the function and usage of resource, for example, advertisement text, advertisement picture, announcement text and the XML configuration file that often changes can be divided into a class (for example can abbreviate category-A as), this class resource may be often to change.Also can be with the Background of for example page that often do not change, the background picture of button etc. as an other class (for example can abbreviate category-B as).Certainly, more than only for for example, can revise and adjust the classification of classification according to actual conditions.
Step S11: the resource file of each classification is broken into a packet respectively, and a configuration file that includes all packet current version information is attached in one of them packet.
Hold example, the picture that all can be belonged to category-A breaks into a packet, is referred to as the A bag, and all pictures that belong to category-B are broken into a packet, is referred to as the B bag.Increase a Version.xml configuration file, in this xml configuration file, comprised the current version information of the current version and the B bag of A bag.For example, configuration information may be:
<versions>
<item?file=“A.tar”ver=2.0.0>
<item?file=“B.tar”ver=1.0.0>
</versions>
Simultaneously the Version.xml configuration file also is packaged in the A bag, thereby generates new A bag.
The classification and the instrument of packing do not limit.
Step S12: each packet is placed in the head end server, in digital TV broadcasting network, pushes based on the OC agreement.
Hold example, A bag and B are wrapped two files be placed in the DSM-CC server of head end, in digital TV broadcasting network, push with the form of OC file.
Step S13: terminal equipment if the DII module changes, then starts the search of the packet that transmits with the OC agreement by the variation of OC protocol monitor DII (DownloadInfoIndication, download message indication) module, takes out configuration file.If the version information that configuration file comprised has renewal, then search for the packet corresponding, as update package with this version information.The DII module is a basic composition structure of packing in the OC agreement, belongs to the content that defines in the OC agreement.
In the present embodiment, terminal equipment can be a set-top box, but need know not as limit, and terminal equipment can be to realize all terminal types that download at the interface at digital TV field based on the OC agreement.
Hold example, set-top box in case DII module report version changes, is informed application program, the search of application program launching OC file by the variation of OC protocol monitor DII module.At first search for the A bag, from the A bag, take out the Version.xml configuration file.The version number of judging each bag and last version number of receiving if version number changes, show that then renewal has taken place this bag, restart OC and change bag at this and search for, and know that the variation search packet of being gone finishes.
Step S14: after searching all update packages, untie update package, form listed files, the file that the sensing of element resource on the terminal interface is updated in the update package points to simultaneously, thus the real-time update terminal interface.
Step S15: this is an optional step, the interface upgrade finish after, with update package and corresponding configuration file stores in the storage device of terminal equipment.Storage device for example is the Flash chip.
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.

Claims (6)

1. method for downloading and updating terminal interface comprises:
Resource file is classified;
The resource file of each classification is broken into a packet respectively, and a configuration file that includes all packet current version information is attached in one of them packet;
Each packet is placed in the head end server, in digital TV broadcasting network, pushes based on the object polling protocol;
Terminal equipment is by the variation of object polling protocol monitoring download message indicating module, if the download message indicating module changes, then start the search of the packet that transmits with the object polling protocol, take out this configuration file, under the version information of certain packet that this configuration file comprised had more news, the packet of searching for this version information correspondence was with as update package;
After searching all update packages, untie update package, form listed files, the file that the sensing of element resource on the terminal interface is updated in the update package points to simultaneously, thus the real-time update terminal interface.
2. method for downloading and updating terminal interface according to claim 1 is characterized in that, this configuration file is the xml configuration file.
3. method for downloading and updating terminal interface according to claim 1 is characterized in that this terminal equipment is a set-top box, and this head end server is digital storage media-order and Control Server.
4. method for downloading and updating terminal interface according to claim 1 is characterized in that, resource file is to classify according to the function and usage of resource.
5. method for downloading and updating terminal interface according to claim 1 is characterized in that, also comprises after the real-time update terminal interface:
With update package and corresponding configuration file stores in the storage device of terminal equipment.
6. method for downloading and updating terminal interface according to claim 5 is characterized in that this storage device is a flash chip.
CN2009102015640A 2009-12-22 2009-12-22 Method for downloading and updating terminal interface Expired - Fee Related CN101742068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102015640A CN101742068B (en) 2009-12-22 2009-12-22 Method for downloading and updating terminal interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102015640A CN101742068B (en) 2009-12-22 2009-12-22 Method for downloading and updating terminal interface

Publications (2)

Publication Number Publication Date
CN101742068A CN101742068A (en) 2010-06-16
CN101742068B true CN101742068B (en) 2011-09-21

Family

ID=42464906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102015640A Expired - Fee Related CN101742068B (en) 2009-12-22 2009-12-22 Method for downloading and updating terminal interface

Country Status (1)

Country Link
CN (1) CN101742068B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951362A (en) * 2010-08-13 2011-01-19 深圳市同洲电子股份有限公司 OC data updating method
CN102149018B (en) * 2010-11-30 2013-04-24 广东星海数字家庭产业技术研究院有限公司 Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine
CN102158741B (en) * 2011-01-20 2013-04-17 深圳市龙视传媒有限公司 Digital television data broadcasting system and data broadcasting method
CN102790912B (en) * 2012-08-17 2015-11-18 广东省广播电视网络股份有限公司 A kind of set top box channel information and menu information update method
CN103269453B (en) * 2013-05-29 2016-08-10 河南有线电视网络集团有限公司 Set-top box users interface updating method, fore device, Set Top Box and system
CN103763613A (en) * 2013-12-18 2014-04-30 无锡易视腾科技有限公司 Set top box screen customization method
CN103902692B (en) 2014-03-27 2017-05-10 网易乐得科技有限公司 Application interface updating method, device and system
CN107193492A (en) * 2017-05-18 2017-09-22 郑州云海信息技术有限公司 The method and device that a kind of small documents update
CN111078257B (en) * 2019-12-19 2023-09-08 杭州安恒信息技术股份有限公司 H5 application package loading method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984232A (en) * 2006-05-22 2007-06-20 天栢宽带网络科技(上海)有限公司 Unified updating management system for set-top box downloading document
CN101207800A (en) * 2007-12-04 2008-06-25 深圳市同洲电子股份有限公司 Method and system for updating set-top box VOD player
CN101419550A (en) * 2008-11-21 2009-04-29 上海全景数字技术有限公司 Dynamic collocation method and device for interface and action of set-top box multimedia interface
CN101500070A (en) * 2008-12-25 2009-08-05 上海全景数字技术有限公司 Interface element pushing method and apparatus for set-top box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984232A (en) * 2006-05-22 2007-06-20 天栢宽带网络科技(上海)有限公司 Unified updating management system for set-top box downloading document
CN101207800A (en) * 2007-12-04 2008-06-25 深圳市同洲电子股份有限公司 Method and system for updating set-top box VOD player
CN101419550A (en) * 2008-11-21 2009-04-29 上海全景数字技术有限公司 Dynamic collocation method and device for interface and action of set-top box multimedia interface
CN101500070A (en) * 2008-12-25 2009-08-05 上海全景数字技术有限公司 Interface element pushing method and apparatus for set-top box

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2002-314895A 2002.10.25

Also Published As

Publication number Publication date
CN101742068A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101742068B (en) Method for downloading and updating terminal interface
CN108055264B (en) Scheduling apparatus and method for push streaming server, and computer-readable storage medium
CN103583008B (en) To the expansion of the trigger parameter list for interactive television
CN106598673B (en) Application program upgrading method and system
US10656931B2 (en) Network event triggered software updates
CN101179474B (en) Download method, system and device
CN104778057A (en) Terminal system upgrading method and device, and server
CN103269453A (en) Set top box user interface updating method, front-end device and system and set top box
US20140109066A1 (en) Testing framework for applications
CN105302601A (en) System and method for software upgrade server
CN104850301A (en) Method and system for classifying application icons on system desktop
CN108174226B (en) Transcoding device and method for live video and computer readable storage medium
KR20090035044A (en) Update package catalog for update package transfer between generator and content server in a network
CN106598678A (en) Method and device for supplying application installation packages to terminal equipment
CN103647817A (en) Application uploading method
CN104426924A (en) Method, apparatus, client, server and system for updating application software
CN109213533B (en) Advertisement SDK dynamic loading method, device and terminal
CN103442272A (en) System upgrading method
EP2413255A1 (en) A computer-implemented method, a computer program product and an embedded system for increasing the speed of data retrieval by a client on the embedded system
CN105554552A (en) UI dynamic layout system and method based on set-top box
CN111045717B (en) Method, device, computer equipment and storage medium for acquiring project dependent package
CN106897052B (en) APK file compression method and device
KR20140081760A (en) Device programming system with data broadcast and method of operation thereof
CN102722383A (en) Software upgrading method and digital issue terminal
CN101764849B (en) Digital TV front-end server, the method setting up catalog organization structure and device

Legal Events

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

Granted publication date: 20110921

Termination date: 20171222