WO2011143879A1 - Method and system for upgrading set-top box of internet protocol television iptv - Google Patents

Method and system for upgrading set-top box of internet protocol television iptv Download PDF

Info

Publication number
WO2011143879A1
WO2011143879A1 PCT/CN2010/077028 CN2010077028W WO2011143879A1 WO 2011143879 A1 WO2011143879 A1 WO 2011143879A1 CN 2010077028 W CN2010077028 W CN 2010077028W WO 2011143879 A1 WO2011143879 A1 WO 2011143879A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
upgrade
hardware model
software image
top box
Prior art date
Application number
PCT/CN2010/077028
Other languages
French (fr)
Chinese (zh)
Inventor
杨瑞亚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011143879A1 publication Critical patent/WO2011143879A1/en

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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/818OS software

Definitions

  • the present invention relates to the field of interactive network television IPTV technology, and in particular, to an upgrade method and system for an IPTV set top box and an IPTV set top box.
  • IPTV Internet Protocol television
  • IPTV set-top box With the expansion of the IPTV (Internet Protocol television) set-top box market, the IPTV set-top box has become more and more fierce. In consideration of cost pressure, a set-top box with various hardware platforms has emerged, and various kinds of devices have emerged on the market. Model set-top box hardware version. The hardware version of the set-top box of each model needs to be maintained by each manufacturer separately, and it is often necessary to upgrade the software.
  • IPTV set-top boxes are upgraded in many ways, such as Hypertext Transfer Protocol (HTTP) upgrades, multicast upgrades, and Universal Serial Bus (USB) upgrades; various upgrade methods also take into account the reliability of the upgrade, such as through CRC (loop) Redundancy check, Cyclical Redundancy or ECC (Error Correction Code) check to ensure the reliability of the upgrade.
  • HTTP Hypertext Transfer Protocol
  • USB Universal Serial Bus
  • the existing upgrade method has the same verification method for the upgrade software image, and does not verify whether the upgrade software image actually belongs to the hardware model, which is likely to be artificial due to the upgrade. Negligence in operation leads to a version upgrade error, which causes the upgraded set-top box to be returned to the factory for repair, resulting in increased maintenance costs.
  • the existing upgrade method relies on manual to ensure whether the software image upgrade of each hardware platform belongs to the hardware platform. Therefore, the probability of an upgrade error is relatively large due to human negligence, and the CRC check or ECC check method is cumbersome and complicated to implement. The upgrade process is also slow.
  • the technical problem to be solved by the present invention is to provide an upgrade method and system for an interactive network television IPTV set-top box, which solves the problem that the prior art relies on manual upgrade to easily cause an upgrade error. It achieves the reliability of ensuring the upgrade of multiple hardware versions of the IPTV set-top box, and simplifies the verification of the upgraded software image.
  • the present invention provides an upgrade method for an interactive network television IPTV set top box, including:
  • the IPTV set-top box downloads the check value file, and uses the check value to verify the downloaded hardware model file and the upgrade software image file, and determines whether the hardware models of the IPTV set-top box, the hardware model file, and the upgrade software image file are consistent. When the verification passes and has a unified hardware model, the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
  • the file of the upgrade server configuration includes: a verification value file, a hardware model file, an upgrade rule file, and an upgrade package of one or more upgrade software image files; the upgrade server has the same hardware model file and the upgrade software image file agreement.
  • the hardware model number includes the hardware model file check value and the upgrade software image file check value.
  • the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
  • the IPTV set-top box downloads the verification value file from the upgrade server, and then downloads the hardware model file, and the IPTV set-top box calculates the verification value of the hardware model file, and compares with the verification value of the hardware model file in the verification value file. Determine whether the hardware model of the hardware model file is consistent with the hardware model of the IPTV set-top box. If both are consistent, continue to download the upgrade rule file and upgrade the software image file.
  • the IPTV set-top box calculates the verification value of the downloaded upgrade software image file, and compares it with the verification value of the upgrade software image file in the verification value file, and determines whether the hardware model of the upgrade software image file is the hardware model of the hardware model file. Consistent, if both are consistent, store each upgrade software Mirror the file and use the upgrade software image file to complete the upgrade process.
  • the file and the check value are used in the corresponding form, and one file and the check value respectively occupy one line;
  • the hardware model file corresponds to the check value of the hardware model file;
  • each upgrade software image file corresponds to An upgrade software image file checksum.
  • the hardware model file is stored in an encrypted form on the upgrade server; after the IPTV set top box downloads the hardware model file, the IPTV set top box calculates the check value of the hardware model file, first decrypts the hardware model file, and then decrypts the hardware model file. Calculate the check value of the contents of the hardware model file.
  • the IPTV set-top box determines that the upgrade is permitted according to the upgrade rule and the user agrees to upgrade, kills other processes in the IPTV set-top box, and then downloads the upgrade software image file.
  • the check value in the check value file and the check value calculated by the IPTV set top box use the check value of the fifth version message digest algorithm MD5.
  • the upgrade software image file includes hardware that is consistent with the hardware model file in the header definition.
  • the present invention also provides a system for implementing an upgrade of an interactive network television IPTV set-top box, the system comprising: an IPTV set-top box and an upgrade server, wherein
  • the upgrade server is configured to: agree on a hardware model file and a hardware model of the upgrade software image file, and establish an independent check value file;
  • the IPTV set-top box is configured to first download the verification value file, verify the downloaded hardware model file and the upgrade software image file by using the check value, and determine the hardware model of the set-top box, the hardware model file, and the upgrade software image file. Consistently, when the verification passes and has a unified hardware model, the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
  • the file of the upgrade server configuration includes: a verification value file, a hardware model file, an upgrade rule file, and an upgrade package of one or more upgrade software image files, wherein the hardware model file and the upgrade software image file have the same hardware model.
  • the check value file includes a hardware model file check value and an upgrade software image file check value.
  • the IPTV set top box is set to: Download the verification value file from the upgrade server, download the hardware model file, and calculate the hardware type.
  • the file and the check value are used in a corresponding form, and one file and the check value respectively occupy one line, and the hardware model file corresponds to the check value of the hardware model file; each upgrade software image file corresponds to An upgrade software image file checksum.
  • the upgrade software image file includes hardware that is consistent with the hardware model file in the header definition.
  • the present invention also provides an IPTV set-top box, including an upgrade module and a network access module, wherein the upgrade module is connected to the upgrade server through the network access module, and is configured to interact with the upgrade server to complete the upgrade process;
  • the upgrade module is configured to download the verification value file from the upgrade server, download the hardware model file, calculate the verification value of the hardware model file, and match the hardware model text in the verification value file, if If the two are consistent, continue to download the upgrade rule file and upgrade the software image file. Calculate the checksum value of the upgrade software image file, and compare it with the checksum value of the upgrade software image file in the check value file. Whether the hardware model of the image file is the same as the hardware model of the hardware model file. If the two are the same, store the upgrade software image files and use the upgrade software image file to complete the upgrade process.
  • the file and the check value are used in a corresponding form, and one file and the check value respectively occupy one line, and the hardware model file corresponds to the check value of the hardware model file; each upgrade software image file corresponds to An upgrade software image file check value;
  • the upgrade software image file and the hardware model file have the same hardware model;
  • the upgrade software image file includes a hardware type consistent with the hardware model file in the header definition.
  • the set-top box upgrade method and system of the invention can realize the security management when the IPTV set-top box multi-hardware platform software is upgraded, and has the following features:
  • the scheme is simple, and only the hardware model file and the definition of the hardware model in the upgrade software image need to be agreed; Easy to implement, simple verification of hardware models and upgrade software images; good compatibility, compatible with a variety of hardware platform upgrades, to ensure the security of the upgrade.
  • Figure 1 is a schematic diagram of the connection between the IPTV set-top box upgrade module and other internal modules and the upgrade server;
  • Figure 2 is a schematic diagram of the upgrade package in the upgrade server upgrade path
  • Figure 3 is a flow chart of the interaction between the upgrade module and the upgrade server when the IPTV set-top box is upgraded.
  • the method and system for upgrading an interactive network television IPTV set-top box of the present invention adopts a method of upgrading a software image file and a hardware model file to agree on a hardware model.
  • the set-top box determines whether the hardware model is consistent, and separately uses a separate school.
  • the verification file verifies the upgrade software image file and the hardware model file to ensure the reliability during the upgrade.
  • the invention has the advantages of simple scheme, easy implementation, good compatibility and the like.
  • the IPTV set top box 100 includes: an upgrade module 101, a network access module 102, a master browser module 103, a play module 104, a digital version management module 105, and a network management module 106.
  • the upgrade module is connected to the upgrade server through the network access module, and relies on the network access module to provide a network connection function, and is configured to complete the upgrade process of the upgrade server.
  • the network access module is connected to the HTTP service module on the upgrade server and is upgraded using the HTTP protocol.
  • the upgrade module is also responsible for verifying the hardware model and software image during the upgrade of the IPTV set-top box, as well as the judgment of the hardware model of the set-top box, the hardware model file, and the hardware model of the upgrade software image file; When satisfied, the upgrade module uses the upgrade software image file to complete the upgrade process.
  • the upgrade module interacts with the master browser module, and the interface of the master browser module prompts the user to select and execute.
  • the upgrade method of the set top box of the present invention includes:
  • the upgrade server configuration includes a verification value file, a hardware model file, an upgrade rule file, and an upgrade package of one or more upgrade software image files, where the hardware model file and the upgrade software image file have the same hardware model, the verification The value file includes the hardware model file check value and the upgrade software image file check value;
  • the IPTV set-top box downloads the verification value file from the upgrade server, and then downloads the hardware model file.
  • the set-top box calculates the verification value of the hardware model file, and checks with the hardware model file in the verification value file. If both are consistent, Then continue to download the upgrade rule file and upgrade the software image file;
  • the IPTV set-top box calculates the verification value of the upgrade software image file, and compares it with the verification value of the upgrade software image file in the verification value file, and determines whether the hardware model of the upgrade software image file is consistent with the hardware model of the hardware model file. If the two are consistent, store the upgrade software image files and use the upgrade software image file to complete the upgrade process.
  • the definition of the hardware model is first agreed, mainly to define the hardware model file and the hardware model included in the software image itself. Regardless of the box of the same manufacturer or the box of a different manufacturer, the software image of all hardware boxes follows the same convention, in the mirror Like the header definition contains a specific definition of the hardware model.
  • the hardware model file content conventions are: hardware model and hardware version.
  • the upgrade server is configured on its upgrade file storage module to include a check value file, a hardware model file, an upgrade rule file, and an upgrade package for each software image file. among them:
  • the check value file is set to store the check value of other files in the upgrade package, and the corresponding form of the file and the check value is used.
  • One file and the check value respectively occupy one line, and the check value is only valid for the upgrade software image. Does not include the check value of its own check value file and the upgrade rule file in the upgrade package.
  • the hardware model file is stored in the upgrade path of the upgrade server in encrypted mode to ensure the correctness of the hardware model.
  • An upgrade rule file which is set to define specific upgrade rules, such as upgrade when the version number is not equal, upgrade when the version number is greater than the existing version number, and so on.
  • Each upgrade software image file is a specific upgrade software.
  • the upgrade software image is a separate binary value file. It is a set-top box software.
  • the file contains the set-top box binary application, which can be executed by itself.
  • the upgrade software image itself no longer contains the CRC or ECC check value, and the fifth version of the message digest algorithm (md5) is used to verify the step of judging the verification value of the software image itself, reducing the upgrade time.
  • the upgrade module in the IPTV set-top box is responsible for interacting with the upgrade server and verifying the hardware model and software image.
  • the process of upgrading and verifying the hardware model is as follows:
  • the set-top box requests to download the verification value file under the upgrade path of the upgrade server. After receiving the request, the server responds to the upgrade request of the set-top box, and the set-top box downloads the verification value file.
  • the upgrade module then requests to download the hardware model file, the upgrade server responds to the download request, and the set-top box downloads the hardware model file successfully.
  • the upgrade module decrypts the hardware model file first, and then calculates the check value of the hardware model file content. If the calculated check value matches the check value of the hardware model in the check value file, the hardware model file is determined. Whether the content is equal to the hardware model definition stored in the set-top box itself.
  • the upgrade module then downloads the upgrade rules file, if the upgrade rules allow upgrades and And the user agrees to upgrade, kill other processes in the set-top box, the purpose is to release the memory and ensure the stability of the file system, and then request to download a specific software image file.
  • the upgrade module After the upgrade of the software image file is successful, the upgrade module first calculates the check value of the upgrade software image file, and determines whether the check value of the upgraded software image file in the check value of the image file and the check value file are calculated. Consistent. If they are consistent, then determine whether the hardware model in the upgrade software image file is consistent with the content of the hardware model file.
  • the upgrade storage is performed only after the hardware model and checksum of the upgrade software image file are verified successfully.
  • the software is stored on the storage chip of the set top box. After the upgrade is complete, the set-top box will automatically restart. At this point, the upgrade process is over.
  • the upgrade package includes: a check value file, a hardware model file, an upgrade rule file, and each software image file, where:
  • the check value file is an md5.txt file, and the md5 (Message Digest Algorithm, the fifth version of the message digest algorithm is a method of encryption and decryption) is used.
  • the format of the md5.txt file is:
  • the hardware model file is used to define the specific hardware model.
  • the hardware model file uses 3DES (Data Encryption Standard).
  • the upgrade rules file indicates which upgrade conditions will be upgraded.
  • Upgrade the software image is a separate binary value file, is the software of the set top box, and the file contains the set top box binary application, which can be executed by itself.
  • the upgrade software image itself no longer contains the CRC or ECC check value, and the md5 checksum is used to eliminate the step of judging the software image itself to reduce the upgrade time.
  • Figure 3 is a flow chart of the interaction between the upgrade module and the upgrade server when the IPTV set-top box is upgraded.
  • the HTTP download protocol is used, and the set top box and the upgrade server must support the HTTP protocol.
  • the set top box upgrade module first requests to download the md5.txt file.
  • the set-top box upgrade module downloads the md5.txt file successfully.
  • the set top box upgrade module requests to download the hardware model file.
  • the upgrade module decrypts the hardware model file, calculates the md5 value of the hardware model file, and compares with the md5 value of the hardware model in the md5.txt file, if the two are equal, the content of the hardware model file is compared with the content of the set top box itself. Is the hardware model consistent?
  • the upgrade module requests to download the upgrade rule file.
  • the upgrade server returns 200 OK.
  • the set-top box upgrade module successfully downloads the upgrade rule file.
  • the upgrade module of the set top box kills other processes in the set top box and releases the occupied memory.
  • the upgrade module of the set top box requests to download a specific upgrade software image file.
  • the upgrade server returns 200 ⁇ .
  • the upgrade module of the set-top box downloads the upgrade software image file successfully.
  • the upgrade module calculates the md5 value of the upgrade software image file, and compares the value in the md5 file; and compares the upgrade software image file itself. Whether the hardware model matches the content of the hardware model file. If both are equal, the image file is stored on the memory chip. After the storage software image is successful, the upgrade module automatically restarts the set-top box.
  • the upgrade method and system of the invention realize the security management when the IPTV set-top box multi-hardware platform software is upgraded, and has the following characteristics:
  • the top box realizes the security management when upgrading the IPTV set-top box multi-hardware platform software, and the scheme is simple. It only needs to agree on the definition of the hardware model in the hardware model file and the upgrade software image file; easy to implement, hardware model and upgrade Software image verification is simple; compatibility is good, compatible with a variety of hardware platform upgrades, to ensure the security of the upgrade.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Disclosed are a method and system for upgrading a set-top box of an internet protocol television (IPTV), and an IPTV set-top box. The method comprises that: an upgrade server arranges hardware models for hardware model file and upgrade software mirror image file, and establishes a separate check value file; an IPTV set-top box downloads the check value file, performs a check on the downloaded hardware model file and upgrade software mirror image file by using the check value of the check value file, and judges whether the hardware models of the IPTV set-top box, the hardware model file and the upgrade software mirror image file are identical; and if the check passes and there is a uniform hardware model, the IPTV set-top box accomplishes the upgrade process by using the upgrade software mirror image file. The present invention arranges the hardware model definition of the hardware model file and the upgrade software mirror image file, simply realizes the check of the hardware model and the upgrade software mirror image, is compatible with the upgrade of multiple hardware platforms, and ensures the upgrade safety. The present invention has the characteristics of simple scheme, easy realization, and good compatibility.

Description

交互式网络电视 IPTV机顶盒的升级方法及系统  Interactive network television IPTV set-top box upgrade method and system
技术领域 Technical field
本发明涉及交互式网络电视 IPTV技术领域,尤其涉及 IPTV机顶盒的升 级方法及系统和 IPTV机顶盒。  The present invention relates to the field of interactive network television IPTV technology, and in particular, to an upgrade method and system for an IPTV set top box and an IPTV set top box.
背景技术 Background technique
随着 IPTV (交互式网络电视, Internet Protocol television )机顶盒市场的 扩大, IPTV机顶盒竟争愈来愈激烈, 在考虑成本压力的情况下, 出现了多 种硬件平台的机顶盒, 市场上涌现出各种型号的机顶盒硬件版本。 各种型号 的机顶盒硬件版本需要各厂家单独来维护, 经常需要升级更新软件。  With the expansion of the IPTV (Internet Protocol television) set-top box market, the IPTV set-top box has become more and more fierce. In consideration of cost pressure, a set-top box with various hardware platforms has emerged, and various kinds of devices have emerged on the market. Model set-top box hardware version. The hardware version of the set-top box of each model needs to be maintained by each manufacturer separately, and it is often necessary to upgrade the software.
目前, IPTV机顶盒的升级方法比较多, 例如超文本传输协议(HTTP ) 升级、 组播升级及通用串行总线 (USB )升级; 各种升级方法也考虑到了升 级的可靠性, 比如通过 CRC (循环冗余校验, Cyclical Redundancy )或者 ECC (错误校正码, Error Correction Code )校验来保证升级的可靠性。  At present, IPTV set-top boxes are upgraded in many ways, such as Hypertext Transfer Protocol (HTTP) upgrades, multicast upgrades, and Universal Serial Bus (USB) upgrades; various upgrade methods also take into account the reliability of the upgrade, such as through CRC (loop) Redundancy check, Cyclical Redundancy or ECC (Error Correction Code) check to ensure the reliability of the upgrade.
但对于釆用相同存储芯片的不同硬件版本, 现有升级方法对升级软件镜 像的校验方法相同, 都不校验该升级软件镜像是否真正属于该硬件型号, 这 就很可能在升级时由于人为操作疏忽导致版本升级错误, 造成升级后的机顶 盒只能返厂维修, 使得维护成本加大。  However, for different hardware versions of the same memory chip, the existing upgrade method has the same verification method for the upgrade software image, and does not verify whether the upgrade software image actually belongs to the hardware model, which is likely to be artificial due to the upgrade. Negligence in operation leads to a version upgrade error, which causes the upgraded set-top box to be returned to the factory for repair, resulting in increased maintenance costs.
现有的升级方法单独依赖人工来保证各硬件平台升级软件镜像是否属于 该硬件平台, 因而人为疏忽导致升级出错的概率比较大, 并且 CRC校验或 ECC校验方法比较繁瑣, 实现起来比较复杂, 导致升级过程也比较慢。  The existing upgrade method relies on manual to ensure whether the software image upgrade of each hardware platform belongs to the hardware platform. Therefore, the probability of an upgrade error is relatively large due to human negligence, and the CRC check or ECC check method is cumbersome and complicated to implement. The upgrade process is also slow.
因此, 针对多硬件平台的机顶盒如何实现可靠简便的升级, 成为需要解 决的技术问题。  Therefore, how to implement a reliable and easy upgrade of a set-top box for a multi-hardware platform becomes a technical problem that needs to be solved.
发明内容 Summary of the invention
本发明所要解决的技术问题在于, 提供一种交互式网络电视 IPTV机顶 盒的升级方法及系统,解决现有技术依赖人工升级易于造成升级错误的问题, 达到保证 IPTV机顶盒多硬件版本升级时的可靠性,简化对升级软件镜像的校 验的目的。 The technical problem to be solved by the present invention is to provide an upgrade method and system for an interactive network television IPTV set-top box, which solves the problem that the prior art relies on manual upgrade to easily cause an upgrade error. It achieves the reliability of ensuring the upgrade of multiple hardware versions of the IPTV set-top box, and simplifies the verification of the upgraded software image.
为了解决上述问题, 本发明提出了一种交互式网络电视 IPTV机顶盒的 升级方法, 包括:  In order to solve the above problems, the present invention provides an upgrade method for an interactive network television IPTV set top box, including:
升级服务器约定硬件型号文件和升级软件镜像文件的硬件型号, 并建立 独立的校验值文件; 以及  Upgrade the hardware model of the hardware model file and the upgrade software image file, and establish a separate check value file;
IPTV机顶盒下载所述校验值文件,利用其中的校验值对下载的硬件型号 文件和升级软件镜像文件进行校验, 并判断 IPTV机顶盒、硬件型号文件、升 级软件镜像文件的硬件型号是否一致, 当校验通过且具有统一的硬件型号时, IPTV机顶盒利用升级软件镜像文件完成升级过程。  The IPTV set-top box downloads the check value file, and uses the check value to verify the downloaded hardware model file and the upgrade software image file, and determines whether the hardware models of the IPTV set-top box, the hardware model file, and the upgrade software image file are consistent. When the verification passes and has a unified hardware model, the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
在升级服务器约定硬件型号文件和升级软件镜像文件的硬件型号, 并建 立独立的校验值文件的步骤中,  In the step of upgrading the server to specify the hardware model file and the hardware model of the upgrade software image file, and establishing a separate verification value file,
所述升级服务器配置的文件包括: 校验值文件、 硬件型号文件、 升级规 则文件以及一个或多个升级软件镜像文件的升级包; 所述升级服务器对硬件 型号文件与升级软件镜像文件约定有一致的硬件型号; 所述校验值文件中包 括硬件型号文件校验值和升级软件镜像文件校验值。  The file of the upgrade server configuration includes: a verification value file, a hardware model file, an upgrade rule file, and an upgrade package of one or more upgrade software image files; the upgrade server has the same hardware model file and the upgrade software image file agreement. The hardware model number includes the hardware model file check value and the upgrade software image file check value.
在 IPTV机顶盒下载所述校验值文件, 利用其中的校验值对下载的硬件 型号文件和升级软件镜像文件进行校验,并判断 IPTV机顶盒、硬件型号文件、 升级软件镜像文件的硬件型号是否一致, 当校验通过且具有统一的硬件型号 时, IPTV机顶盒利用升级软件镜像文件完成升级过程的步骤中,  Downloading the verification value file in the IPTV set-top box, verifying the downloaded hardware model file and the upgrade software image file by using the check value therein, and determining whether the hardware models of the IPTV set-top box, the hardware model file, and the upgrade software image file are consistent. When the verification passes and has a unified hardware model, the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
所述 IPTV机顶盒从升级服务器先下载校验值文件, 再下载硬件型号文 件, IPTV机顶盒计算出硬件型号文件的校验值, 并与校验值文件中的硬件型 号文件校验值比较是否一致,判断硬件型号文件的硬件型号是否与 IPTV机顶 盒的硬件型号一致, 若两者都一致, 则继续下载升级规则文件、 升级软件镜 像文件;  The IPTV set-top box downloads the verification value file from the upgrade server, and then downloads the hardware model file, and the IPTV set-top box calculates the verification value of the hardware model file, and compares with the verification value of the hardware model file in the verification value file. Determine whether the hardware model of the hardware model file is consistent with the hardware model of the IPTV set-top box. If both are consistent, continue to download the upgrade rule file and upgrade the software image file.
IPTV机顶盒计算出下载的升级软件镜像文件的校验值,并与校验值文件 中的升级软件镜像文件校验值比较是否一致, 判断升级软件镜像文件的硬件 型号是否与硬件型号文件的硬件型号一致, 若两者都一致, 存储各升级软件 镜像文件并利用升级软件镜像文件完成升级过程。 The IPTV set-top box calculates the verification value of the downloaded upgrade software image file, and compares it with the verification value of the upgrade software image file in the verification value file, and determines whether the hardware model of the upgrade software image file is the hardware model of the hardware model file. Consistent, if both are consistent, store each upgrade software Mirror the file and use the upgrade software image file to complete the upgrade process.
所述校验值文件中, 釆用文件和校验值——对应的形式, 一个文件和校 验值单独占一行; 硬件型号文件对应其硬件型号文件校验值; 每一升级软件 镜像文件对应一升级软件镜像文件校验值。  In the check value file, the file and the check value are used in the corresponding form, and one file and the check value respectively occupy one line; the hardware model file corresponds to the check value of the hardware model file; each upgrade software image file corresponds to An upgrade software image file checksum.
所述硬件型号文件釆用加密形式存储在升级服务器上; 所述 IPTV机顶 盒在下载硬件型号文件后, IPTV机顶盒计算出硬件型号文件的校验值的处理 中, 先解密该硬件型号文件, 然后再计算出该硬件型号文件内容的校验值。  The hardware model file is stored in an encrypted form on the upgrade server; after the IPTV set top box downloads the hardware model file, the IPTV set top box calculates the check value of the hardware model file, first decrypts the hardware model file, and then decrypts the hardware model file. Calculate the check value of the contents of the hardware model file.
所述 IPTV机顶盒在下载升级规则文件后, 在下载升级软件镜像文件的 处理中, 根据升级规则判断为允许升级并且用户同意升级时, 则杀死 IPTV 机顶盒内其它进程, 再下载升级软件镜像文件。  After downloading the upgrade rule file, the IPTV set-top box, in the process of downloading the upgrade software image file, determines that the upgrade is permitted according to the upgrade rule and the user agrees to upgrade, kills other processes in the IPTV set-top box, and then downloads the upgrade software image file.
所述校验值文件中的校验值以及 IPTV机顶盒计算出的校验值釆用第五 版消息摘要算法 MD5的校验值。  The check value in the check value file and the check value calculated by the IPTV set top box use the check value of the fifth version message digest algorithm MD5.
所述升级软件镜像文件中在头部定义中包含与硬件型号文件一致的硬件  The upgrade software image file includes hardware that is consistent with the hardware model file in the header definition.
本发明还提供一种实现交互式网络电视 IPTV机顶盒升级的系统, 该系 统包括: IPTV机顶盒和升级服务器, 其中, The present invention also provides a system for implementing an upgrade of an interactive network television IPTV set-top box, the system comprising: an IPTV set-top box and an upgrade server, wherein
所述升级服务器设置为, 约定硬件型号文件和升级软件镜像文件的硬件 型号, 并建立独立的校验值文件;  The upgrade server is configured to: agree on a hardware model file and a hardware model of the upgrade software image file, and establish an independent check value file;
IPTV机顶盒设置为, 先下载所述校验值文件, 利用其中的校验值对下载 的硬件型号文件和升级软件镜像文件进行校验, 并判断机顶盒、 硬件型号文 件、 升级软件镜像文件的硬件型号是否一致, 当校验通过且具有统一的硬件 型号时, IPTV机顶盒利用升级软件镜像文件完成升级过程。  The IPTV set-top box is configured to first download the verification value file, verify the downloaded hardware model file and the upgrade software image file by using the check value, and determine the hardware model of the set-top box, the hardware model file, and the upgrade software image file. Consistently, when the verification passes and has a unified hardware model, the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
所述升级服务器配置的文件包括: 校验值文件、 硬件型号文件、 升级规 则文件以及一个或多个升级软件镜像文件的升级包, 其中, 硬件型号文件与 升级软件镜像文件约定有一致的硬件型号, 所述校验值文件中包括硬件型号 文件校验值和升级软件镜像文件校验值。  The file of the upgrade server configuration includes: a verification value file, a hardware model file, an upgrade rule file, and an upgrade package of one or more upgrade software image files, wherein the hardware model file and the upgrade software image file have the same hardware model. The check value file includes a hardware model file check value and an upgrade software image file check value.
所述 IPTV机顶盒是设置为: 从升级服务器先下载校验值文件, 再下载硬件型号文件, 计算出硬件型 The IPTV set top box is set to: Download the verification value file from the upgrade server, download the hardware model file, and calculate the hardware type.
一致, 则继续下载升级规则文件、 升级软件镜像文件; 以及 If they are consistent, continue to download the upgrade rule file and upgrade the software image file;
计算出升级软件镜像文件的校验值, 并与校验值文件中的升级软件镜像 文件校验值比较是否一致, 判断升级软件镜像文件的硬件型号是否与硬件型 号文件的硬件型号一致, 若两者都一致, 存储各升级软件镜像文件并利用升 级软件镜像文件完成升级过程。  Calculate the checksum value of the upgrade software image file and compare it with the checksum value of the upgrade software image file in the checksum file. Determine whether the hardware model of the upgrade software image file is the same as the hardware model of the hardware model file. All of them are consistent, store each upgrade software image file and use the upgrade software image file to complete the upgrade process.
所述校验值文件中, 釆用文件和校验值——对应的形式, 一个文件和校 验值单独占一行, 硬件型号文件对应其硬件型号文件校验值; 每一升级软件 镜像文件对应一升级软件镜像文件校验值。  In the check value file, the file and the check value are used in a corresponding form, and one file and the check value respectively occupy one line, and the hardware model file corresponds to the check value of the hardware model file; each upgrade software image file corresponds to An upgrade software image file checksum.
所述升级软件镜像文件中在头部定义中包含与硬件型号文件一致的硬件  The upgrade software image file includes hardware that is consistent with the hardware model file in the header definition.
本发明还提供一种 IPTV机顶盒, 包括升级模块和网络接入模块, 其中, 所述升级模块经过网络接入模块与升级服务器连接, 并设置为与升级服 务器交互完成升级过程; The present invention also provides an IPTV set-top box, including an upgrade module and a network access module, wherein the upgrade module is connected to the upgrade server through the network access module, and is configured to interact with the upgrade server to complete the upgrade process;
所述升级模块是设置为, 从升级服务器先下载校验值文件, 再下载硬件 型号文件, 计算出硬件型号文件的校验值, 并与校验值文件中的硬件型号文 硬件型号一致, 若两者都一致, 则继续下载升级规则文件、 升级软件镜像文 件; 以及计算出升级软件镜像文件的校验值, 与校验值文件中的升级软件镜 像文件校验值比较是否一致, 判断升级软件镜像文件的硬件型号是否与硬件 型号文件的硬件型号一致, 若两者都一致, 存储各升级软件镜像文件并利用 升级软件镜像文件完成升级过程。  The upgrade module is configured to download the verification value file from the upgrade server, download the hardware model file, calculate the verification value of the hardware model file, and match the hardware model text in the verification value file, if If the two are consistent, continue to download the upgrade rule file and upgrade the software image file. Calculate the checksum value of the upgrade software image file, and compare it with the checksum value of the upgrade software image file in the check value file. Whether the hardware model of the image file is the same as the hardware model of the hardware model file. If the two are the same, store the upgrade software image files and use the upgrade software image file to complete the upgrade process.
所述校验值文件中, 釆用文件和校验值——对应的形式, 一个文件和校 验值单独占一行, 硬件型号文件对应其硬件型号文件校验值; 每一升级软件 镜像文件对应一升级软件镜像文件校验值; 所述升级软件镜像文件与所述硬件型号文件具有约定一致的硬件型号; 所述升级软件镜像文件中在头部定义中包含与硬件型号文件一致的硬件型 In the check value file, the file and the check value are used in a corresponding form, and one file and the check value respectively occupy one line, and the hardware model file corresponds to the check value of the hardware model file; each upgrade software image file corresponds to An upgrade software image file check value; The upgrade software image file and the hardware model file have the same hardware model; the upgrade software image file includes a hardware type consistent with the hardware model file in the header definition.
本发明的机顶盒升级方法及系统, 可实现 IPTV机顶盒多硬件平台软件 升级时的安全性管理, 具有如下特点: 方案简单, 只需要约定好硬件型号文 件和升级软件镜像中硬件型号的定义即可; 易于实现, 对硬件型号和升级软 件镜像的校验简单; 兼容性好, 可兼容多种硬件平台的升级, 确保升级的安 全性。 附图概述 The set-top box upgrade method and system of the invention can realize the security management when the IPTV set-top box multi-hardware platform software is upgraded, and has the following features: The scheme is simple, and only the hardware model file and the definition of the hardware model in the upgrade software image need to be agreed; Easy to implement, simple verification of hardware models and upgrade software images; good compatibility, compatible with a variety of hardware platform upgrades, to ensure the security of the upgrade. BRIEF abstract
图 1是 IPTV机顶盒升级模块与内部其它模块以及升级服务器的连接示 意图;  Figure 1 is a schematic diagram of the connection between the IPTV set-top box upgrade module and other internal modules and the upgrade server;
图 2是升级服务器升级路径下的升级包示意图;  Figure 2 is a schematic diagram of the upgrade package in the upgrade server upgrade path;
图 3是 IPTV机顶盒升级时升级模块与升级服务器交互的流程图。  Figure 3 is a flow chart of the interaction between the upgrade module and the upgrade server when the IPTV set-top box is upgraded.
本发明的较佳实施方式 Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚, 以下结合附图对本发明 作进一步地详细说明。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.
本发明的一种交互式网络电视 IPTV机顶盒的升级方法及系统, 釆用升 级软件镜像文件与硬件型号文件约定硬件型号的方式, 升级时, 由机顶盒判 断硬件型号是否一致, 另外釆用单独的校验值文件对升级软件镜像文件和硬 件型号文件进行校验, 保证升级时的可靠性, 本发明具有方案简单, 易于实 现, 兼容性好等优点。  The method and system for upgrading an interactive network television IPTV set-top box of the present invention adopts a method of upgrading a software image file and a hardware model file to agree on a hardware model. When upgrading, the set-top box determines whether the hardware model is consistent, and separately uses a separate school. The verification file verifies the upgrade software image file and the hardware model file to ensure the reliability during the upgrade. The invention has the advantages of simple scheme, easy implementation, good compatibility and the like.
如图 1所示,显示了 IPTV机顶盒的结构模块图,给出了机顶盒中的升级 模块与其它模块间的连接关系。 IPTV机顶盒 100, 包括: 升级模块 101、 网 络接入模块 102、主控浏览器模块 103、播放模块 104、数字版本管理模块 105、 网管模块 106。 其中, 升级模块经过网络接入模块与升级服务器连接, 依赖 网络接入模块提供网络连接功能, 其设置为完成升级服务器的升级过程, 网 络接入模块和升级服务器上的 HTTP服务模块相连, 利用 HTTP协议进行升 级。 As shown in Figure 1, the structural block diagram of the IPTV set-top box is shown, and the connection relationship between the upgrade module and other modules in the set-top box is given. The IPTV set top box 100 includes: an upgrade module 101, a network access module 102, a master browser module 103, a play module 104, a digital version management module 105, and a network management module 106. The upgrade module is connected to the upgrade server through the network access module, and relies on the network access module to provide a network connection function, and is configured to complete the upgrade process of the upgrade server. The network access module is connected to the HTTP service module on the upgrade server and is upgraded using the HTTP protocol.
升级模块, 还负责在 IPTV机顶盒升级时进行硬件型号和软件镜像的校 验, 以及对机顶盒的硬件型号、 硬件型号文件、 升级软件镜像文件的硬件型 号一致性的判断; 在校验及一致性都满足时, 升级模块利用升级软件镜像文 件完成升级过程。  The upgrade module is also responsible for verifying the hardware model and software image during the upgrade of the IPTV set-top box, as well as the judgment of the hardware model of the set-top box, the hardware model file, and the hardware model of the upgrade software image file; When satisfied, the upgrade module uses the upgrade software image file to complete the upgrade process.
升级模块与主控浏览器模块交互, 由主控浏览器模块的界面提示用户选 判断执行。  The upgrade module interacts with the master browser module, and the interface of the master browser module prompts the user to select and execute.
上述播放模块、 数字版本管理模块及网管模块的具体功能与现有 IPTV 机顶盒中对应模块的功能相同, 在此不详述。  The specific functions of the above-mentioned play module, digital version management module, and network management module are the same as those of the corresponding modules in the existing IPTV set-top box, and are not described in detail herein.
基于图 1所示的交互式网络电视 IPTV机顶盒和升级服务器,本发明的机 顶盒的升级方法, 包括:  Based on the interactive network television IPTV set top box and the upgrade server shown in FIG. 1, the upgrade method of the set top box of the present invention includes:
升级服务器配置包括校验值文件、 硬件型号文件、 升级规则文件以及一 个或多个升级软件镜像文件的升级包, 其中, 硬件型号文件与升级软件镜像 文件约定有一致的硬件型号, 所述校验值文件中包括硬件型号文件校验值和 升级软件镜像文件校验值;  The upgrade server configuration includes a verification value file, a hardware model file, an upgrade rule file, and an upgrade package of one or more upgrade software image files, where the hardware model file and the upgrade software image file have the same hardware model, the verification The value file includes the hardware model file check value and the upgrade software image file check value;
IPTV机顶盒从升级服务器先下载校验值文件, 再下载硬件型号文件, 机 顶盒计算出硬件型号文件的校验值, 并与校验值文件中的硬件型号文件校验 致, 若两者都一致, 则继续下载升级规则文件、 升级软件镜像文件;  The IPTV set-top box downloads the verification value file from the upgrade server, and then downloads the hardware model file. The set-top box calculates the verification value of the hardware model file, and checks with the hardware model file in the verification value file. If both are consistent, Then continue to download the upgrade rule file and upgrade the software image file;
IPTV机顶盒计算出升级软件镜像文件的校验值,并与校验值文件中的升 级软件镜像文件校验值比较是否一致, 判断升级软件镜像文件的硬件型号是 否与硬件型号文件的硬件型号一致, 若两者都一致, 存储各升级软件镜像文 件并利用升级软件镜像文件完成升级过程。  The IPTV set-top box calculates the verification value of the upgrade software image file, and compares it with the verification value of the upgrade software image file in the verification value file, and determines whether the hardware model of the upgrade software image file is consistent with the hardware model of the hardware model file. If the two are consistent, store the upgrade software image files and use the upgrade software image file to complete the upgrade process.
所述升级方法具体执行时, 首先要约定硬件型号的定义, 主要是对硬件 型号文件的定义和软件镜像本身包含的硬件型号进行约定。 无论同一厂商的 盒子或者不同厂商的盒子, 所有硬件盒子的软件镜像遵循相同的约定, 在镜 像头部定义包含硬件型号的具体定义。 硬件型号文件内容约定为: 硬件型号 和硬件版本。 通过这种约定, 可以保证硬件型号文件与升级软件镜像文件的 关联一致性, 避免对机顶盒硬件釆用错误的升级软件镜像文件进行升级造成 升级错误。 When the upgrade method is specifically implemented, the definition of the hardware model is first agreed, mainly to define the hardware model file and the hardware model included in the software image itself. Regardless of the box of the same manufacturer or the box of a different manufacturer, the software image of all hardware boxes follows the same convention, in the mirror Like the header definition contains a specific definition of the hardware model. The hardware model file content conventions are: hardware model and hardware version. Through this convention, the association between the hardware model file and the upgrade software image file can be ensured, and the upgrade error of the upgraded software image file of the set-top box hardware can be avoided.
升级服务器在其升级文件存储模块上, 配置包括校验值文件、 硬件型号 文件、 升级规则文件以及各软件镜像文件的升级包。 其中:  The upgrade server is configured on its upgrade file storage module to include a check value file, a hardware model file, an upgrade rule file, and an upgrade package for each software image file. among them:
校验值文件, 其设置为存放升级包里其它文件的校验值, 釆用文件和校 验值的对应形式, 一个文件和校验值单独占一行, 校验值只对升级软件镜像 有效, 不包括本身的校验值文件和升级包里的升级规则文件的校验值。  The check value file is set to store the check value of other files in the upgrade package, and the corresponding form of the file and the check value is used. One file and the check value respectively occupy one line, and the check value is only valid for the upgrade software image. Does not include the check value of its own check value file and the upgrade rule file in the upgrade package.
硬件型号文件, 釆用加密方式存放在升级服务器的升级路径下, 充分保 证硬件型号的正确性。  The hardware model file is stored in the upgrade path of the upgrade server in encrypted mode to ensure the correctness of the hardware model.
升级规则文件, 其设置为定义具体的升级规则, 如版本号不相等时升级、 大于现有版本号时升级等。  An upgrade rule file, which is set to define specific upgrade rules, such as upgrade when the version number is not equal, upgrade when the version number is greater than the existing version number, and so on.
各升级软件镜像文件是具体的升级软件, 所述升级软件镜像是一个独立 的二进制值的文件, 是机顶盒的软件, 文件中包含机顶盒二进制的应用程序, 可独自执行。 升级软件镜像本身不再包含 CRC或者 ECC校验值, 釆用第五 版消息摘要算法 (md5 )校验, 省去判断软件镜像本身校验值的步骤, 减小 升级时间。  Each upgrade software image file is a specific upgrade software. The upgrade software image is a separate binary value file. It is a set-top box software. The file contains the set-top box binary application, which can be executed by itself. The upgrade software image itself no longer contains the CRC or ECC check value, and the fifth version of the message digest algorithm (md5) is used to verify the step of judging the verification value of the software image itself, reducing the upgrade time.
升级执行时, IPTV机顶盒中的升级模块负责与升级服务器交互并且进行 硬件型号和软件镜像的校验。 具体升级校验硬件型号的过程如下:  When the upgrade is performed, the upgrade module in the IPTV set-top box is responsible for interacting with the upgrade server and verifying the hardware model and software image. The process of upgrading and verifying the hardware model is as follows:
机顶盒请求下载升级服务器升级路径下的校验值文件, 服务器接收到该 请求后, 响应机顶盒的升级请求, 机顶盒下载成功校验值文件。  The set-top box requests to download the verification value file under the upgrade path of the upgrade server. After receiving the request, the server responds to the upgrade request of the set-top box, and the set-top box downloads the verification value file.
升级模块然后请求下载硬件型号文件, 升级服务器响应下载请求, 机顶 盒下载硬件型号文件成功。 升级模块先解密该硬件型号文件, 然后再计算该 硬件型号文件内容的校验值, 如果计算所得的校验值和校验值文件中的硬件 型号的校验值匹配, 再判断该硬件型号文件的内容与机顶盒本身存储的硬件 型号定义是否相等。  The upgrade module then requests to download the hardware model file, the upgrade server responds to the download request, and the set-top box downloads the hardware model file successfully. The upgrade module decrypts the hardware model file first, and then calculates the check value of the hardware model file content. If the calculated check value matches the check value of the hardware model in the check value file, the hardware model file is determined. Whether the content is equal to the hardware model definition stored in the set-top box itself.
如果相等, 升级模块接着下载升级规则文件, 如果升级规则允许升级并 且用户同意升级, 杀死机顶盒内其它进程, 目的是释放出内存并且保证文件 系统的稳定性, 然后请求下载具体的软件镜像文件。 If equal, the upgrade module then downloads the upgrade rules file, if the upgrade rules allow upgrades and And the user agrees to upgrade, kill other processes in the set-top box, the purpose is to release the memory and ensure the stability of the file system, and then request to download a specific software image file.
升级模块在具体的软件镜像文件下载成功后, 首先计算该升级软件镜像 文件的校验值, 判断计算出的该镜像文件的校验值和校验值文件中升级软件 镜像文件的校验值是否一致。 如一致, 接着判断升级软件镜像文件中的硬件 型号是否和硬件型号文件的内容一致。  After the upgrade of the software image file is successful, the upgrade module first calculates the check value of the upgrade software image file, and determines whether the check value of the upgraded software image file in the check value of the image file and the check value file are calculated. Consistent. If they are consistent, then determine whether the hardware model in the upgrade software image file is consistent with the content of the hardware model file.
在升级软件镜像文件的硬件型号和校验值都校验成功, 才执行升级存储 工作。  The upgrade storage is performed only after the hardware model and checksum of the upgrade software image file are verified successfully.
上述硬件型号判断和校验值判断如不相等, 就退出升级并且界面友好提 示用户: 该硬件版本软件镜像错误。  If the above hardware model judgment and check value are judged to be unequal, the upgrade is exited and the user is friendly to the user: The hardware version software image is incorrect.
在硬件型号判断和校验值判断都通过后 , 存储各软件镜像到机顶盒的存 储芯片上。 升级完成后, 机顶盒会自动重启。 至此, 升级过程结束。  After the hardware model judgment and the check value judgment are passed, the software is stored on the storage chip of the set top box. After the upgrade is complete, the set-top box will automatically restart. At this point, the upgrade process is over.
如图 2所示, 显示了升级 Λ良务器的升级文件存储模块的升级路径下的升 级包中所包含的文件类型示意图。 升级包中包括: 校验值文件、 硬件型号文 件、 升级规则文件以及各软件镜像文件, 其中: As shown in Figure 2, the file type of the upgrade package included in the upgrade path of the upgrade file storage module of the upgrade server is displayed. The upgrade package includes: a check value file, a hardware model file, an upgrade rule file, and each software image file, where:
( 1 )校验值文件是 md5.txt文件, 釆用 md5 ( Message Digest Algorithm, 消息摘要算法第五版, 是一种加解密的方法)校验方法。 md5.txt文件的格式 为:  (1) The check value file is an md5.txt file, and the md5 (Message Digest Algorithm, the fifth version of the message digest algorithm is a method of encryption and decryption) is used. The format of the md5.txt file is:
硬件型号文件 md5值;  Hardware model file md5 value;
升级软件镜像 1 md5值;  Upgrade the software image 1 md5 value;
升级软件镜像 2 md5值;  Upgrade the software image 2 md5 value;
升级软件镜像 N md5值 Upgrade software image N md5 value
( 2 )硬件型号文件,用于定义具体的硬件型号,硬件型号文件釆用 3DES ( Data Encryption Standard )力口密。  (2) The hardware model file is used to define the specific hardware model. The hardware model file uses 3DES (Data Encryption Standard).
( 3 )升级规则文件指出哪种升级条件时才会升级。 ( 4 )升级软件镜像, 所述升级软件镜像是一个独立的二进制值的文件, 是机顶盒的软件, 文件中包含机顶盒二进制的应用程序, 可独自执行。 升级 软件镜像本身不再包含 CRC或者 ECC校验值, 釆用 md5校验, 省去判断软 件镜像本身校验值的步骤, 减小升级时间。 (3) The upgrade rules file indicates which upgrade conditions will be upgraded. (4) Upgrade the software image, the upgrade software image is a separate binary value file, is the software of the set top box, and the file contains the set top box binary application, which can be executed by itself. The upgrade software image itself no longer contains the CRC or ECC check value, and the md5 checksum is used to eliminate the step of judging the software image itself to reduce the upgrade time.
图 3是 IPTV机顶盒升级时升级模块与升级服务器交互的流程图。 Figure 3 is a flow chart of the interaction between the upgrade module and the upgrade server when the IPTV set-top box is upgraded.
该实施例中,釆用 HTTP下载协议,机顶盒和升级服务器必须支持 HTTP 协议。  In this embodiment, the HTTP download protocol is used, and the set top box and the upgrade server must support the HTTP protocol.
S101 , 机顶盒升级模块首先请求下载 md5.txt文件。  S101, the set top box upgrade module first requests to download the md5.txt file.
S102, 升级服务器响应, 返回 200 OK。 机顶盒升级模块下载 md5.txt文 件成功。  S102, the server response is upgraded, and 200 OK is returned. The set-top box upgrade module downloads the md5.txt file successfully.
5103 , 机顶盒升级模块请求下载硬件型号文件。  5103, the set top box upgrade module requests to download the hardware model file.
5104, 升级服务器响应, 返回 200 ΟΚ, 机顶盒升级模块下载硬件型号文 件成功。  5104, Upgrade server response, return 200 ΟΚ, the set-top box upgrade module downloads the hardware model file successfully.
S105, 升级模块解密该硬件型号文件, 计算该硬件型号文件的 md5值, 与 md5.txt文件中的硬件型号的 md5值比较, 如果两者相等, 才比较硬件型 号文件的内容和机顶盒本身存储的硬件型号是否一致。  S105, the upgrade module decrypts the hardware model file, calculates the md5 value of the hardware model file, and compares with the md5 value of the hardware model in the md5.txt file, if the two are equal, the content of the hardware model file is compared with the content of the set top box itself. Is the hardware model consistent?
S106, 如果以上 md5校验和硬件型号校验两者都通过, 升级模块请求下 载升级规则文件。  S106. If both the md5 checksum and the hardware model check pass, the upgrade module requests to download the upgrade rule file.
S107,升级服务器返回 200 OK。机顶盒升级模块下载升级规则文件成功。 S107, the upgrade server returns 200 OK. The set-top box upgrade module successfully downloads the upgrade rule file.
5108, 如果升级规则允许升级并且用户同意升级, 机顶盒的升级模块杀 死机顶盒内其它进程, 释放出占用的内存。 5108. If the upgrade rule allows the upgrade and the user agrees to upgrade, the upgrade module of the set top box kills other processes in the set top box and releases the occupied memory.
5109, 机顶盒的升级模块请求下载具体的升级软件镜像文件。  5109, The upgrade module of the set top box requests to download a specific upgrade software image file.
5110, 升级服务器返回 200 ΟΚ。机顶盒的升级模块下载升级软件镜像文 件成功。  5110, The upgrade server returns 200 ΟΚ. The upgrade module of the set-top box downloads the upgrade software image file successfully.
5111 , 升级软件镜像下载成功后, 升级模块再计算该升级软件镜像文件 的 md5值, 与 md5文件中的值比较; 并且比较升级软件镜像文件本身包含的 硬件型号是否和硬件型号文件内容匹配, 如果两者都相等, 才存储镜像文件 到存储芯片上。 存储软件镜像成功后, 升级模块自动重启机顶盒。 5111, after the upgrade software image is successfully downloaded, the upgrade module calculates the md5 value of the upgrade software image file, and compares the value in the md5 file; and compares the upgrade software image file itself. Whether the hardware model matches the content of the hardware model file. If both are equal, the image file is stored on the memory chip. After the storage software image is successful, the upgrade module automatically restarts the set-top box.
在以上步骤 S101至 S111的任一过程中, 如果校验值或硬件型号校验失 败, 界面会友好提示用户: 该硬件版本软件镜像错误。  In any of the above steps S101 to S111, if the check value or hardware model verification fails, the interface will promptly prompt the user: The hardware version software image is incorrect.
本发明的升级方法及系统实现了 IPTV机顶盒多硬件平台软件升级时的 安全性管理, 具有如下特点:  The upgrade method and system of the invention realize the security management when the IPTV set-top box multi-hardware platform software is upgraded, and has the following characteristics:
方案简单, 只需要约定好硬件型号文件和升级软件镜像中硬件型号的定 义即可;  The solution is simple, you only need to agree on the definition of the hardware model file in the hardware model file and the upgrade software image;
易于实现, 对硬件型号和升级软件镜像的校验简单;  Easy to implement, simple verification of hardware models and upgrade software images;
兼容性好, 可兼容多种硬件平台的升级, 确保升级的安全性。  Good compatibility, compatible with a variety of hardware platform upgrades, to ensure the security of the upgrade.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。  One of ordinary skill in the art will appreciate that all or a portion of the steps above may be accomplished by a program to instruct the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的权利要求 范围之内。  The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. All modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
顶盒,实现了 IPTV机顶盒多硬件平台软件升级时的安全性管理,且方案简单, 只需要约定好硬件型号文件和升级软件镜像文件中硬件型号的定义即可; 易 于实现, 对硬件型号和升级软件镜像的校验简单; 兼容性好, 可兼容多种硬 件平台的升级, 确保升级的安全性。 The top box realizes the security management when upgrading the IPTV set-top box multi-hardware platform software, and the scheme is simple. It only needs to agree on the definition of the hardware model in the hardware model file and the upgrade software image file; easy to implement, hardware model and upgrade Software image verification is simple; compatibility is good, compatible with a variety of hardware platform upgrades, to ensure the security of the upgrade.

