JP5744605B2 - Information processing apparatus and information processing method - Google Patents

Information processing apparatus and information processing method Download PDF

Info

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
Application number
JP2011085650A
Other languages
Japanese (ja)
Other versions
JP2012221172A (en
Inventor
孝知 川合
孝知 川合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011085650A priority Critical patent/JP5744605B2/en
Publication of JP2012221172A publication Critical patent/JP2012221172A/en
Application granted granted Critical
Publication of JP5744605B2 publication Critical patent/JP5744605B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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).

特開2005−38198号公報JP 2005-38198 A

ソフトウェアアーキテクチャ、近代科学社、2000年、p52Software Architecture, Modern Science, 2000, p52

放送受信機能や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.

情報処理装置内におけるソフトウェア構成例を示すブロック図。FIG. 3 is a block diagram illustrating an example of a software configuration in the information processing apparatus. フィルタ処理コンポーネント1021〜1024のそれぞれの内部構成を示す図。The figure which shows each internal structure of the filter processing components 1021-1024. 放送ストリームに対する一連の処理を実行する為の構成を示す図。The figure which shows the structure for performing a series of processes with respect to a broadcast stream. 放送、1394ストリームに対する一連の処理を実行する為の構成を示す図。The figure which shows the structure for performing a series of processes with respect to a broadcast and a 1394 stream. 使用リソース情報の構成例を示す図。The figure which shows the structural example of use resource information. リソース管理部101が管理する情報の構成例を示す図。The figure which shows the structural example of the information which the resource management part 101 manages. リソース管理部101が行う処理のフローチャート。The flowchart of the process which the resource management part 101 performs. 3つのストリームに対する一連の処理を実行する為の構成を示す図。The figure which shows the structure for performing a series of processes with respect to three streams. 使用リソース情報の構成例を示す図。The figure which shows the structural example of use resource information. リソース管理部101が管理する情報の構成例を示す図。The figure which shows the structural example of the information which the resource management part 101 manages. リソース管理部101が行う処理のフローチャート。The flowchart of the process which the resource management part 101 performs.

以下、添付図面を参照し、本発明の好適な実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載の構成の具体的な実施例の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 resource management unit 101 allocates resources suitable for the stream processing to be executed based on information collected from the filter processing components (software components) 1021 to 1024. Resource allocation will be described later.

フィルタ処理コンポーネント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 application 104, the sequence management unit 103 requests the resource management unit 101 to allocate resources necessary for the stream processing. When the request is received from the resource management unit 101 that assignment is possible (usable), the sequence management unit 103 selects a necessary filter processing component from the filter processing components 1021 to 1024. Then, the sequence management unit 103 manages the execution sequence between the selected filter processing components, and executes the stream processing using resources suitable for the stream processing (assigned by the resource management unit 101).

アプリケーション104は、ユーザからの操作などにより実行対象として指定された指定ストリームの種類を特定し、特定した種類を含むストリーム処理要求をシーケンス管理部103に送信する。   The application 104 identifies the type of the designated stream designated as the execution target by a user operation or the like, and transmits a stream processing request including the identified type to the sequence management unit 103.

アプリケーション104、シーケンス管理部103、リソース管理部101、フィルタ処理コンポーネント1021〜1024は何れも、コンピュータプログラムとして情報処理装置が有するメモリ若しくは情報処理装置が管理するメモリ内に格納されている。なお、それぞれは同じメモリに格納されても良いし、異なるメモリに格納しても良い。以下では便宜上、アプリケーション104、シーケンス管理部103、リソース管理部101、フィルタ処理コンポーネント1021〜1024のそれぞれを処理の主体として説明する。しかし実際には、そしてそれぞれのコンピュータプログラムは、情報処理装置が有するCPU199により実行される。   The application 104, the sequence management unit 103, the resource management unit 101, and the filter processing components 1021 to 1024 are all stored as a computer program in a memory included in the information processing apparatus or a memory managed by the information processing apparatus. Each may be stored in the same memory or in different memories. Hereinafter, for convenience, the application 104, the sequence management unit 103, the resource management unit 101, and the filter processing components 1021 to 1024 will be described as processing subjects. However, actually, each computer program is executed by the CPU 199 included in the information processing apparatus.

フィルタ処理コンポーネント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 filter processing component 201 illustrated in FIG. 2 includes a use resource information holding unit 2011 and an individual filter processing execution unit 2012.

使用リソース情報保持部2011は、フィルタ処理コンポーネント201が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する情報処理装置のリソースを示すリソース情報と、を保持する。これらの情報についての詳細は後述する。個別フィルタ処理実行部2012は、フィルタ処理コンポーネント201に固有の処理を実行する。   The used resource information holding unit 2011 holds type information indicating the type of stream that can be processed by the filter processing component 201, and resource information indicating the resource of the information processing apparatus used to process the stream. Details of these pieces of information will be described later. The individual filter processing execution unit 2012 executes processing unique to the filter processing component 201.

次に、図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 reference numerals 3021 to 3029 are filter processing components. The tuner control filter 3021 receives a broadcast radio signal, generates a transport stream by performing data conversion processing such as demodulation on the radio signal, and outputs the transport stream.

デマルチプレクスフィルタ3022は、トランスポートストリームを入力し、所望のPIDのトランスポートストリームパケットを分離して出力する。放送字幕デコードフィルタ3023は、字幕データを含むトランスポートストリームパケットを入力し、字幕データを抽出してデコードし、文字列データ及び表示位置、表示タイミングなどの表示制御情報を出力する。   The demultiplex filter 3022 receives a transport stream, separates and outputs a transport stream packet having a desired PID. The broadcast caption decoding filter 3023 receives transport stream packets including caption data, extracts and decodes caption data, and outputs display control information such as character string data, display position, and display timing.

Videoデコードフィルタ3024は、MPEG等で圧縮された映像データを含むトランスポートストリームパケットを入力してデコード処理を施し、伸張された映像を出力する。   The video decode filter 3024 receives a transport stream packet including video data compressed by MPEG or the like, performs decoding processing, and outputs a decompressed video.

