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

Information processing apparatus and method, and recording medium Download PDF

Info

Publication number
JP4211859B2
JP4211859B2 JP2007112867A JP2007112867A JP4211859B2 JP 4211859 B2 JP4211859 B2 JP 4211859B2 JP 2007112867 A JP2007112867 A JP 2007112867A JP 2007112867 A JP2007112867 A JP 2007112867A JP 4211859 B2 JP4211859 B2 JP 4211859B2
Authority
JP
Japan
Prior art keywords
transaction
information
request
bus
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.)
Expired - Fee Related
Application number
JP2007112867A
Other languages
Japanese (ja)
Other versions
JP2007274705A (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 JP2007112867A priority Critical patent/JP4211859B2/en
Publication of JP2007274705A publication Critical patent/JP2007274705A/en
Application granted granted Critical
Publication of JP4211859B2 publication Critical patent/JP4211859B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)

Description

本発明は、情報処理装置および方法、並びに記録媒体に関し、特に、例えば、IEEE1394規格のプロトコルにおいて、トランザクション層に指定される処理を効率的に実行できるようにした情報処理装置および方法、並びに記録媒体に関する。 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.

最近、コンピュータやVCR(Video Cassette Recorder)などの情報処理装置の間で、データおよび制御信号を通信するためのインタフェースとして、IEEE-1394 Hight Performance Serial Bus(以下、IEEE1394シリアルバスと称する)に対応したインタフェース(以下、IEEE1394I/Fと称する)が注目されている。   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.

図5は、コンピュータまたはVCRなどの情報処理装置21の従来の受信部22の構成例を表している。入力部11は、IEEE1394シリアルバス10に接続されており、IEEE1394シリアルバス10上に伝送されるデータを受信するようになされている。IEEE1394シリアルバス10上に伝送されるデータは、ビデオデータやオーディオデータを伝送する同期型データのパケット(以下、同期型パケットと称する)と、制御信号を伝送する非同期型データのパケット(以下、非同期型パケットと称する)にパケット化され、例えば、125μsecを基準サイクルとして時分割多重化されている。   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.

入力部11は、IEEE1394シリアルバス10から受信したデータのうち、非同期型パケット(アシンクロナスパケット)が、情報処理装置21宛のパケットである場合、または同期型パケット(アイソクロナスパケット)が、他の図示せぬ装置と情報処理装置21との間の通信に割当られたチャンネル番号を有している場合、受信したデータをセパレータ12に出力する。   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.

セパレータ12は、入力部11から入力されたデータ(パケット)のヘッダに書かれているパケット識別コードから判断し、入力されたパケットを、同期型パケットと非同期型パケットに分離する。そしてセパレータ12は、同期型パケットをIRF(Isochronous Receive FIFO)13に出力し、非同期型パケットをARF(Asynchronous Receive FIFO)14に出力する。   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.

IRF13は、入力された同期型パケットを、入力された順番に同期型データ処理部15により読み出されるように記憶する。同期型データ処理部15は、IRF13から同期型パケットを、順番に読み出し、所定の処理を実行する。   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.

ARF14は、入力された非同期型パケットを、入力された順番に非同期型データ処理部16により読み出されるように記憶する。非同期データ処理部16は、ARF14から非同期型パケットを順番に読み出し、所定の処理を実行する。   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.

CPU17は、同期型データ処理部15および非同期型データ処理部16を制御し、各種の処理を実行させる。   The CPU 17 controls the synchronous data processing unit 15 and the asynchronous data processing unit 16 to execute various processes.

以上のように構成される情報処理装置21のインタフェースとしての受信部22により、IEEE1394シリアルバス10からデータを受信することができる。   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.

ところで、IEEE1394規格のプロトコルを構成するトランザクション層は、非同期型パケットにのみ必要とされ、所定のサービスの起動を要求する処理(リクエストトランザクション)と、その要求に回答する処理(レスポンストランザクション)を行う。例えば、図6に示すように、ノードAが、IEEE1394シリアルバスで接続されているノードBからリクエストトランザクションを受信すると、ノードAは、そのリクエストトランザクションに対応する処理を実行し、処理結果として、レスポンストランザクションをノードBに送信する。すなわち、図5の情報処理装置21においては、CPU17が、受信部22の非同期型データ処理部16を制御し、トランザクション層に指定された要求に対応した処理を実行させる。   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.

また、IEEE1394規格によれば、リクエストトランザクションを受信したノード(情報処理装置)は、必ず、レスポンストランザクションを送信元に、所定の時間以内(例えば、100ms以内)送信しなければならない規定がある。   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).

例えば、IEEE1394シリアルバス10がリセットされると、図示せぬ装置からコンフィグレーションROMの内容を問い合わせるリクエストトランザクションが出力される。情報処理装置21のCPU17は、このようなリクエストトランザクションの入力を受けると、他の処理を実行するとともに、レスポンストランザクョンを生成し、出力する処理を実行する必要がある。その結果、CPU17に大きな負荷がかかり、そのとき、CPU17が迅速な処理を実行できなくなる課題がある。   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 apparatus 21 receives such a request transaction, it needs to execute other processes 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.

本発明はこのような状況に鑑みてなされたものであり、例えば、トランザクション層に指定される処理を効率的に実行することができるようにするものである。   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.

本発明の一側面の情報処理装置は、他の情報処理装置とバスを介して接続され、前記他の情報処理装置からのトランザクション層に指定されたリクエストトランザクションに対するレスポンストランザクションを出力する情報処理装置において、前記バスを介して伝送されてくるリクエストトランザクションを受信する受信手段と、前記受信手段により受信されたリクエストトランザクションから、要求の種類を表す第1の情報を抽出する抽出手段と、前記第1の情報のうち所定の要求の種類を表す第1の情報に関して、該所定の要求の種類を表す前記第1の情報と、該所定の要求に対するレスポンストランザクションを構成するための第2の情報とを対応づけて保持する保持手段と、前記リクエストトランザクションを受信した際に、該リクエストトランザクションから前記抽出手段により抽出された前記第1の情報が、前記保持手段に保持されているか否かを判定し、前記保持手段が保持していると判定した場合、該当する第1の情報と対応する第2の情報に基づいてレスポンストランザクションを生成して前記バスに出力する出力手段と、前記保持手段が保持していないと判定した場合、前記トランザクション層に指定された前記リクエストトランザクションに応じた所定の処理を実行する処理手段とを備え、前記出力手段は、前記処理手段により実行された処理の結果に応じて生成されるレスポンストランザクションを前記バスに出力するAn information processing apparatus according to an aspect of the present invention is an information processing apparatus that is connected to another information processing apparatus via a bus and outputs a response transaction for a request transaction specified in a transaction layer from the other information processing apparatus. Receiving means for receiving a request transaction transmitted via the bus; extracting means for extracting first information representing a request type from the request transaction received by the receiving means; and the first Corresponding to the first information indicating the type of the predetermined request among the information, the first information indicating the type of the predetermined request and the second information for configuring a response transaction for the predetermined request holding means for holding in association, upon receiving the request transaction, the Li The first information extracted by the extraction unit from Est transaction, the determines whether held by the holding means, when said holding means is determined to be held, the appropriate first information Output means for generating a response transaction based on the second information corresponding to the output information and outputting it to the bus, and when determining that the holding means does not hold, according to the request transaction specified in the transaction layer Processing means for executing predetermined processing, and the output means outputs a response transaction generated according to a result of the processing executed by the processing means to the bus .

前記保持手段により保持される前記第1の情報および該要求に対するレスポンストランザクションを構成するための第2の情報を変更する手段をさらに備えることができる。 The information processing apparatus may further include means for changing the first information held by the holding means and the second information for configuring a response transaction for the request.

前記バスは、IEEE1394バスであり、前記所定の要求は、前記情報処理装置内の記憶手段に記憶された該情報処理装置の設定情報であるようにすることができる。 The bus is the IEEE1394 bus, the predetermined request can be to be the setting information stored the information processing apparatus in the memory means in the information processing apparatus.

