1260886 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種接收MHP互動式數位電視⑴巧^“ TV,DTV)節目之方法及其應用裝置,特別是指—種運用家 用閘道器(Residential Gateway)接收數位電視之方法及其廣 用裝置。 【先前技術】 根據資訊工業策進會電子商務研究所的統計調查顯示 ,截至2004年6月底止,國内寬頻用戶已高達317萬戶, 其中使用xDSL的用戶數居冠,其比例高達九成。當網路基 礎建置愈來愈為普及,寬頻速率逐年不斷提高,且網路服 務價格卻有逐年降低的趨勢下,家庭網路(Home Network)建 置的需求將逐年提昇,且資訊設備也逐漸由以往以PC為中 心的思考模式,擴展到以網際網路為範圍的應用架構。而 人們也逐漸以間单易用的資訊家電裝置(Intelligent Appliance,ΙΑ)來取代PC而連結網際網路,藉以取得所需 的各項資訊與特定服務。 另一方面,隨著新技術的突破,許多新的應用與服務 將會因應需求而陸續出現。隨著網際網路的興起,已造成 應用服務提供者(Application Service Provider,ASP)的出現 ;其突破傳統的商業營運模式,使得企業可以較低的價格 使用各種資訊服務。同樣地,當家庭網路的需求逐漸提高 後,於不久的未來市場上將會誕生所謂商業至家庭顧客 (Business to Home Customer,B2H)之新興商業模式。 1260886 上述商業模式將提供服務供應商(Service pr〇vi(jers)與 網路内容提供者(Internet Content Providers)另一種商業機會 。基於此種新型態的服務模式,不論是針對軟體的租用或 是提供資訊家電裝置連接網際網路等服務,家庭用戶將可 以更低廉的費用使用各種類型服務提供者所提供的服務。 上述網際網路所提供的各種服務與應用,都必須要有家庭 網路的支援才得以實現。而家庭網路與網際網路連結需要 使用到-項重要設備,即家用閘道器(Residemiai Ga°teway 或 Home Gateway) 〇 豕庭網路除了可以讓使用者利用網際網路的連接而獲 得最新的資訊’且與資訊家電結合外,未來最值得開發的 便是多媒體影音的傳遞與播送所帶來的龐大商機。影響家 庭網路的發展較明顯的重要因素不外乎是基礎網路環境的 =置和資訊家電的興起等兩項。因此,可整合家庭網路上 錢育訊裝置,並可與網際網路交換訊息的資訊家電產品1260886 IX. Description of the Invention: [Technical Field] The present invention relates to a method for receiving an MHP interactive digital television (1), a "TV, DTV" program, and an application device thereof, and particularly to a home gateway The method of receiving a digital television and its widely used device. [Prior Art] According to the statistics survey of the Electronic Commerce Research Institute of the Information Industry, as of the end of June 2004, the number of domestic broadband users has reached 3.17 million. Households, among which the number of users using xDSL is the highest, the proportion is as high as 90%. When the network infrastructure is becoming more and more popular, the broadband rate is increasing year by year, and the price of network services is decreasing year by year. The demand for Home Network will increase year by year, and information equipment will gradually expand from the PC-centric thinking model to the Internet-wide application architecture. People are gradually becoming easy to use. The information appliance (Intelligent Appliance, ΙΑ) replaces the PC and connects to the Internet to obtain the information and specific services required. On the other hand, with the breakthrough of new technologies, many new applications and services will emerge in response to the demand. With the rise of the Internet, the emergence of Application Service Provider (ASP) has emerged; The business model allows companies to use a variety of information services at a lower price. Similarly, when the demand for home networks is gradually increased, the so-called business to home customer (Business to Home Customer, will be born in the near future market). B2H) The emerging business model. 1260886 The above business model will provide another business opportunity for service providers (Service pr〇vi (jers) and Internet Content Providers. Based on this new state of service model, Whether it's for software rental or providing information appliances to connect to the Internet, home users will be able to use the services offered by various types of service providers at a lower cost. The various services and applications offered by these Internet sites, All must have support from the home network to achieve it. Home network and network Internet connection requires the use of - important equipment, namely the home gateway (Residemiai Ga°teway or Home Gateway). In addition to allowing users to use the Internet connection to get the latest information' and information In addition to the integration of home appliances, the most worthwhile development in the future is the huge business opportunities brought about by the transmission and transmission of multimedia audio and video. The important factors affecting the development of the home network are nothing more than the basic network environment = information and home appliances Rise and so on. Therefore, it is possible to integrate information and home appliances on the home network and exchange information with the Internet.
一豕用閘道器,將合县佘产Λ ^ L σ 將θ疋豕庭網路中一項重要的資訊家電產 口 〇 0 與市二 道器的發展前景雖然普遍地被資訊廠商 仍需面對2構Γ看好,但是目前要建構完整的家庭網路 而Γ、μ °夕問題。例如,(然許多廠商看好此一市場, 是各廠商所自行^+6“的貝δίι豕庭標準與產品。但 ,都缺乏itn了、目關資訊家f與家庭網路建置產品 K <兴冋可遵循的椤淮 性已經出現相當多的心。,目前產品間的互操作 1田夕日0問靖。斜梯田I ^ 便用者而吕,這種不相容的 1260886 情形不僅會造成相當多困擾,同時也會阻礙市場的推廣與 相關應用服務的後續發展。為使家庭網路的概念與資訊家 電的產品能為一般家庭所接受,標準的制定就變得非常重 要,於是開放式服務閘道器(〇pen Service Gate initiatiM, O S G i)規範即應運而生。 此外,隨著寬頻網路日漸成熟,各種高寬頻需求的應 用服務更加地蓬勃發展。然而,這些應用的服務地點已不 侷限於工作或公眾場所,而是逐漸擴展到家庭之中。就應 用服務領域而言,目前家庭網路主要可區分為資訊網路與 控制網路兩種型態。資訊網路用以提供網路通訊、影音娛 樂及語音應用等領域的服務。而控制網路則提供家庭自動 化、保全系統及能源管理等領域的服務。 在未來的家庭網路中,將會分為資訊網路與控制網路 。所谓資訊網路,指的是各式各樣的家電、資訊與娛樂裝 置串連形成家庭内部的區域網路,並接收網際網路上的服 務提供者所提供的包括家庭保全(Home Security)、醫療監聽 (Health Monitoring)及影音媒體(Audi〇/Vide〇 心仙)等的服 務。然而,由於服務應用領域的不同,導致現階段家庭網 路技術標準尚未完全明朗化,而呈現異質性(Heter〇geneity) 的趨勢,進而延緩相關市場的規模和家庭網路的發展。 而在控制網路方面,在不需花費太多經費與時間的前 提下,現今家庭網路的建置將傾向於利用家庭中現有的佈 線’而不再需重佈新線的解決方案為主。因此,以電源線 做為控制網路建置的基礎將會讓大眾更容易接收。 1260886 至於’在家庭影音多媒體服務方面,隨著多媒體家用 平台(Multimedia Home Platf0rm,MHp)標準推出後,只要 消費者能了解其穩定性及安全性,將會進一步促使消費者 有意願投資於互動式TV接收器上。由於數位電視機的價格 居高不下,因此目前全球數位視訊廣播用戶的接收方式仍 以視訊轉換器搭配傳統類比式電視機為主。整體視訊轉換 器(Set-Top box,STB,又稱機上盒)的產量將從2〇〇2年的 1,991萬台成長至2_年的4,767萬台,年複合成長率達 24.4% 〇 再者,家用影音多媒體服務也隨著數位視訊廣播 (Dlgltal Video Broadcasting,DVB)-MHp 標準推出後,而產 生了服務提供商與網路内容提供者’提供各式各樣的互動 式多媒體影音服務之另-種商業機會。基於此種新型態的 服務模式,不論是軟體服務的租用或是提供多媒體播放設 備等服務,家庭用戶將可以更低廉的費用來使用各種類型 服務提供者所提供的服務。 現今台灣的無線數位電視(Digital TV,DTV)自年 ^月祕西部地區開播後,台視、中視、華視、民視及公視 寺五家無線電視台進一步採用MHp為唯一發射接收平台標 準,並於台視附近覓地設置符合MHp標準之發射台。未來 ,MHP將全面内建於數位電視機或數位視訊轉換器中,以 達到各廠牌規袼共通的程度。依據電信總局規劃的時程, 2〇06年之數位電視的普及率將達到85%以上,並將全面回 收原有的類比電視頻道。在此之前,為推動數位電視的發 1260886 展,無線電視業者自試播曰起至2005年年底止,允許免繳 數位電視無線電頻率使用費。 至於,MHP是數位電視最新的國際標準,最早是由歐 洲數位電視廣播協會所定義,其主要提供一個發展DVB-Java應用程式(Xlet)的軟體平台。MHP定義了機上盒的整體 結構、傳送協定、内容格式、Java虛擬機器(Java Virtual Machine,Java VM)和 DVB-J 應用程式設計介面(Application Programming Interface,API),且同時也定義了安全性和各 層的功能。 自2000年MHP公佈以來,其開發的應用版本持續衍 生累積,而達成目前的成就。1 ·〇版幾乎可以適用所有機上 盒與軟體之生產廠商,其展現加值與互動電視的功能。而 1.1版可以適用於網路環境,特別是加強了互動下載應用的 效率。 DVB-MHP是根據Java程式語言技術,做規格標準 (Specifications)的實作(Implementation)與開發。依據 MHP 所開發的應用與平台之技術複雜程度大致可分為等三階段 :加強型廣播(Enhanced Broadcasting)、互動電視 (Interactive TV)及網際網路(Internet)等三階段。 加強型廣播之第一階段具有有限的互動性,是以電話 線或纜線數據機做為回傳管道。數位資料可直接進入用戶 端,而以隨選視訊(Video On Demand,VOD)模式為主。 互動電視之第二階段中的回傳管道與上述加強型廣播 相同,但互動性更強,因此需要更強的軟體平台,以支援 1260886 上層互動應用服務的開發。觀眾可藉以將資料即時回傳給 電視台’以進行相關服務,如開創經營投票以及購物與遊 戲軟體之經營空間等,其中可以直接顯示交易結果。 在第二階段網際網路之層次上,回傳管道需要更大的 頻寬,如纜線或其它管道等,以做更好、更一致的配合。 此外’此種平台必須能支援網路内容直接下載。基本上, 前述第一階段與第二階段的技術層次相近,而這三個階段 的技術都已列入MHP的規範内,且都已送交歐洲電信標準 機構公佈做為標準。 然而,當DVB-ΜΗΡ之應用導入家庭影音服務時,數位 電視服務平台之應用範圍卻受限於該平台的資源性與連接 性,而無法達到具有與其它服務平台協同運作之能力。此 時,便需要透過網路服務整合另一項扮演家庭與網路間溝 通橋樑的重要設備一0SGi家用閘道器。透過〇SGi家用閘 道器完善的系統平台與服務分享能力,可輔助DVB_MHp標 準的協同運作能力與環境,使得數位電視與家庭緊密結合 。以DVB-MHP來看,其主要是基於機上盒或數位數據機, 而透過術星或疋有線電視網路實現家庭内部網路與外部網 路的互聯。除了中介層(Middle_Layer)平台外,DVB_MHp 還提供與之相關的各項數位電視傳輸標準。然而,〇sGi服 務平台是從互聯網之角度提出的,但互聯網到目前為止還 是必須透過通信網路,其處理資料的能力較強。而 MHP主要是基於廣播電視網路,在影音互動式服務與音視 訊頻道傳輸有著獨特的優勢。 10 本發明之㈣’即提供一種運用㈣閉道器接收數位 電視之方法,藉以利用〇SGi規格之家用閘道器,接收符合 MHP規格之數位電視串流節目訊號。 本發明運用家用閘道器接收數位電視之方法包含下列 步驟。首先,提供-符合0SGi規格之家用閘道器,其中該 家用閘道器具有—控制硬體、—數位電視服務代理模組、Once the gateway is used, the county will produce Λ ^ L σ will be an important information in the 疋豕 疋豕 网路 网路 网路 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 与 虽然 虽然 虽然 虽然 虽然 虽然 虽然Facing the 2 structure, I am optimistic about the construction of a complete home network. For example, (although many manufacturers are optimistic about this market, it is the standard and product of each manufacturer's own ^+6". However, there is a lack of itn, the information provider f and the home network to build products K < There are quite a few hearts that can be followed by Xingyi. The interoperability between products is currently 1 Tian Xiri 0 Wen Jing. The inclined terrace I ^ will be used by Lu, this incompatible 1260886 situation will not only It has caused quite a lot of troubles, and it will also hinder the promotion of the market and the subsequent development of related application services. In order to make the concept of home network and the products of information appliances acceptable to the average family, the formulation of standards becomes very important, so it is open. The service of the service gateway initiatiM (OSG i) came into being. In addition, as broadband networks mature, applications for high-bandwidth applications are booming. However, the service locations for these applications It is not limited to work or public places, but gradually expands into the family. In terms of application services, the current home network can be divided into information network and control network. The information network is used to provide services in the fields of network communication, audio-visual entertainment and voice applications, while the control network provides services in the areas of home automation, security systems and energy management. It will be divided into information network and control network. The so-called information network refers to a variety of home appliances, information and entertainment devices connected in series to form a regional network within the home, and to receive service on the Internet. Services such as Home Security, Health Monitoring, and Audio/Video (Audi〇/Vide) are available. However, due to different service application areas, the current home network technology is available. The standard is not fully clarified, but the trend of heterogeneity (Heter〇geneity), which delays the scale of the relevant market and the development of the home network. In terms of controlling the network, without spending too much money and time Nowadays, the establishment of home networks will tend to take advantage of the existing wiring in the home and no longer need to redistribute new lines. Therefore, As the basis for controlling the network construction, the source line will make it easier for the public to receive. 1260886 As for the home audio and video multimedia service, as the multimedia home platform (Multimedia Home Platf0rm, MHp) standard is introduced, as long as the consumer can understand Its stability and security will further encourage consumers to invest in interactive TV receivers. Due to the high price of digital TVs, the current digital video broadcast users are still receiving video converters. Traditional analog TV sets. The output of Set-Top Box (STB, also known as set-top box) will grow from 19.91 million units in 2002 to 47.67 million units in 2 years. The annual compound growth rate reached 24.4%. In addition, the home audio and video multimedia service was launched with the Dlgltal Video Broadcasting (DVB)-MHp standard, resulting in service providers and Internet content providers. Another kind of business opportunity for interactive multimedia services. Based on this new state of service model, whether it is the rental of software services or the provision of multimedia playback equipment, home users will be able to use the services provided by various types of service providers at a lower cost. Today, Taiwan's digital TV (Digital TV, DTV) has been launched in the western region of the year, and the five wireless TV stations of Taiwan, China, China, China, and Gongshi have further adopted MHp as the only transmitting and receiving platform standard. A launch pad that meets the MHp standard is set up near the station. In the future, MHP will be fully built into digital TV or digital video converters to achieve the common level of each brand. According to the time schedule planned by the General Administration of Telecommunications, the penetration rate of digital TVs in 2006 and 2006 will reach more than 85%, and the original analog TV channels will be fully recovered. Prior to this, in order to promote the launch of digital TV in the 1260886 exhibition, wireless TV operators were allowed to pay for digital TV radio frequency usage fees from the trial broadcast until the end of 2005. As for the MHP, the latest international standard for digital TV, first defined by the European Digital Television Broadcasting Association, it mainly provides a software platform for developing DVB-Java applications (Xlets). MHP defines the overall structure of the set-top box, transfer protocol, content format, Java Virtual Machine (Java VM) and DVB-J Application Programming Interface (API), and also defines security. And the functions of each layer. Since the MHP was released in 2000, the version of the application it developed has continued to accumulate and achieve current achievements. 1 · The 〇 version is suitable for almost all manufacturers of on-board and software, which demonstrates the added value and interactive TV functions. The 1.1 version can be adapted to the network environment, especially to enhance the efficiency of interactive download applications. DVB-MHP is an implementation and development of specifications based on Java programming language technology. The technical complexity of applications and platforms developed by MHP can be roughly divided into three phases: Enhanced Broadcasting, Interactive TV, and Internet. The first phase of enhanced broadcast has limited interactivity, with a telephone line or cable modem as a backhaul. Digital data can be directly accessed to the user, and the video on demand (VOD) mode is dominant. The backhaul pipeline in the second phase of Interactive TV is the same as the enhanced broadcast above, but it is more interactive, so a stronger software platform is needed to support the development of the 1260886 upper-layer interactive application service. Visitors can then immediately return the information to the TV station for related services, such as creating business voting and operating space for shopping and gaming software, which can directly display the transaction results. At the level of the second phase of the Internet, the return pipeline requires a larger bandwidth, such as cables or other pipes, for better and more consistent coordination. In addition, such a platform must be able to support direct download of web content. Basically, the technical level of the first phase and the second phase are similar, and the technologies of these three phases have been included in the specifications of the MHP, and have been submitted to the European Telecommunications Standards Agency for publication as a standard. However, when the application of DVB-ΜΗΡ is introduced into the home audio and video service, the application range of the digital TV service platform is limited by the resource and connectivity of the platform, and the ability to cooperate with other service platforms cannot be achieved. At this time, it is necessary to integrate another 0SGi home gateway device, which is an important device that acts as a bridge between the home and the Internet. Through the improved system platform and service sharing capabilities of the SGi home gateway, it can assist the DVB_MHp standard collaborative operation capability and environment, so that digital TV and home are closely integrated. In the case of DVB-MHP, it is mainly based on a set-top box or a digital data machine, and the home network and the external network are interconnected through a satellite or a cable television network. In addition to the middle layer (Middle_Layer) platform, DVB_MHp also provides various digital TV transmission standards related to it. However, the 〇sGi service platform is proposed from the perspective of the Internet, but the Internet has so far had to be able to process data through the communication network. MHP is mainly based on broadcast TV networks, and has unique advantages in audio and video interactive services and audio and video channels. 10 (4) of the present invention provides a method of receiving a digital television using a (4) closed circuit device, thereby receiving a digital television streaming program signal conforming to the MHP specification using a home gateway of the SGi specification. The method of the present invention for receiving a digital television using a home gateway includes the following steps. First, provide a home gateway that conforms to the 0SGi specification, wherein the home gateway has a control hardware, a digital television service agent module,
該資訊與資料具有一服務資訊及一應用程式。接著,該控 制硬體將該廣播串流傳送至該數位電視服務代理模組,: 中該數位電視服務代理模組具有一調節單元、一解多工單 元及-媒體解碼單元。接著,利用該調節單元對該廣播串 l26〇886 因此,以使用者的角度來探討,如果DVB_MHp之接收 器能夠與符合QSGi服務平台的家關道器相互連接與相互 應用,則不僅可以擴充機上盒可取用的額外加值功能服務 ’也能夠產生更多元化的應用服務,藉韓用服務提供者 所提供的各式加值服務功能外,也可以透過網路或是衛星 接收新時代的互動式視訊服務。 【發明内容】 :服務資訊解析模組、一生命週期控制模組及一媒體控制 模組。接著,一使用者透過該家用閘道器向一提供符合 OSGi規格之服務的服務提供裝置發出一請求。接著,該服 務提供裝置將該請求轉送至—數位f視内容提供襄置^妾 著二該數位電視内容提供裝置傳送—廣播串流至該家用問 道器之控制硬體,其中該廣播串流是由符合〇抑規格之複 數服務包所組成,並包括—視訊/音訊及_f訊與資料,且 11 1260886 流進行頻道調節’利用該解多工單元將該廣播串流中的視 ^音訊及資訊與資料予以分離,並利用該媒體解碼單元輸 _出该視訊/音訊。接著,利用該服務資訊解析模組解析出該 資訊與資料中的服務資訊與應用程式。接著,利用該生人 週期控制模組控管該應用程式之狀態。隨後,利用該媒體 控制模組控制該數位電視服務代理模組之調節單元及媒體 解碼單元之訊號在串流過程中所f之額外改變。然後,該The information and materials have a service information and an application. Then, the control hardware transmits the broadcast stream to the digital television service proxy module. The digital television service proxy module has an adjustment unit, a demultiplexing unit and a media decoding unit. Then, the adjustment unit is used to broadcast the broadcast string 126. Therefore, from the perspective of the user, if the DVB_MHp receiver can be connected and mutually connected with the home gateway of the QSGi service platform, the machine can be expanded. The extra value-added service that can be used in the box can also generate more diversified application services. In addition to the various value-added service functions provided by Korean service providers, it can also receive a new era through the Internet or satellite. Interactive video service. SUMMARY OF THE INVENTION: A service information analysis module, a lifecycle control module, and a media control module. Then, a user sends a request to the service providing device that provides the OSGi-compliant service through the home gateway. Then, the service providing device forwards the request to the digital content providing device, and the digital television content providing device transmits the broadcast stream to the control device of the home messenger, wherein the broadcast stream It consists of a plurality of service packs that meet the deprecated specifications, and includes - video/audio and _f messages and data, and 11 1260886 streams for channel adjustment 'using the multiplex unit to view the video in the broadcast stream And separating the information and the data, and using the media decoding unit to output the video/audio. Then, the service information parsing module is used to parse the service information and application in the information and the data. Next, the life cycle control module is used to control the state of the application. Then, the media control module is used to control the additional changes of the signals of the adjustment unit and the media decoding unit of the digital television service proxy module during the streaming process. Then, that
控制硬體將-符合MHP規格之數位電視串流傳送至一家用 多媒體裝置。 再者,本發明之另-目的,即提供一種可接收數位電 視之家用閘道器,其符合0SGi規格,且可用以接收符合 MHP規格之數位電視串流節目訊號。 口 本發明可接收數位互動電視之家用閘道器適用於接收 一廣播串流,並可產生一符合ΜΗΡ規格之數位電視串流, 以傳送至一家用多媒體裝置,其中該廣播串流包括一視訊/ 音訊及一資訊與資料,且該資訊與資料具有一服務資訊及 一應用程式。該家用閘道器包含一控制硬體、一數位電視 服務代理模組、一服務資訊解析模組、一生命週期控制模 組及一媒體控制模組。該控制硬體用以接收該廣播串流, 並將該數位電視串流傳送至該家用多媒體裝置。該數位電 視服務代理模組用以接收該控制硬體所傳來的廣播串流, 並具有一調節單元、一解多工單元及一媒體解碼單元,其 中該調節單元用以對該廣播串流進行頻道調節,該解多工 單兀用以分離該廣播串流中的視訊/音訊及資訊與資料,且 12 1260886 該媒體解碼單元用以輸出該視訊/音訊。該服務資訊解析模 組用以解析出該資訊與資料中的服務資訊與應用程式。該 生命週期控制模組,用以控管該應用程式之狀態◦該媒體 控制模組用以控制該數位電視服務代理模組之調節單元及 媒體解碼單元之訊號在串流過程中所需之額外改變。 【實施方式】 有關本發明之前述及其他技術内容、特點與功效,在 以下配合參考圖式之較佳實施例的詳細說明中,將可清楚 的呈現。 本發明運用OSGi家用閘道器接收MHP數位互動電視 節目之方法及其應用裝置的較佳實施例中,為實現互動式 電視服務與家庭多媒體網路所具備的應用環境。本發明採 用MHP架構中的加強型廣播(Enhanced Broadcasting)平台及 OSGI平台所結合而成的閘道器,其係由OSGi服務包 (Service Bundle)與 MHP 規範之 DVB-Java(簡稱 DVB-J)應用 程式管理(Application Management)等兩部分功能所組合而 成。透過本發明所研發的服務包,可將DTV加強型廣播平 台應用程序的運作方式與OSGi平台之閘道器做一整合。 本發明中係採用OSGi服務平台架構,並嵌入DVB-J 平台技術,主要是以服務包的形式安裝並執行於服務閘道 器之開放式服務平台架構上。本發明中的服務包係指遵循 OSGi規格所開發的服務或軟體。該服務包中内含許多Java 類別(Class)、啟動類別(Activator)以及描述槽(Manifest File) 。此外,月艮務包的生命週期(Bundle Life Cycle)主要分為四 13 1260886 個狀態:已安裝(installed)、等待啟動(resolved)、啟動 (starting)以及取消安裝(uninstalled)。服務閘道器是一種抽 象的概念,任何裝置只要將OSGi功能整合於其中,其便是 一服務閘道器。OSGi架構是以服務包的形式提供一般化之 安全且可管理的Java架構,因此可以動態及擴充的形式管 理服務包在OSGi環境的已安裝及啟動等生命週期。 再者,本發明中所提出的DVB-J應用程式管理是MHP 技術中用以管理Xlet應用程式的執行程序與執行週期之管 理模組。由於本發明中的重點技術為整合OSGi技術與 MHP技術,所以必須要將服務包之生命週期與應用程式管 理做整合與合併。 有關於本發明之實施可分為以下作業系統、程式語言 以及硬體平台等三方面來加以說明。 有關作業系統部分,由於系統穩定性、耗費較少資源 以及開放式等特性之需求,本發明係採用Linux做為家用閘 道器的作業系統,且以Java做為系統發展的環境。 有關程式語言部分,取決於Java具有物件導向、簡單 及萬國碼(Unicode)等特性,且因Java嵌入式伺服器(Java Embedded Server,JES)是基於Java規範所開發,因此本發 明中採用Java技術做為程式開發語言。此外,MHP規範中 的DVB-J平台也是遵循Java規範所延伸而出,如JavaTV、 Java 媒體架構(Java Media Framework,JMF)。因此,兩者 間可透過互通性做基礎聯繫。 有關硬體平台部分,主要採用容易建構出Linux與Java 14 1260886 之開發環境,但也不排除採用嵌入式系統(Embedded System)做為更能表現出家用閘道器的硬體環境平台。 參閱圖1,本發明可接收數位電視之家用閘道器1最重 要的部分即為最上層的服務架構(Service Framework)功能模 組的規劃與設計。本發明著重於如何在服務架構上架構適 當的慣用服務(Custom Services) ’使得家用閘道器1可藉由 這些服務模組實現本發明之功能。為強化家用閘道器1的 功能,家用閘道器1的開發者必須提供自行開發的慣用服 務給使用者應用,以區別產品的服務市場。為強化區別產 品的服務市場,於本發明的實作上,除支援由JES 13所提 供的基本嵌入式服務功能模組(如HTTP服務功能模組18及 LOG服務功能模組19)外,在慣用服務方面,本發明使用數 種MHP DVB-J平台技術,如JavaTV、JMF及數位音訊視 訊會議(Digital Audio Visual Council,DAVIC)技術等,來分 別開發本發明中主要的四個嵌入式功能模組,如下所述。 該家用閘道器1符合OSGi規格,且適用於接收一廣播 串流,並產生一符合MHP規格之數位電視串流傳送至一家 用多媒體裝置24,其中該廣播串流中包括一視訊/音訊及_ 資訊與資料’且該資訊與資料中具有一服務資訊及一應用 程式。該家用閘道器1包含一控制硬體11、一調節器 (Tuner)l2、JES 13、一數位電視服務代理模組14、一生命 週期控制模組15、一服務資訊解析模組16、一媒體控制模 組17、HTTP服務功能模組18及l〇g服務功能模組19。 該控制硬體11用以接收該廣播串流,並將該MHP數 15 1260886 位電視串流經由多媒體網路23傳送至該家用多媒體裝置μ 〇 該調節器12是藉由硬體的形式來進行頻道的調節。該 肌13是用以提供如Ηττρ服務功能模组18及⑽服務功 能模組19等基本嵌入式服務功能模組。 ^配合參閱圖2,該數位電視服務代理模組14主要扮演 著使用者介面及整合應用程式設計介面(AppHcati仙 Programming Interface,Apim務模組間相互溝通的橋樑。 數位電視服務代理模組14是用來執行以服務包做為基底的 服務包程序,係將DVB應用程式管理單元(a卯k州仙The control hardware transmits the digital TV stream that meets the MHP specification to a multimedia device. Furthermore, it is a further object of the present invention to provide a home gateway that can receive digital television that conforms to the 0SGi specification and can be used to receive digital television streaming program signals that conform to the MHP specification. The home gateway of the present invention for receiving a digital interactive television is adapted to receive a broadcast stream and to generate a digital television stream conforming to the specification for transmission to a multimedia device, wherein the broadcast stream includes a video stream. / audio and information and information, and the information and information has a service information and an application. The home gateway comprises a control hardware, a digital television service agent module, a service information analysis module, a lifecycle control module and a media control module. The control hardware is configured to receive the broadcast stream and stream the digital television to the home multimedia device. The digital television service proxy module is configured to receive a broadcast stream transmitted by the control hardware, and has an adjustment unit, a demultiplexing unit, and a media decoding unit, wherein the adjustment unit is configured to stream the broadcast The channel adjustment is performed, and the solution multiplexer is used to separate video/audio and information and data in the broadcast stream, and 12 1260886 the media decoding unit is configured to output the video/audio. The service information parsing module is used to parse the service information and applications in the information and materials. The lifecycle control module is configured to control the state of the application, and the media control module controls the signal required by the adjustment unit and the media decoding unit of the digital television service proxy module to be extra during the streaming process. change. The above and other technical contents, features, and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments of the invention. The present invention utilizes an OSGi home gateway to receive an MHP digital interactive television program and a preferred embodiment thereof for implementing an interactive television service and a home multimedia network. The invention adopts a gateway device composed of an enhanced broadcasting platform and an OSGI platform in the MHP architecture, which is composed of an OSGi service bundle (Service Bundle) and a MHP specification DVB-Java (referred to as DVB-J). Two parts of the application management (Application Management) are combined. Through the service package developed by the present invention, the operation mode of the DTV enhanced broadcast platform application can be integrated with the gateway of the OSGi platform. In the present invention, the OSGi service platform architecture is adopted, and the DVB-J platform technology is embedded, which is mainly installed and executed in the form of a service package on the open service platform architecture of the service gateway. The service package in the present invention refers to a service or software developed in accordance with the OSGi specification. The service pack contains many Java classes, Activators, and Manifest Files. In addition, the Bundle Life Cycle is divided into four 13 1260886 states: installed, waiting for recovery, starting, and uninstalling. The service gateway is a concept of abstraction. Any device that integrates the OSGi function into it is a service gateway. The OSGi architecture provides a generalized, secure and manageable Java architecture in the form of service packs, so that the lifecycle of service packs in the OSGi environment can be managed dynamically and in an expanded manner. Furthermore, the DVB-J application management proposed in the present invention is a management module for managing the execution program and execution cycle of the Xlet application in the MHP technology. Since the key technology in the present invention is to integrate OSGi technology and MHP technology, it is necessary to integrate and merge the service pack life cycle with application management. The implementation of the present invention can be divided into three aspects, namely, the following operating system, programming language, and hardware platform. Regarding the operating system part, due to the requirements of system stability, low resource consumption, and open type, the present invention uses Linux as a home gateway operating system, and uses Java as a system development environment. The programming language part depends on Java's object orientation, simplicity and Unicode, and since the Java Embedded Server (JES) is developed based on the Java specification, Java technology is adopted in the present invention. As a programming language. In addition, the DVB-J platform in the MHP specification is also extended from the Java specification, such as JavaTV, Java Media Framework (JMF). Therefore, the two can be connected through interoperability. Regarding the hardware platform part, the development environment that easily constructs Linux and Java 14 1260886 is mainly adopted, but the embedded system (Embedded System) is not excluded as a hardware environment platform which can more express the home gateway. Referring to Fig. 1, the most important part of the home gateway 1 for receiving a digital television of the present invention is the planning and design of the uppermost Service Framework functional module. The present invention focuses on how to configure appropriate Custom Services on the service architecture so that the home gateway 1 can implement the functions of the present invention by these service modules. In order to enhance the function of the home gateway 1, the developer of the home gateway 1 must provide self-developed conventional services for the user to distinguish the service market of the product. In order to strengthen the service market of differentiated products, in addition to supporting the basic embedded service function modules (such as HTTP service function module 18 and LOG service function module 19) provided by JES 13, in the implementation of the present invention, In terms of idiomatic services, the present invention uses several MHP DVB-J platform technologies, such as JavaTV, JMF, and Digital Audio Visual Council (DAVIC) technology, to separately develop the four main embedded functional modules of the present invention. Group, as described below. The home gateway 1 conforms to the OSGi specification and is adapted to receive a broadcast stream and generate a digital television stream conforming to the MHP specification for transmission to a multimedia device 24, wherein the broadcast stream includes a video/audio and _ Information and Information' and there is a service information and an application in the information and information. The home gateway device 1 includes a control hardware 11, a regulator (Tuner) l2, a JES 13, a digital television service agent module 14, a life cycle control module 15, a service information analysis module 16, and a The media control module 17, the HTTP service function module 18, and the lg service function module 19. The control hardware 11 is configured to receive the broadcast stream and transmit the MHP number 15 1260886 bit TV stream to the home multimedia device via the multimedia network 23. The regulator 12 is implemented by hardware. Channel adjustment. The muscle 13 is used to provide basic embedded service function modules such as the Ηττρ service function module 18 and the (10) service function module 19. With reference to FIG. 2, the digital television service agent module 14 mainly plays a user interface and an integrated application design interface (AppHcati Programming Interface, a bridge between the Apim service modules. The digital TV service agent module 14 is The service package program used to execute the service package is the DVB application management unit (a卯k州仙
Manager)161(見圖3)包裝於内。此數位電視服務代理模組 14負責將符合MHP規範之Xlet應用程式擷取出。 亦即,該數位電視服務代理模組14用以接收該控制硬 體11所傳來的廣播串流,並具有一調節單元141、一解多 工單το 142、一條件式存取(c〇nditi〇nal Access)控制單元 143、一媒體解碼單元(Dec〇der)144。該調節單元Μ〗用以 對該廣播串流進行頻道調節。該解多工單元142用以分離 該廣播串流中的視訊/音訊及資訊與資料。該條件式存取控 制單元143用以解密視訊/音訊及資訊與資料。於是,解密 後的視訊/音訊進一步藉由媒體解碼單元144解碼後,可輸 出至TV-Out或AV-Out輸出端子。而解密後的資訊與資料 則透過系統層傳到作業系統内的系統資源層,以等待χΐΜ 應用程式進行存取,其中符合數位儲存媒體命令與控制 (Digital Storage Media-Command and Control,DSM-CC)協 16 1260886 定之服務資訊係做為管理程序之用。 配合參閱圖3,該服務資訊解析模組16具有一應用程 式管理單元161,用以管理該Xlet應用程式162,並解析出 該資訊與資料中的服務資訊164與應用程式163。接著,應 用程式163與服務資訊164中的電視廣播文字(Teletext)或 字幕便被送出至螢幕加以顯示。 配合參閱圖4之家用閘道器1之生命週期控制模組15 之程序管理流程,該生命週期控制模組15用以控管Xlet應 * 用程式162之狀態週期。當Xlet應用程式162被丟棄或停 止使用時,此生命週期控制模組15必須具有監督權。如圖 4所示,本發明中符合OSGi規格之應用程式之狀態包括 installed 狀態 51、resolved 狀態 52、starting 狀態 53、 active 狀態 54、stopping 狀態 55 及 uninstalled 狀態 56,而 這些OSGi服務包之各種狀態間的轉換是藉由使用者運用各 種管理操作之方法(Method,如 update、start、stop、 uninstall)而達成,且圖中的虛線箭頭則是代表不需人為操 ® 作而能自動轉態之過程。此外,當應用程式進入該active 狀態54時,其進一步進入複數符合MHP規格之子狀態之 一,且該等子狀態包括Loaded子狀態541、Paused子狀態 542、Active子狀態543及Destroyed子狀態544,而這些 MHP Xlet應用程式之各種子狀態間的轉換是藉由使用者運 用各種管理操作之方法(如initXlet、startXlet、pauseXlet、 destroyXlet)而達成。 配合參閱圖5,該媒體控制模組17是用以控制該數位 17 1260886 電視服務代理模組14 一 ★ #咕各山 即早兀141及媒體解碼單元M4 =串流料中所需之額外改變。 =合參_ 6’本發明運用家用閘道器接收數位電視之 方法包含下列步驟。首 百先,如步驟90所示,提供符合 OSG】規袼之家用閘道哭 °° 接者,如步驟91所示,使用者 透過该豕用閘道器1而接々户 m 、付合OSGi規格之服務的服務提 =置21發出一請求。然後,如步驟92戶斤示,該服務提 、置^將44求轉送至數位電視内容提供裳置22。 接著,如步驟9 3 % - 斤不’该數位電視内容提供裝置22 =廣播串机至5亥豕用閘道器ι之控制硬m,其中該廣 播串流,由符合0抑規格之服務包所組成。 接著,如步驟94 m — a , 、、, 斤不該控制硬體11將該廣播串流傳 运至該數位電視服務代理模組14。 ^後纟乂驟95所不’利用該調節單it 141對該廣播 進行頻道.周即,利用該解多工單元⑷將該廣播串流 :的視訊/音訊及資訊與資料予以分離,並利用該媒體解碼 早兀144輸出該視訊/音訊。如步驟%所示,利用該服務資 机解析模組16解析中兮咨4 & -欠、丨丄 ^ 斫出4貝汛與資料中的服務資訊與應用程 ’如步驟97所不,湘該生命週期控制模組η控管該 ,用私式之狀恶。如步驟98所示,利用該媒體控制模組Η 空=該數位電視服務代理模、组i之調節單元ΐ4ΐ及媒體解 馬早το 144之afl旒在串流過程中所需之額外改變。然後, y驟99所不5亥控制硬體u將符合他p規格之數位電 視串流透過多媒體網路23傳送至家用多媒體裝置 18 1260886 因此,藉由本發明之方法及家用閘道器丨,可接收數位 廣播業者所傳送的數位廣播訊號,其中包括一種應用程式Manager) 161 (see Figure 3) is packaged inside. The digital television service agent module 14 is responsible for extracting the Xlet application conforming to the MHP specification. That is, the digital television service proxy module 14 is configured to receive the broadcast stream transmitted by the control hardware 11, and has an adjustment unit 141, a solution multi-work order το 142, and a conditional access (c〇). The nditi〇nal Access control unit 143 and a media decoding unit (Dec〇der) 144. The adjustment unit is configured to perform channel adjustment on the broadcast stream. The demultiplexing unit 142 is configured to separate video/audio and information and data in the broadcast stream. The conditional access control unit 143 is used to decrypt video/audio and information and data. Thus, the decrypted video/audio is further decoded by the media decoding unit 144 and output to the TV-Out or AV-Out output terminal. The decrypted information and data are transmitted to the system resource layer in the operating system through the system layer, waiting for the application to access, which meets the digital storage media command and control (Digital Storage Media-Command and Control, DSM-CC) ) 16 1660886 The service information is used as a management program. Referring to FIG. 3, the service information parsing module 16 has an application management unit 161 for managing the Xlet application 162 and parsing the service information 164 and the application 163 in the information and materials. Next, the television broadcast text (Teletext) or subtitles in the application 163 and the service information 164 are sent to the screen for display. Referring to the program management flow of the lifecycle control module 15 of the home gateway 1 of FIG. 4, the lifecycle control module 15 is used to control the state cycle of the Xlet application 162. This lifecycle control module 15 must have supervisory authority when the Xlet application 162 is discarded or stopped. As shown in FIG. 4, the state of the application conforming to the OSGi specification of the present invention includes an installed state 51, a resolved state 52, a starting state 53, an active state 54, a stopping state 55, and an uninstalled state 56, and various states of these OSGi service packs. The conversion between the two is achieved by the user using various methods of management operations (Method, such as update, start, stop, uninstall), and the dotted arrow in the figure represents the automatic transformation without human intervention. process. In addition, when the application enters the active state 54, it further enters one of the sub-states that meet the MHP specification, and the sub-states include the loaded sub-state 541, the Paused sub-state 542, the Active sub-state 543, and the Destroyed sub-state 544. The conversion between the various substates of these MHP Xlet applications is achieved by the user using various management operations (such as initXlet, startXlet, pauseXlet, destroyXlet). Referring to FIG. 5, the media control module 17 is used to control the digital 17 1260886 television service agent module 14 - #咕山山即兀 141 and media decoding unit M4 = additional changes required in the stream material . = conjugate _ 6' The method of the present invention for receiving a digital television using a home gateway includes the following steps. The first hundred first, as shown in step 90, provides a home gateway that meets the OSG rules. As shown in step 91, the user passes through the gateway 1 to pick up the tenant. The service of the OSGi specification service = set 21 to issue a request. Then, as shown in step 92, the service provides, and the 44 is forwarded to the digital television content providing slot 22. Then, as in step 9 3 % - kg does not 'the digital television content providing device 22 = broadcast string machine to 5 豕 闸 闸 控制 控制 控制 控制 控制 , , , , , , , , , , , , , , , , , , Composed of. Then, as in step 94 m - a , , , , the hardware 11 should not be controlled to transmit the broadcast stream to the digital television service agent module 14. After step 95, the channel is not used by the adjustment unit it 141. The video/audio and information and data are separated and utilized by the demultiplexing unit (4). The media decodes the video/audio as early as 144. As shown in step %, the service provider analysis module 16 is used to analyze the service information and application process of the Chinese 兮 4 4 & owe, 丨丄 ^ 4 4 汛 汛 and the data as in step 97, Xiang The life cycle control module η controls the use of the private form. As shown in step 98, the media control module Η = the digital television service proxy module, the adjustment unit 组4ΐ of the group i, and the afl旒 of the media solution το 144 are additional changes required during the streaming process. Then, the digital control unit that matches the p specification is transmitted to the home multimedia device 18 through the multimedia network 23 1260886. Therefore, by the method of the present invention and the home gateway device, Receive digital broadcast signals transmitted by digital broadcasters, including an application
AppHcatl〇n)。此種應用程式能夠從〇sGi服務提供者 或是數位電視服務提供者自動下載至本發明之家用閘道器! ,並且自動安裝。而本發明的重點則在於,該家用間道器1 令包含了數位電視服務代理模組14、生命週期控制模組 :服務資訊解析模組16及媒體控制模組17等四大模組, 藉以使得本發明中的家用閘道器1同時兼具接收數位電視 及做為家庭網路閘道器之雙重功能。 歸納上述’由於本發明利0SGi家用閘道器接收 MHP數位互動電視之方法及其應用裝置中運用了數位電視 服務代理模組14、生命㈣模組15、服務資訊解析模 組16及媒㈣制模組17 #时模組,使得本發明中符合 〇仙規格之家用閉道器1亦能用以接收符合MHP規格之 數位電視串流訊號。 惟以上所述者,僅為本發明之較佳實施例而已,當不 能以此㈣本發明實施之範圍,即大凡依本發明中請:利 範圍及發明說明内容所作之簡單的等效變化與修飾,皆仍 屬本發明專利涵蓋之範圍内。 【圖式簡單說明】 圖1是一系統架構圖,說明本發明可接收數位電視之 家用閘道器之-較佳實施例及應用該家用閘道器之系統架 圖2是一功能方塊圖 說明該家用閘道器之—數位電 19 1260886 視服務代理模組; 圖3是一功能方塊圖,說明該家用閘道器之一服務資 訊解析模組; 圖4是一流程圖,說明該家用閘道器之一生命週期控 制模組之程序管理流程; 圖5是一功能方塊圖,說明該家用閘道器之一媒體控 制模組;及 圖6是一流程圖,說明本發明運用家用閘道器接收數 位電視之方法之一較佳實施例。AppHcatl〇n). Such an application can be automatically downloaded from the 〇sGi service provider or digital TV service provider to the home gateway of the present invention! And automatically installed. The main point of the present invention is that the home intercommunicator 1 includes four modules, such as a digital television service agent module 14, a lifecycle control module, a service information analysis module 16, and a media control module 17, The home gateway device 1 of the present invention simultaneously has the dual functions of receiving a digital television and acting as a home network gateway. The above method of using the digital television service agent module 14, the life (four) module 15, the service information analysis module 16 and the medium (four) system is adopted in the method for receiving the MHP digital interactive television and the application device thereof. The module 17 #时 module enables the home closed circuit device 1 conforming to the Zhu Xian specification of the present invention to receive a digital television stream signal conforming to the MHP specification. However, the above is only the preferred embodiment of the present invention, and it is not possible to use the scope of the present invention in the scope of the present invention, that is, the simple equivalent change of the scope and the description of the invention. Modifications are still within the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system architecture diagram illustrating a home gateway for receiving a digital television according to the present invention - a preferred embodiment and a system frame using the home gateway. FIG. 2 is a functional block diagram The home gateway device - digital power 19 1260886 as a service agent module; Figure 3 is a functional block diagram illustrating one of the home gateway devices service information analysis module; Figure 4 is a flow chart illustrating the home brake FIG. 5 is a functional block diagram illustrating a media control module of the home gateway; and FIG. 6 is a flow chart illustrating the use of the home gateway of the present invention A preferred embodiment of a method of receiving a digital television.
20 1260886 【主要元件符號說明】 1 ·… 家用閘道器 18 * * · HTTP服務功能模 11 ·… 控制硬體 組 12*·. 調節器 19·… LOG服務功能模 13·., JES 組 14*· 數位電視服務代 21 · _ · OSGi服務提供裝 理模組 置 141 · · 調節單元 22· * · 數位電視内容提 142 ·. 解多工單元 供裝置 143 · · 條件式存取控制 23·… 多媒體網路 tj〇 一 早70 24* * · 家用多媒體裝置 144 ·. 媒體解碼單元 51 * * installed 狀態 15· · •生命週期控制模 52· · · resolved 狀態 組 53·… starting 狀態 16·· •服務資訊解析模 54* · · active狀態 組 541 * * Loaded子狀態 161 ^ •應用程式管理單 542 · · Paused子狀態 元 543 * · Active子狀態 162 · ♦ Xlet應用程式 544 · * Destroyed子狀態 163 · • 應用程式 55· * · stopping 狀態 164 · • 服務資訊 5 6' · · uninstalled 狀態 17. · * 媒體控制模組 90〜99· 步驟 2120 1260886 [Description of main component symbols] 1 ·... Home gateway 18 * * · HTTP service function module 11 ·... Control hardware group 12*·. Regulator 19·... LOG service function module 13·., JES group 14 *· Digital TV service generation 21 · _ · OSGi service provisioning module 141 · · Adjustment unit 22 · * · Digital TV content 142 ·. Demultiplexing unit 143 · · Conditional access control 23· ... multimedia network tj〇 early morning 70 24* * · home multimedia device 144 ·. media decoding unit 51 * * installed state 15 · · life cycle control module 52 · · · resolved state group 53 ·... starting state 16·· • Service Information Parsing Module 54* · Active state group 541 * * Loaded substate 161 ^ • Application Management Sheet 542 · · Paused Substate Element 543 * · Active Substate 162 · ♦ Xlet Application 544 · * Destroyed Substate 163 · • Application 55· * · stopping state 164 · • Service information 5 6' · · uninstalled state 17. · * Media control module 90~99· Step 21