Audioデコードフィルタ3025は、MPEG等で圧縮された音声データを含むトランスポートストリームパケットを入力してデコード処理を施し、伸張された音声を出力する。   The audio decoding filter 3025 receives a transport stream packet including audio data compressed by MPEG or the like, performs decoding processing, and outputs decompressed audio.

Graphics描画フィルタ3026は、文字列データ及び表示制御情報を入力し、字幕をラスタライズし、ビットマップグラフィクスとして出力する。画質制御フィルタ3027は、映像データを入力して画質を向上する処理など様々な画像加工処理を施し、加工された映像を出力する。音質制御フィルタ3028は、音声データを入力して音質を向上する処理など様々な音声加工処理を施し、加工された音声を出力する。映像ブレンドフィルタ3029は、ビットマップグラフィクスと映像データとを入力し、両者を重畳した映像を出力する。   The Graphics drawing filter 3026 receives character string data and display control information, rasterizes the caption, and outputs it as bitmap graphics. The image quality control filter 3027 performs various image processing processes such as a process for inputting video data and improving the image quality, and outputs the processed video. The sound quality control filter 3028 performs various sound processing processes such as a process of inputting sound data to improve sound quality, and outputs the processed sound. The video blend filter 3029 receives bitmap graphics and video data and outputs a video in which both are superimposed.

参照番号3021〜3029を付した各フィルタ処理コンポーネントでのデータ変換処理と、破線矢印で示したコンポーネント間のデータ授受により、放送波を入力し、多段の変換処理を施し、最終的に映像、音声として出力するストリーム処理が実現できる。   Broadcast data is input by multi-stage conversion processing by data conversion processing in each filter processing component given reference numbers 3021 to 3029 and data exchange between components indicated by broken-line arrows, and finally video, audio Can be realized.

また、図3において、シーケンス管理部303は、放送ストリーム再生アプリケーション304から放送ストリーム処理要求を受けると、リソース管理部101に対して、リソースの割り当てを依頼する。そしてこの依頼によりリソース管理部101から割り当て可能である旨を受け取った場合には、シーケンス管理部303は、各フィルタ処理コンポーネントに対して順番に処理依頼を出し、処理順序を制御する。これにより、割り当てられたリソースを使用して放送ストリーム処理を実現する。   In FIG. 3, upon receiving a broadcast stream processing request from the broadcast stream playback application 304, the sequence management unit 303 requests the resource management unit 101 to allocate resources. When the request is received from the resource management unit 101 by this request, the sequence management unit 303 issues a processing request to each filter processing component in order and controls the processing order. Thus, broadcast stream processing is realized using the allocated resources.

放送ストリーム再生アプリケーション304は、ユーザからの指示により放送を受信する要求(放送ストリーム処理要求)をシーケンス管理部303に対して送信する。リソース管理部101は、各フィルタ処理コンポーネント3021〜3029から収集した情報に基づいて、実行するストリーム処理に適したリソースの割り当てを行う。   The broadcast stream reproduction application 304 transmits a request for receiving a broadcast (broadcast stream processing request) to the sequence management unit 303 in accordance with an instruction from the user. The resource management unit 101 allocates resources suitable for the stream processing to be executed based on the information collected from the filter processing components 3021 to 3029.

また、図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 reference numerals 4021 to 4030 are filter processing components. In particular, the respective filter processing components denoted by reference numerals 4021 to 4029 perform the same operations as the respective filter processing components denoted by reference numerals 3021 to 3029.

チューナ制御フィルタ4021は、チューニングと復調処理のフィルタ処理を行う。デマルチプレクスフィルタ4022は、トランスポートストリームからパケットを分離するフィルタ処理を行う。   The tuner control filter 4021 performs filter processing of tuning and demodulation processing. The demultiplex filter 4022 performs filter processing for separating packets from the transport stream.

放送字幕デコードフィルタ4023は、字幕のデコード処理のフィルタ処理を行う。Videoデコードフィルタ4024は、映像信号のMPEGなどのデコードのフィルタ処理を行う。Audioデコードフィルタ4025は、音声信号のMPEGなどのデコードのフィルタ処理を行う。   The broadcast caption decoding filter 4023 performs filtering processing for caption decoding processing. The video decode filter 4024 performs decoding filter processing such as MPEG of a video signal. The audio decoding filter 4025 performs decoding filtering processing such as MPEG of the audio signal.

Graphics描画フィルタ4026は、文字列等のデータをビットマップグラフィクスに変換するフィルタ処理を行う。画質制御フィルタ4027は、映像データに様々な画像加工処理を施すフィルタ処理を行う。音質制御フィルタ4028は、音声データに様々な音声加工処理を施すフィルタ処理を行う。   The Graphics drawing filter 4026 performs a filter process for converting data such as a character string into bitmap graphics. The image quality control filter 4027 performs filter processing for performing various image processing processes on the video data. The sound quality control filter 4028 performs filter processing that performs various sound processing processes on the sound data.

映像ブレンドフィルタ4029は、ビットマップグラフィクスと映像データを重畳するフィルタ処理を行う。1394入力フィルタ4030は、IEEE1394ポートからの入力を受信してトランスポートストリームを出力するフィルタ処理を行う。   The video blend filter 4029 performs a filter process for superimposing bitmap graphics and video data. The 1394 input filter 4030 performs a filter process for receiving an input from the IEEE 1394 port and outputting a transport stream.

図3,4に示した何れのフィルタ処理コンポーネントにも、図2に示した使用リソース情報保持部2011が備わっており、処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用するリソースを示すリソース情報と、を保持する。   Each of the filter processing components shown in FIGS. 3 and 4 includes the use resource information holding unit 2011 shown in FIG. 2, in order to process type information indicating the type of stream that can be processed and the stream. And resource information indicating resources to be used.

使用リソース情報保持部2011が保持している情報の構成例を説明する為に、図4に示したそれぞれのフィルタ処理コンポーネント(4021〜4030)が有する使用リソース情報保持部2011が保持する情報の構成例を例に取り、図5を用いて説明する。   In order to describe a configuration example of information held by the used resource information holding unit 2011, a configuration of information held by the used resource information holding unit 2011 included in each filter processing component (4021 to 4030) illustrated in FIG. An example will be described with reference to FIG.