本発明の一側面の情報処理方法は、他の情報処理装置とバスを介して接続され、前記他の情報処理装置からのトランザクション層に指定されたリクエストトランザクションに対するレスポンストランザクションを出力する情報処理装置の情報処理方法において、前記バスを介して伝送されてくるリクエストトランザクションを受信する受信ステップと、前記受信ステップの処理で受信されたリクエストトランザクションから、要求の種類を表す第1の情報を抽出する抽出ステップと、前記第1の情報のうち所定の要求の種類を表す第1の情報に関して、該所定の要求の種類を表す前記第1の情報と、該所定の要求に対するレスポンストランザクションを構成するための第2の情報とを対応づけて保持する保持ステップと、前記リクエストトランザクションを受信した際に、該リクエストトランザクションから前記抽出ステップの処理で抽出された前記第1の情報が、前記保持ステップの処理で保持されているか否かを判定し、前記保持ステップの処理で保持されていると判定した場合、該当する第1の情報と対応する第2の情報に基づいてレスポンストランザクションを生成して前記バスに出力する出力ステップと、前記保持ステップの処理で保持されていないと判定した場合、前記トランザクション層に指定された前記リクエストトランザクションに応じた所定の処理を実行する処理ステップとを含み、前記出力ステップの処理においては、前記処理ステップにより実行された処理の結果に応じて生成されるレスポンストランザクションを前記バスに出力するAn information processing method according to an aspect of the present invention is an information processing apparatus that is connected to another information processing apparatus via a bus and outputs a response transaction for a request transaction specified in a transaction layer from the other information processing apparatus. In the information processing method, a reception step of receiving a request transaction transmitted via the bus, and an extraction step of extracting first information representing a request type from the request transaction received in the processing of the reception step If, with respect to the first information indicating the type of predetermined request of the first information, the first information indicating the type of the predetermined request, first to configure the response transaction to said predetermined request a holding step of holding in association with the second information, the request tiger When receiving-transactions, the first information extracted by the processing of the extracting step from the request transaction, determines whether it is held in the process of the holding step, held in the processing of said holding step If it is determined that it has been held, the response step generates a response transaction based on the second information corresponding to the corresponding first information and outputs it to the bus, and it is not held in the holding step A process step that executes a predetermined process corresponding to the request transaction specified in the transaction layer, and in the process of the output step, according to a result of the process executed by the process step The generated response transaction is output to the bus .

本発明の一側面の記録媒体は、情報処理装置とバスを介して接続され、前記情報処理装置からのトランザクション層に指定されたリクエストトランザクションに対するレスポンストランザクションを出力する処理用のプログラムであって、前記バスを介して伝送されてくるリクエストトランザクションを受信する受信ステップと、前記受信ステップの処理で受信されたリクエストトランザクションから、要求の種類を表す第1の情報を抽出する抽出ステップと、前記第1の情報のうち所定の要求の種類を表す第1の情報に関して、該所定の要求の種類を表す前記第1の情報と、該所定の要求に対するレスポンストランザクションを構成するための第2の情報とを対応づけて保持する保持ステップと、前記リクエストトランザクションを受信した際に、該リクエストトランザクションから前記抽出ステップの処理で抽出された前記第1の情報が、前記保持ステップの処理で保持されているか否かを判定し、前記保持ステップの処理で保持されていると判定した場合、該当する第1の情報と対応する第2の情報に基づいてレスポンストランザクションを生成して前記バスに出力する出力ステップと、前記保持ステップの処理で保持されていないと判定した場合、前記トランザクション層に指定された前記リクエストトランザクションに応じた所定の処理を実行する処理ステップとを含み、前記出力ステップの処理においては、前記処理ステップにより実行された処理の結果に応じて生成されるレスポンストランザクションを前記バスに出力するコンピュータが読み取り可能なプログラムが記録されている。 A recording medium according to one aspect of the present invention is a processing program that is connected to an information processing apparatus via a bus and outputs a response transaction to a request transaction specified in a transaction layer from the information processing apparatus, A receiving step for receiving a request transaction transmitted via a bus; an extracting step for extracting first information representing a request type from the request transaction received in the processing of the receiving step; Corresponding to the first information indicating the type of the predetermined request among the information, the first information indicating the type of the predetermined request and the second information for configuring a response transaction for the predetermined request a holding step of holding in association, receives the request transaction When the first information extracted by the processing of the extracting step from the request transaction, determines whether it is held in the process of the holding step, when held in the processing of said holding step If it is determined, if it is determined not to be held in the output step of generating a response transaction based on the second information corresponding to the corresponding first information and outputting it to the bus, and the holding step, A process step of executing a predetermined process corresponding to the request transaction specified in the transaction layer, and in the process of the output step, a response generated according to a result of the process executed by the process step computer readable program that outputs a transaction to the bus It is recorded.

