TW472490B - Automatic initialization of an advanced set-top box in a cable television system by downloading software or firmware over the cable system - Google Patents

Automatic initialization of an advanced set-top box in a cable television system by downloading software or firmware over the cable system Download PDF

Info

Publication number
TW472490B
TW472490B TW89107494A TW89107494A TW472490B TW 472490 B TW472490 B TW 472490B TW 89107494 A TW89107494 A TW 89107494A TW 89107494 A TW89107494 A TW 89107494A TW 472490 B TW472490 B TW 472490B
Authority
TW
Taiwan
Prior art keywords
digital signal
signal receiving
receiving terminal
code
basic platform
Prior art date
Application number
TW89107494A
Other languages
Chinese (zh)
Inventor
Christopher Poli
Sordo Christopher S Del
Douglas S Makofka
Jack M Birnbaum
Lawrence Vince
Original Assignee
Gen Instrument Corp
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 Gen Instrument Corp filed Critical Gen Instrument Corp
Application granted granted Critical
Publication of TW472490B publication Critical patent/TW472490B/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/64Retargetable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4348Demultiplexing of additional data and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/4508Management of client data or end-user data
    • H04N21/4516Management of client data or end-user data involving client characteristics, e.g. Set-Top-Box type, software version or amount of memory available
    • 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/454Content or additional data filtering, e.g. blocking advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6543Transmission by server directed to the client for forcing some client operations, e.g. recording
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/162Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing
    • H04N7/165Centralised control of user terminal ; Registering at central

Abstract

A method and system for programming a set-top terminal in a cable television system includes automatically launching a boot code object from the read-only memory of the set-top terminal when the terminal is powered or reset. The boot code object will automatically identify the next required tier of programming, i.e., a base platform code, and acquire and implement that base platform code. The base platform code may be acquired from the memory of the set-top terminal or downloaded from a data transport stream provided over the cable television system. Once the base platform code is executing, the boot code is terminated. The base platform code then automatically locates and acquires the operating system object and any other resident applications of a native suite. Again, the native suite including the operating system may be pulled from the memory of the set-top terminal or downloaded from the cable system. The base platform code authenticates the native suite and then launches the native suite to provide full set-top terminal functionality.

Description

472490 Λ7 ______B7____ 五、發明說明(1 ) ^1」關請案 本申請案請求1 9 9 9年4片2 1曰所申請之第 6 0 / 1 3 0 ,3 2 8號美國臨時專利申請案S 〇 f t w a 1· e and firmware initialization and upgrade management system and method for an advanced set-top box in a cable television system 〃的優先權日。 發明領域 本發明是關於將有線電視系統之數位訊號接收器( set-top box )初始化的領域以及將數位訊號接收終端器( s e t -1 〇 p t e r m 1 n a 1 )之軟體或初體升級的領域。尤其是,本 發明關於一種透過有線網路來提供終端器之適當基本平台 碼以及其他程式碼物件之自動識別與取得的領域。 發明背景 在習知的有線電視系統中,用戶設有數位訊號接收器 或終端器。數位訊號接收終端器是一種電子設備的盒體, -------------^·-------訂·--------吹' (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消f合作社印製 路網 而用頻以 網線 劃給視用 線有 規供電找 有於· 式提個的 於線 程務數外 線連 由服多額 連而 經線括収 備座 其有包收 設插 ,將常也 子軸 腦便通 , 電同 電以務外 的由 部,服另 能經 一 號的。 可是 是信司取 他常 常的公存 其通 通路視的 及器 器網電1 視收 收線線導 電接 接有有目 之號 號自自節 戶訊 訊 來來子 用位 位理些電 將數 數處這及 以而。 以。以 用。路 用戶道 本紙張尺度適用中國國家標準(CNS)A4规格(210 X 297公釐) -4- 經濟部智慧財產局員工消f合作杜印製 472490 A7 ___ B7 五、發明說明(2 ) 提供用戶額外的付费频道。也可透過存線網路來提供收费 事件以及視訊自選節目。數位訊號接收器係經過程式規剷 以提供這些及其他的服務給用戶。 然而,有線電視公司的服務並不僅限於提供電視節目 。有些有線電視公司透過其有線網路來提供上網以及電子 郵件,其速度要比傳統的電話線路更快。在未來可預期的 是:將透過有線網路來提供更多更多的服務,甚至包括基 本的電話服務。因此,每個家庭或辦公室將透過有線網路 而具有與所有資料服務器相連的單一信號連線。 當新的數位訊號接收終端器加入於有線網路中時,必 先經過初始化。爲了將數位訊號接收終端器初始化,終端 器必須設有所需的程式規劃以允許在特定的有線網路內運 作,其中該終端器是連線於該特定網路,並藉此提供用戶 所付費的服務。此外,當有線網路以及所提供的服務有所 演進時,數位訊號接收終端器也必須同時演進,以提供有 線網路的所有服務給用戶。此數位訊號接收終端器的演進 主要是涉及此數位訊號接收終端器之程式規劃的改變或者 是重新初始化(re-initialization )。藉由將數位訊號接收 器的軟、硬體升級,此接收器便可當有線網路升級時變得 更有效率並提供新的服務。 爲了將新的數位訊號接收終端器初始化以及將有線網 路之既有的數位訊號接收器用戶的程式規劃升級’最好是 透過其本身的有線網路來將所需的程式規剷傅送給数位訊 號接收器。否則,技術人員便必須親幽拜訪锊個)丨.】戶以便 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公爱) -5- —--------------1--------訂---------^ (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 472490 A7 ______B7______ 五、發明說明(3 ) 安裝數位訊號接收器或是將數位訊號接收器升級。這植安 裝及升級顯然是非常高成本的。頭端器(he adend )是一種 設備,藉此可使有線網路的操作員透過有線網路來廣播電 視信號並提供其他的服務。該提供給數位訊號接收終端器 用戶的軟體也可從頭端器透過有線網路來廣播。 然而,藉由從頭端器來廣播該程式規劃以便將數位訊 號接收終端器初始化及升級的方法會產生許多的問題。例 如,數位訊號接收終端器的用戶可能具有不同功能、不同 品牌以及不同機種的數位訊號接收終端器。其用以將每種 品牌及機型之數位訊號接收終端器初始化及升級所需的軟 體也各不相同。因此,亟需一種方法用以將適當的.程式規 劃碼匹配於欲初始化或升級之數位訊號接收終端器的功能 。此外,也需要將初始化程序自動化,以免除或減少技術 人員安裝數位訊號接收終端器、將數位訊號接收終端器升 級或重新初始化所需的時間。 發明槪述 本發明的目的是要滿足上述及其他的需求。尤其是, 本發明的一個目的是要提供一種方法與機構,用以將欲透 過有線設備來廣播的適當程式規劃碼匹配於欲初始化或升 級之數位訊號接收終端器的功能。此外,本發明的另一個 目的是要將初始化程序自動化,以免除或減少技術人員安 裝數位訊號接收終端器、將数位m號接收終端器升級或退 新初始化所需的時間。 本紙張尺度適用中國國家彳(CNS)A4規格(210 X 297公釐) : '' 裝·-------訂---------線 (請先閱讀背面之注意事項#填寫本頁) 經濟部智慧財產局員工消f合作社印製 472490 Λ7 ____— B7 五、發明說明(4 ) 本發明的其他自的、優點及新穎特性將詳述於詳細說 明中’以讓熟悉此技藝者得以藉由說明書的資料來實施本 發明。本發明的目的及優點可藉由申請專利範圍中所揭露 的構件來實現。 爲達到這些及其他的目的,本發明可具體化並揭示爲 一種當提供電源給數位訊號接收終端器時,藉由自動執行 儲存於數位訊號接收終端器之記憶體單元中之開機碼物件 (boot code object )以進行有線電視系統之數位訊號接收 終端器之初始化的方法。然後,此開機碼自動配置、取得 並執fT基本平台碼物件(base platform code object )。此 基本平台碼物件可處理電視信號,但不可提拱任何高階的 數位訊號接收終端器功能。 基本平台碼物件的取得可包括將基本平台碼物件的傳 輸配置於有線電視系統之資料傳輸流廣播之內,以及下載 基本平台碼。或者是,基本平台碼物件的配置與取得可包 括識別出已儲存於數位訊號接收終端器之記憶體單元內的 基本平台碼物件。 本發明的發法最好另外包括在執行基本平台碼物件之 前先行檢查基本平台碼物件的認證與授權。一旦執行基本 平台碼物件,此方法包括將數位訊號接收終端器的控制權 從開機碼物件傳遞給執行中的基本平台碼物件。 藉由在數位訊號接收終端器之控制中的開機碼物件, 本發明的方法得以在執行基本平台碼物件的方向下錯由配 丨置、取得以及執行作業系統來進行。作業系統可能适從有 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) · J I I I ' · I------訂·!----- (請先閱讀背面之注意事項再填寫本頁) -7- 472490 經濟部智慧財產局員工消f合作社印製 Α7 Β7 五、發明說明(5 ) 線電視系統的資料傳輸流中下載' 或是從數位訊號接收終 端器的記憶體中取得。在前者情況下,數位訊號接收終端 器可透過有線電視系統來接收初始化訊息以便配置並下載 作業系統物件。然後在執行之前先行檢查作業系統的認證 及授權。 本發明的方法最好能夠包含:在數位訊號接收終端器 的記憶體單元內提供兩組堆疊點(stack point );將基本 平台碼物件一直儲存於從兩組堆疊點之第一組堆疊點開始 的記憶體單元內;以及將作業系統物件一直儲存於從在兩 組堆疊點之第二組堆疊點開始的記憶體單元內。此方法可 包括重新執行開機碼物件,以回應透過有線電視系統所接 收到的重置訊息。此開機碼物件最好是儲存於記憶體單元 的唯讀記憶體部區。 本發明也包括執行上述方法所需之數位訊號接收終端 器的硬體及系統元件。其包括數位訊號接收終端器的中央 處理器’用以執行儲存於記憶體內之不同的碼物件;以及 協調器及數據機,以允許數位訊號接收終端器透過有線電 視系統來接收及/或傳送資料。 圖式簡單說明 附圖係用以說明本發明,並爲說明書的一部份。下列 及其附圖係用以證明並解釋本發明的技術原理。 圖1係用以說明三種不同狀態的方塊圆,其中不同的 Μ β規劃封包在本發明初始化程仔期間具有败位訊號接收 本紙張尺度適用中國國家標準(CNS)A4規格(210 x 297公釐) -------------裝--------訂---------線 (請先閱讀背面之注意事項祠填寫本頁) -8- 472490 經濟部智慧財產局員工消f合作社印製 A7 _B7__^_五、發明說明(6 ) 終端器的控制權。 圖2係用以說明本發明之數位訊號接收終端器初始化 程序之步驟的流程圖。 圖3是本發.明數位訊號接收終端器之不同記憶體裝置 及其所使用之某些程式碼物件的方塊圖。 主要元件對照表 300 數位訊號接收終端器 3 0 1 唯讀記憶體 302 開機碼 3 0 3 快閃記憶體 3 0 4 基本平台碼 3 0 5 可用的快閃記憶體 3 0 6 作業系統 309 隨機存取記憶體 310 非揮發性記憶體 本發明之詳細說明 本發明透過有線網路的程式規劃碼廣播來克服將新的 數位訊號接收器初始化或將既有數位訊號接收器重新初始 化時所遭遇到的問題。此處理程序包括提供那些可令數位 訊號接收器在有線系統中能夠正常運作所需的程式碼物件 給數位訊號接收器,並提供用戶所購買的服務° 廣義來說,本發明主要是要提供一極數位訊號接收終 (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS)A4規格<210 X 297公髮) -9 - 472490 經濟部智慧財產局員工消货合作社印製 Λ7 B7 五、發明說明(7 ) 端器結構,其包括常駐_機碼物件(resident boot code object )。如圖3所示,開機碼物件(302)位於數位訊 號接收終端器(3 0 0 )中(最好是位於唯讀記憶體( ROM) ( 3 0 1 )中),且能夠自動執行並將數位訊號 接收;1"'冬u 而益初始化或重新初始化。開機碼最好能被數位訊 號接收終端器的中央處理器(未顯示)所自動執行。在將 數位訊號接收終端器接上電源時,馬上可觸發開機碼的執 行。本發明可在觸發開機碼的連線之前,額外要求來自有 線系統之傳輸流信號的連線。一旦執行開機碼時,使用者 /安裝者便不需要再進行任何動作。此外,在頭端器以及 欲初始化或開機之數位訊號接收終端器之間也不需要特定 的交互動作。 如下所詳述者,本發明之開機碼將自動尋找、下載以 及執行正確的軟體.碼物件或是數位訊號接收終端器初始化 所需的物件。開機碼將從許多可能的程式碼物件中配置、 識別及下載所需的程式規劃,其中該可能的程式碼物件可 對來自有線電視系統之頭端器設備的傳輸流進行多工處理 。開機碼可透過內部R ◦ Μ編碼識別器來識別出數位訊號 接收終端器的硬體架構。此識別器係匹配於一組來自傳輸 流之物件下載配置器訊息(object download locator message )所攜帶的數値,以確保該開機碼含有並下載適用於開機 碼所在位置之數位訊號接收終端器的物件。 以功能性而言,本發明的開機碼將識別出適當的控制 频道频率、尋找該控制頻道內的控制資料封包流、從傅輸 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公f ) -I I I I--------I --------^ * I I I----1^, (請先閱讀背面之注意事項月填寫本頁) -10- 472490472490 Λ7 ______B7____ V. Description of the invention (1) ^ 1 "Complaint Request for this application 1 9 9 4 pieces 2 1 Application No. 6 0/1 3 0, 3 2 8 US Patent Application S oftwa 1.e and firmware initialization and upgrade management system and method for an advanced set-top box in a cable television system. FIELD OF THE INVENTION The present invention relates to the field of initializing a digital signal receiver (set-top box) of a cable television system, and the field of upgrading software or primitives of a digital signal receiving terminal (s e t -1 〇 p t e r m 1 n a 1). In particular, the present invention relates to the field of automatic identification and acquisition of appropriate basic platform codes and other code objects for terminal devices via a wired network. BACKGROUND OF THE INVENTION In a conventional cable television system, a user is provided with a digital signal receiver or terminal. The digital signal receiving terminal is a box of an electronic device. ------------- ^ · ------- Order · -------- Blow '(please first (Please read the notes on the back and fill in this page again.) The staff of the Intellectual Property Bureau of the Ministry of Economic Affairs has printed the road network and used the network cable to provide regular power supply to the sight line. Even if the service is more than the amount, the warp thread includes the receiving seat, which has a receiving and inserting device, which can communicate with the brain, and the same service can be used by the Ministry of Electricity. However, Shinji took his usual public storage and access to the network. 1 The receiving and receiving line is conductively connected with the number of the eye. Since the message from the households, the number of the electricity will be calculated by the user. Several places and beyond. To. To use. The paper size of the road is applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm). -4- Co-operation by the Intellectual Property Bureau of the Ministry of Economic Affairs, printed 472490 A7 ___ B7 V. Description of the invention (2) Provide users Extra paid channels. It can also provide paid events and video optional programs through the online storage network. Digital signal receivers are programmed to provide these and other services to users. However, cable companies' services are not limited to providing television programs. Some cable companies provide Internet access and e-mail via their wired networks, which are faster than traditional telephone lines. In the future, it is expected that more and more services will be provided through the wired network, including even basic telephone services. Therefore, each home or office will have a single signal connection to all data servers via a wired network. When a new digital signal receiving terminal is added to the wired network, it must be initialized. In order to initialize the digital signal receiving terminal, the terminal must be provided with the required programming to allow it to operate in a specific wired network, where the terminal is connected to the specific network and provides the user with a fee Services. In addition, when the wired network and the services provided have evolved, the digital signal receiving terminal must also evolve at the same time to provide all the services of the wired network to users. The evolution of the digital signal receiving terminal is mainly related to the programming change or re-initialization of the digital signal receiving terminal. By upgrading the software and hardware of the digital signal receiver, the receiver can become more efficient and provide new services when the wired network is upgraded. In order to initialize the new digital signal receiving terminal and upgrade the program planning of the existing digital signal receiver users of the wired network, it is best to send the required program rules to its own wired network. Digital signal receiver. Otherwise, the technicians must visit one of them in person. 丨.] So that this paper size applies to the Chinese National Standard (CNS) A4 specification (210 X 297 public love) -5- ----------- ---- 1 -------- Order --------- ^ (Please read the notes on the back before filling out this page) Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 472490 A7 ______B7______ V. Description of the invention (3) Install or upgrade the digital signal receiver. This plant installation and upgrade is obviously very costly. A he adend is a device that allows operators of a wired network to broadcast television signals and provide other services through the wired network. The software provided to the user of the digital signal receiving terminal can also be broadcast from the headend via a wired network. However, the method of broadcasting the program plan from the headend to initialize and upgrade the digital signal receiving terminal will cause many problems. For example, users of digital signal receiving terminals may have different functions, different brands, and different models of digital signal receiving terminals. The software required to initialize and upgrade the digital signal receiving terminal of each brand and model is also different. Therefore, there is an urgent need for a method to match the appropriate .program planning code to the function of the digital signal receiving terminal to be initialized or upgraded. In addition, the initialization process needs to be automated to avoid or reduce the time required for technicians to install digital signal receivers, upgrade or reinitialize digital signal receivers. SUMMARY OF THE INVENTION The object of the present invention is to meet the above and other needs. In particular, an object of the present invention is to provide a method and mechanism for matching an appropriate programming code to be broadcasted through a wired device to a function of a digital signal receiving terminal to be initialized or upgraded. In addition, another object of the present invention is to automate the initialization procedure so as to avoid or reduce the time required for a technician to install a digital signal receiving terminal and upgrade or renew the digital m receiving terminal. This paper size is applicable to China National Standard (CNS) A4 (210 X 297 mm): '' Packing ------- Order --------- Line (Please read the precautions on the back first (Fill this page) Printed by the Intellectual Property Bureau of the Ministry of Economic Affairs, printed by the cooperative 472490 Λ7 ____ — B7 V. Description of the invention (4) Other features, advantages, and novel features of the present invention will be detailed in the detailed description to familiarize The skilled artisan is able to implement the invention from the information in the description. The objects and advantages of the present invention can be achieved by the components disclosed in the scope of the patent application. In order to achieve these and other objectives, the present invention may be embodied and disclosed as a boot code object (boot) stored in a memory unit of a digital signal receiving terminal when power is supplied to the digital signal receiving terminal. code object) to initialize the digital signal receiving terminal of the cable television system. Then, this boot code automatically configures, obtains, and executes the fT base platform code object. This basic platform code object can process TV signals, but it cannot provide any high-end digital signal receiving terminal functions. Obtaining the basic platform code object may include arranging the transmission of the basic platform code object in the data transmission stream broadcast of the cable television system, and downloading the basic platform code object. Alternatively, the configuration and acquisition of the basic platform code object may include identifying the basic platform code object stored in the memory unit of the digital signal receiving terminal. The method of the present invention preferably further includes checking the authentication and authorization of the basic platform code object before executing the basic platform code object. Once the basic platform code object is executed, this method includes passing control of the digital signal receiving terminal from the boot code object to the running basic platform code object. With the boot code object in the control of the digital signal receiving terminal, the method of the present invention can be performed by configuring, obtaining, and executing the operating system in the direction of executing the basic platform code object. The operating system may be suitable. This paper size is applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm). · J I I I '· I ------ Order ·! ----- (Please read the precautions on the back before filling out this page) -7- 472490 Printed by the staff of the Intellectual Property Bureau of the Ministry of Economic Affairs, Cooperative Α7 Β7 V. Description of the invention (5) In the data transmission stream of the cable TV system Download 'or get it from the memory of the digital signal receiving terminal. In the former case, the digital signal receiving terminal can receive the initialization message through the cable television system to configure and download the operating system objects. Then check the certification and authorization of the operating system before execution. The method of the present invention may preferably include: providing two sets of stack points in the memory unit of the digital signal receiving terminal; and storing the basic platform code object all the way from the first set of stack points of the two sets of stack points Memory unit; and the operating system objects are always stored in the memory unit starting from the second stack point of the two stack points. This method may include re-executing the boot code object in response to a reset message received through the cable television system. The boot code object is preferably stored in a read-only memory area of the memory unit. The invention also includes the hardware and system components of the digital signal receiving terminal required to perform the above method. It includes a central processing unit of the digital signal receiving terminal to execute different code objects stored in the memory; and a coordinator and a modem to allow the digital signal receiving terminal to receive and / or transmit data through a cable television system. . Brief Description of the Drawings The drawings are used to illustrate the present invention and are a part of the description. The following and accompanying drawings serve to prove and explain the technical principles of the present invention. Figure 1 is a box circle used to illustrate three different states, in which different M β planning packets have a failing signal during the initialization process of the present invention. The paper size applies the Chinese National Standard (CNS) A4 specification (210 x 297 mm). ) ------------- Installation -------- Order --------- line (please read the notes on the back first to complete this page) -8- 472490 Employees of the Intellectual Property Bureau of the Ministry of Economic Affairs printed the A7 _B7 __ ^ _ of the cooperative. V. Description of the invention (6) Control of the terminal. Fig. 2 is a flowchart for explaining the steps of the initialization process of the digital signal receiving terminal of the present invention. Figure 3 is a block diagram of different memory devices and some code objects used by the digital signal receiving terminal of the present invention. Main component comparison table 300 Digital signal receiving terminal 3 0 1 Read-only memory 302 Boot code 3 0 3 Flash memory 3 0 4 Basic platform code 3 0 5 Available flash memory 3 0 6 Operating system 309 Random storage Fetch memory 310 Non-volatile memory Detailed description of the present invention The present invention overcomes the problems encountered when initializing a new digital signal receiver or re-initializing an existing digital signal receiver by broadcasting a programming code of a wired network problem. This processing procedure includes providing code objects necessary for the digital signal receiver to work normally in a wired system to the digital signal receiver, and providing services purchased by the user. Broadly speaking, the present invention is mainly to provide a The end of receiving the digital signal (please read the precautions on the back before filling this page) This paper size is applicable to China National Standard (CNS) A4 specifications < 210 X 297 issued) -9-472490 Cooperative prints Λ7 B7. 5. Description of the invention (7) The terminal structure includes a resident boot code object. As shown in FIG. 3, the boot code object (302) is located in the digital signal receiving terminal (3 0 0) (preferably in a read-only memory (ROM) (3 0 1)), and can automatically execute and Digital signal reception; 1 " 'Dong u rather initialize or re-initialize. The boot code is preferably executed automatically by a central processing unit (not shown) of the digital signal receiving terminal. When the digital signal receiving terminal is connected to the power supply, the execution of the boot code can be triggered immediately. The invention can additionally require the connection of the transmission stream signal from the wired system before the connection of the boot code is triggered. Once the boot code is executed, the user / installer does not need to take any further action. In addition, no special interaction is required between the headend and the digital signal receiving terminal to be initialized or turned on. As described in detail below, the boot code of the present invention will automatically find, download, and execute the correct software. Code objects or objects required for digital signal receiving terminal initialization. The boot code will configure, identify, and download the required programming from many possible code objects, where the possible code objects can multiplex the transport stream from the headend device of the cable television system. The boot code can recognize the hardware structure of the digital signal receiving terminal through the internal R ◦ M code identifier. The identifier matches a set of data carried by an object download locator message from the transport stream, to ensure that the boot code contains and downloads the digital signal receiving terminal that is suitable for the location of the boot code. object. In terms of functionality, the boot code of the present invention will identify the appropriate control channel frequency, find the control data packet stream in the control channel, and apply the Chinese National Standard (CNS) A4 specification (210 X 297) from the paper standard. F) -III I -------- I -------- ^ * II I ---- 1 ^, (Please read the notes on the back first and fill in this page) -10- 472490

五、發明說明(8 ) 經濟部智慧財產局員工消费合作社印製 流的物件中識別並下戦正確的物作、驗證所下邨的碼适經 授權且無錯誤的,以及啓動下載的程式碼而不須技術人員 的直接協助或頭端器的介入。文中的*開機碼〃一詞包含 完成此項功能所需的最少程式碼。 本發明之數位訊號接收器的程式規劃包含兩個特定階 段。第一階段是數位訊號接收器的初始程式規劃。第二階 段是在數位訊號接收器提供服務之後的升級程式規劃或數 位訊號接收器的重新初始化。 數位訊號接收器的初始規劃通常是在購買數位訊號接 收器之後由有線系統操作員所執行的。因爲每個有線網路 是由不同的服務供應商在不同時間所設計與建立,所以每 個有線網路具有不同的設計、結構以及物件碼。此外,特 定的服務也可隨不同的有線網路而有所不同。因此,爲了 讓數位訊號接收器能夠在服務供應商之有線系統的環境中 正常運作’並且提供特定服務供應商的特定服務群組,數 位訊號接收器便因此必須被程式規劃或“初始化“。 下文將詳述本發明之數位訊號接收終端器的初始化程 序。爲使數位訊號接收終端器能被初始化(亦即,接收並 採用所提供的初始程式規劃),必須具有某些基本程式規 劃以指示如何接收並採用該初始程式規劃。本文中的基本 程式規_係稱爲開機碼。如上所述,開機碼是常駐於數位 訊號接收終端器的永久記憶體中,最好是在工廠時便安裝 於唯讀記憶體中,且一旦安裝後便無法改變。 如圖1所示,本發明在提供三種不同的程式规剡等級 本紙張尺度適用中國國家標準(CNS)A4规格(210 X 297公釐) ------------- ^--------訂 ί m ^^1 n ^^1 f— ^^1 I (請先閱讀背面之注咅?事項再填寫本頁) -11 - 經濟部智慧財產局員工消费合作社印製 472490 A7 __B7 五、發明說明(9 ) 或分類’其分別在初始化與終端器操作時的不同階段執行 或取得数位訊號接收終端器的控制權。參見圖1 ,程式碼 的第一種類爲開機碼(i)。開機碼最好是位於數位訊號 接收終端器的唯讀記憶體中,旦也可位於快閃記憶體( flash memory )內。當執行開機碼(1 )時,數位訊號接 收終端器無法提供任何的服務給用戶。開機碼(1 )的功 能(2 )是捜尋來自頭端器設備的資料傳輸流,以便配置 、取得並執行基本平台碼(3 ) ’該基本平台碼(3 )是 下一等級的程式規劃。 開機碼(1 )是在下載基本平台碼之後用以認證基本 平π碼。開機碼(1 )最好在每次執行基本平台物件(3 )時皆認證基本平台碼。當執行基本平台碼(3 )時,便 中止開機碼(1 )的執行,且數位訊號接收終端器的控制 則傳遞給基本平台碼(3 )。 基本平台碼(3 )可爲工廠載入(fact〇ry 1〇aded )。 然而,在本發明的原則之下,基本平台碼(3 )最好在終 端器的初始化期間從有線頭端器傳送給數位訊號接收終端 器。适可使有線系統的操作員將基本平台碼(3 )客制化 ,以提供數位訊號接收終端器所在之特定有線系統的最佳 化操作。基本平台碼(3)最好是透過有線工廠而以頻外 (〇0B’ out-of-band)傳輸流來傳送。然而,以頻內( in-band )控制頻道來傳送基本平台碼(3 )也在本發明的 範圆之內。 基本平台碼(3 )具有兩項功能。越本平台姻(3 ) 本紙張尺度適用中國國家標準(CNS)A4規格(21〇 x 297公釐) ---1--------Ί » --------^---------/ (請先閱讀背面之注意事項再填寫本頁) -12- 472490 Λ7 B7 五、發明說明(ίο) 的第一項功能是提供使用者利用有線電視系統信號來觀看 電視時所需的基本功能。第二項功能則是控制下一等級之 程式碼物件的下載(5 ),亦即目標作業系統(〇 / S ) 以及常駐應用程式(6 )。基本平台碼(3 )在允許用戶 觀看電視時並不支援數位訊號接收終端器的其他功能。然 而,基本平台碼(3 )可取得、認證、授權及執行第三與 最後等級之程式規劃的物件(如,0 / S ) ( 5 )。 第三等級的程式規劃(作業系統以及常駐應用程式( 6 ))提供有線系統的其他數位訊號接收終端器功能。作 業系統(◦ / S )是第二者(如Microsoft的WinCETM)所 提供的典型程式碼,其可藉由常駐應用程式來對所有授權 的數位訊號接收終端器功能進行存取。作業系統通常利用 數位訊號接收終端器製造商所提供的額外內建程式碼模組 來使得該作業系統能夠與特定數位訊號接收終端器一同運 作,其中該製造商所提供的額外內建程式碼模組係作爲作 業系統與數位訊號接收終端器之特定硬體的界面。 常駐應用程式是電腦程式,可在作業系統下執行於數 位訊號接收終端器中。常駐應用程式與作業系統一同運作 ,以提供數位訊號接收終端器除了觀看電視之外的其他功 能。基本套件(n a t i v e s u i t e )是一種特定的軟體應用程式 族群(其包括作業系統以及不同的常駐應用程式),用以 提供數位訊號接收終端器所欲提供的功能。基本套件的特 定元件是由系統操作者所決定》 如圖1及3所示,開機碼(丄)iil好是以工廠聰入的 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) 裝 訂---------^ 經濟部智慧財產局員工消t合作社印製 -13- 472490 經濟部智慧財產局員工消费合作社印製 A7 ____B7_.__ 五、發明說明(彳1) 方式而載入於數位訊號接收終端器的唯,¾記憶體(R ◦ Μ )中。或者是,可執行該開機碼以回應於來自頭端器(如 系統操作員)的重置信號(4 )。這使得系統操作員可根 據需要而將數位訊號接收終端器重新初始化。 重置信號(4 )最好是由基本平台碼(3 )所接收, 然後中止作業系統以及常駐應用程式(6 )的執行(如果 有執行的話)’並且開始執行開機碼(1 )。或者是,重 置信號(4 )可促使基.本平台碼(3 )中止並重新下載基 本套件,而非執行開機碼(1 )。 如上所述’每當執行開機碼(1 )時,開機碼(1 ) 便取得並下載基本平台碼(3 )。基本平台碼可從頭端器 透過有線網路而提供給數位訊號接收終端器,或者是可以 工廠載入方式載入開機碼。基本平台碼最好是儲存於圖3 所不的快閃5己丨思體(3 0 3 )中。開機碼(1 )會透過頻 外頻道而從頭端器下載基本平台碼(3 ),或者是如果基 本平台碼是以工廠載入方式來載入的話,則開機碼(1 ) 便會識別記憶體中的基本平台碼(3 )。開機碼(1 )會 認證從任何資料來源中所取得的基本平台碼(3 ),然後 執f了此基本平台碼(3 ) _。 然後’基本平台碼(3 )取得作業系統以及基本套件 (6 )的其他物件。作業系統以及其他物件最好是透過有 線網路而從頭端器中下載。當第一次執行時(或者是在執 行時),基本平台碼(3 )會取得作業系統及其他物件, 以回應於來自系統操作者的初始化訊息(4 )。初始化訊 本紙張尺度適用_國國家標準(CNS)A4規格(210 X 297公爱) --------— 1111 ' 1 I I 1 I — I 訂 - - - ---—II ^ 《請先閱讀背面之注意事項再填寫本頁) -14 - 472490 A7 B7 五 '發明說明(12) 息(4 .)可透過有線網路來提供。當取得、認證及授權湛 本套件時,便執行作業系統與常駐應用程式(6)。 (請先閱讀背面之注意事項再填寫本頁) 圖2係一流程圖,用以詳細說明本發明之初始化程序 。如圖2所示,當第一次接上數位訊號接收終端器的電源 時,或接收到適當的重置信號時,便執行開機碼(2 2 9 )。開機碼首先必須判斷數位訊號接收終端器是否或必須 取得基本平台碼。爲此,開機碼首先檢查快閃記憶體中的 基本平台碼、從頭端器檢查控制頻道中的最後已知載頻( 1 a s t k η 〇 w n c a r r i e r,L C K )頻率以及津貼管理訊息提供者識 別(Entitlement Management Message Provider Identification, EMM Provider ID) (201, 202 )。 如果發現下列三種情況中的任一者的話,開機碼將會 認定:必須取得基本平台碼,並且會尋找基本平台碼可能 所在的頻外頻道或頻內頻道。如果(1 )基本平台碼、最 後已知載波以及Ε Μ Μ提供者I D並不儲存於快閃記憶體 中,(2 )快閃記憶體中的基本平台碼無法通過認證檢查 ,或(3 )非揮發性記憶體表示:必須尋找控制頻道(如 ,頻外頻道)的話,則開機碼便必須取得基本平台碼。 經濟部智慧財產局員工消t合作社印製 如果快閃檢查_ ( Π a s h c h e c k )判斷出基本平台碼已經 存在的話,則開機碼在經過下文中的認證與授權之後便會 執行該基本平台碼。如果基本平台碼以及作業系統皆已載 入於快閃記憶體中的話,則開機碼便會認證並授權該基本 平台,然後執行基本平台並將數位訊號接收終端器的控制 權傅遞於此》基本平台物件會依序授權且認證(A & A ) 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) -15 - 472490 Λ7 B7 五、發明說明(13 ) 該0 / S。然後執行該認證的◦/ S並將控制權傅遞給〇 / S。 如果基本平台碼並未載入於快閃記憶體的話’則開機 碼便會從頻外傳輸流(2 0 3 ,2 0 4 ’ 2 0 7 )中載入 基本平台。然而,在寫入於快閃記憶體之前’必須經過成 功的認證(2 0 6 ,2 0 5 )。當執行認證過的基本平台 碼時,開機碼會將控制權傳遞給基本平台(2 1 1 ’ 2 2 8 )。如果基本平台碼沒有通過認證檢查(2 0 5 ) 的話,便刪除該失敗的基本平台碼(2 0 8 ) ’並將用以 追蹤取得並認證基本平台碼之嘗試次數的計數器値遞減。 如果計數器低於預設之可接收嘗試次數的話’便會再次下 載基本平台碼(2 0 7 )。或者是,如果超過下載基本平 台碼之預設可接受嘗試次數的話,數位訊號接收終端器便 會發訊給頭端器以請求服務呼叫(210)。 在本發明的原理之下,開機碼配置那些使用開機碼訊 息或^開機碼 控制 訊息〃 (boot —code_message )的基 本平台物件,其中該訊息是週期性地傳送於頻外傳輸流( 2 0 4 )中。下文將詳述開機碼 控制 訊息的使用。 當開機碼判斷出必須下載基本平台物件時,便首.先會 尋找控制頻道。用以廣播控制頻道之可能載頻的表單( table )是被包含於開機碼內。這些頻率可爲頻帶內( in-band )或頻帶外(〇ut-of-band )。開機碼會促使數位訊 號接收終端器依序諧調每個頻道’直到K险妥控制频道並 取得戦頻鎖(earner lock )爲止。如果在一段预設時間週 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁} 裝 經濟部智慧財產局員工消f合作社印製 472490 經濟部智慧財產局員工消货合作社印製 A7 B7 五、發明說明(14) 期期間無法接收特定頻率的控制頻道的,活,数位訊號接收 終端器將會諧調表單中的下一個頻率。 控制頻道是一個資料封包流(s t r e a m 〇 f d a t a p a c k e t s )’可被數位訊號接收終端器所接收及使用。爲了同時廣 播數個不同的物件,頭端器會將欲透過控制頻道來傳送的 物件分割成封包。然後,這些欲被傳送之不同物件的封包 會被一起散佈或分時多工處理,使得許多物件可被同時傳 送。每個特定物件的封包將具有共同封包識別器或〜 P I D 〃 。因此,數位訊號接收終端器可識別出所欲取得 之物件的封包。藉由取得具有特定P I D的所有封包,數 位訊號接收終端器便可從具有特定P I D的封包組中重組 該完整的物件。 根據本發明,數位訊號接收終端器可在任一進度階段 開始取得物件並加以包裝,直到所有的封包皆被下載爲止 。例如,數位訊號接收終端器可載入具有P I D X的第 一個封包。該封包可能是標記爲P I D X之1 0 0個封 包中的封包5 0。然後數位訊號接收終端器繼續冤集具有· PID X的封包51至封包100,然後接收封包1至 封包4 9。當取得所有的1 0 0個封包時,數位訊號接& 終端器便可重組該被封包切割的物件。 頭端器可能需要同時廣播多數個物件,這是因爲在$ 戶中可能具有不同類型或種類的數位訊號接收終端器。每 一種類的數位訊號接收終端器可能需要不同版本的基本平 台碼、Ο/S或常駐應用程式。因此,當開機碼耍將败位 衣紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ------------> --------JST·-------1 ^ (請先閱讀背面之注意事項再填寫本頁) 17- 472490 八7 -—_____137 ______ 五、發明說明(15) 訊號接收終端器初始化並且必須取得基本平台碼時,開機 碼便必須判斷去哪裡取得適用於數位訊號接收終端器的基 本平台。 因此,一旦接收到載頻所以及控制頻道,開機碼便開 始蒐集控制頻道之傳輸流中那些標示爲P I D 1的封包 。:P I D 1係指Μ P E G標準的條件式存取訊息。 Ρ I 〇 1封包將提供開機碼,其中該開機碼係執行於具 有Ε Μ Μ提供者I D之條件式存取表(Conditional Access Table, CAT )的數位訊號接收終端器中,每個Ε Μ Μ提供 者I D用以識別傳輸流中之一組封包的I D,而其中該傳 輸流則形成Ε Μ Μ流(津貼管理訊息)。 開機碼將隨第一 Ε Μ Μ開始,並從標示有Ε Μ Μ Ρ I D的的傳輸流中載入封包,而其中該Ε Μ Μ Ρ I D 係由第一 Ε Μ M提供者I D所給定。Ε Μ Μ Ρ I D封包 將含有本發明的開機碼訊息,其依序包括平台識別器。 由工廠載入於數位訊號接收終端器中的開機碼也包括 一平台識別器,其指定開機碼所在之數位訊號接收終端器 的類型。當執行時,開機碼將會把工廠所提供的平台識別 器與Ε Μ Μ Ρ I D封包之開機碼訊息中的平台識別器相 互匹配。 如果無法配對的話’開機碼相會選擇C A T中的卜一 個EMM提供者I D,並且檢查EMM提供者I D敘述器 (descriptor )所標.示爲Ε Μ Μ Ρ I D的封包,以便等找 具有匹配平台識別器的開機碼訊总。此程序奸…直繼續直 (請先閱讀背面之注意事項再填寫本頁) _ ---丨 — I I 丨訂· I-----I _ 經濟部智慧財產局—工消費合作社印製 本紙張尺度適用中國國家標準(CNS)A4规格(210 X 297公沒) -18 - 472490 A7 B7 五、發明說明(16) 到找到匹配的平台識別器爲止(2 0 3 )。在此可以同時 搜尋多個EMM P i D以降低EMM驗效時間,以及找 尋匹配開機碼訊息所需的時間。 如果檢查過p I D 1之c A T中所有的Ε Μ Μ提供者 1 D且無法找到匹配的平台識別器的話,開機碼將會回到 載頻表,以便尋找另一載頻中的另一控制頻道。當識別出 具有控制頻道的另一頻率時,開機碼將會選取Ρ I D 1 並重複上述的程序。在此會一直繼續此步驟,直到開機碼 訊息的平台識別器與開機碼的平台識別器互相匹配爲止。 當開機碼找到具有匹配平台識別器的開機碼訊息時, 開機碼將會選取該匹配平台識別器所指定的下載Ρ I D ( download PID, DL PID )。下載 PID(DL PID) 是一具有程式碼物件(如,基本平台碼物件)之封包的識 別器’其中該物件係適用於具有開機碼訊息之平台識別器 的數位訊號接收終端器。然後可藉由取得具有 D L Ρ I D之封包’並將這些封包中的資料重組成基本 平台碼,以完成該基本平台碼的下載。 經濟部智慧財產局員工消f合作社印製 -------------裝--------訂· (請先閱讀背面之注杳?事項再填寫本頁) 如圖2所示’一但完成基本平台碼的下載或者是該基 本平台碼已經存在於快閃記憶體中,便要執行認證檢查( 2〇6) ’以便驗效該基本平台碼已被正確且完整的接收 ,並且沒有被未授權者所變更。 女LI果基本半台無法通過認證檢查的話’便將敦丨_除( 2 ◦ 8 )。然後檢查載入計數器(i〇ad counter )以判斷數 位訊號接收終端器嘗試取得有效站本平台碼的次數 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) -19- 472490 Λ7 B7 五、發明說明(17) (請先閱讀背面之注意事項再填寫本頁) 2 0 9 )。如果計數器次數超過預設之限制的話,數位訊 號接收終端器便會發出信號給頭端器以要求服務呼叫,或 者表示需要請求服務呼叫給用戶(210)。如果載入計 數器次數沒有超過的話,開機碼將會返回上述的程序並且 嘗試再次下載基本平台碼(2 0 7 )。 或者是,如果基本平台碼通過認證的話,便開始執行 (2 1 1 )。然後基本平台碼便會判斷基本套件(包括〇 / s )是否已被載入於快閃記憶體中(2 1 4 )。如果不 是的話,基本平台碼將會試圖下載該基本套件。 隨者基本平台碼的執行,係系統操作者可提供一組'' 初始化訊息〃給數位訊號接收終端器,該初始化訊息包括 頻道圖、表以及EMM資訊(219,212)。這些訊 息在載入基本套件之前就已提供。初始化訊息可指示數位 訊號接收終端器何處可取得基本套件。 在基本套件載入之後(或者發現已存在於快閃記憶體 中)’便對基本套件進行授權檢查(2 1 5,2 2 0, 經濟部智慧財產局員工消t合作社印製 2 2 4 ’ 2 2 3 )。基本套件的下載將包括物簡條件式存 取訊息(Object Conditional Access Message, OCAM ), 該0 C A M是由數位訊號接收終端器所記錄。基本套件物 件的認證簽章以及授權碼係提供於0 CAM中,並且是以 下列方法來對基本套件進行認證及授權。 如果沒有通過授權檢查的話,將會画除該越本赛件( 2 2 5-2 1 7 ),且義本平台碼會再次嘗試取得蕋本卷 件(2 2 1 )。如果授權檢查成功的,话,則職入K基本套 本紙張尺度適用中國國家標準(CNS)M规格(210 X謂) 472490 A7 B7 _ 五、發明說明(18) 件及相關的常駐應用程式,並且進行認證檢查(2 2 2 ) 。如上所述,如果認證檢查失敗的話,該下載的程式碼將 會被刪除(2 1 7 ),並且檢查載入計數器以判斷是否應 該下載其他的碼或者是發出服務呼叫信號(2 1 3 ) ° 或者是,如果認證檢查成功的話(2 2 2 ’ 2 1 8 ) ,則基本套件以及其相關的常駐應用程式便會隨0 / S — 同被執行(226,227)。基本平台碼對Ο/S碼進 行授權及認證檢查。如果0 / S通過授權及認證檢查的話 ,便執行〇/ S,且將控制權傳遞給0 / S。B I 〇 S ( Basic Input/Output Software,基本輸入/輸出軟體)可對 基本套件的其他剩餘部份進行授權及認證檢查(2 1 5 , 2 2 4,2 2 2 )。 經濟部智慧財產局員工消费合作社印製 ----------- .•裝--------訂. (請先閱讀背面之注意事項再填寫本頁) 總之,其他部份的碼程序處理包括對新取得或配置的 物件進行物件的授權及認證(A & A )程序。基本套 件的授權檢查是在基本平台之下完成的。基本平台的授權 是依序由開機碼所進行,其中該開機碼僅可認證一個基本 平台物件。當系統執行時,基本套件的〇 / S會對後續載 入的物件進行認證與授權。這些檢查使得數位訊號接收終 端器的授權狀態得以被驗效。如果授權或認證檢查失敗( 無論在任何時間點中)的話,該受檢查的物件便會被關閉V. Description of the invention (8) Identify and download the correct work from the printed objects of the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs, verify that the code of the village is authorized and error-free, and start the downloaded code There is no need for direct assistance from technicians or the involvement of headends. The word * boot code * in this article contains the minimum code required to complete this function. The programming of the digital signal receiver of the present invention includes two specific stages. The first stage is the initial programming of the digital signal receiver. The second stage is the upgrade program planning or digital signal receiver re-initialization after the digital signal receiver is provided. The initial planning of a digital signal receiver is usually performed by a cable system operator after purchasing a digital signal receiver. Because each wired network is designed and established by different service providers at different times, each wired network has a different design, structure, and object code. In addition, specific services may vary with different wired networks. Therefore, in order for the digital signal receiver to function properly in the environment of a service provider's wired system 'and to provide a specific service group for a specific service provider, the digital signal receiver must therefore be programmed or "initialized". The initialization procedure of the digital signal receiving terminal of the present invention will be described in detail below. In order for the digital signal receiving terminal to be initialized (i.e., to receive and use the provided initial programming plan), it is necessary to have some basic programming plan to indicate how to receive and adopt the initial programming plan. The basic program specifications in this article are called boot codes. As mentioned above, the boot code is resident in the permanent memory of the digital signal receiving terminal. It is best installed in the read-only memory at the factory and cannot be changed once installed. As shown in FIG. 1, the present invention provides three different program specification levels. The paper size is applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm) ------------- ^ -------- Order ί m ^^ 1 n ^^ 1 f— ^^ 1 I (Please read the note on the back? Matters before filling out this page) -11-Employees' Cooperatives, Intellectual Property Bureau, Ministry of Economic Affairs Printed 472490 A7 __B7 V. Description of the invention (9) or classification 'It executes or obtains control of the digital signal receiving terminal at different stages of initialization and terminal operation, respectively. See Figure 1. The first type of code is the boot code (i). The boot code is preferably located in the read-only memory of the digital signal receiving terminal, and it can also be located in the flash memory. When the power-on code (1) is executed, the digital signal receiving terminal cannot provide any service to the user. The function (2) of the boot code (1) is to search the data transmission stream from the headend device in order to configure, obtain and execute the basic platform code (3). 'The basic platform code (3) is the next level of programming. . The boot code (1) is used to authenticate the basic π code after downloading the basic platform code. The boot code (1) preferably authenticates the base platform code each time the base platform object (3) is executed. When the basic platform code (3) is executed, the execution of the boot code (1) is suspended, and the control of the digital signal receiving terminal is passed to the basic platform code (3). The basic platform code (3) can be factory loaded (fact〇ry 1〇aded). However, under the principle of the present invention, the basic platform code (3) is preferably transmitted from the wired head end to the digital signal receiving end during the initialization of the terminal. It is suitable for the operator of the wired system to customize the basic platform code (3) to provide the optimized operation of the specific wired system where the digital signal receiving terminal is located. The basic platform code (3) is preferably transmitted through a cable factory as an out-of-band transport stream. However, it is also within the scope of the present invention to transmit the basic platform code (3) with an in-band control channel. The basic platform code (3) has two functions. (3) This paper size is applicable to the Chinese National Standard (CNS) A4 specification (21 × x297 mm) --- 1 -------- Ί »-------- ^ --------- / (Please read the notes on the back before filling this page) -12- 472490 Λ7 B7 5. The first function of the invention description (ίο) is to provide users with the signal of the cable television system Come and watch the basic functions you need when watching TV. The second function is to control the download of code objects at the next level (5), that is, the target operating system (0 / S) and the resident application (6). The basic platform code (3) does not support other functions of the digital signal receiving terminal when allowing users to watch TV. However, the basic platform code (3) can obtain, authenticate, authorize, and execute the third and final level programming objects (e.g., 0 / S) (5). The third level programming (operating system and resident application (6)) provides other digital signal receiving terminal functions of the wired system. The operating system (◦ / S) is a typical code provided by a second party (such as Microsoft's WinCETM), which can access all authorized digital signal receiving terminal functions through resident applications. The operating system usually utilizes additional built-in code modules provided by the manufacturer of the digital signal receiving terminal to enable the operating system to work with a specific digital signal receiving terminal. The additional built-in code modules provided by the manufacturer It serves as the interface between the operating system and the specific hardware of the digital signal receiving terminal. A resident application is a computer program that can run in a digital signal receiving terminal under the operating system. The resident application works with the operating system to provide the digital signal receiving terminal with functions other than watching TV. The basic package (n a t i v e s u i t e) is a specific software application group (which includes the operating system and different resident applications) to provide the functions required by the digital signal receiving terminal. The specific components of the basic kit are determined by the system operator. "As shown in Figures 1 and 3, the boot code (丄) iil is based on the size of the paper entered by the factory, and it applies the Chinese National Standard (CNS) A4 specification (210 X 297). (Mm) (Please read the notes on the back before filling out this page) Binding --------- ^ Printed by the Consumers ’Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs-13- 472490 Employees’ Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs Print A7 ____ B7 _.__ 5. The description of the invention (彳 1) is loaded into the digital signal receiving terminal's memory, ¾ memory (R ◦ Μ). Alternatively, the boot code can be executed in response to a reset signal (4) from a headend (such as a system operator). This allows the system operator to re-initialize the digital signal receiving terminal as needed. The reset signal (4) is preferably received by the basic platform code (3), and then the execution of the operating system and the resident application (6) is suspended (if executed) 'and the execution of the boot code (1) is started. Alternatively, the reset signal (4) may cause the basic platform code (3) to suspend and re-download the basic package instead of executing the boot code (1). As described above ', whenever the boot code (1) is executed, the boot code (1) obtains and downloads the basic platform code (3). The basic platform code can be provided from the headend to the digital signal receiving terminal through the wired network, or the boot code can be loaded in the factory loading method. The basic platform code is preferably stored in the flash 5th thinking body (3 0 3) not shown in FIG. The boot code (1) will download the basic platform code (3) from the headend through the out-of-band channel, or if the basic platform code is loaded by the factory loading method, the boot code (1) will identify the memory The base platform code in (3). The boot code (1) authenticates the basic platform code (3) obtained from any source, and then executes this basic platform code (3). Then the basic platform code (3) obtains the operating system and other objects of the basic package (6). The operating system and other objects are preferably downloaded from the headend via a wired network. When executed for the first time (or during execution), the basic platform code (3) obtains the operating system and other objects in response to the initialization message (4) from the system operator. Initialize the paper standard applicable _ National Standard (CNS) A4 specification (210 X 297 public love) --------— 1111 '1 II 1 I — I order-------II ^ " Please read the notes on the back before filling out this page) -14-472490 A7 B7 Five 'invention description (12) Information (4.) can be provided via wired network. When the package is obtained, certified, and authorized, the operating system and resident applications are executed (6). (Please read the precautions on the back before filling out this page) Figure 2 is a flowchart for describing the initialization procedure of the present invention in detail. As shown in Fig. 2, when the digital signal receiving terminal is powered on for the first time, or when an appropriate reset signal is received, the power-on code is executed (2 2 9). The boot code must first determine whether or not the digital signal receiving terminal must obtain the basic platform code. To this end, the boot code first checks the basic platform code in the flash memory, checks the last known carrier frequency (LCK) frequency in the control channel from the headend, and the identification of the subsidy management information provider (Entitlement Management Message Provider Identification, EMM Provider ID) (201, 202). If any of the following three conditions are found, the boot code will determine that the basic platform code must be obtained and will look for out-of-frequency channels or in-frequency channels where the basic platform code may be located. If (1) the basic platform code, the last known carrier, and the EM Provider ID are not stored in the flash memory, (2) the basic platform code in the flash memory cannot pass the authentication check, or (3) Non-volatile memory means that if a control channel (such as an out-of-band channel) must be found, the boot code must obtain the basic platform code. Printed by the staff of the Intellectual Property Bureau of the Ministry of Economic Affairs and printed by the cooperative. If the quick check (Π a s h c h e c k) determines that the basic platform code already exists, the boot code will execute the basic platform code after authentication and authorization below. If the basic platform code and the operating system are loaded into the flash memory, the boot code will authenticate and authorize the basic platform, then execute the basic platform and pass the control of the digital signal receiving terminal here. Basic platform objects will be authorized and certified in order (A & A) This paper size applies to China National Standard (CNS) A4 (210 X 297 mm) -15-472490 Λ7 B7 V. Description of the invention (13) This 0 / S. Then perform the certified ◦ / S and pass control to 〇 / S. If the basic platform code is not loaded in the flash memory, then the boot code will be loaded from the out-of-band transport stream (203, 2 04'2 0 7). However, it must be successfully authenticated before writing to the flash memory (206, 205). When the authenticated base platform code is executed, the boot code passes control to the base platform (2 1 1 ′ 2 2 8). If the basic platform code does not pass the authentication check (205), the failed basic platform code (2 0 8) 'is deleted and the counter 値 used to track the number of attempts to obtain and authenticate the basic platform code is decremented. If the counter is lower than the preset number of receivable attempts', the basic platform code (207) will be downloaded again. Or, if the preset acceptable number of attempts to download the basic platform code is exceeded, the digital signal receiving terminal will send a message to the headend to request a service call (210). Under the principle of the present invention, the boot code configures basic platform objects that use a boot code message or a boot code control message (boot — code_message), where the message is periodically transmitted in an out-of-band transport stream (2 0 4 )in. The use of the boot code control message is detailed below. When the boot code determines that a basic platform object must be downloaded, it will first look for a control channel. A table for broadcasting the possible carrier frequencies of the control channel is included in the boot code. These frequencies can be in-band or out-of-band. The power-on code will cause the digital signal receiving terminal to tune each channel sequentially until K securely controls the channel and acquires an earner lock. If this paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 mm) for a preset period of time (please read the precautions on the back before filling this page) 472490 Printed by the Consumer Goods Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (14) If the control channel of a specific frequency cannot be received during the period, the digital signal receiving terminal will tune the next frequency in the form. The control channel is a data packet stream (stream 〇fdatapackets) 'can be received and used by the digital signal receiving terminal. In order to broadcast several different objects at the same time, the headend divides the objects to be transmitted through the control channel into packets. . Then, the packets of these different objects to be transmitted will be spread together or time-multiplexed, so that many objects can be transmitted at the same time. Each specific object's packet will have a common packet identifier or ~ PID 〃. Therefore, The digital signal receiving terminal can identify the packet of the object you want to obtain. After determining all the packets of the PID, the digital signal receiving terminal can reassemble the complete object from the group of packets with a specific PID. According to the present invention, the digital signal receiving terminal can obtain objects and package them at any progress stage until all Until the packet is downloaded. For example, the digital signal receiving terminal can load the first packet with PIDX. The packet may be a packet 50 out of 100 packets labeled PIDX. Then the digital signal receiving terminal Continue to collect packets 51 to 100 with PID X, and then receive packets 1 to 49. When all 100 packets are obtained, the digital signal connection & terminator can reassemble the object cut by the packet The headend may need to broadcast multiple objects at the same time, because there may be different types or types of digital signal receiving terminals in the household. Each type of digital signal receiving terminal may require different versions of the basic platform code, 〇 / S or resident application. Therefore, when the boot code is played, the paper size of the garment will be in accordance with China National Standard (CNS) A4. 210 X 297 mm) ------------ > -------- JST · ------- 1 ^ (Please read the notes on the back before filling in this Page) 17- 472490 8 7 -_____ 137 ______ 5. Description of the invention (15) When the signal receiving terminal is initialized and the basic platform code must be obtained, the boot code must determine where to obtain the basic platform suitable for the digital signal receiving terminal. Therefore, once the carrier frequency and the control channel are received, the boot code starts to collect those packets labeled PID 1 in the transport stream of the control channel. : PI D 1 refers to conditional access messages of the MP PEG standard. The PP I 01 packet will provide a boot code, where the boot code is executed in a digital signal receiving terminal with a Conditional Access Table (CAT) with an EM Provider ID. Each EM Μ The provider ID is used to identify an ID of a group of packets in the transport stream, and the transport stream forms an EM stream (grant management message). The boot code will start with the first E M M and load the packet from the transport stream marked with the E M M P ID, where the E M M P ID is given by the first E M M Provider ID . The E M M IP ID packet will contain the boot code message of the present invention, which in turn includes a platform identifier. The boot code loaded into the digital signal receiving terminal from the factory also includes a platform identifier, which specifies the type of the digital signal receiving terminal in which the boot code is located. When executed, the boot code will match the platform identifier provided by the factory with the platform identifier in the boot code message of the EM MP ID packet. If it cannot be matched, the boot code will select an EMM provider ID in the CAT, and check the EMM provider ID descriptor. The packet shown as Ε Μ Μ Ρ ID, in order to find a matching platform The boot code message of the identifier. This process is ... continue straight (please read the precautions on the back before filling this page) _ --- 丨 — II 丨 Order · I ----- I _ Printed copy of the Intellectual Property Bureau of the Ministry of Economic Affairs-Industrial Consumer Cooperatives The paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 public) -18-472490 A7 B7 V. Description of the invention (16) Until a matching platform identifier is found (203). Here you can search multiple EMM P i Ds at the same time to reduce the EMM verification time and the time required to find a matching boot code message. If all the EM Providers 1 D in the c AT of p ID 1 have been checked and the matching platform identifier cannot be found, the boot code will return to the carrier frequency table in order to find another control in another carrier frequency Channel. When another frequency with the control channel is identified, the boot code will select PI D 1 and repeat the above procedure. This step will continue until the platform identifier of the boot code message matches the platform identifier of the boot code. When the boot code finds a boot code message with a matching platform identifier, the boot code will select the download PID (DL PID) specified by the matching platform identifier. Download PID (DL PID) is a packet identifier with a code object (such as a basic platform code object), where the object is a digital signal receiving terminal for a platform identifier with a boot code message. The download of the basic platform code can then be completed by obtaining the packets with D L P ID and recomposing the data in these packets into the basic platform code. Printed by the staff of the Intellectual Property Bureau of the Ministry of Economic Affairs, Co-operative Society ------------- Installation -------- Order (Please read the note on the back? Matters before filling out this page) As shown in Figure 2, 'once the download of the basic platform code or the basic platform code already exists in the flash memory, an authentication check (206) is required' to verify that the basic platform code has been correct And received intact and has not been altered by unauthorized persons. If the female LI basically fails to pass the certification inspection, she will be removed (2 ◦ 8). Then check the loading counter (iod counter) to determine the number of times the digital signal receiving terminal attempts to obtain a valid station code. The paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 mm) -19- 472490 Λ7 B7 V. Description of the invention (17) (Please read the notes on the back before filling out this page) 2 0 9). If the number of counters exceeds the preset limit, the digital signal receiving terminal sends a signal to the headend to request a service call, or it indicates that a service call needs to be requested to the user (210). If the counter has not been loaded more than once, the boot code will return to the above procedure and try to download the basic platform code again (207). Or, if the basic platform code is authenticated, execution starts (2 1 1). Then the basic platform code will determine whether the basic package (including 0 / s) has been loaded into the flash memory (2 1 4). If not, the base platform code will attempt to download the base kit. With the implementation of the basic platform code, the system operator can provide a set of `` initialization messages '' to the digital signal receiving terminal. The initialization messages include channel maps, tables, and EMM information (219, 212). This information is provided before the basic package is loaded. The initialization message indicates where the digital signal receiver terminal can obtain the basic kit. After the basic kit is loaded (or found to be in flash memory) 'authorization check of the basic kit (2 1 2 5 2 0, printed by the staff of the Intellectual Property Bureau of the Ministry of Economic Affairs and printed by the cooperative 2 2 4' 2 2 3). The download of the basic kit will include Object Conditional Access Message (OCA), which is recorded by the digital signal receiving terminal. The certification seal and authorization code of the basic kit are provided in the 0 CAM, and the basic kit is authenticated and authorized in the following way. If the authorization check is not passed, the Vietnamese version will be deleted (2 2 5-2 1 7), and the original code will try again to obtain the transcript (2 2 1). If the authorization check is successful, then the paper size of the basic set of papers applied to K is applicable to the Chinese National Standard (CNS) M specification (210 X) 472490 A7 B7 _ 5. Description of the invention (18) and related resident applications, And carry out certification inspection (2 2 2). As mentioned above, if the authentication check fails, the downloaded code will be deleted (2 1 7), and the loading counter is checked to determine whether other codes should be downloaded or a service call signal is issued (2 1 3) ° Or, if the authentication check is successful (2 2 2 '2 1 8), the basic package and its related resident applications will be executed with 0 / S — (226, 227). The basic platform code performs authorization and authentication checks on the 0 / S code. If 0 / S passes the authorization and authentication check, it executes 0 / S and passes control to 0 / S. B I 〇 S (Basic Input / Output Software) can perform authorization and certification checks on the rest of the basic package (2 1 5, 2 2 4, 2 2 2). Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs -----------. • Equipment -------- Order. (Please read the notes on the back before filling this page) In short, other Part of the code program processing includes object authorization and authentication (A & A) procedures for newly acquired or configured objects. The authorization check of the basic kit is done under the basic platform. The authorization of the basic platform is sequentially performed by the boot code, where the boot code can only authenticate one basic platform object. When the system is executed, 0 / S of the basic suite will authenticate and authorize the subsequent loaded objects. These checks enable the authorization status of the digital signal receiving terminal to be verified. If an authorization or certification check fails (at any point in time), the checked item is closed

Q 認證係如下所進行。當程式碼物件被廣播於有線網路 時,這與授權碼以及認證簽章息息相關。對於本平台物 件而言,授權碼最好是給定於開機碼巩息的物件 l cl ( 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) -21 - 經濟部智慧財產局員工消f合作社印製 472490 A7 B7____________ 五、發明說明(19 ) 〇 b j e c t _ I d )欄位中。而認證簽章Jt好是給定於開機碼訊息 的物件 敘述(ob」ect_descnption )欄位中。對於其他物 件(諸如Ο/S與基本套件)而言,授權碼以及認證簽章 最好是位於隨物件下載的0 C A Μ中。 認證簽章是利用特定的演算法所數學計算出來的,其 中程式碼物件本身是作爲演算法的輸入。然後數位訊號接 收終端器利用相同的演算法並以下載的程式碼作爲輸入來 重新計算該簽章。如果數位訊號接收終端器所計算出來的 簽章與隨碼傳送過來的簽章相符的話,便可確定該碼是被 完整傳送無誤且爲可執行的,並無蓄意或無意的變更。 本發明提供兩種基本的方法,以便在數彳AL訊號接收終 端器已經提供有完整服務的情況下,用以升級該用戶終@ 機的基本平台。這兩種升級方法是(i )全體用戶的通用 升級(亦即,特定控制流的全體用戶),以及(2 )單〜 子集合用戶或是多重子集合用戶的選定目標升級。這兩撞 方法皆可利用開機碼來進行升級。 通用升級係藉由從頭端器廣播一個命令給控制流中的 所有數位訊號接收終端器刪除既有的基本平台物件來完成 的。然後,開機碼開始執行、取得控制權並進行上述的初 始化程序(包括利用透過有線網路所下載取得的基本平台 來置換該刪除的基本平台)。 選定目標的升級則是適用於給定控制頻道中的單〜終 端機或是小族群終端機。每個終端機具有特定的單一廣痛 (single-cast )位址1因此可被頭端器所定址’以及指兩 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) II---------- --裝--------訂- (請先閱讀背面之注意事項再填寫本頁> -22- 472490 Α7 Β7 五、發明說明(2〇) 刪除既有的基本平台碼並且利用升級碼來進行重新初始化 。或者是,每個終端器具有一個或多個可被用戶中之其他 終端器所共享的多重廣播(Multi-cast )位址。每個終端器 最好具有四個多重廣播位址。藉由多重廣播位址,頭端器 便可發送碼淸除信號以及重新初始化信號給那些共享該特 定多重廣播位址的特定種類終端器。 在選定目標的升級中,該利用標準下載訊息的基本平 台會在非揮發性記憶體(見圖3 )的啓動資料庫(start-up database )中建立下載參數,並使開機碼取得控制權。然 後,開機碼使用該參數以取得升級的基本平台碼,以置換 原始的基本平台碼。這是在舊版的基本平台碼仍在開機訊 息所指定之位置中運作的情況下所完成的。 經濟部智慧財產局員工消f合作杜印製 II---------' .·裝--------訂· (請先閱讀背面之注意事項再填寫本頁) 除了上述的實施例之外,升級的程序並不需要干擾到 基本平台碼。相反地,升級或是重置號(無論是通用或 選定目標的升級或重置)可指示數位訊號接收終端器僅僅 中止或刪除作業系統(0 / S )、整個基本套件或是一個 或多個特定的常駐應用程式。然後控制權會回到基本平台 碼,該基本平台碼將會依需要來取得並認證一個新的0 / S、整個基本套件或是部份的基本套件。藉此,可升級基 本套件(或僅僅0/S )而不需要重新取得基本平台碼。 圖3顯示本發明之數位訊號接收終端器(3 0 0 )的 四個記憶體單位。唯證記憶體單位(R ◦ Μ ) (301) 含有開機碼(3 0 2 )。快閃記憶體單元(3 0 3 )含有 褪本平台碼(304)以及Ο/S物件(3 0 6 ) ‘‘除了 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) -23- 472490 Λ7 Β7 五、發明說明(21) 這些物件之外,也可設有額外的快閃記憶體(3 0 5 )。 兩個堆疊指標器(stack pointer ) ( 3 0 7 ,3 0 8 )指 定基本平台碼(304 ,308)以及0/S (306 , 3〇7 )在快閃記憶體(3 0 3 )中的絕對位置。此兩物 件在快閃記憶體(3 0 3 )中一直配置於相同的位置是非 常重要的。 非揮發性記憶體單元(3 1 0 )最好具有管理區段以 及非管理區段。基本平台碼(3 0 4 )可將參數及其資料 儲存於非揮發性記憶體單元(3 1 0 )的非管理區段中。 最後,另外設有隨機存取記憶體單元(R A M )( 3 0 9 )。諸如基本平台碼以及0 / S等的下載物件可儲 存於R A Μ ( 3 0 9 )中,直到認證爲止。一旦成功通過 認證與授權,物件將從R A Μ ( 3 0 9 )中傳送至快閃記 憶體單元(3 0 3 )以便長期儲存。 上述說明僅用以解釋並揭示本發明。本說明書並非用 以將本發明侷限於文中所揭示的特定形式。根據本文的揭 露或教導可衍生推導出許多的變更與修正。 較佳實施例的選用及說明係用以提供本發明及其應用 的最佳解釋。本說明書所揭示者係爲使熟悉此技藝者得以 據以實施本發明,以及其他所衍生推倒出來的實施例或變 更與修正。 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) I IT I— n.' n n n- *. i t 1 (請先閱讀背面之注音?事項再填寫本頁) J5T. 經濟部智慧財產局S工消f合作社印製 -24-Q certification is performed as follows. When the code object is broadcast on the wired network, this is related to the authorization code and the authentication signature. For the objects on this platform, the authorization code is preferably the object given by the boot code l cl (This paper size applies to China National Standard (CNS) A4 specifications (210 X 297 mm) -21-Intellectual Property of the Ministry of Economic Affairs Printed by the staff of the Bureau, the cooperative 472490 A7 B7____________ V. Description of the invention (19) 〇bject _ I d). The authentication signature Jt is given in the object description (ob ”ect_descnption) field of the boot code message. For other items (such as O / S and basic kits), the authorization code and certification seal are best located in the 0 C A M downloaded with the item. The certification signature is mathematically calculated using a specific algorithm, where the code object itself is used as the input to the algorithm. The digital signal receiving terminal then uses the same algorithm and takes the downloaded code as input to recalculate the signature. If the signature calculated by the digital signal receiving terminal matches the signature sent with the code, it can be determined that the code is completely transmitted without errors and is executable, with no intentional or unintentional changes. The present invention provides two basic methods for upgrading the basic platform of the user terminal when the digital AL signal receiving terminal has provided a complete service. These two upgrade methods are (i) a general upgrade for all users (that is, all users for a specific control flow), and (2) a selected target upgrade for single-to-subset users or multiple sub-set users. Both collision methods can be upgraded using the boot code. The universal upgrade is accomplished by broadcasting a command from the headend to all digital signal receiving terminals in the control flow to delete the existing basic platform objects. Then, the boot code is executed, gains control, and performs the initialization process described above (including replacing the deleted basic platform with the basic platform downloaded and obtained through the wired network). The upgrade of the selected target is applicable to a single terminal or a small group terminal in a given control channel. Each terminal has a specific single-cast address1 so it can be addressed by the headend 'and two paper sizes that apply the Chinese National Standard (CNS) A4 specification (210 X 297 mm) II ---------- --Installation -------- Order- (Please read the notes on the back before filling in this page> -22- 472490 Α7 Β7 V. Description of the invention (2〇 ) Delete the existing basic platform code and use the upgrade code to re-initialize. Or, each terminal device has one or more Multi-cast addresses that can be shared by other terminal devices in the user. Each terminator preferably has four multiple broadcast addresses. With the multiple broadcast address, the headend can send a code erasure signal and a reinitialization signal to those specific types of terminals that share the specific multiple broadcast address. In the upgrade of the selected target, the basic platform using the standard download message will establish download parameters in the start-up database of the non-volatile memory (see Figure 3), and enable the boot code to gain control. The boot code then uses this parameter to get the To replace the original basic platform code. This is done while the old version of the basic platform code is still operating in the location specified by the startup message. Staff of the Intellectual Property Office of the Ministry of Economic Affairs and Cooperation Du Yin System II --------- '. · Installation -------- Order · (Please read the precautions on the back before filling this page) In addition to the above embodiments, the upgrade procedure and No need to interfere with the basic platform code. On the contrary, an upgrade or reset number (whether it is a general or selected target upgrade or reset) can instruct the digital signal receiving terminal to only suspend or delete the operating system (0 / S), the entire The basic package or one or more specific resident applications. Then control returns to the basic platform code, which will obtain and authenticate a new 0 / S, the entire basic package, or a part of it as needed The basic kit can be upgraded by this means (or only 0 / S) without re-obtaining the basic platform code. Figure 3 shows the four memory units of the digital signal receiving terminal (300) of the present invention. Verifiable Memory Unit (R ◦ Μ) (301) contains the boot code (3 0 2). The flash memory unit (3 0 3) contains the platform code (304) and the 0 / S object (3 0 6) '' except for this paper size applies to China National Standard (CNS) A4 specification (210 X 297 mm) -23- 472490 Λ7 Β7 V. Description of the invention (21) In addition to these objects, additional flash memory (305) can be provided. Two The stack pointer (3 07, 3 0 8) specifies the absolute position of the basic platform code (304, 308) and 0 / S (306, 3 07) in the flash memory (3 0 3). . It is important that the two objects are always located in the same position in the flash memory (303). The non-volatile memory unit (310) preferably has a management section and a non-management section. The basic platform code (3 0 4) can store the parameters and their data in the non-management section of the non-volatile memory unit (3 1 0). Finally, a random access memory unit (R A M) (3 0 9) is additionally provided. Downloads such as the base platform code and 0 / S can be stored in RAM (3 0 9) until authentication. Once successfully authenticated and authorized, the object will be transferred from the RAM (3 0 9) to the flash memory unit (3 0 3) for long-term storage. The above description is only used to explain and disclose the present invention. This description is not intended to limit the invention to the specific forms disclosed herein. Many changes and modifications can be derived from the disclosure or teachings of this article. The selection and description of the preferred embodiments are provided to provide the best explanation of the invention and its applications. The disclosure in this specification is for those skilled in the art to implement the present invention, as well as other derived embodiments or changes and modifications. This paper size applies to China National Standard (CNS) A4 (210 X 297 mm) I IT I— n. 'Nn n- *. It 1 (Please read the note on the back? Matters before filling out this page) J5T. Economy Printed by the Ministry of Intellectual Property Bureau, Industrial and Commercial Cooperatives-24-

Claims (1)

472490 經濟部智怨財4^;u工消·.?合作社卬% Λ 8 138 (:8 D8六、申請專利範圍 1 . 一種有線電視系統之數位訊號接收終端器的初始 · 化方法,包括當提供電源給該聲位訊號接收終端器時,自 ...... 動執行儲存於數位訊號接收終端器之記憶體單元中之開機 、碼物件,其中該開機碼自動配置、取得並執行基本平台碼 ...........〜.. -.1、 物件。 2 .如申請專利範圍第1項之方法,另外包含藉由將 該基本平台碼物件的傳輸配置於有線電視系統的資料傳輸 流廣播之內,以取得該基本平台碼物件。 .......... 3 .如申請專利範圍第1項之方法,另外包含在執行 基本平台碼物件之前先行檢查基本平台碼物件的認證與授 權。 4 ·如申請專利範圍第1項之方法,另外包含將數位 訊號接收終端器的控制權傳遞給執行中的基本平台碼物件 〇 5 .如申請專利範圍第4項之方法,另外包含藉由該 執行中的基本平台碼物件來配置、取得以及執行一作業系 .統.物件。 6 .如申請專利範圍第5項之方法’另外包含: 在該數位訊號接收終端器的記憶體單元內提供兩組堆 \ ..... 疊點; 〜 將該基本平台碼物件.一直儲存於從兩組堆疊點之第一 ............................................... __________. 組堆疊點開始的記憶體單元內;以及 將該作業系統物件一直儲存於從在組堆檄點之第二 ..............'. 組堆#點開始的記憶體單元內。 本紙*尺度適州中囤國家標搫(CNS )八4規格(2丨OX297.公趁).25 - --------------抽衣------1T------線 (請先閲讀背面之注意事項再填寫本頁) 經濟部智1財.4/..;9工-'/]货合作社卬於 472490 Λ 8 Β8 (:8 D8 六、申請專利範圍 7 .如申請專利範圍第5項之方法,其中該取得作業 系統物件的步驟另外包含從有線電視系統所廣播的資料傳 、 輸流中配置並下載該作業系統物件。 ....- 8 .如申請專利範圍第7項之方法,另外包含利用數 位訊號接收終端器來接收該有線電視系統的初始化訊息, _____—.......... .·- ....... 其中該有線電視系統指出資料傳輸流中何處可配置並下載 該作業系統物件。 '9 .如申請專利範圍第5項之方法,另外包含在執行 該作業系統物件之前先行授權及認證氧作業系統物件。 1 0 .如申請專利範圍第1項之方法,另外包含重新 執行該開機碼物件,以回應於透過有線電視系統所接收到 的重置訊息。 1 1 ·如申請專利範圍第1項之方法,另外包含藉由 識別該儲存於數位訊號接收終端器之記憶體單元內的該基 本平台碼物件,以配置並取得該基本平台碼物件。 1 2 .如申請專利範圍第1項之方法,另外包含將該 開機《物件儲存於該記億體單元的唯讀記憶體部份內。 •-- . 1 3 . —種有線電視系統之數位訊號接收終端器的初 始化系統,包括: 當提供電源給該數位訊號接收終端器時,用以自動執 行儲存於數位訊號接收終端器之記憶體單元中之開機碼物 件的構件;以及 由該%行中的開機碼物件所控制而用以自_配置、取 "··· ^·—— *··--·-· · 得並執行該基本平台碼物件的構件。 一.·… 一...................................... 木纸張中®1國"家標笮(CNS ) Λ4现格(210X297公缝) ~ "~~_ -Ζό - 裝------訂------線 (請先間讀背面之注意事項爿填寫本頁) 472490 Λ 8 Β8 C8 ___D8 六、申請專利範圍 1 4 .如申請專利範圍第1 3項之系統,其中該用以 配置並取得該華本平台碼物件的構件另外包含將該基本平 -V . -.·Λ - . — 如一 V·'..、‘A 台碼物件的傳輸配置於有線電視系統的資料傳輸流廣播之 ...................—' 內的構件。 1 5 .如申請專利範圍第1 3項之系統,另外包含用 以在執行基本平台碼物件之前先行檢查基本平台碼物件之 認證與授權的構件。 1 6 .如申請專利範圍第1 3項之系統,另外包含用 以將數位訊號接收終端器的控制權傳遞給執行中之基本平 台碼物件的構件。 1 7 .如申請專利範圍第1 6項之系統,另外包含由 該執行中的基本平台碼物件所控制而用以配置、取得並執 行該一作業系統物件的構件。 % N、-〜—一..... 1 8 .如申請專利範圍第1 7項之系統,另外包含: 兩 定 設 內 元 單 體憶 記 的 0,. 端一 終I 收: 接: 號j 訊Μ 位; 數|件 該構 在的 以點 用疊 堆 組 ---------裝------訂------線 (請先閲讀背面之注意事項再填寫本頁) 經濟部智.!i財,吃场技工消赍^作fi印对 之點疊堆 組 兩 從 於 存 儲 JT- 直Ji 內 II兀 件一 Dpi ^ 為 物一 0碼一憶 台I己 I==口 平I之 本一始 基)開 該點 將# 以堆 用組 1 第 及 以 hi 構 件 件 構 的 內 元 單 h體 物一億 統|2| 系之 業一始 作/開 該點 將® 以堆 用組 之 點 ® rl三 堆 組 兩 在 從 於 存 音 信 直 以所 用統 該系 中視 其電 ’ 線 統有 系從 之以 項用 7 含 1 包 第外 圍另 fF 利槔 專的 請件 申物 統 系 業 作 得 取 如 BJ5L 配利 中導 流lij 輸申 傳如 料· 資 ο 的 2 播 物一統一 系一mi 作一一 該 載 含 包 外 另 統 系 之 木紙张义度適;11中國國家標嗥(CNS > Λ4現格(210x297公婊) -27 - 472490 Λ 8 ΒΧ C8 L)8 六、申請專利範圍 用數位訊號接收終端器來接收該有線電視系統之初始化訊 息的構件,其中該有線電視系統指出資料傳輸流中何處可 ^,·.·" ·’·’·. ...... 配置並下載該作業系統物件。 2 1 .如申請專利範圍第1 7項之系統,另外包含用 以在執行該作業系統物件之前先行授權及認證該作業系統 物件的構件。 2 2 .如申請專利範圍第1 3項之系統,另外包含用 以重新執行該開機碼物件的構件,以回應於透過有線電視 系統所接收到的重置訊息。 2 3 .如申請專利範圍第1 3項之系統’其中該用以 配置並取得基本平台碼物件的構件另外包含用以識別該.、儲 存於數位訊號接收終端器之記憶體單元內之基本平台碼物 件的構件。 2 4 .如申請專利範圍第1 3項之系統’其中該!機 5|赞..件、係儲存於該記f體單元的唯讀記憶體部份內。 .⑽尺度適用中_家辟(CNS 公犛j -28- 裝 訂 線 (請先閱讀背面之注意事項再填寫本頁)472490 Ministry of Economic Affairs and Intellectual Property 4 ^; u industry consumer ·.? Cooperative cooperatives% Λ 8 138 (: 8 D8 VI. Patent application scope 1. A method for initializing the digital signal receiving terminal of a cable television system, including when When power is provided to the audio signal receiving terminal, the booting and code objects stored in the memory unit of the digital signal receiving terminal are automatically executed, and the boot code is automatically configured, obtained and executed. Platform code ........... ~ ..-. 1. Object 2. The method of item 1 in the scope of the patent application, further including configuring the transmission of the basic platform code object on the cable TV In the system's data transmission stream broadcast, to obtain the basic platform code object .......... 3. If the method of the scope of the patent application is the first item, it also includes a check before executing the basic platform code object. Authentication and authorization of the basic platform code object. 4 · If the method in the scope of the patent application is the first item, it also includes passing the control right of the digital signal receiving terminal to the executing basic platform code object. Method, including borrowing The basic platform code object in execution is used to configure, obtain, and execute an operation system, system, and object. 6. The method according to item 5 of the scope of patent application 'additionally includes: in the memory unit of the digital signal receiving terminal. Provide two sets of stacks \ ..... stacking points; ~ store the basic platform code object. ............................. __________. In the memory unit starting from the stacking point; and the operating system object is always stored in In the memory unit starting from the second point in the group pile .............. '. The group pile # point. This paper * sizes Shizhou National Standard (CNS) eight 4 specifications (2 丨 OX297. Publicly available). 25--------------- Swimsuit ------ 1T ------ line (please read the note on the back first) Please fill in this page for further information.) Ministry of Economic Affairs, Intellectual Property. 4 / ..; 9 Gong-'/] Cargo Cooperative Co., Ltd. at 472490 Λ 8 Β8 (: 8 D8 VI. Patent Application Scope 7. A method, wherein the step of obtaining an operating system object further includes configuring and downloading from a data transmission and a stream broadcasted by a cable television system The object of the operating system is ....- 8. If the method of the scope of patent application No. 7 further includes using a digital signal receiving terminal to receive the initialization message of the cable television system, _____—....... .... ·-....... Wherein the cable TV system indicates where the data transmission stream can be configured and downloads the operating system object. '9. The method according to item 5 of the scope of patent application, further comprising authorizing and authenticating the oxygen operating system object before executing the operating system object. 10. The method of item 1 of the patent application scope further includes re-executing the boot code object in response to a reset message received through a cable television system. 1 1 · The method according to item 1 of the patent application scope further includes identifying and obtaining the basic platform code object by identifying the basic platform code object stored in the memory unit of the digital signal receiving terminal. 12. The method according to item 1 of the scope of patent application, further comprising storing the boot-up object in the read-only memory portion of the billion-volume unit. •-. 1 3. — An initialization system for a digital signal receiving terminal of a cable television system, including: When power is supplied to the digital signal receiving terminal, it is used to automatically execute the memory stored in the digital signal receiving terminal. The components of the boot code object in the unit; and controlled by the boot code object in the% line and used to self-configure, fetch " ··· ^ · —— * ··-·-· · get and execute The component of this base platform code object. I ..... A .............. Wood Paper®1 Country " Housemark 笮 (CNS) Λ4 is now (210X297 cm) ~ " ~~ _ -Zό-Outfit ------ Order ------ Line (Please read the precautions on the back first) (Fill in this page) 472490 Λ 8 Β8 C8 ___D8 6. Application for patent scope 1 4. If the system for patent application item 13 is used, the component used to configure and obtain the Huaben platform code object additionally includes the basic flat -V.-. · Λ-. — For example, a V · '..,' A station code object is configured to broadcast on the data transmission stream of the cable television system ............... ....— 'within the component. 15. If the system of item 13 of the scope of patent application, further includes a component for checking the authentication and authorization of the basic platform code object before executing the basic platform code object. 16. The system according to item 13 of the scope of patent application, further comprising a component for transferring control of the digital signal receiving terminal to a basic platform code object in execution. 17. The system according to item 16 of the scope of patent application, further comprising components controlled by the executing basic platform code object to configure, obtain, and execute the operating system object. % N,-~ — 一 ..... 1 8. If the system of the scope of application for patent No. 17 additionally includes: 0, the end of the two sets of internal monomers, and the end I receive: then: No. j message M digits; number | pieces of the structure of the point-to-point stack --------- install ------ order ------ line (Please read the precautions on the back first (Fill in this page again.) The Ministry of Economic Affairs, the Ministry of Economic Affairs, and the i-Finance, eaten by the technicians at the farm. ^ Make fi prints on the point of the stacking group. The two components are stored in JT-Ji.台 I 己 I == 口 平 I 的 本 基基) Open this point will # start with the group 1 and the internal components of the hi component 100 million system | 2 | / Open the point will be ® the point of the use of the group ® rl three piles of two in the system from the storage of audio and video to the system used in the system as its electrical line, the system has to use the 7 with 1 package of the first fF benefits The special application system of the special application can be obtained as the BJ5L distribution, the diversion of the dij, the application of the transmission, and the information. 2 of the broadcast, a unified system, a mi, and a paper containing the other systems out of the package. The right degree is appropriate; 11 Chinese national standard (CNS > Λ4 is now (210x297) -27-472490 Λ 8 ΒC C8 L) 8 VI. Patent application scope Use digital signal receiving terminal to receive the cable television system The component of the initialization message, in which the cable television system indicates where the data transmission stream is available,… .. " · '·' · ........ Configure and download the operating system object. 2 1. The system according to item 17 of the scope of patent application, further including components for authorizing and authenticating the operating system object before executing the operating system object. 2 2. The system according to item 13 of the patent application scope further includes a component for re-executing the boot code object in response to a reset message received through a cable television system. 2 3. If the system of item 13 of the scope of patent application 'wherein the component for configuring and obtaining the basic platform code object additionally includes the basic platform for identifying the, stored in the memory unit of the digital signal receiving terminal The building blocks of code objects. 2 4. If the system of claim 13 of the scope of patent application ’, which! The machine 5 | like ... is stored in the read-only memory portion of the f-body unit. .⑽ Dimensions are applicable _ Jia Pi (CNS public 牦 j -28- binding line (Please read the precautions on the back before filling this page)
TW89107494A 1999-04-21 2000-06-16 Automatic initialization of an advanced set-top box in a cable television system by downloading software or firmware over the cable system TW472490B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13032899P 1999-04-21 1999-04-21
US54567900A 2000-04-07 2000-04-07

Publications (1)

Publication Number Publication Date
TW472490B true TW472490B (en) 2002-01-11

Family

ID=26828382

Family Applications (1)

Application Number Title Priority Date Filing Date
TW89107494A TW472490B (en) 1999-04-21 2000-06-16 Automatic initialization of an advanced set-top box in a cable television system by downloading software or firmware over the cable system

Country Status (6)

Country Link
EP (1) EP1172005A1 (en)
AU (1) AU4348600A (en)
BR (1) BR0009901A (en)
CA (1) CA2370214A1 (en)
TW (1) TW472490B (en)
WO (1) WO2000064181A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1286262A1 (en) * 2001-08-21 2003-02-26 Canal+ Technologies Société Anonyme Optimising the performance of an operating system of a receiver/decoder
US7500092B2 (en) 2003-01-17 2009-03-03 International Business Machines Corporation Hardware abstraction for set-top box operating systems
US7383438B2 (en) * 2004-12-18 2008-06-03 Comcast Cable Holdings, Llc System and method for secure conditional access download and reconfiguration

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5440632A (en) * 1992-12-02 1995-08-08 Scientific-Atlanta, Inc. Reprogrammable subscriber terminal
US5666293A (en) * 1994-05-27 1997-09-09 Bell Atlantic Network Services, Inc. Downloading operating system software through a broadcast channel
US5734589A (en) * 1995-01-31 1998-03-31 Bell Atlantic Network Services, Inc. Digital entertainment terminal with channel mapping
US5951639A (en) * 1996-02-14 1999-09-14 Powertv, Inc. Multicast downloading of software and data modules and their compatibility requirements
AU4326597A (en) * 1997-08-27 1999-03-16 News America Publications, Inc. Electronic television program guide schedule system and method with scan fe ature
EP0907285A1 (en) * 1997-10-03 1999-04-07 CANAL+ Société Anonyme Downloading data

Also Published As

Publication number Publication date
WO2000064181A1 (en) 2000-10-26
BR0009901A (en) 2002-03-12
EP1172005A1 (en) 2002-01-16
CA2370214A1 (en) 2000-10-26
AU4348600A (en) 2000-11-02

Similar Documents

Publication Publication Date Title
TW472489B (en) Method and system for identifying and downloading appropriate software or firmware specific to a particular model of set-top box in a cable television system
US10863239B2 (en) Methods and apparatus for software provisioning of a network device
TW480888B (en) Method and system for downloading and managing the enablement of a list of code objects
US8032917B2 (en) Method and system for directing the download of software and firmware objects over a network such as a cable television system
US6381741B1 (en) Secure data downloading, recovery and upgrading
US20110307702A1 (en) Method for authenticating and executing a program
US8533458B2 (en) Headend system for downloadable conditional access service and method of operating the same
US9319418B2 (en) Method and apparatus for software downloads in a network
US20070201699A1 (en) Broadcast receiver and broadcast receiving method
US20090138720A1 (en) Method and apparatus for detecting movement of downloadable conditional access system host in dcas network
TW480887B (en) Method and system for targeted or universal upgrades of programming in a population of advanced set-top boxes in a cable television system
TW472490B (en) Automatic initialization of an advanced set-top box in a cable television system by downloading software or firmware over the cable system
US20090158395A1 (en) Method and apparatus for detecting downloadable conditional access system host with duplicated secure micro
US20090094660A1 (en) Method and apparatus for configuring a device from a network
CN103108220A (en) Set top box, implement device thereof and function expanding system and method
WO2001013644A1 (en) Method and system for automatically purging code objects being updated by download
TW503662B (en) Method and system for locating a control channel and data transport stream within the signal received by a set-top box from a cable television system
KR101238190B1 (en) Plugin base exchangable CAS apparatus and method therof
US20110022690A1 (en) Communicating data from a source device to a terminal
MXPA01010582A (en) Automatic initialization of an advanced set-top box in a cable television system by downloading software or firmware over the cable system
Pedlow An Open Transport and Navigational Specification, Optionally Supporting Multiple Conditional Access Systems
KR20110058511A (en) Method and apparatus for download conditional access system client of settop box in download conditional access system
KR20170099473A (en) The Content Protection Management System and Method for UHD Terrestrial Broadcasting

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees