JP5744605B2 - Information processing apparatus and information processing method - Google Patents
Information processing apparatus and information processing method Download PDFInfo
- Publication number
- JP5744605B2 JP5744605B2 JP2011085650A JP2011085650A JP5744605B2 JP 5744605 B2 JP5744605 B2 JP 5744605B2 JP 2011085650 A JP2011085650 A JP 2011085650A JP 2011085650 A JP2011085650 A JP 2011085650A JP 5744605 B2 JP5744605 B2 JP 5744605B2
- Authority
- JP
- Japan
- Prior art keywords
- resource
- type
- stream
- information
- information processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、データをストリームとして扱う技術に関するものである。 The present invention relates to a technique for handling data as a stream.
従来から、大規模なソフトウェアシステムを構築する場合には、それぞれ固有の単位機能を持つ複数のソフトウェアコンポーネントに分割して開発する手法がとられる。システム内では、関連する複数のコンポーネント間で処理の依頼を行ない、互いに協調し合って1つの大きな処理を実現する。 Conventionally, when a large-scale software system is constructed, a method of developing by dividing into a plurality of software components each having a unique unit function has been taken. In the system, processing is requested between a plurality of related components, and one large process is realized by cooperating with each other.
システム全体の機能をソフトウェアコンポーネントに分割する方法の1つとして、入力されたデータに何らかの変換を加えたデータを出力する処理を単位機能と考え、データの流れに沿って分割する方法がある(非特許文献1)。以下ではこのような処理を「フィルタ処理」と称する。このような分割方法のメリットは、フィルタ処理コンポーネントの交換や組合せ変更により、そのシステムの機能の増減や将来の機能拡張ができる点にある。 As one method of dividing the entire system functions into software components, there is a method of dividing the input data according to the flow of data, considering the process of outputting data obtained by performing some conversion on the input data as a unit function (non- Patent Document 1). Hereinafter, such processing is referred to as “filter processing”. The advantage of such a division method is that the functions of the system can be increased or decreased and future functions can be expanded by exchanging filter processing components or changing combinations.
各ソフトウェアコンポーネントがフィルタ処理を行う時には、システムのリソースを使用する。例えば、圧縮された映像信号の伸長を行うビデオデコードフィルタ処理コンポーネントでは、MPEG2ビデオをデコードする場合に、MPEG2ビデオデコーダハードウェアや参照画像を保存するためのメモリなどのリソースを使用する。同様に、グラフィックスを描画するグラフィックス描画フィルタでは、描画領域やフレームバッファとしてのメモリリソースを使用する。 Each software component uses system resources when filtering. For example, a video decoding filter processing component that decompresses a compressed video signal uses resources such as MPEG2 video decoder hardware and a memory for storing reference images when decoding MPEG2 video. Similarly, a graphics drawing filter for drawing graphics uses memory resources as a drawing area and a frame buffer.
システムに要求される様々な機能を実現するために必要なリソースは、その機能毎に異なる。それらの機能を複数同時に実行する場合には、機能の組合せによっては、リソースの競合が発生する。リソースの競合が発生した場合には、機能を正常に実行できなくなるので、その調停をする必要がある。 Resources required to realize various functions required for the system are different for each function. When a plurality of these functions are executed simultaneously, resource contention occurs depending on the combination of functions. When resource contention occurs, the function cannot be executed normally, so arbitration is required.
ここで、システムに要求される機能を複数のソフトウェアコンポーネントで分担して実現するシステムにおいても、システム内の各ソフトウェアコンポーネントが使用するリソース情報を元に、リソースの競合を判断する仕組みが必要である。しかしながら、特定のソフトウェアコンポーネントが使用するリソース情報を静的に保持して管理する仕組みでは、ソフトウェアコンポーネントの入れ替えが困難になり、システムの機能の増減や将来の機能拡張性が損なわれてしまう。 Here, even in a system in which functions required for the system are shared by a plurality of software components, a mechanism for determining resource contention based on resource information used by each software component in the system is required. . However, in a mechanism that statically holds and manages resource information used by a specific software component, it becomes difficult to replace the software component, and the increase or decrease in system functions and future function expandability are impaired.
そこで、ソフトウェアコンポーネントが使用するリソースをリソース管理部に登録し、リソース管理部でシステム内のリソースを一元管理し、適切に分配、割り当てすることができる装置が提案されている(特許文献1)。 In view of this, an apparatus has been proposed in which resources used by software components are registered in a resource management unit, and resources in the system are centrally managed by the resource management unit, and can be appropriately distributed and allocated (Patent Document 1).
放送受信機能やIPストリーミング受信機能などのストリームデータを処理するシステム(以降、ストリーム処理システムと称す)では、昨今の放送のデジタル化、ネットワーク化に伴い、対応すべきストリームの種類が増えてきている。また、ハードウェアの処理能力の増大もあり、1つのシステム内で複数のストリームを同時並行処理することが可能になってきている。 In a system for processing stream data such as a broadcast receiving function and an IP streaming receiving function (hereinafter referred to as a stream processing system), the types of streams to be supported are increasing with the recent digitization and networking of broadcasting. . In addition, due to an increase in processing capability of hardware, it has become possible to simultaneously process a plurality of streams in one system.
ここで、複数のストリームを同時並行処理する際に、ストリーム間でコンポーネントが利用するリソースの競合が発生して、正常な再生を保証できないのは、好ましくない。例えば、予約録画処理を実行中に、新しいストリームの再生処理を試みて、予約録画処理が止まってしまうのは避けるべきである。 Here, when a plurality of streams are simultaneously processed in parallel, it is not preferable that contention of resources used by components between streams occurs and normal reproduction cannot be guaranteed. For example, it is to be avoided that the reservation recording process is stopped by trying to reproduce a new stream while the reservation recording process is being executed.
複数のストリームを同時並行処理する場合においても、このようなリソースの競合を判定して、調停する仕組みが必要である。ところで、複数のストリームを同時並行処理する場合において、リソースの競合を判定し、正常なストリーム再生処理を保証するためには、ユーザやアプリケーションからのストリーム処理要求に基づいて、使用するリソースを見積る必要がある。この時、使用するリソースはストリーム処理要求、つまりストリームの種別毎に異なる。よって、ストリームの種別毎に、適切なフィルタ処理コンポーネントの選択と、そのコンポーネントが使用するリソースを特定しなければならない。 Even in the case where a plurality of streams are processed simultaneously in parallel, a mechanism for determining and reconciling such resource contention is necessary. By the way, when processing multiple streams simultaneously, it is necessary to estimate the resources to be used based on stream processing requests from users and applications in order to determine resource contention and guarantee normal stream playback processing. There is. At this time, the resource to be used is different for each stream processing request, that is, for each stream type. Therefore, for each stream type, it is necessary to select an appropriate filter processing component and specify the resource used by that component.
さらに、ストリーム処理のリソース割り当てにおいては、ストリーム種別だけでは、必要となるリソースを確定できない場合があるという課題がある。例えば、放送受信機能においては、特定のチャンネルを選局してみないと映像コンテンツのフォーマットがHDなのかSDなのかを判断できない場合がある。フォーマットによって、メモリなどの必要なリソースは異なってくる。また、アナログコンポーネント端子からの映像信号入力の表示機能においても、映像を受信しなければそのフォーマットを確定することができない。よって、リソース量を予め確定することが難しい。 Furthermore, in resource allocation for stream processing, there is a problem that necessary resources may not be determined only by stream type. For example, in the broadcast receiving function, it may be impossible to determine whether the video content format is HD or SD without selecting a specific channel. Depending on the format, the necessary resources such as memory differ. Even in the display function of the video signal input from the analog component terminal, the format cannot be determined unless video is received. Therefore, it is difficult to determine the resource amount in advance.
本発明は上記の問題に鑑み、フィルタ処理コンポーネントの新規追加などシステム全体としての機能の増減の実現と、実行中のストリーム処理に破綻を来たさないという要件を満たしながら、リソースを有効に活用する為の技術を提供することを目的とする。 In view of the above problems, the present invention effectively utilizes resources while satisfying the requirement of increasing or decreasing the function of the entire system, such as newly adding a filter processing component, and preventing the stream processing being executed from failing. It aims at providing the technology for doing.
本発明の目的を達成するために、例えば本発明の情報処理装置は、情報処理装置であって、
前記情報処理装置に格納されているソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、を関連づけて格納する第1の格納手段と、
ストリームの種類を確定するための確定処理に必要な前記情報処理装置のリソースを示す第2のリソース情報を格納する第2の格納手段と、
処理対象とする対象ストリームの種類が指定されているか否かを判断する判断手段と、
前記対象ストリームの種類が指定されている場合には、該種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる第1の割り当て手段と、
前記対象ストリームの種類が指定されていない場合には、前記第2のリソース情報が示すリソースを使用して前記確定処理を実行し、該確定処理によって確定した種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる第2の割り当て手段と
を備えることを特徴とする。
In order to achieve the object of the present invention, for example, an information processing apparatus of the present invention is an information processing apparatus,
The type information indicating the type of stream that can be processed by the software component stored in the information processing apparatus is associated with the first resource information indicating the resource of the information processing apparatus used for processing the stream. first storage means for storing Te,
Second storage means for storing second resource information indicating resources of the information processing apparatus necessary for the confirmation process for determining the type of stream;
Determining means for determining whether or not the type of target stream to be processed is specified;
When the type of the target stream is specified, the target stream is processed with the resource indicated by the first resource information stored in the first storage unit in association with the type information indicating the type. First allocating means for allocating as a resource used by the software component;
When the type of the target stream is not designated, the determination process is executed using the resource indicated by the second resource information, and the first stream is associated with the type information indicating the type determined by the determination process. And a second allocation unit that allocates the resource indicated by the first resource information stored in one storage unit as a resource used by a software component that processes the target stream .
本発明の構成によれば、フィルタ処理コンポーネントの新規追加などシステム全体としての機能の増減の実現と、実行中のストリーム処理に破綻を来たさないという要件を満たしながら、リソースを有効に活用することができる。 According to the configuration of the present invention, it is possible to effectively use resources while satisfying the requirement of increasing or decreasing the function of the entire system, such as newly adding a filter processing component, and not causing a failure in stream processing during execution. be able to.
以下、添付図面を参照し、本発明の好適な実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載の構成の具体的な実施例の1つである。 Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. The embodiment described below shows an example when the present invention is specifically implemented, and is one of the specific examples of the configurations described in the claims.
[第1の実施形態]
先ず、本実施形態に係る情報処理装置内におけるソフトウェア構成例について、図1のブロック図を用いて説明する。リソース管理部101は、フィルタ処理コンポーネント(ソフトウェアコンポーネント)1021〜1024から収集した情報に基づいて、実行するストリーム処理に適したリソースの割り当てを行う。リソースの割り当てについては後述する。
[First Embodiment]
First, a software configuration example in the information processing apparatus according to the present embodiment will be described with reference to the block diagram of FIG. The
フィルタ処理コンポーネント1021〜1024は何れも、入力されたデータを変換して出力するプログラム部品であり、適宜組み合わせて用いることで所望の処理を達成するものである。例えば、ストリームが入力された場合には、それぞれのフィルタ処理コンポーネントによって処理を分担することで、このストリームを処理することができる。 Each of the filter processing components 1021 to 1024 is a program part that converts and outputs input data, and achieves a desired process by using it in an appropriate combination. For example, when a stream is input, it is possible to process this stream by sharing the processing among the respective filter processing components.
シーケンス管理部103は、アプリケーション104からストリーム処理の要求を受けると、リソース管理部101にそのストリーム処理に必要なリソースの割り当てを依頼する。そしてこの依頼によりリソース管理部101から割り当て可能(使用可能)である旨を受け取った場合には、シーケンス管理部103は、フィルタ処理コンポーネント1021〜1024のうち必要なフィルタ処理コンポーネントを選択する。そしてシーケンス管理部103は、選択したフィルタ処理コンポーネント間の実行シーケンスの管理を行い、ストリーム処理に適した(リソース管理部101によって割り当てられた)リソースを用いて、ストリーム処理を実行する。
Upon receiving a stream processing request from the
アプリケーション104は、ユーザからの操作などにより実行対象として指定された指定ストリームの種類を特定し、特定した種類を含むストリーム処理要求をシーケンス管理部103に送信する。
The
アプリケーション104、シーケンス管理部103、リソース管理部101、フィルタ処理コンポーネント1021〜1024は何れも、コンピュータプログラムとして情報処理装置が有するメモリ若しくは情報処理装置が管理するメモリ内に格納されている。なお、それぞれは同じメモリに格納されても良いし、異なるメモリに格納しても良い。以下では便宜上、アプリケーション104、シーケンス管理部103、リソース管理部101、フィルタ処理コンポーネント1021〜1024のそれぞれを処理の主体として説明する。しかし実際には、そしてそれぞれのコンピュータプログラムは、情報処理装置が有するCPU199により実行される。
The
フィルタ処理コンポーネント1021〜1024のそれぞれの内部構成について、図2のブロック図を用いて説明する。図2に示すフィルタ処理コンポーネント201には、使用リソース情報保持部2011と個別フィルタ処理実行部2012とが備わっている。
The internal configuration of each of the filter processing components 1021 to 1024 will be described with reference to the block diagram of FIG. The
使用リソース情報保持部2011は、フィルタ処理コンポーネント201が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する情報処理装置のリソースを示すリソース情報と、を保持する。これらの情報についての詳細は後述する。個別フィルタ処理実行部2012は、フィルタ処理コンポーネント201に固有の処理を実行する。
The used resource
次に、図1に示した構成の応用例として、放送ストリームを受信し、受信した放送ストリームを処理し、処理した結果を出力する、という一連の処理を実行する為の構成を、図3に示す。 Next, as an application example of the configuration shown in FIG. 1, a configuration for executing a series of processes of receiving a broadcast stream, processing the received broadcast stream, and outputting the processing result is shown in FIG. Show.
図3において参照番号3021〜3029を付した何れも、フィルタ処理コンポーネントである。チューナ制御フィルタ3021は、放送の電波信号を入力し、この電波信号に対して復調などのデータ変換処理を行うことでトランスポートストリームを生成し、出力する。
In FIG. 3, any
デマルチプレクスフィルタ3022は、トランスポートストリームを入力し、所望のPIDのトランスポートストリームパケットを分離して出力する。放送字幕デコードフィルタ3023は、字幕データを含むトランスポートストリームパケットを入力し、字幕データを抽出してデコードし、文字列データ及び表示位置、表示タイミングなどの表示制御情報を出力する。
The
Videoデコードフィルタ3024は、MPEG等で圧縮された映像データを含むトランスポートストリームパケットを入力してデコード処理を施し、伸張された映像を出力する。
The
Audioデコードフィルタ3025は、MPEG等で圧縮された音声データを含むトランスポートストリームパケットを入力してデコード処理を施し、伸張された音声を出力する。
The
Graphics描画フィルタ3026は、文字列データ及び表示制御情報を入力し、字幕をラスタライズし、ビットマップグラフィクスとして出力する。画質制御フィルタ3027は、映像データを入力して画質を向上する処理など様々な画像加工処理を施し、加工された映像を出力する。音質制御フィルタ3028は、音声データを入力して音質を向上する処理など様々な音声加工処理を施し、加工された音声を出力する。映像ブレンドフィルタ3029は、ビットマップグラフィクスと映像データとを入力し、両者を重畳した映像を出力する。
The
参照番号3021〜3029を付した各フィルタ処理コンポーネントでのデータ変換処理と、破線矢印で示したコンポーネント間のデータ授受により、放送波を入力し、多段の変換処理を施し、最終的に映像、音声として出力するストリーム処理が実現できる。
Broadcast data is input by multi-stage conversion processing by data conversion processing in each filter processing component given
また、図3において、シーケンス管理部303は、放送ストリーム再生アプリケーション304から放送ストリーム処理要求を受けると、リソース管理部101に対して、リソースの割り当てを依頼する。そしてこの依頼によりリソース管理部101から割り当て可能である旨を受け取った場合には、シーケンス管理部303は、各フィルタ処理コンポーネントに対して順番に処理依頼を出し、処理順序を制御する。これにより、割り当てられたリソースを使用して放送ストリーム処理を実現する。
In FIG. 3, upon receiving a broadcast stream processing request from the broadcast
放送ストリーム再生アプリケーション304は、ユーザからの指示により放送を受信する要求(放送ストリーム処理要求)をシーケンス管理部303に対して送信する。リソース管理部101は、各フィルタ処理コンポーネント3021〜3029から収集した情報に基づいて、実行するストリーム処理に適したリソースの割り当てを行う。
The broadcast
また、図1に示した構成の応用例として、放送、1394ストリームの2つストリームを受信し、受信した放送ストリームを処理し、処理した結果を出力する、という一連の処理を実行する為の構成を、図4に示す。 Also, as an application example of the configuration shown in FIG. 1, a configuration for executing a series of processes of receiving two streams of broadcast and 1394 streams, processing the received broadcast streams, and outputting the processed results Is shown in FIG.
図4において参照番号4021〜4030を付した何れも、フィルタ処理コンポーネントである。特に参照番号4021〜4029を付したそれぞれのフィルタ処理コンポーネントは、参照番号3021〜3029を付したそれぞれのフィルタ処理コンポーネントと同様の動作を行う。
In FIG. 4, any
チューナ制御フィルタ4021は、チューニングと復調処理のフィルタ処理を行う。デマルチプレクスフィルタ4022は、トランスポートストリームからパケットを分離するフィルタ処理を行う。
The
放送字幕デコードフィルタ4023は、字幕のデコード処理のフィルタ処理を行う。Videoデコードフィルタ4024は、映像信号のMPEGなどのデコードのフィルタ処理を行う。Audioデコードフィルタ4025は、音声信号のMPEGなどのデコードのフィルタ処理を行う。
The broadcast
Graphics描画フィルタ4026は、文字列等のデータをビットマップグラフィクスに変換するフィルタ処理を行う。画質制御フィルタ4027は、映像データに様々な画像加工処理を施すフィルタ処理を行う。音質制御フィルタ4028は、音声データに様々な音声加工処理を施すフィルタ処理を行う。
The
映像ブレンドフィルタ4029は、ビットマップグラフィクスと映像データを重畳するフィルタ処理を行う。1394入力フィルタ4030は、IEEE1394ポートからの入力を受信してトランスポートストリームを出力するフィルタ処理を行う。
The
図3,4に示した何れのフィルタ処理コンポーネントにも、図2に示した使用リソース情報保持部2011が備わっており、処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用するリソースを示すリソース情報と、を保持する。
Each of the filter processing components shown in FIGS. 3 and 4 includes the use resource
使用リソース情報保持部2011が保持している情報の構成例を説明する為に、図4に示したそれぞれのフィルタ処理コンポーネント(4021〜4030)が有する使用リソース情報保持部2011が保持する情報の構成例を例に取り、図5を用いて説明する。
In order to describe a configuration example of information held by the used resource
図5において参照番号501〜510に示したそれぞれは、それぞれのフィルタ処理コンポーネント(4021〜4030)が保持している情報(使用リソース情報)であり、種類情報とリソース情報とから成る。
Each of
「該当コンポーネントのID」の欄には、対応するフィルタ処理コンポーネントに固有のIDが登録されている。例えば、使用リソース情報501のこの欄には、対応するフィルタ処理コンポーネントであるチューナ制御フィルタ4021に固有のIDである「1」が登録されている。IDは数値に限定するものではない。
In the “ID of corresponding component” column, an ID unique to the corresponding filter processing component is registered. For example, “1” that is an ID unique to the
「対応するストリーム種別」の欄には、対応するフィルタ処理コンポーネントが処理可能なストリームの大まかな種類が登録されている。例えば、使用リソース情報502のこの欄には、デマルチプレクスフィルタ4022が処理可能なストリームの大まかな種類である「放送」と「1394ストリーム」とが登録されている。
In the "corresponding stream type" column, a rough type of stream that can be processed by the corresponding filter processing component is registered. For example, in this column of the used
「詳細種別」の欄には、対応するフィルタ処理コンポーネントが処理可能なストリームのより詳細な種別が登録されている。例えば、使用リソース情報503のこの欄には、放送字幕デコードフィルタ4023が処理可能なストリームのより詳細な種別として「放送」における「字幕あり」と「字幕なし」とが登録されている。
In the “detailed type” column, more detailed types of streams that can be processed by the corresponding filter processing component are registered. For example, in this field of the used
「詳細種別のストリーム処理に必要なりソース」の欄には、対応するフィルタ処理コンポーネントが処理を実行する際に用いるリソースを示す情報が、詳細種別毎に登録されている。例えば、使用リソース情報504において「放送」及び「MPEG2/HD」の組み合わせに対しては、使用するリソースを示す情報として「MPEG2デコーダ、メモリ5M」が登録されている。また、「放送」及び「MPEG2/SD」の組み合わせに対しては、使用するリソースを示す情報として「MPEG2デコーダ、メモリ2M」が登録されている。また、「放送」及び「H.264/HD」の組み合わせに対しては、使用するリソースを示す情報として「H.264デコーダ、メモリ10M」が登録されている。また、「1394ストリーム」及び「MPEG2/HD」の組み合わせに対しては、使用するリソースを示す情報として「MPEG2デコーダ、メモリ5M」が登録されている。また、「1394ストリーム」及び「MPEG2/SD」の組み合わせに対しては、使用するリソースを示す情報として「MPEG2デコーダ、メモリ2M」が登録されている。
In the column “Necessary source for detailed type stream processing”, information indicating resources used when the corresponding filter processing component executes processing is registered for each detailed type. For example, for the combination of “broadcast” and “MPEG2 / HD” in the
即ち、「詳細種別」の欄は、異なる使用リソース毎に設けられており、然るに「詳細種別のストリーム処理に必要なりソース」の欄の登録情報は、「詳細種別」の欄の登録情報毎に設定されている。 In other words, the “detailed type” column is provided for each different resource used. However, the registered information in the “necessary source for stream processing of the detailed type” column is registered for each registered information in the “detailed type” column. Is set.
「詳細種別の確定に必要なリソース」の欄には、「詳細種別」を判定する為に必要なリソースを特定するための情報が、「対応するストリーム種別」毎に登録されている。例えば、使用リソース情報505において「放送」に対しては「メモリ0.5M」が登録されており、「1394ストリーム」に対しても「メモリ0.5」が登録されている。
In the “resource necessary for determining the detailed type” column, information for identifying a resource required for determining the “detailed type” is registered for each “corresponding stream type”. For example, in the used
次に、使用リソース情報501〜504を例に取り、使用リソース情報の構成例について説明する。
Next, a configuration example of the used resource information will be described using the used
使用リソース情報501は上記の通り、チューナ制御フィルタ4021の使用リソース情報保持部2011が保持する情報であり、使用リソース情報501のIDとして「1」を保持している。チューナ制御フィルタ4021は放送ストリームを処理するために使用されるので、「対応するストリーム種別」の欄には「放送」のみが登録されている。また、リソースの異なる詳細種別は存在しないため、「詳細種別」の欄には「全て」が登録されている。更に、チューナ制御フィルタ4021は、放送ストリームを処理するためにはチューナハードウェア(HW)を使用するため、「詳細種別のストリーム処理に必要なリソース」の欄には「チューナHW」が登録されている。さらに、「詳細種別の確定に必要なリソース」にも、同じく「チューナHW」が登録されている。
As described above, the used
使用リソース情報502は上記の通り、デマルチプレクスフィルタ4022の使用リソース情報保持部2011が保持する情報であり、使用リソース情報502のIDとして「2」を保持している。デマルチプレクスフィルタ4022は放送ストリームや1394ストリームを処理するために使用されるので、「対応するストリーム種別」の欄には「放送」、「1394ストリーム」の2つが登録されている。また、リソースの異なる詳細種別は存在しないため、「放送」、「1394ストリーム」のそれぞれに対する「詳細種別」の欄には「全て」が登録されている。更にデマルチプレクスフィルタ4022は、放送ストリームを処理するためにはデマルチプレクサ及びメモリ1Mを使用するため、「放送」に対応する「詳細種別のストリーム処理に必要なリソース」の欄には「デマルチプレクサ、メモリ1M」が登録されている。またデマルチプレクスフィルタ4022は、1394ストリームを処理するためにもデマルチプレクサ及びメモリ1Mを使用する。そのため、「1394ストリーム」に対応する「詳細種別のストリーム処理に必要なリソース」の欄にも「デマルチプレクサ、メモリ1M」が登録されている。さらに、「放送」、「1394ストリーム」のそれぞれに対する「詳細種別の確定に必要なリソース」にも、同じく「デマルチプレクサ、メモリ1M」が登録されている。
As described above, the used
使用リソース情報503は上記の通り、放送字幕デコードフィルタ4023の使用リソース情報保持部2011が保持する情報であり、使用リソース情報503のIDとして「3」を保持している。放送字幕デコードフィルタ4023は放送ストリームを処理するために使用されるので、「対応するストリーム種別」の欄には「放送」のみが登録されている。また、リソースの異なる詳細種別は「字幕あり」と「字幕なし」である。「字幕あり」の場合、放送字幕デコードフィルタ4023は、放送ストリームを処理するためにはメモリ1Mを使用するため、「字幕あり」に対応する「詳細種別のストリーム処理に必要なリソース」の欄には「メモリ1M」が登録されている。また、「字幕なし」の場合、放送字幕デコードフィルタ4023は、放送ストリームを処理するためには何もリソースを使用しないため、「字幕なし」に対応する「詳細種別のストリーム処理に必要なリソース」の欄には「なし」が登録されている。さらに、「放送」に対する「詳細種別の確定に必要なリソース」は、「なし」が登録されている。
As described above, the used
使用リソース情報504は上記の通り、Videoデコードフィルタ4024の使用リソース情報保持部2011が保持する情報であり、使用リソース情報504のIDとして「4」を保持している。Videoデコードフィルタ4024は放送ストリームや1394ストリームを処理するために使用されるので、「対応するストリーム種別」の欄には「放送」、「1394ストリーム」の2つが登録されている。また、リソースの異なる詳細種別は「放送」、「1394ストリーム」のそれぞれについて複数個存在する。「放送」の場合、「MPEG2/HD」、「MPEG2/SD」、「H.264/HD」がリソースの異なる詳細種別として存在し、「1394ストリーム」の場合、「MPEG2/HD」、「MPEG2/SD」がリソースの異なる詳細種別として存在する。「対応するストリーム種別」と「詳細種別」との組み合わせ毎に対応する、使用するリソースを示す情報は上記の通りである。例えばVideoデコードフィルタ4024は、「MPEG2/HD」の放送ストリームを処理するためには、MPEG2デコーダとメモリ5Mとを使用する。また、Videoデコードフィルタ4024は、「MPEG2/SD」の1394ストリームを処理するためには、MPEG2デコーダとメモリ2Mとを使用する。さらに、「放送」、「1394ストリーム」のそれぞれに対する「詳細種別の確定に必要なリソース」には上記の通り「メモリ1M」が登録されている。
As described above, the used
以上説明した、使用リソース情報を構成する各情報については他の使用リソース情報についても同様であるため、説明は省略する。 Since the information constituting the used resource information described above is the same for the other used resource information, the description is omitted.
各フィルタ処理コンポーネントは、図5に例示するような、使用リソース情報保持部2011が保持する情報を、プログラム実行中にリソース管理部101に登録する。例えば、プログラム実行開始後、ストリーム処理を実行する前の初期化段階で、この情報を登録する。
Each filter processing component registers information held by the used resource
リソース管理部101は、各フィルタ処理コンポーネントからこのような情報を受け取ると、種類情報の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報、を管理する。リソース管理部101が管理する情報の構成例を図6に示す。
When such information is received from each filter processing component, the
欄601には、ストリームの大まかな種別が「放送」であり且つ、その詳細な種別が「詳細種別不明」である場合において、フィルタ処理コンポーネント4021〜4030が使用するリソースを示す情報が登録されている。
In the
欄602には、ストリームの大まかな種別が「放送」であり且つ、その詳細な種別が「H.264/HD、字幕あり」である場合において、フィルタ処理コンポーネント4021〜4030が使用するリソースを示す情報が登録されている。
A
欄603から607についても同様に、大まかな種別が「放送」である場合に、更に詳細な種別の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報が登録されている。
Similarly, in the
欄609から613についても同様に、大まかな種別が「1394ストリーム」である場合に、更に詳細な種別の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報が登録されている。
Similarly, in the
欄608には、放送ストリーム処理における、詳細種別を確定するために必要なリソースを示す情報が登録されており、欄614には、1394ストリーム処理における、詳細種別を確定するために必要なリソースを示す情報が登録されている。 In the column 608, information indicating resources necessary for determining the detailed type in the broadcast stream processing is registered, and in the column 614, resources required for determining the detailed type in the 1394 stream processing are registered. The information shown is registered.
リソース管理部101は、図6に示すような、更に詳細な種別の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報、を関連付けたテーブル情報を用いて、適切なリソースの割り当てを行う。
The
次に、リソース管理部101が、シーケンス管理部103からリソースの割り当て要求を受けた場合に行う処理について、同処理のフローチャートを示す図7を用いて説明する。なお、シーケンス管理部103からのリソースの割り当て要求には、ストリームの大まかな種別(ストリーム種別)と更に詳細な種別(詳細種別)とを指定した割り当て要求、ストリームの大まかな種別のみを指定した割り当て要求、の2つがある。リソース管理部101は何れの割り当て要求であっても対処する。更に詳細な種別が不明な場合は大まかな種別のみを指定し、更に詳細な種別が分かっている場合や、更に詳細な種別の確定処理後では、大まかな種別及び更に詳細な種別を指定することが想定される。
Next, processing performed when the
先ずステップS701ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」が、本情報処理装置が対応可能な種別か否かを判断する。この判断の結果、対応可能な種別と判断した場合には、処理はステップS702に進み、対応可能な種別ではないと判断した場合には、処理はステップS712に進む。
First, in step S701, the
図6を例に取ると、この場合、本情報処理装置が対応可能なストリーム種別は、放送ストリーム、1394ストリームとなる。然るに、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」が「放送ストリーム」若しくは「1394ストリーム」の何れかであれば、処理はステップS703に進み、何れでもない場合は、処理はステップS712に進む。
Taking FIG. 6 as an example, in this case, the stream types that can be handled by the information processing apparatus are a broadcast stream and a 1394 stream. However, if the “stream type” included in the allocation request received from the
ステップS712ではリソース管理部101は、リソース割り当てが不可能であった旨を示す情報を、シーケンス管理部103に対して送信する。
In step S <b> 712, the
一方、ステップS702ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に「詳細種別」が含まれているか否かを判断する。この判断の結果、含まれていると判断した場合、処理はステップS703に進み、含まれていないと判断した場合、処理はステップS706に進む。
On the other hand, in step S <b> 702, the
ステップS703ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」を参照し、これに対応するリソースを特定する。そしてリソース管理部101は、この特定したリソースが、現在使用されていない未割り当てのリソースであるか否かを判断することで、ストリーム処理が可能かどうかを判定する。そしてこの判断の結果、この特定したリソースが未割り当てのリソースであると判断した場合には、処理はステップS704に進み、この特定したリソースが未割り当てのリソースではないと判断した場合、処理はステップS712に進む。
In step S <b> 703, the
図6の場合を例に取ると、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」が「MPEG2/HD、字幕なし」であったとする。この場合、対応するリソースは「チューナHW、デマルチプレクサ、MPEG2デコーダ、AACデコーダ、メモリ14M」となり、これらのリソースが現在使用されていない未割り当てのリソースであるか否かを判断する。そして例えば、メモリの空きが12Mしかなかった場合には、必要な14Mのメモリに対して足りないので、リソース割り当て不可能と判断する。
Taking the case of FIG. 6 as an example, it is assumed that the “detailed type” included in the allocation request received from the
ステップS704ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」に対応するリソースを割り当て済みに設定する。そしてステップS705ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」に対応するリソースが割り当て可能である旨をシーケンス管理部103に通知する。即ち、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」に対応するリソースの使用許可をシーケンス管理部103に対して指示する。
In step S <b> 704, the
一方、ステップS706ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における何れの詳細種別でも処理可能なリソースを割り当て可能か否かを判断する。この判断の結果、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における何れの詳細種別でも処理可能なリソースが割り当て可能であると判断した場合、処理はステップS707に進む。一方、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における何れの詳細種別でも処理可能なリソースが割り当て可能ではないと判断した場合、処理はステップS709に進む。
On the other hand, in step S <b> 706, the
図6を例に取ると、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別不明」に対応するリソースが未割り当てで残っているか否かを判断する。この判断の結果、「詳細種別不明」に対応するリソースが未割り当てで残っている場合には処理はステップS707に進み、「詳細種別不明」に対応するリソースが未割り当てで残っていない場合には処理はステップS709に進む。
Taking FIG. 6 as an example, it is determined whether or not resources corresponding to “detail type unknown” in “stream type” included in the allocation request received from the
ステップS707ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別不明」に対応するリソースを割り当て済みに設定する。そしてステップS708ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別不明」に対応するリソースが割り当て可能である旨をシーケンス管理部103に通知する。即ち、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別不明」に対応するリソースの使用許可をシーケンス管理部103に対して指示する。
In step S <b> 707, the
一方、ステップS709ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースが未割り当てで残っているか否かを判断する。この判断の結果、未割り当てで残っている場合には処理はステップS710に進み、未割り当てで残っていない場合には処理はステップS712に進む。
On the other hand, in step S709, the
図6を例に取ると、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」が「放送ストリーム」である場合、「詳細種別確定処理」に対応するリソースは「チューナHW、デマルチプレクサ、メモリ2.5M」となる。然るにこの場合、「チューナHW、デマルチプレクサ、メモリ2.5M」の何れも未割り当てで残っているか否かを判断する。この判断の結果、「チューナHW、デマルチプレクサ、メモリ2.5M」が未割り当てで残っている場合には処理はステップS710に進み、未割り当てで残っていない場合には処理はステップS712に進む。
Taking FIG. 6 as an example, when the “stream type” included in the allocation request received from the
ステップS710ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースを割り当て済みに設定する。そしてステップS711ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースが割り当て可能である旨をシーケンス管理部103に通知する。即ち、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースの使用許可をシーケンス管理部103に対して指示する。
In step S <b> 710, the
以上説明した各処理により、リソース管理部101は、シーケンス管理部103からの割り当て要求に応じて、空きリソースに応じたリソース割り当てを行うことができる。特に、詳細種別が不明の場合に、そのストリームの如何なる詳細種別でも処理可能なリソースが空いている時には、それを割り当て、空いていない場合には、詳細種別確定のためのリソースを割り当てることを特徴とする。
Through the processes described above, the
詳細種別確定のためのリソース割り当てを行ったことをリソース割り当て要求の応答として受け取ったシーケンス管理部103は、配下のフィルタ処理コンポーネントを使用して、詳細種別確定のストリーム処理を実行する。その結果として、詳細種別が判明した時に、再度リソース管理部101に対して、詳細種別を指定したリソース割り当て要求を実行する。このリソース割り当てが成功した場合には、そのストリーム処理が実行可能となる。従来は、詳細種別不明の場合のリソース割り当てに失敗した場合には、そのストリームの処理を諦めていたが、本実施形態では、必要なリソースを確定し、そのストリーム処理を実行できることになる。
The
また、リソース管理部101が適切なリソース割り当てを行うために必要なリソース情報は、フィルタ処理コンポーンネントが保持し、常設部品であるリソース管理部101に登録することにより実行される。よって、システムのリソースを最適に活用する機能を維持しつつ、常設部品であるリソース管理部101の変更をすることなく、ストリーム関連製品の機種毎の機能の増減を容易に実現でき、ソフトウェア規模の削減、開発効率の向上が可能となる。
Further, the resource information necessary for the
[第2の実施形態]
以下では、フィルタ処理コンポーネントが動的に追加、変更され、新規ストリームに対応できるようになる場合の実施形態について説明する。以下では、第1の実施形態と異なる点のみについて説明する。
[Second Embodiment]
In the following, an embodiment will be described in which filtering components are dynamically added and changed to be able to handle new streams. Hereinafter, only points different from the first embodiment will be described.
本実施形態に係る情報処理装置内におけるソフトウェア構成例、各フィルタ処理コンポーネントの内部構成、については何れも第1の実施形態と同様で、図1,2に示したとおりである。 The software configuration example in the information processing apparatus according to the present embodiment and the internal configuration of each filter processing component are the same as those in the first embodiment, as shown in FIGS.
本実施形態では、第1の実施形態で説明した2つのストリームに加えて、新規にIPストリーミング受信に対応する。放送ストリーム、1394ストリームの2つストリームに加えてIPストリーミングを受信し、受信したストリームを処理し、処理した結果を出力する、という一連の処理を実行する為の構成を、図8に示す。 In this embodiment, in addition to the two streams described in the first embodiment, IP streaming reception is newly supported. FIG. 8 shows a configuration for executing a series of processes of receiving IP streaming in addition to two streams of a broadcast stream and a 1394 stream, processing the received stream, and outputting the processed result.
図8において参照番号8021〜8031を付した何れも、フィルタ処理コンポーネントである。なお、以下の説明では、フィルタ処理コンポーネントの追加、変更前では何れのフィルタ処理コンポーネントも、図5に示したような情報群を保持していたものとする。IP入力フィルタ8031は、IP網からの所望のパケット受信し、トランスポートストリームを出力するフィルタ処理を行う。
In FIG. 8, any
図5に示したフィルタ処理コンポーネントのうち、追加、変更されたフィルタ処理コンポーネントが有する使用リソース情報保持部2011が保持する情報の構成例を図9に示す。図9において参照番号901〜907に示したそれぞれは、フィルタ処理コンポーネント(8022,8024,8025,8027〜8029,8031)が保持している情報(使用リソース情報)であり、種類情報とリソース情報とから成る。「対応するストリーム種別」の欄には、IPストリーム受信への対応のため、「IPストリーミング」が追加されている。
A configuration example of information held by the used resource
図9に示した情報を持つフィルタ処理コンポーネント群は、本情報処理装置が新規ストリームに対応するために、新規のフィルタ処理コンポーネントとして、この情報処理装置にダウンロードされる。ダウンロードの方法についてはここでの本質ではないため、詳細は割愛する。例えば、放送電波によるダウンロードや、リムーバブルメモリによるダウンロードなどの方法が考えられる。 The filter processing component group having the information illustrated in FIG. 9 is downloaded to the information processing apparatus as a new filter processing component in order for the information processing apparatus to support a new stream. Since the download method is not essential here, details are omitted. For example, a method such as a download using a broadcast radio wave or a download using a removable memory can be considered.
リソース管理部101は、新規に追加、変更されたフィルタ処理コンポーネントから使用リソース情報を受ける。そして、種類情報の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報、を管理する。リソース管理部101が管理する情報の構成例を図10に示す。
The
図10には、ストリームの大まかな種別が「IPストリーミング」で、その詳細な種別が「詳細種別不明」、「H.264/HD」、「MPEG2/HD」、「詳細種別確定処理」のそれぞれである場合に使用するリソースを示す情報が登録されている。 In FIG. 10, the general type of the stream is “IP streaming”, and the detailed types are “detailed type unknown”, “H.264 / HD”, “MPEG2 / HD”, and “detailed type determination process”. In this case, information indicating resources to be used is registered.
新規ストリームへの対応の為に新規フィルタ処理コンポーネントがダウンロードされた場合、リソース管理部101が図10に示すようなテーブル情報を作成する(詳細種別パターン、リソースパターンを更新する)為に行う処理を図11を用いて説明する。なお、リソース管理部101は、既に図6に示したような、放送ストリーム、1394ストリームのそれぞれに対するテーブル情報は既に保持しているものとする。
When a new filter processing component is downloaded to support a new stream, the
先ずステップS1101ではリソース管理部101は、新規にダウンロードされたフィルタ処理コンポーネントの有無を判断し、新規にダウンロードされたフィルタ処理コンポーネントがある場合には処理はステップS1102に進む。ステップS1102ではリソース管理部101は、新規にダウンロードされたフィルタ処理コンポーネントを選択フィルタ処理コンポーネントとして選択する。
First, in step S1101, the
ステップS1103でリソース管理部101は、選択フィルタ処理コンポーネントから「対応するストリーム種別」、「詳細種別」、「詳細種別のストリーム処理に必要なリソース」、「詳細種別の確定に必要なリソース」、のそれぞれの情報を取得する。
In step S1103, the
ステップS1104ではリソース管理部101は、選択フィルタ処理コンポーネントから取得した「対応するストリーム種別」の情報のうち未選択の情報を1つ選択する。選択フィルタ処理コンポーネントには複数の「対応するストリーム種別」の情報が格納されている場合もあるので、本ステップではそのうち未選択の情報を1つ選択する。
In step S1104, the
ステップS1105ではリソース管理部101は、ステップS1104で選択した情報が新規のストリーム種別を示すものであるのか否かを判断する。この判断の結果、新規のストリーム種別を示すものである場合(ここではIPストリーミング)、ステップS1107に進み、新規のストリーム種別を示すものではない場合(ここでは放送ストリームや1394ストリーム)には、ステップS1111に進む。
In step S1105, the
ステップS1107ではリソース管理部101は、選択フィルタ処理コンポーネントが、ステップS1104で選択した情報に複数の「詳細種別」の情報を関連付けて保持しているか否かを判断する。図9の場合、Videoデコードフィルタ8024を選択フィルタ処理コンポーネントとして選択し、ステップS1104でIPストリーミングを示す情報を選択した場合、この情報にはH.264/HDとMPEG2/HDが関連付けられている。このように、ステップS1104で選択した情報に複数の「詳細種別」の情報を関連付けて保持している場合には処理はステップS1108に進み、保持していない場合には処理はステップS1109に進む。
In step S1107, the
ステップS1108ではリソース管理部101は、これから作成するテーブル情報における、「詳細種別」の情報(種別パターン)を登録するための欄、を図10に示す如く分割し、複数の「詳細種別」の情報のそれぞれに対して1つの欄を設ける。図10では、H.264/HDとMPEG2/HDのそれぞれに対して1つの欄を「詳細種別パターン」の欄として設けている。
In step S1108, the
ステップS1109ではリソース管理部101は、「詳細種別」の情報に関連付けて選択フィルタ処理コンポーネントが保持している「詳細種別のストリーム処理に必要なリソース」の情報を、上記テーブル情報に図10に示す如く登録する。「詳細種別」の情報に関連付けて選択フィルタ処理コンポーネントが保持している「詳細種別のストリーム処理に必要なリソース」の情報は、「詳細種別」の情報について設けた欄に対応する欄に登録する。
In step S1109, the
ステップS1110ではリソース管理部101は、「詳細種別の確定に必要なリソース」の情報を、テーブル情報において該当する欄(詳細種別パターンにおいて詳細種別確定処理の欄)に登録する。
In step S <b> 1110, the
ステップS1111ではリソース管理部101は、ステップS1104で選択フィルタ処理コンポーネントから取得した全ての「対応するストリーム種別」の情報を選択したか否かを判断する。この判断の結果、全ての情報を選択した場合には処理はステップS1101に戻り、未だ未選択の情報が残っている場合には処理はステップS1112に進む。
In step S <b> 1111, the
ステップS1112ではリソース管理部101は、選択フィルタ処理コンポーネントから取得した「対応するストリーム種別」の情報のうち未選択の情報を1つ選択する。そして処理をステップS1105に進め、以降の処理を行う。
In step S <b> 1112, the
以下では、図11に示したフローチャートに従った処理を、図9に示した構成を有する情報を保持するフィルタ処理コンポーネントが追加または更新された場合の具体例を用いて説明する。 In the following, the processing according to the flowchart shown in FIG. 11 will be described using a specific example in the case where a filter processing component holding information having the configuration shown in FIG. 9 is added or updated.
まず、使用リソース情報901を有するデマルチプレクスフィルタ8022がダウンロードされたとし、デマルチプレクスフィルタ8022を選択フィルタ処理コンポーネントとして選択する。そして次に、このデマルチプレクスフィルタ8022から未選択の情報として「放送ストリーム」を選択する。しかし、「放送ストリーム」は新規のストリーム種別ではないため、デマルチプレクスフィルタ8022から未選択の情報として次に「1394ストリーム」を選択する。この「1394ストリーム」についても新規のストリーム種別ではないため、デマルチプレクスフィルタ8022から未選択の情報として次に「IPストリーミング」を選択する。この「IPストリーミング」は新規のストリーム種別であるため、以下ではこのIPストリーミングについて図10に示すようなテーブル情報を作成する。この時、図10の詳細種別不明の行1001と、詳細種別確定処理の行1004が同時に作成される。
First, it is assumed that the
次に、デマルチプレクスフィルタ8022は、「IPストリーミング」については、複数の「詳細種別」の情報を関連付けて保持していないため、「IPストリーミング」については「詳細種別パターン」の欄の分割は行わない。
Next, since the
そして、使用リソース情報901における「詳細種別のストリーム処理に必要なリソース」の情報である「デマルチプレクサ及びメモリ1M」を行1001のリソースパターンの欄に登録する。また、「詳細種別の確定に必要なリソース」の情報である「デマルチプレクサ及びメモリ1M」を行1004のリソースパターンの欄に登録する。
Then, “demultiplexer and memory 1M”, which is information of “resources necessary for stream processing of detailed type” in the used
次に、使用リソース情報902を有するVideoデコードフィルタ8024を選択フィルタ処理コンポーネントとして選択する。そして次に、このVideoデコードフィルタ8024から未選択の情報として「放送ストリーム」を選択するが、「放送ストリーム」は新規のストリーム種別ではない。そのため、Videoデコードフィルタ8024から未選択の情報として次に「1394ストリーム」を選択する。この「1394ストリーム」についても新規のストリーム種別ではないため、Videoデコードフィルタ8024から未選択の情報として次に「IPストリーミング」を選択する。この「IPストリーミング」は新規のストリーム種別であるため、以下ではこの「IPストリーミング」について図10に示すようなテーブル情報に情報を追加登録する。
Next, the
Videoデコードフィルタ8024は、「IPストリーミング」については、複数の「詳細種別」の情報(H.264/HDとMPEG2/HD)を関連付けて保持しているため、「IPストリーミング」については「詳細種別」の欄は2つとする。
The
H.264/HDに対応する欄(行1002におけるリソースパターンの欄)にはH.264デコーダとメモリ10Mを登録し、MPEG2/HDに対応する欄(行1003におけるリソースパターンの欄)にはMPEG2デコーダとメモリ5Mを登録する。既に個別のパターンが存在している場合には、それぞれ分割することになる。 H. In the column corresponding to H.264 / HD (resource pattern column in the row 1002) The H.264 decoder and the memory 10M are registered, and the MPEG2 decoder and the memory 5M are registered in a column corresponding to MPEG2 / HD (resource pattern column in the row 1003). When individual patterns already exist, they are divided.
そして、行1001における詳細種別不明の欄に対応するリソースパターンの欄には、行1002から行1004のそれぞれにおけるリソースパターンの欄に登録されているリソースの和集合を登録する。メモリ量についてはそれぞれの欄に登録されているメモリ量のうち最大のメモリ量を登録する。また、行1004における詳細種別確定処理の欄に対応するリソースパターンの欄には1Mのメモリを追加する。同様に、他のフィルタコンポーネントのリソース情報を追加すると、図10に示したリソース情報を得ることができる。
In the resource pattern column corresponding to the column of unknown detail type in the
以上の説明により、本実施形態によれば、リソース管理部が適切なリソース割り当てを行うために必要なリソース情報は、フィルタ処理コンポーンネントが保持し、動的に登録することができる。よって、システムのリソースを最適に活用する機能を維持しつつ、常設部品であるリソース管理部の変更をすることなく、ストリーム処理機能の追加を容易に実現でき、ソフトウェア規模の削減、開発効率の向上が可能となる。 As described above, according to the present embodiment, the resource information necessary for the resource management unit to perform appropriate resource allocation can be held by the filtering component and dynamically registered. Therefore, it is possible to easily add the stream processing function without changing the resource management unit, which is a permanent component, while maintaining the function to optimally use the system resources, reducing the software scale and improving the development efficiency. Is possible.
システムの機能増減に応じて入れ替え対象となりうるコンポーネントが、詳細種別毎のリソースと詳細種別確定のためのリソース情報とを保持し、常設部品であるリソース管理部に登録することにより、リソース情報を一元管理できる。よって、システムのリソースを最適に活用する機能を維持しつつ、常設部品であるリソース管理部の変更をすることなく、ストリーム関連製品の機種毎の機能の増減を容易に実現でき、ソフトウェア規模の削減、開発効率の向上が可能となる。 Components that can be replaced according to system function increase / decrease hold resources for each detailed type and resource information for determining the detailed type, and register the resource information in the resource management unit, which is a permanent component. Can manage. Therefore, it is possible to easily increase or decrease the functions for each model of stream-related products without changing the resource management unit, which is a permanent component, while maintaining the function to optimally use system resources, and to reduce the software scale Development efficiency can be improved.
(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (12)
前記情報処理装置に格納されているソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、を関連づけて格納する第1の格納手段と、
ストリームの種類を確定するための確定処理に必要な前記情報処理装置のリソースを示す第2のリソース情報を格納する第2の格納手段と、
処理対象とする対象ストリームの種類が指定されているか否かを判断する判断手段と、
前記対象ストリームの種類が指定されている場合には、該種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる第1の割り当て手段と、
前記対象ストリームの種類が指定されていない場合には、前記第2のリソース情報が示すリソースを使用して前記確定処理を実行し、該確定処理によって確定した種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる第2の割り当て手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus,
The type information indicating the type of stream that can be processed by the software component stored in the information processing apparatus is associated with the first resource information indicating the resource of the information processing apparatus used for processing the stream. first storage means for storing Te,
Second storage means for storing second resource information indicating resources of the information processing apparatus necessary for the confirmation process for determining the type of stream;
Determining means for determining whether or not the type of target stream to be processed is specified;
When the type of the target stream is specified, the target stream is processed with the resource indicated by the first resource information stored in the first storage unit in association with the type information indicating the type. First allocating means for allocating as a resource used by the software component;
When the type of the target stream is not designated, the determination process is executed using the resource indicated by the second resource information, and the first stream is associated with the type information indicating the type determined by the determination process. An information processing apparatus comprising: a second allocation unit that allocates a resource indicated by first resource information stored in one storage unit as a resource used by a software component that processes the target stream .
それぞれのソフトウェア部品から、該ソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、該ソフトウェア部品が該ストリームの種類を確定するために必要な前記情報処理装置のリソースを示す第2のリソース情報と、を収集し、該収集した種類情報及び第1のリソース情報を前記第1の格納手段に登録すると共に、該収集した第2のリソース情報を前記第2の格納手段に登録する登録手段を備えることを特徴とする請求項1に記載の情報処理装置。 Furthermore,
From each software component, the type information indicating the type of stream that can be processed by the software component, the first resource information indicating the resource of the information processing apparatus used to process the stream, and the software component Second resource information indicating resources of the information processing apparatus necessary for determining the type of the stream, and registering the collected type information and first resource information in the first storage unit The information processing apparatus according to claim 1, further comprising a registration unit that registers the collected second resource information in the second storage unit .
前記第1の割り当て手段又は前記第2の割り当て手段によって割り当てられたリソースの使用許可を、前記対象ストリームを実行する実行部に通知する通知手段を備えることを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。4. The information processing apparatus according to claim 1, further comprising a notification unit that notifies the execution unit that executes the target stream of permission to use the resource allocated by the first allocation unit or the second allocation unit. The information processing apparatus according to claim 1.
前記情報処理装置の判断手段が、処理対象とする対象ストリームの種類が指定されているか否かを判断する判断工程と、
前記情報処理装置の第1の割り当て手段が、前記対象ストリームの種類が指定されている場合には、該種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる第1の割り当て工程と、
前記情報処理装置の第2の割り当て手段が、前記対象ストリームの種類が指定されていない場合には、前記第2のリソース情報が示すリソースを使用して前記確定処理を実行し、該確定処理によって確定した種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる第2の割り当て工程と
を備えることを特徴とする情報処理方法。 In association with the type information indicating the type of software components that can handle the stream stored in the information processing apparatus, and a first resource information indicating a resource of the information processing apparatus used for processing the stream the information processing having a first storage means for storing a second storage means for storing the second resource information indicating a resource of the information processing apparatus required for determination processing for determining the type of stream, the An information processing method performed by a device,
A determination step in which the determination unit of the information processing apparatus determines whether or not the type of the target stream to be processed is specified;
When the first allocation unit of the information processing apparatus designates the type of the target stream, the first resource stored in the first storage unit in association with the type information indicating the type A first allocation step of allocating a resource indicated by information as a resource used by a software component that processes the target stream;
If the type of the target stream is not designated, the second allocating unit of the information processing apparatus executes the determination process using the resource indicated by the second resource information, and the determination process A second allocation step of allocating the resource indicated by the first resource information stored in the first storage unit in association with the type information indicating the determined type as a resource used by the software component that processes the target stream an information processing method characterized in that it comprises and.
それぞれのソフトウェア部品から、該ソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、該ソフトウェア部品が該ストリームの種類を確定するために必要な前記情報処理装置のリソースを示す第2のリソース情報と、を収集し、該収集した種類情報及び第1のリソース情報を前記第1の格納手段に登録すると共に、該収集した第2のリソース情報を前記第2の格納手段に登録する登録工程を備えることを特徴とする請求項5に記載の情報処理方法。From each software component, the type information indicating the type of stream that can be processed by the software component, the first resource information indicating the resource of the information processing apparatus used to process the stream, and the software component Second resource information indicating resources of the information processing apparatus necessary for determining the type of the stream, and registering the collected type information and first resource information in the first storage unit The information processing method according to claim 5, further comprising a registration step of registering the collected second resource information in the second storage unit.
前記情報処理装置に格納されているソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、を関連づけて格納する第1の格納手段と、The type information indicating the type of stream that can be processed by the software component stored in the information processing apparatus is associated with the first resource information indicating the resource of the information processing apparatus used for processing the stream. First storage means for storing
ストリームの種類を確定するための確定処理に必要な前記情報処理装置のリソースを示す第2のリソース情報を格納する第2の格納手段と、Second storage means for storing second resource information indicating resources of the information processing apparatus necessary for the confirmation process for determining the type of stream;
処理対象とする対象ストリームの種類が指定されているか否かを判断する判断手段と、Determining means for determining whether or not the type of target stream to be processed is specified;
前記対象ストリームの種類が指定されていない場合には、前記第2のリソース情報が示すリソースを使用して前記確定処理を実行し、該確定処理によって確定した種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる割り当て手段とWhen the type of the target stream is not designated, the determination process is executed using the resource indicated by the second resource information, and the first stream is associated with the type information indicating the type determined by the determination process. Allocating means for allocating the resource indicated by the first resource information stored in one storage means as a resource used by a software component that processes the target stream;
を備えることを特徴とする情報処理装置。An information processing apparatus comprising:
それぞれのソフトウェア部品から、該ソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、該ソフトウェア部品が該ストリームの種類を確定するために必要な前記情報処理装置のリソースを示す第2のリソース情報と、を収集し、該収集した種類情報及び第1のリソース情報を前記第1の格納手段に登録すると共に、該収集した第2のリソース情報を前記第2の格納手段に登録する登録手段を備えることを特徴とする請求項8に記載の情報処理装置。From each software component, the type information indicating the type of stream that can be processed by the software component, the first resource information indicating the resource of the information processing apparatus used to process the stream, and the software component Second resource information indicating resources of the information processing apparatus necessary for determining the type of the stream, and registering the collected type information and first resource information in the first storage unit The information processing apparatus according to claim 8, further comprising registration means for registering the collected second resource information in the second storage means.
前記情報処理装置の判断手段が、処理対象とする対象ストリームの種類が指定されているか否かを判断する判断工程と、A determination step in which the determination unit of the information processing apparatus determines whether or not the type of the target stream to be processed is specified;
前記情報処理装置の割り当て手段が、前記対象ストリームの種類が指定されていない場合には、前記第2のリソース情報が示すリソースを使用して前記確定処理を実行し、該確定処理によって確定した種類を示す種類情報と関連づけて前記第1の格納手段に格納されている第1のリソース情報が示すリソースを、該対象ストリームを処理するソフトウェア部品が使用するリソースとして割り当てる割り当て工程とIf the type of the target stream is not specified, the allocation unit of the information processing apparatus executes the determination process using the resource indicated by the second resource information, and the type determined by the determination process An allocation step of allocating the resource indicated by the first resource information stored in the first storage means in association with the type information indicating as a resource used by the software component that processes the target stream;
を備えることを特徴とする情報処理方法。An information processing method comprising:
それぞれのソフトウェア部品から、該ソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、該ソフトウェア部品が該ストリームの種類を確定するために必要な前記情報処理装置のリソースを示す第2のリソース情報と、を収集し、該収集した種類情報及び第1のリソース情報を前記第1の格納手段に登録すると共に、該収集した第2のリソース情報を前記第2の格納手段に登録する登録工程を備えることを特徴とする請求項10に記載の情報処理方法。From each software component, the type information indicating the type of stream that can be processed by the software component, the first resource information indicating the resource of the information processing apparatus used to process the stream, and the software component Second resource information indicating resources of the information processing apparatus necessary for determining the type of the stream, and registering the collected type information and first resource information in the first storage unit The information processing method according to claim 10, further comprising a registration step of registering the collected second resource information in the second storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011085650A JP5744605B2 (en) | 2011-04-07 | 2011-04-07 | Information processing apparatus and information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011085650A JP5744605B2 (en) | 2011-04-07 | 2011-04-07 | Information processing apparatus and information processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012221172A JP2012221172A (en) | 2012-11-12 |
JP5744605B2 true JP5744605B2 (en) | 2015-07-08 |
Family
ID=47272621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011085650A Expired - Fee Related JP5744605B2 (en) | 2011-04-07 | 2011-04-07 | Information processing apparatus and information processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5744605B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5870036A (en) * | 1995-02-24 | 1999-02-09 | International Business Machines Corporation | Adaptive multiple dictionary data compression |
JP2002358183A (en) * | 2001-05-31 | 2002-12-13 | Canon Inc | Printing controller and printing control method and storage medium |
JP4251278B2 (en) * | 2003-07-15 | 2009-04-08 | ソニー株式会社 | Information processing device |
-
2011
- 2011-04-07 JP JP2011085650A patent/JP5744605B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012221172A (en) | 2012-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20080006441A (en) | Apparatus and method for transmitting media data and apparatus and method for receiving media data | |
JP2003298661A (en) | Stream data processing equipment, method therefor, program and medium | |
JP2012518328A (en) | Resource management method for media content display | |
US20100166081A1 (en) | Video stream processing apparatus and control method, program and recording medium for the same | |
WO2017092333A1 (en) | Method and device for generation and playback of video | |
JP4878487B2 (en) | Information distribution apparatus, information distribution system, information processing method, and program | |
JP4402005B2 (en) | Receiver | |
US9872073B2 (en) | Method and apparatus for processing requests for recording content | |
JP5744605B2 (en) | Information processing apparatus and information processing method | |
JP5506250B2 (en) | Stream decoding apparatus and stream decoding method | |
EP2400743A2 (en) | Broadcast receiving apparatus and memory managing method thereof | |
US20060280484A1 (en) | Recording/playback apparatus and recording/playback method | |
JP5654414B2 (en) | Video encoding apparatus, video encoding method, and program | |
JP5856453B2 (en) | Information processing apparatus, control method therefor, and program | |
EP1986437B1 (en) | Apparatus and method for upconverting content data | |
JP4285307B2 (en) | Data processing apparatus and method | |
JP2006060270A (en) | Receiver, receiving method and program | |
CN108491272B (en) | Resource control method and device and terminal equipment | |
JP5268907B2 (en) | Method and apparatus for updating decoder configuration | |
KR20100069220A (en) | Video processing apparatus for processing the plurality of multimedia, video processing method applying the same, recording medium, and display apparatus | |
CN113365116B (en) | Audio and video resource management method and device | |
JP4947198B2 (en) | Information reproducing apparatus and information reproducing method | |
JP3880580B2 (en) | Digital signal receiving apparatus, digital signal processing apparatus, and program recording medium | |
EP2627099A1 (en) | Method and apparatus for descrambling multi program transport streams | |
JP2005347807A (en) | Electronic apparatus and data processing method executed by the electronic apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140407 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141205 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141215 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150213 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150406 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150430 |
|
LAPS | Cancellation because of no payment of annual fees |