本発明の一側面の情報処理装置、情報処理方法、または記録媒体においては、バスを介して伝送されてくるリクエストトランザクションが受信され、受信されたリクエストトランザクションから、要求の種類を表す第1の情報が抽出され、第1の情報のうち所定の要求の種類を表す第1の情報に関して、該所定の要求の種類を表す第1の情報と、該所定の要求に対するレスポンストランザクションを構成するための第2の情報とが対応づけて保持され、リクエストトランザクションを受信した際に、該リクエストトランザクションから抽出された第1の情報が、保持されているか否かが判定され、保持していると判定した場合、該当する第1の情報と対応する第2の情報に基づいてレスポンストランザクションが生成されバスに出力され、保持していないと判定した場合、トランザクション層に指定されたリクエストトランザクションに応じた所定の処理が実行され、実行された処理の結果に応じて生成されるレスポンストランザクションがバスに出力される。 In the information processing apparatus, the information processing method, or the recording medium according to one aspect of the present invention, the request transaction transmitted via the bus is received, and the first information indicating the type of request is received from the received request transaction. There is extracted, with respect to the first information indicating the type of a given request of the first information, the first information indicating the type of the predetermined request, first to configure the response transaction to said predetermined request When the information of 2 is held in association with each other and a request transaction is received, it is determined whether or not the first information extracted from the request transaction is held. the response transaction based on the second information corresponding to the first information is output to the generated bus corresponding coercive If it is determined that to not a predetermined process corresponding to the request transaction specified in the transaction layer are performed, the response transaction generated according to the result of the executed processing is output to the bus.

本発明の一側面によれば、レスポンスに必要なデータを予め保持するようにしたので、レスポンス情報を効率よく生成することができる。   According to one aspect of the present invention, since data necessary for a response is stored in advance, response information can be generated efficiently.

図1は、本発明を適用した送受信装置41の構成例を表している。なお、図5における場合と対応する部分については、同一の符号を付してあり、その説明は適宜省略する。   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.

コンピュータやVCRなどで構成される情報処理装置42は、IEEE1394シリアルバス10とのインタフェースとして送受信装置41を有している。   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.

送受信装置41の入力部11は、IEEE1394シリアルバス10に接続されており、IEEE1394シリアルバス10上に伝送されるデータを受信するようになされている。IEEE1394シリアルバス10から受信したデータのうち非同期型パケットが、情報処理装置42宛のパケットである場合、または同期型パケットが、図示せぬ他の情報処理装置と情報処理装置42との通信に割当られたチャンネル番号を有している場合、入力部11は、受信したデータ(パケット)をセパレータ31に出力する。   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.

セパレータ31は、入力部11より供給されたパケットを、パケットのヘッダに書かれているパケット識別コードから判断し、同期型パケットと非同期パケットに分離する。そしてセパレータ31は、同期型パケットをIRF13に出力し、非同期型パケットをリクエストトランザクション処理部32に出力する。   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.

IRF13は、入力された同期型パケットを、入力された順番に同期型データ処理部15により読み出されるように記憶する。同期型データ処理部15は、IRF13から同期型パケットを、順番に読み出し、所定の処理を実行する。   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.

リクエストトランザクション処理部32は、トランザクション層に指定されたリクエストトランザクションが所定のリクエストトランザクションである場合、レスポンストランザクション(レスポンス情報)を生成し、IEEE1394シリアルバス10に出力するようになされている。リクエストトランザクション処理部32はまた、リクエストトランザクションが所定のリクエストトランザクションでない場合、その非同期型パケットを、ARF14に出力する。   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.

ARF14は、入力された非同期型パケットを、入力された順番に非同期型データ処理部16により読み出されるように記憶するようになされている。非同期型データ処理部16は、ARF14から非同期型パケットを読み出し、所定の処理を実行するようになされている。   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.