Claims

权 利 要 求 书 Claim
1、 一种交互式网络电视 IPTV机顶盒的升级方法, 包括:  1. An interactive network television upgrade method for an IPTV set top box, comprising:
升级服务器约定硬件型号文件和升级软件镜像文件的硬件型号, 并建立 独立的校验值文件; 以及  Upgrade the hardware model of the hardware model file and the upgrade software image file, and establish a separate check value file;
IPTV机顶盒下载所述校验值文件,利用其中的校验值对下载的硬件型号 文件和升级软件镜像文件进行校验, 并判断 IPTV机顶盒、硬件型号文件、升 级软件镜像文件的硬件型号是否一致, 当校验通过且具有统一的硬件型号时, The IPTV set-top box downloads the check value file, and uses the check value to verify the downloaded hardware model file and the upgrade software image file, and determines whether the hardware models of the IPTV set-top box, the hardware model file, and the upgrade software image file are consistent. When the verification passes and has a uniform hardware model,
IPTV机顶盒利用升级软件镜像文件完成升级过程。 The IPTV set-top box uses the upgrade software image file to complete the upgrade process.
2、 如权利要求 1所述的升级方法, 其中, 在升级服务器约定硬件型号文 件和升级软件镜像文件的硬件型号, 并建立独立的校验值文件的步骤中, 所述升级服务器配置的文件包括: 校验值文件、 硬件型号文件、 升级规 则文件以及一个或多个升级软件镜像文件的升级包;  2. The upgrade method according to claim 1, wherein in the step of upgrading the server to specify the hardware model file and the hardware model of the upgrade software image file, and establishing an independent verification value file, the file of the upgrade server configuration includes : verification value file, hardware model file, upgrade rule file, and upgrade package for one or more upgrade software image files;
所述升级服务器对硬件型号文件与升级软件镜像文件约定有一致的硬件 型号;  The upgrade server has a hardware model consistent with the hardware model file and the upgrade software image file;
所述校验值文件中包括硬件型号文件校验值和升级软件镜像文件校验 值。  The check value file includes a hardware model file check value and an upgrade software image file check value.
3、 如权利要求 2所述的升级方法, 其中, 在 IPTV机顶盒下载所述校验 值文件, 利用其中的校验值对下载的硬件型号文件和升级软件镜像文件进行 校验, 并判断 IPTV机顶盒、硬件型号文件、升级软件镜像文件的硬件型号是 否一致, 当校验通过且具有统一的硬件型号时, IPTV机顶盒利用升级软件镜 像文件完成升级过程的步骤中,  3. The upgrade method according to claim 2, wherein the verification value file is downloaded in the IPTV set top box, and the downloaded hardware model file and the upgrade software image file are verified by using the check value therein, and the IPTV set top box is determined. Whether the hardware model of the hardware model file or the upgrade software image file is consistent. When the verification passes and has a unified hardware model, the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
所述 IPTV机顶盒从升级服务器先下载校验值文件, 再下载硬件型号文 件, IPTV机顶盒计算出硬件型号文件的校验值, 并与校验值文件中的硬件型 号文件校验值比较是否一致,判断硬件型号文件的硬件型号是否与 IPTV机顶 盒的硬件型号一致, 若两者都一致, 则继续下载升级规则文件、 升级软件镜 像文件;  The IPTV set-top box downloads the verification value file from the upgrade server, and then downloads the hardware model file, and the IPTV set-top box calculates the verification value of the hardware model file, and compares with the verification value of the hardware model file in the verification value file. Determine whether the hardware model of the hardware model file is consistent with the hardware model of the IPTV set-top box. If both are consistent, continue to download the upgrade rule file and upgrade the software image file.
IPTV机顶盒计算出下载的升级软件镜像文件的校验值,并与校验值文件 中的升级软件镜像文件校验值比较是否一致, 判断升级软件镜像文件的硬件 型号是否与硬件型号文件的硬件型号一致, 若两者都一致, 存储各升级软件 镜像文件并利用升级软件镜像文件完成升级过程。 The IPTV set-top box calculates the verification value of the downloaded upgrade software image file, and compares it with the verification value of the upgrade software image file in the verification value file, and determines the hardware of the upgrade software image file. Whether the model number is the same as the hardware model of the hardware model file. If the two models are the same, store the upgrade software image files and use the upgrade software image file to complete the upgrade process.
4、 如权利要求 2所述的升级方法, 其中, 所述校验值文件中, 釆用文件 和校验值——对应的形式, 一个文件和校验值单独占一行;  The upgrade method according to claim 2, wherein, in the check value file, the file and the check value are used in a corresponding form, and one file and the check value respectively occupy one line;
硬件型号文件对应其硬件型号文件校验值;  The hardware model file corresponds to the hardware model file check value;
每一升级软件镜像文件对应一升级软件镜像文件校验值。  Each upgrade software image file corresponds to an upgrade software image file check value.
5、 如权利要求 3所述的升级方法, 其中,  5. The upgrade method according to claim 3, wherein
所述硬件型号文件釆用加密形式存储在升级服务器上;  The hardware model file is stored in an encrypted form on the upgrade server;
所述 IPTV机顶盒在下载硬件型号文件后, IPTV机顶盒计算出硬件型号 文件的校验值的处理中, 先解密该硬件型号文件, 然后再计算出该硬件型号 文件内容的校验值。  After the IPTV set-top box downloads the hardware model file, the IPTV set-top box calculates the verification value of the hardware model file, first decrypts the hardware model file, and then calculates the check value of the hardware model file content.
6、 如权利要求 3所述的升级方法, 其中,  6. The upgrade method according to claim 3, wherein
所述 IPTV机顶盒在下载升级规则文件后, 在下载升级软件镜像文件的 处理中, 根据升级规则判断为允许升级并且用户同意升级时, 则杀死 IPTV 机顶盒内其它进程, 再下载升级软件镜像文件。  After downloading the upgrade rule file, the IPTV set-top box, in the process of downloading the upgrade software image file, determines that the upgrade is permitted according to the upgrade rule and the user agrees to upgrade, kills other processes in the IPTV set-top box, and then downloads the upgrade software image file.
7、 如权利要求 1至 5中任一权利要求所述的升级方法, 其中, 所述校验值文件中的校验值以及 IPTV机顶盒计算出的校验值釆用第五 版消息摘要算法 MD5的校验值。  The upgrade method according to any one of claims 1 to 5, wherein the check value in the check value file and the check value calculated by the IPTV set top box use the fifth version message digest algorithm MD5 Check value.
8、 如权利要求 3所述的升级方法, 其中,  8. The upgrade method according to claim 3, wherein
所述升级软件镜像文件中在头部定义中包含与硬件型号文件一致的硬件  The upgrade software image file includes hardware that is consistent with the hardware model file in the header definition.
9、一种实现交互式网络电视 IPTV机顶盒升级的系统,该系统包括: IPTV 机顶盒和升级服务器, 其中, 9. A system for implementing an interactive network television IPTV set-top box upgrade, the system comprising: an IPTV set top box and an upgrade server, wherein
所述升级服务器设置为, 约定硬件型号文件和升级软件镜像文件的硬件 型号, 并建立独立的校险值文件;  The upgrade server is configured to: agree on a hardware model file and a hardware model of the upgrade software image file, and establish an independent school insurance value file;
IPTV机顶盒设置为, 先下载所述校验值文件, 利用其中的校验值对下载 的硬件型号文件和升级软件镜像文件进行校验, 并判断机顶盒、 硬件型号文 件、 升级软件镜像文件的硬件型号是否一致, 当校验通过且具有统一的硬件 型号时, IPTV机顶盒利用升级软件镜像文件完成升级过程。 The IPTV set-top box is set to download the verification value file first, and use the check value to verify the downloaded hardware model file and the upgrade software image file, and determine the set-top box and the hardware model text. Whether the hardware model of the upgrade software image file is consistent. When the verification passes and has a unified hardware model, the IPTV set-top box uses the upgrade software image file to complete the upgrade process.
10、 如权利要求 9所述的系统, 其中,  10. The system of claim 9, wherein
所述升级服务器配置的文件包括: 校验值文件、 硬件型号文件、 升级规 则文件以及一个或多个升级软件镜像文件的升级包, 其中, 硬件型号文件与 升级软件镜像文件约定有一致的硬件型号, 所述校验值文件中包括硬件型号 文件校验值和升级软件镜像文件校验值。  The file of the upgrade server configuration includes: a verification value file, a hardware model file, an upgrade rule file, and an upgrade package of one or more upgrade software image files, wherein the hardware model file and the upgrade software image file have the same hardware model. The check value file includes a hardware model file check value and an upgrade software image file check value.
11、 如权利要求 9所述的系统, 其中, 所述 IPTV机顶盒是设置为: 从升级服务器先下载校验值文件, 再下载硬件型号文件, 计算出硬件型  11. The system according to claim 9, wherein the IPTV set top box is configured to: download a verification value file from the upgrade server, download a hardware model file, and calculate a hardware type.
一致, 则继续下载升级规则文件、 升级软件镜像文件; 以及 If they are consistent, continue to download the upgrade rule file and upgrade the software image file;
计算出升级软件镜像文件的校验值, 并与校验值文件中的升级软件镜像 文件校验值比较是否一致, 判断升级软件镜像文件的硬件型号是否与硬件型 号文件的硬件型号一致, 若两者都一致, 存储各升级软件镜像文件并利用升 级软件镜像文件完成升级过程。  Calculate the checksum value of the upgrade software image file and compare it with the checksum value of the upgrade software image file in the checksum file. Determine whether the hardware model of the upgrade software image file is the same as the hardware model of the hardware model file. All of them are consistent, store each upgrade software image file and use the upgrade software image file to complete the upgrade process.
12、 如权利要求 10所述的系统, 其中,  12. The system of claim 10, wherein
所述校验值文件中, 釆用文件和校验值——对应的形式, 一个文件和校 验值单独占一行, 硬件型号文件对应其硬件型号文件校验值; 每一升级软件 镜像文件对应一升级软件镜像文件校验值。  In the check value file, the file and the check value are used in a corresponding form, and one file and the check value respectively occupy one line, and the hardware model file corresponds to the check value of the hardware model file; each upgrade software image file corresponds to An upgrade software image file checksum.
13、 如权利要求 10所述的系统, 其中,  13. The system of claim 10, wherein
所述升级软件镜像文件中在头部定义中包含与硬件型号文件一致的硬件  The upgrade software image file includes hardware that is consistent with the hardware model file in the header definition.
14、 一种交互式网络电视 IPTV机顶盒, 包括升级模块和网络接入模块, 其中, 14. An interactive network television IPTV set top box, comprising an upgrade module and a network access module, wherein
所述升级模块经过网络接入模块与升级服务器连接, 并设置为与升级服 务器交互完成升级过程;  The upgrade module is connected to the upgrade server through the network access module, and is configured to interact with the upgrade server to complete the upgrade process;
所述升级模块是设置为, 从升级服务器先下载校验值文件, 再下载硬件 型号文件, 计算出硬件型号文件的校验值, 并与校验值文件中的硬件型号文 硬件型号一致, 若两者都一致, 则继续下载升级规则文件、 升级软件镜像文 件; 以及计算出升级软件镜像文件的校验值, 与校验值文件中的升级软件镜 像文件校验值比较是否一致, 判断升级软件镜像文件的硬件型号是否与硬件 型号文件的硬件型号一致, 若两者都一致, 存储各升级软件镜像文件并利用 升级软件镜像文件完成升级过程。 The upgrade module is configured to download the verification value file from the upgrade server first, and then download the hardware. The model file calculates the check value of the hardware model file and is consistent with the hardware model text in the check value file. If both are consistent, continue to download the upgrade rule file, upgrade the software image file, and calculate the upgrade. Whether the verification value of the software image file is consistent with the verification value of the upgrade software image file in the verification value file, and whether the hardware model of the upgrade software image file is consistent with the hardware model of the hardware model file, if both are consistent, Store each upgrade software image file and use the upgrade software image file to complete the upgrade process.
15、 如权利要求 14所述的 IPTV机顶盒, 其中,  15. The IPTV set top box according to claim 14, wherein
所述校验值文件中, 釆用文件和校验值——对应的形式, 一个文件和校 验值单独占一行, 硬件型号文件对应其硬件型号文件校验值; 每一升级软件 镜像文件对应一升级软件镜像文件校验值;  In the check value file, the file and the check value are used in a corresponding form, and one file and the check value respectively occupy one line, and the hardware model file corresponds to the check value of the hardware model file; each upgrade software image file corresponds to An upgrade software image file check value;
所述升级软件镜像文件与所述硬件型号文件具有约定一致的硬件型号; 所述升级软件镜像文件中在头部定义中包含与硬件型号文件一致的硬件型 号;  The upgrade software image file has a hardware model that is consistent with the hardware model file; the upgrade software image file includes a hardware model that is consistent with the hardware model file in the header definition;
PCT/CN2010/077028 2010-05-21 2010-09-17 Method and system for upgrading set-top box of internet protocol television iptv WO2011143879A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010182581.7 2010-05-21
CN201010182581A CN101867694A (en) 2010-05-21 2010-05-21 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)

