[go: up one dir, main page]

JPH11298509A - Data communication system, data communication method, data communication device and storage medium - Google Patents

Data communication system, data communication method, data communication device and storage medium

Info

Publication number
JPH11298509A
JPH11298509A JP10097917A JP9791798A JPH11298509A JP H11298509 A JPH11298509 A JP H11298509A JP 10097917 A JP10097917 A JP 10097917A JP 9791798 A JP9791798 A JP 9791798A JP H11298509 A JPH11298509 A JP H11298509A
Authority
JP
Japan
Prior art keywords
data
node
destination node
communication system
data communication
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.)
Pending
Application number
JP10097917A
Other languages
Japanese (ja)
Inventor
Mitsuhisa Araida
光央 新井田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP10097917A priority Critical patent/JPH11298509A/en
Priority to US09/252,924 priority patent/US6690648B2/en
Priority to EP99301297A priority patent/EP0938218B1/en
Priority to DE69941313T priority patent/DE69941313D1/en
Priority to KR1019990005988A priority patent/KR100311706B1/en
Priority to CNB991032837A priority patent/CN1179280C/en
Priority to MYPI99000651A priority patent/MY128864A/en
Publication of JPH11298509A publication Critical patent/JPH11298509A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To prevent a data transfer efficiency in a bus system from being deteriorated without raising the cost. SOLUTION: This system conducts communication between a source node 202 that sends information data and a destination node 204 that receives the information data by using a connection ID denoting logical connection between the nodes. A time interval required for reception processing of the destination node 204 is informed to the source node 202 to set a time interval between a time of sending i-th data ((i) is an optional integer) and a time of sending (i+1)-th data optimally and then efficient data communication is attained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御信号とデータ
を混在させて通信することが可能なデータ通信バスを用
いて複数電子機器( 以下、機器) 間を接続して、各機器
間でデータ通信を行うシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for connecting a plurality of electronic devices (hereinafter referred to as "devices") by using a data communication bus capable of communicating control signals and data in a mixed manner. The present invention relates to a communication system.

【0002】[0002]

【従来の技術】パソコン周辺機器の中で、最も利用頻度
が高いのはハードディスクやプリンタであり、これらの
周辺装置は小型コンピュータ用汎用型インターフェイス
で代表的なデジタルインターフェイス( 以下、デジタル
I/F ) であるSCSI等をもってパソコン間との接続がなさ
れ、データ通信が行われている。
2. Description of the Related Art Among personal computer peripheral devices, hard disk drives and printers are most frequently used, and these peripheral devices are digital interfaces (hereinafter referred to as digital interfaces) which are typical general-purpose interfaces for small computers.
A connection is made between personal computers using SCSI (I / F) or the like, and data communication is performed.

【0003】また、デジタルカメラやデジタルビデオカ
メラといった記録再生装置もパソコン( 以下、PC) への
入力手段と用いられる周辺装置の1つであり、近年、デ
ジタルカメラやビデオカメラで撮影した静止画や動画と
いった映像をPCへ取り込み、ハードディスクに記憶した
り、またはPCで編集した後、プリンタでカラープリント
するといった分野の技術が進んでおり、ユーザーも増え
ている。
A recording / reproducing device such as a digital camera or a digital video camera is also one of the peripheral devices used as an input means to a personal computer (hereinafter, referred to as a PC). The technology in the field of capturing video such as video to a PC and storing it on a hard disk or editing it on a PC and then color printing with a printer is advancing, and the number of users is increasing.

【0004】取り込んだ画像データをPCからプリンタや
ハードディスクへ出力する際などに、上記のSCSI等を経
由してデータ通信がされるものであり、そのようなとき
画像データのようにデータ量の多い情報を送るために
も、こういったデジタルI/F には転送データレートが高
く、かつ汎用性のあるものが必要とされる。
When the captured image data is output from a PC to a printer or a hard disk, data communication is performed via the above-described SCSI or the like. In such a case, the data amount is large as in the case of image data. In order to transmit information, these digital I / Fs must have high transfer data rates and versatility.

【0005】図6に、従来の例としてデジタルカメラ、
PC及びプリンタを接続したときのブロック図を示す。図
6において、101 はデジタルカメラ、102 はパソコン(P
C)、103 はプリンタである。さらに、104 はデジタルカ
メラの記録部であるメモリ、105 は画像データの復号化
回路、106 は画像処理部、107 はD/A コンバータ、108
は表示部であるEVF 、109 はデジタルカメラのデジタル
I/O 部、110 はPCのデジタルカメラとのデジタルI/O
部、111 はキーボードやマウスなどの操作部である。
FIG. 6 shows a conventional digital camera,
FIG. 2 shows a block diagram when a PC and a printer are connected. 6, 101 is a digital camera, 102 is a personal computer (P
C) and 103 are printers. Further, 104 is a memory which is a recording unit of the digital camera, 105 is an image data decoding circuit, 106 is an image processing unit, 107 is a D / A converter, 108
Is the EVF, which is the display, and 109 is the digital
I / O section, 110 is digital I / O with PC digital camera
Reference numeral 111 denotes an operation unit such as a keyboard and a mouse.

【0006】112は画像データの復号化回路、113 はデ
ィスプレイ、114 はハードディスク装置、115 はRAM 等
のメモリ、116 は演算処理部のMPU 、117 はPCI バス、
118 はデジタルI/F のSCSIインタフェース( ボード) 、
119 はPCとSCSIケーブルで繋がったプリンタのSCSIイン
ターフェイス、120 はメモリ、121 はプリンタヘッド、
122 はプリンタ制御部のプリンタコントローラ、123 は
ドライバである。
Reference numeral 112 denotes an image data decoding circuit, 113 denotes a display, 114 denotes a hard disk drive, 115 denotes a memory such as a RAM, 116 denotes an MPU of an arithmetic processing unit, 117 denotes a PCI bus,
118 is a digital I / F SCSI interface (board),
119 is the SCSI interface of the printer connected to the PC with a SCSI cable, 120 is the memory, 121 is the printer head,
Reference numeral 122 denotes a printer controller of the printer control unit, and reference numeral 123 denotes a driver.

【0007】次に、デジタルカメラで撮像した画像をPC
に取り込み、またPCからプリンタへ出力するときの手順
の説明を行う。デジタルカメラ101 のメモリ104 に記憶
されている画像データが読みだされると、読み出された
画像データのうち一方は復号化回路105 で復号化され、
画像処理回路106 で表示するための画像処理がなされ、
D/A コンバータ107 を経て、EVF108で表示される。また
一方では、外部出力するためにデジタルI/O 部109 か
ら、ケーブルを伝わってPC 102のデジタルI/O 部110 へ
至る。
Next, an image picked up by the digital camera is
This section describes the procedure for importing to a PC and outputting from a PC to a printer. When the image data stored in the memory 104 of the digital camera 101 is read, one of the read image data is decoded by a decoding circuit 105,
Image processing for display by the image processing circuit 106 is performed,
It is displayed on the EVF 108 via the D / A converter 107. On the other hand, the digital signal is transmitted from the digital I / O unit 109 to the digital I / O unit 110 of the PC 102 via a cable for external output.

【0008】PC 102内では、PCI バス117 を相互伝送の
バスとして、デジタルI/O 部110 から入力した画像デー
タは、記憶する場合はハードディスク114 で記憶され、
表示する場合は復号化回路112 で復号化された後、メモ
リ115 で表示画像としてメモリされて、ディスプレイ11
3 でアナログ信号に変換されてから表示される。PC 102
での編集時等の操作入力は操作部111 から行い、PC 102
全体の処理はMPU 116で行う。
In the PC 102, the image data input from the digital I / O unit 110 is stored in the hard disk 114 when the image data input from the digital I / O unit 110 is stored by using the PCI bus 117 as a bus for mutual transmission.
In the case of displaying, after being decoded by the decoding circuit 112, it is stored as a display image in the memory 115 and
Displayed after being converted to analog signal by 3. PC 102
Operation input for editing on the PC is performed from the operation unit 111, and the PC 102
The entire processing is performed by the MPU 116.

【0009】また、画像をプリント出力する際は、PC 1
02内のSCSIインターフェイスボード118 から画像データ
をSCSIケーブルにのせて伝送し、プリンタ103 側のSCSI
インターフェイス119 で受信し、メモリ120 でプリント
画像として形成され、プリンタコントローラ122 の制御
でプリンタヘッド121 とドライバ123 が動作して、メモ
リ120 から読み出したプリント画像データをプリントす
る。
When printing out an image, a PC 1
The image data is transmitted on the SCSI cable from the SCSI interface board 118 in the printer
The print image data received by the interface 119 is formed as a print image in the memory 120, and the print head 121 and the driver 123 operate under the control of the printer controller 122 to print the print image data read from the memory 120.

【0010】以上が、従来の画像データをPC取り込み、
またはプリントするまでの手順である。このように、従
来はホストであるPCにそれぞれの機器が接続され、PCを
介してから、記録再生装置で撮像した画像データをプリ
ントしている。
As described above, the conventional image data is taken into the PC,
Or the procedure up to printing. As described above, conventionally, each device is connected to a PC serving as a host, and image data captured by a recording / reproducing apparatus is printed via the PC.

【0011】また、ディジタルVTR 、TV、チューナなど
のAV機器や、パーソナルコンピュータ( 以下、PCと称す
る) 等をIEEEP1394 シリアルバス( 以下、1394と称す
る) を用いて相互に接続し、これらの間においてディジ
タルビデオ信号、ディジタルオーディオ信号などを送受
信する通信システムが提案されている。
Also, AV equipment such as a digital VTR, a TV, a tuner, and a personal computer (hereinafter, referred to as PC) are connected to each other using an IEEEP1394 serial bus (hereinafter, referred to as 1394). Communication systems for transmitting and receiving digital video signals, digital audio signals, and the like have been proposed.

【0012】これらのシステムにおいては、リアルタイ
ムにデータ転送することが重要となるため、いわゆる同
期通信( 以下、Isochronous 通信と称する) によって、
データ通信を行なっている。
In these systems, since it is important to transfer data in real time, so-called synchronous communication (hereinafter referred to as isochronous communication) is used.
Data communication is being performed.

【0013】この場合には、データ転送のリアルタイム
性は保証されるが、通信が確実に行なわれるかは保証さ
れない。しかしながら、上記従来例で挙げたデジタルイ
ンターフェイスの問題点として、SCSIには転送データレ
ートの低いものや、パラレル通信のためケーブルが太い
もの、接続される周辺機器の種類や数、接続方式などに
も制限があり、多くの面での不便利性も指摘されてい
る。
In this case, the real-time property of data transfer is guaranteed, but it is not guaranteed that communication is performed reliably. However, the problems of the digital interface mentioned in the above conventional example include a low transfer data rate for SCSI, a thick cable for parallel communication, a type and number of connected peripheral devices, and a connection method. There are limitations and many inconveniences have been pointed out.

【0014】また、従来の1394通信の場合には、同期通
信を行なうため、通信が確実に行なわれるかは保証され
ない。したがって、確実にデータ転送を行ないたい場合
には、従来の1394 Isochronous通信を使用することはで
きない。
Further, in the case of the conventional 1394 communication, since synchronous communication is performed, it is not guaranteed that the communication is reliably performed. Therefore, the conventional 1394 isochronous communication cannot be used in order to reliably transfer data.

【0015】また、従来の1394 Isochronous通信では、
通信帯域に空きがある場合にも、通信の総数が64に制限
される。このため、通信帯域をあまり要求しないような
通信を多数行ないたい場合には、従来の1394 Isochrono
us通信を使用することはできないといった問題点があっ
た。
In the conventional 1394 isochronous communication,
The total number of communications is also limited to 64, even if there is a vacancy in the communications band. For this reason, when it is desired to perform a large number of communications that do not require much communication bandwidth, the conventional 1394 isochrono
There was a problem that us communication could not be used.

【0016】また、従来の1394通信方式では、データ転
送の間に、バスリセットやエラーによる、データ転送の
中断が生じることが考えられる。この場合、従来の1394
通信方式では、どのようなデータ内容が失われたのかを
知ることができない。
In the conventional 1394 communication system, it is conceivable that the data transfer is interrupted due to a bus reset or an error during the data transfer. In this case, the conventional 1394
In the communication method, it is not possible to know what data content has been lost.

【0017】そのため、従来の1394通信方式では、該デ
ータ転送中断からの復帰を行なうためには、非常に繁雑
な通信手順を踏むことを要求されるという問題点があっ
た。上記問題点を解決するために、シリアルバス上に接
続された、任意のデータを送信するためのソースノード
と、該データを受信するデスティネーションノードとの
間を、論理的な接続をあらわすコネクションID番号で論
理的に接続するプロトコルが提案されている。
Therefore, in the conventional 1394 communication system, there is a problem that it is necessary to take a very complicated communication procedure in order to recover from the interruption of the data transfer. In order to solve the above problem, a connection ID representing a logical connection between a source node connected to a serial bus for transmitting arbitrary data and a destination node receiving the data. A protocol for logically connecting by number has been proposed.

【0018】上記コネクションIDを用いるプロトコルに
おいては、ソースノードがデータを転送してから、予め
定められている一定周期、( タイムアウト周期、あるい
は、レスポンス周期) を越えても、デスティネーション
ノードからレスポンスが返らない場合には、ソースノー
ドはデータを再送することが行なわれている。
[0018] In the protocol using the connection ID, a response from the destination node is transmitted even if a predetermined period or a timeout period or a response period is exceeded after the source node transfers data. If not, the source node is retransmitting data.

【0019】[0019]

【発明が解決しようとする課題】しかしながら、上記プ
ロトコルにおいては、上記レスポンス周期が、予め定め
られている固定の値のため、デスティネーションノード
となる機器において、データを受信してから後段の回路
へデータを転送するスピードが遅い場合には、上記デー
タ再送が頻繁に発生してしまう。このため、ネットワー
ク内、あるいは、バスシステム内のデータ転送効率が著
しく低下してしまうといった問題点があった。
However, in the above protocol, since the response cycle is a predetermined fixed value, a device serving as a destination node receives data and then transmits the data to a subsequent circuit. When the data transfer speed is low, the data retransmission frequently occurs. Therefore, there is a problem that the data transfer efficiency in the network or the bus system is significantly reduced.

【0020】また、これを防ぐため、ネットワーク、あ
るいは、バスシステムに接続される機器内部のデータ転
送速度を上げると、接続機器のコストアップを余儀なく
されるといった問題点があった。
In order to prevent this, if the data transfer speed inside the device connected to the network or the bus system is increased, there is a problem that the cost of the connected device is inevitably increased.

【0021】本発明は、上記問題点を解決するためにな
されたもので、データ転送中断により失われたデータを
容易に検出することが可能で、該データ転送の中断から
の復帰を、確実に、かつ、簡単に行なうことができ、ネ
ットワーク内、あるいは、バスシステム内のデータ転送
効率が低下することを防ぐとともに、ネットワーク、あ
るいは、バスシステムに接続される機器内部のデータ転
送速度を下げ、コストダウンが可能な機器及びシステム
を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and it is possible to easily detect data lost due to interruption of data transfer, and to reliably recover from the interruption of data transfer. And can be performed easily, preventing the data transfer efficiency in the network or the bus system from being reduced, and reducing the data transfer speed in the device connected to the network or the bus system, thereby reducing costs. An object is to provide a device and a system that can be down.

【0022】[0022]

【課題を解決するための手段】本発明のデータ通信シス
テムは、情報データを送信するソースノードと、該情報
データを受信するデスティネーションノードとの間の通
信を、各ノード間の論理的な接続を示すコネクションID
を用いて行うデータ通信システムにおいて、上記デステ
ィネーションノードの受信処理に必要となる時間間隔を
上記ソースノードに通知することを特徴としている。ま
た、本発明のデータ通信システムの他の特徴とするとこ
ろは、上記時間間隔は、受信した情報データを一時的に
記憶する記憶手段から該情報データを読み出す時間によ
り決定されることを特徴としている。また、本発明のデ
ータ通信システムのその他の特徴とするところは、上記
通信システムは更に、上記コネクションIDを管理するコ
ントロールノードを含み、上記コントロールノードは、
通信を行う複数のノード間に対して論理的なコネクショ
ンを設定することを特徴としている。また、本発明のデ
ータ通信システムのその他の特徴とするところは、上記
時間間隔は、上記コントロールノードに対しても通知さ
れることを特徴としている。また、本発明のデータ通信
システムのその他の特徴とするところは、上記デスティ
ネーションノードは上記情報データに含まれる転送終了
を示すデータに応じて、上記情報データの受信処理を終
了することを特徴としている。また、本発明のデータ通
信システムのその他の特徴とするところは、上記デステ
ィネーションノードは、上記転送終了を示すデータに基
づき、上記ソースノードとの間に設定されたコネクショ
ンIDを解放することを特徴としている。また、本発明の
データ通信システムのその他の特徴とするところは、上
記コントロールノードは上記情報データに含まれる転送
終了を示すデータに応じて、上記情報データの転送を終
了させることを特徴としている。また、本発明のデータ
通信システムのその他の特徴とするところは、上記コン
トロールノードは、上記転送終了を示すデータに基づ
き、上記ソースノードと上記デスティネーションノード
との間に設定されたコネクションIDを解放させることを
特徴としている。また、本発明のデータ通信システムの
その他の特徴とするところは、上記情報データは、IEEE
1394規格に準拠するasynchronous転送方式を用いて送信
されることを特徴としている。また、本発明のデータ通
信システムのその他の特徴とするところは、上記情報デ
ータは、通信システム上の全てのノードに対してブロー
ドキャストされることを特徴としている。また、本発明
のデータ通信システムのその他の特徴とするところは、
上記ソースノードは、n個のデスティネーションノード
の受信処理に必要となるn個の時間間隔から最大の時間
的間隔を選択することを特徴としている。また、本発明
のデータ通信システムのその他の特徴とするところは、
上記ソースノードは、上記情報データを受信したデステ
ィネーションノードからのレスポンスを受信するレスポ
ンス期間を有し、上記レスポンス期間を越えても該レス
ポンスを検出できない場合に通信異常を検出することを
特徴としている。また、本発明のデータ通信システムの
その他の特徴とするところは、上記レスポンス期間は、
上記時間間隔に基づいて設定されることを特徴としてい
る。また、本発明のデータ通信システムのその他の特徴
とするところは、情報データを送信するソースノード
と、該情報データを受信するデスティネーションノード
と、上記ソースノードと上記デスティネーションノード
との間の通信を管理するコントロールノードとを含むデ
ータ通信システムにおいて、上記デスティネーションノ
ードの受信処理に必要となる時間間隔を上記コントロー
ルノードに通知することを特徴としている。
SUMMARY OF THE INVENTION A data communication system according to the present invention establishes communication between a source node transmitting information data and a destination node receiving the information data by a logical connection between the nodes. ID indicating the connection
In the data communication system using the method, the source node is notified of a time interval required for the receiving process of the destination node. Another feature of the data communication system of the present invention is that the time interval is determined by a time for reading out the information data from a storage unit for temporarily storing the received information data. . According to another feature of the data communication system of the present invention, the communication system further includes a control node that manages the connection ID, wherein the control node includes:
It is characterized in that a logical connection is set between a plurality of nodes performing communication. Another feature of the data communication system of the present invention is that the time interval is also notified to the control node. According to another feature of the data communication system of the present invention, the destination node ends the reception processing of the information data according to data indicating a transfer end included in the information data. I have. According to another feature of the data communication system of the present invention, the destination node releases a connection ID set with the source node based on the data indicating the end of the transfer. And Another feature of the data communication system of the present invention is that the control node ends the transfer of the information data in accordance with data indicating the transfer end included in the information data. In another feature of the data communication system of the present invention, the control node releases a connection ID set between the source node and the destination node based on the data indicating the end of the transfer. It is characterized by having Another feature of the data communication system of the present invention is that the information data is an IEEE
It is characterized by being transmitted using an asynchronous transfer system conforming to the 1394 standard. Another feature of the data communication system of the present invention is that the information data is broadcast to all nodes on the communication system. Other features of the data communication system of the present invention include:
The source node selects a maximum time interval from n time intervals required for reception processing of the n destination nodes. Other features of the data communication system of the present invention include:
The source node has a response period for receiving a response from the destination node that has received the information data, and detects a communication error when the response cannot be detected even after the response period. . Another feature of the data communication system of the present invention is that the response period is
It is characterized in that it is set based on the time interval. Another feature of the data communication system of the present invention is that a source node for transmitting information data, a destination node for receiving the information data, and communication between the source node and the destination node. In the data communication system including a control node that manages the time, a time interval required for the reception processing of the destination node is notified to the control node.

【0023】本発明のデータ通信方法は、情報データを
送信するソースノードと、該情報データを受信するデス
ティネーションノードとの間の通信を、各ノード間の論
理的な接続を示すコネクションIDを用いて行うデータ通
信システムに適用可能なデータ通信方法において、上記
デスティネーションノードの受信処理に必要となる時間
間隔を上記ソースノードに通知することを特徴としてい
る。また、本発明のデータ通信方法の他の特徴とすると
ころは、情報データを送信するソースノードと、該情報
データを受信するデスティネーションノードと、該ソー
スノードと該デスティネーションノードとの間の通信を
管理するコントロールノードとを含む通信システムに適
用可能なデータ通信方法において、上記デスティネーシ
ョンノードの受信処理に必要となる時間間隔を上記コン
トロールノードに通知することを特徴としている。
According to the data communication method of the present invention, a communication between a source node transmitting information data and a destination node receiving the information data uses a connection ID indicating a logical connection between the nodes. In the data communication method applicable to the data communication system, the time interval required for the reception processing of the destination node is notified to the source node. Another feature of the data communication method of the present invention is that a source node that transmits information data, a destination node that receives the information data, and a communication between the source node and the destination node. In a data communication method applicable to a communication system including a control node that manages a time period, a time interval required for reception processing of the destination node is notified to the control node.

【0024】本発明のデータ通信装置は、情報データを
送信するソースノード、該情報データを受信するデステ
ィネーションノードとの通信を管理するデータ通信装置
において、上記デスティネーションノードの受信処理に
必要となる時間間隔を受信する受信手段と、上記時間間
隔を上記ソースノードに送信する送信手段とを具備する
ことを特徴としている。
A data communication device of the present invention is required for a reception process of the destination node in a data communication device for managing communication with a source node transmitting information data and a destination node receiving the information data. It is characterized by comprising receiving means for receiving a time interval, and transmitting means for transmitting the time interval to the source node.

【0025】本発明の記憶媒体は、上記データ通信方法
を構成するステップがコンピュータから読み出し可能に
格納されていることを特徴としている。また、本発明の
記憶媒体の他の特徴とするところは、上記各手段として
コンピュータを機能させるためのプログラムを格納した
ことを特徴としている。
[0025] The storage medium of the present invention is characterized in that the steps constituting the data communication method are stored so as to be readable by a computer. Another feature of the storage medium of the present invention is that a program for causing a computer to function as each of the above means is stored.

【0026】[0026]

【作用】本発明は上記技術手段を有するので、論理的な
接続を行なう際に、デスティネーションノードのデータ
受信の時間的間隔をソースノードが検出し、上記ソース
ノードは、上記検出結果を用いて、第i 番目(iは任意の
整数) のデータを送信する時刻と、第i+1 番目のデータ
を送信する時刻との、時間的間隔が設定されるようにな
る。
Since the present invention has the above technical means, the source node detects the time interval of data reception of the destination node when making a logical connection, and the source node uses the detection result to detect the time interval. The time interval between the time of transmitting the i-th data (i is an arbitrary integer) and the time of transmitting the (i + 1) -th data is set.

【0027】[0027]

【発明の実施の形態】以下、図1を用いて、本発明の実
施例について説明する。図1において、 10 はcomputer
であり、 12 は演算処理装置 (MPU )、 14 は第一の13
94インターフェイス、 16 はキーボードなど第一の操作
部、 18 は第一のデコーダ、 20 はCRT ディスプレイな
どの表示装置、 22 はハードディスク、24は第一のメモ
リであり本実施の形態に係るcomputer 10 の内部メモ
リ、 26 はPCI バスなどのコンピュータ内部バスであ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIG. In Figure 1, 10 is computer
Where 12 is the arithmetic processing unit (MPU) and 14 is the first 13
94 interface, 16 is a first operation unit such as a keyboard, 18 is a first decoder, 20 is a display device such as a CRT display, 22 is a hard disk, and 24 is a first memory, which is a computer 10 according to the present embodiment. Internal memory 26 is a computer internal bus such as a PCI bus.

【0028】また、28はVCR であり、30は撮像光学系、
32 はアナログ−デジタル(A/D )変換器、 34 はビデオ
処理部、 36 は圧縮伸長回路、 38 は第一のメモリ、 4
0 は第二のメモリ、 42 は第一のデータセレクタ、 44
は第二の1394インターフェイス、 46 は第一のメモリ制
御回路、 48 は第二のメモリ制御回路、 50 はシステム
コントローラ、 52 は第二の操作部、 54 はファイン
ダ、 56 はD/A 変換器、58 は記録部である。
Reference numeral 28 denotes a VCR, reference numeral 30 denotes an image pickup optical system,
32 is an analog-to-digital (A / D) converter, 34 is a video processing unit, 36 is a compression / expansion circuit, 38 is a first memory, 4
0 is the second memory, 42 is the first data selector, 44
Is the second 1394 interface, 46 is the first memory control circuit, 48 is the second memory control circuit, 50 is the system controller, 52 is the second operation unit, 54 is the finder, 56 is the D / A converter, 58 is a recording unit.

【0029】さらに、 60 はプリンタであり、 62 は第
三の1394インターフェイス、 64 は第二のデータセレク
タ、 66 は第三の操作部、 68 はプリンタコントロー
ラ、 70 は第二のデコーダ、 72 は第三のメモリ、 74
は画像処理部、 76 はドライバ、 78 はプリンタヘッド
である。
Reference numeral 60 denotes a printer, 62 denotes a third 1394 interface, 64 denotes a second data selector, 66 denotes a third operation unit, 68 denotes a printer controller, 70 denotes a second decoder, and 72 denotes a second decoder. Three memories, 74
Denotes an image processing unit, 76 denotes a driver, and 78 denotes a printer head.

【0030】computer 10 と、VCR 28、及びプリンタ 6
0 とは、第一から第三の1394インターフェイス 14, 4
4, 62 によって1394シリアルバスのノードを構成する
とともに、該第一から第三の1394インターフェイス 14,
44, 62 を介して相互に接続されており、データの授
受や、コマンドによるコントロール等が可能になってい
る。
Computer 10, VCR 28, and printer 6
0 means the first to third 1394 interface 14, 4
4, 62 constitute a 1394 serial bus node, and the first to third 1394 interfaces 14,
They are connected to each other via 44 and 62, and can exchange data and control by commands.

【0031】本実施の形態では、例えば、computer 10
は、1394シリアルバス上における、画像信号送受信のコ
ントローラとして動作する。本実施の形態に係るcomput
er 10 においては、例えば、PCI バスなどのコンピュー
タ内部バス 26 によって、MPU 12 と、1394インターフ
ェイス 14 、キーボード 16 、デコーダ 18 、CRT ディ
スプレイ 20 、ハードディスク 22 、内部メモリ 24 な
どの、内部の各デバイスとが相互に接続されている。
In the present embodiment, for example, the computer 10
Operates as a controller for transmitting and receiving image signals on the 1394 serial bus. Comput according to the present embodiment
In the er 10, for example, the MPU 12 and internal devices such as a 1394 interface 14, a keyboard 16, a decoder 18, a CRT display 20, a hard disk 22, and an internal memory 24 are connected by a computer internal bus 26 such as a PCI bus. Interconnected.

【0032】MPU12 は、ハードディスク22に記録されて
いるソフトウェアを実行するとともに、様々なデータを
内部メモリ24に移動させる。また、MPU12 は、PCI バス
26によって接続されている各デバイスの、調停動作な
ども合わせて行なう。
The MPU 12 executes software recorded on the hard disk 22 and moves various data to the internal memory 24. MPU12 is a PCI bus
The arbitration operation of each device connected by 26 is also performed.

【0033】1394 インターフェイス 14 は、1394シリ
アルバス上に転送される画像信号を受信するとともに、
ハードディスク 22 に記録されている画像信号や、内部
メモリ24 に記憶される画像信号を送信する。
The 1394 interface 14 receives an image signal transferred on the 1394 serial bus,
The image signal recorded on the hard disk 22 and the image signal stored in the internal memory 24 are transmitted.

【0034】また、1394インターフェイス 14 は、1394
シリアルバス上に接続された他の機器に対するコマンド
データを送信する。また、1394インターフェイス 14
は、1394シリアルバス上に転送される信号を他の1394ノ
ードに転送する。
The 1394 interface 14 is a 1394 interface.
It sends command data to other devices connected on the serial bus. 1394 interface 14
Transfers a signal transferred on the 1394 serial bus to another 1394 node.

【0035】操作者は、キーボード 16 などの操作部を
通じて、MPU12 に、ハードディスク22 に記録されてい
るソフトウェアを実行させる。該ソフトウェア等の情報
は、CRT ディスプレイなどの表示装置 20 によって、操
作者に提示される。
The operator causes the MPU 12 to execute software recorded on the hard disk 22 through an operation unit such as the keyboard 16. Information such as the software is presented to the operator by a display device 20 such as a CRT display.

【0036】デコーダ 18 は、上記のソフトウェアを通
じて、1394シリアルバス上から受信した画像信号をデコ
ードする。デコードされた画像信号も、また、CRT ディ
スプレイなどの表示装置 20 によって、操作者に提示さ
れる。
The decoder 18 decodes an image signal received from the 1394 serial bus through the above software. The decoded image signal is also presented to the operator by a display device 20, such as a CRT display.

【0037】本実施の形態では、例えば、VCR 28は、画
像信号の入力装置として動作する。撮像光学系 30 から
入力された映像の輝度信号(Y )と色差信号(C )は各々A/
D 変換器 32 にてディジタルデータに変換される。
In the present embodiment, for example, the VCR 28 operates as an image signal input device. The luminance signal (Y) and color difference signal (C) of the video input from the imaging optical system 30 are A /
The data is converted to digital data by the D converter 32.

【0038】上記ディジタルデータは、ビデオ処理部 3
4 にて多重化される。その後、圧縮伸長回路 36 にて該
画像情報のデータ量を圧縮する。一般に、YC独立に該圧
縮処理回路を備えているが、ここでは説明の簡略化の為
にYC時間分割での圧縮処理の例を示す。
The digital data is sent to the video processing unit 3
4 is multiplexed. Thereafter, the data amount of the image information is compressed by the compression / expansion circuit 36. In general, the compression processing circuit is provided independently for YC. Here, for simplification of description, an example of compression processing in YC time division will be described.

【0039】次に、上記画像データを伝送路誤りに強く
する目的でシャフリング処理を施す。この処理の目的は
連続的な符号誤りであるところのバーストエラーを修整
や補間の行いやすい離散的な誤りであるところのランダ
ムエラーに変換することである。
Next, a shuffling process is performed for the purpose of making the image data resistant to transmission path errors. The purpose of this processing is to convert a burst error, which is a continuous code error, into a random error, which is a discrete error that can be easily corrected and interpolated.

【0040】加えて、画像の画面内の粗密による情報量
の発生の偏りを均一化する目的を重視する場合には上記
圧縮処理の前に本処理工程を持ってくると、ランレング
ス等の可変長符号を用いた場合の都合が良い。
In addition, in the case where importance is placed on the purpose of equalizing the unevenness of the amount of information due to the density of the image within the screen, if this processing step is brought before the compression processing, the run length and the like can be changed. This is convenient when a long code is used.

【0041】これを受けて、データ・シャフリングの復
元の為のデータ識別(ID)情報を付加する。このID付加動
作にて付加されたIDは、同時に記録しておいた上記シス
テムのモード情報等と共に再生時の逆圧縮処理( 情報量
伸張処理) の際に補助情報として利用する。これらのデ
ータの再生時の誤りを低減する為にエラー訂正(ECC )情
報を付加する。この様な冗長信号の付加までを、映像と
音声等の情報毎に対応する独立の記録エリア毎に処理す
る。
In response to this, data identification (ID) information for restoring data shuffling is added. The ID added by the ID adding operation is used as auxiliary information together with the mode information of the system recorded at the same time in the decompression processing (information amount expansion processing) at the time of reproduction. Error correction (ECC) information is added in order to reduce errors in reproducing these data. Processing up to the addition of such a redundant signal is performed for each independent recording area corresponding to each information such as video and audio.

【0042】上記のように、ID情報やECC 情報が付加さ
れた画像信号は、記録部 58 により、磁気テープ等の記
録媒体に記録されるとともに、後述する第一のメモリ 3
8 に一時的に記憶される。
As described above, the image signal to which the ID information and the ECC information are added is recorded on a recording medium such as a magnetic tape by the recording section 58, and is also recorded in a first memory 3 described later.
8 is temporarily stored.