情報処理装置42のCPU17は、同期型データ処理部15および非同期型データ処理部16を制御し、各種の処理を実行させる。CPU17に接続されているコンフィグレーションROM33には、情報処理装置42に関する所定の情報が予め記憶されている。   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.

図2は、リクエストトランザクション処理部32の構成例を表している。解析部51は、セパレータ31から入力された非同期型パケットを解析し、そのヘッダに含まれるソースIDを抽出するとともに、トランザクション層に指定された所定のアドレスを抽出する。解析部51は、抽出したアドレスを制御部52に出力する。また、解析部51は、制御部52に制御され、抽出したソースIDをオートレスポンス部53に出力したり、入力した非同期型パケットをARF14に転送する。なお、ソースIDは、そのパケットを送信した送信元の情報処理装置のノードIDを表している。   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.

レジスタ54は、図3に示すように、リクエストトランザクションに対応するレスポンストランザクションとして送出(回答)するのに必要なデータ(データa,b・・・)のうち、情報処理装置42を装着した時点において、既に確定しているものが、対応するアドレス(アドレスA,B・・・)とともにレジストしている。レジスタ54はまた、制御部52に制御され、記憶しているアドレスを制御部52に出力したり、また記憶しているデータをオートレスポンス部53に出力するようになされている。   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.

オートレスポンス部53は、制御部52に制御され、解析部51から入力されるソースID、およびレジスタ54から入力されるデータに基づいて、レスポンストランザクションのパケットを生成し、IEEE1394シリアルバス10に出力するようになされている。   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.

制御部52は、解析部51から入力されるアドレスが、レジスタ54に記憶されているアドレスの中に存在するか否かを判定し、その判定結果に基づいて、解析部51、オートレスポンス部53、およびレジスタ54を制御するようになされている。   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.

次に、レスポンストランザクションを生成する場合の処理手順を、図4のフローチャートを参照して説明する。   Next, a processing procedure for generating a response transaction will be described with reference to the flowchart of FIG.

この例の場合、情報処理装置42とともに、IEEE1394シリアスバス12に接続されている図示せぬ情報処理装置(送信元)から、情報処理装置42のコンフィグレーションROMの内容を問い合わせるリクエストトランザクションが伝送されてきたものとする。すなわち、リクエストトランザクションには、問い合わせの種類を表す情報としてレジスタ54に記憶されているアドレスが含まれている。   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.

ステップS1において、リクエストトランザクション処理部32の解析部51が、セパレータ31から非同期型パケットの供給を受けると、ステップS2において、供給された非同期型パケットから、ソースIDと、トランザクション層に指定されたアドレスを抽出する。   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.

次に、ステップS3において、解析部51は、ステップS2で抽出したアドレスを制御部52に出力する。ステップS4において、制御部52は、レジスタ54の内容を参照し、解析部51から出力されたアドレスが、レジスタ54に記憶されているか否かを判定する。   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.

ステップS4で、解析部51から出力されたアドレスが、レジスタ54に記憶されていると判定された場合、ステップS5に進み、制御部52は、オートレスポンス部53にレスポンストランザクションの生成を指令する。これにより、オートレスポンス部53は、レジスタ54からのデータと解析部51からのソースIDの供給を受けると、レスポンストランザクションを生成することができる状態になる。   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.

次に、ステップS6において、制御部52は、レジスタ54を制御し、ステップ2で抽出されたアドレスに対応するデータを、オートレスポンス部53に出力させ、ステップS7において、解析部51を制御し、ステップS2で抽出されたソースIDを、オートレスポンス部53に出力させる。   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.

ステップS8において、オートレスポンス部53は、解析部51からのソースIDとレジスタ54からのデータに基づいて、レスポンストランザクションのパケットを生成し、IEEE1394シリアスバス12に出力する。すなわち、レスポンストランザクションのデスティネイションIDに、解析部51からのソースIDを利用し、そのデータ部に、レジスタ54からのデータを配置する。   In step S 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.

ステップS4において、ステップS2で抽出されたアドレスがレジスタ54に記憶されていないと判定された場合、ステップS9に進み、制御部52は、解析部51を制御し、ステップS1で受信した非同期型パケットをARF14に転送させる。すなわち、この場合、オートレスポンス部53において、レスポンストランザクションは生成されない。非同期型データ処理部16は、ARF14から非同期型パケット(リクエストトランザクション)に対応するレスポンストランザクションを生成し、それをIEEE1394シリアルバス10に出力する。 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. Is 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 14 and outputs it to the IEEE1394 serial bus 10.

このように、コンフィグレーションROMの内容の問い合わせなど、回答がすでに決定されている内容を問い合わせるリクエストトランザクションに対し、レジスタ54からのデータに基づいてレスポンストランザクションを生成するようにしたので、情報処理装置42のCPU17の負担を軽減することができる。特に、IEEE1394インタフェースの制御に大きな負荷を割り当てることができない、AV機器などに、有効である。   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.

以上においては、レジスタ54には、コンフィグレーションROMの内容をレジストするようにしたが、その他の情報、例えば、デジタルVCRのTTC(Title Time Code)などのように、高速に(頻繁に)レスポンスする必要がある情報をレジスタ54にレジストさせておくこともできる。このTTCは、毎フレーム、(例えば、1/30secのサイクルで)問い合わせを受ける場合があり、上述した場合と同様の処理を行うことにより、効率的にレスポンストランザクションを生成し、出力することができる。   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. .

なお、上記したような処理を行うコンピュータプログラムをユーザに提供する提供媒体としては、磁気ディスク、CD-ROM、固体メモリなどの記録媒体の他、ネットワーク、衛星などの通信媒体を利用することができる。   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 memory. .

本発明を適用した送受信装置41の構成例を表すブロック図である。It is a block diagram showing the example of a structure of the transmission / reception apparatus 41 to which this invention is applied. 図1のリクエストトランザクション処理部32の構成例を表すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a request transaction processing unit 32 in FIG. 1. レジスタ54の記憶内容の例を表す図である。4 is a diagram illustrating an example of stored contents of a register 54. FIG. レスポンストランザクション生成処理を説明するフローチャートである。It is a flowchart explaining a response transaction generation process. 従来の受信部22の構成例を表すブロック図である。It is a block diagram showing the example of a structure of the conventional receiving part 22. FIG. ノードAとノードBとの間の通信を説明する図である。It is a figure explaining the communication between the node A and the node B. FIG.

符号の説明Explanation of symbols

10 シリアルバス,11 入力部, 12 セパレータ, 13 IRF, 14 ARF, 15 同期型データ処理部, 16 非同期型データ処理部, 17 CPU, 21 情報処理装置, 22 受信部 ,31 セパレータ, 32 リクエストトランザクション処理部, 33 ROM, 41 送受信装置, 42 情報処理装置, 51 解析部, 52 制御部, 53 オートレスポンス部, 54 レジスタ   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 (5)

