JP2005251163A - Information processing device, information processing method, information processing system and information processing program - Google Patents

Information processing device, information processing method, information processing system and information processing program Download PDF

Info

Publication number
JP2005251163A
JP2005251163A JP2004369126A JP2004369126A JP2005251163A JP 2005251163 A JP2005251163 A JP 2005251163A JP 2004369126 A JP2004369126 A JP 2004369126A JP 2004369126 A JP2004369126 A JP 2004369126A JP 2005251163 A JP2005251163 A JP 2005251163A
Authority
JP
Japan
Prior art keywords
information processing
information
command
processor
processing apparatus
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.)
Abandoned
Application number
JP2004369126A
Other languages
Japanese (ja)
Other versions
JP2005251163A5 (en
Inventor
Shinichi Tanaka
信一 田中
Yukiyoshi Hirose
幸由 廣瀬
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2004369126A priority Critical patent/JP2005251163A/en
Priority to KR1020050021349A priority patent/KR20060071069A/en
Publication of JP2005251163A publication Critical patent/JP2005251163A/en
Publication of JP2005251163A5 publication Critical patent/JP2005251163A5/ja
Abandoned legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To surely and effectively perform distributed processing between a plurality of information processing devices connected via a network in accordance with a user operation. <P>SOLUTION: Information processing controllers 11, 12, 13 and 14 in the information processing devices 1, 2, 3 and 4 are each composed by connecting, via a bus 29, a main processor 21, a sub-processor 23, a DMAC (direct memory access controller) 25 and a DC (disc controller) 27. The main processor 21 writes information on the operation state of an own device as device information in a main memory 26 connected to the information processing controller and transmits the device information to the other device according to a request from the another device. Thus, the information processing device references the operation state of the own and the other information processing device, selects an information processing device for executing a program in accordance with the user operation, and causes the device to execute the program. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、情報処理装置、情報処理方法、情報処理システムおよび情報処理用プログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, an information processing system, and an information processing program.

最近、グリッド・コンピューティングが注目されている。グリッド・コンピューティングとは、ネットワークに接続された複数の情報処理装置を協調動作させて、高い演算性能を実現する技術である。   Recently, grid computing has attracted attention. Grid computing is a technology that realizes high computing performance by cooperating a plurality of information processing devices connected to a network.

例えば、特許文献1(特開2002−342165号公報)、特許文献2(特開2002−351850号公報)、特許文献3(特開2002−358289号公報)、特許文献4(特開2002−366533号公報)および特許文献5(特開2002−366534号公報)には、均一なモジュラー構造、共通のコンピューティング・モジュール、および均一なソフトウェアセルを用いることによって、高速処理用コンピュータ・アーキテクチャを実現することが示されている。   For example, Patent Document 1 (JP 2002-342165 A), Patent Document 2 (JP 2002-351850 A), Patent Document 3 (JP 2002-358289 A), Patent Document 4 (JP 2002-366533 A). And Patent Document 5 (Japanese Patent Laid-Open No. 2002-366534) realize a high-speed computer architecture by using a uniform modular structure, a common computing module, and a uniform software cell. It has been shown.

また、特許文献6(米国特許6,587,906)、特許文献7(米国特許6,667,920)、特許文献8(米国特許6,728,845)、特許文献9(米国特開2004−0039895)、特許文献10(米国特開2004−0054880)および特許文献11(米国特開2004−0098496)には、情報処理装置内に複数個存在するプロセッサを独立・並列に動作させることによって、処理を高速化させることが示されている。   In addition, Patent Document 6 (US Pat. No. 6,587,906), Patent Document 7 (US Pat. No. 6,667,920), Patent Document 8 (US Pat. No. 6,728,845), Patent Document 9 (US Pat. 0039895), Patent Document 10 (US Patent Publication No. 2004-0054880) and Patent Document 11 (US Patent Publication No. 2004-0098496), a plurality of processors existing in an information processing apparatus are operated independently and in parallel. Has been shown to speed up.

上に挙げた先行技術文献は、以下の通りである。
特開2002−342165号公報 特開2002−351850号公報 特開2002−358289号公報 特開2002−366533号公報 特開2002−366534号公報 米国特許6,587,906 米国特許6,667,920 米国特許6,728,845 米国特開2004−0039895 米国特開2004−0054880 米国特開2004−0098496
The prior art documents listed above are as follows.
JP 2002-342165 A JP 2002-351850 A JP 2002-358289 A JP 2002-366533 A JP 2002-366534 A US Pat. No. 6,587,906 US Patent 6,667,920 US Pat. No. 6,728,845 US 2004-0039895 US 2004-0054880 US 2004-0098496

しかしながら、ネットワークを介して複数の情報処理装置が接続されたネットワークシステムにおいて、ユーザの当該ネットワークシステムに対する操作に応じた処理を、ネットワークシステム全体で分散的に実行するには、それぞれの情報処理装置、またはネットワークシステムを管理する情報処理装置が、他の情報処理装置の動作状況を把握している必要がある。   However, in a network system in which a plurality of information processing devices are connected via a network, in order to execute processing according to a user operation on the network system in a distributed manner throughout the network system, each information processing device, Alternatively, the information processing apparatus that manages the network system needs to grasp the operation status of other information processing apparatuses.

そこで、この発明は、ネットワークを介して接続された複数の情報処理装置の間で、このような分散処理を確実かつ効果的に行うことができるようにしたものである。   Accordingly, the present invention is capable of reliably and effectively performing such distributed processing among a plurality of information processing apparatuses connected via a network.

この発明の情報処理装置は、
ネットワークを介して他の情報処理装置と接続され、所定のコマンドに従って情報処理を行う情報処理装置であって、
前記他の情報処理装置から動作状態に関する情報を収集して、装置情報テーブルを作成する能力交換手段と、
前記コマンドが発生した際、当該コマンドの実行に要する資源に関する情報と、前記装置情報テーブルの動作状態に関する情報とを比較して、当該コマンドが実行可能な情報処理装置を特定する装置特定手段と、
を備えることを特徴とする。
The information processing apparatus of the present invention
An information processing apparatus connected to another information processing apparatus via a network and performing information processing according to a predetermined command,
Capability exchanging means for collecting information on the operating state from the other information processing apparatus and creating a device information table;
Device identification means for identifying information processing devices that can execute the command by comparing information regarding resources required to execute the command and information regarding an operation state of the device information table when the command occurs;
It is characterized by providing.

上記の構成の、この発明の情報処理装置では、これがネットワークを介して他の情報処理装置と接続された場合、他の情報処理装置から、その動作状態に関する情報を収集して装置情報テーブルを作成し、所定のコマンドが発生した際には、当該コマンドの実行に要する資源に関する情報と、装置情報テーブルの動作状態に関する情報とを比較して、当該コマンドを実行可能な情報処理装置を特定するので、複数の情報処理装置の間で分散処理が確実かつ効果的に実行される。   In the information processing apparatus of the present invention configured as described above, when this is connected to another information processing apparatus via a network, information on the operation state is collected from the other information processing apparatus to create a device information table When a predetermined command occurs, the information related to the resource required to execute the command is compared with the information related to the operation state of the device information table to identify the information processing device that can execute the command. The distributed processing is reliably and effectively executed among the plurality of information processing apparatuses.

以上のように、この発明によれば、ネットワークを介して接続された複数の情報処理装置の間で分散処理を確実かつ効果的に行うことができる。   As described above, according to the present invention, distributed processing can be reliably and effectively performed among a plurality of information processing apparatuses connected via a network.

[1.ネットワークシステムおよび情報処理装置の基本的構成その1]
図1は、この発明のネットワークシステムの一例を示し、ネットワーク9を介して複数の情報処理装置1,2,3および4が接続されたものである。
[1. Basic configuration of network system and information processing apparatus 1]
FIG. 1 shows an example of a network system according to the present invention, in which a plurality of information processing apparatuses 1, 2, 3 and 4 are connected via a network 9.

(1−1.情報処理装置および情報処理コントローラ)
情報処理装置1,2,3および4は、それぞれ後述のような各種のAV(Audio and Visual)機器やポータブル機器である。
(1-1. Information processing apparatus and information processing controller)
The information processing apparatuses 1, 2, 3 and 4 are various AV (Audio and Visual) devices and portable devices as will be described later.

情報処理装置1について示すと、情報処理装置1は、コンピュータ機能部として情報処理コントローラ11を備える。情報処理コントローラ11は、メインプロセッサ21−1、サブプロセッサ23−1,23−2および23−3、DMAC(ダイレクトメモリアクセスコントローラ)25−1、およびDC(ディスクコントローラ)27−1を有する。   As for the information processing apparatus 1, the information processing apparatus 1 includes an information processing controller 11 as a computer function unit. The information processing controller 11 includes a main processor 21-1, sub processors 23-1, 23-2 and 23-3, a DMAC (direct memory access controller) 25-1, and a DC (disk controller) 27-1.

メインプロセッサ21−1は、サブプロセッサ23−1,23−2および23−3によるサブプロセッサプログラムの実行(データ処理)のスケジュール管理と、情報処理コントローラ11(情報処理装置1)の全般的な管理とを行う。ただし、メインプロセッサ21−1内で管理のためのプログラム以外のプログラムが動作するように構成することもできる。その場合には、メインプロセッサ21−1はサブプロセッサとしても機能することになる。メインプロセッサ21−1は、LS(ローカルストレージ)22−1を有する。   The main processor 21-1 performs schedule management of execution (data processing) of the sub processor program by the sub processors 23-1, 23-2, and 23-3, and general management of the information processing controller 11 (information processing apparatus 1). And do. However, a program other than the management program may be operated in the main processor 21-1. In that case, the main processor 21-1 also functions as a sub processor. The main processor 21-1 has an LS (local storage) 22-1.

サブプロセッサは、1つでもよいが、望ましくは複数とする。この例は、複数の場合である。   There may be one sub-processor, but preferably there are a plurality of sub-processors. This example is a plurality of cases.

各サブプロセッサ23−1,23−2および23−3は、メインプロセッサ21−1の制御によって並列的かつ独立に、サブプロセッサプログラムを実行し、データを処理する。さらに、場合によってメインプロセッサ21−1内のプログラムがサブプロセッサ23−1,23−2または23−3内のサブプロセッサプログラムと連携して動作するように構成することもできる。後述する機能プログラムもメインプロセッサ21−1内で動作するプログラムである。各サブプロセッサ23−1,23−2および23−3も、LS(ローカルストレージ)24−1,24−2および24−3を有する。   Each of the sub processors 23-1, 23-2, and 23-3 executes the sub processor program and processes data in parallel and independently under the control of the main processor 21-1. Further, in some cases, the program in the main processor 21-1 can be configured to operate in cooperation with the sub processor program in the sub processor 23-1, 23-2 or 23-3. A function program described later is also a program that operates in the main processor 21-1. Each of the sub processors 23-1, 23-2, and 23-3 also has LS (local storage) 24-1, 24-2, and 24-3.

DMAC25−1は、情報処理コントローラ11に接続されたDRAM(ダイナミックRAM)などからなるメインメモリ26−1に格納されているプログラムおよびデータにアクセスするものであり、DC27−1は、情報処理コントローラ11に接続された外部記録部28−1および28−2にアクセスするものである。   The DMAC 25-1 accesses a program and data stored in a main memory 26-1 including a DRAM (dynamic RAM) connected to the information processing controller 11, and the DC 27-1 is used for the information processing controller 11. Is accessed to the external recording units 28-1 and 28-2.

外部記録部28−1および28−2は、固定ディスク(ハードディスク)でも、リムーバブルディスクでもよく、また、MO,CD±RW,DVD±RWなどの光ディスク、メモリディスク、SRAM(スタティックRAM)、ROMなど、各種のものを用いることができる。したがって、DC27−1は、ディスクコントローラと称するが、外部記録部コントローラである。   The external recording units 28-1 and 28-2 may be fixed disks (hard disks) or removable disks, and optical disks such as MO, CD ± RW, DVD ± RW, memory disks, SRAM (static RAM), ROM, etc. Various types can be used. Therefore, although DC27-1 is called a disk controller, it is an external recording unit controller.

図1の例のように、情報処理コントローラ11に対して外部記録部28を複数接続できるように、情報処理コントローラ11を構成することができる。   As in the example of FIG. 1, the information processing controller 11 can be configured so that a plurality of external recording units 28 can be connected to the information processing controller 11.

メインプロセッサ21−1、各サブプロセッサ23−1,23−2および23−3、DMAC25−1、およびDC27−1は、バス29−1によって接続される。   The main processor 21-1, the sub processors 23-1, 23-2 and 23-3, the DMAC 25-1, and the DC 27-1 are connected by a bus 29-1.

情報処理コントローラ11には、当該の情報処理コントローラ11を備える情報処理装置1をネットワーク全体を通して一意的に識別できる識別子が、情報処理装置IDとして割り当てられる。   An identifier that can uniquely identify the information processing apparatus 1 including the information processing controller 11 throughout the entire network is assigned to the information processing controller 11 as an information processing apparatus ID.

メインプロセッサ21−1、および各サブプロセッサ23−1,23−2および23−3に対しても同様に、それぞれを特定できる識別子が、メインプロセッサIDおよびサブプロセッサIDとして割り当てられる。   Similarly, identifiers that can identify the main processor 21-1 and the sub processors 23-1, 23-2, and 23-3 are assigned as the main processor ID and the sub processor ID.

情報処理コントローラ11は、ワンチップIC(集積回路)として構成することが望ましい。   The information processing controller 11 is preferably configured as a one-chip IC (integrated circuit).

他の情報処理装置2,3および4も、同様に構成される。ここで、親番号が同一であるユニットは、枝番号が異なっていても、特に断りがない限り、同じ働きをするものとする。また、以下の説明において枝番号が省略されている場合には、枝番号の違いにいる差異を生じないものとする。   The other information processing apparatuses 2, 3, and 4 are similarly configured. Here, units having the same parent number perform the same function even if the branch numbers are different, unless otherwise specified. Further, in the following description, when the branch number is omitted, it is assumed that the difference in the branch number does not occur.

(1−2.各サブプロセッサからメインメモリへのアクセス)
上述したように、1つの情報処理コントローラ内の各サブプロセッサ23は、独立にサブプロセッサプログラムを実行し、データを処理するが、異なるサブプロセッサがメインメモリ26内の同一領域に対して同時に読み出しまたは書き込みを行った場合には、データの不整合を生じ得る。そこで、サブプロセッサ23からメインメモリ26へのアクセスは、以下のような手順によって行う。
(1-2. Access to main memory from each sub processor)
As described above, each sub-processor 23 in one information processing controller independently executes a sub-processor program and processes data, but different sub-processors can read or write simultaneously to the same area in the main memory 26. When writing is performed, data mismatch may occur. Therefore, access from the sub processor 23 to the main memory 26 is performed according to the following procedure.

図2(A)に示すように、メインメモリ26は、アドレス指定可能な複数のメモリロケーション0〜Mによって構成される。各メモリロケーションに対しては、データの状態を示す情報を格納するための追加セグメント0〜Mが割り振られる。追加セグメントは、F/Eビット、サブプロセッサIDおよびLSアドレス(ローカルストレージアドレス)を含むものとされる。また、各メモリロケーションには、後述のアクセスキー0〜Mも割り振られる。F/Eビットは、以下のように定義される。   As shown in FIG. 2A, the main memory 26 is composed of a plurality of addressable memory locations 0 to M. Additional segments 0 to M for storing information indicating the state of the data are allocated to each memory location. The additional segment includes an F / E bit, a sub processor ID, and an LS address (local storage address). Further, access keys 0 to M described later are also assigned to each memory location. The F / E bit is defined as follows.

F/Eビット=0は、サブプロセッサ23によって読み出されている処理中のデータ、または空き状態であるため最新データではない無効データであり、読み出し不可であることを示す。また、F/Eビット=0は、当該メモリロケーションにデータ書き込み可能であることを示し、書き込み後に1に設定される。   The F / E bit = 0 indicates that the data being processed being read by the sub-processor 23 or invalid data that is not the latest data because it is empty and cannot be read. The F / E bit = 0 indicates that data can be written to the memory location, and is set to 1 after writing.

F/Eビット=1は、当該メモリロケーションのデータがサブプロセッサ23によって読み出されておらず、未処理の最新データであることを示す。当該メモリロケーションのデータは読み出し可能であり、サブプロセッサ23によって読み出された後に0に設定される。また、F/Eビット=1は、当該メモリロケーションがデータ書き込み不可であることを示す。   The F / E bit = 1 indicates that the data at the memory location has not been read by the sub-processor 23 and is the latest unprocessed data. The data in the memory location can be read and set to 0 after being read by the sub-processor 23. Further, the F / E bit = 1 indicates that the memory location cannot write data.

さらに、上記F/Eビット=0(読み出し不可/書き込み可)の状態において、当該メモリロケーションについて読み出し予約を設定することは可能である。F/Eビット=0のメモリロケーションに対して読み出し予約を行う場合には、サブプロセッサ23は、読み出し予約を行うメモリロケーションの追加セグメントに、読み出し予約情報として当該サブプロセッサ23のサブプロセッサIDおよびLSアドレスを書き込む。   Furthermore, it is possible to set a read reservation for the memory location in the state where the F / E bit = 0 (read disabled / write enabled). When a read reservation is made for a memory location with the F / E bit = 0, the sub processor 23 adds the sub processor ID and LS of the sub processor 23 as read reservation information to an additional segment of the memory location where the read reservation is made. Write the address.

その後、データ書き込み側のサブプロセッサ23によって、読み出し予約されたメモリロケーションにデータが書き込まれ、F/Eビット=1(読み出し可/書き込み不可)に設定されたとき、あらかじめ読み出し予約情報として追加セグメントに書き込まれたサブプロセッサIDおよびLSアドレスに読み出される。   Thereafter, when data is written to the memory location reserved for reading by the sub-processor 23 on the data writing side and the F / E bit is set to 1 (readable / not writable), it is added to the additional segment as read reservation information in advance. Read to the written sub-processor ID and LS address.

複数のサブプロセッサによってデータを多段階に処理する必要がある場合、このように各メモリロケーションのデータの読み出し/書き込みを制御することによって、前段階の処理を行うサブプロセッサ23が、処理済みのデータをメインメモリ26内の所定アドレスに書き込んだ後に即座に、後段階の処理を行う別のサブプロセッサ23が前処理後のデータを読み出すことが可能となる。   When it is necessary to process data in multiple stages by a plurality of sub-processors, the sub-processor 23 that performs the process in the previous stage controls the read / write of the data in each memory location in this way. Immediately after the data is written at a predetermined address in the main memory 26, another sub-processor 23 that performs the subsequent processing can read the data after the preprocessing.

図2(B)に示すように、各サブプロセッサ23内のLS24も、アドレス指定可能な複数のメモリロケーション0〜Lによって構成される。各メモリロケーションに対しては、同様に追加セグメント0〜Lが割り振られる。追加セグメントは、ビジービットを含むものとされる。   As shown in FIG. 2B, the LS 24 in each sub-processor 23 is also composed of a plurality of addressable memory locations 0-L. Similarly, additional segments 0 to L are allocated to each memory location. The additional segment includes a busy bit.

サブプロセッサ23がメインメモリ26内のデータを自身のLS24のメモリロケーションに読み出すときには、読み出し先のメモリロケーションに対応するビジービットを1に設定して予約する。ビジービットが1であるメモリロケーションには、他のデータは格納することができない。LS24のメモリロケーションに読み出し後、ビジービットは0になり、任意の目的に使用できるようになる。   When the sub-processor 23 reads the data in the main memory 26 to the memory location of its own LS 24, it reserves by setting the busy bit corresponding to the memory location to be read to 1. No other data can be stored in the memory location where the busy bit is 1. After reading to the memory location of the LS 24, the busy bit becomes 0 and can be used for any purpose.

図2(A)に示すように、さらに、各情報処理コントローラと接続されたメインメモリ26には、複数のサンドボックスが含まれる。サンドボックスは、メインメモリ26内の領域を画定するものであり、各サンドボックスは、各サブプロセッサ23に割り当てられ、そのサブプロセッサが排他的に使用することができる。すなわち、各々のサブプロセッサ23は、自身に割り当てられたサンドボックスを使用できるが、この領域を超えてデータのアクセスを行うことはできない。   As shown in FIG. 2A, the main memory 26 connected to each information processing controller further includes a plurality of sandboxes. The sandbox defines an area in the main memory 26, and each sandbox is assigned to each sub processor 23 and can be used exclusively by the sub processor. That is, each sub-processor 23 can use a sandbox assigned to itself, but cannot access data beyond this area.

メインメモリ26は、複数のメモリロケーション0〜Mから構成されるが、サンドボックスは、これらのメモリロケーションの集合である。すなわち、1つのサンドボックスは、1つまたは複数のメモリロケーションから構成される。   The main memory 26 is composed of a plurality of memory locations 0 to M, and the sandbox is a set of these memory locations. That is, one sandbox is composed of one or more memory locations.

さらに、メインメモリ26の排他的な制御を実現するために、図2(C)に示すようなキー管理テーブルが用いられる。キー管理テーブルは、情報処理コントローラ内のSRAMのような比較的高速のメモリに格納され、DMAC25と関連付けられる。   Further, in order to realize exclusive control of the main memory 26, a key management table as shown in FIG. The key management table is stored in a relatively high-speed memory such as SRAM in the information processing controller, and is associated with the DMAC 25.

キー管理テーブル内には、情報処理コントローラ内のサブプロセッサの数と同数のエントリが存在し、各エントリには、サブプロセッサIDおよび、それに対応するサブプロセッサキーおよびキーマスクが関連付けられて格納される。   There are as many entries as the number of sub processors in the information processing controller in the key management table, and each entry stores a sub processor ID, a corresponding sub processor key, and a key mask in association with each other. .

サブプロセッサ23がメインメモリ26を使用する際のプロセスは、以下のとおりである。まず、サブプロセッサ23はDMAC25に、読み出しまたは書き込みのコマンドを送信する。このコマンドには、自身のサブプロセッサIDと、アクセス要求先であるメインメモリ26のアドレスが含まれる。   The process when the sub processor 23 uses the main memory 26 is as follows. First, the sub processor 23 transmits a read or write command to the DMAC 25. This command includes its own sub-processor ID and the address of the main memory 26 that is the access request destination.

DMAC25は、このコマンドを実行する前に、キー管理テーブルを参照して、アクセス要求元のサブプロセッサ23のサブプロセッサキーを調べる。次に、DMAC25は、調べたアクセス要求元のサブプロセッサキーと、アクセス要求先であるメインメモリ26内の図2(A)に示したメモリロケーションに割り振られたアクセスキーとを比較して、2つのキーが一致した場合にのみ、上記のコマンドを実行する。   Before executing this command, the DMAC 25 refers to the key management table and checks the sub processor key of the access request source sub processor 23. Next, the DMAC 25 compares the checked access request source sub-processor key with the access key allocated to the memory location shown in FIG. Execute the above command only when two keys match.

図2(C)に示したキー管理テーブル上のキーマスクは、その任意のビットが1になることによって、そのキーマスクに関連付けられたサブプロセッサキーの対応するビットが0または1になることができる。   In the key mask on the key management table shown in FIG. 2C, when the arbitrary bit becomes 1, the corresponding bit of the sub-processor key associated with the key mask may become 0 or 1. it can.

例えば、サブプロセッサキーが1010であるとする。通常、このサブプロセッサキーによって1010のアクセスキーを持つサンドボックスへのアクセスだけが可能になる。しかし、このサブプロセッサキーと関連付けられたキーマスクが0001に設定されている場合には、キーマスクのビットが1に設定された桁のみにつき、サブプロセッサキーとアクセスキーとの一致判定がマスクされ、このサブプロセッサキー1010によって、アクセスキーが1010または1011のいずれかであるアクセスキーを持つサンドボックスへのアクセスが可能となる。   For example, assume that the sub-processor key is 1010. Normally, this sub-processor key only allows access to a sandbox with 1010 access keys. However, if the key mask associated with this sub-processor key is set to 0001, the match determination between the sub-processor key and the access key is masked only for the digit whose key mask bit is set to 1. The sub processor key 1010 enables access to a sandbox having an access key whose access key is either 1010 or 1011.

以上のようにして、メインメモリ26のサンドボックスの排他性が実現される。すなわち、1つの情報処理コントローラ内の複数のサブプロセッサによってデータを多段階に処理する必要がある場合、以上のように構成することによって、前段階の処理を行うサブプロセッサと、後段階の処理を行うサブプロセッサのみが、メインメモリ26の所定アドレスにアクセスできるようになり、データを保護することができる。   As described above, the sandbox exclusivity of the main memory 26 is realized. That is, when it is necessary to process data in multiple stages by a plurality of sub-processors in one information processing controller, by configuring as described above, the sub-processor that performs the process in the previous stage and the process in the subsequent stage are processed. Only the sub processor that performs the access can access a predetermined address in the main memory 26, and data can be protected.

例えば、以下のように使用することが考えられる。まず、情報処理装置の起動直後においては、キーマスクの値は全てゼロである。メインプロセッサ内のプログラムが実行され、サブプロセッサ内のサブプロセッサプログラムと連携動作するものとする。第1のサブプロセッサにより実行された処理結果データを一旦、メインメモリ26に格納し、第2のサブプロセッサに送信したいときには、該当するメインメモリ領域は、当然どちらのサブプロセッサからもアクセス可能である必要がある。そのような場合に、メインプロセッサ内のプログラムは、キーマスクの値を適切に変更し、複数のサブプロセッサからアクセスできるメインメモリ領域を設けることにより、サブプロセッサによる多段階的の処理を可能にする。   For example, it can be used as follows. First, immediately after the information processing apparatus is activated, the values of the key masks are all zero. It is assumed that a program in the main processor is executed and operates in cooperation with the sub processor program in the sub processor. When the processing result data executed by the first sub-processor is temporarily stored in the main memory 26 and is transmitted to the second sub-processor, the corresponding main memory area can naturally be accessed from either sub-processor. There is a need. In such a case, the program in the main processor appropriately changes the value of the key mask and provides a main memory area that can be accessed from a plurality of sub processors, thereby enabling multi-stage processing by the sub processors. .

より具体的には、他の情報処理装置からのデータ→第1のサブプロセッサによる処理→第1のメインメモリ領域→第2のサブプロセッサによる処理→第2のメインメモリ領域、という手順で多段階処理が行われるときには、
第1のサブプロセッサのサブプロセッサキー:0100、
第1のメインメモリ領域のアクセスキー :0100、
第2のサブプロセッサのサブプロセッサキー:0101、
第2のメインメモリ領域のアクセスキー :0101、
のような設定のままだと、第2のサブプロセッサは第1のメインメモリ領域にアクセスすることができない。そこで、第2のサブプロセッサのキーマスクを0001にすることにより、第2のサブプロセッサによる第1のメインメモリ領域へのアクセスを可能にすることができる。
More specifically, it is a multi-step process in the order of data from another information processing apparatus → processing by the first sub processor → first main memory area → processing by the second sub processor → second main memory area. When processing is done,
Sub-processor key of the first sub-processor: 0100
First main memory area access key: 0100,
Sub-processor key of the second sub-processor: 0101,
Second main memory area access key: 0101,
If the setting is kept as described above, the second sub-processor cannot access the first main memory area. Therefore, by setting the key mask of the second sub processor to 0001, it is possible to allow the second sub processor to access the first main memory area.

(1−3.ソフトウェアセルの生成および構成)
図1のネットワークシステムでは、情報処理装置1,2,3および4の間での分散処理のために、情報処理装置1,2,3および4の間でソフトウェアセルが伝送される。すなわち、ある情報処理装置内の情報処理コントローラに含まれるメインプロセッサ21は、コマンド、プログラムおよびデータを含むソフトウェアセルを生成し、ネットワーク9を介して他の情報処理装置に送信することによって、処理を分散することができる。
(1-3. Generation and configuration of software cell)
In the network system of FIG. 1, software cells are transmitted between the information processing apparatuses 1, 2, 3, and 4 for distributed processing between the information processing apparatuses 1, 2, 3, and 4. That is, the main processor 21 included in the information processing controller in a certain information processing apparatus generates a software cell including a command, a program, and data, and transmits the software cell to another information processing apparatus via the network 9 to perform processing. Can be dispersed.

図3に、ソフトウェアセルの構成の一例を示す。この例のソフトウェアセルは、全体として、送信元ID、送信先ID、応答先ID、セルインターフェース、DMAコマンド、プログラム、およびデータによって構成される。   FIG. 3 shows an example of the configuration of the software cell. The software cell in this example is composed of a transmission source ID, a transmission destination ID, a response destination ID, a cell interface, a DMA command, a program, and data as a whole.

送信元IDには、ソフトウェアセルの送信元である情報処理装置のネットワークアドレスおよび情報処理装置ID、さらに、その情報処理装置内の情報処理コントローラが備えるメインプロセッサ21および各サブプロセッサ23の識別子(メインプロセッサIDおよびサブプロセッサID)が含まれる。   The transmission source ID includes the network address and information processing device ID of the information processing device that is the transmission source of the software cell, and the identifiers of the main processor 21 and each sub-processor 23 included in the information processing controller in the information processing device (main Processor ID and sub-processor ID).

送信先IDおよび応答先IDには、それぞれ、ソフトウェアセルの送信先である情報処理装置、およびソフトウェアセルの実行結果の応答先である情報処理装置についての、同じ情報が含まれる。   The transmission destination ID and the response destination ID include the same information about the information processing device that is the transmission destination of the software cell and the information processing device that is the response destination of the execution result of the software cell, respectively.

セルインターフェースは、ソフトウェアセルの利用に必要な情報であり、グローバルID、必要なサブプロセッサの情報、サンドボックスサイズ、および前回のソフトウェアセルIDから構成される。   The cell interface is information necessary for using the software cell, and includes a global ID, necessary sub-processor information, a sandbox size, and a previous software cell ID.

グローバルIDは、ネットワーク全体を通して当該のソフトウェアセルを一意的に識別できるものであり、送信元ID、およびソフトウェアセルの作成または送信の日時(日付および時刻)に基づいて作成される。   The global ID can uniquely identify the software cell throughout the network, and is created based on the transmission source ID and the date and time (date and time) of creation or transmission of the software cell.

必要なサブプロセッサの情報は、当該ソフトウェアセルの実行に必要なサブプロセッサの数が設定される。サンドボックスサイズは、当該ソフトウェアセルの実行に必要なメインメモリ26内およびサブプロセッサ23のLS24内のメモリ量が設定される。   In the necessary sub-processor information, the number of sub-processors necessary for executing the software cell is set. The sandbox size is set with the amount of memory in the main memory 26 and the LS 24 of the sub processor 23 necessary for executing the software cell.

前回のソフトウェアセルIDは、ストリーミングデータなどのシーケンシャルな実行を要求する1グループのソフトウェアセル内の、前回のソフトウェアセルの識別子である。   The previous software cell ID is an identifier of the previous software cell in a group of software cells that request sequential execution of streaming data or the like.

ソフトウェアセルの実行セクションは、DMAコマンド、プログラムおよびデータから構成される。DMAコマンドには、プログラムの起動に必要な一連のDMAコマンドが含まれ、プログラムには、サブプロセッサ23によって実行されるサブプロセッサプログラムが含まれる。ここでのデータは、このサブプロセッサプログラムを含むプログラムによって処理されるデータである。   The execution section of the software cell is composed of DMA commands, programs and data. The DMA command includes a series of DMA commands necessary for starting the program, and the program includes a sub processor program executed by the sub processor 23. The data here is data processed by a program including the sub processor program.

さらに、DMAコマンドには、ロードコマンド、キックコマンド、機能プログラム実行コマンド、ステータス要求コマンド、およびステータス返信コマンドが含まれる。   Further, the DMA command includes a load command, a kick command, a function program execution command, a status request command, and a status return command.

ロードコマンドは、メインメモリ26内の情報をサブプロセッサ23内のLS24にロードするコマンドであり、ロードコマンド自体のほかに、メインメモリアドレス、サブプロセッサIDおよびLSアドレスを含む。メインメモリアドレスは、情報のロード元であるメインメモリ26内の所定領域のアドレスを示す。サブプロセッサIDおよびLSアドレスは、情報のロード先であるサブプロセッサ23の識別子およびLS24のアドレスを示す。   The load command is a command for loading information in the main memory 26 into the LS 24 in the sub processor 23, and includes a main memory address, a sub processor ID, and an LS address in addition to the load command itself. The main memory address indicates an address of a predetermined area in the main memory 26 from which information is loaded. The sub processor ID and the LS address indicate the identifier of the sub processor 23 to which information is loaded and the address of the LS 24.

キックコマンドは、サブプロセッサプログラムの実行を開始するコマンドであり、キックコマンド自体のほかに、サブプロセッサIDおよびプログラムカウンタを含む。サブプロセッサIDは、キック対象のサブプロセッサ23を識別し、プログラムカウンタは、サブプロセッサプログラム実行用プログラムカウンタのためのアドレスを与える。   The kick command is a command for starting execution of the sub processor program, and includes a sub processor ID and a program counter in addition to the kick command itself. The sub processor ID identifies the sub processor 23 to be kicked, and the program counter gives an address for the program counter for executing the sub processor program.

機能プログラム実行コマンドは、後述のように、ある情報処理装置が他の情報処理装置に対して、機能プログラムの実行を要求するコマンドである。機能プログラム実行コマンドを受信した情報処理装置内の情報処理コントローラは、後述の機能プログラムIDによって、起動すべき機能プログラムを識別する。   As will be described later, the function program execution command is a command for requesting execution of a function program from another information processing apparatus to another information processing apparatus. The information processing controller in the information processing apparatus that has received the function program execution command identifies a function program to be activated by a function program ID described later.

ステータス要求コマンドは、送信先IDで示される情報処理装置の現在の動作状態(状況)に関する装置情報を、応答先IDで示される情報処理装置宛に送信することを要求するコマンドである。機能プログラムについては後述するが、図6に示す情報処理装置のメインメモリ26が記憶するソフトウェアの構成図において機能プログラムにカテゴライズされるプログラムである。機能プログラムは、メインメモリ26にロードされ、メインプロセッサ21により実行される。   The status request command is a command for requesting transmission of device information related to the current operation state (situation) of the information processing device indicated by the transmission destination ID to the information processing device indicated by the response destination ID. Although the function program will be described later, the program is categorized into the function program in the software configuration diagram stored in the main memory 26 of the information processing apparatus illustrated in FIG. 6. The function program is loaded into the main memory 26 and executed by the main processor 21.

ステータス返信コマンドは、上記のステータス要求コマンドを受信した情報処理装置が、自身の装置情報を当該ステータス要求コマンドに含まれる応答先IDで示される情報処理装置に応答するコマンドである。ステータス返信コマンドは、実行セクションのデータ領域に装置情報を格納する。   The status reply command is a command in which the information processing apparatus that has received the status request command responds to the information processing apparatus indicated by the response destination ID included in the status request command with its own apparatus information. The status reply command stores device information in the data area of the execution section.

図4に、DMAコマンドがステータス返信コマンドである場合におけるソフトウェアセルのデータ領域の構造を示す。   FIG. 4 shows the structure of the data area of the software cell when the DMA command is a status return command.

情報処理装置IDは、情報処理コントローラを備える情報処理装置を識別するための識別子であり、ステータス返信コマンドを送信する情報処理装置のIDを示す。情報処理装置IDは、電源投入時、その情報処理装置内の情報処理コントローラに含まれるメインプロセッサ21によって、電源投入時の日時、情報処理装置のネットワークアドレスおよび情報処理装置内の情報処理コントローラに含まれるサブプロセッサ23の数などに基づいて生成される。   The information processing device ID is an identifier for identifying the information processing device including the information processing controller, and indicates the ID of the information processing device that transmits the status reply command. The information processing apparatus ID is included in the information processing controller in the information processing apparatus by the main processor 21 included in the information processing controller in the information processing apparatus when the power is turned on. It is generated based on the number of sub processors 23 to be processed.

情報処理装置種別IDには、当該の情報処理装置の特徴を表す値が含まれる。情報処理装置の特徴とは、例えば、後述のハードディスクレコーダ、PDA(Personal Digital Assistants)、ポータブルCD(Compact Disc)プレーヤなどである。また、情報処理装置種別IDは、映像音声記録、映像音声再生など、情報処理装置の機能を表すものであってもよい。情報処理装置の特徴や機能を表す値は予め決定されているものとし、情報処理装置種別IDを読み出すことにより、当該情報処理装置の特徴や機能を把握することが可能である。   The information processing device type ID includes a value representing the characteristics of the information processing device. The characteristics of the information processing apparatus include, for example, a hard disk recorder, a PDA (Personal Digital Assistant), a portable CD (Compact Disc) player, and the like, which will be described later. The information processing device type ID may represent a function of the information processing device such as video / audio recording or video / audio reproduction. It is assumed that values representing the characteristics and functions of the information processing apparatus are determined in advance, and it is possible to grasp the characteristics and functions of the information processing apparatus by reading the information processing apparatus type ID.

MS(マスター/スレーブ)ステータスは、後述のように情報処理装置がマスター装置またはスレーブ装置のいずれで動作しているかを表すもので、これが0に設定されている場合にはマスター装置として動作していることを示し、1に設定されている場合にはスレーブ装置として動作していることを示す。   The MS (master / slave) status indicates whether the information processing apparatus is operating as a master apparatus or a slave apparatus, as will be described later. When this is set to 0, it operates as a master apparatus. If it is set to 1, it indicates that it is operating as a slave device.

メインプロセッサ動作周波数は、情報処理コントローラ内のメインプロセッサ21の動作周波数を表す。メインプロセッサ使用率は、メインプロセッサ21で現在動作している全てのプログラムについての、メインプロセッサ21での使用率を表す。メインプロセッサ使用率は、対象メインプロセッサの全処理能力に対する使用中の処理能力の比率を表した値で、例えばプロセッサ処理能力評価のための単位であるMIPSを単位として算出され、または単位時間あたりのプロセッサ使用時間に基づいて算出される。後述のサブプロセッサ使用率についても同様である。   The main processor operating frequency represents the operating frequency of the main processor 21 in the information processing controller. The main processor usage rate represents the usage rate in the main processor 21 for all programs currently running on the main processor 21. The main processor usage rate is a value representing the ratio of the processing capacity in use to the total processing capacity of the target main processor. For example, the main processor usage rate is calculated by using MIPS, which is a unit for evaluating the processor processing capacity, or per unit time. Calculated based on processor usage time. The same applies to the sub-processor usage rate described later.

サブプロセッサ数は、当該の情報処理コントローラが備えるサブプロセッサ23の数を表す。サブプロセッサIDは、当該の情報処理コントローラ内の各サブプロセッサ23を識別するための識別子である。   The number of sub-processors represents the number of sub-processors 23 included in the information processing controller. The sub processor ID is an identifier for identifying each sub processor 23 in the information processing controller.

サブプロセッサステータスは、各サブプロセッサ23の状態を表すものであり、unused,reserved,busyなどの状態がある。unusedは、当該のサブプロセッサが現在使用されてなく、使用の予約もされていないことを示す。reservedは、現在は使用されていないが、使用が予約されている状態を示す。busyは、現在使用中であることを示す。   The sub processor status represents the state of each sub processor 23, and there are states such as “unused”, “reserved”, and “busy”. “unused” indicates that the sub-processor is not currently used and is not reserved for use. “reserved” indicates a state that is not currently used but reserved for use. Busy indicates that it is currently in use.

サブプロセッサ使用率は、当該のサブプロセッサで現在実行している、または当該のサブプロセッサに実行が予約されているサブプロセッサプログラムについての、当該サブプロセッサでの使用率を表す。すなわち、サブプロセッサ使用率は、サブプロセッサステータスがbusyである場合には、現在の使用率を示し、サブプロセッサステータスがreservedである場合には、後に使用される予定の推定使用率を示す。   The sub-processor usage rate represents the usage rate of the sub-processor for a sub-processor program that is currently being executed by the sub-processor or that is reserved for execution by the sub-processor. That is, the sub processor usage rate indicates the current usage rate when the sub processor status is busy, and indicates the estimated usage rate that is to be used later when the sub processor status is reserved.

サブプロセッサID、サブプロセッサステータスおよびサブプロセッサ使用率は、1つのサブプロセッサ23に対して一組設定され、1つの情報処理コントローラ内のサブプロセッサ23の数の組数だけ設定される。   One set of sub-processor ID, sub-processor status, and sub-processor usage rate is set for one sub-processor 23, and is set for the number of sub-processors 23 in one information processing controller.

メインメモリ総容量およびメインメモリ使用量は、それぞれ、当該の情報処理コントローラに接続されているメインメモリ26の総容量および現在使用中の容量を表す。   The main memory total capacity and the main memory usage amount represent the total capacity and the currently used capacity of the main memory 26 connected to the information processing controller, respectively.

外部記録部数は、当該の情報処理コントローラに接続されている外部記録部28の数を表す。外部記録部IDは、当該の情報処理コントローラに接続されている外部記録部28を一意的に識別する情報である。外部記録部種別IDは、当該の外部記録部の種類(例えば、ハードディスク、CD±RW、DVD±RW、メモリディスク、SRAM、ROMなど)を表す。   The number of external recording units represents the number of external recording units 28 connected to the information processing controller. The external recording unit ID is information that uniquely identifies the external recording unit 28 connected to the information processing controller. The external recording unit type ID represents the type of the external recording unit (for example, hard disk, CD ± RW, DVD ± RW, memory disk, SRAM, ROM, etc.).

外部記録部総容量および外部記録部使用量は、それぞれ、外部記録部IDによって識別される外部記録部28の総容量および現在使用中の容量を表す。   The external recording unit total capacity and the external recording unit usage amount represent the total capacity and the currently used capacity of the external recording unit 28 identified by the external recording unit ID, respectively.

外部記録部ID、外部記録部種別ID、外部記録部総容量および外部記録部使用量は、1つの外部記録部28に対して一組設定され、当該の情報処理コントローラに接続されている外部記録部28の数の組数だけ設定される。すなわち、1つの情報処理コントローラに複数の外部記録部が接続されている場合、各々の外部記録部には異なる外部記録部IDが割り当てられ、外部記録部種別ID、外部記録部総容量および外部記録部使用量も別々に管理される。   An external recording unit ID, an external recording unit type ID, an external recording unit total capacity, and an external recording unit usage amount are set for one external recording unit 28 and connected to the information processing controller. The number of sets of the number of units 28 is set. That is, when a plurality of external recording units are connected to one information processing controller, a different external recording unit ID is assigned to each external recording unit, the external recording unit type ID, the external recording unit total capacity, and the external recording unit Department usage is also managed separately.

(1−4.ソフトウェアセルの実行)
ある情報処理装置内の情報処理コントローラに含まれるメインプロセッサ21は、以上のような構成のソフトウェアセルを生成し、ネットワーク9を介して他の情報処理装置および当該装置内の情報処理コントローラに送信する。送信元の情報処理装置、送信先の情報処理装置、応答先の情報処理装置、および各装置内の情報処理コントローラは、それぞれ、上記の送信元ID、送信先IDおよび応答先IDによって識別される。
(1-4. Execution of software cell)
The main processor 21 included in the information processing controller in a certain information processing device generates a software cell having the above configuration and transmits it to the other information processing device and the information processing controller in the device via the network 9. . The transmission source information processing device, the transmission destination information processing device, the response destination information processing device, and the information processing controller in each device are identified by the transmission source ID, the transmission destination ID, and the response destination ID, respectively. .

ソフトウェアセルを受信した情報処理装置内の情報処理コントローラに含まれるメインプロセッサ21は、そのソフトウェアセルをメインメモリ26に格納する。さらに、送信先のメインプロセッサ21は、ソフトウェアセルを読み出し、それに含まれるDMAコマンドを処理する。   The main processor 21 included in the information processing controller in the information processing apparatus that has received the software cell stores the software cell in the main memory 26. Furthermore, the transmission destination main processor 21 reads the software cell and processes the DMA command included therein.

具体的に、送信先のメインプロセッサ21は、まず、ロードコマンドを実行する。これによって、ロードコマンドで指示されたメインメモリアドレスから、ロードコマンドに含まれるサブプロセッサIDおよびLSアドレスで特定されるサブプロセッサ内のLS24の所定領域に、情報がロードされる。ここでロードされる情報は、受信したソフトウェアセルに含まれるサブプロセッサプログラムまたはデータ、あるいはその他の指示されたデータである。   Specifically, the transmission destination main processor 21 first executes a load command. As a result, information is loaded from the main memory address instructed by the load command into a predetermined area of the LS 24 in the sub processor specified by the sub processor ID and LS address included in the load command. The information loaded here is a sub-processor program or data included in the received software cell, or other designated data.

次に、メインプロセッサ21は、キックコマンドを、これに含まれるサブプロセッサIDで指示されたサブプロセッサに、同様にキックコマンドに含まれるプログラムカウンタと共に送信する。   Next, the main processor 21 transmits the kick command to the sub processor indicated by the sub processor ID included therein, together with the program counter included in the kick command.

指示されたサブプロセッサは、そのキックコマンドおよびプログラムカウンタに従って、サブプロセッサプログラムを実行する。そして、実行結果をメインメモリ26に格納した後、実行を完了したことをメインプロセッサ21に通知する。   The instructed sub processor executes the sub processor program according to the kick command and the program counter. After the execution result is stored in the main memory 26, the main processor 21 is notified that the execution has been completed.

なお、送信先の情報処理装置内の情報処理コントローラにおいてソフトウェアセルを実行するプロセッサはサブプロセッサ23に限定されるものではなく、メインプロセッサ21がソフトウェアセルに含まれる機能プログラムなどのメインメモリ用プログラムを実行するように指定することも可能である。   Note that the processor that executes the software cell in the information processing controller in the information processing apparatus of the transmission destination is not limited to the sub-processor 23, but the main processor 21 executes a program for main memory such as a function program included in the software cell. It can also be specified to execute.

この場合には、送信元の情報処理装置は、送信先の情報処理装置宛に、サブプロセッサプログラムの代わりに、メインメモリ用プログラムおよびそのメインメモリ用プログラムによって処理されるデータを含み、DMAコマンドがロードコマンドであるソフトウェアセルを送信し、メインメモリ26にメインメモリ用プログラムおよびそれによって処理されるデータを記憶させる。   In this case, the transmission source information processing apparatus includes a main memory program and data processed by the main memory program instead of the sub processor program, and the DMA command is sent to the transmission destination information processing apparatus. The software cell as a load command is transmitted, and the main memory 26 stores the main memory program and data processed thereby.

次に、送信元の情報処理装置は、送信先の情報処理装置宛に、送信先の情報処理装置内の情報処理コントローラについてのメインプロセッサID、メインメモリアドレス、メインメモリ用プログラムを識別するための後述の機能プログラムIDなどの識別子、およびプログラムカウンタを含み、DMAコマンドがキックコマンドまたは機能プログラム実行コマンドであるソフトウェアセルを送信して、メインプロセッサ21に当該メインメモリ用プログラムを実行させる。   Next, the transmission source information processing apparatus identifies the main processor ID, the main memory address, and the main memory program for the information processing controller in the transmission destination information processing apparatus for the transmission destination information processing apparatus. A software cell that includes an identifier such as a function program ID (to be described later) and a program counter and whose DMA command is a kick command or a function program execution command is transmitted to cause the main processor 21 to execute the main memory program.

以上のように、この発明のネットワークシステムでは、送信元の情報処理装置は、サブプロセッサプログラムまたはメインメモリ用プログラムをソフトウェアセルによって送信先の情報処理装置に送信するとともに、当該サブプロセッサプログラムを送信先の情報処理装置内の情報処理コントローラに含まれるサブプロセッサ23にロードさせ、当該サブプロセッサプログラムまたは当該メインメモリ用プログラムを送信先の情報処理装置に実行させることができる。   As described above, in the network system of the present invention, the transmission source information processing apparatus transmits the sub processor program or the main memory program to the transmission destination information processing apparatus by the software cell, and transmits the sub processor program to the transmission destination. It is possible to load the sub processor 23 included in the information processing controller in the information processing apparatus and cause the information processing apparatus of the transmission destination to execute the sub processor program or the main memory program.

送信先の情報処理装置内の情報処理コントローラでは、受信したソフトウェアセルに含まれるプログラムがサブプロセッサプログラムである場合には、当該サブプロセッサプログラムを指定されたサブプロセッサにロードさせる。そして、ソフトウェアセルに含まれるサブプロセッサプログラムまたはメインメモリ用プログラムを実行させる。   When the program included in the received software cell is a sub processor program, the information processing controller in the transmission destination information processing apparatus loads the sub processor program to the designated sub processor. Then, the sub processor program or the main memory program included in the software cell is executed.

したがって、ユーザが送信先の情報処理装置を操作しなくても自動的に、当該サブプロセッサプログラムまたは当該メインメモリ用プログラムを送信先の情報処理装置内の情報処理コントローラに実行させることができる。   Therefore, even if the user does not operate the transmission destination information processing apparatus, the sub processor program or the main memory program can be automatically executed by the information processing controller in the transmission destination information processing apparatus.

このようにして情報処理装置は、自装置内の情報処理コントローラがサブプロセッサプログラムまたは機能プログラムなどのメインメモリ用プログラムを有していない場合には、ネットワークに接続された他の情報処理装置からそれらを取得することができる。さらに、各サブプロセッサとメインメモリとの間ではDMA方式によりデータが転送され、また上述したサンドボックスを使用することによって、1つの情報処理コントローラ内でデータを多段階に処理する必要がある場合でも、高速かつ高セキュリティに処理を実行することができる。   In this way, when the information processing controller in its own device does not have a main memory program such as a sub processor program or a function program, the information processing device can receive information from other information processing devices connected to the network. Can be obtained. Furthermore, data is transferred between each sub-processor and the main memory by the DMA method, and even when it is necessary to process data in multiple stages within one information processing controller by using the above-described sandbox. High-speed and high-security processing can be executed.

[2.ネットワークシステムとしての分散処理その1]
ソフトウェアセルの使用による分散処理の結果、図5の上段に示すようにネットワーク9に接続されている複数の情報処理装置1,2,3および4は、図5の下段に示すように、仮想的な1台の情報処理装置7として動作する。ただし、そのためには、以下のような構成によって、以下のような処理が実行される必要がある。
[2. Distributed processing as a network system 1]
As a result of distributed processing using software cells, a plurality of information processing apparatuses 1, 2, 3, and 4 connected to the network 9 as shown in the upper part of FIG. It operates as a single information processing device 7. However, for this purpose, the following processing needs to be executed by the following configuration.

(2−1.システムのソフトウェア構成とプログラムのロード)
図6に、個々の情報処理コントローラのメインメモリ26が記憶するソフトウェアの構成を示す。これらのソフトウェア(プログラム)は、情報処理装置に電源が投入される前においては、当該の情報処理コントローラに接続される外部記録部28に記録されているものである。
(2-1. System software configuration and program loading)
FIG. 6 shows the configuration of software stored in the main memory 26 of each information processing controller. These software (programs) are recorded in the external recording unit 28 connected to the information processing controller before the information processing apparatus is turned on.

各プログラムは、機能または特徴によって、制御プログラム、機能プログラムおよびデバイスドライバにカテゴライズされる。   Each program is categorized into a control program, a function program, and a device driver by function or feature.

制御プログラムは、各情報処理コントローラが同じものを備え、各情報処理コントローラのメインプロセッサ21が実行するもので、後述のMS(マスター/スレーブ)マネージャおよび能力交換プログラムを含む。   The control program is the same for each information processing controller, and is executed by the main processor 21 of each information processing controller, and includes an MS (master / slave) manager and a capability exchange program described later.

機能プログラムは、メインプロセッサ21が実行するもので、記録用、再生用、素材検索用など、情報処理コントローラごとに情報処理装置に応じたものが備えられる。   The function program is executed by the main processor 21, and a function program corresponding to the information processing apparatus is provided for each information processing controller such as recording, reproduction, and material search.

デバイスドライバは、情報処理コントローラ(情報処理装置)の入出力(送受信)用で、放送受信、モニタ出力、ビットストリーム入出力、ネットワーク入出力など、情報処理コントローラごとに情報処理装置に応じたものが備えられる。   Device drivers are used for input / output (transmission / reception) of an information processing controller (information processing device), such as broadcast reception, monitor output, bit stream input / output, network input / output, etc. Provided.

ケーブルの差し込みなどによって情報処理装置が物理的にネットワーク9に接続された状態で、情報処理装置に主電源が投入され、情報処理装置が電気的・機能的にもネットワーク9に接続されると、その情報処理装置の情報処理コントローラのメインプロセッサ21は、制御プログラムに属する各プログラム、およびデバイスドライバに属する各プログラムを、メインメモリ26にロードする。   When the information processing apparatus is physically connected to the network 9 by plugging in a cable or the like, the main power supply is turned on and the information processing apparatus is electrically and functionally connected to the network 9. The main processor 21 of the information processing controller of the information processing apparatus loads each program belonging to the control program and each program belonging to the device driver into the main memory 26.

ロード手順としては、メインプロセッサ21は、まず、DC27に読み出し命令を実行させることによって、外部記録部28からプログラムを読み出し、次に、DMAC25に書き込み命令を実行させることによって、そのプログラムをメインメモリ26に書き込む。   As a loading procedure, the main processor 21 first reads a program from the external recording unit 28 by causing the DC 27 to execute a read command, and then causes the DMAC 25 to execute a write command to load the program into the main memory 26. Write to.

機能プログラムに属する各プログラムについては、必要なときに必要なプログラムだけをロードするように構成してもよく、または、他のカテゴリに属するプログラムと同様に、主電源投入直後に各プログラムをロードするように構成してもよい。   As for each program belonging to the function program, it may be configured to load only the necessary program when necessary, or like the programs belonging to other categories, each program is loaded immediately after the main power is turned on. You may comprise as follows.

機能プログラムに属する各プログラムは、ネットワークに接続された全ての情報処理装置の外部記録部28に記録されている必要はなく、いずれか1つの情報処理装置の外部記録部28に記録されていれば、前述の方法によって他の情報処理装置からロードすることができるので、結果的に図5の下段に示すように、仮想的な1台の情報処理装置7として機能プログラムを実行することができる。   Each program belonging to the function program does not need to be recorded in the external recording unit 28 of all information processing apparatuses connected to the network, but may be recorded in the external recording unit 28 of any one information processing apparatus. Since it can be loaded from another information processing apparatus by the above-described method, as a result, as shown in the lower part of FIG. 5, the function program can be executed as one virtual information processing apparatus 7.

また、前述したように、メインプロセッサ21によって処理される機能プログラムは、サブプロセッサ23によって処理されるサブプロセッサプログラムと連携動作する場合がある。そこで、メインプロセッサ21が外部記録部28から機能プログラムを読み出し、メインメモリ26に書き込む際、対象となる機能プログラムと連携動作するサブプロセッサプログラムが存在する場合には、当該サブプロセッサプログラムも併せて同じメインメモリ26に書き込む。この場合、連携動作するサブプロセッサプログラムは、1個である場合もあるが、複数個であることもあり得る。複数個である場合には、全ての連携動作するサブプロセッサプログラムをメインメモリ26に書き込む。   Further, as described above, the function program processed by the main processor 21 may cooperate with the sub processor program processed by the sub processor 23. Therefore, when the main processor 21 reads the function program from the external recording unit 28 and writes it to the main memory 26, if there is a sub processor program that operates in cooperation with the target function program, the sub processor program is also the same. Write to main memory 26. In this case, there may be one sub-processor program that operates in cooperation, but there may be a plurality of sub-processor programs. If there are a plurality of sub-processor programs that operate in cooperation, the sub-processor programs are written in the main memory 26.

メインメモリ26に書き込まれたサブプロセッサプログラムは、その後、サブプロセッサ23内のLS24に書き込まれ、メインプロセッサ21によって処理される機能プログラムと連携動作する。   The sub processor program written in the main memory 26 is then written in the LS 24 in the sub processor 23 and operates in cooperation with the function program processed by the main processor 21.

図3のソフトウェアセルに示したように、機能プログラムには、プログラムごとにプログラムを一意的に識別できる識別子が、機能プログラムIDとして割り当てられる。機能プログラムIDは、機能プログラムの作成の段階で、作成日時や情報処理装置IDなどから決定される。   As shown in the software cell of FIG. 3, an identifier that can uniquely identify the program for each program is assigned to the function program as the function program ID. The function program ID is determined from the creation date and time, the information processing apparatus ID, and the like at the stage of creating the function program.

サブプロセッサプログラムにもサブプロセッサプログラムIDが割り当てられ、これによりサブプロセッサプログラムを一意的に識別可能である。割り当てられるサブプロセッサプログラムIDは、連携動作の相手となる機能プログラムの機能プログラムIDと関連性のある識別子、例えば機能プログラムIDを親番号とした上で最後尾に枝番号を付加させた識別子でもよいが、連携動作の相手となる機能プログラムの機能プログラムIDとは関連性のない識別子でもよい。   A sub processor program ID is also assigned to the sub processor program, whereby the sub processor program can be uniquely identified. The assigned sub processor program ID may be an identifier related to the function program ID of the function program that is the partner of the cooperative operation, for example, an identifier with the function program ID as a parent number and a branch number added at the end. However, an identifier that is not related to the function program ID of the function program that is the partner of the cooperative operation may be used.

いずれにしても、機能プログラムとサブプロセッサプログラムが連携動作する場合には、両者とも相手の識別子であるプログラムIDを自プログラム内に記憶しておく必要がある。機能プログラムが複数個のサブプロセッサプログラムと連携動作する場合にも、当該機能プログラムは、その複数個のサブプロセッサプログラムのサブプロセッサプログラムIDを全て記憶しておく。   In any case, when the function program and the sub processor program operate in cooperation, it is necessary to store the program ID, which is the other party's identifier, in the own program. Even when the function program operates in cooperation with a plurality of sub-processor programs, the function program stores all the sub-processor program IDs of the plurality of sub-processor programs.

メインプロセッサ21は、自身が動作する情報処理装置の装置情報(動作状態に関する情報)を格納するための領域をメインメモリ26に確保し、当該情報を自装置の装置情報テーブルとして記録する。ここでの装置情報は、図4に示した情報処理装置ID以下の各情報である。   The main processor 21 secures an area for storing device information (information regarding the operation state) of the information processing device on which the main processor 21 operates in the main memory 26, and records the information as a device information table of the own device. The device information here is each piece of information below the information processing device ID shown in FIG.

(2−2.システムにおけるマスター/スレーブの決定)
上述したネットワークシステムでは、ある情報処理装置への主電源投入時、その情報処理装置の情報処理コントローラのメインプロセッサ21は、マスター/スレーブマネージャ(以下、MSマネージャ)をメインメモリ26にロードし、実行する。
(2-2. Determination of master / slave in the system)
In the network system described above, when the main power supply to a certain information processing apparatus is turned on, the main processor 21 of the information processing controller of the information processing apparatus loads a master / slave manager (hereinafter referred to as MS manager) into the main memory 26 and executes it. To do.

MSマネージャは、自身が動作する情報処理装置がネットワーク9に接続されていることを検知すると、同じネットワーク9に接続されている他の情報処理装置の存在を確認する。ここでの「接続」または「存在」は、上述したように、情報処理装置が物理的にネットワーク9に接続されているだけでなく、電気的・機能的にもネットワーク9に接続されていることを示す。   When the MS manager detects that the information processing apparatus on which it operates is connected to the network 9, it confirms the existence of another information processing apparatus connected to the same network 9. The “connection” or “existence” here means that the information processing apparatus is not only physically connected to the network 9 but also electrically and functionally connected to the network 9 as described above. Indicates.

以下では、自身が動作する情報処理装置を自装置、他の情報処理装置を他装置と称する。当該装置も、当該情報処理装置を示すものとする。   Hereinafter, an information processing apparatus in which the device operates is referred to as an own device, and another information processing device is referred to as an other device. The apparatus also indicates the information processing apparatus.

MSマネージャが同じネットワーク9に接続されている他の情報処理装置の存在を確認する方法を、以下に示す。   A method in which the MS manager confirms the existence of another information processing apparatus connected to the same network 9 will be described below.

MSマネージャは、DMAコマンドがステータス要求コマンドであり、送信元IDおよび応答先IDが当該情報処理装置で、送信先IDを特定しないソフトウェアセルを生成して、当該情報処理装置が接続されたネットワーク上に送信し、ネットワーク接続確認用のタイマーを設定する。タイマーのタイムアウト時間は、例えば10分とされる。   The MS manager generates a software cell in which the DMA command is a status request command, the transmission source ID and the response destination ID are the information processing apparatus, and the transmission destination ID is not specified, and the network manager is connected to the information processing apparatus. Set the timer for checking the network connection. The timeout time of the timer is, for example, 10 minutes.

当該ネットワークシステム上に他の情報処理装置が接続されている場合、その他装置は、上記ステータス要求コマンドのソフトウェアセルを受信し、上記応答先IDで特定されるステータス要求コマンドを発行した情報処理装置に対して、DMAコマンドがステータス返信コマンドで、かつデータとして自身(その他装置)の装置情報を含むソフトウェアセルを送信する。このステータス返信コマンドのソフトウェアセルには、少なくとも当該他装置を特定する情報(情報処理装置ID、メインプロセッサに関する情報、サブプロセッサに関する情報など)および当該他装置のMSステータスが含まれる。   When another information processing apparatus is connected to the network system, the other apparatus receives the software cell of the status request command, and sends it to the information processing apparatus that has issued the status request command specified by the response destination ID. On the other hand, the DMA command is a status return command, and a software cell including device information of itself (other device) is transmitted as data. The software cell of this status reply command includes at least information for identifying the other device (information processing device ID, information on the main processor, information on the sub processor, etc.) and the MS status of the other device.

ステータス要求コマンドを発行した情報処理装置のMSマネージャは、上記ネットワーク接続確認用のタイマーがタイムアウトするまで、当該ネットワーク上の他装置から送信されるステータス返信コマンドのソフトウェアセルの受信を監視する。その結果、MSステータス=0(マスター装置)を示すステータス返信コマンドが受信された場合には、自装置の装置情報テーブルにおけるMSステータスを1に設定する。これによって、当該装置はスレーブ装置となる。   The MS manager of the information processing apparatus that has issued the status request command monitors the reception of the software cell of the status reply command transmitted from another apparatus on the network until the timer for network connection confirmation times out. As a result, when the status reply command indicating the MS status = 0 (master device) is received, the MS status in the device information table of the own device is set to 1. As a result, the device becomes a slave device.

一方、上記ネットワーク接続確認用のタイマーがタイムアウトするまでの間にステータス返信コマンドが全く受信されなかった場合、またはMSステータス=0(マスター装置)を示すステータス返信コマンドが受信されなかった場合には、自装置の装置情報テーブルにおけるMSステータスを0に設定する。これによって、当該装置はマスター装置となる。   On the other hand, if no status reply command is received before the network connection confirmation timer times out, or if no status reply command indicating MS status = 0 (master device) is received, The MS status in the device information table of the own device is set to 0. This makes the device a master device.

すなわち、いずれの装置もネットワーク9に接続されていない状態、またはネットワーク9上にマスター装置が存在しない状態において、新たな情報処理装置がネットワーク9に接続されると、当該装置は自動的にマスター装置として設定される。一方、ネットワーク9上に既にマスター装置が存在する状態において、新たな情報処理装置がネットワーク9に接続されると、当該装置は自動的にスレーブ装置として設定される。   That is, if no information processing apparatus is connected to the network 9 in a state where none of the apparatuses is connected to the network 9 or a master apparatus does not exist on the network 9, the apparatus automatically becomes the master apparatus. Set as On the other hand, when a new information processing apparatus is connected to the network 9 in a state where a master apparatus already exists on the network 9, the apparatus is automatically set as a slave apparatus.

マスター装置およびスレーブ装置のいずれについても、MSマネージャは、定期的にステータス要求コマンドをネットワーク9上の他装置に送信してステータス情報を照会することにより、他装置の状況を監視する。その結果、ネットワーク9に接続されている情報処理装置の主電源が遮断され、またはネットワーク9から情報処理装置が切り離されることにより、あらかじめ判定用に設定された所定期間内に特定の他装置からステータス返信コマンドが返信されなかった場合や、ネットワーク9に新たな情報処理装置が接続された場合など、ネットワーク9の接続状態に変化があった場合には、その情報を後述の能力交換プログラムに通知する。   For both the master device and the slave device, the MS manager periodically monitors the status of the other device by sending a status request command to the other device on the network 9 and inquiring status information. As a result, the main power supply of the information processing apparatus connected to the network 9 is cut off or the information processing apparatus is disconnected from the network 9, so that the status from a specific other apparatus within a predetermined period set in advance for determination When there is a change in the connection state of the network 9, such as when a reply command is not returned or when a new information processing apparatus is connected to the network 9, the information is notified to the ability exchange program described later. .

(2−3.マスター装置およびスレーブ装置における装置情報の取得)
メインプロセッサ21は、MSマネージャから、ネットワーク9上の他装置の照会および自装置のMSステータスの設定完了の通知を受けると、能力交換プログラムを実行する。
(2-3. Acquisition of device information in master device and slave device)
When the main processor 21 receives an inquiry from another manager on the network 9 and a notification of completion of setting the MS status of the own apparatus from the MS manager, the main processor 21 executes the capability exchange program.

能力交換プログラムは、自装置がマスター装置である場合には、ネットワーク9に接続されている全ての他装置の装置情報、すなわち各スレーブ装置の装置情報を取得する。   When the own device is a master device, the capability exchange program acquires device information of all other devices connected to the network 9, that is, device information of each slave device.

他装置の装置情報の取得は、上述したように、DMAコマンドがステータス要求コマンドであるソフトウェアセルを生成して他装置に送信し、その後、DMAコマンドがステータス返信コマンドで、かつデータとして他装置の装置情報を含むソフトウェアセルを他装置から受信することによって可能である。   As described above, the device information of another device is generated by generating a software cell in which the DMA command is a status request command and transmitting it to the other device. Thereafter, the DMA command is a status return command and data of the other device. This is possible by receiving a software cell containing device information from another device.

能力交換プログラムは、マスター装置である自装置の装置情報テーブルと同様に、ネットワーク9に接続されている全ての他装置(各スレーブ装置)の装置情報を格納するための領域を自装置のメインメモリ26に確保し、これら情報を他装置(スレーブ装置)の装置情報テーブルとして記録する。   Similar to the device information table of the own device that is the master device, the capability exchange program sets an area for storing device information of all other devices (each slave device) connected to the network 9 as the main memory of the own device. This information is recorded in a device information table of another device (slave device).

すなわち、マスター装置のメインメモリ26には、自装置を含むネットワーク9に接続されている全ての情報処理装置の装置情報が、装置情報テーブルとして記録される。   That is, the device information of all information processing devices connected to the network 9 including the device itself is recorded in the main memory 26 of the master device as a device information table.

一方、能力交換プログラムは、自装置がスレーブ装置である場合には、ネットワーク9に接続されている全ての他装置の装置情報、すなわちマスター装置および自装置以外の各スレーブ装置の装置情報を取得し、これら装置情報に含まれる情報処理装置IDおよびMSステータスを、自装置のメインメモリ26に記録する。   On the other hand, when the own device is a slave device, the capability exchange program obtains device information of all other devices connected to the network 9, that is, device information of each slave device other than the master device and the own device. The information processing device ID and the MS status included in the device information are recorded in the main memory 26 of the own device.

すなわち、スレーブ装置のメインメモリ26には、自装置の装置情報が、装置情報テーブルとして記録されるとともに、自装置以外のネットワーク9に接続されているマスター装置および各スレーブ装置についての情報処理装置IDおよびMSステータスが、別の装置情報テーブルとして記録される。   That is, the device information of the own device is recorded as a device information table in the main memory 26 of the slave device, and the master device connected to the network 9 other than the own device and the information processing device ID for each slave device. And the MS status are recorded as another device information table.

また、マスター装置およびスレーブ装置のいずれについても、能力交換プログラムは、上記のようにMSマネージャから、新たにネットワーク9に情報処理装置が接続されたことが通知されたときには、その情報処理装置の装置情報を取得し、上述したようにメインメモリ26に記録する。   Further, in both the master device and the slave device, when the capability exchange program is notified from the MS manager that the information processing device is newly connected to the network 9, as described above, the device of the information processing device Information is acquired and recorded in the main memory 26 as described above.

なお、MSマネージャおよび能力交換プログラムは、メインプロセッサ21で実行されることに限らず、いずれかのサブプロセッサ23で実行されてもよい。また、MSマネージャおよび能力交換プログラムは、情報処理装置の主電源が投入されている間は常時動作する常駐プログラムであることが望ましい。   Note that the MS manager and the capability exchange program are not limited to being executed by the main processor 21, but may be executed by any of the sub processors 23. The MS manager and the capability exchange program are preferably resident programs that always operate while the main power supply of the information processing apparatus is turned on.

(2−4.情報処理装置がネットワークから切断された場合)
マスター装置およびスレーブ装置のいずれについても、能力交換プログラムは、上記のようにMSマネージャから、ネットワーク9に接続されている情報処理装置の主電源が遮断され、またはネットワーク9から情報処理装置が切り離されたことが通知されたときには、その情報処理装置の装置情報テーブルを自装置のメインメモリ26から削除する。
(2-4. When the information processing apparatus is disconnected from the network)
For both the master device and the slave device, the capability exchange program causes the MS manager to cut off the main power supply of the information processing device connected to the network 9 or disconnect the information processing device from the network 9 as described above. When it is notified, the apparatus information table of the information processing apparatus is deleted from the main memory 26 of the own apparatus.

さらに、このようにネットワーク9から切断された情報処理装置がマスター装置である場合には、以下のような方法によって、新たにマスター装置が決定される。   Further, when the information processing apparatus disconnected from the network 9 is a master apparatus, a new master apparatus is determined by the following method.

具体的に、例えば、ネットワーク9から切断されていない情報処理装置は、それぞれ、自装置および他装置の情報処理装置IDを数値に置き換えて、自装置の情報処理装置IDを他装置の情報処理装置IDと比較し、自装置の情報処理装置IDがネットワーク9から切断されていない情報処理装置中で最小である場合、そのスレーブ装置は、マスター装置に移行して、MSステータスを0に設定し、マスター装置として、上述したように、ネットワーク9に接続されている全ての他装置(各スレーブ装置)の装置情報を取得して、メインメモリ26に記録する。   Specifically, for example, each of the information processing apparatuses that are not disconnected from the network 9 replaces the information processing apparatus ID of the own apparatus and the other apparatus with a numerical value, and sets the information processing apparatus ID of the own apparatus to the information processing apparatus of the other apparatus. If the information processing device ID of the own device is the smallest among the information processing devices that are not disconnected from the network 9 as compared with the ID, the slave device moves to the master device and sets the MS status to 0, As described above, device information of all other devices (each slave device) connected to the network 9 is acquired as a master device and recorded in the main memory 26.

(2−5.装置情報に基づく分散処理)
図5の下段に示したようにネットワーク9に接続されている複数の情報処理装置1,2,3および4を仮想的な1台の情報処理装置7として動作させるためには、マスター装置がユーザの操作およびスレーブ装置の動作状態を把握する必要がある。
(2-5. Distributed processing based on device information)
As shown in the lower part of FIG. 5, in order for a plurality of information processing devices 1, 2, 3, and 4 connected to the network 9 to operate as a single virtual information processing device 7, the master device is a user. It is necessary to understand the operation of the slave device and the operating state of the slave device.

図7に、4台の情報処理装置が仮想的な1台の情報処理装置7として動作する様子を示す。情報処理装置1がマスター装置、情報処理装置2,3および4がスレーブ装置A,BおよびCとして、動作しているものとする。   FIG. 7 shows a state in which four information processing apparatuses operate as one virtual information processing apparatus 7. It is assumed that the information processing apparatus 1 is operating as a master apparatus and the information processing apparatuses 2, 3 and 4 are operating as slave apparatuses A, B and C.

ユーザがネットワーク9に接続されている情報処理装置を操作した場合、操作対象がマスター装置1であれば、その操作情報は、マスター装置1において直接把握され、操作対象がスレーブ装置であれば、その操作情報は、操作されたスレーブ装置からマスター装置1に送信される。すなわち、ユーザの操作対象がマスター装置1とスレーブ装置のいずれであるかにかかわらず、その操作情報は常にマスター装置1において把握される。操作情報の送信は、例えば、DMAコマンドが操作情報送信コマンドであるソフトウェアセルによって行われる。   When the user operates an information processing device connected to the network 9, if the operation target is the master device 1, the operation information is directly grasped by the master device 1, and if the operation target is a slave device, The operation information is transmitted from the operated slave device to the master device 1. That is, regardless of whether the user's operation target is the master device 1 or the slave device, the operation information is always grasped by the master device 1. The operation information is transmitted, for example, by a software cell whose DMA command is an operation information transmission command.

そして、マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、その操作情報に従って、実行する機能プログラムを選択する。その際、必要であれば、マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、上記の方法によって自装置の外部記録部28−1または28−2からメインメモリ26−1に機能プログラムをロードするが、他の情報処理装置(スレーブ装置)がマスター装置1に機能プログラムを送信してもよい。   Then, the main processor 21-1 included in the information processing controller 11 in the master device 1 selects a function program to be executed according to the operation information. At that time, if necessary, the main processor 21-1 included in the information processing controller 11 in the master device 1 may transfer the main memory 26-1 from the external recording unit 28-1 or 28-2 of the own device by the above method. However, another information processing device (slave device) may transmit the function program to the master device 1.

機能プログラムには、その実行単位ごとに必要となる、図4に示した各情報として表される情報処理装置種別ID、メインプロセッサまたはサブプロセッサの処理能力、メインメモリ使用量、外部記録部に関する条件などの、装置に関する要求スペックが規定されている。   In the function program, information processing device type IDs represented as information shown in FIG. 4, main processor or sub-processor processing capacity, main memory usage, and conditions related to the external recording unit are required for each execution unit. The required specifications regarding the device are defined.

マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、各機能プログラムについて必要となる上記要求スペックを読み出す。また、あらかじめ能力交換プログラムによってメインメモリ26−1に記録された装置情報テーブルを参照し、各情報処理装置の装置情報を読み出す。ここでの装置情報は、図4に示した情報処理装置ID以下の各情報を示し、メインプロセッサ、サブプロセッサ、メインメモリおよび外部記録部に関する情報である。   The main processor 21-1 included in the information processing controller 11 in the master device 1 reads out the required specifications necessary for each function program. Also, the device information table of each information processing device is read by referring to the device information table recorded in the main memory 26-1 by the capability exchange program in advance. The device information here indicates each piece of information below the information processing device ID shown in FIG. 4, and is information relating to the main processor, sub processor, main memory, and external recording unit.

マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、ネットワーク9上に接続された各情報処理装置の上記装置情報と、機能プログラム実行に必要となる上記要求スペックとを順次比較する。   The main processor 21-1 included in the information processing controller 11 in the master device 1 sequentially compares the device information of each information processing device connected on the network 9 with the required specifications necessary for executing the function program. To do.

そして、例えば、機能プログラムが録画機能を必要とする場合には、情報処理装置種別IDに基づいて、録画機能を有する情報処理装置のみを特定して抽出する。さらに、機能プログラムを実行するために必要なメインプロセッサまたはサブプロセッサの処理能力、メインメモリ使用量、外部記録部に関する条件を確保できるスレーブ装置を、実行要求候補装置として特定する。ここで、複数の実行要求候補装置が特定された場合には、当該候補装置から1つの実行要求候補装置を特定して選択する。   For example, when the function program requires a recording function, only the information processing apparatus having the recording function is specified and extracted based on the information processing apparatus type ID. Furthermore, a slave device that can secure the conditions regarding the processing capability of the main processor or sub processor, the amount of main memory used, and the external recording unit necessary for executing the function program is specified as an execution request candidate device. Here, when a plurality of execution request candidate devices are specified, one execution request candidate device is specified and selected from the candidate devices.

実行要求するスレーブ装置が特定されたら、マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、その特定されたスレーブ装置について、自装置内の情報処理コントローラ11に含まれるメインメモリ26−1に記録されている当該スレーブ装置の装置情報テーブルを更新する。   When the slave device to be executed is specified, the main processor 21-1 included in the information processing controller 11 in the master device 1 sets the main memory included in the information processing controller 11 in the own device for the specified slave device. The device information table of the slave device recorded in 26-1 is updated.

さらに、マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、DMAコマンドが機能プログラム実行コマンドであるソフトウェアセルを生成し、当該ソフトウェアセルのセルインターフェースに、当該機能プログラムに関する必要なサブプロセッサの情報およびサンドボックスサイズ(図3参照)を設定して、上記実行要求されるスレーブ装置に対して送信する。   Further, the main processor 21-1 included in the information processing controller 11 in the master device 1 generates a software cell whose DMA command is a function program execution command, and the cell interface of the software cell needs a function program related to the function program. The sub-processor information and the sandbox size (see FIG. 3) are set and transmitted to the slave device requested to execute.

機能プログラムの実行を要求されたスレーブ装置は、その機能プログラムを実行するとともに、自装置の装置情報テーブルを更新する。その際、必要であれば、スレーブ装置内の情報処理コントローラに含まれるメインプロセッサ21は、上記の方法によって自装置の外部記録部28からメインメモリ26に機能プログラムおよび当該機能プログラムと連携動作するサブプロセッサプログラムをロードする。   The slave device requested to execute the function program executes the function program and updates the device information table of the own device. At that time, if necessary, the main processor 21 included in the information processing controller in the slave device, from the external recording unit 28 of the own device to the main memory 26 by the above method, the function program and the sub-operation that operates in cooperation with the function program. Load the processor program.

機能プログラムの実行を要求されたスレーブ装置の外部記録部28に、必要な機能プログラムまたは当該機能プログラムと連携動作するサブプロセッサプログラムが記録されていない場合には、他の情報処理装置が当該機能プログラムまたはサブプロセッサプログラムを、その機能プログラム実行要求先スレーブ装置に送信するように、システムを構成すればよい。   When the required function program or the sub processor program that operates in cooperation with the function program is not recorded in the external recording unit 28 of the slave device requested to execute the function program, the other information processing apparatus Alternatively, the system may be configured so that the sub processor program is transmitted to the function program execution request destination slave device.

サブプロセッサプログラムについては、前述のロードコマンドおよびキックコマンドを利用して他の情報処理装置に実行させることもできる。   The sub-processor program can be executed by another information processing apparatus using the aforementioned load command and kick command.

機能プログラムの実行終了後、機能プログラムを実行したスレーブ装置内の情報処理コントローラに含まれるメインプロセッサ21は、終了通知をマスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1に送信するとともに、自装置の装置情報テーブルを更新する。マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、その終了通知を受信して、機能プログラムを実行したスレーブ装置の装置情報テーブルを更新する。   After the execution of the function program, the main processor 21 included in the information processing controller in the slave device that has executed the function program transmits an end notification to the main processor 21-1 included in the information processing controller 11 in the master device 1. At the same time, the device information table of the own device is updated. The main processor 21-1 included in the information processing controller 11 in the master device 1 receives the end notification and updates the device information table of the slave device that has executed the function program.

マスター装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、自装置および他装置の装置情報テーブルの参照結果から、当該の機能プログラムを実行することができる情報処理装置として、自身を選択する場合もあり得る。その場合には、マスター装置1が当該の機能プログラムを実行する。   The main processor 21-1 included in the information processing controller 11 in the master device 1 identifies itself as an information processing device that can execute the function program from the reference result of the device information table of the own device and the other device. There is also a case of selecting. In that case, the master device 1 executes the function program.

図7の例で、ユーザがスレーブ装置A(情報処理装置2)を操作し、当該操作に応じた機能プログラムを別のスレーブ装置B(情報処理装置3)が実行する場合につき、図8に以上の分散処理の例を示す。   In the example of FIG. 7, the case where the user operates the slave device A (information processing device 2) and another slave device B (information processing device 3) executes a function program corresponding to the operation will be described with reference to FIG. An example of distributed processing is shown.

図8の例では、ユーザがスレーブ装置Aを操作することによって、スレーブ装置Aを含むネットワークシステム全体の分散処理が開始して、まず、スレーブ装置Aは、ステップ81で、その操作情報をマスター装置1に送信する。   In the example of FIG. 8, when the user operates the slave device A, distributed processing of the entire network system including the slave device A starts. First, in step 81, the slave device A transmits the operation information to the master device. 1 to send.

マスター装置1は、ステップ72で、その操作情報を受信し、さらにステップ73に進んで、自装置のメインメモリ26−1に記録されている自装置および他装置の装置情報テーブルから、各情報処理装置の動作状態を調べて、受信した操作情報に応じた機能プログラムを実行することができる情報処理装置を選択する。この例は、スレーブ装置Bが選択される場合である。   In step 72, the master device 1 receives the operation information, and further proceeds to step 73, where each information processing is performed from the device information table of the own device and other devices recorded in the main memory 26-1 of the own device. The operating state of the apparatus is checked, and an information processing apparatus that can execute a function program corresponding to the received operation information is selected. This example is a case where the slave device B is selected.

次に、マスター装置1は、ステップ74で、その選択したスレーブ装置Bに対して機能プログラムの実行を要求する。   Next, in step 74, the master device 1 requests the selected slave device B to execute the function program.

スレーブ装置Bは、ステップ95で、その実行要求を受信し、さらにステップ96に進んで、実行要求された機能プログラムを実行する。   In step 95, the slave device B receives the execution request, and further proceeds to step 96 to execute the function program requested to be executed.

以上のように、ユーザは、1台の情報処理装置のみを操作することによって、他の情報処理装置を操作することなく、複数の情報処理装置1,2,3および4を仮想的な1台の情報処理装置7として動作させることができる。   As described above, by operating only one information processing apparatus, the user operates a plurality of information processing apparatuses 1, 2, 3, and 4 in a virtual one without operating other information processing apparatuses. The information processing apparatus 7 can be operated.

(2−6.各情報処理装置およびシステムの具体例)
ネットワーク9を介して互いに接続される情報処理装置1,2,3および4は、基本的に上記のような情報処理コントローラ11,12,13および14によって情報処理を行うものであれば、どのようなものでもよいが、図9に、その一例を示す。
(2-6. Specific examples of information processing apparatuses and systems)
The information processing apparatuses 1, 2, 3 and 4 connected to each other via the network 9 are basically any ones that perform information processing by the information processing controllers 11, 12, 13 and 14 as described above. An example is shown in FIG.

この例では、情報処理コントローラ11を備える情報処理装置1は、ハードディスクレコーダで、図10に示すように、ハードウェア構成としては、図1に示した外部記録部28−1として、ハードディスクを内蔵し、図1に示した外部記録部28−2として、DVD±R/RW、CD±R/RW、Blu−rayDisc(登録商標)などの光ディスクを装着できるように構成されるとともに、情報処理コントローラ11のバス29−1に接続されたバス31−1に、放送受信部32−1、映像入力部33−1、音声入力部34−1、映像出力部35−1、音声出力部36−1、操作パネル部37−1、リモコン受光部38−1およびネットワーク接続部39−1が接続されたものである。   In this example, the information processing apparatus 1 including the information processing controller 11 is a hard disk recorder. As shown in FIG. 10, the hardware configuration is a built-in hard disk as the external recording unit 28-1 shown in FIG. As the external recording unit 28-2 shown in FIG. 1, an optical disc such as DVD ± R / RW, CD ± R / RW, Blu-ray Disc (registered trademark) can be mounted, and the information processing controller 11 The bus 31-1 connected to the bus 29-1 includes a broadcast receiving unit 32-1, a video input unit 33-1, an audio input unit 34-1, a video output unit 35-1, an audio output unit 36-1, The operation panel unit 37-1, the remote control light receiving unit 38-1, and the network connection unit 39-1 are connected.

放送受信部32−1、映像入力部33−1および音声入力部34−1は、放送信号を受信し、または情報処理装置1の外部から映像信号および音声信号を入力し、それぞれ所定フォーマットのデジタルデータに変換して、情報処理コントローラ11での処理のためにバス31−1に送出するものであり、映像出力部35−1および音声出力部36−1は、情報処理コントローラ11からバス31−1に送出された映像データおよび音声データを処理して、デジタルデータのまま、またはアナログ信号に変換して、情報処理装置1の外部に送出するものであり、リモコン受光部38−1は、リモコン送信器43−1からのリモコン(遠隔操作)赤外線信号を受信するものである。   The broadcast receiving unit 32-1, the video input unit 33-1 and the audio input unit 34-1 receive a broadcast signal or input a video signal and an audio signal from the outside of the information processing apparatus 1, and each has a digital format of a predetermined format. The data is converted into data and sent to the bus 31-1 for processing by the information processing controller 11. The video output unit 35-1 and the audio output unit 36-1 are transferred from the information processing controller 11 to the bus 31-. The video data and the audio data sent to 1 are processed, converted into digital data or converted into analog signals, and sent to the outside of the information processing apparatus 1. The remote control (remote operation) infrared signal is received from the transmitter 43-1.

図9および図10に示すように、情報処理装置(ハードディスクレコーダ)1の映像出力部35−1および音声出力部36−1には、モニタ表示装置41およびスピーカ装置42が接続される。   As shown in FIGS. 9 and 10, a monitor display device 41 and a speaker device 42 are connected to the video output unit 35-1 and the audio output unit 36-1 of the information processing apparatus (hard disk recorder) 1.

図9の例の、情報処理コントローラ12を備える情報処理装置2も、ハードディスクレコーダで、図10において括弧内に参照番号を付して示すように、情報処理装置1と同様に構成されたものである。ただし、例えば、図9に示すように、情報処理装置(ハードディスクレコーダ)2には、モニタ表示装置およびスピーカ装置は接続されない。   The information processing apparatus 2 including the information processing controller 12 in the example of FIG. 9 is also a hard disk recorder and is configured in the same manner as the information processing apparatus 1 as indicated by reference numerals in parentheses in FIG. is there. However, for example, as shown in FIG. 9, a monitor display device and a speaker device are not connected to the information processing device (hard disk recorder) 2.

情報処理装置(ハードディスクレコーダ)1および2、すなわち情報処理コントローラ11および12のソフトウェア構成としては、図11に示すように、制御プログラムとして、MSマネージャおよび能力交換プログラムを備え、機能プログラムとして、映像音声記録、映像音声再生、素材検索および番組録画予約のためのプログラムを備え、デバイスドライバとして、放送受信、映像出力、音声出力、外部記録部入出力およびネットワーク入出力のためのプログラムを備える。   As shown in FIG. 11, the software configuration of the information processing apparatuses (hard disk recorders) 1 and 2, that is, the information processing controllers 11 and 12, includes an MS manager and a capability exchange program as control programs, and video and audio as function programs. Programs for recording, video / audio playback, material search and program recording reservation are provided, and programs for broadcast reception, video output, audio output, external recording unit input / output and network input / output are provided as device drivers.

図9の例の、情報処理コントローラ13を備える情報処理装置3は、PDA(Personal Digital Assistants)で、図12に示すように、ハードウェア構成としては、図1に示した外部記録部28−5として、メモリカードディスクを装着できるように構成されるとともに、情報処理コントローラ13のバス29−3に接続されたバス51に、液晶表示部52、音声出力部53、カメラ部54、音声入力部55、キーボード部56およびネットワーク接続部57が接続されたものである。   The information processing apparatus 3 including the information processing controller 13 in the example of FIG. 9 is a PDA (Personal Digital Assistant), and as illustrated in FIG. 12, the hardware configuration is the external recording unit 28-5 illustrated in FIG. The memory card disk is configured so that it can be mounted, and the liquid crystal display unit 52, the audio output unit 53, the camera unit 54, and the audio input unit 55 are connected to the bus 51 connected to the bus 29-3 of the information processing controller 13. The keyboard unit 56 and the network connection unit 57 are connected.

なお、図1では内部を省略した情報処理コントローラ13は、メインプロセッサ21−3、サブプロセッサ23−7,23−8および23−9、DMAC(ダイレクトメモリアクセスコントローラ)25−3、DC(ディスクコントローラ)27−3、およびバス29−3を備え、そのメインプロセッサ21−3は、LS(ローカルストレージ)22−3を有し、各サブプロセッサ23−7,23−8および23−9は、LS(ローカルストレージ)24−7,24−8および24−9を有する。   1, the information processing controller 13 whose internals are omitted is a main processor 21-3, sub processors 23-7, 23-8 and 23-9, a DMAC (direct memory access controller) 25-3, a DC (disk controller). ) 27-3 and the bus 29-3, the main processor 21-3 has an LS (local storage) 22-3, and each of the sub processors 23-7, 23-8 and 23-9 has an LS (Local storage) 24-7, 24-8 and 24-9.