Publications (1)

Publication Number Publication Date
WO2011143879A1 true WO2011143879A1 (en) 2011-11-24

Family

ID=42959241

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077028 WO2011143879A1 (en) 2010-05-21 2010-09-17 Method and system for upgrading set-top box of internet protocol television iptv

Country Status (2)

Country Link
CN (1) CN101867694A (en)
WO (1) WO2011143879A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2675110B1 (en) * 2011-05-04 2015-09-02 Huawei Device Co., Ltd. Method, system and terminal for system update between mobile communication terminals
CN102316376A (en) * 2011-08-18 2012-01-11 珠海迈科电子科技有限公司 Method for set-top box to automatically update data and system
CN102622251B (en) * 2012-03-07 2016-01-06 深圳市凯立德欣软件技术有限公司 The method of navigation software updating and management and server
CN102833745B (en) * 2012-07-17 2016-03-30 华为技术有限公司 Method, communication equipment and communication system that a kind of software security is upgraded
CN103929670A (en) * 2014-04-30 2014-07-16 深圳市九洲电器有限公司 Set top box programming method and system
CN103970572B (en) * 2014-05-21 2017-05-31 浪潮(北京)电子信息产业有限公司 A kind of server component upgrade method, equipment and system
CN104021018A (en) * 2014-06-06 2014-09-03 上海卓悠网络科技有限公司 Terminal, upgrade patch generation method and upgrade patch recognition method
CN104079993B (en) * 2014-06-18 2017-08-25 深圳创维数字技术有限公司 A kind of set top box upgrading method, set top box, server and system
CN104375870A (en) * 2014-12-03 2015-02-25 广州广电运通金融电子股份有限公司 Self-service terminal software remote upgrading method and system and upgrading package creation method
CN105657477B (en) * 2016-01-29 2018-08-24 福建新大陆通信科技股份有限公司 A kind of method and device of different middleware of set top box system upgrades
CN106371871A (en) * 2016-08-30 2017-02-01 深圳市沃特玛电池有限公司 Method for preventing upgrading mismatching BIN file
CN109828767A (en) * 2017-11-23 2019-05-31 同方威视技术股份有限公司 Electronic lock equipment and its firmware upgrade method
CN108337565A (en) * 2018-01-19 2018-07-27 康佳集团股份有限公司 A kind of method, smart television and the storage medium of smart television upgrade checkout
CN111610990B (en) * 2019-02-25 2023-05-16 阿里巴巴集团控股有限公司 Method, device and related system for upgrading application program
CN110529985A (en) * 2019-08-29 2019-12-03 珠海格力电器股份有限公司 The matching process and device of air-conditioner set and data transmission terminal DTU
CN111190628B (en) * 2019-12-31 2023-10-20 京信网络系统股份有限公司 Base station upgrading method, device, equipment and storage medium
CN114936037B (en) * 2022-07-21 2022-12-09 天津七一二移动通信有限公司 Clamp implementation method compatible with multi-model railway CIR program upgrading

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852448A (en) * 2006-02-23 2006-10-25 华为技术有限公司 Method for detecting compatibility of updating software and top-set hardware
CN101026684A (en) * 2007-03-30 2007-08-29 广东有线广播电视网络股份有限公司 Condition judging method for digital television set top box software updating system
CN101090452A (en) * 2007-07-18 2007-12-19 中国网络通信集团公司 Set-top box software updating method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068245B (en) * 2007-03-30 2011-07-06 腾讯科技(深圳)有限公司 Shared file issuing and downloading method and file sharing control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852448A (en) * 2006-02-23 2006-10-25 华为技术有限公司 Method for detecting compatibility of updating software and top-set hardware
CN101026684A (en) * 2007-03-30 2007-08-29 广东有线广播电视网络股份有限公司 Condition judging method for digital television set top box software updating system
CN101090452A (en) * 2007-07-18 2007-12-19 中国网络通信集团公司 Set-top box software updating method and system