他の情報処理装置とバスを介して接続され、前記他の情報処理装置からのトランザクション層に指定されたリクエストトランザクションに対するレスポンストランザクションを出力する情報処理装置において、
前記バスを介して伝送されてくるリクエストトランザクションを受信する受信手段と、
前記受信手段により受信されたリクエストトランザクションから、要求の種類を表す第1の情報を抽出する抽出手段と、
前記第1の情報のうち所定の要求の種類を表す第1の情報に関して、該所定の要求の種類を表す前記第1の情報と、該所定の要求に対するレスポンストランザクションを構成するための第2の情報とを対応づけて保持する保持手段と、
前記リクエストトランザクションを受信した際に、該リクエストトランザクションから前記抽出手段により抽出された前記第1の情報が、前記保持手段に保持されているか否かを判定し、前記保持手段が保持していると判定した場合、該当する第1の情報と対応する第2の情報に基づいてレスポンストランザクションを生成して前記バスに出力する出力手段と
前記保持手段が保持していないと判定した場合、前記トランザクション層に指定された前記リクエストトランザクションに応じた所定の処理を実行する処理手段と
を備え、
前記出力手段は、前記処理手段により実行された処理の結果に応じて生成されるレスポンストランザクションを前記バスに出力する
情報処理装置。
In an information processing apparatus that is connected to another information processing apparatus via a bus and outputs a response transaction for a request transaction specified in a transaction layer from the other information processing apparatus,
Receiving means for receiving a request transaction transmitted via the bus;
Extraction means for extracting first information representing the type of request from the request transaction received by the receiving means;
With respect to the first information indicating the type of predetermined request of the first information, the first information indicating the type of the predetermined request, second to configure the response transaction to said predetermined request Holding means for associating and holding information;
When the request transaction is received, it is determined whether or not the first information extracted from the request transaction by the extraction unit is held in the holding unit, and the holding unit holds If it is determined, output means for generating a response transaction based on the second information corresponding to the corresponding first information and outputting the response transaction to the bus ;
A processing unit that executes a predetermined process corresponding to the request transaction specified in the transaction layer when it is determined that the holding unit does not hold the transaction;
With
The information processing apparatus , wherein the output means outputs a response transaction generated according to a result of the processing executed by the processing means to the bus .
前記保持手段により保持される前記第1の情報および該要求に対するレスポンストランザクションを構成するための第2の情報を変更する手段
をさらに備える請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, further comprising: means for changing the first information held by the holding means and second information for configuring a response transaction for the request.
前記バスは、IEEE1394バスであり、前記所定の要求は、前記情報処理装置内の記憶手段に記憶された該情報処理装置の設定情報である
請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the bus is an IEEE1394 bus, and the predetermined request is setting information of the information processing apparatus stored in a storage unit in the information processing apparatus.
他の情報処理装置とバスを介して接続され、前記他の情報処理装置からのトランザクション層に指定されたリクエストトランザクションに対するレスポンストランザクションを出力する情報処理装置の情報処理方法において、
前記バスを介して伝送されてくるリクエストトランザクションを受信する受信ステップと、
前記受信ステップの処理で受信されたリクエストトランザクションから、要求の種類を表す第1の情報を抽出する抽出ステップと、
前記第1の情報のうち所定の要求の種類を表す第1の情報に関して、該所定の要求の種類を表す前記第1の情報と、該所定の要求に対するレスポンストランザクションを構成するための第2の情報とを対応づけて保持する保持ステップと、
前記リクエストトランザクションを受信した際に、該リクエストトランザクションから前記抽出ステップの処理で抽出された前記第1の情報が、前記保持ステップの処理で保持されているか否かを判定し、前記保持ステップの処理で保持されていると判定した場合、該当する第1の情報と対応する第2の情報に基づいてレスポンストランザクションを生成して前記バスに出力する出力ステップと
前記保持ステップの処理で保持されていないと判定した場合、前記トランザクション層に指定された前記リクエストトランザクションに応じた所定の処理を実行する処理ステップと
を含み、
前記出力ステップの処理においては、前記処理ステップにより実行された処理の結果に応じて生成されるレスポンストランザクションを前記バスに出力する
情報処理方法。
In an information processing method of an information processing apparatus that is connected to another information processing apparatus via a bus and outputs a response transaction for a request transaction specified in a transaction layer from the other information processing apparatus,
A receiving step for receiving a request transaction transmitted via the bus;
An extraction step of extracting first information representing the type of request from the request transaction received in the processing of the reception step;
With respect to the first information indicating the type of predetermined request of the first information, the first information indicating the type of the predetermined request, second to configure the response transaction to said predetermined request A holding step for associating and holding information;
When the request transaction is received, it is determined whether or not the first information extracted from the request transaction by the extraction step processing is held by the holding step processing, and the holding step processing Output step of generating a response transaction based on the second information corresponding to the corresponding first information and outputting the response transaction to the bus ,
A process step of executing a predetermined process corresponding to the request transaction specified in the transaction layer when it is determined that the process is not held in the process of the holding step;
Including
In the process of the output step, an information processing method for outputting a response transaction generated according to a result of the process executed in the process step to the bus .
情報処理装置とバスを介して接続され、前記情報処理装置からのトランザクション層に指定されたリクエストトランザクションに対するレスポンストランザクションを出力する処理用のプログラムであって、
前記バスを介して伝送されてくるリクエストトランザクションを受信する受信ステップと、
前記受信ステップの処理で受信されたリクエストトランザクションから、要求の種類を表す第1の情報を抽出する抽出ステップと、
前記第1の情報のうち所定の要求の種類を表す第1の情報に関して、該所定の要求の種類を表す前記第1の情報と、該所定の要求に対するレスポンストランザクションを構成するための第2の情報とを対応づけて保持する保持ステップと、
前記リクエストトランザクションを受信した際に、該リクエストトランザクションから前記抽出ステップの処理で抽出された前記第1の情報が、前記保持ステップの処理で保持されているか否かを判定し、前記保持ステップの処理で保持されていると判定した場合、該当する第1の情報と対応する第2の情報に基づいてレスポンストランザクションを生成して前記バスに出力する出力ステップと
前記保持ステップの処理で保持されていないと判定した場合、前記トランザクション層に指定された前記リクエストトランザクションに応じた所定の処理を実行する処理ステップと
を含み、
前記出力ステップの処理においては、前記処理ステップにより実行された処理の結果に応じて生成されるレスポンストランザクションを前記バスに出力する
コンピュータが読み取り可能なプログラムが記録されている記録媒体。
A processing program that is connected to an information processing apparatus via a bus and outputs a response transaction for a request transaction specified in a transaction layer from the information processing apparatus,
A receiving step for receiving a request transaction transmitted via the bus;
An extraction step of extracting first information representing the type of request from the request transaction received in the processing of the reception step;
With respect to the first information indicating the type of predetermined request of the first information, the first information indicating the type of the predetermined request, second to configure the response transaction to said predetermined request A holding step for associating and holding information;
When the request transaction is received, it is determined whether or not the first information extracted from the request transaction by the extraction step processing is held by the holding step processing, and the holding step processing Output step of generating a response transaction based on the second information corresponding to the corresponding first information and outputting the response transaction to the bus ,
A process step of executing a predetermined process corresponding to the request transaction specified in the transaction layer when it is determined that the process is not held in the process of the holding step;
Including
In the process of the output step, a recording medium on which a computer-readable program that outputs a response transaction generated according to the result of the process executed in the process step to the bus is recorded.
JP2007112867A 2007-04-23 2007-04-23 Information processing apparatus and method, and recording medium Expired - Fee Related JP4211859B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2007274705A JP2007274705A (en) 2007-10-18
JP4211859B2 true JP4211859B2 (en) 2009-01-21

Family

ID=38676938

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP4211859B2 (en)

Also Published As

Publication number Publication date
JP2007274705A (en) 2007-10-18

Similar Documents

Publication Publication Date Title
JPH0832644A (en) Signal receiving device
JP2000156683A (en) Communication node and communication terminal
US6363428B1 (en) Apparatus for and method of separating header information from data in an IEEE 1394-1995 serial bus network
JP4514798B2 (en) Relay device, relay method, and relay processing program
JP3658919B2 (en) Electronic device and information transmission method thereof
JP2001186166A (en) Information transfer method, and wireless terminal and wireless gateway
KR19990006761A (en) Data transmitter, data receiver, data transmitter and data transmission method
US6580711B1 (en) Serial interface circuit and signal processing method of the same
JP4211859B2 (en) Information processing apparatus and method, and recording medium
JP2002051055A (en) Communication control method, communication system and communication unit
EP1130851A2 (en) A method for controlling a communication of stream data
JP4093636B2 (en) Information processing apparatus and method, and recording medium
KR100677143B1 (en) Method and apparatus for transmitting isochronous stream
JP2004194243A (en) Apparatus and method for data communication, recording medium and program
JP4046846B2 (en) Data communication system and data communication apparatus
JPH11215143A (en) Device and method for data communication
JPH1155297A (en) Transmission medium connection device and storage medium
JP3189571B2 (en) Data processing device
KR20020011925A (en) Communication control method, communication system, and communication apparatus
JP3862043B2 (en) Information processing apparatus and method, and recording medium
KR20090030548A (en) Apparatus and method for controlling ieee 1394 bridge
JP2005064825A (en) Device control system
JP2006504294A (en) Communication method and apparatus in bus type network
JP2005223545A (en) Apparatus for managing data transmission apparatus
JP2004104839A (en) Information processing apparatus and method, and communication system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080421

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080717

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080912

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081007

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081020

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees