JP4093636B2 - Information processing apparatus and method, and recording medium - Google Patents

Information processing apparatus and method, and recording medium Download PDF

Info

Publication number
JP4093636B2
JP4093636B2 JP12847798A JP12847798A JP4093636B2 JP 4093636 B2 JP4093636 B2 JP 4093636B2 JP 12847798 A JP12847798 A JP 12847798A JP 12847798 A JP12847798 A JP 12847798A JP 4093636 B2 JP4093636 B2 JP 4093636B2
Authority
JP
Japan
Prior art keywords
information
response
request
asynchronous data
predetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP12847798A
Other languages
Japanese (ja)
Other versions
JPH11331213A (en
Inventor
一 秦
宏一 杉山
健一郎 今井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP12847798A priority Critical patent/JP4093636B2/en
Publication of JPH11331213A publication Critical patent/JPH11331213A/en
Application granted granted Critical
Publication of JP4093636B2 publication Critical patent/JP4093636B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、情報処理装置および方法、並びに記録媒体に関し、特に、例えば、IEEE1394規格のプロトコルにおいて、トランザクション層に指定される処理を効率的に実行できるようにした情報処理装置および方法、並びに記録媒体に関する。
【0002】
【従来の技術】
最近、コンピュータやVCR(Video Cassette Recorder)などの情報処理装置の間で、データおよび制御信号を通信するためのインタフェースとして、IEEEー1394 Hight Performance Serial Bus(以下、IEEE1394シリアルバスと称する)に対応したインタフェース(以下、IEEE1394I/Fと称する)が注目されている。
【0003】
図5は、コンピュータまたはVCRなどの情報処理装置21の従来の受信部22の構成例を表している。入力部11は、IEEE1394シリアルバス10に接続されており、IEEE1394シリアルバス10上に伝送されるデータを受信するようになされている。IEEE1394シリアルバス10上に伝送されるデータは、ビデオデータやオーディオデータを伝送する同期型データのパケット(以下、同期型パケットと称する)と、制御信号を伝送する非同期型データのパケット(以下、非同期型パケットと称する)にパケット化され、例えば、125μsecを基準サイクルとして時分割多重化されている。
【0004】
入力部11は、IEEE1394シリアルバス10から受信したデータのうち、非同期型パケット(アシンクロナスパケット)が、情報処理装置21宛のパケットである場合、または同期型パケット(アイソクロナスパケット)が、他の図示せぬ装置と情報処理装置21との間の通信に割当られたチャンネル番号を有している場合、受信したデータをセパレータ12に出力する。
【0005】
セパレータ12は、入力部11から入力されたデータ(パケット)のヘッダに書かれているパケット識別コードから判断し、入力されたパケットを、同期型パケットと非同期型パケットに分離する。そしてセパレータ12は、同期型パケットをIRF(Isochronous Receive FIFO)13に出力し、非同期型パケットをARF(Asynchronous Receive FIFO)14に出力する。
【0006】
IRF13は、入力された同期型パケットを、入力された順番に同期型データ処理部15により読み出されるように記憶する。同期型データ処理部15は、IRF13から同期型パケットを、順番に読み出し、所定の処理を実行する。
【0007】
ARF14は、入力された非同期型パケットを、入力された順番に非同期型データ処理部16により読み出されるように記憶する。非同期データ処理部16は、ARF14から非同期型パケットを順番に読み出し、所定の処理を実行する。
【0008】
CPU17は、同期型データ処理部15および非同期型データ処理部16を制御し、各種の処理を実行させる。
【0009】
以上のように構成される情報処理装置21のインタフェースとしての受信部22により、IEEE1394シリアルバス10からデータを受信することができる。
【0010】
【発明が解決しようとする課題】
ところで、IEEE1394規格のプロトコルを構成するトランザクション層は、非同期型パケットにのみ必要とされ、所定のサービスの起動を要求する処理(リクエストトランザクション)と、その要求に回答する処理(レスポンストランザクション)を行う。例えば、図6に示すように、ノードAが、IEEE1394シリアルバスで接続されているノードBからリクエストトランザクションを受信すると、ノードAは、そのリクエストトランザクションに対応する処理を実行し、処理結果として、レスポンストランザクションをノードBに送信する。すなわち、図5の情報処理装置21においては、CPU17が、受信部22の非同期型データ処理部16を制御し、トランザクション層に指定された要求に対応した処理を実行させる。
【0011】
また、IEEE1394規格によれば、リクエストトランザクションを受信したノード(情報処理装置)は、必ず、レスポンストランザクションを送信元に、所定の時間以内(例えば、100ms以内)送信しなければならない規定がある。
【0012】
例えば、IEEE1394シリアルバス10がリセットされると、図示せぬ装置からコンフィグレーションROMの内容を問い合わせるリクエストトランザクションが出力される。情報処理装置21のCPU17は、このようなリクエストトランザクションの入力を受けると、他の処理を実行するとともに、レスポンストランザクションを生成し、出力する処理を実行する必要がある。その結果、CPU17に大きな負荷がかかるり、そのとき、CPU17が迅速な処理を実行できなくなる課題がある。
【0013】
本発明はこのような状況に鑑みてなされたものであり、例えば、トランザクション層に指定される処理を効率的に実行することができるようにするものである。
【0014】
【課題を解決するための手段】
請求項1に記載の情報処理装置は、所定の非同期型データを受信した場合の非同期型データによる要求に対応するレスポンスであって、所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報を保持する保持手段と、バスを介して伝送されてくるデータを受信する受信手段と、受信手段により受信されたデータが非同期型データである場合、受信された非同期型データによる要求に対応するレスポンスを構成する情報を、保持手段が保持しているか否かを判定する判定手段と、判定手段により受信された非同期型データによる要求に対応するレスポンスを構成する情報を保持手段が保持していると判定された場合、その情報に基づいてレスポンス情報を生成し、バスに出力する第1の出力手段と、判定手段により受信された非同期型データによる要求に対応するレスポンスを構成する情報を保持手段が保持していないと判定された場合、所定の処理を実行し、その処理結果に応じてレスポンス情報を生成し、バスに出力する第2の出力手段とを備えることを特徴とする。
【0015】
請求項3に記載の情報処理方法は、所定の非同期型データを受信した場合の非同期型データによる要求に対応するレスポンスであって、所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報を保持する保持ステップと、バスを介して伝送されてくるデータを受信する受信ステップと、受信ステップの処理で受信されたデータが非同期型データである場合、受信された非同期型データによる要求に対応するレスポンスを構成する情報が、保持ステップの処理で保持されているか否かを判定する判定ステップと、判定ステップの処理で受信された非同期型データによる要求に対応するレスポンスを構成する情報が保持ステップの処理で保持されていると判定された場合、その情報に基づいてレスポンス情報を生成し、バスに出力する第1の出力ステップと、判定ステップの処理で受信された非同期型データによる要求に対応するレスポンスを構成する情報を保持ステップが保持していないと判定された場合、所定の処理を実行し、その処理結果に応じてレスポンス情報を生成し、バスに出力する第2の出力ステップとを含むことを特徴とする。
【0016】
請求項4に記載の記録媒体のプログラムは、所定の非同期型データを受信した場合の非同期型データによる要求に対応するレスポンスであって、所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報を保持する保持ステップと、バスを介して伝送されてくるデータを受信する受信ステップと、受信ステップの処理で受信されたデータが非同期型データである場合、受信された非同期型データによる要求に対応するレスポンスを構成する情報が、保持ステップの処理で保持されているか否かを判定する判定ステップと、判定ステップの処理で受信された非同期型データによる要求に対応するレスポンスを構成する情報が保持ステップの処理で保持されていると判定された場合、その情報に基づいてレスポンス情報を生成し、バスに出力する第1の出力ステップと、判定ステップの処理で受信された非同期型データによる要求に対応するレスポンスを構成する情報を保持ステップが保持していないと判定された場合、所定の処理を実行し、その処理結果に応じてレスポンス情報を生成し、バスに出力する第2の出力ステップと含む処理を実行させる。
【0017】
請求項1に記載の情報処理装置、請求項3に記載の情報処理方法、および請求項4に記載の記録媒体のプログラムにおいては、所定の非同期型データを受信した場合の非同期型データによる要求に対応するレスポンスであって、所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報が保持され、バスを介して伝送されてくるデータが受信され、受信されたデータが非同期型データである場合、受信された非同期型データによる要求に対応するレスポンスを構成する情報が保持されているか否かが判定され、受信された非同期型データによる要求に対応するレスポンスを構成する情報が保持されていると判定された場合、その情報に基づいてレスポンス情報が生成され、バスに出力され、受信された非同期型データによる要求に対応するレスポンスを構成する情報を保持ステップが保持していないと判定された場合、所定の処理が実行され、その処理結果に応じてレスポンス情報が生成され、バスに出力される
【0018】
【発明の実施の形態】
以下に本発明の実施の形態を説明するが、特許請求の範囲に記載の発明の各手段と以下の実施の形態との対応関係を明らかにするために、各手段の後の括弧内に、対応する実施の形態(但し一例)を付加して本発明の特徴を記述すると、次のようになる。但し勿論この記載は、各手段を記載したものに限定することを意味するものではない。
【0019】
請求項1に記載の情報処理装置は、所定の非同期型データを受信した場合の非同期型データによる要求に対応するレスポンスであって、所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報を保持する保持手段(例えば、図2のレジスタ54)と、バスを介して伝送されてくるデータを受信する受信手段(例えば、図1の入力部11)と、受信手段により受信されたデータが非同期型データである場合、受信された非同期型データによる要求に対応するレスポンスを構成する情報を、保持手段が保持しているか否かを判定する判定手段(例えば、図2の制御部52)と、判定手段により受信された非同期型データによる要求に対応するレスポンスを構成する情報を保持手段が保持していると判定された場合、その情報に基づいてレスポンス情報を生成し、バスに出力する第1の出力手段(例えば、図2のオートレスポンス部53)と、判定手段により受信された非同期型データによる要求に対応するレスポンスを構成する情報を保持手段が保持していないと判定された場合、所定の処理を実行し、その処理結果に応じてレスポンス情報を生成し、バスに出力する第2の出力手段(例えば、図1の非同期型データ処理部16及び CPU 17)とを備えることを特徴とする。
【0020】
図1は、本発明を適用した送受信装置41の構成例を表している。なお、図5における場合と対応する部分については、同一の符号を付してあり、その説明は適宜省略する。
【0021】
コンピュータやVCRなどで構成される情報処理装置42は、IEEE1394シリアルバス10とのインタフェースとして送受信装置41を有している。
【0022】
送受信装置41の入力部11は、IEEE1394シリアルバス10に接続されており、IEEE1394シリアルバス10上に伝送されるデータを受信するようになされている。IEEE1394シリアルバス10から受信したデータのうち非同期型パケットが、情報処理装置42宛のパケットである場合、または同期型パケットが、図示せぬ他の情報処理装置と情報処理装置42との通信に割当られたチャンネル番号を有している場合、入力部11は、受信したデータ(パケット)をセパレータ31に出力する。
【0023】
セパレータ31は、入力部11より供給されたパケットを、パケットのヘッダに書かれているパケット識別コードから判断し、同期型パケットと非同期パケットに分離する。そしてセパレータ31は、同期型パケットをIRF13に出力し、非同期型パケットをリクエストトランザクション処理部32に出力する。
【0024】
IRF13は、入力された同期型パケットを、入力された順番に同期型データ処理部15により読み出されるように記憶する。同期型データ処理部15は、IRF13から同期型パケットを、順番に読み出し、所定の処理を実行する。
【0025】
リクエストトランザクション処理部32は、トランザクション層に指定されたリクエストトランザクションが所定のリクエストトランザクションである場合、レスポンストランザクション(レスポンス情報)を生成し、IEEE1394シリアルバス10に出力するようになされている。リクエストトランザクション処理部32はまた、リクエストトランザクションが所定のリクエストトランザクションでない場合、その非同期型パケットを、ARF14に出力する。
【0026】
ARF14は、入力された非同期型パケットを、入力された順番に非同期型データ処理部16により読み出されるように記憶するようになされている。非同期型データ処理部16は、ARF14から非同期型パケットを読み出し、所定の処理を実行するようになされている。
【0027】
情報処理装置42のCPU17は、同期型データ処理部15および非同期型データ処理部16を制御し、各種の処理を実行させる。CPU17に接続されているコンフィグレーションROM33には、情報処理装置42に関する所定の情報が予め記憶されている。
【0028】
図2は、リクエストトランザクション処理部32の構成例を表している。解析部51は、セパレータ31から入力された非同期型パケットを解析し、そのヘッダに含まれるソースIDを抽出するとともに、トランザクション層に指定された所定のアドレスを抽出する。解析部51は、抽出したアドレスを制御部52に出力する。また、解析部51は、制御部52に制御され、抽出したソースIDをオートレスポンス部53に出力したり、入力した非同期型パケットをARF14に転送する。なお、ソースIDは、そのパケットを送信した送信元の情報処理装置のノードIDを表している。
【0029】
レジスタ54は、図3に示すように、リクエストトランザクションに対応するレスポンストランザクションとして送出(回答)するのに必要なデータ(データa,b・・・)のうち、情報処理装置42を装着した時点において、既に確定しているものが、対応するアドレス(アドレスA,B・・・)とともにレジストしている。レジスタ54はまた、制御部52に制御され、記憶しているアドレスを制御部52に出力したり、また記憶しているデータをオートレスポンス部53に出力するようになされている。
【0030】
オートレスポンス部53は、制御部52に制御され、解析部51から入力されるソースID、およびレジスタ54から入力されるデータに基づいて、レスポンストランザクションのパケットを生成し、IEEE1394シリアルバス10に出力するようになされている。
【0031】
制御部52は、解析部51から入力されるアドレスが、レジスタ54に記憶されているアドレスの中に存在するか否かを判定し、その判定結果に基づいて、解析部51、オートレスポンス部53、およびレジスタ54を制御するようになされている。
【0032】
次に、レスポンストランザクションを生成する場合の処理手順を、図4のフローチャートを参照して説明する。
【0033】
この例の場合、情報処理装置42とともに、IEEE1394シリアスバス12に接続されている図示せぬ情報処理装置(送信元)から、情報処理装置42のコンフィグレーションROMの内容を問い合わせるリクエストトランザクションが伝送されてきたものとする。すなわち、リクエストトランザクションには、問い合わせの種類を表す情報としてレジスタ54に記憶されているアドレスが含まれている。
【0034】
ステップS1において、リクエストトランザクション処理部32の解析部51が、セパレータ31から非同期型パケットの供給を受けると、ステップS2において、供給された非同期型パケットから、ソースIDと、トランザクション層に指定されたアドレスを抽出する。
【0035】
次に、ステップS3において、解析部51は、ステップS2で抽出したアドレスを制御部52に出力する。ステップS4において、制御部52は、レジスタ54の内容を参照し、解析部51から出力されたアドレスが、レジスタ54に記憶されているか否かを判定する。
【0036】
ステップS4で、解析部51から出力されたアドレスが、レジスタ54に記憶されていると判定された場合、ステップS5に進み、制御部52は、オートレスポンス部53にレスポンストランザクションの生成を指令する。これにより、オートレスポンス部53は、レジスタ54からのデータと解析部51からのソースIDの供給を受けると、レスポンストランザクションを生成することができる状態になる。
【0037】
次に、ステップS6において、制御部52は、レジスタ54を制御し、ステップ2で抽出されたアドレスに対応するデータを、オートレスポンス部53に出力させ、ステップS7において、解析部51を制御し、ステップS2で抽出されたソースIDを、オートレスポンス部53に出力させる。
【0038】
ステップS8において、オートレスポンス部53は、解析部51からのソースIDとレジスタ54からのデータに基づいて、レスポンストランザクションのパケットを生成し、IEEE1394シリアスバス12に出力する。すなわち、レスポンストランザクションのデスティネイションIDに、解析部51からのソースIDを利用し、そのデータ部に、レジスタ54からのデータを配置する。
【0039】
ステップS4において、ステップS2で抽出されたアドレスがレジスタ54に記憶されていないと判定された場合、ステップS9に進み、制御部52は、解析部51を制御し、ステップS1で受信した非同期型パケットをARF14に転送させる。すなわち、この場合、オートレスポンス部53において、レスポンストランザクションは生成されない。非同期型データ処理部16は、ARF16から非同期型パケット(リクエストトランザクション)に対応するレスポンストランザクションを生成し、それをIEEE1394シリアルバス10に出力する。
【0040】
このように、コンフィグレーションROMの内容の問い合わせなど、回答がすでに決定されている内容を問い合わせるリクエストトランザクションに対し、レジスタ54からのデータに基づいてレスポンストランザクションを生成するようにしたので、情報処理装置42のCPU17の負担を軽減することができる。特に、IEEE1394インタフェースの制御に大きな負荷を割り当てることができない、AV機器などに、有効である。
【0041】
以上においては、レジスタ54には、コンフィグレーションROMの内容をレジストするようにしたが、その他の情報、例えば、デジタルVCRのTTC(Title Time Code)などのように、高速に(頻繁に)レスポンスする必要がある情報をレジスタ54にレジストさせておくこともできる。このTTCは、毎フレーム、(例えば、1/30secのサイクルで)問い合わせを受ける場合があり、上述した場合と同様の処理を行うことにより、効率的にレスポンストランザクションを生成し、出力することができる。
【0042】
なお、上記したような処理を行うコンピュータプログラムをユーザに提供する提供媒体としては、磁気ディスク、CD-ROM、固体メモリなどの記録媒体の他、ネットワーク、衛星などの通信媒体を利用することができる。
【0043】
【発明の効果】
請求項1に記載の情報処理装置、請求項3に記載の情報処理方法、および請求項4に記載の記録媒体のプログラムによれば、所定の非同期型データを受信した場合の非同期型データによる要求に対応するレスポンスであって、所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスに必要なデータを予め保持するようにしたので、レスポンス情報を効率よく生成することができる。
【図面の簡単な説明】
【図1】本発明を適用した送受信装置41の構成例を表すブロック図である。
【図2】図1のリクエストトランザクション処理部32の構成例を表すブロック図である。
【図3】レジスタ54の記憶内容の例を表す図である。
【図4】レスポンストランザクション生成処理を説明するフローチャートである。
【図5】従来の受信部22の構成例を表すブロック図である。
【図6】ノードAとノードBとの間の通信を説明する図である。
【符号の説明】
10 シリアルバス,11 入力部, 12 セパレータ, 13 IRF, 14 ARF, 15 同期型データ処理部, 16 非同期型データ処理部, 17 CPU, 21 情報処理装置, 22 受信部 ,31 セパレータ, 32 リクエストトランザクション処理部, 33 ROM, 41 送受信装置, 42 情報処理装置, 51 解析部, 52 制御部, 53 オートレスポンス部, 54 レジスタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus and method, and a recording medium, and more particularly, for example, an information processing apparatus and method, and a recording medium that can efficiently execute processing specified in a transaction layer in an IEEE1394 standard protocol, for example. About.
[0002]
[Prior art]
Recently, IEEE-1394 Hight Performance Serial Bus (hereinafter referred to as IEEE1394 serial bus) has been supported as an interface for communicating data and control signals between information processing devices such as computers and VCRs (Video Cassette Recorders). An interface (hereinafter referred to as IEEE1394 I / F) has attracted attention.
[0003]
FIG. 5 shows a configuration example of the conventional receiving unit 22 of the information processing apparatus 21 such as a computer or a VCR. The input unit 11 is connected to the IEEE1394 serial bus 10 and receives data transmitted on the IEEE1394 serial bus 10. Data transmitted on the IEEE1394 serial bus 10 includes a synchronous data packet for transmitting video data and audio data (hereinafter referred to as a synchronous packet) and an asynchronous data packet for transmitting a control signal (hereinafter asynchronously). For example, 125 μsec as a reference cycle and time-division multiplexed.
[0004]
Of the data received from the IEEE 1394 serial bus 10, the input unit 11 shows another case where an asynchronous packet (asynchronous packet) is a packet addressed to the information processing apparatus 21 or a synchronous packet (isochronous packet). The received data is output to the separator 12 when it has a channel number assigned to communication between the device and the information processing device 21.
[0005]
The separator 12 determines from the packet identification code written in the header of the data (packet) input from the input unit 11, and separates the input packet into a synchronous packet and an asynchronous packet. The separator 12 outputs a synchronous packet to an IRF (Isochronous Receive FIFO) 13 and outputs an asynchronous packet to an ARF (Asynchronous Receive FIFO) 14.
[0006]
The IRF 13 stores the input synchronous packets so that the synchronous data processing unit 15 reads them in the input order. The synchronous data processing unit 15 sequentially reads synchronous packets from the IRF 13 and executes predetermined processing.
[0007]
The ARF 14 stores the input asynchronous packets so that the asynchronous data processing unit 16 reads them in the input order. The asynchronous data processing unit 16 sequentially reads asynchronous packets from the ARF 14 and executes predetermined processing.
[0008]
The CPU 17 controls the synchronous data processing unit 15 and the asynchronous data processing unit 16 to execute various processes.
[0009]
Data can be received from the IEEE1394 serial bus 10 by the receiving unit 22 as an interface of the information processing apparatus 21 configured as described above.
[0010]
[Problems to be solved by the invention]
By the way, the transaction layer constituting the protocol of the IEEE1394 standard is required only for asynchronous packets, and performs processing for requesting activation of a predetermined service (request transaction) and processing for responding to the request (response transaction). For example, as shown in FIG. 6, when the node A receives a request transaction from the node B connected by the IEEE1394 serial bus, the node A executes a process corresponding to the request transaction, and returns a response as a processing result. Send the transaction to Node B. That is, in the information processing apparatus 21 in FIG. 5, the CPU 17 controls the asynchronous data processing unit 16 of the receiving unit 22 to execute processing corresponding to the request specified in the transaction layer.
[0011]
Further, according to the IEEE1394 standard, there is a rule that a node (information processing apparatus) that has received a request transaction must always transmit a response transaction to a transmission source within a predetermined time (for example, within 100 ms).
[0012]
For example, when the IEEE1394 serial bus 10 is reset, a request transaction for inquiring about the contents of the configuration ROM is output from a device (not shown). When the CPU 17 of the information processing device 21 receives such a request transaction, it needs to execute other processing and generate and output a response transaction. As a result, there is a problem that a large load is applied to the CPU 17 and the CPU 17 cannot execute a quick process at that time.
[0013]
The present invention has been made in view of such a situation. For example, it is possible to efficiently execute processing specified in a transaction layer.
[0014]
[Means for Solving the Problems]
The information processing apparatus according to claim 1 is a response corresponding to a request by asynchronous data when predetermined asynchronous data is received, and must be returned within a predetermined time after receiving the predetermined asynchronous data. If the data received by the receiving means is asynchronous data, the holding means for holding the predetermined information that constitutes the response to be received, the receiving means for receiving the data transmitted via the bus, and the received asynchronous Determining means for determining whether the holding means holds information that constitutes a response corresponding to a request by type data, and information constituting a response corresponding to a request by asynchronous data received by the judging means If the holding means is determined to be held, generates response information based on the information, a first output means for outputting to the bus If the holding means information that constitutes a response corresponding to the request by the received asynchronous data is determined not to be held by the determining means executes a predetermined process, the response information in accordance with the processing result And second output means for generating and outputting to the bus .
[0015]
The information processing method according to claim 3 is a response corresponding to a request by asynchronous data when predetermined asynchronous data is received, and must be returned within a predetermined time after receiving the predetermined asynchronous data. If the data received in the processing of the holding step that holds the predetermined information that constitutes the response to be received, the receiving step that receives data transmitted via the bus, and the processing of the receiving step is asynchronous data, it is received. A determination step for determining whether or not information constituting a response corresponding to a request based on asynchronous data is retained in the retention step process, and a request based on asynchronous data received in the determination step process If the information that constitutes the response is determined to be held in the process of holding step, less on the basis of the information It generates Nsu information, a first output step of outputting to the bus, holding step the information constituting the response corresponding to the request by the received asynchronous data in the process of determining step determines not to hold A second output step of executing predetermined processing, generating response information according to the processing result, and outputting the response information to the bus .
[0016]
The recording medium program according to claim 4 is a response corresponding to a request by asynchronous data when predetermined asynchronous data is received, and must be returned within a predetermined time after receiving the predetermined asynchronous data. A holding step that holds predetermined information that constitutes a response that must be received, a receiving step that receives data transmitted via the bus, and a data received in the processing of the receiving step is received when the data is asynchronous data. A determination step that determines whether or not the information that constitutes the response corresponding to the request by the asynchronous data received is retained by the retention step process, and the request by the asynchronous data received by the determination step process If the information that constitutes a response to is determined to be held in the process of holding step, based on the information Te generates response information, is determined and a first output step of outputting to the bus, the holding step the information constituting the response corresponding to the request by the received asynchronous data in the process of decision step does not hold In the case, the predetermined processing is executed, response information is generated according to the processing result, and processing including the second output step of outputting to the bus is executed.
[0017]
In the information processing apparatus according to claim 1, the information processing method according to claim 3, and the program of the recording medium according to claim 4, a request by asynchronous data when predetermined asynchronous data is received. Predetermined information that constitutes a response that must be returned within a predetermined time after receiving predetermined asynchronous data is held, and data transmitted via the bus is received and received If the received data is asynchronous data, it is determined whether the information constituting the response corresponding to the received request by asynchronous data is retained, and the response corresponding to the received request by asynchronous data is displayed. If information configuration is determined to be held, the response information is generated based on the information, is output to the bus, receiving If it is determined that the holding step does not hold the information that constitutes the response corresponding to the request by the asynchronous type data, a predetermined process is executed, and response information is generated according to the processing result. Is output .
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below, but in order to clarify the correspondence between each means of the invention described in the claims and the following embodiments, in parentheses after each means, The features of the present invention will be described with the corresponding embodiment (however, an example) added. However, of course, this description does not mean that each means is limited to the description.
[0019]
The information processing apparatus according to claim 1 is a response corresponding to a request by asynchronous data when predetermined asynchronous data is received, and must be returned within a predetermined time after receiving the predetermined asynchronous data. Holding means (for example, the register 54 in FIG. 2) that holds predetermined information that constitutes an unacceptable response, and receiving means (for example, the input unit 11 in FIG. 1) that receives data transmitted via the bus; When the data received by the receiving means is asynchronous data, a determining means for determining whether the holding means holds information constituting a response corresponding to the request by the received asynchronous data (for example, The holding unit holds information constituting a response corresponding to the request by the asynchronous data received by the control unit 52) and the determination unit in FIG. If it is a constant, generates response information based on the information, a first output means for outputting to the bus (e.g., automatic response unit 53 of FIG. 2) and, on request by the asynchronous data received by the determining means If it is determined that the information constituting the corresponding response is not held by the holding unit, a second process is executed to execute a predetermined process, generate response information according to the process result, and output the response information to the bus ( For example, the asynchronous data processing unit 16 and the CPU 17) of FIG. 1 are provided.
[0020]
FIG. 1 shows a configuration example of a transmission / reception apparatus 41 to which the present invention is applied. In addition, about the part corresponding to the case in FIG. 5, the same code | symbol is attached | subjected and the description is abbreviate | omitted suitably.
[0021]
The information processing apparatus 42 configured by a computer, a VCR, or the like has a transmission / reception apparatus 41 as an interface with the IEEE1394 serial bus 10.
[0022]
The input unit 11 of the transmission / reception device 41 is connected to the IEEE1394 serial bus 10 and receives data transmitted on the IEEE1394 serial bus 10. Of the data received from the IEEE1394 serial bus 10, the asynchronous packet is a packet addressed to the information processing device 42, or the synchronous packet is assigned to communication between another information processing device (not shown) and the information processing device 42. If the received channel number is included, the input unit 11 outputs the received data (packet) to the separator 31.
[0023]
The separator 31 determines the packet supplied from the input unit 11 from the packet identification code written in the packet header, and separates the packet into a synchronous packet and an asynchronous packet. The separator 31 outputs the synchronous packet to the IRF 13 and outputs the asynchronous packet to the request transaction processing unit 32.
[0024]
The IRF 13 stores the input synchronous packets so that the synchronous data processing unit 15 reads them in the input order. The synchronous data processing unit 15 sequentially reads synchronous packets from the IRF 13 and executes predetermined processing.
[0025]
When the request transaction specified in the transaction layer is a predetermined request transaction, the request transaction processing unit 32 generates a response transaction (response information) and outputs it to the IEEE1394 serial bus 10. The request transaction processing unit 32 also outputs the asynchronous packet to the ARF 14 when the request transaction is not a predetermined request transaction.
[0026]
The ARF 14 stores input asynchronous packets so that the asynchronous data processing unit 16 reads them in the input order. The asynchronous data processing unit 16 reads an asynchronous packet from the ARF 14 and executes predetermined processing.
[0027]
The CPU 17 of the information processing device 42 controls the synchronous data processing unit 15 and the asynchronous data processing unit 16 to execute various processes. The configuration ROM 33 connected to the CPU 17 stores predetermined information related to the information processing apparatus 42 in advance.
[0028]
FIG. 2 shows a configuration example of the request transaction processing unit 32. The analysis unit 51 analyzes the asynchronous packet input from the separator 31, extracts the source ID included in the header, and extracts a predetermined address specified in the transaction layer. The analysis unit 51 outputs the extracted address to the control unit 52. Further, the analysis unit 51 is controlled by the control unit 52 and outputs the extracted source ID to the auto response unit 53 or transfers the input asynchronous packet to the ARF 14. The source ID represents the node ID of the information processing apparatus that has transmitted the packet.
[0029]
As shown in FIG. 3, the register 54 has data (data a, b...) Out of data (data a, b...) Necessary for sending (replying) as a response transaction corresponding to the request transaction. Those already determined are registered together with the corresponding addresses (addresses A, B...). The register 54 is also controlled by the control unit 52 so that the stored address is output to the control unit 52 and the stored data is output to the auto response unit 53.
[0030]
The auto response unit 53 is controlled by the control unit 52, generates a response transaction packet based on the source ID input from the analysis unit 51 and the data input from the register 54, and outputs the response transaction packet to the IEEE1394 serial bus 10. It is made like that.
[0031]
The control unit 52 determines whether or not the address input from the analysis unit 51 exists in the address stored in the register 54, and based on the determination result, the analysis unit 51 and the auto response unit 53. , And the register 54 are controlled.
[0032]
Next, a processing procedure for generating a response transaction will be described with reference to the flowchart of FIG.
[0033]
In the case of this example, a request transaction for inquiring about the contents of the configuration ROM of the information processing apparatus 42 is transmitted from the information processing apparatus (sender) (not shown) connected to the IEEE1394 serial bus 12 together with the information processing apparatus 42. Shall be. That is, the request transaction includes an address stored in the register 54 as information indicating the type of inquiry.
[0034]
In step S1, when the analysis unit 51 of the request transaction processing unit 32 receives supply of an asynchronous packet from the separator 31, in step S2, from the supplied asynchronous packet, the source ID and the address specified in the transaction layer To extract.
[0035]
Next, in step S <b> 3, the analysis unit 51 outputs the address extracted in step S <b> 2 to the control unit 52. In step S <b> 4, the control unit 52 refers to the contents of the register 54 and determines whether the address output from the analysis unit 51 is stored in the register 54.
[0036]
If it is determined in step S4 that the address output from the analysis unit 51 is stored in the register 54, the process proceeds to step S5, and the control unit 52 instructs the auto response unit 53 to generate a response transaction. Thus, when the auto response unit 53 receives the data from the register 54 and the source ID from the analysis unit 51, the auto response unit 53 can generate a response transaction.
[0037]
Next, in step S6, the control unit 52 controls the register 54 to output data corresponding to the address extracted in step 2 to the auto response unit 53. In step S7, the control unit 52 controls the analysis unit 51. The source ID extracted in step S2 is output to the auto response unit 53.
[0038]
In step S <b> 8, the auto response unit 53 generates a response transaction packet based on the source ID from the analysis unit 51 and the data from the register 54, and outputs the response transaction packet to the IEEE1394 serial bus 12. That is, the source ID from the analysis unit 51 is used as the destination ID of the response transaction, and the data from the register 54 is arranged in the data part.
[0039]
If it is determined in step S4 that the address extracted in step S2 is not stored in the register 54, the process proceeds to step S9, where the control unit 52 controls the analysis unit 51 and receives the asynchronous packet received in step S1. Are transferred to ARF14. That is, in this case, the response transaction is not generated in the auto response unit 53. The asynchronous data processing unit 16 generates a response transaction corresponding to the asynchronous packet (request transaction) from the ARF 16 and outputs it to the IEEE1394 serial bus 10.
[0040]
As described above, the response transaction is generated based on the data from the register 54 in response to the request transaction that inquires the content whose answer has already been determined, such as the inquiry about the content of the configuration ROM. The burden on the CPU 17 can be reduced. This is particularly effective for AV equipment and the like that cannot allocate a large load to control the IEEE1394 interface.
[0041]
In the above, the contents of the configuration ROM are registered in the register 54, but other information such as a digital VCR TTC (Title Time Code) is responded at high speed (frequently). Necessary information can be registered in the register 54. This TTC may receive an inquiry every frame (for example, in a 1/30 sec cycle), and by performing the same process as described above, a response transaction can be efficiently generated and output. .
[0042]
In addition, as a providing medium for providing a user with a computer program for performing the processing as described above, a communication medium such as a network or a satellite can be used in addition to a recording medium such as a magnetic disk, a CD-ROM, or a solid-state memory. .
[0043]
【The invention's effect】
According to the information processing device according to claim 1, the information processing method according to claim 3, and the recording medium program according to claim 4, a request by asynchronous data when predetermined asynchronous data is received. Since data necessary for a response that must be returned within a predetermined time after receiving predetermined asynchronous data is stored in advance, response information can be generated efficiently.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of a transmission / reception device 41 to which the present invention is applied.
FIG. 2 is a block diagram illustrating a configuration example of a request transaction processing unit 32 in FIG.
FIG. 3 is a diagram illustrating an example of contents stored in a register 54;
FIG. 4 is a flowchart illustrating response transaction generation processing.
FIG. 5 is a block diagram illustrating a configuration example of a conventional receiving unit 22;
FIG. 6 is a diagram illustrating communication between a node A and a node B.
[Explanation of symbols]
10 serial bus, 11 input unit, 12 separator, 13 IRF, 14 ARF, 15 synchronous data processing unit, 16 asynchronous data processing unit, 17 CPU, 21 information processing device, 22 receiving unit, 31 separator, 32 request transaction processing Unit, 33 ROM, 41 transmission / reception device, 42 information processing device, 51 analysis unit, 52 control unit, 53 auto response unit, 54 register

Claims (4)

他の情報処理装置と、バスを介して同期型データや非同期型データを送受信し、前記他の情報処理装置からの要求に応じ所定の処理を実行してその要求に対応するレスポンスを返す情報処理装置において、
所定の非同期型データを受信した場合の前記非同期型データによる要求に対応するレスポンスであって、前記所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報を保持する保持手段と、
前記バスを介して伝送されてくるデータを受信する受信手段と、
前記受信手段により受信された前記データが非同期型データである場合、受信された前記非同期型データによる要求に対応するレスポンスを構成する情報を、前記保持手段が保持しているか否かを判定する判定手段と、
前記判定手段により受信された前記非同期型データによる要求に対応するレスポンスを構成する情報を前記保持手段が保持していると判定された場合、その情報に基づいてレスポンス情報を生成し、前記バスに出力する第1の出力手段と、
前記判定手段により受信された前記非同期型データによる要求に対応するレスポンスを構成する情報を前記保持手段が保持していないと判定された場合、前記所定の処理を実行し、その処理結果に応じてレスポンス情報を生成し、前記バスに出力する第2の出力手段と
を備えることを特徴とする情報処理装置。
Information returned with another information processing apparatus, to transmit and receive synchronous data and asynchronous data over the bus, a response corresponding to the request by executing a predetermined process in response to a request from the other information processing apparatus In the processing device,
A response corresponding to a request by the asynchronous data when the predetermined asynchronous data is received, and predetermined information constituting a response that must be returned within a predetermined time after the reception of the predetermined asynchronous data. Holding means for holding;
Receiving means for receiving data transmitted via the bus;
If the data received by the receiving means is asynchronous data, a determination to determine whether or not the holding means holds information constituting a response corresponding to the request by the received asynchronous data Means,
When it is determined that the holding unit holds information constituting a response corresponding to the request by the asynchronous data received by the determination unit, response information is generated based on the information , and the information is sent to the bus. First output means for outputting;
When it is determined that the holding unit does not hold information constituting a response corresponding to the request by the asynchronous data received by the determining unit, the predetermined process is executed, and according to the processing result An information processing apparatus comprising: second output means for generating response information and outputting the response information to the bus .
前記保持手段は、前記所定の非同期型データによる要求の種類を表す情報と、その要求に対応するレスポンスを構成する情報を対応付けて保持し、
前記判定手段は、前記受信手段により受信された前記データから、要求の種類を表す情報と、送信元を表す情報とを抽出し、抽出した要求の種類を表す情報を、保持手段が保持しているか否かを判定し、
前記第1の出力手段は、前記判定手段により受信された前記非同期型データによる要求に対応するレスポンスを構成する情報を前記保持手段が保持していると判定された場合、前記判定手段が抽出した送信元を表す情報と前記保持手段が保持しているその要求に対応するレスポンスを構成する情報からレスポンス情報を生成し、前記バスに出力する
ことを特徴とする請求項1に記載の情報処理装置。
The holding unit holds information indicating the type of request based on the predetermined asynchronous data and information constituting a response corresponding to the request in association with each other,
The determination unit extracts information indicating a request type and information indicating a transmission source from the data received by the reception unit, and a holding unit holds information indicating the extracted request type. Whether or not
The first output means extracts the determination means when it is determined that the holding means holds information constituting a response corresponding to the request by the asynchronous data received by the determination means The information processing apparatus according to claim 1, wherein response information is generated from information representing a transmission source and information constituting a response corresponding to the request held by the holding unit and output to the bus. .
他の情報処理装置と、バスを介して同期型データや非同期型データを送受信し、前記他の情報処理装置からの要求に応じ所定の処理を実行してその要求に対応するレスポンスを返す情報処理装置の情報処理方法において、
所定の非同期型データを受信した場合の前記非同期型データによる要求に対応するレスポンスであって、前記所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報を保持する保持ステップと、
前記バスを介して伝送されてくるデータを受信する受信ステップと、
前記受信ステップの処理で受信された前記データが非同期型データである場合、受信された前記非同期型データによる要求に対応するレスポンスを構成する情報が、前記保持ステップの処理で保持されているか否かを判定する判定ステップと、
前記判定ステップの処理で受信された前記非同期型データによる要求に対応するレスポンスを構成する情報が前記保持ステップの処理で保持されていると判定された場合、その情報に基づいてレスポンス情報を生成し、前記バスに出力する第1の出力ステップと、
前記判定ステップの処理で受信された前記非同期型データによる要求に対応するレスポンスを構成する情報を前記保持ステップが保持していないと判定された場合、前記所定の処理を実行し、その処理結果に応じてレスポンス情報を生成し、前記バスに出力する第2の出力ステップと
を含むことを特徴とする情報処理方法。
Information returned with another information processing apparatus, to transmit and receive synchronous data and asynchronous data over the bus, a response corresponding to the request by executing a predetermined process in response to a request from the other information processing apparatus In the information processing method of the processing device,
A response corresponding to a request by the asynchronous data when the predetermined asynchronous data is received, and predetermined information constituting a response that must be returned within a predetermined time after the reception of the predetermined asynchronous data. Holding step to hold;
A receiving step of receiving data transmitted via the bus;
If the data received in the process of the reception step is asynchronous data, whether or not information constituting a response corresponding to the request by the received asynchronous data is held in the process of the holding step A determination step for determining
If it is determined that the information constituting the response corresponding to the request by the asynchronous data received in the determination step processing is held in the holding step processing, response information is generated based on the information. A first output step for outputting to the bus;
When it is determined that the holding step does not hold the information constituting the response corresponding to the request by the asynchronous data received in the determination step, the predetermined process is executed, and the processing result And a second output step of generating response information and outputting the response information to the bus .
情報処理装置と、バスを介して同期型データや非同期型データを送受信し、前記情報処理装置からの要求に応じ所定の処理を実行してその要求に対応するレスポンスを返す情報処理をコンピュータに実行されるプログラムにおいて、
所定の非同期型データを受信した場合の前記非同期型データによる要求に対応するレスポンスであって、前記所定の非同期型データの受信後、所定時間以内に返さなければならないレスポンスを構成する所定の情報を保持する保持ステップと、
前記バスを介して伝送されてくるデータを受信する受信ステップと、
前記受信ステップの処理で受信された前記データが非同期型データである場合、受信された前記非同期型データによる要求に対応するレスポンスを構成する情報が、前記保持ステップの処理で保持されているか否かを判定する判定ステップと、
前記判定ステップの処理で受信された前記非同期型データによる要求に対応するレスポンスを構成する情報が前記保持ステップの処理で保持されていると判定された場合、その情報に基づいてレスポンス情報を生成し、前記バスに出力する第1の出力ステップと
前記判定ステップの処理で受信された前記非同期型データによる要求に対応するレスポンスを構成する情報を前記保持ステップが保持していないと判定された場合、前記所定の処理を実行し、その処理結果に応じてレスポンス情報を生成し、前記バスに出力する第2の出力ステップと
を含む処理を実行させるコンピュータが読み取り可能なプログラムを記録することを特徴とする記録媒体。
And an information processing apparatus, information processing to transmit and receive synchronous data and asynchronous data over the bus and returns a response corresponding to the request by executing a predetermined process in response to a request from the information processing device to the computer In the program to be executed,
A response corresponding to a request by the asynchronous data when the predetermined asynchronous data is received, and predetermined information constituting a response that must be returned within a predetermined time after the reception of the predetermined asynchronous data. Holding step to hold;
A receiving step of receiving data transmitted via the bus;
If the data received in the process of the reception step is asynchronous data, whether or not information constituting a response corresponding to the request by the received asynchronous data is held in the process of the holding step A determination step for determining
If it is determined that the information constituting the response corresponding to the request by the asynchronous data received in the determination step processing is held in the holding step processing, response information is generated based on the information. A first output step for outputting to the bus;
When it is determined that the holding step does not hold the information constituting the response corresponding to the request by the asynchronous data received in the determination step, the predetermined process is executed, and the processing result A recording medium for recording a computer-readable program for executing a process including a second output step for generating response information in response to the second output step and outputting the response information to the bus .
JP12847798A 1998-05-12 1998-05-12 Information processing apparatus and method, and recording medium Expired - Lifetime JP4093636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12847798A JP4093636B2 (en) 1998-05-12 1998-05-12 Information processing apparatus and method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12847798A JP4093636B2 (en) 1998-05-12 1998-05-12 Information processing apparatus and method, and recording medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007112867A Division JP4211859B2 (en) 2007-04-23 2007-04-23 Information processing apparatus and method, and recording medium

Publications (2)

Publication Number Publication Date
JPH11331213A JPH11331213A (en) 1999-11-30
JP4093636B2 true JP4093636B2 (en) 2008-06-04

Family

ID=14985715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12847798A Expired - Lifetime JP4093636B2 (en) 1998-05-12 1998-05-12 Information processing apparatus and method, and recording medium

Country Status (1)

Country Link
JP (1) JP4093636B2 (en)

Also Published As

Publication number Publication date
JPH11331213A (en) 1999-11-30

Similar Documents

Publication Publication Date Title
US7321592B2 (en) Method of and apparatus for implementing and sending an asynchronous control mechanism packet used to control bridge devices within a network of IEEE Std 1394 serial buses
US6397277B1 (en) Method and apparatus for transmitting data over data bus at maximum speed
JPH0832644A (en) Signal receiving device
KR20030043997A (en) Method for connecting an ieee1394 remote device to a cluster of ieee1394 devices through a wireless link
EP1327328A1 (en) Method for linking several communication busses using wireless links
US6272114B1 (en) Data processing apparatus/method and electronic apparatus with such apparatus/method
EP1193612B1 (en) Handling bus packets within a node on a bus structure
EP1648127B1 (en) Method and apparatus for transmitting isochronous stream
JPH10290238A (en) Electronic device and its information transmission method
JPH10341247A (en) Data transmitter, data receiver, data transmission system and data transmission method
JP4093636B2 (en) Information processing apparatus and method, and recording medium
JP4211859B2 (en) Information processing apparatus and method, and recording medium
US7020725B2 (en) Method of reserving isochronous resources in a network comprising a wireless link
KR20040066933A (en) An efficient timeout message management in IEEE 1394 bridged serial bus network
JPH1155297A (en) Transmission medium connection device and storage medium
JPH11215143A (en) Device and method for data communication
JP3189571B2 (en) Data processing device
JP3862043B2 (en) Information processing apparatus and method, and recording medium
JP3982053B2 (en) Information processing apparatus and method, and providing medium
KR20090030548A (en) Apparatus and method for controlling ieee 1394 bridge
JP2006504294A (en) Communication method and apparatus in bus type network
JP2003244182A (en) Communication method of gateway apparatus, gateway apparatus, communication method of information terminal, recording medium with recorded communication program of gateway apparatus and the program
JP4532652B2 (en) Information processing method and apparatus, and storage medium
EP1246402A1 (en) Method for linking several communication busses using wireless links
JP2001177533A (en) Device and method for controlling data communication

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070507

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070510

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070918

R155 Notification before disposition of declining of application

Free format text: JAPANESE INTERMEDIATE CODE: R155

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080304

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5