【0043】一方、ビデオ処理部 34 にて多重化された
画像データは、D/A 変換器 56 によって、ディジタル−
アナログ変換され、電子ビューファインダ 54 で操作者
により観察される。
On the other hand, the image data multiplexed by the video processing section 34 is converted into a digital signal by the D / A converter 56.
It is converted into an analog signal and observed by the operator on the electronic viewfinder 54.

【0044】また、操作者は第二の操作部 52 を介し
て、様々な操作情報をシステムコントローラ 50 に送信
し、システムコントローラ 50 は、該操作情報によっ
て、VCR全体を制御するようになっている。
Further, the operator sends various operation information to the system controller 50 via the second operation section 52, and the system controller 50 controls the whole VCR based on the operation information. .

【0045】また、ビデオ処理部 34 にて多重化された
画像データは、第二のメモリ 40 に出力され、一時的に
記憶される。前述した第一のメモリ 38 と、二のメモリ
40とは、それぞれ、第一のメモリ制御回路 46 と、第
二のメモリ制御回路 48 とを介し、システムコントロー
ラ 50 により動作制御されている。
The image data multiplexed by the video processing unit 34 is output to the second memory 40 and is temporarily stored. The first memory 38 mentioned above and the second memory
The operations of 40 are controlled by a system controller 50 via a first memory control circuit 46 and a second memory control circuit 48, respectively.

【0046】第一のデータセレクタ 42 は、前述した第
一のメモリ 38 と、二のメモリ 40からのデータを選択
して、第二の1394インターフェイス 44 に受け渡す、あ
るいは、第二の1394インターフェイス 44 からのデータ
を選択して、第一のメモリ 38 と、二のメモリ 40 との
どちらかに受け渡す。
The first data selector 42 selects data from the first memory 38 and the second memory 40 described above and transfers the data to the second 1394 interface 44 or the second 1394 interface 44 And passes it to either the first memory 38 or the second memory 40.

【0047】上記動作により、VCR 28における第二の13
94インターフェイス 44 からは、圧縮された画像データ
と非圧縮の画像データとが、操作者により選択されて出
力できるようになっている。
By the above operation, the second 13 in the VCR 28
From the interface 44, compressed image data and uncompressed image data can be selected and output by the operator.

【0048】第二の1394インターフェイス 44 は、1394
シリアルバスを通じて、VCR 28を制御するためのコマン
ドデータを受信する。受信されたコマンドデータは、第
一のデータセレクタ 42 を通じて、システムコントロー
ラ 50 に入力される。
The second 1394 interface 44 is a 1394 interface.
Command data for controlling the VCR 28 is received via the serial bus. The received command data is input to the system controller 50 through the first data selector 42.

【0049】ステムコントローラ 50 は、上記のコマン
ドデータに対するレスポンスデータを作成して、第一の
データセレクタ 42 、及び、第二の1394インターフェイ
ス 44 を通じ、1394シリアルバスに該データを送出す
る。
The stem controller 50 creates response data to the above-mentioned command data, and sends the data to the 1394 serial bus via the first data selector 42 and the second 1394 interface 44.

【0050】本実施の形態では、例えば、プリンタ 60
は、画像の印刷出力装置として動作する。第三の1394イ
ンターフェイス 62 は、1394シリアルバス上に転送され
る画像信号と、1394シリアルバスを通じて該プリンタ 6
0 を制御するためのコマンドデータとを受信する。ま
た、第三の1394インターフェイス 62 は、該コマンドに
対するレスポンスデータを送信する。
In this embodiment, for example, the printer 60
Operates as an image printout device. The third 1394 interface 62 transmits an image signal transferred on the 1394 serial bus and the printer 6 through the 1394 serial bus.
Command data for controlling 0 is received. Further, the third 1394 interface 62 transmits response data to the command.

【0051】受信された画像データは、第二のデータセ
レクタ 64 を通じて、第二のデコーダ 70 に入力され
る。第二のデコーダ 70 は、該画像データをデコードし
て、画像処理部 74 に出力する。画像処理部 74 は、デ
コードされた画像データを第三のメモリ 72 に一時的に
記憶する。
The received image data is input to the second decoder 70 through the second data selector 64. The second decoder 70 decodes the image data and outputs it to the image processing unit 74. The image processing section 74 temporarily stores the decoded image data in the third memory 72.

【0052】一方、受信されたコマンドデータは、第二
のデータセレクタ 64 を通じて、プリンタコントローラ
68 に入力される。プリンタコントローラ 68 は、該コ
マンドデータによりドライバ 76 による紙送り制御や、
プリンタヘッド 78 の位置制御など、様々な印刷に関す
る制御を行なう。
On the other hand, the received command data is passed through the second data selector 64 to the printer controller.
Entered in 68. The printer controller 68 controls the paper feed by the driver 76 according to the command data,
Various printing controls such as the position control of the printer head 78 are performed.

【0053】また、プリンタコントローラ 68 は、第三
のメモリ 72 に一時的に記憶された画像データを、印刷
データとして、プリンタヘッド 78 に送信し、印刷動作
を行わせる。
The printer controller 68 transmits the image data temporarily stored in the third memory 72 as print data to the printer head 78 to perform a printing operation.

【0054】上述したように、本実施の形態に係る、第
一から第三の1394インターフェイス14, 44, 62 は、
それぞれ、1394シリアルバスのノードを構成する。第一
1394インターフェイス 14 は、コントロールノード、ま
たは、コントローラとして動作し、第二1394インターフ
ェイス 44 は、画像データのソースノードとして動作
し、第三1394インターフェイス 44 は、デスティネーシ
ョンノードとして動作する。
As described above, the first to third 1394 interfaces 14, 44, 62 according to the present embodiment are:
Each constitutes a 1394 serial bus node. first
The 1394 interface 14 operates as a control node or a controller, the second 1394 interface 44 operates as a source node of image data, and the third 1394 interface 44 operates as a destination node.

【0055】以下に、図2を用いて、本実施の形態に係
る各ノードの動作を示す。図2において、 200はコント
ローラ、 202はソースノード、 204はデスティネーショ
ンノード、 206はソースノード内部のサブユニット、 2
08は画像データ等のobject、 210はデスティネーション
ノード内部の第一のメモリ空間、 212は第一のコネクシ
ョン、 214はデスティネーションの第n のメモリ空間、
216は第nのコネクションである。
The operation of each node according to the present embodiment will be described below with reference to FIG. In FIG. 2, 200 is a controller, 202 is a source node, 204 is a destination node, 206 is a subunit inside the source node, 2
08 is an object such as image data, 210 is the first memory space inside the destination node, 212 is the first connection, 214 is the nth memory space of the destination,
216 is an n-th connection.

【0056】コントローラ 200は、データ転送を行うソ
ースノード 202とデスティネーションノード 204とのコ
ネクションを確立するためのコネクションID、及び、後
述するメモリ空間のアドレスを管理するノードである。
The controller 200 is a node that manages a connection ID for establishing a connection between the source node 202 and the destination node 204 that perform data transfer, and a memory space address to be described later.

【0057】コントローラ 200は、ソースノード 202、
及び、デスティネーションノード 204と独立したノード
であってもよいし、ソースノード、または、デスティネ
ーションノードとコントローラとが同じであってもかま
わない。後者の場合、コントローラと同じノードであ
る、ソースノード、または、デスティネーションノード
と、コントローラとの間のトランザクションは不要であ
る。
The controller 200 includes a source node 202,
And, the node may be independent of the destination node 204, or the source node or the destination node and the controller may be the same. In the latter case, no transaction is required between the controller and the source or destination node, which is the same node as the controller.

【0058】本実施の形態では、コントローラ 200がソ
ースノード 202、及び、デスティネーションノード 204
とは別のノードに存在する場合の例を示す。本実施の形
態の通信装置においては、複数のコネクションを確立す
ることが可能である。
In this embodiment, the controller 200 includes the source node 202 and the destination node 204
An example in the case where it exists in a different node from that shown in FIG. In the communication device according to the present embodiment, it is possible to establish a plurality of connections.

【0059】ソースノード 202は、内部のサブユニット
206から画像データ等のobject 208 を、例えば、第一
のコネクション 212を通じて、デスティネーションノー
ド内部の第一のメモリ空間 210に書き込む。また、上述
のコネクションによるデータの授受は、例えば、asynch
ronousブロードキャストパケットを用いて行なわれる。
The source node 202 is an internal subunit
The object 208 such as image data is written from the 206 to the first memory space 210 inside the destination node through the first connection 212, for example. Further, the transmission and reception of data by the above-described connection is performed, for example, by using asynch
This is performed using a ronous broadcast packet.

【0060】次に、図3(a )を用いて、上述した、コン
トローラ 200、ソースノード 202、デスティネーション
ノード 204の、各ノードの動作について説明する。コン
トローラは、ユーザが選択したソースノードと、デステ
ィネーションノードとの間の接続を行うために、ネゴシ
エーションを行う。ネゴシエーションには、接続を行う
ためのパケットを用いる。
Next, the operation of each of the controller 200, the source node 202, and the destination node 204 will be described with reference to FIG. The controller negotiates to establish a connection between the source node selected by the user and the destination node. For the negotiation, a packet for making a connection is used.

【0061】該パケットは、例えば、asynchronousブロ
ードキャストパケットであり、パケット内のペイロード
には、接続の番号を示すコネクションIDと、デスティネ
ーションが許容できるインターバル時間と、が書き込ま
れている。上記コネクションIDによって、それぞれのノ
ードは、コネクションを識別する。
The packet is, for example, an asynchronous broadcast packet. In the payload of the packet, a connection ID indicating a connection number and an interval time allowed by the destination are written. Each node identifies a connection by the connection ID.

【0062】また、上記インターバル時間によって、ソ
ースノードがデータ転送を行なう間隔が決定される。コ
ントローラから、上記のネゴシエーションパケットを受
け取ったソースノードは、コントローラからの送信コマ
ンドパケットを待機する。一方、上記ネゴシエーション
パケットを受け取ったデスティネーションノードは、ソ
ースノードからの上記問い合わせのasynchronousブロー
ドキャストパケットを待機する。
The interval at which the source node performs data transfer is determined by the interval time. The source node receiving the above negotiation packet from the controller waits for a transmission command packet from the controller. On the other hand, the destination node receiving the negotiation packet waits for the asynchronous broadcast packet of the inquiry from the source node.

【0063】上述のネゴシエーションが終わると、コン
トローラは、ソースノードに、データ送信のためのコマ
ンドパケットを送信する。上記コマンドパケットを受信
したソースノードは、デスティネーションノードに対し
て、問い合わせのasynchronousブロードキャストパケッ
トを送信する。該問い合わせパケットには、前述のコネ
クションIDが書き込まれている。
When the above negotiation is completed, the controller transmits a command packet for data transmission to the source node. The source node that has received the command packet transmits an asynchronous broadcast packet for inquiry to the destination node. The connection ID is written in the inquiry packet.

【0064】上記問い合わせパケットを受信すると、デ
スティネーションノードは、上記問い合わせパケットに
書かれているコネクションIDと、上述のネゴシエーショ
ンによるコネクションIDとを照合して、該問い合わせパ
ケットが同じコネクションのソースノードからのパケッ
トであるかどうかを判別する。
Upon receiving the inquiry packet, the destination node checks the connection ID written in the inquiry packet against the connection ID obtained by the negotiation, and determines whether the inquiry packet is transmitted from the source node of the same connection. Determine if it is a packet.

【0065】上記問い合わせパケットが同じコネクショ
ンの場合、デスティネーションノードは、上記問い合わ
せパケットと同一のコネクションIDと、データ受信用の
バッファの容量と、デスティネーションノードのノード
オフセットとを書き込んだレスポンスパケットを、asyn
chronousブロードキャストで送出する。
When the inquiry packet has the same connection, the destination node transmits a response packet in which the same connection ID as the inquiry packet, the capacity of the buffer for receiving data, and the node offset of the destination node are written. asyn
Sent by chronous broadcast.

【0066】上述したように、データ転送の際に、ソー
スノードは、コントローラから指示された、デスティネ
ーションノードからのレスポンスパケットに書かれてい
る、デスティネーションノードのノードオフセットに対
してライトトランザクションを行なう。該ライトトラン
ザクションは、asynchronousブロードキャストパケット
を使用して行われる。
As described above, at the time of data transfer, the source node performs a write transaction with respect to the node offset of the destination node specified in the response packet from the destination node specified by the controller. . The write transaction is performed using an asynchronous broadcast packet.

【0067】ソースノードは、送信が行なわれるデータ
を分割(segmentation)してデータを送信する。分割され
たデータを、segment dataと称する。segment dataの送
信は、1 度のブロードキャストトランザクションにて行
なわれる。該segment dataのデータ量は、例えば、デー
タを受信するノードの( 不図示の)FIFO メモリの容量に
よって定まるようになっている。
The source node segments the data to be transmitted and transmits the data. The divided data is called segment data. Transmission of segment data is performed in one broadcast transaction. The data amount of the segment data is determined, for example, by the capacity of a FIFO memory (not shown) of the node that receives the data.

【0068】ソースノードは、上記segment dataを、as
ynchronousブロードキャストパケットを使用して送信す
る。一つのsegment dataを含むasynchronousブロードキ
ャストパケットを、segment パケットと称する。segmen
t パケットには、前述のコネクションIDと、上記segmen
t dataの順番を示すシークエンス番号とが書かれてい
る。
The source node converts the above segment data into as
Transmit using an asynchronous broadcast packet. Asynchronous broadcast packets containing one segment data are called segment packets. segmen
t The packet includes the connection ID described above and the segmen
A sequence number indicating the order of t data is written.

【0069】該パケットを受信したデスティネーション
ノードは、segment パケット内に書かれているコネクシ
ョンIDと、事前にコントローラによって通知されている
コネクションIDとの照合を行なう。
The destination node receiving the packet compares the connection ID written in the segment packet with the connection ID previously notified by the controller.

【0070】segment パケット内に書かれているコネク
ションIDと、事前にコントローラによって通知されてい
るコネクションIDとが一致した場合、デスティネーショ
ンノードは、該パケットを受け取り、該パケットと同一
のコネクションIDと受信データ中のシークエンス番号と
を書き込んだレスポンスパケットを、asynchronousブロ
ードキャストを用いて送信する。ソースノードは、受信
したパケットのコネクションIDによって、自ノードへの
パケットを識別する。
If the connection ID written in the segment packet matches the connection ID previously notified by the controller, the destination node receives the packet, and receives the same connection ID as the packet. A response packet in which the sequence number in the data is written is transmitted using asynchronous broadcast. The source node identifies the packet to the own node by the connection ID of the received packet.

【0071】上述のレスポンス動作は、一つのsegment
dataの授受に伴い生ずることになる。前述したように、
データ授受に先立って、ソースノードからデスティネー
ションノードへ問い合わせパケットが送信される。デス
ティネーションノードは、該問い合わせに対するレスポ
ンスパケットを用いて、デスティネーションノード自身
が有しているバッファのバッファサイズを通知する。
The above-described response operation is performed for one segment.
This will occur with the transfer of data. As previously mentioned,
Prior to data exchange, an inquiry packet is transmitted from the source node to the destination node. The destination node notifies the buffer size of the buffer owned by the destination node using a response packet to the inquiry.

【0072】前述した例では、1度のsegment dataの送
信に伴って、レスポンスパケットの送信が発生している
が、デスティネーションノードが有する前述のバッファ
がsegment dataによって満たされた後に、デスティネー
ションノードがレスポンスパケットの送信を行なうよう
に構成しても良い。該構成の場合には、デスティネーシ
ョンノードの行なうレスポンス動作の回数が削減できる
ので、デスティネーションノードを簡略化できる効果が
ある。
In the above-described example, the transmission of the response packet occurs once with the transmission of the segment data. However, after the buffer of the destination node is filled with the segment data, the destination node transmits the response packet. May transmit a response packet. In the case of this configuration, the number of response operations performed by the destination node can be reduced, so that there is an effect that the destination node can be simplified.

【0073】i 番目に受信したsegment パケットのシー
クエンス番号と、(i+1 )番目に受信したsegment パケッ
トのシークエンス番号とを比較して、データの不整合を
監視する。デスティネーションノードは、シークエンス
番号に不整合が検出された場合には、再送要求を示すレ
スポンスパケットを送出することにより、ソースノード
に再度segment dataを要求することができる。
The sequence number of the i-th received segment packet is compared with the sequence number of the (i + 1) -th received segment packet, and data inconsistency is monitored. When a mismatch is detected in the sequence numbers, the destination node can request the source node for segment data again by transmitting a response packet indicating a retransmission request.

【0074】また、再送要求を示すレスポンスパケット
は、再送要求の生じたシークエンス番号を指定できるよ
うになっている。一方、ソースノードは、segment パケ
ットを送信した後、デスティネーションノードからのレ
スポンスを待機する。
The response packet indicating the retransmission request can specify the sequence number at which the retransmission request has occurred. On the other hand, after transmitting the segment packet, the source node waits for a response from the destination node.

【0075】上述したように、デスティネーションノー
ドからはコネクションIDと、シークエンス番号とが書か
れたレスポンスパケットが、asynchronousブロードキャ
ストパケットで送信される。ブロードキャストパケット
で送信されるレスポンスパケットには、上記コネクショ
ンIDが書き込まれている。
As described above, the response packet in which the connection ID and the sequence number are written is transmitted from the destination node as an asynchronous broadcast packet. The connection ID is written in a response packet transmitted as a broadcast packet.

【0076】この値が、目的のデスティネーションノー
ドとのコネクションを示すコネクションIDと一致した場
合、該パケットはレスポンスパケットである。該レスポ
ンスパケットを受信するとソースノードは、シークエン
ス番号をインクリメントし、次のsegment パケットを同
様に送信する。
When this value matches the connection ID indicating the connection with the target destination node, the packet is a response packet. Upon receiving the response packet, the source node increments the sequence number and transmits the next segment packet in the same manner.

【0077】上述の手順を繰り返すことにより、ソース
ノードは、データ転送を行なう。ソースノードが、デス
ティネーションノードからのレスポンスを待機する時間
は、前述のインターバル時間によって定められ、この周
期をレスポンス周期と称する。
By repeating the above procedure, the source node performs data transfer. The time during which the source node waits for a response from the destination node is determined by the above-described interval time, and this cycle is called a response cycle.

【0078】i 番目のsegment パケットを送信した後、
レスポンス周期を越えてもレスポンスが受信できない場
合、ソースノードは、上記i 番目のsegment パケットと
同一のsegment パケットを再送する。
After transmitting the ith segment packet,
If a response cannot be received even if the response period is exceeded, the source node resends the same segment packet as the i-th segment packet.

【0079】また、上述したような、デスティネーショ
ンノードからの再送要求レスポンスを受信した場合、ソ
ースノードは、該レスポンスパケットにて指定されたシ
ークエンス番号のsegment パケットを送信する。
Further, when receiving the retransmission request response from the destination node as described above, the source node transmits a segment packet having the sequence number specified in the response packet.

【0080】本実施の形態では、上記手順により、バス
リセットの発生や何らかのエラーの発生により、データ
転送中が中断した場合にも、データ転送の復帰が容易に
行なえるといった効果がある。全てのsegment パケット
を送信することによって、データ転送が終了すると、ソ
ースノードは、segment end を示すブロードキャストパ
ケットを送出する。
In the present embodiment, the above procedure has an effect that the data transfer can be easily restored even when the data transfer is interrupted due to the occurrence of a bus reset or some error. When the data transfer is completed by transmitting all segment packets, the source node sends out a broadcast packet indicating segment end.

【0081】このパケットを受け取ったコントローラ
は、コネクションID及び、ノードオフセットをを解放し
て、データ転送が終了する。本実施の形態では、segmen
t endを受信したコントローラが、明示的にコネクショ
ンID、及び、ノードオフセットを解放している。
The controller receiving this packet releases the connection ID and the node offset, and the data transfer ends. In the present embodiment, the segmen
The controller that has received the “t end” explicitly releases the connection ID and the node offset.

【0082】しかしながら、segment end を示すパケッ
トがブロードキャストパケットであることから、該segm
ent end パケットにより、デスティネーションノード
が、データ転送の終了を検知することが可能である。こ
のため、コネクションID、及び、ノードオフセットの解
放をデスティネーションノードが行なっても良い。
However, since the packet indicating the segment end is a broadcast packet, the segment
The destination node can detect the end of the data transfer by the ent end packet. For this reason, the destination node may release the connection ID and the node offset.

【0083】確実にデータを転送するためには、バスリ
セットの発生や何らかのエラーの発生により、データ転
送中が中断した場合にも、速やかに該データ転送が再開
されることが望ましい。上述したように、本発明では、
再送要求の手順を設けることで該問題点を解決してい
る。
In order to transfer data reliably, it is desirable that the data transfer be promptly restarted even if the data transfer is interrupted due to the occurrence of a bus reset or some error. As described above, in the present invention,
The problem is solved by providing a retransmission request procedure.

【0084】次に、該再送要求の手順を図3(b )を用い
て説明する。例えば、シークエンス番号がi であった時
に、データ転送が中断した場合、まず、各ノードは規格
で定められた手順でバスの再構築を行う。バスの再構築
が完了した後、デスティネーションノードは、destinat
ion _offset、コネクションID、及び、シークエンス番
号i を書き込んだ再送要求パケット(resendrequest)
を、ブロードキャストパケットで送信する。データ転送
の再開が可能な場合には、ソースノードは、ack レスポ
ンスを返す。
Next, the procedure of the retransmission request will be described with reference to FIG. For example, if the data transfer is interrupted when the sequence number is i, each node first reconstructs the bus according to the procedure defined by the standard. After the bus rebuild is complete, the destination node
Retransmission request packet (resendrequest) in which ion_offset, connection ID, and sequence number i are written
Is transmitted in a broadcast packet. If data transfer can be resumed, the source node returns an ack response.

【0085】その後、ソースノードは受信したパケット
のコネクションIDを照合し、ノードオフセットを照合
し、要求されたシークエンス番号の以降、すなわち、シ
ークエンス番号(i+1 )で始まるデータ列のデータを順次
ブロードキャストパケットで送信する。
Thereafter, the source node collates the connection ID of the received packet, collates the node offset, and successively broadcasts data subsequent to the requested sequence number, that is, data of a data sequence starting with the sequence number (i + 1). Send in packets.

【0086】前述の手順により、ソースノード、デステ
ィネーションノード、コントローラノードはそれぞれノ
ードIDを考慮することなく、データ転送が中断しても、
その後のデータ転送を容易に、かつ、確実に再開するこ
とができる。また、前述のように、本実施の形態では、
データ転送が中断した場合にも、コントローラの制御手
順が簡略化できる効果がある。
According to the above-described procedure, the source node, the destination node, and the controller node can stop the data transfer without considering the node ID.
Subsequent data transfer can be easily and reliably restarted. As described above, in the present embodiment,
Even when the data transfer is interrupted, the control procedure of the controller can be simplified.

【0087】次に、図4を用いて、本発明に係るソース
ノードとデスティネーションノードとの間に行なわれる
データ授受の詳細を説明する。図4において、 250はソ
ースノード、 252はデスティネーションノード内部の通
信データバッファ、 254はデスティネーションノード内
部の次段回路、 256はi 番目のデータ転送、 258はi 番
目のレスポンス、 260は(i+1) 番目のデータ転送、 262
は(i+1) 番目のレスポンス、 264はレスポンス周期、 2
66はデスティネーションノード内部のデータ移動、 268
はデスティネーションノード内部のデータ移動に伴う遅
延である。
Next, with reference to FIG. 4, details of data transfer performed between the source node and the destination node according to the present invention will be described. In FIG. 4, 250 is the source node, 252 is the communication data buffer inside the destination node, 254 is the next stage circuit inside the destination node, 256 is the ith data transfer, 258 is the ith response, and 260 is (i +1) th data transfer, 262
Is the (i + 1) th response, 264 is the response period, 2
66 is data movement inside the destination node, 268
Is a delay due to data movement inside the destination node.

【0088】ソースノード 250から、i 番目のデータ転
送 256により、データが転送される。転送されたデータ
は、デスティネーション内部の通信データバッファ 252
に、一時的に記憶され、その後、該データは次段回路 2
54に移動する。
Data is transferred from the source node 250 by the i-th data transfer 256. The transferred data is stored in the communication data buffer 252 inside the destination.
Is temporarily stored, and then the data is stored in the next circuit 2
Go to 54.

【0089】データの移動が終了すると、その旨を書き
込んだレスポンスデータが通信バッファ 252に作成さ
れ、ソースノード 250に送信される(i番目のレスポンス
258)。上述のように、デスティネーションノード内部
のデータ移動 266に伴い、遅延268が生ずる。
When the movement of the data is completed, response data in which the data movement is written is created in the communication buffer 252 and transmitted to the source node 250 (the i-th response
258). As described above, the delay 268 is caused by the data movement 266 inside the destination node.

【0090】該遅延時間 268は、前述のネゴシエーショ
ン時に、インターバル時間として、ソースノード 250に
送信されている。ソースノード 250は、該インターバル
時間から、レスポンス周期 264を決定している。
The delay time 268 has been transmitted to the source node 250 as an interval time during the above negotiation. The source node 250 determines the response cycle 264 from the interval time.

【0091】図4に示したように、該レスポンス周期 2
64は、通常、上記インターバル時間よりも長い周期とし
て設定されている。ソースノード 250からの、(i+1) 番
目のデータ転送 260、(i+1) 番目のレスポンス 258も上
述の、i 番目のデータ転送 256、i 番目のレスポンス 2
58と同様に行なわれる。また、該動作を繰り返すことに
よって、全てのデータを転送するようになっている。
[0091] As shown in FIG.
64 is usually set as a cycle longer than the above-mentioned interval time. The (i + 1) th data transfer 260 and (i + 1) th response 258 from the source node 250 are also the ith data transfer 256 and ith response 2 described above.
Same as 58. Further, by repeating this operation, all data is transferred.

【0092】上記のように構成することにより、本実施
の形態では、上記レスポンス周期が、デスティネーショ
ンノードの性能に基づき、コネクション時に動的に設定
できるので、デスティネーションノードの性能があまり
高くない場合にも、再送パケットの発生を防ぐことが可
能である。
With the above configuration, in the present embodiment, the response period can be dynamically set at the time of connection based on the performance of the destination node. In addition, it is possible to prevent the occurrence of retransmission packets.

【0093】また、本実施の形態では、上記レスポンス
周期を、デスティネーションノードの性能が高い場合に
は短く、デスティネーションノードの性能が低い場合に
は長く、設定できるので、デスティネーションノードの
性能に合わせて、操作性を向上させることができる効果
がある。
In the present embodiment, the response cycle can be set shorter when the performance of the destination node is high, and longer when the performance of the destination node is low. In addition, there is an effect that operability can be improved.

【0094】次に、図5を用いて、上述のasynchronous
パケットについて説明する。本発明に係るasynchronous
パケットは、例えば、4 byte (32 bits、以下クアッド
レットと称する) を単位とするデータパケットである。
Next, referring to FIG. 5, the above asynchronous
The packet will be described. Asynchronous according to the present invention
The packet is, for example, a data packet in units of 4 bytes (32 bits, hereinafter referred to as a quadlet).

【0095】asynchronousパケットにおいて、最初の16
bits はdestination _IDフィールドであり、該フィー
ルドは受信先のノードIDを示す。本実施の形態のよう
に、ブロードキャストを行なう場合には、このフィール
ドの値はFFFF(16 進数) である。
In the asynchronous packet, the first 16
bits is a destination_ID field, which indicates the node ID of the destination. When broadcasting is performed as in the present embodiment, the value of this field is FFFF (hexadecimal).

【0096】次の6 bitsのフィールドは、トランザクシ
ョン・ラベル(tl)フィールドであり、各トランザクショ
ン固有のタグである。次の2 bitsのフィールドは、リト
ライ(rt)コードであり、パケットがリトライを試みるか
どうかを指定する。
The next 6 bits field is a transaction label (tl) field, and is a tag unique to each transaction. The next 2 bits field is a retry (rt) code, which specifies whether the packet will try to retry.

【0097】次の4 bitsのフィールドは、トランザクシ
ョンコード(tcode )である。tcode は、パケットのフォ
ーマットや、実行しなければならないトランザクション
のタイプを指定する。本実施の形態においては、例え
ば、この値が00012 である、データブロックの書き込み
リクエストのトランザクションを用いる。
The next 4 bits field is a transaction code (tcode). tcode specifies the format of the packet and the type of transaction that must be performed. In the present embodiment, for example, this value is 0001 2, using the transaction write request data block.

【0098】次の4 bitsのフィールドは、プライオリテ
ィ(pri )フィールドであり、優先順位を指定する。本実
施の形態においては、asynchronousパケットを用いてい
るので、このフィールドの値は00002 である。次の16 b
its はsource_IDフィールドであり、送信側のノードID
を示す。次の48 bits はdestination _offsetフィール
ドであり、パケットの受信先ノードアドレスの、下位48
bits がこのフィールドによって指定される。
The next 4 bits field is a priority (pri) field, and specifies the priority. In this embodiment, because of the use of asynchronous packet, the value of this field is 0000 2. Next 16 b
its is the source_ID field, the node ID of the sender
Is shown. The next 48 bits are a destination_offset field, which is the lower 48 bits of the packet destination node address.
bits are specified by this field.

【0099】本発明においては、例えば、該destinatio
n _offsetの値は、後述するconnection_IDフィールド
の値によって定められる。次の16 bits はdata_length
フィールドであり、後述するデータフィールドの長さ
を、バイト単位で示している。
In the present invention, for example, the destinatio
The value of n_offset is determined by the value of a connection_ID field described later. The next 16 bits are data_length
This field indicates the length of a data field described later in bytes.

【0100】次の16 bits はextended_tcode フィール
ドであり、本実施の形態に用いられるデータブロックの
書き込みリクエストトランザクションにおいては、この
値は000016である。
The next 16 bits are an extended_tcode field, and this value is 0000 16 in a data block write request transaction used in the present embodiment.

【0101】次の32 bits はheader_CRC フィールドで
あり、上述したdestination _IDフィールドからextend
ed_tcode フィールドまでを、パケットヘッダと称し、
該パケットヘッダのエラー検出に用いられる。
The next 32 bits are a header_CRC field, and extend from the destination_ID field described above.
Up to the ed_tcode field is called a packet header,
Used for error detection of the packet header.

【0102】次の16 bits は、上述したコネクションID
(connection _ID )フィールドであり、該データによっ
てコネクションを識別する。該コネクションIDによっ
て、(2の 16 乗) × ( ノード数) のコネクションを確
立することが可能である。よって、本発明では、各コネ
クションの使用する帯域の総量が、バスの容量に達する
まで、コネクション数を増すことができる。
The next 16 bits are the connection ID described above.
(connection_ID) field, which identifies the connection by the data. With the connection ID, it is possible to establish a connection of (2 16) × (the number of nodes). Therefore, in the present invention, the number of connections can be increased until the total amount of bandwidth used by each connection reaches the capacity of the bus.

【0103】次の8 bitsは、プロトコルタイプ(protoco
l _type )フィールドであり、該ヘッダ・インフォメー
ションを用いたデータ授受の手順を示す。本実施の形態
の授受手順には、例えば、0116の値が用いられる。次の
8 bitsは、コントールフラグ(control_flags ) フィー
ルドであり、制御データが書かれる。
The next 8 bits are the protocol type (protoco
l_type) field, which indicates a procedure of data transfer using the header information. The procedure of exchanging this embodiment, for example, 01 16 values are used. next
8 bits are a control flag (control_flags) field in which control data is written.

【0104】コントールフラグフィールドの最上位ビッ
トは、例えば、再送要求(resend _request)フラグであ
り、このビットの値が1 の時、データの再送要求が生じ
ていることを示す。
The most significant bit of the control flag field is, for example, a retransmission request (resend_request) flag. When the value of this bit is 1, it indicates that a data retransmission request has occurred.

【0105】次の16 bits は、シークエンス番号(seque
nce _number )フィールドである。上述したように、該
シークエンス番号フィールドは、特定のコネクションID
にて送受信されるデータパケットに対し、連続的な値が
使用される。
The next 16 bits are the sequence number (sequence number).
nce_number) field. As described above, the sequence number field contains a specific connection ID.
A continuous value is used for the data packet transmitted and received by the.

【0106】デスティネーションノードは、該シークエ
ンス番号フィールドによって、有意なデータの連続性を
監視し、不一致が生じた場合には、ソースノードに対し
て再送要求を行なう。
The destination node monitors the continuity of significant data by using the sequence number field, and when a mismatch occurs, sends a retransmission request to the source node.

【0107】次の16 bits は、確認応答番号(reconfirm
ation _number )フィールドである。このフィールド
は、上述の再送要求フラグの値が1 の時のみ、意味を持
つフィールドである。
The next 16 bits are the confirmation response number (reconfirm
ation_number) field. This field is meaningful only when the value of the above-mentioned retransmission request flag is 1.

【0108】上述の再送要求フラグの値が1 の時、この
フィールドは、再送要求が生じている開始パケットのシ
ークエンス番号を示す。次の16 bits は、バッファサイ
ズ(buffer _size )フィールドである。このフィールド
には、デスティネーションノードのバッファサイズが書
かれる。
When the value of the retransmission request flag is 1, this field indicates the sequence number of the start packet for which a retransmission request has occurred. The next 16 bits are a buffer size (buffer_size) field. In this field, the buffer size of the destination node is written.

【0109】次の48 bits は、オフセットアドレス(off
set _address)フィールドである。このフィールドに
は、デスティネーションノードのオフセットアドレスが
書き込まれる。
The next 48 bits are an offset address (off
set_address) field. In this field, the offset address of the destination node is written.

【0110】次の32 bits は、デスティネーションイン
ターバル(destination_interval)フィールドである。
デスティネーションノードは、このフィールドによっ
て、ソースノード、及び、コントロールノードに、前述
のインターバル時間を通知する。
[0110] The next 32 bits are a destination interval (destination_interval) field.
The destination node notifies the source node and the control node of the above-mentioned interval time by using this field.

【0111】次のフィールドは可変長のデータフィール
ドであり、該データフィールドをパケットのペイロード
と称する。本実施の形態においては、該データフィール
ドがクアッドレットの倍数でない場合、クアッドレット
に満たないビットには0 が詰められる。
The next field is a variable-length data field, and this data field is called the payload of the packet. In the present embodiment, if the data field is not a multiple of a quadlet, bits less than the quadlet are filled with zeros.

【0112】次の32 bits のフィールドはdata_CRC フ
ィールドであり、上述のheader_CRC フィールドと同様
に、前述のヘッダインフォメーションと該データフィー
ルドとのエラー検出に用いられる。なお、data_CRC フ
ィールドは、データフィールドのみに付けられても良い
ことはいうまでもない。
The next 32 bits field is a data_CRC field, and is used for detecting an error between the header information and the data field, similarly to the header_CRC field. It is needless to say that the data_CRC field may be added only to the data field.

【0113】上記動作により、本実施の形態において
は、ネットワーク内、あるいは、バスシステム内のデー
タ転送効率が低下することを防ぐとともに、接続される
デスティネーションノード内部のデータ転送速度を下げ
ることができる。
According to the above-described operation, in the present embodiment, it is possible to prevent the data transfer efficiency in the network or the bus system from being reduced, and to reduce the data transfer speed in the connected destination node. .

【0114】上記実施の形態では、デスティネーション
ノードが一つの場合を示しているが、複数のデスティネ
ーションノードが存在する場合にも、同様の方法が適用
できることはいうまでもない。
Although the above embodiment shows a case where there is only one destination node, it goes without saying that the same method can be applied to a case where there are a plurality of destination nodes.

【0115】また、複数のデスティネーションノードが
存在する場合には、上述のレスポンス周期として、最大
値を設定しても良いし、それぞれのデスティネーション
ノードに対して個別に複数設定しても良い。
When there are a plurality of destination nodes, a maximum value may be set as the above-mentioned response cycle, or a plurality of each may be individually set for each destination node.

【0116】(本発明の他の実施形態)本発明は複数の
機器(例えば、ホストコンピュータ、インタフェース機
器、リーダ、プリンタ等)から構成されるシステムに適
用しても1つの機器からなる装置に適用しても良い。
(Other Embodiments of the Present Invention) The present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but is also applicable to a device composed of one device. You may.

【0117】また、前述した実施形態の機能を実現する
ように各種のデバイスを動作させるように、上記各種デ
バイスと接続された装置あるいはシステム内のコンピュ
ータに対し、上記実施形態の機能を実現するためのソフ
トウェアのプログラムコードを供給し、そのシステムあ
るいは装置のコンピュータ(CPUあるいはMPU)に
格納されたプログラムに従って上記各種デバイスを動作
させることによって実施したものも、本発明の範疇に含
まれる。
Further, in order to realize the functions of the above-described embodiments, a device connected to the above-mentioned various devices or a computer in a system is operated so as to operate various devices so as to realize the functions of the above-described embodiments. The present invention also includes programs implemented by supplying the program code of the software described above and operating the various devices according to programs stored in a computer (CPU or MPU) of the system or apparatus.

【0118】また、この場合、上記ソフトウェアのプロ
グラムコード自体が前述した実施形態の機能を実現する
ことになり、そのプログラムコード自体、およびそのプ
ログラムコードをコンピュータに供給するための手段、
例えばかかるプログラムコードを格納した記憶媒体は本
発明を構成する。かかるプログラムコードを記憶する記
憶媒体としては、例えばフロッピーディスク、ハードデ
ィスク、光ディスク、光磁気ディスク、CD−ROM、
磁気テープ、不揮発性のメモリカード、ROM等を用い
ることができる。
In this case, the program code itself of the software realizes the functions of the above-described embodiment, and the program code itself and means for supplying the program code to the computer,
For example, a storage medium storing such a program code constitutes the present invention. As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM,
A magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0119】また、コンピュータが供給されたプログラ
ムコードを実行することにより、前述の実施形態の機能
が実現されるだけでなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティング
システム)あるいは他のアプリケーションソフト等の共
同して前述の実施形態の機能が実現される場合にもかか
るプログラムコードは本発明の実施形態に含まれること
は言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (operating system) or other operating system running on the computer. Needless to say, the program code is also included in the embodiment of the present invention when the functions of the above-described embodiment are realized in cooperation with application software or the like.

【0120】さらに、供給されたプログラムコードがコ
ンピュータの機能拡張ボードやコンピュータに接続され
た機能拡張ユニットに備わるメモリに格納された後、そ
のプログラムコードの指示に基づいてその機能拡張ボー
ドや機能拡張ユニットに備わるCPU等が実際の処理の
一部または全部を行い、その処理によって前述した実施
形態の機能が実現される場合にも本発明に含まれること
は言うまでもない。
Further, after the supplied program code is stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, the function expansion board or the function expansion unit is specified based on the instruction of the program code. It is needless to say that the present invention also includes a case where a CPU or the like provided in the first embodiment performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0121】[0121]

【発明の効果】上記説明したように、本発明において
は、ネットワーク内、あるいは、バスシステム内のデー
タ転送効率が低下することを防ぐとともに、ネットワー
ク、あるいは、バスシステムに接続される機器内部のデ
ータ転送速度を下げ、コストダウンが可能な機器を提供
することができる効果がある。
As described above, according to the present invention, it is possible to prevent the data transfer efficiency in the network or the bus system from being lowered and to reduce the data in the device connected to the network or the bus system. There is an effect that it is possible to provide a device capable of reducing the transfer speed and reducing the cost.

【0122】また、本発明によれば、通信帯域をあまり
使用しない場合に、多数の通信を同時に行なうことがで
きるとともに、データ転送中断により失われたデータを
容易に検出することが可能であり、該データ転送の中断
からの復帰を、確実に、かつ、簡単に行なうことができ
る効果がある。
According to the present invention, when a communication band is not used much, a large number of communications can be performed simultaneously, and data lost due to interruption of data transfer can be easily detected. There is an effect that the recovery from the interruption of the data transfer can be performed reliably and easily.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態を表すブロック図である。FIG. 1 is a block diagram illustrating an embodiment of the present invention.

【図2】本発明に係る各ノードの動作を示すブロック図
である。
FIG. 2 is a block diagram showing the operation of each node according to the present invention.

【図3】本発明に係る各ノード間のコマンドやデータの
授受のダイアグラムを示す図である。
FIG. 3 is a diagram showing a diagram of transmission and reception of commands and data between nodes according to the present invention.

【図4】本発明に係るソースノードとデスティネーショ
ンノードとの間に行なわれるデータ授受の詳細を示す図
である。
FIG. 4 is a diagram showing details of data exchange performed between a source node and a destination node according to the present invention.

【図5】本発明に係るasynchronousパケットを示す図で
ある。
FIG. 5 is a diagram showing an asynchronous packet according to the present invention.

【図6】従来例を示すブロック図である。FIG. 6 is a block diagram showing a conventional example.

【符号の説明】[Explanation of symbols]