図5において参照番号501〜510に示したそれぞれは、それぞれのフィルタ処理コンポーネント(4021〜4030)が保持している情報(使用リソース情報)であり、種類情報とリソース情報とから成る。   Each of reference numerals 501 to 510 shown in FIG. 5 is information (used resource information) held by each filter processing component (4021 to 4030), and includes type information and resource information.

「該当コンポーネントの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 tuner control filter 4021 that is the corresponding filter processing component is registered in this field of the used resource information 501. The ID is not limited to a numerical value.

「対応するストリーム種別」の欄には、対応するフィルタ処理コンポーネントが処理可能なストリームの大まかな種類が登録されている。例えば、使用リソース情報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 resource information 502, “broadcast” and “1394 stream”, which are rough types of streams that can be processed by the demultiplex filter 4022, are registered.

「詳細種別」の欄には、対応するフィルタ処理コンポーネントが処理可能なストリームのより詳細な種別が登録されている。例えば、使用リソース情報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 resource information 503, “with caption” and “without caption” in “broadcast” are registered as more detailed types of streams that can be processed by the broadcast caption decoding filter 4023.

「詳細種別のストリーム処理に必要なりソース」の欄には、対応するフィルタ処理コンポーネントが処理を実行する際に用いるリソースを示す情報が、詳細種別毎に登録されている。例えば、使用リソース情報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 use resource information 504, “MPEG2 decoder, memory 5M” is registered as information indicating the resource to be used. For the combination of “broadcast” and “MPEG2 / SD”, “MPEG2 decoder, memory 2M” is registered as information indicating the resource to be used. For the combination of “broadcast” and “H.264 / HD”, “H.264 decoder, memory 10M” is registered as information indicating the resource to be used. For the combination of “1394 stream” and “MPEG2 / HD”, “MPEG2 decoder, memory 5M” is registered as information indicating the resource to be used. For the combination of “1394 stream” and “MPEG2 / SD”, “MPEG2 decoder, memory 2M” is registered as information indicating the resource to be used.

即ち、「詳細種別」の欄は、異なる使用リソース毎に設けられており、然るに「詳細種別のストリーム処理に必要なりソース」の欄の登録情報は、「詳細種別」の欄の登録情報毎に設定されている。   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 resource information 505, “memory 0.5M” is registered for “broadcast”, and “memory 0.5” is also registered for “1394 stream”.

次に、使用リソース情報501〜504を例に取り、使用リソース情報の構成例について説明する。   Next, a configuration example of the used resource information will be described using the used resource information 501 to 504 as an example.

使用リソース情報501は上記の通り、チューナ制御フィルタ4021の使用リソース情報保持部2011が保持する情報であり、使用リソース情報501のIDとして「1」を保持している。チューナ制御フィルタ4021は放送ストリームを処理するために使用されるので、「対応するストリーム種別」の欄には「放送」のみが登録されている。また、リソースの異なる詳細種別は存在しないため、「詳細種別」の欄には「全て」が登録されている。更に、チューナ制御フィルタ4021は、放送ストリームを処理するためにはチューナハードウェア(HW)を使用するため、「詳細種別のストリーム処理に必要なリソース」の欄には「チューナHW」が登録されている。さらに、「詳細種別の確定に必要なリソース」にも、同じく「チューナHW」が登録されている。   As described above, the used resource information 501 is information held by the used resource information holding unit 2011 of the tuner control filter 4021 and holds “1” as the ID of the used resource information 501. Since the tuner control filter 4021 is used to process a broadcast stream, only “broadcast” is registered in the “corresponding stream type” column. In addition, since there are no different detailed types of resources, “all” is registered in the “detailed type” column. Furthermore, since the tuner control filter 4021 uses tuner hardware (HW) to process the broadcast stream, “tuner HW” is registered in the “resource required for detailed type stream processing” column. Yes. Further, “tuner HW” is also registered in “resources necessary for determining the detailed type”.

使用リソース情報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 resource information 502 is information held by the used resource information holding unit 2011 of the demultiplex filter 4022 and holds “2” as the ID of the used resource information 502. Since the demultiplex filter 4022 is used for processing broadcast streams and 1394 streams, two fields of “broadcast” and “1394 stream” are registered in the “corresponding stream type” column. Further, since there are no detailed types with different resources, “all” is registered in the “detailed type” column for “broadcast” and “1394 stream”. Further, since the demultiplex filter 4022 uses the demultiplexer and the memory 1M in order to process the broadcast stream, the “demultiplexer” in the “resources required for detailed type stream processing” column corresponding to “broadcast” is displayed. , Memory 1M ”is registered. The demultiplex filter 4022 also uses the demultiplexer and the memory 1M to process the 1394 stream. For this reason, “demultiplexer, memory 1M” is also registered in the “resources necessary for stream processing of detailed type” corresponding to “1394 stream”. Further, “demultiplexer, memory 1M” is also registered in “resources necessary for determining the detailed type” for each of “broadcast” and “1394 stream”.

使用リソース情報503は上記の通り、放送字幕デコードフィルタ4023の使用リソース情報保持部2011が保持する情報であり、使用リソース情報503のIDとして「3」を保持している。放送字幕デコードフィルタ4023は放送ストリームを処理するために使用されるので、「対応するストリーム種別」の欄には「放送」のみが登録されている。また、リソースの異なる詳細種別は「字幕あり」と「字幕なし」である。「字幕あり」の場合、放送字幕デコードフィルタ4023は、放送ストリームを処理するためにはメモリ1Mを使用するため、「字幕あり」に対応する「詳細種別のストリーム処理に必要なリソース」の欄には「メモリ1M」が登録されている。また、「字幕なし」の場合、放送字幕デコードフィルタ4023は、放送ストリームを処理するためには何もリソースを使用しないため、「字幕なし」に対応する「詳細種別のストリーム処理に必要なリソース」の欄には「なし」が登録されている。さらに、「放送」に対する「詳細種別の確定に必要なリソース」は、「なし」が登録されている。   As described above, the used resource information 503 is information held by the used resource information holding unit 2011 of the broadcast subtitle decoding filter 4023, and holds “3” as the ID of the used resource information 503. Since the broadcast subtitle decoding filter 4023 is used to process a broadcast stream, only “broadcast” is registered in the “corresponding stream type” column. Further, different detailed types of resources are “with caption” and “without caption”. In the case of “with subtitles”, the broadcast subtitle decoding filter 4023 uses the memory 1M to process the broadcast stream, and therefore, in the “resources required for detailed type stream processing” column corresponding to “with subtitles”. “Memory 1M” is registered. In the case of “no subtitles”, the broadcast subtitle decoding filter 4023 uses no resources for processing the broadcast stream, and therefore “resources necessary for detailed type stream processing” corresponding to “no subtitles”. “None” is registered in the column of. Furthermore, “None” is registered in “Resources required for determining the detailed type” for “Broadcast”.

使用リソース情報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 resource information 504 is information held by the used resource information holding unit 2011 of the Video decode filter 4024 and holds “4” as the ID of the used resource information 504. Since the Video decode filter 4024 is used to process a broadcast stream or a 1394 stream, “Broadcast” and “1394 stream” are registered in the “corresponding stream type” column. Also, there are a plurality of detailed types with different resources for each of “broadcast” and “1394 stream”. In the case of “broadcast”, “MPEG2 / HD”, “MPEG2 / SD”, and “H.264 / HD” exist as detailed types with different resources, and in the case of “1394 stream”, “MPEG2 / HD”, “MPEG2 / SD "exists as a different detailed type of resource. The information indicating the resource to be used corresponding to each combination of “corresponding stream type” and “detailed type” is as described above. For example, the Video decode filter 4024 uses an MPEG2 decoder and a memory 5M in order to process an “MPEG2 / HD” broadcast stream. The Video decode filter 4024 uses an MPEG2 decoder and a memory 2M in order to process the “MPEG2 / SD” 1394 stream. Further, as described above, “memory 1M” is registered in “resources necessary for determining the detailed type” for each of “broadcast” and “1394 stream”.

以上説明した、使用リソース情報を構成する各情報については他の使用リソース情報についても同様であるため、説明は省略する。   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 information holding unit 2011 as illustrated in FIG. 5 in the resource management unit 101 during program execution. For example, this information is registered in an initialization stage after the program execution is started and before the stream processing is executed.

リソース管理部101は、各フィルタ処理コンポーネントからこのような情報を受け取ると、種類情報の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報、を管理する。リソース管理部101が管理する情報の構成例を図6に示す。   When such information is received from each filter processing component, the resource management unit 101 manages, for each combination of type information, resource information held by the filter processing component that holds type information included in the combination. A configuration example of information managed by the resource management unit 101 is shown in FIG.

欄601には、ストリームの大まかな種別が「放送」であり且つ、その詳細な種別が「詳細種別不明」である場合において、フィルタ処理コンポーネント4021〜4030が使用するリソースを示す情報が登録されている。   In the column 601, information indicating resources used by the filter processing components 4021 to 4030 is registered when the rough type of the stream is “broadcast” and the detailed type is “unknown detailed type”. Yes.

欄602には、ストリームの大まかな種別が「放送」であり且つ、その詳細な種別が「H.264/HD、字幕あり」である場合において、フィルタ処理コンポーネント4021〜4030が使用するリソースを示す情報が登録されている。   A column 602 indicates resources used by the filter processing components 4021 to 4030 when the general type of the stream is “broadcast” and the detailed type is “H.264 / HD, with subtitles”. Information is registered.

欄603から607についても同様に、大まかな種別が「放送」である場合に、更に詳細な種別の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報が登録されている。   Similarly, in the fields 603 to 607, when the rough type is “broadcast”, the resource information held by the filter processing component holding the type information included in the combination is registered for each more detailed type combination. Has been.

欄609から613についても同様に、大まかな種別が「1394ストリーム」である場合に、更に詳細な種別の組み合わせ毎に、該組み合わせに含まれる種類情報を保持するフィルタ処理コンポーネントが保持するリソース情報が登録されている。   Similarly, in the fields 609 to 613, when the rough type is “1394 stream”, the resource information held by the filter processing component holding the type information included in the combination is stored for each more detailed type combination. It is registered.

欄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 resource management unit 101 uses table information that associates resource information held by a filter processing component that holds type information included in the combination for each more detailed type combination as shown in FIG. Make appropriate resource allocations.

次に、リソース管理部101が、シーケンス管理部103からリソースの割り当て要求を受けた場合に行う処理について、同処理のフローチャートを示す図7を用いて説明する。なお、シーケンス管理部103からのリソースの割り当て要求には、ストリームの大まかな種別(ストリーム種別)と更に詳細な種別(詳細種別)とを指定した割り当て要求、ストリームの大まかな種別のみを指定した割り当て要求、の2つがある。リソース管理部101は何れの割り当て要求であっても対処する。更に詳細な種別が不明な場合は大まかな種別のみを指定し、更に詳細な種別が分かっている場合や、更に詳細な種別の確定処理後では、大まかな種別及び更に詳細な種別を指定することが想定される。   Next, processing performed when the resource management unit 101 receives a resource allocation request from the sequence management unit 103 will be described with reference to FIG. 7 showing a flowchart of the processing. Note that the resource allocation request from the sequence management unit 103 includes an allocation request specifying a rough stream type (stream type) and a more detailed type (detailed type), and an allocation specifying only a general stream type. There are two requirements. The resource management unit 101 deals with any allocation request. If a more detailed type is unknown, specify only a rough type, and if a more detailed type is known or after a more detailed type determination process, specify a rough type and a more detailed type. Is assumed.

先ずステップS701ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」が、本情報処理装置が対応可能な種別か否かを判断する。この判断の結果、対応可能な種別と判断した場合には、処理はステップS702に進み、対応可能な種別ではないと判断した場合には、処理はステップS712に進む。   First, in step S701, the resource management unit 101 determines whether or not the “stream type” included in the allocation request received from the sequence management unit 103 is a type that can be handled by the information processing apparatus. As a result of this determination, if it is determined that the type is compatible, the process proceeds to step S702. If it is determined that the type is not compatible, the process proceeds to step S712.