情報処理装置(PDA)3、すなわち情報処理コントローラ13のソフトウェア構成としては、図13に示すように、制御プログラムとして、MSマネージャおよび能力交換プログラムを備え、機能プログラムとして、映像音声記録、映像音声再生、電話帳、ワープロおよび表計算のためのプログラム、およびWebブラウザを備え、デバイスドライバとして、映像出力、音声出力、カメラ映像入力、マイク音声入力およびネットワーク入出力のためのプログラムを備える。   As shown in FIG. 13, the software configuration of the information processing apparatus (PDA) 3, that is, the information processing controller 13, includes an MS manager and a capability exchange program as a control program, and video / audio recording and video / audio reproduction as function programs. , A phone book, a word processor and a spreadsheet program, and a Web browser, and device drivers include video output, audio output, camera video input, microphone audio input, and network input / output programs.

図9の例の、情報処理コントローラ14を備える情報処理装置4は、ポータブルCDプレーヤで、図14に示すように、ハードウェア構成としては、図1に示した外部記録部28−6として、CD(Compact Disc)を装着できるように構成されるとともに、情報処理コントローラ14のバス29−4に接続されたバス61に、液晶表示部62、音声出力部63、操作ボタン部64およびネットワーク接続部65が接続されたものである。   The information processing apparatus 4 including the information processing controller 14 in the example of FIG. 9 is a portable CD player. As shown in FIG. 14, the hardware configuration is a CD as the external recording unit 28-6 shown in FIG. (Compact Disc) can be mounted, and the liquid crystal display unit 62, the audio output unit 63, the operation button unit 64, and the network connection unit 65 are connected to the bus 61 connected to the bus 29-4 of the information processing controller 14. Are connected.