10 computer 12 演算処理装置 (MPU) 14 第一の1394インターフェイス 16 キーボードなど第一の操作部 18 第一のデコーダ 20 CRT ディスプレイなどの表示装置 22 ハードディスク 24 第一のメモリ 26 PCI バスなどのコンピュータ内部バス 28 VCR 30 撮像光学系 32 A/D 変換器 34 ビデオ処理部 36 圧縮伸長回路 38 第二のメモリ 40 第三のメモリ 42 第一のデータセレクタ 44 第二の1394インターフェイス 46 第一のメモリ制御回路 48 第二のメモリ制御回路 50 システムコントローラ 52 第二の操作部 54 電子ビューファインダ 56 D/A変換器 58 記録部 60 プリンタ 62 第三の1394インターフェイス 64 第二のデータセレクタ 66 第三の操作部 68 プリンタコントローラ 70 第二のデコーダ 72 第四のメモリ 74 画像処理部 76 ドライバ 78 プリンタヘッド 200 コントロールノード 202 ソースノード 204 デスティネーションノード 206 ソースノード内部のサブユニット 208 画像データ等のobject 210 デスティネーションノード内部の第一のメモリ空
間 212 第一のコネクション 214 デスティネーションノード内部の第n のメモリ空
間 216 第n のコネクション 250 ソースノード 252 デスティネーションノード内部の通信データバッ
ファ 254 デスティネーションノード内部の次段回路 256 i番目のデータ転送 258 i番目のレスポンス 260 (i+1) 番目のデータ転送 262 (i+1) 番目のレスポンス 264 レスポンス周期 266 デスティネーションノード内部のデータ移動 268 デスティネーションノード内部のデータ移動に伴
う遅延
10 computer 12 Processing unit (MPU) 14 First 1394 interface 16 First operation unit such as keyboard 18 First decoder 20 Display device such as CRT display 22 Hard disk 24 First memory 26 Internal bus of computer such as PCI bus 28 VCR 30 Imaging optical system 32 A / D converter 34 Video processing unit 36 Compression / expansion circuit 38 Second memory 40 Third memory 42 First data selector 44 Second 1394 interface 46 First memory control circuit 48 Second memory control circuit 50 System controller 52 Second operation unit 54 Electronic viewfinder 56 D / A converter 58 Recording unit 60 Printer 62 Third 1394 interface 64 Second data selector 66 Third operation unit 68 Printer Controller 70 Second decoder 72 Fourth memory 74 Image processing unit 76 Driver 78 Printer head 200 Control node 202 Source node 20 4 Destination node 206 Subunit inside source node 208 Object such as image data 210 First memory space inside destination node 212 First connection 214 nth memory space inside destination node 216 nth connection 250 Source node 252 Communication data buffer inside destination node 254 Next stage circuit inside destination node 256 i-th data transfer 258 i-th response 260 (i + 1) -th data transfer 262 (i + 1) -th response 264 Response period 266 Data movement inside the destination node 268 Delay due to data movement inside the destination node

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 情報データを送信するソースノードと、
該情報データを受信するデスティネーションノードとの
間の通信を、各ノード間の論理的な接続を示すコネクシ
ョンIDを用いて行うデータ通信システムにおいて、 上記デスティネーションノードの受信処理に必要となる
時間間隔を上記ソースノードに通知することを特徴とす
るデータ通信システム。
1. A source node for transmitting information data,
In a data communication system in which communication with a destination node receiving the information data is performed using a connection ID indicating a logical connection between the nodes, a time interval required for reception processing of the destination node Communication to the source node.
【請求項2】 上記時間間隔は、受信した情報データを
一時的に記憶する記憶手段から該情報データを読み出す
時間により決定されることを特徴とする請求項1に記載
のデータ通信システム。
2. The data communication system according to claim 1, wherein the time interval is determined by a time for reading out the information data from a storage unit for temporarily storing the received information data.
【請求項3】 上記通信システムは更に、上記コネクシ
ョンIDを管理するコントロールノードを含み、 上記コントロールノードは、通信を行う複数のノード間
に対して論理的なコネクションを設定することを特徴と
する請求項1または2に記載のデータ通信システム。
3. The communication system further includes a control node for managing the connection ID, wherein the control node sets a logical connection between a plurality of nodes that perform communication. Item 3. The data communication system according to item 1 or 2.
【請求項4】 上記時間間隔は、上記コントロールノー
ドに対しても通知されることを特徴とする請求項3に記
載のデータ通信システム。
4. The data communication system according to claim 3, wherein the time interval is also notified to the control node.
【請求項5】 上記デスティネーションノードは上記情
報データに含まれる転送終了を示すデータに応じて、上
記情報データの受信処理を終了することを特徴とする請
求項1〜4の何れか1項に記載のデータ通信システム。
5. The information processing apparatus according to claim 1, wherein the destination node terminates the reception processing of the information data in accordance with data indicating a transfer end included in the information data. A data communication system as described.
【請求項6】 上記デスティネーションノードは、上記
転送終了を示すデータに基づき、上記ソースノードとの
間に設定されたコネクションIDを解放することを特徴と
する請求項5に記載のデータ通信システム。
6. The data communication system according to claim 5, wherein the destination node releases a connection ID set with the source node based on the data indicating the end of the transfer.
【請求項7】 上記コントロールノードは上記情報デー
タに含まれる転送終了を示すデータに応じて、上記情報
データの転送を終了させることを特徴とする請求項3ま
たは4に記載のデータ通信システム。
7. The data communication system according to claim 3, wherein the control node terminates the transfer of the information data according to data indicating a transfer end included in the information data.
【請求項8】 上記コントロールノードは、上記転送終
了を示すデータに基づき、上記ソースノードと上記デス
ティネーションノードとの間に設定されたコネクション
IDを解放させることを特徴とする請求項7に記載のデー
タ通信システム。
8. The connection set between the source node and the destination node based on the data indicating the end of the transfer.
The data communication system according to claim 7, wherein the ID is released.
【請求項9】 上記情報データは、IEEE1394規格に準拠
するasynchronous転送方式を用いて送信されることを特
徴とする請求項1〜8の何れか1項に記載のデータ通信
システム。
9. The data communication system according to claim 1, wherein the information data is transmitted by using an asynchronous transfer method conforming to the IEEE 1394 standard.
【請求項10】 上記情報データは、通信システム上の
全てのノードに対してブロードキャストされることを特
徴とする請求項1〜9の何れか1項に記載のデータ通信
システム。
10. The data communication system according to claim 1, wherein the information data is broadcast to all nodes on the communication system.
【請求項11】 上記ソースノードは、n個のデスティ
ネーションノードの受信処理に必要となるn個の時間間
隔から最大の時間的間隔を選択することを特徴とする請
求項1〜10の何れか1項に記載のデータ通信システ
ム。
11. The apparatus according to claim 1, wherein the source node selects a maximum time interval from n time intervals required for reception processing of the n destination nodes. 2. The data communication system according to claim 1.
【請求項12】 上記ソースノードは、上記情報データ
を受信したデスティネーションノードからのレスポンス
を受信するレスポンス期間を有し、上記レスポンス期間
を越えても該レスポンスを検出できない場合に通信異常
を検出することを特徴とする請求項1〜11の何れか1
項に記載のデータ通信システム。
12. The source node has a response period for receiving a response from the destination node that has received the information data, and detects a communication error if the response cannot be detected even if the response period is exceeded. The method according to claim 1, wherein:
A data communication system according to item 9.
【請求項13】 上記レスポンス期間は、上記時間間隔
に基づいて設定されることを特徴とする請求項12に記
載のデータ通信システム。
13. The data communication system according to claim 12, wherein the response period is set based on the time interval.
【請求項14】 情報データを送信するソースノード
と、該情報データを受信するデスティネーションノード
と、上記ソースノードと上記デスティネーションノード
との間の通信を管理するコントロールノードとを含むデ
ータ通信システムにおいて、 上記デスティネーションノードの受信処理に必要となる
時間間隔を上記コントロールノードに通知することを特
徴とするデータ通信方法。
14. A data communication system including a source node transmitting information data, a destination node receiving the information data, and a control node managing communication between the source node and the destination node. A data communication method for notifying the control node of a time interval required for reception processing of the destination node.
【請求項15】 情報データを送信するソースノード
と、該情報データを受信するデスティネーションノード
との間の通信を、各ノード間の論理的な接続を示すコネ
クションIDを用いて行うデータ通信システムに適用可能
なデータ通信方法において、 上記デスティネーションノードの受信処理に必要となる
時間間隔を上記ソースノードに通知することを特徴とす
るデータ通信方法。
15. A data communication system for performing communication between a source node transmitting information data and a destination node receiving the information data using a connection ID indicating a logical connection between the nodes. An applicable data communication method, wherein a time interval required for reception processing of the destination node is notified to the source node.
【請求項16】 情報データを送信するソースノード
と、該情報データを受信するデスティネーションノード
と、該ソースノードと該デスティネーションノードとの
間の通信を管理するコントロールノードとを含む通信シ
ステムに適用可能なデータ通信方法において、 上記デスティネーションノードの受信処理に必要となる
時間間隔を上記コントロールノードに通知することを特
徴とするデータ通信方法。
16. Applicable to a communication system including a source node transmitting information data, a destination node receiving the information data, and a control node managing communication between the source node and the destination node. A possible data communication method, wherein the control node is notified of a time interval required for reception processing of the destination node.
【請求項17】 情報データを送信するソースノード、
該情報データを受信するデスティネーションノードとの
通信を管理するデータ通信装置において、 上記デスティネーションノードの受信処理に必要となる
時間間隔を受信する受信手段と、 上記時間間隔を上記ソースノードに送信する送信手段と
を具備することを特徴とするデータ通信装置。
17. A source node for transmitting information data,
In a data communication device that manages communication with a destination node that receives the information data, receiving means for receiving a time interval required for reception processing of the destination node, and transmitting the time interval to the source node A data communication device, comprising: a transmission unit.
【請求項18】 請求項15または16に記載のデータ
通信方法を構成するステップがコンピュータから読み出
し可能に格納されていることを特徴とする記憶媒体。
18. A storage medium wherein the steps constituting the data communication method according to claim 15 or 16 are stored so as to be readable by a computer.
【請求項19】 請求項17に記載の各手段としてコン
ピュータを機能させるためのプログラムを格納したこと
を特徴とする記憶媒体。
19. A storage medium storing a program for causing a computer to function as each means according to claim 17.
JP10097917A 1998-02-24 1998-04-09 Data communication system, data communication method, data communication device and storage medium Pending JPH11298509A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP10097917A JPH11298509A (en) 1998-04-09 1998-04-09 Data communication system, data communication method, data communication device and storage medium
US09/252,924 US6690648B2 (en) 1998-02-24 1999-02-19 Data communication apparatus, method, and system utilizing reception capability information of a destination node
EP99301297A EP0938218B1 (en) 1998-02-24 1999-02-23 Data communication system, method of communicating data and data communication apparatus
DE69941313T DE69941313D1 (en) 1998-02-24 1999-02-23 Data communication system, data communication method and data communication device
KR1019990005988A KR100311706B1 (en) 1998-02-24 1999-02-23 Data communication system, data communication method, data communication apparatus and digital interface
CNB991032837A CN1179280C (en) 1998-02-24 1999-02-24 Communication system and method thereof, transmission device and method thereof
MYPI99000651A MY128864A (en) 1998-02-24 1999-02-24 Data communication system and data communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10097917A JPH11298509A (en) 1998-04-09 1998-04-09 Data communication system, data communication method, data communication device and storage medium

Publications (1)

Publication Number Publication Date
JPH11298509A true JPH11298509A (en) 1999-10-29

Family

ID=14205065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10097917A Pending JPH11298509A (en) 1998-02-24 1998-04-09 Data communication system, data communication method, data communication device and storage medium

Country Status (1)

Country Link
JP (1) JPH11298509A (en)

Similar Documents

Publication Publication Date Title
KR100311706B1 (en) Data communication system, data communication method, data communication apparatus and digital interface
US7590133B2 (en) Data communication system, data communication method, and data communication apparatus
KR100664634B1 (en) Transmission device and processing method in transmission device
JP4181688B2 (en) Data communication system and data communication apparatus
KR100312276B1 (en) Data communication system, data communication method, data communication apparatus and digital interface
US7130315B1 (en) Method of and apparatus for utilizing extended AV/C command and response frames including transaction label and common result/error code
US6678769B1 (en) Control apparatus and method for managing a logical connection between source and destination nodes
JP3814407B2 (en) Data communication system, data communication apparatus, and data communication method
JP3943697B2 (en) Data communication system, data communication apparatus, and data communication method
JP3943698B2 (en) Data communication system and data communication apparatus
JP3774540B2 (en) Data transfer method, image processing system and apparatus
JP3862403B2 (en) Data communication system and data communication apparatus
JPH11298509A (en) Data communication system, data communication method, data communication device and storage medium
JP4143205B2 (en) Data communication system
JP4065466B2 (en) Data communication system
JPH11261608A (en) Data communication system, data communication equipment, data communication method and storage medium
JPH11313091A (en) System, device and method for data communication and storage medium
JP2000032005A (en) System, method and device for data communication, digital interface and storage medium
JPH11317755A (en) Data communication system, its method, its equipment and digital interface
JPH11308255A (en) System, method and device for data communication and storage medium
JPH11355319A (en) Data communication system, method and device and digital interface
JP2000032010A (en) Data communication system, data communication method, data communication device, digital interface and storage medium
JP2006311614A (en) Data communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050408

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: 20061121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071002