図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 sequence management unit 103 is either “broadcast stream” or “1394 stream”, the process proceeds to step S703. The process proceeds to step S712.

ステップS712ではリソース管理部101は、リソース割り当てが不可能であった旨を示す情報を、シーケンス管理部103に対して送信する。   In step S <b> 712, the resource management unit 101 transmits information indicating that resource allocation is impossible to the sequence management unit 103.

一方、ステップS702ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に「詳細種別」が含まれているか否かを判断する。この判断の結果、含まれていると判断した場合、処理はステップS703に進み、含まれていないと判断した場合、処理はステップS706に進む。   On the other hand, in step S <b> 702, the resource management unit 101 determines whether “detailed type” is included in the allocation request received from the sequence management unit 103. As a result of this determination, if it is determined that it is included, the process proceeds to step S703, and if it is determined that it is not included, the process proceeds to step S706.

ステップS703ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」を参照し、これに対応するリソースを特定する。そしてリソース管理部101は、この特定したリソースが、現在使用されていない未割り当てのリソースであるか否かを判断することで、ストリーム処理が可能かどうかを判定する。そしてこの判断の結果、この特定したリソースが未割り当てのリソースであると判断した場合には、処理はステップS704に進み、この特定したリソースが未割り当てのリソースではないと判断した場合、処理はステップS712に進む。   In step S <b> 703, the resource management unit 101 refers to the “detailed type” included in the allocation request received from the sequence management unit 103 and identifies a resource corresponding to this. Then, the resource management unit 101 determines whether the stream processing is possible by determining whether the specified resource is an unallocated resource that is not currently used. If it is determined as a result of this determination that the identified resource is an unallocated resource, the process proceeds to step S704. If it is determined that the identified resource is not an unallocated resource, the process proceeds to step S704. The process proceeds to S712.

図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 sequence management unit 103 is “MPEG2 / HD, no caption”. In this case, the corresponding resources are “tuner HW, demultiplexer, MPEG2 decoder, AAC decoder, memory 14M”, and it is determined whether these resources are unallocated resources that are not currently used. For example, when there is only 12M of free memory, it is determined that resource allocation is impossible because the required 14M of memory is insufficient.

ステップS704ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」に対応するリソースを割り当て済みに設定する。そしてステップS705ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」に対応するリソースが割り当て可能である旨をシーケンス管理部103に通知する。即ち、シーケンス管理部103から受けた割り当て要求に含まれている「詳細種別」に対応するリソースの使用許可をシーケンス管理部103に対して指示する。   In step S <b> 704, the resource management unit 101 sets the resource corresponding to the “detailed type” included in the allocation request received from the sequence management unit 103 to already allocated. In step S705, the resource management unit 101 notifies the sequence management unit 103 that a resource corresponding to the “detailed type” included in the allocation request received from the sequence management unit 103 can be allocated. That is, the sequence management unit 103 is instructed to permit use of the resource corresponding to the “detailed type” included in the allocation request received from the sequence management unit 103.

一方、ステップS706ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における何れの詳細種別でも処理可能なリソースを割り当て可能か否かを判断する。この判断の結果、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における何れの詳細種別でも処理可能なリソースが割り当て可能であると判断した場合、処理はステップS707に進む。一方、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における何れの詳細種別でも処理可能なリソースが割り当て可能ではないと判断した場合、処理はステップS709に進む。   On the other hand, in step S <b> 706, the resource management unit 101 determines whether it is possible to allocate a resource that can be processed with any of the detailed types in the “stream type” included in the allocation request received from the sequence management unit 103. As a result of this determination, if it is determined that resources that can be processed by any of the detailed types in the “stream type” included in the allocation request received from the sequence management unit 103 can be allocated, the process proceeds to step S707. On the other hand, if it is determined that a resource that can be processed by any of the detailed types in the “stream type” included in the assignment request received from the sequence management unit 103 is not assignable, the process proceeds to step S709.

図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 sequence management unit 103 remain unallocated. As a result of this determination, if a resource corresponding to “detailed type unknown” remains unallocated, the process proceeds to step S707. If a resource corresponding to “detailed type unknown” remains unallocated, The process proceeds to step S709.

ステップS707ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別不明」に対応するリソースを割り当て済みに設定する。そしてステップS708ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別不明」に対応するリソースが割り当て可能である旨をシーケンス管理部103に通知する。即ち、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別不明」に対応するリソースの使用許可をシーケンス管理部103に対して指示する。   In step S <b> 707, the resource management unit 101 sets the resource corresponding to “unknown detailed type” in “stream type” included in the allocation request received from the sequence management unit 103 to already allocated. In step S708, the resource management unit 101 notifies the sequence management unit 103 that a resource corresponding to “detail type unknown” in “stream type” included in the allocation request received from the sequence management unit 103 can be allocated. Notice. That is, it instructs the sequence management unit 103 to permit use of the resource corresponding to “detail type unknown” in the “stream type” included in the allocation request received from the sequence management unit 103.

一方、ステップS709ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースが未割り当てで残っているか否かを判断する。この判断の結果、未割り当てで残っている場合には処理はステップS710に進み、未割り当てで残っていない場合には処理はステップS712に進む。   On the other hand, in step S709, the resource management unit 101 determines whether or not resources corresponding to the “detailed type determination process” in the “stream type” included in the allocation request received from the sequence management unit 103 remain unallocated. to decide. As a result of this determination, if unassigned and remain, the process proceeds to step S710, and if unassigned and remains, the process proceeds to step S712.

図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 sequence management unit 103 is “broadcast stream”, the resource corresponding to the “detailed type determination process” is “tuner HW, Demultiplexer, memory 2.5M ". In this case, however, it is determined whether or not any of the “tuner HW, demultiplexer, and memory 2.5M” remains unallocated. As a result of this determination, if “tuner HW, demultiplexer, memory 2.5M” remains unallocated, the process proceeds to step S710, and if it remains unallocated, the process proceeds to step S712.