なお、図1では内部を省略した情報処理コントローラ14は、メインプロセッサ21−4、サブプロセッサ23−10,23−11および23−12、DMAC(ダイレクトメモリアクセスコントローラ)25−4、DC(ディスクコントローラ)27−4、およびバス29−4を備え、そのメインプロセッサ21−4は、LS(ローカルストレージ)22−4を有し、各サブプロセッサ23−10,23−11および23−12は、LS(ローカルストレージ)24−10,24−11および24−12を有する。   1, the information processing controller 14 whose interior is omitted is a main processor 21-4, sub processors 23-10, 23-11 and 23-12, a DMAC (direct memory access controller) 25-4, and a DC (disk controller). ) 27-4, and a bus 29-4, the main processor 21-4 has an LS (local storage) 22-4, and each of the sub processors 23-10, 23-11 and 23-12 has an LS (Local Storage) 24-10, 24-11 and 24-12.

情報処理装置(ポータブルCDプレーヤ)4、すなわち情報処理コントローラ14のソフトウェア構成としては、図15に示すように、制御プログラムとして、MSマネージャおよび能力交換プログラムを備え、機能プログラムとして、音楽再生のためのプログラムを備え、デバイスドライバとして、音声出力、CD制御およびネットワーク入出力のためのプログラムを備える。   As shown in FIG. 15, the software configuration of the information processing apparatus (portable CD player) 4, that is, the information processing controller 14, includes an MS manager and a capability exchange program as a control program, and a function program for playing music. A program for audio output, CD control, and network input / output is provided as a device driver.

以上のような図9の例のネットワークシステムにおいて、情報処理装置1,3および4がネットワーク9上に接続されており、情報処理装置1がマスター装置(MSステータス=0)として、情報処理装置3および4がスレーブ装置(MSステータス=1)として、設定されているものとする。   In the network system of the example of FIG. 9 as described above, the information processing devices 1, 3 and 4 are connected to the network 9, and the information processing device 1 is the master device (MS status = 0). And 4 are set as slave devices (MS status = 1).

この状態で、新たに情報処理装置2がネットワーク9に接続されると、上述した方法によって、情報処理装置2内の情報処理コントローラ12に含まれるメインプロセッサ21−2で実行されているMSマネージャは、他の情報処理装置1,3および4にMSステータスを照会して、情報処理装置1が既にマスター装置として存在することを認識し、自装置(情報処理装置2)をスレーブ装置(MSステータス=1)に設定する。また、マスター装置に設定されている情報処理装置1は、新たに追加された情報処理装置2を含む各装置の装置情報を収集して、メインメモリ26−1内の装置情報テーブルを更新する。   In this state, when the information processing apparatus 2 is newly connected to the network 9, the MS manager executed by the main processor 21-2 included in the information processing controller 12 in the information processing apparatus 2 is The other information processing devices 1, 3 and 4 are inquired about the MS status, recognizes that the information processing device 1 already exists as a master device, and sets its own device (information processing device 2) as a slave device (MS status = Set to 1). Further, the information processing device 1 set as the master device collects device information of each device including the newly added information processing device 2 and updates the device information table in the main memory 26-1.

このような状態で、ユーザによってスレーブ装置である情報処理装置(PDA)3で2時間の放送番組の録画予約の操作が行われた場合を示す。   In this state, a case where a user performs an operation for recording reservation of a broadcast program for 2 hours in the information processing apparatus (PDA) 3 as a slave apparatus is shown.

この場合、スレーブ装置である情報処理装置(PDA)3は、ユーザから録画開始時刻、録画終了時刻、録画対象放送チャネル、録画品質などの情報を含む録画予約情報の入力を受け付け、当該録画予約情報およびDMAコマンドとしての録画予約コマンドを含むソフトウェアセルを生成して、マスター装置である情報処理装置1に送信する。   In this case, the information processing apparatus (PDA) 3 which is a slave apparatus receives input of recording reservation information including information such as a recording start time, a recording end time, a recording target broadcast channel, and recording quality from the user, and the recording reservation information And a software cell including a recording reservation command as a DMA command is generated and transmitted to the information processing apparatus 1 which is a master apparatus.

DMAコマンドが録画予約コマンドであるソフトウェアセルを受信した情報処理装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、録画予約コマンドを読み出すとともに、メインメモリ26−1内の装置情報テーブルを参照して、当該録画予約コマンドを実行可能な情報処理装置を特定する。   The main processor 21-1 included in the information processing controller 11 in the information processing apparatus 1 that has received the software cell whose DMA command is the recording reservation command reads out the recording reservation command and also stores the apparatus information table in the main memory 26-1. The information processing apparatus that can execute the recording reservation command is specified.

まず、メインプロセッサ21−1は、装置情報テーブルに含まれる各情報処理装置1,2,3および4の情報処理装置種別IDを読み出して、録画予約コマンドに対応する機能プログラムを実行可能な情報処理装置を抽出する。ここでは、録画機能を示す情報処理装置種別IDを有する情報処理装置1および2が候補装置として特定され、情報処理装置3および4は候補装置から除外される。   First, the main processor 21-1 reads information processing device type IDs of the information processing devices 1, 2, 3, and 4 included in the device information table and can execute a function program corresponding to the recording reservation command. Extract the device. Here, the information processing devices 1 and 2 having the information processing device type ID indicating the recording function are specified as candidate devices, and the information processing devices 3 and 4 are excluded from the candidate devices.

次に、マスター装置である情報処理装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、装置情報テーブルを参照して、情報処理装置1および2のメインプロセッサまたはサブプロセッサの処理能力、メインメモリに関する情報などの、装置に関する情報を読み出し、情報処理装置1および2が録画予約コマンドに対応する機能プログラムの実行に必要な要求スペックを満足するか否かを判断する。ここでは、情報処理装置1,2とも、録画予約コマンドに対応する機能プログラムの実行に必要な要求スペックを満足するものとする。   Next, the main processor 21-1 included in the information processing controller 11 in the information processing apparatus 1 that is the master apparatus refers to the apparatus information table, and the processing capability of the main processor or sub-processor of the information processing apparatuses 1 and 2. Then, information related to the device such as information related to the main memory is read out, and it is determined whether or not the information processing devices 1 and 2 satisfy the required specifications necessary for executing the function program corresponding to the recording reservation command. Here, it is assumed that both the information processing apparatuses 1 and 2 satisfy the required specifications necessary for executing the function program corresponding to the recording reservation command.

さらに、メインプロセッサ21−1は、装置情報テーブルを参照して、情報処理装置1および2の外部記録部に関する情報を読み出し、外部記録部の空き容量が当該録画予約コマンドの実行に必要な容量を満足するか否かを判断する。情報処理装置1および2はハードディスクレコーダであるので、それぞれハードディスク28−1および28−3の、総容量と使用量との差分が、それぞれの空き容量に相当する。   Further, the main processor 21-1 refers to the device information table, reads information related to the external recording units of the information processing apparatuses 1 and 2, and determines that the free capacity of the external recording unit is necessary for executing the recording reservation command. Determine if you are satisfied. Since the information processing apparatuses 1 and 2 are hard disk recorders, the difference between the total capacity and the usage of the hard disks 28-1 and 28-3 corresponds to the respective free capacity.

この場合、情報処理装置1のハードディスク28−1の空き容量が、録画時間に換算して10分であり、情報処理装置2のハードディスク28−3の空き容量が、録画時間に換算して20時間であるとする。   In this case, the free capacity of the hard disk 28-1 of the information processing apparatus 1 is 10 minutes in terms of recording time, and the free capacity of the hard disk 28-3 of the information processing apparatus 2 is 20 hours in terms of recording time. Suppose that

このとき、マスター装置である情報処理装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、当該録画予約コマンドの実行に必要な2時間分の空き容量を確保できる情報処理装置を、実行要求先スレーブ装置として特定する。   At this time, the main processor 21-1 included in the information processing controller 11 in the information processing apparatus 1 that is the master apparatus is an information processing apparatus that can secure a free space for two hours necessary for execution of the recording reservation command. Identifies as an execution request destination slave device.

その結果、情報処理装置2のみが実行要求先スレーブ装置として選択され、マスター装置である情報処理装置1内の情報処理コントローラ11に含まれるメインプロセッサ21−1は、ユーザにより操作された情報処理装置3から送信された録画予約情報を含む当該録画予約コマンドを情報処理装置2に送信して、上記2時間の放送番組の録画予約の実行を要求する。   As a result, only the information processing device 2 is selected as the execution request destination slave device, and the main processor 21-1 included in the information processing controller 11 in the information processing device 1 that is the master device receives the information processing device operated by the user. The recording reservation command including the recording reservation information transmitted from 3 is transmitted to the information processing device 2 to request execution of the recording reservation of the broadcast program for 2 hours.

そして、情報処理装置2内の情報処理コントローラ12に含まれるメインプロセッサ21−2は、当該録画予約コマンドを解析して、録画に必要な機能プログラムを外部記録部であるハードディスク28−3からメインメモリ26−2にロードし、録画予約情報に従って録画を実行する。その結果、録画予約された2時間の放送番組の映像音声データが情報処理装置2のハードディスク28−3に記録される。   Then, the main processor 21-2 included in the information processing controller 12 in the information processing apparatus 2 analyzes the recording reservation command and sends a function program necessary for recording from the hard disk 28-3 as an external recording unit to the main memory. 26-2, and recording is performed according to the recording reservation information. As a result, the video / audio data of the 2-hour broadcast program reserved for recording is recorded in the hard disk 28-3 of the information processing apparatus 2.

このように、図9の例のネットワークシステムにおいても、ユーザは、1台の情報処理装置のみを操作することによって、他の情報処理装置を操作することなく、複数の情報処理装置1,2,3および4を仮想的な1台の情報処理装置7として動作させることができる。   As described above, also in the network system of the example of FIG. 9, the user operates only one information processing apparatus, and operates a plurality of information processing apparatuses 1, 2, 2 without operating other information processing apparatuses. 3 and 4 can be operated as one virtual information processing apparatus 7.

[3.ネットワークシステムおよび情報処理装置の基本的構成その2]
図16は、この発明のネットワークシステムの他の例を示し、ネットワーク1009を介して複数の情報処理装置1001,1002,1003および1004が接続されたものである。
[3. Basic configuration of network system and information processing apparatus 2]
FIG. 16 shows another example of the network system of the present invention, in which a plurality of information processing apparatuses 1001, 1002, 1003 and 1004 are connected via a network 1009.

(3−1.情報処理装置および情報処理コントローラ)
情報処理装置1001,1002,1003および1004は、それぞれ後述のような各種のAV(Audio and Visual)機器やポータブル機器である。
(3-1. Information processing apparatus and information processing controller)
The information processing apparatuses 1001, 1002, 1003, and 1004 are various AV (Audio and Visual) devices and portable devices as described below.

情報処理装置1001について示すと、情報処理装置1001は、コンピュータ機能部として情報処理コントローラ1011を備える。情報処理コントローラ1011は、メインプロセッサ1021−1、サブプロセッサ1023−1,1023−2および1023−3、DMAC(ダイレクトメモリアクセスコントローラ)1025−1、コントロールレジスタ1028−1、ワークメモリ1029−1、およびDC(ディスクコントローラ)1030−1を有する。   As for the information processing apparatus 1001, the information processing apparatus 1001 includes an information processing controller 1011 as a computer function unit. The information processing controller 1011 includes a main processor 1021-1, sub processors 1023-1, 1023-2, and 1023-3, a DMAC (direct memory access controller) 1025-1, a control register 1028-1, a work memory 1029-1, and A DC (disk controller) 1030-1 is included.

メインプロセッサ1021−1は、サブプロセッサ1023−1,1023−2および1023−3によるサブプロセッサプログラムの実行(データ処理)のスケジュール管理と、情報処理コントローラ1011(情報処理装置1001)の全般的な管理とを行う。ただし、メインプロセッサ1021−1内で管理のためのプログラム以外のプログラムが動作するように構成することもできる。その場合には、メインプロセッサ1021−1はサブプロセッサとしても機能することになる。メインプロセッサ1021−1は、LS(ローカルストレージ)1022−1を有する。   The main processor 1021-1 performs schedule management of execution (data processing) of sub processor programs by the sub processors 1023-1, 1023-2, and 1023-3, and general management of the information processing controller 1011 (information processing apparatus 1001). And do. However, the main processor 1021-1 may be configured to operate a program other than the management program. In that case, the main processor 1021-1 also functions as a sub processor. The main processor 1021-1 has an LS (local storage) 1022-1.

サブプロセッサは、1つでもよいが、望ましくは複数とする。この例は、複数の場合である。   There may be one sub-processor, but preferably there are a plurality of sub-processors. This example is a plurality of cases.

各サブプロセッサ1023−1,1023−2および1023−3は、メインプロセッサ1021−1の制御によって並列的かつ独立に、サブプロセッサプログラムを実行し、データを処理する。さらに、場合によってメインプロセッサ1021−1内のプログラムがサブプロセッサ1023−1,1023−2または1023−3内のサブプロセッサプログラムと連携して動作するように構成することもできる。後述する機能プログラムも、メインプロセッサ1021−1内で動作するプログラムである。各サブプロセッサ1023−1,1023−2および1023−3も、LS(ローカルストレージ)1024−1,1024−2および1024−3を有する。   Each of the sub processors 1023-1, 1023-2, and 1023-3 executes the sub processor program and processes data in parallel and independently under the control of the main processor 1021-1. Further, in some cases, the program in the main processor 1021-1 may be configured to operate in cooperation with the sub processor program in the sub processor 1023-1, 1023-2, or 1023-3. A function program described later is also a program that operates in the main processor 1021-1. Each of the sub processors 1023-1, 1023-2, and 1023-3 also has LS (local storage) 1024-1, 1024-2, and 1024-3.

DMAC1025−1は、それぞれ情報処理コントローラ1011に接続された、DRAM(ダイナミックRAM)などからなるメインメモリ1026−1およびSRAM(スタティックRAM)などからなるサブメモリ1027−1に格納されているプログラムおよびデータにアクセスするためのものである。DMAC1025−1を介すことにより、各サブプロセッサとメインメモリ1026−1との間ではDMA方式によりデータ転送を行うことができ、高速化を実現することができる。   The DMAC 1025-1 is a program and data stored in the main memory 1026-1 made of DRAM (dynamic RAM) and the sub memory 1027-1 made of SRAM (static RAM), etc., respectively connected to the information processing controller 1011. Is for accessing. Through the DMAC 1025-1, data can be transferred between each sub-processor and the main memory 1026-1 by the DMA method, and high speed can be realized.

コントロールレジスタ1028−1は、情報処理コントローラ1011内で処理されるべきサブプロセッサプログラムを、どのサブプロセッサが、さらにはサブプロセッサ内に複数個存在する後述のプレセッシングスレッドのいずれが、処理するかを決定するとともに、サブプロセッサによるサブプロセッサプログラム実行の進捗を管理するために使用される。   The control register 1028-1 determines which sub-processor program to be processed in the information processing controller 1011 is processed by which sub-processor, and moreover, a later-described processing thread existing in the sub-processor. And is used to manage the progress of the sub processor program execution by the sub processor.

ワークメモリ1029−1は、情報処理コントローラ1011内に含まれるSRAMなどからなる作業用メモリであり、メインプロセッサ1021−1、およびサブプロセッサ1023−1,1023−2および1023−3によってアクセスされる。   The work memory 1029-1 is a work memory including an SRAM included in the information processing controller 1011 and is accessed by the main processor 1021-1 and the sub processors 1023-1, 1023-2, and 1023-3.

DC1030−1は、情報処理コントローラ1011に接続された外部記録部1031−1および1031−2にアクセスするものである。   The DC 1030-1 accesses the external recording units 1031-1 and 1031-2 connected to the information processing controller 1011.

外部記録部1031−1および1031−2は、固定ディスク(ハードディスク)でも、リムーバブルディスクでもよく、また、MO,CD±RW,DVD±RWなどの光ディスク、メモリディスク、SRAM(スタティックRAM)、ROMなど、各種のものを用いることができる。したがって、DC1030−1は、ディスクコントローラと称するが、外部記録部コントローラである。   The external recording units 1031-1 and 1031-2 may be fixed disks (hard disks) or removable disks, and optical disks such as MO, CD ± RW, DVD ± RW, memory disks, SRAM (static RAM), ROM, etc. Various types can be used. Therefore, the DC 1030-1 is called a disk controller, but is an external recording unit controller.

図16の例のように、情報処理コントローラ1011に対して外部記録部1031を複数接続できるように、情報処理コントローラ1011を構成することができる。   As in the example of FIG. 16, the information processing controller 1011 can be configured such that a plurality of external recording units 1031 can be connected to the information processing controller 1011.

メインプロセッサ1021−1、各サブプロセッサ1023−1,1023−2および1023−3、DMAC1025−1、コントロールレジスタ1028−1、ワークメモリ1029−1、およびDC1030−1は、バス1032−1によって接続される。   The main processor 1021-1, the sub processors 1023-1, 1023-2, and 1023-3, the DMAC 1025-1, the control register 1028-1, the work memory 1029-1, and the DC 1030-1 are connected by a bus 1032-1. The

情報処理コントローラ1011には、当該の情報処理コントローラ1011を備える情報処理装置1001をネットワーク全体を通して一意的に識別できる識別子が、情報処理装置IDとして割り当てられる。   An identifier capable of uniquely identifying the information processing apparatus 1001 including the information processing controller 1011 throughout the entire network is assigned to the information processing controller 1011 as the information processing apparatus ID.

メインプロセッサ1021−1、および各サブプロセッサ1023−1,1023−2および1023−3に対しても同様に、それぞれを特定できる識別子が、メインプロセッサIDおよびサブプロセッサIDとして割り当てられる。   Similarly, identifiers that can specify the main processor 1021-1 and the sub processors 1023-1, 1023-2, and 1023-3 are assigned as the main processor ID and the sub processor ID.

情報処理コントローラ1011は、ワンチップIC(集積回路)として構成することが望ましい。   The information processing controller 1011 is preferably configured as a one-chip IC (integrated circuit).

他の情報処理装置1002,1003および1004も、同様に構成される。ここで、親番号が同一であるユニットは、枝番号が異なっていても、特に断りがない限り、同じ働きをするものとする。また、以下の説明において枝番号が省略されている場合には、枝番号の違いにいる差異を生じないものとする。   The other information processing apparatuses 1002, 1003 and 1004 are configured similarly. Here, units having the same parent number perform the same function even if the branch numbers are different, unless otherwise specified. Further, in the following description, when the branch number is omitted, it is assumed that the difference in the branch number does not occur.

(3−2.各サブプロセッサからメインメモリへのアクセス)
上述したように、1つの情報処理コントローラ内の各サブプロセッサ1023は、独立にサブプロセッサプログラムを実行し、データを処理するが、異なるサブプロセッサがメインメモリ1026内の同一領域に対して同時に読み出しまたは書き込みを行った場合には、データの不整合を生じ得る。そこで、サブプロセッサ1023からメインメモリ1026へのアクセスは、以下のような手順によって行う。
(3-2. Access to main memory from each sub processor)
As described above, each sub-processor 1023 in one information processing controller independently executes a sub-processor program and processes data, but different sub-processors can read or write simultaneously to the same area in the main memory 1026. When writing is performed, data mismatch may occur. Therefore, access from the sub processor 1023 to the main memory 1026 is performed according to the following procedure.

サブメモリ1027およびワークメモリ1029についても同様に、異なるサブプロセッサが同一領域に対して同時にアクセスすることが考えられるが、ここでは、メインメモリ1026について示す。   Similarly, regarding the sub memory 1027 and the work memory 1029, it is conceivable that different sub processors simultaneously access the same area. Here, the main memory 1026 is shown.

図17(A)に示すように、メインメモリ1026は、アドレス指定可能な複数のメモリロケーション0〜Nによって構成される。各メモリロケーションに対しては、データの状態を示す情報を格納するための追加セグメント0〜Nが割り振られる。追加セグメントは、F/Eビット、サブプロセッサIDおよびLSアドレス(ローカルストレージアドレス)を含むものとされる。また、各メモリロケーションには、後述のアクセスキー0〜Nも割り振られる。F/Eビットは、以下のように定義される。   As shown in FIG. 17A, the main memory 1026 includes a plurality of addressable memory locations 0 to N. For each memory location, additional segments 0 to N for storing information indicating the state of data are allocated. The additional segment includes an F / E bit, a sub processor ID, and an LS address (local storage address). In addition, access keys 0 to N described later are also assigned to each memory location. The F / E bit is defined as follows.

F/Eビット=0は、サブプロセッサ1023によって読み出されている処理中のデータ、または空き状態であるため最新データではない無効データであり、読み出し不可であることを示す。また、F/Eビット=0は、当該メモリロケーションにデータ書き込み可能であることを示し、書き込み後に1に設定される。   The F / E bit = 0 indicates that data being processed being read by the sub-processor 1023 or invalid data that is not the latest data because it is empty, and cannot be read. The F / E bit = 0 indicates that data can be written to the memory location, and is set to 1 after writing.

F/Eビット=1は、当該メモリロケーションのデータがサブプロセッサ1023によって読み出されておらず、未処理の最新データであることを示す。当該メモリロケーションのデータは読み出し可能であり、サブプロセッサ1023によって読み出された後に0に設定される。また、F/Eビット=1は、当該メモリロケーションがデータ書き込み不可であることを示す。   The F / E bit = 1 indicates that the data in the memory location is not read by the sub processor 1023 and is the latest unprocessed data. The data in the memory location can be read and set to 0 after being read by the sub processor 1023. Further, the F / E bit = 1 indicates that the memory location cannot write data.

さらに、上記F/Eビット=0(読み出し不可/書き込み可)の状態において、当該メモリロケーションについて読み出し予約を設定することは可能である。F/Eビット=0のメモリロケーションに対して読み出し予約を行う場合には、サブプロセッサ1023は、読み出し予約を行うメモリロケーションの追加セグメントに、読み出し予約情報として当該サブプロセッサ1023のサブプロセッサIDおよびLSアドレスを書き込む。   Furthermore, it is possible to set a read reservation for the memory location in the state where the F / E bit = 0 (read disabled / write enabled). When a read reservation is made for a memory location with the F / E bit = 0, the sub processor 1023 adds the sub processor ID and LS of the sub processor 1023 as read reservation information to an additional segment of the memory location where the read reservation is made. Write the address.

その後、データ書き込み側のサブプロセッサ1023によって、読み出し予約されたメモリロケーションにデータが書き込まれ、F/Eビット=1(読み出し可/書き込み不可)に設定されたとき、あらかじめ読み出し予約情報として追加セグメントに書き込まれたサブプロセッサIDおよびLSアドレスに読み出される。   Thereafter, when data is written to the memory location reserved for reading by the sub processor 1023 on the data writing side and the F / E bit is set to 1 (readable / not writable), it is added to the additional segment as read reservation information in advance. Read to the written sub-processor ID and LS address.

複数のサブプロセッサによってデータを多段階に処理する必要がある場合、このように各メモリロケーションのデータの読み出し/書き込みを制御することによって、前段階の処理を行うサブプロセッサ1023が、処理済みのデータをメインメモリ1026内の所定アドレスに書き込んだ後に即座に、後段階の処理を行う別のサブプロセッサ1023が前処理後のデータを読み出すことが可能となる。   When it is necessary to process data in multiple stages by a plurality of sub-processors, the sub-processor 1023 that performs the process in the previous stage can control the processed data by controlling the reading / writing of data in each memory location in this way. Can be read out at a predetermined address in the main memory 1026, and another sub-processor 1023 that performs the subsequent processing can read out the data after the preprocessing.

図17(B)に示すように、各サブプロセッサ1023内のLS1024も、アドレス指定可能な複数のメモリロケーション0〜Lによって構成される。各メモリロケーションに対しては、同様に追加セグメント0〜Lが割り振られる。追加セグメントは、ビジービットを含むものとされる。   As shown in FIG. 17B, the LS 1024 in each sub-processor 1023 is also configured by a plurality of addressable memory locations 0 to L. Similarly, additional segments 0 to L are allocated to each memory location. The additional segment includes a busy bit.

サブプロセッサ1023がメインメモリ1026内のデータを自身のLS1024のメモリロケーションに読み出すときには、読み出し先のメモリロケーションに対応するビジービットを1に設定して予約する。ビジービットが1であるメモリロケーションには、他のデータは格納することができない。LS1024のメモリロケーションに読み出し後、ビジービットは0になり、任意の目的に使用できるようになる。   When the sub processor 1023 reads the data in the main memory 1026 to the memory location of its own LS 1024, it reserves by setting the busy bit corresponding to the memory location of the read destination to 1. No other data can be stored in the memory location where the busy bit is 1. After reading to the memory location of LS1024, the busy bit will be 0 and can be used for any purpose.

図17(A)に示すように、さらに、各情報処理コントローラと接続されたメインメモリ1026には、複数のサンドボックスが含まれる。サンドボックスは、メインメモリ1026内の領域を画定するものであり、各サンドボックスは、各サブプロセッサ1023に割り当てられ、そのサブプロセッサが排他的に使用することができる。すなわち、各々のサブプロセッサ1023は、自身に割り当てられたサンドボックスを使用できるが、この領域を超えてデータのアクセスを行うことはできない。   As shown in FIG. 17A, the main memory 1026 connected to each information processing controller further includes a plurality of sandboxes. The sandbox defines an area in the main memory 1026. Each sandbox is assigned to each sub processor 1023 and can be used exclusively by the sub processor. That is, each sub-processor 1023 can use a sandbox assigned to itself, but cannot access data beyond this area.

メインメモリ1026は、複数のメモリロケーション0〜Nから構成されるが、サンドボックスは、これらのメモリロケーションの集合である。すなわち、1つのサンドボックスは、1つまたは複数のメモリロケーションから構成される。   The main memory 1026 is composed of a plurality of memory locations 0 to N, and the sandbox is a collection of these memory locations. That is, one sandbox is composed of one or more memory locations.

さらに、メインメモリ1026の排他的な制御を実現するために、図17(C)に示すようなキー管理テーブルが用いられる。キー管理テーブルは、情報処理コントローラ内のSRAMのような比較的高速のメモリに格納され、DMAC1025と関連付けられる。ただし、キー管理テーブルは、ワークメモリ1029に格納されてもよい。   Furthermore, in order to realize exclusive control of the main memory 1026, a key management table as shown in FIG. 17C is used. The key management table is stored in a relatively high-speed memory such as SRAM in the information processing controller, and is associated with the DMAC 1025. However, the key management table may be stored in the work memory 1029.

キー管理テーブル内には、情報処理コントローラ内のサブプロセッサの数と同数のエントリが存在し、各エントリには、サブプロセッサIDおよび、それに対応するサブプロセッサキーおよびキーマスクが関連付けられて格納される。   There are as many entries as the number of sub processors in the information processing controller in the key management table, and each entry stores a sub processor ID, a corresponding sub processor key, and a key mask in association with each other. .

サブプロセッサ1023がメインメモリ1026を使用する際のプロセスは、以下のとおりである。まず、サブプロセッサ1023はDMAC1025に、読み出しまたは書き込みのコマンドを送信する。このコマンドには、自身のサブプロセッサIDと、アクセス要求先であるメインメモリ1026内のアドレスが含まれる。   The process when the sub processor 1023 uses the main memory 1026 is as follows. First, the sub processor 1023 transmits a read or write command to the DMAC 1025. This command includes its own sub processor ID and an address in the main memory 1026 that is an access request destination.

DMAC1025は、このコマンドを実行する前に、キー管理テーブルを参照して、アクセス要求元のサブプロセッサ1023のサブプロセッサキーを調べる。次に、DMAC1025は、調べたアクセス要求元のサブプロセッサキーと、アクセス要求先であるメインメモリ1026内の図17(A)に示したメモリロケーションに割り振られたアクセスキーとを比較して、2つのキーが一致した場合にのみ、上記のコマンドを実行する。   Before executing this command, the DMAC 1025 refers to the key management table and checks the sub processor key of the access request source sub processor 1023. Next, the DMAC 1025 compares the sub-processor key of the checked access request source with the access key allocated to the memory location shown in FIG. 17A in the main memory 1026 that is the access request destination, Execute the above command only when two keys match.

図17(C)に示したキー管理テーブル上のキーマスクは、その任意のビットが1になることによって、そのキーマスクに関連付けられたサブプロセッサキーの対応するビットが0または1になることができる。   In the key mask on the key management table shown in FIG. 17C, when the arbitrary bit becomes 1, the corresponding bit of the sub processor key associated with the key mask may become 0 or 1. it can.

例えば、サブプロセッサキーが1010であるとする。通常、このサブプロセッサキーによって1010のアクセスキーを持つサンドボックスへのアクセスだけが可能である。しかし、このサブプロセッサキーと関連付けられたキーマスクが0001に設定されている場合には、キーマスクのビットが1に設定された桁のみにつき、サブプロセッサキーとアクセスキーとの一致判定がマスクされ、このサブプロセッサキー1010によって、アクセスキーが1010または1011のいずれかであるアクセスキーを持つサンドボックスへのアクセスが可能となる。   For example, assume that the sub-processor key is 1010. Normally, only a sandbox having an access key of 1010 can be accessed by this sub-processor key. However, if the key mask associated with this sub-processor key is set to 0001, the match determination between the sub-processor key and the access key is masked only for the digit whose key mask bit is set to 1. The sub processor key 1010 enables access to a sandbox having an access key whose access key is either 1010 or 1011.

以上のようにして、メインメモリ1026のサンドボックスの排他性が実現される。すなわち、1つの情報処理コントローラ内の複数のサブプロセッサによってデータを多段階に処理する必要がある場合、以上のように構成することによって、前段階の処理を行うサブプロセッサと、後段階の処理を行うサブプロセッサのみが、メインメモリ1026内の所定アドレスにアクセスできるようになり、データを保護することができる。   As described above, the sandbox exclusivity of the main memory 1026 is realized. That is, when it is necessary to process data in multiple stages by a plurality of sub-processors in one information processing controller, by configuring as described above, the sub-processor that performs the process in the previous stage and the process in the subsequent stage are processed. Only the executing sub-processor can access a predetermined address in the main memory 1026, and data can be protected.

例えば、以下のように使用することが考えられる。まず、情報処理装置の起動直後においては、キーマスクの値は全てゼロである。メインプロセッサ内のプログラムが実行され、サブプロセッサ内のサブプロセッサプログラムと連携動作するものとする。第1のサブプロセッサにより実行された処理結果データを一旦、メインメモリ1026に格納し、第2のサブプロセッサに送信したいときには、該当するメインメモリ領域は、当然どちらのサブプロセッサからもアクセス可能である必要がある。そのような場合に、メインプロセッサ内のプログラムは、キーマスクの値を適切に変更し、複数のサブプロセッサからアクセスできるメインメモリ領域を設けることにより、サブプロセッサによる多段階的の処理を可能にする。   For example, it can be used as follows. First, immediately after the information processing apparatus is activated, the values of the key masks are all zero. It is assumed that a program in the main processor is executed and operates in cooperation with the sub processor program in the sub processor. When processing result data executed by the first sub-processor is temporarily stored in the main memory 1026 and transmitted to the second sub-processor, the corresponding main memory area can be accessed from either sub-processor. There is a need. In such a case, the program in the main processor appropriately changes the value of the key mask and provides a main memory area that can be accessed from a plurality of sub processors, thereby enabling multi-stage processing by the sub processors. .

より具体的には、他の情報処理装置からのデータ→第1のサブプロセッサによる処理→第1のメインメモリ領域→第2のサブプロセッサによる処理→第2のメインメモリ領域、という手順で多段階処理が行われるときには、
第1のサブプロセッサのサブプロセッサキー:0100、
第1のメインメモリ領域のアクセスキー :0100、
第2のサブプロセッサのサブプロセッサキー:0101、
第2のメインメモリ領域のアクセスキー :0101、
のような設定のままだと、第2のサブプロセッサは第1のメインメモリ領域にアクセスすることができない。そこで、第2のサブプロセッサのキーマスクを0001にすることにより、第2のサブプロセッサによる第1のメインメモリ領域へのアクセスを可能にすることができる。
More specifically, it is a multi-step process in the order of data from another information processing apparatus → processing by the first sub processor → first main memory area → processing by the second sub processor → second main memory area. When processing is done,
Sub-processor key of the first sub-processor: 0100
First main memory area access key: 0100,
Sub-processor key of the second sub-processor: 0101,
Second main memory area access key: 0101,
If the setting is kept as described above, the second sub-processor cannot access the first main memory area. Therefore, by setting the key mask of the second sub processor to 0001, it is possible to allow the second sub processor to access the first main memory area.

(3−3.各サブプロセッサからメインメモリおよびサブメモリへのアクセス)
1つの情報処理コントローラ内の各サブプロセッサ1023は、メインメモリ1026に対してと同様に、サブメモリ1027に対しても、読み出しまたは書き込みが可能であるが、そのコマンドには、いくつかの種類が考えられ、優先度の高低があることもあり得る。そこで以下に、各サブプロセッサ1023が正確にメインメモリ1026およびサブメモリ1027を使用するための構成および手順を示す。
(3-3. Access to main memory and sub memory from each sub processor)
Each sub processor 1023 in one information processing controller can read or write to the sub memory 1027 as well as the main memory 1026, but there are several types of commands. It is possible that there may be high and low priority. Therefore, a configuration and a procedure for each sub processor 1023 to use the main memory 1026 and the sub memory 1027 accurately will be described below.

図18に示すように、DMAC1025は内部に、メインメモリコントロールレジスタ1033およびサブメモリコントロールレジスタ1034を有する。メインメモリコントロールレジスタ1033は、メインメモリ1026にアクセスするためのものであり、サブメモリコントロールレジスタ1034は、サブメモリ1027にアクセスするためのものである。   As shown in FIG. 18, the DMAC 1025 has a main memory control register 1033 and a sub memory control register 1034 inside. The main memory control register 1033 is for accessing the main memory 1026, and the sub memory control register 1034 is for accessing the sub memory 1027.

メインメモリコントロールレジスタ1033は、以下の4つのブロックから構成され、以下のように各々がメインメモリ1026にアクセスするためのコマンドを格納する。   The main memory control register 1033 is composed of the following four blocks, each storing a command for accessing the main memory 1026 as follows.

優先コマンドブロックには、優先度の高いコマンドを複数個格納する。そのコマンドは優先的に処理される。   In the priority command block, a plurality of commands with high priority are stored. The command is processed preferentially.

通常コマンドブロック1には、通常のコマンドを複数個格納し、通常コマンドブロック2にも、通常のコマンドを複数個格納する。通常コマンドブロック1と通常コマンドブロック2との間には、機能的な差はないが、例えば、メインメモリ1026へのアクセス実行前のコマンドを一方のブロックに格納し、実行後のコマンドを他方のブロックに格納することにより、実行前と実行後のコマンドを、それぞれ集中的および連続的に処理することができる効果がある。   The normal command block 1 stores a plurality of normal commands, and the normal command block 2 also stores a plurality of normal commands. Although there is no functional difference between the normal command block 1 and the normal command block 2, for example, a command before execution of access to the main memory 1026 is stored in one block, and a command after execution is stored in the other By storing in a block, there is an effect that commands before and after execution can be processed intensively and continuously, respectively.

オーダーコマンドブロックには、正しい順番で処理される必要のあるコマンドを複数個格納する。すなわち、各サブプロセッサ1023からのコマンドを、受信した順番に、コマンド送信元のサブプロセッサのサブプロセッサIDと共に格納する。これにより、受信した順番にコマンドを処理し、かつ同じ順番でコマンド送信元サブプロセッサに実行結果を返信することができる。   The order command block stores a plurality of commands that need to be processed in the correct order. That is, the commands from each sub-processor 1023 are stored in the order received, together with the sub-processor ID of the sub-processor that is the command transmission source. As a result, the commands can be processed in the order received, and the execution results can be returned to the command transmission source sub-processor in the same order.

サブメモリコントロールレジスタ1034も、以下の4つのブロックから構成され、以下のように各々がサブメモリ1027にアクセスするためのコマンドを格納する。   The sub memory control register 1034 is also composed of the following four blocks, and each stores a command for accessing the sub memory 1027 as follows.

優先コマンドブロックには、優先度の高いコマンドを複数個格納する。そのコマンドは優先的に処理される。   In the priority command block, a plurality of commands with high priority are stored. The command is processed preferentially.

リードコマンドブロックには、リードコマンドを複数個格納し、ライトコマンドブロックには、ライトコマンドを複数個格納する。   A plurality of read commands are stored in the read command block, and a plurality of write commands are stored in the write command block.

待ちコマンドブロックには、サブメモリ1027内の任意の領域に対してアクセスを試みたが、対象領域がロックされていてアクセス不可であったコマンドを複数個格納する。ロック解除時には、そのコマンドは優先コマンドブロックに移動する。   The waiting command block stores a plurality of commands that are attempted to access any area in the sub memory 1027 but cannot be accessed because the target area is locked. When unlocked, the command moves to the priority command block.

各サブプロセッサ1023は、例えば、図19に示すような構造のコマンドによって、メインメモリ1026またはサブメモリ1027にアクセスする。アクセス実行後のメインメモリ1026またはサブメモリ1027からの実行結果のレスポンスも、同一構造とされる。   Each sub processor 1023 accesses the main memory 1026 or the sub memory 1027 by a command having a structure as shown in FIG. 19, for example. The response of the execution result from the main memory 1026 or the sub memory 1027 after the access execution has the same structure.

このコマンド/レスポンス構造において、コマンドタイプとしては、リードとライトがある。優先コマンド識別子は、当該コマンドが優先度の高いコマンドであることを示す。通常コマンド識別子は、メインメモリ1026へのアクセス時のものであり、当該コマンドが通常コマンドブロック1または通常コマンドブロック2に格納されることを示す。   In this command / response structure, the command type includes read and write. The priority command identifier indicates that the command has a high priority. The normal command identifier is for accessing the main memory 1026 and indicates that the command is stored in the normal command block 1 or the normal command block 2.

チェーンコマンド識別子も、メインメモリ1026へのアクセス時のものであり、当該コマンドが直前または直後のコマンドと共に連続的なアクセスが必要であることを示す。または、連続するコマンド列の通し番号でもよい。チェーンコマンド識別子がセットされたコマンドは、オーダーコマンドブロックに格納されるが、処理の優先度は、優先コマンドブロック内のコマンドより高いものとする。   The chain command identifier is also used when accessing the main memory 1026, and indicates that the command requires continuous access together with the command immediately before or after. Alternatively, it may be a serial number of consecutive command strings. The command in which the chain command identifier is set is stored in the order command block, but the processing priority is higher than the commands in the priority command block.

ここでのアドレスは、コマンドを実行するメインメモリ1026またはサブメモリ1027内のアドレスを示す。または、ワークメモリ1029内のアドレスでもよい。   The address here indicates an address in the main memory 1026 or the sub memory 1027 that executes the command. Alternatively, an address in the work memory 1029 may be used.

サブプロセッサ識別子は、コマンド送信元のサブプロセッサのサブプロセッサIDである。プレセッシングスレッド識別子は、コマンド送信元の後述するプレセッシングスレッドの識別子である。   The sub processor identifier is the sub processor ID of the sub processor of the command transmission source. The processing thread identifier is an identifier of a processing thread, which will be described later, which is a command transmission source.

OK/NGは、コマンドの成功/失敗を示す。ここでのデータは、リードコマンド実行時にレスポンスに含まれる読み出されたデータ、またはライトコマンド実行時にコマンドに含まれる書き込まれるデータである。   OK / NG indicates success / failure of the command. The data here is read data included in the response when the read command is executed, or data to be written included in the command when the write command is executed.

図18に示すように、DMAC1025内には、上述した各サブプロセッサ1023がメインメモリ1026に正確にアクセスするためのメインメモリコントロールレジスタ1033、および各サブプロセッサ1023がサブメモリ1027に正確にアクセスするためのサブメモリコントロールレジスタ1034のほかに、メインプロセッサ1021がメインメモリ1026またはサブメモリ1027にアクセスするためのリードコマンドおよびライトコマンドをそれぞれ複数個格納できるメインプロセッサ用リードコマンドブロック1035およびメインプロセッサ用ライトコマンドブロック1036を設けることもできる。アドレス変換レジスタ1037については、後述する。   As shown in FIG. 18, in the DMAC 1025, the above-mentioned main memory control register 1033 for each sub processor 1023 to access the main memory 1026 correctly, and each sub processor 1023 to access the sub memory 1027 correctly. In addition to the sub memory control register 1034, the main processor 1021 can store a plurality of read commands and write commands for accessing the main memory 1026 or the sub memory 1027, and a main processor read command block 1035 and a main processor write command. A block 1036 can also be provided. The address conversion register 1037 will be described later.

さらに、複数のサブプロセッサがDMAC1025に対して、優先度の同じメモリアクセスコマンドを同じタイミングで送信した場合には、以下の手順に従うものとする。すなわち、DMAC1025は、内部にメモリアクセスに成功した最後のサブプロセッサを示すポインタを有するものとし、複数のサブプロセッサから優先度の同じメモリアクセスコマンドを同じタイミングで受信したときには、当該ポインタより値が大きく、かつ当該ポインタとの差分が最も小さいコマンドを優先させるものとする。この場合、一番大きいポインタ値の次は、一番小さいポインタ値とする。   Further, when a plurality of sub processors transmit memory access commands having the same priority to the DMAC 1025 at the same timing, the following procedure is followed. That is, the DMAC 1025 has a pointer indicating the last sub-processor that has succeeded in accessing the memory, and when a memory access command having the same priority is received from a plurality of sub-processors at the same timing, the value is larger than that of the pointer. The command having the smallest difference from the pointer is given priority. In this case, the smallest pointer value follows the largest pointer value.

(3−4.各サブプロセッサからメインメモリに正確にアクセスするためのサブメモリへのアクセス)
DRAMなどにより構成されるメインメモリ1026、およびSRAMなどにより構成されるサブメモリ1027は、当然のことながら、各々の素子の構造が異なるため、使用目的も異なってくる。
(3-4. Access to sub memory for accurate access to main memory from each sub processor)
Naturally, the main memory 1026 composed of a DRAM and the like and the sub memory 1027 composed of an SRAM and the like naturally have different purposes and have different purposes of use.

そこで、メインメモリ1026とサブメモリ1027を組み合わせて使用する方法の一例として、各サブプロセッサ1023がメインメモリ1026にアクセスするときのアドレス変換をサブメモリ1027が担うことが考えられる。そのための構成および手順を、図20を用いて示す。   Therefore, as an example of a method of using the main memory 1026 and the sub memory 1027 in combination, it can be considered that the sub memory 1027 performs address conversion when each sub processor 1023 accesses the main memory 1026. The configuration and procedure for this are shown in FIG.

前述したように、メインメモリ1026は、複数のメモリロケーションによって構成され、さらに1つのサンドボックスは、1つまたは複数のメモリロケーションから構成される。そして、各サブプロセッサ1023は、自身に割り当てられたサンドボックスを排他的に使用することができる。   As described above, the main memory 1026 is composed of a plurality of memory locations, and one sandbox is composed of one or a plurality of memory locations. Each sub-processor 1023 can exclusively use the sandbox assigned to itself.

例えば、図20(A)に示すように、あるサブプロセッサ1023に、メインメモリ1026内のサンドボックス1,2,3が割り当てられているものとする。サンドボックス1は0x800〜0x8FF、サンドボックス2は0x200〜0x2FF、サンドボックス3は0xF00〜0xFFFとし、各サンドボックスは先頭アドレスによって識別されるものとする。すなわち、割り当てられる各サンドボックスは、アドレスが連続していなくてもよい。   For example, as shown in FIG. 20A, it is assumed that sandboxes 1, 2, and 3 in the main memory 1026 are assigned to a certain sub processor 1023. The sandbox 1 is 0x800 to 0x8FF, the sandbox 2 is 0x200 to 0x2FF, the sandbox 3 is 0xF00 to 0xFFF, and each sandbox is identified by the head address. In other words, each assigned sandbox may not have consecutive addresses.

当該のサブプロセッサ1023は、これらサンドボックス1,2,3からデータを読み出すときには、まず、DMAC1025内のアドレス変換レジスタ1037にアクセスする。   When the sub processor 1023 reads data from these sandboxes 1, 2, and 3, it first accesses the address conversion register 1037 in the DMAC 1025.

アドレス変換レジスタ1037は、サブプロセッサ1023と、当該サブプロセッサ1023に割り当てられたサンドボックスとを関連付けるレジスタであり、サブプロセッサ1023の数と同数のエントリから構成される。ここでは、Q1で示されるエントリが当該サブプロセッサ1023に対応するものとする。   The address conversion register 1037 is a register that associates the sub processor 1023 with the sandbox assigned to the sub processor 1023, and includes the same number of entries as the number of sub processors 1023. Here, it is assumed that the entry indicated by Q1 corresponds to the sub-processor 1023.

このとき、サブプロセッサ1023は、自身に対応するQ1の値を読み出す。さらに、読み出されたQ1の値(0x80)で示される、サブメモリ1027内の第1のアドレスから、データ(0x20)を読み出す。   At this time, the sub processor 1023 reads the value of Q1 corresponding to itself. Further, data (0x20) is read from the first address in the sub memory 1027 indicated by the read Q1 value (0x80).

サンドボックス1の領域は、Q1の値に基づいて特定される。例えば、Q1の値を16倍した値がサンドボックス1の先頭アドレスを示し、その先頭アドレスに255を加算した値がサンドボックス1の終了アドレスを示す。したがって、上記のようにQ1の値が0x80であるときには、サンドボックス1の領域は0x800〜0x8FFである。   The area of the sandbox 1 is specified based on the value of Q1. For example, a value obtained by multiplying the value of Q1 by 16 indicates the start address of the sandbox 1, and a value obtained by adding 255 to the start address indicates the end address of the sandbox 1. Therefore, when the value of Q1 is 0x80 as described above, the area of the sandbox 1 is 0x800 to 0x8FF.

また、サブプロセッサ1023は、上記の第1のアドレスから読み出されたデータ(0x20)で示される、同じサブメモリ1027内の第2のアドレスから、データ(0xF0)を読み出す。   The sub processor 1023 reads data (0xF0) from the second address in the same sub memory 1027 indicated by the data (0x20) read from the first address.

サンドボックス2の領域は、この第2のアドレスから読み出されたデータに基づいて特定される。具体的に、サンドボックス1と同様に、第2のアドレスから読み出されたデータの値を16倍した値がサンドボックス2の先頭アドレスを示し、その先頭アドレスに255を加算した値がサンドボックス2の終了アドレスを示す。したがって、上記のように第2のアドレスから読み出されたデータが0xF0であるときには、サンドボックス2の領域は0x200〜0x2FFである。   The area of the sandbox 2 is specified based on the data read from the second address. Specifically, like the sandbox 1, the value obtained by multiplying the value of the data read from the second address by 16 indicates the start address of the sandbox 2, and the value obtained by adding 255 to the start address is the sandbox. 2 indicates the end address. Therefore, when the data read from the second address is 0xF0 as described above, the area of the sandbox 2 is 0x200 to 0x2FF.

さらに、サブプロセッサ1023は、上記の第2のアドレスから読み出されたデータ(0xF0)で示される、同じサブメモリ1027内の第3のアドレスから、データ(0x00)を読み出す。0x00は、割り当てられたサンドボックスの終了を示す。   Further, the sub processor 1023 reads data (0x00) from the third address in the same sub memory 1027 indicated by the data (0xF0) read from the second address. 0x00 indicates the end of the assigned sandbox.

サンドボックス3の領域は、この第3のアドレスから読み出されたデータに基づいて特定される。具体的に、サンドボックス1,2と同様に、第3のアドレスから読み出されたデータの値を16倍した値がサンドボックス3の先頭アドレスを示し、その先頭アドレスに255を加算した値がサンドボックス3の終了アドレスを示す。したがって、上記のように第3のアドレスから読み出されたデータが0x00であるときには、サンドボックス3の領域は0xF00〜0xFFFである。   The area of the sandbox 3 is specified based on the data read from the third address. Specifically, like the sandboxes 1 and 2, the value obtained by multiplying the value of the data read from the third address by 16 indicates the head address of the sandbox 3, and the value obtained by adding 255 to the head address is Indicates the end address of the sandbox 3. Therefore, when the data read from the third address is 0x00 as described above, the area of the sandbox 3 is 0xF00 to 0xFFF.

以上のように、各サブプロセッサ1023は、自身に割り当てられたサンドボックスのアドレスが非連続であっても、割り当てられたサンドボックスに正確にアクセスすることができ、割り当てられたサンドボックスからデータを確実に読み出すことができる。   As described above, each sub-processor 1023 can accurately access the assigned sandbox even if the address of the sandbox assigned to the sub-processor 1023 is non-consecutive. It can be read reliably.

次に、同じサブプロセッサ1023が、メインメモリ1026内の新たなサンドボックスにデータを書き込み、当該サンドボックスをアドレス変換レジスタ1037内の自身に対応したエントリで管理されるサンドボックスグループに追加するための手順を、図20(B)を用いて示す。   Next, the same sub-processor 1023 writes data into a new sandbox in the main memory 1026 and adds the sandbox to a sandbox group managed by an entry corresponding to itself in the address translation register 1037. The procedure is shown with reference to FIG.

当該サブプロセッサ1023が、メインメモリ1026内の0x000〜0x0FFの領域であるサンドボックス4にデータを書き込んだとする。このとき、当該サブプロセッサ1023は、まず、Q1の値(Q1の初期値、例えば上記のように0x80)を読み出す。   It is assumed that the sub processor 1023 writes data to the sandbox 4 that is an area from 0x000 to 0x0FF in the main memory 1026. At this time, the sub-processor 1023 first reads the value of Q1 (the initial value of Q1, for example, 0x80 as described above).

次に、当該サブプロセッサ1023は、新たにデータを書き込んだサンドボックス4を特定できるサブメモリ1027内のアドレスに、先に読み出したQ1の値(0x80)を書き込む。例えば、今回は0x000〜0x0FFの領域にデータを書き込んだので、先頭アドレスである0x000を16で割った0x00で示されるサブメモリ1027内のアドレスにQ1の値(0x80)を書き込む。さらに、Q1の値(0x80)を書き込んだサブメモリ1027内のアドレス(0x00)を新たなQ1の値として、アドレス変換レジスタ1037内のQ1に書き込む。   Next, the sub-processor 1023 writes the previously read Q1 value (0x80) to an address in the sub-memory 1027 that can identify the sandbox 4 in which data is newly written. For example, since data is written in the area from 0x000 to 0x0FF this time, the value of Q1 (0x80) is written to the address in the sub memory 1027 indicated by 0x00 obtained by dividing 0x000, which is the start address, by 16. Further, the address (0x00) in the sub memory 1027 in which the value of Q1 (0x80) has been written is written to Q1 in the address conversion register 1037 as a new value of Q1.

以上のようにして、各サブプロセッサ1023は、新たなサンドボックスを既存のサンドボックスグループに追加することができる。この場合も、各サンドボックスのアドレスが非連続であってもよい。また、既存のサンドボックスグループが存在せず、最初のサンドボックスをサブメモリ1027およびアドレス変換レジスタ1037と関連付ける際にも、上記の方法を用いることができる。   As described above, each sub-processor 1023 can add a new sandbox to an existing sandbox group. Also in this case, the address of each sandbox may be discontinuous. Further, when there is no existing sandbox group and the first sandbox is associated with the sub memory 1027 and the address translation register 1037, the above method can be used.

(3−5.メインプロセッサおよび各サブプロセッサからワークメモリへのアクセス)
前述したように、メインメモリ1026は、DRAMなどにより構成され、さらにDMA方式によりデータが転送されるため、各サブプロセッサ1023は、大容量のメインメモリ1026を高速に使用することができる。また、サブメモリ1027は、SRAMなどにより構成され、同様に高速に使用することができる。
(3-5. Access to work memory from main processor and each sub processor)
As described above, the main memory 1026 is configured by a DRAM or the like, and further, data is transferred by the DMA method. Therefore, each sub processor 1023 can use the large-capacity main memory 1026 at high speed. Further, the sub memory 1027 is constituted by an SRAM or the like and can be used at a high speed as well.

さらに、メインプロセッサ1021および各サブプロセッサ1023が、情報処理コントローラに接続されたメインメモリ1026およびサブメモリ1027と共に、情報処理コントローラ内に含まれるワークメモリ1029を作業用メモリとして共有して使用できれば、さらなる高速化を実現することができる。   Further, if the main processor 1021 and each sub-processor 1023 can share and use the work memory 1029 included in the information processing controller as a work memory together with the main memory 1026 and the sub memory 1027 connected to the information processing controller, High speed can be realized.

また、当該ワークメモリ1029により簡単な数値演算ができれば、効率的である。ワークメモリ1029は、前述したようにSRAMなどにより構成されるため、DRAMのような大容量化は期待できないものの、非常に高速である。   In addition, it is efficient if a simple numerical calculation can be performed by the work memory 1029. Since the work memory 1029 is composed of SRAM or the like as described above, it cannot be expected to increase the capacity like a DRAM, but is very fast.

以下に、メインプロセッサ1021および各サブプロセッサ1023がワークメモリ1029にアクセスする場合の構成および手順を示す。   The configuration and procedure in the case where the main processor 1021 and each sub processor 1023 access the work memory 1029 will be described below.

図21に示すように、ワークメモリ1029は、コントローラ1038とRAM1039とから構成される。RAM1039としては、SRAMを用いることができるが、それに限定されるものではない。RAM1039は、複数のブロックから構成される。各ブロックには、アドレスが割り当てられ、データが記憶される。   As shown in FIG. 21, the work memory 1029 includes a controller 1038 and a RAM 1039. An SRAM can be used as the RAM 1039, but is not limited thereto. The RAM 1039 is composed of a plurality of blocks. Each block is assigned an address and stores data.

メインプロセッサ1021および各サブプロセッサ1023は、コントローラ1038を介してRAM1039にアクセスする。具体的に、メインプロセッサ1021および各サブプロセッサ1023は、コントローラ1038にコマンド、アドレスまたはデータなどを送信し、コントローラ1038は、それに従ってRAM1039にアクセスする。   The main processor 1021 and each sub processor 1023 access the RAM 1039 through the controller 1038. Specifically, the main processor 1021 and each sub-processor 1023 transmit a command, address, data, or the like to the controller 1038, and the controller 1038 accesses the RAM 1039 accordingly.

処理実行後、コントローラ1038は、コマンド送信元のメインプロセッサ1021またはサブプロセッサ1023にコマンド実行結果を返信する。   After executing the process, the controller 1038 returns the command execution result to the main processor 1021 or sub-processor 1023 that is the command transmission source.

各サブプロセッサ1023がワークメモリ1029にアクセスするときのコマンドは、例えば図19に示したような、メインメモリ1026またはサブメモリ1027へのアクセス時に用いるものと同じである。処理実行後のワークメモリ1029からの実行結果のレスポンスも、同一構造である。   The command used when each sub processor 1023 accesses the work memory 1029 is the same as that used when accessing the main memory 1026 or the sub memory 1027 as shown in FIG. 19, for example. The response of the execution result from the work memory 1029 after the process execution has the same structure.

ただし、ワークメモリ1029にアクセスする場合には、図19に示したコマンド中の優先コマンド識別子、通常コマンド識別子、チェーンコマンド識別子、プレセッシングスレッド識別子は、基本的に使用しない。しかし、ワークメモリ1029が、これらの識別子に対応可能であれば、使用してもよい。コマンドタイプしては、以下に示すような、いくつかが考えられる。   However, when accessing the work memory 1029, the priority command identifier, normal command identifier, chain command identifier, and processing thread identifier in the command shown in FIG. 19 are basically not used. However, it may be used if the work memory 1029 can handle these identifiers. There are several possible command types as shown below.

第1は、リードコマンドである。これは、ワークメモリ1029内のデータを読み出すために使用される。メインプロセッサ1021および各サブプロセッサ1023は、リードコマンドと共に、所望のデータを記憶するRAM1039内のブロックのアドレスも送信する。コントローラ1038からは、実行結果として、リードコマンドの成功/失敗を示すOK/NGと、読み出されたデータが返信される。   The first is a read command. This is used to read data in the work memory 1029. The main processor 1021 and each sub-processor 1023 also transmit the address of the block in the RAM 1039 that stores the desired data together with the read command. The controller 1038 returns OK / NG indicating the success / failure of the read command and the read data as an execution result.

第2は、ライトコマンドである。これは、ワークメモリ1029内にデータを書き込むために使用される。メインプロセッサ1021および各サブプロセッサ1023は、ライトコマンド、データ、当該データを記憶させるRAM1039内のブロックのアドレスを送信する。コントローラ1038からは、実行結果として、ライトコマンドの成功/失敗を示すOK/NGが返信される。   The second is a write command. This is used to write data into the work memory 1029. The main processor 1021 and each sub-processor 1023 transmit a write command, data, and an address of a block in the RAM 1039 for storing the data. The controller 1038 returns OK / NG indicating the success / failure of the write command as the execution result.

第3は、加算コマンドである。これは、ワークメモリ1029内のデータを加算するために使用される。メインプロセッサ1021および各サブプロセッサ1023は、加算コマンド、加算させるデータを記憶するRAM1039内のブロックのアドレスを送信する。コントローラ1038は、受信したアドレスのブロックにおけるデータに1を加算し、上書きする。実行結果として、加算コマンドの成功/失敗を示すOK/NGが返信される。   The third is an addition command. This is used to add data in the work memory 1029. The main processor 1021 and each sub-processor 1023 transmit the addition command and the address of the block in the RAM 1039 that stores the data to be added. The controller 1038 adds 1 to the data in the block of the received address and overwrites it. As an execution result, OK / NG indicating success / failure of the addition command is returned.

第4は、セットコマンドである。これは、ワークメモリ1029内のデータをビット単位で操作するために使用される。メインプロセッサ1021および各サブプロセッサ1023は、セットコマンド、操作するデータを記憶するRAM1039内のブロックのアドレス、およびマスクデータを送信する。   The fourth is a set command. This is used to manipulate the data in the work memory 1029 in bit units. The main processor 1021 and each sub-processor 1023 transmit a set command, an address of a block in the RAM 1039 for storing data to be operated, and mask data.

これに対して、コントローラ1038は、受信したマスクデータと、受信したアドレスのブロックにおけるデータとを比較し、マスクデータにおいて値が1であるビットと同じ位置の、データにおけるビットの値を1にする。実行結果として、セットコマンドの完了を示すCompletedが返信される。このとき、セットコマンド実行前のデータも返信することにより、コマンドの成功/失敗を確認できるようにしてもよい。   On the other hand, the controller 1038 compares the received mask data with the data in the block of the received address, and sets the value of the bit in the data at the same position as the bit whose value is 1 in the mask data. . Completed indicating completion of the set command is returned as an execution result. At this time, the success / failure of the command may be confirmed by returning data before execution of the set command.

第5は、クリアコマンドである。これも、ワークメモリ1029内のデータをビット単位で操作するために使用される。メインプロセッサ1021および各サブプロセッサ1023は、クリアコマンド、操作するデータを記憶するRAM1039内のブロックのアドレス、およびマスクデータを送信する。   The fifth is a clear command. This is also used to manipulate the data in the work memory 1029 in bit units. The main processor 1021 and each sub-processor 1023 transmit a clear command, an address of a block in the RAM 1039 that stores data to be operated, and mask data.

これに対して、コントローラ1038は、受信したマスクデータと、受信したアドレスのブロックにおけるデータとを比較し、マスクデータにおいて値が1であるビットと同じ位置の、データにおけるビットの値を0にする。実行結果として、クリアコマンドの完了を示すCompletedが返信される。このとき、クリアコマンド実行前のデータも返信することにより、コマンドの成功/失敗を確認できるようにしてもよい。   On the other hand, the controller 1038 compares the received mask data with the data in the block of the received address, and sets the value of the bit in the data at the same position as the bit whose value is 1 in the mask data to 0. . Completed indicating completion of the clear command is returned as the execution result. At this time, the success / failure of the command may be confirmed by returning the data before executing the clear command.

以上のように、メインプロセッサ1021および各サブプロセッサ1023は、大容量のメインメモリ1026および高速のサブメモリ1027に加えて、ワークメモリ1029を併用することができる。さらに、ワークメモリ1029をメインメモリ1026またはサブメモリ1027のキャッシュとして利用すれば、さらなる高速化を期待することができる。   As described above, the main processor 1021 and each sub-processor 1023 can use the work memory 1029 in addition to the large-capacity main memory 1026 and the high-speed sub-memory 1027. Further, if the work memory 1029 is used as a cache for the main memory 1026 or the sub memory 1027, further increase in speed can be expected.

(3−6.各サブプロセッサ内のプレセッシングスレッド)
前述したように、1つの情報処理コントローラ内の各サブプロセッサ1023は構造上独立している。したがって、各々のサブプロセッサ1023が独立にサブプロセッサプログラムを実行し、データを処理することができる。さらに、各サブプロセッサ1023が内部に、仮想的に独立した複数のプレセッシングスレッドを有することも考えられる。その構造を図22に示す。
(3-6. Processing thread in each sub-processor)
As described above, each sub-processor 1023 in one information processing controller is structurally independent. Therefore, each sub processor 1023 can independently execute a sub processor program and process data. Furthermore, each sub processor 1023 may have a plurality of virtually independent processing threads inside. The structure is shown in FIG.

サブプロセッサ1023は、内部に有するアービタ1040を介して、バス1032と接続される。サブプロセッサ1023内には、また、LS(ローカルストレージ)1024とプレセッシングスレッド1041,1042,1043および1044が含まれ、アービタ1040は、外部からの信号を適切なプレセッシングスレッドに通知する役割を担う。   The sub processor 1023 is connected to the bus 1032 via an arbiter 1040 included therein. The sub-processor 1023 also includes an LS (local storage) 1024 and processing threads 1041, 1042, 1043, and 1044. The arbiter 1040 is responsible for notifying an appropriate processing thread of an external signal. Take on.

図22では各プレセッシングスレッド1041,1042,1043および1044を独立に示しているが、あくまで仮想的な独立である。プレセッシングスレッド1041,1042,1043および1044は、それぞれプレセッシングスレッド識別子が割り当てられ、独立かつ並列に動作可能である。   In FIG. 22, the processing threads 1041, 1042, 1043 and 1044 are shown independently, but are virtually independent. Each of the processing threads 1041, 1042, 1043, and 1044 is assigned a processing thread identifier, and can operate independently and in parallel.

各プレセッシングスレッド1041,1042,1043および1044は、メインメモリ1026、サブメモリ1027またはワークメモリ1029に対して独立にアクセスを行うため、コマンド送信元のプレセッシングスレッドに確実にレスポンスが返信されるようにする必要がある。そのための手順を以下に示す。   Since each of the processing threads 1041, 1042, 1043 and 1044 independently accesses the main memory 1026, the sub memory 1027 or the work memory 1029, a response is surely returned to the processing thread of the command transmission source. It is necessary to make it. The procedure for this is shown below.

各プレセッシングスレッド1041,1042,1043および1044が各々のメモリにアクセスするときのコマンドは、例えば図19に示したような、各サブプロセッサ1023がメモリにアクセスする時に用いるものと同じである。処理実行後の各メモリからの実行結果のレスポンスも、同一構造である。   The commands used when the processing threads 1041, 1042, 1043 and 1044 access the respective memories are the same as those used when the sub processors 1023 access the memories as shown in FIG. 19, for example. The response of the execution result from each memory after the process execution has the same structure.

図19のコマンド/レスポンス構造については前述したが、サブプロセッサ識別子はコマンド送信元のサブプロセッサのサブプロセッサIDであり、さらにプレセッシングスレッド識別子は、当該サブプロセッサ内のいずれのプレセッシングスレッドがコマンド送信元であるかを識別するためのものである。   Although the command / response structure of FIG. 19 has been described above, the sub processor identifier is the sub processor ID of the sub processor of the command transmission source, and the processing thread identifier is any processing thread in the sub processor. This is for identifying whether the command is transmitted.

メインメモリ1026、サブメモリ1027またはワークメモリ1029からのレスポンスは、まず、サブプロセッサ識別子に基づいて、コマンド送信元のサブプロセッサ1023に返信される。さらに、プレセッシングスレッド識別子に基づいて、サブプロセッサ1023内のアービタ1040により、コマンド送信元のプレセッシングスレッドに返信される。   A response from the main memory 1026, the sub memory 1027, or the work memory 1029 is first returned to the sub processor 1023 that is the command transmission source based on the sub processor identifier. Further, based on the processing thread identifier, the arbiter 1040 in the sub processor 1023 returns the command to the processing thread of the command transmission source.

ただし、同じ処理を行うようなときなど、サブプロセッサ内の複数のプレセッシングスレッド中のいずれでもよい場合には、プレセッシングスレッド識別子に基づかずに、処理負荷の軽いプレセッシングスレッドに返信するようにしてもよい。また、メインメモリ1026、サブメモリ1027またはワークメモリ1029からレスポンスを受信するたびに、複数のプレセッシングスレッド中の1つを順繰りに選択し、その選択されたプレセッシングスレッドに当該レスポンスを返信するようにしてもよい。   However, when any of the multiple processing threads in the sub-processor is used, such as when performing the same processing, the response is returned to the processing thread with a light processing load without using the processing thread identifier. You may make it do. Each time a response is received from the main memory 1026, the sub memory 1027, or the work memory 1029, one of a plurality of processing threads is selected in order, and the response is returned to the selected processing thread. You may make it do.

以上のように、各サブプロセッサ1023内の複数のプレセッシングスレッドが、メインメモリ1026、サブメモリ1027またはワークメモリ1029に対して独立にアクセスを行う場合でも、コマンド送信元のプレセッシングスレッドに確実にレスポンスが返信されるようにすることができる。   As described above, even when a plurality of processing threads in each sub-processor 1023 access the main memory 1026, the sub memory 1027, or the work memory 1029 independently, the processing threads of the command transmission source A response can be surely returned.

(3−7.コントロールレジスタによるサブプロセッサプログラムの管理)
1つの情報処理コントローラ内に複数のサブプロセッサ1023が存在し、さらに各サブプロセッサ1023内に複数のプレセッシングスレッドを有する場合に、情報処理コントローラ内で処理されるべきサブプロセッサプログラムを、どのプレセッシングスレッドに処理させるかを決定することは、情報処理コントローラの高速化を実現する上で重要である。
(3-7. Management of sub processor program by control register)
When a plurality of sub-processors 1023 exist in one information processing controller and each of the sub-processors 1023 has a plurality of processing threads, which pre-processor program is to be processed in the information processing controller. Determining whether the processing thread is to perform processing is important in order to increase the speed of the information processing controller.

そこで以下に、図16に示したコントロールレジスタ1028を使用することにより、各プレセッシングスレッドに対して適切にサブプロセッサプログラムの処理を割り当て、情報処理コントローラを効率的に動作させる構成および手順を示す。   Accordingly, a configuration and a procedure for efficiently allocating the processing of the sub processor program to each processing thread and operating the information processing controller efficiently by using the control register 1028 shown in FIG. .

図23に示すように、コントロールレジスタ1028は、処理待ちサブプロセッサプログラムレジスタ1045とサブプロセッサプログラム処理進捗レジスタ1046とから構成される。   As shown in FIG. 23, the control register 1028 includes a processing waiting subprocessor program register 1045 and a subprocessor program processing progress register 1046.

処理待ちサブプロセッサプログラムレジスタ1045について示すと、メインプロセッサ1021は、情報処理コントローラ内で処理されるべきサブプロセッサプログラムが発生した場合には、処理待ちサブプロセッサプログラムレジスタ1045内に、当該サブプロセッサプログラムまたはこれに関連するデータが格納されているメインメモリ1026、サブメモリ1027、ワークメモリ1029、またはLS(ローカルストレージ)1022または1024におけるアドレスを書き込む。   The processing waiting subprocessor program register 1045 will be described. When a subprocessor program to be processed in the information processing controller is generated, the main processor 1021 stores the subprocessor program or the processing waiting subprocessor program register 1045 in the processing waiting subprocessor program register 1045. The address in the main memory 1026, the sub memory 1027, the work memory 1029, or the LS (local storage) 1022 or 1024 in which related data is stored is written.

処理されるべきサブプロセッサプログラムが存在しない状態では、処理待ちサブプロセッサプログラムレジスタ1045の値はゼロである。全てのプレセッシングスレッドは、自身が何もサブプロセッサプログラムを実行していない間は、定期的または非定期的に処理待ちサブプロセッサプログラムレジスタ1045の値を読み出し、その結果、ゼロでない値を読み出したプレセッシングスレッドが処理を行うものとする。   In a state where there is no sub processor program to be processed, the value of the processing waiting sub processor program register 1045 is zero. All processing threads read the value of the waiting subprocessor program register 1045 periodically or non-periodically while they are not executing any subprocessor program, and as a result, read a non-zero value. It is assumed that the processing thread performs processing.

これとともに、当該プレセッシングスレッドは、処理待ちサブプロセッサプログラムレジスタ1045にゼロの値を書き込む。処理を行うプレセッシングスレッドは、読み出した処理待ちサブプロセッサプログラムレジスタ1045の値に基づいて、処理対象となるサブプロセッサプログラムまたは関連データを読み出し、処理する。このとき、サブプロセッサプログラムは既に当該プレセッシングスレッドを有するサブプロセッサ1023に読み出されており、サブプロセッサプログラムの読み出しは不要であることも考えられる。   At the same time, the processing thread writes a value of zero in the processing waiting subprocessor program register 1045. The processing thread that performs the processing reads and processes the sub-processor program or the related data to be processed based on the read value of the processing-waiting sub-processor program register 1045. At this time, the sub processor program has already been read out by the sub processor 1023 having the processing thread, and it may be unnecessary to read out the sub processor program.

このようにして、サブプロセッサプログラムを実行していない、処理能力に余裕のあるプレセッシングスレッドに迅速にサブプロセッサプログラムの処理を割り当てることができ、情報処理コントローラを効率的に動作させることができる。   In this way, the processing of the sub processor program can be quickly assigned to a processing thread that does not execute the sub processor program and has sufficient processing capability, and the information processing controller can be operated efficiently. .

サブプロセッサプログラム処理進捗レジスタ1046は、サブプロセッサプログラムの処理を割り当てられたプレセッシングスレッドが、処理進捗状況を書き込むための2ビット(x,y)のレジスタである。例えば、(0,0)は未処理を示し、(0,1)は処理中の段階1を示し、(1,0)は処理中の段階2を示し、(1,1)は処理完了を示す。さらに、この2ビットとともに、プロセッシングスレッド識別子を書き込むことにより、処理を割り当てられたプレセッシングスレッドを示すようにしてもよい。   The sub processor program processing progress register 1046 is a 2-bit (x, y) register for a processing thread assigned with processing of the sub processor program to write the processing progress status. For example, (0,0) indicates unprocessed, (0,1) indicates stage 1 being processed, (1,0) indicates stage 2 being processed, and (1,1) indicates completion of processing. Show. Further, a processing thread identifier may be written together with these 2 bits to indicate a processing thread to which processing is assigned.

または、図23にプレセッシングスレッド0,1,2,3として示すように、情報処理コントローラ内の各プロセッシングスレッドごとに、サブプロセッサプログラムの処理進捗状況を書き込むためのレジスタを設けてもよい。   Alternatively, as shown as processing threads 0, 1, 2, and 3 in FIG. 23, a register for writing the processing progress status of the sub processor program may be provided for each processing thread in the information processing controller.

サブプロセッサプログラム処理進捗レジスタ1046は、情報処理コントローラ内のメインプロセッサ1021、全てのサブプロセッサ1023および全てのプレセッシングスレッドがアクセス可能であり、これにより、サブプロセッサプログラムの処理進捗状況を的確に把握することができる。さらに、各プロセッシングスレッドごとに処理進捗レジスタを設ける場合には、複数のサブプロセッサプログラムが同時に実行される場合にも処理進捗状況の把握が可能となる。   The sub processor program processing progress register 1046 can be accessed by the main processor 1021, all sub processors 1023, and all processing threads in the information processing controller, thereby accurately grasping the processing progress of the sub processor program. can do. Further, when a processing progress register is provided for each processing thread, it is possible to grasp the processing progress status even when a plurality of sub-processor programs are executed simultaneously.

以上が、各サブプロセッサ1023が内部に、仮想的に独立した複数のプレセッシングスレッドを有する場合のプレセッシングスレッド管理方法の例である。   The above is an example of a processing thread management method in the case where each sub processor 1023 has a plurality of virtually independent processing threads inside.

なお、以下においては、サブプロセッサが何らかの処理を行う場合には、当該サブプロセッサ内部のいずれのプレセッシングスレッドが処理を行っても構わないものとし、プレセッシングスレッドの違いによる実行結果の差異は生じないものとする。したがって、サブプロセッサの処理内容につき、サブプロセッサ内部の複数のプレセッシングスレッドがどの様に処理を分担するかについては説明を省略する。   In the following, when a sub processor performs some processing, any processing thread in the sub processor may perform processing, and the difference in execution results due to the difference in processing threads. Shall not occur. Therefore, the description of how the plurality of processing threads in the sub processor share the processing with respect to the processing contents of the sub processor will be omitted.

(3−8.ソフトウェアセルの生成および構成)
図16のネットワークシステムでは、情報処理装置1001,1002,1003および1004の間での分散処理のために、情報処理装置1001,1002,1003および1004の間でソフトウェアセルが伝送される。すなわち、ある情報処理装置内の情報処理コントローラに含まれるメインプロセッサ1021は、コマンド、プログラムおよびデータを含むソフトウェアセルを生成し、ネットワーク1009を介して他の情報処理装置に送信することによって、処理を分散することができる。
(3-8. Generation and configuration of software cell)
In the network system of FIG. 16, software cells are transmitted between the information processing apparatuses 1001, 1002, 1003, and 1004 for distributed processing between the information processing apparatuses 1001, 1002, 1003, and 1004. That is, the main processor 1021 included in the information processing controller in a certain information processing apparatus generates a software cell including a command, a program, and data, and transmits the software cell to another information processing apparatus via the network 1009 to perform processing. Can be dispersed.

図3に、ソフトウェアセルの構成の一例を示す。この例のソフトウェアセルは、全体として、送信元ID、送信先ID、応答先ID、セルインターフェース、DMAコマンド、プログラム、およびデータによって構成される。   FIG. 3 shows an example of the configuration of the software cell. The software cell in this example is composed of a transmission source ID, a transmission destination ID, a response destination ID, a cell interface, a DMA command, a program, and data as a whole.

送信元IDには、ソフトウェアセルの送信元である情報処理装置のネットワークアドレスおよび情報処理装置ID、さらに、その情報処理装置内の情報処理コントローラが備えるメインプロセッサ1021および各サブプロセッサ1023の識別子(メインプロセッサIDおよびサブプロセッサID)が含まれる。   The transmission source ID includes the network address and information processing device ID of the information processing device that is the transmission source of the software cell, and the identifiers of the main processor 1021 and each sub-processor 1023 included in the information processing controller in the information processing device (main Processor ID and sub-processor ID).

送信先IDおよび応答先IDには、それぞれ、ソフトウェアセルの送信先である情報処理装置、およびソフトウェアセルの実行結果の応答先である情報処理装置についての、同じ情報が含まれる。   The transmission destination ID and the response destination ID include the same information about the information processing device that is the transmission destination of the software cell and the information processing device that is the response destination of the execution result of the software cell, respectively.

セルインターフェースは、ソフトウェアセルの利用に必要な情報であり、グローバルID、必要なサブプロセッサの情報、サンドボックスサイズ、および前回のソフトウェアセルIDから構成される。   The cell interface is information necessary for using the software cell, and includes a global ID, necessary sub-processor information, a sandbox size, and a previous software cell ID.

グローバルIDは、ネットワーク全体を通して当該のソフトウェアセルを一意的に識別できるものであり、送信元ID、およびソフトウェアセルの作成または送信の日時(日付および時刻)に基づいて作成される。   The global ID can uniquely identify the software cell throughout the network, and is created based on the transmission source ID and the date and time (date and time) of creation or transmission of the software cell.

必要なサブプロセッサの情報は、当該ソフトウェアセルの実行に必要なサブプロセッサの数が設定される。サンドボックスサイズは、当該ソフトウェアセルの実行に必要なメインメモリ1026内およびサブプロセッサ1023のLS1024内のメモリ量が設定される。   In the necessary sub-processor information, the number of sub-processors necessary for executing the software cell is set. As the sandbox size, the amount of memory in the main memory 1026 and the LS 1024 of the sub processor 1023 necessary for executing the software cell is set.

前回のソフトウェアセルIDは、ストリーミングデータなどのシーケンシャルな実行を要求する1グループのソフトウェアセル内の、前回のソフトウェアセルの識別子である。   The previous software cell ID is an identifier of the previous software cell in a group of software cells that request sequential execution of streaming data or the like.

ソフトウェアセルの実行セクションは、DMAコマンド、プログラムおよびデータから構成される。DMAコマンドには、プログラムの起動に必要な一連のDMAコマンドが含まれ、プログラムには、サブプロセッサ1023によって実行されるサブプロセッサプログラムが含まれる。ここでのデータは、このサブプロセッサプログラムを含むプログラムによって処理されるデータである。   The execution section of the software cell is composed of DMA commands, programs and data. The DMA command includes a series of DMA commands necessary for starting the program, and the program includes a sub processor program executed by the sub processor 1023. The data here is data processed by a program including the sub processor program.

さらに、DMAコマンドには、ロードコマンド、キックコマンド、機能プログラム実行コマンド、ステータス要求コマンド、およびステータス返信コマンドが含まれる。   Further, the DMA command includes a load command, a kick command, a function program execution command, a status request command, and a status return command.

ロードコマンドは、メインメモリ1026内の情報をサブプロセッサ1023内のLS1024にロードするコマンドであり、ロードコマンド自体のほかに、メインメモリアドレス、サブプロセッサIDおよびLSアドレスを含む。メインメモリアドレスは、情報のロード元であるメインメモリ1026内の所定領域のアドレスを示す。サブプロセッサIDおよびLSアドレスは、情報のロード先であるサブプロセッサ1023の識別子およびLS1024のアドレスを示す。   The load command is a command for loading information in the main memory 1026 to the LS 1024 in the sub processor 1023, and includes a main memory address, a sub processor ID, and an LS address in addition to the load command itself. The main memory address indicates an address of a predetermined area in the main memory 1026 from which information is loaded. The sub processor ID and the LS address indicate the identifier of the sub processor 1023 to which the information is loaded and the address of the LS 1024.

キックコマンドは、サブプロセッサプログラムの実行を開始するコマンドであり、キックコマンド自体のほかに、サブプロセッサIDおよびプログラムカウンタを含む。サブプロセッサIDは、キック対象のサブプロセッサ1023を識別し、プログラムカウンタは、サブプロセッサプログラム実行用プログラムカウンタのためのアドレスを与える。   The kick command is a command for starting execution of the sub processor program, and includes a sub processor ID and a program counter in addition to the kick command itself. The sub processor ID identifies the sub processor 1023 to be kicked, and the program counter gives an address for the program counter for executing the sub processor program.

機能プログラム実行コマンドは、後述のように、ある情報処理装置が他の情報処理装置に対して、機能プログラムの実行を要求するコマンドである。機能プログラム実行コマンドを受信した情報処理装置内の情報処理コントローラは、後述の機能プログラムIDによって、起動すべき機能プログラムを識別する。   As will be described later, the function program execution command is a command for requesting execution of a function program from another information processing apparatus to another information processing apparatus. The information processing controller in the information processing apparatus that has received the function program execution command identifies a function program to be activated by a function program ID described later.

ステータス要求コマンドは、送信先IDで示される情報処理装置の現在の動作状態(状況)に関する装置情報を、応答先IDで示される情報処理装置宛に送信することを要求するコマンドである。機能プログラムについては後述するが、図6に示す情報処理装置のメインメモリ1026が記憶するソフトウェアの構成図において機能プログラムにカテゴライズされるプログラムである。機能プログラムは、メインメモリ1026にロードされ、メインプロセッサ1021により実行される。   The status request command is a command for requesting transmission of device information related to the current operation state (situation) of the information processing device indicated by the transmission destination ID to the information processing device indicated by the response destination ID. Although the function program will be described later, it is a program categorized into the function program in the software configuration diagram stored in the main memory 1026 of the information processing apparatus shown in FIG. The function program is loaded into the main memory 1026 and executed by the main processor 1021.

ステータス返信コマンドは、上記のステータス要求コマンドを受信した情報処理装置が、自身の装置情報を当該ステータス要求コマンドに含まれる応答先IDで示される情報処理装置に応答するコマンドである。ステータス返信コマンドは、実行セクションのデータ領域に装置情報を格納する。   The status reply command is a command in which the information processing apparatus that has received the status request command responds to the information processing apparatus indicated by the response destination ID included in the status request command with its own apparatus information. The status reply command stores device information in the data area of the execution section.

図4に、DMAコマンドがステータス返信コマンドである場合におけるソフトウェアセルのデータ領域の構造を示す。   FIG. 4 shows the structure of the data area of the software cell when the DMA command is a status return command.

情報処理装置IDは、情報処理コントローラを備える情報処理装置を識別するための識別子であり、ステータス返信コマンドを送信する情報処理装置のIDを示す。情報処理装置IDは、電源投入時、その情報処理装置内の情報処理コントローラに含まれるメインプロセッサ1021によって、電源投入時の日時、情報処理装置のネットワークアドレスおよび情報処理装置内の情報処理コントローラに含まれるサブプロセッサ1023の数などに基づいて生成される。   The information processing device ID is an identifier for identifying the information processing device including the information processing controller, and indicates the ID of the information processing device that transmits the status reply command. The information processing apparatus ID is included in the information processing controller in the information processing apparatus by the main processor 1021 included in the information processing controller in the information processing apparatus when the power is turned on. The number of sub processors 1023 to be generated is generated.

情報処理装置種別IDには、当該の情報処理装置の特徴を表す値が含まれる。情報処理装置の特徴とは、例えば、後述のハードディスクレコーダ、PDA(Personal Digital Assistants)、ポータブルCD(Compact Disc)プレーヤなどである。また、情報処理装置種別IDは、映像音声記録、映像音声再生など、情報処理装置の機能を表すものであってもよい。情報処理装置の特徴や機能を表す値は予め決定されているものとし、情報処理装置種別IDを読み出すことにより、当該情報処理装置の特徴や機能を把握することが可能である。   The information processing device type ID includes a value representing the characteristics of the information processing device. The characteristics of the information processing apparatus include, for example, a hard disk recorder, a PDA (Personal Digital Assistant), a portable CD (Compact Disc) player, and the like, which will be described later. The information processing device type ID may represent a function of the information processing device such as video / audio recording or video / audio reproduction. It is assumed that values representing the characteristics and functions of the information processing apparatus are determined in advance, and it is possible to grasp the characteristics and functions of the information processing apparatus by reading the information processing apparatus type ID.

MS(マスター/スレーブ)ステータスは、後述のように情報処理装置がマスター装置またはスレーブ装置のいずれで動作しているかを表すもので、これが0に設定されている場合にはマスター装置として動作していることを示し、1に設定されている場合にはスレーブ装置として動作していることを示す。   The MS (master / slave) status indicates whether the information processing apparatus is operating as a master apparatus or a slave apparatus, as will be described later. When this is set to 0, it operates as a master apparatus. If it is set to 1, it indicates that it is operating as a slave device.

メインプロセッサ動作周波数は、情報処理コントローラ内のメインプロセッサ1021の動作周波数を表す。メインプロセッサ使用率は、メインプロセッサ1021で現在動作している全てのプログラムについての、メインプロセッサ1021での使用率を表す。メインプロセッサ使用率は、対象メインプロセッサの全処理能力に対する使用中の処理能力の比率を表した値で、例えばプロセッサ処理能力評価のための単位であるMIPSを単位として算出され、または単位時間あたりのプロセッサ使用時間に基づいて算出される。後述のサブプロセッサ使用率についても同様である。   The main processor operating frequency represents the operating frequency of the main processor 1021 in the information processing controller. The main processor usage rate represents the usage rate in the main processor 1021 for all programs currently running on the main processor 1021. The main processor usage rate is a value representing the ratio of the processing capacity in use to the total processing capacity of the target main processor. For example, the main processor usage rate is calculated by using MIPS, which is a unit for evaluating the processor processing capacity, or per unit time. Calculated based on processor usage time. The same applies to the sub-processor usage rate described later.

サブプロセッサ数は、当該の情報処理コントローラが備えるサブプロセッサ1023の数を表す。サブプロセッサIDは、当該の情報処理コントローラ内の各サブプロセッサ1023を識別するための識別子である。   The number of sub processors represents the number of sub processors 1023 provided in the information processing controller. The sub processor ID is an identifier for identifying each sub processor 1023 in the information processing controller.

サブプロセッサステータスは、各サブプロセッサ1023の状態を表すものであり、unused、reserved、busyなどの状態がある。unusedは、当該のサブプロセッサが現在使用されてなく、使用の予約もされていないことを示す。reservedは、現在は使用されていないが、予約されている状態を示す。busyは、現在使用中であることを示す。   The sub processor status represents the state of each sub processor 1023, and there are states such as “unused”, “reserved” and “busy”. “unused” indicates that the sub-processor is not currently used and is not reserved for use. “reserved” indicates a reserved state that is not currently used. Busy indicates that it is currently in use.

サブプロセッサ使用率は、当該のサブプロセッサで現在実行している、または当該のサブプロセッサに実行が予約されているサブプロセッサプログラムについての、当該サブプロセッサでの使用率を表す。すなわち、サブプロセッサ使用率は、サブプロセッサステータスがbusyである場合には、現在の使用率を示し、サブプロセッサステータスがreservedである場合には、後に使用される予定の推定使用率を示す。   The sub-processor usage rate represents the usage rate of the sub-processor for a sub-processor program that is currently being executed by the sub-processor or that is reserved for execution by the sub-processor. That is, the sub processor usage rate indicates the current usage rate when the sub processor status is busy, and indicates the estimated usage rate that is to be used later when the sub processor status is reserved.

サブプロセッサID、サブプロセッサステータスおよびサブプロセッサ使用率は、1つのサブプロセッサ1023に対して一組設定され、1つの情報処理コントローラ内のサブプロセッサ1023の数の組数だけ設定される。   One set of sub-processor ID, sub-processor status, and sub-processor usage rate is set for one sub-processor 1023, and is set for the number of sub-processors 1023 in one information processing controller.

メインメモリ総容量およびメインメモリ使用量は、それぞれ、当該の情報処理コントローラに接続されているメインメモリ1026の総容量および現在使用中の容量を表す。   The main memory total capacity and the main memory usage amount represent the total capacity and the currently used capacity of the main memory 1026 connected to the information processing controller, respectively.

外部記録部数は、当該の情報処理コントローラに接続されている外部記録部1031の数を表す。外部記録部IDは、当該の情報処理コントローラに接続されている外部記録部1031を一意的に識別する情報である。外部記録部種別IDは、当該の外部記録部の種類(例えば、ハードディスク、CD±RW、DVD±RW、メモリディスク、SRAM、ROMなど)を表す。   The number of external recording units represents the number of external recording units 1031 connected to the information processing controller. The external recording unit ID is information for uniquely identifying the external recording unit 1031 connected to the information processing controller. The external recording unit type ID represents the type of the external recording unit (for example, hard disk, CD ± RW, DVD ± RW, memory disk, SRAM, ROM, etc.).

外部記録部総容量および外部記録部使用量は、それぞれ、外部記録部IDによって識別される外部記録部1031の総容量および現在使用中の容量を表す。   The external recording unit total capacity and the external recording unit usage amount represent the total capacity and the currently used capacity of the external recording unit 1031 identified by the external recording unit ID, respectively.

外部記録部ID、外部記録部種別ID、外部記録部総容量および外部記録部使用量は、1つの外部記録部1031に対して一組設定され、当該の情報処理コントローラに接続されている外部記録部1031の数の組数だけ設定される。すなわち、1つの情報処理コントローラに複数の外部記録部が接続されている場合、各々の外部記録部には異なる外部記録部IDが割り当てられ、外部記録部種別ID、外部記録部総容量および外部記録部使用量も別々に管理される。   An external recording unit ID, an external recording unit type ID, an external recording unit total capacity, and an external recording unit usage amount are set for one external recording unit 1031 and connected to the information processing controller. The number of sets corresponding to the number of sections 1031 is set. That is, when a plurality of external recording units are connected to one information processing controller, a different external recording unit ID is assigned to each external recording unit, the external recording unit type ID, the external recording unit total capacity, and the external recording unit Department usage is also managed separately.

(3−9.ソフトウェアセルの実行)
ある情報処理装置内の情報処理コントローラに含まれるメインプロセッサ1021は、以上のような構成のソフトウェアセルを生成し、ネットワーク1009を介して他の情報処理装置および当該装置内の情報処理コントローラに送信する。送信元の情報処理装置、送信先の情報処理装置、応答先の情報処理装置、および各装置内の情報処理コントローラは、それぞれ、上記の送信元ID、送信先IDおよび応答先IDによって識別される。
(3-9. Execution of software cell)
The main processor 1021 included in the information processing controller in a certain information processing device generates a software cell having the above-described configuration and transmits it to another information processing device and the information processing controller in the device via the network 1009. . The transmission source information processing device, the transmission destination information processing device, the response destination information processing device, and the information processing controller in each device are identified by the transmission source ID, the transmission destination ID, and the response destination ID, respectively. .

ソフトウェアセルを受信した情報処理装置内の情報処理コントローラに含まれるメインプロセッサ1021は、そのソフトウェアセルをメインメモリ1026に格納する。さらに、送信先のメインプロセッサ1021は、ソフトウェアセルを読み出し、それに含まれるDMAコマンドを処理する。   The main processor 1021 included in the information processing controller in the information processing apparatus that has received the software cell stores the software cell in the main memory 1026. Further, the transmission destination main processor 1021 reads the software cell and processes the DMA command included therein.

具体的に、送信先のメインプロセッサ1021は、まず、ロードコマンドを実行する。これによって、ロードコマンドで指示されたメインメモリアドレスから、ロードコマンドに含まれるサブプロセッサIDおよびLSアドレスで特定されるサブプロセッサ内のLS1024の所定領域に、情報がロードされる。ここでロードされる情報は、受信したソフトウェアセルに含まれるサブプロセッサプログラムまたはデータ、あるいはその他の指示されたデータである。   Specifically, the main processor 1021 of the transmission destination first executes a load command. As a result, information is loaded from the main memory address designated by the load command to a predetermined area of the LS 1024 in the sub processor specified by the sub processor ID and the LS address included in the load command. The information loaded here is a sub-processor program or data included in the received software cell, or other designated data.

次に、メインプロセッサ1021は、キックコマンドを、これに含まれるサブプロセッサIDで指示されたサブプロセッサに、同様にキックコマンドに含まれるプログラムカウンタと共に送信する。   Next, the main processor 1021 transmits the kick command to the sub processor indicated by the sub processor ID included therein, together with the program counter included in the kick command.

指示されたサブプロセッサは、そのキックコマンドおよびプログラムカウンタに従って、サブプロセッサプログラムを実行する。そして、実行結果をメインメモリ1026に格納した後、実行を完了したことをメインプロセッサ1021に通知する。   The instructed sub processor executes the sub processor program according to the kick command and the program counter. Then, after the execution result is stored in the main memory 1026, the main processor 1021 is notified that the execution has been completed.

なお、送信先の情報処理装置内の情報処理コントローラにおいてソフトウェアセルを実行するプロセッサはサブプロセッサ1023に限定されるものではなく、メインプロセッサ1021がソフトウェアセルに含まれる機能プログラムなどのメインメモリ用プログラムを実行するように指定することも可能である。   Note that the processor that executes the software cell in the information processing controller in the information processing apparatus of the transmission destination is not limited to the sub-processor 1023, and the main processor 1021 stores a program for main memory such as a function program included in the software cell. It can also be specified to execute.

この場合には、送信元の情報処理装置は、送信先の情報処理装置宛に、サブプロセッサプログラムの代わりに、メインメモリ用プログラムおよびそのメインメモリ用プログラムによって処理されるデータを含み、DMAコマンドがロードコマンドであるソフトウェアセルを送信し、メインメモリ1026にメインメモリ用プログラムおよびそれによって処理されるデータを記憶させる。   In this case, the transmission source information processing apparatus includes a main memory program and data processed by the main memory program instead of the sub processor program, and the DMA command is sent to the transmission destination information processing apparatus. A software cell as a load command is transmitted, and the main memory 1026 stores the main memory program and data processed thereby.

次に、送信元の情報処理装置は、送信先の情報処理装置宛に、送信先の情報処理装置内の情報処理コントローラについてのメインプロセッサID、メインメモリアドレス、メインメモリ用プログラムを識別するための後述の機能プログラムIDなどの識別子、およびプログラムカウンタを含み、DMAコマンドがキックコマンドまたは機能プログラム実行コマンドであるソフトウェアセルを送信して、メインプロセッサ1021に当該メインメモリ用プログラムを実行させる。   Next, the transmission source information processing apparatus identifies the main processor ID, the main memory address, and the main memory program for the information processing controller in the transmission destination information processing apparatus for the transmission destination information processing apparatus. A software cell that includes an identifier such as a function program ID (to be described later) and a program counter and whose DMA command is a kick command or a function program execution command is transmitted to cause the main processor 1021 to execute the main memory program.

以上のように、この発明のネットワークシステムでは、送信元の情報処理装置は、サブプロセッサプログラムまたはメインメモリ用プログラムをソフトウェアセルによって送信先の情報処理装置に送信するとともに、当該サブプロセッサプログラムを送信先の情報処理装置内の情報処理コントローラに含まれるサブプロセッサ1023にロードさせ、当該サブプロセッサプログラムまたは当該メインメモリ用プログラムを送信先の情報処理装置に実行させることができる。   As described above, in the network system of the present invention, the transmission source information processing apparatus transmits the sub processor program or the main memory program to the transmission destination information processing apparatus by the software cell, and transmits the sub processor program to the transmission destination. It is possible to load the sub-processor 1023 included in the information processing controller in the information processing apparatus and cause the information processing apparatus as the transmission destination to execute the sub-processor program or the main memory program.

送信先の情報処理装置内の情報処理コントローラでは、受信したソフトウェアセルに含まれるプログラムがサブプロセッサプログラムである場合には、当該サブプロセッサプログラムを指定されたサブプロセッサにロードさせる。そして、ソフトウェアセルに含まれるサブプロセッサプログラムまたはメインメモリ用プログラムを実行させる。   When the program included in the received software cell is a sub processor program, the information processing controller in the transmission destination information processing apparatus loads the sub processor program to the designated sub processor. Then, the sub processor program or the main memory program included in the software cell is executed.

したがって、ユーザが送信先の情報処理装置を操作しなくても自動的に、当該サブプロセッサプログラムまたは当該メインメモリ用プログラムを送信先の情報処理装置内の情報処理コントローラに実行させることができる。   Therefore, even if the user does not operate the transmission destination information processing apparatus, the sub processor program or the main memory program can be automatically executed by the information processing controller in the transmission destination information processing apparatus.

このようにして情報処理装置は、自装置内の情報処理コントローラがサブプロセッサプログラムまたは機能プログラムなどのメインメモリ用プログラムを有していない場合には、ネットワークに接続された他の情報処理装置からそれらを取得することができる。さらに、各サブプロセッサとメインメモリとの間ではDMA方式によりデータ転送を行い、また上述したサンドボックスを使用することによって、1つの情報処理コントローラ内でデータを多段階に処理する必要がある場合でも、高速かつ高セキュリティに処理を実行することができる。   In this way, when the information processing controller in its own device does not have a main memory program such as a sub processor program or a function program, the information processing device can receive information from other information processing devices connected to the network. Can be obtained. Furthermore, data transfer is performed between each sub-processor and the main memory by the DMA method, and even when data needs to be processed in multiple stages in one information processing controller by using the above-described sandbox. High-speed and high-security processing can be executed.

[4.ネットワークシステムとしての分散処理その2]
ソフトウェアセルの使用による分散処理の結果、図24の上段に示すようにネットワーク1009に接続されている複数の情報処理装置1001,1002,1003および1004は、図24の下段に示すように、仮想的な1台の情報処理装置1007として動作する。ただし、そのためには、以下のような構成によって、以下のような処理が実行される必要がある。
[4. Distributed processing as a network system 2]
As a result of distributed processing using software cells, a plurality of information processing apparatuses 1001, 1002, 1003, and 1004 connected to the network 1009 as shown in the upper part of FIG. It operates as a single information processing apparatus 1007. However, for this purpose, the following processing needs to be executed by the following configuration.

(4−1.システムのソフトウェア構成とプログラムのロード)
図6に、個々の情報処理コントローラのメインメモリ1026が記憶するソフトウェアの構成を示す。これらのソフトウェア(プログラム)は、情報処理装置に電源が投入される前においては、当該の情報処理コントローラに接続される外部記録部1031に記録されているものである。
(4-1. System software configuration and program loading)
FIG. 6 shows the configuration of software stored in the main memory 1026 of each information processing controller. These software (programs) are recorded in the external recording unit 1031 connected to the information processing controller before the information processing apparatus is turned on.

各プログラムは、機能または特徴によって、制御プログラム、機能プログラムおよびデバイスドライバにカテゴライズされる。   Each program is categorized into a control program, a function program, and a device driver by function or feature.

制御プログラムは、各情報処理コントローラが同じものを備え、各情報処理コントローラのメインプロセッサ1021が実行するもので、後述のMS(マスター/スレーブ)マネージャおよび能力交換プログラムを含む。   The control program is the same for each information processing controller, and is executed by the main processor 1021 of each information processing controller, and includes an MS (master / slave) manager and a capability exchange program described later.

機能プログラムは、メインプロセッサ1021が実行するもので、記録用、再生用、素材検索用など、情報処理コントローラごとに情報処理装置に応じたものが備えられる。   The function program is executed by the main processor 1021, and is provided for each information processing controller, such as for recording, for reproduction, and for material search, according to the information processing apparatus.

デバイスドライバは、情報処理コントローラ(情報処理装置)の入出力(送受信)用で、放送受信、モニタ出力、ビットストリーム入出力、ネットワーク入出力など、情報処理コントローラごとに情報処理装置に応じたものが備えられる。   Device drivers are used for input / output (transmission / reception) of an information processing controller (information processing device), such as broadcast reception, monitor output, bit stream input / output, network input / output, etc. Provided.

ケーブルの差し込みなどによって情報処理装置が物理的にネットワーク1009に接続された状態で、情報処理装置に主電源が投入され、情報処理装置が電気的・機能的にもネットワーク1009に接続されると、その情報処理装置の情報処理コントローラのメインプロセッサ1021は、制御プログラムに属する各プログラム、およびデバイスドライバに属する各プログラムを、メインメモリ1026にロードする。   When the information processing apparatus is physically connected to the network 1009 by plugging in a cable or the like, the main power supply is turned on and the information processing apparatus is electrically and functionally connected to the network 1009. The main processor 1021 of the information processing controller of the information processing apparatus loads each program belonging to the control program and each program belonging to the device driver into the main memory 1026.

ロード手順としては、メインプロセッサ1021は、まず、DC1030に読み出し命令を実行させることによって、外部記録部1031からプログラムを読み出し、次に、DMAC1025に書き込み命令を実行させることによって、そのプログラムをメインメモリ1026に書き込む。   As a loading procedure, the main processor 1021 first reads a program from the external recording unit 1031 by causing the DC 1030 to execute a read command, and then causes the DMAC 1025 to execute a write command to load the program into the main memory 1026. Write to.

機能プログラムに属する各プログラムについては、必要なときに必要なプログラムだけをロードするように構成してもよく、または、他のカテゴリに属するプログラムと同様に、主電源投入直後に各プログラムをロードするように構成してもよい。   As for each program belonging to the function program, it may be configured to load only the necessary program when necessary, or like the programs belonging to other categories, each program is loaded immediately after the main power is turned on. You may comprise as follows.

機能プログラムに属する各プログラムは、ネットワークに接続された全ての情報処理装置の外部記録部1031に記録されている必要はなく、いずれか1つの情報処理装置の外部記録部1031に記録されていれば、前述の方法によって他の情報処理装置からロードすることができるので、結果的に図24の下段に示すように、仮想的な1台の情報処理装置1007として機能プログラムを実行することができる。   Each program belonging to the function program does not need to be recorded in the external recording unit 1031 of all information processing apparatuses connected to the network, and may be recorded in the external recording unit 1031 of any one information processing apparatus. Since it can be loaded from another information processing apparatus by the above-described method, as a result, as shown in the lower part of FIG. 24, the function program can be executed as one virtual information processing apparatus 1007.

また、前述したように、メインプロセッサ1021によって処理される機能プログラムは、サブプロセッサ1023によって処理されるサブプロセッサプログラムと連携動作する場合がある。そこで、メインプロセッサ1021が外部記録部1031から機能プログラムを読み出し、メインメモリ1026に書き込む際、対象となる機能プログラムと連携動作するサブプロセッサプログラムが存在する場合には、当該サブプロセッサプログラムも併せて同じメインメモリ1026に書き込む。この場合、連携動作するサブプロセッサプログラムは、1個である場合もあるが、複数個であることもあり得る。複数個である場合には、全ての連携動作するサブプロセッサプログラムをメインメモリ1026に書き込む。   Further, as described above, the function program processed by the main processor 1021 may operate in cooperation with the sub processor program processed by the sub processor 1023. Therefore, when the main processor 1021 reads out the function program from the external recording unit 1031 and writes it into the main memory 1026, if there is a sub processor program that operates in cooperation with the target function program, the sub processor program is also the same. Write to main memory 1026. In this case, there may be one sub-processor program that operates in cooperation, but there may be a plurality of sub-processor programs. If there are a plurality of sub-processor programs, all sub-processor programs operating in cooperation are written in the main memory 1026.

メインメモリ1026に書き込まれたサブプロセッサプログラムは、その後、サブプロセッサ1023内のLS1024に書き込まれ、メインプロセッサ1021によって処理される機能プログラムと連携動作する。   The sub processor program written in the main memory 1026 is then written in the LS 1024 in the sub processor 1023 and operates in cooperation with the function program processed by the main processor 1021.

図3のソフトウェアセルに示したように、機能プログラムには、プログラムごとにプログラムを一意的に識別できる識別子が、機能プログラムIDとして割り当てられる。機能プログラムIDは、機能プログラムの作成の段階で、作成日時や情報処理装置IDなどから決定される。   As shown in the software cell of FIG. 3, an identifier that can uniquely identify the program for each program is assigned to the function program as the function program ID. The function program ID is determined from the creation date and time, the information processing apparatus ID, and the like at the stage of creating the function program.

サブプロセッサプログラムにもサブプロセッサプログラムIDが割り当てられ、これによりサブプロセッサプログラムを一意的に識別可能である。割り当てられるサブプロセッサプログラムIDは、連携動作の相手となる機能プログラムの機能プログラムIDと関連性のある識別子、例えば機能プログラムIDを親番号とした上で最後尾に枝番号を付加させた識別子でもよいが、連携動作の相手となる機能プログラムの機能プログラムIDとは関連性のない識別子でもよい。   A sub processor program ID is also assigned to the sub processor program, whereby the sub processor program can be uniquely identified. The assigned sub processor program ID may be an identifier related to the function program ID of the function program that is the partner of the cooperative operation, for example, an identifier with the function program ID as a parent number and a branch number added at the end. However, an identifier that is not related to the function program ID of the function program that is the partner of the cooperative operation may be used.

いずれにしても、機能プログラムとサブプロセッサプログラムが連携動作する場合には、両者とも相手の識別子であるプログラムIDを自プログラム内に記憶しておく必要がある。機能プログラムが複数個のサブプロセッサプログラムと連携動作する場合にも、当該機能プログラムは、その複数個のサブプロセッサプログラムのサブプロセッサプログラムIDを全て記憶しておく。   In any case, when the function program and the sub processor program operate in cooperation, it is necessary to store the program ID, which is the other party's identifier, in the own program. Even when the function program operates in cooperation with a plurality of sub-processor programs, the function program stores all the sub-processor program IDs of the plurality of sub-processor programs.

メインプロセッサ1021は、自身が動作する情報処理装置の装置情報(動作状態に関する情報)を格納するための領域をメインメモリ1026に確保し、当該情報を自装置の装置情報テーブルとして記録する。ここでの装置情報は、図4に示した情報処理装置ID以下の各情報である。   The main processor 1021 secures an area in the main memory 1026 for storing device information (information relating to the operation state) of the information processing device on which the main processor 1021 operates, and records the information as a device information table of the own device. The device information here is each piece of information below the information processing device ID shown in FIG.

(4−2.システムにおけるマスター/スレーブの決定)
上述したネットワークシステムでは、ある情報処理装置への主電源投入時、その情報処理装置の情報処理コントローラのメインプロセッサ1021は、マスター/スレーブマネージャ(以下、MSマネージャ)をメインメモリ1026にロードし、実行する。
(4-2. Determination of master / slave in the system)
In the network system described above, when the main power supply to a certain information processing apparatus is turned on, the main processor 1021 of the information processing controller of the information processing apparatus loads a master / slave manager (hereinafter referred to as MS manager) into the main memory 1026 and executes it. To do.

MSマネージャは、自身が動作する情報処理装置がネットワーク1009に接続されていることを検知すると、同じネットワーク1009に接続されている他の情報処理装置の存在を確認する。ここでの「接続」または「存在」は、上述したように、情報処理装置が物理的にネットワーク1009に接続されているだけでなく、電気的・機能的にもネットワーク1009に接続されていることを示す。   When the MS manager detects that the information processing apparatus on which it operates is connected to the network 1009, the MS manager confirms the existence of another information processing apparatus connected to the same network 1009. Here, “connection” or “existence” means that the information processing apparatus is not only physically connected to the network 1009 but also electrically and functionally connected to the network 1009 as described above. Indicates.

以下では、自身が動作する情報処理装置を自装置、他の情報処理装置を他装置と称する。当該装置も、当該情報処理装置を示すものとする。   Hereinafter, an information processing apparatus in which the device operates is referred to as an own device, and another information processing device is referred to as an other device. The apparatus also indicates the information processing apparatus.

MSマネージャが同じネットワーク1009に接続されている他の情報処理装置の存在を確認する方法を、以下に示す。   A method in which the MS manager confirms the existence of another information processing apparatus connected to the same network 1009 will be described below.

MSマネージャは、DMAコマンドがステータス要求コマンドであり、送信元IDおよび応答先IDが当該情報処理装置で、送信先IDを特定しないソフトウェアセルを生成して、当該情報処理装置が接続されたネットワーク上に送信し、ネットワーク接続確認用のタイマーを設定する。タイマーのタイムアウト時間は、例えば10分とされる。   The MS manager generates a software cell in which the DMA command is a status request command, the transmission source ID and the response destination ID are the information processing apparatus, and the transmission destination ID is not specified, and the network manager is connected to the information processing apparatus. Set the timer for checking the network connection. The timeout time of the timer is, for example, 10 minutes.

当該ネットワークシステム上に他の情報処理装置が接続されている場合、その他装置は、上記ステータス要求コマンドのソフトウェアセルを受信し、上記応答先IDで特定されるステータス要求コマンドを発行した情報処理装置に対して、DMAコマンドがステータス返信コマンドで、かつデータとして自身(その他装置)の装置情報を含むソフトウェアセルを送信する。このステータス返信コマンドのソフトウェアセルには、少なくとも当該他装置を特定する情報(情報処理装置ID、メインプロセッサに関する情報、サブプロセッサに関する情報など)および当該他装置のMSステータスが含まれる。   When another information processing apparatus is connected to the network system, the other apparatus receives the software cell of the status request command, and sends it to the information processing apparatus that has issued the status request command specified by the response destination ID. On the other hand, the DMA command is a status return command, and a software cell including device information of itself (other device) is transmitted as data. The software cell of this status reply command includes at least information for identifying the other device (information processing device ID, information on the main processor, information on the sub processor, etc.) and the MS status of the other device.

ステータス要求コマンドを発行した情報処理装置のMSマネージャは、上記ネットワーク接続確認用のタイマーがタイムアウトするまで、当該ネットワーク上の他装置から送信されるステータス返信コマンドのソフトウェアセルの受信を監視する。その結果、MSステータス=0(マスター装置)を示すステータス返信コマンドが受信された場合には、自装置の装置情報テーブルにおけるMSステータスを1に設定する。これによって、当該装置はスレーブ装置となる。   The MS manager of the information processing apparatus that has issued the status request command monitors the reception of the software cell of the status reply command transmitted from another apparatus on the network until the timer for network connection confirmation times out. As a result, when the status reply command indicating the MS status = 0 (master device) is received, the MS status in the device information table of the own device is set to 1. As a result, the device becomes a slave device.

一方、上記ネットワーク接続確認用のタイマーがタイムアウトするまでの間にステータス返信コマンドが全く受信されなかった場合、またはMSステータス=0(マスター装置)を示すステータス返信コマンドが受信されなかった場合には、自装置の装置情報テーブルにおけるMSステータスを0に設定する。これによって、当該装置はマスター装置となる。   On the other hand, if no status reply command is received before the network connection confirmation timer times out, or if no status reply command indicating MS status = 0 (master device) is received, The MS status in the device information table of the own device is set to 0. This makes the device a master device.

すなわち、いずれの装置もネットワーク1009に接続されていない状態、またはネットワーク1009上にマスター装置が存在しない状態において、新たな情報処理装置がネットワーク1009に接続されると、当該装置は自動的にマスター装置として設定される。一方、ネットワーク1009上に既にマスター装置が存在する状態において、新たな情報処理装置がネットワーク1009に接続されると、当該装置は自動的にスレーブ装置として設定される。   That is, when no information processing apparatus is connected to the network 1009 or a new information processing apparatus is connected to the network 1009 in a state where no master apparatus exists on the network 1009, the apparatus automatically becomes the master apparatus. Set as On the other hand, when a new information processing apparatus is connected to the network 1009 in a state where a master apparatus already exists on the network 1009, the apparatus is automatically set as a slave apparatus.

マスター装置およびスレーブ装置のいずれについても、MSマネージャは、定期的にステータス要求コマンドをネットワーク1009上の他装置に送信してステータス情報を照会することにより、他装置の状況を監視する。その結果、ネットワーク1009に接続されている情報処理装置の主電源が遮断され、またはネットワーク1009から情報処理装置が切り離されることにより、あらかじめ判定用に設定された所定期間内に特定の他装置からステータス返信コマンドが返信されなかった場合や、ネットワーク1009に新たな情報処理装置が接続された場合など、ネットワーク1009の接続状態に変化があった場合には、その情報を後述の能力交換プログラムに通知する。   For both the master device and the slave device, the MS manager periodically monitors the status of the other device by sending a status request command to the other device on the network 1009 and inquiring status information. As a result, the main power supply of the information processing apparatus connected to the network 1009 is cut off or the information processing apparatus is disconnected from the network 1009, so that the status from a specific other apparatus is determined within a predetermined period set in advance for determination. When there is a change in the connection state of the network 1009, such as when a reply command is not returned or when a new information processing apparatus is connected to the network 1009, the information is notified to a capability exchange program described later. .

(4−3.マスター装置およびスレーブ装置における装置情報の取得)
メインプロセッサ1021は、MSマネージャから、ネットワーク1009上の他装置の照会および自装置のMSステータスの設定完了の通知を受けると、能力交換プログラムを実行する。
(4-3. Acquisition of device information in master device and slave device)
When the main processor 1021 receives from the MS manager the inquiry of other devices on the network 1009 and the notification of completion of setting of the MS status of the own device, the main processor 1021 executes the capability exchange program.

能力交換プログラムは、自装置がマスター装置である場合には、ネットワーク1009に接続されている全ての他装置の装置情報、すなわち各スレーブ装置の装置情報を取得する。   When the own device is a master device, the capability exchange program acquires device information of all other devices connected to the network 1009, that is, device information of each slave device.

他装置の装置情報の取得は、上述したように、DMAコマンドがステータス要求コマンドであるソフトウェアセルを生成して他装置に送信し、その後、DMAコマンドがステータス返信コマンドで、かつデータとして他装置の装置情報を含むソフトウェアセルを他装置から受信することによって可能である。   As described above, the device information of another device is generated by generating a software cell in which the DMA command is a status request command and transmitting it to the other device. Thereafter, the DMA command is a status return command and data of the other device. This is possible by receiving a software cell containing device information from another device.

能力交換プログラムは、マスター装置である自装置の装置情報テーブルと同様に、ネットワーク1009に接続されている全ての他装置(各スレーブ装置)の装置情報を格納するための領域を自装置のメインメモリ1026に確保し、これら情報を他装置(スレーブ装置)の装置情報テーブルとして記録する。   Similar to the device information table of the own device that is the master device, the capability exchange program sets an area for storing device information of all other devices (each slave device) connected to the network 1009 as the main memory of the own device. These information is recorded as a device information table of another device (slave device).

すなわち、マスター装置のメインメモリ1026には、自装置を含むネットワーク1009に接続されている全ての情報処理装置の装置情報が、装置情報テーブルとして記録される。   That is, device information of all information processing devices connected to the network 1009 including the device itself is recorded in the main memory 1026 of the master device as a device information table.

一方、能力交換プログラムは、自装置がスレーブ装置である場合には、ネットワーク1009に接続されている全ての他装置の装置情報、すなわちマスター装置および自装置以外の各スレーブ装置の装置情報を取得し、これら装置情報に含まれる情報処理装置IDおよびMSステータスを、自装置のメインメモリ1026に記録する。   On the other hand, when the own device is a slave device, the capability exchange program acquires device information of all other devices connected to the network 1009, that is, device information of each slave device other than the master device and the own device. The information processing apparatus ID and the MS status included in the apparatus information are recorded in the main memory 1026 of the own apparatus.

すなわち、スレーブ装置のメインメモリ1026には、自装置の装置情報が、装置情報テーブルとして記録されるとともに、自装置以外のネットワーク1009に接続されているマスター装置および各スレーブ装置についての情報処理装置IDおよびMSステータスが、別の装置情報テーブルとして記録される。   That is, the device information of the own device is recorded in the main memory 1026 of the slave device as a device information table, and the master device connected to the network 1009 other than the own device and the information processing device ID for each slave device. And the MS status are recorded as another device information table.

また、マスター装置およびスレーブ装置のいずれについても、能力交換プログラムは、上記のようにMSマネージャから、新たにネットワーク1009に情報処理装置が接続されたことが通知されたときには、その情報処理装置の装置情報を取得し、上述したようにメインメモリ1026に記録する。   Further, in both the master device and the slave device, when the capability exchange program is notified from the MS manager that the information processing device is newly connected to the network 1009 as described above, the device of the information processing device Information is acquired and recorded in the main memory 1026 as described above.

なお、MSマネージャおよび能力交換プログラムは、メインプロセッサ1021で実行されることに限らず、いずれかのサブプロセッサ1023で実行されてもよい。また、MSマネージャおよび能力交換プログラムは、情報処理装置の主電源が投入されている間は常時動作する常駐プログラムであることが望ましい。   Note that the MS manager and the capability exchange program are not limited to being executed by the main processor 1021, but may be executed by any of the sub processors 1023. The MS manager and the capability exchange program are preferably resident programs that always operate while the main power supply of the information processing apparatus is turned on.

(4−4.情報処理装置がネットワークから切断された場合)
マスター装置およびスレーブ装置のいずれについても、能力交換プログラムは、上記のようにMSマネージャから、ネットワーク1009に接続されている情報処理装置の主電源が遮断され、またはネットワーク1009から情報処理装置が切り離されたことが通知されたときには、その情報処理装置の装置情報テーブルを自装置のメインメモリ1026から削除する。
(4-4. When the information processing apparatus is disconnected from the network)
For both the master device and the slave device, the capability exchange program causes the MS manager to cut off the main power supply of the information processing device connected to the network 1009 or disconnect the information processing device from the network 1009 as described above. When it is notified, the device information table of the information processing device is deleted from the main memory 1026 of the own device.

さらに、このようにネットワーク1009から切断された情報処理装置がマスター装置である場合には、以下のような方法によって、新たにマスター装置が決定される。   Furthermore, when the information processing apparatus disconnected from the network 1009 is a master apparatus, a new master apparatus is determined by the following method.

具体的に、例えば、ネットワーク1009から切断されていない情報処理装置は、それぞれ、自装置および他装置の情報処理装置IDを数値に置き換えて、自装置の情報処理装置IDを他装置の情報処理装置IDと比較し、自装置の情報処理装置IDがネットワーク1009から切断されていない情報処理装置中で最小である場合、そのスレーブ装置は、マスター装置に移行して、MSステータスを0に設定し、マスター装置として、上述したように、ネットワーク1009に接続されている全ての他装置(各スレーブ装置)の装置情報を取得して、メインメモリ1026に記録する。   Specifically, for example, each of the information processing apparatuses that are not disconnected from the network 1009 replaces the information processing apparatus ID of the own apparatus and the other apparatus with a numerical value, and sets the information processing apparatus ID of the own apparatus to the information processing apparatus of the other apparatus. If the information processing device ID of the own device is the smallest among the information processing devices that are not disconnected from the network 1009, the slave device moves to the master device and sets the MS status to 0, As described above, device information of all other devices (each slave device) connected to the network 1009 is acquired as a master device and recorded in the main memory 1026.

(4−5.装置情報に基づく分散処理)
図24の下段に示したようにネットワーク1009に接続されている複数の情報処理装置1001,1002,1003および1004を仮想的な1台の情報処理装置1007として動作させるためには、マスター装置がユーザの操作およびスレーブ装置の動作状態を把握する必要がある。
(4-5. Distributed processing based on device information)
As shown in the lower part of FIG. 24, in order for a plurality of information processing apparatuses 1001, 1002, 1003, and 1004 connected to the network 1009 to operate as one virtual information processing apparatus 1007, the master apparatus is a user. It is necessary to understand the operation of the slave device and the operating state of the slave device.

図25に、4台の情報処理装置が仮想的な1台の情報処理装置1007として動作する様子を示す。情報処理装置1001がマスター装置、情報処理装置1002,1003および1004がスレーブ装置A,BおよびCとして、動作しているものとする。   FIG. 25 illustrates how four information processing apparatuses operate as one virtual information processing apparatus 1007. It is assumed that the information processing apparatus 1001 is operating as a master apparatus, and the information processing apparatuses 1002, 1003, and 1004 are operating as slave apparatuses A, B, and C.

ユーザがネットワーク1009に接続されている情報処理装置を操作した場合、操作対象がマスター装置1001であれば、その操作情報は、マスター装置1001において直接把握され、操作対象がスレーブ装置であれば、その操作情報は、操作されたスレーブ装置からマスター装置1001に送信される。すなわち、ユーザの操作対象がマスター装置1001とスレーブ装置のいずれであるかにかかわらず、その操作情報は常にマスター装置1001において把握される。操作情報の送信は、例えば、DMAコマンドが操作情報送信コマンドであるソフトウェアセルによって行われる。   When the user operates an information processing apparatus connected to the network 1009, if the operation target is the master apparatus 1001, the operation information is directly grasped in the master apparatus 1001, and if the operation target is a slave apparatus, The operation information is transmitted from the operated slave device to the master device 1001. That is, regardless of whether the user's operation target is the master device 1001 or the slave device, the operation information is always grasped by the master device 1001. The operation information is transmitted, for example, by a software cell whose DMA command is an operation information transmission command.

そして、マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、その操作情報に従って、実行する機能プログラムを選択する。その際、必要であれば、マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、上記の方法によって自装置の外部記録部1031−1または1031−2からメインメモリ1026−1に機能プログラムをロードするが、他の情報処理装置(スレーブ装置)がマスター装置1001に機能プログラムを送信してもよい。   Then, the main processor 1021-1 included in the information processing controller 1011 in the master device 1001 selects a function program to be executed according to the operation information. At this time, if necessary, the main processor 1021-1 included in the information processing controller 1011 in the master device 1001 can transmit the main memory 1026-1 from the external recording unit 1031-1 or 1031-2 of the own device by the above method. However, another information processing apparatus (slave apparatus) may transmit the function program to the master apparatus 1001.

機能プログラムには、その実行単位ごとに必要となる、図4に示した各情報として表される情報処理装置種別ID、メインプロセッサまたはサブプロセッサの処理能力、メインメモリ使用量、外部記録部に関する条件などの、装置に関する要求スペックが規定されている。   In the function program, information processing device type IDs represented as information shown in FIG. 4, main processor or sub-processor processing capacity, main memory usage, and conditions related to the external recording unit are required for each execution unit. The required specifications regarding the device are defined.

マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、各機能プログラムについて必要となる上記要求スペックを読み出す。また、あらかじめ能力交換プログラムによってメインメモリ1026−1に記録された装置情報テーブルを参照し、各情報処理装置の装置情報を読み出す。ここでの装置情報は、図4に示した情報処理装置ID以下の各情報を示し、メインプロセッサ、サブプロセッサ、メインメモリおよび外部記録部に関する情報である。   The main processor 1021-1 included in the information processing controller 1011 in the master device 1001 reads out the required specifications necessary for each function program. Further, the device information table of each information processing device is read by referring to the device information table previously recorded in the main memory 1026-1 by the capability exchange program. The device information here indicates each piece of information below the information processing device ID shown in FIG. 4, and is information relating to the main processor, sub processor, main memory, and external recording unit.

マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、ネットワーク1009上に接続された各情報処理装置の上記装置情報と、機能プログラム実行に必要となる上記要求スペックとを順次比較する。   The main processor 1021-1 included in the information processing controller 1011 in the master device 1001 sequentially compares the device information of each information processing device connected on the network 1009 with the required specifications necessary for executing the function program. To do.

そして、例えば、機能プログラムが録画機能を必要とする場合には、情報処理装置種別IDに基づいて、録画機能を有する情報処理装置のみを特定して抽出する。さらに、機能プログラムを実行するために必要なメインプロセッサまたはサブプロセッサの処理能力、メインメモリ使用量、外部記録部に関する条件を確保できるスレーブ装置を、実行要求候補装置として特定する。ここで、複数の実行要求候補装置が特定された場合には、当該候補装置から1つの実行要求候補装置を特定して選択する。   For example, when the function program requires a recording function, only the information processing apparatus having the recording function is specified and extracted based on the information processing apparatus type ID. Furthermore, a slave device that can secure the conditions regarding the processing capability of the main processor or sub processor, the amount of main memory used, and the external recording unit necessary for executing the function program is specified as an execution request candidate device. Here, when a plurality of execution request candidate devices are specified, one execution request candidate device is specified and selected from the candidate devices.

実行要求するスレーブ装置が特定されたら、マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、その特定されたスレーブ装置について、自装置内の情報処理コントローラ1011に含まれるメインメモリ1026−1に記録されている当該スレーブ装置の装置情報テーブルを更新する。   When the slave device to be requested for execution is specified, the main processor 1021-1 included in the information processing controller 1011 in the master device 1001 determines the main memory included in the information processing controller 1011 in the own device for the specified slave device. The device information table of the slave device recorded in 1026-1 is updated.

さらに、マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、DMAコマンドが機能プログラム実行コマンドであるソフトウェアセルを生成し、当該ソフトウェアセルのセルインターフェースに、当該機能プログラムに関する必要なサブプロセッサの情報およびサンドボックスサイズ(図3参照)を設定して、上記実行要求されるスレーブ装置に対して送信する。   Furthermore, the main processor 1021-1 included in the information processing controller 1011 in the master device 1001 generates a software cell whose DMA command is a function program execution command, and the cell interface of the software cell requires a function related to the function program. The sub-processor information and the sandbox size (see FIG. 3) are set and transmitted to the slave device requested to execute.

機能プログラムの実行を要求されたスレーブ装置は、その機能プログラムを実行するとともに、自装置の装置情報テーブルを更新する。その際、必要であれば、スレーブ装置内の情報処理コントローラに含まれるメインプロセッサ1021は、上記の方法によって自装置の外部記録部1031からメインメモリ1026に機能プログラムおよび当該機能プログラムと連携動作するサブプロセッサプログラムをロードする。   The slave device requested to execute the function program executes the function program and updates the device information table of the own device. At this time, if necessary, the main processor 1021 included in the information processing controller in the slave device causes the function program and the sub-program that operates in cooperation with the function program from the external recording unit 1031 of the own device to the main memory 1026 by the above method. Load the processor program.

機能プログラムの実行を要求されたスレーブ装置の外部記録部1031に、必要な機能プログラムまたは当該機能プログラムと連携動作するサブプロセッサプログラムが記録されていない場合には、他の情報処理装置が当該機能プログラムまたはサブプロセッサプログラムを、その機能プログラム実行要求先スレーブ装置に送信するように、システムを構成すればよい。   When the required function program or the sub processor program that operates in cooperation with the function program is not recorded in the external recording unit 1031 of the slave device requested to execute the function program, the other information processing apparatus Alternatively, the system may be configured so that the sub processor program is transmitted to the function program execution request destination slave device.

サブプロセッサプログラムについては、前述のロードコマンドおよびキックコマンドを利用して他の情報処理装置に実行させることもできる。   The sub-processor program can be executed by another information processing apparatus using the aforementioned load command and kick command.

機能プログラムの実行終了後、機能プログラムを実行したスレーブ装置内の情報処理コントローラに含まれるメインプロセッサ1021は、終了通知をマスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1に送信するとともに、自装置の装置情報テーブルを更新する。マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、その終了通知を受信して、機能プログラムを実行したスレーブ装置の装置情報テーブルを更新する。   After the execution of the function program, the main processor 1021 included in the information processing controller in the slave device that has executed the function program transmits an end notification to the main processor 1021-1 included in the information processing controller 1011 in the master device 1001. At the same time, the device information table of the own device is updated. The main processor 1021-1 included in the information processing controller 1011 in the master device 1001 receives the end notification and updates the device information table of the slave device that has executed the function program.

マスター装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、自装置および他装置の装置情報テーブルの参照結果から、当該の機能プログラムを実行することができる情報処理装置として、自身を選択する場合もあり得る。その場合には、マスター装置1001が当該の機能プログラムを実行する。   The main processor 1021-1 included in the information processing controller 1011 in the master device 1001 identifies itself as an information processing device that can execute the function program from the reference result of the device information table of the own device and the other device. There is also a case of selecting. In that case, the master device 1001 executes the function program.

図25の例で、ユーザがスレーブ装置A(情報処理装置1002)を操作し、当該操作に応じた機能プログラムを別のスレーブ装置B(情報処理装置1003)が実行する場合につき、図26に以上の分散処理の例を示す。   In the example of FIG. 25, the case where the user operates slave device A (information processing device 1002) and another slave device B (information processing device 1003) executes a function program corresponding to the operation will be described with reference to FIG. An example of distributed processing is shown.

図26の例では、ユーザがスレーブ装置Aを操作することによって、スレーブ装置Aを含むネットワークシステム全体の分散処理が開始して、まず、スレーブ装置Aは、ステップ1091で、その操作情報をマスター装置1001に送信する。   In the example of FIG. 26, when the user operates the slave device A, distributed processing of the entire network system including the slave device A starts. First, in step 1091, the slave device A transmits the operation information to the master device. 1001 is transmitted.

マスター装置1001は、ステップ1092で、その操作情報を受信し、さらにステップ1093に進んで、自装置のメインメモリ1026−1に記録されている自装置および他装置の装置情報テーブルから、各情報処理装置の動作状態を調べて、受信した操作情報に応じた機能プログラムを実行することができる情報処理装置を選択する。この例は、スレーブ装置Bが選択される場合である。   The master device 1001 receives the operation information in step 1092, further proceeds to step 1093, and processes each information processing from the device information table of the own device and other devices recorded in the main memory 1026-1 of the own device. The operating state of the apparatus is checked, and an information processing apparatus that can execute a function program corresponding to the received operation information is selected. This example is a case where the slave device B is selected.

次に、マスター装置1001は、ステップ1094で、その選択したスレーブ装置Bに対して機能プログラムの実行を要求する。   Next, in step 1094, the master device 1001 requests the selected slave device B to execute the function program.

スレーブ装置Bは、ステップ1095で、その実行要求を受信し、さらにステップ1096に進んで、実行要求された機能プログラムを実行する。   The slave device B receives the execution request in step 1095, and further proceeds to step 1096 to execute the function program requested to be executed.

以上のように、ユーザは、1台の情報処理装置のみを操作することによって、他の情報処理装置を操作することなく、複数の情報処理装置1001,1002,1003および1004を仮想的な1台の情報処理装置1007として動作させることができる。   As described above, by operating only one information processing apparatus, the user operates a plurality of information processing apparatuses 1001, 1002, 1003, and 1004 as a virtual one without operating other information processing apparatuses. The information processing apparatus 1007 can be operated.

(4−6.各情報処理装置およびシステムの具体例)
ネットワーク1009を介して互いに接続される情報処理装置1001,1002,1003および1004は、基本的に上記のような情報処理コントローラ1011,1012,1013および1014によって情報処理を行うものであれば、どのようなものでもよいが、図27に、その一例を示す。
(4-6. Specific examples of information processing apparatuses and systems)
Any of the information processing apparatuses 1001, 1002, 1003, and 1004 connected to each other via the network 1009 basically performs information processing by the information processing controllers 1011, 1012, 1013, and 1014 as described above. An example is shown in FIG. 27.

この例では、情報処理コントローラ1011を備える情報処理装置1001は、ハードディスクレコーダで、図28に示すように、ハードウェア構成としては、図16に示した外部記録部1031−1として、ハードディスクを内蔵し、図16に示した外部記録部1031−2として、DVD±R/RW、CD±R/RW、Blu−rayDisc(登録商標)などの光ディスクを装着できるように構成されるとともに、情報処理コントローラ1011のバス1032−1に接続されたバス1051−1に、放送受信部1052−1、映像入力部1053−1、音声入力部1054−1、映像出力部1055−1、音声出力部1056−1、操作パネル部1057−1、リモコン受光部1058−1およびネットワーク接続部1059−1が接続されたものである。   In this example, the information processing apparatus 1001 including the information processing controller 1011 is a hard disk recorder, and as shown in FIG. 28, the hardware configuration is a built-in hard disk as the external recording unit 1031-1 shown in FIG. The external recording unit 1031-2 shown in FIG. 16 is configured so that an optical disk such as a DVD ± R / RW, a CD ± R / RW, or a Blu-ray Disc (registered trademark) can be mounted, and an information processing controller 1011. The bus 1051-1 connected to the bus 1032-1 is connected to the broadcast receiving unit 1052-1, the video input unit 1053-1, the audio input unit 1054-1, the video output unit 1055-1, the audio output unit 1056-1, Operation panel unit 1057-1, remote control light receiving unit 1058-1, and network connection unit 1059-1 are connected. It was continued.

放送受信部1052−1、映像入力部1053−1および音声入力部1054−1は、放送信号を受信し、または情報処理装置1001の外部から映像信号および音声信号を入力し、それぞれ所定フォーマットのデジタルデータに変換して、情報処理コントローラ1011での処理のためにバス1051−1に送出するものであり、映像出力部1055−1および音声出力部1056−1は、情報処理コントローラ1011からバス1051−1に送出された映像データおよび音声データを処理して、デジタルデータのまま、またはアナログ信号に変換して、情報処理装置1001の外部に送出するものであり、リモコン受光部1058−1は、リモコン送信器1063−1からのリモコン(遠隔操作)赤外線信号を受信するものである。   The broadcast receiving unit 1052-1, the video input unit 1053-1, and the audio input unit 1054-1 receive a broadcast signal or input a video signal and an audio signal from the outside of the information processing apparatus 1001, and each has a digital format of a predetermined format. This data is converted into data and sent to the bus 1051-1 for processing by the information processing controller 1011. The video output unit 1055-1 and the audio output unit 1056-1 are sent from the information processing controller 1011 to the bus 1051-. The video data and the audio data sent to 1 are processed, converted into digital data or converted into analog signals, and sent to the outside of the information processing apparatus 1001. A remote control (remote operation) infrared signal is received from the transmitter 1063-1.

図27および図28に示すように、情報処理装置(ハードディスクレコーダ)1001の映像出力部1055−1および音声出力部1056−1には、モニタ表示装置1061およびスピーカ装置1062が接続される。   As shown in FIGS. 27 and 28, a monitor display device 1061 and a speaker device 1062 are connected to the video output unit 1055-1 and the audio output unit 1056-1 of the information processing device (hard disk recorder) 1001.

図27の例の、情報処理コントローラ1012を備える情報処理装置1002も、ハードディスクレコーダで、図28において括弧内に参照番号を付して示すように、情報処理装置1001と同様に構成されたものである。ただし、例えば、図27に示すように、情報処理装置(ハードディスクレコーダ)1002には、モニタ表示装置およびスピーカ装置は接続されない。   The information processing apparatus 1002 including the information processing controller 1012 in the example of FIG. 27 is also a hard disk recorder, and is configured in the same manner as the information processing apparatus 1001 as indicated by reference numerals in parentheses in FIG. is there. However, for example, as shown in FIG. 27, a monitor display device and a speaker device are not connected to the information processing device (hard disk recorder) 1002.

情報処理装置(ハードディスクレコーダ)1001および1002、すなわち情報処理コントローラ1011および1012のソフトウェア構成としては、図29に示すように、制御プログラムとして、MSマネージャおよび能力交換プログラムを備え、機能プログラムとして、映像音声記録、映像音声再生、素材検索および番組録画予約のためのプログラムを備え、デバイスドライバとして、放送受信、映像出力、音声出力、外部記録部入出力およびネットワーク入出力のためのプログラムを備える。   As shown in FIG. 29, the software configuration of the information processing apparatuses (hard disk recorders) 1001 and 1002, that is, the information processing controllers 1011 and 1012 includes an MS manager and a capability exchange program as control programs, and video and audio as function programs. Programs for recording, video / audio playback, material search and program recording reservation are provided, and programs for broadcast reception, video output, audio output, external recording unit input / output and network input / output are provided as device drivers.

図27の例の、情報処理コントローラ1013を備える情報処理装置1003は、PDA(Personal Digital Assistants)で、図30に示すように、ハードウェア構成としては、図16に示した外部記録部1031−5として、メモリカードディスクを装着できるように構成されるとともに、情報処理コントローラ1013のバス1032−3に接続されたバス1071に、液晶表示部1072、音声出力部1073、カメラ部1074、音声入力部1075、キーボード部1076およびネットワーク接続部1077が接続されたものである。   The information processing apparatus 1003 including the information processing controller 1013 in the example of FIG. 27 is a PDA (Personal Digital Assistant). As illustrated in FIG. 30, the hardware configuration is the external recording unit 1031-5 illustrated in FIG. And a memory card disk, and a bus 1071 connected to the bus 1032-3 of the information processing controller 1013 is connected to a liquid crystal display unit 1072, an audio output unit 1073, a camera unit 1074, and an audio input unit 1075. The keyboard unit 1076 and the network connection unit 1077 are connected.

なお、図16では内部を省略した情報処理コントローラ1013は、メインプロセッサ1021−3、サブプロセッサ1023−7,1023−8および1023−9、DMAC(ダイレクトメモリアクセスコントローラ)1025−3、コントロールレジスタ1028−3、ワークメモリ1029−3、DC(ディスクコントローラ)1030−3、およびバス1032−3を備え、そのメインプロセッサ1021−3は、LS(ローカルストレージ)1022−3を有し、各サブプロセッサ1023−7,1023−8および1023−9は、LS(ローカルストレージ)1024−7,1024−8および1024−9を有する。   Note that the information processing controller 1013 whose interior is omitted in FIG. 16 includes a main processor 1021-3, sub processors 1023-7, 1023-8 and 1023-9, a DMAC (direct memory access controller) 1025-3, and a control register 1028-. 3, a work memory 1029-3, a DC (disk controller) 1030-3, and a bus 1032-3, the main processor 1021-3 has an LS (local storage) 1022-3, and each sub processor 1023- 7, 1023-8 and 1023-9 have LS (local storage) 1024-7, 1024-8 and 1024-9.

情報処理装置(PDA)1003、すなわち情報処理コントローラ1013のソフトウェア構成としては、図31に示すように、制御プログラムとして、MSマネージャおよび能力交換プログラムを備え、機能プログラムとして、映像音声記録、映像音声再生、電話帳、ワープロおよび表計算のためのプログラム、およびWebブラウザを備え、デバイスドライバとして、映像出力、音声出力、カメラ映像入力、マイク音声入力およびネットワーク入出力のためのプログラムを備える。   As shown in FIG. 31, the software configuration of the information processing apparatus (PDA) 1003, that is, the information processing controller 1013 includes an MS manager and a capability exchange program as control programs, and video / audio recording and video / audio reproduction as function programs. , A phone book, a word processor and a spreadsheet program, and a Web browser, and device drivers include video output, audio output, camera video input, microphone audio input, and network input / output programs.

図27の例の、情報処理コントローラ1014を備える情報処理装置1004は、ポータブルCDプレーヤで、図32に示すように、ハードウェア構成としては、図16に示した外部記録部1031−6として、CD(Compact Disc)を装着できるように構成されるとともに、情報処理コントローラ1014のバス1032−4に接続されたバス1081に、液晶表示部1082、音声出力部1083、操作ボタン部1084およびネットワーク接続部1085が接続されたものである。   The information processing apparatus 1004 including the information processing controller 1014 in the example of FIG. 27 is a portable CD player. As shown in FIG. 32, the hardware configuration is a CD as the external recording unit 1031-6 shown in FIG. (Compact Disc) and a bus 1081 connected to the bus 1032-4 of the information processing controller 1014 are connected to a liquid crystal display unit 1082, an audio output unit 1083, an operation button unit 1084, and a network connection unit 1085. Are connected.

なお、図16では内部を省略した情報処理コントローラ1014は、メインプロセッサ1021−4、サブプロセッサ1023−10,1023−11および1023−12、DMAC(ダイレクトメモリアクセスコントローラ)1025−4、コントロールレジスタ1028−4、ワークメモリ1029−4、DC(ディスクコントローラ)1030−4、およびバス1032−4を備え、そのメインプロセッサ1021−4は、LS(ローカルストレージ)1022−4を有し、各サブプロセッサ1023−10,1023−11および1023−12は、LS(ローカルストレージ)1024−10,1024−11および1024−12を有する。   Note that the information processing controller 1014 omitted in FIG. 16 includes a main processor 1021-4, sub processors 1023-10, 1023-11 and 1023-12, a DMAC (direct memory access controller) 1025-4, and a control register 1028-. 4, a work memory 1029-4, a DC (disk controller) 1030-4, and a bus 1032-4, the main processor 1021-4 has an LS (local storage) 1022-4, and each sub processor 1023- 10, 1023-11 and 1023-12 have LS (local storage) 1024-10, 1024-11 and 1024-12.

情報処理装置(ポータブルCDプレーヤ)1004、すなわち情報処理コントローラ1014のソフトウェア構成としては、図33に示すように、制御プログラムとして、MSマネージャおよび能力交換プログラムを備え、機能プログラムとして、音楽再生のためのプログラムを備え、デバイスドライバとして、音声出力、CD制御およびネットワーク入出力のためのプログラムを備える。   As shown in FIG. 33, the software configuration of the information processing apparatus (portable CD player) 1004, that is, the information processing controller 1014 includes an MS manager and a capability exchange program as a control program, and a function program for playing music. A program for audio output, CD control, and network input / output is provided as a device driver.

以上のような図27の例のネットワークシステムにおいて、情報処理装置1001,1003および1004がネットワーク1009上に接続されており、情報処理装置1001がマスター装置(MSステータス=0)として、情報処理装置1003および1004がスレーブ装置(MSステータス=1)として、設定されているものとする。   In the network system of the example of FIG. 27 as described above, the information processing apparatuses 1001, 1003, and 1004 are connected to the network 1009, and the information processing apparatus 1001 is the master apparatus (MS status = 0). And 1004 are set as slave devices (MS status = 1).

この状態で、新たに情報処理装置1002がネットワーク1009に接続されると、上述した方法によって、情報処理装置1002内の情報処理コントローラ1012に含まれるメインプロセッサ1021−2で実行されているMSマネージャは、他の情報処理装置1001,1003および1004にMSステータスを照会して、情報処理装置1001が既にマスター装置として存在することを認識し、自装置(情報処理装置1002)をスレーブ装置(MSステータス=1)に設定する。また、マスター装置に設定されている情報処理装置1001は、新たに追加された情報処理装置1002を含む各装置の装置情報を収集して、メインメモリ1026−1内の装置情報テーブルを更新する。   In this state, when the information processing apparatus 1002 is newly connected to the network 1009, the MS manager that is executed by the main processor 1021-2 included in the information processing controller 1012 in the information processing apparatus 1002 is The other information processing apparatuses 1001, 1003, and 1004 are inquired about the MS status, recognizes that the information processing apparatus 1001 already exists as a master apparatus, and sets its own apparatus (information processing apparatus 1002) as a slave apparatus (MS status = Set to 1). Also, the information processing apparatus 1001 set as the master apparatus collects apparatus information of each apparatus including the newly added information processing apparatus 1002 and updates the apparatus information table in the main memory 1026-1.

このような状態で、ユーザによってスレーブ装置である情報処理装置(PDA)1003で2時間の放送番組の録画予約の操作が行われた場合を示す。   In this state, a case where a user performs an operation for recording reservation of a broadcast program for 2 hours in an information processing apparatus (PDA) 1003 which is a slave apparatus is shown.

この場合、スレーブ装置である情報処理装置(PDA)1003は、ユーザから録画開始時刻、録画終了時刻、録画対象放送チャネル、録画品質などの情報を含む録画予約情報の入力を受け付け、当該録画予約情報およびDMAコマンドとしての録画予約コマンドを含むソフトウェアセルを生成して、マスター装置である情報処理装置1001に送信する。   In this case, the information processing apparatus (PDA) 1003 that is a slave apparatus receives input of recording reservation information including information such as a recording start time, a recording end time, a recording target broadcast channel, and recording quality from the user, and the recording reservation information A software cell including a recording reservation command as a DMA command is generated and transmitted to the information processing apparatus 1001 that is a master apparatus.

DMAコマンドが録画予約コマンドであるソフトウェアセルを受信した情報処理装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、録画予約コマンドを読み出すとともに、メインメモリ1026−1内の装置情報テーブルを参照して、当該録画予約コマンドを実行可能な情報処理装置を特定する。   The main processor 1021-1 included in the information processing controller 1011 in the information processing apparatus 1001 that has received the software cell whose DMA command is the recording reservation command reads out the recording reservation command and also stores the apparatus information table in the main memory 1026-1. The information processing apparatus that can execute the recording reservation command is specified.

まず、メインプロセッサ1021−1は、装置情報テーブルに含まれる各情報処理装置1001,1002,1003および1004の情報処理装置種別IDを読み出して、録画予約コマンドに対応する機能プログラムを実行可能な情報処理装置を抽出する。ここでは、録画機能を示す情報処理装置種別IDを有する情報処理装置1001および1002が候補装置として特定され、情報処理装置1003および1004は候補装置から除外される。   First, the main processor 1021-1 reads information processing device type IDs of the information processing devices 1001, 1002, 1003, and 1004 included in the device information table, and performs information processing that can execute a function program corresponding to the recording reservation command. Extract the device. Here, the information processing apparatuses 1001 and 1002 having the information processing apparatus type ID indicating the recording function are specified as candidate apparatuses, and the information processing apparatuses 1003 and 1004 are excluded from the candidate apparatuses.

次に、マスター装置である情報処理装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、装置情報テーブルを参照して、情報処理装置1001および1002のメインプロセッサまたはサブプロセッサの処理能力、メインメモリに関する情報などの、装置に関する情報を読み出し、情報処理装置1001および1002が録画予約コマンドに対応する機能プログラムの実行に必要な要求スペックを満足するか否かを判断する。ここでは、情報処理装置1001,1002とも、録画予約コマンドに対応する機能プログラムの実行に必要な要求スペックを満足するものとする。   Next, the main processor 1021-1 included in the information processing controller 1011 in the information processing apparatus 1001 that is the master apparatus refers to the apparatus information table, and the processing capability of the main processor or sub-processor of the information processing apparatuses 1001 and 1002 Then, information related to the device such as information related to the main memory is read, and it is determined whether or not the information processing devices 1001 and 1002 satisfy the required specifications necessary for executing the function program corresponding to the recording reservation command. Here, it is assumed that both the information processing apparatuses 1001 and 1002 satisfy the required specifications necessary for executing the function program corresponding to the recording reservation command.

さらに、メインプロセッサ1021−1は、装置情報テーブルを参照して、情報処理装置1001および1002の外部記録部に関する情報を読み出し、外部記録部の空き容量が当該録画予約コマンドの実行に必要な容量を満足するか否かを判断する。情報処理装置1001および1002はハードディスクレコーダであるので、それぞれハードディスク1031−1および1031−3の、総容量と使用量との差分が、それぞれの空き容量に相当する。   Further, the main processor 1021-1 refers to the device information table, reads out information related to the external recording units of the information processing devices 1001 and 1002, and determines that the free capacity of the external recording unit is necessary for executing the recording reservation command. Determine if you are satisfied. Since the information processing apparatuses 1001 and 1002 are hard disk recorders, the difference between the total capacity and the usage amount of the hard disks 1031-1 and 1031-3 corresponds to the respective free capacity.

この場合、情報処理装置1001のハードディスク1031−1の空き容量が、録画時間に換算して10分であり、情報処理装置1002のハードディスク1031−3の空き容量が、録画時間に換算して20時間であるとする。   In this case, the free capacity of the hard disk 1031-1 of the information processing apparatus 1001 is 10 minutes in terms of recording time, and the free capacity of the hard disk 1031-3 in the information processing apparatus 1002 is 20 hours in terms of recording time. Suppose that

このとき、マスター装置である情報処理装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、当該録画予約コマンドの実行に必要な2時間分の空き容量を確保できる情報処理装置を、実行要求先スレーブ装置として特定する。   At this time, the main processor 1021-1 included in the information processing controller 1011 in the information processing apparatus 1001 that is the master apparatus sets up an information processing apparatus that can secure a free space for two hours necessary for executing the recording reservation command. Identifies as an execution request destination slave device.

その結果、情報処理装置1002のみが実行要求先スレーブ装置として選択され、マスター装置である情報処理装置1001内の情報処理コントローラ1011に含まれるメインプロセッサ1021−1は、ユーザにより操作された情報処理装置1003から送信された録画予約情報を含む当該録画予約コマンドを情報処理装置1002に送信して、上記2時間の放送番組の録画予約の実行を要求する。   As a result, only the information processing apparatus 1002 is selected as the execution request destination slave apparatus, and the main processor 1021-1 included in the information processing controller 1011 in the information processing apparatus 1001 that is the master apparatus is the information processing apparatus operated by the user. The recording reservation command including the recording reservation information transmitted from 1003 is transmitted to the information processing apparatus 1002 to request execution of recording reservation of the broadcast program for 2 hours.

そして、情報処理装置1002内の情報処理コントローラ1012に含まれるメインプロセッサ1021−2は、当該録画予約コマンドを解析して、録画に必要な機能プログラムを外部記録部であるハードディスク1031−3からメインメモリ1026−2にロードし、録画予約情報に従って録画を実行する。その結果、録画予約された2時間の放送番組の映像音声データが情報処理装置1002のハードディスク1031−3に記録される。   Then, the main processor 1021-2 included in the information processing controller 1012 in the information processing apparatus 1002 analyzes the recording reservation command and sends a function program necessary for recording from the hard disk 1031-3 serving as an external recording unit to the main memory. 1026-2, and recording is performed according to the recording reservation information. As a result, the video / audio data of the 2-hour broadcast program reserved for recording is recorded in the hard disk 1031-3 of the information processing apparatus 1002.

このように、図27の例のネットワークシステムにおいても、ユーザは、1台の情報処理装置のみを操作することによって、他の情報処理装置を操作することなく、複数の情報処理装置1001,1002,1003および1004を仮想的な1台の情報処理装置1007として動作させることができる。   As described above, also in the network system of the example of FIG. 27, the user operates only one information processing apparatus, and operates a plurality of information processing apparatuses 1001, 1002, without operating other information processing apparatuses. 1003 and 1004 can be operated as one virtual information processing apparatus 1007.

この発明のネットワークシステムの一例を示す図である。It is a figure which shows an example of the network system of this invention. この発明の情報処理装置が備える情報処理コントローラの説明に供する図である。It is a figure with which it uses for description of the information processing controller with which the information processing apparatus of this invention is provided. ソフトウェアセルの一例を示す図である。It is a figure which shows an example of a software cell. DMAコマンドがステータス返信コマンドである場合のソフトウェアセルのデータ領域を示す図である。It is a figure which shows the data area of a software cell when a DMA command is a status reply command. 複数の情報処理装置が仮想的な1台の情報処理装置として動作する様子を示す図である。It is a figure which shows a mode that a some information processing apparatus operate | moves as one virtual information processing apparatus. 情報処理コントローラのソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software configuration of an information processing controller. 4台の情報処理装置が仮想的な1台の情報処理装置として動作する様子を示す図である。It is a figure which shows a mode that four information processing apparatuses operate | move as one virtual information processing apparatus. 図7のシステムにおける分散処理の例を示す図である。It is a figure which shows the example of the distributed process in the system of FIG. 各情報処理装置およびシステムの具体例を示す図である。It is a figure which shows the specific example of each information processing apparatus and a system. 図9中のハードディスクレコーダのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the hard-disk recorder in FIG. 図9中のハードディスクレコーダのソフトウェア構成を示す図である。It is a figure which shows the software structure of the hard disk recorder in FIG. 図9中のPDAのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of PDA in FIG. 図9中のPDAのソフトウェア構成を示す図である。It is a figure which shows the software structure of PDA in FIG. 図9中のポータブルCDプレーヤのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the portable CD player in FIG. 図9中のポータブルCDプレーヤのソフトウェア構成を示す図である。FIG. 10 is a diagram showing a software configuration of the portable CD player in FIG. 9. この発明のネットワークシステムの他の例を示す図である。It is a figure which shows the other example of the network system of this invention. この発明の情報処理装置が備える情報処理コントローラの説明に供する図である。It is a figure with which it uses for description of the information processing controller with which the information processing apparatus of this invention is provided. DMACの内部構造を示す図である。It is a figure which shows the internal structure of DMAC. 情報処理装置内のコマンド/レスポンス構造を示す図である。It is a figure which shows the command / response structure in information processing apparatus. サブプロセッサがメインメモリにアクセスする時の手順を示す図である。It is a figure which shows the procedure at the time of a sub processor accessing main memory. ワークメモリの内部構造を示す図である。It is a figure which shows the internal structure of a work memory. サブプロセッサの内部構造を示す図である。It is a figure which shows the internal structure of a subprocessor. コントロールレジスタの内部構造を示す図である。It is a figure which shows the internal structure of a control register. 複数の情報処理装置が仮想的な1台の情報処理装置として動作する様子を示す図である。It is a figure which shows a mode that a some information processing apparatus operate | moves as one virtual information processing apparatus. 4台の情報処理装置が仮想的な1台の情報処理装置として動作する様子を示す図である。It is a figure which shows a mode that four information processing apparatuses operate | move as one virtual information processing apparatus. 図25のシステムにおける分散処理の例を示す図である。FIG. 26 is a diagram illustrating an example of distributed processing in the system of FIG. 25. 各情報処理装置およびシステムの具体例を示す図である。It is a figure which shows the specific example of each information processing apparatus and a system. 図27中のハードディスクレコーダのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the hard-disk recorder in FIG. 図27中のハードディスクレコーダのソフトウェア構成を示す図である。It is a figure which shows the software structure of the hard disk recorder in FIG. 図27中のPDAのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of PDA in FIG. 図27中のPDAのソフトウェア構成を示す図である。It is a figure which shows the software structure of PDA in FIG. 図27中のポータブルCDプレーヤのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the portable CD player in FIG. 図27中のポータブルCDプレーヤのソフトウェア構成を示す図である。It is a figure which shows the software structure of the portable CD player in FIG.

符号の説明Explanation of symbols

主要部については図中に全て記述したので、ここでは省略する。   Since all the main parts are described in the figure, they are omitted here.

Claims (22)

ネットワークを介して他の情報処理装置と接続され、所定のコマンドに従って情報処理を行う情報処理装置であって、
前記他の情報処理装置から動作状態に関する情報を収集して、装置情報テーブルを作成する能力交換手段と、
前記コマンドが発生した際、当該コマンドの実行に要する資源に関する情報と、前記装置情報テーブルの動作状態に関する情報とを比較して、当該コマンドを実行可能な情報処理装置を特定する装置特定手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus connected to another information processing apparatus via a network and performing information processing according to a predetermined command,
Capability exchanging means for collecting information on the operating state from the other information processing apparatus and creating a device information table;
When the command occurs, device identification means for identifying information processing devices capable of executing the command by comparing information regarding resources required to execute the command and information regarding an operation state of the device information table;
An information processing apparatus comprising:
前記能力交換手段は、前記他の情報処理装置の情報処理能力を収集して前記装置情報テーブルに保存し、
前記装置特定手段は、前記コマンドの実行に要する情報処理能力と、前記他の情報処理装置の情報処理能力とを比較して、前記コマンドを実行可能な情報処理装置を特定することを特徴とする請求項1に記載の情報処理装置。
The capability exchanging means collects the information processing capability of the other information processing device and stores it in the device information table,
The device specifying means compares an information processing capability required for executing the command with an information processing capability of the other information processing device, and specifies an information processing device that can execute the command. The information processing apparatus according to claim 1.
前記能力交換手段は、前記他の情報処理装置のメモリ容量を収集して前記装置情報テーブルに保存し、
前記装置特定手段は、前記コマンドの実行に要するメモリ容量と、前記他の情報処理装置のメモリ容量とを比較して、前記コマンドを実行可能な情報処理装置を特定することを特徴とする請求項1に記載の情報処理装置。
The capability exchanging means collects the memory capacity of the other information processing device and stores it in the device information table,
The apparatus specifying unit specifies an information processing apparatus capable of executing the command by comparing a memory capacity required for executing the command with a memory capacity of the other information processing apparatus. The information processing apparatus according to 1.
前記能力交換手段は、前記他の情報処理装置の外部記録手段の容量を収集して前記装置情報テーブルに保存し、
前記装置特定手段は、前記コマンドの実行に要する外部記録手段の容量と、前記他の情報処理装置の外部記録手段の容量とを比較して、前記コマンドを実行可能な情報処理装置を特定することを特徴とする請求項1に記載の情報処理装置。
The capability exchanging means collects the capacity of the external recording means of the other information processing apparatus and stores it in the apparatus information table;
The apparatus specifying means specifies an information processing apparatus capable of executing the command by comparing the capacity of the external recording means required for executing the command and the capacity of the external recording means of the other information processing apparatus. The information processing apparatus according to claim 1.
前記能力交換手段は、前記他の情報処理装置の機能を特定可能な情報処理装置種別識別子を収集して前記装置情報テーブルに保存し、
前記装置特定手段は、前記コマンドの実行に要する機能と、前記他の情報処理装置の情報処理装置種別識別子とを比較して、前記コマンドを実行可能な情報処理装置を特定することを特徴とする請求項1に記載の情報処理装置。
The capability exchanging means collects an information processing device type identifier capable of specifying the function of the other information processing device and stores it in the device information table,
The device specifying unit compares the function required for executing the command with an information processing device type identifier of the other information processing device, and specifies an information processing device that can execute the command. The information processing apparatus according to claim 1.
前記能力交換手段は、前記装置特定手段によって特定された情報処理装置に対して前記コマンドを送信して実行要求することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the capability exchange unit transmits the command to the information processing apparatus specified by the apparatus specifying unit and requests execution thereof. 前記能力交換手段は、前記他の情報処理装置のネットワークへの接続が変更された場合に、前記他の情報処理装置の動作状態に関する情報を収集して、前記装置情報テーブルを更新することを特徴とする請求項1に記載の情報処理装置。   The capability exchanging means collects information related to an operation state of the other information processing apparatus and updates the apparatus information table when the connection of the other information processing apparatus to the network is changed. The information processing apparatus according to claim 1. 前記能力交換手段は、所定の時間間隔で前記他の情報処理装置の動作状態に関する情報を収集して、前記装置情報テーブルを更新することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the capability exchanging unit collects information related to an operation state of the other information processing apparatus at a predetermined time interval and updates the apparatus information table. 前記他の情報処理装置は、前記コマンドを処理するプロセッサ手段を複数備え、前記能力交換手段は、前記複数のプロセッサ手段各々の動作状態に関する情報を収集して、前記装置情報テーブルに保存することを特徴とする請求項1に記載の情報処理装置。   The other information processing apparatus includes a plurality of processor means for processing the command, and the capability exchanging means collects information on the operation state of each of the plurality of processor means and stores the information in the apparatus information table. The information processing apparatus according to claim 1. 請求項1に記載の情報処理装置は、さらに、前記ネットワーク上に他の情報処理装置が接続されたか否かを判断するマネージャ手段を備え、
このマネージャ手段によって前記ネットワーク上に他の情報処理装置が接続されたと判断された場合には、前記能力交換手段による処理を実行することを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, further comprising manager means for determining whether another information processing apparatus is connected to the network.
2. The information processing apparatus according to claim 1, wherein when the manager means determines that another information processing apparatus is connected to the network, the processing by the capability exchange means is executed.
ネットワークを介して他の情報処理装置と接続される情報処理装置が所定のコマンドに従って情報処理を行う情報処理方法であって、
前記他の情報処理装置から動作状態に関する情報を収集して、装置情報テーブルを作成する能力交換工程と、
前記コマンドが発生した際、当該コマンドの実行に要する資源に関する情報と、前記装置情報テーブルの動作状態に関する情報とを比較して、当該コマンドを実行可能な情報処理装置を特定する装置特定工程と、
を備えることを特徴とする情報処理方法。
An information processing method in which an information processing apparatus connected to another information processing apparatus via a network performs information processing according to a predetermined command,
Capability exchanging step of collecting information on the operating state from the other information processing device and creating a device information table;
When the command occurs, a device identification step for identifying an information processing device capable of executing the command by comparing information regarding resources required for execution of the command and information regarding an operation state of the device information table;
An information processing method comprising:
前記情報処理方法は、さらに、前記装置特定工程で特定された情報処理装置に対して前記コマンドを送信して実行要求する実行要求工程を備えることを特徴とする請求項11に記載の情報処理方法。   The information processing method according to claim 11, further comprising an execution requesting step of transmitting the command to the information processing device specified in the device specifying step to request execution. . 前記他の情報処理装置は、前記コマンドを処理するプロセッサ手段を複数備え、前記能力交換工程では、前記複数のプロセッサ手段各々の動作状態に関する情報を収集して、前記装置情報テーブルに保存することを特徴とする請求項11に記載の情報処理方法。   The other information processing apparatus includes a plurality of processor means for processing the command. In the capability exchanging step, information on an operation state of each of the plurality of processor means is collected and stored in the apparatus information table. The information processing method according to claim 11, wherein: 前記情報処理方法は、さらに、前記ネットワーク上に他の情報処理装置が接続されたか否かを判断する管理工程を備え、
この管理工程で前記ネットワーク上に他の情報処理装置が接続されたと判断された場合には、前記能力交換工程を実行することを特徴とする請求項11に記載の情報処理方法。
The information processing method further includes a management step of determining whether another information processing apparatus is connected to the network.
12. The information processing method according to claim 11, wherein if it is determined that another information processing apparatus is connected to the network in the management step, the capability exchange step is executed.
一の情報処理装置と他の情報処理装置がネットワークを介して接続され、所定のコマンドに従って情報処理を行う情報処理システムであって、
前記一の情報処理装置は、前記他の情報処理装置から動作状態に関する情報を収集して、装置情報テーブルを作成する能力交換手段と、前記コマンドが発生した際、当該コマンドの実行に要する資源に関する情報と、前記装置情報テーブルの動作状態に関する情報とを比較して、当該コマンドを実行可能な情報処理装置を特定する装置特定手段とを備えることを特徴とする情報処理システム。
An information processing system in which one information processing apparatus and another information processing apparatus are connected via a network and perform information processing according to a predetermined command,
The one information processing apparatus collects information on the operation state from the other information processing apparatus and creates a device information table, and when the command occurs, the resource required for executing the command An information processing system comprising: device specifying means for comparing information and information relating to an operation state of the device information table to specify an information processing device capable of executing the command.
前記能力交換手段は、前記装置特定手段によって特定された情報処理装置に対して前記コマンドを送信して実行要求することを特徴とする請求項15に記載の情報処理システム。   The information processing system according to claim 15, wherein the capability exchanging unit transmits the command to the information processing apparatus specified by the apparatus specifying unit and requests execution thereof. 前記他の情報処理装置は、前記コマンドを処理するプロセッサ手段を複数備え、前記能力交換手段は、前記複数のプロセッサ手段各々の動作状態に関する情報を収集して、前記装置情報テーブルに保存することを特徴とする請求項15に記載の情報処理システム。   The other information processing apparatus includes a plurality of processor means for processing the command, and the capability exchanging means collects information on the operation state of each of the plurality of processor means and stores the information in the apparatus information table. The information processing system according to claim 15, characterized in that: 前記一の情報処理装置は、さらに、前記ネットワーク上に他の情報処理装置が接続されたか否かを判断するマネージャ手段を備え、このマネージャ手段によって前記ネットワーク上に他の情報処理装置が接続されたと判断された場合には、前記能力交換手段による処理を実行することを特徴とする請求項15に記載の情報処理システム。   The one information processing apparatus further includes manager means for determining whether another information processing apparatus is connected to the network, and the other information processing apparatus is connected to the network by the manager means. The information processing system according to claim 15, wherein if it is determined, processing by the capability exchanging means is executed. 一の情報処理装置と他の情報処理装置がネットワークを介して接続された情報処理システムにおいて所定のコマンドに従って情報処理を行うために、前記一の情報処理装置が備えるコンピュータを、
前記他の情報処理装置から動作状態に関する情報を収集して、装置情報テーブルを作成する能力交換手段、および、前記コマンドが発生した際、当該コマンドの実行に要する資源に関する情報と、前記装置情報テーブルの動作状態に関する情報とを比較して、当該コマンドを実行可能な情報処理装置を特定する装置特定手段、
として機能させるための情報処理用プログラム。
In order to perform information processing according to a predetermined command in an information processing system in which one information processing device and another information processing device are connected via a network, a computer included in the one information processing device is provided.
Capability exchanging means for collecting information on operation status from the other information processing apparatus and creating a device information table, information on resources required for execution of the command when the command is generated, and the device information table Device specifying means for comparing the information on the operation state of the information processing device to specify the information processing device capable of executing the command,
Program for information processing to function as.
前記コンピュータを、前記特定された情報処理装置に対して前記コマンドを送信して実行要求する手段としても機能させることを特徴とする請求項19に記載の情報処理用プログラム。   20. The information processing program according to claim 19, further causing the computer to function as means for transmitting the command to the identified information processing apparatus and requesting execution. 前記他の情報処理装置は、前記コマンドを処理するプロセッサ手段を複数備え、前記情報処理用プログラムは、前記コンピュータを、前記能力交換手段としては、前記複数のプロセッサ手段各々の動作状態に関する情報を収集して、前記装置情報テーブルに保存する手段として機能させることを特徴とする請求項19に記載の情報処理用プログラム。   The other information processing apparatus includes a plurality of processor means for processing the command, and the information processing program collects information about an operation state of each of the plurality of processor means as the computer and the capability exchange means. The information processing program according to claim 19, wherein the information processing program is made to function as means for storing in the device information table. 前記情報処理用プログラムは、前記コンピュータを前記ネットワーク上に他の情報処理装置が接続されたか否かを判断するマネージャ手段としても機能させ、このマネージャ手段としての機能によって前記ネットワーク上に他の情報処理装置が接続されたと判断された場合には、前記コンピュータを前記能力交換手段として機能させることを特徴とする請求項19に記載の情報処理用プログラム。   The information processing program causes the computer to function as manager means for determining whether or not another information processing apparatus is connected to the network, and other information processing is performed on the network by the function as the manager means. The information processing program according to claim 19, wherein when it is determined that a device is connected, the computer is caused to function as the capability exchange unit.
JP2004369126A 2004-02-03 2004-12-21 Information processing device, information processing method, information processing system and information processing program Abandoned JP2005251163A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004369126A JP2005251163A (en) 2004-02-03 2004-12-21 Information processing device, information processing method, information processing system and information processing program
KR1020050021349A KR20060071069A (en) 2004-12-21 2005-03-15 Information processing apparatus, information processing method, information processing system, and computer program for information processing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004026454 2004-02-03
JP2004369126A JP2005251163A (en) 2004-02-03 2004-12-21 Information processing device, information processing method, information processing system and information processing program

Publications (2)

Publication Number Publication Date
JP2005251163A true JP2005251163A (en) 2005-09-15
JP2005251163A5 JP2005251163A5 (en) 2007-11-01

Family

ID=35031548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004369126A Abandoned JP2005251163A (en) 2004-02-03 2004-12-21 Information processing device, information processing method, information processing system and information processing program

Country Status (1)

Country Link
JP (1) JP2005251163A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007265143A (en) * 2006-03-29 2007-10-11 Sony Computer Entertainment Inc Information processing method, information processing system, information processor, multiprocessor, information processing program, and computer-readable storage medium storing information processing program
JP2010061648A (en) * 2008-09-04 2010-03-18 Internatl Business Mach Corp <Ibm> Method and device for data processing in hybrid computing environment, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007265143A (en) * 2006-03-29 2007-10-11 Sony Computer Entertainment Inc Information processing method, information processing system, information processor, multiprocessor, information processing program, and computer-readable storage medium storing information processing program
JP4727480B2 (en) * 2006-03-29 2011-07-20 株式会社ソニー・コンピュータエンタテインメント Information processing method, information processing system, information processing apparatus, multiprocessor, information processing program, and computer-readable storage medium storing information processing program
JP2010061648A (en) * 2008-09-04 2010-03-18 Internatl Business Mach Corp <Ibm> Method and device for data processing in hybrid computing environment, and program

Similar Documents

Publication Publication Date Title
KR101089965B1 (en) Network system, distributed processing method and information processing apparatus
US8103771B2 (en) Distributing processing apparatus, method, and system
KR20060043201A (en) Information processing system, information processing method, and computer program
JP4599923B2 (en) Information processing system, information processing method, and computer program
US7970137B2 (en) Content reproduction apparatus, content recording apparatus, network system, and content recording/reproduction method
EP1589421A2 (en) Information processing system, information processing method, and computer program
JP2006031525A (en) Information processor, information processing method and program
EP1577771A2 (en) Information processing apparatus, information processing method, information processing system and information processing program
JP2005276165A (en) Information processor, network system state presentation method, and computer program
JP2005251163A (en) Information processing device, information processing method, information processing system and information processing program
JP4349189B2 (en) Network system, program recording reservation method, and information processing apparatus
JP2005339401A (en) Information processor and control method thereof, information processing controller, information processing unit and control method thereof, and computer program
KR20060071069A (en) Information processing apparatus, information processing method, information processing system, and computer program for information processing
JP2005352909A (en) Information processing device, method therefor, recording medium thereof, and reservation processing program
JP2005293418A (en) Information processor, network system, throughput presentation method and program for throughput presentation
JP2005235246A (en) Server apparatus
JP2005234634A (en) Method for managing data
JP2006018343A (en) Information processor, network system, and function expansion method for information processor
JP2005332009A (en) Information processing apparatus and method, recording medium, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070912

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070912

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20080825