Also Published As

Publication number Publication date
CN101867694A (en) 2010-10-20

Similar Documents

Publication Publication Date Title
WO2011143879A1 (en) Method and system for upgrading set-top box of internet protocol television iptv
TWI508539B (en) Authorization method and system for smart tv and smart tv applying the same
US20230021634A1 (en) OTA System Software Upgrade Control Method and Terminal Device
CA2735387C (en) Method for provisioning trusted software to an electronic device
TWI330769B (en) Apparatus method and system for feature activation
WO2016124013A1 (en) Method and apparatus for dynamically implementing application function
US20080052699A1 (en) Syncronized dual-processor firmware updates
US9117055B2 (en) Method and apparatus for downloading DRM module
CN104811484B (en) FOTA upgrade method and device
WO2010145489A1 (en) System and method for software updating
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
WO2008004525A1 (en) Information processing device, information recording device, information processing system, program update method, program, and integrated circuit
US8544053B2 (en) System and method for upgrading a multiprocessor set-top box device with a monolithilic firmware image
WO2017080262A1 (en) Apk signature verification method and system therefor
WO2022127146A1 (en) In-vehicle service authorization activation method, device, and vehicle
CN110879713A (en) Android-end strong encryption plug-in hot update management method
WO2014183704A1 (en) Software registration control method, authentication server and terminal
US20060253617A1 (en) Driver upgrade tools
CN109240721A (en) A kind of method of MCU online upgrading
CN101388771B (en) Method and system for downloading digital certificate
JP2020510924A (en) Remote management of initial operating system setup options
CN112689285B (en) Authorization authentication method and system for mobile terminal SDK
WO2022083046A1 (en) Smart electricity meter checking method and apparatus, smart electricity meter, and computer storage medium
CN112148314A (en) Mirror image verification method, device, equipment and storage medium of embedded system
US20090240810A1 (en) Method of Digital Resource Management and Related Digital Resource Management System

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10851636

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10851636

Country of ref document: EP

Kind code of ref document: A1