ステップS710ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースを割り当て済みに設定する。そしてステップS711ではリソース管理部101は、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースが割り当て可能である旨をシーケンス管理部103に通知する。即ち、シーケンス管理部103から受けた割り当て要求に含まれている「ストリーム種別」における「詳細種別確定処理」に対応するリソースの使用許可をシーケンス管理部103に対して指示する。   In step S <b> 710, the resource management unit 101 sets the resource corresponding to the “detailed type determination process” in “stream type” included in the allocation request received from the sequence management unit 103 to already allocated. In step S 711, the resource management unit 101 indicates that the resource corresponding to the “detailed type determination process” in the “stream type” included in the allocation request received from the sequence management unit 103 can be allocated. Notify That is, the sequence management unit 103 is instructed to permit use of the resource corresponding to the “detailed type determination process” in the “stream type” included in the allocation request received from the sequence management unit 103.

以上説明した各処理により、リソース管理部101は、シーケンス管理部103からの割り当て要求に応じて、空きリソースに応じたリソース割り当てを行うことができる。特に、詳細種別が不明の場合に、そのストリームの如何なる詳細種別でも処理可能なリソースが空いている時には、それを割り当て、空いていない場合には、詳細種別確定のためのリソースを割り当てることを特徴とする。   Through the processes described above, the resource management unit 101 can perform resource allocation according to the free resource in response to the allocation request from the sequence management unit 103. In particular, when the detailed type is unknown, a resource that can be processed by any detailed type of the stream is allocated when it is available, and when it is not available, a resource for determining the detailed type is allocated. And

詳細種別確定のためのリソース割り当てを行ったことをリソース割り当て要求の応答として受け取ったシーケンス管理部103は、配下のフィルタ処理コンポーネントを使用して、詳細種別確定のストリーム処理を実行する。その結果として、詳細種別が判明した時に、再度リソース管理部101に対して、詳細種別を指定したリソース割り当て要求を実行する。このリソース割り当てが成功した場合には、そのストリーム処理が実行可能となる。従来は、詳細種別不明の場合のリソース割り当てに失敗した場合には、そのストリームの処理を諦めていたが、本実施形態では、必要なリソースを確定し、そのストリーム処理を実行できることになる。   The sequence management unit 103 that has received the resource allocation request for determining the detailed type as a response to the resource allocation request executes stream processing for determining the detailed type using the subordinate filter processing component. As a result, when the detailed type is found, a resource allocation request specifying the detailed type is executed again with respect to the resource management unit 101. If this resource allocation is successful, the stream processing can be executed. Conventionally, when resource allocation fails when the detailed type is unknown, the processing of the stream has been given up. However, in the present embodiment, necessary resources can be determined and the stream processing can be executed.

また、リソース管理部101が適切なリソース割り当てを行うために必要なリソース情報は、フィルタ処理コンポーンネントが保持し、常設部品であるリソース管理部101に登録することにより実行される。よって、システムのリソースを最適に活用する機能を維持しつつ、常設部品であるリソース管理部101の変更をすることなく、ストリーム関連製品の機種毎の機能の増減を容易に実現でき、ソフトウェア規模の削減、開発効率の向上が可能となる。   Further, the resource information necessary for the resource management unit 101 to perform appropriate resource allocation is held by the filtering component, and is executed by registering in the resource management unit 101 which is a permanent component. Therefore, it is possible to easily increase / decrease functions for each model of stream-related products without changing the resource management unit 101 which is a permanent component, while maintaining the function of optimally using system resources. Reduction and development efficiency can be improved.

[第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 reference numerals 8021 to 8031 are filter processing components. In the following description, it is assumed that any filter processing component holds an information group as shown in FIG. 5 before the addition or change of the filter processing component. The IP input filter 8031 performs a filter process for receiving a desired packet from the IP network and outputting a transport stream.

図5に示したフィルタ処理コンポーネントのうち、追加、変更されたフィルタ処理コンポーネントが有する使用リソース情報保持部2011が保持する情報の構成例を図9に示す。図9において参照番号901〜907に示したそれぞれは、フィルタ処理コンポーネント(8022,8024,8025,8027〜8029,8031)が保持している情報(使用リソース情報)であり、種類情報とリソース情報とから成る。「対応するストリーム種別」の欄には、IPストリーム受信への対応のため、「IPストリーミング」が追加されている。   A configuration example of information held by the used resource information holding unit 2011 included in the added or changed filter processing component among the filter processing components shown in FIG. 5 is shown in FIG. Each of reference numerals 901 to 907 in FIG. 9 is information (used resource information) held by the filter processing components (8022, 8024, 8025, 8027-8029, 8031), and includes type information, resource information, Consists of. In the “corresponding stream type” column, “IP streaming” is added in order to cope with IP stream reception.

図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 resource management unit 101 receives used resource information from a newly added or changed filter processing component. Then, for each combination of type information, resource information held by the filter processing component that holds the type information included in the combination is managed. A configuration example of information managed by the resource management unit 101 is shown in FIG.

図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 resource management unit 101 performs processing to create table information as shown in FIG. 10 (update the detailed type pattern and resource pattern). This will be described with reference to FIG. It is assumed that the resource management unit 101 already holds table information for each of the broadcast stream and the 1394 stream as shown in FIG.

先ずステップS1101ではリソース管理部101は、新規にダウンロードされたフィルタ処理コンポーネントの有無を判断し、新規にダウンロードされたフィルタ処理コンポーネントがある場合には処理はステップS1102に進む。ステップS1102ではリソース管理部101は、新規にダウンロードされたフィルタ処理コンポーネントを選択フィルタ処理コンポーネントとして選択する。   First, in step S1101, the resource management unit 101 determines whether there is a newly downloaded filter processing component. If there is a newly downloaded filter processing component, the process proceeds to step S1102. In step S1102, the resource management unit 101 selects a newly downloaded filter processing component as a selected filter processing component.

ステップS1103でリソース管理部101は、選択フィルタ処理コンポーネントから「対応するストリーム種別」、「詳細種別」、「詳細種別のストリーム処理に必要なリソース」、「詳細種別の確定に必要なリソース」、のそれぞれの情報を取得する。   In step S1103, the resource management unit 101 selects “corresponding stream type”, “detail type”, “resource required for stream processing of the detailed type”, and “resource required for determining the detailed type” from the selected filter processing component. Get each piece of information.

ステップS1104ではリソース管理部101は、選択フィルタ処理コンポーネントから取得した「対応するストリーム種別」の情報のうち未選択の情報を1つ選択する。選択フィルタ処理コンポーネントには複数の「対応するストリーム種別」の情報が格納されている場合もあるので、本ステップではそのうち未選択の情報を1つ選択する。   In step S1104, the resource management unit 101 selects one piece of unselected information from the “corresponding stream type” information acquired from the selected filter processing component. Since there are cases where a plurality of pieces of “corresponding stream types” are stored in the selected filter processing component, one of the unselected information is selected in this step.

ステップS1105ではリソース管理部101は、ステップS1104で選択した情報が新規のストリーム種別を示すものであるのか否かを判断する。この判断の結果、新規のストリーム種別を示すものである場合(ここではIPストリーミング)、ステップS1107に進み、新規のストリーム種別を示すものではない場合(ここでは放送ストリームや1394ストリーム)には、ステップS1111に進む。   In step S1105, the resource management unit 101 determines whether the information selected in step S1104 indicates a new stream type. If the result of this determination indicates a new stream type (IP streaming in this case), the process proceeds to step S1107, and if it does not indicate a new stream type (broadcast stream or 1394 stream here), step S1107 is performed. The process proceeds to S1111.

ステップS1107ではリソース管理部101は、選択フィルタ処理コンポーネントが、ステップS1104で選択した情報に複数の「詳細種別」の情報を関連付けて保持しているか否かを判断する。図9の場合、Videoデコードフィルタ8024を選択フィルタ処理コンポーネントとして選択し、ステップS1104でIPストリーミングを示す情報を選択した場合、この情報にはH.264/HDとMPEG2/HDが関連付けられている。このように、ステップS1104で選択した情報に複数の「詳細種別」の情報を関連付けて保持している場合には処理はステップS1108に進み、保持していない場合には処理はステップS1109に進む。   In step S1107, the resource management unit 101 determines whether or not the selection filter processing component holds a plurality of pieces of “detailed type” information associated with the information selected in step S1104. In the case of FIG. 9, when the video decoding filter 8024 is selected as the selection filter processing component and information indicating IP streaming is selected in step S1104, this information includes H.264. H.264 / HD and MPEG2 / HD are associated with each other. As described above, when a plurality of pieces of “detailed type” information are held in association with the information selected in step S1104, the process proceeds to step S1108. Otherwise, the process proceeds to step S1109.

ステップS1108ではリソース管理部101は、これから作成するテーブル情報における、「詳細種別」の情報(種別パターン)を登録するための欄、を図10に示す如く分割し、複数の「詳細種別」の情報のそれぞれに対して1つの欄を設ける。図10では、H.264/HDとMPEG2/HDのそれぞれに対して1つの欄を「詳細種別パターン」の欄として設けている。   In step S1108, the resource management unit 101 divides a column for registering “detailed type” information (type pattern) in the table information to be created as shown in FIG. One column is provided for each of the above. In FIG. One column is provided for each of H.264 / HD and MPEG2 / HD as a “detailed type pattern” column.

ステップS1109ではリソース管理部101は、「詳細種別」の情報に関連付けて選択フィルタ処理コンポーネントが保持している「詳細種別のストリーム処理に必要なリソース」の情報を、上記テーブル情報に図10に示す如く登録する。「詳細種別」の情報に関連付けて選択フィルタ処理コンポーネントが保持している「詳細種別のストリーム処理に必要なリソース」の情報は、「詳細種別」の情報について設けた欄に対応する欄に登録する。   In step S1109, the resource management unit 101 shows the information on “resources necessary for stream processing of the detailed type” stored in the selection filter processing component in association with the information of “detailed type” in the table information shown in FIG. Register as follows. The information of “resources necessary for stream processing of detailed type” held by the selection filter processing component in association with the information of “detailed type” is registered in the column corresponding to the column provided for the information of “detailed type” .

ステップS1110ではリソース管理部101は、「詳細種別の確定に必要なリソース」の情報を、テーブル情報において該当する欄(詳細種別パターンにおいて詳細種別確定処理の欄)に登録する。   In step S <b> 1110, the resource management unit 101 registers information of “resources necessary for determining the detailed type” in the corresponding column in the table information (the column for the detailed type determining process in the detailed type pattern).

ステップS1111ではリソース管理部101は、ステップS1104で選択フィルタ処理コンポーネントから取得した全ての「対応するストリーム種別」の情報を選択したか否かを判断する。この判断の結果、全ての情報を選択した場合には処理はステップS1101に戻り、未だ未選択の情報が残っている場合には処理はステップS1112に進む。   In step S <b> 1111, the resource management unit 101 determines whether all “corresponding stream type” information acquired from the selection filter processing component in step S <b> 1104 has been selected. If all the information is selected as a result of this determination, the process returns to step S1101. If unselected information still remains, the process proceeds to step S1112.

ステップS1112ではリソース管理部101は、選択フィルタ処理コンポーネントから取得した「対応するストリーム種別」の情報のうち未選択の情報を1つ選択する。そして処理をステップS1105に進め、以降の処理を行う。   In step S <b> 1112, the resource management unit 101 selects one piece of unselected information from the “corresponding stream type” information acquired from the selected filter processing component. Then, the process proceeds to step S1105, and the subsequent processes are performed.

以下では、図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 demultiplex filter 8022 having the used resource information 901 has been downloaded, and the demultiplex filter 8022 is selected as the selection filter processing component. Next, “broadcast stream” is selected as unselected information from the demultiplex filter 8022. However, since “broadcast stream” is not a new stream type, “1394 stream” is next selected as unselected information from the demultiplex filter 8022. Since this “1394 stream” is not a new stream type, “IP streaming” is next selected as unselected information from the demultiplex filter 8022. Since this “IP streaming” is a new stream type, table information as shown in FIG. 10 is created for this IP streaming below. At this time, a row 1001 with unknown detail type in FIG. 10 and a row 1004 for detailed type determination processing are created simultaneously.

次に、デマルチプレクスフィルタ8022は、「IPストリーミング」については、複数の「詳細種別」の情報を関連付けて保持していないため、「IPストリーミング」については「詳細種別パターン」の欄の分割は行わない。   Next, since the demultiplexing filter 8022 does not hold a plurality of “detailed type” information in association with “IP streaming”, the “detailed type pattern” column for “IP streaming” is not divided. Not performed.

そして、使用リソース情報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 resource information 901, is registered in the resource pattern column of the row 1001. Further, “demultiplexer and memory 1M”, which is information of “resources necessary for determining the detailed type”, is registered in the resource pattern column of the row 1004.

次に、使用リソース情報902を有するVideoデコードフィルタ8024を選択フィルタ処理コンポーネントとして選択する。そして次に、このVideoデコードフィルタ8024から未選択の情報として「放送ストリーム」を選択するが、「放送ストリーム」は新規のストリーム種別ではない。そのため、Videoデコードフィルタ8024から未選択の情報として次に「1394ストリーム」を選択する。この「1394ストリーム」についても新規のストリーム種別ではないため、Videoデコードフィルタ8024から未選択の情報として次に「IPストリーミング」を選択する。この「IPストリーミング」は新規のストリーム種別であるため、以下ではこの「IPストリーミング」について図10に示すようなテーブル情報に情報を追加登録する。   Next, the Video decode filter 8024 having the used resource information 902 is selected as the selection filter processing component. Next, “broadcast stream” is selected as unselected information from the video decode filter 8024, but “broadcast stream” is not a new stream type. Therefore, “1394 stream” is next selected as unselected information from the video decode filter 8024. Since this “1394 stream” is not a new stream type, “IP streaming” is next selected as unselected information from the video decode filter 8024. Since this “IP streaming” is a new stream type, information on this “IP streaming” is additionally registered in the table information as shown in FIG.

Videoデコードフィルタ8024は、「IPストリーミング」については、複数の「詳細種別」の情報(H.264/HDとMPEG2/HD)を関連付けて保持しているため、「IPストリーミング」については「詳細種別」の欄は2つとする。   The video decode filter 8024 holds a plurality of “detailed type” information (H.264 / HD and MPEG2 / HD) in association with “IP streaming”. There are two columns.

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 row 1001, a union of resources registered in the resource pattern column in each of the rows 1002 to 1004 is registered. As for the memory amount, the maximum memory amount among the memory amounts registered in the respective columns is registered. In addition, 1M memory is added to the resource pattern column corresponding to the detailed type determination processing column in the row 1004. Similarly, resource information shown in FIG. 10 can be obtained by adding resource information of other filter components.

以上の説明により、本実施形態によれば、リソース管理部が適切なリソース割り当てを行うために必要なリソース情報は、フィルタ処理コンポーンネントが保持し、動的に登録することができる。よって、システムのリソースを最適に活用する機能を維持しつつ、常設部品であるリソース管理部の変更をすることなく、ストリーム処理機能の追加を容易に実現でき、ソフトウェア規模の削減、開発効率の向上が可能となる。   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のリソース情報と、を前記第1の格納手段に登録すると共に、該ソフトウェア部品が該ストリームの種類を確定するために必要な前記情報処理装置のリソースを示す第2のリソース情報を前記第2の格納手段に登録することを特徴とする請求項2に記載の情報処理装置。 The registration means, when a new software component is downloaded to the information processing apparatus, type information indicating the type of stream that can be processed by the new software component , and the type used to process the stream First resource information indicating the resource of the information processing device is registered in the first storage means, and the software component indicates the resource of the information processing device necessary for determining the type of the stream The information processing apparatus according to claim 2, wherein two pieces of resource information are registered in the second storage unit . 更に、Furthermore,
前記第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の格納手段と、ストリームの種類を確定するための確定処理に必要な前記情報処理装置のリソースを示す第2のリソース情報を格納する第2の格納手段と、を有する前記情報処理装置が行う情報処理方法であって、
前記情報処理装置の判断手段が、処理対象とする対象ストリームの種類が指定されているか否かを判断する判断工程と、
前記情報処理装置の第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.
更に、Furthermore,
それぞれのソフトウェア部品から、該ソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第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 computer program for functioning a computer as each means of the information processing apparatus of any one of Claims 1 thru | or 4 . 情報処理装置であって、An information processing apparatus,
前記情報処理装置に格納されているソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第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:
更に、Furthermore,
それぞれのソフトウェア部品から、該ソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第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.
情報処理装置に格納されているソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第1のリソース情報と、を関連づけて格納する第1の格納手段と、ストリームの種類を確定するための確定処理に必要な前記情報処理装置のリソースを示す第2のリソース情報を格納する第2の格納手段と、を有する情報処理装置が行う情報処理方法であって、Associating the type information indicating the type of stream that can be processed by the software component stored in the information processing apparatus with the first resource information indicating the resource of the information processing apparatus used to process the stream An information processing apparatus comprising: first storage means for storing; and second storage means for storing second resource information indicating resources of the information processing apparatus necessary for a confirmation process for determining a stream type Is an information processing method performed by
前記情報処理装置の判断手段が、処理対象とする対象ストリームの種類が指定されているか否かを判断する判断工程と、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:
更に、Furthermore,
それぞれのソフトウェア部品から、該ソフトウェア部品が処理可能なストリームの種類を示す種類情報と、該ストリームを処理するために使用する前記情報処理装置のリソースを示す第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.
コンピュータを、請求項8又は9に記載の情報処理装置の各手段として機能させるためのコンピュータプログラム。The computer program for functioning a computer as each means of the information processing apparatus of Claim 8 or 9.
JP2011085650A 2011-04-07 2011-04-07 Information processing apparatus and information processing method Expired - Fee Related JP5744605B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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